@randock/nameshift-api-client 0.0.88 → 0.0.90
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 +9 -11
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +84 -1
- package/dist/apis/BuyersApi.js +390 -0
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/AccountSettingsInput.d.ts +3 -3
- package/dist/models/AccountSettingsInput.js +3 -3
- package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +31 -0
- package/dist/models/BatchReadBuyerLeadMessageInput.js +46 -0
- package/dist/models/BatchReadSellerLeadMessageInput.d.ts +31 -0
- package/dist/models/BatchReadSellerLeadMessageInput.js +46 -0
- package/dist/models/BuyerLeadListItemDomainDto.d.ts +43 -0
- package/dist/models/BuyerLeadListItemDomainDto.js +54 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +84 -0
- package/dist/models/BuyerLeadListItemDto.js +88 -0
- package/dist/models/CreateBuyerLeadMessageInput.d.ts +31 -0
- package/dist/models/CreateBuyerLeadMessageInput.js +46 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +4 -4
- package/dist/models/DomainTransferDetailsDto.js +3 -3
- package/dist/models/DomainTransferDto.d.ts +4 -4
- package/dist/models/DomainTransferDto.js +3 -3
- package/dist/models/GetBuyerLeads200Response.d.ts +46 -0
- package/dist/models/GetBuyerLeads200Response.js +57 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -8
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -6
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +5 -5
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +18 -9
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +13 -6
- package/dist/models/LeadDomainDto.d.ts +43 -0
- package/dist/models/{DomainTransferDtoAgent.js → LeadDomainDto.js} +14 -10
- package/dist/models/LeadDto.d.ts +84 -0
- package/dist/models/LeadDto.js +88 -0
- package/dist/models/LeadMessageDto.d.ts +24 -10
- package/dist/models/LeadMessageDto.js +16 -6
- package/dist/models/OrderListItemDto.d.ts +4 -4
- package/dist/models/OrderListItemDto.js +3 -3
- package/dist/models/PublicLeadDto.d.ts +4 -4
- package/dist/models/PublicLeadDto.js +3 -3
- package/dist/models/PutBuyerLeadOfferInput.d.ts +32 -0
- package/dist/models/PutBuyerLeadOfferInput.js +47 -0
- package/dist/models/SellerDomainTransferDto.d.ts +4 -4
- package/dist/models/SellerDomainTransferDto.js +3 -3
- package/dist/models/UpdateDomainInput.d.ts +5 -5
- package/dist/models/UpdateDomainInput.js +5 -5
- package/dist/models/index.d.ts +9 -11
- package/dist/models/index.js +9 -11
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +378 -0
- package/src/apis/LeadsApi.ts +61 -0
- package/src/models/AccountSettingsInput.ts +9 -9
- package/src/models/BatchReadBuyerLeadMessageInput.ts +61 -0
- package/src/models/BatchReadSellerLeadMessageInput.ts +61 -0
- package/src/models/BuyerLeadListItemDomainDto.ts +79 -0
- package/src/models/BuyerLeadListItemDto.ts +144 -0
- package/src/models/CreateBuyerLeadMessageInput.ts +61 -0
- package/src/models/DomainTransferDetailsDto.ts +11 -11
- package/src/models/DomainTransferDto.ts +10 -10
- package/src/models/GetBuyerLeads200Response.ts +98 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +15 -21
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +11 -11
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +38 -21
- package/src/models/LeadDomainDto.ts +79 -0
- package/src/models/LeadDto.ts +144 -0
- package/src/models/LeadMessageDto.ts +39 -19
- package/src/models/OrderListItemDto.ts +11 -11
- package/src/models/PublicLeadDto.ts +10 -10
- package/src/models/PutBuyerLeadOfferInput.ts +68 -0
- package/src/models/SellerDomainTransferDto.ts +10 -10
- package/src/models/UpdateDomainInput.ts +13 -13
- package/src/models/index.ts +9 -11
- package/dist/models/DomainTransferDetailsDtoAuthCode.d.ts +0 -37
- package/dist/models/DomainTransferDetailsDtoAuthCode.js +0 -50
- package/dist/models/DomainTransferDtoAgent.d.ts +0 -37
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +0 -37
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +0 -50
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +0 -37
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +0 -50
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +0 -32
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +0 -47
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +0 -37
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +0 -50
- package/dist/models/LeadMessageDtoData.d.ts +0 -32
- package/dist/models/LeadMessageDtoData.js +0 -47
- package/dist/models/MoneyInput.d.ts +0 -37
- package/dist/models/MoneyInput.js +0 -50
- package/dist/models/OrderListItemDtoBasePrice.d.ts +0 -37
- package/dist/models/OrderListItemDtoBasePrice.js +0 -50
- package/dist/models/PublicLeadDtoLastOffer.d.ts +0 -37
- package/dist/models/PublicLeadDtoLastOffer.js +0 -50
- package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +0 -37
- package/dist/models/SellerDomainTransferDtoAuthCode.js +0 -50
- package/src/models/DomainTransferDetailsDtoAuthCode.ts +0 -70
- package/src/models/DomainTransferDtoAgent.ts +0 -70
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +0 -70
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +0 -70
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +0 -68
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +0 -70
- package/src/models/LeadMessageDtoData.ts +0 -68
- package/src/models/MoneyInput.ts +0 -70
- package/src/models/OrderListItemDtoBasePrice.ts +0 -70
- package/src/models/PublicLeadDtoLastOffer.ts +0 -70
- package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -70
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -126,6 +126,62 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
LeadsApi.prototype.bulkReadSellerLeadMessageRaw = 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['leadId'] == null) {
|
|
139
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling bulkReadSellerLeadMessage().');
|
|
140
|
+
}
|
|
141
|
+
if (requestParameters['batchReadSellerLeadMessageInput'] == null) {
|
|
142
|
+
throw new runtime.RequiredError('batchReadSellerLeadMessageInput', 'Required parameter "batchReadSellerLeadMessageInput" was null or undefined when calling bulkReadSellerLeadMessage().');
|
|
143
|
+
}
|
|
144
|
+
queryParameters = {};
|
|
145
|
+
headerParameters = {};
|
|
146
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
147
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
148
|
+
token = this.configuration.accessToken;
|
|
149
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
150
|
+
case 1:
|
|
151
|
+
tokenString = _a.sent();
|
|
152
|
+
if (tokenString) {
|
|
153
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
154
|
+
}
|
|
155
|
+
_a.label = 2;
|
|
156
|
+
case 2: return [4 /*yield*/, this.request({
|
|
157
|
+
path: "/private/leads/{leadId}/messages/read".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
158
|
+
method: 'POST',
|
|
159
|
+
headers: headerParameters,
|
|
160
|
+
query: queryParameters,
|
|
161
|
+
body: (0, index_1.BatchReadSellerLeadMessageInputToJSON)(requestParameters['batchReadSellerLeadMessageInput']),
|
|
162
|
+
}, initOverrides)];
|
|
163
|
+
case 3:
|
|
164
|
+
response = _a.sent();
|
|
165
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
LeadsApi.prototype.bulkReadSellerLeadMessage = function (requestParameters, initOverrides) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
175
|
+
return __generator(this, function (_a) {
|
|
176
|
+
switch (_a.label) {
|
|
177
|
+
case 0: return [4 /*yield*/, this.bulkReadSellerLeadMessageRaw(requestParameters, initOverrides)];
|
|
178
|
+
case 1:
|
|
179
|
+
_a.sent();
|
|
180
|
+
return [2 /*return*/];
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
};
|
|
129
185
|
/**
|
|
130
186
|
*
|
|
131
187
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface AccountSettingsInput {
|
|
|
24
24
|
name?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {MoneyDto}
|
|
28
28
|
* @memberof AccountSettingsInput
|
|
29
29
|
*/
|
|
30
|
-
defaultStartingOffer?:
|
|
30
|
+
defaultStartingOffer?: MoneyDto;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
@@ -17,7 +17,7 @@ exports.instanceOfAccountSettingsInput = instanceOfAccountSettingsInput;
|
|
|
17
17
|
exports.AccountSettingsInputFromJSON = AccountSettingsInputFromJSON;
|
|
18
18
|
exports.AccountSettingsInputFromJSONTyped = AccountSettingsInputFromJSONTyped;
|
|
19
19
|
exports.AccountSettingsInputToJSON = AccountSettingsInputToJSON;
|
|
20
|
-
var
|
|
20
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
21
21
|
/**
|
|
22
22
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
23
23
|
*/
|
|
@@ -33,7 +33,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
-
'defaultStartingOffer': json['defaultStartingOffer'] == null ? undefined : (0,
|
|
36
|
+
'defaultStartingOffer': json['defaultStartingOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
37
37
|
'defaultCurrencyCode': json['defaultCurrencyCode'] == null ? undefined : json['defaultCurrencyCode'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
@@ -43,7 +43,7 @@ function AccountSettingsInputToJSON(value) {
|
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
45
|
'name': value['name'],
|
|
46
|
-
'defaultStartingOffer': (0,
|
|
46
|
+
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
|
|
47
47
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
48
48
|
};
|
|
49
49
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 BatchReadBuyerLeadMessageInput
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchReadBuyerLeadMessageInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BatchReadBuyerLeadMessageInput
|
|
22
|
+
*/
|
|
23
|
+
leadMessageIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BatchReadBuyerLeadMessageInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBatchReadBuyerLeadMessageInput(value: object): value is BatchReadBuyerLeadMessageInput;
|
|
29
|
+
export declare function BatchReadBuyerLeadMessageInputFromJSON(json: any): BatchReadBuyerLeadMessageInput;
|
|
30
|
+
export declare function BatchReadBuyerLeadMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchReadBuyerLeadMessageInput;
|
|
31
|
+
export declare function BatchReadBuyerLeadMessageInputToJSON(value?: BatchReadBuyerLeadMessageInput | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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.instanceOfBatchReadBuyerLeadMessageInput = instanceOfBatchReadBuyerLeadMessageInput;
|
|
17
|
+
exports.BatchReadBuyerLeadMessageInputFromJSON = BatchReadBuyerLeadMessageInputFromJSON;
|
|
18
|
+
exports.BatchReadBuyerLeadMessageInputFromJSONTyped = BatchReadBuyerLeadMessageInputFromJSONTyped;
|
|
19
|
+
exports.BatchReadBuyerLeadMessageInputToJSON = BatchReadBuyerLeadMessageInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the BatchReadBuyerLeadMessageInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfBatchReadBuyerLeadMessageInput(value) {
|
|
24
|
+
if (!('leadMessageIds' in value) || value['leadMessageIds'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function BatchReadBuyerLeadMessageInputFromJSON(json) {
|
|
29
|
+
return BatchReadBuyerLeadMessageInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function BatchReadBuyerLeadMessageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'leadMessageIds': json['leadMessageIds'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function BatchReadBuyerLeadMessageInputToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'leadMessageIds': value['leadMessageIds'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 BatchReadSellerLeadMessageInput
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchReadSellerLeadMessageInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BatchReadSellerLeadMessageInput
|
|
22
|
+
*/
|
|
23
|
+
leadMessageIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BatchReadSellerLeadMessageInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBatchReadSellerLeadMessageInput(value: object): value is BatchReadSellerLeadMessageInput;
|
|
29
|
+
export declare function BatchReadSellerLeadMessageInputFromJSON(json: any): BatchReadSellerLeadMessageInput;
|
|
30
|
+
export declare function BatchReadSellerLeadMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchReadSellerLeadMessageInput;
|
|
31
|
+
export declare function BatchReadSellerLeadMessageInputToJSON(value?: BatchReadSellerLeadMessageInput | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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.instanceOfBatchReadSellerLeadMessageInput = instanceOfBatchReadSellerLeadMessageInput;
|
|
17
|
+
exports.BatchReadSellerLeadMessageInputFromJSON = BatchReadSellerLeadMessageInputFromJSON;
|
|
18
|
+
exports.BatchReadSellerLeadMessageInputFromJSONTyped = BatchReadSellerLeadMessageInputFromJSONTyped;
|
|
19
|
+
exports.BatchReadSellerLeadMessageInputToJSON = BatchReadSellerLeadMessageInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the BatchReadSellerLeadMessageInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfBatchReadSellerLeadMessageInput(value) {
|
|
24
|
+
if (!('leadMessageIds' in value) || value['leadMessageIds'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function BatchReadSellerLeadMessageInputFromJSON(json) {
|
|
29
|
+
return BatchReadSellerLeadMessageInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function BatchReadSellerLeadMessageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'leadMessageIds': json['leadMessageIds'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function BatchReadSellerLeadMessageInputToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'leadMessageIds': value['leadMessageIds'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 BuyerLeadListItemDomainDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerLeadListItemDomainDto {
|
|
18
|
+
/**
|
|
19
|
+
* The buyer domain ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The lead domain name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The lead domain TLD
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerLeadListItemDomainDto
|
|
34
|
+
*/
|
|
35
|
+
tld: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the BuyerLeadListItemDomainDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfBuyerLeadListItemDomainDto(value: object): value is BuyerLeadListItemDomainDto;
|
|
41
|
+
export declare function BuyerLeadListItemDomainDtoFromJSON(json: any): BuyerLeadListItemDomainDto;
|
|
42
|
+
export declare function BuyerLeadListItemDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLeadListItemDomainDto;
|
|
43
|
+
export declare function BuyerLeadListItemDomainDtoToJSON(value?: BuyerLeadListItemDomainDto | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfBuyerLeadListItemDomainDto = instanceOfBuyerLeadListItemDomainDto;
|
|
17
|
+
exports.BuyerLeadListItemDomainDtoFromJSON = BuyerLeadListItemDomainDtoFromJSON;
|
|
18
|
+
exports.BuyerLeadListItemDomainDtoFromJSONTyped = BuyerLeadListItemDomainDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerLeadListItemDomainDtoToJSON = BuyerLeadListItemDomainDtoToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the BuyerLeadListItemDomainDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfBuyerLeadListItemDomainDto(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('tld' in value) || value['tld'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function BuyerLeadListItemDomainDtoFromJSON(json) {
|
|
33
|
+
return BuyerLeadListItemDomainDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function BuyerLeadListItemDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'tld': json['tld'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function BuyerLeadListItemDomainDtoToJSON(value) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'tld': value['tld'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { BuyerLeadListItemDomainDto } from './BuyerLeadListItemDomainDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BuyerLeadListItemDto
|
|
18
|
+
*/
|
|
19
|
+
export interface BuyerLeadListItemDto {
|
|
20
|
+
/**
|
|
21
|
+
* The lead ID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BuyerLeadListItemDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The current lead status
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BuyerLeadListItemDto
|
|
30
|
+
*/
|
|
31
|
+
status: BuyerLeadListItemDtoStatusEnum;
|
|
32
|
+
/**
|
|
33
|
+
* The last offer amount
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof BuyerLeadListItemDto
|
|
36
|
+
*/
|
|
37
|
+
lastOffer: MoneyDto | null;
|
|
38
|
+
/**
|
|
39
|
+
* The last offer offerer
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BuyerLeadListItemDto
|
|
42
|
+
*/
|
|
43
|
+
lastOfferBy: BuyerLeadListItemDtoLastOfferByEnum | null;
|
|
44
|
+
/**
|
|
45
|
+
* Created at date
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof BuyerLeadListItemDto
|
|
48
|
+
*/
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
/**
|
|
51
|
+
* The lead domain information
|
|
52
|
+
* @type {BuyerLeadListItemDomainDto}
|
|
53
|
+
* @memberof BuyerLeadListItemDto
|
|
54
|
+
*/
|
|
55
|
+
domain: BuyerLeadListItemDomainDto;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const BuyerLeadListItemDtoStatusEnum: {
|
|
61
|
+
readonly UNVERIFIED: "unverified";
|
|
62
|
+
readonly ACTIVE: "active";
|
|
63
|
+
readonly ACCEPTED: "accepted";
|
|
64
|
+
readonly FINISHED: "finished";
|
|
65
|
+
readonly DELETED: "deleted";
|
|
66
|
+
readonly ARCHIVED: "archived";
|
|
67
|
+
};
|
|
68
|
+
export type BuyerLeadListItemDtoStatusEnum = typeof BuyerLeadListItemDtoStatusEnum[keyof typeof BuyerLeadListItemDtoStatusEnum];
|
|
69
|
+
/**
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const BuyerLeadListItemDtoLastOfferByEnum: {
|
|
73
|
+
readonly BUYER: "buyer";
|
|
74
|
+
readonly SELLER: "seller";
|
|
75
|
+
readonly ADMIN: "admin";
|
|
76
|
+
};
|
|
77
|
+
export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfBuyerLeadListItemDto(value: object): value is BuyerLeadListItemDto;
|
|
82
|
+
export declare function BuyerLeadListItemDtoFromJSON(json: any): BuyerLeadListItemDto;
|
|
83
|
+
export declare function BuyerLeadListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLeadListItemDto;
|
|
84
|
+
export declare function BuyerLeadListItemDtoToJSON(value?: BuyerLeadListItemDto | null): any;
|
|
@@ -0,0 +1,88 @@
|
|
|
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.BuyerLeadListItemDtoLastOfferByEnum = exports.BuyerLeadListItemDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerLeadListItemDto = instanceOfBuyerLeadListItemDto;
|
|
18
|
+
exports.BuyerLeadListItemDtoFromJSON = BuyerLeadListItemDtoFromJSON;
|
|
19
|
+
exports.BuyerLeadListItemDtoFromJSONTyped = BuyerLeadListItemDtoFromJSONTyped;
|
|
20
|
+
exports.BuyerLeadListItemDtoToJSON = BuyerLeadListItemDtoToJSON;
|
|
21
|
+
var BuyerLeadListItemDomainDto_1 = require("./BuyerLeadListItemDomainDto");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.BuyerLeadListItemDtoStatusEnum = {
|
|
27
|
+
UNVERIFIED: 'unverified',
|
|
28
|
+
ACTIVE: 'active',
|
|
29
|
+
ACCEPTED: 'accepted',
|
|
30
|
+
FINISHED: 'finished',
|
|
31
|
+
DELETED: 'deleted',
|
|
32
|
+
ARCHIVED: 'archived'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.BuyerLeadListItemDtoLastOfferByEnum = {
|
|
38
|
+
BUYER: 'buyer',
|
|
39
|
+
SELLER: 'seller',
|
|
40
|
+
ADMIN: 'admin'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfBuyerLeadListItemDto(value) {
|
|
46
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('lastOffer' in value) || value['lastOffer'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
function BuyerLeadListItemDtoFromJSON(json) {
|
|
61
|
+
return BuyerLeadListItemDtoFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function BuyerLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': json['id'],
|
|
69
|
+
'status': json['status'],
|
|
70
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
71
|
+
'lastOfferBy': json['lastOfferBy'],
|
|
72
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
73
|
+
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoFromJSON)(json['domain']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function BuyerLeadListItemDtoToJSON(value) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'id': value['id'],
|
|
82
|
+
'status': value['status'],
|
|
83
|
+
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
84
|
+
'lastOfferBy': value['lastOfferBy'],
|
|
85
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
86
|
+
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoToJSON)(value['domain']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 CreateBuyerLeadMessageInput
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBuyerLeadMessageInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBuyerLeadMessageInput
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateBuyerLeadMessageInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateBuyerLeadMessageInput(value: object): value is CreateBuyerLeadMessageInput;
|
|
29
|
+
export declare function CreateBuyerLeadMessageInputFromJSON(json: any): CreateBuyerLeadMessageInput;
|
|
30
|
+
export declare function CreateBuyerLeadMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBuyerLeadMessageInput;
|
|
31
|
+
export declare function CreateBuyerLeadMessageInputToJSON(value?: CreateBuyerLeadMessageInput | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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.instanceOfCreateBuyerLeadMessageInput = instanceOfCreateBuyerLeadMessageInput;
|
|
17
|
+
exports.CreateBuyerLeadMessageInputFromJSON = CreateBuyerLeadMessageInputFromJSON;
|
|
18
|
+
exports.CreateBuyerLeadMessageInputFromJSONTyped = CreateBuyerLeadMessageInputFromJSONTyped;
|
|
19
|
+
exports.CreateBuyerLeadMessageInputToJSON = CreateBuyerLeadMessageInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the CreateBuyerLeadMessageInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfCreateBuyerLeadMessageInput(value) {
|
|
24
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function CreateBuyerLeadMessageInputFromJSON(json) {
|
|
29
|
+
return CreateBuyerLeadMessageInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function CreateBuyerLeadMessageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function CreateBuyerLeadMessageInputToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { DomainTransferDetailsDtoAuthCode } from './DomainTransferDetailsDtoAuthCode';
|
|
13
12
|
import type { DomainTransferDetailsOrderDto } from './DomainTransferDetailsOrderDto';
|
|
14
13
|
import type { DomainTransferDetailsValidationDto } from './DomainTransferDetailsValidationDto';
|
|
15
14
|
import type { DomainTransferDetailWorkflowStepDto } from './DomainTransferDetailWorkflowStepDto';
|
|
15
|
+
import type { DomainTransferDetailsAuthCodeDto } from './DomainTransferDetailsAuthCodeDto';
|
|
16
16
|
import type { DomainTransferDetailsDomainDto } from './DomainTransferDetailsDomainDto';
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
@@ -51,11 +51,11 @@ export interface DomainTransferDetailsDto {
|
|
|
51
51
|
*/
|
|
52
52
|
status: DomainTransferDetailsDtoStatusEnum;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {
|
|
54
|
+
* The domain transfer auth code
|
|
55
|
+
* @type {DomainTransferDetailsAuthCodeDto}
|
|
56
56
|
* @memberof DomainTransferDetailsDto
|
|
57
57
|
*/
|
|
58
|
-
authCode:
|
|
58
|
+
authCode: DomainTransferDetailsAuthCodeDto | null;
|
|
59
59
|
/**
|
|
60
60
|
* The domain transfer validations
|
|
61
61
|
* @type {Array<DomainTransferDetailsValidationDto>}
|