@randock/nameshift-api-client 0.0.260 → 0.0.262
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 +3 -3
- package/dist/models/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/DomainSellerDto.d.ts +6 -0
- package/dist/models/DomainSellerDto.js +4 -0
- package/dist/models/WithSettingsInner.d.ts +6 -0
- package/dist/models/WithSettingsInner.js +4 -0
- package/package.json +1 -1
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/DomainSellerDto.ts +9 -0
- package/src/models/WithSettingsInner.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.262
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.262 --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
|
-
|
|
47
|
+
cccaddc12527947133d955cae3c427c79289226314206d7b48518a8a614b337f4a581fec9b59a80c67cfae6113c2604f
|
|
@@ -80,6 +80,12 @@ export interface AccountSettingsInput {
|
|
|
80
80
|
* @memberof AccountSettingsInput
|
|
81
81
|
*/
|
|
82
82
|
timezone?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof AccountSettingsInput
|
|
87
|
+
*/
|
|
88
|
+
alias?: string;
|
|
83
89
|
}
|
|
84
90
|
/**
|
|
85
91
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -47,6 +47,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'timeTable': json['timeTable'] == null ? undefined : (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputFromJSON)(json['timeTable']),
|
|
48
48
|
'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiatorAiAgent']),
|
|
49
49
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
50
|
+
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -68,5 +69,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
69
|
'timeTable': (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputToJSON)(value['timeTable']),
|
|
69
70
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiatorAiAgent']),
|
|
70
71
|
'timezone': value['timezone'],
|
|
72
|
+
'alias': value['alias'],
|
|
71
73
|
};
|
|
72
74
|
}
|
|
@@ -16,6 +16,12 @@ import type { RelatedSellerDomain } from './RelatedSellerDomain';
|
|
|
16
16
|
* @interface DomainSellerDto
|
|
17
17
|
*/
|
|
18
18
|
export interface DomainSellerDto {
|
|
19
|
+
/**
|
|
20
|
+
* The domain seller account id
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DomainSellerDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
19
25
|
/**
|
|
20
26
|
* The domain seller account creation date
|
|
21
27
|
* @type {Date}
|
|
@@ -23,6 +23,8 @@ var RelatedSellerDomain_1 = require("./RelatedSellerDomain");
|
|
|
23
23
|
* Check if a given object implements the DomainSellerDto interface.
|
|
24
24
|
*/
|
|
25
25
|
function instanceOfDomainSellerDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
26
28
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
27
29
|
return false;
|
|
28
30
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
@@ -49,6 +51,7 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
return json;
|
|
50
52
|
}
|
|
51
53
|
return {
|
|
54
|
+
'id': json['id'],
|
|
52
55
|
'createdAt': (new Date(json['createdAt'])),
|
|
53
56
|
'anonymous': json['anonymous'],
|
|
54
57
|
'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
|
|
@@ -68,6 +71,7 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
71
|
return value;
|
|
69
72
|
}
|
|
70
73
|
return {
|
|
74
|
+
'id': value['id'],
|
|
71
75
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
76
|
'anonymous': value['anonymous'],
|
|
73
77
|
'lastOnline': (value['lastOnline'] == null ? null : value['lastOnline'].toISOString()),
|
|
@@ -92,6 +92,12 @@ export interface WithSettingsInner {
|
|
|
92
92
|
* @memberof WithSettingsInner
|
|
93
93
|
*/
|
|
94
94
|
timezone: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof WithSettingsInner
|
|
99
|
+
*/
|
|
100
|
+
alias: string | null;
|
|
95
101
|
/**
|
|
96
102
|
*
|
|
97
103
|
* @type {LeadPriceNegotiatorAiAgentConfigurationDto}
|
|
@@ -51,6 +51,8 @@ function instanceOfWithSettingsInner(value) {
|
|
|
51
51
|
return false;
|
|
52
52
|
if (!('timezone' in value) || value['timezone'] === undefined)
|
|
53
53
|
return false;
|
|
54
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
55
|
+
return false;
|
|
54
56
|
if (!('leadPriceNegotiatorAiAgent' in value) || value['leadPriceNegotiatorAiAgent'] === undefined)
|
|
55
57
|
return false;
|
|
56
58
|
return true;
|
|
@@ -75,6 +77,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
77
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
76
78
|
'timeTable': (0, TimeTableConfigurationDto_1.TimeTableConfigurationDtoFromJSON)(json['timeTable']),
|
|
77
79
|
'timezone': json['timezone'],
|
|
80
|
+
'alias': json['alias'],
|
|
78
81
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiatorAiAgent']),
|
|
79
82
|
};
|
|
80
83
|
}
|
|
@@ -99,6 +102,7 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
99
102
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
100
103
|
'timeTable': (0, TimeTableConfigurationDto_1.TimeTableConfigurationDtoToJSON)(value['timeTable']),
|
|
101
104
|
'timezone': value['timezone'],
|
|
105
|
+
'alias': value['alias'],
|
|
102
106
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiatorAiAgent']),
|
|
103
107
|
};
|
|
104
108
|
}
|
package/package.json
CHANGED
|
@@ -115,6 +115,12 @@ export interface AccountSettingsInput {
|
|
|
115
115
|
* @memberof AccountSettingsInput
|
|
116
116
|
*/
|
|
117
117
|
timezone?: string;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof AccountSettingsInput
|
|
122
|
+
*/
|
|
123
|
+
alias?: string;
|
|
118
124
|
}
|
|
119
125
|
|
|
120
126
|
/**
|
|
@@ -144,6 +150,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
144
150
|
'timeTable': json['timeTable'] == null ? undefined : TimeTableConfigurationInputFromJSON(json['timeTable']),
|
|
145
151
|
'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : LeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json['leadPriceNegotiatorAiAgent']),
|
|
146
152
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
153
|
+
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
147
154
|
};
|
|
148
155
|
}
|
|
149
156
|
|
|
@@ -168,6 +175,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
168
175
|
'timeTable': TimeTableConfigurationInputToJSON(value['timeTable']),
|
|
169
176
|
'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationInputToJSON(value['leadPriceNegotiatorAiAgent']),
|
|
170
177
|
'timezone': value['timezone'],
|
|
178
|
+
'alias': value['alias'],
|
|
171
179
|
};
|
|
172
180
|
}
|
|
173
181
|
|
|
@@ -27,6 +27,12 @@ import {
|
|
|
27
27
|
* @interface DomainSellerDto
|
|
28
28
|
*/
|
|
29
29
|
export interface DomainSellerDto {
|
|
30
|
+
/**
|
|
31
|
+
* The domain seller account id
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainSellerDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
30
36
|
/**
|
|
31
37
|
* The domain seller account creation date
|
|
32
38
|
* @type {Date}
|
|
@@ -81,6 +87,7 @@ export interface DomainSellerDto {
|
|
|
81
87
|
* Check if a given object implements the DomainSellerDto interface.
|
|
82
88
|
*/
|
|
83
89
|
export function instanceOfDomainSellerDto(value: object): value is DomainSellerDto {
|
|
90
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
84
91
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
85
92
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
86
93
|
if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
|
|
@@ -102,6 +109,7 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
102
109
|
}
|
|
103
110
|
return {
|
|
104
111
|
|
|
112
|
+
'id': json['id'],
|
|
105
113
|
'createdAt': (new Date(json['createdAt'])),
|
|
106
114
|
'anonymous': json['anonymous'],
|
|
107
115
|
'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
|
|
@@ -124,6 +132,7 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
|
|
|
124
132
|
|
|
125
133
|
return {
|
|
126
134
|
|
|
135
|
+
'id': value['id'],
|
|
127
136
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
128
137
|
'anonymous': value['anonymous'],
|
|
129
138
|
'lastOnline': (value['lastOnline'] == null ? null : (value['lastOnline'] as any).toISOString()),
|
|
@@ -127,6 +127,12 @@ export interface WithSettingsInner {
|
|
|
127
127
|
* @memberof WithSettingsInner
|
|
128
128
|
*/
|
|
129
129
|
timezone: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof WithSettingsInner
|
|
134
|
+
*/
|
|
135
|
+
alias: string | null;
|
|
130
136
|
/**
|
|
131
137
|
*
|
|
132
138
|
* @type {LeadPriceNegotiatorAiAgentConfigurationDto}
|
|
@@ -151,6 +157,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
151
157
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
152
158
|
if (!('timeTable' in value) || value['timeTable'] === undefined) return false;
|
|
153
159
|
if (!('timezone' in value) || value['timezone'] === undefined) return false;
|
|
160
|
+
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
154
161
|
if (!('leadPriceNegotiatorAiAgent' in value) || value['leadPriceNegotiatorAiAgent'] === undefined) return false;
|
|
155
162
|
return true;
|
|
156
163
|
}
|
|
@@ -177,6 +184,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
177
184
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
178
185
|
'timeTable': TimeTableConfigurationDtoFromJSON(json['timeTable']),
|
|
179
186
|
'timezone': json['timezone'],
|
|
187
|
+
'alias': json['alias'],
|
|
180
188
|
'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiatorAiAgent']),
|
|
181
189
|
};
|
|
182
190
|
}
|
|
@@ -204,6 +212,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
204
212
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
205
213
|
'timeTable': TimeTableConfigurationDtoToJSON(value['timeTable']),
|
|
206
214
|
'timezone': value['timezone'],
|
|
215
|
+
'alias': value['alias'],
|
|
207
216
|
'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiatorAiAgent']),
|
|
208
217
|
};
|
|
209
218
|
}
|