@randock/nameshift-api-client 0.0.87 → 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 (93) hide show
  1. package/.openapi-generator/FILES +7 -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/BadRequestException.d.ts +49 -0
  8. package/dist/models/BadRequestException.js +58 -0
  9. package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +31 -0
  10. package/dist/models/BatchReadBuyerLeadMessageInput.js +46 -0
  11. package/dist/models/BatchReadSellerLeadMessageInput.d.ts +31 -0
  12. package/dist/models/BatchReadSellerLeadMessageInput.js +46 -0
  13. package/dist/models/BuyerLeadListItemDomainDto.d.ts +43 -0
  14. package/dist/models/BuyerLeadListItemDomainDto.js +54 -0
  15. package/dist/models/BuyerLeadListItemDto.d.ts +84 -0
  16. package/dist/models/BuyerLeadListItemDto.js +88 -0
  17. package/dist/models/CreateBuyerLeadMessageInput.d.ts +31 -0
  18. package/dist/models/CreateBuyerLeadMessageInput.js +46 -0
  19. package/dist/models/DomainTransferDetailsDto.d.ts +4 -4
  20. package/dist/models/DomainTransferDetailsDto.js +3 -3
  21. package/dist/models/DomainTransferDto.d.ts +4 -4
  22. package/dist/models/DomainTransferDto.js +3 -3
  23. package/dist/models/GetBuyerLeads200Response.d.ts +46 -0
  24. package/dist/models/GetBuyerLeads200Response.js +57 -0
  25. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -8
  26. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -6
  27. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +3 -3
  28. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
  29. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +7 -7
  30. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +6 -6
  31. package/dist/models/LeadMessageDto.d.ts +22 -10
  32. package/dist/models/LeadMessageDto.js +14 -6
  33. package/dist/models/OrderListItemDto.d.ts +4 -4
  34. package/dist/models/OrderListItemDto.js +3 -3
  35. package/dist/models/PublicLeadDto.d.ts +4 -4
  36. package/dist/models/PublicLeadDto.js +3 -3
  37. package/dist/models/SellerDomainTransferDto.d.ts +4 -4
  38. package/dist/models/SellerDomainTransferDto.js +3 -3
  39. package/dist/models/index.d.ts +7 -10
  40. package/dist/models/index.js +7 -10
  41. package/package.json +1 -1
  42. package/src/apis/AdminApi.ts +3 -0
  43. package/src/apis/BuyersApi.ts +231 -0
  44. package/src/apis/LeadsApi.ts +58 -0
  45. package/src/apis/LeadsPublicApi.ts +3 -0
  46. package/src/apis/OrdersPublicApi.ts +3 -0
  47. package/src/models/BadRequestException.ts +88 -0
  48. package/src/models/BatchReadBuyerLeadMessageInput.ts +61 -0
  49. package/src/models/BatchReadSellerLeadMessageInput.ts +61 -0
  50. package/src/models/BuyerLeadListItemDomainDto.ts +79 -0
  51. package/src/models/BuyerLeadListItemDto.ts +144 -0
  52. package/src/models/CreateBuyerLeadMessageInput.ts +61 -0
  53. package/src/models/DomainTransferDetailsDto.ts +11 -11
  54. package/src/models/DomainTransferDto.ts +10 -10
  55. package/src/models/GetBuyerLeads200Response.ts +98 -0
  56. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +15 -21
  57. package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +9 -9
  58. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +19 -19
  59. package/src/models/LeadMessageDto.ts +37 -19
  60. package/src/models/OrderListItemDto.ts +11 -11
  61. package/src/models/PublicLeadDto.ts +10 -10
  62. package/src/models/SellerDomainTransferDto.ts +10 -10
  63. package/src/models/index.ts +7 -10
  64. package/dist/models/DomainTransferDetailsDtoAuthCode.d.ts +0 -37
  65. package/dist/models/DomainTransferDetailsDtoAuthCode.js +0 -50
  66. package/dist/models/DomainTransferDtoAgent.d.ts +0 -37
  67. package/dist/models/DomainTransferDtoAgent.js +0 -50
  68. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +0 -37
  69. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +0 -50
  70. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +0 -37
  71. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +0 -50
  72. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +0 -32
  73. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +0 -47
  74. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +0 -37
  75. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +0 -50
  76. package/dist/models/LeadMessageDtoData.d.ts +0 -32
  77. package/dist/models/LeadMessageDtoData.js +0 -47
  78. package/dist/models/OrderListItemDtoBasePrice.d.ts +0 -37
  79. package/dist/models/OrderListItemDtoBasePrice.js +0 -50
  80. package/dist/models/PublicLeadDtoLastOffer.d.ts +0 -37
  81. package/dist/models/PublicLeadDtoLastOffer.js +0 -50
  82. package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +0 -37
  83. package/dist/models/SellerDomainTransferDtoAuthCode.js +0 -50
  84. package/src/models/DomainTransferDetailsDtoAuthCode.ts +0 -70
  85. package/src/models/DomainTransferDtoAgent.ts +0 -70
  86. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +0 -70
  87. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +0 -70
  88. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +0 -68
  89. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +0 -70
  90. package/src/models/LeadMessageDtoData.ts +0 -68
  91. package/src/models/OrderListItemDtoBasePrice.ts +0 -70
  92. package/src/models/PublicLeadDtoLastOffer.ts +0 -70
  93. package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -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 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
-
@@ -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
-