@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
@@ -0,0 +1,57 @@
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.instanceOfGetBuyerLeads200Response = instanceOfGetBuyerLeads200Response;
17
+ exports.GetBuyerLeads200ResponseFromJSON = GetBuyerLeads200ResponseFromJSON;
18
+ exports.GetBuyerLeads200ResponseFromJSONTyped = GetBuyerLeads200ResponseFromJSONTyped;
19
+ exports.GetBuyerLeads200ResponseToJSON = GetBuyerLeads200ResponseToJSON;
20
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
21
+ var BuyerLeadListItemDto_1 = require("./BuyerLeadListItemDto");
22
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
23
+ /**
24
+ * Check if a given object implements the GetBuyerLeads200Response interface.
25
+ */
26
+ function instanceOfGetBuyerLeads200Response(value) {
27
+ if (!('data' in value) || value['data'] === undefined)
28
+ return false;
29
+ if (!('meta' in value) || value['meta'] === undefined)
30
+ return false;
31
+ if (!('links' in value) || value['links'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function GetBuyerLeads200ResponseFromJSON(json) {
36
+ return GetBuyerLeads200ResponseFromJSONTyped(json, false);
37
+ }
38
+ function GetBuyerLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'data': (json['data'].map(BuyerLeadListItemDto_1.BuyerLeadListItemDtoFromJSON)),
44
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
45
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
46
+ };
47
+ }
48
+ function GetBuyerLeads200ResponseToJSON(value) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'data': (value['data'].map(BuyerLeadListItemDto_1.BuyerLeadListItemDtoToJSON)),
54
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
55
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
56
+ };
57
+ }
@@ -9,10 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
13
12
  import type { DomainSellerDto } from './DomainSellerDto';
14
13
  import type { DomainStats } from './DomainStats';
15
- import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice } from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
14
+ import type { MoneyDto } from './MoneyDto';
16
15
  /**
17
16
  *
18
17
  * @export
@@ -38,17 +37,17 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
38
37
  */
39
38
  domainDisplayName: string;
40
39
  /**
41
- *
42
- * @type {IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice}
40
+ * Buy now price or null if buy now is not enabled
41
+ * @type {MoneyDto}
43
42
  * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
44
43
  */
45
- buyNowPrice: IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice | null;
44
+ buyNowPrice: MoneyDto | null;
46
45
  /**
47
- *
48
- * @type {IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice}
46
+ * min offer price or null if offers are not enabled
47
+ * @type {MoneyDto}
49
48
  * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
50
49
  */
51
- minOfferPrice: IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice | null;
50
+ minOfferPrice: MoneyDto | null;
52
51
  /**
53
52
  * The domain seller information
54
53
  * @type {DomainSellerDto}
@@ -17,10 +17,9 @@ exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto = inst
17
17
  exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON;
18
18
  exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped;
19
19
  exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON;
20
- var IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1 = require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice");
21
20
  var DomainSellerDto_1 = require("./DomainSellerDto");
22
21
  var DomainStats_1 = require("./DomainStats");
23
- var IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice_1 = require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice");
22
+ var MoneyDto_1 = require("./MoneyDto");
24
23
  /**
25
24
  * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
26
25
  */
@@ -50,8 +49,8 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(js
50
49
  'stats': (0, DomainStats_1.DomainStatsFromJSON)(json['stats']),
51
50
  'domain': json['domain'],
52
51
  'domainDisplayName': json['domainDisplayName'],
53
- 'buyNowPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceFromJSON)(json['buyNowPrice']),
54
- 'minOfferPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceFromJSON)(json['minOfferPrice']),
52
+ 'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
53
+ 'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
55
54
  'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
56
55
  };
57
56
  }
@@ -63,8 +62,8 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON(value) {
63
62
  'stats': (0, DomainStats_1.DomainStatsToJSON)(value['stats']),
64
63
  'domain': value['domain'],
65
64
  'domainDisplayName': value['domainDisplayName'],
66
- 'buyNowPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPriceToJSON)(value['buyNowPrice']),
67
- 'minOfferPrice': (0, IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPriceToJSON)(value['minOfferPrice']),
65
+ 'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
66
+ 'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
68
67
  'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
69
68
  };
70
69
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { IntersectionDomainDtoWithAccountDto } from './IntersectionDomainDtoWithAccountDto';
13
- import type { IntersectionLeadDtoWithListFieldsDtoLastOffer } from './IntersectionLeadDtoWithListFieldsDtoLastOffer';
13
+ import type { MoneyDto } from './MoneyDto';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -31,10 +31,10 @@ export interface IntersectionLeadDtoWithLeadDetailsDto {
31
31
  status: IntersectionLeadDtoWithLeadDetailsDtoStatusEnum;
32
32
  /**
33
33
  *
34
- * @type {IntersectionLeadDtoWithListFieldsDtoLastOffer}
34
+ * @type {MoneyDto}
35
35
  * @memberof IntersectionLeadDtoWithLeadDetailsDto
36
36
  */
37
- lastOffer: IntersectionLeadDtoWithListFieldsDtoLastOffer | null;
37
+ lastOffer: MoneyDto | null;
38
38
  /**
39
39
  *
40
40
  * @type {string}
@@ -19,7 +19,7 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoFromJSON = IntersectionLeadDtoWithL
19
19
  exports.IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped = IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped;
20
20
  exports.IntersectionLeadDtoWithLeadDetailsDtoToJSON = IntersectionLeadDtoWithLeadDetailsDtoToJSON;
21
21
  var IntersectionDomainDtoWithAccountDto_1 = require("./IntersectionDomainDtoWithAccountDto");
22
- var IntersectionLeadDtoWithListFieldsDtoLastOffer_1 = require("./IntersectionLeadDtoWithListFieldsDtoLastOffer");
22
+ var MoneyDto_1 = require("./MoneyDto");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -67,7 +67,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoFromJSONTyped(json, ignoreDiscrimi
67
67
  return {
68
68
  'id': json['id'],
69
69
  'status': json['status'],
70
- 'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON)(json['lastOffer']),
70
+ 'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
71
71
  'lastOfferBy': json['lastOfferBy'],
72
72
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoFromJSON)(json['domain']),
73
73
  'createdAt': (new Date(json['createdAt'])),
@@ -80,7 +80,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoToJSON(value) {
80
80
  return {
81
81
  'id': value['id'],
82
82
  'status': value['status'],
83
- 'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value['lastOffer']),
83
+ 'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
84
84
  'lastOfferBy': value['lastOfferBy'],
85
85
  'domain': (0, IntersectionDomainDtoWithAccountDto_1.IntersectionDomainDtoWithAccountDtoToJSON)(value['domain']),
86
86
  'createdAt': ((value['createdAt']).toISOString()),
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { IntersectionLeadDtoWithListFieldsDtoLastMessageData } from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';
13
- import type { IntersectionLeadDtoWithListFieldsDtoLastOffer } from './IntersectionLeadDtoWithListFieldsDtoLastOffer';
12
+ import type { LeadMessageData } from './LeadMessageData';
13
+ import type { MoneyDto } from './MoneyDto';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -31,10 +31,10 @@ export interface IntersectionLeadDtoWithListFieldsDto {
31
31
  status: IntersectionLeadDtoWithListFieldsDtoStatusEnum;
32
32
  /**
33
33
  *
34
- * @type {IntersectionLeadDtoWithListFieldsDtoLastOffer}
34
+ * @type {MoneyDto}
35
35
  * @memberof IntersectionLeadDtoWithListFieldsDto
36
36
  */
37
- lastOffer: IntersectionLeadDtoWithListFieldsDtoLastOffer | null;
37
+ lastOffer: MoneyDto | null;
38
38
  /**
39
39
  *
40
40
  * @type {string}
@@ -54,11 +54,11 @@ export interface IntersectionLeadDtoWithListFieldsDto {
54
54
  */
55
55
  lastMessageType: IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum;
56
56
  /**
57
- *
58
- * @type {IntersectionLeadDtoWithListFieldsDtoLastMessageData}
57
+ * The data
58
+ * @type {LeadMessageData}
59
59
  * @memberof IntersectionLeadDtoWithListFieldsDto
60
60
  */
61
- lastMessageData: IntersectionLeadDtoWithListFieldsDtoLastMessageData | null;
61
+ lastMessageData: LeadMessageData | null;
62
62
  /**
63
63
  * Created at date
64
64
  * @type {Date}
@@ -18,8 +18,8 @@ exports.instanceOfIntersectionLeadDtoWithListFieldsDto = instanceOfIntersectionL
18
18
  exports.IntersectionLeadDtoWithListFieldsDtoFromJSON = IntersectionLeadDtoWithListFieldsDtoFromJSON;
19
19
  exports.IntersectionLeadDtoWithListFieldsDtoFromJSONTyped = IntersectionLeadDtoWithListFieldsDtoFromJSONTyped;
20
20
  exports.IntersectionLeadDtoWithListFieldsDtoToJSON = IntersectionLeadDtoWithListFieldsDtoToJSON;
21
- var IntersectionLeadDtoWithListFieldsDtoLastMessageData_1 = require("./IntersectionLeadDtoWithListFieldsDtoLastMessageData");
22
- var IntersectionLeadDtoWithListFieldsDtoLastOffer_1 = require("./IntersectionLeadDtoWithListFieldsDtoLastOffer");
21
+ var LeadMessageData_1 = require("./LeadMessageData");
22
+ var MoneyDto_1 = require("./MoneyDto");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -94,11 +94,11 @@ function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json, ignoreDiscrimin
94
94
  return {
95
95
  'id': json['id'],
96
96
  'status': json['status'],
97
- 'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON)(json['lastOffer']),
97
+ 'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
98
98
  'lastOfferBy': json['lastOfferBy'],
99
99
  'lastMessageFrom': json['lastMessageFrom'],
100
100
  'lastMessageType': json['lastMessageType'],
101
- 'lastMessageData': (0, IntersectionLeadDtoWithListFieldsDtoLastMessageData_1.IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON)(json['lastMessageData']),
101
+ 'lastMessageData': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['lastMessageData']),
102
102
  'createdAt': (new Date(json['createdAt'])),
103
103
  'domainName': json['domainName'],
104
104
  'buyerInitials': json['buyerInitials'],
@@ -113,11 +113,11 @@ function IntersectionLeadDtoWithListFieldsDtoToJSON(value) {
113
113
  return {
114
114
  'id': value['id'],
115
115
  'status': value['status'],
116
- 'lastOffer': (0, IntersectionLeadDtoWithListFieldsDtoLastOffer_1.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON)(value['lastOffer']),
116
+ 'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
117
117
  'lastOfferBy': value['lastOfferBy'],
118
118
  'lastMessageFrom': value['lastMessageFrom'],
119
119
  'lastMessageType': value['lastMessageType'],
120
- 'lastMessageData': (0, IntersectionLeadDtoWithListFieldsDtoLastMessageData_1.IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON)(value['lastMessageData']),
120
+ 'lastMessageData': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['lastMessageData']),
121
121
  'createdAt': ((value['createdAt']).toISOString()),
122
122
  'domainName': value['domainName'],
123
123
  'buyerInitials': value['buyerInitials'],
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { LeadMessageDtoData } from './LeadMessageDtoData';
12
+ import type { LeadMessageData } from './LeadMessageData';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -17,29 +17,35 @@ import type { LeadMessageDtoData } from './LeadMessageDtoData';
17
17
  */
18
18
  export interface LeadMessageDto {
19
19
  /**
20
- * The current id
20
+ * The lead message id
21
21
  * @type {string}
22
22
  * @memberof LeadMessageDto
23
23
  */
24
24
  id: string;
25
25
  /**
26
- * The message type
26
+ * The lead message type
27
27
  * @type {string}
28
28
  * @memberof LeadMessageDto
29
29
  */
30
30
  type: LeadMessageDtoTypeEnum;
31
31
  /**
32
- * The message origin
32
+ * The lead message origin
33
33
  * @type {string}
34
34
  * @memberof LeadMessageDto
35
35
  */
36
36
  origin: LeadMessageDtoOriginEnum;
37
37
  /**
38
- *
39
- * @type {LeadMessageDtoData}
38
+ * Optional data
39
+ * @type {LeadMessageData}
40
40
  * @memberof LeadMessageDto
41
41
  */
42
- data: LeadMessageDtoData | null;
42
+ data: LeadMessageData | null;
43
+ /**
44
+ * The lead message text
45
+ * @type {string}
46
+ * @memberof LeadMessageDto
47
+ */
48
+ message: string | null;
43
49
  /**
44
50
  * Created at date
45
51
  * @type {Date}
@@ -53,11 +59,17 @@ export interface LeadMessageDto {
53
59
  */
54
60
  initials: string;
55
61
  /**
56
- * Optional message *
57
- * @type {string}
62
+ * Seller read indicator *
63
+ * @type {boolean}
58
64
  * @memberof LeadMessageDto
59
65
  */
60
- message: string | null;
66
+ readBySeller: boolean;
67
+ /**
68
+ * Buyer read indicator *
69
+ * @type {boolean}
70
+ * @memberof LeadMessageDto
71
+ */
72
+ readByBuyer: boolean;
61
73
  }
62
74
  /**
63
75
  * @export
@@ -18,7 +18,7 @@ exports.instanceOfLeadMessageDto = instanceOfLeadMessageDto;
18
18
  exports.LeadMessageDtoFromJSON = LeadMessageDtoFromJSON;
19
19
  exports.LeadMessageDtoFromJSONTyped = LeadMessageDtoFromJSONTyped;
20
20
  exports.LeadMessageDtoToJSON = LeadMessageDtoToJSON;
21
- var LeadMessageDtoData_1 = require("./LeadMessageDtoData");
21
+ var LeadMessageData_1 = require("./LeadMessageData");
22
22
  /**
23
23
  * @export
24
24
  */
@@ -46,11 +46,15 @@ function instanceOfLeadMessageDto(value) {
46
46
  return false;
47
47
  if (!('data' in value) || value['data'] === undefined)
48
48
  return false;
49
+ if (!('message' in value) || value['message'] === undefined)
50
+ return false;
49
51
  if (!('createdAt' in value) || value['createdAt'] === undefined)
50
52
  return false;
51
53
  if (!('initials' in value) || value['initials'] === undefined)
52
54
  return false;
53
- if (!('message' in value) || value['message'] === undefined)
55
+ if (!('readBySeller' in value) || value['readBySeller'] === undefined)
56
+ return false;
57
+ if (!('readByBuyer' in value) || value['readByBuyer'] === undefined)
54
58
  return false;
55
59
  return true;
56
60
  }
@@ -65,10 +69,12 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
65
69
  'id': json['id'],
66
70
  'type': json['type'],
67
71
  'origin': json['origin'],
68
- 'data': (0, LeadMessageDtoData_1.LeadMessageDtoDataFromJSON)(json['data']),
72
+ 'data': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['data']),
73
+ 'message': json['message'],
69
74
  'createdAt': (new Date(json['createdAt'])),
70
75
  'initials': json['initials'],
71
- 'message': json['message'],
76
+ 'readBySeller': json['readBySeller'],
77
+ 'readByBuyer': json['readByBuyer'],
72
78
  };
73
79
  }
74
80
  function LeadMessageDtoToJSON(value) {
@@ -79,9 +85,11 @@ function LeadMessageDtoToJSON(value) {
79
85
  'id': value['id'],
80
86
  'type': value['type'],
81
87
  'origin': value['origin'],
82
- 'data': (0, LeadMessageDtoData_1.LeadMessageDtoDataToJSON)(value['data']),
88
+ 'data': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['data']),
89
+ 'message': value['message'],
83
90
  'createdAt': ((value['createdAt']).toISOString()),
84
91
  'initials': value['initials'],
85
- 'message': value['message'],
92
+ 'readBySeller': value['readBySeller'],
93
+ 'readByBuyer': value['readByBuyer'],
86
94
  };
87
95
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { OrderListItemDtoBasePrice } from './OrderListItemDtoBasePrice';
13
12
  import type { OrderListItemDtoDomainInformation } from './OrderListItemDtoDomainInformation';
13
+ import type { MoneyDto } from './MoneyDto';
14
14
  import type { OrderListItemDtoBuyerInformation } from './OrderListItemDtoBuyerInformation';
15
15
  import type { OrderListItemDtoSellerAccount } from './OrderListItemDtoSellerAccount';
16
16
  /**
@@ -56,11 +56,11 @@ export interface OrderListItemDto {
56
56
  */
57
57
  buyerInformation: OrderListItemDtoBuyerInformation;
58
58
  /**
59
- *
60
- * @type {OrderListItemDtoBasePrice}
59
+ * The order base price
60
+ * @type {MoneyDto}
61
61
  * @memberof OrderListItemDto
62
62
  */
63
- basePrice: OrderListItemDtoBasePrice | null;
63
+ basePrice: MoneyDto | null;
64
64
  }
65
65
  /**
66
66
  * @export
@@ -18,8 +18,8 @@ exports.instanceOfOrderListItemDto = instanceOfOrderListItemDto;
18
18
  exports.OrderListItemDtoFromJSON = OrderListItemDtoFromJSON;
19
19
  exports.OrderListItemDtoFromJSONTyped = OrderListItemDtoFromJSONTyped;
20
20
  exports.OrderListItemDtoToJSON = OrderListItemDtoToJSON;
21
- var OrderListItemDtoBasePrice_1 = require("./OrderListItemDtoBasePrice");
22
21
  var OrderListItemDtoDomainInformation_1 = require("./OrderListItemDtoDomainInformation");
22
+ var MoneyDto_1 = require("./MoneyDto");
23
23
  var OrderListItemDtoBuyerInformation_1 = require("./OrderListItemDtoBuyerInformation");
24
24
  var OrderListItemDtoSellerAccount_1 = require("./OrderListItemDtoSellerAccount");
25
25
  /**
@@ -63,7 +63,7 @@ function OrderListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'domain': (0, OrderListItemDtoDomainInformation_1.OrderListItemDtoDomainInformationFromJSON)(json['domain']),
64
64
  'sellerAccount': (0, OrderListItemDtoSellerAccount_1.OrderListItemDtoSellerAccountFromJSON)(json['sellerAccount']),
65
65
  'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationFromJSON)(json['buyerInformation']),
66
- 'basePrice': (0, OrderListItemDtoBasePrice_1.OrderListItemDtoBasePriceFromJSON)(json['basePrice']),
66
+ 'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
67
67
  };
68
68
  }
69
69
  function OrderListItemDtoToJSON(value) {
@@ -77,6 +77,6 @@ function OrderListItemDtoToJSON(value) {
77
77
  'domain': (0, OrderListItemDtoDomainInformation_1.OrderListItemDtoDomainInformationToJSON)(value['domain']),
78
78
  'sellerAccount': (0, OrderListItemDtoSellerAccount_1.OrderListItemDtoSellerAccountToJSON)(value['sellerAccount']),
79
79
  'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationToJSON)(value['buyerInformation']),
80
- 'basePrice': (0, OrderListItemDtoBasePrice_1.OrderListItemDtoBasePriceToJSON)(value['basePrice']),
80
+ 'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
81
81
  };
82
82
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PublicLeadBuyerDto } from './PublicLeadBuyerDto';
13
- import type { PublicLeadDtoLastOffer } from './PublicLeadDtoLastOffer';
13
+ import type { MoneyDto } from './MoneyDto';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -30,11 +30,11 @@ export interface PublicLeadDto {
30
30
  */
31
31
  status: PublicLeadDtoStatusEnum;
32
32
  /**
33
- *
34
- * @type {PublicLeadDtoLastOffer}
33
+ * The last offer price
34
+ * @type {MoneyDto}
35
35
  * @memberof PublicLeadDto
36
36
  */
37
- lastOffer: PublicLeadDtoLastOffer | null;
37
+ lastOffer: MoneyDto | null;
38
38
  /**
39
39
  * The buyer information
40
40
  * @type {PublicLeadBuyerDto}
@@ -19,7 +19,7 @@ exports.PublicLeadDtoFromJSON = PublicLeadDtoFromJSON;
19
19
  exports.PublicLeadDtoFromJSONTyped = PublicLeadDtoFromJSONTyped;
20
20
  exports.PublicLeadDtoToJSON = PublicLeadDtoToJSON;
21
21
  var PublicLeadBuyerDto_1 = require("./PublicLeadBuyerDto");
22
- var PublicLeadDtoLastOffer_1 = require("./PublicLeadDtoLastOffer");
22
+ var MoneyDto_1 = require("./MoneyDto");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -57,7 +57,7 @@ function PublicLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
57
57
  return {
58
58
  'id': json['id'],
59
59
  'status': json['status'],
60
- 'lastOffer': (0, PublicLeadDtoLastOffer_1.PublicLeadDtoLastOfferFromJSON)(json['lastOffer']),
60
+ 'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
61
61
  'buyer': (0, PublicLeadBuyerDto_1.PublicLeadBuyerDtoFromJSON)(json['buyer']),
62
62
  'domainName': json['domainName'],
63
63
  };
@@ -69,7 +69,7 @@ function PublicLeadDtoToJSON(value) {
69
69
  return {
70
70
  'id': value['id'],
71
71
  'status': value['status'],
72
- 'lastOffer': (0, PublicLeadDtoLastOffer_1.PublicLeadDtoLastOfferToJSON)(value['lastOffer']),
72
+ 'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
73
73
  'buyer': (0, PublicLeadBuyerDto_1.PublicLeadBuyerDtoToJSON)(value['buyer']),
74
74
  'domainName': value['domainName'],
75
75
  };
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SellerDomainTransferDomainDto } from './SellerDomainTransferDomainDto';
13
- import type { SellerDomainTransferDtoAuthCode } from './SellerDomainTransferDtoAuthCode';
13
+ import type { SellerDomainTransferAuthCodeDto } from './SellerDomainTransferAuthCodeDto';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -42,11 +42,11 @@ export interface SellerDomainTransferDto {
42
42
  */
43
43
  status: SellerDomainTransferDtoStatusEnum;
44
44
  /**
45
- *
46
- * @type {SellerDomainTransferDtoAuthCode}
45
+ * The domain transfer auth code
46
+ * @type {SellerDomainTransferAuthCodeDto}
47
47
  * @memberof SellerDomainTransferDto
48
48
  */
49
- authCode: SellerDomainTransferDtoAuthCode | null;
49
+ authCode: SellerDomainTransferAuthCodeDto | null;
50
50
  /**
51
51
  * The domain transfer creation date
52
52
  * @type {Date}
@@ -19,7 +19,7 @@ exports.SellerDomainTransferDtoFromJSON = SellerDomainTransferDtoFromJSON;
19
19
  exports.SellerDomainTransferDtoFromJSONTyped = SellerDomainTransferDtoFromJSONTyped;
20
20
  exports.SellerDomainTransferDtoToJSON = SellerDomainTransferDtoToJSON;
21
21
  var SellerDomainTransferDomainDto_1 = require("./SellerDomainTransferDomainDto");
22
- var SellerDomainTransferDtoAuthCode_1 = require("./SellerDomainTransferDtoAuthCode");
22
+ var SellerDomainTransferAuthCodeDto_1 = require("./SellerDomainTransferAuthCodeDto");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -60,7 +60,7 @@ function SellerDomainTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'id': json['id'],
61
61
  'domain': (0, SellerDomainTransferDomainDto_1.SellerDomainTransferDomainDtoFromJSON)(json['domain']),
62
62
  'status': json['status'],
63
- 'authCode': (0, SellerDomainTransferDtoAuthCode_1.SellerDomainTransferDtoAuthCodeFromJSON)(json['authCode']),
63
+ 'authCode': (0, SellerDomainTransferAuthCodeDto_1.SellerDomainTransferAuthCodeDtoFromJSON)(json['authCode']),
64
64
  'createdAt': (new Date(json['createdAt'])),
65
65
  };
66
66
  }
@@ -73,7 +73,7 @@ function SellerDomainTransferDtoToJSON(value) {
73
73
  'id': value['id'],
74
74
  'domain': (0, SellerDomainTransferDomainDto_1.SellerDomainTransferDomainDtoToJSON)(value['domain']),
75
75
  'status': value['status'],
76
- 'authCode': (0, SellerDomainTransferDtoAuthCode_1.SellerDomainTransferDtoAuthCodeToJSON)(value['authCode']),
76
+ 'authCode': (0, SellerDomainTransferAuthCodeDto_1.SellerDomainTransferAuthCodeDtoToJSON)(value['authCode']),
77
77
  'createdAt': ((value['createdAt']).toISOString()),
78
78
  };
79
79
  }
@@ -4,14 +4,20 @@ export * from './AccountDto';
4
4
  export * from './AccountFinancialInput';
5
5
  export * from './AccountSettingsInput';
6
6
  export * from './AdminGetAllDomainTransfers200Response';
7
+ export * from './BadRequestException';
8
+ export * from './BatchReadBuyerLeadMessageInput';
9
+ export * from './BatchReadSellerLeadMessageInput';
7
10
  export * from './BatchUpdateDomainsInput';
8
11
  export * from './BuyerDomainTransferAuthCodeDto';
9
12
  export * from './BuyerDomainTransferListItemDomainDto';
10
13
  export * from './BuyerDomainTransferListItemDto';
14
+ export * from './BuyerLeadListItemDomainDto';
15
+ export * from './BuyerLeadListItemDto';
11
16
  export * from './BuyerUserDto';
12
17
  export * from './ChangeOrderStatusInput';
13
18
  export * from './ChartDataPoint';
14
19
  export * from './ConflictException';
20
+ export * from './CreateBuyerLeadMessageInput';
15
21
  export * from './CreateLeadInput';
16
22
  export * from './CreateLeadMessageInput';
17
23
  export * from './CreateOrderInput';
@@ -26,7 +32,6 @@ export * from './DomainTransferDetailWorkflowStepDto';
26
32
  export * from './DomainTransferDetailsAuthCodeDto';
27
33
  export * from './DomainTransferDetailsDomainDto';
28
34
  export * from './DomainTransferDetailsDto';
29
- export * from './DomainTransferDetailsDtoAuthCode';
30
35
  export * from './DomainTransferDetailsOrderBuyerDto';
31
36
  export * from './DomainTransferDetailsOrderDto';
32
37
  export * from './DomainTransferDetailsOrderSellerDto';
@@ -34,11 +39,11 @@ export * from './DomainTransferDetailsOrderSellerUserDto';
34
39
  export * from './DomainTransferDetailsValidationDto';
35
40
  export * from './DomainTransferDomainDto';
36
41
  export * from './DomainTransferDto';
37
- export * from './DomainTransferDtoAgent';
38
42
  export * from './DomainTransferOrderDto';
39
43
  export * from './ForgotPasswordRequestInput';
40
44
  export * from './GetAllDomainTransfers200Response';
41
45
  export * from './GetAllOrders200Response';
46
+ export * from './GetBuyerLeads200Response';
42
47
  export * from './GetBuyerTransfers200Response';
43
48
  export * from './HttpException';
44
49
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
@@ -46,15 +51,10 @@ export * from './IntersectionDomainDtoWithAccountDto';
46
51
  export * from './IntersectionDomainDtoWithDomainUrlDto';
47
52
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
48
53
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
49
- export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice';
50
- export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice';
51
54
  export * from './IntersectionLeadDtoWithLeadDetailsDto';
52
55
  export * from './IntersectionLeadDtoWithListFieldsDto';
53
- export * from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';
54
- export * from './IntersectionLeadDtoWithListFieldsDtoLastOffer';
55
56
  export * from './LeadMessageData';
56
57
  export * from './LeadMessageDto';
57
- export * from './LeadMessageDtoData';
58
58
  export * from './LeadStatusDto';
59
59
  export * from './List200Response';
60
60
  export * from './List200Response1';
@@ -69,7 +69,6 @@ export * from './NotFoundException';
69
69
  export * from './ObjectId';
70
70
  export * from './OrderDto';
71
71
  export * from './OrderListItemDto';
72
- export * from './OrderListItemDtoBasePrice';
73
72
  export * from './OrderListItemDtoBuyerInformation';
74
73
  export * from './OrderListItemDtoDomainInformation';
75
74
  export * from './OrderListItemDtoSellerAccount';
@@ -78,7 +77,6 @@ export * from './PaginateResponseLinks';
78
77
  export * from './PaginateResponseMeta';
79
78
  export * from './PublicLeadBuyerDto';
80
79
  export * from './PublicLeadDto';
81
- export * from './PublicLeadDtoLastOffer';
82
80
  export * from './PutLeadOfferInput';
83
81
  export * from './RegisterAccountInput';
84
82
  export * from './RelatedSellerDomain';
@@ -87,7 +85,6 @@ export * from './SecurityUserDto';
87
85
  export * from './SellerDomainTransferAuthCodeDto';
88
86
  export * from './SellerDomainTransferDomainDto';
89
87
  export * from './SellerDomainTransferDto';
90
- export * from './SellerDomainTransferDtoAuthCode';
91
88
  export * from './SellerDomainTransferListItemDomainDto';
92
89
  export * from './SellerDomainTransferListItemDto';
93
90
  export * from './SetDomainTransferConfirmationInput';