@alicloud/gpdb20160503 3.9.0 → 3.11.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 (318) hide show
  1. package/dist/client.d.ts +318 -130
  2. package/dist/client.js +631 -130
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAiserviceRequest.d.ts +16 -25
  5. package/dist/models/CreateAiserviceRequest.js.map +1 -1
  6. package/dist/models/CreateApiKeyRequest.d.ts +40 -0
  7. package/dist/models/CreateApiKeyRequest.js +69 -0
  8. package/dist/models/CreateApiKeyRequest.js.map +1 -0
  9. package/dist/models/CreateApiKeyResponse.d.ts +19 -0
  10. package/dist/models/CreateApiKeyResponse.js +69 -0
  11. package/dist/models/CreateApiKeyResponse.js.map +1 -0
  12. package/dist/models/CreateApiKeyResponseBody.d.ts +28 -0
  13. package/dist/models/CreateApiKeyResponseBody.js +62 -0
  14. package/dist/models/CreateApiKeyResponseBody.js.map +1 -0
  15. package/dist/models/CreateApiKeyShrinkRequest.d.ts +40 -0
  16. package/dist/models/CreateApiKeyShrinkRequest.js +66 -0
  17. package/dist/models/CreateApiKeyShrinkRequest.js.map +1 -0
  18. package/dist/models/CreateBranchRequest.d.ts +6 -6
  19. package/dist/models/CreateBranchResponseBody.d.ts +2 -2
  20. package/dist/models/CreateDocumentCollectionRequest.d.ts +94 -148
  21. package/dist/models/CreateDocumentCollectionRequest.js.map +1 -1
  22. package/dist/models/CreateDocumentCollectionResponseBody.d.ts +2 -4
  23. package/dist/models/CreateDocumentCollectionResponseBody.js.map +1 -1
  24. package/dist/models/CreateDocumentCollectionShrinkRequest.d.ts +81 -127
  25. package/dist/models/CreateDocumentCollectionShrinkRequest.js.map +1 -1
  26. package/dist/models/CreateIndexRequest.d.ts +13 -21
  27. package/dist/models/CreateIndexRequest.js.map +1 -1
  28. package/dist/models/CreateIndexResponseBody.d.ts +6 -7
  29. package/dist/models/CreateIndexResponseBody.js.map +1 -1
  30. package/dist/models/CreateModelOperatorApiKeyRequest.d.ts +23 -0
  31. package/dist/models/CreateModelOperatorApiKeyRequest.js +58 -0
  32. package/dist/models/CreateModelOperatorApiKeyRequest.js.map +1 -0
  33. package/dist/models/CreateModelOperatorApiKeyResponse.d.ts +19 -0
  34. package/dist/models/CreateModelOperatorApiKeyResponse.js +69 -0
  35. package/dist/models/CreateModelOperatorApiKeyResponse.js.map +1 -0
  36. package/dist/models/CreateModelOperatorApiKeyResponseBody.d.ts +29 -0
  37. package/dist/models/CreateModelOperatorApiKeyResponseBody.js +60 -0
  38. package/dist/models/CreateModelOperatorApiKeyResponseBody.js.map +1 -0
  39. package/dist/models/CreateModelServiceRequest.d.ts +9 -9
  40. package/dist/models/CreateModelServiceResponseBody.d.ts +1 -1
  41. package/dist/models/CreateModelServiceShrinkRequest.d.ts +9 -9
  42. package/dist/models/CreateSaasServiceRequest.d.ts +2 -2
  43. package/dist/models/CreateSnapshotResponseBody.d.ts +1 -1
  44. package/dist/models/CreateSupabaseProjectRequest.d.ts +8 -8
  45. package/dist/models/CreateSupabaseProjectResponseBody.d.ts +1 -1
  46. package/dist/models/DeleteAiserviceRequest.d.ts +2 -2
  47. package/dist/models/DeleteApiKeyRequest.d.ts +26 -0
  48. package/dist/models/DeleteApiKeyRequest.js +60 -0
  49. package/dist/models/DeleteApiKeyRequest.js.map +1 -0
  50. package/dist/models/DeleteApiKeyResponse.d.ts +19 -0
  51. package/dist/models/DeleteApiKeyResponse.js +69 -0
  52. package/dist/models/DeleteApiKeyResponse.js.map +1 -0
  53. package/dist/models/DeleteApiKeyResponseBody.d.ts +23 -0
  54. package/dist/models/DeleteApiKeyResponseBody.js +60 -0
  55. package/dist/models/DeleteApiKeyResponseBody.js.map +1 -0
  56. package/dist/models/DeleteBranchRequest.d.ts +1 -1
  57. package/dist/models/DeleteSnapshotRequest.d.ts +7 -0
  58. package/dist/models/DeleteSnapshotRequest.js.map +1 -1
  59. package/dist/models/DeleteSnapshotResponseBody.d.ts +3 -0
  60. package/dist/models/DeleteSnapshotResponseBody.js.map +1 -1
  61. package/dist/models/DescribeAiserviceRequest.d.ts +4 -5
  62. package/dist/models/DescribeAiserviceRequest.js.map +1 -1
  63. package/dist/models/DescribeAiserviceResponseBody.d.ts +10 -12
  64. package/dist/models/DescribeAiserviceResponseBody.js.map +1 -1
  65. package/dist/models/DescribeBranchResponseBody.d.ts +7 -7
  66. package/dist/models/DescribeDbinstanceAttributeRequest.d.ts +3 -3
  67. package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +1 -1
  68. package/dist/models/DescribeModelOperatorApiKeyRequest.d.ts +21 -0
  69. package/dist/models/DescribeModelOperatorApiKeyRequest.js +58 -0
  70. package/dist/models/DescribeModelOperatorApiKeyRequest.js.map +1 -0
  71. package/dist/models/DescribeModelOperatorApiKeyResponse.d.ts +19 -0
  72. package/dist/models/DescribeModelOperatorApiKeyResponse.js +69 -0
  73. package/dist/models/DescribeModelOperatorApiKeyResponse.js.map +1 -0
  74. package/dist/models/DescribeModelOperatorApiKeyResponseBody.d.ts +61 -0
  75. package/dist/models/DescribeModelOperatorApiKeyResponseBody.js +68 -0
  76. package/dist/models/DescribeModelOperatorApiKeyResponseBody.js.map +1 -0
  77. package/dist/models/DescribeModelOperatorUsageRequest.d.ts +85 -0
  78. package/dist/models/DescribeModelOperatorUsageRequest.js +79 -0
  79. package/dist/models/DescribeModelOperatorUsageRequest.js.map +1 -0
  80. package/dist/models/DescribeModelOperatorUsageResponse.d.ts +19 -0
  81. package/dist/models/DescribeModelOperatorUsageResponse.js +69 -0
  82. package/dist/models/DescribeModelOperatorUsageResponse.js.map +1 -0
  83. package/dist/models/DescribeModelOperatorUsageResponseBody.d.ts +145 -0
  84. package/dist/models/DescribeModelOperatorUsageResponseBody.js +145 -0
  85. package/dist/models/DescribeModelOperatorUsageResponseBody.js.map +1 -0
  86. package/dist/models/DescribeModelOperatorUsageShrinkRequest.d.ts +85 -0
  87. package/dist/models/DescribeModelOperatorUsageShrinkRequest.js +70 -0
  88. package/dist/models/DescribeModelOperatorUsageShrinkRequest.js.map +1 -0
  89. package/dist/models/DescribeModelServiceRequest.d.ts +2 -2
  90. package/dist/models/DescribeModelServiceResponseBody.d.ts +6 -6
  91. package/dist/models/DescribeTableRequest.d.ts +7 -7
  92. package/dist/models/DescribeTableResponseBody.d.ts +4 -5
  93. package/dist/models/DescribeTableResponseBody.js.map +1 -1
  94. package/dist/models/ExecuteStatementRequest.d.ts +18 -19
  95. package/dist/models/ExecuteStatementRequest.js.map +1 -1
  96. package/dist/models/ExecuteStatementResponseBody.d.ts +10 -11
  97. package/dist/models/ExecuteStatementResponseBody.js.map +1 -1
  98. package/dist/models/ExecuteStatementShrinkRequest.d.ts +14 -15
  99. package/dist/models/ExecuteStatementShrinkRequest.js.map +1 -1
  100. package/dist/models/GetAccountRequest.d.ts +7 -3
  101. package/dist/models/GetAccountRequest.js.map +1 -1
  102. package/dist/models/GetAccountResponseBody.d.ts +20 -17
  103. package/dist/models/GetAccountResponseBody.js.map +1 -1
  104. package/dist/models/GetApiKeyRequest.d.ts +26 -0
  105. package/dist/models/GetApiKeyRequest.js +60 -0
  106. package/dist/models/GetApiKeyRequest.js.map +1 -0
  107. package/dist/models/GetApiKeyResponse.d.ts +19 -0
  108. package/dist/models/GetApiKeyResponse.js +69 -0
  109. package/dist/models/GetApiKeyResponse.js.map +1 -0
  110. package/dist/models/GetApiKeyResponseBody.d.ts +71 -0
  111. package/dist/models/GetApiKeyResponseBody.js +96 -0
  112. package/dist/models/GetApiKeyResponseBody.js.map +1 -0
  113. package/dist/models/GetStatementResultRequest.d.ts +6 -6
  114. package/dist/models/GetStatementResultResponseBody.d.ts +6 -6
  115. package/dist/models/GetUploadDocumentJobRequest.d.ts +8 -8
  116. package/dist/models/GetUploadDocumentJobResponseBody.d.ts +27 -29
  117. package/dist/models/GetUploadDocumentJobResponseBody.js.map +1 -1
  118. package/dist/models/GetWorkspaceRequest.d.ts +26 -0
  119. package/dist/models/GetWorkspaceRequest.js +60 -0
  120. package/dist/models/GetWorkspaceRequest.js.map +1 -0
  121. package/dist/models/GetWorkspaceResponse.d.ts +19 -0
  122. package/dist/models/GetWorkspaceResponse.js +69 -0
  123. package/dist/models/GetWorkspaceResponse.js.map +1 -0
  124. package/dist/models/GetWorkspaceResponseBody.d.ts +147 -0
  125. package/dist/models/GetWorkspaceResponseBody.js +160 -0
  126. package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
  127. package/dist/models/ListAinodePoolsRequest.d.ts +1 -1
  128. package/dist/models/ListAinodePoolsResponseBody.d.ts +11 -13
  129. package/dist/models/ListAinodePoolsResponseBody.js.map +1 -1
  130. package/dist/models/ListAiservicesRequest.d.ts +5 -8
  131. package/dist/models/ListAiservicesRequest.js.map +1 -1
  132. package/dist/models/ListAiservicesResponseBody.d.ts +13 -15
  133. package/dist/models/ListAiservicesResponseBody.js.map +1 -1
  134. package/dist/models/ListApiKeysRequest.d.ts +41 -0
  135. package/dist/models/ListApiKeysRequest.js +66 -0
  136. package/dist/models/ListApiKeysRequest.js.map +1 -0
  137. package/dist/models/ListApiKeysResponse.d.ts +19 -0
  138. package/dist/models/ListApiKeysResponse.js +69 -0
  139. package/dist/models/ListApiKeysResponse.js.map +1 -0
  140. package/dist/models/ListApiKeysResponseBody.d.ts +94 -0
  141. package/dist/models/ListApiKeysResponseBody.js +122 -0
  142. package/dist/models/ListApiKeysResponseBody.js.map +1 -0
  143. package/dist/models/ListBranchesRequest.d.ts +12 -12
  144. package/dist/models/ListBranchesResponseBody.d.ts +3 -3
  145. package/dist/models/ListChunksRequest.d.ts +13 -17
  146. package/dist/models/ListChunksRequest.js.map +1 -1
  147. package/dist/models/ListModelOperatorApiKeysRequest.d.ts +35 -0
  148. package/dist/models/ListModelOperatorApiKeysRequest.js +60 -0
  149. package/dist/models/ListModelOperatorApiKeysRequest.js.map +1 -0
  150. package/dist/models/ListModelOperatorApiKeysResponse.d.ts +19 -0
  151. package/dist/models/ListModelOperatorApiKeysResponse.js +69 -0
  152. package/dist/models/ListModelOperatorApiKeysResponse.js.map +1 -0
  153. package/dist/models/ListModelOperatorApiKeysResponseBody.d.ts +94 -0
  154. package/dist/models/ListModelOperatorApiKeysResponseBody.js +94 -0
  155. package/dist/models/ListModelOperatorApiKeysResponseBody.js.map +1 -0
  156. package/dist/models/ListModelOperatorServicesRequest.d.ts +34 -0
  157. package/dist/models/ListModelOperatorServicesRequest.js +60 -0
  158. package/dist/models/ListModelOperatorServicesRequest.js.map +1 -0
  159. package/dist/models/ListModelOperatorServicesResponse.d.ts +19 -0
  160. package/dist/models/ListModelOperatorServicesResponse.js +69 -0
  161. package/dist/models/ListModelOperatorServicesResponse.js.map +1 -0
  162. package/dist/models/ListModelOperatorServicesResponseBody.d.ts +70 -0
  163. package/dist/models/ListModelOperatorServicesResponseBody.js +88 -0
  164. package/dist/models/ListModelOperatorServicesResponseBody.js.map +1 -0
  165. package/dist/models/ListSaasServiceRequest.d.ts +2 -2
  166. package/dist/models/ListSaasServiceResponseBody.d.ts +10 -10
  167. package/dist/models/ListSupabaseProjectTagsRequest.d.ts +15 -17
  168. package/dist/models/ListSupabaseProjectTagsRequest.js.map +1 -1
  169. package/dist/models/ListSupabaseProjectTagsResponseBody.d.ts +3 -3
  170. package/dist/models/ListWorkspacesResponseBody.d.ts +3 -3
  171. package/dist/models/ModifyAiserviceSecurityIpsRequest.d.ts +7 -10
  172. package/dist/models/ModifyAiserviceSecurityIpsRequest.js.map +1 -1
  173. package/dist/models/ModifyAiserviceSecurityIpsResponseBody.d.ts +1 -1
  174. package/dist/models/ModifyDbinstanceDeploymentModeRequest.d.ts +11 -17
  175. package/dist/models/ModifyDbinstanceDeploymentModeRequest.js.map +1 -1
  176. package/dist/models/ModifyDbinstanceDeploymentModeResponseBody.d.ts +1 -1
  177. package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +4 -6
  178. package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
  179. package/dist/models/ModifySupabaseProjectResourceRequest.d.ts +3 -3
  180. package/dist/models/ModifySupabaseProjectResourceResponseBody.d.ts +1 -1
  181. package/dist/models/PauseSupabaseProjectRequest.d.ts +1 -1
  182. package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +18 -18
  183. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +1 -1
  184. package/dist/models/RestoreSnapshotRequest.d.ts +1 -1
  185. package/dist/models/ResumeSupabaseProjectRequest.d.ts +1 -1
  186. package/dist/models/ResumeSupabaseProjectResponseBody.d.ts +1 -1
  187. package/dist/models/TagSupabaseProjectRequest.d.ts +5 -5
  188. package/dist/models/TagSupabaseProjectResponseBody.d.ts +1 -1
  189. package/dist/models/TextEmbeddingRequest.d.ts +12 -14
  190. package/dist/models/TextEmbeddingRequest.js.map +1 -1
  191. package/dist/models/TextEmbeddingResponseBody.d.ts +5 -6
  192. package/dist/models/TextEmbeddingResponseBody.js.map +1 -1
  193. package/dist/models/TextEmbeddingShrinkRequest.d.ts +12 -14
  194. package/dist/models/TextEmbeddingShrinkRequest.js.map +1 -1
  195. package/dist/models/UntagSupabaseProjectRequest.d.ts +6 -9
  196. package/dist/models/UntagSupabaseProjectRequest.js.map +1 -1
  197. package/dist/models/UntagSupabaseProjectResponseBody.d.ts +1 -1
  198. package/dist/models/UpgradeDbinstanceRequest.d.ts +34 -50
  199. package/dist/models/UpgradeDbinstanceRequest.js.map +1 -1
  200. package/dist/models/UploadDocumentAsyncAdvanceRequest.d.ts +57 -49
  201. package/dist/models/UploadDocumentAsyncAdvanceRequest.js.map +1 -1
  202. package/dist/models/UploadDocumentAsyncRequest.d.ts +57 -49
  203. package/dist/models/UploadDocumentAsyncRequest.js.map +1 -1
  204. package/dist/models/UploadDocumentAsyncResponseBody.d.ts +4 -4
  205. package/dist/models/UploadDocumentAsyncShrinkRequest.d.ts +57 -49
  206. package/dist/models/UploadDocumentAsyncShrinkRequest.js.map +1 -1
  207. package/dist/models/model.d.ts +43 -0
  208. package/dist/models/model.js +108 -21
  209. package/dist/models/model.js.map +1 -1
  210. package/package.json +1 -1
  211. package/src/client.ts +684 -130
  212. package/src/models/CreateAiserviceRequest.ts +16 -25
  213. package/src/models/CreateApiKeyRequest.ts +64 -0
  214. package/src/models/CreateApiKeyResponse.ts +40 -0
  215. package/src/models/CreateApiKeyResponseBody.ts +45 -0
  216. package/src/models/CreateApiKeyShrinkRequest.ts +61 -0
  217. package/src/models/CreateBranchRequest.ts +6 -6
  218. package/src/models/CreateBranchResponseBody.ts +2 -2
  219. package/src/models/CreateDocumentCollectionRequest.ts +94 -148
  220. package/src/models/CreateDocumentCollectionResponseBody.ts +2 -4
  221. package/src/models/CreateDocumentCollectionShrinkRequest.ts +81 -127
  222. package/src/models/CreateIndexRequest.ts +13 -21
  223. package/src/models/CreateIndexResponseBody.ts +6 -7
  224. package/src/models/CreateModelOperatorApiKeyRequest.ts +36 -0
  225. package/src/models/CreateModelOperatorApiKeyResponse.ts +40 -0
  226. package/src/models/CreateModelOperatorApiKeyResponseBody.ts +44 -0
  227. package/src/models/CreateModelServiceRequest.ts +9 -9
  228. package/src/models/CreateModelServiceResponseBody.ts +1 -1
  229. package/src/models/CreateModelServiceShrinkRequest.ts +9 -9
  230. package/src/models/CreateSaasServiceRequest.ts +2 -2
  231. package/src/models/CreateSnapshotResponseBody.ts +1 -1
  232. package/src/models/CreateSupabaseProjectRequest.ts +8 -8
  233. package/src/models/CreateSupabaseProjectResponseBody.ts +1 -1
  234. package/src/models/DeleteAiserviceRequest.ts +2 -2
  235. package/src/models/DeleteApiKeyRequest.ts +41 -0
  236. package/src/models/DeleteApiKeyResponse.ts +40 -0
  237. package/src/models/DeleteApiKeyResponseBody.ts +38 -0
  238. package/src/models/DeleteBranchRequest.ts +1 -1
  239. package/src/models/DeleteSnapshotRequest.ts +7 -0
  240. package/src/models/DeleteSnapshotResponseBody.ts +3 -0
  241. package/src/models/DescribeAiserviceRequest.ts +4 -5
  242. package/src/models/DescribeAiserviceResponseBody.ts +10 -12
  243. package/src/models/DescribeBranchResponseBody.ts +7 -7
  244. package/src/models/DescribeDbinstanceAttributeRequest.ts +3 -3
  245. package/src/models/DescribeDbinstanceAttributeResponseBody.ts +1 -1
  246. package/src/models/DescribeModelOperatorApiKeyRequest.ts +34 -0
  247. package/src/models/DescribeModelOperatorApiKeyResponse.ts +40 -0
  248. package/src/models/DescribeModelOperatorApiKeyResponseBody.ts +84 -0
  249. package/src/models/DescribeModelOperatorUsageRequest.ts +119 -0
  250. package/src/models/DescribeModelOperatorUsageResponse.ts +40 -0
  251. package/src/models/DescribeModelOperatorUsageResponseBody.ts +218 -0
  252. package/src/models/DescribeModelOperatorUsageShrinkRequest.ts +110 -0
  253. package/src/models/DescribeModelServiceRequest.ts +2 -2
  254. package/src/models/DescribeModelServiceResponseBody.ts +6 -6
  255. package/src/models/DescribeTableRequest.ts +7 -7
  256. package/src/models/DescribeTableResponseBody.ts +4 -5
  257. package/src/models/ExecuteStatementRequest.ts +18 -19
  258. package/src/models/ExecuteStatementResponseBody.ts +10 -11
  259. package/src/models/ExecuteStatementShrinkRequest.ts +14 -15
  260. package/src/models/GetAccountRequest.ts +7 -3
  261. package/src/models/GetAccountResponseBody.ts +20 -17
  262. package/src/models/GetApiKeyRequest.ts +41 -0
  263. package/src/models/GetApiKeyResponse.ts +40 -0
  264. package/src/models/GetApiKeyResponseBody.ts +113 -0
  265. package/src/models/GetStatementResultRequest.ts +6 -6
  266. package/src/models/GetStatementResultResponseBody.ts +6 -6
  267. package/src/models/GetUploadDocumentJobRequest.ts +8 -8
  268. package/src/models/GetUploadDocumentJobResponseBody.ts +27 -29
  269. package/src/models/GetWorkspaceRequest.ts +41 -0
  270. package/src/models/GetWorkspaceResponse.ts +40 -0
  271. package/src/models/GetWorkspaceResponseBody.ts +235 -0
  272. package/src/models/ListAinodePoolsRequest.ts +1 -1
  273. package/src/models/ListAinodePoolsResponseBody.ts +11 -13
  274. package/src/models/ListAiservicesRequest.ts +5 -8
  275. package/src/models/ListAiservicesResponseBody.ts +13 -15
  276. package/src/models/ListApiKeysRequest.ts +62 -0
  277. package/src/models/ListApiKeysResponse.ts +40 -0
  278. package/src/models/ListApiKeysResponseBody.ts +153 -0
  279. package/src/models/ListBranchesRequest.ts +12 -12
  280. package/src/models/ListBranchesResponseBody.ts +3 -3
  281. package/src/models/ListChunksRequest.ts +13 -17
  282. package/src/models/ListModelOperatorApiKeysRequest.ts +50 -0
  283. package/src/models/ListModelOperatorApiKeysResponse.ts +40 -0
  284. package/src/models/ListModelOperatorApiKeysResponseBody.ts +134 -0
  285. package/src/models/ListModelOperatorServicesRequest.ts +49 -0
  286. package/src/models/ListModelOperatorServicesResponse.ts +40 -0
  287. package/src/models/ListModelOperatorServicesResponseBody.ts +104 -0
  288. package/src/models/ListSaasServiceRequest.ts +2 -2
  289. package/src/models/ListSaasServiceResponseBody.ts +10 -10
  290. package/src/models/ListSupabaseProjectTagsRequest.ts +15 -17
  291. package/src/models/ListSupabaseProjectTagsResponseBody.ts +3 -3
  292. package/src/models/ListWorkspacesResponseBody.ts +3 -3
  293. package/src/models/ModifyAiserviceSecurityIpsRequest.ts +7 -10
  294. package/src/models/ModifyAiserviceSecurityIpsResponseBody.ts +1 -1
  295. package/src/models/ModifyDbinstanceDeploymentModeRequest.ts +11 -17
  296. package/src/models/ModifyDbinstanceDeploymentModeResponseBody.ts +1 -1
  297. package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +4 -6
  298. package/src/models/ModifySupabaseProjectResourceRequest.ts +3 -3
  299. package/src/models/ModifySupabaseProjectResourceResponseBody.ts +1 -1
  300. package/src/models/PauseSupabaseProjectRequest.ts +1 -1
  301. package/src/models/QueryKnowledgeBasesContentRequest.ts +18 -18
  302. package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +1 -1
  303. package/src/models/RestoreSnapshotRequest.ts +1 -1
  304. package/src/models/ResumeSupabaseProjectRequest.ts +1 -1
  305. package/src/models/ResumeSupabaseProjectResponseBody.ts +1 -1
  306. package/src/models/TagSupabaseProjectRequest.ts +5 -5
  307. package/src/models/TagSupabaseProjectResponseBody.ts +1 -1
  308. package/src/models/TextEmbeddingRequest.ts +12 -14
  309. package/src/models/TextEmbeddingResponseBody.ts +5 -6
  310. package/src/models/TextEmbeddingShrinkRequest.ts +12 -14
  311. package/src/models/UntagSupabaseProjectRequest.ts +6 -9
  312. package/src/models/UntagSupabaseProjectResponseBody.ts +1 -1
  313. package/src/models/UpgradeDbinstanceRequest.ts +34 -50
  314. package/src/models/UploadDocumentAsyncAdvanceRequest.ts +57 -49
  315. package/src/models/UploadDocumentAsyncRequest.ts +57 -49
  316. package/src/models/UploadDocumentAsyncResponseBody.ts +4 -4
  317. package/src/models/UploadDocumentAsyncShrinkRequest.ts +57 -49
  318. package/src/models/model.ts +43 -0
@@ -7,7 +7,7 @@ export class DescribeTableRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The instance ID.
9
9
  *
10
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
10
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
11
11
  *
12
12
  * @example
13
13
  * gp-xxxxxxxxx
@@ -15,7 +15,7 @@ export class DescribeTableRequest extends $dara.Model {
15
15
  DBInstanceId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The name of the database.
18
+ * The database name.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -36,7 +36,7 @@ export class DescribeTableRequest extends $dara.Model {
36
36
  regionId?: string;
37
37
  /**
38
38
  * @remarks
39
- * The name of the schema to which the table belongs.
39
+ * The name of the schema that contains the table.
40
40
  *
41
41
  * This parameter is required.
42
42
  *
@@ -46,9 +46,9 @@ export class DescribeTableRequest extends $dara.Model {
46
46
  schema?: string;
47
47
  /**
48
48
  * @remarks
49
- * The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.
49
+ * The access credential. Created by calling the CreateSecret operation.
50
50
  *
51
- * > To call the DescribeTable operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.
51
+ * > When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.
52
52
  *
53
53
  * This parameter is required.
54
54
  *
@@ -58,7 +58,7 @@ export class DescribeTableRequest extends $dara.Model {
58
58
  secretArn?: string;
59
59
  /**
60
60
  * @remarks
61
- * The name of the table.
61
+ * The table name.
62
62
  *
63
63
  * This parameter is required.
64
64
  *
@@ -68,7 +68,7 @@ export class DescribeTableRequest extends $dara.Model {
68
68
  table?: string;
69
69
  /**
70
70
  * @remarks
71
- * The ID of the workspace composed of multiple database instances. This parameter and the DBInstanceId parameter cannot both be empty. If both parameters are specified, this parameter takes precedence.
71
+ * The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.
72
72
  *
73
73
  * @example
74
74
  * gp-ws-*****
@@ -33,7 +33,7 @@ export class DescribeTableResponseBody extends $dara.Model {
33
33
  columnList?: DescribeTableResponseBodyColumnList;
34
34
  /**
35
35
  * @remarks
36
- * The returned message.
36
+ * The detailed information returned by the operation.
37
37
  *
38
38
  * @example
39
39
  * success
@@ -49,10 +49,9 @@ export class DescribeTableResponseBody extends $dara.Model {
49
49
  requestId?: string;
50
50
  /**
51
51
  * @remarks
52
- * The status of the operation. Valid values:
53
- *
54
- * * **success**
55
- * * **fail**
52
+ * The execution status of the API operation. Valid values:
53
+ * - **success**: The execution was successful.
54
+ * - **fail**: The execution failed.
56
55
  *
57
56
  * @example
58
57
  * success
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ExecuteStatementRequestRagWorkspaceCollection extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Collection name.
8
+ * The collection name.
9
9
  *
10
- * > You can view the list by using the [ListCollections](https://help.aliyun.com/document_detail/2401503.html) API.
10
+ * > You can call the [ListCollections](https://help.aliyun.com/document_detail/2401503.html) operation to query the list.
11
11
  *
12
12
  * @example
13
13
  * mycollection
@@ -15,9 +15,9 @@ export class ExecuteStatementRequestRagWorkspaceCollection extends $dara.Model {
15
15
  collection?: string;
16
16
  /**
17
17
  * @remarks
18
- * Namespace.
18
+ * The namespace.
19
19
  *
20
- * > You can view the list by using the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) API.
20
+ * > You can call the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation to query the list.
21
21
  *
22
22
  * @example
23
23
  * mynamespace
@@ -51,7 +51,7 @@ export class ExecuteStatementRequest extends $dara.Model {
51
51
  * @remarks
52
52
  * The instance ID.
53
53
  *
54
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
54
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
55
55
  *
56
56
  * @example
57
57
  * gp-xxxxxxxxx
@@ -59,7 +59,7 @@ export class ExecuteStatementRequest extends $dara.Model {
59
59
  DBInstanceId?: string;
60
60
  /**
61
61
  * @remarks
62
- * The name of the database.
62
+ * The database name.
63
63
  *
64
64
  * This parameter is required.
65
65
  *
@@ -70,13 +70,13 @@ export class ExecuteStatementRequest extends $dara.Model {
70
70
  ownerId?: number;
71
71
  /**
72
72
  * @remarks
73
- * The configuration parameters.
73
+ * The list of configuration parameters.
74
74
  */
75
75
  parameters?: any[];
76
76
  /**
77
77
  * @remarks
78
- * Parameters for the vector dataset.
79
- * > When WorkspaceId is not empty, you must also pass this parameter.
78
+ * The vector dataset parameters.
79
+ * > If WorkspaceId is not empty, this parameter is required.
80
80
  */
81
81
  ragWorkspaceCollection?: ExecuteStatementRequestRagWorkspaceCollection;
82
82
  /**
@@ -91,10 +91,9 @@ export class ExecuteStatementRequest extends $dara.Model {
91
91
  regionId?: string;
92
92
  /**
93
93
  * @remarks
94
- * The execution type. Valid values:
95
- *
96
- * * synchronous
97
- * * asynchronous (not supported)
94
+ * The run type. Valid values:
95
+ * - synchronous: synchronous execution.
96
+ * - asynchronous: asynchronous execution. Currently not supported.
98
97
  *
99
98
  * @example
100
99
  * synchronous
@@ -102,9 +101,9 @@ export class ExecuteStatementRequest extends $dara.Model {
102
101
  runType?: string;
103
102
  /**
104
103
  * @remarks
105
- * The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.
104
+ * The access credential. Created by calling the CreateSecret operation.
106
105
  *
107
- * > To call the ExecuteStatement operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.
106
+ * > When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.
108
107
  *
109
108
  * This parameter is required.
110
109
  *
@@ -114,7 +113,7 @@ export class ExecuteStatementRequest extends $dara.Model {
114
113
  secretArn?: string;
115
114
  /**
116
115
  * @remarks
117
- * The SQL statements that you want to execute.
116
+ * The SQL statement to execute.
118
117
  *
119
118
  * @example
120
119
  * select * from table1
@@ -122,12 +121,12 @@ export class ExecuteStatementRequest extends $dara.Model {
122
121
  sql?: string;
123
122
  /**
124
123
  * @remarks
125
- * The SQL statements.
124
+ * The list of multiple SQL statements.
126
125
  */
127
126
  sqls?: string[];
128
127
  /**
129
128
  * @remarks
130
- * The name of the set of SQL statements that you want to execute. This parameter takes effect when the RunType parameter is set to asynchronous.
129
+ * The name of the execution statement. This parameter takes effect only when RunType is set to asynchronous.
131
130
  *
132
131
  * @example
133
132
  * test
@@ -135,7 +134,7 @@ export class ExecuteStatementRequest extends $dara.Model {
135
134
  statementName?: string;
136
135
  /**
137
136
  * @remarks
138
- * The ID of a workspace composed of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both are specified, this parameter takes precedence.
137
+ * The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.
139
138
  *
140
139
  * @example
141
140
  * gp-ws-*****
@@ -87,7 +87,7 @@ export class ExecuteStatementResponseBodyData extends $dara.Model {
87
87
  records?: ExecuteStatementResponseBodyDataRecords;
88
88
  /**
89
89
  * @remarks
90
- * The total number of entries returned.
90
+ * The total number of rows.
91
91
  *
92
92
  * @example
93
93
  * 10
@@ -127,7 +127,7 @@ export class ExecuteStatementResponseBodyData extends $dara.Model {
127
127
  export class ExecuteStatementResponseBody extends $dara.Model {
128
128
  /**
129
129
  * @remarks
130
- * The time when the SQL statements were created.
130
+ * The creation time.
131
131
  *
132
132
  * @example
133
133
  * 2023-12-04T10:08:47+0800
@@ -143,12 +143,12 @@ export class ExecuteStatementResponseBody extends $dara.Model {
143
143
  DBInstanceId?: string;
144
144
  /**
145
145
  * @remarks
146
- * The returned results of the synchronous call.
146
+ * The result returned for synchronous calls.
147
147
  */
148
148
  data?: ExecuteStatementResponseBodyData;
149
149
  /**
150
150
  * @remarks
151
- * The name of the database.
151
+ * The database name.
152
152
  *
153
153
  * @example
154
154
  * adbtest
@@ -156,7 +156,7 @@ export class ExecuteStatementResponseBody extends $dara.Model {
156
156
  database?: string;
157
157
  /**
158
158
  * @remarks
159
- * The ID of the job for asynchronously executing the SQL statements.
159
+ * The task ID for asynchronous SQL execution.
160
160
  *
161
161
  * @example
162
162
  * ABB39CC3
@@ -164,7 +164,7 @@ export class ExecuteStatementResponseBody extends $dara.Model {
164
164
  id?: string;
165
165
  /**
166
166
  * @remarks
167
- * The returned message.
167
+ * The response message.
168
168
  *
169
169
  * @example
170
170
  * success
@@ -180,7 +180,7 @@ export class ExecuteStatementResponseBody extends $dara.Model {
180
180
  requestId?: string;
181
181
  /**
182
182
  * @remarks
183
- * The ARN of the access credential for the created Data API account.
183
+ * The access credential.
184
184
  *
185
185
  * @example
186
186
  * acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ
@@ -188,10 +188,9 @@ export class ExecuteStatementResponseBody extends $dara.Model {
188
188
  secretArn?: string;
189
189
  /**
190
190
  * @remarks
191
- * The status of the operation. Valid values:
192
- *
193
- * * **success**
194
- * * **fail**
191
+ * The execution status of the API operation. Valid values:
192
+ * - **success**: The execution is successful.
193
+ * - **fail**: The execution failed.
195
194
  *
196
195
  * @example
197
196
  * success
@@ -7,7 +7,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The instance ID.
9
9
  *
10
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
10
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
11
11
  *
12
12
  * @example
13
13
  * gp-xxxxxxxxx
@@ -15,7 +15,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
15
15
  DBInstanceId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The name of the database.
18
+ * The database name.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -26,13 +26,13 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
26
26
  ownerId?: number;
27
27
  /**
28
28
  * @remarks
29
- * The configuration parameters.
29
+ * The list of configuration parameters.
30
30
  */
31
31
  parametersShrink?: string;
32
32
  /**
33
33
  * @remarks
34
- * Parameters for the vector dataset.
35
- * > When WorkspaceId is not empty, you must also pass this parameter.
34
+ * The vector dataset parameters.
35
+ * > If WorkspaceId is not empty, this parameter is required.
36
36
  */
37
37
  ragWorkspaceCollectionShrink?: string;
38
38
  /**
@@ -47,10 +47,9 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
47
47
  regionId?: string;
48
48
  /**
49
49
  * @remarks
50
- * The execution type. Valid values:
51
- *
52
- * * synchronous
53
- * * asynchronous (not supported)
50
+ * The run type. Valid values:
51
+ * - synchronous: synchronous execution.
52
+ * - asynchronous: asynchronous execution. Currently not supported.
54
53
  *
55
54
  * @example
56
55
  * synchronous
@@ -58,9 +57,9 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
58
57
  runType?: string;
59
58
  /**
60
59
  * @remarks
61
- * The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.
60
+ * The access credential. Created by calling the CreateSecret operation.
62
61
  *
63
- * > To call the ExecuteStatement operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.
62
+ * > When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.
64
63
  *
65
64
  * This parameter is required.
66
65
  *
@@ -70,7 +69,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
70
69
  secretArn?: string;
71
70
  /**
72
71
  * @remarks
73
- * The SQL statements that you want to execute.
72
+ * The SQL statement to execute.
74
73
  *
75
74
  * @example
76
75
  * select * from table1
@@ -78,12 +77,12 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
78
77
  sql?: string;
79
78
  /**
80
79
  * @remarks
81
- * The SQL statements.
80
+ * The list of multiple SQL statements.
82
81
  */
83
82
  sqlsShrink?: string;
84
83
  /**
85
84
  * @remarks
86
- * The name of the set of SQL statements that you want to execute. This parameter takes effect when the RunType parameter is set to asynchronous.
85
+ * The name of the execution statement. This parameter takes effect only when RunType is set to asynchronous.
87
86
  *
88
87
  * @example
89
88
  * test
@@ -91,7 +90,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
91
90
  statementName?: string;
92
91
  /**
93
92
  * @remarks
94
- * The ID of a workspace composed of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both are specified, this parameter takes precedence.
93
+ * The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.
95
94
  *
96
95
  * @example
97
96
  * gp-ws-*****
@@ -5,7 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAccountRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the database account.
8
+ * The name of the initial account. The name must meet the following requirements:
9
+ *
10
+ * - The name can contain lowercase letters, digits, and underscores (_).
11
+ * - The name must start with a lowercase letter and end with a lowercase letter or digit.
12
+ * - The name cannot start with gp.
13
+ * - The name must be 2 to 16 characters in length.
9
14
  *
10
15
  * This parameter is required.
11
16
  *
@@ -16,8 +21,7 @@ export class GetAccountRequest extends $dara.Model {
16
21
  /**
17
22
  * @remarks
18
23
  * The instance ID.
19
- *
20
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.
24
+ * >You can specify up to 30 instance IDs for batch operations. Separate multiple instance IDs with commas (,).
21
25
  *
22
26
  * This parameter is required.
23
27
  *
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAccountResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The new description of the database account.
8
+ * The modified account description. The description must meet the following requirements:
9
9
  *
10
- * * The description must start with a letter.
11
- * * The description cannot start with `http://` or `https://`.
12
- * * The description can contain letters, underscores (_), hyphens (-), and digits.
13
- * * The description must be 2 to 256 characters in length.
10
+ * - The description must start with a Chinese character or an English letter.
11
+ * - The description cannot start with `http://` or `https://`.
12
+ * - The description can contain Chinese characters, English characters, underscores (_), hyphens (-), and digits.
13
+ * - The description must be 2 to 256 characters in length.
14
14
  *
15
15
  * @example
16
16
  * The instance used by this account to log in is DBInstanceId. The name used to log in is AccountName.
@@ -18,12 +18,12 @@ export class GetAccountResponseBody extends $dara.Model {
18
18
  accountDescription?: string;
19
19
  /**
20
20
  * @remarks
21
- * The name of the initial account.
21
+ * The name of the initial account. The name must meet the following requirements:
22
22
  *
23
- * * The name can contain lowercase letters, digits, and underscores (_).
24
- * * The name must start with a lowercase letter and end with a lowercase letter or a digit.
25
- * * The name cannot start with gp.
26
- * * The name must be 2 to 16 characters in length.
23
+ * - The name can contain lowercase letters, digits, and underscores (_).
24
+ * - The name must start with a lowercase letter and end with a lowercase letter or digit.
25
+ * - The name cannot start with gp.
26
+ * - The name must be 2 to 16 characters in length.
27
27
  *
28
28
  * @example
29
29
  * testaccount
@@ -31,11 +31,11 @@ export class GetAccountResponseBody extends $dara.Model {
31
31
  accountName?: string;
32
32
  /**
33
33
  * @remarks
34
- * The status of the member that you want to query.
34
+ * The status of the database account. Valid values:
35
35
  *
36
- * * **enabled**: managed.
37
- * * **disabled**: not managed.
38
- * * **disabling**: being deleted.
36
+ * - **0**: Being created.
37
+ * - **1**: In use.
38
+ * - **3**: Being deleted.
39
39
  *
40
40
  * @example
41
41
  * 1
@@ -43,8 +43,11 @@ export class GetAccountResponseBody extends $dara.Model {
43
43
  accountStatus?: string;
44
44
  /**
45
45
  * @remarks
46
- * * Normal: standard account
47
- * * Super: privileged account
46
+ * The type of the host account. Valid values:
47
+ * - **Normal**: standard account.
48
+ * - **Admin**: administrator account.
49
+ *
50
+ * For more information about the permissions of host accounts, see [Host account permissions](https://help.aliyun.com/document_detail/176240.html).
48
51
  *
49
52
  * @example
50
53
  * Normal
@@ -54,7 +57,7 @@ export class GetAccountResponseBody extends $dara.Model {
54
57
  * @remarks
55
58
  * The instance ID.
56
59
  *
57
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
60
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
58
61
  *
59
62
  * @example
60
63
  * gp-xxxxxxxxx
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetApiKeyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * api-xxxxxx
12
+ */
13
+ keyId?: string;
14
+ /**
15
+ * @example
16
+ * cn-beijing
17
+ */
18
+ regionId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ keyId: 'KeyId',
22
+ regionId: 'RegionId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ keyId: 'string',
29
+ regionId: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetApiKeyResponseBody } from "./GetApiKeyResponseBody";
4
+
5
+
6
+ export class GetApiKeyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetApiKeyResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetApiKeyResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetApiKeyResponseBodyAuthServices extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * agdb-2ze8x9278c9iizl
9
+ */
10
+ serviceId?: string;
11
+ /**
12
+ * @example
13
+ * memory
14
+ */
15
+ serviceType?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ serviceId: 'ServiceId',
19
+ serviceType: 'ServiceType',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ serviceId: 'string',
26
+ serviceType: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class GetApiKeyResponseBody extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * sk-xxxxxxx
43
+ */
44
+ apiKey?: string;
45
+ authServices?: GetApiKeyResponseBodyAuthServices[];
46
+ /**
47
+ * @example
48
+ * 2019-09-08T16:00:00Z
49
+ */
50
+ createTime?: string;
51
+ /**
52
+ * @example
53
+ * test api key
54
+ */
55
+ description?: string;
56
+ /**
57
+ * @example
58
+ * api-xxxxxxx
59
+ */
60
+ keyId?: string;
61
+ /**
62
+ * @example
63
+ * test api key
64
+ */
65
+ keyName?: string;
66
+ /**
67
+ * @example
68
+ * sk-1235*****
69
+ */
70
+ keyPrefix?: string;
71
+ /**
72
+ * @example
73
+ * 7565770E-7C45-462D-BA4A-8A5396****
74
+ */
75
+ requestId?: string;
76
+ static names(): { [key: string]: string } {
77
+ return {
78
+ apiKey: 'ApiKey',
79
+ authServices: 'AuthServices',
80
+ createTime: 'CreateTime',
81
+ description: 'Description',
82
+ keyId: 'KeyId',
83
+ keyName: 'KeyName',
84
+ keyPrefix: 'KeyPrefix',
85
+ requestId: 'RequestId',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ apiKey: 'string',
92
+ authServices: { 'type': 'array', 'itemType': GetApiKeyResponseBodyAuthServices },
93
+ createTime: 'string',
94
+ description: 'string',
95
+ keyId: 'string',
96
+ keyName: 'string',
97
+ keyPrefix: 'string',
98
+ requestId: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.authServices)) {
104
+ $dara.Model.validateArray(this.authServices);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+