@alicloud/gpdb20160503 3.11.1 → 3.12.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 (94) hide show
  1. package/dist/client.d.ts +126 -0
  2. package/dist/client.js +316 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckSaasServiceVersionRequest.d.ts +31 -0
  5. package/dist/models/CheckSaasServiceVersionRequest.js +60 -0
  6. package/dist/models/CheckSaasServiceVersionRequest.js.map +1 -0
  7. package/dist/models/CheckSaasServiceVersionResponse.d.ts +19 -0
  8. package/dist/models/CheckSaasServiceVersionResponse.js +69 -0
  9. package/dist/models/CheckSaasServiceVersionResponse.js.map +1 -0
  10. package/dist/models/CheckSaasServiceVersionResponseBody.d.ts +45 -0
  11. package/dist/models/CheckSaasServiceVersionResponseBody.js +64 -0
  12. package/dist/models/CheckSaasServiceVersionResponseBody.js.map +1 -0
  13. package/dist/models/GetApiEndpointsRequest.d.ts +37 -0
  14. package/dist/models/GetApiEndpointsRequest.js +62 -0
  15. package/dist/models/GetApiEndpointsRequest.js.map +1 -0
  16. package/dist/models/GetApiEndpointsResponse.d.ts +19 -0
  17. package/dist/models/GetApiEndpointsResponse.js +69 -0
  18. package/dist/models/GetApiEndpointsResponse.js.map +1 -0
  19. package/dist/models/GetApiEndpointsResponseBody.d.ts +89 -0
  20. package/dist/models/GetApiEndpointsResponseBody.js +92 -0
  21. package/dist/models/GetApiEndpointsResponseBody.js.map +1 -0
  22. package/dist/models/GrantApiKeyRequest.d.ts +48 -0
  23. package/dist/models/GrantApiKeyRequest.js +67 -0
  24. package/dist/models/GrantApiKeyRequest.js.map +1 -0
  25. package/dist/models/GrantApiKeyResponse.d.ts +19 -0
  26. package/dist/models/GrantApiKeyResponse.js +69 -0
  27. package/dist/models/GrantApiKeyResponse.js.map +1 -0
  28. package/dist/models/GrantApiKeyResponseBody.d.ts +21 -0
  29. package/dist/models/GrantApiKeyResponseBody.js +58 -0
  30. package/dist/models/GrantApiKeyResponseBody.js.map +1 -0
  31. package/dist/models/GrantApiKeyShrinkRequest.d.ts +48 -0
  32. package/dist/models/GrantApiKeyShrinkRequest.js +64 -0
  33. package/dist/models/GrantApiKeyShrinkRequest.js.map +1 -0
  34. package/dist/models/ListSaasServiceRequest.d.ts +1 -1
  35. package/dist/models/ListSaasServiceResponseBody.d.ts +59 -0
  36. package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
  37. package/dist/models/ModifySaasServiceDeletionProtectionRequest.d.ts +39 -0
  38. package/dist/models/ModifySaasServiceDeletionProtectionRequest.js +62 -0
  39. package/dist/models/ModifySaasServiceDeletionProtectionRequest.js.map +1 -0
  40. package/dist/models/ModifySaasServiceDeletionProtectionResponse.d.ts +19 -0
  41. package/dist/models/ModifySaasServiceDeletionProtectionResponse.js +69 -0
  42. package/dist/models/ModifySaasServiceDeletionProtectionResponse.js.map +1 -0
  43. package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.d.ts +37 -0
  44. package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js +62 -0
  45. package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js.map +1 -0
  46. package/dist/models/RevokeApiKeyRequest.d.ts +48 -0
  47. package/dist/models/RevokeApiKeyRequest.js +67 -0
  48. package/dist/models/RevokeApiKeyRequest.js.map +1 -0
  49. package/dist/models/RevokeApiKeyResponse.d.ts +19 -0
  50. package/dist/models/RevokeApiKeyResponse.js +69 -0
  51. package/dist/models/RevokeApiKeyResponse.js.map +1 -0
  52. package/dist/models/RevokeApiKeyResponseBody.d.ts +21 -0
  53. package/dist/models/RevokeApiKeyResponseBody.js +58 -0
  54. package/dist/models/RevokeApiKeyResponseBody.js.map +1 -0
  55. package/dist/models/RevokeApiKeyShrinkRequest.d.ts +48 -0
  56. package/dist/models/RevokeApiKeyShrinkRequest.js +64 -0
  57. package/dist/models/RevokeApiKeyShrinkRequest.js.map +1 -0
  58. package/dist/models/UpdateSaasServiceVersionRequest.d.ts +31 -0
  59. package/dist/models/UpdateSaasServiceVersionRequest.js +60 -0
  60. package/dist/models/UpdateSaasServiceVersionRequest.js.map +1 -0
  61. package/dist/models/UpdateSaasServiceVersionResponse.d.ts +19 -0
  62. package/dist/models/UpdateSaasServiceVersionResponse.js +69 -0
  63. package/dist/models/UpdateSaasServiceVersionResponse.js.map +1 -0
  64. package/dist/models/UpdateSaasServiceVersionResponseBody.d.ts +37 -0
  65. package/dist/models/UpdateSaasServiceVersionResponseBody.js +62 -0
  66. package/dist/models/UpdateSaasServiceVersionResponseBody.js.map +1 -0
  67. package/dist/models/model.d.ts +21 -0
  68. package/dist/models/model.js +63 -21
  69. package/dist/models/model.js.map +1 -1
  70. package/package.json +1 -1
  71. package/src/client.ts +348 -0
  72. package/src/models/CheckSaasServiceVersionRequest.ts +46 -0
  73. package/src/models/CheckSaasServiceVersionResponse.ts +40 -0
  74. package/src/models/CheckSaasServiceVersionResponseBody.ts +64 -0
  75. package/src/models/GetApiEndpointsRequest.ts +54 -0
  76. package/src/models/GetApiEndpointsResponse.ts +40 -0
  77. package/src/models/GetApiEndpointsResponseBody.ts +127 -0
  78. package/src/models/GrantApiKeyRequest.ts +70 -0
  79. package/src/models/GrantApiKeyResponse.ts +40 -0
  80. package/src/models/GrantApiKeyResponseBody.ts +34 -0
  81. package/src/models/GrantApiKeyShrinkRequest.ts +67 -0
  82. package/src/models/ListSaasServiceRequest.ts +1 -1
  83. package/src/models/ListSaasServiceResponseBody.ts +59 -0
  84. package/src/models/ModifySaasServiceDeletionProtectionRequest.ts +56 -0
  85. package/src/models/ModifySaasServiceDeletionProtectionResponse.ts +40 -0
  86. package/src/models/ModifySaasServiceDeletionProtectionResponseBody.ts +54 -0
  87. package/src/models/RevokeApiKeyRequest.ts +70 -0
  88. package/src/models/RevokeApiKeyResponse.ts +40 -0
  89. package/src/models/RevokeApiKeyResponseBody.ts +34 -0
  90. package/src/models/RevokeApiKeyShrinkRequest.ts +67 -0
  91. package/src/models/UpdateSaasServiceVersionRequest.ts +46 -0
  92. package/src/models/UpdateSaasServiceVersionResponse.ts +40 -0
  93. package/src/models/UpdateSaasServiceVersionResponseBody.ts +54 -0
  94. package/src/models/model.ts +21 -0
@@ -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.ModifySaasServiceDeletionProtectionResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ModifySaasServiceDeletionProtectionResponseBody_1 = require("./ModifySaasServiceDeletionProtectionResponseBody");
40
+ class ModifySaasServiceDeletionProtectionResponse 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: ModifySaasServiceDeletionProtectionResponseBody_1.ModifySaasServiceDeletionProtectionResponseBody,
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.ModifySaasServiceDeletionProtectionResponse = ModifySaasServiceDeletionProtectionResponse;
69
+ //# sourceMappingURL=ModifySaasServiceDeletionProtectionResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifySaasServiceDeletionProtectionResponse.js","sourceRoot":"","sources":["../../src/models/ModifySaasServiceDeletionProtectionResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uHAAoH;AAGpH,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAI1E,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,iGAA+C;SACtD,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,kGAiCC"}
@@ -0,0 +1,37 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ModifySaasServiceDeletionProtectionResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The response message.
6
+ *
7
+ * @example
8
+ * success
9
+ */
10
+ message?: string;
11
+ /**
12
+ * @remarks
13
+ * The request ID.
14
+ *
15
+ * @example
16
+ * 7565770E-7C45-462D-BA4A-8A5396F2CAD1
17
+ */
18
+ requestId?: string;
19
+ /**
20
+ * @remarks
21
+ * The service ID.
22
+ *
23
+ * @example
24
+ * agdb-xxxxxx
25
+ */
26
+ serviceId?: 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.ModifySaasServiceDeletionProtectionResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ModifySaasServiceDeletionProtectionResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ message: 'Message',
43
+ requestId: 'RequestId',
44
+ serviceId: 'ServiceId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ message: 'string',
50
+ requestId: 'string',
51
+ serviceId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.ModifySaasServiceDeletionProtectionResponseBody = ModifySaasServiceDeletionProtectionResponseBody;
62
+ //# sourceMappingURL=ModifySaasServiceDeletionProtectionResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifySaasServiceDeletionProtectionResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifySaasServiceDeletionProtectionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAyB9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,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,0GAgDC"}
@@ -0,0 +1,48 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RevokeApiKeyRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * API KEY ID。
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * api-xxxxxx
11
+ */
12
+ keyId?: string;
13
+ /**
14
+ * @remarks
15
+ * The region ID.
16
+ *
17
+ * @example
18
+ * cn-beijing
19
+ */
20
+ regionId?: string;
21
+ /**
22
+ * @remarks
23
+ * The list of service IDs to be authorized.
24
+ *
25
+ * This parameter is required.
26
+ */
27
+ serviceIds?: string[];
28
+ /**
29
+ * @remarks
30
+ * The workspace ID.
31
+ *
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * ws-*****
36
+ */
37
+ workspaceId?: string;
38
+ static names(): {
39
+ [key: string]: string;
40
+ };
41
+ static types(): {
42
+ [key: string]: any;
43
+ };
44
+ validate(): void;
45
+ constructor(map?: {
46
+ [key: string]: any;
47
+ });
48
+ }
@@ -0,0 +1,67 @@
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.RevokeApiKeyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class RevokeApiKeyRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ keyId: 'KeyId',
43
+ regionId: 'RegionId',
44
+ serviceIds: 'ServiceIds',
45
+ workspaceId: 'WorkspaceId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ keyId: 'string',
51
+ regionId: 'string',
52
+ serviceIds: { 'type': 'array', 'itemType': 'string' },
53
+ workspaceId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ if (Array.isArray(this.serviceIds)) {
58
+ $dara.Model.validateArray(this.serviceIds);
59
+ }
60
+ super.validate();
61
+ }
62
+ constructor(map) {
63
+ super(map);
64
+ }
65
+ }
66
+ exports.RevokeApiKeyRequest = RevokeApiKeyRequest;
67
+ //# sourceMappingURL=RevokeApiKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevokeApiKeyRequest.js","sourceRoot":"","sources":["../../src/models/RevokeApiKeyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAoClD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,kDAgEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { RevokeApiKeyResponseBody } from "./RevokeApiKeyResponseBody";
3
+ export declare class RevokeApiKeyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: RevokeApiKeyResponseBody;
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.RevokeApiKeyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const RevokeApiKeyResponseBody_1 = require("./RevokeApiKeyResponseBody");
40
+ class RevokeApiKeyResponse 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: RevokeApiKeyResponseBody_1.RevokeApiKeyResponseBody,
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.RevokeApiKeyResponse = RevokeApiKeyResponse;
69
+ //# sourceMappingURL=RevokeApiKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevokeApiKeyResponse.js","sourceRoot":"","sources":["../../src/models/RevokeApiKeyResponse.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,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RevokeApiKeyResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID.
6
+ *
7
+ * @example
8
+ * ABB39CC3-4488-4857-905D-2E4A051D0521
9
+ */
10
+ requestId?: 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.RevokeApiKeyResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class RevokeApiKeyResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.RevokeApiKeyResponseBody = RevokeApiKeyResponseBody;
58
+ //# sourceMappingURL=RevokeApiKeyResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevokeApiKeyResponseBody.js","sourceRoot":"","sources":["../../src/models/RevokeApiKeyResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IASvD,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;AA5BD,4DA4BC"}
@@ -0,0 +1,48 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RevokeApiKeyShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * API KEY ID。
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * api-xxxxxx
11
+ */
12
+ keyId?: string;
13
+ /**
14
+ * @remarks
15
+ * The region ID.
16
+ *
17
+ * @example
18
+ * cn-beijing
19
+ */
20
+ regionId?: string;
21
+ /**
22
+ * @remarks
23
+ * The list of service IDs to be authorized.
24
+ *
25
+ * This parameter is required.
26
+ */
27
+ serviceIdsShrink?: string;
28
+ /**
29
+ * @remarks
30
+ * The workspace ID.
31
+ *
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * ws-*****
36
+ */
37
+ workspaceId?: string;
38
+ static names(): {
39
+ [key: string]: string;
40
+ };
41
+ static types(): {
42
+ [key: string]: any;
43
+ };
44
+ validate(): void;
45
+ constructor(map?: {
46
+ [key: string]: any;
47
+ });
48
+ }
@@ -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.RevokeApiKeyShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class RevokeApiKeyShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ keyId: 'KeyId',
43
+ regionId: 'RegionId',
44
+ serviceIdsShrink: 'ServiceIds',
45
+ workspaceId: 'WorkspaceId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ keyId: 'string',
51
+ regionId: 'string',
52
+ serviceIdsShrink: 'string',
53
+ workspaceId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.RevokeApiKeyShrinkRequest = RevokeApiKeyShrinkRequest;
64
+ //# sourceMappingURL=RevokeApiKeyShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevokeApiKeyShrinkRequest.js","sourceRoot":"","sources":["../../src/models/RevokeApiKeyShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAoCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,gBAAgB,EAAE,YAAY;YAC9B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,QAAQ;YAC1B,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;AA7DD,8DA6DC"}
@@ -0,0 +1,31 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateSaasServiceVersionRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The region ID.
6
+ *
7
+ * @example
8
+ * cn-hangzhou
9
+ */
10
+ regionId?: string;
11
+ /**
12
+ * @remarks
13
+ * The service ID.
14
+ *
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * agdb-xxxxxx
19
+ */
20
+ serviceId?: string;
21
+ static names(): {
22
+ [key: string]: string;
23
+ };
24
+ static types(): {
25
+ [key: string]: any;
26
+ };
27
+ validate(): void;
28
+ constructor(map?: {
29
+ [key: string]: any;
30
+ });
31
+ }