@alicloud/dms20250414 4.5.1 → 4.6.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 (73) hide show
  1. package/dist/client.d.ts +68 -8
  2. package/dist/client.js +204 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +88 -0
  5. package/dist/models/BatchCreateDataLakePartitionsRequest.js +76 -0
  6. package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +1 -0
  7. package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +19 -0
  8. package/dist/models/BatchCreateDataLakePartitionsResponse.js +69 -0
  9. package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +1 -0
  10. package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +54 -0
  11. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +70 -0
  12. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +1 -0
  13. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +87 -0
  14. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js +72 -0
  15. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +1 -0
  16. package/dist/models/DmsGatewayOrder.d.ts +1 -0
  17. package/dist/models/DmsGatewayOrder.js +2 -0
  18. package/dist/models/DmsGatewayOrder.js.map +1 -1
  19. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
  20. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
  21. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
  22. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
  23. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
  24. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
  25. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
  26. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
  27. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
  28. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
  29. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
  30. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
  31. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
  32. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
  33. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
  34. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
  35. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
  36. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
  37. package/dist/models/SendChatMessageRequest.d.ts +68 -74
  38. package/dist/models/SendChatMessageRequest.js.map +1 -1
  39. package/dist/models/SendChatMessageShrinkRequest.d.ts +18 -21
  40. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  41. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
  42. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
  43. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
  44. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
  45. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
  46. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
  47. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
  48. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
  49. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
  50. package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
  51. package/dist/models/model.d.ts +16 -0
  52. package/dist/models/model.js +45 -12
  53. package/dist/models/model.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/client.ts +228 -8
  56. package/src/models/BatchCreateDataLakePartitionsRequest.ts +118 -0
  57. package/src/models/BatchCreateDataLakePartitionsResponse.ts +40 -0
  58. package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +78 -0
  59. package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +114 -0
  60. package/src/models/DmsGatewayOrder.ts +3 -0
  61. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
  62. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
  63. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
  64. package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
  65. package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
  66. package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
  67. package/src/models/SendChatMessageRequest.ts +68 -74
  68. package/src/models/SendChatMessageShrinkRequest.ts +18 -21
  69. package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
  70. package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
  71. package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
  72. package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
  73. package/src/models/model.ts +16 -0
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GetMyAgenticNotificationChannelAuthorizeUrlResponseBody } from "./GetMyAgenticNotificationChannelAuthorizeUrlResponseBody";
3
+ export declare class GetMyAgenticNotificationChannelAuthorizeUrlResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GetMyAgenticNotificationChannelAuthorizeUrlResponseBody;
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.GetMyAgenticNotificationChannelAuthorizeUrlResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GetMyAgenticNotificationChannelAuthorizeUrlResponseBody_1 = require("./GetMyAgenticNotificationChannelAuthorizeUrlResponseBody");
40
+ class GetMyAgenticNotificationChannelAuthorizeUrlResponse 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: GetMyAgenticNotificationChannelAuthorizeUrlResponseBody_1.GetMyAgenticNotificationChannelAuthorizeUrlResponseBody,
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.GetMyAgenticNotificationChannelAuthorizeUrlResponse = GetMyAgenticNotificationChannelAuthorizeUrlResponse;
69
+ //# sourceMappingURL=GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetMyAgenticNotificationChannelAuthorizeUrlResponse.js","sourceRoot":"","sources":["../../src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uIAAoI;AAGpI,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;IAIlF,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,iHAAuD;SAC9D,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,kHAiCC"}
@@ -0,0 +1,77 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The URL of the Lark OAuth authorization page. After the user opens the URL in a browser and completes the authorization, the system binds the Lark account as the notification identity for the current user, and the channel switch remains unchanged. The state parameter in the URL is valid for 180 seconds and can be used only once.
6
+ *
7
+ * @example
8
+ * https://open.feishu.cn/open-apis/authen/v1/authorize?app_id=cli_a5f8e2d9c3b1****&redirect_uri=https%3A%2F%2Faig-dms-cn-hangzhou.aliyuncs.com%2Foauth%2Fmobile%2Ffeishu%2Fbind&state=eyJhbGciOiJIUzI1NiJ9****
9
+ */
10
+ authorizeUrl?: string;
11
+ /**
12
+ * @remarks
13
+ * The callback URL after the authorization is completed. You must add this URL to the redirect URL whitelist of the tenant\\"s Lark application. Otherwise, the authorization fails.
14
+ *
15
+ * @example
16
+ * https://aig-dms-cn-hangzhou.aliyuncs.com/oauth/mobile/feishu/bind
17
+ */
18
+ redirectUri?: 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
+ }
30
+ export declare class GetMyAgenticNotificationChannelAuthorizeUrlResponseBody extends $dara.Model {
31
+ /**
32
+ * @remarks
33
+ * The authorization URL information.
34
+ */
35
+ data?: GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData;
36
+ /**
37
+ * @remarks
38
+ * The error code returned when the request fails.
39
+ *
40
+ * @example
41
+ * INVALID_PARAMETER
42
+ */
43
+ errorCode?: string;
44
+ /**
45
+ * @remarks
46
+ * The error message returned when the request fails.
47
+ *
48
+ * @example
49
+ * channel must be FEISHU
50
+ */
51
+ errorMessage?: string;
52
+ /**
53
+ * @remarks
54
+ * The request ID.
55
+ *
56
+ * @example
57
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
58
+ */
59
+ requestId?: string;
60
+ /**
61
+ * @remarks
62
+ * Indicates whether the request is successful. Valid values:
63
+ * - true: The request is successful.
64
+ * - false: The request fails.
65
+ */
66
+ success?: boolean;
67
+ static names(): {
68
+ [key: string]: string;
69
+ };
70
+ static types(): {
71
+ [key: string]: any;
72
+ };
73
+ validate(): void;
74
+ constructor(map?: {
75
+ [key: string]: any;
76
+ });
77
+ }
@@ -0,0 +1,90 @@
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.GetMyAgenticNotificationChannelAuthorizeUrlResponseBody = exports.GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ authorizeUrl: 'AuthorizeUrl',
43
+ redirectUri: 'RedirectUri',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ authorizeUrl: 'string',
49
+ redirectUri: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData = GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData;
60
+ class GetMyAgenticNotificationChannelAuthorizeUrlResponseBody extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ data: 'Data',
64
+ errorCode: 'ErrorCode',
65
+ errorMessage: 'ErrorMessage',
66
+ requestId: 'RequestId',
67
+ success: 'Success',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ data: GetMyAgenticNotificationChannelAuthorizeUrlResponseBodyData,
73
+ errorCode: 'string',
74
+ errorMessage: 'string',
75
+ requestId: 'string',
76
+ success: 'boolean',
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.data && typeof this.data.validate === 'function') {
81
+ this.data.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.GetMyAgenticNotificationChannelAuthorizeUrlResponseBody = GetMyAgenticNotificationChannelAuthorizeUrlResponseBody;
90
+ //# sourceMappingURL=GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js","sourceRoot":"","sources":["../../src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2DAA4D,SAAQ,KAAK,CAAC,KAAK;IAiB1F,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;SACtB,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,kIAsCC;AAED,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IAqCtF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,2DAA2D;YACjE,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AAnED,0HAmEC"}
@@ -0,0 +1,37 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListMyAgenticNotificationChannelConfigsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The notification channel type used to filter results. If you do not specify this parameter, all personal notification channels are returned. Currently, only FEISHU (Lark) is supported. Specifying other values results in a parameter error.
6
+ *
7
+ * @example
8
+ * FEISHU
9
+ */
10
+ channel?: string;
11
+ /**
12
+ * @remarks
13
+ * The maximum number of records to return per page. Valid values: 1 to 100. Default value: 20.
14
+ *
15
+ * @example
16
+ * 20
17
+ */
18
+ maxResults?: number;
19
+ /**
20
+ * @remarks
21
+ * The paging token for the paged query. Do not specify this parameter for the first query. To query the next page, specify the NextToken value returned in the previous response.
22
+ *
23
+ * @example
24
+ * MjA
25
+ */
26
+ nextToken?: string;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ validate(): void;
34
+ constructor(map?: {
35
+ [key: string]: any;
36
+ });
37
+ }
@@ -0,0 +1,62 @@
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.ListMyAgenticNotificationChannelConfigsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListMyAgenticNotificationChannelConfigsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ channel: 'Channel',
43
+ maxResults: 'MaxResults',
44
+ nextToken: 'NextToken',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ channel: 'string',
50
+ maxResults: 'number',
51
+ nextToken: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.ListMyAgenticNotificationChannelConfigsRequest = ListMyAgenticNotificationChannelConfigsRequest;
62
+ //# sourceMappingURL=ListMyAgenticNotificationChannelConfigsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListMyAgenticNotificationChannelConfigsRequest.js","sourceRoot":"","sources":["../../src/models/ListMyAgenticNotificationChannelConfigsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAyB7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;SACpB,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;AAhDD,wGAgDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListMyAgenticNotificationChannelConfigsResponseBody } from "./ListMyAgenticNotificationChannelConfigsResponseBody";
3
+ export declare class ListMyAgenticNotificationChannelConfigsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListMyAgenticNotificationChannelConfigsResponseBody;
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.ListMyAgenticNotificationChannelConfigsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListMyAgenticNotificationChannelConfigsResponseBody_1 = require("./ListMyAgenticNotificationChannelConfigsResponseBody");
40
+ class ListMyAgenticNotificationChannelConfigsResponse 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: ListMyAgenticNotificationChannelConfigsResponseBody_1.ListMyAgenticNotificationChannelConfigsResponseBody,
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.ListMyAgenticNotificationChannelConfigsResponse = ListMyAgenticNotificationChannelConfigsResponse;
69
+ //# sourceMappingURL=ListMyAgenticNotificationChannelConfigsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListMyAgenticNotificationChannelConfigsResponse.js","sourceRoot":"","sources":["../../src/models/ListMyAgenticNotificationChannelConfigsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+HAA4H;AAG5H,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAI9E,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,yGAAmD;SAC1D,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,0GAiCC"}
@@ -0,0 +1,98 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListMyAgenticNotificationChannelConfigsResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The notification channel type. Valid values: FEISHU (Lark).
6
+ *
7
+ * @example
8
+ * FEISHU
9
+ */
10
+ channel?: string;
11
+ /**
12
+ * @remarks
13
+ * The channel configuration information. Both keys and values are strings, which include bound identity information such as openId, mobile, or email. Sensitive values are always displayed as ****** and are not returned in plaintext.
14
+ *
15
+ * @example
16
+ * {"openId":"******","mobile":"******","email":"******"}
17
+ */
18
+ config?: {
19
+ [key: string]: string;
20
+ };
21
+ /**
22
+ * @remarks
23
+ * Indicates whether the notification channel is enabled. If the channel has never been configured, false is returned.
24
+ */
25
+ enabled?: boolean;
26
+ static names(): {
27
+ [key: string]: string;
28
+ };
29
+ static types(): {
30
+ [key: string]: any;
31
+ };
32
+ validate(): void;
33
+ constructor(map?: {
34
+ [key: string]: any;
35
+ });
36
+ }
37
+ export declare class ListMyAgenticNotificationChannelConfigsResponseBody extends $dara.Model {
38
+ /**
39
+ * @remarks
40
+ * The list of notification channel configurations for the current user.
41
+ */
42
+ data?: ListMyAgenticNotificationChannelConfigsResponseBodyData[];
43
+ /**
44
+ * @remarks
45
+ * The error code returned when the request fails.
46
+ *
47
+ * @example
48
+ * INVALID_PARAMETER
49
+ */
50
+ errorCode?: string;
51
+ /**
52
+ * @remarks
53
+ * The error message returned when the request fails.
54
+ *
55
+ * @example
56
+ * channel must be FEISHU
57
+ */
58
+ errorMessage?: string;
59
+ /**
60
+ * @remarks
61
+ * The maximum number of records per page used for this query.
62
+ *
63
+ * @example
64
+ * 20
65
+ */
66
+ maxResults?: number;
67
+ /**
68
+ * @remarks
69
+ * The pagination token for the next page. This parameter is empty if no more data is available.
70
+ *
71
+ * @example
72
+ * MjA
73
+ */
74
+ nextToken?: string;
75
+ /**
76
+ * @remarks
77
+ * The request ID.
78
+ *
79
+ * @example
80
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
81
+ */
82
+ requestId?: string;
83
+ /**
84
+ * @remarks
85
+ * Indicates whether the request is successful. Valid values: true and false.
86
+ */
87
+ success?: boolean;
88
+ static names(): {
89
+ [key: string]: string;
90
+ };
91
+ static types(): {
92
+ [key: string]: any;
93
+ };
94
+ validate(): void;
95
+ constructor(map?: {
96
+ [key: string]: any;
97
+ });
98
+ }
@@ -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.ListMyAgenticNotificationChannelConfigsResponseBody = exports.ListMyAgenticNotificationChannelConfigsResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListMyAgenticNotificationChannelConfigsResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ channel: 'Channel',
43
+ config: 'Config',
44
+ enabled: 'Enabled',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ channel: 'string',
50
+ config: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ enabled: 'boolean',
52
+ };
53
+ }
54
+ validate() {
55
+ if (this.config) {
56
+ $dara.Model.validateMap(this.config);
57
+ }
58
+ super.validate();
59
+ }
60
+ constructor(map) {
61
+ super(map);
62
+ }
63
+ }
64
+ exports.ListMyAgenticNotificationChannelConfigsResponseBodyData = ListMyAgenticNotificationChannelConfigsResponseBodyData;
65
+ class ListMyAgenticNotificationChannelConfigsResponseBody extends $dara.Model {
66
+ static names() {
67
+ return {
68
+ data: 'Data',
69
+ errorCode: 'ErrorCode',
70
+ errorMessage: 'ErrorMessage',
71
+ maxResults: 'MaxResults',
72
+ nextToken: 'NextToken',
73
+ requestId: 'RequestId',
74
+ success: 'Success',
75
+ };
76
+ }
77
+ static types() {
78
+ return {
79
+ data: { 'type': 'array', 'itemType': ListMyAgenticNotificationChannelConfigsResponseBodyData },
80
+ errorCode: 'string',
81
+ errorMessage: 'string',
82
+ maxResults: 'number',
83
+ nextToken: 'string',
84
+ requestId: 'string',
85
+ success: 'boolean',
86
+ };
87
+ }
88
+ validate() {
89
+ if (Array.isArray(this.data)) {
90
+ $dara.Model.validateArray(this.data);
91
+ }
92
+ super.validate();
93
+ }
94
+ constructor(map) {
95
+ super(map);
96
+ }
97
+ }
98
+ exports.ListMyAgenticNotificationChannelConfigsResponseBody = ListMyAgenticNotificationChannelConfigsResponseBody;
99
+ //# sourceMappingURL=ListMyAgenticNotificationChannelConfigsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListMyAgenticNotificationChannelConfigsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IAsBtF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACrE,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,EAAE,CAAC;YACf,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0HAgDC;AAED,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;IAmDlF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uDAAuD,EAAE;YAC9F,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,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,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArFD,kHAqFC"}