@randock/nameshift-api-client 0.0.156 → 0.0.158
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/LeadsApi.d.ts +12 -1
- package/dist/apis/LeadsApi.js +53 -0
- package/dist/models/BuyerDomainTransferListItemDomainDto.d.ts +6 -0
- package/dist/models/BuyerDomainTransferListItemDomainDto.js +4 -0
- package/dist/models/BuyerLeadListItemDomainDto.d.ts +6 -0
- package/dist/models/BuyerLeadListItemDomainDto.js +4 -0
- package/dist/models/CreateManualLeadInput.d.ts +77 -0
- package/dist/models/CreateManualLeadInput.js +84 -0
- package/dist/models/DomainTransferDetailsDomainDto.d.ts +6 -0
- package/dist/models/DomainTransferDetailsDomainDto.js +4 -0
- package/dist/models/DomainTransferDomainDto.d.ts +6 -0
- package/dist/models/DomainTransferDomainDto.js +4 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +12 -18
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +8 -12
- package/dist/models/InvoiceDomainDto.d.ts +6 -0
- package/dist/models/InvoiceDomainDto.js +4 -0
- package/dist/models/LeadDomainDto.d.ts +13 -0
- package/dist/models/LeadDomainDto.js +9 -0
- package/dist/models/MoneyInput.d.ts +38 -0
- package/dist/models/MoneyInput.js +55 -0
- package/dist/models/OrderListItemDtoDomainInformation.d.ts +6 -0
- package/dist/models/OrderListItemDtoDomainInformation.js +4 -0
- package/dist/models/SellerDomainTransferDomainDto.d.ts +6 -0
- package/dist/models/SellerDomainTransferDomainDto.js +4 -0
- package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +6 -0
- package/dist/models/SellerDomainTransferListItemDomainDto.js +4 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +5 -0
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +50 -0
- package/src/models/BuyerDomainTransferListItemDomainDto.ts +9 -0
- package/src/models/BuyerLeadListItemDomainDto.ts +9 -0
- package/src/models/CreateManualLeadInput.ts +139 -0
- package/src/models/DomainTransferDetailsDomainDto.ts +9 -0
- package/src/models/DomainTransferDomainDto.ts +9 -0
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +18 -27
- package/src/models/InvoiceDomainDto.ts +9 -0
- package/src/models/LeadDomainDto.ts +26 -0
- package/src/models/MoneyInput.ts +75 -0
- package/src/models/OrderListItemDtoDomainInformation.ts +9 -0
- package/src/models/SellerDomainTransferDomainDto.ts +9 -0
- package/src/models/SellerDomainTransferListItemDomainDto.ts +9 -0
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +5 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -54,6 +54,7 @@ src/models/ConflictException.ts
|
|
|
54
54
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
55
55
|
src/models/CreateLeadInput.ts
|
|
56
56
|
src/models/CreateLeadMessageInput.ts
|
|
57
|
+
src/models/CreateManualLeadInput.ts
|
|
57
58
|
src/models/CreateOrderInput.ts
|
|
58
59
|
src/models/DeleteDomainsInput.ts
|
|
59
60
|
src/models/DomainDto.ts
|
|
@@ -110,6 +111,7 @@ src/models/ListLeadMessagesDto.ts
|
|
|
110
111
|
src/models/LoginDto.ts
|
|
111
112
|
src/models/LoginInput.ts
|
|
112
113
|
src/models/MoneyDto.ts
|
|
114
|
+
src/models/MoneyInput.ts
|
|
113
115
|
src/models/NotFoundException.ts
|
|
114
116
|
src/models/ObjectId.ts
|
|
115
117
|
src/models/OrderCompanyInfoDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.158
|
|
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.158 --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
|
+
09757405b23ba65efed1805a9841da3b8ca8ddc0e786007261a6f62e7f820a8a044f202aebd00966181a24d071a60607
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto, List200Response, ListLeadMessagesDto, ObjectId, PutLeadOfferInput } from '../models/index';
|
|
13
|
+
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto, List200Response, ListLeadMessagesDto, ObjectId, PutLeadOfferInput } from '../models/index';
|
|
14
14
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -21,6 +21,9 @@ export interface LeadsApiBulkReadSellerLeadMessageRequest {
|
|
|
21
21
|
leadId: string;
|
|
22
22
|
batchReadSellerLeadMessageInput: BatchReadSellerLeadMessageInput;
|
|
23
23
|
}
|
|
24
|
+
export interface LeadsApiCreateManualLeadRequest {
|
|
25
|
+
createManualLeadInput: CreateManualLeadInput;
|
|
26
|
+
}
|
|
24
27
|
export interface LeadsApiCreateMessageRequest {
|
|
25
28
|
leadId: string;
|
|
26
29
|
createLeadMessageInput: CreateLeadMessageInput;
|
|
@@ -72,6 +75,14 @@ export declare class LeadsApi extends runtime.BaseAPI {
|
|
|
72
75
|
*
|
|
73
76
|
*/
|
|
74
77
|
bulkReadSellerLeadMessage(requestParameters: LeadsApiBulkReadSellerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
createManualLeadRaw(requestParameters: LeadsApiCreateManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
createManualLead(requestParameters: LeadsApiCreateManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
75
86
|
/**
|
|
76
87
|
*
|
|
77
88
|
*/
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -233,6 +233,59 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
233
233
|
});
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
*/
|
|
239
|
+
LeadsApi.prototype.createManualLeadRaw = function (requestParameters, initOverrides) {
|
|
240
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
241
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
242
|
+
return __generator(this, function (_a) {
|
|
243
|
+
switch (_a.label) {
|
|
244
|
+
case 0:
|
|
245
|
+
if (requestParameters['createManualLeadInput'] == null) {
|
|
246
|
+
throw new runtime.RequiredError('createManualLeadInput', 'Required parameter "createManualLeadInput" was null or undefined when calling createManualLead().');
|
|
247
|
+
}
|
|
248
|
+
queryParameters = {};
|
|
249
|
+
headerParameters = {};
|
|
250
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
251
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
252
|
+
token = this.configuration.accessToken;
|
|
253
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
254
|
+
case 1:
|
|
255
|
+
tokenString = _a.sent();
|
|
256
|
+
if (tokenString) {
|
|
257
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
258
|
+
}
|
|
259
|
+
_a.label = 2;
|
|
260
|
+
case 2: return [4 /*yield*/, this.request({
|
|
261
|
+
path: "/private/leads/manual",
|
|
262
|
+
method: 'POST',
|
|
263
|
+
headers: headerParameters,
|
|
264
|
+
query: queryParameters,
|
|
265
|
+
body: (0, index_1.CreateManualLeadInputToJSON)(requestParameters['createManualLeadInput']),
|
|
266
|
+
}, initOverrides)];
|
|
267
|
+
case 3:
|
|
268
|
+
response = _a.sent();
|
|
269
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
});
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
*/
|
|
277
|
+
LeadsApi.prototype.createManualLead = function (requestParameters, initOverrides) {
|
|
278
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
279
|
+
return __generator(this, function (_a) {
|
|
280
|
+
switch (_a.label) {
|
|
281
|
+
case 0: return [4 /*yield*/, this.createManualLeadRaw(requestParameters, initOverrides)];
|
|
282
|
+
case 1:
|
|
283
|
+
_a.sent();
|
|
284
|
+
return [2 /*return*/];
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
});
|
|
288
|
+
};
|
|
236
289
|
/**
|
|
237
290
|
*
|
|
238
291
|
*/
|
|
@@ -27,6 +27,12 @@ export interface BuyerDomainTransferListItemDomainDto {
|
|
|
27
27
|
* @memberof BuyerDomainTransferListItemDomainDto
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The buyer domain name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerDomainTransferListItemDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
30
36
|
/**
|
|
31
37
|
* The buyer domain TLD
|
|
32
38
|
* @type {string}
|
|
@@ -26,6 +26,8 @@ function instanceOfBuyerDomainTransferListItemDomainDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
@@ -40,6 +42,7 @@ function BuyerDomainTransferListItemDomainDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
40
42
|
return {
|
|
41
43
|
'id': json['id'],
|
|
42
44
|
'name': json['name'],
|
|
45
|
+
'displayName': json['displayName'],
|
|
43
46
|
'tld': json['tld'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
@@ -54,6 +57,7 @@ function BuyerDomainTransferListItemDomainDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
54
57
|
return {
|
|
55
58
|
'id': value['id'],
|
|
56
59
|
'name': value['name'],
|
|
60
|
+
'displayName': value['displayName'],
|
|
57
61
|
'tld': value['tld'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -27,6 +27,12 @@ export interface BuyerLeadListItemDomainDto {
|
|
|
27
27
|
* @memberof BuyerLeadListItemDomainDto
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The lead domain display name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
30
36
|
/**
|
|
31
37
|
* The lead domain TLD
|
|
32
38
|
* @type {string}
|
|
@@ -26,6 +26,8 @@ function instanceOfBuyerLeadListItemDomainDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
@@ -40,6 +42,7 @@ function BuyerLeadListItemDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
return {
|
|
41
43
|
'id': json['id'],
|
|
42
44
|
'name': json['name'],
|
|
45
|
+
'displayName': json['displayName'],
|
|
43
46
|
'tld': json['tld'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
@@ -54,6 +57,7 @@ function BuyerLeadListItemDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
57
|
return {
|
|
55
58
|
'id': value['id'],
|
|
56
59
|
'name': value['name'],
|
|
60
|
+
'displayName': value['displayName'],
|
|
57
61
|
'tld': value['tld'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
import type { MoneyInput } from './MoneyInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateManualLeadInput
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateManualLeadInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateManualLeadInput
|
|
23
|
+
*/
|
|
24
|
+
type: CreateManualLeadInputTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateManualLeadInput
|
|
29
|
+
*/
|
|
30
|
+
domainName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateManualLeadInput
|
|
35
|
+
*/
|
|
36
|
+
email: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateManualLeadInput
|
|
41
|
+
*/
|
|
42
|
+
firstname: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateManualLeadInput
|
|
47
|
+
*/
|
|
48
|
+
lastname: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CreateManualLeadInput
|
|
53
|
+
*/
|
|
54
|
+
locale: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {MoneyInput}
|
|
58
|
+
* @memberof CreateManualLeadInput
|
|
59
|
+
*/
|
|
60
|
+
offer: MoneyInput;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const CreateManualLeadInputTypeEnum: {
|
|
66
|
+
readonly BUY_NOW: "buy_now";
|
|
67
|
+
readonly OFFER: "offer";
|
|
68
|
+
};
|
|
69
|
+
export type CreateManualLeadInputTypeEnum = typeof CreateManualLeadInputTypeEnum[keyof typeof CreateManualLeadInputTypeEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the CreateManualLeadInput interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfCreateManualLeadInput(value: object): value is CreateManualLeadInput;
|
|
74
|
+
export declare function CreateManualLeadInputFromJSON(json: any): CreateManualLeadInput;
|
|
75
|
+
export declare function CreateManualLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateManualLeadInput;
|
|
76
|
+
export declare function CreateManualLeadInputToJSON(json: any): CreateManualLeadInput;
|
|
77
|
+
export declare function CreateManualLeadInputToJSONTyped(value?: CreateManualLeadInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
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.CreateManualLeadInputTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCreateManualLeadInput = instanceOfCreateManualLeadInput;
|
|
18
|
+
exports.CreateManualLeadInputFromJSON = CreateManualLeadInputFromJSON;
|
|
19
|
+
exports.CreateManualLeadInputFromJSONTyped = CreateManualLeadInputFromJSONTyped;
|
|
20
|
+
exports.CreateManualLeadInputToJSON = CreateManualLeadInputToJSON;
|
|
21
|
+
exports.CreateManualLeadInputToJSONTyped = CreateManualLeadInputToJSONTyped;
|
|
22
|
+
var MoneyInput_1 = require("./MoneyInput");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.CreateManualLeadInputTypeEnum = {
|
|
27
|
+
BUY_NOW: 'buy_now',
|
|
28
|
+
OFFER: 'offer'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateManualLeadInput interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfCreateManualLeadInput(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('offer' in value) || value['offer'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function CreateManualLeadInputFromJSON(json) {
|
|
51
|
+
return CreateManualLeadInputFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function CreateManualLeadInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': json['type'],
|
|
59
|
+
'domainName': json['domainName'],
|
|
60
|
+
'email': json['email'],
|
|
61
|
+
'firstname': json['firstname'],
|
|
62
|
+
'lastname': json['lastname'],
|
|
63
|
+
'locale': json['locale'],
|
|
64
|
+
'offer': (0, MoneyInput_1.MoneyInputFromJSON)(json['offer']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function CreateManualLeadInputToJSON(json) {
|
|
68
|
+
return CreateManualLeadInputToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function CreateManualLeadInputToJSONTyped(value, ignoreDiscriminator) {
|
|
71
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'type': value['type'],
|
|
77
|
+
'domainName': value['domainName'],
|
|
78
|
+
'email': value['email'],
|
|
79
|
+
'firstname': value['firstname'],
|
|
80
|
+
'lastname': value['lastname'],
|
|
81
|
+
'locale': value['locale'],
|
|
82
|
+
'offer': (0, MoneyInput_1.MoneyInputToJSON)(value['offer']),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -27,6 +27,12 @@ export interface DomainTransferDetailsDomainDto {
|
|
|
27
27
|
* @memberof DomainTransferDetailsDomainDto
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The domain name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainTransferDetailsDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
30
36
|
/**
|
|
31
37
|
* The domain TLD
|
|
32
38
|
* @type {string}
|
|
@@ -26,6 +26,8 @@ function instanceOfDomainTransferDetailsDomainDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
@@ -42,6 +44,7 @@ function DomainTransferDetailsDomainDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
42
44
|
return {
|
|
43
45
|
'id': json['id'],
|
|
44
46
|
'name': json['name'],
|
|
47
|
+
'displayName': json['displayName'],
|
|
45
48
|
'tld': json['tld'],
|
|
46
49
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
47
50
|
};
|
|
@@ -57,6 +60,7 @@ function DomainTransferDetailsDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
57
60
|
return {
|
|
58
61
|
'id': value['id'],
|
|
59
62
|
'name': value['name'],
|
|
63
|
+
'displayName': value['displayName'],
|
|
60
64
|
'tld': value['tld'],
|
|
61
65
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
62
66
|
};
|
|
@@ -27,6 +27,12 @@ export interface DomainTransferDomainDto {
|
|
|
27
27
|
* @memberof DomainTransferDomainDto
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The domain display name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainTransferDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
30
36
|
/**
|
|
31
37
|
* The domain TLD
|
|
32
38
|
* @type {string}
|
|
@@ -26,6 +26,8 @@ function instanceOfDomainTransferDomainDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
@@ -40,6 +42,7 @@ function DomainTransferDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
return {
|
|
41
43
|
'id': json['id'],
|
|
42
44
|
'name': json['name'],
|
|
45
|
+
'displayName': json['displayName'],
|
|
43
46
|
'tld': json['tld'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
@@ -54,6 +57,7 @@ function DomainTransferDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
57
|
return {
|
|
55
58
|
'id': value['id'],
|
|
56
59
|
'name': value['name'],
|
|
60
|
+
'displayName': value['displayName'],
|
|
57
61
|
'tld': value['tld'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -42,6 +42,18 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
42
42
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
43
43
|
*/
|
|
44
44
|
lastOfferBy: IntersectionLeadDtoWithListFieldsDtoLastOfferByEnum | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
49
|
+
*/
|
|
50
|
+
buyerInitials: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
55
|
+
*/
|
|
56
|
+
buyerIpCountryCode: string | null;
|
|
45
57
|
/**
|
|
46
58
|
*
|
|
47
59
|
* @type {string}
|
|
@@ -102,24 +114,6 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
102
114
|
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
103
115
|
*/
|
|
104
116
|
orderPaymentUrl: string | null;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
109
|
-
*/
|
|
110
|
-
domainName: string;
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
115
|
-
*/
|
|
116
|
-
buyerInitials: string;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof IntersectionLeadDtoWithListFieldsDto
|
|
121
|
-
*/
|
|
122
|
-
buyerIpCountryCode: string | null;
|
|
123
117
|
/**
|
|
124
118
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
125
119
|
* @type {string}
|
|
@@ -70,6 +70,10 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
|
70
70
|
return false;
|
|
71
71
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
72
72
|
return false;
|
|
73
|
+
if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
|
|
74
|
+
return false;
|
|
75
|
+
if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
|
|
76
|
+
return false;
|
|
73
77
|
if (!('lastMessageFrom' in value) || value['lastMessageFrom'] === undefined)
|
|
74
78
|
return false;
|
|
75
79
|
if (!('lastMessageType' in value) || value['lastMessageType'] === undefined)
|
|
@@ -90,12 +94,6 @@ function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
|
|
|
90
94
|
return false;
|
|
91
95
|
if (!('orderPaymentUrl' in value) || value['orderPaymentUrl'] === undefined)
|
|
92
96
|
return false;
|
|
93
|
-
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
94
|
-
return false;
|
|
95
|
-
if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
|
|
96
|
-
return false;
|
|
97
|
-
if (!('buyerIpCountryCode' in value) || value['buyerIpCountryCode'] === undefined)
|
|
98
|
-
return false;
|
|
99
97
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
100
98
|
return false;
|
|
101
99
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -114,6 +112,8 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
114
112
|
'status': json['status'],
|
|
115
113
|
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
116
114
|
'lastOfferBy': json['lastOfferBy'],
|
|
115
|
+
'buyerInitials': json['buyerInitials'],
|
|
116
|
+
'buyerIpCountryCode': json['buyerIpCountryCode'],
|
|
117
117
|
'lastMessageFrom': json['lastMessageFrom'],
|
|
118
118
|
'lastMessageType': json['lastMessageType'],
|
|
119
119
|
'lastMessageData': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['lastMessageData']),
|
|
@@ -124,9 +124,6 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
124
124
|
'unreadBuyerMessagesNumber': json['unreadBuyerMessagesNumber'],
|
|
125
125
|
'unreadSellerMessagesNumber': json['unreadSellerMessagesNumber'],
|
|
126
126
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
127
|
-
'domainName': json['domainName'],
|
|
128
|
-
'buyerInitials': json['buyerInitials'],
|
|
129
|
-
'buyerIpCountryCode': json['buyerIpCountryCode'],
|
|
130
127
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
131
128
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
132
129
|
};
|
|
@@ -144,6 +141,8 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
144
141
|
'status': value['status'],
|
|
145
142
|
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
146
143
|
'lastOfferBy': value['lastOfferBy'],
|
|
144
|
+
'buyerInitials': value['buyerInitials'],
|
|
145
|
+
'buyerIpCountryCode': value['buyerIpCountryCode'],
|
|
147
146
|
'lastMessageFrom': value['lastMessageFrom'],
|
|
148
147
|
'lastMessageType': value['lastMessageType'],
|
|
149
148
|
'lastMessageData': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['lastMessageData']),
|
|
@@ -154,9 +153,6 @@ function IntersectionLeadDtoWithListFieldsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
154
153
|
'unreadBuyerMessagesNumber': value['unreadBuyerMessagesNumber'],
|
|
155
154
|
'unreadSellerMessagesNumber': value['unreadSellerMessagesNumber'],
|
|
156
155
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
157
|
-
'domainName': value['domainName'],
|
|
158
|
-
'buyerInitials': value['buyerInitials'],
|
|
159
|
-
'buyerIpCountryCode': value['buyerIpCountryCode'],
|
|
160
156
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
161
157
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
162
158
|
};
|
|
@@ -27,6 +27,12 @@ export interface InvoiceDomainDto {
|
|
|
27
27
|
* @memberof InvoiceDomainDto
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the InvoiceDomainDto interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfInvoiceDomainDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function InvoiceDomainDtoFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ function InvoiceDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return {
|
|
39
41
|
'id': json['id'],
|
|
40
42
|
'name': json['name'],
|
|
43
|
+
'displayName': json['displayName'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
function InvoiceDomainDtoToJSON(json) {
|
|
@@ -51,5 +54,6 @@ function InvoiceDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
54
|
return {
|
|
52
55
|
'id': value['id'],
|
|
53
56
|
'name': value['name'],
|
|
57
|
+
'displayName': value['displayName'],
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,12 +28,24 @@ export interface LeadDomainDto {
|
|
|
27
28
|
* @memberof LeadDomainDto
|
|
28
29
|
*/
|
|
29
30
|
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Domain name
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LeadDomainDto
|
|
35
|
+
*/
|
|
36
|
+
displayName: string;
|
|
30
37
|
/**
|
|
31
38
|
* Domain currency code
|
|
32
39
|
* @type {string}
|
|
33
40
|
* @memberof LeadDomainDto
|
|
34
41
|
*/
|
|
35
42
|
currencyCode: string;
|
|
43
|
+
/**
|
|
44
|
+
* Min offer
|
|
45
|
+
* @type {MoneyDto}
|
|
46
|
+
* @memberof LeadDomainDto
|
|
47
|
+
*/
|
|
48
|
+
minOffer: MoneyDto | null;
|
|
36
49
|
/**
|
|
37
50
|
* Domain deletion date
|
|
38
51
|
* @type {Date}
|
|
@@ -18,6 +18,7 @@ exports.LeadDomainDtoFromJSON = LeadDomainDtoFromJSON;
|
|
|
18
18
|
exports.LeadDomainDtoFromJSONTyped = LeadDomainDtoFromJSONTyped;
|
|
19
19
|
exports.LeadDomainDtoToJSON = LeadDomainDtoToJSON;
|
|
20
20
|
exports.LeadDomainDtoToJSONTyped = LeadDomainDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the LeadDomainDto interface.
|
|
23
24
|
*/
|
|
@@ -26,8 +27,12 @@ function instanceOfLeadDomainDto(value) {
|
|
|
26
27
|
return false;
|
|
27
28
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
29
|
return false;
|
|
30
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
31
|
+
return false;
|
|
29
32
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
30
33
|
return false;
|
|
34
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
35
|
+
return false;
|
|
31
36
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
32
37
|
return false;
|
|
33
38
|
return true;
|
|
@@ -42,7 +47,9 @@ function LeadDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
47
|
return {
|
|
43
48
|
'id': json['id'],
|
|
44
49
|
'name': json['name'],
|
|
50
|
+
'displayName': json['displayName'],
|
|
45
51
|
'currencyCode': json['currencyCode'],
|
|
52
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
46
53
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
47
54
|
};
|
|
48
55
|
}
|
|
@@ -57,7 +64,9 @@ function LeadDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
57
64
|
return {
|
|
58
65
|
'id': value['id'],
|
|
59
66
|
'name': value['name'],
|
|
67
|
+
'displayName': value['displayName'],
|
|
60
68
|
'currencyCode': value['currencyCode'],
|
|
69
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
61
70
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
62
71
|
};
|
|
63
72
|
}
|