@alicloud/cams20200606 4.0.0 → 4.1.0
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/dist/client.d.ts +15 -0
- package/dist/client.js +68 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +130 -0
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js +137 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +135 -0
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js +139 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js.map +1 -1
- package/dist/models/WhatsappCallRequest.d.ts +73 -0
- package/dist/models/WhatsappCallRequest.js +98 -0
- package/dist/models/WhatsappCallRequest.js.map +1 -0
- package/dist/models/WhatsappCallResponse.d.ts +19 -0
- package/dist/models/WhatsappCallResponse.js +69 -0
- package/dist/models/WhatsappCallResponse.js.map +1 -0
- package/dist/models/WhatsappCallResponseBody.d.ts +52 -0
- package/dist/models/WhatsappCallResponseBody.js +90 -0
- package/dist/models/WhatsappCallResponseBody.js.map +1 -0
- package/dist/models/WhatsappCallShrinkRequest.d.ts +51 -0
- package/dist/models/WhatsappCallShrinkRequest.js +74 -0
- package/dist/models/WhatsappCallShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +52 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +80 -0
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +221 -0
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +228 -0
- package/src/models/WhatsappCallRequest.ts +117 -0
- package/src/models/WhatsappCallResponse.ts +40 -0
- package/src/models/WhatsappCallResponseBody.ts +88 -0
- package/src/models/WhatsappCallShrinkRequest.ts +80 -0
- package/src/models/model.ts +16 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class WhatsappCallResponseBodyModel extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 示例值示例值
|
|
9
|
+
*/
|
|
10
|
+
callId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
callId: 'CallId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
callId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class WhatsappCallResponseBody extends $dara.Model {
|
|
33
|
+
accessDeniedDetail?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* 示例值示例值示例值
|
|
37
|
+
*/
|
|
38
|
+
code?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 示例值示例值示例值
|
|
42
|
+
*/
|
|
43
|
+
message?: string;
|
|
44
|
+
model?: WhatsappCallResponseBodyModel;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* 示例值示例值
|
|
48
|
+
*/
|
|
49
|
+
requestId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* false
|
|
53
|
+
*/
|
|
54
|
+
success?: boolean;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
58
|
+
code: 'Code',
|
|
59
|
+
message: 'Message',
|
|
60
|
+
model: 'Model',
|
|
61
|
+
requestId: 'RequestId',
|
|
62
|
+
success: 'Success',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
static types(): { [key: string]: any } {
|
|
67
|
+
return {
|
|
68
|
+
accessDeniedDetail: 'string',
|
|
69
|
+
code: 'string',
|
|
70
|
+
message: 'string',
|
|
71
|
+
model: WhatsappCallResponseBodyModel,
|
|
72
|
+
requestId: 'string',
|
|
73
|
+
success: 'boolean',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
if(this.model && typeof (this.model as any).validate === 'function') {
|
|
79
|
+
(this.model as any).validate();
|
|
80
|
+
}
|
|
81
|
+
super.validate();
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
constructor(map?: { [key: string]: any }) {
|
|
85
|
+
super(map);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class WhatsappCallShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 示例值示例值
|
|
12
|
+
*/
|
|
13
|
+
businessNumber?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 示例值示例值示例值
|
|
20
|
+
*/
|
|
21
|
+
callAction?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 示例值示例值
|
|
25
|
+
*/
|
|
26
|
+
callId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 示例值
|
|
33
|
+
*/
|
|
34
|
+
custSpaceId?: string;
|
|
35
|
+
ownerId?: number;
|
|
36
|
+
resourceOwnerAccount?: string;
|
|
37
|
+
resourceOwnerId?: number;
|
|
38
|
+
sessionShrink?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 示例值示例值
|
|
42
|
+
*/
|
|
43
|
+
userNumber?: string;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
businessNumber: 'BusinessNumber',
|
|
47
|
+
callAction: 'CallAction',
|
|
48
|
+
callId: 'CallId',
|
|
49
|
+
custSpaceId: 'CustSpaceId',
|
|
50
|
+
ownerId: 'OwnerId',
|
|
51
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
52
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
53
|
+
sessionShrink: 'Session',
|
|
54
|
+
userNumber: 'UserNumber',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
businessNumber: 'string',
|
|
61
|
+
callAction: 'string',
|
|
62
|
+
callId: 'string',
|
|
63
|
+
custSpaceId: 'string',
|
|
64
|
+
ownerId: 'number',
|
|
65
|
+
resourceOwnerAccount: 'string',
|
|
66
|
+
resourceOwnerId: 'number',
|
|
67
|
+
sessionShrink: 'string',
|
|
68
|
+
userNumber: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -8,6 +8,11 @@ export { BindInstagramPageResponseBodyData } from './BindInstagramPageResponseBo
|
|
|
8
8
|
export { BindMessengerPageResponseBodyData } from './BindMessengerPageResponseBody';
|
|
9
9
|
export { ChatappBindWabaResponseBodyData } from './ChatappBindWabaResponseBody';
|
|
10
10
|
export { ChatappMigrationVerifiedResponseBodyData } from './ChatappMigrationVerifiedResponseBody';
|
|
11
|
+
export { ChatappSyncPhoneNumberResponseBodyPhoneNumbersCallingConfigureCallingCallHoursHolidaySchedule } from './ChatappSyncPhoneNumberResponseBody';
|
|
12
|
+
export { ChatappSyncPhoneNumberResponseBodyPhoneNumbersCallingConfigureCallingCallHoursWeeklyOperatingHours } from './ChatappSyncPhoneNumberResponseBody';
|
|
13
|
+
export { ChatappSyncPhoneNumberResponseBodyPhoneNumbersCallingConfigureCallingCallHours } from './ChatappSyncPhoneNumberResponseBody';
|
|
14
|
+
export { ChatappSyncPhoneNumberResponseBodyPhoneNumbersCallingConfigureCalling } from './ChatappSyncPhoneNumberResponseBody';
|
|
15
|
+
export { ChatappSyncPhoneNumberResponseBodyPhoneNumbersCallingConfigure } from './ChatappSyncPhoneNumberResponseBody';
|
|
11
16
|
export { ChatappSyncPhoneNumberResponseBodyPhoneNumbers } from './ChatappSyncPhoneNumberResponseBody';
|
|
12
17
|
export { CopyTemplateResponseBodyData } from './CopyTemplateResponseBody';
|
|
13
18
|
export { CreateChatappMigrationInitiateResponseBodyData } from './CreateChatappMigrationInitiateResponseBody';
|
|
@@ -115,6 +120,11 @@ export { ModifyChatappTemplateRequestComponents } from './ModifyChatappTemplateR
|
|
|
115
120
|
export { ModifyChatappTemplateResponseBodyData } from './ModifyChatappTemplateResponseBody';
|
|
116
121
|
export { ModifyFlowResponseBodyData } from './ModifyFlowResponseBody';
|
|
117
122
|
export { QueryChatappBindWabaResponseBodyData } from './QueryChatappBindWabaResponseBody';
|
|
123
|
+
export { QueryChatappPhoneNumbersResponseBodyPhoneNumbersCallingConfigureCallingCallHoursHolidaySchedule } from './QueryChatappPhoneNumbersResponseBody';
|
|
124
|
+
export { QueryChatappPhoneNumbersResponseBodyPhoneNumbersCallingConfigureCallingCallHoursWeeklyOperatingHours } from './QueryChatappPhoneNumbersResponseBody';
|
|
125
|
+
export { QueryChatappPhoneNumbersResponseBodyPhoneNumbersCallingConfigureCallingCallHours } from './QueryChatappPhoneNumbersResponseBody';
|
|
126
|
+
export { QueryChatappPhoneNumbersResponseBodyPhoneNumbersCallingConfigureCalling } from './QueryChatappPhoneNumbersResponseBody';
|
|
127
|
+
export { QueryChatappPhoneNumbersResponseBodyPhoneNumbersCallingConfigure } from './QueryChatappPhoneNumbersResponseBody';
|
|
118
128
|
export { QueryChatappPhoneNumbersResponseBodyPhoneNumbers } from './QueryChatappPhoneNumbersResponseBody';
|
|
119
129
|
export { QueryInstanceResponseBodyData } from './QueryInstanceResponseBody';
|
|
120
130
|
export { QueryPhoneBusinessProfileResponseBodyData } from './QueryPhoneBusinessProfileResponseBody';
|
|
@@ -136,6 +146,8 @@ export { UpdateConversationalAutomationRequestCommands } from './UpdateConversat
|
|
|
136
146
|
export { UpdateFlowJSONAssetResponseBodyData } from './UpdateFlowJsonassetResponseBody';
|
|
137
147
|
export { UpdateInstanceResponseBodyData } from './UpdateInstanceResponseBody';
|
|
138
148
|
export { UpdatePhoneMessageQrdlResponseBodyData } from './UpdatePhoneMessageQrdlResponseBody';
|
|
149
|
+
export { WhatsappCallRequestSession } from './WhatsappCallRequest';
|
|
150
|
+
export { WhatsappCallResponseBodyModel } from './WhatsappCallResponseBody';
|
|
139
151
|
export { AddAddressRecoverSuspendRequest } from './AddAddressRecoverSuspendRequest';
|
|
140
152
|
export { AddAddressRecoverSuspendShrinkRequest } from './AddAddressRecoverSuspendShrinkRequest';
|
|
141
153
|
export { AddAddressRecoverSuspendResponseBody } from './AddAddressRecoverSuspendResponseBody';
|
|
@@ -676,3 +688,7 @@ export { UpdatePhoneWebhookResponse } from './UpdatePhoneWebhookResponse';
|
|
|
676
688
|
export { UpdateWabaMmlStatusRequest } from './UpdateWabaMmlStatusRequest';
|
|
677
689
|
export { UpdateWabaMmlStatusResponseBody } from './UpdateWabaMmlStatusResponseBody';
|
|
678
690
|
export { UpdateWabaMmlStatusResponse } from './UpdateWabaMmlStatusResponse';
|
|
691
|
+
export { WhatsappCallRequest } from './WhatsappCallRequest';
|
|
692
|
+
export { WhatsappCallShrinkRequest } from './WhatsappCallShrinkRequest';
|
|
693
|
+
export { WhatsappCallResponseBody } from './WhatsappCallResponseBody';
|
|
694
|
+
export { WhatsappCallResponse } from './WhatsappCallResponse';
|