@scaleway/sdk 2.72.0 → 2.73.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 (146) 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/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -7,294 +7,378 @@ export type ListTagsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'nam
7
7
  export type NamespaceStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked';
8
8
  export type TagStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked';
9
9
  export interface Image {
10
- /** UUID of the image. */
10
+ /**
11
+ * UUID of the image.
12
+ */
11
13
  id: string;
12
- /** Name of the image, it must be unique within the namespace. */
14
+ /**
15
+ * Name of the image, it must be unique within the namespace.
16
+ */
13
17
  name: string;
14
- /** UUID of the namespace the image belongs to. */
18
+ /**
19
+ * UUID of the namespace the image belongs to.
20
+ */
15
21
  namespaceId: string;
16
- /** Status of the image. */
22
+ /**
23
+ * Status of the image.
24
+ */
17
25
  status: ImageStatus;
18
- /** Details of the image status. */
26
+ /**
27
+ * Details of the image status.
28
+ */
19
29
  statusMessage?: string;
20
30
  /**
21
- * Set to `public` to allow the image to be pulled without authentication.
22
- * Else, set to `private`. Set to `inherit` to keep the same visibility
23
- * configuration as the namespace.
31
+ * Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace.
24
32
  */
25
33
  visibility: ImageVisibility;
26
34
  /**
27
- * Image size in bytes, calculated from the size of image layers. One layer
28
- * used in two tags of the same image is counted once but one layer used in
29
- * two images is counted twice.
35
+ * Image size in bytes, calculated from the size of image layers. One layer used in two tags of the same image is counted once but one layer used in two images is counted twice.
30
36
  */
31
37
  size: number;
32
- /** Date and time of image creation. */
38
+ /**
39
+ * Date and time of image creation.
40
+ */
33
41
  createdAt?: Date;
34
- /** Date and time of last update. */
42
+ /**
43
+ * Date and time of last update.
44
+ */
35
45
  updatedAt?: Date;
36
- /** List of docker tags of the image. */
46
+ /**
47
+ * List of docker tags of the image.
48
+ */
37
49
  tags: string[];
38
50
  }
39
51
  export interface Namespace {
40
- /** UUID of the namespace. */
52
+ /**
53
+ * UUID of the namespace.
54
+ */
41
55
  id: string;
42
- /** Name of the namespace, unique in a region accross all organizations. */
56
+ /**
57
+ * Name of the namespace, unique in a region accross all organizations.
58
+ */
43
59
  name: string;
44
- /** Description of the namespace. */
60
+ /**
61
+ * Description of the namespace.
62
+ */
45
63
  description: string;
46
- /** Owner of the namespace. */
64
+ /**
65
+ * Owner of the namespace.
66
+ */
47
67
  organizationId: string;
48
- /** Project of the namespace. */
68
+ /**
69
+ * Project of the namespace.
70
+ */
49
71
  projectId: string;
50
- /** Namespace status. */
72
+ /**
73
+ * Namespace status.
74
+ */
51
75
  status: NamespaceStatus;
52
- /** Namespace status details. */
76
+ /**
77
+ * Namespace status details.
78
+ */
53
79
  statusMessage: string;
54
- /** Endpoint reachable by docker. */
80
+ /**
81
+ * Endpoint reachable by docker.
82
+ */
55
83
  endpoint: string;
56
- /** Defines whether or not namespace is public. */
84
+ /**
85
+ * Defines whether or not namespace is public.
86
+ */
57
87
  isPublic: boolean;
58
88
  /**
59
- * Total size of the namespace, calculated as the sum of the size of all
60
- * images in the namespace.
89
+ * Total size of the namespace, calculated as the sum of the size of all images in the namespace.
61
90
  */
62
91
  size: number;
63
- /** Date and time of creation. */
92
+ /**
93
+ * Date and time of creation.
94
+ */
64
95
  createdAt?: Date;
65
- /** Date and time of last update. */
96
+ /**
97
+ * Date and time of last update.
98
+ */
66
99
  updatedAt?: Date;
67
- /** Number of images in the namespace. */
100
+ /**
101
+ * Number of images in the namespace.
102
+ */
68
103
  imageCount: number;
69
- /** Region the namespace belongs to. */
104
+ /**
105
+ * Region the namespace belongs to.
106
+ */
70
107
  region: ScwRegion;
71
108
  }
72
109
  export interface Tag {
73
- /** UUID of the tag. */
110
+ /**
111
+ * UUID of the tag.
112
+ */
74
113
  id: string;
75
- /** Tag name, unique to an image. */
114
+ /**
115
+ * Tag name, unique to an image.
116
+ */
76
117
  name: string;
77
- /** Image ID the of the image the tag belongs to. */
118
+ /**
119
+ * Image ID the of the image the tag belongs to.
120
+ */
78
121
  imageId: string;
79
- /** Tag status. */
122
+ /**
123
+ * Tag status.
124
+ */
80
125
  status: TagStatus;
81
126
  /**
82
- * Hash of the tag content. Several tags of a same image may have the same
83
- * digest.
127
+ * Hash of the tag content. Several tags of a same image may have the same digest.
84
128
  */
85
129
  digest: string;
86
- /** Date and time of creation. */
130
+ /**
131
+ * Date and time of creation.
132
+ */
87
133
  createdAt?: Date;
88
- /** Date and time of last update. */
134
+ /**
135
+ * Date and time of last update.
136
+ */
89
137
  updatedAt?: Date;
90
138
  }
91
139
  export type CreateNamespaceRequest = {
92
140
  /**
93
- * Region to target. If none is passed will use default region from the
94
- * config.
141
+ * Region to target. If none is passed will use default region from the config.
95
142
  */
96
143
  region?: ScwRegion;
97
- /** Name of the namespace. */
144
+ /**
145
+ * Name of the namespace.
146
+ */
98
147
  name?: string;
99
- /** Description of the namespace. */
148
+ /**
149
+ * Description of the namespace.
150
+ */
100
151
  description: string;
101
152
  /**
102
153
  * @deprecated Namespace owner (deprecated).
103
154
  *
104
- * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId'
105
- * could be set.
155
+ * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
106
156
  */
107
157
  organizationId?: string;
108
158
  /**
109
159
  * Project ID on which the namespace will be created.
110
160
  *
111
- * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId'
112
- * could be set.
161
+ * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
113
162
  */
114
163
  projectId?: string;
115
- /** Defines whether or not namespace is public. */
164
+ /**
165
+ * Defines whether or not namespace is public.
166
+ */
116
167
  isPublic: boolean;
117
168
  };
118
169
  export type DeleteImageRequest = {
119
170
  /**
120
- * Region to target. If none is passed will use default region from the
121
- * config.
171
+ * Region to target. If none is passed will use default region from the config.
122
172
  */
123
173
  region?: ScwRegion;
124
- /** UUID of the image. */
174
+ /**
175
+ * UUID of the image.
176
+ */
125
177
  imageId: string;
126
178
  };
127
179
  export type DeleteNamespaceRequest = {
128
180
  /**
129
- * Region to target. If none is passed will use default region from the
130
- * config.
181
+ * Region to target. If none is passed will use default region from the config.
131
182
  */
132
183
  region?: ScwRegion;
133
- /** UUID of the namespace. */
184
+ /**
185
+ * UUID of the namespace.
186
+ */
134
187
  namespaceId: string;
135
188
  };
136
189
  export type DeleteTagRequest = {
137
190
  /**
138
- * Region to target. If none is passed will use default region from the
139
- * config.
191
+ * Region to target. If none is passed will use default region from the config.
140
192
  */
141
193
  region?: ScwRegion;
142
- /** UUID of the tag. */
194
+ /**
195
+ * UUID of the tag.
196
+ */
143
197
  tagId: string;
144
198
  /**
145
- * @deprecated If two tags share the same digest the deletion will fail unless
146
- * this parameter is set to true (deprecated).
199
+ * @deprecated If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated).
147
200
  */
148
201
  force?: boolean;
149
202
  };
150
203
  export type GetImageRequest = {
151
204
  /**
152
- * Region to target. If none is passed will use default region from the
153
- * config.
205
+ * Region to target. If none is passed will use default region from the config.
154
206
  */
155
207
  region?: ScwRegion;
156
- /** UUID of the image. */
208
+ /**
209
+ * UUID of the image.
210
+ */
157
211
  imageId: string;
158
212
  };
159
213
  export type GetNamespaceRequest = {
160
214
  /**
161
- * Region to target. If none is passed will use default region from the
162
- * config.
215
+ * Region to target. If none is passed will use default region from the config.
163
216
  */
164
217
  region?: ScwRegion;
165
- /** UUID of the namespace. */
218
+ /**
219
+ * UUID of the namespace.
220
+ */
166
221
  namespaceId: string;
167
222
  };
168
223
  export type GetTagRequest = {
169
224
  /**
170
- * Region to target. If none is passed will use default region from the
171
- * config.
225
+ * Region to target. If none is passed will use default region from the config.
172
226
  */
173
227
  region?: ScwRegion;
174
- /** UUID of the tag. */
228
+ /**
229
+ * UUID of the tag.
230
+ */
175
231
  tagId: string;
176
232
  };
177
233
  export type ListImagesRequest = {
178
234
  /**
179
- * Region to target. If none is passed will use default region from the
180
- * config.
235
+ * Region to target. If none is passed will use default region from the config.
181
236
  */
182
237
  region?: ScwRegion;
183
- /** A positive integer to choose the page to display. */
238
+ /**
239
+ * A positive integer to choose the page to display.
240
+ */
184
241
  page?: number;
185
242
  /**
186
- * A positive integer lower or equal to 100 to select the number of items to
187
- * display.
243
+ * A positive integer lower or equal to 100 to select the number of items to display.
188
244
  */
189
245
  pageSize?: number;
190
246
  /**
191
- * Criteria to use when ordering image listings. Possible values are
192
- * `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`,
193
- * `status_asc` and `status_desc`. The default value is `created_at_asc`.
247
+ * Criteria to use when ordering image listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
194
248
  */
195
249
  orderBy?: ListImagesRequestOrderBy;
196
- /** Filter by the namespace ID. */
250
+ /**
251
+ * Filter by the namespace ID.
252
+ */
197
253
  namespaceId?: string;
198
- /** Filter by the image name (exact match). */
254
+ /**
255
+ * Filter by the image name (exact match).
256
+ */
199
257
  name?: string;
200
- /** Filter by Organization ID. */
258
+ /**
259
+ * Filter by Organization ID.
260
+ */
201
261
  organizationId?: string;
202
- /** Filter by Project ID. */
262
+ /**
263
+ * Filter by Project ID.
264
+ */
203
265
  projectId?: string;
204
266
  };
205
267
  export interface ListImagesResponse {
206
- /** Paginated list of images that match the selected filters. */
268
+ /**
269
+ * Paginated list of images that match the selected filters.
270
+ */
207
271
  images: Image[];
208
- /** Total number of images that match the selected filters. */
272
+ /**
273
+ * Total number of images that match the selected filters.
274
+ */
209
275
  totalCount: number;
210
276
  }
211
277
  export type ListNamespacesRequest = {
212
278
  /**
213
- * Region to target. If none is passed will use default region from the
214
- * config.
279
+ * Region to target. If none is passed will use default region from the config.
215
280
  */
216
281
  region?: ScwRegion;
217
- /** A positive integer to choose the page to display. */
282
+ /**
283
+ * A positive integer to choose the page to display.
284
+ */
218
285
  page?: number;
219
286
  /**
220
- * A positive integer lower or equal to 100 to select the number of items to
221
- * display.
287
+ * A positive integer lower or equal to 100 to select the number of items to display.
222
288
  */
223
289
  pageSize?: number;
224
290
  /**
225
- * Criteria to use when ordering namespace listings. Possible values are
226
- * `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`,
227
- * `status_asc` and `status_desc`. The default value is `created_at_asc`.
291
+ * Criteria to use when ordering namespace listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
228
292
  */
229
293
  orderBy?: ListNamespacesRequestOrderBy;
230
- /** Filter by Organization ID. */
294
+ /**
295
+ * Filter by Organization ID.
296
+ */
231
297
  organizationId?: string;
232
- /** Filter by Project ID. */
298
+ /**
299
+ * Filter by Project ID.
300
+ */
233
301
  projectId?: string;
234
- /** Filter by the namespace name (exact match). */
302
+ /**
303
+ * Filter by the namespace name (exact match).
304
+ */
235
305
  name?: string;
236
306
  };
237
307
  export interface ListNamespacesResponse {
238
- /** Paginated list of namespaces that match the selected filters. */
308
+ /**
309
+ * Paginated list of namespaces that match the selected filters.
310
+ */
239
311
  namespaces: Namespace[];
240
- /** Total number of namespaces that match the selected filters. */
312
+ /**
313
+ * Total number of namespaces that match the selected filters.
314
+ */
241
315
  totalCount: number;
242
316
  }
243
317
  export type ListTagsRequest = {
244
318
  /**
245
- * Region to target. If none is passed will use default region from the
246
- * config.
319
+ * Region to target. If none is passed will use default region from the config.
247
320
  */
248
321
  region?: ScwRegion;
249
- /** UUID of the image. */
322
+ /**
323
+ * UUID of the image.
324
+ */
250
325
  imageId: string;
251
- /** A positive integer to choose the page to display. */
326
+ /**
327
+ * A positive integer to choose the page to display.
328
+ */
252
329
  page?: number;
253
330
  /**
254
- * A positive integer lower or equal to 100 to select the number of items to
255
- * display.
331
+ * A positive integer lower or equal to 100 to select the number of items to display.
256
332
  */
257
333
  pageSize?: number;
258
334
  /**
259
- * Criteria to use when ordering tag listings. Possible values are
260
- * `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`,
261
- * `status_asc` and `status_desc`. The default value is `created_at_asc`.
335
+ * Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
262
336
  */
263
337
  orderBy?: ListTagsRequestOrderBy;
264
- /** Filter by the tag name (exact match). */
338
+ /**
339
+ * Filter by the tag name (exact match).
340
+ */
265
341
  name?: string;
266
342
  };
267
343
  export interface ListTagsResponse {
268
- /** Paginated list of tags that match the selected filters. */
344
+ /**
345
+ * Paginated list of tags that match the selected filters.
346
+ */
269
347
  tags: Tag[];
270
- /** Total number of tags that match the selected filters. */
348
+ /**
349
+ * Total number of tags that match the selected filters.
350
+ */
271
351
  totalCount: number;
272
352
  }
273
353
  export type UpdateImageRequest = {
274
354
  /**
275
- * Region to target. If none is passed will use default region from the
276
- * config.
355
+ * Region to target. If none is passed will use default region from the config.
277
356
  */
278
357
  region?: ScwRegion;
279
- /** ID of the image to update. */
358
+ /**
359
+ * ID of the image to update.
360
+ */
280
361
  imageId: string;
281
362
  /**
282
- * Set to `public` to allow the image to be pulled without authentication.
283
- * Else, set to `private`. Set to `inherit` to keep the same visibility
284
- * configuration as the namespace.
363
+ * Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace.
285
364
  */
286
365
  visibility?: ImageVisibility;
287
366
  };
288
367
  export type UpdateNamespaceRequest = {
289
368
  /**
290
- * Region to target. If none is passed will use default region from the
291
- * config.
369
+ * Region to target. If none is passed will use default region from the config.
292
370
  */
293
371
  region?: ScwRegion;
294
- /** ID of the namespace to update. */
372
+ /**
373
+ * ID of the namespace to update.
374
+ */
295
375
  namespaceId: string;
296
- /** Namespace description. */
376
+ /**
377
+ * Namespace description.
378
+ */
297
379
  description?: string;
298
- /** Defines whether or not the namespace is public. */
380
+ /**
381
+ * Defines whether or not the namespace is public.
382
+ */
299
383
  isPublic?: boolean;
300
384
  };
@@ -17,8 +17,7 @@ class API extends api.API {
17
17
  "pl-waw"
18
18
  ];
19
19
  /**
20
- * Create a secret. Create a secret in a given region specified by the
21
- * `region` parameter.
20
+ * Create a secret. Create a secret in a given region specified by the `region` parameter.
22
21
  *
23
22
  * @param request - The request {@link CreateSecretRequest}
24
23
  * @returns A Promise of Secret
@@ -35,8 +34,7 @@ class API extends api.API {
35
34
  marshalling_gen.unmarshalSecret
36
35
  );
37
36
  /**
38
- * Get metadata using the secret's ID. Retrieve the metadata of a secret
39
- * specified by the `region` and `secret_id` parameters.
37
+ * Get metadata using the secret's ID. Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters.
40
38
  *
41
39
  * @param request - The request {@link GetSecretRequest}
42
40
  * @returns A Promise of Secret
@@ -49,9 +47,7 @@ class API extends api.API {
49
47
  marshalling_gen.unmarshalSecret
50
48
  );
51
49
  /**
52
- * Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
53
- * description and ephemeral policy. The secret to update is specified by the
54
- * `secret_id` and `region` parameters.
50
+ * Update metadata of a secret. Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters.
55
51
  *
56
52
  * @param request - The request {@link UpdateSecretRequest}
57
53
  * @returns A Promise of Secret
@@ -68,8 +64,7 @@ class API extends api.API {
68
64
  marshalling_gen.unmarshalSecret
69
65
  );
70
66
  /**
71
- * Delete a secret. Delete a given secret specified by the `region` and
72
- * `secret_id` parameters.
67
+ * Delete a secret. Delete a given secret specified by the `region` and `secret_id` parameters.
73
68
  *
74
69
  * @param request - The request {@link DeleteSecretRequest}
75
70
  */
@@ -101,18 +96,14 @@ class API extends api.API {
101
96
  marshalling_gen.unmarshalListSecretsResponse
102
97
  );
103
98
  /**
104
- * List secrets. Retrieve the list of secrets created within an Organization
105
- * and/or Project. You must specify either the `organization_id` or the
106
- * `project_id` and the `region`.
99
+ * List secrets. Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
107
100
  *
108
101
  * @param request - The request {@link ListSecretsRequest}
109
102
  * @returns A Promise of ListSecretsResponse
110
103
  */
111
104
  listSecrets = (request) => resourcePaginator.enrichForPagination("secrets", this.pageOfListSecrets, request);
112
105
  /**
113
- * Browse secrets. Retrieve the list of secrets and folders for the given
114
- * prefix. You must specify either the `organization_id` or the `project_id`
115
- * and the `region`.
106
+ * Browse secrets. Retrieve the list of secrets and folders for the given prefix. You must specify either the `organization_id` or the `project_id` and the `region`.
116
107
  *
117
108
  * @param request - The request {@link BrowseSecretsRequest}
118
109
  * @returns A Promise of BrowseSecretsResponse
@@ -137,9 +128,7 @@ class API extends api.API {
137
128
  marshalling_gen.unmarshalBrowseSecretsResponse
138
129
  );
139
130
  /**
140
- * Enable secret protection. Enable secret protection for a given secret
141
- * specified by the `secret_id` parameter. Enabling secret protection means
142
- * that your secret can be read and modified, but it cannot be deleted.
131
+ * Enable secret protection. Enable secret protection for a given secret specified by the `secret_id` parameter. Enabling secret protection means that your secret can be read and modified, but it cannot be deleted.
143
132
  *
144
133
  * @param request - The request {@link ProtectSecretRequest}
145
134
  * @returns A Promise of Secret
@@ -154,9 +143,7 @@ class API extends api.API {
154
143
  marshalling_gen.unmarshalSecret
155
144
  );
156
145
  /**
157
- * Disable secret protection. Disable secret protection for a given secret
158
- * specified by the `secret_id` parameter. Disabling secret protection means
159
- * that your secret can be read, modified and deleted.
146
+ * Disable secret protection. Disable secret protection for a given secret specified by the `secret_id` parameter. Disabling secret protection means that your secret can be read, modified and deleted.
160
147
  *
161
148
  * @param request - The request {@link UnprotectSecretRequest}
162
149
  * @returns A Promise of Secret
@@ -184,8 +171,7 @@ class API extends api.API {
184
171
  path: `/secret-manager/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${marshalling.validatePathParam("secretId", request.secretId)}/add-owner`
185
172
  });
186
173
  /**
187
- * Create a version. Create a version of a given secret specified by the
188
- * `region` and `secret_id` parameters.
174
+ * Create a version. Create a version of a given secret specified by the `region` and `secret_id` parameters.
189
175
  *
190
176
  * @param request - The request {@link CreateSecretVersionRequest}
191
177
  * @returns A Promise of SecretVersion
@@ -202,9 +188,7 @@ class API extends api.API {
202
188
  marshalling_gen.unmarshalSecretVersion
203
189
  );
204
190
  /**
205
- * Get metadata of a secret's version using the secret's ID. Retrieve the
206
- * metadata of a secret's given version specified by the `region`, `secret_id`
207
- * and `revision` parameters.
191
+ * Get metadata of a secret's version using the secret's ID. Retrieve the metadata of a secret's given version specified by the `region`, `secret_id` and `revision` parameters.
208
192
  *
209
193
  * @param request - The request {@link GetSecretVersionRequest}
210
194
  * @returns A Promise of SecretVersion
@@ -217,8 +201,7 @@ class API extends api.API {
217
201
  marshalling_gen.unmarshalSecretVersion
218
202
  );
219
203
  /**
220
- * Update metadata of a version. Edit the metadata of a secret's given
221
- * version, specified by the `region`, `secret_id` and `revision` parameters.
204
+ * Update metadata of a version. Edit the metadata of a secret's given version, specified by the `region`, `secret_id` and `revision` parameters.
222
205
  *
223
206
  * @param request - The request {@link UpdateSecretVersionRequest}
224
207
  * @returns A Promise of SecretVersion
@@ -235,8 +218,7 @@ class API extends api.API {
235
218
  marshalling_gen.unmarshalSecretVersion
236
219
  );
237
220
  /**
238
- * Delete a version. Delete a secret's version and the sensitive data
239
- * contained in it. Deleting a version is permanent and cannot be undone.
221
+ * Delete a version. Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone.
240
222
  *
241
223
  * @param request - The request {@link DeleteSecretVersionRequest}
242
224
  */
@@ -260,18 +242,14 @@ class API extends api.API {
260
242
  marshalling_gen.unmarshalListSecretVersionsResponse
261
243
  );
262
244
  /**
263
- * List versions of a secret using the secret's ID. Retrieve the list of a
264
- * given secret's versions specified by the `secret_id` and `region`
265
- * parameters.
245
+ * List versions of a secret using the secret's ID. Retrieve the list of a given secret's versions specified by the `secret_id` and `region` parameters.
266
246
  *
267
247
  * @param request - The request {@link ListSecretVersionsRequest}
268
248
  * @returns A Promise of ListSecretVersionsResponse
269
249
  */
270
250
  listSecretVersions = (request) => resourcePaginator.enrichForPagination("versions", this.pageOfListSecretVersions, request);
271
251
  /**
272
- * Access a secret's version using the secret's ID. Access sensitive data in a
273
- * secret's version specified by the `region`, `secret_id` and `revision`
274
- * parameters.
252
+ * Access a secret's version using the secret's ID. Access sensitive data in a secret's version specified by the `region`, `secret_id` and `revision` parameters.
275
253
  *
276
254
  * @param request - The request {@link AccessSecretVersionRequest}
277
255
  * @returns A Promise of AccessSecretVersionResponse
@@ -284,9 +262,7 @@ class API extends api.API {
284
262
  marshalling_gen.unmarshalAccessSecretVersionResponse
285
263
  );
286
264
  /**
287
- * Access a secret's version using the secret's name and path. Access
288
- * sensitive data in a secret's version specified by the `region`,
289
- * `secret_name`, `secret_path` and `revision` parameters.
265
+ * Access a secret's version using the secret's name and path. Access sensitive data in a secret's version specified by the `region`, `secret_name`, `secret_path` and `revision` parameters.
290
266
  *
291
267
  * @param request - The request {@link AccessSecretVersionByPathRequest}
292
268
  * @returns A Promise of AccessSecretVersionResponse
@@ -307,8 +283,7 @@ class API extends api.API {
307
283
  marshalling_gen.unmarshalAccessSecretVersionResponse
308
284
  );
309
285
  /**
310
- * Enable a version. Make a specific version accessible. You must specify the
311
- * `region`, `secret_id` and `revision` parameters.
286
+ * Enable a version. Make a specific version accessible. You must specify the `region`, `secret_id` and `revision` parameters.
312
287
  *
313
288
  * @param request - The request {@link EnableSecretVersionRequest}
314
289
  * @returns A Promise of SecretVersion
@@ -323,8 +298,7 @@ class API extends api.API {
323
298
  marshalling_gen.unmarshalSecretVersion
324
299
  );
325
300
  /**
326
- * Disable a version. Make a specific version inaccessible. You must specify
327
- * the `region`, `secret_id` and `revision` parameters.
301
+ * Disable a version. Make a specific version inaccessible. You must specify the `region`, `secret_id` and `revision` parameters.
328
302
  *
329
303
  * @param request - The request {@link DisableSecretVersionRequest}
330
304
  * @returns A Promise of SecretVersion
@@ -389,8 +363,7 @@ class API extends api.API {
389
363
  */
390
364
  listSecretTypes = (request = {}) => resourcePaginator.enrichForPagination("types", this.pageOfListSecretTypes, request);
391
365
  /**
392
- * Restore a version. Restore a secret's version specified by the `region`,
393
- * `secret_id` and `revision` parameters.
366
+ * Restore a version. Restore a secret's version specified by the `region`, `secret_id` and `revision` parameters.
394
367
  *
395
368
  * @param request - The request {@link RestoreSecretVersionRequest}
396
369
  * @returns A Promise of SecretVersion
@@ -405,8 +378,7 @@ class API extends api.API {
405
378
  marshalling_gen.unmarshalSecretVersion
406
379
  );
407
380
  /**
408
- * Restore a secret. Restore a secret and all its versions scheduled for
409
- * deletion specified by the `region` and `secret_id` parameters.
381
+ * Restore a secret. Restore a secret and all its versions scheduled for deletion specified by the `region` and `secret_id` parameters.
410
382
  *
411
383
  * @param request - The request {@link RestoreSecretRequest}
412
384
  * @returns A Promise of Secret