@randock/nameshift-api-client 0.0.275 → 0.0.276

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.275
1
+ ## @randock/nameshift-api-client@0.0.276
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.275 --save
39
+ npm install @randock/nameshift-api-client@0.0.276 --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
- d86f6a5d8ec95e3c01b8f8c7108b3ff7b97af70de7f295c83da567b99384990cb587d58913ddb2ab29d360da5d2d9cfd
47
+ 0983c42f99f0afa01e3243fe167054cc110b6fbb12b440acdf576e80a64bca1bc91c0b9b9f22b3490384b2041521c49a
@@ -34,6 +34,12 @@ export interface DomainSellerDto {
34
34
  * @memberof DomainSellerDto
35
35
  */
36
36
  anonymous: boolean;
37
+ /**
38
+ * Show trustpilot
39
+ * @type {boolean}
40
+ * @memberof DomainSellerDto
41
+ */
42
+ showTrustpilot: boolean;
37
43
  /**
38
44
  * Last online, formatted
39
45
  * @type {Date}
@@ -29,6 +29,8 @@ function instanceOfDomainSellerDto(value) {
29
29
  return false;
30
30
  if (!('anonymous' in value) || value['anonymous'] === undefined)
31
31
  return false;
32
+ if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
33
+ return false;
32
34
  if (!('lastOnline' in value) || value['lastOnline'] === undefined)
33
35
  return false;
34
36
  if (!('deliversIn' in value) || value['deliversIn'] === undefined)
@@ -54,6 +56,7 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
54
56
  'id': json['id'],
55
57
  'createdAt': (new Date(json['createdAt'])),
56
58
  'anonymous': json['anonymous'],
59
+ 'showTrustpilot': json['showTrustpilot'],
57
60
  'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
58
61
  'deliversIn': json['deliversIn'],
59
62
  'name': json['name'],
@@ -74,6 +77,7 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
74
77
  'id': value['id'],
75
78
  'createdAt': ((value['createdAt']).toISOString()),
76
79
  'anonymous': value['anonymous'],
80
+ 'showTrustpilot': value['showTrustpilot'],
77
81
  'lastOnline': (value['lastOnline'] == null ? null : value['lastOnline'].toISOString()),
78
82
  'deliversIn': value['deliversIn'],
79
83
  'name': value['name'],
@@ -39,6 +39,12 @@ export interface LandingPageInput {
39
39
  * @memberof LandingPageInput
40
40
  */
41
41
  showDeliversIn?: boolean | null;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof LandingPageInput
46
+ */
47
+ showTrustpilot?: boolean | null;
42
48
  /**
43
49
  *
44
50
  * @type {boolean}
@@ -36,6 +36,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
37
37
  'showLastOnline': json['showLastOnline'] == null ? undefined : json['showLastOnline'],
38
38
  'showDeliversIn': json['showDeliversIn'] == null ? undefined : json['showDeliversIn'],
39
+ 'showTrustpilot': json['showTrustpilot'] == null ? undefined : json['showTrustpilot'],
39
40
  'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
40
41
  'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
41
42
  'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
@@ -54,6 +55,7 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
54
55
  'showRelatedDomains': value['showRelatedDomains'],
55
56
  'showLastOnline': value['showLastOnline'],
56
57
  'showDeliversIn': value['showDeliversIn'],
58
+ 'showTrustpilot': value['showTrustpilot'],
57
59
  'seoMetrics': value['seoMetrics'],
58
60
  'visitorStats': value['visitorStats'],
59
61
  'minDomainAuthority': value['minDomainAuthority'],
@@ -57,6 +57,12 @@ export interface LandingPageSettingsDto {
57
57
  * @memberof LandingPageSettingsDto
58
58
  */
59
59
  showDeliversIn: boolean | null;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof LandingPageSettingsDto
64
+ */
65
+ showTrustpilot: boolean | null;
60
66
  }
61
67
  /**
62
68
  * Check if a given object implements the LandingPageSettingsDto interface.
@@ -36,6 +36,8 @@ function instanceOfLandingPageSettingsDto(value) {
36
36
  return false;
37
37
  if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
38
38
  return false;
39
+ if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
40
+ return false;
39
41
  return true;
40
42
  }
41
43
  function LandingPageSettingsDtoFromJSON(json) {
@@ -53,6 +55,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
53
55
  'minDomainAuthority': json['minDomainAuthority'],
54
56
  'showLastOnline': json['showLastOnline'],
55
57
  'showDeliversIn': json['showDeliversIn'],
58
+ 'showTrustpilot': json['showTrustpilot'],
56
59
  };
57
60
  }
58
61
  function LandingPageSettingsDtoToJSON(json) {
@@ -71,5 +74,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
71
74
  'minDomainAuthority': value['minDomainAuthority'],
72
75
  'showLastOnline': value['showLastOnline'],
73
76
  'showDeliversIn': value['showDeliversIn'],
77
+ 'showTrustpilot': value['showTrustpilot'],
74
78
  };
75
79
  }
@@ -57,6 +57,12 @@ export interface WithSettingsInner {
57
57
  * @memberof WithSettingsInner
58
58
  */
59
59
  showDeliversIn: boolean;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof WithSettingsInner
64
+ */
65
+ showTrustpilot: boolean;
60
66
  /**
61
67
  *
62
68
  * @type {string}
@@ -40,6 +40,8 @@ function instanceOfWithSettingsInner(value) {
40
40
  return false;
41
41
  if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
42
42
  return false;
43
+ if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
44
+ return false;
43
45
  if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined)
44
46
  return false;
45
47
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
@@ -72,6 +74,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
72
74
  'showRelatedDomains': json['showRelatedDomains'],
73
75
  'showLastOnline': json['showLastOnline'],
74
76
  'showDeliversIn': json['showDeliversIn'],
77
+ 'showTrustpilot': json['showTrustpilot'],
75
78
  'sidnIdcode': json['sidnIdcode'],
76
79
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
77
80
  'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoFromJSON)(json['rent']),
@@ -97,6 +100,7 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
97
100
  'showRelatedDomains': value['showRelatedDomains'],
98
101
  'showLastOnline': value['showLastOnline'],
99
102
  'showDeliversIn': value['showDeliversIn'],
103
+ 'showTrustpilot': value['showTrustpilot'],
100
104
  'sidnIdcode': value['sidnIdcode'],
101
105
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
102
106
  'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoToJSON)(value['rent']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.275",
3
+ "version": "0.0.276",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -45,6 +45,12 @@ export interface DomainSellerDto {
45
45
  * @memberof DomainSellerDto
46
46
  */
47
47
  anonymous: boolean;
48
+ /**
49
+ * Show trustpilot
50
+ * @type {boolean}
51
+ * @memberof DomainSellerDto
52
+ */
53
+ showTrustpilot: boolean;
48
54
  /**
49
55
  * Last online, formatted
50
56
  * @type {Date}
@@ -90,6 +96,7 @@ export function instanceOfDomainSellerDto(value: object): value is DomainSellerD
90
96
  if (!('id' in value) || value['id'] === undefined) return false;
91
97
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
92
98
  if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
99
+ if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
93
100
  if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
94
101
  if (!('deliversIn' in value) || value['deliversIn'] === undefined) return false;
95
102
  if (!('name' in value) || value['name'] === undefined) return false;
@@ -112,6 +119,7 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
112
119
  'id': json['id'],
113
120
  'createdAt': (new Date(json['createdAt'])),
114
121
  'anonymous': json['anonymous'],
122
+ 'showTrustpilot': json['showTrustpilot'],
115
123
  'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
116
124
  'deliversIn': json['deliversIn'],
117
125
  'name': json['name'],
@@ -135,6 +143,7 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
135
143
  'id': value['id'],
136
144
  'createdAt': ((value['createdAt']).toISOString()),
137
145
  'anonymous': value['anonymous'],
146
+ 'showTrustpilot': value['showTrustpilot'],
138
147
  'lastOnline': (value['lastOnline'] == null ? null : (value['lastOnline'] as any).toISOString()),
139
148
  'deliversIn': value['deliversIn'],
140
149
  'name': value['name'],
@@ -43,6 +43,12 @@ export interface LandingPageInput {
43
43
  * @memberof LandingPageInput
44
44
  */
45
45
  showDeliversIn?: boolean | null;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof LandingPageInput
50
+ */
51
+ showTrustpilot?: boolean | null;
46
52
  /**
47
53
  *
48
54
  * @type {boolean}
@@ -84,6 +90,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
84
90
  'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
85
91
  'showLastOnline': json['showLastOnline'] == null ? undefined : json['showLastOnline'],
86
92
  'showDeliversIn': json['showDeliversIn'] == null ? undefined : json['showDeliversIn'],
93
+ 'showTrustpilot': json['showTrustpilot'] == null ? undefined : json['showTrustpilot'],
87
94
  'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
88
95
  'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
89
96
  'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
@@ -105,6 +112,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
105
112
  'showRelatedDomains': value['showRelatedDomains'],
106
113
  'showLastOnline': value['showLastOnline'],
107
114
  'showDeliversIn': value['showDeliversIn'],
115
+ 'showTrustpilot': value['showTrustpilot'],
108
116
  'seoMetrics': value['seoMetrics'],
109
117
  'visitorStats': value['visitorStats'],
110
118
  'minDomainAuthority': value['minDomainAuthority'],
@@ -61,6 +61,12 @@ export interface LandingPageSettingsDto {
61
61
  * @memberof LandingPageSettingsDto
62
62
  */
63
63
  showDeliversIn: boolean | null;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof LandingPageSettingsDto
68
+ */
69
+ showTrustpilot: boolean | null;
64
70
  }
65
71
 
66
72
  /**
@@ -74,6 +80,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
74
80
  if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
75
81
  if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
76
82
  if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
83
+ if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
77
84
  return true;
78
85
  }
79
86
 
@@ -94,6 +101,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
94
101
  'minDomainAuthority': json['minDomainAuthority'],
95
102
  'showLastOnline': json['showLastOnline'],
96
103
  'showDeliversIn': json['showDeliversIn'],
104
+ 'showTrustpilot': json['showTrustpilot'],
97
105
  };
98
106
  }
99
107
 
@@ -115,6 +123,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
115
123
  'minDomainAuthority': value['minDomainAuthority'],
116
124
  'showLastOnline': value['showLastOnline'],
117
125
  'showDeliversIn': value['showDeliversIn'],
126
+ 'showTrustpilot': value['showTrustpilot'],
118
127
  };
119
128
  }
120
129
 
@@ -98,6 +98,12 @@ export interface WithSettingsInner {
98
98
  * @memberof WithSettingsInner
99
99
  */
100
100
  showDeliversIn: boolean;
101
+ /**
102
+ *
103
+ * @type {boolean}
104
+ * @memberof WithSettingsInner
105
+ */
106
+ showTrustpilot: boolean;
101
107
  /**
102
108
  *
103
109
  * @type {string}
@@ -158,6 +164,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
158
164
  if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
159
165
  if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
160
166
  if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
167
+ if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
161
168
  if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
162
169
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
163
170
  if (!('rent' in value) || value['rent'] === undefined) return false;
@@ -185,6 +192,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
185
192
  'showRelatedDomains': json['showRelatedDomains'],
186
193
  'showLastOnline': json['showLastOnline'],
187
194
  'showDeliversIn': json['showDeliversIn'],
195
+ 'showTrustpilot': json['showTrustpilot'],
188
196
  'sidnIdcode': json['sidnIdcode'],
189
197
  'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
190
198
  'rent': AccountSettingsRentConfigurationDtoFromJSON(json['rent']),
@@ -213,6 +221,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
213
221
  'showRelatedDomains': value['showRelatedDomains'],
214
222
  'showLastOnline': value['showLastOnline'],
215
223
  'showDeliversIn': value['showDeliversIn'],
224
+ 'showTrustpilot': value['showTrustpilot'],
216
225
  'sidnIdcode': value['sidnIdcode'],
217
226
  'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
218
227
  'rent': AccountSettingsRentConfigurationDtoToJSON(value['rent']),