@alicloud/gpdb20160503 3.11.1 → 3.12.1

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 (106) hide show
  1. package/dist/client.d.ts +128 -2
  2. package/dist/client.js +329 -13
  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/DescribeBranchRequest.d.ts +1 -1
  14. package/dist/models/DescribeBranchResponseBody.d.ts +7 -6
  15. package/dist/models/DescribeBranchResponseBody.js +2 -0
  16. package/dist/models/DescribeBranchResponseBody.js.map +1 -1
  17. package/dist/models/GetApiEndpointsRequest.d.ts +37 -0
  18. package/dist/models/GetApiEndpointsRequest.js +62 -0
  19. package/dist/models/GetApiEndpointsRequest.js.map +1 -0
  20. package/dist/models/GetApiEndpointsResponse.d.ts +19 -0
  21. package/dist/models/GetApiEndpointsResponse.js +69 -0
  22. package/dist/models/GetApiEndpointsResponse.js.map +1 -0
  23. package/dist/models/GetApiEndpointsResponseBody.d.ts +89 -0
  24. package/dist/models/GetApiEndpointsResponseBody.js +92 -0
  25. package/dist/models/GetApiEndpointsResponseBody.js.map +1 -0
  26. package/dist/models/GrantApiKeyRequest.d.ts +48 -0
  27. package/dist/models/GrantApiKeyRequest.js +67 -0
  28. package/dist/models/GrantApiKeyRequest.js.map +1 -0
  29. package/dist/models/GrantApiKeyResponse.d.ts +19 -0
  30. package/dist/models/GrantApiKeyResponse.js +69 -0
  31. package/dist/models/GrantApiKeyResponse.js.map +1 -0
  32. package/dist/models/GrantApiKeyResponseBody.d.ts +21 -0
  33. package/dist/models/GrantApiKeyResponseBody.js +58 -0
  34. package/dist/models/GrantApiKeyResponseBody.js.map +1 -0
  35. package/dist/models/GrantApiKeyShrinkRequest.d.ts +48 -0
  36. package/dist/models/GrantApiKeyShrinkRequest.js +64 -0
  37. package/dist/models/GrantApiKeyShrinkRequest.js.map +1 -0
  38. package/dist/models/ListBranchesRequest.d.ts +5 -5
  39. package/dist/models/ListBranchesResponseBody.d.ts +4 -3
  40. package/dist/models/ListBranchesResponseBody.js +2 -0
  41. package/dist/models/ListBranchesResponseBody.js.map +1 -1
  42. package/dist/models/ListSaasServiceRequest.d.ts +1 -1
  43. package/dist/models/ListSaasServiceResponseBody.d.ts +59 -0
  44. package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
  45. package/dist/models/ModifySaasServiceDeletionProtectionRequest.d.ts +39 -0
  46. package/dist/models/ModifySaasServiceDeletionProtectionRequest.js +62 -0
  47. package/dist/models/ModifySaasServiceDeletionProtectionRequest.js.map +1 -0
  48. package/dist/models/ModifySaasServiceDeletionProtectionResponse.d.ts +19 -0
  49. package/dist/models/ModifySaasServiceDeletionProtectionResponse.js +69 -0
  50. package/dist/models/ModifySaasServiceDeletionProtectionResponse.js.map +1 -0
  51. package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.d.ts +37 -0
  52. package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js +62 -0
  53. package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js.map +1 -0
  54. package/dist/models/RevokeApiKeyRequest.d.ts +48 -0
  55. package/dist/models/RevokeApiKeyRequest.js +67 -0
  56. package/dist/models/RevokeApiKeyRequest.js.map +1 -0
  57. package/dist/models/RevokeApiKeyResponse.d.ts +19 -0
  58. package/dist/models/RevokeApiKeyResponse.js +69 -0
  59. package/dist/models/RevokeApiKeyResponse.js.map +1 -0
  60. package/dist/models/RevokeApiKeyResponseBody.d.ts +21 -0
  61. package/dist/models/RevokeApiKeyResponseBody.js +58 -0
  62. package/dist/models/RevokeApiKeyResponseBody.js.map +1 -0
  63. package/dist/models/RevokeApiKeyShrinkRequest.d.ts +48 -0
  64. package/dist/models/RevokeApiKeyShrinkRequest.js +64 -0
  65. package/dist/models/RevokeApiKeyShrinkRequest.js.map +1 -0
  66. package/dist/models/UpdateSaasServiceVersionRequest.d.ts +31 -0
  67. package/dist/models/UpdateSaasServiceVersionRequest.js +60 -0
  68. package/dist/models/UpdateSaasServiceVersionRequest.js.map +1 -0
  69. package/dist/models/UpdateSaasServiceVersionResponse.d.ts +19 -0
  70. package/dist/models/UpdateSaasServiceVersionResponse.js +69 -0
  71. package/dist/models/UpdateSaasServiceVersionResponse.js.map +1 -0
  72. package/dist/models/UpdateSaasServiceVersionResponseBody.d.ts +37 -0
  73. package/dist/models/UpdateSaasServiceVersionResponseBody.js +62 -0
  74. package/dist/models/UpdateSaasServiceVersionResponseBody.js.map +1 -0
  75. package/dist/models/model.d.ts +21 -0
  76. package/dist/models/model.js +63 -21
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +1 -1
  79. package/src/client.ts +361 -13
  80. package/src/models/CheckSaasServiceVersionRequest.ts +46 -0
  81. package/src/models/CheckSaasServiceVersionResponse.ts +40 -0
  82. package/src/models/CheckSaasServiceVersionResponseBody.ts +64 -0
  83. package/src/models/DescribeBranchRequest.ts +1 -1
  84. package/src/models/DescribeBranchResponseBody.ts +9 -6
  85. package/src/models/GetApiEndpointsRequest.ts +54 -0
  86. package/src/models/GetApiEndpointsResponse.ts +40 -0
  87. package/src/models/GetApiEndpointsResponseBody.ts +127 -0
  88. package/src/models/GrantApiKeyRequest.ts +70 -0
  89. package/src/models/GrantApiKeyResponse.ts +40 -0
  90. package/src/models/GrantApiKeyResponseBody.ts +34 -0
  91. package/src/models/GrantApiKeyShrinkRequest.ts +67 -0
  92. package/src/models/ListBranchesRequest.ts +5 -5
  93. package/src/models/ListBranchesResponseBody.ts +6 -3
  94. package/src/models/ListSaasServiceRequest.ts +1 -1
  95. package/src/models/ListSaasServiceResponseBody.ts +59 -0
  96. package/src/models/ModifySaasServiceDeletionProtectionRequest.ts +56 -0
  97. package/src/models/ModifySaasServiceDeletionProtectionResponse.ts +40 -0
  98. package/src/models/ModifySaasServiceDeletionProtectionResponseBody.ts +54 -0
  99. package/src/models/RevokeApiKeyRequest.ts +70 -0
  100. package/src/models/RevokeApiKeyResponse.ts +40 -0
  101. package/src/models/RevokeApiKeyResponseBody.ts +34 -0
  102. package/src/models/RevokeApiKeyShrinkRequest.ts +67 -0
  103. package/src/models/UpdateSaasServiceVersionRequest.ts +46 -0
  104. package/src/models/UpdateSaasServiceVersionResponse.ts +40 -0
  105. package/src/models/UpdateSaasServiceVersionResponseBody.ts +54 -0
  106. package/src/models/model.ts +21 -0
@@ -0,0 +1,89 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetApiEndpointsResponseBodyItems extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The endpoint.
6
+ *
7
+ * @example
8
+ * https://api-longmemory-cn-beijing.opentrust.net/
9
+ */
10
+ endpoint?: string;
11
+ /**
12
+ * @remarks
13
+ * The region ID.
14
+ *
15
+ * @example
16
+ * cn-hangzhou
17
+ */
18
+ regionId?: string;
19
+ /**
20
+ * @remarks
21
+ * The service type. Valid values:
22
+ *
23
+ * - **memory**
24
+ * - **drama**
25
+ *
26
+ * @example
27
+ * memory
28
+ */
29
+ serviceType?: 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 GetApiEndpointsResponseBody extends $dara.Model {
42
+ /**
43
+ * @remarks
44
+ * The list of parameters.
45
+ */
46
+ items?: GetApiEndpointsResponseBodyItems[];
47
+ /**
48
+ * @remarks
49
+ * The maximum number of records to return in this query.
50
+ *
51
+ * @example
52
+ * 20
53
+ */
54
+ maxResults?: number;
55
+ /**
56
+ * @remarks
57
+ * The token for the next query during paging. Use this token to start the next query.
58
+ *
59
+ * @example
60
+ * caeba0bbb2be03f84eb48b699f0a4883
61
+ */
62
+ nextToken?: string;
63
+ /**
64
+ * @remarks
65
+ * Id of the request
66
+ *
67
+ * @example
68
+ * ABB39CC3-4488-4857-905D-2E4A051D0521
69
+ */
70
+ requestId?: string;
71
+ /**
72
+ * @remarks
73
+ * The total number of records.
74
+ *
75
+ * @example
76
+ * 2
77
+ */
78
+ totalRecordCount?: number;
79
+ static names(): {
80
+ [key: string]: string;
81
+ };
82
+ static types(): {
83
+ [key: string]: any;
84
+ };
85
+ validate(): void;
86
+ constructor(map?: {
87
+ [key: string]: any;
88
+ });
89
+ }
@@ -0,0 +1,92 @@
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.GetApiEndpointsResponseBody = exports.GetApiEndpointsResponseBodyItems = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetApiEndpointsResponseBodyItems extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ endpoint: 'Endpoint',
43
+ regionId: 'RegionId',
44
+ serviceType: 'ServiceType',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ endpoint: 'string',
50
+ regionId: 'string',
51
+ serviceType: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.GetApiEndpointsResponseBodyItems = GetApiEndpointsResponseBodyItems;
62
+ class GetApiEndpointsResponseBody extends $dara.Model {
63
+ static names() {
64
+ return {
65
+ items: 'Items',
66
+ maxResults: 'MaxResults',
67
+ nextToken: 'NextToken',
68
+ requestId: 'RequestId',
69
+ totalRecordCount: 'TotalRecordCount',
70
+ };
71
+ }
72
+ static types() {
73
+ return {
74
+ items: { 'type': 'array', 'itemType': GetApiEndpointsResponseBodyItems },
75
+ maxResults: 'number',
76
+ nextToken: 'string',
77
+ requestId: 'string',
78
+ totalRecordCount: 'number',
79
+ };
80
+ }
81
+ validate() {
82
+ if (Array.isArray(this.items)) {
83
+ $dara.Model.validateArray(this.items);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.GetApiEndpointsResponseBody = GetApiEndpointsResponseBody;
92
+ //# sourceMappingURL=GetApiEndpointsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetApiEndpointsResponseBody.js","sourceRoot":"","sources":["../../src/models/GetApiEndpointsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA4B/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,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;AAnDD,4EAmDC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAsC1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,gCAAgC,EAAE;YACxE,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,kEAoEC"}
@@ -0,0 +1,48 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GrantApiKeyRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The ID of the API key.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * api-xxxxxxx
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 authorize.
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.GrantApiKeyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GrantApiKeyRequest 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.GrantApiKeyRequest = GrantApiKeyRequest;
67
+ //# sourceMappingURL=GrantApiKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantApiKeyRequest.js","sourceRoot":"","sources":["../../src/models/GrantApiKeyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;IAoCjD,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,gDAgEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GrantApiKeyResponseBody } from "./GrantApiKeyResponseBody";
3
+ export declare class GrantApiKeyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GrantApiKeyResponseBody;
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.GrantApiKeyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GrantApiKeyResponseBody_1 = require("./GrantApiKeyResponseBody");
40
+ class GrantApiKeyResponse 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: GrantApiKeyResponseBody_1.GrantApiKeyResponseBody,
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.GrantApiKeyResponse = GrantApiKeyResponse;
69
+ //# sourceMappingURL=GrantApiKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantApiKeyResponse.js","sourceRoot":"","sources":["../../src/models/GrantApiKeyResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uEAAoE;AAGpE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAIlD,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,iDAAuB;SAC9B,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,kDAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GrantApiKeyResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID.
6
+ *
7
+ * @example
8
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
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.GrantApiKeyResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GrantApiKeyResponseBody 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.GrantApiKeyResponseBody = GrantApiKeyResponseBody;
58
+ //# sourceMappingURL=GrantApiKeyResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantApiKeyResponseBody.js","sourceRoot":"","sources":["../../src/models/GrantApiKeyResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAStD,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,0DA4BC"}
@@ -0,0 +1,48 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GrantApiKeyShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The ID of the API key.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * api-xxxxxxx
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 authorize.
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.GrantApiKeyShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GrantApiKeyShrinkRequest 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.GrantApiKeyShrinkRequest = GrantApiKeyShrinkRequest;
64
+ //# sourceMappingURL=GrantApiKeyShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantApiKeyShrinkRequest.js","sourceRoot":"","sources":["../../src/models/GrantApiKeyShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAoCvD,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,4DA6DC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ListBranchesRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The maximum number of records to return in this request.
5
+ * The maximum number of records to return in this query.
6
6
  *
7
7
  * @example
8
8
  * 20
@@ -10,7 +10,7 @@ export declare class ListBranchesRequest extends $dara.Model {
10
10
  maxResults?: number;
11
11
  /**
12
12
  * @remarks
13
- * The cursor for the paged query. You do not need to specify this parameter for the first request. For subsequent requests, use the NextToken value returned in the previous response for paging.
13
+ * The cursor for paging query. You do not need to specify this parameter for the first query. For subsequent queries, use the NextToken value returned in the previous response.
14
14
  *
15
15
  * @example
16
16
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -42,7 +42,7 @@ export declare class ListBranchesRequest extends $dara.Model {
42
42
  pageSize?: number;
43
43
  /**
44
44
  * @remarks
45
- * The parent branch ID. This parameter specifies the parent branch for a new branch or a query filter.
45
+ * The parent branch ID. This parameter specifies the parent branch for a new branch or as a query filter condition.
46
46
  *
47
47
  * @example
48
48
  * br-main
@@ -66,7 +66,7 @@ export declare class ListBranchesRequest extends $dara.Model {
66
66
  search?: string;
67
67
  /**
68
68
  * @remarks
69
- * The field by which to sort the results.
69
+ * The sort field.
70
70
  *
71
71
  * Valid values:
72
72
  * - BranchName: sorts by branch name.
@@ -81,7 +81,7 @@ export declare class ListBranchesRequest extends $dara.Model {
81
81
  sortBy?: string;
82
82
  /**
83
83
  * @remarks
84
- * The sort order.
84
+ * The sort direction.
85
85
  *
86
86
  * Valid values:
87
87
  * - Asc: ascending order.
@@ -41,6 +41,7 @@ export declare class ListBranchesResponseBodyBranchesBranch extends $dara.Model
41
41
  projectId?: string;
42
42
  protected?: boolean;
43
43
  serviceType?: string;
44
+ spbProjectId?: string;
44
45
  status?: string;
45
46
  tags?: ListBranchesResponseBodyBranchesBranchTags;
46
47
  static names(): {
@@ -71,7 +72,7 @@ export declare class ListBranchesResponseBody extends $dara.Model {
71
72
  branches?: ListBranchesResponseBodyBranches;
72
73
  /**
73
74
  * @remarks
74
- * The maximum number of records to return in this request.
75
+ * The maximum number of records to return in this query.
75
76
  *
76
77
  * @example
77
78
  * 20
@@ -79,7 +80,7 @@ export declare class ListBranchesResponseBody extends $dara.Model {
79
80
  maxResults?: number;
80
81
  /**
81
82
  * @remarks
82
- * The cursor for the paged query. You do not need to specify this parameter for the first request. For subsequent requests, use the NextToken value returned in the previous response for paging.
83
+ * The cursor for paging query. You do not need to specify this parameter for the first query. For subsequent queries, use the NextToken value returned in the previous response.
83
84
  *
84
85
  * @example
85
86
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -119,7 +120,7 @@ export declare class ListBranchesResponseBody extends $dara.Model {
119
120
  requestId?: string;
120
121
  /**
121
122
  * @remarks
122
- * The total number of branches that match the query criteria.
123
+ * The total number of branches that match the query conditions.
123
124
  *
124
125
  * @example
125
126
  * 20