@randock/nameshift-api-client 0.0.88 → 0.0.89
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 +6 -10
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +50 -1
- package/dist/apis/BuyersApi.js +230 -0
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- 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 +3 -3
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +7 -7
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +6 -6
- package/dist/models/LeadMessageDto.d.ts +22 -10
- package/dist/models/LeadMessageDto.js +14 -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/SellerDomainTransferDto.d.ts +4 -4
- package/dist/models/SellerDomainTransferDto.js +3 -3
- package/dist/models/index.d.ts +6 -10
- package/dist/models/index.js +6 -10
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +228 -0
- package/src/apis/LeadsApi.ts +58 -0
- 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 +9 -9
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +19 -19
- package/src/models/LeadMessageDto.ts +37 -19
- package/src/models/OrderListItemDto.ts +11 -11
- package/src/models/PublicLeadDto.ts +10 -10
- package/src/models/SellerDomainTransferDto.ts +10 -10
- package/src/models/index.ts +6 -10
- 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/DomainTransferDtoAgent.js +0 -50
- 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/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/OrderListItemDtoBasePrice.ts +0 -70
- package/src/models/PublicLeadDtoLastOffer.ts +0 -70
- package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -70
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { MoneyDto } from './MoneyDto';
|
|
17
|
-
import {
|
|
18
|
-
MoneyDtoFromJSON,
|
|
19
|
-
MoneyDtoFromJSONTyped,
|
|
20
|
-
MoneyDtoToJSON,
|
|
21
|
-
} from './MoneyDto';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* The data
|
|
25
|
-
* @export
|
|
26
|
-
* @interface IntersectionLeadDtoWithListFieldsDtoLastMessageData
|
|
27
|
-
*/
|
|
28
|
-
export interface IntersectionLeadDtoWithListFieldsDtoLastMessageData {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {MoneyDto}
|
|
32
|
-
* @memberof IntersectionLeadDtoWithListFieldsDtoLastMessageData
|
|
33
|
-
*/
|
|
34
|
-
price: MoneyDto;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastMessageData interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value: object): value is IntersectionLeadDtoWithListFieldsDtoLastMessageData {
|
|
41
|
-
if (!('price' in value) || value['price'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON(json: any): IntersectionLeadDtoWithListFieldsDtoLastMessageData {
|
|
46
|
-
return IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithListFieldsDtoLastMessageData {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'price': MoneyDtoFromJSON(json['price']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON(value?: IntersectionLeadDtoWithListFieldsDtoLastMessageData | null): any {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'price': MoneyDtoToJSON(value['price']),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IntersectionLeadDtoWithListFieldsDtoLastOffer
|
|
20
|
-
*/
|
|
21
|
-
export interface IntersectionLeadDtoWithListFieldsDtoLastOffer {
|
|
22
|
-
/**
|
|
23
|
-
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof IntersectionLeadDtoWithListFieldsDtoLastOffer
|
|
26
|
-
*/
|
|
27
|
-
amount: number;
|
|
28
|
-
/**
|
|
29
|
-
* Three letter ISO currency code
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IntersectionLeadDtoWithListFieldsDtoLastOffer
|
|
32
|
-
*/
|
|
33
|
-
currencyCode: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastOffer interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer(value: object): value is IntersectionLeadDtoWithListFieldsDtoLastOffer {
|
|
40
|
-
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
-
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON(json: any): IntersectionLeadDtoWithListFieldsDtoLastOffer {
|
|
46
|
-
return IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithListFieldsDtoLastOffer {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'amount': json['amount'],
|
|
56
|
-
'currencyCode': json['currencyCode'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON(value?: IntersectionLeadDtoWithListFieldsDtoLastOffer | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'amount': value['amount'],
|
|
67
|
-
'currencyCode': value['currencyCode'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { MoneyDto } from './MoneyDto';
|
|
17
|
-
import {
|
|
18
|
-
MoneyDtoFromJSON,
|
|
19
|
-
MoneyDtoFromJSONTyped,
|
|
20
|
-
MoneyDtoToJSON,
|
|
21
|
-
} from './MoneyDto';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Optional data *
|
|
25
|
-
* @export
|
|
26
|
-
* @interface LeadMessageDtoData
|
|
27
|
-
*/
|
|
28
|
-
export interface LeadMessageDtoData {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {MoneyDto}
|
|
32
|
-
* @memberof LeadMessageDtoData
|
|
33
|
-
*/
|
|
34
|
-
price: MoneyDto;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the LeadMessageDtoData interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfLeadMessageDtoData(value: object): value is LeadMessageDtoData {
|
|
41
|
-
if (!('price' in value) || value['price'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function LeadMessageDtoDataFromJSON(json: any): LeadMessageDtoData {
|
|
46
|
-
return LeadMessageDtoDataFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function LeadMessageDtoDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageDtoData {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'price': MoneyDtoFromJSON(json['price']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function LeadMessageDtoDataToJSON(value?: LeadMessageDtoData | null): any {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'price': MoneyDtoToJSON(value['price']),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* The order base price
|
|
18
|
-
* @export
|
|
19
|
-
* @interface OrderListItemDtoBasePrice
|
|
20
|
-
*/
|
|
21
|
-
export interface OrderListItemDtoBasePrice {
|
|
22
|
-
/**
|
|
23
|
-
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof OrderListItemDtoBasePrice
|
|
26
|
-
*/
|
|
27
|
-
amount: number;
|
|
28
|
-
/**
|
|
29
|
-
* Three letter ISO currency code
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof OrderListItemDtoBasePrice
|
|
32
|
-
*/
|
|
33
|
-
currencyCode: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the OrderListItemDtoBasePrice interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfOrderListItemDtoBasePrice(value: object): value is OrderListItemDtoBasePrice {
|
|
40
|
-
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
-
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function OrderListItemDtoBasePriceFromJSON(json: any): OrderListItemDtoBasePrice {
|
|
46
|
-
return OrderListItemDtoBasePriceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function OrderListItemDtoBasePriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderListItemDtoBasePrice {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'amount': json['amount'],
|
|
56
|
-
'currencyCode': json['currencyCode'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function OrderListItemDtoBasePriceToJSON(value?: OrderListItemDtoBasePrice | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'amount': value['amount'],
|
|
67
|
-
'currencyCode': value['currencyCode'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* The last offer price
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PublicLeadDtoLastOffer
|
|
20
|
-
*/
|
|
21
|
-
export interface PublicLeadDtoLastOffer {
|
|
22
|
-
/**
|
|
23
|
-
* Monetary amount, represented as an integer without scale/decimals.
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof PublicLeadDtoLastOffer
|
|
26
|
-
*/
|
|
27
|
-
amount: number;
|
|
28
|
-
/**
|
|
29
|
-
* Three letter ISO currency code
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PublicLeadDtoLastOffer
|
|
32
|
-
*/
|
|
33
|
-
currencyCode: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PublicLeadDtoLastOffer interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPublicLeadDtoLastOffer(value: object): value is PublicLeadDtoLastOffer {
|
|
40
|
-
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
-
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function PublicLeadDtoLastOfferFromJSON(json: any): PublicLeadDtoLastOffer {
|
|
46
|
-
return PublicLeadDtoLastOfferFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PublicLeadDtoLastOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicLeadDtoLastOffer {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'amount': json['amount'],
|
|
56
|
-
'currencyCode': json['currencyCode'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PublicLeadDtoLastOfferToJSON(value?: PublicLeadDtoLastOffer | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'amount': value['amount'],
|
|
67
|
-
'currencyCode': value['currencyCode'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* The domain transfer auth code
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SellerDomainTransferDtoAuthCode
|
|
20
|
-
*/
|
|
21
|
-
export interface SellerDomainTransferDtoAuthCode {
|
|
22
|
-
/**
|
|
23
|
-
* The domain transfer auth code value
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SellerDomainTransferDtoAuthCode
|
|
26
|
-
*/
|
|
27
|
-
value: string;
|
|
28
|
-
/**
|
|
29
|
-
* The domain transfer auth code expiry date
|
|
30
|
-
* @type {Date}
|
|
31
|
-
* @memberof SellerDomainTransferDtoAuthCode
|
|
32
|
-
*/
|
|
33
|
-
updatedAt: Date;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the SellerDomainTransferDtoAuthCode interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfSellerDomainTransferDtoAuthCode(value: object): value is SellerDomainTransferDtoAuthCode {
|
|
40
|
-
if (!('value' in value) || value['value'] === undefined) return false;
|
|
41
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function SellerDomainTransferDtoAuthCodeFromJSON(json: any): SellerDomainTransferDtoAuthCode {
|
|
46
|
-
return SellerDomainTransferDtoAuthCodeFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function SellerDomainTransferDtoAuthCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferDtoAuthCode {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'value': json['value'],
|
|
56
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function SellerDomainTransferDtoAuthCodeToJSON(value?: SellerDomainTransferDtoAuthCode | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'value': value['value'],
|
|
67
|
-
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|