@randock/nameshift-api-client 0.0.144 → 0.0.146
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 +2 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +34 -1
- package/dist/apis/BuyersApi.js +157 -0
- package/dist/models/BatchDeleteBuyerLeadsInput.d.ts +32 -0
- package/dist/models/BatchDeleteBuyerLeadsInput.js +51 -0
- package/dist/models/BatchVerifyBuyerLeadsInput.d.ts +32 -0
- package/dist/models/BatchVerifyBuyerLeadsInput.js +51 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +144 -0
- package/src/models/BatchDeleteBuyerLeadsInput.ts +66 -0
- package/src/models/BatchVerifyBuyerLeadsInput.ts +66 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -31,10 +31,12 @@ src/models/AddressDto.ts
|
|
|
31
31
|
src/models/AdminAccountSettingsInput.ts
|
|
32
32
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
33
33
|
src/models/BadRequestException.ts
|
|
34
|
+
src/models/BatchDeleteBuyerLeadsInput.ts
|
|
34
35
|
src/models/BatchImportPreviewDto.ts
|
|
35
36
|
src/models/BatchReadBuyerLeadMessageInput.ts
|
|
36
37
|
src/models/BatchReadSellerLeadMessageInput.ts
|
|
37
38
|
src/models/BatchUpdateDomainsInput.ts
|
|
39
|
+
src/models/BatchVerifyBuyerLeadsInput.ts
|
|
38
40
|
src/models/BillingInformationDto.ts
|
|
39
41
|
src/models/BuyerDomainTransferAuthCodeDto.ts
|
|
40
42
|
src/models/BuyerDomainTransferListItemDomainDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.146
|
|
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.146 --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
|
+
c92df7e86813f9729ae38e6fd23aab011e73358672b84d3f84f6983996ad664dcbb13f1a4be696ad5acf6deda507c62c
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchReadBuyerLeadMessageInput, BuyerDomainTransferAuthCodeDto, BuyerSecurityUserDto, CreateBuyerLeadMessageInput, GetAllInvoices200Response, GetBuyerLeads200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput } from '../models/index';
|
|
13
|
+
import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto, BuyerSecurityUserDto, CreateBuyerLeadMessageInput, GetAllInvoices200Response, GetBuyerLeads200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput } from '../models/index';
|
|
14
14
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
17
|
+
export interface BuyersApiBatchVerifyBuyerLeadsRequest {
|
|
18
|
+
batchVerifyBuyerLeadsInput: BatchVerifyBuyerLeadsInput;
|
|
19
|
+
}
|
|
17
20
|
export interface BuyersApiBulkReadBuyerLeadMessageRequest {
|
|
18
21
|
leadId: string;
|
|
19
22
|
batchReadBuyerLeadMessageInput: BatchReadBuyerLeadMessageInput;
|
|
@@ -22,6 +25,9 @@ export interface BuyersApiCreateBuyerLeadMessageRequest {
|
|
|
22
25
|
leadId: string;
|
|
23
26
|
createBuyerLeadMessageInput: CreateBuyerLeadMessageInput;
|
|
24
27
|
}
|
|
28
|
+
export interface BuyersApiDeleteBuyerLeadsRequest {
|
|
29
|
+
batchDeleteBuyerLeadsInput: BatchDeleteBuyerLeadsInput;
|
|
30
|
+
}
|
|
25
31
|
export interface BuyersApiDownloadBuyerInvoiceRequest {
|
|
26
32
|
invoiceId: string;
|
|
27
33
|
}
|
|
@@ -63,6 +69,9 @@ export interface BuyersApiPutBuyerOfferRequest {
|
|
|
63
69
|
export interface BuyersApiSetLocale0Request {
|
|
64
70
|
storeBuyerLocaleInput: StoreBuyerLocaleInput;
|
|
65
71
|
}
|
|
72
|
+
export interface BuyersApiVerifyBuyerLeadRequest {
|
|
73
|
+
leadId: string;
|
|
74
|
+
}
|
|
66
75
|
/**
|
|
67
76
|
*
|
|
68
77
|
*/
|
|
@@ -75,6 +84,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
75
84
|
*
|
|
76
85
|
*/
|
|
77
86
|
acceptBuyerLeadOffer(requestParameters: BuyersApiAcceptBuyerLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
batchVerifyBuyerLeadsRaw(requestParameters: BuyersApiBatchVerifyBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
batchVerifyBuyerLeads(requestParameters: BuyersApiBatchVerifyBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
78
95
|
/**
|
|
79
96
|
*
|
|
80
97
|
*/
|
|
@@ -99,6 +116,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
99
116
|
*
|
|
100
117
|
*/
|
|
101
118
|
createBuyerLeadMessage(requestParameters: BuyersApiCreateBuyerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
deleteBuyerLeadsRaw(requestParameters: BuyersApiDeleteBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
deleteBuyerLeads(requestParameters: BuyersApiDeleteBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
102
127
|
/**
|
|
103
128
|
*
|
|
104
129
|
*/
|
|
@@ -179,4 +204,12 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
179
204
|
*
|
|
180
205
|
*/
|
|
181
206
|
setLocale(requestParameters: BuyersApiSetLocale0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
verifyBuyerLeadRaw(requestParameters: BuyersApiVerifyBuyerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
*/
|
|
214
|
+
verifyBuyerLead(requestParameters: BuyersApiVerifyBuyerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
182
215
|
}
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -126,6 +126,59 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
BuyersApi.prototype.batchVerifyBuyerLeadsRaw = function (requestParameters, initOverrides) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
134
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
135
|
+
return __generator(this, function (_a) {
|
|
136
|
+
switch (_a.label) {
|
|
137
|
+
case 0:
|
|
138
|
+
if (requestParameters['batchVerifyBuyerLeadsInput'] == null) {
|
|
139
|
+
throw new runtime.RequiredError('batchVerifyBuyerLeadsInput', 'Required parameter "batchVerifyBuyerLeadsInput" was null or undefined when calling batchVerifyBuyerLeads().');
|
|
140
|
+
}
|
|
141
|
+
queryParameters = {};
|
|
142
|
+
headerParameters = {};
|
|
143
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
144
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
145
|
+
token = this.configuration.accessToken;
|
|
146
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
147
|
+
case 1:
|
|
148
|
+
tokenString = _a.sent();
|
|
149
|
+
if (tokenString) {
|
|
150
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
151
|
+
}
|
|
152
|
+
_a.label = 2;
|
|
153
|
+
case 2: return [4 /*yield*/, this.request({
|
|
154
|
+
path: "/buyers/private/leads/verify",
|
|
155
|
+
method: 'PATCH',
|
|
156
|
+
headers: headerParameters,
|
|
157
|
+
query: queryParameters,
|
|
158
|
+
body: (0, index_1.BatchVerifyBuyerLeadsInputToJSON)(requestParameters['batchVerifyBuyerLeadsInput']),
|
|
159
|
+
}, initOverrides)];
|
|
160
|
+
case 3:
|
|
161
|
+
response = _a.sent();
|
|
162
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
|
+
BuyersApi.prototype.batchVerifyBuyerLeads = function (requestParameters, initOverrides) {
|
|
171
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
172
|
+
return __generator(this, function (_a) {
|
|
173
|
+
switch (_a.label) {
|
|
174
|
+
case 0: return [4 /*yield*/, this.batchVerifyBuyerLeadsRaw(requestParameters, initOverrides)];
|
|
175
|
+
case 1:
|
|
176
|
+
_a.sent();
|
|
177
|
+
return [2 /*return*/];
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
};
|
|
129
182
|
/**
|
|
130
183
|
*
|
|
131
184
|
*/
|
|
@@ -290,6 +343,59 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
290
343
|
});
|
|
291
344
|
});
|
|
292
345
|
};
|
|
346
|
+
/**
|
|
347
|
+
*
|
|
348
|
+
*/
|
|
349
|
+
BuyersApi.prototype.deleteBuyerLeadsRaw = function (requestParameters, initOverrides) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
351
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
352
|
+
return __generator(this, function (_a) {
|
|
353
|
+
switch (_a.label) {
|
|
354
|
+
case 0:
|
|
355
|
+
if (requestParameters['batchDeleteBuyerLeadsInput'] == null) {
|
|
356
|
+
throw new runtime.RequiredError('batchDeleteBuyerLeadsInput', 'Required parameter "batchDeleteBuyerLeadsInput" was null or undefined when calling deleteBuyerLeads().');
|
|
357
|
+
}
|
|
358
|
+
queryParameters = {};
|
|
359
|
+
headerParameters = {};
|
|
360
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
361
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
362
|
+
token = this.configuration.accessToken;
|
|
363
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
364
|
+
case 1:
|
|
365
|
+
tokenString = _a.sent();
|
|
366
|
+
if (tokenString) {
|
|
367
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
368
|
+
}
|
|
369
|
+
_a.label = 2;
|
|
370
|
+
case 2: return [4 /*yield*/, this.request({
|
|
371
|
+
path: "/buyers/private/leads",
|
|
372
|
+
method: 'DELETE',
|
|
373
|
+
headers: headerParameters,
|
|
374
|
+
query: queryParameters,
|
|
375
|
+
body: (0, index_1.BatchDeleteBuyerLeadsInputToJSON)(requestParameters['batchDeleteBuyerLeadsInput']),
|
|
376
|
+
}, initOverrides)];
|
|
377
|
+
case 3:
|
|
378
|
+
response = _a.sent();
|
|
379
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
*/
|
|
387
|
+
BuyersApi.prototype.deleteBuyerLeads = function (requestParameters, initOverrides) {
|
|
388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
389
|
+
return __generator(this, function (_a) {
|
|
390
|
+
switch (_a.label) {
|
|
391
|
+
case 0: return [4 /*yield*/, this.deleteBuyerLeadsRaw(requestParameters, initOverrides)];
|
|
392
|
+
case 1:
|
|
393
|
+
_a.sent();
|
|
394
|
+
return [2 /*return*/];
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
});
|
|
398
|
+
};
|
|
293
399
|
/**
|
|
294
400
|
*
|
|
295
401
|
*/
|
|
@@ -856,6 +962,57 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
856
962
|
});
|
|
857
963
|
});
|
|
858
964
|
};
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
*/
|
|
968
|
+
BuyersApi.prototype.verifyBuyerLeadRaw = function (requestParameters, initOverrides) {
|
|
969
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
970
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
971
|
+
return __generator(this, function (_a) {
|
|
972
|
+
switch (_a.label) {
|
|
973
|
+
case 0:
|
|
974
|
+
if (requestParameters['leadId'] == null) {
|
|
975
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling verifyBuyerLead().');
|
|
976
|
+
}
|
|
977
|
+
queryParameters = {};
|
|
978
|
+
headerParameters = {};
|
|
979
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
980
|
+
token = this.configuration.accessToken;
|
|
981
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
982
|
+
case 1:
|
|
983
|
+
tokenString = _a.sent();
|
|
984
|
+
if (tokenString) {
|
|
985
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
986
|
+
}
|
|
987
|
+
_a.label = 2;
|
|
988
|
+
case 2: return [4 /*yield*/, this.request({
|
|
989
|
+
path: "/buyers/private/leads/{leadId}/verify".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
990
|
+
method: 'PATCH',
|
|
991
|
+
headers: headerParameters,
|
|
992
|
+
query: queryParameters,
|
|
993
|
+
}, initOverrides)];
|
|
994
|
+
case 3:
|
|
995
|
+
response = _a.sent();
|
|
996
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
});
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
1004
|
+
BuyersApi.prototype.verifyBuyerLead = function (requestParameters, initOverrides) {
|
|
1005
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1006
|
+
return __generator(this, function (_a) {
|
|
1007
|
+
switch (_a.label) {
|
|
1008
|
+
case 0: return [4 /*yield*/, this.verifyBuyerLeadRaw(requestParameters, initOverrides)];
|
|
1009
|
+
case 1:
|
|
1010
|
+
_a.sent();
|
|
1011
|
+
return [2 /*return*/];
|
|
1012
|
+
}
|
|
1013
|
+
});
|
|
1014
|
+
});
|
|
1015
|
+
};
|
|
859
1016
|
return BuyersApi;
|
|
860
1017
|
}(runtime.BaseAPI));
|
|
861
1018
|
exports.BuyersApi = BuyersApi;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 BatchDeleteBuyerLeadsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchDeleteBuyerLeadsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BatchDeleteBuyerLeadsInput
|
|
22
|
+
*/
|
|
23
|
+
leadIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BatchDeleteBuyerLeadsInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBatchDeleteBuyerLeadsInput(value: object): value is BatchDeleteBuyerLeadsInput;
|
|
29
|
+
export declare function BatchDeleteBuyerLeadsInputFromJSON(json: any): BatchDeleteBuyerLeadsInput;
|
|
30
|
+
export declare function BatchDeleteBuyerLeadsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchDeleteBuyerLeadsInput;
|
|
31
|
+
export declare function BatchDeleteBuyerLeadsInputToJSON(json: any): BatchDeleteBuyerLeadsInput;
|
|
32
|
+
export declare function BatchDeleteBuyerLeadsInputToJSONTyped(value?: BatchDeleteBuyerLeadsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfBatchDeleteBuyerLeadsInput = instanceOfBatchDeleteBuyerLeadsInput;
|
|
17
|
+
exports.BatchDeleteBuyerLeadsInputFromJSON = BatchDeleteBuyerLeadsInputFromJSON;
|
|
18
|
+
exports.BatchDeleteBuyerLeadsInputFromJSONTyped = BatchDeleteBuyerLeadsInputFromJSONTyped;
|
|
19
|
+
exports.BatchDeleteBuyerLeadsInputToJSON = BatchDeleteBuyerLeadsInputToJSON;
|
|
20
|
+
exports.BatchDeleteBuyerLeadsInputToJSONTyped = BatchDeleteBuyerLeadsInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BatchDeleteBuyerLeadsInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBatchDeleteBuyerLeadsInput(value) {
|
|
25
|
+
if (!('leadIds' in value) || value['leadIds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function BatchDeleteBuyerLeadsInputFromJSON(json) {
|
|
30
|
+
return BatchDeleteBuyerLeadsInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function BatchDeleteBuyerLeadsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'leadIds': json['leadIds'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function BatchDeleteBuyerLeadsInputToJSON(json) {
|
|
41
|
+
return BatchDeleteBuyerLeadsInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function BatchDeleteBuyerLeadsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'leadIds': value['leadIds'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 BatchVerifyBuyerLeadsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchVerifyBuyerLeadsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BatchVerifyBuyerLeadsInput
|
|
22
|
+
*/
|
|
23
|
+
leadIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BatchVerifyBuyerLeadsInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBatchVerifyBuyerLeadsInput(value: object): value is BatchVerifyBuyerLeadsInput;
|
|
29
|
+
export declare function BatchVerifyBuyerLeadsInputFromJSON(json: any): BatchVerifyBuyerLeadsInput;
|
|
30
|
+
export declare function BatchVerifyBuyerLeadsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchVerifyBuyerLeadsInput;
|
|
31
|
+
export declare function BatchVerifyBuyerLeadsInputToJSON(json: any): BatchVerifyBuyerLeadsInput;
|
|
32
|
+
export declare function BatchVerifyBuyerLeadsInputToJSONTyped(value?: BatchVerifyBuyerLeadsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfBatchVerifyBuyerLeadsInput = instanceOfBatchVerifyBuyerLeadsInput;
|
|
17
|
+
exports.BatchVerifyBuyerLeadsInputFromJSON = BatchVerifyBuyerLeadsInputFromJSON;
|
|
18
|
+
exports.BatchVerifyBuyerLeadsInputFromJSONTyped = BatchVerifyBuyerLeadsInputFromJSONTyped;
|
|
19
|
+
exports.BatchVerifyBuyerLeadsInputToJSON = BatchVerifyBuyerLeadsInputToJSON;
|
|
20
|
+
exports.BatchVerifyBuyerLeadsInputToJSONTyped = BatchVerifyBuyerLeadsInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BatchVerifyBuyerLeadsInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBatchVerifyBuyerLeadsInput(value) {
|
|
25
|
+
if (!('leadIds' in value) || value['leadIds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function BatchVerifyBuyerLeadsInputFromJSON(json) {
|
|
30
|
+
return BatchVerifyBuyerLeadsInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function BatchVerifyBuyerLeadsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'leadIds': json['leadIds'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function BatchVerifyBuyerLeadsInputToJSON(json) {
|
|
41
|
+
return BatchVerifyBuyerLeadsInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function BatchVerifyBuyerLeadsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'leadIds': value['leadIds'],
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,10 +9,12 @@ export * from './AddressDto';
|
|
|
9
9
|
export * from './AdminAccountSettingsInput';
|
|
10
10
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
11
11
|
export * from './BadRequestException';
|
|
12
|
+
export * from './BatchDeleteBuyerLeadsInput';
|
|
12
13
|
export * from './BatchImportPreviewDto';
|
|
13
14
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
14
15
|
export * from './BatchReadSellerLeadMessageInput';
|
|
15
16
|
export * from './BatchUpdateDomainsInput';
|
|
17
|
+
export * from './BatchVerifyBuyerLeadsInput';
|
|
16
18
|
export * from './BillingInformationDto';
|
|
17
19
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
18
20
|
export * from './BuyerDomainTransferListItemDomainDto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,10 +27,12 @@ __exportStar(require("./AddressDto"), exports);
|
|
|
27
27
|
__exportStar(require("./AdminAccountSettingsInput"), exports);
|
|
28
28
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
29
29
|
__exportStar(require("./BadRequestException"), exports);
|
|
30
|
+
__exportStar(require("./BatchDeleteBuyerLeadsInput"), exports);
|
|
30
31
|
__exportStar(require("./BatchImportPreviewDto"), exports);
|
|
31
32
|
__exportStar(require("./BatchReadBuyerLeadMessageInput"), exports);
|
|
32
33
|
__exportStar(require("./BatchReadSellerLeadMessageInput"), exports);
|
|
33
34
|
__exportStar(require("./BatchUpdateDomainsInput"), exports);
|
|
35
|
+
__exportStar(require("./BatchVerifyBuyerLeadsInput"), exports);
|
|
34
36
|
__exportStar(require("./BillingInformationDto"), exports);
|
|
35
37
|
__exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
|
|
36
38
|
__exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
|
package/package.json
CHANGED
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
BadRequestException,
|
|
19
|
+
BatchDeleteBuyerLeadsInput,
|
|
19
20
|
BatchReadBuyerLeadMessageInput,
|
|
21
|
+
BatchVerifyBuyerLeadsInput,
|
|
20
22
|
BuyerDomainTransferAuthCodeDto,
|
|
21
23
|
BuyerSecurityUserDto,
|
|
22
24
|
CreateBuyerLeadMessageInput,
|
|
@@ -36,8 +38,12 @@ import type {
|
|
|
36
38
|
import {
|
|
37
39
|
BadRequestExceptionFromJSON,
|
|
38
40
|
BadRequestExceptionToJSON,
|
|
41
|
+
BatchDeleteBuyerLeadsInputFromJSON,
|
|
42
|
+
BatchDeleteBuyerLeadsInputToJSON,
|
|
39
43
|
BatchReadBuyerLeadMessageInputFromJSON,
|
|
40
44
|
BatchReadBuyerLeadMessageInputToJSON,
|
|
45
|
+
BatchVerifyBuyerLeadsInputFromJSON,
|
|
46
|
+
BatchVerifyBuyerLeadsInputToJSON,
|
|
41
47
|
BuyerDomainTransferAuthCodeDtoFromJSON,
|
|
42
48
|
BuyerDomainTransferAuthCodeDtoToJSON,
|
|
43
49
|
BuyerSecurityUserDtoFromJSON,
|
|
@@ -74,6 +80,10 @@ export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
|
74
80
|
leadId: string;
|
|
75
81
|
}
|
|
76
82
|
|
|
83
|
+
export interface BuyersApiBatchVerifyBuyerLeadsRequest {
|
|
84
|
+
batchVerifyBuyerLeadsInput: BatchVerifyBuyerLeadsInput;
|
|
85
|
+
}
|
|
86
|
+
|
|
77
87
|
export interface BuyersApiBulkReadBuyerLeadMessageRequest {
|
|
78
88
|
leadId: string;
|
|
79
89
|
batchReadBuyerLeadMessageInput: BatchReadBuyerLeadMessageInput;
|
|
@@ -84,6 +94,10 @@ export interface BuyersApiCreateBuyerLeadMessageRequest {
|
|
|
84
94
|
createBuyerLeadMessageInput: CreateBuyerLeadMessageInput;
|
|
85
95
|
}
|
|
86
96
|
|
|
97
|
+
export interface BuyersApiDeleteBuyerLeadsRequest {
|
|
98
|
+
batchDeleteBuyerLeadsInput: BatchDeleteBuyerLeadsInput;
|
|
99
|
+
}
|
|
100
|
+
|
|
87
101
|
export interface BuyersApiDownloadBuyerInvoiceRequest {
|
|
88
102
|
invoiceId: string;
|
|
89
103
|
}
|
|
@@ -135,6 +149,10 @@ export interface BuyersApiSetLocale0Request {
|
|
|
135
149
|
storeBuyerLocaleInput: StoreBuyerLocaleInput;
|
|
136
150
|
}
|
|
137
151
|
|
|
152
|
+
export interface BuyersApiVerifyBuyerLeadRequest {
|
|
153
|
+
leadId: string;
|
|
154
|
+
}
|
|
155
|
+
|
|
138
156
|
/**
|
|
139
157
|
*
|
|
140
158
|
*/
|
|
@@ -180,6 +198,49 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
180
198
|
await this.acceptBuyerLeadOfferRaw(requestParameters, initOverrides);
|
|
181
199
|
}
|
|
182
200
|
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
*/
|
|
204
|
+
async batchVerifyBuyerLeadsRaw(requestParameters: BuyersApiBatchVerifyBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
205
|
+
if (requestParameters['batchVerifyBuyerLeadsInput'] == null) {
|
|
206
|
+
throw new runtime.RequiredError(
|
|
207
|
+
'batchVerifyBuyerLeadsInput',
|
|
208
|
+
'Required parameter "batchVerifyBuyerLeadsInput" was null or undefined when calling batchVerifyBuyerLeads().'
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
const queryParameters: any = {};
|
|
213
|
+
|
|
214
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
215
|
+
|
|
216
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
217
|
+
|
|
218
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
219
|
+
const token = this.configuration.accessToken;
|
|
220
|
+
const tokenString = await token("bearer", []);
|
|
221
|
+
|
|
222
|
+
if (tokenString) {
|
|
223
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
const response = await this.request({
|
|
227
|
+
path: `/buyers/private/leads/verify`,
|
|
228
|
+
method: 'PATCH',
|
|
229
|
+
headers: headerParameters,
|
|
230
|
+
query: queryParameters,
|
|
231
|
+
body: BatchVerifyBuyerLeadsInputToJSON(requestParameters['batchVerifyBuyerLeadsInput']),
|
|
232
|
+
}, initOverrides);
|
|
233
|
+
|
|
234
|
+
return new runtime.VoidApiResponse(response);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
*/
|
|
240
|
+
async batchVerifyBuyerLeads(requestParameters: BuyersApiBatchVerifyBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
241
|
+
await this.batchVerifyBuyerLeadsRaw(requestParameters, initOverrides);
|
|
242
|
+
}
|
|
243
|
+
|
|
183
244
|
/**
|
|
184
245
|
*
|
|
185
246
|
*/
|
|
@@ -315,6 +376,49 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
315
376
|
return await response.value();
|
|
316
377
|
}
|
|
317
378
|
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
*/
|
|
382
|
+
async deleteBuyerLeadsRaw(requestParameters: BuyersApiDeleteBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
383
|
+
if (requestParameters['batchDeleteBuyerLeadsInput'] == null) {
|
|
384
|
+
throw new runtime.RequiredError(
|
|
385
|
+
'batchDeleteBuyerLeadsInput',
|
|
386
|
+
'Required parameter "batchDeleteBuyerLeadsInput" was null or undefined when calling deleteBuyerLeads().'
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
const queryParameters: any = {};
|
|
391
|
+
|
|
392
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
393
|
+
|
|
394
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
395
|
+
|
|
396
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
397
|
+
const token = this.configuration.accessToken;
|
|
398
|
+
const tokenString = await token("bearer", []);
|
|
399
|
+
|
|
400
|
+
if (tokenString) {
|
|
401
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
const response = await this.request({
|
|
405
|
+
path: `/buyers/private/leads`,
|
|
406
|
+
method: 'DELETE',
|
|
407
|
+
headers: headerParameters,
|
|
408
|
+
query: queryParameters,
|
|
409
|
+
body: BatchDeleteBuyerLeadsInputToJSON(requestParameters['batchDeleteBuyerLeadsInput']),
|
|
410
|
+
}, initOverrides);
|
|
411
|
+
|
|
412
|
+
return new runtime.VoidApiResponse(response);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
*/
|
|
418
|
+
async deleteBuyerLeads(requestParameters: BuyersApiDeleteBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
419
|
+
await this.deleteBuyerLeadsRaw(requestParameters, initOverrides);
|
|
420
|
+
}
|
|
421
|
+
|
|
318
422
|
/**
|
|
319
423
|
*
|
|
320
424
|
*/
|
|
@@ -772,4 +876,44 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
772
876
|
await this.setLocaleRaw(requestParameters, initOverrides);
|
|
773
877
|
}
|
|
774
878
|
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
*/
|
|
882
|
+
async verifyBuyerLeadRaw(requestParameters: BuyersApiVerifyBuyerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
883
|
+
if (requestParameters['leadId'] == null) {
|
|
884
|
+
throw new runtime.RequiredError(
|
|
885
|
+
'leadId',
|
|
886
|
+
'Required parameter "leadId" was null or undefined when calling verifyBuyerLead().'
|
|
887
|
+
);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
const queryParameters: any = {};
|
|
891
|
+
|
|
892
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
893
|
+
|
|
894
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
895
|
+
const token = this.configuration.accessToken;
|
|
896
|
+
const tokenString = await token("bearer", []);
|
|
897
|
+
|
|
898
|
+
if (tokenString) {
|
|
899
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
const response = await this.request({
|
|
903
|
+
path: `/buyers/private/leads/{leadId}/verify`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
904
|
+
method: 'PATCH',
|
|
905
|
+
headers: headerParameters,
|
|
906
|
+
query: queryParameters,
|
|
907
|
+
}, initOverrides);
|
|
908
|
+
|
|
909
|
+
return new runtime.VoidApiResponse(response);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
*/
|
|
915
|
+
async verifyBuyerLead(requestParameters: BuyersApiVerifyBuyerLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
916
|
+
await this.verifyBuyerLeadRaw(requestParameters, initOverrides);
|
|
917
|
+
}
|
|
918
|
+
|
|
775
919
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 BatchDeleteBuyerLeadsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface BatchDeleteBuyerLeadsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof BatchDeleteBuyerLeadsInput
|
|
26
|
+
*/
|
|
27
|
+
leadIds: Array<string>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the BatchDeleteBuyerLeadsInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfBatchDeleteBuyerLeadsInput(value: object): value is BatchDeleteBuyerLeadsInput {
|
|
34
|
+
if (!('leadIds' in value) || value['leadIds'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function BatchDeleteBuyerLeadsInputFromJSON(json: any): BatchDeleteBuyerLeadsInput {
|
|
39
|
+
return BatchDeleteBuyerLeadsInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function BatchDeleteBuyerLeadsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchDeleteBuyerLeadsInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'leadIds': json['leadIds'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function BatchDeleteBuyerLeadsInputToJSON(json: any): BatchDeleteBuyerLeadsInput {
|
|
53
|
+
return BatchDeleteBuyerLeadsInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function BatchDeleteBuyerLeadsInputToJSONTyped(value?: BatchDeleteBuyerLeadsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'leadIds': value['leadIds'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 BatchVerifyBuyerLeadsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface BatchVerifyBuyerLeadsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof BatchVerifyBuyerLeadsInput
|
|
26
|
+
*/
|
|
27
|
+
leadIds: Array<string>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the BatchVerifyBuyerLeadsInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfBatchVerifyBuyerLeadsInput(value: object): value is BatchVerifyBuyerLeadsInput {
|
|
34
|
+
if (!('leadIds' in value) || value['leadIds'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function BatchVerifyBuyerLeadsInputFromJSON(json: any): BatchVerifyBuyerLeadsInput {
|
|
39
|
+
return BatchVerifyBuyerLeadsInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function BatchVerifyBuyerLeadsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchVerifyBuyerLeadsInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'leadIds': json['leadIds'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function BatchVerifyBuyerLeadsInputToJSON(json: any): BatchVerifyBuyerLeadsInput {
|
|
53
|
+
return BatchVerifyBuyerLeadsInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function BatchVerifyBuyerLeadsInputToJSONTyped(value?: BatchVerifyBuyerLeadsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'leadIds': value['leadIds'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -11,10 +11,12 @@ export * from './AddressDto';
|
|
|
11
11
|
export * from './AdminAccountSettingsInput';
|
|
12
12
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
13
13
|
export * from './BadRequestException';
|
|
14
|
+
export * from './BatchDeleteBuyerLeadsInput';
|
|
14
15
|
export * from './BatchImportPreviewDto';
|
|
15
16
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
16
17
|
export * from './BatchReadSellerLeadMessageInput';
|
|
17
18
|
export * from './BatchUpdateDomainsInput';
|
|
19
|
+
export * from './BatchVerifyBuyerLeadsInput';
|
|
18
20
|
export * from './BillingInformationDto';
|
|
19
21
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
20
22
|
export * from './BuyerDomainTransferListItemDomainDto';
|