@scaleway/sdk 1.28.0 → 1.29.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.
@@ -21,7 +21,7 @@ class API extends API$1 {
21
21
  pageOfListDNSZones = request => this.client.fetch({
22
22
  method: 'GET',
23
23
  path: `/domain/v2beta1/dns-zones`,
24
- urlParams: urlParams(['dns_zone', request.dnsZone], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
24
+ urlParams: urlParams(['created_after', request.createdAfter], ['created_before', request.createdBefore], ['dns_zone', request.dnsZone], ['dns_zones', request.dnsZones], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['updated_after', request.updatedAfter], ['updated_before', request.updatedBefore])
25
25
  }, unmarshalListDNSZonesResponse);
26
26
 
27
27
  /**
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.27.0';
500
+ const version = 'v1.28.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -6316,7 +6316,7 @@ let API$l = class API extends API$s {
6316
6316
  pageOfListDNSZones = request => this.client.fetch({
6317
6317
  method: 'GET',
6318
6318
  path: `/domain/v2beta1/dns-zones`,
6319
- urlParams: urlParams(['dns_zone', request.dnsZone], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
6319
+ urlParams: urlParams(['created_after', request.createdAfter], ['created_before', request.createdBefore], ['dns_zone', request.dnsZone], ['dns_zones', request.dnsZones], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['updated_after', request.updatedAfter], ['updated_before', request.updatedBefore])
6320
6320
  }, unmarshalListDNSZonesResponse);
6321
6321
 
6322
6322
  /**
package/dist/index.d.ts CHANGED
@@ -4618,7 +4618,7 @@ type HostStatus = 'unknown_status' | 'active' | 'updating' | 'deleting';
4618
4618
  type LanguageCode = 'unknown_language_code' | 'en_US' | 'fr_FR' | 'de_DE';
4619
4619
  type ListContactsRequestRole = 'unknown_role' | 'owner' | 'administrative' | 'technical';
4620
4620
  type ListDNSZoneRecordsRequestOrderBy = 'name_asc' | 'name_desc';
4621
- type ListDNSZonesRequestOrderBy = 'domain_asc' | 'domain_desc' | 'subdomain_asc' | 'subdomain_desc';
4621
+ type ListDNSZonesRequestOrderBy = 'domain_asc' | 'domain_desc' | 'subdomain_asc' | 'subdomain_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
4622
4622
  type ListDomainsRequestOrderBy$1 = 'domain_asc' | 'domain_desc';
4623
4623
  type ListRenewableDomainsRequestOrderBy = 'domain_asc' | 'domain_desc';
4624
4624
  type ListTasksRequestOrderBy = 'domain_desc' | 'domain_asc' | 'type_asc' | 'type_desc' | 'status_asc' | 'status_desc' | 'updated_at_asc' | 'updated_at_desc';
@@ -5191,8 +5191,18 @@ type ListDNSZonesRequest = {
5191
5191
  pageSize?: number;
5192
5192
  /** Domain on which to filter the returned DNS zones. */
5193
5193
  domain: string;
5194
- /** DNS zone on which to filter the returned DNS zones. */
5195
- dnsZone: string;
5194
+ /** @deprecated DNS zone on which to filter the returned DNS zones. */
5195
+ dnsZone?: string;
5196
+ /** DNS zones on which to filter the returned DNS zones. */
5197
+ dnsZones?: string[];
5198
+ /** Only list DNS zones created after this date. */
5199
+ createdAfter?: Date;
5200
+ /** Only list DNS zones created before this date. */
5201
+ createdBefore?: Date;
5202
+ /** Only list DNS zones updated after this date. */
5203
+ updatedAfter?: Date;
5204
+ /** Only list DNS zones updated before this date. */
5205
+ updatedBefore?: Date;
5196
5206
  };
5197
5207
  type CreateDNSZoneRequest = {
5198
5208
  /** Domain in which to crreate the DNS zone. */
@@ -24689,7 +24699,7 @@ declare namespace index$4 {
24689
24699
 
24690
24700
  type DomainLastStatusRecordStatus = 'unknown_record_status' | 'valid' | 'invalid' | 'not_found';
24691
24701
  type DomainStatus = 'unknown' | 'checked' | 'unchecked' | 'invalid' | 'locked' | 'revoked' | 'pending';
24692
- type EmailFlag = 'unknown_flag' | 'soft_bounce' | 'hard_bounce' | 'spam' | 'mailbox_full';
24702
+ type EmailFlag = 'unknown_flag' | 'soft_bounce' | 'hard_bounce' | 'spam' | 'mailbox_full' | 'mailbox_not_found' | 'greylisted' | 'send_before_expiration';
24693
24703
  type EmailRcptType = 'unknown_rcpt_type' | 'to' | 'cc' | 'bcc';
24694
24704
  type EmailStatus = 'unknown' | 'new' | 'sending' | 'sent' | 'failed' | 'canceled';
24695
24705
  type ListEmailsRequestOrderBy = 'created_at_desc' | 'created_at_asc' | 'updated_at_desc' | 'updated_at_asc' | 'status_desc' | 'status_asc' | 'mail_from_desc' | 'mail_from_asc' | 'mail_rcpt_desc' | 'mail_rcpt_asc' | 'subject_desc' | 'subject_asc';
@@ -1,4 +1,4 @@
1
- const version = 'v1.27.0';
1
+ const version = 'v1.28.0';
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": "1.28.0",
3
+ "version": "1.29.0",
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": "7205006ea5a61adb8aa7690754ada4b861a8191a"
38
+ "gitHead": "e013092926ce4f0c69f7d59c040037584c1e422b"
39
39
  }