@scaleway/sdk 0.1.0-beta.36 → 0.1.0-beta.37

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.
@@ -162,12 +162,22 @@ class RegistrarAPI extends API$1 {
162
162
  var _this;
163
163
  super(...arguments);
164
164
  _this = this;
165
- this.pageOfListTasks = request => this.client.fetch({
166
- method: 'GET',
167
- path: `/domain/v2beta1/tasks`,
168
- urlParams: urlParams(['domain', request.domain], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
169
- }, unmarshalListTasksResponse);
170
- this.listTasks = request => enrichForPagination('tasks', this.pageOfListTasks, request);
165
+ this.pageOfListTasks = function (request) {
166
+ if (request === void 0) {
167
+ request = {};
168
+ }
169
+ return _this.client.fetch({
170
+ method: 'GET',
171
+ path: `/domain/v2beta1/tasks`,
172
+ urlParams: urlParams(['domain', request.domain], ['order_by', request.orderBy ?? 'domain_desc'], ['organization_id', request.organizationId ?? _this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? _this.client.settings.defaultPageSize], ['project_id', request.projectId ?? _this.client.settings.defaultProjectId], ['statuses', request.statuses], ['types', request.types])
173
+ }, unmarshalListTasksResponse);
174
+ };
175
+ this.listTasks = function (request) {
176
+ if (request === void 0) {
177
+ request = {};
178
+ }
179
+ return enrichForPagination('tasks', _this.pageOfListTasks, request);
180
+ };
171
181
  this.buyDomains = request => this.client.fetch({
172
182
  body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
173
183
  headers: jsonContentHeaders,
@@ -1023,6 +1023,8 @@ const marshalRegistrarApiBuyDomainsRequest = (request, defaults) => ({
1023
1023
  }])
1024
1024
  });
1025
1025
  const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults) => ({
1026
+ domains: request.domains,
1027
+ tlds: request.tlds,
1026
1028
  ...resolveOneOf([{
1027
1029
  param: 'administrative_contact_id',
1028
1030
  value: request.administrativeContactId
@@ -1037,13 +1039,6 @@ const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults)
1037
1039
  param: 'owner_contact',
1038
1040
  value: request.ownerContact ? marshalNewContact(request.ownerContact) : undefined
1039
1041
  }]),
1040
- ...resolveOneOf([{
1041
- param: 'domain',
1042
- value: request.domain
1043
- }, {
1044
- param: 'tld',
1045
- value: request.tld
1046
- }]),
1047
1042
  ...resolveOneOf([{
1048
1043
  param: 'technical_contact_id',
1049
1044
  value: request.technicalContactId
@@ -216,7 +216,6 @@ const marshalRuleSpecs = (request, defaults) => ({
216
216
  param: 'project_ids',
217
217
  value: request.projectIds
218
218
  }, {
219
- default: defaults.defaultOrganizationId,
220
219
  param: 'organization_id',
221
220
  value: request.organizationId
222
221
  }])
@@ -256,7 +255,7 @@ const marshalCreatePolicyRequest = (request, defaults) => ({
256
255
  description: request.description,
257
256
  name: request.name || randomName('pol'),
258
257
  organization_id: request.organizationId ?? defaults.defaultOrganizationId,
259
- rules: request.rules ? request.rules.map(elt => marshalRuleSpecs(elt, defaults)) : undefined,
258
+ rules: request.rules ? request.rules.map(elt => marshalRuleSpecs(elt)) : undefined,
260
259
  ...resolveOneOf([{
261
260
  param: 'user_id',
262
261
  value: request.userId
@@ -291,7 +290,7 @@ const marshalSetGroupMembersRequest = (request, defaults) => ({
291
290
  });
292
291
  const marshalSetRulesRequest = (request, defaults) => ({
293
292
  policy_id: request.policyId,
294
- rules: request.rules.map(elt => marshalRuleSpecs(elt, defaults))
293
+ rules: request.rules.map(elt => marshalRuleSpecs(elt))
295
294
  });
296
295
  const marshalUpdateAPIKeyRequest = (request, defaults) => ({
297
296
  default_project_id: request.defaultProjectId,
@@ -1013,11 +1013,9 @@ const marshalVolumeTemplate = (request, defaults) => ({
1013
1013
  size: request.size,
1014
1014
  volume_type: request.volumeType,
1015
1015
  ...resolveOneOf([{
1016
- default: defaults.defaultProjectId,
1017
1016
  param: 'project',
1018
1017
  value: request.project
1019
1018
  }, {
1020
- default: defaults.defaultOrganizationId,
1021
1019
  param: 'organization',
1022
1020
  value: request.organization
1023
1021
  }])
@@ -1029,7 +1027,7 @@ const marshalCreateImageRequest = (request, defaults) => ({
1029
1027
  let [key, value] = _ref2;
1030
1028
  return {
1031
1029
  ...acc,
1032
- [key]: marshalVolumeTemplate(value, defaults)
1030
+ [key]: marshalVolumeTemplate(value)
1033
1031
  };
1034
1032
  }, {}) : undefined,
1035
1033
  name: request.name || randomName('img'),
package/dist/index.cjs CHANGED
@@ -390,7 +390,7 @@ const assertValidSettings = obj => {
390
390
  }
391
391
  };
392
392
 
393
- const version = 'v0.1.0-beta.35';
393
+ const version = 'v0.1.0-beta.36';
394
394
  const userAgent = `scaleway-sdk-js/${version}`;
395
395
 
396
396
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -5058,6 +5058,8 @@ const marshalRegistrarApiBuyDomainsRequest = (request, defaults) => ({
5058
5058
  }])
5059
5059
  });
5060
5060
  const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults) => ({
5061
+ domains: request.domains,
5062
+ tlds: request.tlds,
5061
5063
  ...resolveOneOf([{
5062
5064
  param: 'administrative_contact_id',
5063
5065
  value: request.administrativeContactId
@@ -5072,13 +5074,6 @@ const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults)
5072
5074
  param: 'owner_contact',
5073
5075
  value: request.ownerContact ? marshalNewContact(request.ownerContact) : undefined
5074
5076
  }]),
5075
- ...resolveOneOf([{
5076
- param: 'domain',
5077
- value: request.domain
5078
- }, {
5079
- param: 'tld',
5080
- value: request.tld
5081
- }]),
5082
5077
  ...resolveOneOf([{
5083
5078
  param: 'technical_contact_id',
5084
5079
  value: request.technicalContactId
@@ -5546,10 +5541,10 @@ let API$i = class API extends API$n {
5546
5541
  * Manage your domains and contacts.
5547
5542
  */
5548
5543
  class RegistrarAPI extends API$n {
5549
- pageOfListTasks = request => this.client.fetch({
5544
+ pageOfListTasks = (request = {}) => this.client.fetch({
5550
5545
  method: 'GET',
5551
5546
  path: `/domain/v2beta1/tasks`,
5552
- urlParams: urlParams(['domain', request.domain], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
5547
+ urlParams: urlParams(['domain', request.domain], ['order_by', request.orderBy ?? 'domain_desc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['statuses', request.statuses], ['types', request.types])
5553
5548
  }, unmarshalListTasksResponse);
5554
5549
 
5555
5550
  /**
@@ -5558,7 +5553,7 @@ class RegistrarAPI extends API$n {
5558
5553
  * @param request - The request {@link RegistrarApiListTasksRequest}
5559
5554
  * @returns A Promise of ListTasksResponse
5560
5555
  */
5561
- listTasks = request => enrichForPagination('tasks', this.pageOfListTasks, request);
5556
+ listTasks = (request = {}) => enrichForPagination('tasks', this.pageOfListTasks, request);
5562
5557
 
5563
5558
  /**
5564
5559
  * Request the registration of domain names. You can provide an already
@@ -7479,7 +7474,6 @@ const marshalRuleSpecs = (request, defaults) => ({
7479
7474
  param: 'project_ids',
7480
7475
  value: request.projectIds
7481
7476
  }, {
7482
- default: defaults.defaultOrganizationId,
7483
7477
  param: 'organization_id',
7484
7478
  value: request.organizationId
7485
7479
  }])
@@ -7519,7 +7513,7 @@ const marshalCreatePolicyRequest = (request, defaults) => ({
7519
7513
  description: request.description,
7520
7514
  name: request.name || randomName('pol'),
7521
7515
  organization_id: request.organizationId ?? defaults.defaultOrganizationId,
7522
- rules: request.rules ? request.rules.map(elt => marshalRuleSpecs(elt, defaults)) : undefined,
7516
+ rules: request.rules ? request.rules.map(elt => marshalRuleSpecs(elt)) : undefined,
7523
7517
  ...resolveOneOf([{
7524
7518
  param: 'user_id',
7525
7519
  value: request.userId
@@ -7554,7 +7548,7 @@ const marshalSetGroupMembersRequest = (request, defaults) => ({
7554
7548
  });
7555
7549
  const marshalSetRulesRequest = (request, defaults) => ({
7556
7550
  policy_id: request.policyId,
7557
- rules: request.rules.map(elt => marshalRuleSpecs(elt, defaults))
7551
+ rules: request.rules.map(elt => marshalRuleSpecs(elt))
7558
7552
  });
7559
7553
  const marshalUpdateAPIKeyRequest = (request, defaults) => ({
7560
7554
  default_project_id: request.defaultProjectId,
@@ -9246,11 +9240,9 @@ const marshalVolumeTemplate = (request, defaults) => ({
9246
9240
  size: request.size,
9247
9241
  volume_type: request.volumeType,
9248
9242
  ...resolveOneOf([{
9249
- default: defaults.defaultProjectId,
9250
9243
  param: 'project',
9251
9244
  value: request.project
9252
9245
  }, {
9253
- default: defaults.defaultOrganizationId,
9254
9246
  param: 'organization',
9255
9247
  value: request.organization
9256
9248
  }])
@@ -9260,7 +9252,7 @@ const marshalCreateImageRequest = (request, defaults) => ({
9260
9252
  default_bootscript: request.defaultBootscript,
9261
9253
  extra_volumes: request.extraVolumes ? Object.entries(request.extraVolumes).reduce((acc, [key, value]) => ({
9262
9254
  ...acc,
9263
- [key]: marshalVolumeTemplate(value, defaults)
9255
+ [key]: marshalVolumeTemplate(value)
9264
9256
  }), {}) : undefined,
9265
9257
  name: request.name || randomName('img'),
9266
9258
  public: request.public,
@@ -10246,6 +10238,7 @@ let API$e = class API extends API$n {
10246
10238
  /**
10247
10239
  * List bootscripts
10248
10240
  *
10241
+ * @deprecated
10249
10242
  * @param request - The request {@link ListBootscriptsRequest}
10250
10243
  * @returns A Promise of ListBootscriptsResponse
10251
10244
  */
@@ -10254,6 +10247,7 @@ let API$e = class API extends API$n {
10254
10247
  /**
10255
10248
  * Get details of a bootscript with the given ID.
10256
10249
  *
10250
+ * @deprecated
10257
10251
  * @param request - The request {@link GetBootscriptRequest}
10258
10252
  * @returns A Promise of GetBootscriptResponse
10259
10253
  */
package/dist/index.d.ts CHANGED
@@ -3503,6 +3503,7 @@ type ListDNSZoneRecordsRequestOrderBy = 'name_asc' | 'name_desc';
3503
3503
  type ListDNSZonesRequestOrderBy = 'domain_asc' | 'domain_desc' | 'subdomain_asc' | 'subdomain_desc';
3504
3504
  type ListDomainsRequestOrderBy$1 = 'domain_asc' | 'domain_desc';
3505
3505
  type ListRenewableDomainsRequestOrderBy = 'domain_asc' | 'domain_desc';
3506
+ type ListTasksRequestOrderBy = 'domain_desc' | 'domain_asc' | 'type_asc' | 'type_desc' | 'status_asc' | 'status_desc' | 'updated_at_asc' | 'updated_at_desc';
3506
3507
  type RawFormat = 'unknown_raw_format' | 'bind';
3507
3508
  type RenewableDomainStatus = 'unknown' | 'renewable' | 'late_reneweable' | 'not_renewable';
3508
3509
  type SSLCertificateStatus = 'unknown' | 'new' | 'pending' | 'success' | 'error';
@@ -4244,9 +4245,12 @@ type DeleteDNSZoneTsigKeyRequest = {
4244
4245
  type RegistrarApiListTasksRequest = {
4245
4246
  page?: number;
4246
4247
  pageSize?: number;
4247
- domain: string;
4248
4248
  projectId?: string;
4249
4249
  organizationId?: string;
4250
+ domain?: string;
4251
+ types?: TaskType[];
4252
+ statuses?: TaskStatus$1[];
4253
+ orderBy?: ListTasksRequestOrderBy;
4250
4254
  };
4251
4255
  type RegistrarApiBuyDomainsRequest = {
4252
4256
  domains: string[];
@@ -4344,10 +4348,8 @@ type RegistrarApiDeleteExternalDomainRequest = {
4344
4348
  domain: string;
4345
4349
  };
4346
4350
  type RegistrarApiCheckContactsCompatibilityRequest = {
4347
- /** One-of ('parameter'): at most one of 'domain', 'tld' could be set. */
4348
- domain?: string;
4349
- /** One-of ('parameter'): at most one of 'domain', 'tld' could be set. */
4350
- tld?: string;
4351
+ domains?: string[];
4352
+ tlds?: string[];
4351
4353
  /**
4352
4354
  * One-of ('ownerContactType'): at most one of 'ownerContactId',
4353
4355
  * 'ownerContact' could be set.
@@ -4747,14 +4749,14 @@ declare class API$i extends API$n {
4747
4749
  * Manage your domains and contacts.
4748
4750
  */
4749
4751
  declare class RegistrarAPI extends API$n {
4750
- protected pageOfListTasks: (request: Readonly<RegistrarApiListTasksRequest>) => Promise<ListTasksResponse>;
4752
+ protected pageOfListTasks: (request?: Readonly<RegistrarApiListTasksRequest>) => Promise<ListTasksResponse>;
4751
4753
  /**
4752
4754
  * List all account tasks. You can filter the list by domain name.
4753
4755
  *
4754
4756
  * @param request - The request {@link RegistrarApiListTasksRequest}
4755
4757
  * @returns A Promise of ListTasksResponse
4756
4758
  */
4757
- listTasks: (request: Readonly<RegistrarApiListTasksRequest>) => Promise<ListTasksResponse> & {
4759
+ listTasks: (request?: Readonly<RegistrarApiListTasksRequest>) => Promise<ListTasksResponse> & {
4758
4760
  all: () => Promise<Task$1[]>;
4759
4761
  [Symbol.asyncIterator]: () => AsyncGenerator<Task$1[], void, void>;
4760
4762
  };
@@ -5123,6 +5125,7 @@ type index_gen$g_ListRenewableDomainsRequestOrderBy = ListRenewableDomainsReques
5123
5125
  type index_gen$g_ListRenewableDomainsResponse = ListRenewableDomainsResponse;
5124
5126
  type index_gen$g_ListSSLCertificatesRequest = ListSSLCertificatesRequest;
5125
5127
  type index_gen$g_ListSSLCertificatesResponse = ListSSLCertificatesResponse;
5128
+ type index_gen$g_ListTasksRequestOrderBy = ListTasksRequestOrderBy;
5126
5129
  type index_gen$g_ListTasksResponse = ListTasksResponse;
5127
5130
  type index_gen$g_Nameserver = Nameserver;
5128
5131
  type index_gen$g_NewContact = NewContact;
@@ -5286,6 +5289,7 @@ declare namespace index_gen$g {
5286
5289
  index_gen$g_ListRenewableDomainsResponse as ListRenewableDomainsResponse,
5287
5290
  index_gen$g_ListSSLCertificatesRequest as ListSSLCertificatesRequest,
5288
5291
  index_gen$g_ListSSLCertificatesResponse as ListSSLCertificatesResponse,
5292
+ index_gen$g_ListTasksRequestOrderBy as ListTasksRequestOrderBy,
5289
5293
  index_gen$g_ListTasksResponse as ListTasksResponse,
5290
5294
  index_gen$g_Nameserver as Nameserver,
5291
5295
  index_gen$g_NewContact as NewContact,
@@ -5720,7 +5724,7 @@ type CronStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creat
5720
5724
  type DomainStatus$1 = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
5721
5725
  type FunctionHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
5722
5726
  type FunctionPrivacy = 'unknown_privacy' | 'public' | 'private';
5723
- type FunctionRuntime = 'unknown_runtime' | 'golang' | 'python' | 'python3' | 'node8' | 'node10' | 'node14' | 'node16' | 'node17' | 'python37' | 'python38' | 'python39' | 'python310' | 'go113' | 'go117' | 'go118' | 'node18' | 'rust165' | 'go119' | 'python311' | 'php82';
5727
+ type FunctionRuntime = 'unknown_runtime' | 'golang' | 'python' | 'python3' | 'node8' | 'node10' | 'node14' | 'node16' | 'node17' | 'python37' | 'python38' | 'python39' | 'python310' | 'go113' | 'go117' | 'go118' | 'node18' | 'rust165' | 'go119' | 'python311' | 'php82' | 'node19';
5724
5728
  type FunctionStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending' | 'created';
5725
5729
  type ListCronsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
5726
5730
  type ListDomainsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'hostname_asc' | 'hostname_desc';
@@ -8303,6 +8307,7 @@ interface Image$3 {
8303
8307
  arch: Arch;
8304
8308
  creationDate?: Date;
8305
8309
  modificationDate?: Date;
8310
+ /** @deprecated */
8306
8311
  defaultBootscript?: Bootscript;
8307
8312
  extraVolumes: Record<string, Volume$1>;
8308
8313
  fromServer: string;
@@ -8555,7 +8560,7 @@ interface Server {
8555
8560
  location?: ServerLocation;
8556
8561
  /** The server IPv6 address */
8557
8562
  ipv6?: ServerIpv6;
8558
- /** The server bootscript */
8563
+ /** @deprecated The server bootscript */
8559
8564
  bootscript?: Bootscript;
8560
8565
  /** The server boot type */
8561
8566
  bootType: BootType;
@@ -9037,7 +9042,7 @@ type CreateImageRequest = {
9037
9042
  rootVolume: string;
9038
9043
  /** Architecture of the image */
9039
9044
  arch: Arch;
9040
- /** Default bootscript of the image */
9045
+ /** @deprecated Default bootscript of the image */
9041
9046
  defaultBootscript?: string;
9042
9047
  /** Additional volumes of the image */
9043
9048
  extraVolumes?: Record<string, VolumeTemplate>;
@@ -9629,7 +9634,10 @@ type CreateServerRequest = {
9629
9634
  publicIp?: string;
9630
9635
  /** The boot type to use */
9631
9636
  bootType?: BootType;
9632
- /** The bootscript ID to use when `boot_type` is set to `bootscript` */
9637
+ /**
9638
+ * @deprecated The bootscript ID to use when `boot_type` is set to
9639
+ * `bootscript`
9640
+ */
9633
9641
  bootscript?: string;
9634
9642
  /**
9635
9643
  * @deprecated The server organization ID.
@@ -9693,7 +9701,7 @@ type SetServerRequest = {
9693
9701
  location?: ServerLocation;
9694
9702
  /** The server IPv6 address */
9695
9703
  ipv6?: ServerIpv6;
9696
- /** The server bootscript */
9704
+ /** @deprecated The server bootscript */
9697
9705
  bootscript?: Bootscript;
9698
9706
  /** The server boot type */
9699
9707
  bootType?: BootType;
@@ -9723,6 +9731,7 @@ type UpdateServerRequest = {
9723
9731
  /** Tags of the server */
9724
9732
  tags?: string[];
9725
9733
  volumes?: Record<string, VolumeServerTemplate>;
9734
+ /** @deprecated */
9726
9735
  bootscript?: string;
9727
9736
  dynamicIpRequired?: boolean;
9728
9737
  enableIpv6?: boolean;
@@ -9741,6 +9750,7 @@ type SetImageRequest = {
9741
9750
  arch?: Arch;
9742
9751
  creationDate?: Date;
9743
9752
  modificationDate?: Date;
9753
+ /** @deprecated */
9744
9754
  defaultBootscript?: Bootscript;
9745
9755
  extraVolumes?: Record<string, Volume$1>;
9746
9756
  fromServer: string;
@@ -10227,6 +10237,7 @@ declare class API$e extends API$n {
10227
10237
  /**
10228
10238
  * List bootscripts
10229
10239
  *
10240
+ * @deprecated
10230
10241
  * @param request - The request {@link ListBootscriptsRequest}
10231
10242
  * @returns A Promise of ListBootscriptsResponse
10232
10243
  */
@@ -10237,6 +10248,7 @@ declare class API$e extends API$n {
10237
10248
  /**
10238
10249
  * Get details of a bootscript with the given ID.
10239
10250
  *
10251
+ * @deprecated
10240
10252
  * @param request - The request {@link GetBootscriptRequest}
10241
10253
  * @returns A Promise of GetBootscriptResponse
10242
10254
  */
@@ -14119,6 +14131,8 @@ interface PrivateNetwork$2 {
14119
14131
  }
14120
14132
  interface PrivateNetworkDHCPConfig {
14121
14133
  }
14134
+ interface PrivateNetworkIpamConfig {
14135
+ }
14122
14136
  interface PrivateNetworkStaticConfig {
14123
14137
  ipAddress: string[];
14124
14138
  }
@@ -16829,6 +16843,7 @@ type index$b_MigrateLbRequest = MigrateLbRequest;
16829
16843
  type index$b_OnMarkedDownAction = OnMarkedDownAction;
16830
16844
  declare const index$b_PRIVATE_NETWORK_TRANSIENT_STATUSES: typeof PRIVATE_NETWORK_TRANSIENT_STATUSES;
16831
16845
  type index$b_PrivateNetworkDHCPConfig = PrivateNetworkDHCPConfig;
16846
+ type index$b_PrivateNetworkIpamConfig = PrivateNetworkIpamConfig;
16832
16847
  type index$b_PrivateNetworkStaticConfig = PrivateNetworkStaticConfig;
16833
16848
  type index$b_PrivateNetworkStatus = PrivateNetworkStatus;
16834
16849
  type index$b_Protocol = Protocol;
@@ -17014,6 +17029,7 @@ declare namespace index$b {
17014
17029
  index$b_PRIVATE_NETWORK_TRANSIENT_STATUSES as PRIVATE_NETWORK_TRANSIENT_STATUSES,
17015
17030
  PrivateNetwork$2 as PrivateNetwork,
17016
17031
  index$b_PrivateNetworkDHCPConfig as PrivateNetworkDHCPConfig,
17032
+ index$b_PrivateNetworkIpamConfig as PrivateNetworkIpamConfig,
17017
17033
  index$b_PrivateNetworkStaticConfig as PrivateNetworkStaticConfig,
17018
17034
  index$b_PrivateNetworkStatus as PrivateNetworkStatus,
17019
17035
  index$b_Protocol as Protocol,
@@ -22034,7 +22050,7 @@ type UpdatePrivateNetworkRequest = {
22034
22050
  name?: string;
22035
22051
  /** The private networks tags */
22036
22052
  tags?: string[];
22037
- /** Private network subnets CIDR */
22053
+ /** @deprecated Private network subnets CIDR (deprecated) */
22038
22054
  subnets?: string[];
22039
22055
  };
22040
22056
  type DeletePrivateNetworkRequest = {
@@ -1,4 +1,4 @@
1
- const version = 'v0.1.0-beta.35';
1
+ const version = 'v0.1.0-beta.36';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "0.1.0-beta.36",
3
+ "version": "0.1.0-beta.37",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "bb311b4dcda3b6151033a9555f010bd14f52172c"
38
+ "gitHead": "1f613307e112c40b840e893f0f778a8504b405fc"
39
39
  }