@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.
Files changed (87) hide show
  1. package/.openapi-generator/FILES +6 -10
  2. package/README.md +3 -3
  3. package/dist/apis/BuyersApi.d.ts +50 -1
  4. package/dist/apis/BuyersApi.js +230 -0
  5. package/dist/apis/LeadsApi.d.ts +13 -1
  6. package/dist/apis/LeadsApi.js +56 -0
  7. package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +31 -0
  8. package/dist/models/BatchReadBuyerLeadMessageInput.js +46 -0
  9. package/dist/models/BatchReadSellerLeadMessageInput.d.ts +31 -0
  10. package/dist/models/BatchReadSellerLeadMessageInput.js +46 -0
  11. package/dist/models/BuyerLeadListItemDomainDto.d.ts +43 -0
  12. package/dist/models/BuyerLeadListItemDomainDto.js +54 -0
  13. package/dist/models/BuyerLeadListItemDto.d.ts +84 -0
  14. package/dist/models/BuyerLeadListItemDto.js +88 -0
  15. package/dist/models/CreateBuyerLeadMessageInput.d.ts +31 -0
  16. package/dist/models/CreateBuyerLeadMessageInput.js +46 -0
  17. package/dist/models/DomainTransferDetailsDto.d.ts +4 -4
  18. package/dist/models/DomainTransferDetailsDto.js +3 -3
  19. package/dist/models/DomainTransferDto.d.ts +4 -4
  20. package/dist/models/DomainTransferDto.js +3 -3
  21. package/dist/models/GetBuyerLeads200Response.d.ts +46 -0
  22. package/dist/models/GetBuyerLeads200Response.js +57 -0
  23. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -8
  24. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -6
  25. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +3 -3
  26. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
  27. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +7 -7
  28. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +6 -6
  29. package/dist/models/LeadMessageDto.d.ts +22 -10
  30. package/dist/models/LeadMessageDto.js +14 -6
  31. package/dist/models/OrderListItemDto.d.ts +4 -4
  32. package/dist/models/OrderListItemDto.js +3 -3
  33. package/dist/models/PublicLeadDto.d.ts +4 -4
  34. package/dist/models/PublicLeadDto.js +3 -3
  35. package/dist/models/SellerDomainTransferDto.d.ts +4 -4
  36. package/dist/models/SellerDomainTransferDto.js +3 -3
  37. package/dist/models/index.d.ts +6 -10
  38. package/dist/models/index.js +6 -10
  39. package/package.json +1 -1
  40. package/src/apis/BuyersApi.ts +228 -0
  41. package/src/apis/LeadsApi.ts +58 -0
  42. package/src/models/BatchReadBuyerLeadMessageInput.ts +61 -0
  43. package/src/models/BatchReadSellerLeadMessageInput.ts +61 -0
  44. package/src/models/BuyerLeadListItemDomainDto.ts +79 -0
  45. package/src/models/BuyerLeadListItemDto.ts +144 -0
  46. package/src/models/CreateBuyerLeadMessageInput.ts +61 -0
  47. package/src/models/DomainTransferDetailsDto.ts +11 -11
  48. package/src/models/DomainTransferDto.ts +10 -10
  49. package/src/models/GetBuyerLeads200Response.ts +98 -0
  50. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +15 -21
  51. package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +9 -9
  52. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +19 -19
  53. package/src/models/LeadMessageDto.ts +37 -19
  54. package/src/models/OrderListItemDto.ts +11 -11
  55. package/src/models/PublicLeadDto.ts +10 -10
  56. package/src/models/SellerDomainTransferDto.ts +10 -10
  57. package/src/models/index.ts +6 -10
  58. package/dist/models/DomainTransferDetailsDtoAuthCode.d.ts +0 -37
  59. package/dist/models/DomainTransferDetailsDtoAuthCode.js +0 -50
  60. package/dist/models/DomainTransferDtoAgent.d.ts +0 -37
  61. package/dist/models/DomainTransferDtoAgent.js +0 -50
  62. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +0 -37
  63. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +0 -50
  64. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +0 -37
  65. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +0 -50
  66. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +0 -32
  67. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +0 -47
  68. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +0 -37
  69. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +0 -50
  70. package/dist/models/LeadMessageDtoData.d.ts +0 -32
  71. package/dist/models/LeadMessageDtoData.js +0 -47
  72. package/dist/models/OrderListItemDtoBasePrice.d.ts +0 -37
  73. package/dist/models/OrderListItemDtoBasePrice.js +0 -50
  74. package/dist/models/PublicLeadDtoLastOffer.d.ts +0 -37
  75. package/dist/models/PublicLeadDtoLastOffer.js +0 -50
  76. package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +0 -37
  77. package/dist/models/SellerDomainTransferDtoAuthCode.js +0 -50
  78. package/src/models/DomainTransferDetailsDtoAuthCode.ts +0 -70
  79. package/src/models/DomainTransferDtoAgent.ts +0 -70
  80. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +0 -70
  81. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +0 -70
  82. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +0 -68
  83. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +0 -70
  84. package/src/models/LeadMessageDtoData.ts +0 -68
  85. package/src/models/OrderListItemDtoBasePrice.ts +0 -70
  86. package/src/models/PublicLeadDtoLastOffer.ts +0 -70
  87. package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -70
@@ -1,50 +0,0 @@
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.instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer = instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer;
17
- exports.IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON = IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON;
18
- exports.IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped;
19
- exports.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON = IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON;
20
- /**
21
- * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastOffer interface.
22
- */
23
- function instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer(value) {
24
- if (!('amount' in value) || value['amount'] === undefined)
25
- return false;
26
- if (!('currencyCode' in value) || value['currencyCode'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON(json) {
31
- return IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped(json, false);
32
- }
33
- function IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'amount': json['amount'],
39
- 'currencyCode': json['currencyCode'],
40
- };
41
- }
42
- function IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'amount': value['amount'],
48
- 'currencyCode': value['currencyCode'],
49
- };
50
- }
@@ -1,32 +0,0 @@
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 { MoneyDto } from './MoneyDto';
13
- /**
14
- * Optional data *
15
- * @export
16
- * @interface LeadMessageDtoData
17
- */
18
- export interface LeadMessageDtoData {
19
- /**
20
- *
21
- * @type {MoneyDto}
22
- * @memberof LeadMessageDtoData
23
- */
24
- price: MoneyDto;
25
- }
26
- /**
27
- * Check if a given object implements the LeadMessageDtoData interface.
28
- */
29
- export declare function instanceOfLeadMessageDtoData(value: object): value is LeadMessageDtoData;
30
- export declare function LeadMessageDtoDataFromJSON(json: any): LeadMessageDtoData;
31
- export declare function LeadMessageDtoDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageDtoData;
32
- export declare function LeadMessageDtoDataToJSON(value?: LeadMessageDtoData | null): any;
@@ -1,47 +0,0 @@
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.instanceOfLeadMessageDtoData = instanceOfLeadMessageDtoData;
17
- exports.LeadMessageDtoDataFromJSON = LeadMessageDtoDataFromJSON;
18
- exports.LeadMessageDtoDataFromJSONTyped = LeadMessageDtoDataFromJSONTyped;
19
- exports.LeadMessageDtoDataToJSON = LeadMessageDtoDataToJSON;
20
- var MoneyDto_1 = require("./MoneyDto");
21
- /**
22
- * Check if a given object implements the LeadMessageDtoData interface.
23
- */
24
- function instanceOfLeadMessageDtoData(value) {
25
- if (!('price' in value) || value['price'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function LeadMessageDtoDataFromJSON(json) {
30
- return LeadMessageDtoDataFromJSONTyped(json, false);
31
- }
32
- function LeadMessageDtoDataFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
38
- };
39
- }
40
- function LeadMessageDtoDataToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
46
- };
47
- }
@@ -1,37 +0,0 @@
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
- * The order base price
14
- * @export
15
- * @interface OrderListItemDtoBasePrice
16
- */
17
- export interface OrderListItemDtoBasePrice {
18
- /**
19
- * Monetary amount, represented as an integer without scale/decimals.
20
- * @type {number}
21
- * @memberof OrderListItemDtoBasePrice
22
- */
23
- amount: number;
24
- /**
25
- * Three letter ISO currency code
26
- * @type {string}
27
- * @memberof OrderListItemDtoBasePrice
28
- */
29
- currencyCode: string;
30
- }
31
- /**
32
- * Check if a given object implements the OrderListItemDtoBasePrice interface.
33
- */
34
- export declare function instanceOfOrderListItemDtoBasePrice(value: object): value is OrderListItemDtoBasePrice;
35
- export declare function OrderListItemDtoBasePriceFromJSON(json: any): OrderListItemDtoBasePrice;
36
- export declare function OrderListItemDtoBasePriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderListItemDtoBasePrice;
37
- export declare function OrderListItemDtoBasePriceToJSON(value?: OrderListItemDtoBasePrice | null): any;
@@ -1,50 +0,0 @@
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.instanceOfOrderListItemDtoBasePrice = instanceOfOrderListItemDtoBasePrice;
17
- exports.OrderListItemDtoBasePriceFromJSON = OrderListItemDtoBasePriceFromJSON;
18
- exports.OrderListItemDtoBasePriceFromJSONTyped = OrderListItemDtoBasePriceFromJSONTyped;
19
- exports.OrderListItemDtoBasePriceToJSON = OrderListItemDtoBasePriceToJSON;
20
- /**
21
- * Check if a given object implements the OrderListItemDtoBasePrice interface.
22
- */
23
- function instanceOfOrderListItemDtoBasePrice(value) {
24
- if (!('amount' in value) || value['amount'] === undefined)
25
- return false;
26
- if (!('currencyCode' in value) || value['currencyCode'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function OrderListItemDtoBasePriceFromJSON(json) {
31
- return OrderListItemDtoBasePriceFromJSONTyped(json, false);
32
- }
33
- function OrderListItemDtoBasePriceFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'amount': json['amount'],
39
- 'currencyCode': json['currencyCode'],
40
- };
41
- }
42
- function OrderListItemDtoBasePriceToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'amount': value['amount'],
48
- 'currencyCode': value['currencyCode'],
49
- };
50
- }
@@ -1,37 +0,0 @@
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
- * The last offer price
14
- * @export
15
- * @interface PublicLeadDtoLastOffer
16
- */
17
- export interface PublicLeadDtoLastOffer {
18
- /**
19
- * Monetary amount, represented as an integer without scale/decimals.
20
- * @type {number}
21
- * @memberof PublicLeadDtoLastOffer
22
- */
23
- amount: number;
24
- /**
25
- * Three letter ISO currency code
26
- * @type {string}
27
- * @memberof PublicLeadDtoLastOffer
28
- */
29
- currencyCode: string;
30
- }
31
- /**
32
- * Check if a given object implements the PublicLeadDtoLastOffer interface.
33
- */
34
- export declare function instanceOfPublicLeadDtoLastOffer(value: object): value is PublicLeadDtoLastOffer;
35
- export declare function PublicLeadDtoLastOfferFromJSON(json: any): PublicLeadDtoLastOffer;
36
- export declare function PublicLeadDtoLastOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicLeadDtoLastOffer;
37
- export declare function PublicLeadDtoLastOfferToJSON(value?: PublicLeadDtoLastOffer | null): any;
@@ -1,50 +0,0 @@
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.instanceOfPublicLeadDtoLastOffer = instanceOfPublicLeadDtoLastOffer;
17
- exports.PublicLeadDtoLastOfferFromJSON = PublicLeadDtoLastOfferFromJSON;
18
- exports.PublicLeadDtoLastOfferFromJSONTyped = PublicLeadDtoLastOfferFromJSONTyped;
19
- exports.PublicLeadDtoLastOfferToJSON = PublicLeadDtoLastOfferToJSON;
20
- /**
21
- * Check if a given object implements the PublicLeadDtoLastOffer interface.
22
- */
23
- function instanceOfPublicLeadDtoLastOffer(value) {
24
- if (!('amount' in value) || value['amount'] === undefined)
25
- return false;
26
- if (!('currencyCode' in value) || value['currencyCode'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function PublicLeadDtoLastOfferFromJSON(json) {
31
- return PublicLeadDtoLastOfferFromJSONTyped(json, false);
32
- }
33
- function PublicLeadDtoLastOfferFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'amount': json['amount'],
39
- 'currencyCode': json['currencyCode'],
40
- };
41
- }
42
- function PublicLeadDtoLastOfferToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'amount': value['amount'],
48
- 'currencyCode': value['currencyCode'],
49
- };
50
- }
@@ -1,37 +0,0 @@
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
- * The domain transfer auth code
14
- * @export
15
- * @interface SellerDomainTransferDtoAuthCode
16
- */
17
- export interface SellerDomainTransferDtoAuthCode {
18
- /**
19
- * The domain transfer auth code value
20
- * @type {string}
21
- * @memberof SellerDomainTransferDtoAuthCode
22
- */
23
- value: string;
24
- /**
25
- * The domain transfer auth code expiry date
26
- * @type {Date}
27
- * @memberof SellerDomainTransferDtoAuthCode
28
- */
29
- updatedAt: Date;
30
- }
31
- /**
32
- * Check if a given object implements the SellerDomainTransferDtoAuthCode interface.
33
- */
34
- export declare function instanceOfSellerDomainTransferDtoAuthCode(value: object): value is SellerDomainTransferDtoAuthCode;
35
- export declare function SellerDomainTransferDtoAuthCodeFromJSON(json: any): SellerDomainTransferDtoAuthCode;
36
- export declare function SellerDomainTransferDtoAuthCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferDtoAuthCode;
37
- export declare function SellerDomainTransferDtoAuthCodeToJSON(value?: SellerDomainTransferDtoAuthCode | null): any;
@@ -1,50 +0,0 @@
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.instanceOfSellerDomainTransferDtoAuthCode = instanceOfSellerDomainTransferDtoAuthCode;
17
- exports.SellerDomainTransferDtoAuthCodeFromJSON = SellerDomainTransferDtoAuthCodeFromJSON;
18
- exports.SellerDomainTransferDtoAuthCodeFromJSONTyped = SellerDomainTransferDtoAuthCodeFromJSONTyped;
19
- exports.SellerDomainTransferDtoAuthCodeToJSON = SellerDomainTransferDtoAuthCodeToJSON;
20
- /**
21
- * Check if a given object implements the SellerDomainTransferDtoAuthCode interface.
22
- */
23
- function instanceOfSellerDomainTransferDtoAuthCode(value) {
24
- if (!('value' in value) || value['value'] === undefined)
25
- return false;
26
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function SellerDomainTransferDtoAuthCodeFromJSON(json) {
31
- return SellerDomainTransferDtoAuthCodeFromJSONTyped(json, false);
32
- }
33
- function SellerDomainTransferDtoAuthCodeFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'value': json['value'],
39
- 'updatedAt': (new Date(json['updatedAt'])),
40
- };
41
- }
42
- function SellerDomainTransferDtoAuthCodeToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'value': value['value'],
48
- 'updatedAt': ((value['updatedAt']).toISOString()),
49
- };
50
- }
@@ -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 DomainTransferDetailsDtoAuthCode
20
- */
21
- export interface DomainTransferDetailsDtoAuthCode {
22
- /**
23
- * The domain transfer auth code value
24
- * @type {string}
25
- * @memberof DomainTransferDetailsDtoAuthCode
26
- */
27
- value: string;
28
- /**
29
- * The domain transfer auth code expiry date
30
- * @type {Date}
31
- * @memberof DomainTransferDetailsDtoAuthCode
32
- */
33
- updatedAt: Date;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the DomainTransferDetailsDtoAuthCode interface.
38
- */
39
- export function instanceOfDomainTransferDetailsDtoAuthCode(value: object): value is DomainTransferDetailsDtoAuthCode {
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 DomainTransferDetailsDtoAuthCodeFromJSON(json: any): DomainTransferDetailsDtoAuthCode {
46
- return DomainTransferDetailsDtoAuthCodeFromJSONTyped(json, false);
47
- }
48
-
49
- export function DomainTransferDetailsDtoAuthCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsDtoAuthCode {
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 DomainTransferDetailsDtoAuthCodeToJSON(value?: DomainTransferDetailsDtoAuthCode | 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
-
@@ -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 order
18
- * @export
19
- * @interface DomainTransferDtoAgent
20
- */
21
- export interface DomainTransferDtoAgent {
22
- /**
23
- * The order domain transfer agent ID
24
- * @type {object}
25
- * @memberof DomainTransferDtoAgent
26
- */
27
- id: object;
28
- /**
29
- * The order email address
30
- * @type {string}
31
- * @memberof DomainTransferDtoAgent
32
- */
33
- name: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the DomainTransferDtoAgent interface.
38
- */
39
- export function instanceOfDomainTransferDtoAgent(value: object): value is DomainTransferDtoAgent {
40
- if (!('id' in value) || value['id'] === undefined) return false;
41
- if (!('name' in value) || value['name'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function DomainTransferDtoAgentFromJSON(json: any): DomainTransferDtoAgent {
46
- return DomainTransferDtoAgentFromJSONTyped(json, false);
47
- }
48
-
49
- export function DomainTransferDtoAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDtoAgent {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'id': json['id'],
56
- 'name': json['name'],
57
- };
58
- }
59
-
60
- export function DomainTransferDtoAgentToJSON(value?: DomainTransferDtoAgent | null): any {
61
- if (value == null) {
62
- return value;
63
- }
64
- return {
65
-
66
- 'id': value['id'],
67
- 'name': value['name'],
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
- * Buy now price or null if buy now is not enabled
18
- * @export
19
- * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
20
- */
21
- export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
22
- /**
23
- * Monetary amount, represented as an integer without scale/decimals.
24
- * @type {number}
25
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
26
- */
27
- amount: number;
28
- /**
29
- * Three letter ISO currency code
30
- * @type {string}
31
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
32
- */
33
- currencyCode: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
38
- */
39
- export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
46
- return IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, false);
47
- }
48
-
49
- export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | 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
- * min offer price or null if offers are not enabled
18
- * @export
19
- * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
20
- */
21
- export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
22
- /**
23
- * Monetary amount, represented as an integer without scale/decimals.
24
- * @type {number}
25
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
26
- */
27
- amount: number;
28
- /**
29
- * Three letter ISO currency code
30
- * @type {string}
31
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
32
- */
33
- currencyCode: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
38
- */
39
- export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
46
- return IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, false);
47
- }
48
-
49
- export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null): any {
61
- if (value == null) {
62
- return value;
63
- }
64
- return {
65
-
66
- 'amount': value['amount'],
67
- 'currencyCode': value['currencyCode'],
68
- };
69
- }
70
-