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

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.
@@ -450,7 +450,8 @@ const unmarshalRenewableDomain = data => {
450
450
  organizationId: data.organization_id,
451
451
  projectId: data.project_id,
452
452
  renewableDurationInYears: data.renewable_duration_in_years,
453
- status: data.status
453
+ status: data.status,
454
+ tld: data.tld ? unmarshalTld(data.tld) : undefined
454
455
  };
455
456
  };
456
457
  const unmarshalSSLCertificate = data => {
@@ -538,6 +539,7 @@ const unmarshalDomain = data => {
538
539
  registrar: data.registrar,
539
540
  status: data.status,
540
541
  technicalContact: data.technical_contact ? unmarshalContact(data.technical_contact) : undefined,
542
+ tld: data.tld ? unmarshalTld(data.tld) : undefined,
541
543
  transferRegistrationStatus: data.transfer_registration_status ? unmarshalDomainRegistrationStatusTransfer(data.transfer_registration_status) : undefined,
542
544
  updatedAt: unmarshalDate(data.updated_at)
543
545
  };
@@ -73,7 +73,7 @@ class API extends API$1 {
73
73
  this.pageOfListSecretVersions = request => this.client.fetch({
74
74
  method: 'GET',
75
75
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`,
76
- urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
76
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
77
77
  }, unmarshalListSecretVersionsResponse);
78
78
  this.listSecretVersions = request => enrichForPagination('versions', this.pageOfListSecretVersions, request);
79
79
  this.destroySecretVersion = request => this.client.fetch({
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.34';
393
+ const version = 'v0.1.0-beta.35';
394
394
  const userAgent = `scaleway-sdk-js/${version}`;
395
395
 
396
396
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -4485,7 +4485,8 @@ const unmarshalRenewableDomain = data => {
4485
4485
  organizationId: data.organization_id,
4486
4486
  projectId: data.project_id,
4487
4487
  renewableDurationInYears: data.renewable_duration_in_years,
4488
- status: data.status
4488
+ status: data.status,
4489
+ tld: data.tld ? unmarshalTld(data.tld) : undefined
4489
4490
  };
4490
4491
  };
4491
4492
  const unmarshalSSLCertificate = data => {
@@ -4573,6 +4574,7 @@ const unmarshalDomain$2 = data => {
4573
4574
  registrar: data.registrar,
4574
4575
  status: data.status,
4575
4576
  technicalContact: data.technical_contact ? unmarshalContact(data.technical_contact) : undefined,
4577
+ tld: data.tld ? unmarshalTld(data.tld) : undefined,
4576
4578
  transferRegistrationStatus: data.transfer_registration_status ? unmarshalDomainRegistrationStatusTransfer(data.transfer_registration_status) : undefined,
4577
4579
  updatedAt: unmarshalDate(data.updated_at)
4578
4580
  };
@@ -18037,7 +18039,7 @@ let API$4 = class API extends API$n {
18037
18039
  pageOfListSecretVersions = request => this.client.fetch({
18038
18040
  method: 'GET',
18039
18041
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`,
18040
- urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
18042
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
18041
18043
  }, unmarshalListSecretVersionsResponse);
18042
18044
 
18043
18045
  /**
package/dist/index.d.ts CHANGED
@@ -3690,6 +3690,7 @@ interface Domain$2 {
3690
3690
  * set.
3691
3691
  */
3692
3692
  transferRegistrationStatus?: DomainRegistrationStatusTransfer;
3693
+ tld?: Tld;
3693
3694
  }
3694
3695
  interface DomainDNSSEC {
3695
3696
  status: DomainFeatureStatus;
@@ -3996,6 +3997,7 @@ interface RenewableDomain {
3996
3997
  limitRenewAt?: Date;
3997
3998
  limitRedemptionAt?: Date;
3998
3999
  estimatedDeleteAt?: Date;
4000
+ tld?: Tld;
3999
4001
  }
4000
4002
  /** Restore dns zone version response */
4001
4003
  interface RestoreDNSZoneVersionResponse {
@@ -12169,7 +12171,7 @@ interface Cluster$1 {
12169
12171
  dashboardEnabled?: boolean;
12170
12172
  /** @deprecated The ingress controller used in the cluster */
12171
12173
  ingress?: Ingress;
12172
- /** The auo upgrade configuration of the cluster */
12174
+ /** The auto upgrade configuration of the cluster */
12173
12175
  autoUpgrade?: ClusterAutoUpgrade;
12174
12176
  /** True if a new Kubernetes version is available */
12175
12177
  upgradeAvailable: boolean;
@@ -21103,6 +21105,8 @@ type ListSecretVersionsRequest = {
21103
21105
  secretId: string;
21104
21106
  page?: number;
21105
21107
  pageSize?: number;
21108
+ /** Filter results by status */
21109
+ status?: SecretVersionStatus[];
21106
21110
  };
21107
21111
  type DestroySecretVersionRequest = {
21108
21112
  /** Region to target. If none is passed will use default region from the config */
@@ -1,4 +1,4 @@
1
- const version = 'v0.1.0-beta.34';
1
+ const version = 'v0.1.0-beta.35';
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.35",
3
+ "version": "0.1.0-beta.36",
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": "d58e6175a5b8b8a3727097710b2ebcee012f924b"
38
+ "gitHead": "bb311b4dcda3b6151033a9555f010bd14f52172c"
39
39
  }