@randock/nameshift-api-client 0.0.118 → 0.0.120
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.
- package/.openapi-generator/FILES +3 -1
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +15 -3
- package/dist/apis/AccountsApi.js +55 -1
- package/dist/models/AccountDto.d.ts +2 -1
- package/dist/models/AccountDto.js +6 -1
- package/dist/models/AccountMetricsDto.d.ts +2 -1
- package/dist/models/AccountMetricsDto.js +6 -1
- package/dist/models/AccountNotificationDto.d.ts +67 -0
- package/dist/models/AccountNotificationDto.js +79 -0
- package/dist/models/AccountNotificationReadStatusDto.d.ts +44 -0
- package/dist/models/AccountNotificationReadStatusDto.js +59 -0
- package/dist/models/AccountPaymentProviderSessionDto.d.ts +2 -1
- package/dist/models/AccountPaymentProviderSessionDto.js +6 -1
- package/dist/models/AccountSettingsDto.d.ts +2 -1
- package/dist/models/AccountSettingsDto.js +6 -1
- package/dist/models/AccountSettingsInput.d.ts +2 -1
- package/dist/models/AccountSettingsInput.js +6 -1
- package/dist/models/AddressDto.d.ts +2 -1
- package/dist/models/AddressDto.js +6 -1
- package/dist/models/AdminAccountSettingsInput.d.ts +2 -1
- package/dist/models/AdminAccountSettingsInput.js +6 -1
- package/dist/models/AdminGetAllDomainTransfers200Response.d.ts +2 -1
- package/dist/models/AdminGetAllDomainTransfers200Response.js +6 -1
- package/dist/models/BadRequestException.d.ts +2 -1
- package/dist/models/BadRequestException.js +6 -1
- package/dist/models/BatchReadBuyerLeadMessageInput.d.ts +2 -1
- package/dist/models/BatchReadBuyerLeadMessageInput.js +6 -1
- package/dist/models/BatchReadSellerLeadMessageInput.d.ts +2 -1
- package/dist/models/BatchReadSellerLeadMessageInput.js +6 -1
- package/dist/models/BatchUpdateDomainsInput.d.ts +2 -1
- package/dist/models/BatchUpdateDomainsInput.js +6 -1
- package/dist/models/BillingInformationDto.d.ts +2 -1
- package/dist/models/BillingInformationDto.js +6 -1
- package/dist/models/BuyerDomainTransferAuthCodeDto.d.ts +2 -1
- package/dist/models/BuyerDomainTransferAuthCodeDto.js +6 -1
- package/dist/models/BuyerDomainTransferListItemDomainDto.d.ts +2 -1
- package/dist/models/BuyerDomainTransferListItemDomainDto.js +6 -1
- package/dist/models/BuyerDomainTransferListItemDto.d.ts +2 -1
- package/dist/models/BuyerDomainTransferListItemDto.js +6 -1
- package/dist/models/BuyerLeadListItemDomainDto.d.ts +2 -1
- package/dist/models/BuyerLeadListItemDomainDto.js +6 -1
- package/dist/models/BuyerLeadListItemDto.d.ts +2 -1
- package/dist/models/BuyerLeadListItemDto.js +6 -1
- package/dist/models/BuyerSecurityUserDto.d.ts +2 -1
- package/dist/models/BuyerSecurityUserDto.js +6 -1
- package/dist/models/ChangeOrderStatusInput.d.ts +2 -1
- package/dist/models/ChangeOrderStatusInput.js +6 -1
- package/dist/models/ChartDataPoint.d.ts +2 -1
- package/dist/models/ChartDataPoint.js +6 -1
- package/dist/models/CompanyInformationDto.d.ts +2 -1
- package/dist/models/CompanyInformationDto.js +6 -1
- package/dist/models/CompanyTaxIdDto.d.ts +2 -1
- package/dist/models/CompanyTaxIdDto.js +6 -1
- package/dist/models/ConflictException.d.ts +2 -1
- package/dist/models/ConflictException.js +6 -1
- package/dist/models/CreateAccountPaymentProviderInput.d.ts +2 -1
- package/dist/models/CreateAccountPaymentProviderInput.js +6 -1
- package/dist/models/CreateBuyerLeadMessageInput.d.ts +2 -1
- package/dist/models/CreateBuyerLeadMessageInput.js +6 -1
- package/dist/models/CreateLeadInput.d.ts +2 -1
- package/dist/models/CreateLeadInput.js +6 -1
- package/dist/models/CreateLeadMessageInput.d.ts +2 -1
- package/dist/models/CreateLeadMessageInput.js +6 -1
- package/dist/models/CreateOrderInput.d.ts +2 -1
- package/dist/models/CreateOrderInput.js +6 -1
- package/dist/models/DeleteDomainsInput.d.ts +2 -1
- package/dist/models/DeleteDomainsInput.js +6 -1
- package/dist/models/DomainDto.d.ts +2 -1
- package/dist/models/DomainDto.js +6 -1
- package/dist/models/DomainSellerDto.d.ts +2 -1
- package/dist/models/DomainSellerDto.js +6 -1
- package/dist/models/DomainStats.d.ts +2 -1
- package/dist/models/DomainStats.js +6 -1
- package/dist/models/DomainTransferAgentDto.d.ts +2 -1
- package/dist/models/DomainTransferAgentDto.js +6 -1
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +6 -1
- package/dist/models/DomainTransferDetailWorkflowStepActionDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailWorkflowStepActionDto.js +6 -1
- package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailWorkflowStepDto.js +6 -1
- package/dist/models/DomainTransferDetailsAuthCodeDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsAuthCodeDto.js +6 -1
- package/dist/models/DomainTransferDetailsDomainDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsDomainDto.js +6 -1
- package/dist/models/DomainTransferDetailsDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsDto.js +6 -1
- package/dist/models/DomainTransferDetailsOrderBuyerDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsOrderBuyerDto.js +6 -1
- package/dist/models/DomainTransferDetailsOrderDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsOrderDto.js +6 -1
- package/dist/models/DomainTransferDetailsOrderSellerDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsOrderSellerDto.js +6 -1
- package/dist/models/DomainTransferDetailsOrderSellerUserDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsOrderSellerUserDto.js +6 -1
- package/dist/models/DomainTransferDetailsValidationDto.d.ts +2 -1
- package/dist/models/DomainTransferDetailsValidationDto.js +6 -1
- package/dist/models/DomainTransferDomainDto.d.ts +2 -1
- package/dist/models/DomainTransferDomainDto.js +6 -1
- package/dist/models/DomainTransferDto.d.ts +2 -1
- package/dist/models/DomainTransferDto.js +6 -1
- package/dist/models/DomainTransferOrderDto.d.ts +2 -1
- package/dist/models/DomainTransferOrderDto.js +6 -1
- package/dist/models/ForgotPasswordRequestInput.d.ts +2 -1
- package/dist/models/ForgotPasswordRequestInput.js +6 -1
- package/dist/models/GetAllDomainTransfers200Response.d.ts +2 -1
- package/dist/models/GetAllDomainTransfers200Response.js +6 -1
- package/dist/models/GetAllOrders200Response.d.ts +2 -1
- package/dist/models/GetAllOrders200Response.js +6 -1
- package/dist/models/GetAllOwnedDomains200Response.d.ts +2 -1
- package/dist/models/GetAllOwnedDomains200Response.js +6 -1
- package/dist/models/GetBuyerInvoices200Response.d.ts +2 -1
- package/dist/models/GetBuyerInvoices200Response.js +6 -1
- package/dist/models/GetBuyerLeads200Response.d.ts +2 -1
- package/dist/models/GetBuyerLeads200Response.js +6 -1
- package/dist/models/GetBuyerTransfers200Response.d.ts +2 -1
- package/dist/models/GetBuyerTransfers200Response.js +6 -1
- package/dist/models/HttpException.d.ts +2 -1
- package/dist/models/HttpException.js +6 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.d.ts +73 -0
- package/dist/models/{IntersectionAccountDtoWithSettingsDto.js → IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.js} +20 -10
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +6 -1
- package/dist/models/IntersectionDomainDtoWithDomainUrlDto.d.ts +2 -1
- package/dist/models/IntersectionDomainDtoWithDomainUrlDto.js +6 -1
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +2 -1
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +6 -1
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +2 -1
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +6 -1
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +2 -1
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +6 -1
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +2 -1
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +6 -1
- package/dist/models/InvoiceDomainDto.d.ts +2 -1
- package/dist/models/InvoiceDomainDto.js +6 -1
- package/dist/models/InvoiceDto.d.ts +2 -1
- package/dist/models/InvoiceDto.js +6 -1
- package/dist/models/InvoiceItemDto.d.ts +2 -7
- package/dist/models/InvoiceItemDto.js +6 -5
- package/dist/models/InvoiceItemTaxDto.d.ts +2 -1
- package/dist/models/InvoiceItemTaxDto.js +6 -1
- package/dist/models/InvoiceTransactionDto.d.ts +2 -1
- package/dist/models/InvoiceTransactionDto.js +6 -1
- package/dist/models/LeadDomainDto.d.ts +2 -1
- package/dist/models/LeadDomainDto.js +6 -1
- package/dist/models/LeadDto.d.ts +2 -1
- package/dist/models/LeadDto.js +6 -1
- package/dist/models/LeadMessageData.d.ts +2 -1
- package/dist/models/LeadMessageData.js +6 -1
- package/dist/models/LeadMessageDto.d.ts +2 -1
- package/dist/models/LeadMessageDto.js +6 -1
- package/dist/models/LeadStatusDto.d.ts +2 -1
- package/dist/models/LeadStatusDto.js +6 -1
- package/dist/models/List200Response.d.ts +2 -1
- package/dist/models/List200Response.js +6 -1
- package/dist/models/List200Response1.d.ts +2 -1
- package/dist/models/List200Response1.js +6 -1
- package/dist/models/ListAccountDto.d.ts +2 -1
- package/dist/models/ListAccountDto.js +6 -1
- package/dist/models/ListAccounts200Response.d.ts +2 -1
- package/dist/models/ListAccounts200Response.js +6 -1
- package/dist/models/ListLeadMessagesDto.d.ts +2 -1
- package/dist/models/ListLeadMessagesDto.js +6 -1
- package/dist/models/LoginDto.d.ts +2 -1
- package/dist/models/LoginDto.js +6 -1
- package/dist/models/LoginInput.d.ts +2 -1
- package/dist/models/LoginInput.js +6 -1
- package/dist/models/MoneyDto.d.ts +2 -1
- package/dist/models/MoneyDto.js +6 -1
- package/dist/models/NotFoundException.d.ts +2 -1
- package/dist/models/NotFoundException.js +6 -1
- package/dist/models/ObjectId.d.ts +2 -1
- package/dist/models/ObjectId.js +6 -1
- package/dist/models/OrderCompanyInfoDto.d.ts +2 -1
- package/dist/models/OrderCompanyInfoDto.js +6 -1
- package/dist/models/OrderCompanyTaxIdDto.d.ts +2 -1
- package/dist/models/OrderCompanyTaxIdDto.js +6 -1
- package/dist/models/OrderDto.d.ts +2 -1
- package/dist/models/OrderDto.js +6 -1
- package/dist/models/OrderListItemDto.d.ts +2 -1
- package/dist/models/OrderListItemDto.js +6 -1
- package/dist/models/OrderListItemDtoBuyerInformation.d.ts +2 -1
- package/dist/models/OrderListItemDtoBuyerInformation.js +6 -1
- package/dist/models/OrderListItemDtoDomainInformation.d.ts +2 -1
- package/dist/models/OrderListItemDtoDomainInformation.js +6 -1
- package/dist/models/OrderListItemDtoSellerAccount.d.ts +2 -1
- package/dist/models/OrderListItemDtoSellerAccount.js +6 -1
- package/dist/models/OwnedDomainDto.d.ts +2 -1
- package/dist/models/OwnedDomainDto.js +6 -1
- package/dist/models/PaginateResponse.d.ts +2 -1
- package/dist/models/PaginateResponse.js +6 -1
- package/dist/models/PaginateResponseLinks.d.ts +2 -1
- package/dist/models/PaginateResponseLinks.js +6 -1
- package/dist/models/PaginateResponseMeta.d.ts +2 -1
- package/dist/models/PaginateResponseMeta.js +6 -1
- package/dist/models/PaymentProviderDto.d.ts +2 -1
- package/dist/models/PaymentProviderDto.js +6 -1
- package/dist/models/PublicLeadBuyerDto.d.ts +2 -1
- package/dist/models/PublicLeadBuyerDto.js +6 -1
- package/dist/models/PublicLeadDto.d.ts +2 -1
- package/dist/models/PublicLeadDto.js +6 -1
- package/dist/models/PutBuyerLeadOfferInput.d.ts +2 -1
- package/dist/models/PutBuyerLeadOfferInput.js +6 -1
- package/dist/models/PutLeadOfferInput.d.ts +2 -1
- package/dist/models/PutLeadOfferInput.js +6 -1
- package/dist/models/RegisterAccountInput.d.ts +2 -1
- package/dist/models/RegisterAccountInput.js +6 -1
- package/dist/models/RelatedSellerDomain.d.ts +2 -1
- package/dist/models/RelatedSellerDomain.js +6 -1
- package/dist/models/RequestAccessTokenInput.d.ts +2 -1
- package/dist/models/RequestAccessTokenInput.js +6 -1
- package/dist/models/SellerDomainTransferAuthCodeDto.d.ts +2 -1
- package/dist/models/SellerDomainTransferAuthCodeDto.js +6 -1
- package/dist/models/SellerDomainTransferDomainDto.d.ts +2 -1
- package/dist/models/SellerDomainTransferDomainDto.js +6 -1
- package/dist/models/SellerDomainTransferDto.d.ts +2 -1
- package/dist/models/SellerDomainTransferDto.js +6 -1
- package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +2 -1
- package/dist/models/SellerDomainTransferListItemDomainDto.js +6 -1
- package/dist/models/SellerDomainTransferListItemDto.d.ts +2 -1
- package/dist/models/SellerDomainTransferListItemDto.js +6 -1
- package/dist/models/SellerSecurityUserAccountDto.d.ts +2 -1
- package/dist/models/SellerSecurityUserAccountDto.js +6 -1
- package/dist/models/SellerSecurityUserDto.d.ts +2 -1
- package/dist/models/SellerSecurityUserDto.js +6 -1
- package/dist/models/SetDomainTransferConfirmationInput.d.ts +2 -1
- package/dist/models/SetDomainTransferConfirmationInput.js +6 -1
- package/dist/models/SetNewPasswordInput.d.ts +2 -1
- package/dist/models/SetNewPasswordInput.js +6 -1
- package/dist/models/StoreBuyerLocaleInput.d.ts +2 -1
- package/dist/models/StoreBuyerLocaleInput.js +6 -1
- package/dist/models/StoreUserLocaleInput.d.ts +2 -1
- package/dist/models/StoreUserLocaleInput.js +6 -1
- package/dist/models/ThrottlerException.d.ts +2 -1
- package/dist/models/ThrottlerException.js +6 -1
- package/dist/models/UpdateDomainInput.d.ts +2 -1
- package/dist/models/UpdateDomainInput.js +6 -1
- package/dist/models/UpdateDomainTransferAuthCodeInput.d.ts +2 -1
- package/dist/models/UpdateDomainTransferAuthCodeInput.js +6 -1
- package/dist/models/UpdateLeadInput.d.ts +2 -1
- package/dist/models/UpdateLeadInput.js +6 -1
- package/dist/models/UpdateOrderInput.d.ts +2 -1
- package/dist/models/UpdateOrderInput.js +6 -1
- package/dist/models/UserPasswordResetDto.d.ts +2 -1
- package/dist/models/UserPasswordResetDto.js +6 -1
- package/dist/models/ValidationError.d.ts +2 -1
- package/dist/models/ValidationError.js +6 -1
- package/dist/models/ValidationException.d.ts +2 -1
- package/dist/models/ValidationException.js +6 -1
- package/dist/models/VerifyLeadInput.d.ts +2 -1
- package/dist/models/VerifyLeadInput.js +6 -1
- package/dist/models/WithSettingsInner.d.ts +2 -1
- package/dist/models/WithSettingsInner.js +6 -1
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +61 -6
- package/src/models/AccountDto.ts +9 -1
- package/src/models/AccountMetricsDto.ts +6 -1
- package/src/models/AccountNotificationDto.ts +121 -0
- package/src/models/AccountNotificationReadStatusDto.ts +84 -0
- package/src/models/AccountPaymentProviderSessionDto.ts +6 -1
- package/src/models/AccountSettingsDto.ts +7 -1
- package/src/models/AccountSettingsInput.ts +7 -1
- package/src/models/AddressDto.ts +6 -1
- package/src/models/AdminAccountSettingsInput.ts +6 -1
- package/src/models/AdminGetAllDomainTransfers200Response.ts +9 -1
- package/src/models/BadRequestException.ts +6 -1
- package/src/models/BatchReadBuyerLeadMessageInput.ts +6 -1
- package/src/models/BatchReadSellerLeadMessageInput.ts +6 -1
- package/src/models/BatchUpdateDomainsInput.ts +7 -1
- package/src/models/BillingInformationDto.ts +8 -1
- package/src/models/BuyerDomainTransferAuthCodeDto.ts +6 -1
- package/src/models/BuyerDomainTransferListItemDomainDto.ts +6 -1
- package/src/models/BuyerDomainTransferListItemDto.ts +7 -1
- package/src/models/BuyerLeadListItemDomainDto.ts +6 -1
- package/src/models/BuyerLeadListItemDto.ts +8 -1
- package/src/models/BuyerSecurityUserDto.ts +6 -1
- package/src/models/ChangeOrderStatusInput.ts +6 -1
- package/src/models/ChartDataPoint.ts +6 -1
- package/src/models/CompanyInformationDto.ts +7 -1
- package/src/models/CompanyTaxIdDto.ts +6 -1
- package/src/models/ConflictException.ts +6 -1
- package/src/models/CreateAccountPaymentProviderInput.ts +7 -1
- package/src/models/CreateBuyerLeadMessageInput.ts +6 -1
- package/src/models/CreateLeadInput.ts +7 -1
- package/src/models/CreateLeadMessageInput.ts +6 -1
- package/src/models/CreateOrderInput.ts +7 -1
- package/src/models/DeleteDomainsInput.ts +6 -1
- package/src/models/DomainDto.ts +7 -1
- package/src/models/DomainSellerDto.ts +7 -1
- package/src/models/DomainStats.ts +7 -1
- package/src/models/DomainTransferAgentDto.ts +6 -1
- package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +7 -1
- package/src/models/DomainTransferDetailWorkflowStepActionDto.ts +6 -1
- package/src/models/DomainTransferDetailWorkflowStepDto.ts +8 -1
- package/src/models/DomainTransferDetailsAuthCodeDto.ts +6 -1
- package/src/models/DomainTransferDetailsDomainDto.ts +6 -1
- package/src/models/DomainTransferDetailsDto.ts +12 -1
- package/src/models/DomainTransferDetailsOrderBuyerDto.ts +6 -1
- package/src/models/DomainTransferDetailsOrderDto.ts +8 -1
- package/src/models/DomainTransferDetailsOrderSellerDto.ts +7 -1
- package/src/models/DomainTransferDetailsOrderSellerUserDto.ts +6 -1
- package/src/models/DomainTransferDetailsValidationDto.ts +6 -1
- package/src/models/DomainTransferDomainDto.ts +6 -1
- package/src/models/DomainTransferDto.ts +9 -1
- package/src/models/DomainTransferOrderDto.ts +6 -1
- package/src/models/ForgotPasswordRequestInput.ts +6 -1
- package/src/models/GetAllDomainTransfers200Response.ts +9 -1
- package/src/models/GetAllOrders200Response.ts +9 -1
- package/src/models/GetAllOwnedDomains200Response.ts +9 -1
- package/src/models/GetBuyerInvoices200Response.ts +9 -1
- package/src/models/GetBuyerLeads200Response.ts +9 -1
- package/src/models/GetBuyerTransfers200Response.ts +9 -1
- package/src/models/HttpException.ts +6 -1
- package/src/models/{IntersectionAccountDtoWithSettingsDto.ts → IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts} +39 -14
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +8 -1
- package/src/models/IntersectionDomainDtoWithDomainUrlDto.ts +7 -1
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +8 -1
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +9 -1
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +8 -1
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +9 -1
- package/src/models/InvoiceDomainDto.ts +6 -1
- package/src/models/InvoiceDto.ts +7 -1
- package/src/models/InvoiceItemDto.ts +8 -10
- package/src/models/InvoiceItemTaxDto.ts +7 -1
- package/src/models/InvoiceTransactionDto.ts +6 -1
- package/src/models/LeadDomainDto.ts +6 -1
- package/src/models/LeadDto.ts +8 -1
- package/src/models/LeadMessageData.ts +7 -1
- package/src/models/LeadMessageDto.ts +7 -1
- package/src/models/LeadStatusDto.ts +6 -1
- package/src/models/List200Response.ts +9 -1
- package/src/models/List200Response1.ts +9 -1
- package/src/models/ListAccountDto.ts +6 -1
- package/src/models/ListAccounts200Response.ts +9 -1
- package/src/models/ListLeadMessagesDto.ts +7 -1
- package/src/models/LoginDto.ts +6 -1
- package/src/models/LoginInput.ts +6 -1
- package/src/models/MoneyDto.ts +6 -1
- package/src/models/NotFoundException.ts +6 -1
- package/src/models/ObjectId.ts +6 -1
- package/src/models/OrderCompanyInfoDto.ts +7 -1
- package/src/models/OrderCompanyTaxIdDto.ts +6 -1
- package/src/models/OrderDto.ts +11 -1
- package/src/models/OrderListItemDto.ts +10 -1
- package/src/models/OrderListItemDtoBuyerInformation.ts +8 -1
- package/src/models/OrderListItemDtoDomainInformation.ts +6 -1
- package/src/models/OrderListItemDtoSellerAccount.ts +6 -1
- package/src/models/OwnedDomainDto.ts +6 -1
- package/src/models/PaginateResponse.ts +8 -1
- package/src/models/PaginateResponseLinks.ts +6 -1
- package/src/models/PaginateResponseMeta.ts +6 -1
- package/src/models/PaymentProviderDto.ts +6 -1
- package/src/models/PublicLeadBuyerDto.ts +6 -1
- package/src/models/PublicLeadDto.ts +8 -1
- package/src/models/PutBuyerLeadOfferInput.ts +7 -1
- package/src/models/PutLeadOfferInput.ts +7 -1
- package/src/models/RegisterAccountInput.ts +6 -1
- package/src/models/RelatedSellerDomain.ts +7 -1
- package/src/models/RequestAccessTokenInput.ts +6 -1
- package/src/models/SellerDomainTransferAuthCodeDto.ts +6 -1
- package/src/models/SellerDomainTransferDomainDto.ts +6 -1
- package/src/models/SellerDomainTransferDto.ts +8 -1
- package/src/models/SellerDomainTransferListItemDomainDto.ts +6 -1
- package/src/models/SellerDomainTransferListItemDto.ts +7 -1
- package/src/models/SellerSecurityUserAccountDto.ts +6 -1
- package/src/models/SellerSecurityUserDto.ts +7 -1
- package/src/models/SetDomainTransferConfirmationInput.ts +6 -1
- package/src/models/SetNewPasswordInput.ts +6 -1
- package/src/models/StoreBuyerLocaleInput.ts +6 -1
- package/src/models/StoreUserLocaleInput.ts +6 -1
- package/src/models/ThrottlerException.ts +6 -1
- package/src/models/UpdateDomainInput.ts +7 -1
- package/src/models/UpdateDomainTransferAuthCodeInput.ts +6 -1
- package/src/models/UpdateLeadInput.ts +6 -1
- package/src/models/UpdateOrderInput.ts +7 -1
- package/src/models/UserPasswordResetDto.ts +6 -1
- package/src/models/ValidationError.ts +6 -1
- package/src/models/ValidationException.ts +7 -1
- package/src/models/VerifyLeadInput.ts +6 -1
- package/src/models/WithSettingsInner.ts +7 -1
- package/src/models/index.ts +3 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -65
package/src/apis/AccountsApi.ts
CHANGED
|
@@ -17,8 +17,9 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
AccountPaymentProviderSessionDto,
|
|
19
19
|
AccountSettingsInput,
|
|
20
|
+
BadRequestException,
|
|
20
21
|
CreateAccountPaymentProviderInput,
|
|
21
|
-
|
|
22
|
+
IntersectionAccountDtoWithSettingsDtoWithNotificationsDto,
|
|
22
23
|
NotFoundException,
|
|
23
24
|
ThrottlerException,
|
|
24
25
|
ValidationException,
|
|
@@ -28,10 +29,12 @@ import {
|
|
|
28
29
|
AccountPaymentProviderSessionDtoToJSON,
|
|
29
30
|
AccountSettingsInputFromJSON,
|
|
30
31
|
AccountSettingsInputToJSON,
|
|
32
|
+
BadRequestExceptionFromJSON,
|
|
33
|
+
BadRequestExceptionToJSON,
|
|
31
34
|
CreateAccountPaymentProviderInputFromJSON,
|
|
32
35
|
CreateAccountPaymentProviderInputToJSON,
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON,
|
|
37
|
+
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON,
|
|
35
38
|
NotFoundExceptionFromJSON,
|
|
36
39
|
NotFoundExceptionToJSON,
|
|
37
40
|
ThrottlerExceptionFromJSON,
|
|
@@ -49,6 +52,11 @@ export interface AccountsApiPostPaymentProviderRequest {
|
|
|
49
52
|
createAccountPaymentProviderInput: CreateAccountPaymentProviderInput;
|
|
50
53
|
}
|
|
51
54
|
|
|
55
|
+
export interface AccountsApiPostReadAccountNotificationRequest {
|
|
56
|
+
accountId: string;
|
|
57
|
+
notificationId: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
52
60
|
export interface AccountsApiUpdateSettingsRequest {
|
|
53
61
|
accountId: string;
|
|
54
62
|
accountSettingsInput: AccountSettingsInput;
|
|
@@ -103,7 +111,7 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
103
111
|
/**
|
|
104
112
|
*
|
|
105
113
|
*/
|
|
106
|
-
async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
114
|
+
async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>> {
|
|
107
115
|
const queryParameters: any = {};
|
|
108
116
|
|
|
109
117
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -123,13 +131,13 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
123
131
|
query: queryParameters,
|
|
124
132
|
}, initOverrides);
|
|
125
133
|
|
|
126
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
134
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON(jsonValue));
|
|
127
135
|
}
|
|
128
136
|
|
|
129
137
|
/**
|
|
130
138
|
*
|
|
131
139
|
*/
|
|
132
|
-
async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
140
|
+
async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto> {
|
|
133
141
|
const response = await this.meRaw(initOverrides);
|
|
134
142
|
return await response.value();
|
|
135
143
|
}
|
|
@@ -184,6 +192,53 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
184
192
|
await this.postPaymentProviderRaw(requestParameters, initOverrides);
|
|
185
193
|
}
|
|
186
194
|
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
*/
|
|
198
|
+
async postReadAccountNotificationRaw(requestParameters: AccountsApiPostReadAccountNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
199
|
+
if (requestParameters['accountId'] == null) {
|
|
200
|
+
throw new runtime.RequiredError(
|
|
201
|
+
'accountId',
|
|
202
|
+
'Required parameter "accountId" was null or undefined when calling postReadAccountNotification().'
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
if (requestParameters['notificationId'] == null) {
|
|
207
|
+
throw new runtime.RequiredError(
|
|
208
|
+
'notificationId',
|
|
209
|
+
'Required parameter "notificationId" was null or undefined when calling postReadAccountNotification().'
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const queryParameters: any = {};
|
|
214
|
+
|
|
215
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
216
|
+
|
|
217
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
218
|
+
const token = this.configuration.accessToken;
|
|
219
|
+
const tokenString = await token("bearer", []);
|
|
220
|
+
|
|
221
|
+
if (tokenString) {
|
|
222
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
const response = await this.request({
|
|
226
|
+
path: `/private/accounts/{accountId}/notifications/{notificationId}/read`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))).replace(`{${"notificationId"}}`, encodeURIComponent(String(requestParameters['notificationId']))),
|
|
227
|
+
method: 'POST',
|
|
228
|
+
headers: headerParameters,
|
|
229
|
+
query: queryParameters,
|
|
230
|
+
}, initOverrides);
|
|
231
|
+
|
|
232
|
+
return new runtime.VoidApiResponse(response);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
*/
|
|
238
|
+
async postReadAccountNotification(requestParameters: AccountsApiPostReadAccountNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
239
|
+
await this.postReadAccountNotificationRaw(requestParameters, initOverrides);
|
|
240
|
+
}
|
|
241
|
+
|
|
187
242
|
/**
|
|
188
243
|
*
|
|
189
244
|
*/
|
package/src/models/AccountDto.ts
CHANGED
|
@@ -18,18 +18,21 @@ import {
|
|
|
18
18
|
PaymentProviderDtoFromJSON,
|
|
19
19
|
PaymentProviderDtoFromJSONTyped,
|
|
20
20
|
PaymentProviderDtoToJSON,
|
|
21
|
+
PaymentProviderDtoToJSONTyped,
|
|
21
22
|
} from './PaymentProviderDto';
|
|
22
23
|
import type { AccountMetricsDto } from './AccountMetricsDto';
|
|
23
24
|
import {
|
|
24
25
|
AccountMetricsDtoFromJSON,
|
|
25
26
|
AccountMetricsDtoFromJSONTyped,
|
|
26
27
|
AccountMetricsDtoToJSON,
|
|
28
|
+
AccountMetricsDtoToJSONTyped,
|
|
27
29
|
} from './AccountMetricsDto';
|
|
28
30
|
import type { BillingInformationDto } from './BillingInformationDto';
|
|
29
31
|
import {
|
|
30
32
|
BillingInformationDtoFromJSON,
|
|
31
33
|
BillingInformationDtoFromJSONTyped,
|
|
32
34
|
BillingInformationDtoToJSON,
|
|
35
|
+
BillingInformationDtoToJSONTyped,
|
|
33
36
|
} from './BillingInformationDto';
|
|
34
37
|
|
|
35
38
|
/**
|
|
@@ -100,10 +103,15 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
100
103
|
};
|
|
101
104
|
}
|
|
102
105
|
|
|
103
|
-
export function AccountDtoToJSON(
|
|
106
|
+
export function AccountDtoToJSON(json: any): AccountDto {
|
|
107
|
+
return AccountDtoToJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function AccountDtoToJSONTyped(value?: AccountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
104
111
|
if (value == null) {
|
|
105
112
|
return value;
|
|
106
113
|
}
|
|
114
|
+
|
|
107
115
|
return {
|
|
108
116
|
|
|
109
117
|
'id': value['id'],
|
|
@@ -73,10 +73,15 @@ export function AccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export function AccountMetricsDtoToJSON(
|
|
76
|
+
export function AccountMetricsDtoToJSON(json: any): AccountMetricsDto {
|
|
77
|
+
return AccountMetricsDtoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function AccountMetricsDtoToJSONTyped(value?: AccountMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
77
81
|
if (value == null) {
|
|
78
82
|
return value;
|
|
79
83
|
}
|
|
84
|
+
|
|
80
85
|
return {
|
|
81
86
|
|
|
82
87
|
'leadsNumber': value['leadsNumber'],
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AccountNotificationReadStatusDto } from './AccountNotificationReadStatusDto';
|
|
17
|
+
import {
|
|
18
|
+
AccountNotificationReadStatusDtoFromJSON,
|
|
19
|
+
AccountNotificationReadStatusDtoFromJSONTyped,
|
|
20
|
+
AccountNotificationReadStatusDtoToJSON,
|
|
21
|
+
AccountNotificationReadStatusDtoToJSONTyped,
|
|
22
|
+
} from './AccountNotificationReadStatusDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AccountNotificationDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AccountNotificationDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AccountNotificationDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccountNotificationDto
|
|
40
|
+
*/
|
|
41
|
+
level: AccountNotificationDtoLevelEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountNotificationDto
|
|
46
|
+
*/
|
|
47
|
+
type: AccountNotificationDtoTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {AccountNotificationReadStatusDto}
|
|
51
|
+
* @memberof AccountNotificationDto
|
|
52
|
+
*/
|
|
53
|
+
read: AccountNotificationReadStatusDto;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export const AccountNotificationDtoLevelEnum = {
|
|
61
|
+
ERROR: 'error',
|
|
62
|
+
WARNING: 'warning',
|
|
63
|
+
CONFIGURATION_REQUIRED: 'configuration_required'
|
|
64
|
+
} as const;
|
|
65
|
+
export type AccountNotificationDtoLevelEnum = typeof AccountNotificationDtoLevelEnum[keyof typeof AccountNotificationDtoLevelEnum];
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const AccountNotificationDtoTypeEnum = {
|
|
71
|
+
ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured'
|
|
72
|
+
} as const;
|
|
73
|
+
export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the AccountNotificationDto interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfAccountNotificationDto(value: object): value is AccountNotificationDto {
|
|
80
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
81
|
+
if (!('level' in value) || value['level'] === undefined) return false;
|
|
82
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
83
|
+
if (!('read' in value) || value['read'] === undefined) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function AccountNotificationDtoFromJSON(json: any): AccountNotificationDto {
|
|
88
|
+
return AccountNotificationDtoFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function AccountNotificationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountNotificationDto {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': json['id'],
|
|
98
|
+
'level': json['level'],
|
|
99
|
+
'type': json['type'],
|
|
100
|
+
'read': AccountNotificationReadStatusDtoFromJSON(json['read']),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function AccountNotificationDtoToJSON(json: any): AccountNotificationDto {
|
|
105
|
+
return AccountNotificationDtoToJSONTyped(json, false);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function AccountNotificationDtoToJSONTyped(value?: AccountNotificationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
109
|
+
if (value == null) {
|
|
110
|
+
return value;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
|
|
115
|
+
'id': value['id'],
|
|
116
|
+
'level': value['level'],
|
|
117
|
+
'type': value['type'],
|
|
118
|
+
'read': AccountNotificationReadStatusDtoToJSON(value['read']),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AccountNotificationReadStatusDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountNotificationReadStatusDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof AccountNotificationReadStatusDto
|
|
26
|
+
*/
|
|
27
|
+
value: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof AccountNotificationReadStatusDto
|
|
32
|
+
*/
|
|
33
|
+
by: object;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof AccountNotificationReadStatusDto
|
|
38
|
+
*/
|
|
39
|
+
at: Date;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the AccountNotificationReadStatusDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfAccountNotificationReadStatusDto(value: object): value is AccountNotificationReadStatusDto {
|
|
46
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
47
|
+
if (!('by' in value) || value['by'] === undefined) return false;
|
|
48
|
+
if (!('at' in value) || value['at'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AccountNotificationReadStatusDtoFromJSON(json: any): AccountNotificationReadStatusDto {
|
|
53
|
+
return AccountNotificationReadStatusDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AccountNotificationReadStatusDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountNotificationReadStatusDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'value': json['value'],
|
|
63
|
+
'by': json['by'],
|
|
64
|
+
'at': (new Date(json['at'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function AccountNotificationReadStatusDtoToJSON(json: any): AccountNotificationReadStatusDto {
|
|
69
|
+
return AccountNotificationReadStatusDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function AccountNotificationReadStatusDtoToJSONTyped(value?: AccountNotificationReadStatusDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'value': value['value'],
|
|
80
|
+
'by': value['by'],
|
|
81
|
+
'at': ((value['at']).toISOString()),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -49,10 +49,15 @@ export function AccountPaymentProviderSessionDtoFromJSONTyped(json: any, ignoreD
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function AccountPaymentProviderSessionDtoToJSON(
|
|
52
|
+
export function AccountPaymentProviderSessionDtoToJSON(json: any): AccountPaymentProviderSessionDto {
|
|
53
|
+
return AccountPaymentProviderSessionDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AccountPaymentProviderSessionDtoToJSONTyped(value?: AccountPaymentProviderSessionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'accessToken': value['accessToken'],
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
MoneyDtoFromJSON,
|
|
19
19
|
MoneyDtoFromJSONTyped,
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
21
22
|
} from './MoneyDto';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -80,10 +81,15 @@ export function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
export function AccountSettingsDtoToJSON(
|
|
84
|
+
export function AccountSettingsDtoToJSON(json: any): AccountSettingsDto {
|
|
85
|
+
return AccountSettingsDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
84
89
|
if (value == null) {
|
|
85
90
|
return value;
|
|
86
91
|
}
|
|
92
|
+
|
|
87
93
|
return {
|
|
88
94
|
|
|
89
95
|
'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
MoneyDtoFromJSON,
|
|
19
19
|
MoneyDtoFromJSONTyped,
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
21
22
|
} from './MoneyDto';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -62,10 +63,15 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
export function AccountSettingsInputToJSON(
|
|
66
|
+
export function AccountSettingsInputToJSON(json: any): AccountSettingsInput {
|
|
67
|
+
return AccountSettingsInputToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
66
71
|
if (value == null) {
|
|
67
72
|
return value;
|
|
68
73
|
}
|
|
74
|
+
|
|
69
75
|
return {
|
|
70
76
|
|
|
71
77
|
'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
|
package/src/models/AddressDto.ts
CHANGED
|
@@ -89,10 +89,15 @@ export function AddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export function AddressDtoToJSON(
|
|
92
|
+
export function AddressDtoToJSON(json: any): AddressDto {
|
|
93
|
+
return AddressDtoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function AddressDtoToJSONTyped(value?: AddressDto | null, ignoreDiscriminator: boolean = false): any {
|
|
93
97
|
if (value == null) {
|
|
94
98
|
return value;
|
|
95
99
|
}
|
|
100
|
+
|
|
96
101
|
return {
|
|
97
102
|
|
|
98
103
|
'city': value['city'],
|
|
@@ -48,10 +48,15 @@ export function AdminAccountSettingsInputFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function AdminAccountSettingsInputToJSON(
|
|
51
|
+
export function AdminAccountSettingsInputToJSON(json: any): AdminAccountSettingsInput {
|
|
52
|
+
return AdminAccountSettingsInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function AdminAccountSettingsInputToJSONTyped(value?: AdminAccountSettingsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
52
56
|
if (value == null) {
|
|
53
57
|
return value;
|
|
54
58
|
}
|
|
59
|
+
|
|
55
60
|
return {
|
|
56
61
|
|
|
57
62
|
'automaticPayouts': value['automaticPayouts'],
|
|
@@ -18,18 +18,21 @@ import {
|
|
|
18
18
|
PaginateResponseLinksFromJSON,
|
|
19
19
|
PaginateResponseLinksFromJSONTyped,
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
21
22
|
} from './PaginateResponseLinks';
|
|
22
23
|
import type { DomainTransferDto } from './DomainTransferDto';
|
|
23
24
|
import {
|
|
24
25
|
DomainTransferDtoFromJSON,
|
|
25
26
|
DomainTransferDtoFromJSONTyped,
|
|
26
27
|
DomainTransferDtoToJSON,
|
|
28
|
+
DomainTransferDtoToJSONTyped,
|
|
27
29
|
} from './DomainTransferDto';
|
|
28
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
29
31
|
import {
|
|
30
32
|
PaginateResponseMetaFromJSON,
|
|
31
33
|
PaginateResponseMetaFromJSONTyped,
|
|
32
34
|
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
33
36
|
} from './PaginateResponseMeta';
|
|
34
37
|
|
|
35
38
|
/**
|
|
@@ -84,10 +87,15 @@ export function AdminGetAllDomainTransfers200ResponseFromJSONTyped(json: any, ig
|
|
|
84
87
|
};
|
|
85
88
|
}
|
|
86
89
|
|
|
87
|
-
export function AdminGetAllDomainTransfers200ResponseToJSON(
|
|
90
|
+
export function AdminGetAllDomainTransfers200ResponseToJSON(json: any): AdminGetAllDomainTransfers200Response {
|
|
91
|
+
return AdminGetAllDomainTransfers200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function AdminGetAllDomainTransfers200ResponseToJSONTyped(value?: AdminGetAllDomainTransfers200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
95
|
if (value == null) {
|
|
89
96
|
return value;
|
|
90
97
|
}
|
|
98
|
+
|
|
91
99
|
return {
|
|
92
100
|
|
|
93
101
|
'data': ((value['data'] as Array<any>).map(DomainTransferDtoToJSON)),
|
|
@@ -73,10 +73,15 @@ export function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export function BadRequestExceptionToJSON(
|
|
76
|
+
export function BadRequestExceptionToJSON(json: any): BadRequestException {
|
|
77
|
+
return BadRequestExceptionToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function BadRequestExceptionToJSONTyped(value?: BadRequestException | null, ignoreDiscriminator: boolean = false): any {
|
|
77
81
|
if (value == null) {
|
|
78
82
|
return value;
|
|
79
83
|
}
|
|
84
|
+
|
|
80
85
|
return {
|
|
81
86
|
|
|
82
87
|
'name': value['name'],
|
|
@@ -49,10 +49,15 @@ export function BatchReadBuyerLeadMessageInputFromJSONTyped(json: any, ignoreDis
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function BatchReadBuyerLeadMessageInputToJSON(
|
|
52
|
+
export function BatchReadBuyerLeadMessageInputToJSON(json: any): BatchReadBuyerLeadMessageInput {
|
|
53
|
+
return BatchReadBuyerLeadMessageInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function BatchReadBuyerLeadMessageInputToJSONTyped(value?: BatchReadBuyerLeadMessageInput | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'leadMessageIds': value['leadMessageIds'],
|
|
@@ -49,10 +49,15 @@ export function BatchReadSellerLeadMessageInputFromJSONTyped(json: any, ignoreDi
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function BatchReadSellerLeadMessageInputToJSON(
|
|
52
|
+
export function BatchReadSellerLeadMessageInputToJSON(json: any): BatchReadSellerLeadMessageInput {
|
|
53
|
+
return BatchReadSellerLeadMessageInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function BatchReadSellerLeadMessageInputToJSONTyped(value?: BatchReadSellerLeadMessageInput | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'leadMessageIds': value['leadMessageIds'],
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
UpdateDomainInputFromJSON,
|
|
19
19
|
UpdateDomainInputFromJSONTyped,
|
|
20
20
|
UpdateDomainInputToJSON,
|
|
21
|
+
UpdateDomainInputToJSONTyped,
|
|
21
22
|
} from './UpdateDomainInput';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -64,10 +65,15 @@ export function BatchUpdateDomainsInputFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
export function BatchUpdateDomainsInputToJSON(
|
|
68
|
+
export function BatchUpdateDomainsInputToJSON(json: any): BatchUpdateDomainsInput {
|
|
69
|
+
return BatchUpdateDomainsInputToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function BatchUpdateDomainsInputToJSONTyped(value?: BatchUpdateDomainsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
68
73
|
if (value == null) {
|
|
69
74
|
return value;
|
|
70
75
|
}
|
|
76
|
+
|
|
71
77
|
return {
|
|
72
78
|
|
|
73
79
|
'domainIds': value['domainIds'],
|
|
@@ -18,12 +18,14 @@ import {
|
|
|
18
18
|
CompanyInformationDtoFromJSON,
|
|
19
19
|
CompanyInformationDtoFromJSONTyped,
|
|
20
20
|
CompanyInformationDtoToJSON,
|
|
21
|
+
CompanyInformationDtoToJSONTyped,
|
|
21
22
|
} from './CompanyInformationDto';
|
|
22
23
|
import type { AddressDto } from './AddressDto';
|
|
23
24
|
import {
|
|
24
25
|
AddressDtoFromJSON,
|
|
25
26
|
AddressDtoFromJSONTyped,
|
|
26
27
|
AddressDtoToJSON,
|
|
28
|
+
AddressDtoToJSONTyped,
|
|
27
29
|
} from './AddressDto';
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -123,10 +125,15 @@ export function BillingInformationDtoFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
123
125
|
};
|
|
124
126
|
}
|
|
125
127
|
|
|
126
|
-
export function BillingInformationDtoToJSON(
|
|
128
|
+
export function BillingInformationDtoToJSON(json: any): BillingInformationDto {
|
|
129
|
+
return BillingInformationDtoToJSONTyped(json, false);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function BillingInformationDtoToJSONTyped(value?: BillingInformationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
127
133
|
if (value == null) {
|
|
128
134
|
return value;
|
|
129
135
|
}
|
|
136
|
+
|
|
130
137
|
return {
|
|
131
138
|
|
|
132
139
|
'type': value['type'],
|
|
@@ -49,10 +49,15 @@ export function BuyerDomainTransferAuthCodeDtoFromJSONTyped(json: any, ignoreDis
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function BuyerDomainTransferAuthCodeDtoToJSON(
|
|
52
|
+
export function BuyerDomainTransferAuthCodeDtoToJSON(json: any): BuyerDomainTransferAuthCodeDto {
|
|
53
|
+
return BuyerDomainTransferAuthCodeDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function BuyerDomainTransferAuthCodeDtoToJSONTyped(value?: BuyerDomainTransferAuthCodeDto | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'authCode': value['authCode'],
|
|
@@ -65,10 +65,15 @@ export function BuyerDomainTransferListItemDomainDtoFromJSONTyped(json: any, ign
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function BuyerDomainTransferListItemDomainDtoToJSON(
|
|
68
|
+
export function BuyerDomainTransferListItemDomainDtoToJSON(json: any): BuyerDomainTransferListItemDomainDto {
|
|
69
|
+
return BuyerDomainTransferListItemDomainDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function BuyerDomainTransferListItemDomainDtoToJSONTyped(value?: BuyerDomainTransferListItemDomainDto | null, ignoreDiscriminator: boolean = false): any {
|
|
69
73
|
if (value == null) {
|
|
70
74
|
return value;
|
|
71
75
|
}
|
|
76
|
+
|
|
72
77
|
return {
|
|
73
78
|
|
|
74
79
|
'id': value['id'],
|