@alicloud/cams20200606 5.0.2 → 5.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 +51 -0
- package/dist/client.js.map +1 -1
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +5 -0
- package/dist/models/QueryChatappBindWabaResponseBody.js +2 -0
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/SyncBusinessAppHistoryRequest.d.ts +32 -0
- package/dist/models/SyncBusinessAppHistoryRequest.js +66 -0
- package/dist/models/SyncBusinessAppHistoryRequest.js.map +1 -0
- package/dist/models/SyncBusinessAppHistoryResponse.d.ts +19 -0
- package/dist/models/SyncBusinessAppHistoryResponse.js +69 -0
- package/dist/models/SyncBusinessAppHistoryResponse.js.map +1 -0
- package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +34 -0
- package/dist/models/SyncBusinessAppHistoryResponseBody.js +66 -0
- package/dist/models/SyncBusinessAppHistoryResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +9 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +58 -0
- package/src/models/QueryChatappBindWabaResponseBody.ts +7 -0
- package/src/models/SyncBusinessAppHistoryRequest.ts +53 -0
- package/src/models/SyncBusinessAppHistoryResponse.ts +40 -0
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +55 -0
- package/src/models/model.ts +3 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SyncBusinessAppHistoryRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cams-x***
|
|
12
|
+
*/
|
|
13
|
+
custSpaceId?: string;
|
|
14
|
+
ownerId?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* This parameter is required.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 8613800**
|
|
21
|
+
*/
|
|
22
|
+
phoneNumber?: string;
|
|
23
|
+
resourceOwnerAccount?: string;
|
|
24
|
+
resourceOwnerId?: number;
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
custSpaceId: 'CustSpaceId',
|
|
28
|
+
ownerId: 'OwnerId',
|
|
29
|
+
phoneNumber: 'PhoneNumber',
|
|
30
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
31
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
custSpaceId: 'string',
|
|
38
|
+
ownerId: 'number',
|
|
39
|
+
phoneNumber: 'string',
|
|
40
|
+
resourceOwnerAccount: 'string',
|
|
41
|
+
resourceOwnerId: 'number',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
super.validate();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
constructor(map?: { [key: string]: any }) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SyncBusinessAppHistoryResponseBody } from "./SyncBusinessAppHistoryResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SyncBusinessAppHistoryResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SyncBusinessAppHistoryResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: SyncBusinessAppHistoryResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SyncBusinessAppHistoryResponseBody extends $dara.Model {
|
|
6
|
+
accessDeniedDetail?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 示例值示例值
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 示例值
|
|
15
|
+
*/
|
|
16
|
+
message?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 示例值示例值
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* false
|
|
25
|
+
*/
|
|
26
|
+
success?: boolean;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
30
|
+
code: 'Code',
|
|
31
|
+
message: 'Message',
|
|
32
|
+
requestId: 'RequestId',
|
|
33
|
+
success: 'Success',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
accessDeniedDetail: 'string',
|
|
40
|
+
code: 'string',
|
|
41
|
+
message: 'string',
|
|
42
|
+
requestId: 'string',
|
|
43
|
+
success: 'boolean',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -627,6 +627,9 @@ export { SendChatappMessageRequest } from './SendChatappMessageRequest';
|
|
|
627
627
|
export { SendChatappMessageShrinkRequest } from './SendChatappMessageShrinkRequest';
|
|
628
628
|
export { SendChatappMessageResponseBody } from './SendChatappMessageResponseBody';
|
|
629
629
|
export { SendChatappMessageResponse } from './SendChatappMessageResponse';
|
|
630
|
+
export { SyncBusinessAppHistoryRequest } from './SyncBusinessAppHistoryRequest';
|
|
631
|
+
export { SyncBusinessAppHistoryResponseBody } from './SyncBusinessAppHistoryResponseBody';
|
|
632
|
+
export { SyncBusinessAppHistoryResponse } from './SyncBusinessAppHistoryResponse';
|
|
630
633
|
export { SyncFlowRequest } from './SyncFlowRequest';
|
|
631
634
|
export { SyncFlowResponseBody } from './SyncFlowResponseBody';
|
|
632
635
|
export { SyncFlowResponse } from './SyncFlowResponse';
|