@randock/nameshift-api-client 0.0.41 → 0.0.43

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 (219) hide show
  1. package/.openapi-generator/FILES +4 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/dist/apis/AdminApi.d.ts +1 -14
  5. package/dist/apis/AdminApi.js +6 -65
  6. package/dist/apis/DomainsApi.d.ts +24 -1
  7. package/dist/apis/DomainsApi.js +118 -9
  8. package/dist/models/AccountAddressDto.d.ts +1 -1
  9. package/dist/models/AccountAddressDto.js +5 -5
  10. package/dist/models/AccountAddressInput.d.ts +1 -1
  11. package/dist/models/AccountAddressInput.js +5 -5
  12. package/dist/models/AccountDto.d.ts +1 -1
  13. package/dist/models/AccountDto.js +2 -2
  14. package/dist/models/AccountFinancialInput.d.ts +1 -1
  15. package/dist/models/AccountFinancialInput.js +4 -4
  16. package/dist/models/AccountSettingsInput.d.ts +1 -1
  17. package/dist/models/AdminGetAllDomainTransfers200Response.d.ts +1 -1
  18. package/dist/models/AdminGetAllDomainTransfers200Response.js +3 -3
  19. package/dist/models/BatchUpdateDomainsInput.d.ts +1 -1
  20. package/dist/models/BatchUpdateDomainsInput.js +2 -2
  21. package/dist/models/BuyDomainInput.d.ts +1 -1
  22. package/dist/models/BuyDomainInput.js +10 -10
  23. package/dist/models/ChangeOrderStatusInput.d.ts +1 -1
  24. package/dist/models/ChangeOrderStatusInput.js +1 -1
  25. package/dist/models/ConflictException.d.ts +1 -1
  26. package/dist/models/ConflictException.js +4 -4
  27. package/dist/models/CreateLeadInput.d.ts +1 -1
  28. package/dist/models/CreateLeadInput.js +8 -8
  29. package/dist/models/CreateLeadMessageInput.d.ts +1 -1
  30. package/dist/models/CreateLeadMessageInput.js +1 -1
  31. package/dist/models/DashboardStatsDto.d.ts +1 -1
  32. package/dist/models/DashboardStatsDto.js +3 -3
  33. package/dist/models/DeleteDomainsInput.d.ts +1 -1
  34. package/dist/models/DeleteDomainsInput.js +1 -1
  35. package/dist/models/DomainDto.d.ts +1 -1
  36. package/dist/models/DomainDto.js +8 -8
  37. package/dist/models/DomainSalesInformationDto.d.ts +1 -1
  38. package/dist/models/DomainSalesInformationDto.js +4 -4
  39. package/dist/models/DomainSellerDto.d.ts +1 -1
  40. package/dist/models/DomainSellerDto.js +3 -3
  41. package/dist/models/DomainTransferAgentDto.d.ts +1 -1
  42. package/dist/models/DomainTransferAgentDto.js +2 -2
  43. package/dist/models/DomainTransferDomainDto.d.ts +1 -1
  44. package/dist/models/DomainTransferDomainDto.js +3 -3
  45. package/dist/models/DomainTransferDto.d.ts +1 -1
  46. package/dist/models/DomainTransferDto.js +6 -6
  47. package/dist/models/DomainTransferDtoAgent.d.ts +1 -1
  48. package/dist/models/DomainTransferDtoAgent.js +2 -2
  49. package/dist/models/DomainTransferOrderDto.d.ts +1 -1
  50. package/dist/models/DomainTransferOrderDto.js +3 -3
  51. package/dist/models/ForgotPasswordRequestInput.d.ts +1 -1
  52. package/dist/models/ForgotPasswordRequestInput.js +1 -1
  53. package/dist/models/GetAllDomainTransfers200Response.d.ts +4 -4
  54. package/dist/models/GetAllDomainTransfers200Response.js +6 -6
  55. package/dist/models/HttpException.d.ts +1 -1
  56. package/dist/models/HttpException.js +3 -3
  57. package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +1 -1
  58. package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +5 -5
  59. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +1 -1
  60. package/dist/models/IntersectionDomainDtoWithAccountDto.js +9 -9
  61. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +1 -1
  62. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +10 -10
  63. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +1 -1
  64. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +6 -6
  65. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +1 -1
  66. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +12 -12
  67. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +1 -1
  68. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +1 -1
  69. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +1 -1
  70. package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +2 -2
  71. package/dist/models/LeadMessageData.d.ts +1 -1
  72. package/dist/models/LeadMessageData.js +1 -1
  73. package/dist/models/LeadMessageDto.d.ts +1 -1
  74. package/dist/models/LeadMessageDto.js +7 -7
  75. package/dist/models/LeadMessageDtoData.d.ts +1 -1
  76. package/dist/models/LeadMessageDtoData.js +1 -1
  77. package/dist/models/LeadStatusDto.d.ts +1 -1
  78. package/dist/models/LeadStatusDto.js +1 -1
  79. package/dist/models/List200Response.d.ts +1 -1
  80. package/dist/models/List200Response.js +3 -3
  81. package/dist/models/ListAccountDto.d.ts +1 -1
  82. package/dist/models/ListAccountDto.js +4 -4
  83. package/dist/models/ListAccounts200Response.d.ts +1 -1
  84. package/dist/models/ListAccounts200Response.js +3 -3
  85. package/dist/models/ListLeadMessagesDto.d.ts +1 -1
  86. package/dist/models/ListLeadMessagesDto.js +1 -1
  87. package/dist/models/LoginDto.d.ts +1 -1
  88. package/dist/models/LoginDto.js +2 -2
  89. package/dist/models/LoginInput.d.ts +1 -1
  90. package/dist/models/LoginInput.js +2 -2
  91. package/dist/models/MoneyDto.d.ts +1 -1
  92. package/dist/models/MoneyDto.js +2 -2
  93. package/dist/models/MoneyInput.d.ts +1 -1
  94. package/dist/models/MoneyInput.js +2 -2
  95. package/dist/models/NotFoundException.d.ts +1 -1
  96. package/dist/models/NotFoundException.js +3 -3
  97. package/dist/models/ObjectId.d.ts +1 -1
  98. package/dist/models/ObjectId.js +1 -1
  99. package/dist/models/PaginateResponse.d.ts +1 -1
  100. package/dist/models/PaginateResponse.js +3 -3
  101. package/dist/models/PaginateResponseLinks.d.ts +1 -1
  102. package/dist/models/PaginateResponseMeta.d.ts +1 -1
  103. package/dist/models/PutLeadInput.d.ts +1 -1
  104. package/dist/models/PutLeadInput.js +1 -1
  105. package/dist/models/RegisterAccountInput.d.ts +1 -1
  106. package/dist/models/RegisterAccountInput.js +4 -4
  107. package/dist/models/RelatedSellerDomain.d.ts +1 -1
  108. package/dist/models/RelatedSellerDomain.js +4 -4
  109. package/dist/models/SecurityUserDto.d.ts +1 -1
  110. package/dist/models/SecurityUserDto.js +6 -6
  111. package/dist/models/SellerDomainTransferAuthCodeDto.d.ts +37 -0
  112. package/dist/models/SellerDomainTransferAuthCodeDto.js +51 -0
  113. package/dist/models/SellerDomainTransferDomainDto.d.ts +1 -1
  114. package/dist/models/SellerDomainTransferDomainDto.js +3 -3
  115. package/dist/models/SellerDomainTransferDto.d.ts +18 -11
  116. package/dist/models/SellerDomainTransferDto.js +19 -14
  117. package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +37 -0
  118. package/dist/models/SellerDomainTransferDtoAuthCode.js +51 -0
  119. package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +43 -0
  120. package/dist/models/SellerDomainTransferListItemDomainDto.js +55 -0
  121. package/dist/models/SellerDomainTransferListItemDto.d.ts +74 -0
  122. package/dist/models/SellerDomainTransferListItemDto.js +80 -0
  123. package/dist/models/SetNewPasswordInput.d.ts +1 -1
  124. package/dist/models/SetNewPasswordInput.js +1 -1
  125. package/dist/models/ThrottlerException.d.ts +1 -1
  126. package/dist/models/ThrottlerException.js +3 -3
  127. package/dist/models/UpdateDomainInput.d.ts +1 -1
  128. package/dist/models/UpdateDomainTransferAuthCodeInput.d.ts +1 -1
  129. package/dist/models/UpdateDomainTransferAuthCodeInput.js +2 -2
  130. package/dist/models/UserPasswordResetDto.d.ts +1 -1
  131. package/dist/models/UserPasswordResetDto.js +2 -2
  132. package/dist/models/ValidationError.d.ts +1 -1
  133. package/dist/models/ValidationError.js +3 -3
  134. package/dist/models/ValidationException.d.ts +1 -1
  135. package/dist/models/ValidationException.js +3 -3
  136. package/dist/models/VerifyLeadInput.d.ts +1 -1
  137. package/dist/models/VerifyLeadInput.js +1 -1
  138. package/dist/models/WithFinancialDtoInner.d.ts +1 -1
  139. package/dist/models/WithFinancialDtoInner.js +4 -4
  140. package/dist/models/WithSettingsInner.d.ts +1 -1
  141. package/dist/models/WithSettingsInner.js +2 -2
  142. package/dist/models/index.d.ts +4 -1
  143. package/dist/models/index.js +4 -1
  144. package/package.json +2 -2
  145. package/src/apis/AdminApi.ts +0 -69
  146. package/src/apis/DomainsApi.ts +106 -0
  147. package/src/models/AccountAddressDto.ts +6 -6
  148. package/src/models/AccountAddressInput.ts +6 -6
  149. package/src/models/AccountDto.ts +3 -3
  150. package/src/models/AccountFinancialInput.ts +5 -5
  151. package/src/models/AccountSettingsInput.ts +1 -1
  152. package/src/models/AdminGetAllDomainTransfers200Response.ts +4 -4
  153. package/src/models/BatchUpdateDomainsInput.ts +3 -3
  154. package/src/models/BuyDomainInput.ts +11 -11
  155. package/src/models/ChangeOrderStatusInput.ts +2 -2
  156. package/src/models/ConflictException.ts +5 -5
  157. package/src/models/CreateLeadInput.ts +9 -9
  158. package/src/models/CreateLeadMessageInput.ts +2 -2
  159. package/src/models/DashboardStatsDto.ts +4 -4
  160. package/src/models/DeleteDomainsInput.ts +2 -2
  161. package/src/models/DomainDto.ts +9 -9
  162. package/src/models/DomainSalesInformationDto.ts +5 -5
  163. package/src/models/DomainSellerDto.ts +4 -4
  164. package/src/models/DomainTransferAgentDto.ts +3 -3
  165. package/src/models/DomainTransferDomainDto.ts +4 -4
  166. package/src/models/DomainTransferDto.ts +7 -7
  167. package/src/models/DomainTransferDtoAgent.ts +3 -3
  168. package/src/models/DomainTransferOrderDto.ts +4 -4
  169. package/src/models/ForgotPasswordRequestInput.ts +2 -2
  170. package/src/models/GetAllDomainTransfers200Response.ts +13 -13
  171. package/src/models/HttpException.ts +4 -4
  172. package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +6 -6
  173. package/src/models/IntersectionDomainDtoWithAccountDto.ts +10 -10
  174. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +11 -11
  175. package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +7 -7
  176. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +13 -13
  177. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +2 -2
  178. package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +3 -3
  179. package/src/models/LeadMessageData.ts +2 -2
  180. package/src/models/LeadMessageDto.ts +8 -8
  181. package/src/models/LeadMessageDtoData.ts +2 -2
  182. package/src/models/LeadStatusDto.ts +2 -2
  183. package/src/models/List200Response.ts +4 -4
  184. package/src/models/ListAccountDto.ts +5 -5
  185. package/src/models/ListAccounts200Response.ts +4 -4
  186. package/src/models/ListLeadMessagesDto.ts +2 -2
  187. package/src/models/LoginDto.ts +3 -3
  188. package/src/models/LoginInput.ts +3 -3
  189. package/src/models/MoneyDto.ts +3 -3
  190. package/src/models/MoneyInput.ts +3 -3
  191. package/src/models/NotFoundException.ts +4 -4
  192. package/src/models/ObjectId.ts +2 -2
  193. package/src/models/PaginateResponse.ts +4 -4
  194. package/src/models/PaginateResponseLinks.ts +1 -1
  195. package/src/models/PaginateResponseMeta.ts +1 -1
  196. package/src/models/PutLeadInput.ts +2 -2
  197. package/src/models/RegisterAccountInput.ts +5 -5
  198. package/src/models/RelatedSellerDomain.ts +5 -5
  199. package/src/models/SecurityUserDto.ts +7 -7
  200. package/src/models/SellerDomainTransferAuthCodeDto.ts +70 -0
  201. package/src/models/SellerDomainTransferDomainDto.ts +4 -4
  202. package/src/models/SellerDomainTransferDto.ts +34 -19
  203. package/src/models/SellerDomainTransferDtoAuthCode.ts +70 -0
  204. package/src/models/SellerDomainTransferListItemDomainDto.ts +79 -0
  205. package/src/models/SellerDomainTransferListItemDto.ts +126 -0
  206. package/src/models/SetNewPasswordInput.ts +2 -2
  207. package/src/models/ThrottlerException.ts +4 -4
  208. package/src/models/UpdateDomainInput.ts +1 -1
  209. package/src/models/UpdateDomainTransferAuthCodeInput.ts +3 -3
  210. package/src/models/UserPasswordResetDto.ts +3 -3
  211. package/src/models/ValidationError.ts +4 -4
  212. package/src/models/ValidationException.ts +4 -4
  213. package/src/models/VerifyLeadInput.ts +2 -2
  214. package/src/models/WithFinancialDtoInner.ts +5 -5
  215. package/src/models/WithSettingsInner.ts +3 -3
  216. package/src/models/index.ts +4 -1
  217. package/dist/models/ForbiddenException.d.ts +0 -43
  218. package/dist/models/ForbiddenException.js +0 -55
  219. package/src/models/ForbiddenException.ts +0 -79
@@ -37,17 +37,17 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoLastOfferByEnum = {
37
37
  * Check if a given object implements the IntersectionLeadDtoWithLeadDetailsDto interface.
38
38
  */
39
39
  function instanceOfIntersectionLeadDtoWithLeadDetailsDto(value) {
40
- if (!('id' in value))
40
+ if (!('id' in value) || value['id'] === undefined)
41
41
  return false;
42
- if (!('status' in value))
42
+ if (!('status' in value) || value['status'] === undefined)
43
43
  return false;
44
- if (!('lastOffer' in value))
44
+ if (!('lastOffer' in value) || value['lastOffer'] === undefined)
45
45
  return false;
46
- if (!('lastOfferBy' in value))
46
+ if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
47
47
  return false;
48
- if (!('domain' in value))
48
+ if (!('domain' in value) || value['domain'] === undefined)
49
49
  return false;
50
- if (!('createdAt' in value))
50
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
51
51
  return false;
52
52
  return true;
53
53
  }
@@ -129,7 +129,7 @@ export type IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = typeof Int
129
129
  /**
130
130
  * Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
131
131
  */
132
- export declare function instanceOfIntersectionLeadDtoWithListFieldsDto(value: object): boolean;
132
+ export declare function instanceOfIntersectionLeadDtoWithListFieldsDto(value: object): value is IntersectionLeadDtoWithListFieldsDto;
133
133
  export declare function IntersectionLeadDtoWithListFieldsDtoFromJSON(json: any): IntersectionLeadDtoWithListFieldsDto;
134
134
  export declare function IntersectionLeadDtoWithListFieldsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithListFieldsDto;
135
135
  export declare function IntersectionLeadDtoWithListFieldsDtoToJSON(value?: IntersectionLeadDtoWithListFieldsDto | null): any;
@@ -52,29 +52,29 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastMessageTypeEnum = {
52
52
  * Check if a given object implements the IntersectionLeadDtoWithListFieldsDto interface.
53
53
  */
54
54
  function instanceOfIntersectionLeadDtoWithListFieldsDto(value) {
55
- if (!('id' in value))
55
+ if (!('id' in value) || value['id'] === undefined)
56
56
  return false;
57
- if (!('status' in value))
57
+ if (!('status' in value) || value['status'] === undefined)
58
58
  return false;
59
- if (!('lastOffer' in value))
59
+ if (!('lastOffer' in value) || value['lastOffer'] === undefined)
60
60
  return false;
61
- if (!('lastOfferBy' in value))
61
+ if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
62
62
  return false;
63
- if (!('lastMessageFrom' in value))
63
+ if (!('lastMessageFrom' in value) || value['lastMessageFrom'] === undefined)
64
64
  return false;
65
- if (!('lastMessageType' in value))
65
+ if (!('lastMessageType' in value) || value['lastMessageType'] === undefined)
66
66
  return false;
67
- if (!('lastMessageData' in value))
67
+ if (!('lastMessageData' in value) || value['lastMessageData'] === undefined)
68
68
  return false;
69
- if (!('createdAt' in value))
69
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
70
70
  return false;
71
- if (!('domainName' in value))
71
+ if (!('domainName' in value) || value['domainName'] === undefined)
72
72
  return false;
73
- if (!('buyerInitials' in value))
73
+ if (!('buyerInitials' in value) || value['buyerInitials'] === undefined)
74
74
  return false;
75
- if (!('lastMessageMessage' in value))
75
+ if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
76
76
  return false;
77
- if (!('lastMessageDate' in value))
77
+ if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
78
78
  return false;
79
79
  return true;
80
80
  }
@@ -26,7 +26,7 @@ export interface IntersectionLeadDtoWithListFieldsDtoLastMessageData {
26
26
  /**
27
27
  * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastMessageData interface.
28
28
  */
29
- export declare function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value: object): boolean;
29
+ export declare function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value: object): value is IntersectionLeadDtoWithListFieldsDtoLastMessageData;
30
30
  export declare function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSON(json: any): IntersectionLeadDtoWithListFieldsDtoLastMessageData;
31
31
  export declare function IntersectionLeadDtoWithListFieldsDtoLastMessageDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithListFieldsDtoLastMessageData;
32
32
  export declare function IntersectionLeadDtoWithListFieldsDtoLastMessageDataToJSON(value?: IntersectionLeadDtoWithListFieldsDtoLastMessageData | null): any;
@@ -19,7 +19,7 @@ var MoneyDto_1 = require("./MoneyDto");
19
19
  * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastMessageData interface.
20
20
  */
21
21
  function instanceOfIntersectionLeadDtoWithListFieldsDtoLastMessageData(value) {
22
- if (!('price' in value))
22
+ if (!('price' in value) || value['price'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -31,7 +31,7 @@ export interface IntersectionLeadDtoWithListFieldsDtoLastOffer {
31
31
  /**
32
32
  * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastOffer interface.
33
33
  */
34
- export declare function instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer(value: object): boolean;
34
+ export declare function instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer(value: object): value is IntersectionLeadDtoWithListFieldsDtoLastOffer;
35
35
  export declare function IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSON(json: any): IntersectionLeadDtoWithListFieldsDtoLastOffer;
36
36
  export declare function IntersectionLeadDtoWithListFieldsDtoLastOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithListFieldsDtoLastOffer;
37
37
  export declare function IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON(value?: IntersectionLeadDtoWithListFieldsDtoLastOffer | null): any;
@@ -18,9 +18,9 @@ exports.IntersectionLeadDtoWithListFieldsDtoLastOfferToJSON = exports.Intersecti
18
18
  * Check if a given object implements the IntersectionLeadDtoWithListFieldsDtoLastOffer interface.
19
19
  */
20
20
  function instanceOfIntersectionLeadDtoWithListFieldsDtoLastOffer(value) {
21
- if (!('amount' in value))
21
+ if (!('amount' in value) || value['amount'] === undefined)
22
22
  return false;
23
- if (!('currencyCode' in value))
23
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
24
24
  return false;
25
25
  return true;
26
26
  }
@@ -26,7 +26,7 @@ export interface LeadMessageData {
26
26
  /**
27
27
  * Check if a given object implements the LeadMessageData interface.
28
28
  */
29
- export declare function instanceOfLeadMessageData(value: object): boolean;
29
+ export declare function instanceOfLeadMessageData(value: object): value is LeadMessageData;
30
30
  export declare function LeadMessageDataFromJSON(json: any): LeadMessageData;
31
31
  export declare function LeadMessageDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageData;
32
32
  export declare function LeadMessageDataToJSON(value?: LeadMessageData | null): any;
@@ -19,7 +19,7 @@ var MoneyDto_1 = require("./MoneyDto");
19
19
  * Check if a given object implements the LeadMessageData interface.
20
20
  */
21
21
  function instanceOfLeadMessageData(value) {
22
- if (!('price' in value))
22
+ if (!('price' in value) || value['price'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -79,7 +79,7 @@ export type LeadMessageDtoOriginEnum = typeof LeadMessageDtoOriginEnum[keyof typ
79
79
  /**
80
80
  * Check if a given object implements the LeadMessageDto interface.
81
81
  */
82
- export declare function instanceOfLeadMessageDto(value: object): boolean;
82
+ export declare function instanceOfLeadMessageDto(value: object): value is LeadMessageDto;
83
83
  export declare function LeadMessageDtoFromJSON(json: any): LeadMessageDto;
84
84
  export declare function LeadMessageDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageDto;
85
85
  export declare function LeadMessageDtoToJSON(value?: LeadMessageDto | null): any;
@@ -34,19 +34,19 @@ exports.LeadMessageDtoOriginEnum = {
34
34
  * Check if a given object implements the LeadMessageDto interface.
35
35
  */
36
36
  function instanceOfLeadMessageDto(value) {
37
- if (!('id' in value))
37
+ if (!('id' in value) || value['id'] === undefined)
38
38
  return false;
39
- if (!('type' in value))
39
+ if (!('type' in value) || value['type'] === undefined)
40
40
  return false;
41
- if (!('origin' in value))
41
+ if (!('origin' in value) || value['origin'] === undefined)
42
42
  return false;
43
- if (!('data' in value))
43
+ if (!('data' in value) || value['data'] === undefined)
44
44
  return false;
45
- if (!('createdAt' in value))
45
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
46
46
  return false;
47
- if (!('initials' in value))
47
+ if (!('initials' in value) || value['initials'] === undefined)
48
48
  return false;
49
- if (!('message' in value))
49
+ if (!('message' in value) || value['message'] === undefined)
50
50
  return false;
51
51
  return true;
52
52
  }
@@ -26,7 +26,7 @@ export interface LeadMessageDtoData {
26
26
  /**
27
27
  * Check if a given object implements the LeadMessageDtoData interface.
28
28
  */
29
- export declare function instanceOfLeadMessageDtoData(value: object): boolean;
29
+ export declare function instanceOfLeadMessageDtoData(value: object): value is LeadMessageDtoData;
30
30
  export declare function LeadMessageDtoDataFromJSON(json: any): LeadMessageDtoData;
31
31
  export declare function LeadMessageDtoDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageDtoData;
32
32
  export declare function LeadMessageDtoDataToJSON(value?: LeadMessageDtoData | null): any;
@@ -19,7 +19,7 @@ var MoneyDto_1 = require("./MoneyDto");
19
19
  * Check if a given object implements the LeadMessageDtoData interface.
20
20
  */
21
21
  function instanceOfLeadMessageDtoData(value) {
22
- if (!('price' in value))
22
+ if (!('price' in value) || value['price'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -35,7 +35,7 @@ export type LeadStatusDtoStatusEnum = typeof LeadStatusDtoStatusEnum[keyof typeo
35
35
  /**
36
36
  * Check if a given object implements the LeadStatusDto interface.
37
37
  */
38
- export declare function instanceOfLeadStatusDto(value: object): boolean;
38
+ export declare function instanceOfLeadStatusDto(value: object): value is LeadStatusDto;
39
39
  export declare function LeadStatusDtoFromJSON(json: any): LeadStatusDto;
40
40
  export declare function LeadStatusDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadStatusDto;
41
41
  export declare function LeadStatusDtoToJSON(value?: LeadStatusDto | null): any;
@@ -27,7 +27,7 @@ exports.LeadStatusDtoStatusEnum = {
27
27
  * Check if a given object implements the LeadStatusDto interface.
28
28
  */
29
29
  function instanceOfLeadStatusDto(value) {
30
- if (!('status' in value))
30
+ if (!('status' in value) || value['status'] === undefined)
31
31
  return false;
32
32
  return true;
33
33
  }
@@ -40,7 +40,7 @@ export interface List200Response {
40
40
  /**
41
41
  * Check if a given object implements the List200Response interface.
42
42
  */
43
- export declare function instanceOfList200Response(value: object): boolean;
43
+ export declare function instanceOfList200Response(value: object): value is List200Response;
44
44
  export declare function List200ResponseFromJSON(json: any): List200Response;
45
45
  export declare function List200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response;
46
46
  export declare function List200ResponseToJSON(value?: List200Response | null): any;
@@ -21,11 +21,11 @@ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
21
21
  * Check if a given object implements the List200Response interface.
22
22
  */
23
23
  function instanceOfList200Response(value) {
24
- if (!('data' in value))
24
+ if (!('data' in value) || value['data'] === undefined)
25
25
  return false;
26
- if (!('meta' in value))
26
+ if (!('meta' in value) || value['meta'] === undefined)
27
27
  return false;
28
- if (!('links' in value))
28
+ if (!('links' in value) || value['links'] === undefined)
29
29
  return false;
30
30
  return true;
31
31
  }
@@ -43,7 +43,7 @@ export interface ListAccountDto {
43
43
  /**
44
44
  * Check if a given object implements the ListAccountDto interface.
45
45
  */
46
- export declare function instanceOfListAccountDto(value: object): boolean;
46
+ export declare function instanceOfListAccountDto(value: object): value is ListAccountDto;
47
47
  export declare function ListAccountDtoFromJSON(json: any): ListAccountDto;
48
48
  export declare function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountDto;
49
49
  export declare function ListAccountDtoToJSON(value?: ListAccountDto | null): any;
@@ -18,13 +18,13 @@ exports.ListAccountDtoToJSON = exports.ListAccountDtoFromJSONTyped = exports.Lis
18
18
  * Check if a given object implements the ListAccountDto interface.
19
19
  */
20
20
  function instanceOfListAccountDto(value) {
21
- if (!('id' in value))
21
+ if (!('id' in value) || value['id'] === undefined)
22
22
  return false;
23
- if (!('createdAt' in value))
23
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
24
24
  return false;
25
- if (!('name' in value))
25
+ if (!('name' in value) || value['name'] === undefined)
26
26
  return false;
27
- if (!('companyName' in value))
27
+ if (!('companyName' in value) || value['companyName'] === undefined)
28
28
  return false;
29
29
  return true;
30
30
  }
@@ -40,7 +40,7 @@ export interface ListAccounts200Response {
40
40
  /**
41
41
  * Check if a given object implements the ListAccounts200Response interface.
42
42
  */
43
- export declare function instanceOfListAccounts200Response(value: object): boolean;
43
+ export declare function instanceOfListAccounts200Response(value: object): value is ListAccounts200Response;
44
44
  export declare function ListAccounts200ResponseFromJSON(json: any): ListAccounts200Response;
45
45
  export declare function ListAccounts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccounts200Response;
46
46
  export declare function ListAccounts200ResponseToJSON(value?: ListAccounts200Response | null): any;
@@ -21,11 +21,11 @@ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
21
21
  * Check if a given object implements the ListAccounts200Response interface.
22
22
  */
23
23
  function instanceOfListAccounts200Response(value) {
24
- if (!('data' in value))
24
+ if (!('data' in value) || value['data'] === undefined)
25
25
  return false;
26
- if (!('meta' in value))
26
+ if (!('meta' in value) || value['meta'] === undefined)
27
27
  return false;
28
- if (!('links' in value))
28
+ if (!('links' in value) || value['links'] === undefined)
29
29
  return false;
30
30
  return true;
31
31
  }
@@ -26,7 +26,7 @@ export interface ListLeadMessagesDto {
26
26
  /**
27
27
  * Check if a given object implements the ListLeadMessagesDto interface.
28
28
  */
29
- export declare function instanceOfListLeadMessagesDto(value: object): boolean;
29
+ export declare function instanceOfListLeadMessagesDto(value: object): value is ListLeadMessagesDto;
30
30
  export declare function ListLeadMessagesDtoFromJSON(json: any): ListLeadMessagesDto;
31
31
  export declare function ListLeadMessagesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListLeadMessagesDto;
32
32
  export declare function ListLeadMessagesDtoToJSON(value?: ListLeadMessagesDto | null): any;
@@ -19,7 +19,7 @@ var LeadMessageDto_1 = require("./LeadMessageDto");
19
19
  * Check if a given object implements the ListLeadMessagesDto interface.
20
20
  */
21
21
  function instanceOfListLeadMessagesDto(value) {
22
- if (!('messages' in value))
22
+ if (!('messages' in value) || value['messages'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -31,7 +31,7 @@ export interface LoginDto {
31
31
  /**
32
32
  * Check if a given object implements the LoginDto interface.
33
33
  */
34
- export declare function instanceOfLoginDto(value: object): boolean;
34
+ export declare function instanceOfLoginDto(value: object): value is LoginDto;
35
35
  export declare function LoginDtoFromJSON(json: any): LoginDto;
36
36
  export declare function LoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginDto;
37
37
  export declare function LoginDtoToJSON(value?: LoginDto | null): any;
@@ -18,9 +18,9 @@ exports.LoginDtoToJSON = exports.LoginDtoFromJSONTyped = exports.LoginDtoFromJSO
18
18
  * Check if a given object implements the LoginDto interface.
19
19
  */
20
20
  function instanceOfLoginDto(value) {
21
- if (!('token' in value))
21
+ if (!('token' in value) || value['token'] === undefined)
22
22
  return false;
23
- if (!('locale' in value))
23
+ if (!('locale' in value) || value['locale'] === undefined)
24
24
  return false;
25
25
  return true;
26
26
  }
@@ -31,7 +31,7 @@ export interface LoginInput {
31
31
  /**
32
32
  * Check if a given object implements the LoginInput interface.
33
33
  */
34
- export declare function instanceOfLoginInput(value: object): boolean;
34
+ export declare function instanceOfLoginInput(value: object): value is LoginInput;
35
35
  export declare function LoginInputFromJSON(json: any): LoginInput;
36
36
  export declare function LoginInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginInput;
37
37
  export declare function LoginInputToJSON(value?: LoginInput | null): any;
@@ -18,9 +18,9 @@ exports.LoginInputToJSON = exports.LoginInputFromJSONTyped = exports.LoginInputF
18
18
  * Check if a given object implements the LoginInput interface.
19
19
  */
20
20
  function instanceOfLoginInput(value) {
21
- if (!('email' in value))
21
+ if (!('email' in value) || value['email'] === undefined)
22
22
  return false;
23
- if (!('password' in value))
23
+ if (!('password' in value) || value['password'] === undefined)
24
24
  return false;
25
25
  return true;
26
26
  }
@@ -31,7 +31,7 @@ export interface MoneyDto {
31
31
  /**
32
32
  * Check if a given object implements the MoneyDto interface.
33
33
  */
34
- export declare function instanceOfMoneyDto(value: object): boolean;
34
+ export declare function instanceOfMoneyDto(value: object): value is MoneyDto;
35
35
  export declare function MoneyDtoFromJSON(json: any): MoneyDto;
36
36
  export declare function MoneyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyDto;
37
37
  export declare function MoneyDtoToJSON(value?: MoneyDto | null): any;
@@ -18,9 +18,9 @@ exports.MoneyDtoToJSON = exports.MoneyDtoFromJSONTyped = exports.MoneyDtoFromJSO
18
18
  * Check if a given object implements the MoneyDto interface.
19
19
  */
20
20
  function instanceOfMoneyDto(value) {
21
- if (!('amount' in value))
21
+ if (!('amount' in value) || value['amount'] === undefined)
22
22
  return false;
23
- if (!('currencyCode' in value))
23
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
24
24
  return false;
25
25
  return true;
26
26
  }
@@ -31,7 +31,7 @@ export interface MoneyInput {
31
31
  /**
32
32
  * Check if a given object implements the MoneyInput interface.
33
33
  */
34
- export declare function instanceOfMoneyInput(value: object): boolean;
34
+ export declare function instanceOfMoneyInput(value: object): value is MoneyInput;
35
35
  export declare function MoneyInputFromJSON(json: any): MoneyInput;
36
36
  export declare function MoneyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyInput;
37
37
  export declare function MoneyInputToJSON(value?: MoneyInput | null): any;
@@ -18,9 +18,9 @@ exports.MoneyInputToJSON = exports.MoneyInputFromJSONTyped = exports.MoneyInputF
18
18
  * Check if a given object implements the MoneyInput interface.
19
19
  */
20
20
  function instanceOfMoneyInput(value) {
21
- if (!('amount' in value))
21
+ if (!('amount' in value) || value['amount'] === undefined)
22
22
  return false;
23
- if (!('currencyCode' in value))
23
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
24
24
  return false;
25
25
  return true;
26
26
  }
@@ -37,7 +37,7 @@ export interface NotFoundException {
37
37
  /**
38
38
  * Check if a given object implements the NotFoundException interface.
39
39
  */
40
- export declare function instanceOfNotFoundException(value: object): boolean;
40
+ export declare function instanceOfNotFoundException(value: object): value is NotFoundException;
41
41
  export declare function NotFoundExceptionFromJSON(json: any): NotFoundException;
42
42
  export declare function NotFoundExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundException;
43
43
  export declare function NotFoundExceptionToJSON(value?: NotFoundException | null): any;
@@ -18,11 +18,11 @@ exports.NotFoundExceptionToJSON = exports.NotFoundExceptionFromJSONTyped = expor
18
18
  * Check if a given object implements the NotFoundException interface.
19
19
  */
20
20
  function instanceOfNotFoundException(value) {
21
- if (!('name' in value))
21
+ if (!('name' in value) || value['name'] === undefined)
22
22
  return false;
23
- if (!('statusCode' in value))
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
24
  return false;
25
- if (!('message' in value))
25
+ if (!('message' in value) || value['message'] === undefined)
26
26
  return false;
27
27
  return true;
28
28
  }
@@ -25,7 +25,7 @@ export interface ObjectId {
25
25
  /**
26
26
  * Check if a given object implements the ObjectId interface.
27
27
  */
28
- export declare function instanceOfObjectId(value: object): boolean;
28
+ export declare function instanceOfObjectId(value: object): value is ObjectId;
29
29
  export declare function ObjectIdFromJSON(json: any): ObjectId;
30
30
  export declare function ObjectIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObjectId;
31
31
  export declare function ObjectIdToJSON(value?: ObjectId | null): any;
@@ -18,7 +18,7 @@ exports.ObjectIdToJSON = exports.ObjectIdFromJSONTyped = exports.ObjectIdFromJSO
18
18
  * Check if a given object implements the ObjectId interface.
19
19
  */
20
20
  function instanceOfObjectId(value) {
21
- if (!('id' in value))
21
+ if (!('id' in value) || value['id'] === undefined)
22
22
  return false;
23
23
  return true;
24
24
  }
@@ -39,7 +39,7 @@ export interface PaginateResponse {
39
39
  /**
40
40
  * Check if a given object implements the PaginateResponse interface.
41
41
  */
42
- export declare function instanceOfPaginateResponse(value: object): boolean;
42
+ export declare function instanceOfPaginateResponse(value: object): value is PaginateResponse;
43
43
  export declare function PaginateResponseFromJSON(json: any): PaginateResponse;
44
44
  export declare function PaginateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponse;
45
45
  export declare function PaginateResponseToJSON(value?: PaginateResponse | null): any;
@@ -20,11 +20,11 @@ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
20
20
  * Check if a given object implements the PaginateResponse interface.
21
21
  */
22
22
  function instanceOfPaginateResponse(value) {
23
- if (!('data' in value))
23
+ if (!('data' in value) || value['data'] === undefined)
24
24
  return false;
25
- if (!('meta' in value))
25
+ if (!('meta' in value) || value['meta'] === undefined)
26
26
  return false;
27
- if (!('links' in value))
27
+ if (!('links' in value) || value['links'] === undefined)
28
28
  return false;
29
29
  return true;
30
30
  }
@@ -49,7 +49,7 @@ export interface PaginateResponseLinks {
49
49
  /**
50
50
  * Check if a given object implements the PaginateResponseLinks interface.
51
51
  */
52
- export declare function instanceOfPaginateResponseLinks(value: object): boolean;
52
+ export declare function instanceOfPaginateResponseLinks(value: object): value is PaginateResponseLinks;
53
53
  export declare function PaginateResponseLinksFromJSON(json: any): PaginateResponseLinks;
54
54
  export declare function PaginateResponseLinksFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponseLinks;
55
55
  export declare function PaginateResponseLinksToJSON(value?: PaginateResponseLinks | null): any;
@@ -61,7 +61,7 @@ export interface PaginateResponseMeta {
61
61
  /**
62
62
  * Check if a given object implements the PaginateResponseMeta interface.
63
63
  */
64
- export declare function instanceOfPaginateResponseMeta(value: object): boolean;
64
+ export declare function instanceOfPaginateResponseMeta(value: object): value is PaginateResponseMeta;
65
65
  export declare function PaginateResponseMetaFromJSON(json: any): PaginateResponseMeta;
66
66
  export declare function PaginateResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginateResponseMeta;
67
67
  export declare function PaginateResponseMetaToJSON(value?: PaginateResponseMeta | null): any;
@@ -26,7 +26,7 @@ export interface PutLeadInput {
26
26
  /**
27
27
  * Check if a given object implements the PutLeadInput interface.
28
28
  */
29
- export declare function instanceOfPutLeadInput(value: object): boolean;
29
+ export declare function instanceOfPutLeadInput(value: object): value is PutLeadInput;
30
30
  export declare function PutLeadInputFromJSON(json: any): PutLeadInput;
31
31
  export declare function PutLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLeadInput;
32
32
  export declare function PutLeadInputToJSON(value?: PutLeadInput | null): any;
@@ -19,7 +19,7 @@ var MoneyDto_1 = require("./MoneyDto");
19
19
  * Check if a given object implements the PutLeadInput interface.
20
20
  */
21
21
  function instanceOfPutLeadInput(value) {
22
- if (!('offer' in value))
22
+ if (!('offer' in value) || value['offer'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -43,7 +43,7 @@ export interface RegisterAccountInput {
43
43
  /**
44
44
  * Check if a given object implements the RegisterAccountInput interface.
45
45
  */
46
- export declare function instanceOfRegisterAccountInput(value: object): boolean;
46
+ export declare function instanceOfRegisterAccountInput(value: object): value is RegisterAccountInput;
47
47
  export declare function RegisterAccountInputFromJSON(json: any): RegisterAccountInput;
48
48
  export declare function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterAccountInput;
49
49
  export declare function RegisterAccountInputToJSON(value?: RegisterAccountInput | null): any;
@@ -18,13 +18,13 @@ exports.RegisterAccountInputToJSON = exports.RegisterAccountInputFromJSONTyped =
18
18
  * Check if a given object implements the RegisterAccountInput interface.
19
19
  */
20
20
  function instanceOfRegisterAccountInput(value) {
21
- if (!('firstname' in value))
21
+ if (!('firstname' in value) || value['firstname'] === undefined)
22
22
  return false;
23
- if (!('lastname' in value))
23
+ if (!('lastname' in value) || value['lastname'] === undefined)
24
24
  return false;
25
- if (!('email' in value))
25
+ if (!('email' in value) || value['email'] === undefined)
26
26
  return false;
27
- if (!('password' in value))
27
+ if (!('password' in value) || value['password'] === undefined)
28
28
  return false;
29
29
  return true;
30
30
  }
@@ -44,7 +44,7 @@ export interface RelatedSellerDomain {
44
44
  /**
45
45
  * Check if a given object implements the RelatedSellerDomain interface.
46
46
  */
47
- export declare function instanceOfRelatedSellerDomain(value: object): boolean;
47
+ export declare function instanceOfRelatedSellerDomain(value: object): value is RelatedSellerDomain;
48
48
  export declare function RelatedSellerDomainFromJSON(json: any): RelatedSellerDomain;
49
49
  export declare function RelatedSellerDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): RelatedSellerDomain;
50
50
  export declare function RelatedSellerDomainToJSON(value?: RelatedSellerDomain | null): any;
@@ -19,13 +19,13 @@ var MoneyDto_1 = require("./MoneyDto");
19
19
  * Check if a given object implements the RelatedSellerDomain interface.
20
20
  */
21
21
  function instanceOfRelatedSellerDomain(value) {
22
- if (!('name' in value))
22
+ if (!('name' in value) || value['name'] === undefined)
23
23
  return false;
24
- if (!('buyNow' in value))
24
+ if (!('buyNow' in value) || value['buyNow'] === undefined)
25
25
  return false;
26
- if (!('minOffer' in value))
26
+ if (!('minOffer' in value) || value['minOffer'] === undefined)
27
27
  return false;
28
- if (!('url' in value))
28
+ if (!('url' in value) || value['url'] === undefined)
29
29
  return false;
30
30
  return true;
31
31
  }
@@ -55,7 +55,7 @@ export interface SecurityUserDto {
55
55
  /**
56
56
  * Check if a given object implements the SecurityUserDto interface.
57
57
  */
58
- export declare function instanceOfSecurityUserDto(value: object): boolean;
58
+ export declare function instanceOfSecurityUserDto(value: object): value is SecurityUserDto;
59
59
  export declare function SecurityUserDtoFromJSON(json: any): SecurityUserDto;
60
60
  export declare function SecurityUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityUserDto;
61
61
  export declare function SecurityUserDtoToJSON(value?: SecurityUserDto | null): any;