@alicloud/eas20210701 7.5.6 → 7.7.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 (109) hide show
  1. package/dist/client.d.ts +216 -0
  2. package/dist/client.js +408 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateConfigRequest.d.ts +21 -0
  5. package/dist/models/CreateConfigRequest.js +58 -0
  6. package/dist/models/CreateConfigRequest.js.map +1 -0
  7. package/dist/models/CreateConfigResponse.d.ts +19 -0
  8. package/dist/models/CreateConfigResponse.js +69 -0
  9. package/dist/models/CreateConfigResponse.js.map +1 -0
  10. package/dist/models/CreateConfigResponseBody.d.ts +33 -0
  11. package/dist/models/CreateConfigResponseBody.js +64 -0
  12. package/dist/models/CreateConfigResponseBody.js.map +1 -0
  13. package/dist/models/CreateServiceRolloutRequest.d.ts +59 -0
  14. package/dist/models/CreateServiceRolloutRequest.js +108 -0
  15. package/dist/models/CreateServiceRolloutRequest.js.map +1 -0
  16. package/dist/models/CreateServiceRolloutResponse.d.ts +19 -0
  17. package/dist/models/CreateServiceRolloutResponse.js +69 -0
  18. package/dist/models/CreateServiceRolloutResponse.js.map +1 -0
  19. package/dist/models/CreateServiceRolloutResponseBody.d.ts +23 -0
  20. package/dist/models/CreateServiceRolloutResponseBody.js +60 -0
  21. package/dist/models/CreateServiceRolloutResponseBody.js.map +1 -0
  22. package/dist/models/DeleteConfigRequest.d.ts +13 -0
  23. package/dist/models/DeleteConfigRequest.js +54 -0
  24. package/dist/models/DeleteConfigRequest.js.map +1 -0
  25. package/dist/models/DeleteConfigResponse.d.ts +19 -0
  26. package/dist/models/DeleteConfigResponse.js +69 -0
  27. package/dist/models/DeleteConfigResponse.js.map +1 -0
  28. package/dist/models/DeleteConfigResponseBody.d.ts +29 -0
  29. package/dist/models/DeleteConfigResponseBody.js +60 -0
  30. package/dist/models/DeleteConfigResponseBody.js.map +1 -0
  31. package/dist/models/DeleteServiceRolloutRequest.d.ts +13 -0
  32. package/dist/models/DeleteServiceRolloutRequest.js +54 -0
  33. package/dist/models/DeleteServiceRolloutRequest.js.map +1 -0
  34. package/dist/models/DeleteServiceRolloutResponse.d.ts +19 -0
  35. package/dist/models/DeleteServiceRolloutResponse.js +69 -0
  36. package/dist/models/DeleteServiceRolloutResponse.js.map +1 -0
  37. package/dist/models/DeleteServiceRolloutResponseBody.d.ts +23 -0
  38. package/dist/models/DeleteServiceRolloutResponseBody.js +60 -0
  39. package/dist/models/DeleteServiceRolloutResponseBody.js.map +1 -0
  40. package/dist/models/DescribeServiceRolloutRequest.d.ts +13 -0
  41. package/dist/models/DescribeServiceRolloutRequest.js +54 -0
  42. package/dist/models/DescribeServiceRolloutRequest.js.map +1 -0
  43. package/dist/models/DescribeServiceRolloutResponse.d.ts +19 -0
  44. package/dist/models/DescribeServiceRolloutResponse.js +69 -0
  45. package/dist/models/DescribeServiceRolloutResponse.js.map +1 -0
  46. package/dist/models/DescribeServiceRolloutResponseBody.d.ts +128 -0
  47. package/dist/models/DescribeServiceRolloutResponseBody.js +186 -0
  48. package/dist/models/DescribeServiceRolloutResponseBody.js.map +1 -0
  49. package/dist/models/ListConfigsRequest.d.ts +15 -0
  50. package/dist/models/ListConfigsRequest.js +60 -0
  51. package/dist/models/ListConfigsRequest.js.map +1 -0
  52. package/dist/models/ListConfigsResponse.d.ts +19 -0
  53. package/dist/models/ListConfigsResponse.js +69 -0
  54. package/dist/models/ListConfigsResponse.js.map +1 -0
  55. package/dist/models/ListConfigsResponseBody.d.ts +113 -0
  56. package/dist/models/ListConfigsResponseBody.js +98 -0
  57. package/dist/models/ListConfigsResponseBody.js.map +1 -0
  58. package/dist/models/Service.d.ts +1 -0
  59. package/dist/models/Service.js +2 -0
  60. package/dist/models/Service.js.map +1 -1
  61. package/dist/models/UpdateConfigRequest.d.ts +21 -0
  62. package/dist/models/UpdateConfigRequest.js +58 -0
  63. package/dist/models/UpdateConfigRequest.js.map +1 -0
  64. package/dist/models/UpdateConfigResponse.d.ts +19 -0
  65. package/dist/models/UpdateConfigResponse.js +69 -0
  66. package/dist/models/UpdateConfigResponse.js.map +1 -0
  67. package/dist/models/UpdateConfigResponseBody.d.ts +45 -0
  68. package/dist/models/UpdateConfigResponseBody.js +64 -0
  69. package/dist/models/UpdateConfigResponseBody.js.map +1 -0
  70. package/dist/models/UpdateServiceRolloutRequest.d.ts +59 -0
  71. package/dist/models/UpdateServiceRolloutRequest.js +108 -0
  72. package/dist/models/UpdateServiceRolloutRequest.js.map +1 -0
  73. package/dist/models/UpdateServiceRolloutResponse.d.ts +19 -0
  74. package/dist/models/UpdateServiceRolloutResponse.js +69 -0
  75. package/dist/models/UpdateServiceRolloutResponse.js.map +1 -0
  76. package/dist/models/UpdateServiceRolloutResponseBody.d.ts +23 -0
  77. package/dist/models/UpdateServiceRolloutResponseBody.js +60 -0
  78. package/dist/models/UpdateServiceRolloutResponseBody.js.map +1 -0
  79. package/dist/models/model.d.ts +34 -0
  80. package/dist/models/model.js +77 -8
  81. package/dist/models/model.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/client.ts +434 -0
  84. package/src/models/CreateConfigRequest.ts +34 -0
  85. package/src/models/CreateConfigResponse.ts +40 -0
  86. package/src/models/CreateConfigResponseBody.ts +52 -0
  87. package/src/models/CreateServiceRolloutRequest.ts +104 -0
  88. package/src/models/CreateServiceRolloutResponse.ts +40 -0
  89. package/src/models/CreateServiceRolloutResponseBody.ts +38 -0
  90. package/src/models/DeleteConfigRequest.ts +24 -0
  91. package/src/models/DeleteConfigResponse.ts +40 -0
  92. package/src/models/DeleteConfigResponseBody.ts +44 -0
  93. package/src/models/DeleteServiceRolloutRequest.ts +24 -0
  94. package/src/models/DeleteServiceRolloutResponse.ts +40 -0
  95. package/src/models/DeleteServiceRolloutResponseBody.ts +38 -0
  96. package/src/models/DescribeServiceRolloutRequest.ts +24 -0
  97. package/src/models/DescribeServiceRolloutResponse.ts +40 -0
  98. package/src/models/DescribeServiceRolloutResponseBody.ts +224 -0
  99. package/src/models/ListConfigsRequest.ts +30 -0
  100. package/src/models/ListConfigsResponse.ts +40 -0
  101. package/src/models/ListConfigsResponseBody.ts +157 -0
  102. package/src/models/Service.ts +3 -0
  103. package/src/models/UpdateConfigRequest.ts +34 -0
  104. package/src/models/UpdateConfigResponse.ts +40 -0
  105. package/src/models/UpdateConfigResponseBody.ts +64 -0
  106. package/src/models/UpdateServiceRolloutRequest.ts +104 -0
  107. package/src/models/UpdateServiceRolloutResponse.ts +40 -0
  108. package/src/models/UpdateServiceRolloutResponseBody.ts +38 -0
  109. package/src/models/model.ts +34 -0
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateConfigRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * 配置值
6
+ *
7
+ * @example
8
+ * {"model": "gpt-4"}
9
+ */
10
+ value?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
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.CreateConfigRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateConfigRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ value: 'Value',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ value: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.CreateConfigRequest = CreateConfigRequest;
58
+ //# sourceMappingURL=CreateConfigRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConfigRequest.js","sourceRoot":"","sources":["../../src/models/CreateConfigRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IASlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;SAChB,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;AA5BD,kDA4BC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateConfigResponseBody } from "./CreateConfigResponseBody";
3
+ export declare class CreateConfigResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateConfigResponseBody;
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.CreateConfigResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateConfigResponseBody_1 = require("./CreateConfigResponseBody");
40
+ class CreateConfigResponse 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: CreateConfigResponseBody_1.CreateConfigResponseBody,
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.CreateConfigResponse = CreateConfigResponse;
69
+ //# sourceMappingURL=CreateConfigResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConfigResponse.js","sourceRoot":"","sources":["../../src/models/CreateConfigResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yEAAsE;AAGtE,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAInD,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,mDAAwB;SAC/B,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,oDAiCC"}
@@ -0,0 +1,33 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateConfigResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 2024-01-01T00:00:00Z
6
+ */
7
+ createdAt?: string;
8
+ /**
9
+ * @example
10
+ * model-config
11
+ */
12
+ key?: string;
13
+ /**
14
+ * @example
15
+ * 2024-01-01T00:00:00Z
16
+ */
17
+ updatedAt?: string;
18
+ /**
19
+ * @example
20
+ * {"model": "gpt-4"}
21
+ */
22
+ value?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
@@ -0,0 +1,64 @@
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.CreateConfigResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateConfigResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ createdAt: 'CreatedAt',
43
+ key: 'Key',
44
+ updatedAt: 'UpdatedAt',
45
+ value: 'Value',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ createdAt: 'string',
51
+ key: 'string',
52
+ updatedAt: 'string',
53
+ value: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.CreateConfigResponseBody = CreateConfigResponseBody;
64
+ //# sourceMappingURL=CreateConfigResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConfigResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateConfigResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAqBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,GAAG,EAAE,KAAK;YACV,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,GAAG,EAAE,QAAQ;YACb,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;SAChB,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;AA9CD,4DA8CC"}
@@ -0,0 +1,59 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateServiceRolloutRequestBatch extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 1
6
+ */
7
+ batchSize?: string;
8
+ /**
9
+ * @example
10
+ * 5m
11
+ */
12
+ interval?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
24
+ export declare class CreateServiceRolloutRequestPartition extends $dara.Model {
25
+ /**
26
+ * @example
27
+ * 1
28
+ */
29
+ partition?: string;
30
+ static names(): {
31
+ [key: string]: string;
32
+ };
33
+ static types(): {
34
+ [key: string]: any;
35
+ };
36
+ validate(): void;
37
+ constructor(map?: {
38
+ [key: string]: any;
39
+ });
40
+ }
41
+ export declare class CreateServiceRolloutRequest extends $dara.Model {
42
+ batch?: CreateServiceRolloutRequestBatch;
43
+ partition?: CreateServiceRolloutRequestPartition;
44
+ /**
45
+ * @example
46
+ * False
47
+ */
48
+ paused?: boolean;
49
+ static names(): {
50
+ [key: string]: string;
51
+ };
52
+ static types(): {
53
+ [key: string]: any;
54
+ };
55
+ validate(): void;
56
+ constructor(map?: {
57
+ [key: string]: any;
58
+ });
59
+ }
@@ -0,0 +1,108 @@
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.CreateServiceRolloutRequest = exports.CreateServiceRolloutRequestPartition = exports.CreateServiceRolloutRequestBatch = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateServiceRolloutRequestBatch extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ batchSize: 'BatchSize',
43
+ interval: 'Interval',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ batchSize: 'string',
49
+ interval: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateServiceRolloutRequestBatch = CreateServiceRolloutRequestBatch;
60
+ class CreateServiceRolloutRequestPartition extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ partition: 'Partition',
64
+ };
65
+ }
66
+ static types() {
67
+ return {
68
+ partition: 'string',
69
+ };
70
+ }
71
+ validate() {
72
+ super.validate();
73
+ }
74
+ constructor(map) {
75
+ super(map);
76
+ }
77
+ }
78
+ exports.CreateServiceRolloutRequestPartition = CreateServiceRolloutRequestPartition;
79
+ class CreateServiceRolloutRequest extends $dara.Model {
80
+ static names() {
81
+ return {
82
+ batch: 'Batch',
83
+ partition: 'Partition',
84
+ paused: 'Paused',
85
+ };
86
+ }
87
+ static types() {
88
+ return {
89
+ batch: CreateServiceRolloutRequestBatch,
90
+ partition: CreateServiceRolloutRequestPartition,
91
+ paused: 'boolean',
92
+ };
93
+ }
94
+ validate() {
95
+ if (this.batch && typeof this.batch.validate === 'function') {
96
+ this.batch.validate();
97
+ }
98
+ if (this.partition && typeof this.partition.validate === 'function') {
99
+ this.partition.validate();
100
+ }
101
+ super.validate();
102
+ }
103
+ constructor(map) {
104
+ super(map);
105
+ }
106
+ }
107
+ exports.CreateServiceRolloutRequest = CreateServiceRolloutRequest;
108
+ //# sourceMappingURL=CreateServiceRolloutRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateServiceRolloutRequest.js","sourceRoot":"","sources":["../../src/models/CreateServiceRolloutRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAW/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,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;AAhCD,4EAgCC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAMnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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;AAzBD,oFAyBC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAQ1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,gCAAgC;YACvC,SAAS,EAAE,oCAAoC;YAC/C,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,KAAK,IAAI,OAAQ,IAAI,CAAC,KAAa,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnE,IAAI,CAAC,KAAa,CAAC,QAAQ,EAAE,CAAC;QACjC,CAAC;QACD,IAAG,IAAI,CAAC,SAAS,IAAI,OAAQ,IAAI,CAAC,SAAiB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArCD,kEAqCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateServiceRolloutResponseBody } from "./CreateServiceRolloutResponseBody";
3
+ export declare class CreateServiceRolloutResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateServiceRolloutResponseBody;
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.CreateServiceRolloutResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateServiceRolloutResponseBody_1 = require("./CreateServiceRolloutResponseBody");
40
+ class CreateServiceRolloutResponse 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: CreateServiceRolloutResponseBody_1.CreateServiceRolloutResponseBody,
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.CreateServiceRolloutResponse = CreateServiceRolloutResponse;
69
+ //# sourceMappingURL=CreateServiceRolloutResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateServiceRolloutResponse.js","sourceRoot":"","sources":["../../src/models/CreateServiceRolloutResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yFAAsF;AAGtF,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAI3D,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,mEAAgC;SACvC,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,oEAiCC"}
@@ -0,0 +1,23 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateServiceRolloutResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * Rollout created successfully
6
+ */
7
+ message?: string;
8
+ /**
9
+ * @example
10
+ * 40325405-579C-4D82****
11
+ */
12
+ requestId?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
@@ -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.CreateServiceRolloutResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateServiceRolloutResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ message: 'Message',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ message: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateServiceRolloutResponseBody = CreateServiceRolloutResponseBody;
60
+ //# sourceMappingURL=CreateServiceRolloutResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateServiceRolloutResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateServiceRolloutResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAW/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,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;AAhCD,4EAgCC"}
@@ -0,0 +1,13 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteConfigRequest extends $dara.Model {
3
+ static names(): {
4
+ [key: string]: string;
5
+ };
6
+ static types(): {
7
+ [key: string]: any;
8
+ };
9
+ validate(): void;
10
+ constructor(map?: {
11
+ [key: string]: any;
12
+ });
13
+ }