twilio 5.10.3 → 5.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rest/chat/v1/service.d.ts +3 -3
- package/lib/rest/chat/v2/service/binding.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/invite.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/member.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel.d.ts +3 -3
- package/lib/rest/chat/v2/service/role.d.ts +3 -3
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +3 -3
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +5 -5
- package/lib/rest/chat/v2/service/user.d.ts +3 -3
- package/lib/rest/chat/v2/service.d.ts +3 -3
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
- package/lib/rest/intelligence/v2/customOperator.d.ts +1 -1
- package/lib/rest/intelligence/v2/operator.d.ts +1 -1
- package/lib/rest/intelligence/v2/operatorType.d.ts +1 -1
- package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +1 -1
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +1 -1
- package/lib/rest/intelligence/v2/transcript/sentence.d.ts +9 -9
- package/lib/rest/intelligence/v2/transcript.d.ts +1 -1
- package/lib/rest/messaging/v2/channelsSender.d.ts +3 -3
- package/lib/rest/trusthub/v1/complianceInquiries.d.ts +10 -2
- package/lib/rest/trusthub/v1/complianceInquiries.js +7 -6
- package/package.json +1 -1
|
@@ -129,7 +129,7 @@ export interface ServiceListInstanceCreateOptions {
|
|
|
129
129
|
* Options to pass to each
|
|
130
130
|
*/
|
|
131
131
|
export interface ServiceListInstanceEachOptions {
|
|
132
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
132
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
133
133
|
pageSize?: number;
|
|
134
134
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
135
135
|
callback?: (item: ServiceInstance, done: (err?: Error) => void) => void;
|
|
@@ -142,7 +142,7 @@ export interface ServiceListInstanceEachOptions {
|
|
|
142
142
|
* Options to pass to list
|
|
143
143
|
*/
|
|
144
144
|
export interface ServiceListInstanceOptions {
|
|
145
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
145
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
146
146
|
pageSize?: number;
|
|
147
147
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
148
148
|
limit?: number;
|
|
@@ -151,7 +151,7 @@ export interface ServiceListInstanceOptions {
|
|
|
151
151
|
* Options to pass to page
|
|
152
152
|
*/
|
|
153
153
|
export interface ServiceListInstancePageOptions {
|
|
154
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
154
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
155
155
|
pageSize?: number;
|
|
156
156
|
/** Page Number, this value is simply for client state */
|
|
157
157
|
pageNumber?: number;
|
|
@@ -14,7 +14,7 @@ export interface BindingListInstanceEachOptions {
|
|
|
14
14
|
bindingType?: Array<BindingBindingType>;
|
|
15
15
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
16
16
|
identity?: Array<string>;
|
|
17
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
17
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
18
18
|
pageSize?: number;
|
|
19
19
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
20
20
|
callback?: (item: BindingInstance, done: (err?: Error) => void) => void;
|
|
@@ -31,7 +31,7 @@ export interface BindingListInstanceOptions {
|
|
|
31
31
|
bindingType?: Array<BindingBindingType>;
|
|
32
32
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
33
33
|
identity?: Array<string>;
|
|
34
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
34
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
35
35
|
pageSize?: number;
|
|
36
36
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
37
37
|
limit?: number;
|
|
@@ -44,7 +44,7 @@ export interface BindingListInstancePageOptions {
|
|
|
44
44
|
bindingType?: Array<BindingBindingType>;
|
|
45
45
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
46
46
|
identity?: Array<string>;
|
|
47
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
47
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
48
48
|
pageSize?: number;
|
|
49
49
|
/** Page Number, this value is simply for client state */
|
|
50
50
|
pageNumber?: number;
|
|
@@ -17,7 +17,7 @@ export interface InviteListInstanceCreateOptions {
|
|
|
17
17
|
export interface InviteListInstanceEachOptions {
|
|
18
18
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
19
19
|
identity?: Array<string>;
|
|
20
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
20
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
21
21
|
pageSize?: number;
|
|
22
22
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
23
23
|
callback?: (item: InviteInstance, done: (err?: Error) => void) => void;
|
|
@@ -32,7 +32,7 @@ export interface InviteListInstanceEachOptions {
|
|
|
32
32
|
export interface InviteListInstanceOptions {
|
|
33
33
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
34
34
|
identity?: Array<string>;
|
|
35
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
35
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
36
36
|
pageSize?: number;
|
|
37
37
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
38
38
|
limit?: number;
|
|
@@ -43,7 +43,7 @@ export interface InviteListInstanceOptions {
|
|
|
43
43
|
export interface InviteListInstancePageOptions {
|
|
44
44
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
45
45
|
identity?: Array<string>;
|
|
46
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
46
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
47
47
|
pageSize?: number;
|
|
48
48
|
/** Page Number, this value is simply for client state */
|
|
49
49
|
pageNumber?: number;
|
|
@@ -56,7 +56,7 @@ export interface MemberListInstanceCreateOptions {
|
|
|
56
56
|
export interface MemberListInstanceEachOptions {
|
|
57
57
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
58
58
|
identity?: Array<string>;
|
|
59
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
59
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
60
60
|
pageSize?: number;
|
|
61
61
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
62
62
|
callback?: (item: MemberInstance, done: (err?: Error) => void) => void;
|
|
@@ -71,7 +71,7 @@ export interface MemberListInstanceEachOptions {
|
|
|
71
71
|
export interface MemberListInstanceOptions {
|
|
72
72
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
73
73
|
identity?: Array<string>;
|
|
74
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
74
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
75
75
|
pageSize?: number;
|
|
76
76
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
77
77
|
limit?: number;
|
|
@@ -82,7 +82,7 @@ export interface MemberListInstanceOptions {
|
|
|
82
82
|
export interface MemberListInstancePageOptions {
|
|
83
83
|
/** The [User](https://www.twilio.com/docs/chat/rest/user-resource)\'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. */
|
|
84
84
|
identity?: Array<string>;
|
|
85
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
85
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
86
86
|
pageSize?: number;
|
|
87
87
|
/** Page Number, this value is simply for client state */
|
|
88
88
|
pageNumber?: number;
|
|
@@ -57,7 +57,7 @@ export interface MessageListInstanceCreateOptions {
|
|
|
57
57
|
export interface MessageListInstanceEachOptions {
|
|
58
58
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default. */
|
|
59
59
|
order?: MessageOrderType;
|
|
60
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
60
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
61
61
|
pageSize?: number;
|
|
62
62
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
63
63
|
callback?: (item: MessageInstance, done: (err?: Error) => void) => void;
|
|
@@ -72,7 +72,7 @@ export interface MessageListInstanceEachOptions {
|
|
|
72
72
|
export interface MessageListInstanceOptions {
|
|
73
73
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default. */
|
|
74
74
|
order?: MessageOrderType;
|
|
75
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
75
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
76
76
|
pageSize?: number;
|
|
77
77
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
78
78
|
limit?: number;
|
|
@@ -83,7 +83,7 @@ export interface MessageListInstanceOptions {
|
|
|
83
83
|
export interface MessageListInstancePageOptions {
|
|
84
84
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default. */
|
|
85
85
|
order?: MessageOrderType;
|
|
86
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
86
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
87
87
|
pageSize?: number;
|
|
88
88
|
/** Page Number, this value is simply for client state */
|
|
89
89
|
pageNumber?: number;
|
|
@@ -47,7 +47,7 @@ export interface WebhookListInstanceCreateOptions {
|
|
|
47
47
|
* Options to pass to each
|
|
48
48
|
*/
|
|
49
49
|
export interface WebhookListInstanceEachOptions {
|
|
50
|
-
/** How many resources to return in each list page. The default is
|
|
50
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
51
51
|
pageSize?: number;
|
|
52
52
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
53
53
|
callback?: (item: WebhookInstance, done: (err?: Error) => void) => void;
|
|
@@ -60,7 +60,7 @@ export interface WebhookListInstanceEachOptions {
|
|
|
60
60
|
* Options to pass to list
|
|
61
61
|
*/
|
|
62
62
|
export interface WebhookListInstanceOptions {
|
|
63
|
-
/** How many resources to return in each list page. The default is
|
|
63
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
64
64
|
pageSize?: number;
|
|
65
65
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
66
66
|
limit?: number;
|
|
@@ -69,7 +69,7 @@ export interface WebhookListInstanceOptions {
|
|
|
69
69
|
* Options to pass to page
|
|
70
70
|
*/
|
|
71
71
|
export interface WebhookListInstancePageOptions {
|
|
72
|
-
/** How many resources to return in each list page. The default is
|
|
72
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
73
73
|
pageSize?: number;
|
|
74
74
|
/** Page Number, this value is simply for client state */
|
|
75
75
|
pageNumber?: number;
|
|
@@ -64,7 +64,7 @@ export interface ChannelListInstanceCreateOptions {
|
|
|
64
64
|
export interface ChannelListInstanceEachOptions {
|
|
65
65
|
/** The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`. */
|
|
66
66
|
type?: Array<ChannelChannelType>;
|
|
67
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
67
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
68
68
|
pageSize?: number;
|
|
69
69
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
70
70
|
callback?: (item: ChannelInstance, done: (err?: Error) => void) => void;
|
|
@@ -79,7 +79,7 @@ export interface ChannelListInstanceEachOptions {
|
|
|
79
79
|
export interface ChannelListInstanceOptions {
|
|
80
80
|
/** The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`. */
|
|
81
81
|
type?: Array<ChannelChannelType>;
|
|
82
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
82
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
83
83
|
pageSize?: number;
|
|
84
84
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
85
85
|
limit?: number;
|
|
@@ -90,7 +90,7 @@ export interface ChannelListInstanceOptions {
|
|
|
90
90
|
export interface ChannelListInstancePageOptions {
|
|
91
91
|
/** The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`. */
|
|
92
92
|
type?: Array<ChannelChannelType>;
|
|
93
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
93
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
94
94
|
pageSize?: number;
|
|
95
95
|
/** Page Number, this value is simply for client state */
|
|
96
96
|
pageNumber?: number;
|
|
@@ -28,7 +28,7 @@ export interface RoleListInstanceCreateOptions {
|
|
|
28
28
|
* Options to pass to each
|
|
29
29
|
*/
|
|
30
30
|
export interface RoleListInstanceEachOptions {
|
|
31
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
31
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
32
32
|
pageSize?: number;
|
|
33
33
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
34
34
|
callback?: (item: RoleInstance, done: (err?: Error) => void) => void;
|
|
@@ -41,7 +41,7 @@ export interface RoleListInstanceEachOptions {
|
|
|
41
41
|
* Options to pass to list
|
|
42
42
|
*/
|
|
43
43
|
export interface RoleListInstanceOptions {
|
|
44
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
44
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
45
45
|
pageSize?: number;
|
|
46
46
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
47
47
|
limit?: number;
|
|
@@ -50,7 +50,7 @@ export interface RoleListInstanceOptions {
|
|
|
50
50
|
* Options to pass to page
|
|
51
51
|
*/
|
|
52
52
|
export interface RoleListInstancePageOptions {
|
|
53
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
53
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
54
54
|
pageSize?: number;
|
|
55
55
|
/** Page Number, this value is simply for client state */
|
|
56
56
|
pageNumber?: number;
|
|
@@ -12,7 +12,7 @@ export type UserBindingBindingType = "gcm" | "apn" | "fcm";
|
|
|
12
12
|
export interface UserBindingListInstanceEachOptions {
|
|
13
13
|
/** The push technology used by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
|
|
14
14
|
bindingType?: Array<UserBindingBindingType>;
|
|
15
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
15
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
16
16
|
pageSize?: number;
|
|
17
17
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
18
18
|
callback?: (item: UserBindingInstance, done: (err?: Error) => void) => void;
|
|
@@ -27,7 +27,7 @@ export interface UserBindingListInstanceEachOptions {
|
|
|
27
27
|
export interface UserBindingListInstanceOptions {
|
|
28
28
|
/** The push technology used by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
|
|
29
29
|
bindingType?: Array<UserBindingBindingType>;
|
|
30
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
30
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
31
31
|
pageSize?: number;
|
|
32
32
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
33
33
|
limit?: number;
|
|
@@ -38,7 +38,7 @@ export interface UserBindingListInstanceOptions {
|
|
|
38
38
|
export interface UserBindingListInstancePageOptions {
|
|
39
39
|
/** The push technology used by the User Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
|
|
40
40
|
bindingType?: Array<UserBindingBindingType>;
|
|
41
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
41
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
42
42
|
pageSize?: number;
|
|
43
43
|
/** Page Number, this value is simply for client state */
|
|
44
44
|
pageNumber?: number;
|
|
@@ -3,9 +3,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
3
3
|
import Response from "../../../../../http/response";
|
|
4
4
|
import V2 from "../../../V2";
|
|
5
5
|
/**
|
|
6
|
-
* The status of the User on the Channel. Can be: `joined`, `invited`, or `
|
|
6
|
+
* The status of the User on the Channel. Can be: `joined`, `invited`, or `notParticipating`.
|
|
7
7
|
*/
|
|
8
|
-
export type UserChannelChannelStatus = "joined" | "invited" | "
|
|
8
|
+
export type UserChannelChannelStatus = "joined" | "invited" | "notParticipating";
|
|
9
9
|
/**
|
|
10
10
|
* The push notification level of the User for the Channel. Can be: `default` or `muted`.
|
|
11
11
|
*/
|
|
@@ -33,7 +33,7 @@ export interface UserChannelContextUpdateOptions {
|
|
|
33
33
|
* Options to pass to each
|
|
34
34
|
*/
|
|
35
35
|
export interface UserChannelListInstanceEachOptions {
|
|
36
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
36
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
37
37
|
pageSize?: number;
|
|
38
38
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
39
39
|
callback?: (item: UserChannelInstance, done: (err?: Error) => void) => void;
|
|
@@ -46,7 +46,7 @@ export interface UserChannelListInstanceEachOptions {
|
|
|
46
46
|
* Options to pass to list
|
|
47
47
|
*/
|
|
48
48
|
export interface UserChannelListInstanceOptions {
|
|
49
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
49
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
50
50
|
pageSize?: number;
|
|
51
51
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
52
52
|
limit?: number;
|
|
@@ -55,7 +55,7 @@ export interface UserChannelListInstanceOptions {
|
|
|
55
55
|
* Options to pass to page
|
|
56
56
|
*/
|
|
57
57
|
export interface UserChannelListInstancePageOptions {
|
|
58
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
58
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
59
59
|
pageSize?: number;
|
|
60
60
|
/** Page Number, this value is simply for client state */
|
|
61
61
|
pageNumber?: number;
|
|
@@ -37,7 +37,7 @@ export interface UserListInstanceCreateOptions {
|
|
|
37
37
|
* Options to pass to each
|
|
38
38
|
*/
|
|
39
39
|
export interface UserListInstanceEachOptions {
|
|
40
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
40
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
41
41
|
pageSize?: number;
|
|
42
42
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
43
43
|
callback?: (item: UserInstance, done: (err?: Error) => void) => void;
|
|
@@ -50,7 +50,7 @@ export interface UserListInstanceEachOptions {
|
|
|
50
50
|
* Options to pass to list
|
|
51
51
|
*/
|
|
52
52
|
export interface UserListInstanceOptions {
|
|
53
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
53
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
54
54
|
pageSize?: number;
|
|
55
55
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
56
56
|
limit?: number;
|
|
@@ -59,7 +59,7 @@ export interface UserListInstanceOptions {
|
|
|
59
59
|
* Options to pass to page
|
|
60
60
|
*/
|
|
61
61
|
export interface UserListInstancePageOptions {
|
|
62
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
62
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
63
63
|
pageSize?: number;
|
|
64
64
|
/** Page Number, this value is simply for client state */
|
|
65
65
|
pageNumber?: number;
|
|
@@ -84,7 +84,7 @@ export interface ServiceListInstanceCreateOptions {
|
|
|
84
84
|
* Options to pass to each
|
|
85
85
|
*/
|
|
86
86
|
export interface ServiceListInstanceEachOptions {
|
|
87
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
87
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
88
88
|
pageSize?: number;
|
|
89
89
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
90
90
|
callback?: (item: ServiceInstance, done: (err?: Error) => void) => void;
|
|
@@ -97,7 +97,7 @@ export interface ServiceListInstanceEachOptions {
|
|
|
97
97
|
* Options to pass to list
|
|
98
98
|
*/
|
|
99
99
|
export interface ServiceListInstanceOptions {
|
|
100
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
100
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
101
101
|
pageSize?: number;
|
|
102
102
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
103
103
|
limit?: number;
|
|
@@ -106,7 +106,7 @@ export interface ServiceListInstanceOptions {
|
|
|
106
106
|
* Options to pass to page
|
|
107
107
|
*/
|
|
108
108
|
export interface ServiceListInstancePageOptions {
|
|
109
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
109
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
110
110
|
pageSize?: number;
|
|
111
111
|
/** Page Number, this value is simply for client state */
|
|
112
112
|
pageNumber?: number;
|
|
@@ -8,7 +8,7 @@ import { InteractionTransferListInstance } from "./interactionChannel/interactio
|
|
|
8
8
|
/**
|
|
9
9
|
* The status of this channel.
|
|
10
10
|
*/
|
|
11
|
-
export type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed" | "inactive" | "pause";
|
|
11
|
+
export type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed" | "inactive" | "pause" | "transfer";
|
|
12
12
|
/**
|
|
13
13
|
* The Interaction Channel\'s type. Can be: `sms`, `email`, `chat`, `whatsapp`, `web`, `messenger`, or `gbm`. **Note:** These can be different from the task channel type specified in the Routing attributes. Task channel type corresponds to channel capacity while this channel type is the actual media type
|
|
14
14
|
*/
|
|
@@ -5,7 +5,7 @@ import V2 from "../V2";
|
|
|
5
5
|
/**
|
|
6
6
|
* Custom Operator availability status. Possible values: internal, beta, public, retired.
|
|
7
7
|
*/
|
|
8
|
-
export type CustomOperatorAvailability = "internal" | "beta" | "public" | "retired";
|
|
8
|
+
export type CustomOperatorAvailability = "internal" | "beta" | "public" | "retired" | "general-availability" | "deprecated";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a CustomOperatorInstance
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import V2 from "../V2";
|
|
|
5
5
|
/**
|
|
6
6
|
* Operator availability status. Possible values: internal, beta, public, retired.
|
|
7
7
|
*/
|
|
8
|
-
export type OperatorAvailability = "internal" | "beta" | "public" | "retired";
|
|
8
|
+
export type OperatorAvailability = "internal" | "beta" | "public" | "deprecated" | "general-availability" | "retired";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -9,7 +9,7 @@ export type OperatorTypeAvailability = "internal" | "beta" | "general-availabili
|
|
|
9
9
|
/**
|
|
10
10
|
* Operator Results for this Operator Type will follow this format. Possible values: text-classification, text-extraction, text-extraction-normalized, text-generation.
|
|
11
11
|
*/
|
|
12
|
-
export type OperatorTypeOutputType = "text-classification" | "text-extraction" | "text-extraction-normalized" | "text-generation";
|
|
12
|
+
export type OperatorTypeOutputType = "text-classification" | "text-extraction" | "text-extraction-normalized" | "text-generation" | "json";
|
|
13
13
|
/**
|
|
14
14
|
* Operators with this Operator Type are executed using this provider. Possible values: twilio, amazon, openai.
|
|
15
15
|
*/
|
|
@@ -5,7 +5,7 @@ import V2 from "../V2";
|
|
|
5
5
|
/**
|
|
6
6
|
* Operator availability status. Possible values: internal, beta, public, retired.
|
|
7
7
|
*/
|
|
8
|
-
export type PrebuiltOperatorAvailability = "internal" | "beta" | "public" | "retired";
|
|
8
|
+
export type PrebuiltOperatorAvailability = "internal" | "beta" | "public" | "retired" | "general-availability";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import V2 from "../../V2";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of the applied Language Understanding Operator. One of conversation-classify, utterance-classify, extract, extract-normalize, or pii-extract
|
|
7
7
|
*/
|
|
8
|
-
export type OperatorResultOperatorType = "
|
|
8
|
+
export type OperatorResultOperatorType = "conversation-classify" | "utterance-classify" | "extract" | "extract-normalize" | "pii-extract" | "text-generation" | "json";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to fetch a OperatorResultInstance
|
|
11
11
|
*/
|
|
@@ -117,11 +117,11 @@ interface SentencePayload extends TwilioResponsePayload {
|
|
|
117
117
|
interface SentenceResource {
|
|
118
118
|
media_channel: number;
|
|
119
119
|
sentence_index: number;
|
|
120
|
-
start_time:
|
|
121
|
-
end_time:
|
|
120
|
+
start_time: string;
|
|
121
|
+
end_time: string;
|
|
122
122
|
transcript: string;
|
|
123
123
|
sid: string;
|
|
124
|
-
confidence:
|
|
124
|
+
confidence: string;
|
|
125
125
|
words: Array<any>;
|
|
126
126
|
}
|
|
127
127
|
export declare class SentenceInstance {
|
|
@@ -138,11 +138,11 @@ export declare class SentenceInstance {
|
|
|
138
138
|
/**
|
|
139
139
|
* Offset from the beginning of the transcript when this sentence starts.
|
|
140
140
|
*/
|
|
141
|
-
startTime:
|
|
141
|
+
startTime: string;
|
|
142
142
|
/**
|
|
143
143
|
* Offset from the beginning of the transcript when this sentence ends.
|
|
144
144
|
*/
|
|
145
|
-
endTime:
|
|
145
|
+
endTime: string;
|
|
146
146
|
/**
|
|
147
147
|
* Transcript text.
|
|
148
148
|
*/
|
|
@@ -151,7 +151,7 @@ export declare class SentenceInstance {
|
|
|
151
151
|
* A 34 character string that uniquely identifies this Sentence.
|
|
152
152
|
*/
|
|
153
153
|
sid: string;
|
|
154
|
-
confidence:
|
|
154
|
+
confidence: string;
|
|
155
155
|
/**
|
|
156
156
|
* Detailed information for each of the words of the given Sentence.
|
|
157
157
|
*/
|
|
@@ -164,11 +164,11 @@ export declare class SentenceInstance {
|
|
|
164
164
|
toJSON(): {
|
|
165
165
|
mediaChannel: number;
|
|
166
166
|
sentenceIndex: number;
|
|
167
|
-
startTime:
|
|
168
|
-
endTime:
|
|
167
|
+
startTime: string;
|
|
168
|
+
endTime: string;
|
|
169
169
|
transcript: string;
|
|
170
170
|
sid: string;
|
|
171
|
-
confidence:
|
|
171
|
+
confidence: string;
|
|
172
172
|
words: any[];
|
|
173
173
|
};
|
|
174
174
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -10,7 +10,7 @@ import { SentenceListInstance } from "./transcript/sentence";
|
|
|
10
10
|
/**
|
|
11
11
|
* The Status of this Transcript. One of `queued`, `in-progress`, `completed`, `failed` or `canceled`.
|
|
12
12
|
*/
|
|
13
|
-
export type TranscriptStatus = "queued" | "in-progress" | "completed" | "failed" | "canceled";
|
|
13
|
+
export type TranscriptStatus = "queued" | "in-progress" | "completed" | "failed" | "canceled" | "error";
|
|
14
14
|
/**
|
|
15
15
|
* Options to pass to create a TranscriptInstance
|
|
16
16
|
*/
|
|
@@ -242,8 +242,8 @@ export declare class MessagingV2RcsComplianceCountryResponse {
|
|
|
242
242
|
/**
|
|
243
243
|
* The default compliance registration SID (e.g., from CR-Google) that applies to all countries unless overridden in the `countries` array.
|
|
244
244
|
*/
|
|
245
|
-
"registrationSid"
|
|
246
|
-
"status"
|
|
245
|
+
"registrationSid"?: string;
|
|
246
|
+
"status"?: MessagingV2RcsCountryStatus;
|
|
247
247
|
"carriers"?: Array<MessagingV2RcsCarrier>;
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
@@ -257,7 +257,7 @@ export declare class MessagingV2RcsComplianceResponse {
|
|
|
257
257
|
/**
|
|
258
258
|
* A list of country-specific compliance details.
|
|
259
259
|
*/
|
|
260
|
-
"countries"
|
|
260
|
+
"countries"?: Array<MessagingV2RcsComplianceCountryResponse>;
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
263
|
* The country-level status. Based on the aggregation of the carrier-level status.
|
|
@@ -13,12 +13,12 @@ export interface ComplianceInquiriesContextUpdateOptions {
|
|
|
13
13
|
* Options to pass to create a ComplianceInquiriesInstance
|
|
14
14
|
*/
|
|
15
15
|
export interface ComplianceInquiriesListInstanceCreateOptions {
|
|
16
|
-
/** The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile. */
|
|
17
|
-
primaryProfileSid: string;
|
|
18
16
|
/** The email address that approval status updates will be sent to. If not specified, the email address associated with your primary customer profile will be used. */
|
|
19
17
|
notificationEmail?: string;
|
|
20
18
|
/** Theme id for styling the inquiry form. */
|
|
21
19
|
themeSetId?: string;
|
|
20
|
+
/** The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile. */
|
|
21
|
+
primaryProfileSid?: string;
|
|
22
22
|
}
|
|
23
23
|
export interface ComplianceInquiriesContext {
|
|
24
24
|
/**
|
|
@@ -111,6 +111,14 @@ export interface ComplianceInquiriesListInstance {
|
|
|
111
111
|
_uri: string;
|
|
112
112
|
(customerId: string): ComplianceInquiriesContext;
|
|
113
113
|
get(customerId: string): ComplianceInquiriesContext;
|
|
114
|
+
/**
|
|
115
|
+
* Create a ComplianceInquiriesInstance
|
|
116
|
+
*
|
|
117
|
+
* @param callback - Callback to handle processed record
|
|
118
|
+
*
|
|
119
|
+
* @returns Resolves to processed ComplianceInquiriesInstance
|
|
120
|
+
*/
|
|
121
|
+
create(callback?: (error: Error | null, item?: ComplianceInquiriesInstance) => any): Promise<ComplianceInquiriesInstance>;
|
|
114
122
|
/**
|
|
115
123
|
* Create a ComplianceInquiriesInstance
|
|
116
124
|
*
|
|
@@ -112,19 +112,20 @@ function ComplianceInquiriesListInstance(version) {
|
|
|
112
112
|
instance._solution = {};
|
|
113
113
|
instance._uri = `/ComplianceInquiries/Customers/Initialize`;
|
|
114
114
|
instance.create = function create(params, callback) {
|
|
115
|
-
if (params
|
|
116
|
-
|
|
115
|
+
if (params instanceof Function) {
|
|
116
|
+
callback = params;
|
|
117
|
+
params = {};
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
-
params
|
|
120
|
-
throw new Error("Required parameter \"params['primaryProfileSid']\" missing.");
|
|
119
|
+
else {
|
|
120
|
+
params = params || {};
|
|
121
121
|
}
|
|
122
122
|
let data = {};
|
|
123
|
-
data["PrimaryProfileSid"] = params["primaryProfileSid"];
|
|
124
123
|
if (params["notificationEmail"] !== undefined)
|
|
125
124
|
data["NotificationEmail"] = params["notificationEmail"];
|
|
126
125
|
if (params["themeSetId"] !== undefined)
|
|
127
126
|
data["ThemeSetId"] = params["themeSetId"];
|
|
127
|
+
if (params["primaryProfileSid"] !== undefined)
|
|
128
|
+
data["PrimaryProfileSid"] = params["primaryProfileSid"];
|
|
128
129
|
const headers = {};
|
|
129
130
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
130
131
|
headers["Accept"] = "application/json";
|