@scaleway/sdk 2.73.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 (89) hide show
  1. package/dist/api/account/v3/index.gen.d.ts +1 -1
  2. package/dist/api/account/v3/marshalling.gen.cjs +94 -65
  3. package/dist/api/account/v3/marshalling.gen.js +94 -65
  4. package/dist/api/account/v3/types.gen.d.ts +79 -61
  5. package/dist/api/baremetal/v1/types.gen.d.ts +1 -1
  6. package/dist/api/cockpit/v1/api.gen.cjs +35 -3
  7. package/dist/api/cockpit/v1/api.gen.d.ts +17 -5
  8. package/dist/api/cockpit/v1/api.gen.js +36 -4
  9. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  10. package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
  11. package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
  12. package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
  13. package/dist/api/cockpit/v1/types.gen.d.ts +63 -2
  14. package/dist/api/dedibox/v1/types.gen.d.ts +3 -3
  15. package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
  16. package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
  17. package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
  18. package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
  19. package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
  20. package/dist/api/file/index.gen.cjs +4 -0
  21. package/dist/api/file/index.gen.d.ts +5 -0
  22. package/dist/api/file/index.gen.js +4 -0
  23. package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
  24. package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
  25. package/dist/api/file/v1alpha1/api.gen.js +142 -0
  26. package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
  27. package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
  28. package/dist/api/file/v1alpha1/content.gen.js +7 -0
  29. package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
  30. package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
  31. package/dist/api/file/v1alpha1/index.gen.js +8 -0
  32. package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
  33. package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
  34. package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
  35. package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
  36. package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
  37. package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
  38. package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
  39. package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
  40. package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
  41. package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
  42. package/dist/api/iam/v1alpha1/api.gen.js +4 -4
  43. package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
  44. package/dist/api/index.gen.d.ts +3 -1
  45. package/dist/api/inference/v1beta1/api.gen.cjs +1 -1
  46. package/dist/api/inference/v1beta1/api.gen.d.ts +1 -1
  47. package/dist/api/inference/v1beta1/api.gen.js +1 -1
  48. package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
  49. package/dist/api/instance/v1/marshalling.gen.js +4 -1
  50. package/dist/api/instance/v1/types.gen.d.ts +16 -1
  51. package/dist/api/interlink/v1beta1/api.gen.cjs +1 -1
  52. package/dist/api/interlink/v1beta1/api.gen.d.ts +1 -1
  53. package/dist/api/interlink/v1beta1/api.gen.js +1 -1
  54. package/dist/api/iot/v1/types.gen.d.ts +1 -1
  55. package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
  56. package/dist/api/lb/v1/marshalling.gen.js +4 -2
  57. package/dist/api/lb/v1/types.gen.d.ts +4 -0
  58. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
  59. package/dist/api/product_catalog/index.gen.cjs +4 -0
  60. package/dist/api/product_catalog/index.gen.d.ts +5 -0
  61. package/dist/api/product_catalog/index.gen.js +4 -0
  62. package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
  63. package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
  64. package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
  65. package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
  66. package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
  67. package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
  68. package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
  69. package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
  70. package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
  71. package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
  72. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
  73. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
  74. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
  75. package/dist/api/qaas/v1alpha1/types.gen.d.ts +2 -2
  76. package/dist/api/rdb/v1/api.gen.cjs +1 -1
  77. package/dist/api/rdb/v1/api.gen.d.ts +1 -1
  78. package/dist/api/rdb/v1/api.gen.js +1 -1
  79. package/dist/api/rdb/v1/types.gen.d.ts +2 -2
  80. package/dist/api/redis/v1/api.gen.cjs +1 -1
  81. package/dist/api/redis/v1/api.gen.d.ts +1 -1
  82. package/dist/api/redis/v1/api.gen.js +1 -1
  83. package/dist/api/registry/v1/types.gen.d.ts +1 -1
  84. package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
  85. package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
  86. package/dist/api/vpcgw/v1/api.gen.js +37 -0
  87. package/dist/index.cjs +36 -32
  88. package/dist/index.js +36 -32
  89. package/package.json +2 -2
@@ -0,0 +1,77 @@
1
+ import "../../../client/dist/internal/logger/index.js";
2
+ import { isJSONObject } from "../../../client/dist/helpers/json.js";
3
+ import { unmarshalDate, unmarshalArrayOfObject } from "../../../client/dist/helpers/marshalling.js";
4
+ import "../../../client/dist/vendor/base64/index.js";
5
+ const unmarshalFileSystem = (data) => {
6
+ if (!isJSONObject(data)) {
7
+ throw new TypeError(
8
+ `Unmarshalling the type 'FileSystem' failed as data isn't a dictionary.`
9
+ );
10
+ }
11
+ return {
12
+ createdAt: unmarshalDate(data.created_at),
13
+ id: data.id,
14
+ name: data.name,
15
+ numberOfAttachments: data.number_of_attachments,
16
+ organizationId: data.organization_id,
17
+ projectId: data.project_id,
18
+ region: data.region,
19
+ size: data.size,
20
+ status: data.status,
21
+ tags: data.tags,
22
+ updatedAt: unmarshalDate(data.updated_at)
23
+ };
24
+ };
25
+ const unmarshalAttachment = (data) => {
26
+ if (!isJSONObject(data)) {
27
+ throw new TypeError(
28
+ `Unmarshalling the type 'Attachment' failed as data isn't a dictionary.`
29
+ );
30
+ }
31
+ return {
32
+ filesystemId: data.filesystem_id,
33
+ id: data.id,
34
+ resourceId: data.resource_id,
35
+ resourceType: data.resource_type
36
+ };
37
+ };
38
+ const unmarshalListAttachmentsResponse = (data) => {
39
+ if (!isJSONObject(data)) {
40
+ throw new TypeError(
41
+ `Unmarshalling the type 'ListAttachmentsResponse' failed as data isn't a dictionary.`
42
+ );
43
+ }
44
+ return {
45
+ attachments: unmarshalArrayOfObject(data.attachments, unmarshalAttachment),
46
+ totalCount: data.total_count
47
+ };
48
+ };
49
+ const unmarshalListFileSystemsResponse = (data) => {
50
+ if (!isJSONObject(data)) {
51
+ throw new TypeError(
52
+ `Unmarshalling the type 'ListFileSystemsResponse' failed as data isn't a dictionary.`
53
+ );
54
+ }
55
+ return {
56
+ filesystems: unmarshalArrayOfObject(data.filesystems, unmarshalFileSystem),
57
+ totalCount: data.total_count
58
+ };
59
+ };
60
+ const marshalCreateFileSystemRequest = (request, defaults) => ({
61
+ name: request.name,
62
+ project_id: request.projectId ?? defaults.defaultProjectId,
63
+ size: request.size,
64
+ tags: request.tags
65
+ });
66
+ const marshalUpdateFileSystemRequest = (request, defaults) => ({
67
+ name: request.name,
68
+ size: request.size,
69
+ tags: request.tags
70
+ });
71
+ export {
72
+ marshalCreateFileSystemRequest,
73
+ marshalUpdateFileSystemRequest,
74
+ unmarshalFileSystem,
75
+ unmarshalListAttachmentsResponse,
76
+ unmarshalListFileSystemsResponse
77
+ };
@@ -0,0 +1,239 @@
1
+ import type { Region as ScwRegion } from '@scaleway/sdk-client';
2
+ export type AttachmentResourceType = 'unknown_resource_type' | 'instance_server';
3
+ export type FileSystemStatus = 'unknown_status' | 'available' | 'error' | 'creating' | 'updating';
4
+ export type ListFileSystemsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
5
+ /**
6
+ * Represents an attachment between a filesystem and a resource.
7
+ */
8
+ export interface Attachment {
9
+ /**
10
+ * UUID of the attachment.
11
+ */
12
+ id: string;
13
+ /**
14
+ * UUID of the filesystem.
15
+ */
16
+ filesystemId: string;
17
+ /**
18
+ * UUID of the attached resource.
19
+ */
20
+ resourceId: string;
21
+ /**
22
+ * The type of the attached resource.
23
+ */
24
+ resourceType: AttachmentResourceType;
25
+ }
26
+ /**
27
+ * Represents a filesystem resource and its properties.
28
+ */
29
+ export interface FileSystem {
30
+ /**
31
+ * UUID of the filesystem.
32
+ */
33
+ id: string;
34
+ /**
35
+ * Name of the filesystem.
36
+ */
37
+ name: string;
38
+ /**
39
+ * Filesystem size in bytes.
40
+ */
41
+ size: number;
42
+ /**
43
+ * Current status of the filesystem (e.g. creating, available, ...).
44
+ */
45
+ status: FileSystemStatus;
46
+ /**
47
+ * UUID of the project to which the filesystem belongs.
48
+ */
49
+ projectId: string;
50
+ /**
51
+ * UUID of the organization to which the filesystem belongs.
52
+ */
53
+ organizationId: string;
54
+ /**
55
+ * List of tags assigned to the filesystem.
56
+ */
57
+ tags: string[];
58
+ /**
59
+ * The current number of attachments (mounts) that the filesystem has.
60
+ */
61
+ numberOfAttachments: number;
62
+ /**
63
+ * Region where the filesystem is located.
64
+ */
65
+ region: ScwRegion;
66
+ /**
67
+ * Creation date of the filesystem.
68
+ */
69
+ createdAt?: Date;
70
+ /**
71
+ * Last update date of the properties of the filesystem.
72
+ */
73
+ updatedAt?: Date;
74
+ }
75
+ /**
76
+ * Request to create a new filesystem.
77
+ */
78
+ export type CreateFileSystemRequest = {
79
+ /**
80
+ * Region to target. If none is passed will use default region from the config.
81
+ */
82
+ region?: ScwRegion;
83
+ /**
84
+ * Name of the filesystem.
85
+ */
86
+ name: string;
87
+ /**
88
+ * UUID of the project the filesystem belongs to.
89
+ */
90
+ projectId?: string;
91
+ /**
92
+ * Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size.
93
+ */
94
+ size: number;
95
+ /**
96
+ * List of tags assigned to the filesystem.
97
+ */
98
+ tags?: string[];
99
+ };
100
+ /**
101
+ * Request to delete a specific filesystem.
102
+ */
103
+ export type DeleteFileSystemRequest = {
104
+ /**
105
+ * Region to target. If none is passed will use default region from the config.
106
+ */
107
+ region?: ScwRegion;
108
+ /**
109
+ * UUID of the filesystem.
110
+ */
111
+ filesystemId: string;
112
+ };
113
+ /**
114
+ * Request to retrieve a specific filesystem.
115
+ */
116
+ export type GetFileSystemRequest = {
117
+ /**
118
+ * Region to target. If none is passed will use default region from the config.
119
+ */
120
+ region?: ScwRegion;
121
+ /**
122
+ * UUID of the filesystem.
123
+ */
124
+ filesystemId: string;
125
+ };
126
+ /**
127
+ * Request to list filesystem attachments with filtering and pagination options.
128
+ */
129
+ export type ListAttachmentsRequest = {
130
+ /**
131
+ * Region to target. If none is passed will use default region from the config.
132
+ */
133
+ region?: ScwRegion;
134
+ /**
135
+ * UUID of the File Storage volume.
136
+ */
137
+ filesystemId?: string;
138
+ /**
139
+ * Filter by resource ID.
140
+ */
141
+ resourceId?: string;
142
+ /**
143
+ * Filter by resource type.
144
+ */
145
+ resourceType?: AttachmentResourceType;
146
+ /**
147
+ * Page number (starting at 1).
148
+ */
149
+ page?: number;
150
+ /**
151
+ * Number of entries per page (default: 20, max: 100).
152
+ */
153
+ pageSize?: number;
154
+ };
155
+ /**
156
+ * Response containing a list of filesystem attachments and total count.
157
+ */
158
+ export interface ListAttachmentsResponse {
159
+ /**
160
+ * List of filesystem attachments matching the request criteria.
161
+ */
162
+ attachments: Attachment[];
163
+ /**
164
+ * Total number of filesystem attachments matching the criteria.
165
+ */
166
+ totalCount: number;
167
+ }
168
+ /**
169
+ * Request to list filesystems with filtering and pagination options.
170
+ */
171
+ export type ListFileSystemsRequest = {
172
+ /**
173
+ * Region to target. If none is passed will use default region from the config.
174
+ */
175
+ region?: ScwRegion;
176
+ /**
177
+ * Criteria to use when ordering the list.
178
+ */
179
+ orderBy?: ListFileSystemsRequestOrderBy;
180
+ /**
181
+ * Filter by project ID.
182
+ */
183
+ projectId?: string;
184
+ /**
185
+ * Page number (starting at 1).
186
+ */
187
+ page?: number;
188
+ /**
189
+ * Number of entries per page (default: 20, max: 100).
190
+ */
191
+ pageSize?: number;
192
+ /**
193
+ * Filter the return filesystems by their names.
194
+ */
195
+ name?: string;
196
+ /**
197
+ * Filter by tags. Only filesystems with one or more matching tags will be returned.
198
+ */
199
+ tags?: string[];
200
+ };
201
+ /**
202
+ * Response containing a list of filesystems and total count.
203
+ */
204
+ export interface ListFileSystemsResponse {
205
+ /**
206
+ * List of filesystems matching the request criteria.
207
+ */
208
+ filesystems: FileSystem[];
209
+ /**
210
+ * Total number of filesystems matching the criteria.
211
+ */
212
+ totalCount: number;
213
+ }
214
+ /**
215
+ * Request to update a specific filesystem.
216
+ */
217
+ export type UpdateFileSystemRequest = {
218
+ /**
219
+ * Region to target. If none is passed will use default region from the config.
220
+ */
221
+ region?: ScwRegion;
222
+ /**
223
+ * UUID of the filesystem.
224
+ */
225
+ filesystemId: string;
226
+ /**
227
+ * When defined, is the new name of the filesystem.
228
+ */
229
+ name?: string;
230
+ /**
231
+ * Size in bytes, with a granularity of 100 GB (10^11 bytes).
232
+ Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size.
233
+ */
234
+ size?: number;
235
+ /**
236
+ * List of tags assigned to the filesystem.
237
+ */
238
+ tags?: string[];
239
+ };
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const CreateFileSystemRequest = {
4
+ name: {
5
+ minLength: 1
6
+ },
7
+ size: {
8
+ greaterThan: 0
9
+ }
10
+ };
11
+ const ListAttachmentsRequest = {
12
+ page: {
13
+ greaterThan: 0
14
+ },
15
+ pageSize: {
16
+ greaterThan: 0,
17
+ lessThanOrEqual: 100
18
+ }
19
+ };
20
+ const ListFileSystemsRequest = {
21
+ page: {
22
+ greaterThan: 0
23
+ },
24
+ pageSize: {
25
+ greaterThan: 0,
26
+ lessThanOrEqual: 100
27
+ }
28
+ };
29
+ const UpdateFileSystemRequest = {
30
+ name: {
31
+ minLength: 1
32
+ },
33
+ size: {
34
+ greaterThan: 0
35
+ }
36
+ };
37
+ exports.CreateFileSystemRequest = CreateFileSystemRequest;
38
+ exports.ListAttachmentsRequest = ListAttachmentsRequest;
39
+ exports.ListFileSystemsRequest = ListFileSystemsRequest;
40
+ exports.UpdateFileSystemRequest = UpdateFileSystemRequest;
@@ -0,0 +1,34 @@
1
+ export declare const CreateFileSystemRequest: {
2
+ name: {
3
+ minLength: number;
4
+ };
5
+ size: {
6
+ greaterThan: number;
7
+ };
8
+ };
9
+ export declare const ListAttachmentsRequest: {
10
+ page: {
11
+ greaterThan: number;
12
+ };
13
+ pageSize: {
14
+ greaterThan: number;
15
+ lessThanOrEqual: number;
16
+ };
17
+ };
18
+ export declare const ListFileSystemsRequest: {
19
+ page: {
20
+ greaterThan: number;
21
+ };
22
+ pageSize: {
23
+ greaterThan: number;
24
+ lessThanOrEqual: number;
25
+ };
26
+ };
27
+ export declare const UpdateFileSystemRequest: {
28
+ name: {
29
+ minLength: number;
30
+ };
31
+ size: {
32
+ greaterThan: number;
33
+ };
34
+ };
@@ -0,0 +1,40 @@
1
+ const CreateFileSystemRequest = {
2
+ name: {
3
+ minLength: 1
4
+ },
5
+ size: {
6
+ greaterThan: 0
7
+ }
8
+ };
9
+ const ListAttachmentsRequest = {
10
+ page: {
11
+ greaterThan: 0
12
+ },
13
+ pageSize: {
14
+ greaterThan: 0,
15
+ lessThanOrEqual: 100
16
+ }
17
+ };
18
+ const ListFileSystemsRequest = {
19
+ page: {
20
+ greaterThan: 0
21
+ },
22
+ pageSize: {
23
+ greaterThan: 0,
24
+ lessThanOrEqual: 100
25
+ }
26
+ };
27
+ const UpdateFileSystemRequest = {
28
+ name: {
29
+ minLength: 1
30
+ },
31
+ size: {
32
+ greaterThan: 0
33
+ }
34
+ };
35
+ export {
36
+ CreateFileSystemRequest,
37
+ ListAttachmentsRequest,
38
+ ListFileSystemsRequest,
39
+ UpdateFileSystemRequest
40
+ };
@@ -352,7 +352,7 @@ export interface Token {
352
352
  */
353
353
  functionId?: string;
354
354
  /**
355
- * UUID of the namespace the token is assoicated with.
355
+ * UUID of the namespace the token is associated with.
356
356
  *
357
357
  * One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set.
358
358
  */
@@ -480,7 +480,7 @@ export type CreateFunctionRequest = {
480
480
  */
481
481
  environmentVariables?: Record<string, string>;
482
482
  /**
483
- * Minumum number of instances to scale the function to.
483
+ * Minimum number of instances to scale the function to.
484
484
  */
485
485
  minScale?: number;
486
486
  /**
@@ -820,7 +820,7 @@ export type ListDomainsRequest = {
820
820
  */
821
821
  orderBy?: ListDomainsRequestOrderBy;
822
822
  /**
823
- * UUID of the function the domain is assoicated with.
823
+ * UUID of the function the domain is associated with.
824
824
  */
825
825
  functionId: string;
826
826
  };
@@ -876,7 +876,7 @@ export type ListFunctionsRequest = {
876
876
  */
877
877
  name?: string;
878
878
  /**
879
- * UUID of the Organziation the function belongs to.
879
+ * UUID of the Organization the function belongs to.
880
880
  */
881
881
  organizationId?: string;
882
882
  /**
@@ -949,7 +949,7 @@ export type ListTokensRequest = {
949
949
  */
950
950
  orderBy?: ListTokensRequestOrderBy;
951
951
  /**
952
- * UUID of the function the token is assoicated with.
952
+ * UUID of the function the token is associated with.
953
953
  */
954
954
  functionId?: string;
955
955
  /**
@@ -1047,7 +1047,7 @@ export type UpdateFunctionRequest = {
1047
1047
  */
1048
1048
  environmentVariables?: Record<string, string>;
1049
1049
  /**
1050
- * Minumum number of instances to scale the function to.
1050
+ * Minimum number of instances to scale the function to.
1051
1051
  */
1052
1052
  minScale?: number;
1053
1053
  /**
@@ -441,7 +441,7 @@ class API extends api.API {
441
441
  marshalling_gen.unmarshalGroup
442
442
  );
443
443
  /**
444
- * Get a group. Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
444
+ * Get a group. Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
445
445
  *
446
446
  * @param request - The request {@link GetGroupRequest}
447
447
  * @returns A Promise of Group
@@ -778,7 +778,7 @@ class API extends api.API {
778
778
  marshalling_gen.unmarshalAPIKey
779
779
  );
780
780
  /**
781
- * Get an API key. Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
781
+ * Get an API key. Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
782
782
  *
783
783
  * @param request - The request {@link GetAPIKeyRequest}
784
784
  * @returns A Promise of APIKey
@@ -860,7 +860,7 @@ class API extends api.API {
860
860
  },
861
861
  marshalling_gen.unmarshalQuotum
862
862
  );
863
- pageOfListJWTs = (request = {}) => this.client.fetch(
863
+ pageOfListJWTs = (request) => this.client.fetch(
864
864
  {
865
865
  method: "GET",
866
866
  path: `/iam/v1alpha1/jwts`,
@@ -883,7 +883,7 @@ class API extends api.API {
883
883
  * @param request - The request {@link ListJWTsRequest}
884
884
  * @returns A Promise of ListJWTsResponse
885
885
  */
886
- listJWTs = (request = {}) => resourcePaginator.enrichForPagination("jwts", this.pageOfListJWTs, request);
886
+ listJWTs = (request) => resourcePaginator.enrichForPagination("jwts", this.pageOfListJWTs, request);
887
887
  /**
888
888
  * Create a JWT.
889
889
  *
@@ -195,7 +195,7 @@ export declare class API extends ParentAPI {
195
195
  */
196
196
  createGroup: (request: Readonly<CreateGroupRequest>) => Promise<Group>;
197
197
  /**
198
- * Get a group. Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
198
+ * Get a group. Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
199
199
  *
200
200
  * @param request - The request {@link GetGroupRequest}
201
201
  * @returns A Promise of Group
@@ -335,7 +335,7 @@ export declare class API extends ParentAPI {
335
335
  */
336
336
  createAPIKey: (request: Readonly<CreateAPIKeyRequest>) => Promise<APIKey>;
337
337
  /**
338
- * Get an API key. Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
338
+ * Get an API key. Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
339
339
  *
340
340
  * @param request - The request {@link GetAPIKeyRequest}
341
341
  * @returns A Promise of APIKey
@@ -372,14 +372,14 @@ export declare class API extends ParentAPI {
372
372
  * @returns A Promise of Quotum
373
373
  */
374
374
  getQuotum: (request: Readonly<GetQuotumRequest>) => Promise<Quotum>;
375
- protected pageOfListJWTs: (request?: Readonly<ListJWTsRequest>) => Promise<ListJWTsResponse>;
375
+ protected pageOfListJWTs: (request: Readonly<ListJWTsRequest>) => Promise<ListJWTsResponse>;
376
376
  /**
377
377
  * List JWTs.
378
378
  *
379
379
  * @param request - The request {@link ListJWTsRequest}
380
380
  * @returns A Promise of ListJWTsResponse
381
381
  */
382
- listJWTs: (request?: Readonly<ListJWTsRequest>) => Promise<ListJWTsResponse> & {
382
+ listJWTs: (request: Readonly<ListJWTsRequest>) => Promise<ListJWTsResponse> & {
383
383
  all: () => Promise<JWT[]>;
384
384
  [Symbol.asyncIterator]: () => AsyncGenerator<JWT[], void, void>;
385
385
  };
@@ -439,7 +439,7 @@ class API extends API$1 {
439
439
  unmarshalGroup
440
440
  );
441
441
  /**
442
- * Get a group. Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
442
+ * Get a group. Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
443
443
  *
444
444
  * @param request - The request {@link GetGroupRequest}
445
445
  * @returns A Promise of Group
@@ -776,7 +776,7 @@ class API extends API$1 {
776
776
  unmarshalAPIKey
777
777
  );
778
778
  /**
779
- * Get an API key. Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
779
+ * Get an API key. Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
780
780
  *
781
781
  * @param request - The request {@link GetAPIKeyRequest}
782
782
  * @returns A Promise of APIKey
@@ -858,7 +858,7 @@ class API extends API$1 {
858
858
  },
859
859
  unmarshalQuotum
860
860
  );
861
- pageOfListJWTs = (request = {}) => this.client.fetch(
861
+ pageOfListJWTs = (request) => this.client.fetch(
862
862
  {
863
863
  method: "GET",
864
864
  path: `/iam/v1alpha1/jwts`,
@@ -881,7 +881,7 @@ class API extends API$1 {
881
881
  * @param request - The request {@link ListJWTsRequest}
882
882
  * @returns A Promise of ListJWTsResponse
883
883
  */
884
- listJWTs = (request = {}) => enrichForPagination("jwts", this.pageOfListJWTs, request);
884
+ listJWTs = (request) => enrichForPagination("jwts", this.pageOfListJWTs, request);
885
885
  /**
886
886
  * Create a JWT.
887
887
  *
@@ -1169,7 +1169,7 @@ export type ListJWTsRequest = {
1169
1169
  /**
1170
1170
  * ID of the user to search.
1171
1171
  */
1172
- audienceId?: string;
1172
+ audienceId: string;
1173
1173
  /**
1174
1174
  * Number of results per page. Value must be between 1 and 100.
1175
1175
  */
@@ -14,6 +14,7 @@ import * as Dedibox from './dedibox/index.gen.js';
14
14
  import * as DocumentDb from './document_db/index.gen.js';
15
15
  import * as Domain from './domain/index.gen.js';
16
16
  import * as EdgeServices from './edge_services/index.gen.js';
17
+ import * as File from './file/index.gen.js';
17
18
  import * as Flexibleip from './flexibleip/index.gen.js';
18
19
  import * as Function from './function/index.gen.js';
19
20
  import * as Iam from './iam/index.gen.js';
@@ -31,6 +32,7 @@ import * as LlmInference from './llm_inference/index.gen.js';
31
32
  import * as Marketplace from './marketplace/index.gen.js';
32
33
  import * as Mnq from './mnq/index.gen.js';
33
34
  import * as Mongodb from './mongodb/index.gen.js';
35
+ import * as ProductCatalog from './product_catalog/index.gen.js';
34
36
  import * as Qaas from './qaas/index.gen.js';
35
37
  import * as Rdb from './rdb/index.gen.js';
36
38
  import * as Redis from './redis/index.gen.js';
@@ -43,4 +45,4 @@ import * as Test from './test/index.gen.js';
43
45
  import * as Vpc from './vpc/index.gen.js';
44
46
  import * as Vpcgw from './vpcgw/index.gen.js';
45
47
  import * as Webhosting from './webhosting/index.gen.js';
46
- export { Account, Applesilicon, AuditTrail, Baremetal, Billing, Block, Cockpit, Container, Dedibox, DocumentDb, Domain, EdgeServices, Flexibleip, Function, Iam, Inference, Instance, Interlink, Iot, Ipam, Ipfs, Jobs, K8s, KeyManager, Lb, LlmInference, Marketplace, Mnq, Mongodb, Qaas, Rdb, Redis, Registry, Secret, ServerlessSqldb, Std, Tem, Test, Vpc, Vpcgw, Webhosting, };
48
+ export { Account, Applesilicon, AuditTrail, Baremetal, Billing, Block, Cockpit, Container, Dedibox, DocumentDb, Domain, EdgeServices, File, Flexibleip, Function, Iam, Inference, Instance, Interlink, Iot, Ipam, Ipfs, Jobs, K8s, KeyManager, Lb, LlmInference, Marketplace, Mnq, Mongodb, ProductCatalog, Qaas, Rdb, Redis, Registry, Secret, ServerlessSqldb, Std, Tem, Test, Vpc, Vpcgw, Webhosting, };
@@ -227,7 +227,7 @@ class API extends api.API {
227
227
  marshalling_gen.unmarshalSetDeploymentACLRulesResponse
228
228
  );
229
229
  /**
230
- * Delete an exising ACL.
230
+ * Delete an existing ACL.
231
231
  *
232
232
  * @param request - The request {@link DeleteDeploymentACLRuleRequest}
233
233
  */
@@ -110,7 +110,7 @@ export declare class API extends ParentAPI {
110
110
  */
111
111
  setDeploymentACLRules: (request: Readonly<SetDeploymentACLRulesRequest>) => Promise<SetDeploymentACLRulesResponse>;
112
112
  /**
113
- * Delete an exising ACL.
113
+ * Delete an existing ACL.
114
114
  *
115
115
  * @param request - The request {@link DeleteDeploymentACLRuleRequest}
116
116
  */
@@ -225,7 +225,7 @@ class API extends API$1 {
225
225
  unmarshalSetDeploymentACLRulesResponse
226
226
  );
227
227
  /**
228
- * Delete an exising ACL.
228
+ * Delete an existing ACL.
229
229
  *
230
230
  * @param request - The request {@link DeleteDeploymentACLRuleRequest}
231
231
  */
@@ -234,6 +234,7 @@ const unmarshalServer = (data) => {
234
234
  creationDate: marshalling.unmarshalDate(data.creation_date),
235
235
  dynamicIpRequired: data.dynamic_ip_required,
236
236
  enableIpv6: data.enable_ipv6,
237
+ endOfService: data.end_of_service,
237
238
  hostname: data.hostname,
238
239
  id: data.id,
239
240
  image: data.image ? unmarshalImage(data.image) : void 0,
@@ -807,7 +808,8 @@ const unmarshalServerTypeCapabilities = (data) => {
807
808
  }
808
809
  return {
809
810
  blockStorage: data.block_storage,
810
- bootTypes: data.boot_types
811
+ bootTypes: data.boot_types,
812
+ maxFileSystems: data.max_file_systems
811
813
  };
812
814
  };
813
815
  const unmarshalServerTypeGPUInfo = (data) => {
@@ -1303,6 +1305,7 @@ const marshalCreateServerRequest = (request, defaults) => ({
1303
1305
  image: request.image,
1304
1306
  name: request.name || randomName("srv"),
1305
1307
  placement_group: request.placementGroup,
1308
+ protected: request.protected,
1306
1309
  public_ip: request.publicIp,
1307
1310
  public_ips: request.publicIps,
1308
1311
  routed_ip_enabled: request.routedIpEnabled,