@randock/nameshift-api-client 0.0.307 → 0.0.309

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.307
1
+ ## @randock/nameshift-api-client@0.0.309
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.307 --save
39
+ npm install @randock/nameshift-api-client@0.0.309 --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
- 506328c11301d2b177a85af496fdfe178cc4d61f1a469fd5667dbdadb3053dd2a21098a3e59dd689d9644ebf7e8721a8
47
+ 645fd0a5a71f674f907c6b85429160f19959277a8565ff00a7aba1f216423bc681eaca2bcf2062ecf1eff2df2fee61ec
@@ -34,6 +34,12 @@ export interface AdminAccountSettingsInput {
34
34
  * @memberof AdminAccountSettingsInput
35
35
  */
36
36
  affiliate?: AdminAccountSettingsAffiliateInput;
37
+ /**
38
+ *
39
+ * @type {AdminAccountSettingsAffiliateInput}
40
+ * @memberof AdminAccountSettingsInput
41
+ */
42
+ domainAffiliate?: AdminAccountSettingsAffiliateInput;
37
43
  }
38
44
  /**
39
45
  * Check if a given object implements the AdminAccountSettingsInput interface.
@@ -36,6 +36,7 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
37
37
  'leaseToOwnKickBackPercentage': json['leaseToOwnKickBackPercentage'] == null ? undefined : json['leaseToOwnKickBackPercentage'],
38
38
  'affiliate': json['affiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['affiliate']),
39
+ 'domainAffiliate': json['domainAffiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['domainAffiliate']),
39
40
  };
40
41
  }
41
42
  function AdminAccountSettingsInputToJSON(json) {
@@ -50,5 +51,6 @@ function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
50
51
  'automaticPayouts': value['automaticPayouts'],
51
52
  'leaseToOwnKickBackPercentage': value['leaseToOwnKickBackPercentage'],
52
53
  'affiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['affiliate']),
54
+ 'domainAffiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['domainAffiliate']),
53
55
  };
54
56
  }
@@ -16,6 +16,12 @@ import type { MoneyDto } from './MoneyDto';
16
16
  * @interface CreateLeadInput
17
17
  */
18
18
  export interface CreateLeadInput {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CreateLeadInput
23
+ */
24
+ affiliateId?: string | null;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -57,6 +57,7 @@ function CreateLeadInputFromJSONTyped(json, ignoreDiscriminator) {
57
57
  return json;
58
58
  }
59
59
  return {
60
+ 'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
60
61
  'domainName': json['domainName'],
61
62
  'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
62
63
  'offeredBy': json['offeredBy'],
@@ -77,6 +78,7 @@ function CreateLeadInputToJSONTyped(value, ignoreDiscriminator) {
77
78
  return value;
78
79
  }
79
80
  return {
81
+ 'affiliateId': value['affiliateId'],
80
82
  'domainName': value['domainName'],
81
83
  'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
82
84
  'offeredBy': value['offeredBy'],
@@ -22,6 +22,12 @@ export interface CreateOrderInput {
22
22
  * @memberof CreateOrderInput
23
23
  */
24
24
  leadId: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CreateOrderInput
29
+ */
30
+ affiliateId?: string | null;
25
31
  /**
26
32
  *
27
33
  * @type {string}
@@ -40,6 +40,7 @@ function CreateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
40
40
  }
41
41
  return {
42
42
  'leadId': json['leadId'],
43
+ 'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
43
44
  'locale': json['locale'],
44
45
  'domainName': json['domainName'],
45
46
  'email': json['email'] == null ? undefined : json['email'],
@@ -64,6 +65,7 @@ function CreateOrderInputToJSONTyped(value, ignoreDiscriminator) {
64
65
  }
65
66
  return {
66
67
  'leadId': value['leadId'],
68
+ 'affiliateId': value['affiliateId'],
67
69
  'locale': value['locale'],
68
70
  'domainName': value['domainName'],
69
71
  'email': value['email'],
@@ -17,6 +17,12 @@ import type { SubscriptionCompanyInfoDto } from './SubscriptionCompanyInfoDto';
17
17
  * @interface CreateSubscriptionInput
18
18
  */
19
19
  export interface CreateSubscriptionInput {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CreateSubscriptionInput
24
+ */
25
+ affiliateId?: string | null;
20
26
  /**
21
27
  *
22
28
  * @type {string}
@@ -52,6 +52,7 @@ function CreateSubscriptionInputFromJSONTyped(json, ignoreDiscriminator) {
52
52
  return json;
53
53
  }
54
54
  return {
55
+ 'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
55
56
  'locale': json['locale'],
56
57
  'installments': json['installments'],
57
58
  'billingPeriodicity': (0, CreateSubscriptionBillingPeriodicityInput_1.CreateSubscriptionBillingPeriodicityInputFromJSON)(json['billingPeriodicity']),
@@ -78,6 +79,7 @@ function CreateSubscriptionInputToJSONTyped(value, ignoreDiscriminator) {
78
79
  return value;
79
80
  }
80
81
  return {
82
+ 'affiliateId': value['affiliateId'],
81
83
  'locale': value['locale'],
82
84
  'installments': value['installments'],
83
85
  'billingPeriodicity': (0, CreateSubscriptionBillingPeriodicityInput_1.CreateSubscriptionBillingPeriodicityInputToJSON)(value['billingPeriodicity']),
@@ -124,6 +124,12 @@ export interface WithSettingsInner {
124
124
  * @memberof WithSettingsInner
125
125
  */
126
126
  affiliate: AccountSettingsAffiliateDto;
127
+ /**
128
+ *
129
+ * @type {AccountSettingsAffiliateDto}
130
+ * @memberof WithSettingsInner
131
+ */
132
+ domainAffiliate: AccountSettingsAffiliateDto;
127
133
  }
128
134
  /**
129
135
  * Check if a given object implements the WithSettingsInner interface.
@@ -63,6 +63,8 @@ function instanceOfWithSettingsInner(value) {
63
63
  return false;
64
64
  if (!('affiliate' in value) || value['affiliate'] === undefined)
65
65
  return false;
66
+ if (!('domainAffiliate' in value) || value['domainAffiliate'] === undefined)
67
+ return false;
66
68
  return true;
67
69
  }
68
70
  function WithSettingsInnerFromJSON(json) {
@@ -90,6 +92,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
90
92
  'alias': (0, AccountAliasDto_1.AccountAliasDtoFromJSON)(json['alias']),
91
93
  'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiatorAiAgent']),
92
94
  'affiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoFromJSON)(json['affiliate']),
95
+ 'domainAffiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoFromJSON)(json['domainAffiliate']),
93
96
  };
94
97
  }
95
98
  function WithSettingsInnerToJSON(json) {
@@ -118,5 +121,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
118
121
  'alias': (0, AccountAliasDto_1.AccountAliasDtoToJSON)(value['alias']),
119
122
  'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiatorAiAgent']),
120
123
  'affiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoToJSON)(value['affiliate']),
124
+ 'domainAffiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoToJSON)(value['domainAffiliate']),
121
125
  };
122
126
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.307",
3
+ "version": "0.0.309",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -45,6 +45,12 @@ export interface AdminAccountSettingsInput {
45
45
  * @memberof AdminAccountSettingsInput
46
46
  */
47
47
  affiliate?: AdminAccountSettingsAffiliateInput;
48
+ /**
49
+ *
50
+ * @type {AdminAccountSettingsAffiliateInput}
51
+ * @memberof AdminAccountSettingsInput
52
+ */
53
+ domainAffiliate?: AdminAccountSettingsAffiliateInput;
48
54
  }
49
55
 
50
56
  /**
@@ -67,6 +73,7 @@ export function AdminAccountSettingsInputFromJSONTyped(json: any, ignoreDiscrimi
67
73
  'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
68
74
  'leaseToOwnKickBackPercentage': json['leaseToOwnKickBackPercentage'] == null ? undefined : json['leaseToOwnKickBackPercentage'],
69
75
  'affiliate': json['affiliate'] == null ? undefined : AdminAccountSettingsAffiliateInputFromJSON(json['affiliate']),
76
+ 'domainAffiliate': json['domainAffiliate'] == null ? undefined : AdminAccountSettingsAffiliateInputFromJSON(json['domainAffiliate']),
70
77
  };
71
78
  }
72
79
 
@@ -84,6 +91,7 @@ export function AdminAccountSettingsInputToJSONTyped(value?: AdminAccountSetting
84
91
  'automaticPayouts': value['automaticPayouts'],
85
92
  'leaseToOwnKickBackPercentage': value['leaseToOwnKickBackPercentage'],
86
93
  'affiliate': AdminAccountSettingsAffiliateInputToJSON(value['affiliate']),
94
+ 'domainAffiliate': AdminAccountSettingsAffiliateInputToJSON(value['domainAffiliate']),
87
95
  };
88
96
  }
89
97
 
@@ -27,6 +27,12 @@ import {
27
27
  * @interface CreateLeadInput
28
28
  */
29
29
  export interface CreateLeadInput {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateLeadInput
34
+ */
35
+ affiliateId?: string | null;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -120,6 +126,7 @@ export function CreateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boo
120
126
  }
121
127
  return {
122
128
 
129
+ 'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
123
130
  'domainName': json['domainName'],
124
131
  'offer': MoneyDtoFromJSON(json['offer']),
125
132
  'offeredBy': json['offeredBy'],
@@ -143,6 +150,7 @@ export function CreateLeadInputToJSONTyped(value?: CreateLeadInput | null, ignor
143
150
 
144
151
  return {
145
152
 
153
+ 'affiliateId': value['affiliateId'],
146
154
  'domainName': value['domainName'],
147
155
  'offer': MoneyDtoToJSON(value['offer']),
148
156
  'offeredBy': value['offeredBy'],
@@ -33,6 +33,12 @@ export interface CreateOrderInput {
33
33
  * @memberof CreateOrderInput
34
34
  */
35
35
  leadId: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreateOrderInput
40
+ */
41
+ affiliateId?: string | null;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -128,6 +134,7 @@ export function CreateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
128
134
  return {
129
135
 
130
136
  'leadId': json['leadId'],
137
+ 'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
131
138
  'locale': json['locale'],
132
139
  'domainName': json['domainName'],
133
140
  'email': json['email'] == null ? undefined : json['email'],
@@ -155,6 +162,7 @@ export function CreateOrderInputToJSONTyped(value?: CreateOrderInput | null, ign
155
162
  return {
156
163
 
157
164
  'leadId': value['leadId'],
165
+ 'affiliateId': value['affiliateId'],
158
166
  'locale': value['locale'],
159
167
  'domainName': value['domainName'],
160
168
  'email': value['email'],
@@ -34,6 +34,12 @@ import {
34
34
  * @interface CreateSubscriptionInput
35
35
  */
36
36
  export interface CreateSubscriptionInput {
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CreateSubscriptionInput
41
+ */
42
+ affiliateId?: string | null;
37
43
  /**
38
44
  *
39
45
  * @type {string}
@@ -159,6 +165,7 @@ export function CreateSubscriptionInputFromJSONTyped(json: any, ignoreDiscrimina
159
165
  }
160
166
  return {
161
167
 
168
+ 'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
162
169
  'locale': json['locale'],
163
170
  'installments': json['installments'],
164
171
  'billingPeriodicity': CreateSubscriptionBillingPeriodicityInputFromJSON(json['billingPeriodicity']),
@@ -188,6 +195,7 @@ export function CreateSubscriptionInputToJSONTyped(value?: CreateSubscriptionInp
188
195
 
189
196
  return {
190
197
 
198
+ 'affiliateId': value['affiliateId'],
191
199
  'locale': value['locale'],
192
200
  'installments': value['installments'],
193
201
  'billingPeriodicity': CreateSubscriptionBillingPeriodicityInputToJSON(value['billingPeriodicity']),
@@ -171,6 +171,12 @@ export interface WithSettingsInner {
171
171
  * @memberof WithSettingsInner
172
172
  */
173
173
  affiliate: AccountSettingsAffiliateDto;
174
+ /**
175
+ *
176
+ * @type {AccountSettingsAffiliateDto}
177
+ * @memberof WithSettingsInner
178
+ */
179
+ domainAffiliate: AccountSettingsAffiliateDto;
174
180
  }
175
181
 
176
182
  /**
@@ -194,6 +200,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
194
200
  if (!('alias' in value) || value['alias'] === undefined) return false;
195
201
  if (!('leadPriceNegotiatorAiAgent' in value) || value['leadPriceNegotiatorAiAgent'] === undefined) return false;
196
202
  if (!('affiliate' in value) || value['affiliate'] === undefined) return false;
203
+ if (!('domainAffiliate' in value) || value['domainAffiliate'] === undefined) return false;
197
204
  return true;
198
205
  }
199
206
 
@@ -224,6 +231,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
224
231
  'alias': AccountAliasDtoFromJSON(json['alias']),
225
232
  'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiatorAiAgent']),
226
233
  'affiliate': AccountSettingsAffiliateDtoFromJSON(json['affiliate']),
234
+ 'domainAffiliate': AccountSettingsAffiliateDtoFromJSON(json['domainAffiliate']),
227
235
  };
228
236
  }
229
237
 
@@ -255,6 +263,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
255
263
  'alias': AccountAliasDtoToJSON(value['alias']),
256
264
  'leadPriceNegotiatorAiAgent': LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiatorAiAgent']),
257
265
  'affiliate': AccountSettingsAffiliateDtoToJSON(value['affiliate']),
266
+ 'domainAffiliate': AccountSettingsAffiliateDtoToJSON(value['domainAffiliate']),
258
267
  };
259
268
  }
260
269