@randock/nameshift-api-client 0.0.487 → 0.0.488
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 +10 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +23 -1
- package/dist/apis/AdminApi.js +77 -0
- package/dist/apis/BuyersApi.d.ts +33 -1
- package/dist/apis/BuyersApi.js +121 -0
- package/dist/apis/DomainAppraisalRequestsApi.d.ts +50 -0
- package/dist/apis/DomainAppraisalRequestsApi.js +217 -0
- package/dist/apis/DomainAppraisalRequestsPublicApi.d.ts +86 -0
- package/dist/apis/DomainAppraisalRequestsPublicApi.js +321 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.d.ts +118 -0
- package/dist/models/AdminDomainAppraisalRequestListItemDto.js +109 -0
- package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.d.ts +268 -0
- package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.js +237 -0
- package/dist/models/BuyerInvoiceDto.d.ts +2 -2
- package/dist/models/BuyerSessionDto.d.ts +6 -0
- package/dist/models/BuyerSessionDto.js +4 -0
- package/dist/models/CreateAccountPaymentInput.d.ts +1 -0
- package/dist/models/CreateAccountPaymentInput.js +2 -1
- package/dist/models/CreateBuyerDomainAppraisalRequestInput.d.ts +44 -0
- package/dist/models/CreateBuyerDomainAppraisalRequestInput.js +59 -0
- package/dist/models/DomainAppraisalRequestListItemDto.d.ts +82 -0
- package/dist/models/DomainAppraisalRequestListItemDto.js +85 -0
- package/dist/models/DomainAppraisalRequestStatus.d.ts +27 -0
- package/dist/models/DomainAppraisalRequestStatus.js +53 -0
- package/dist/models/DomainAppraisalRequester.d.ts +25 -0
- package/dist/models/DomainAppraisalRequester.js +51 -0
- package/dist/models/DomainSalesInformationDto.d.ts +6 -0
- package/dist/models/DomainSalesInformationDto.js +4 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/GetAdminDomainAppraisalRequests200Response.d.ts +47 -0
- package/dist/models/GetAdminDomainAppraisalRequests200Response.js +62 -0
- package/dist/models/GetBuyerDomainAppraisalRequests200Response.d.ts +47 -0
- package/dist/models/GetBuyerDomainAppraisalRequests200Response.js +62 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/InvoiceDto.d.ts +2 -2
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +82 -0
- package/src/apis/BuyersApi.ts +113 -0
- package/src/apis/DomainAppraisalRequestsApi.ts +157 -0
- package/src/apis/DomainAppraisalRequestsPublicApi.ts +271 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AdminDomainAppraisalRequestListItemDto.ts +209 -0
- package/src/models/BuyerDomainAppraisalRequestCheckoutDto.ts +411 -0
- package/src/models/BuyerInvoiceDto.ts +2 -2
- package/src/models/BuyerSessionDto.ts +9 -0
- package/src/models/CreateAccountPaymentInput.ts +2 -1
- package/src/models/CreateBuyerDomainAppraisalRequestInput.ts +84 -0
- package/src/models/DomainAppraisalRequestListItemDto.ts +155 -0
- package/src/models/DomainAppraisalRequestStatus.ts +55 -0
- package/src/models/DomainAppraisalRequester.ts +53 -0
- package/src/models/DomainSalesInformationDto.ts +9 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/GetAdminDomainAppraisalRequests200Response.ts +106 -0
- package/src/models/GetBuyerDomainAppraisalRequests200Response.ts +106 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/InvoiceDto.ts +2 -2
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { DomainAppraisalRequester } from './DomainAppraisalRequester';
|
|
13
|
+
import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdminDomainAppraisalRequestListItemDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AdminDomainAppraisalRequestListItemDto {
|
|
20
|
+
/**
|
|
21
|
+
* Domain appraisal request identifier.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Appraised domain identifier.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
30
|
+
*/
|
|
31
|
+
domainId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Appraised domain name (Unicode).
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
36
|
+
*/
|
|
37
|
+
domainName: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether a buyer or the seller of the domain requested it.
|
|
40
|
+
* @type {DomainAppraisalRequester}
|
|
41
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
42
|
+
*/
|
|
43
|
+
requester: DomainAppraisalRequester;
|
|
44
|
+
/**
|
|
45
|
+
* Domain appraisal request status.
|
|
46
|
+
* @type {DomainAppraisalRequestStatus}
|
|
47
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
48
|
+
*/
|
|
49
|
+
status: DomainAppraisalRequestStatus;
|
|
50
|
+
/**
|
|
51
|
+
* Appraised amount in EUR, once appraised.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
54
|
+
*/
|
|
55
|
+
appraisedAmountEur: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* When it was appraised.
|
|
58
|
+
* @type {Date}
|
|
59
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
60
|
+
*/
|
|
61
|
+
appraisedAt: Date | null;
|
|
62
|
+
/**
|
|
63
|
+
* When it was sent to be appraised, after payment.
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
66
|
+
*/
|
|
67
|
+
requestedAt: Date | null;
|
|
68
|
+
/**
|
|
69
|
+
* When it was created.
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
72
|
+
*/
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
/**
|
|
75
|
+
* Buyer that requested it, if a buyer did.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
78
|
+
*/
|
|
79
|
+
buyerId: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Email of the buyer that requested it, if a buyer did.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
84
|
+
*/
|
|
85
|
+
buyerEmail: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Account of the seller that requested it, if a seller did.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
90
|
+
*/
|
|
91
|
+
accountId: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Identifier of the account of the seller that requested it, if a seller did.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
96
|
+
*/
|
|
97
|
+
accountIdentifier: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Billing name of the account of the seller that requested it, if a seller did and it has billing information.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
102
|
+
*/
|
|
103
|
+
accountName: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Identifier of the domain appraisal request in the domain appraisals API.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof AdminDomainAppraisalRequestListItemDto
|
|
108
|
+
*/
|
|
109
|
+
externalId: string | null;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the AdminDomainAppraisalRequestListItemDto interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfAdminDomainAppraisalRequestListItemDto(value: object): value is AdminDomainAppraisalRequestListItemDto;
|
|
115
|
+
export declare function AdminDomainAppraisalRequestListItemDtoFromJSON(json: any): AdminDomainAppraisalRequestListItemDto;
|
|
116
|
+
export declare function AdminDomainAppraisalRequestListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminDomainAppraisalRequestListItemDto;
|
|
117
|
+
export declare function AdminDomainAppraisalRequestListItemDtoToJSON(json: any): AdminDomainAppraisalRequestListItemDto;
|
|
118
|
+
export declare function AdminDomainAppraisalRequestListItemDtoToJSONTyped(value?: AdminDomainAppraisalRequestListItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.instanceOfAdminDomainAppraisalRequestListItemDto = instanceOfAdminDomainAppraisalRequestListItemDto;
|
|
17
|
+
exports.AdminDomainAppraisalRequestListItemDtoFromJSON = AdminDomainAppraisalRequestListItemDtoFromJSON;
|
|
18
|
+
exports.AdminDomainAppraisalRequestListItemDtoFromJSONTyped = AdminDomainAppraisalRequestListItemDtoFromJSONTyped;
|
|
19
|
+
exports.AdminDomainAppraisalRequestListItemDtoToJSON = AdminDomainAppraisalRequestListItemDtoToJSON;
|
|
20
|
+
exports.AdminDomainAppraisalRequestListItemDtoToJSONTyped = AdminDomainAppraisalRequestListItemDtoToJSONTyped;
|
|
21
|
+
var DomainAppraisalRequester_1 = require("./DomainAppraisalRequester");
|
|
22
|
+
var DomainAppraisalRequestStatus_1 = require("./DomainAppraisalRequestStatus");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AdminDomainAppraisalRequestListItemDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAdminDomainAppraisalRequestListItemDto(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('domainId' in value) || value['domainId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('requester' in value) || value['requester'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('appraisedAt' in value) || value['appraisedAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('requestedAt' in value) || value['requestedAt'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('buyerId' in value) || value['buyerId'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('accountIdentifier' in value) || value['accountIdentifier'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('accountName' in value) || value['accountName'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('externalId' in value) || value['externalId'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
function AdminDomainAppraisalRequestListItemDtoFromJSON(json) {
|
|
60
|
+
return AdminDomainAppraisalRequestListItemDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AdminDomainAppraisalRequestListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': json['id'],
|
|
68
|
+
'domainId': json['domainId'],
|
|
69
|
+
'domainName': json['domainName'],
|
|
70
|
+
'requester': (0, DomainAppraisalRequester_1.DomainAppraisalRequesterFromJSON)(json['requester']),
|
|
71
|
+
'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusFromJSON)(json['status']),
|
|
72
|
+
'appraisedAmountEur': json['appraisedAmountEur'],
|
|
73
|
+
'appraisedAt': (json['appraisedAt'] == null ? null : new Date(json['appraisedAt'])),
|
|
74
|
+
'requestedAt': (json['requestedAt'] == null ? null : new Date(json['requestedAt'])),
|
|
75
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
76
|
+
'buyerId': json['buyerId'],
|
|
77
|
+
'buyerEmail': json['buyerEmail'],
|
|
78
|
+
'accountId': json['accountId'],
|
|
79
|
+
'accountIdentifier': json['accountIdentifier'],
|
|
80
|
+
'accountName': json['accountName'],
|
|
81
|
+
'externalId': json['externalId'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function AdminDomainAppraisalRequestListItemDtoToJSON(json) {
|
|
85
|
+
return AdminDomainAppraisalRequestListItemDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
function AdminDomainAppraisalRequestListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
88
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
'id': value['id'],
|
|
94
|
+
'domainId': value['domainId'],
|
|
95
|
+
'domainName': value['domainName'],
|
|
96
|
+
'requester': (0, DomainAppraisalRequester_1.DomainAppraisalRequesterToJSON)(value['requester']),
|
|
97
|
+
'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusToJSON)(value['status']),
|
|
98
|
+
'appraisedAmountEur': value['appraisedAmountEur'],
|
|
99
|
+
'appraisedAt': (value['appraisedAt'] == null ? null : value['appraisedAt'].toISOString()),
|
|
100
|
+
'requestedAt': (value['requestedAt'] == null ? null : value['requestedAt'].toISOString()),
|
|
101
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
102
|
+
'buyerId': value['buyerId'],
|
|
103
|
+
'buyerEmail': value['buyerEmail'],
|
|
104
|
+
'accountId': value['accountId'],
|
|
105
|
+
'accountIdentifier': value['accountIdentifier'],
|
|
106
|
+
'accountName': value['accountName'],
|
|
107
|
+
'externalId': value['externalId'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { InvoiceItemDto } from './InvoiceItemDto';
|
|
13
|
+
import type { InvoiceTransactionDto } from './InvoiceTransactionDto';
|
|
14
|
+
import type { MoneyDto } from './MoneyDto';
|
|
15
|
+
import type { OrderCompanyInfoDto } from './OrderCompanyInfoDto';
|
|
16
|
+
import type { AddressDto } from './AddressDto';
|
|
17
|
+
import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BuyerDomainAppraisalRequestCheckoutDto
|
|
22
|
+
*/
|
|
23
|
+
export interface BuyerDomainAppraisalRequestCheckoutDto {
|
|
24
|
+
/**
|
|
25
|
+
* Domain appraisal request identifier.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Domain appraisal request status.
|
|
32
|
+
* @type {DomainAppraisalRequestStatus}
|
|
33
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
34
|
+
*/
|
|
35
|
+
domainAppraisalRequestStatus: DomainAppraisalRequestStatus;
|
|
36
|
+
/**
|
|
37
|
+
* Appraised domain name (Unicode).
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
40
|
+
*/
|
|
41
|
+
domainName: string;
|
|
42
|
+
/**
|
|
43
|
+
* Buyer invoice status.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
46
|
+
*/
|
|
47
|
+
status: BuyerDomainAppraisalRequestCheckoutDtoStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Domain appraisal base price.
|
|
50
|
+
* @type {MoneyDto}
|
|
51
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
52
|
+
*/
|
|
53
|
+
basePrice: MoneyDto;
|
|
54
|
+
/**
|
|
55
|
+
* Domain appraisal total price including tax.
|
|
56
|
+
* @type {MoneyDto}
|
|
57
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
58
|
+
*/
|
|
59
|
+
totalPrice: MoneyDto;
|
|
60
|
+
/**
|
|
61
|
+
* Total tax amount.
|
|
62
|
+
* @type {MoneyDto}
|
|
63
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
64
|
+
*/
|
|
65
|
+
totalTaxPrice: MoneyDto;
|
|
66
|
+
/**
|
|
67
|
+
* Invoice line items.
|
|
68
|
+
* @type {Array<InvoiceItemDto>}
|
|
69
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
70
|
+
*/
|
|
71
|
+
items: Array<InvoiceItemDto>;
|
|
72
|
+
/**
|
|
73
|
+
* Buyer first name.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
76
|
+
*/
|
|
77
|
+
firstName: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Buyer last name.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
82
|
+
*/
|
|
83
|
+
lastName: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Buyer email address.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
88
|
+
*/
|
|
89
|
+
email: string;
|
|
90
|
+
/**
|
|
91
|
+
* Buyer phone number.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
94
|
+
*/
|
|
95
|
+
phone: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Buyer address.
|
|
98
|
+
* @type {AddressDto}
|
|
99
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
100
|
+
*/
|
|
101
|
+
address: AddressDto | null;
|
|
102
|
+
/**
|
|
103
|
+
* Buyer locale (e.g. en, nl).
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
106
|
+
*/
|
|
107
|
+
locale: string;
|
|
108
|
+
/**
|
|
109
|
+
* Buyer company information.
|
|
110
|
+
* @type {OrderCompanyInfoDto}
|
|
111
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
112
|
+
*/
|
|
113
|
+
companyInfo: OrderCompanyInfoDto | null;
|
|
114
|
+
/**
|
|
115
|
+
* Self-declared tax country code (ISO 3166-1 alpha-2).
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
118
|
+
*/
|
|
119
|
+
selfDeclaredTaxCountry: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Decided tax country code (ISO 3166-1 alpha-2).
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
124
|
+
*/
|
|
125
|
+
decidedCountry: string;
|
|
126
|
+
/**
|
|
127
|
+
* Active invoice transaction, if any.
|
|
128
|
+
* @type {InvoiceTransactionDto}
|
|
129
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
130
|
+
*/
|
|
131
|
+
transaction: InvoiceTransactionDto | null;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the buyer invoice has a pending transaction.
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
136
|
+
*/
|
|
137
|
+
hasPendingTransaction: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Enabled payment modes for this domain appraisal request.
|
|
140
|
+
* @type {Array<string>}
|
|
141
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
142
|
+
*/
|
|
143
|
+
enabledPaymentMethods: Array<BuyerDomainAppraisalRequestCheckoutDtoEnabledPaymentMethodsEnum>;
|
|
144
|
+
/**
|
|
145
|
+
* Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
|
|
146
|
+
* @type {{ [key: string]: any; }}
|
|
147
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
148
|
+
*/
|
|
149
|
+
availablePaymentMethods: {
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Selected payment method on the active transaction (canonical)
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
156
|
+
*/
|
|
157
|
+
selectedPaymentMethod: BuyerDomainAppraisalRequestCheckoutDtoSelectedPaymentMethodEnum | null;
|
|
158
|
+
/**
|
|
159
|
+
* When the cached availablePaymentMethods expire. After this time, PATCH with forceUpdatePaymentMethods=true then GET again to refresh them.
|
|
160
|
+
* @type {Date}
|
|
161
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
162
|
+
*/
|
|
163
|
+
availablePaymentMethodsExpiresAt: Date | null;
|
|
164
|
+
/**
|
|
165
|
+
* Whether the buyer invoice can be issued as proforma.
|
|
166
|
+
* @type {boolean}
|
|
167
|
+
* @memberof BuyerDomainAppraisalRequestCheckoutDto
|
|
168
|
+
*/
|
|
169
|
+
canBeProforma: boolean;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @export
|
|
173
|
+
*/
|
|
174
|
+
export declare const BuyerDomainAppraisalRequestCheckoutDtoStatusEnum: {
|
|
175
|
+
readonly DRAFT: "draft";
|
|
176
|
+
readonly PENDING_PAYMENT: "pending_payment";
|
|
177
|
+
readonly PAID: "paid";
|
|
178
|
+
readonly CANCELLED: "cancelled";
|
|
179
|
+
};
|
|
180
|
+
export type BuyerDomainAppraisalRequestCheckoutDtoStatusEnum = typeof BuyerDomainAppraisalRequestCheckoutDtoStatusEnum[keyof typeof BuyerDomainAppraisalRequestCheckoutDtoStatusEnum];
|
|
181
|
+
/**
|
|
182
|
+
* @export
|
|
183
|
+
*/
|
|
184
|
+
export declare const BuyerDomainAppraisalRequestCheckoutDtoEnabledPaymentMethodsEnum: {
|
|
185
|
+
readonly COMMON: "common";
|
|
186
|
+
readonly CRYPTO: "crypto";
|
|
187
|
+
};
|
|
188
|
+
export type BuyerDomainAppraisalRequestCheckoutDtoEnabledPaymentMethodsEnum = typeof BuyerDomainAppraisalRequestCheckoutDtoEnabledPaymentMethodsEnum[keyof typeof BuyerDomainAppraisalRequestCheckoutDtoEnabledPaymentMethodsEnum];
|
|
189
|
+
/**
|
|
190
|
+
* @export
|
|
191
|
+
*/
|
|
192
|
+
export declare const BuyerDomainAppraisalRequestCheckoutDtoSelectedPaymentMethodEnum: {
|
|
193
|
+
readonly ACSS_DEBIT: "acss_debit";
|
|
194
|
+
readonly AFFIRM: "affirm";
|
|
195
|
+
readonly AFTERPAY_CLEARPAY: "afterpay_clearpay";
|
|
196
|
+
readonly ALIPAY: "alipay";
|
|
197
|
+
readonly ALMA: "alma";
|
|
198
|
+
readonly AMAZON_PAY: "amazon_pay";
|
|
199
|
+
readonly APPLE_PAY: "apple_pay";
|
|
200
|
+
readonly AU_BECS_DEBIT: "au_becs_debit";
|
|
201
|
+
readonly BACS_DEBIT: "bacs_debit";
|
|
202
|
+
readonly BANCOMAT_PAY: "bancomat_pay";
|
|
203
|
+
readonly BANCONTACT: "bancontact";
|
|
204
|
+
readonly BELFIUS: "belfius";
|
|
205
|
+
readonly BILLIE: "billie";
|
|
206
|
+
readonly BLIK: "blik";
|
|
207
|
+
readonly BOLETO: "boleto";
|
|
208
|
+
readonly BANK_TRANSFER: "bank_transfer";
|
|
209
|
+
readonly CARD: "card";
|
|
210
|
+
readonly CARD_PRESENT: "card_present";
|
|
211
|
+
readonly CASHAPP: "cashapp";
|
|
212
|
+
readonly CUSTOMER_BALANCE: "customer_balance";
|
|
213
|
+
readonly EPS: "eps";
|
|
214
|
+
readonly FPX: "fpx";
|
|
215
|
+
readonly GIFTCARD: "giftcard";
|
|
216
|
+
readonly GIROPAY: "giropay";
|
|
217
|
+
readonly GOOGLE_PAY: "google_pay";
|
|
218
|
+
readonly GOPAY: "gopay";
|
|
219
|
+
readonly GRABPAY: "grabpay";
|
|
220
|
+
readonly ID_BANK_TRANSFER: "id_bank_transfer";
|
|
221
|
+
readonly IDEAL: "ideal";
|
|
222
|
+
readonly IN3: "in3";
|
|
223
|
+
readonly INTERAC_PRESENT: "interac_present";
|
|
224
|
+
readonly KAKAO_PAY: "kakao_pay";
|
|
225
|
+
readonly KBC: "kbc";
|
|
226
|
+
readonly KLARNA: "klarna";
|
|
227
|
+
readonly KONBINI: "konbini";
|
|
228
|
+
readonly KR_CARD: "kr_card";
|
|
229
|
+
readonly LINK: "link";
|
|
230
|
+
readonly MB_WAY: "mb_way";
|
|
231
|
+
readonly MOBILEPAY: "mobilepay";
|
|
232
|
+
readonly MULTIBANCO: "multibanco";
|
|
233
|
+
readonly NAVER_PAY: "naver_pay";
|
|
234
|
+
readonly NZ_BANK_ACCOUNT: "nz_bank_account";
|
|
235
|
+
readonly OXXO: "oxxo";
|
|
236
|
+
readonly PAY_BY_BANK: "pay_by_bank";
|
|
237
|
+
readonly PAYCO: "payco";
|
|
238
|
+
readonly PAYNOW: "paynow";
|
|
239
|
+
readonly PAYPAL: "paypal";
|
|
240
|
+
readonly PAYTO: "payto";
|
|
241
|
+
readonly PIX: "pix";
|
|
242
|
+
readonly PROMPTPAY: "promptpay";
|
|
243
|
+
readonly PRZELEWY24: "przelewy24";
|
|
244
|
+
readonly QRIS: "qris";
|
|
245
|
+
readonly RECHNUNG: "rechnung";
|
|
246
|
+
readonly REVOLUT_PAY: "revolut_pay";
|
|
247
|
+
readonly SAMSUNG_PAY: "samsung_pay";
|
|
248
|
+
readonly SATISPAY: "satispay";
|
|
249
|
+
readonly SEPA_DEBIT: "sepa_debit";
|
|
250
|
+
readonly SHOPEEPAY: "shopeepay";
|
|
251
|
+
readonly SOFORT: "sofort";
|
|
252
|
+
readonly STRIPE_BALANCE: "stripe_balance";
|
|
253
|
+
readonly SWISH: "swish";
|
|
254
|
+
readonly TWINT: "twint";
|
|
255
|
+
readonly US_BANK_ACCOUNT: "us_bank_account";
|
|
256
|
+
readonly VOUCHER: "voucher";
|
|
257
|
+
readonly WECHAT_PAY: "wechat_pay";
|
|
258
|
+
readonly ZIP: "zip";
|
|
259
|
+
};
|
|
260
|
+
export type BuyerDomainAppraisalRequestCheckoutDtoSelectedPaymentMethodEnum = typeof BuyerDomainAppraisalRequestCheckoutDtoSelectedPaymentMethodEnum[keyof typeof BuyerDomainAppraisalRequestCheckoutDtoSelectedPaymentMethodEnum];
|
|
261
|
+
/**
|
|
262
|
+
* Check if a given object implements the BuyerDomainAppraisalRequestCheckoutDto interface.
|
|
263
|
+
*/
|
|
264
|
+
export declare function instanceOfBuyerDomainAppraisalRequestCheckoutDto(value: object): value is BuyerDomainAppraisalRequestCheckoutDto;
|
|
265
|
+
export declare function BuyerDomainAppraisalRequestCheckoutDtoFromJSON(json: any): BuyerDomainAppraisalRequestCheckoutDto;
|
|
266
|
+
export declare function BuyerDomainAppraisalRequestCheckoutDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerDomainAppraisalRequestCheckoutDto;
|
|
267
|
+
export declare function BuyerDomainAppraisalRequestCheckoutDtoToJSON(json: any): BuyerDomainAppraisalRequestCheckoutDto;
|
|
268
|
+
export declare function BuyerDomainAppraisalRequestCheckoutDtoToJSONTyped(value?: BuyerDomainAppraisalRequestCheckoutDto | null, ignoreDiscriminator?: boolean): any;
|