/
V1.ts
147 lines (132 loc) · 6.28 KB
/
V1.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/*
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Flex
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import FlexApiBase from "../FlexApiBase";
import Version from "../../base/Version";
import { AssessmentsListInstance } from "./v1/assessments";
import { ChannelListInstance } from "./v1/channel";
import { ConfigurationListInstance } from "./v1/configuration";
import { FlexFlowListInstance } from "./v1/flexFlow";
import { InsightsQuestionnairesCategoryListInstance } from "./v1/insightsQuestionnairesCategory";
import { InsightsQuestionnairesQuestionListInstance } from "./v1/insightsQuestionnairesQuestion";
import { InsightsSessionListInstance } from "./v1/insightsSession";
import { InsightsSettingsAnswerSetsListInstance } from "./v1/insightsSettingsAnswerSets";
import { InsightsSettingsCommentListInstance } from "./v1/insightsSettingsComment";
import { InsightsUserRolesListInstance } from "./v1/insightsUserRoles";
import { InteractionListInstance } from "./v1/interaction";
import { WebChannelListInstance } from "./v1/webChannel";
export default class V1 extends Version {
/**
* Initialize the V1 version of FlexApi
*
* @param domain - The Twilio (Twilio.FlexApi) domain
*/
constructor(domain: FlexApiBase) {
super(domain, "v1");
}
/** assessments - { Twilio.FlexApi.V1.AssessmentsListInstance } resource */
protected _assessments?: AssessmentsListInstance;
/** channel - { Twilio.FlexApi.V1.ChannelListInstance } resource */
protected _channel?: ChannelListInstance;
/** configuration - { Twilio.FlexApi.V1.ConfigurationListInstance } resource */
protected _configuration?: ConfigurationListInstance;
/** flexFlow - { Twilio.FlexApi.V1.FlexFlowListInstance } resource */
protected _flexFlow?: FlexFlowListInstance;
/** insightsQuestionnairesCategory - { Twilio.FlexApi.V1.InsightsQuestionnairesCategoryListInstance } resource */
protected _insightsQuestionnairesCategory?: InsightsQuestionnairesCategoryListInstance;
/** insightsQuestionnairesQuestion - { Twilio.FlexApi.V1.InsightsQuestionnairesQuestionListInstance } resource */
protected _insightsQuestionnairesQuestion?: InsightsQuestionnairesQuestionListInstance;
/** insightsSession - { Twilio.FlexApi.V1.InsightsSessionListInstance } resource */
protected _insightsSession?: InsightsSessionListInstance;
/** insightsSettingsAnswerSets - { Twilio.FlexApi.V1.InsightsSettingsAnswerSetsListInstance } resource */
protected _insightsSettingsAnswerSets?: InsightsSettingsAnswerSetsListInstance;
/** insightsSettingsComment - { Twilio.FlexApi.V1.InsightsSettingsCommentListInstance } resource */
protected _insightsSettingsComment?: InsightsSettingsCommentListInstance;
/** insightsUserRoles - { Twilio.FlexApi.V1.InsightsUserRolesListInstance } resource */
protected _insightsUserRoles?: InsightsUserRolesListInstance;
/** interaction - { Twilio.FlexApi.V1.InteractionListInstance } resource */
protected _interaction?: InteractionListInstance;
/** webChannel - { Twilio.FlexApi.V1.WebChannelListInstance } resource */
protected _webChannel?: WebChannelListInstance;
/** Getter for assessments resource */
get assessments(): AssessmentsListInstance {
this._assessments = this._assessments || AssessmentsListInstance(this);
return this._assessments;
}
/** Getter for channel resource */
get channel(): ChannelListInstance {
this._channel = this._channel || ChannelListInstance(this);
return this._channel;
}
/** Getter for configuration resource */
get configuration(): ConfigurationListInstance {
this._configuration =
this._configuration || ConfigurationListInstance(this);
return this._configuration;
}
/** Getter for flexFlow resource */
get flexFlow(): FlexFlowListInstance {
this._flexFlow = this._flexFlow || FlexFlowListInstance(this);
return this._flexFlow;
}
/** Getter for insightsQuestionnairesCategory resource */
get insightsQuestionnairesCategory(): InsightsQuestionnairesCategoryListInstance {
this._insightsQuestionnairesCategory =
this._insightsQuestionnairesCategory ||
InsightsQuestionnairesCategoryListInstance(this);
return this._insightsQuestionnairesCategory;
}
/** Getter for insightsQuestionnairesQuestion resource */
get insightsQuestionnairesQuestion(): InsightsQuestionnairesQuestionListInstance {
this._insightsQuestionnairesQuestion =
this._insightsQuestionnairesQuestion ||
InsightsQuestionnairesQuestionListInstance(this);
return this._insightsQuestionnairesQuestion;
}
/** Getter for insightsSession resource */
get insightsSession(): InsightsSessionListInstance {
this._insightsSession =
this._insightsSession || InsightsSessionListInstance(this);
return this._insightsSession;
}
/** Getter for insightsSettingsAnswerSets resource */
get insightsSettingsAnswerSets(): InsightsSettingsAnswerSetsListInstance {
this._insightsSettingsAnswerSets =
this._insightsSettingsAnswerSets ||
InsightsSettingsAnswerSetsListInstance(this);
return this._insightsSettingsAnswerSets;
}
/** Getter for insightsSettingsComment resource */
get insightsSettingsComment(): InsightsSettingsCommentListInstance {
this._insightsSettingsComment =
this._insightsSettingsComment ||
InsightsSettingsCommentListInstance(this);
return this._insightsSettingsComment;
}
/** Getter for insightsUserRoles resource */
get insightsUserRoles(): InsightsUserRolesListInstance {
this._insightsUserRoles =
this._insightsUserRoles || InsightsUserRolesListInstance(this);
return this._insightsUserRoles;
}
/** Getter for interaction resource */
get interaction(): InteractionListInstance {
this._interaction = this._interaction || InteractionListInstance(this);
return this._interaction;
}
/** Getter for webChannel resource */
get webChannel(): WebChannelListInstance {
this._webChannel = this._webChannel || WebChannelListInstance(this);
return this._webChannel;
}
}