@scaleway/sdk 2.0.0-alpha.9 → 2.0.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 (78) hide show
  1. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +12 -12
  2. package/dist/api/baremetal/v1/marshalling.gen.js +63 -52
  3. package/dist/api/billing/v2alpha1/api.gen.js +32 -1
  4. package/dist/api/billing/v2alpha1/marshalling.gen.js +46 -1
  5. package/dist/api/block/v1alpha1/api.gen.js +23 -19
  6. package/dist/api/block/v1alpha1/marshalling.gen.js +47 -40
  7. package/dist/api/block/v1alpha1/validation-rules.gen.js +11 -1
  8. package/dist/api/cockpit/v1beta1/api.gen.js +143 -48
  9. package/dist/api/cockpit/v1beta1/marshalling.gen.js +89 -36
  10. package/dist/api/container/v1beta1/index.gen.js +2 -0
  11. package/dist/api/container/v1beta1/marshalling.gen.js +63 -35
  12. package/dist/api/container/v1beta1/validation-rules.gen.js +44 -0
  13. package/dist/api/document_db/v1beta1/marshalling.gen.js +117 -61
  14. package/dist/api/domain/v2beta1/api.gen.js +29 -37
  15. package/dist/api/domain/v2beta1/index.gen.js +0 -2
  16. package/dist/api/domain/v2beta1/marshalling.gen.js +408 -194
  17. package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -14
  18. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +2 -2
  19. package/dist/api/function/v1beta1/api.gen.js +36 -0
  20. package/dist/api/function/v1beta1/index.gen.js +2 -0
  21. package/dist/api/function/v1beta1/marshalling.gen.js +64 -36
  22. package/dist/api/function/v1beta1/validation-rules.gen.js +44 -0
  23. package/dist/api/iam/v1alpha1/api.gen.js +54 -44
  24. package/dist/api/iam/v1alpha1/marshalling.gen.js +69 -34
  25. package/dist/api/iam/v1alpha1/validation-rules.gen.js +10 -1
  26. package/dist/api/instance/v1/api.gen.js +1 -1
  27. package/dist/api/instance/v1/content.gen.js +4 -1
  28. package/dist/api/instance/v1/index.js +1 -1
  29. package/dist/api/instance/v1/marshalling.gen.js +414 -205
  30. package/dist/api/iot/v1/api.gen.js +24 -32
  31. package/dist/api/iot/v1/marshalling.gen.js +87 -36
  32. package/dist/api/ipam/index.js +2 -0
  33. package/dist/api/ipam/v1/api.gen.js +113 -0
  34. package/dist/api/ipam/v1/index.gen.js +6 -0
  35. package/dist/api/ipam/v1/marshalling.gen.js +77 -0
  36. package/dist/api/ipam/v1/validation-rules.gen.js +11 -0
  37. package/dist/api/ipfs/v1alpha1/api.gen.js +120 -3
  38. package/dist/api/ipfs/v1alpha1/content.gen.js +4 -1
  39. package/dist/api/ipfs/v1alpha1/index.gen.js +2 -2
  40. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +71 -19
  41. package/dist/api/jobs/index.js +2 -0
  42. package/dist/api/jobs/v1alpha1/api.gen.js +111 -0
  43. package/dist/api/jobs/v1alpha1/content.gen.js +7 -0
  44. package/dist/api/jobs/v1alpha1/index.gen.js +7 -0
  45. package/dist/api/jobs/v1alpha1/marshalling.gen.js +84 -0
  46. package/dist/api/jobs/v1alpha1/validation-rules.gen.js +45 -0
  47. package/dist/api/k8s/v1/marshalling.gen.js +128 -40
  48. package/dist/api/lb/v1/api.gen.js +1 -1
  49. package/dist/api/lb/v1/marshalling.gen.js +268 -152
  50. package/dist/api/marketplace/v1/marshalling.gen.js +11 -11
  51. package/dist/api/marketplace/v2/api.gen.js +3 -3
  52. package/dist/api/mnq/index.js +2 -0
  53. package/dist/api/mnq/v1alpha1/api.gen.js +12 -20
  54. package/dist/api/mnq/v1alpha1/marshalling.gen.js +19 -14
  55. package/dist/api/mnq/v1beta1/api.gen.js +529 -0
  56. package/dist/api/mnq/v1beta1/index.gen.js +6 -0
  57. package/dist/api/mnq/v1beta1/marshalling.gen.js +212 -0
  58. package/dist/api/mnq/v1beta1/validation-rules.gen.js +77 -0
  59. package/dist/api/rdb/v1/marshalling.gen.js +131 -66
  60. package/dist/api/redis/v1/marshalling.gen.js +51 -27
  61. package/dist/api/registry/v1/marshalling.gen.js +6 -4
  62. package/dist/api/secret/v1alpha1/api.gen.js +2 -2
  63. package/dist/api/secret/v1alpha1/marshalling.gen.js +17 -5
  64. package/dist/api/std/index.gen.js +1 -0
  65. package/dist/api/tem/v1alpha1/api.gen.js +8 -2
  66. package/dist/api/tem/v1alpha1/marshalling.gen.js +35 -13
  67. package/dist/api/test/v1/marshalling.gen.js +5 -3
  68. package/dist/api/vpc/v2/marshalling.gen.js +2 -0
  69. package/dist/api/vpcgw/v1/marshalling.gen.js +53 -24
  70. package/dist/api/webhosting/v1alpha1/api.gen.js +2 -54
  71. package/dist/api/webhosting/v1alpha1/index.gen.js +1 -1
  72. package/dist/api/webhosting/v1alpha1/marshalling.gen.js +14 -41
  73. package/dist/api/webhosting/v1alpha1/validation-rules.gen.js +1 -10
  74. package/dist/index.cjs +4351 -1833
  75. package/dist/index.d.ts +6778 -2542
  76. package/dist/index.js +34 -28
  77. package/dist/scw/constants.js +1 -1
  78. package/package.json +2 -2
@@ -25,16 +25,16 @@ const unmarshalAPIKey = data => {
25
25
  }
26
26
  return {
27
27
  accessKey: data.access_key,
28
- applicationId: data.application_id ? data.application_id : undefined,
28
+ applicationId: data.application_id,
29
29
  createdAt: unmarshalDate(data.created_at),
30
30
  creationIp: data.creation_ip,
31
31
  defaultProjectId: data.default_project_id,
32
32
  description: data.description,
33
33
  editable: data.editable,
34
34
  expiresAt: unmarshalDate(data.expires_at),
35
- secretKey: data.secret_key ? data.secret_key : undefined,
35
+ secretKey: data.secret_key,
36
36
  updatedAt: unmarshalDate(data.updated_at),
37
- userId: data.user_id ? data.user_id : undefined
37
+ userId: data.user_id
38
38
  };
39
39
  };
40
40
  const unmarshalApplication = data => {
@@ -67,25 +67,41 @@ const unmarshalGroup = data => {
67
67
  userIds: data.user_ids
68
68
  };
69
69
  };
70
+ const unmarshalLog = data => {
71
+ if (!isJSONObject(data)) {
72
+ throw new TypeError(`Unmarshalling the type 'Log' failed as data isn't a dictionary.`);
73
+ }
74
+ return {
75
+ action: data.action,
76
+ bearerId: data.bearer_id,
77
+ createdAt: unmarshalDate(data.created_at),
78
+ id: data.id,
79
+ ip: data.ip,
80
+ organizationId: data.organization_id,
81
+ resourceId: data.resource_id,
82
+ resourceType: data.resource_type,
83
+ userAgent: data.user_agent
84
+ };
85
+ };
70
86
  const unmarshalPolicy = data => {
71
87
  if (!isJSONObject(data)) {
72
88
  throw new TypeError(`Unmarshalling the type 'Policy' failed as data isn't a dictionary.`);
73
89
  }
74
90
  return {
75
- applicationId: data.application_id ? data.application_id : undefined,
91
+ applicationId: data.application_id,
76
92
  createdAt: unmarshalDate(data.created_at),
77
93
  description: data.description,
78
94
  editable: data.editable,
79
- groupId: data.group_id ? data.group_id : undefined,
95
+ groupId: data.group_id,
80
96
  id: data.id,
81
97
  name: data.name,
82
98
  nbPermissionSets: data.nb_permission_sets,
83
99
  nbRules: data.nb_rules,
84
100
  nbScopes: data.nb_scopes,
85
- noPrincipal: data.no_principal ? data.no_principal : undefined,
101
+ noPrincipal: data.no_principal,
86
102
  organizationId: data.organization_id,
87
103
  updatedAt: unmarshalDate(data.updated_at),
88
- userId: data.user_id ? data.user_id : undefined
104
+ userId: data.user_id
89
105
  };
90
106
  };
91
107
  const unmarshalQuotum = data => {
@@ -93,9 +109,9 @@ const unmarshalQuotum = data => {
93
109
  throw new TypeError(`Unmarshalling the type 'Quotum' failed as data isn't a dictionary.`);
94
110
  }
95
111
  return {
96
- limit: data.limit ? data.limit : undefined,
112
+ limit: data.limit,
97
113
  name: data.name,
98
- unlimited: data.unlimited ? data.unlimited : undefined
114
+ unlimited: data.unlimited
99
115
  };
100
116
  };
101
117
  const unmarshalSSHKey = data => {
@@ -128,7 +144,7 @@ const unmarshalUser = data => {
128
144
  mfa: data.mfa,
129
145
  organizationId: data.organization_id,
130
146
  status: data.status,
131
- twoFactorEnabled: data.two_factor_enabled ? data.two_factor_enabled : undefined,
147
+ twoFactorEnabled: data.two_factor_enabled,
132
148
  type: data.type,
133
149
  updatedAt: unmarshalDate(data.updated_at)
134
150
  };
@@ -169,12 +185,21 @@ const unmarshalListJWTsResponse = data => {
169
185
  totalCount: data.total_count
170
186
  };
171
187
  };
188
+ const unmarshalListLogsResponse = data => {
189
+ if (!isJSONObject(data)) {
190
+ throw new TypeError(`Unmarshalling the type 'ListLogsResponse' failed as data isn't a dictionary.`);
191
+ }
192
+ return {
193
+ logs: unmarshalArrayOfObject(data.logs, unmarshalLog),
194
+ totalCount: data.total_count
195
+ };
196
+ };
172
197
  const unmarshalPermissionSet = data => {
173
198
  if (!isJSONObject(data)) {
174
199
  throw new TypeError(`Unmarshalling the type 'PermissionSet' failed as data isn't a dictionary.`);
175
200
  }
176
201
  return {
177
- categories: data.categories ? data.categories : undefined,
202
+ categories: data.categories,
178
203
  description: data.description,
179
204
  id: data.id,
180
205
  name: data.name,
@@ -213,12 +238,12 @@ const unmarshalRule = data => {
213
238
  throw new TypeError(`Unmarshalling the type 'Rule' failed as data isn't a dictionary.`);
214
239
  }
215
240
  return {
216
- accountRootUserId: data.account_root_user_id ? data.account_root_user_id : undefined,
241
+ accountRootUserId: data.account_root_user_id,
217
242
  id: data.id,
218
- organizationId: data.organization_id ? data.organization_id : undefined,
219
- permissionSetNames: data.permission_set_names ? data.permission_set_names : undefined,
243
+ organizationId: data.organization_id,
244
+ permissionSetNames: data.permission_set_names,
220
245
  permissionSetsScopeType: data.permission_sets_scope_type,
221
- projectIds: data.project_ids ? data.project_ids : undefined
246
+ projectIds: data.project_ids
222
247
  };
223
248
  };
224
249
  const unmarshalListRulesResponse = data => {
@@ -258,11 +283,11 @@ const unmarshalSetRulesResponse = data => {
258
283
  };
259
284
  const marshalAddGroupMemberRequest = (request, defaults) => ({
260
285
  ...resolveOneOf([{
261
- param: 'application_id',
262
- value: request.applicationId
263
- }, {
264
286
  param: 'user_id',
265
287
  value: request.userId
288
+ }, {
289
+ param: 'application_id',
290
+ value: request.applicationId
266
291
  }])
267
292
  });
268
293
  const marshalAddGroupMembersRequest = (request, defaults) => ({
@@ -291,23 +316,33 @@ const marshalCreateGroupRequest = (request, defaults) => ({
291
316
  name: request.name || randomName('grp'),
292
317
  organization_id: request.organizationId ?? defaults.defaultOrganizationId
293
318
  });
319
+ const marshalRuleSpecs = (request, defaults) => ({
320
+ permission_set_names: request.permissionSetNames,
321
+ ...resolveOneOf([{
322
+ param: 'project_ids',
323
+ value: request.projectIds
324
+ }, {
325
+ param: 'organization_id',
326
+ value: request.organizationId
327
+ }])
328
+ });
294
329
  const marshalCreatePolicyRequest = (request, defaults) => ({
295
330
  description: request.description,
296
331
  name: request.name || randomName('pol'),
297
332
  organization_id: request.organizationId ?? defaults.defaultOrganizationId,
298
- rules: request.rules,
333
+ rules: request.rules !== undefined ? request.rules.map(elt => marshalRuleSpecs(elt)) : undefined,
299
334
  ...resolveOneOf([{
300
- param: 'application_id',
301
- value: request.applicationId
335
+ param: 'user_id',
336
+ value: request.userId
302
337
  }, {
303
338
  param: 'group_id',
304
339
  value: request.groupId
340
+ }, {
341
+ param: 'application_id',
342
+ value: request.applicationId
305
343
  }, {
306
344
  param: 'no_principal',
307
345
  value: request.noPrincipal
308
- }, {
309
- param: 'user_id',
310
- value: request.userId
311
346
  }])
312
347
  });
313
348
  const marshalCreateSSHKeyRequest = (request, defaults) => ({
@@ -321,11 +356,11 @@ const marshalCreateUserRequest = (request, defaults) => ({
321
356
  });
322
357
  const marshalRemoveGroupMemberRequest = (request, defaults) => ({
323
358
  ...resolveOneOf([{
324
- param: 'application_id',
325
- value: request.applicationId
326
- }, {
327
359
  param: 'user_id',
328
360
  value: request.userId
361
+ }, {
362
+ param: 'application_id',
363
+ value: request.applicationId
329
364
  }])
330
365
  });
331
366
  const marshalSetGroupMembersRequest = (request, defaults) => ({
@@ -334,7 +369,7 @@ const marshalSetGroupMembersRequest = (request, defaults) => ({
334
369
  });
335
370
  const marshalSetRulesRequest = (request, defaults) => ({
336
371
  policy_id: request.policyId,
337
- rules: request.rules
372
+ rules: request.rules.map(elt => marshalRuleSpecs(elt))
338
373
  });
339
374
  const marshalUpdateAPIKeyRequest = (request, defaults) => ({
340
375
  default_project_id: request.defaultProjectId,
@@ -352,17 +387,17 @@ const marshalUpdatePolicyRequest = (request, defaults) => ({
352
387
  description: request.description,
353
388
  name: request.name,
354
389
  ...resolveOneOf([{
355
- param: 'application_id',
356
- value: request.applicationId
390
+ param: 'user_id',
391
+ value: request.userId
357
392
  }, {
358
393
  param: 'group_id',
359
394
  value: request.groupId
395
+ }, {
396
+ param: 'application_id',
397
+ value: request.applicationId
360
398
  }, {
361
399
  param: 'no_principal',
362
400
  value: request.noPrincipal
363
- }, {
364
- param: 'user_id',
365
- value: request.userId
366
401
  }])
367
402
  });
368
403
  const marshalUpdateSSHKeyRequest = (request, defaults) => ({
@@ -370,4 +405,4 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
370
405
  name: request.name
371
406
  });
372
407
 
373
- export { marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalCreateAPIKeyRequest, marshalCreateApplicationRequest, marshalCreateGroupRequest, marshalCreatePolicyRequest, marshalCreateSSHKeyRequest, marshalCreateUserRequest, marshalRemoveGroupMemberRequest, marshalSetGroupMembersRequest, marshalSetRulesRequest, marshalUpdateAPIKeyRequest, marshalUpdateApplicationRequest, marshalUpdateGroupRequest, marshalUpdatePolicyRequest, marshalUpdateSSHKeyRequest, unmarshalAPIKey, unmarshalApplication, unmarshalGroup, unmarshalJWT, unmarshalListAPIKeysResponse, unmarshalListApplicationsResponse, unmarshalListGroupsResponse, unmarshalListJWTsResponse, unmarshalListPermissionSetsResponse, unmarshalListPoliciesResponse, unmarshalListQuotaResponse, unmarshalListRulesResponse, unmarshalListSSHKeysResponse, unmarshalListUsersResponse, unmarshalPolicy, unmarshalQuotum, unmarshalSSHKey, unmarshalSetRulesResponse, unmarshalUser };
408
+ export { marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalCreateAPIKeyRequest, marshalCreateApplicationRequest, marshalCreateGroupRequest, marshalCreatePolicyRequest, marshalCreateSSHKeyRequest, marshalCreateUserRequest, marshalRemoveGroupMemberRequest, marshalSetGroupMembersRequest, marshalSetRulesRequest, marshalUpdateAPIKeyRequest, marshalUpdateApplicationRequest, marshalUpdateGroupRequest, marshalUpdatePolicyRequest, marshalUpdateSSHKeyRequest, unmarshalAPIKey, unmarshalApplication, unmarshalGroup, unmarshalJWT, unmarshalListAPIKeysResponse, unmarshalListApplicationsResponse, unmarshalListGroupsResponse, unmarshalListJWTsResponse, unmarshalListLogsResponse, unmarshalListPermissionSetsResponse, unmarshalListPoliciesResponse, unmarshalListQuotaResponse, unmarshalListRulesResponse, unmarshalListSSHKeysResponse, unmarshalListUsersResponse, unmarshalLog, unmarshalPolicy, unmarshalQuotum, unmarshalSSHKey, unmarshalSetRulesResponse, unmarshalUser };
@@ -102,6 +102,15 @@ const ListJWTsRequest = {
102
102
  lessThanOrEqual: 100
103
103
  }
104
104
  };
105
+ const ListLogsRequest = {
106
+ page: {
107
+ greaterThan: 0
108
+ },
109
+ pageSize: {
110
+ greaterThanOrEqual: 1,
111
+ lessThanOrEqual: 100
112
+ }
113
+ };
105
114
  const ListPermissionSetsRequest = {
106
115
  page: {
107
116
  greaterThan: 0
@@ -204,4 +213,4 @@ const UpdateSSHKeyRequest = {
204
213
  }
205
214
  };
206
215
 
207
- export { CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreatePolicyRequest, CreateSSHKeyRequest, GetQuotumRequest, ListAPIKeysRequest, ListApplicationsRequest, ListGroupsRequest, ListJWTsRequest, ListPermissionSetsRequest, ListPoliciesRequest, ListQuotaRequest, ListRulesRequest, ListSSHKeysRequest, ListUsersRequest, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdatePolicyRequest, UpdateSSHKeyRequest };
216
+ export { CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreatePolicyRequest, CreateSSHKeyRequest, GetQuotumRequest, ListAPIKeysRequest, ListApplicationsRequest, ListGroupsRequest, ListJWTsRequest, ListLogsRequest, ListPermissionSetsRequest, ListPoliciesRequest, ListQuotaRequest, ListRulesRequest, ListSSHKeysRequest, ListUsersRequest, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdatePolicyRequest, UpdateSSHKeyRequest };
@@ -83,7 +83,7 @@ class API extends API$1 {
83
83
  return _this4.client.fetch({
84
84
  method: 'GET',
85
85
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? _this4.client.settings.defaultZone)}/servers`,
86
- urlParams: urlParams(['commercial_type', request.commercialType], ['name', request.name], ['order', request.order], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? _this4.client.settings.defaultPageSize], ['private_ip', request.privateIp], ['private_network', request.privateNetwork], ['private_networks', request.privateNetworks && request.privateNetworks.length > 0 ? request.privateNetworks.join(',') : undefined], ['private_nic_mac_address', request.privateNicMacAddress], ['project', request.project], ['state', request.state], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['without_ip', request.withoutIp])
86
+ urlParams: urlParams(['commercial_type', request.commercialType], ['name', request.name], ['order', request.order], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? _this4.client.settings.defaultPageSize], ['private_ip', request.privateIp], ['private_network', request.privateNetwork], ['private_networks', request.privateNetworks && request.privateNetworks.length > 0 ? request.privateNetworks.join(',') : undefined], ['private_nic_mac_address', request.privateNicMacAddress], ['project', request.project], ['servers', request.servers && request.servers.length > 0 ? request.servers.join(',') : undefined], ['state', request.state], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['without_ip', request.withoutIp])
87
87
  }, unmarshalListServersResponse);
88
88
  };
89
89
  })();
@@ -13,6 +13,9 @@ const PRIVATE_NIC_TRANSIENT_STATUSES = ['syncing'];
13
13
  /** Lists transient statutes of the enum {@link SecurityGroupState}. */
14
14
  const SECURITY_GROUP_TRANSIENT_STATUSES = ['syncing'];
15
15
 
16
+ /** Lists transient statutes of the enum {@link ServerIpState}. */
17
+ const SERVER_IP_TRANSIENT_STATUSES = ['pending'];
18
+
16
19
  /** Lists transient statutes of the enum {@link ServerState}. */
17
20
  const SERVER_TRANSIENT_STATUSES = ['starting', 'stopping'];
18
21
 
@@ -28,4 +31,4 @@ const VOLUME_SERVER_TRANSIENT_STATUSES = ['snapshotting', 'fetching', 'resizing'
28
31
  /** Lists transient statutes of the enum {@link VolumeState}. */
29
32
  const VOLUME_TRANSIENT_STATUSES = ['snapshotting', 'fetching', 'resizing', 'saving', 'hotsyncing'];
30
33
 
31
- export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES };
34
+ export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_IP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES };
@@ -1,2 +1,2 @@
1
1
  export { InstanceV1UtilsAPI as API } from './api.utils.js';
2
- export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES } from './content.gen.js';
2
+ export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_IP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES } from './content.gen.js';