@randock/nameshift-api-client 0.0.119 → 0.0.121

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 (398) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +15 -3
  4. package/dist/apis/AccountsApi.js +57 -3
  5. package/dist/apis/AccountsPublicApi.js +2 -2
  6. package/dist/apis/AdminApi.js +2 -2
  7. package/dist/apis/BuyersApi.js +2 -2
  8. package/dist/apis/BuyersPublicApi.js +2 -2
  9. package/dist/apis/DomainsApi.js +2 -2
  10. package/dist/apis/DomainsPublicApi.js +2 -2
  11. package/dist/apis/LeadsApi.js +2 -2
  12. package/dist/apis/LeadsPublicApi.js +2 -2
  13. package/dist/apis/OrdersPublicApi.js +2 -2
  14. package/dist/apis/StripePublicApi.js +2 -2
  15. package/dist/apis/UsersApi.js +2 -2
  16. package/dist/apis/UsersPublicApi.js +2 -2
  17. package/dist/models/AccountDto.d.ts +2 -1
  18. package/dist/models/AccountDto.js +6 -1
  19. package/dist/models/AccountMetricsDto.d.ts +2 -1
  20. package/dist/models/AccountMetricsDto.js +6 -1
  21. package/dist/models/AccountNotificationDto.d.ts +69 -0
  22. package/dist/models/AccountNotificationDto.js +81 -0
  23. package/dist/models/AccountNotificationReadStatusDto.d.ts +44 -0
  24. package/dist/models/AccountNotificationReadStatusDto.js +59 -0
  25. package/dist/models/AccountPaymentProviderSessionDto.d.ts +2 -1
  26. package/dist/models/AccountPaymentProviderSessionDto.js +6 -1
  27. package/dist/models/AccountSettingsDto.d.ts +2 -1
  28. package/dist/models/AccountSettingsDto.js +6 -1
  29. package/dist/models/AccountSettingsInput.d.ts +2 -1
  30. package/dist/models/AccountSettingsInput.js +6 -1
  31. package/dist/models/AddressDto.d.ts +2 -1
  32. package/dist/models/AddressDto.js +6 -1
  33. package/dist/models/AdminAccountSettingsInput.d.ts +2 -1
  34. package/dist/models/AdminAccountSettingsInput.js +6 -1
  35. package/dist/models/AdminGetAllDomainTransfers200Response.d.ts +2 -1
  36. package/dist/models/AdminGetAllDomainTransfers200Response.js +6 -1
  37. package/dist/models/BadRequestException.d.ts +2 -1
  38. package/dist/models/BadRequestException.js +6 -1
  39. package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +2 -1
  40. package/dist/models/BatchReadBuyerLeadMessageInput.js +6 -1
  41. package/dist/models/BatchReadSellerLeadMessageInput.d.ts +2 -1
  42. package/dist/models/BatchReadSellerLeadMessageInput.js +6 -1
  43. package/dist/models/BatchUpdateDomainsInput.d.ts +2 -1
  44. package/dist/models/BatchUpdateDomainsInput.js +6 -1
  45. package/dist/models/BillingInformationDto.d.ts +2 -1
  46. package/dist/models/BillingInformationDto.js +6 -1
  47. package/dist/models/BuyerDomainTransferAuthCodeDto.d.ts +2 -1
  48. package/dist/models/BuyerDomainTransferAuthCodeDto.js +6 -1
  49. package/dist/models/BuyerDomainTransferListItemDomainDto.d.ts +2 -1
  50. package/dist/models/BuyerDomainTransferListItemDomainDto.js +6 -1
  51. package/dist/models/BuyerDomainTransferListItemDto.d.ts +2 -1
  52. package/dist/models/BuyerDomainTransferListItemDto.js +6 -1
  53. package/dist/models/BuyerLeadListItemDomainDto.d.ts +2 -1
  54. package/dist/models/BuyerLeadListItemDomainDto.js +6 -1
  55. package/dist/models/BuyerLeadListItemDto.d.ts +2 -1
  56. package/dist/models/BuyerLeadListItemDto.js +6 -1
  57. package/dist/models/BuyerSecurityUserDto.d.ts +2 -1
  58. package/dist/models/BuyerSecurityUserDto.js +6 -1
  59. package/dist/models/ChangeOrderStatusInput.d.ts +2 -1
  60. package/dist/models/ChangeOrderStatusInput.js +6 -1
  61. package/dist/models/ChartDataPoint.d.ts +2 -1
  62. package/dist/models/ChartDataPoint.js +6 -1
  63. package/dist/models/CompanyInformationDto.d.ts +2 -1
  64. package/dist/models/CompanyInformationDto.js +6 -1
  65. package/dist/models/CompanyTaxIdDto.d.ts +2 -1
  66. package/dist/models/CompanyTaxIdDto.js +6 -1
  67. package/dist/models/ConflictException.d.ts +2 -1
  68. package/dist/models/ConflictException.js +6 -1
  69. package/dist/models/CreateAccountPaymentProviderInput.d.ts +2 -1
  70. package/dist/models/CreateAccountPaymentProviderInput.js +6 -1
  71. package/dist/models/CreateBuyerLeadMessageInput.d.ts +2 -1
  72. package/dist/models/CreateBuyerLeadMessageInput.js +6 -1
  73. package/dist/models/CreateLeadInput.d.ts +2 -1
  74. package/dist/models/CreateLeadInput.js +6 -1
  75. package/dist/models/CreateLeadMessageInput.d.ts +2 -1
  76. package/dist/models/CreateLeadMessageInput.js +6 -1
  77. package/dist/models/CreateOrderInput.d.ts +2 -1
  78. package/dist/models/CreateOrderInput.js +6 -1
  79. package/dist/models/DeleteDomainsInput.d.ts +2 -1
  80. package/dist/models/DeleteDomainsInput.js +6 -1
  81. package/dist/models/DomainDto.d.ts +2 -1
  82. package/dist/models/DomainDto.js +6 -1
  83. package/dist/models/DomainSellerDto.d.ts +2 -1
  84. package/dist/models/DomainSellerDto.js +6 -1
  85. package/dist/models/DomainStats.d.ts +2 -1
  86. package/dist/models/DomainStats.js +6 -1
  87. package/dist/models/DomainTransferAgentDto.d.ts +2 -1
  88. package/dist/models/DomainTransferAgentDto.js +6 -1
  89. package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +2 -1
  90. package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +6 -1
  91. package/dist/models/DomainTransferDetailWorkflowStepActionDto.d.ts +2 -1
  92. package/dist/models/DomainTransferDetailWorkflowStepActionDto.js +6 -1
  93. package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +2 -1
  94. package/dist/models/DomainTransferDetailWorkflowStepDto.js +6 -1
  95. package/dist/models/DomainTransferDetailsAuthCodeDto.d.ts +2 -1
  96. package/dist/models/DomainTransferDetailsAuthCodeDto.js +6 -1
  97. package/dist/models/DomainTransferDetailsDomainDto.d.ts +2 -1
  98. package/dist/models/DomainTransferDetailsDomainDto.js +6 -1
  99. package/dist/models/DomainTransferDetailsDto.d.ts +2 -1
  100. package/dist/models/DomainTransferDetailsDto.js +6 -1
  101. package/dist/models/DomainTransferDetailsOrderBuyerDto.d.ts +2 -1
  102. package/dist/models/DomainTransferDetailsOrderBuyerDto.js +6 -1
  103. package/dist/models/DomainTransferDetailsOrderDto.d.ts +2 -1
  104. package/dist/models/DomainTransferDetailsOrderDto.js +6 -1
  105. package/dist/models/DomainTransferDetailsOrderSellerDto.d.ts +2 -1
  106. package/dist/models/DomainTransferDetailsOrderSellerDto.js +6 -1
  107. package/dist/models/DomainTransferDetailsOrderSellerUserDto.d.ts +2 -1
  108. package/dist/models/DomainTransferDetailsOrderSellerUserDto.js +6 -1
  109. package/dist/models/DomainTransferDetailsValidationDto.d.ts +2 -1
  110. package/dist/models/DomainTransferDetailsValidationDto.js +6 -1
  111. package/dist/models/DomainTransferDomainDto.d.ts +2 -1
  112. package/dist/models/DomainTransferDomainDto.js +6 -1
  113. package/dist/models/DomainTransferDto.d.ts +2 -1
  114. package/dist/models/DomainTransferDto.js +6 -1
  115. package/dist/models/DomainTransferOrderDto.d.ts +2 -1
  116. package/dist/models/DomainTransferOrderDto.js +6 -1
  117. package/dist/models/ForgotPasswordRequestInput.d.ts +2 -1
  118. package/dist/models/ForgotPasswordRequestInput.js +6 -1
  119. package/dist/models/GetAllDomainTransfers200Response.d.ts +2 -1
  120. package/dist/models/GetAllDomainTransfers200Response.js +6 -1
  121. package/dist/models/GetAllOrders200Response.d.ts +2 -1
  122. package/dist/models/GetAllOrders200Response.js +6 -1
  123. package/dist/models/GetAllOwnedDomains200Response.d.ts +2 -1
  124. package/dist/models/GetAllOwnedDomains200Response.js +6 -1
  125. package/dist/models/GetBuyerInvoices200Response.d.ts +2 -1
  126. package/dist/models/GetBuyerInvoices200Response.js +6 -1
  127. package/dist/models/GetBuyerLeads200Response.d.ts +2 -1
  128. package/dist/models/GetBuyerLeads200Response.js +6 -1
  129. package/dist/models/GetBuyerTransfers200Response.d.ts +2 -1
  130. package/dist/models/GetBuyerTransfers200Response.js +6 -1
  131. package/dist/models/HttpException.d.ts +2 -1
  132. package/dist/models/HttpException.js +6 -1
  133. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.d.ts +73 -0
  134. package/dist/models/{IntersectionAccountDtoWithSettingsDto.js → IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.js} +20 -10
  135. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +2 -1
  136. package/dist/models/IntersectionDomainDtoWithAccountDto.js +6 -1
  137. package/dist/models/IntersectionDomainDtoWithDomainUrlDto.d.ts +2 -1
  138. package/dist/models/IntersectionDomainDtoWithDomainUrlDto.js +6 -1
  139. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +2 -1
  140. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +6 -1
  141. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +2 -1
  142. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +6 -1
  143. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +2 -1
  144. package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +6 -1
  145. package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +2 -1
  146. package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +6 -1
  147. package/dist/models/InvoiceDomainDto.d.ts +2 -1
  148. package/dist/models/InvoiceDomainDto.js +6 -1
  149. package/dist/models/InvoiceDto.d.ts +2 -1
  150. package/dist/models/InvoiceDto.js +6 -1
  151. package/dist/models/InvoiceItemDto.d.ts +2 -1
  152. package/dist/models/InvoiceItemDto.js +6 -1
  153. package/dist/models/InvoiceItemTaxDto.d.ts +2 -1
  154. package/dist/models/InvoiceItemTaxDto.js +6 -1
  155. package/dist/models/InvoiceTransactionDto.d.ts +2 -1
  156. package/dist/models/InvoiceTransactionDto.js +6 -1
  157. package/dist/models/LeadDomainDto.d.ts +2 -1
  158. package/dist/models/LeadDomainDto.js +6 -1
  159. package/dist/models/LeadDto.d.ts +2 -1
  160. package/dist/models/LeadDto.js +6 -1
  161. package/dist/models/LeadMessageData.d.ts +2 -1
  162. package/dist/models/LeadMessageData.js +6 -1
  163. package/dist/models/LeadMessageDto.d.ts +2 -1
  164. package/dist/models/LeadMessageDto.js +6 -1
  165. package/dist/models/LeadStatusDto.d.ts +2 -1
  166. package/dist/models/LeadStatusDto.js +6 -1
  167. package/dist/models/List200Response.d.ts +2 -1
  168. package/dist/models/List200Response.js +6 -1
  169. package/dist/models/List200Response1.d.ts +2 -1
  170. package/dist/models/List200Response1.js +6 -1
  171. package/dist/models/ListAccountDto.d.ts +2 -1
  172. package/dist/models/ListAccountDto.js +6 -1
  173. package/dist/models/ListAccounts200Response.d.ts +2 -1
  174. package/dist/models/ListAccounts200Response.js +6 -1
  175. package/dist/models/ListLeadMessagesDto.d.ts +2 -1
  176. package/dist/models/ListLeadMessagesDto.js +6 -1
  177. package/dist/models/LoginDto.d.ts +2 -1
  178. package/dist/models/LoginDto.js +6 -1
  179. package/dist/models/LoginInput.d.ts +2 -1
  180. package/dist/models/LoginInput.js +6 -1
  181. package/dist/models/MoneyDto.d.ts +2 -1
  182. package/dist/models/MoneyDto.js +6 -1
  183. package/dist/models/NotFoundException.d.ts +2 -1
  184. package/dist/models/NotFoundException.js +6 -1
  185. package/dist/models/ObjectId.d.ts +2 -1
  186. package/dist/models/ObjectId.js +6 -1
  187. package/dist/models/OrderCompanyInfoDto.d.ts +2 -1
  188. package/dist/models/OrderCompanyInfoDto.js +6 -1
  189. package/dist/models/OrderCompanyTaxIdDto.d.ts +2 -1
  190. package/dist/models/OrderCompanyTaxIdDto.js +6 -1
  191. package/dist/models/OrderDto.d.ts +2 -1
  192. package/dist/models/OrderDto.js +6 -1
  193. package/dist/models/OrderListItemDto.d.ts +2 -1
  194. package/dist/models/OrderListItemDto.js +6 -1
  195. package/dist/models/OrderListItemDtoBuyerInformation.d.ts +2 -1
  196. package/dist/models/OrderListItemDtoBuyerInformation.js +6 -1
  197. package/dist/models/OrderListItemDtoDomainInformation.d.ts +2 -1
  198. package/dist/models/OrderListItemDtoDomainInformation.js +6 -1
  199. package/dist/models/OrderListItemDtoSellerAccount.d.ts +2 -1
  200. package/dist/models/OrderListItemDtoSellerAccount.js +6 -1
  201. package/dist/models/OwnedDomainDto.d.ts +2 -1
  202. package/dist/models/OwnedDomainDto.js +6 -1
  203. package/dist/models/PaginateResponse.d.ts +2 -1
  204. package/dist/models/PaginateResponse.js +6 -1
  205. package/dist/models/PaginateResponseLinks.d.ts +2 -1
  206. package/dist/models/PaginateResponseLinks.js +6 -1
  207. package/dist/models/PaginateResponseMeta.d.ts +2 -1
  208. package/dist/models/PaginateResponseMeta.js +6 -1
  209. package/dist/models/PaymentProviderDto.d.ts +2 -1
  210. package/dist/models/PaymentProviderDto.js +6 -1
  211. package/dist/models/PublicLeadBuyerDto.d.ts +2 -1
  212. package/dist/models/PublicLeadBuyerDto.js +6 -1
  213. package/dist/models/PublicLeadDto.d.ts +2 -1
  214. package/dist/models/PublicLeadDto.js +6 -1
  215. package/dist/models/PutBuyerLeadOfferInput.d.ts +2 -1
  216. package/dist/models/PutBuyerLeadOfferInput.js +6 -1
  217. package/dist/models/PutLeadOfferInput.d.ts +2 -1
  218. package/dist/models/PutLeadOfferInput.js +6 -1
  219. package/dist/models/RegisterAccountInput.d.ts +2 -1
  220. package/dist/models/RegisterAccountInput.js +6 -1
  221. package/dist/models/RelatedSellerDomain.d.ts +2 -1
  222. package/dist/models/RelatedSellerDomain.js +6 -1
  223. package/dist/models/RequestAccessTokenInput.d.ts +2 -1
  224. package/dist/models/RequestAccessTokenInput.js +6 -1
  225. package/dist/models/SellerDomainTransferAuthCodeDto.d.ts +2 -1
  226. package/dist/models/SellerDomainTransferAuthCodeDto.js +6 -1
  227. package/dist/models/SellerDomainTransferDomainDto.d.ts +2 -1
  228. package/dist/models/SellerDomainTransferDomainDto.js +6 -1
  229. package/dist/models/SellerDomainTransferDto.d.ts +2 -1
  230. package/dist/models/SellerDomainTransferDto.js +6 -1
  231. package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +2 -1
  232. package/dist/models/SellerDomainTransferListItemDomainDto.js +6 -1
  233. package/dist/models/SellerDomainTransferListItemDto.d.ts +2 -1
  234. package/dist/models/SellerDomainTransferListItemDto.js +6 -1
  235. package/dist/models/SellerSecurityUserAccountDto.d.ts +2 -1
  236. package/dist/models/SellerSecurityUserAccountDto.js +6 -1
  237. package/dist/models/SellerSecurityUserDto.d.ts +2 -1
  238. package/dist/models/SellerSecurityUserDto.js +6 -1
  239. package/dist/models/SetDomainTransferConfirmationInput.d.ts +2 -1
  240. package/dist/models/SetDomainTransferConfirmationInput.js +6 -1
  241. package/dist/models/SetNewPasswordInput.d.ts +2 -1
  242. package/dist/models/SetNewPasswordInput.js +6 -1
  243. package/dist/models/StoreBuyerLocaleInput.d.ts +2 -1
  244. package/dist/models/StoreBuyerLocaleInput.js +6 -1
  245. package/dist/models/StoreUserLocaleInput.d.ts +2 -1
  246. package/dist/models/StoreUserLocaleInput.js +6 -1
  247. package/dist/models/ThrottlerException.d.ts +2 -1
  248. package/dist/models/ThrottlerException.js +6 -1
  249. package/dist/models/UpdateDomainInput.d.ts +2 -1
  250. package/dist/models/UpdateDomainInput.js +6 -1
  251. package/dist/models/UpdateDomainTransferAuthCodeInput.d.ts +2 -1
  252. package/dist/models/UpdateDomainTransferAuthCodeInput.js +6 -1
  253. package/dist/models/UpdateLeadInput.d.ts +2 -1
  254. package/dist/models/UpdateLeadInput.js +6 -1
  255. package/dist/models/UpdateOrderInput.d.ts +2 -1
  256. package/dist/models/UpdateOrderInput.js +6 -1
  257. package/dist/models/UserPasswordResetDto.d.ts +2 -1
  258. package/dist/models/UserPasswordResetDto.js +6 -1
  259. package/dist/models/ValidationError.d.ts +2 -1
  260. package/dist/models/ValidationError.js +6 -1
  261. package/dist/models/ValidationException.d.ts +2 -1
  262. package/dist/models/ValidationException.js +6 -1
  263. package/dist/models/VerifyLeadInput.d.ts +2 -1
  264. package/dist/models/VerifyLeadInput.js +6 -1
  265. package/dist/models/WithSettingsInner.d.ts +2 -1
  266. package/dist/models/WithSettingsInner.js +6 -1
  267. package/dist/models/index.d.ts +3 -1
  268. package/dist/models/index.js +3 -1
  269. package/dist/runtime.js +2 -2
  270. package/package.json +1 -1
  271. package/src/apis/AccountsApi.ts +61 -6
  272. package/src/models/AccountDto.ts +9 -1
  273. package/src/models/AccountMetricsDto.ts +6 -1
  274. package/src/models/AccountNotificationDto.ts +123 -0
  275. package/src/models/AccountNotificationReadStatusDto.ts +84 -0
  276. package/src/models/AccountPaymentProviderSessionDto.ts +6 -1
  277. package/src/models/AccountSettingsDto.ts +7 -1
  278. package/src/models/AccountSettingsInput.ts +7 -1
  279. package/src/models/AddressDto.ts +6 -1
  280. package/src/models/AdminAccountSettingsInput.ts +6 -1
  281. package/src/models/AdminGetAllDomainTransfers200Response.ts +9 -1
  282. package/src/models/BadRequestException.ts +6 -1
  283. package/src/models/BatchReadBuyerLeadMessageInput.ts +6 -1
  284. package/src/models/BatchReadSellerLeadMessageInput.ts +6 -1
  285. package/src/models/BatchUpdateDomainsInput.ts +7 -1
  286. package/src/models/BillingInformationDto.ts +8 -1
  287. package/src/models/BuyerDomainTransferAuthCodeDto.ts +6 -1
  288. package/src/models/BuyerDomainTransferListItemDomainDto.ts +6 -1
  289. package/src/models/BuyerDomainTransferListItemDto.ts +7 -1
  290. package/src/models/BuyerLeadListItemDomainDto.ts +6 -1
  291. package/src/models/BuyerLeadListItemDto.ts +8 -1
  292. package/src/models/BuyerSecurityUserDto.ts +6 -1
  293. package/src/models/ChangeOrderStatusInput.ts +6 -1
  294. package/src/models/ChartDataPoint.ts +6 -1
  295. package/src/models/CompanyInformationDto.ts +7 -1
  296. package/src/models/CompanyTaxIdDto.ts +6 -1
  297. package/src/models/ConflictException.ts +6 -1
  298. package/src/models/CreateAccountPaymentProviderInput.ts +7 -1
  299. package/src/models/CreateBuyerLeadMessageInput.ts +6 -1
  300. package/src/models/CreateLeadInput.ts +7 -1
  301. package/src/models/CreateLeadMessageInput.ts +6 -1
  302. package/src/models/CreateOrderInput.ts +7 -1
  303. package/src/models/DeleteDomainsInput.ts +6 -1
  304. package/src/models/DomainDto.ts +7 -1
  305. package/src/models/DomainSellerDto.ts +7 -1
  306. package/src/models/DomainStats.ts +7 -1
  307. package/src/models/DomainTransferAgentDto.ts +6 -1
  308. package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +7 -1
  309. package/src/models/DomainTransferDetailWorkflowStepActionDto.ts +6 -1
  310. package/src/models/DomainTransferDetailWorkflowStepDto.ts +8 -1
  311. package/src/models/DomainTransferDetailsAuthCodeDto.ts +6 -1
  312. package/src/models/DomainTransferDetailsDomainDto.ts +6 -1
  313. package/src/models/DomainTransferDetailsDto.ts +12 -1
  314. package/src/models/DomainTransferDetailsOrderBuyerDto.ts +6 -1
  315. package/src/models/DomainTransferDetailsOrderDto.ts +8 -1
  316. package/src/models/DomainTransferDetailsOrderSellerDto.ts +7 -1
  317. package/src/models/DomainTransferDetailsOrderSellerUserDto.ts +6 -1
  318. package/src/models/DomainTransferDetailsValidationDto.ts +6 -1
  319. package/src/models/DomainTransferDomainDto.ts +6 -1
  320. package/src/models/DomainTransferDto.ts +9 -1
  321. package/src/models/DomainTransferOrderDto.ts +6 -1
  322. package/src/models/ForgotPasswordRequestInput.ts +6 -1
  323. package/src/models/GetAllDomainTransfers200Response.ts +9 -1
  324. package/src/models/GetAllOrders200Response.ts +9 -1
  325. package/src/models/GetAllOwnedDomains200Response.ts +9 -1
  326. package/src/models/GetBuyerInvoices200Response.ts +9 -1
  327. package/src/models/GetBuyerLeads200Response.ts +9 -1
  328. package/src/models/GetBuyerTransfers200Response.ts +9 -1
  329. package/src/models/HttpException.ts +6 -1
  330. package/src/models/{IntersectionAccountDtoWithSettingsDto.ts → IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts} +39 -14
  331. package/src/models/IntersectionDomainDtoWithAccountDto.ts +8 -1
  332. package/src/models/IntersectionDomainDtoWithDomainUrlDto.ts +7 -1
  333. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +8 -1
  334. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +9 -1
  335. package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +8 -1
  336. package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +9 -1
  337. package/src/models/InvoiceDomainDto.ts +6 -1
  338. package/src/models/InvoiceDto.ts +7 -1
  339. package/src/models/InvoiceItemDto.ts +8 -1
  340. package/src/models/InvoiceItemTaxDto.ts +7 -1
  341. package/src/models/InvoiceTransactionDto.ts +6 -1
  342. package/src/models/LeadDomainDto.ts +6 -1
  343. package/src/models/LeadDto.ts +8 -1
  344. package/src/models/LeadMessageData.ts +7 -1
  345. package/src/models/LeadMessageDto.ts +7 -1
  346. package/src/models/LeadStatusDto.ts +6 -1
  347. package/src/models/List200Response.ts +9 -1
  348. package/src/models/List200Response1.ts +9 -1
  349. package/src/models/ListAccountDto.ts +6 -1
  350. package/src/models/ListAccounts200Response.ts +9 -1
  351. package/src/models/ListLeadMessagesDto.ts +7 -1
  352. package/src/models/LoginDto.ts +6 -1
  353. package/src/models/LoginInput.ts +6 -1
  354. package/src/models/MoneyDto.ts +6 -1
  355. package/src/models/NotFoundException.ts +6 -1
  356. package/src/models/ObjectId.ts +6 -1
  357. package/src/models/OrderCompanyInfoDto.ts +7 -1
  358. package/src/models/OrderCompanyTaxIdDto.ts +6 -1
  359. package/src/models/OrderDto.ts +11 -1
  360. package/src/models/OrderListItemDto.ts +10 -1
  361. package/src/models/OrderListItemDtoBuyerInformation.ts +8 -1
  362. package/src/models/OrderListItemDtoDomainInformation.ts +6 -1
  363. package/src/models/OrderListItemDtoSellerAccount.ts +6 -1
  364. package/src/models/OwnedDomainDto.ts +6 -1
  365. package/src/models/PaginateResponse.ts +8 -1
  366. package/src/models/PaginateResponseLinks.ts +6 -1
  367. package/src/models/PaginateResponseMeta.ts +6 -1
  368. package/src/models/PaymentProviderDto.ts +6 -1
  369. package/src/models/PublicLeadBuyerDto.ts +6 -1
  370. package/src/models/PublicLeadDto.ts +8 -1
  371. package/src/models/PutBuyerLeadOfferInput.ts +7 -1
  372. package/src/models/PutLeadOfferInput.ts +7 -1
  373. package/src/models/RegisterAccountInput.ts +6 -1
  374. package/src/models/RelatedSellerDomain.ts +7 -1
  375. package/src/models/RequestAccessTokenInput.ts +6 -1
  376. package/src/models/SellerDomainTransferAuthCodeDto.ts +6 -1
  377. package/src/models/SellerDomainTransferDomainDto.ts +6 -1
  378. package/src/models/SellerDomainTransferDto.ts +8 -1
  379. package/src/models/SellerDomainTransferListItemDomainDto.ts +6 -1
  380. package/src/models/SellerDomainTransferListItemDto.ts +7 -1
  381. package/src/models/SellerSecurityUserAccountDto.ts +6 -1
  382. package/src/models/SellerSecurityUserDto.ts +7 -1
  383. package/src/models/SetDomainTransferConfirmationInput.ts +6 -1
  384. package/src/models/SetNewPasswordInput.ts +6 -1
  385. package/src/models/StoreBuyerLocaleInput.ts +6 -1
  386. package/src/models/StoreUserLocaleInput.ts +6 -1
  387. package/src/models/ThrottlerException.ts +6 -1
  388. package/src/models/UpdateDomainInput.ts +7 -1
  389. package/src/models/UpdateDomainTransferAuthCodeInput.ts +6 -1
  390. package/src/models/UpdateLeadInput.ts +6 -1
  391. package/src/models/UpdateOrderInput.ts +7 -1
  392. package/src/models/UserPasswordResetDto.ts +6 -1
  393. package/src/models/ValidationError.ts +6 -1
  394. package/src/models/ValidationException.ts +7 -1
  395. package/src/models/VerifyLeadInput.ts +6 -1
  396. package/src/models/WithSettingsInner.ts +7 -1
  397. package/src/models/index.ts +3 -1
  398. package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -65
@@ -20,6 +20,8 @@ src/apis/index.ts
20
20
  src/index.ts
21
21
  src/models/AccountDto.ts
22
22
  src/models/AccountMetricsDto.ts
23
+ src/models/AccountNotificationDto.ts
24
+ src/models/AccountNotificationReadStatusDto.ts
23
25
  src/models/AccountPaymentProviderSessionDto.ts
24
26
  src/models/AccountSettingsDto.ts
25
27
  src/models/AccountSettingsInput.ts
@@ -74,7 +76,7 @@ src/models/GetBuyerInvoices200Response.ts
74
76
  src/models/GetBuyerLeads200Response.ts
75
77
  src/models/GetBuyerTransfers200Response.ts
76
78
  src/models/HttpException.ts
77
- src/models/IntersectionAccountDtoWithSettingsDto.ts
79
+ src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts
78
80
  src/models/IntersectionDomainDtoWithAccountDto.ts
79
81
  src/models/IntersectionDomainDtoWithDomainUrlDto.ts
80
82
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.119
1
+ ## @randock/nameshift-api-client@0.0.121
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.119 --save
39
+ npm install @randock/nameshift-api-client@0.0.121 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 9fe83905db2e67335b154ba88f16b56e08d4bb5426cc1b23fde9c633303fe144ce9205452fdb609d5d5ce7cf75fd99a2
47
+ d1d513f1badf1c7aa1a02894412a3bd1786f740a8b903a27846662a3b70623bb683c3c924bc82fb4ce56abc12c975655
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountPaymentProviderSessionDto, AccountSettingsInput, CreateAccountPaymentProviderInput, IntersectionAccountDtoWithSettingsDto } from '../models/index';
13
+ import type { AccountPaymentProviderSessionDto, AccountSettingsInput, CreateAccountPaymentProviderInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDto } from '../models/index';
14
14
  export interface AccountsApiGetAccountPaymentProviderSessionRequest {
15
15
  accountId: string;
16
16
  }
@@ -18,6 +18,10 @@ export interface AccountsApiPostPaymentProviderRequest {
18
18
  accountId: string;
19
19
  createAccountPaymentProviderInput: CreateAccountPaymentProviderInput;
20
20
  }
21
+ export interface AccountsApiPostReadAccountNotificationRequest {
22
+ accountId: string;
23
+ notificationId: string;
24
+ }
21
25
  export interface AccountsApiUpdateSettingsRequest {
22
26
  accountId: string;
23
27
  accountSettingsInput: AccountSettingsInput;
@@ -37,11 +41,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
37
41
  /**
38
42
  *
39
43
  */
40
- meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDto>>;
44
+ meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>>;
41
45
  /**
42
46
  *
43
47
  */
44
- me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDto>;
48
+ me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>;
45
49
  /**
46
50
  *
47
51
  */
@@ -50,6 +54,14 @@ export declare class AccountsApi extends runtime.BaseAPI {
50
54
  *
51
55
  */
52
56
  postPaymentProvider(requestParameters: AccountsApiPostPaymentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
57
+ /**
58
+ *
59
+ */
60
+ postReadAccountNotificationRaw(requestParameters: AccountsApiPostReadAccountNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
61
+ /**
62
+ *
63
+ */
64
+ postReadAccountNotification(requestParameters: AccountsApiPostReadAccountNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
53
65
  /**
54
66
  *
55
67
  */
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -156,7 +156,7 @@ var AccountsApi = /** @class */ (function (_super) {
156
156
  }, initOverrides)];
157
157
  case 3:
158
158
  response = _a.sent();
159
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionAccountDtoWithSettingsDtoFromJSON)(jsonValue); })];
159
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON)(jsonValue); })];
160
160
  }
161
161
  });
162
162
  });
@@ -234,6 +234,60 @@ var AccountsApi = /** @class */ (function (_super) {
234
234
  });
235
235
  });
236
236
  };
237
+ /**
238
+ *
239
+ */
240
+ AccountsApi.prototype.postReadAccountNotificationRaw = function (requestParameters, initOverrides) {
241
+ return __awaiter(this, void 0, void 0, function () {
242
+ var queryParameters, headerParameters, token, tokenString, response;
243
+ return __generator(this, function (_a) {
244
+ switch (_a.label) {
245
+ case 0:
246
+ if (requestParameters['accountId'] == null) {
247
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling postReadAccountNotification().');
248
+ }
249
+ if (requestParameters['notificationId'] == null) {
250
+ throw new runtime.RequiredError('notificationId', 'Required parameter "notificationId" was null or undefined when calling postReadAccountNotification().');
251
+ }
252
+ queryParameters = {};
253
+ headerParameters = {};
254
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
255
+ token = this.configuration.accessToken;
256
+ return [4 /*yield*/, token("bearer", [])];
257
+ case 1:
258
+ tokenString = _a.sent();
259
+ if (tokenString) {
260
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
261
+ }
262
+ _a.label = 2;
263
+ case 2: return [4 /*yield*/, this.request({
264
+ path: "/private/accounts/{accountId}/notifications/{notificationId}/read".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))).replace("{".concat("notificationId", "}"), encodeURIComponent(String(requestParameters['notificationId']))),
265
+ method: 'POST',
266
+ headers: headerParameters,
267
+ query: queryParameters,
268
+ }, initOverrides)];
269
+ case 3:
270
+ response = _a.sent();
271
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
272
+ }
273
+ });
274
+ });
275
+ };
276
+ /**
277
+ *
278
+ */
279
+ AccountsApi.prototype.postReadAccountNotification = function (requestParameters, initOverrides) {
280
+ return __awaiter(this, void 0, void 0, function () {
281
+ return __generator(this, function (_a) {
282
+ switch (_a.label) {
283
+ case 0: return [4 /*yield*/, this.postReadAccountNotificationRaw(requestParameters, initOverrides)];
284
+ case 1:
285
+ _a.sent();
286
+ return [2 /*return*/];
287
+ }
288
+ });
289
+ });
290
+ };
237
291
  /**
238
292
  *
239
293
  */
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  });
38
38
  };
39
39
  var __generator = (this && this.__generator) || function (thisArg, body) {
40
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
@@ -55,4 +55,5 @@ export interface AccountDto {
55
55
  export declare function instanceOfAccountDto(value: object): value is AccountDto;
56
56
  export declare function AccountDtoFromJSON(json: any): AccountDto;
57
57
  export declare function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountDto;
58
- export declare function AccountDtoToJSON(value?: AccountDto | null): any;
58
+ export declare function AccountDtoToJSON(json: any): AccountDto;
59
+ export declare function AccountDtoToJSONTyped(value?: AccountDto | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfAccountDto = instanceOfAccountDto;
17
17
  exports.AccountDtoFromJSON = AccountDtoFromJSON;
18
18
  exports.AccountDtoFromJSONTyped = AccountDtoFromJSONTyped;
19
19
  exports.AccountDtoToJSON = AccountDtoToJSON;
20
+ exports.AccountDtoToJSONTyped = AccountDtoToJSONTyped;
20
21
  var PaymentProviderDto_1 = require("./PaymentProviderDto");
21
22
  var AccountMetricsDto_1 = require("./AccountMetricsDto");
22
23
  var BillingInformationDto_1 = require("./BillingInformationDto");
@@ -51,7 +52,11 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
51
52
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
52
53
  };
53
54
  }
54
- function AccountDtoToJSON(value) {
55
+ function AccountDtoToJSON(json) {
56
+ return AccountDtoToJSONTyped(json, false);
57
+ }
58
+ function AccountDtoToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
60
  if (value == null) {
56
61
  return value;
57
62
  }
@@ -46,4 +46,5 @@ export interface AccountMetricsDto {
46
46
  export declare function instanceOfAccountMetricsDto(value: object): value is AccountMetricsDto;
47
47
  export declare function AccountMetricsDtoFromJSON(json: any): AccountMetricsDto;
48
48
  export declare function AccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountMetricsDto;
49
- export declare function AccountMetricsDtoToJSON(value?: AccountMetricsDto | null): any;
49
+ export declare function AccountMetricsDtoToJSON(json: any): AccountMetricsDto;
50
+ export declare function AccountMetricsDtoToJSONTyped(value?: AccountMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfAccountMetricsDto = instanceOfAccountMetricsDto;
17
17
  exports.AccountMetricsDtoFromJSON = AccountMetricsDtoFromJSON;
18
18
  exports.AccountMetricsDtoFromJSONTyped = AccountMetricsDtoFromJSONTyped;
19
19
  exports.AccountMetricsDtoToJSON = AccountMetricsDtoToJSON;
20
+ exports.AccountMetricsDtoToJSONTyped = AccountMetricsDtoToJSONTyped;
20
21
  /**
21
22
  * Check if a given object implements the AccountMetricsDto interface.
22
23
  */
@@ -45,7 +46,11 @@ function AccountMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
45
46
  'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
46
47
  };
47
48
  }
48
- function AccountMetricsDtoToJSON(value) {
49
+ function AccountMetricsDtoToJSON(json) {
50
+ return AccountMetricsDtoToJSONTyped(json, false);
51
+ }
52
+ function AccountMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
54
  if (value == null) {
50
55
  return value;
51
56
  }
@@ -0,0 +1,69 @@
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 { AccountNotificationReadStatusDto } from './AccountNotificationReadStatusDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountNotificationDto
17
+ */
18
+ export interface AccountNotificationDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AccountNotificationDto
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AccountNotificationDto
29
+ */
30
+ level: AccountNotificationDtoLevelEnum;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof AccountNotificationDto
35
+ */
36
+ type: AccountNotificationDtoTypeEnum;
37
+ /**
38
+ *
39
+ * @type {AccountNotificationReadStatusDto}
40
+ * @memberof AccountNotificationDto
41
+ */
42
+ read: AccountNotificationReadStatusDto;
43
+ }
44
+ /**
45
+ * @export
46
+ */
47
+ export declare const AccountNotificationDtoLevelEnum: {
48
+ readonly ERROR: "error";
49
+ readonly WARNING: "warning";
50
+ readonly CONFIGURATION_REQUIRED: "configuration_required";
51
+ };
52
+ export type AccountNotificationDtoLevelEnum = typeof AccountNotificationDtoLevelEnum[keyof typeof AccountNotificationDtoLevelEnum];
53
+ /**
54
+ * @export
55
+ */
56
+ export declare const AccountNotificationDtoTypeEnum: {
57
+ readonly BILLING_INFORMATION_NOT_CONFIGURED: "account.billing_information.not_configured";
58
+ readonly PAYMENT_PROVIDER_NOT_CONFIGURED: "account.payment_provider.not_configured";
59
+ readonly PAYMENT_PROVIDER_NOT_ACTIVE: "account.payment_provider.not_active";
60
+ };
61
+ export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
62
+ /**
63
+ * Check if a given object implements the AccountNotificationDto interface.
64
+ */
65
+ export declare function instanceOfAccountNotificationDto(value: object): value is AccountNotificationDto;
66
+ export declare function AccountNotificationDtoFromJSON(json: any): AccountNotificationDto;
67
+ export declare function AccountNotificationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountNotificationDto;
68
+ export declare function AccountNotificationDtoToJSON(json: any): AccountNotificationDto;
69
+ export declare function AccountNotificationDtoToJSONTyped(value?: AccountNotificationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,81 @@
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.AccountNotificationDtoTypeEnum = exports.AccountNotificationDtoLevelEnum = void 0;
17
+ exports.instanceOfAccountNotificationDto = instanceOfAccountNotificationDto;
18
+ exports.AccountNotificationDtoFromJSON = AccountNotificationDtoFromJSON;
19
+ exports.AccountNotificationDtoFromJSONTyped = AccountNotificationDtoFromJSONTyped;
20
+ exports.AccountNotificationDtoToJSON = AccountNotificationDtoToJSON;
21
+ exports.AccountNotificationDtoToJSONTyped = AccountNotificationDtoToJSONTyped;
22
+ var AccountNotificationReadStatusDto_1 = require("./AccountNotificationReadStatusDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.AccountNotificationDtoLevelEnum = {
27
+ ERROR: 'error',
28
+ WARNING: 'warning',
29
+ CONFIGURATION_REQUIRED: 'configuration_required'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.AccountNotificationDtoTypeEnum = {
35
+ BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured',
36
+ PAYMENT_PROVIDER_NOT_CONFIGURED: 'account.payment_provider.not_configured',
37
+ PAYMENT_PROVIDER_NOT_ACTIVE: 'account.payment_provider.not_active'
38
+ };
39
+ /**
40
+ * Check if a given object implements the AccountNotificationDto interface.
41
+ */
42
+ function instanceOfAccountNotificationDto(value) {
43
+ if (!('id' in value) || value['id'] === undefined)
44
+ return false;
45
+ if (!('level' in value) || value['level'] === undefined)
46
+ return false;
47
+ if (!('type' in value) || value['type'] === undefined)
48
+ return false;
49
+ if (!('read' in value) || value['read'] === undefined)
50
+ return false;
51
+ return true;
52
+ }
53
+ function AccountNotificationDtoFromJSON(json) {
54
+ return AccountNotificationDtoFromJSONTyped(json, false);
55
+ }
56
+ function AccountNotificationDtoFromJSONTyped(json, ignoreDiscriminator) {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+ 'id': json['id'],
62
+ 'level': json['level'],
63
+ 'type': json['type'],
64
+ 'read': (0, AccountNotificationReadStatusDto_1.AccountNotificationReadStatusDtoFromJSON)(json['read']),
65
+ };
66
+ }
67
+ function AccountNotificationDtoToJSON(json) {
68
+ return AccountNotificationDtoToJSONTyped(json, false);
69
+ }
70
+ function AccountNotificationDtoToJSONTyped(value, ignoreDiscriminator) {
71
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'id': value['id'],
77
+ 'level': value['level'],
78
+ 'type': value['type'],
79
+ 'read': (0, AccountNotificationReadStatusDto_1.AccountNotificationReadStatusDtoToJSON)(value['read']),
80
+ };
81
+ }
@@ -0,0 +1,44 @@
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
+ *
14
+ * @export
15
+ * @interface AccountNotificationReadStatusDto
16
+ */
17
+ export interface AccountNotificationReadStatusDto {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof AccountNotificationReadStatusDto
22
+ */
23
+ value: boolean;
24
+ /**
25
+ *
26
+ * @type {object}
27
+ * @memberof AccountNotificationReadStatusDto
28
+ */
29
+ by: object;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof AccountNotificationReadStatusDto
34
+ */
35
+ at: Date;
36
+ }
37
+ /**
38
+ * Check if a given object implements the AccountNotificationReadStatusDto interface.
39
+ */
40
+ export declare function instanceOfAccountNotificationReadStatusDto(value: object): value is AccountNotificationReadStatusDto;
41
+ export declare function AccountNotificationReadStatusDtoFromJSON(json: any): AccountNotificationReadStatusDto;
42
+ export declare function AccountNotificationReadStatusDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountNotificationReadStatusDto;
43
+ export declare function AccountNotificationReadStatusDtoToJSON(json: any): AccountNotificationReadStatusDto;
44
+ export declare function AccountNotificationReadStatusDtoToJSONTyped(value?: AccountNotificationReadStatusDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfAccountNotificationReadStatusDto = instanceOfAccountNotificationReadStatusDto;
17
+ exports.AccountNotificationReadStatusDtoFromJSON = AccountNotificationReadStatusDtoFromJSON;
18
+ exports.AccountNotificationReadStatusDtoFromJSONTyped = AccountNotificationReadStatusDtoFromJSONTyped;
19
+ exports.AccountNotificationReadStatusDtoToJSON = AccountNotificationReadStatusDtoToJSON;
20
+ exports.AccountNotificationReadStatusDtoToJSONTyped = AccountNotificationReadStatusDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AccountNotificationReadStatusDto interface.
23
+ */
24
+ function instanceOfAccountNotificationReadStatusDto(value) {
25
+ if (!('value' in value) || value['value'] === undefined)
26
+ return false;
27
+ if (!('by' in value) || value['by'] === undefined)
28
+ return false;
29
+ if (!('at' in value) || value['at'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function AccountNotificationReadStatusDtoFromJSON(json) {
34
+ return AccountNotificationReadStatusDtoFromJSONTyped(json, false);
35
+ }
36
+ function AccountNotificationReadStatusDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'value': json['value'],
42
+ 'by': json['by'],
43
+ 'at': (new Date(json['at'])),
44
+ };
45
+ }
46
+ function AccountNotificationReadStatusDtoToJSON(json) {
47
+ return AccountNotificationReadStatusDtoToJSONTyped(json, false);
48
+ }
49
+ function AccountNotificationReadStatusDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'value': value['value'],
56
+ 'by': value['by'],
57
+ 'at': ((value['at']).toISOString()),
58
+ };
59
+ }