@randock/nameshift-api-client 0.0.261 → 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/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/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
|
}
|
|
@@ -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
|
|
|
@@ -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
|
}
|