@randock/nameshift-api-client 0.0.224 → 0.0.226

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.224
1
+ ## @randock/nameshift-api-client@0.0.226
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.224 --save
39
+ npm install @randock/nameshift-api-client@0.0.226 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- c91ec71f7baab9af3a48158545c0518a1b790a262f568c52b343e069750048683326d34e9122df5f169a7424b3dfa691
47
+ 5e3e3926eccb7fdcabfe126fadd872db653bf4bf19534fd408f17e21031bc97bb61748d4c14030c4126f8988e23b9b7d
@@ -58,6 +58,7 @@ export declare const AccountNotificationDtoTypeEnum: {
58
58
  readonly ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: "account.payment_provider.not_configured";
59
59
  readonly ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: "account.payment_provider.not_active";
60
60
  readonly ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: "account.payment_provider.was_changed";
61
+ readonly ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: "account.bank_account.verification_required";
61
62
  };
62
63
  export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
63
64
  /**
@@ -35,7 +35,8 @@ exports.AccountNotificationDtoTypeEnum = {
35
35
  ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured',
36
36
  ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: 'account.payment_provider.not_configured',
37
37
  ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: 'account.payment_provider.not_active',
38
- ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed'
38
+ ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed',
39
+ ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: 'account.bank_account.verification_required'
39
40
  };
40
41
  /**
41
42
  * Check if a given object implements the AccountNotificationDto interface.
@@ -33,7 +33,7 @@ export interface DomainSellerDto {
33
33
  * @type {Date}
34
34
  * @memberof DomainSellerDto
35
35
  */
36
- lastOnline: Date;
36
+ lastOnline: Date | null;
37
37
  /**
38
38
  * Delivers in, formatted
39
39
  * @type {string}
@@ -51,7 +51,7 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
51
51
  return {
52
52
  'createdAt': (new Date(json['createdAt'])),
53
53
  'anonymous': json['anonymous'],
54
- 'lastOnline': (new Date(json['lastOnline'])),
54
+ 'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
55
55
  'deliversIn': json['deliversIn'],
56
56
  'name': json['name'],
57
57
  'avatar': json['avatar'],
@@ -70,7 +70,7 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
70
70
  return {
71
71
  'createdAt': ((value['createdAt']).toISOString()),
72
72
  'anonymous': value['anonymous'],
73
- 'lastOnline': ((value['lastOnline']).toISOString()),
73
+ 'lastOnline': (value['lastOnline'] == null ? null : value['lastOnline'].toISOString()),
74
74
  'deliversIn': value['deliversIn'],
75
75
  'name': value['name'],
76
76
  'avatar': value['avatar'],
@@ -27,7 +27,7 @@ export interface DomainStatsDto {
27
27
  * @type {string}
28
28
  * @memberof DomainStatsDto
29
29
  */
30
- shareUrl: string;
30
+ shareUrl: string | null;
31
31
  /**
32
32
  * The time unit
33
33
  * @type {string}
@@ -27,6 +27,18 @@ export interface LandingPageInput {
27
27
  * @memberof LandingPageInput
28
28
  */
29
29
  showRelatedDomains?: boolean | null;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof LandingPageInput
34
+ */
35
+ showLastOnline?: boolean | null;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof LandingPageInput
40
+ */
41
+ showDeliversIn?: boolean | null;
30
42
  /**
31
43
  *
32
44
  * @type {boolean}
@@ -34,6 +34,8 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return {
35
35
  'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
36
36
  'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
37
+ 'showLastOnline': json['showLastOnline'] == null ? undefined : json['showLastOnline'],
38
+ 'showDeliversIn': json['showDeliversIn'] == null ? undefined : json['showDeliversIn'],
37
39
  'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
38
40
  'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
39
41
  'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
@@ -50,6 +52,8 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
50
52
  return {
51
53
  'anonymous': value['anonymous'],
52
54
  'showRelatedDomains': value['showRelatedDomains'],
55
+ 'showLastOnline': value['showLastOnline'],
56
+ 'showDeliversIn': value['showDeliversIn'],
53
57
  'seoMetrics': value['seoMetrics'],
54
58
  'visitorStats': value['visitorStats'],
55
59
  'minDomainAuthority': value['minDomainAuthority'],
@@ -45,6 +45,18 @@ export interface LandingPageSettingsDto {
45
45
  * @memberof LandingPageSettingsDto
46
46
  */
47
47
  minDomainAuthority: number | null;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof LandingPageSettingsDto
52
+ */
53
+ showLastOnline: boolean | null;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof LandingPageSettingsDto
58
+ */
59
+ showDeliversIn: boolean | null;
48
60
  }
49
61
  /**
50
62
  * Check if a given object implements the LandingPageSettingsDto interface.
@@ -32,6 +32,10 @@ function instanceOfLandingPageSettingsDto(value) {
32
32
  return false;
33
33
  if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined)
34
34
  return false;
35
+ if (!('showLastOnline' in value) || value['showLastOnline'] === undefined)
36
+ return false;
37
+ if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
38
+ return false;
35
39
  return true;
36
40
  }
37
41
  function LandingPageSettingsDtoFromJSON(json) {
@@ -47,6 +51,8 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
47
51
  'seoMetrics': json['seoMetrics'],
48
52
  'visitorStats': json['visitorStats'],
49
53
  'minDomainAuthority': json['minDomainAuthority'],
54
+ 'showLastOnline': json['showLastOnline'],
55
+ 'showDeliversIn': json['showDeliversIn'],
50
56
  };
51
57
  }
52
58
  function LandingPageSettingsDtoToJSON(json) {
@@ -63,5 +69,7 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
63
69
  'seoMetrics': value['seoMetrics'],
64
70
  'visitorStats': value['visitorStats'],
65
71
  'minDomainAuthority': value['minDomainAuthority'],
72
+ 'showLastOnline': value['showLastOnline'],
73
+ 'showDeliversIn': value['showDeliversIn'],
66
74
  };
67
75
  }
@@ -41,6 +41,18 @@ export interface WithSettingsInner {
41
41
  * @memberof WithSettingsInner
42
42
  */
43
43
  showRelatedDomains: boolean;
44
+ /**
45
+ *
46
+ * @type {boolean}
47
+ * @memberof WithSettingsInner
48
+ */
49
+ showLastOnline: boolean;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof WithSettingsInner
54
+ */
55
+ showDeliversIn: boolean;
44
56
  /**
45
57
  *
46
58
  * @type {string}
@@ -32,6 +32,10 @@ function instanceOfWithSettingsInner(value) {
32
32
  return false;
33
33
  if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
34
34
  return false;
35
+ if (!('showLastOnline' in value) || value['showLastOnline'] === undefined)
36
+ return false;
37
+ if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
38
+ return false;
35
39
  if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined)
36
40
  return false;
37
41
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
@@ -50,6 +54,8 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
50
54
  'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
51
55
  'anonymous': json['anonymous'],
52
56
  'showRelatedDomains': json['showRelatedDomains'],
57
+ 'showLastOnline': json['showLastOnline'],
58
+ 'showDeliversIn': json['showDeliversIn'],
53
59
  'sidnIdcode': json['sidnIdcode'],
54
60
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
55
61
  };
@@ -67,6 +73,8 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
67
73
  'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
68
74
  'anonymous': value['anonymous'],
69
75
  'showRelatedDomains': value['showRelatedDomains'],
76
+ 'showLastOnline': value['showLastOnline'],
77
+ 'showDeliversIn': value['showDeliversIn'],
70
78
  'sidnIdcode': value['sidnIdcode'],
71
79
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
72
80
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.224",
3
+ "version": "0.0.226",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -71,7 +71,8 @@ export const AccountNotificationDtoTypeEnum = {
71
71
  ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured',
72
72
  ACCOUNT_PAYMENT_PROVIDER_NOT_CONFIGURED: 'account.payment_provider.not_configured',
73
73
  ACCOUNT_PAYMENT_PROVIDER_NOT_ACTIVE: 'account.payment_provider.not_active',
74
- ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed'
74
+ ACCOUNT_PAYMENT_PROVIDER_WAS_CHANGED: 'account.payment_provider.was_changed',
75
+ ACCOUNT_BANK_ACCOUNT_VERIFICATION_REQUIRED: 'account.bank_account.verification_required'
75
76
  } as const;
76
77
  export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
77
78
 
@@ -44,7 +44,7 @@ export interface DomainSellerDto {
44
44
  * @type {Date}
45
45
  * @memberof DomainSellerDto
46
46
  */
47
- lastOnline: Date;
47
+ lastOnline: Date | null;
48
48
  /**
49
49
  * Delivers in, formatted
50
50
  * @type {string}
@@ -104,7 +104,7 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
104
104
 
105
105
  'createdAt': (new Date(json['createdAt'])),
106
106
  'anonymous': json['anonymous'],
107
- 'lastOnline': (new Date(json['lastOnline'])),
107
+ 'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
108
108
  'deliversIn': json['deliversIn'],
109
109
  'name': json['name'],
110
110
  'avatar': json['avatar'],
@@ -126,7 +126,7 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
126
126
 
127
127
  'createdAt': ((value['createdAt']).toISOString()),
128
128
  'anonymous': value['anonymous'],
129
- 'lastOnline': ((value['lastOnline']).toISOString()),
129
+ 'lastOnline': (value['lastOnline'] == null ? null : (value['lastOnline'] as any).toISOString()),
130
130
  'deliversIn': value['deliversIn'],
131
131
  'name': value['name'],
132
132
  'avatar': value['avatar'],
@@ -38,7 +38,7 @@ export interface DomainStatsDto {
38
38
  * @type {string}
39
39
  * @memberof DomainStatsDto
40
40
  */
41
- shareUrl: string;
41
+ shareUrl: string | null;
42
42
  /**
43
43
  * The time unit
44
44
  * @type {string}
@@ -31,6 +31,18 @@ export interface LandingPageInput {
31
31
  * @memberof LandingPageInput
32
32
  */
33
33
  showRelatedDomains?: boolean | null;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof LandingPageInput
38
+ */
39
+ showLastOnline?: boolean | null;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof LandingPageInput
44
+ */
45
+ showDeliversIn?: boolean | null;
34
46
  /**
35
47
  *
36
48
  * @type {boolean}
@@ -70,6 +82,8 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
70
82
 
71
83
  'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
72
84
  'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
85
+ 'showLastOnline': json['showLastOnline'] == null ? undefined : json['showLastOnline'],
86
+ 'showDeliversIn': json['showDeliversIn'] == null ? undefined : json['showDeliversIn'],
73
87
  'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
74
88
  'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
75
89
  'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
@@ -89,6 +103,8 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
89
103
 
90
104
  'anonymous': value['anonymous'],
91
105
  'showRelatedDomains': value['showRelatedDomains'],
106
+ 'showLastOnline': value['showLastOnline'],
107
+ 'showDeliversIn': value['showDeliversIn'],
92
108
  'seoMetrics': value['seoMetrics'],
93
109
  'visitorStats': value['visitorStats'],
94
110
  'minDomainAuthority': value['minDomainAuthority'],
@@ -49,6 +49,18 @@ export interface LandingPageSettingsDto {
49
49
  * @memberof LandingPageSettingsDto
50
50
  */
51
51
  minDomainAuthority: number | null;
52
+ /**
53
+ *
54
+ * @type {boolean}
55
+ * @memberof LandingPageSettingsDto
56
+ */
57
+ showLastOnline: boolean | null;
58
+ /**
59
+ *
60
+ * @type {boolean}
61
+ * @memberof LandingPageSettingsDto
62
+ */
63
+ showDeliversIn: boolean | null;
52
64
  }
53
65
 
54
66
  /**
@@ -60,6 +72,8 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
60
72
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
61
73
  if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
62
74
  if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
75
+ if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
76
+ if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
63
77
  return true;
64
78
  }
65
79
 
@@ -78,6 +92,8 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
78
92
  'seoMetrics': json['seoMetrics'],
79
93
  'visitorStats': json['visitorStats'],
80
94
  'minDomainAuthority': json['minDomainAuthority'],
95
+ 'showLastOnline': json['showLastOnline'],
96
+ 'showDeliversIn': json['showDeliversIn'],
81
97
  };
82
98
  }
83
99
 
@@ -97,6 +113,8 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
97
113
  'seoMetrics': value['seoMetrics'],
98
114
  'visitorStats': value['visitorStats'],
99
115
  'minDomainAuthority': value['minDomainAuthority'],
116
+ 'showLastOnline': value['showLastOnline'],
117
+ 'showDeliversIn': value['showDeliversIn'],
100
118
  };
101
119
  }
102
120
 
@@ -58,6 +58,18 @@ export interface WithSettingsInner {
58
58
  * @memberof WithSettingsInner
59
59
  */
60
60
  showRelatedDomains: boolean;
61
+ /**
62
+ *
63
+ * @type {boolean}
64
+ * @memberof WithSettingsInner
65
+ */
66
+ showLastOnline: boolean;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof WithSettingsInner
71
+ */
72
+ showDeliversIn: boolean;
61
73
  /**
62
74
  *
63
75
  * @type {string}
@@ -80,6 +92,8 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
80
92
  if (!('defaultStartingOffer' in value) || value['defaultStartingOffer'] === undefined) return false;
81
93
  if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
82
94
  if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
95
+ if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
96
+ if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
83
97
  if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
84
98
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
85
99
  return true;
@@ -99,6 +113,8 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
99
113
  'defaultStartingOffer': MoneyDtoFromJSON(json['defaultStartingOffer']),
100
114
  'anonymous': json['anonymous'],
101
115
  'showRelatedDomains': json['showRelatedDomains'],
116
+ 'showLastOnline': json['showLastOnline'],
117
+ 'showDeliversIn': json['showDeliversIn'],
102
118
  'sidnIdcode': json['sidnIdcode'],
103
119
  'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
104
120
  };
@@ -119,6 +135,8 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
119
135
  'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
120
136
  'anonymous': value['anonymous'],
121
137
  'showRelatedDomains': value['showRelatedDomains'],
138
+ 'showLastOnline': value['showLastOnline'],
139
+ 'showDeliversIn': value['showDeliversIn'],
122
140
  'sidnIdcode': value['sidnIdcode'],
123
141
  'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
124
142
  };