@randock/nameshift-api-client 0.0.88 → 0.0.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/.openapi-generator/FILES +9 -11
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/dist/apis/BuyersApi.d.ts +84 -1
  5. package/dist/apis/BuyersApi.js +390 -0
  6. package/dist/apis/LeadsApi.d.ts +13 -1
  7. package/dist/apis/LeadsApi.js +56 -0
  8. package/dist/models/AccountSettingsInput.d.ts +3 -3
  9. package/dist/models/AccountSettingsInput.js +3 -3
  10. package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +31 -0
  11. package/dist/models/BatchReadBuyerLeadMessageInput.js +46 -0
  12. package/dist/models/BatchReadSellerLeadMessageInput.d.ts +31 -0
  13. package/dist/models/BatchReadSellerLeadMessageInput.js +46 -0
  14. package/dist/models/BuyerLeadListItemDomainDto.d.ts +43 -0
  15. package/dist/models/BuyerLeadListItemDomainDto.js +54 -0
  16. package/dist/models/BuyerLeadListItemDto.d.ts +84 -0
  17. package/dist/models/BuyerLeadListItemDto.js +88 -0
  18. package/dist/models/CreateBuyerLeadMessageInput.d.ts +31 -0
  19. package/dist/models/CreateBuyerLeadMessageInput.js +46 -0
  20. package/dist/models/DomainTransferDetailsDto.d.ts +4 -4
  21. package/dist/models/DomainTransferDetailsDto.js +3 -3
  22. package/dist/models/DomainTransferDto.d.ts +4 -4
  23. package/dist/models/DomainTransferDto.js +3 -3
  24. package/dist/models/GetBuyerLeads200Response.d.ts +46 -0
  25. package/dist/models/GetBuyerLeads200Response.js +57 -0
  26. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -8
  27. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -6
  28. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +5 -5
  29. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +3 -3
  30. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +18 -9
  31. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +13 -6
  32. package/dist/models/LeadDomainDto.d.ts +43 -0
  33. package/dist/models/{DomainTransferDtoAgent.js → LeadDomainDto.js} +14 -10
  34. package/dist/models/LeadDto.d.ts +84 -0
  35. package/dist/models/LeadDto.js +88 -0
  36. package/dist/models/LeadMessageDto.d.ts +24 -10
  37. package/dist/models/LeadMessageDto.js +16 -6
  38. package/dist/models/OrderListItemDto.d.ts +4 -4
  39. package/dist/models/OrderListItemDto.js +3 -3
  40. package/dist/models/PublicLeadDto.d.ts +4 -4
  41. package/dist/models/PublicLeadDto.js +3 -3
  42. package/dist/models/PutBuyerLeadOfferInput.d.ts +32 -0
  43. package/dist/models/PutBuyerLeadOfferInput.js +47 -0
  44. package/dist/models/SellerDomainTransferDto.d.ts +4 -4
  45. package/dist/models/SellerDomainTransferDto.js +3 -3
  46. package/dist/models/UpdateDomainInput.d.ts +5 -5
  47. package/dist/models/UpdateDomainInput.js +5 -5
  48. package/dist/models/index.d.ts +9 -11
  49. package/dist/models/index.js +9 -11
  50. package/package.json +1 -1
  51. package/src/apis/BuyersApi.ts +378 -0
  52. package/src/apis/LeadsApi.ts +61 -0
  53. package/src/models/AccountSettingsInput.ts +9 -9
  54. package/src/models/BatchReadBuyerLeadMessageInput.ts +61 -0
  55. package/src/models/BatchReadSellerLeadMessageInput.ts +61 -0
  56. package/src/models/BuyerLeadListItemDomainDto.ts +79 -0
  57. package/src/models/BuyerLeadListItemDto.ts +144 -0
  58. package/src/models/CreateBuyerLeadMessageInput.ts +61 -0
  59. package/src/models/DomainTransferDetailsDto.ts +11 -11
  60. package/src/models/DomainTransferDto.ts +10 -10
  61. package/src/models/GetBuyerLeads200Response.ts +98 -0
  62. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +15 -21
  63. package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +11 -11
  64. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +38 -21
  65. package/src/models/LeadDomainDto.ts +79 -0
  66. package/src/models/LeadDto.ts +144 -0
  67. package/src/models/LeadMessageDto.ts +39 -19
  68. package/src/models/OrderListItemDto.ts +11 -11
  69. package/src/models/PublicLeadDto.ts +10 -10
  70. package/src/models/PutBuyerLeadOfferInput.ts +68 -0
  71. package/src/models/SellerDomainTransferDto.ts +10 -10
  72. package/src/models/UpdateDomainInput.ts +13 -13
  73. package/src/models/index.ts +9 -11
  74. package/dist/models/DomainTransferDetailsDtoAuthCode.d.ts +0 -37
  75. package/dist/models/DomainTransferDetailsDtoAuthCode.js +0 -50
  76. package/dist/models/DomainTransferDtoAgent.d.ts +0 -37
  77. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +0 -37
  78. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +0 -50
  79. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +0 -37
  80. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +0 -50
  81. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +0 -32
  82. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +0 -47
  83. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +0 -37
  84. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +0 -50
  85. package/dist/models/LeadMessageDtoData.d.ts +0 -32
  86. package/dist/models/LeadMessageDtoData.js +0 -47
  87. package/dist/models/MoneyInput.d.ts +0 -37
  88. package/dist/models/MoneyInput.js +0 -50
  89. package/dist/models/OrderListItemDtoBasePrice.d.ts +0 -37
  90. package/dist/models/OrderListItemDtoBasePrice.js +0 -50
  91. package/dist/models/PublicLeadDtoLastOffer.d.ts +0 -37
  92. package/dist/models/PublicLeadDtoLastOffer.js +0 -50
  93. package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +0 -37
  94. package/dist/models/SellerDomainTransferDtoAuthCode.js +0 -50
  95. package/src/models/DomainTransferDetailsDtoAuthCode.ts +0 -70
  96. package/src/models/DomainTransferDtoAgent.ts +0 -70
  97. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +0 -70
  98. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +0 -70
  99. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +0 -68
  100. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +0 -70
  101. package/src/models/LeadMessageDtoData.ts +0 -68
  102. package/src/models/MoneyInput.ts +0 -70
  103. package/src/models/OrderListItemDtoBasePrice.ts +0 -70
  104. package/src/models/PublicLeadDtoLastOffer.ts +0 -70
  105. package/src/models/SellerDomainTransferDtoAuthCode.ts +0 -70
@@ -0,0 +1,68 @@
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
+ *
25
+ * @export
26
+ * @interface PutBuyerLeadOfferInput
27
+ */
28
+ export interface PutBuyerLeadOfferInput {
29
+ /**
30
+ *
31
+ * @type {MoneyDto}
32
+ * @memberof PutBuyerLeadOfferInput
33
+ */
34
+ offer: MoneyDto | null;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the PutBuyerLeadOfferInput interface.
39
+ */
40
+ export function instanceOfPutBuyerLeadOfferInput(value: object): value is PutBuyerLeadOfferInput {
41
+ if (!('offer' in value) || value['offer'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function PutBuyerLeadOfferInputFromJSON(json: any): PutBuyerLeadOfferInput {
46
+ return PutBuyerLeadOfferInputFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function PutBuyerLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutBuyerLeadOfferInput {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'offer': MoneyDtoFromJSON(json['offer']),
56
+ };
57
+ }
58
+
59
+ export function PutBuyerLeadOfferInputToJSON(value?: PutBuyerLeadOfferInput | null): any {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+
65
+ 'offer': MoneyDtoToJSON(value['offer']),
66
+ };
67
+ }
68
+
@@ -19,12 +19,12 @@ import {
19
19
  SellerDomainTransferDomainDtoFromJSONTyped,
20
20
  SellerDomainTransferDomainDtoToJSON,
21
21
  } from './SellerDomainTransferDomainDto';
22
- import type { SellerDomainTransferDtoAuthCode } from './SellerDomainTransferDtoAuthCode';
22
+ import type { SellerDomainTransferAuthCodeDto } from './SellerDomainTransferAuthCodeDto';
23
23
  import {
24
- SellerDomainTransferDtoAuthCodeFromJSON,
25
- SellerDomainTransferDtoAuthCodeFromJSONTyped,
26
- SellerDomainTransferDtoAuthCodeToJSON,
27
- } from './SellerDomainTransferDtoAuthCode';
24
+ SellerDomainTransferAuthCodeDtoFromJSON,
25
+ SellerDomainTransferAuthCodeDtoFromJSONTyped,
26
+ SellerDomainTransferAuthCodeDtoToJSON,
27
+ } from './SellerDomainTransferAuthCodeDto';
28
28
 
29
29
  /**
30
30
  *
@@ -57,11 +57,11 @@ export interface SellerDomainTransferDto {
57
57
  */
58
58
  status: SellerDomainTransferDtoStatusEnum;
59
59
  /**
60
- *
61
- * @type {SellerDomainTransferDtoAuthCode}
60
+ * The domain transfer auth code
61
+ * @type {SellerDomainTransferAuthCodeDto}
62
62
  * @memberof SellerDomainTransferDto
63
63
  */
64
- authCode: SellerDomainTransferDtoAuthCode | null;
64
+ authCode: SellerDomainTransferAuthCodeDto | null;
65
65
  /**
66
66
  * The domain transfer creation date
67
67
  * @type {Date}
@@ -111,7 +111,7 @@ export function SellerDomainTransferDtoFromJSONTyped(json: any, ignoreDiscrimina
111
111
  'id': json['id'],
112
112
  'domain': SellerDomainTransferDomainDtoFromJSON(json['domain']),
113
113
  'status': json['status'],
114
- 'authCode': SellerDomainTransferDtoAuthCodeFromJSON(json['authCode']),
114
+ 'authCode': SellerDomainTransferAuthCodeDtoFromJSON(json['authCode']),
115
115
  'createdAt': (new Date(json['createdAt'])),
116
116
  };
117
117
  }
@@ -126,7 +126,7 @@ export function SellerDomainTransferDtoToJSON(value?: SellerDomainTransferDto |
126
126
  'id': value['id'],
127
127
  'domain': SellerDomainTransferDomainDtoToJSON(value['domain']),
128
128
  'status': value['status'],
129
- 'authCode': SellerDomainTransferDtoAuthCodeToJSON(value['authCode']),
129
+ 'authCode': SellerDomainTransferAuthCodeDtoToJSON(value['authCode']),
130
130
  'createdAt': ((value['createdAt']).toISOString()),
131
131
  };
132
132
  }
@@ -13,12 +13,12 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { MoneyInput } from './MoneyInput';
16
+ import type { MoneyDto } from './MoneyDto';
17
17
  import {
18
- MoneyInputFromJSON,
19
- MoneyInputFromJSONTyped,
20
- MoneyInputToJSON,
21
- } from './MoneyInput';
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ } from './MoneyDto';
22
22
 
23
23
  /**
24
24
  *
@@ -28,16 +28,16 @@ import {
28
28
  export interface UpdateDomainInput {
29
29
  /**
30
30
  *
31
- * @type {MoneyInput}
31
+ * @type {MoneyDto}
32
32
  * @memberof UpdateDomainInput
33
33
  */
34
- bin?: MoneyInput | null;
34
+ bin?: MoneyDto | null;
35
35
  /**
36
36
  *
37
- * @type {MoneyInput}
37
+ * @type {MoneyDto}
38
38
  * @memberof UpdateDomainInput
39
39
  */
40
- minOffer?: MoneyInput | null;
40
+ minOffer?: MoneyDto | null;
41
41
  /**
42
42
  *
43
43
  * @type {string}
@@ -63,8 +63,8 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
63
63
  }
64
64
  return {
65
65
 
66
- 'bin': json['bin'] == null ? undefined : MoneyInputFromJSON(json['bin']),
67
- 'minOffer': json['minOffer'] == null ? undefined : MoneyInputFromJSON(json['minOffer']),
66
+ 'bin': json['bin'] == null ? undefined : MoneyDtoFromJSON(json['bin']),
67
+ 'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
68
68
  'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
69
69
  };
70
70
  }
@@ -75,8 +75,8 @@ export function UpdateDomainInputToJSON(value?: UpdateDomainInput | null): any {
75
75
  }
76
76
  return {
77
77
 
78
- 'bin': MoneyInputToJSON(value['bin']),
79
- 'minOffer': MoneyInputToJSON(value['minOffer']),
78
+ 'bin': MoneyDtoToJSON(value['bin']),
79
+ 'minOffer': MoneyDtoToJSON(value['minOffer']),
80
80
  'currencyCode': value['currencyCode'],
81
81
  };
82
82
  }
@@ -7,14 +7,19 @@ export * from './AccountFinancialInput';
7
7
  export * from './AccountSettingsInput';
8
8
  export * from './AdminGetAllDomainTransfers200Response';
9
9
  export * from './BadRequestException';
10
+ export * from './BatchReadBuyerLeadMessageInput';
11
+ export * from './BatchReadSellerLeadMessageInput';
10
12
  export * from './BatchUpdateDomainsInput';
11
13
  export * from './BuyerDomainTransferAuthCodeDto';
12
14
  export * from './BuyerDomainTransferListItemDomainDto';
13
15
  export * from './BuyerDomainTransferListItemDto';
16
+ export * from './BuyerLeadListItemDomainDto';
17
+ export * from './BuyerLeadListItemDto';
14
18
  export * from './BuyerUserDto';
15
19
  export * from './ChangeOrderStatusInput';
16
20
  export * from './ChartDataPoint';
17
21
  export * from './ConflictException';
22
+ export * from './CreateBuyerLeadMessageInput';
18
23
  export * from './CreateLeadInput';
19
24
  export * from './CreateLeadMessageInput';
20
25
  export * from './CreateOrderInput';
@@ -29,7 +34,6 @@ export * from './DomainTransferDetailWorkflowStepDto';
29
34
  export * from './DomainTransferDetailsAuthCodeDto';
30
35
  export * from './DomainTransferDetailsDomainDto';
31
36
  export * from './DomainTransferDetailsDto';
32
- export * from './DomainTransferDetailsDtoAuthCode';
33
37
  export * from './DomainTransferDetailsOrderBuyerDto';
34
38
  export * from './DomainTransferDetailsOrderDto';
35
39
  export * from './DomainTransferDetailsOrderSellerDto';
@@ -37,11 +41,11 @@ export * from './DomainTransferDetailsOrderSellerUserDto';
37
41
  export * from './DomainTransferDetailsValidationDto';
38
42
  export * from './DomainTransferDomainDto';
39
43
  export * from './DomainTransferDto';
40
- export * from './DomainTransferDtoAgent';
41
44
  export * from './DomainTransferOrderDto';
42
45
  export * from './ForgotPasswordRequestInput';
43
46
  export * from './GetAllDomainTransfers200Response';
44
47
  export * from './GetAllOrders200Response';
48
+ export * from './GetBuyerLeads200Response';
45
49
  export * from './GetBuyerTransfers200Response';
46
50
  export * from './HttpException';
47
51
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
@@ -49,15 +53,12 @@ export * from './IntersectionDomainDtoWithAccountDto';
49
53
  export * from './IntersectionDomainDtoWithDomainUrlDto';
50
54
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
51
55
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
52
- export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
53
- export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
54
56
  export * from './IntersectionLeadDtoWithLeadDetailsDto';
55
57
  export * from './IntersectionLeadDtoWithListFieldsDto';
56
- export * from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';
57
- export * from './IntersectionLeadDtoWithListFieldsDtoLastOffer';
58
+ export * from './LeadDomainDto';
59
+ export * from './LeadDto';
58
60
  export * from './LeadMessageData';
59
61
  export * from './LeadMessageDto';
60
- export * from './LeadMessageDtoData';
61
62
  export * from './LeadStatusDto';
62
63
  export * from './List200Response';
63
64
  export * from './List200Response1';
@@ -67,12 +68,10 @@ export * from './ListLeadMessagesDto';
67
68
  export * from './LoginDto';
68
69
  export * from './LoginInput';
69
70
  export * from './MoneyDto';
70
- export * from './MoneyInput';
71
71
  export * from './NotFoundException';
72
72
  export * from './ObjectId';
73
73
  export * from './OrderDto';
74
74
  export * from './OrderListItemDto';
75
- export * from './OrderListItemDtoBasePrice';
76
75
  export * from './OrderListItemDtoBuyerInformation';
77
76
  export * from './OrderListItemDtoDomainInformation';
78
77
  export * from './OrderListItemDtoSellerAccount';
@@ -81,7 +80,7 @@ export * from './PaginateResponseLinks';
81
80
  export * from './PaginateResponseMeta';
82
81
  export * from './PublicLeadBuyerDto';
83
82
  export * from './PublicLeadDto';
84
- export * from './PublicLeadDtoLastOffer';
83
+ export * from './PutBuyerLeadOfferInput';
85
84
  export * from './PutLeadOfferInput';
86
85
  export * from './RegisterAccountInput';
87
86
  export * from './RelatedSellerDomain';
@@ -90,7 +89,6 @@ export * from './SecurityUserDto';
90
89
  export * from './SellerDomainTransferAuthCodeDto';
91
90
  export * from './SellerDomainTransferDomainDto';
92
91
  export * from './SellerDomainTransferDto';
93
- export * from './SellerDomainTransferDtoAuthCode';
94
92
  export * from './SellerDomainTransferListItemDomainDto';
95
93
  export * from './SellerDomainTransferListItemDto';
96
94
  export * from './SetDomainTransferConfirmationInput';
@@ -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 DomainTransferDetailsDtoAuthCode
16
- */
17
- export interface DomainTransferDetailsDtoAuthCode {
18
- /**
19
- * The domain transfer auth code value
20
- * @type {string}
21
- * @memberof DomainTransferDetailsDtoAuthCode
22
- */
23
- value: string;
24
- /**
25
- * The domain transfer auth code expiry date
26
- * @type {Date}
27
- * @memberof DomainTransferDetailsDtoAuthCode
28
- */
29
- updatedAt: Date;
30
- }
31
- /**
32
- * Check if a given object implements the DomainTransferDetailsDtoAuthCode interface.
33
- */
34
- export declare function instanceOfDomainTransferDetailsDtoAuthCode(value: object): value is DomainTransferDetailsDtoAuthCode;
35
- export declare function DomainTransferDetailsDtoAuthCodeFromJSON(json: any): DomainTransferDetailsDtoAuthCode;
36
- export declare function DomainTransferDetailsDtoAuthCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsDtoAuthCode;
37
- export declare function DomainTransferDetailsDtoAuthCodeToJSON(value?: DomainTransferDetailsDtoAuthCode | 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.instanceOfDomainTransferDetailsDtoAuthCode = instanceOfDomainTransferDetailsDtoAuthCode;
17
- exports.DomainTransferDetailsDtoAuthCodeFromJSON = DomainTransferDetailsDtoAuthCodeFromJSON;
18
- exports.DomainTransferDetailsDtoAuthCodeFromJSONTyped = DomainTransferDetailsDtoAuthCodeFromJSONTyped;
19
- exports.DomainTransferDetailsDtoAuthCodeToJSON = DomainTransferDetailsDtoAuthCodeToJSON;
20
- /**
21
- * Check if a given object implements the DomainTransferDetailsDtoAuthCode interface.
22
- */
23
- function instanceOfDomainTransferDetailsDtoAuthCode(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 DomainTransferDetailsDtoAuthCodeFromJSON(json) {
31
- return DomainTransferDetailsDtoAuthCodeFromJSONTyped(json, false);
32
- }
33
- function DomainTransferDetailsDtoAuthCodeFromJSONTyped(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 DomainTransferDetailsDtoAuthCodeToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'value': value['value'],
48
- 'updatedAt': ((value['updatedAt']).toISOString()),
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 order
14
- * @export
15
- * @interface DomainTransferDtoAgent
16
- */
17
- export interface DomainTransferDtoAgent {
18
- /**
19
- * The order domain transfer agent ID
20
- * @type {object}
21
- * @memberof DomainTransferDtoAgent
22
- */
23
- id: object;
24
- /**
25
- * The order email address
26
- * @type {string}
27
- * @memberof DomainTransferDtoAgent
28
- */
29
- name: string;
30
- }
31
- /**
32
- * Check if a given object implements the DomainTransferDtoAgent interface.
33
- */
34
- export declare function instanceOfDomainTransferDtoAgent(value: object): value is DomainTransferDtoAgent;
35
- export declare function DomainTransferDtoAgentFromJSON(json: any): DomainTransferDtoAgent;
36
- export declare function DomainTransferDtoAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDtoAgent;
37
- export declare function DomainTransferDtoAgentToJSON(value?: DomainTransferDtoAgent | null): any;
@@ -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
- * Buy now price or null if buy now is not enabled
14
- * @export
15
- * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
16
- */
17
- export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice {
18
- /**
19
- * Monetary amount, represented as an integer without scale/decimals.
20
- * @type {number}
21
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
22
- */
23
- amount: number;
24
- /**
25
- * Three letter ISO currency code
26
- * @type {string}
27
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice
28
- */
29
- currencyCode: string;
30
- }
31
- /**
32
- * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
33
- */
34
- export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
35
- export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
36
- export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
37
- export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | 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.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice;
17
- exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON;
18
- exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped;
19
- exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON;
20
- /**
21
- * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice interface.
22
- */
23
- function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice(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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON(json) {
31
- return IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, false);
32
- }
33
- function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'amount': json['amount'],
39
- 'currencyCode': json['currencyCode'],
40
- };
41
- }
42
- function IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON(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
- * min offer price or null if offers are not enabled
14
- * @export
15
- * @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
16
- */
17
- export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice {
18
- /**
19
- * Monetary amount, represented as an integer without scale/decimals.
20
- * @type {number}
21
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
22
- */
23
- amount: number;
24
- /**
25
- * Three letter ISO currency code
26
- * @type {string}
27
- * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice
28
- */
29
- currencyCode: string;
30
- }
31
- /**
32
- * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
33
- */
34
- export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
35
- export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
36
- export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
37
- export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | 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.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice;
17
- exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON;
18
- exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped;
19
- exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON;
20
- /**
21
- * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice interface.
22
- */
23
- function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice(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 IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON(json) {
31
- return IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, false);
32
- }
33
- function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'amount': json['amount'],
39
- 'currencyCode': json['currencyCode'],
40
- };
41
- }
42
- function IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON(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
- * The data
15
- * @export
16
- * @interface IntersectionLeadDtoWithListFieldsDtoLastMessageData
17
- */
18
- export interface IntersectionLeadDtoWithListFieldsDtoLastMessageData {
19
- /**
20
- *
21
- * @type {MoneyDto}
22
- * @memberof IntersectionLeadDtoWithListFieldsDtoLastMessageData
23
- */
24
- price: MoneyDto;
25
- }
26
- /**
27
- * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastMessageData interface.
28
- */
29
- export declare function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value: object): value is IntersectionLeadDtoWithListFieldsDtoLastMessageData;
30
- export declare function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON(json: any): IntersectionLeadDtoWithListFieldsDtoLastMessageData;
31
- export declare function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithListFieldsDtoLastMessageData;
32
- export declare function IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON(value?: IntersectionLeadDtoWithListFieldsDtoLastMessageData | 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.instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData = instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData;
17
- exports.IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON = IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON;
18
- exports.IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped;
19
- exports.IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON = IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON;
20
- var MoneyDto_1 = require("./MoneyDto");
21
- /**
22
- * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastMessageData interface.
23
- */
24
- function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value) {
25
- if (!('price' in value) || value['price'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON(json) {
30
- return IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json, false);
31
- }
32
- function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
38
- };
39
- }
40
- function IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
46
- };
47
- }