@scaleway/sdk-domain 2.2.2 → 2.3.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.
@@ -111,6 +111,7 @@ export interface DomainRecord {
111
111
  */
112
112
  viewConfig?: DomainRecordViewConfig;
113
113
  id: string;
114
+ updatedAt?: Date;
114
115
  }
115
116
  export interface RecordIdentifier {
116
117
  name: string;
@@ -153,11 +154,11 @@ export interface ContactExtensionIT {
153
154
  /**
154
155
  * @deprecated This option is useless anymore.
155
156
  */
156
- europeanCitizenship?: string;
157
+ europeanCitizenship: string;
157
158
  /**
158
159
  * @deprecated Tax_code is renamed to pin.
159
160
  */
160
- taxCode?: string;
161
+ taxCode: string;
161
162
  /**
162
163
  * Domain name registrant's Taxcode (mandatory / only optional when the trustee is used)
163
164
 
@@ -249,10 +250,6 @@ export interface Contact {
249
250
  companyIdentificationCode: string;
250
251
  lang: StdLanguageCode;
251
252
  resale: boolean;
252
- /**
253
- * @deprecated
254
- */
255
- questions?: ContactQuestion[];
256
253
  extensionFr?: ContactExtensionFR;
257
254
  extensionEu?: ContactExtensionEU;
258
255
  whoisOptIn: boolean;
@@ -261,6 +258,10 @@ export interface Contact {
261
258
  extensionNl?: ContactExtensionNL;
262
259
  status: ContactStatus;
263
260
  extensionIt?: ContactExtensionIT;
261
+ /**
262
+ * @deprecated
263
+ */
264
+ questions: ContactQuestion[];
264
265
  }
265
266
  export interface ContactRolesRoles {
266
267
  isOwner: boolean;
@@ -302,16 +303,16 @@ export interface NewContact {
302
303
  companyIdentificationCode?: string;
303
304
  lang: StdLanguageCode;
304
305
  resale: boolean;
305
- /**
306
- * @deprecated
307
- */
308
- questions?: ContactQuestion[];
309
306
  extensionFr?: ContactExtensionFR;
310
307
  extensionEu?: ContactExtensionEU;
311
308
  whoisOptIn: boolean;
312
309
  state?: string;
313
310
  extensionNl?: ContactExtensionNL;
314
311
  extensionIt?: ContactExtensionIT;
312
+ /**
313
+ * @deprecated
314
+ */
315
+ questions: ContactQuestion[];
315
316
  }
316
317
  export interface CheckContactsCompatibilityResponseContactCheckResult {
317
318
  compatible: boolean;
@@ -713,7 +714,7 @@ export type ImportRawDNSZoneRequest = {
713
714
  /**
714
715
  * @deprecated
715
716
  */
716
- content?: string;
717
+ content: string;
717
718
  projectId?: string;
718
719
  /**
719
720
  * @deprecated
@@ -863,7 +864,7 @@ export type ListDNSZonesRequest = {
863
864
  /**
864
865
  * @deprecated DNS zone on which to filter the returned DNS zones.
865
866
  */
866
- dnsZone?: string;
867
+ dnsZone: string;
867
868
  /**
868
869
  * DNS zones on which to filter the returned DNS zones.
869
870
  */
@@ -1245,16 +1246,16 @@ export type RegistrarApiUpdateContactRequest = {
1245
1246
  companyIdentificationCode?: string;
1246
1247
  lang?: StdLanguageCode;
1247
1248
  resale?: boolean;
1248
- /**
1249
- * @deprecated
1250
- */
1251
- questions?: UpdateContactRequestQuestion[];
1252
1249
  extensionFr?: ContactExtensionFR;
1253
1250
  extensionEu?: ContactExtensionEU;
1254
- whoisOptIn?: boolean;
1255
- state?: string;
1256
1251
  extensionNl?: ContactExtensionNL;
1257
1252
  extensionIt?: ContactExtensionIT;
1253
+ whoisOptIn?: boolean;
1254
+ state?: string;
1255
+ /**
1256
+ * @deprecated
1257
+ */
1258
+ questions?: UpdateContactRequestQuestion[];
1258
1259
  };
1259
1260
  export type RegistrarApiUpdateDomainHostRequest = {
1260
1261
  domain: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-domain",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "description": "Scaleway SDK domain",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@scaleway/random-name": "5.1.2",
30
- "@scaleway/sdk-std": "2.1.1"
30
+ "@scaleway/sdk-std": "2.2.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@scaleway/sdk-client": "^2.1.0"
33
+ "@scaleway/sdk-client": "^2.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.1.0"
36
+ "@scaleway/sdk-client": "^2.2.0"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",