@alicloud/ccc20200701 2.36.1 → 2.37.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.
Files changed (33) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +108 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ListNotificationRecordsRequest.d.ts +29 -0
  5. package/dist/models/ListNotificationRecordsRequest.js +60 -0
  6. package/dist/models/ListNotificationRecordsRequest.js.map +1 -0
  7. package/dist/models/ListNotificationRecordsResponse.d.ts +19 -0
  8. package/dist/models/ListNotificationRecordsResponse.js +69 -0
  9. package/dist/models/ListNotificationRecordsResponse.js.map +1 -0
  10. package/dist/models/ListNotificationRecordsResponseBody.d.ts +75 -0
  11. package/dist/models/ListNotificationRecordsResponseBody.js +99 -0
  12. package/dist/models/ListNotificationRecordsResponseBody.js.map +1 -0
  13. package/dist/models/UpdateSubscriptionRequest.d.ts +68 -0
  14. package/dist/models/UpdateSubscriptionRequest.js +76 -0
  15. package/dist/models/UpdateSubscriptionRequest.js.map +1 -0
  16. package/dist/models/UpdateSubscriptionResponse.d.ts +19 -0
  17. package/dist/models/UpdateSubscriptionResponse.js +69 -0
  18. package/dist/models/UpdateSubscriptionResponse.js.map +1 -0
  19. package/dist/models/UpdateSubscriptionResponseBody.d.ts +102 -0
  20. package/dist/models/UpdateSubscriptionResponseBody.js +133 -0
  21. package/dist/models/UpdateSubscriptionResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +9 -0
  23. package/dist/models/model.js +37 -18
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +124 -0
  27. package/src/models/ListNotificationRecordsRequest.ts +44 -0
  28. package/src/models/ListNotificationRecordsResponse.ts +40 -0
  29. package/src/models/ListNotificationRecordsResponseBody.ts +120 -0
  30. package/src/models/UpdateSubscriptionRequest.ts +99 -0
  31. package/src/models/UpdateSubscriptionResponse.ts +40 -0
  32. package/src/models/UpdateSubscriptionResponseBody.ts +172 -0
  33. package/src/models/model.ts +9 -0
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListNotificationRecordsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * ccc-test
9
+ */
10
+ instanceId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * ["job-468a63a2-****-****-****-b1ecf726d4be","job-532a63a2-****-****-****-bcccc26d4cc"]
17
+ */
18
+ notificationKeys?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListNotificationRecordsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListNotificationRecordsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ instanceId: 'InstanceId',
43
+ notificationKeys: 'NotificationKeys',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ instanceId: 'string',
49
+ notificationKeys: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.ListNotificationRecordsRequest = ListNotificationRecordsRequest;
60
+ //# sourceMappingURL=ListNotificationRecordsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListNotificationRecordsRequest.js","sourceRoot":"","sources":["../../src/models/ListNotificationRecordsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,wEAsCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListNotificationRecordsResponseBody } from "./ListNotificationRecordsResponseBody";
3
+ export declare class ListNotificationRecordsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListNotificationRecordsResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListNotificationRecordsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListNotificationRecordsResponseBody_1 = require("./ListNotificationRecordsResponseBody");
40
+ class ListNotificationRecordsResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ListNotificationRecordsResponseBody_1.ListNotificationRecordsResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ListNotificationRecordsResponse = ListNotificationRecordsResponse;
69
+ //# sourceMappingURL=ListNotificationRecordsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListNotificationRecordsResponse.js","sourceRoot":"","sources":["../../src/models/ListNotificationRecordsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yEAAmC;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0EAiCC"}
@@ -0,0 +1,75 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListNotificationRecordsResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * {
6
+ * "agentId": "agent@ccc-test",
7
+ * "callType": "OUTBOUND",
8
+ * "callee": "13****00",
9
+ * "caller": "05****81",
10
+ * "channelId": "ch-user-13****00-05****81-1772619731285-job-*****",
11
+ * "contactId": "job-*****",
12
+ * "eventTime": "2026-03-04T10:22:11.309Z",
13
+ * "eventType": "Dialing",
14
+ * "instanceId": "ccc-test",
15
+ * "mediaType": "AUDIO",
16
+ * "skillGroupId": "skill@ccc-test"
17
+ * }
18
+ */
19
+ content?: string;
20
+ /**
21
+ * @example
22
+ * ccc-test
23
+ */
24
+ instanceId?: string;
25
+ /**
26
+ * @example
27
+ * job-468a63a2-****-****-****-b1ecf726d4be
28
+ */
29
+ notificationKey?: string;
30
+ /**
31
+ * @example
32
+ * Dialing
33
+ */
34
+ notificationType?: string;
35
+ static names(): {
36
+ [key: string]: string;
37
+ };
38
+ static types(): {
39
+ [key: string]: any;
40
+ };
41
+ validate(): void;
42
+ constructor(map?: {
43
+ [key: string]: any;
44
+ });
45
+ }
46
+ export declare class ListNotificationRecordsResponseBody extends $dara.Model {
47
+ /**
48
+ * @example
49
+ * OK
50
+ */
51
+ code?: string;
52
+ data?: ListNotificationRecordsResponseBodyData[];
53
+ /**
54
+ * @example
55
+ * 200
56
+ */
57
+ httpStatusCode?: number;
58
+ message?: string;
59
+ params?: string[];
60
+ /**
61
+ * @example
62
+ * 0630E5DF-CEB0-445B-8626-D5C7481181C3
63
+ */
64
+ requestId?: string;
65
+ static names(): {
66
+ [key: string]: string;
67
+ };
68
+ static types(): {
69
+ [key: string]: any;
70
+ };
71
+ validate(): void;
72
+ constructor(map?: {
73
+ [key: string]: any;
74
+ });
75
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListNotificationRecordsResponseBody = exports.ListNotificationRecordsResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListNotificationRecordsResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ content: 'Content',
43
+ instanceId: 'InstanceId',
44
+ notificationKey: 'NotificationKey',
45
+ notificationType: 'NotificationType',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ content: 'string',
51
+ instanceId: 'string',
52
+ notificationKey: 'string',
53
+ notificationType: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListNotificationRecordsResponseBodyData = ListNotificationRecordsResponseBodyData;
64
+ class ListNotificationRecordsResponseBody extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ code: 'Code',
68
+ data: 'Data',
69
+ httpStatusCode: 'HttpStatusCode',
70
+ message: 'Message',
71
+ params: 'Params',
72
+ requestId: 'RequestId',
73
+ };
74
+ }
75
+ static types() {
76
+ return {
77
+ code: 'string',
78
+ data: { 'type': 'array', 'itemType': ListNotificationRecordsResponseBodyData },
79
+ httpStatusCode: 'number',
80
+ message: 'string',
81
+ params: { 'type': 'array', 'itemType': 'string' },
82
+ requestId: 'string',
83
+ };
84
+ }
85
+ validate() {
86
+ if (Array.isArray(this.data)) {
87
+ $dara.Model.validateArray(this.data);
88
+ }
89
+ if (Array.isArray(this.params)) {
90
+ $dara.Model.validateArray(this.params);
91
+ }
92
+ super.validate();
93
+ }
94
+ constructor(map) {
95
+ super(map);
96
+ }
97
+ }
98
+ exports.ListNotificationRecordsResponseBody = ListNotificationRecordsResponseBody;
99
+ //# sourceMappingURL=ListNotificationRecordsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListNotificationRecordsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListNotificationRecordsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAiCtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,QAAQ;YACzB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,0FA0DC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAmBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uCAAuC,EAAE;YAC9E,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACjD,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtDD,kFAsDC"}
@@ -0,0 +1,68 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateSubscriptionRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * rmq-cn-****.cn-shanghai.rmq.aliyuncs.com:8080
9
+ */
10
+ accessPoint?: string;
11
+ aliyunUid?: number;
12
+ /**
13
+ * @example
14
+ * ccc-event
15
+ */
16
+ defaultTopic?: string;
17
+ /**
18
+ * @remarks
19
+ * This parameter is required.
20
+ *
21
+ * @example
22
+ * [{"Name ":"StopConsultant ","Disabled ":true},{"Name ":"QueueingRerouted ","Disabled ":true},{"Name ":"IvrTracking ","Disabled ":true},{"Name ":"DualTrackRecordingReady ","Disabled ":true},{"Name ":"SatisfactionSurveyResponse ","Disabled ":true},{"Name ":"Dialing ","Disabled ":false},{"Name ":"Abandoned ","Disabled ":true},{"Name ":"QueueingCancelled ","Disabled ":true},{"Name ":"RecordingReady ","Disabled ":true},{"Name ":"StopCoach ","Disabled ":true},{"Name ":"Established ","Disabled ":true},{"Name ":"InitiateConsultant ","Disabled ":true},{"Name ":"Route2IVR ","Disabled ":false},{"Name ":"Retrieved ","Disabled ":true},{"Name ":"CampaignPaused ","Disabled ":true},{"Name ":"TextStream ","Disabled ":true},{"Name ":"AgentRelease ","Disabled ":true},{"Name ":"VoicemailReady ","Disabled ":true},{"Name ":"Released ","Disabled ":false},{"Name ":"CDRReady ","Disabled ":true},{"Name ":"CaseAttempted ","Disabled ":true},{"Name ":"AgentBreak ","Disabled ":true},{"Name ":"AgentRingingTimeout ","Disabled ":true},{"Name ":"AgentReady ","Disabled ":true},{"Name ":"CampaignResumed ","Disabled ":true},{"Name ":"AgentDialing ","Disabled ":true},{"Name ":"Ringing ","Disabled ":true},{"Name ":"StartConsultant ","Disabled ":false},{"Name ":"QueueingTimeout ","Disabled ":true},{"Name ":"AgentTalk ","Disabled ":true},{"Name ":"AgentRinging ","Disabled ":true},{"Name ":"StartMonitor ","Disabled ":true},{"Name ":"BlindTransfer ","Disabled ":true},{"Name ":"Intercept ","Disabled ":true},{"Name ":"RingingTimeout ","Disabled ":true},{"Name ":"StartConference ","Disabled ":true},{"Name ":"QueueingOverflow ","Disabled ":true},{"Name ":"BargeIn ","Disabled ":true},{"Name ":"StopConference ","Disabled ":true},{"Name ":"AgentCheckOut ","Disabled ":true},{"Name ":"CampaignSubmitted ","Disabled ":true},{"Name ":"AgentCheckIn ","Disabled ":true},{"Name ":"Enqueue ","Disabled ":false},{"Name ":"AttendedTransfer ","Disabled ":true},{"Name ":"StopMonitor ","Disabled ":true},{"Name ":"DispatchingFailure ","Disabled ":true},{"Name ":"SatisfactionSurveyOffer ","Disabled ":true},{"Name ":"CampaignCompleted ","Disabled ":true},{"Name ":"CampaignAborted ","Disabled ":true},{"Name ":"AssignAgent ","Disabled ":true},{"Name ":"Held ","Disabled ":true},{"Name ":"StartCoach ","Disabled ":true}]
23
+ */
24
+ eventSubscriptionsJson?: string;
25
+ /**
26
+ * @remarks
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * ccc-test
31
+ */
32
+ instanceId?: string;
33
+ /**
34
+ * @example
35
+ * rmq-cn-****
36
+ */
37
+ mqInstanceId?: string;
38
+ /**
39
+ * @example
40
+ * rocketmq5
41
+ */
42
+ mqType?: string;
43
+ /**
44
+ * @example
45
+ * password
46
+ */
47
+ password?: string;
48
+ /**
49
+ * @example
50
+ * GID_xxx
51
+ */
52
+ producerId?: string;
53
+ /**
54
+ * @example
55
+ * username
56
+ */
57
+ username?: string;
58
+ static names(): {
59
+ [key: string]: string;
60
+ };
61
+ static types(): {
62
+ [key: string]: any;
63
+ };
64
+ validate(): void;
65
+ constructor(map?: {
66
+ [key: string]: any;
67
+ });
68
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.UpdateSubscriptionRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateSubscriptionRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ accessPoint: 'AccessPoint',
43
+ aliyunUid: 'AliyunUid',
44
+ defaultTopic: 'DefaultTopic',
45
+ eventSubscriptionsJson: 'EventSubscriptionsJson',
46
+ instanceId: 'InstanceId',
47
+ mqInstanceId: 'MqInstanceId',
48
+ mqType: 'MqType',
49
+ password: 'Password',
50
+ producerId: 'ProducerId',
51
+ username: 'Username',
52
+ };
53
+ }
54
+ static types() {
55
+ return {
56
+ accessPoint: 'string',
57
+ aliyunUid: 'number',
58
+ defaultTopic: 'string',
59
+ eventSubscriptionsJson: 'string',
60
+ instanceId: 'string',
61
+ mqInstanceId: 'string',
62
+ mqType: 'string',
63
+ password: 'string',
64
+ producerId: 'string',
65
+ username: 'string',
66
+ };
67
+ }
68
+ validate() {
69
+ super.validate();
70
+ }
71
+ constructor(map) {
72
+ super(map);
73
+ }
74
+ }
75
+ exports.UpdateSubscriptionRequest = UpdateSubscriptionRequest;
76
+ //# sourceMappingURL=UpdateSubscriptionRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateSubscriptionRequest.js","sourceRoot":"","sources":["../../src/models/UpdateSubscriptionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAwDxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,sBAAsB,EAAE,wBAAwB;YAChD,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,sBAAsB,EAAE,QAAQ;YAChC,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7FD,8DA6FC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { UpdateSubscriptionResponseBody } from "./UpdateSubscriptionResponseBody";
3
+ export declare class UpdateSubscriptionResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: UpdateSubscriptionResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.UpdateSubscriptionResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const UpdateSubscriptionResponseBody_1 = require("./UpdateSubscriptionResponseBody");
40
+ class UpdateSubscriptionResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: UpdateSubscriptionResponseBody_1.UpdateSubscriptionResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.UpdateSubscriptionResponse = UpdateSubscriptionResponse;
69
+ //# sourceMappingURL=UpdateSubscriptionResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateSubscriptionResponse.js","sourceRoot":"","sources":["../../src/models/UpdateSubscriptionResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qFAAkF;AAGlF,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAIzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,+DAA8B;SACrC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,gEAiCC"}