@scaleway/sdk 2.72.0 → 2.74.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 (209) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/index.gen.d.ts +1 -1
  5. package/dist/api/account/v3/marshalling.gen.cjs +94 -65
  6. package/dist/api/account/v3/marshalling.gen.js +94 -65
  7. package/dist/api/account/v3/types.gen.d.ts +224 -104
  8. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  9. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  10. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  11. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  12. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  13. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  14. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  15. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  16. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  17. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  18. package/dist/api/baremetal/v1/api.gen.js +28 -61
  19. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  20. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  21. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  22. package/dist/api/baremetal/v3/api.gen.js +7 -14
  23. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  24. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  25. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  26. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  27. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  28. package/dist/api/block/v1/api.gen.cjs +37 -55
  29. package/dist/api/block/v1/api.gen.d.ts +19 -37
  30. package/dist/api/block/v1/api.gen.js +37 -55
  31. package/dist/api/block/v1/types.gen.d.ts +306 -125
  32. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  33. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  34. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  35. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  36. package/dist/api/cockpit/v1/api.gen.cjs +132 -156
  37. package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
  38. package/dist/api/cockpit/v1/api.gen.js +133 -157
  39. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  40. package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
  41. package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
  42. package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
  43. package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
  44. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  45. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  46. package/dist/api/container/v1beta1/api.gen.js +7 -14
  47. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  48. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  49. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  50. package/dist/api/dedibox/v1/api.gen.js +45 -69
  51. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  52. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  53. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  54. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  55. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  56. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  57. package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
  58. package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
  59. package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
  60. package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
  61. package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
  62. package/dist/api/file/index.gen.cjs +4 -0
  63. package/dist/api/file/index.gen.d.ts +5 -0
  64. package/dist/api/file/index.gen.js +4 -0
  65. package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
  66. package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
  67. package/dist/api/file/v1alpha1/api.gen.js +142 -0
  68. package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
  69. package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
  70. package/dist/api/file/v1alpha1/content.gen.js +7 -0
  71. package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
  72. package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
  73. package/dist/api/file/v1alpha1/index.gen.js +8 -0
  74. package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
  75. package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
  76. package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
  77. package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
  78. package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
  79. package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
  80. package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
  81. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  82. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  83. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  84. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  85. package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
  86. package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
  87. package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
  88. package/dist/api/iam/v1alpha1/api.gen.js +4 -4
  89. package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
  90. package/dist/api/index.gen.d.ts +3 -1
  91. package/dist/api/inference/v1/api.gen.cjs +8 -11
  92. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  93. package/dist/api/inference/v1/api.gen.js +8 -11
  94. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  95. package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
  96. package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
  97. package/dist/api/inference/v1beta1/api.gen.js +9 -12
  98. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  99. package/dist/api/instance/v1/api.gen.cjs +64 -113
  100. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  101. package/dist/api/instance/v1/api.gen.js +64 -113
  102. package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
  103. package/dist/api/instance/v1/marshalling.gen.js +4 -1
  104. package/dist/api/instance/v1/types.gen.d.ts +1368 -600
  105. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  106. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  107. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  108. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  109. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  110. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  111. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  112. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  113. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  114. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  115. package/dist/api/iot/v1/api.gen.cjs +37 -70
  116. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  117. package/dist/api/iot/v1/api.gen.js +37 -70
  118. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  119. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  120. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  121. package/dist/api/ipam/v1/api.gen.js +6 -26
  122. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  123. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  124. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  125. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  126. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  127. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  128. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  129. package/dist/api/k8s/v1/api.gen.js +33 -78
  130. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  131. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  132. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  133. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  134. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  135. package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
  136. package/dist/api/lb/v1/marshalling.gen.js +4 -2
  137. package/dist/api/lb/v1/types.gen.d.ts +4 -0
  138. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  139. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  140. package/dist/api/marketplace/v2/api.gen.js +8 -21
  141. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  142. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  143. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  144. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  145. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  146. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  147. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  148. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  149. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  150. package/dist/api/product_catalog/index.gen.cjs +4 -0
  151. package/dist/api/product_catalog/index.gen.d.ts +5 -0
  152. package/dist/api/product_catalog/index.gen.js +4 -0
  153. package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
  154. package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
  155. package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
  156. package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
  157. package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
  158. package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
  159. package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
  160. package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
  161. package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
  162. package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
  163. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
  164. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
  165. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
  166. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  167. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  168. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  169. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  170. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  171. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  172. package/dist/api/rdb/v1/api.gen.js +62 -202
  173. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  174. package/dist/api/redis/v1/api.gen.cjs +23 -83
  175. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  176. package/dist/api/redis/v1/api.gen.js +23 -83
  177. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  178. package/dist/api/registry/v1/api.gen.cjs +12 -40
  179. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  180. package/dist/api/registry/v1/api.gen.js +12 -40
  181. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  182. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  183. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  184. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  185. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  186. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  187. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  188. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  189. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  190. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  191. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  192. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  193. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  194. package/dist/api/test/v1/api.gen.cjs +8 -11
  195. package/dist/api/test/v1/api.gen.d.ts +6 -9
  196. package/dist/api/test/v1/api.gen.js +8 -11
  197. package/dist/api/test/v1/types.gen.d.ts +21 -10
  198. package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
  199. package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
  200. package/dist/api/vpcgw/v1/api.gen.js +37 -0
  201. package/dist/client/dist/package.json.cjs +1 -1
  202. package/dist/client/dist/package.json.js +1 -1
  203. package/dist/index.cjs +36 -32
  204. package/dist/index.js +36 -32
  205. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  206. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  207. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  208. package/package.json +2 -2
  209. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -37,21 +37,14 @@ class API extends api.API {
37
37
  marshalling_gen.unmarshalListNamespacesResponse
38
38
  );
39
39
  /**
40
- * List namespaces. List all namespaces in a specified region. By default, the
41
- * namespaces listed are ordered by creation date in ascending order. This can
42
- * be modified via the order_by field. You can also define additional
43
- * parameters for your query, such as the `instance_id` and `project_id`
44
- * parameters.
40
+ * List namespaces. List all namespaces in a specified region. By default, the namespaces listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `instance_id` and `project_id` parameters.
45
41
  *
46
42
  * @param request - The request {@link ListNamespacesRequest}
47
43
  * @returns A Promise of ListNamespacesResponse
48
44
  */
49
45
  listNamespaces = (request = {}) => resourcePaginator.enrichForPagination("namespaces", this.pageOfListNamespaces, request);
50
46
  /**
51
- * Get a namespace. Retrieve information about a given namespace, specified by
52
- * its `namespace_id` and region. Full details about the namespace, such as
53
- * `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and
54
- * `image_count` are returned in the response.
47
+ * Get a namespace. Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response.
55
48
  *
56
49
  * @param request - The request {@link GetNamespaceRequest}
57
50
  * @returns A Promise of Namespace
@@ -79,10 +72,7 @@ class API extends api.API {
79
72
  options
80
73
  );
81
74
  /**
82
- * Create a namespace. Create a new Container Registry namespace. You must
83
- * specify the namespace name and region in which you want it to be created.
84
- * Optionally, you can specify the `project_id` and `is_public` in the request
85
- * payload.
75
+ * Create a namespace. Create a new Container Registry namespace. You must specify the namespace name and region in which you want it to be created. Optionally, you can specify the `project_id` and `is_public` in the request payload.
86
76
  *
87
77
  * @param request - The request {@link CreateNamespaceRequest}
88
78
  * @returns A Promise of Namespace
@@ -99,9 +89,7 @@ class API extends api.API {
99
89
  marshalling_gen.unmarshalNamespace
100
90
  );
101
91
  /**
102
- * Update a namespace. Update the parameters of a given namespace, specified
103
- * by its `namespace_id` and `region`. You can update the `description` and
104
- * `is_public` parameters.
92
+ * Update a namespace. Update the parameters of a given namespace, specified by its `namespace_id` and `region`. You can update the `description` and `is_public` parameters.
105
93
  *
106
94
  * @param request - The request {@link UpdateNamespaceRequest}
107
95
  * @returns A Promise of Namespace
@@ -118,9 +106,7 @@ class API extends api.API {
118
106
  marshalling_gen.unmarshalNamespace
119
107
  );
120
108
  /**
121
- * Delete a namespace. Delete a given namespace. You must specify, in the
122
- * endpoint, the `region` and `namespace_id` parameters of the namespace you
123
- * want to delete.
109
+ * Delete a namespace. Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
124
110
  *
125
111
  * @param request - The request {@link DeleteNamespaceRequest}
126
112
  * @returns A Promise of Namespace
@@ -152,20 +138,14 @@ class API extends api.API {
152
138
  marshalling_gen.unmarshalListImagesResponse
153
139
  );
154
140
  /**
155
- * List images. List all images in a specified region. By default, the images
156
- * listed are ordered by creation date in ascending order. This can be
157
- * modified via the order_by field. You can also define additional parameters
158
- * for your query, such as the `namespace_id` and `project_id` parameters.
141
+ * List images. List all images in a specified region. By default, the images listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `namespace_id` and `project_id` parameters.
159
142
  *
160
143
  * @param request - The request {@link ListImagesRequest}
161
144
  * @returns A Promise of ListImagesResponse
162
145
  */
163
146
  listImages = (request = {}) => resourcePaginator.enrichForPagination("images", this.pageOfListImages, request);
164
147
  /**
165
- * Get an image. Retrieve information about a given container image, specified
166
- * by its `image_id` and region. Full details about the image, such as `name`,
167
- * `namespace_id`, `status`, `visibility`, and `size` are returned in the
168
- * response.
148
+ * Get an image. Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response.
169
149
  *
170
150
  * @param request - The request {@link GetImageRequest}
171
151
  * @returns A Promise of Image
@@ -193,8 +173,7 @@ class API extends api.API {
193
173
  options
194
174
  );
195
175
  /**
196
- * Update an image. Update the parameters of a given image, specified by its
197
- * `image_id` and `region`. You can update the `visibility` parameter.
176
+ * Update an image. Update the parameters of a given image, specified by its `image_id` and `region`. You can update the `visibility` parameter.
198
177
  *
199
178
  * @param request - The request {@link UpdateImageRequest}
200
179
  * @returns A Promise of Image
@@ -211,8 +190,7 @@ class API extends api.API {
211
190
  marshalling_gen.unmarshalImage
212
191
  );
213
192
  /**
214
- * Delete an image. Delete a given image. You must specify, in the endpoint,
215
- * the `region` and `image_id` parameters of the image you want to delete.
193
+ * Delete an image. Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
216
194
  *
217
195
  * @param request - The request {@link DeleteImageRequest}
218
196
  * @returns A Promise of Image
@@ -241,19 +219,14 @@ class API extends api.API {
241
219
  marshalling_gen.unmarshalListTagsResponse
242
220
  );
243
221
  /**
244
- * List tags. List all tags for a given image, specified by region. By
245
- * default, the tags listed are ordered by creation date in ascending order.
246
- * This can be modified via the order_by field. You can also define additional
247
- * parameters for your query, such as the `name`.
222
+ * List tags. List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
248
223
  *
249
224
  * @param request - The request {@link ListTagsRequest}
250
225
  * @returns A Promise of ListTagsResponse
251
226
  */
252
227
  listTags = (request) => resourcePaginator.enrichForPagination("tags", this.pageOfListTags, request);
253
228
  /**
254
- * Get a tag. Retrieve information about a given image tag, specified by its
255
- * `tag_id` and region. Full details about the tag, such as `name`,
256
- * `image_id`, `status`, and `digest` are returned in the response.
229
+ * Get a tag. Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response.
257
230
  *
258
231
  * @param request - The request {@link GetTagRequest}
259
232
  * @returns A Promise of Tag
@@ -281,8 +254,7 @@ class API extends api.API {
281
254
  options
282
255
  );
283
256
  /**
284
- * Delete a tag. Delete a given image tag. You must specify, in the endpoint,
285
- * the `region` and `tag_id` parameters of the tag you want to delete.
257
+ * Delete a tag. Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
286
258
  *
287
259
  * @param request - The request {@link DeleteTagRequest}
288
260
  * @returns A Promise of Tag
@@ -3,19 +3,15 @@ import type { Region as ScwRegion, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { CreateNamespaceRequest, DeleteImageRequest, DeleteNamespaceRequest, DeleteTagRequest, GetImageRequest, GetNamespaceRequest, GetTagRequest, Image, ListImagesRequest, ListImagesResponse, ListNamespacesRequest, ListNamespacesResponse, ListTagsRequest, ListTagsResponse, Namespace, Tag, UpdateImageRequest, UpdateNamespaceRequest } from './types.gen';
4
4
  /**
5
5
  * Container Registry API.
6
- *
7
- * This API allows you to manage your Container Registry resources.
6
+
7
+ This API allows you to manage your Container Registry resources.
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available regions of the API. */
11
11
  static readonly LOCALITIES: ScwRegion[];
12
12
  protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest>) => Promise<ListNamespacesResponse>;
13
13
  /**
14
- * List namespaces. List all namespaces in a specified region. By default, the
15
- * namespaces listed are ordered by creation date in ascending order. This can
16
- * be modified via the order_by field. You can also define additional
17
- * parameters for your query, such as the `instance_id` and `project_id`
18
- * parameters.
14
+ * List namespaces. List all namespaces in a specified region. By default, the namespaces listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `instance_id` and `project_id` parameters.
19
15
  *
20
16
  * @param request - The request {@link ListNamespacesRequest}
21
17
  * @returns A Promise of ListNamespacesResponse
@@ -25,10 +21,7 @@ export declare class API extends ParentAPI {
25
21
  [Symbol.asyncIterator]: () => AsyncGenerator<Namespace[], void, void>;
26
22
  };
27
23
  /**
28
- * Get a namespace. Retrieve information about a given namespace, specified by
29
- * its `namespace_id` and region. Full details about the namespace, such as
30
- * `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and
31
- * `image_count` are returned in the response.
24
+ * Get a namespace. Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response.
32
25
  *
33
26
  * @param request - The request {@link GetNamespaceRequest}
34
27
  * @returns A Promise of Namespace
@@ -43,28 +36,21 @@ export declare class API extends ParentAPI {
43
36
  */
44
37
  waitForNamespace: (request: Readonly<GetNamespaceRequest>, options?: Readonly<WaitForOptions<Namespace>>) => Promise<Namespace>;
45
38
  /**
46
- * Create a namespace. Create a new Container Registry namespace. You must
47
- * specify the namespace name and region in which you want it to be created.
48
- * Optionally, you can specify the `project_id` and `is_public` in the request
49
- * payload.
39
+ * Create a namespace. Create a new Container Registry namespace. You must specify the namespace name and region in which you want it to be created. Optionally, you can specify the `project_id` and `is_public` in the request payload.
50
40
  *
51
41
  * @param request - The request {@link CreateNamespaceRequest}
52
42
  * @returns A Promise of Namespace
53
43
  */
54
44
  createNamespace: (request: Readonly<CreateNamespaceRequest>) => Promise<Namespace>;
55
45
  /**
56
- * Update a namespace. Update the parameters of a given namespace, specified
57
- * by its `namespace_id` and `region`. You can update the `description` and
58
- * `is_public` parameters.
46
+ * Update a namespace. Update the parameters of a given namespace, specified by its `namespace_id` and `region`. You can update the `description` and `is_public` parameters.
59
47
  *
60
48
  * @param request - The request {@link UpdateNamespaceRequest}
61
49
  * @returns A Promise of Namespace
62
50
  */
63
51
  updateNamespace: (request: Readonly<UpdateNamespaceRequest>) => Promise<Namespace>;
64
52
  /**
65
- * Delete a namespace. Delete a given namespace. You must specify, in the
66
- * endpoint, the `region` and `namespace_id` parameters of the namespace you
67
- * want to delete.
53
+ * Delete a namespace. Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
68
54
  *
69
55
  * @param request - The request {@link DeleteNamespaceRequest}
70
56
  * @returns A Promise of Namespace
@@ -72,10 +58,7 @@ export declare class API extends ParentAPI {
72
58
  deleteNamespace: (request: Readonly<DeleteNamespaceRequest>) => Promise<Namespace>;
73
59
  protected pageOfListImages: (request?: Readonly<ListImagesRequest>) => Promise<ListImagesResponse>;
74
60
  /**
75
- * List images. List all images in a specified region. By default, the images
76
- * listed are ordered by creation date in ascending order. This can be
77
- * modified via the order_by field. You can also define additional parameters
78
- * for your query, such as the `namespace_id` and `project_id` parameters.
61
+ * List images. List all images in a specified region. By default, the images listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `namespace_id` and `project_id` parameters.
79
62
  *
80
63
  * @param request - The request {@link ListImagesRequest}
81
64
  * @returns A Promise of ListImagesResponse
@@ -85,10 +68,7 @@ export declare class API extends ParentAPI {
85
68
  [Symbol.asyncIterator]: () => AsyncGenerator<Image[], void, void>;
86
69
  };
87
70
  /**
88
- * Get an image. Retrieve information about a given container image, specified
89
- * by its `image_id` and region. Full details about the image, such as `name`,
90
- * `namespace_id`, `status`, `visibility`, and `size` are returned in the
91
- * response.
71
+ * Get an image. Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response.
92
72
  *
93
73
  * @param request - The request {@link GetImageRequest}
94
74
  * @returns A Promise of Image
@@ -103,16 +83,14 @@ export declare class API extends ParentAPI {
103
83
  */
104
84
  waitForImage: (request: Readonly<GetImageRequest>, options?: Readonly<WaitForOptions<Image>>) => Promise<Image>;
105
85
  /**
106
- * Update an image. Update the parameters of a given image, specified by its
107
- * `image_id` and `region`. You can update the `visibility` parameter.
86
+ * Update an image. Update the parameters of a given image, specified by its `image_id` and `region`. You can update the `visibility` parameter.
108
87
  *
109
88
  * @param request - The request {@link UpdateImageRequest}
110
89
  * @returns A Promise of Image
111
90
  */
112
91
  updateImage: (request: Readonly<UpdateImageRequest>) => Promise<Image>;
113
92
  /**
114
- * Delete an image. Delete a given image. You must specify, in the endpoint,
115
- * the `region` and `image_id` parameters of the image you want to delete.
93
+ * Delete an image. Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
116
94
  *
117
95
  * @param request - The request {@link DeleteImageRequest}
118
96
  * @returns A Promise of Image
@@ -120,10 +98,7 @@ export declare class API extends ParentAPI {
120
98
  deleteImage: (request: Readonly<DeleteImageRequest>) => Promise<Image>;
121
99
  protected pageOfListTags: (request: Readonly<ListTagsRequest>) => Promise<ListTagsResponse>;
122
100
  /**
123
- * List tags. List all tags for a given image, specified by region. By
124
- * default, the tags listed are ordered by creation date in ascending order.
125
- * This can be modified via the order_by field. You can also define additional
126
- * parameters for your query, such as the `name`.
101
+ * List tags. List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
127
102
  *
128
103
  * @param request - The request {@link ListTagsRequest}
129
104
  * @returns A Promise of ListTagsResponse
@@ -133,9 +108,7 @@ export declare class API extends ParentAPI {
133
108
  [Symbol.asyncIterator]: () => AsyncGenerator<Tag[], void, void>;
134
109
  };
135
110
  /**
136
- * Get a tag. Retrieve information about a given image tag, specified by its
137
- * `tag_id` and region. Full details about the tag, such as `name`,
138
- * `image_id`, `status`, and `digest` are returned in the response.
111
+ * Get a tag. Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response.
139
112
  *
140
113
  * @param request - The request {@link GetTagRequest}
141
114
  * @returns A Promise of Tag
@@ -150,8 +123,7 @@ export declare class API extends ParentAPI {
150
123
  */
151
124
  waitForTag: (request: Readonly<GetTagRequest>, options?: Readonly<WaitForOptions<Tag>>) => Promise<Tag>;
152
125
  /**
153
- * Delete a tag. Delete a given image tag. You must specify, in the endpoint,
154
- * the `region` and `tag_id` parameters of the tag you want to delete.
126
+ * Delete a tag. Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
155
127
  *
156
128
  * @param request - The request {@link DeleteTagRequest}
157
129
  * @returns A Promise of Tag
@@ -35,21 +35,14 @@ class API extends API$1 {
35
35
  unmarshalListNamespacesResponse
36
36
  );
37
37
  /**
38
- * List namespaces. List all namespaces in a specified region. By default, the
39
- * namespaces listed are ordered by creation date in ascending order. This can
40
- * be modified via the order_by field. You can also define additional
41
- * parameters for your query, such as the `instance_id` and `project_id`
42
- * parameters.
38
+ * List namespaces. List all namespaces in a specified region. By default, the namespaces listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `instance_id` and `project_id` parameters.
43
39
  *
44
40
  * @param request - The request {@link ListNamespacesRequest}
45
41
  * @returns A Promise of ListNamespacesResponse
46
42
  */
47
43
  listNamespaces = (request = {}) => enrichForPagination("namespaces", this.pageOfListNamespaces, request);
48
44
  /**
49
- * Get a namespace. Retrieve information about a given namespace, specified by
50
- * its `namespace_id` and region. Full details about the namespace, such as
51
- * `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and
52
- * `image_count` are returned in the response.
45
+ * Get a namespace. Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response.
53
46
  *
54
47
  * @param request - The request {@link GetNamespaceRequest}
55
48
  * @returns A Promise of Namespace
@@ -77,10 +70,7 @@ class API extends API$1 {
77
70
  options
78
71
  );
79
72
  /**
80
- * Create a namespace. Create a new Container Registry namespace. You must
81
- * specify the namespace name and region in which you want it to be created.
82
- * Optionally, you can specify the `project_id` and `is_public` in the request
83
- * payload.
73
+ * Create a namespace. Create a new Container Registry namespace. You must specify the namespace name and region in which you want it to be created. Optionally, you can specify the `project_id` and `is_public` in the request payload.
84
74
  *
85
75
  * @param request - The request {@link CreateNamespaceRequest}
86
76
  * @returns A Promise of Namespace
@@ -97,9 +87,7 @@ class API extends API$1 {
97
87
  unmarshalNamespace
98
88
  );
99
89
  /**
100
- * Update a namespace. Update the parameters of a given namespace, specified
101
- * by its `namespace_id` and `region`. You can update the `description` and
102
- * `is_public` parameters.
90
+ * Update a namespace. Update the parameters of a given namespace, specified by its `namespace_id` and `region`. You can update the `description` and `is_public` parameters.
103
91
  *
104
92
  * @param request - The request {@link UpdateNamespaceRequest}
105
93
  * @returns A Promise of Namespace
@@ -116,9 +104,7 @@ class API extends API$1 {
116
104
  unmarshalNamespace
117
105
  );
118
106
  /**
119
- * Delete a namespace. Delete a given namespace. You must specify, in the
120
- * endpoint, the `region` and `namespace_id` parameters of the namespace you
121
- * want to delete.
107
+ * Delete a namespace. Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
122
108
  *
123
109
  * @param request - The request {@link DeleteNamespaceRequest}
124
110
  * @returns A Promise of Namespace
@@ -150,20 +136,14 @@ class API extends API$1 {
150
136
  unmarshalListImagesResponse
151
137
  );
152
138
  /**
153
- * List images. List all images in a specified region. By default, the images
154
- * listed are ordered by creation date in ascending order. This can be
155
- * modified via the order_by field. You can also define additional parameters
156
- * for your query, such as the `namespace_id` and `project_id` parameters.
139
+ * List images. List all images in a specified region. By default, the images listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `namespace_id` and `project_id` parameters.
157
140
  *
158
141
  * @param request - The request {@link ListImagesRequest}
159
142
  * @returns A Promise of ListImagesResponse
160
143
  */
161
144
  listImages = (request = {}) => enrichForPagination("images", this.pageOfListImages, request);
162
145
  /**
163
- * Get an image. Retrieve information about a given container image, specified
164
- * by its `image_id` and region. Full details about the image, such as `name`,
165
- * `namespace_id`, `status`, `visibility`, and `size` are returned in the
166
- * response.
146
+ * Get an image. Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response.
167
147
  *
168
148
  * @param request - The request {@link GetImageRequest}
169
149
  * @returns A Promise of Image
@@ -191,8 +171,7 @@ class API extends API$1 {
191
171
  options
192
172
  );
193
173
  /**
194
- * Update an image. Update the parameters of a given image, specified by its
195
- * `image_id` and `region`. You can update the `visibility` parameter.
174
+ * Update an image. Update the parameters of a given image, specified by its `image_id` and `region`. You can update the `visibility` parameter.
196
175
  *
197
176
  * @param request - The request {@link UpdateImageRequest}
198
177
  * @returns A Promise of Image
@@ -209,8 +188,7 @@ class API extends API$1 {
209
188
  unmarshalImage
210
189
  );
211
190
  /**
212
- * Delete an image. Delete a given image. You must specify, in the endpoint,
213
- * the `region` and `image_id` parameters of the image you want to delete.
191
+ * Delete an image. Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
214
192
  *
215
193
  * @param request - The request {@link DeleteImageRequest}
216
194
  * @returns A Promise of Image
@@ -239,19 +217,14 @@ class API extends API$1 {
239
217
  unmarshalListTagsResponse
240
218
  );
241
219
  /**
242
- * List tags. List all tags for a given image, specified by region. By
243
- * default, the tags listed are ordered by creation date in ascending order.
244
- * This can be modified via the order_by field. You can also define additional
245
- * parameters for your query, such as the `name`.
220
+ * List tags. List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
246
221
  *
247
222
  * @param request - The request {@link ListTagsRequest}
248
223
  * @returns A Promise of ListTagsResponse
249
224
  */
250
225
  listTags = (request) => enrichForPagination("tags", this.pageOfListTags, request);
251
226
  /**
252
- * Get a tag. Retrieve information about a given image tag, specified by its
253
- * `tag_id` and region. Full details about the tag, such as `name`,
254
- * `image_id`, `status`, and `digest` are returned in the response.
227
+ * Get a tag. Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response.
255
228
  *
256
229
  * @param request - The request {@link GetTagRequest}
257
230
  * @returns A Promise of Tag
@@ -279,8 +252,7 @@ class API extends API$1 {
279
252
  options
280
253
  );
281
254
  /**
282
- * Delete a tag. Delete a given image tag. You must specify, in the endpoint,
283
- * the `region` and `tag_id` parameters of the tag you want to delete.
255
+ * Delete a tag. Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
284
256
  *
285
257
  * @param request - The request {@link DeleteTagRequest}
286
258
  * @returns A Promise of Tag