@randock/nameshift-api-client 0.0.307 → 0.0.308
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/CreateLeadInput.d.ts +6 -0
- package/dist/models/CreateLeadInput.js +2 -0
- package/dist/models/CreateOrderInput.d.ts +6 -0
- package/dist/models/CreateOrderInput.js +2 -0
- package/dist/models/CreateSubscriptionInput.d.ts +6 -0
- package/dist/models/CreateSubscriptionInput.js +2 -0
- package/package.json +1 -1
- package/src/models/CreateLeadInput.ts +8 -0
- package/src/models/CreateOrderInput.ts +8 -0
- package/src/models/CreateSubscriptionInput.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.308
|
|
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.308 --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
|
+
b4ba4561a831bb7f99210cf1b4e84fda5999bd07286bb382e938fde08afd0566cfb0e763000cbd71cbd04bbf3fbf07b3
|
|
@@ -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'],
|
|
@@ -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']),
|
package/package.json
CHANGED
|
@@ -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']),
|