@randock/nameshift-api-client 0.0.308 → 0.0.310
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/.openapi-generator/FILES +0 -1
- package/README.md +3 -3
- package/dist/models/AdminAccountSettingsInput.d.ts +6 -0
- package/dist/models/AdminAccountSettingsInput.js +2 -0
- package/dist/models/SellerAffiliateCommissionDto.d.ts +17 -4
- package/dist/models/SellerAffiliateCommissionDto.js +15 -5
- package/dist/models/WithSettingsInner.d.ts +6 -0
- package/dist/models/WithSettingsInner.js +4 -0
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/models/AdminAccountSettingsInput.ts +8 -0
- package/src/models/SellerAffiliateCommissionDto.ts +24 -13
- package/src/models/WithSettingsInner.ts +9 -0
- package/src/models/index.ts +0 -1
- package/dist/models/SellerAffiliateCommissionReferralDto.d.ts +0 -32
- package/dist/models/SellerAffiliateCommissionReferralDto.js +0 -51
- package/src/models/SellerAffiliateCommissionReferralDto.ts +0 -66
package/.openapi-generator/FILES
CHANGED
|
@@ -240,7 +240,6 @@ src/models/RentDto.ts
|
|
|
240
240
|
src/models/RequestAccessTokenInput.ts
|
|
241
241
|
src/models/SellerAccountReferralListItemDto.ts
|
|
242
242
|
src/models/SellerAffiliateCommissionDto.ts
|
|
243
|
-
src/models/SellerAffiliateCommissionReferralDto.ts
|
|
244
243
|
src/models/SellerDomainTransferAuthCodeDto.ts
|
|
245
244
|
src/models/SellerDomainTransferDomainDto.ts
|
|
246
245
|
src/models/SellerDomainTransferDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.310
|
|
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.310 --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
|
+
b0f298c0fb4a6ffe61c5a8d7b23876cacc5b2e0c09e54a4d60704f8844838ac0cfb400b05f92d0e11dd155ec40d19699
|
|
@@ -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
|
}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
-
import type { SellerAffiliateCommissionReferralDto } from './SellerAffiliateCommissionReferralDto';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -54,11 +53,17 @@ export interface SellerAffiliateCommissionDto {
|
|
|
54
53
|
*/
|
|
55
54
|
invoiceStatus: SellerAffiliateCommissionDtoInvoiceStatusEnum | null;
|
|
56
55
|
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SellerAffiliateCommissionDto
|
|
59
|
+
*/
|
|
60
|
+
type: SellerAffiliateCommissionDtoTypeEnum;
|
|
61
|
+
/**
|
|
62
|
+
* Concept
|
|
63
|
+
* @type {string}
|
|
59
64
|
* @memberof SellerAffiliateCommissionDto
|
|
60
65
|
*/
|
|
61
|
-
|
|
66
|
+
concept: string;
|
|
62
67
|
}
|
|
63
68
|
/**
|
|
64
69
|
* @export
|
|
@@ -79,6 +84,14 @@ export declare const SellerAffiliateCommissionDtoInvoiceStatusEnum: {
|
|
|
79
84
|
readonly CANCELLED: "cancelled";
|
|
80
85
|
};
|
|
81
86
|
export type SellerAffiliateCommissionDtoInvoiceStatusEnum = typeof SellerAffiliateCommissionDtoInvoiceStatusEnum[keyof typeof SellerAffiliateCommissionDtoInvoiceStatusEnum];
|
|
87
|
+
/**
|
|
88
|
+
* @export
|
|
89
|
+
*/
|
|
90
|
+
export declare const SellerAffiliateCommissionDtoTypeEnum: {
|
|
91
|
+
readonly DOMAIN: "domain";
|
|
92
|
+
readonly SELLER: "seller";
|
|
93
|
+
};
|
|
94
|
+
export type SellerAffiliateCommissionDtoTypeEnum = typeof SellerAffiliateCommissionDtoTypeEnum[keyof typeof SellerAffiliateCommissionDtoTypeEnum];
|
|
82
95
|
/**
|
|
83
96
|
* Check if a given object implements the SellerAffiliateCommissionDto interface.
|
|
84
97
|
*/
|
|
@@ -13,14 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SellerAffiliateCommissionDtoInvoiceStatusEnum = exports.SellerAffiliateCommissionDtoStatusEnum = void 0;
|
|
16
|
+
exports.SellerAffiliateCommissionDtoTypeEnum = exports.SellerAffiliateCommissionDtoInvoiceStatusEnum = exports.SellerAffiliateCommissionDtoStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfSellerAffiliateCommissionDto = instanceOfSellerAffiliateCommissionDto;
|
|
18
18
|
exports.SellerAffiliateCommissionDtoFromJSON = SellerAffiliateCommissionDtoFromJSON;
|
|
19
19
|
exports.SellerAffiliateCommissionDtoFromJSONTyped = SellerAffiliateCommissionDtoFromJSONTyped;
|
|
20
20
|
exports.SellerAffiliateCommissionDtoToJSON = SellerAffiliateCommissionDtoToJSON;
|
|
21
21
|
exports.SellerAffiliateCommissionDtoToJSONTyped = SellerAffiliateCommissionDtoToJSONTyped;
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
-
var SellerAffiliateCommissionReferralDto_1 = require("./SellerAffiliateCommissionReferralDto");
|
|
24
23
|
/**
|
|
25
24
|
* @export
|
|
26
25
|
*/
|
|
@@ -38,6 +37,13 @@ exports.SellerAffiliateCommissionDtoInvoiceStatusEnum = {
|
|
|
38
37
|
PAID: 'paid',
|
|
39
38
|
CANCELLED: 'cancelled'
|
|
40
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.SellerAffiliateCommissionDtoTypeEnum = {
|
|
44
|
+
DOMAIN: 'domain',
|
|
45
|
+
SELLER: 'seller'
|
|
46
|
+
};
|
|
41
47
|
/**
|
|
42
48
|
* Check if a given object implements the SellerAffiliateCommissionDto interface.
|
|
43
49
|
*/
|
|
@@ -54,7 +60,9 @@ function instanceOfSellerAffiliateCommissionDto(value) {
|
|
|
54
60
|
return false;
|
|
55
61
|
if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined)
|
|
56
62
|
return false;
|
|
57
|
-
if (!('
|
|
63
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('concept' in value) || value['concept'] === undefined)
|
|
58
66
|
return false;
|
|
59
67
|
return true;
|
|
60
68
|
}
|
|
@@ -72,7 +80,8 @@ function SellerAffiliateCommissionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
80
|
'date': (new Date(json['date'])),
|
|
73
81
|
'status': json['status'],
|
|
74
82
|
'invoiceStatus': json['invoiceStatus'],
|
|
75
|
-
'
|
|
83
|
+
'type': json['type'],
|
|
84
|
+
'concept': json['concept'],
|
|
76
85
|
};
|
|
77
86
|
}
|
|
78
87
|
function SellerAffiliateCommissionDtoToJSON(json) {
|
|
@@ -90,6 +99,7 @@ function SellerAffiliateCommissionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
90
99
|
'date': ((value['date']).toISOString()),
|
|
91
100
|
'status': value['status'],
|
|
92
101
|
'invoiceStatus': value['invoiceStatus'],
|
|
93
|
-
'
|
|
102
|
+
'type': value['type'],
|
|
103
|
+
'concept': value['concept'],
|
|
94
104
|
};
|
|
95
105
|
}
|
|
@@ -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/dist/models/index.d.ts
CHANGED
|
@@ -211,7 +211,6 @@ export * from './RentDto';
|
|
|
211
211
|
export * from './RequestAccessTokenInput';
|
|
212
212
|
export * from './SellerAccountReferralListItemDto';
|
|
213
213
|
export * from './SellerAffiliateCommissionDto';
|
|
214
|
-
export * from './SellerAffiliateCommissionReferralDto';
|
|
215
214
|
export * from './SellerDomainTransferAuthCodeDto';
|
|
216
215
|
export * from './SellerDomainTransferDomainDto';
|
|
217
216
|
export * from './SellerDomainTransferDto';
|
package/dist/models/index.js
CHANGED
|
@@ -229,7 +229,6 @@ __exportStar(require("./RentDto"), exports);
|
|
|
229
229
|
__exportStar(require("./RequestAccessTokenInput"), exports);
|
|
230
230
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
231
231
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
232
|
-
__exportStar(require("./SellerAffiliateCommissionReferralDto"), exports);
|
|
233
232
|
__exportStar(require("./SellerDomainTransferAuthCodeDto"), exports);
|
|
234
233
|
__exportStar(require("./SellerDomainTransferDomainDto"), exports);
|
|
235
234
|
__exportStar(require("./SellerDomainTransferDto"), exports);
|
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
21
|
MoneyDtoToJSONTyped,
|
|
22
22
|
} from './MoneyDto';
|
|
23
|
-
import type { SellerAffiliateCommissionReferralDto } from './SellerAffiliateCommissionReferralDto';
|
|
24
|
-
import {
|
|
25
|
-
SellerAffiliateCommissionReferralDtoFromJSON,
|
|
26
|
-
SellerAffiliateCommissionReferralDtoFromJSONTyped,
|
|
27
|
-
SellerAffiliateCommissionReferralDtoToJSON,
|
|
28
|
-
SellerAffiliateCommissionReferralDtoToJSONTyped,
|
|
29
|
-
} from './SellerAffiliateCommissionReferralDto';
|
|
30
23
|
|
|
31
24
|
/**
|
|
32
25
|
*
|
|
@@ -71,11 +64,17 @@ export interface SellerAffiliateCommissionDto {
|
|
|
71
64
|
*/
|
|
72
65
|
invoiceStatus: SellerAffiliateCommissionDtoInvoiceStatusEnum | null;
|
|
73
66
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SellerAffiliateCommissionDto
|
|
70
|
+
*/
|
|
71
|
+
type: SellerAffiliateCommissionDtoTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Concept
|
|
74
|
+
* @type {string}
|
|
76
75
|
* @memberof SellerAffiliateCommissionDto
|
|
77
76
|
*/
|
|
78
|
-
|
|
77
|
+
concept: string;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
|
|
@@ -100,6 +99,15 @@ export const SellerAffiliateCommissionDtoInvoiceStatusEnum = {
|
|
|
100
99
|
} as const;
|
|
101
100
|
export type SellerAffiliateCommissionDtoInvoiceStatusEnum = typeof SellerAffiliateCommissionDtoInvoiceStatusEnum[keyof typeof SellerAffiliateCommissionDtoInvoiceStatusEnum];
|
|
102
101
|
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const SellerAffiliateCommissionDtoTypeEnum = {
|
|
106
|
+
DOMAIN: 'domain',
|
|
107
|
+
SELLER: 'seller'
|
|
108
|
+
} as const;
|
|
109
|
+
export type SellerAffiliateCommissionDtoTypeEnum = typeof SellerAffiliateCommissionDtoTypeEnum[keyof typeof SellerAffiliateCommissionDtoTypeEnum];
|
|
110
|
+
|
|
103
111
|
|
|
104
112
|
/**
|
|
105
113
|
* Check if a given object implements the SellerAffiliateCommissionDto interface.
|
|
@@ -111,7 +119,8 @@ export function instanceOfSellerAffiliateCommissionDto(value: object): value is
|
|
|
111
119
|
if (!('date' in value) || value['date'] === undefined) return false;
|
|
112
120
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
113
121
|
if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined) return false;
|
|
114
|
-
if (!('
|
|
122
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
123
|
+
if (!('concept' in value) || value['concept'] === undefined) return false;
|
|
115
124
|
return true;
|
|
116
125
|
}
|
|
117
126
|
|
|
@@ -131,7 +140,8 @@ export function SellerAffiliateCommissionDtoFromJSONTyped(json: any, ignoreDiscr
|
|
|
131
140
|
'date': (new Date(json['date'])),
|
|
132
141
|
'status': json['status'],
|
|
133
142
|
'invoiceStatus': json['invoiceStatus'],
|
|
134
|
-
'
|
|
143
|
+
'type': json['type'],
|
|
144
|
+
'concept': json['concept'],
|
|
135
145
|
};
|
|
136
146
|
}
|
|
137
147
|
|
|
@@ -152,7 +162,8 @@ export function SellerAffiliateCommissionDtoToJSONTyped(value?: SellerAffiliateC
|
|
|
152
162
|
'date': ((value['date']).toISOString()),
|
|
153
163
|
'status': value['status'],
|
|
154
164
|
'invoiceStatus': value['invoiceStatus'],
|
|
155
|
-
'
|
|
165
|
+
'type': value['type'],
|
|
166
|
+
'concept': value['concept'],
|
|
156
167
|
};
|
|
157
168
|
}
|
|
158
169
|
|
|
@@ -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
|
|
package/src/models/index.ts
CHANGED
|
@@ -213,7 +213,6 @@ export * from './RentDto';
|
|
|
213
213
|
export * from './RequestAccessTokenInput';
|
|
214
214
|
export * from './SellerAccountReferralListItemDto';
|
|
215
215
|
export * from './SellerAffiliateCommissionDto';
|
|
216
|
-
export * from './SellerAffiliateCommissionReferralDto';
|
|
217
216
|
export * from './SellerDomainTransferAuthCodeDto';
|
|
218
217
|
export * from './SellerDomainTransferDomainDto';
|
|
219
218
|
export * from './SellerDomainTransferDto';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nameshift
|
|
3
|
-
* Nameshift API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SellerAffiliateCommissionReferralDto
|
|
16
|
-
*/
|
|
17
|
-
export interface SellerAffiliateCommissionReferralDto {
|
|
18
|
-
/**
|
|
19
|
-
* Referral account name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SellerAffiliateCommissionReferralDto
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the SellerAffiliateCommissionReferralDto interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfSellerAffiliateCommissionReferralDto(value: object): value is SellerAffiliateCommissionReferralDto;
|
|
29
|
-
export declare function SellerAffiliateCommissionReferralDtoFromJSON(json: any): SellerAffiliateCommissionReferralDto;
|
|
30
|
-
export declare function SellerAffiliateCommissionReferralDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAffiliateCommissionReferralDto;
|
|
31
|
-
export declare function SellerAffiliateCommissionReferralDtoToJSON(json: any): SellerAffiliateCommissionReferralDto;
|
|
32
|
-
export declare function SellerAffiliateCommissionReferralDtoToJSONTyped(value?: SellerAffiliateCommissionReferralDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Nameshift
|
|
6
|
-
* Nameshift API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfSellerAffiliateCommissionReferralDto = instanceOfSellerAffiliateCommissionReferralDto;
|
|
17
|
-
exports.SellerAffiliateCommissionReferralDtoFromJSON = SellerAffiliateCommissionReferralDtoFromJSON;
|
|
18
|
-
exports.SellerAffiliateCommissionReferralDtoFromJSONTyped = SellerAffiliateCommissionReferralDtoFromJSONTyped;
|
|
19
|
-
exports.SellerAffiliateCommissionReferralDtoToJSON = SellerAffiliateCommissionReferralDtoToJSON;
|
|
20
|
-
exports.SellerAffiliateCommissionReferralDtoToJSONTyped = SellerAffiliateCommissionReferralDtoToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the SellerAffiliateCommissionReferralDto interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfSellerAffiliateCommissionReferralDto(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function SellerAffiliateCommissionReferralDtoFromJSON(json) {
|
|
30
|
-
return SellerAffiliateCommissionReferralDtoFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function SellerAffiliateCommissionReferralDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'name': json['name'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function SellerAffiliateCommissionReferralDtoToJSON(json) {
|
|
41
|
-
return SellerAffiliateCommissionReferralDtoToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function SellerAffiliateCommissionReferralDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'name': value['name'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SellerAffiliateCommissionReferralDto
|
|
20
|
-
*/
|
|
21
|
-
export interface SellerAffiliateCommissionReferralDto {
|
|
22
|
-
/**
|
|
23
|
-
* Referral account name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SellerAffiliateCommissionReferralDto
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the SellerAffiliateCommissionReferralDto interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfSellerAffiliateCommissionReferralDto(value: object): value is SellerAffiliateCommissionReferralDto {
|
|
34
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function SellerAffiliateCommissionReferralDtoFromJSON(json: any): SellerAffiliateCommissionReferralDto {
|
|
39
|
-
return SellerAffiliateCommissionReferralDtoFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function SellerAffiliateCommissionReferralDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAffiliateCommissionReferralDto {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'name': json['name'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function SellerAffiliateCommissionReferralDtoToJSON(json: any): SellerAffiliateCommissionReferralDto {
|
|
53
|
-
return SellerAffiliateCommissionReferralDtoToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function SellerAffiliateCommissionReferralDtoToJSONTyped(value?: SellerAffiliateCommissionReferralDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'name': value['name'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|