@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/.openapi-generator/FILES
CHANGED
|
@@ -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/
|
|
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.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.120
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.120 --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
|
-
|
|
47
|
+
e5018738be8eee90faefa37bfcc0490f5fcc76ce83349cbf29d6a8d0af9cc51a333e335d96f11f4d8c3c85a3fc177f07
|
|
@@ -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,
|
|
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<
|
|
44
|
+
meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>>;
|
|
41
45
|
/**
|
|
42
46
|
*
|
|
43
47
|
*/
|
|
44
|
-
me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
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
|
*/
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -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.
|
|
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
|
*/
|
|
@@ -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(
|
|
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(
|
|
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(
|
|
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(
|
|
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,67 @@
|
|
|
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 ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: "account.billing_information.not_configured";
|
|
58
|
+
};
|
|
59
|
+
export type AccountNotificationDtoTypeEnum = typeof AccountNotificationDtoTypeEnum[keyof typeof AccountNotificationDtoTypeEnum];
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the AccountNotificationDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export declare function instanceOfAccountNotificationDto(value: object): value is AccountNotificationDto;
|
|
64
|
+
export declare function AccountNotificationDtoFromJSON(json: any): AccountNotificationDto;
|
|
65
|
+
export declare function AccountNotificationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountNotificationDto;
|
|
66
|
+
export declare function AccountNotificationDtoToJSON(json: any): AccountNotificationDto;
|
|
67
|
+
export declare function AccountNotificationDtoToJSONTyped(value?: AccountNotificationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
ACCOUNT_BILLING_INFORMATION_NOT_CONFIGURED: 'account.billing_information.not_configured'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AccountNotificationDto interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfAccountNotificationDto(value) {
|
|
41
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('level' in value) || value['level'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('read' in value) || value['read'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function AccountNotificationDtoFromJSON(json) {
|
|
52
|
+
return AccountNotificationDtoFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function AccountNotificationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': json['id'],
|
|
60
|
+
'level': json['level'],
|
|
61
|
+
'type': json['type'],
|
|
62
|
+
'read': (0, AccountNotificationReadStatusDto_1.AccountNotificationReadStatusDtoFromJSON)(json['read']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function AccountNotificationDtoToJSON(json) {
|
|
66
|
+
return AccountNotificationDtoToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function AccountNotificationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
69
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'level': value['level'],
|
|
76
|
+
'type': value['type'],
|
|
77
|
+
'read': (0, AccountNotificationReadStatusDto_1.AccountNotificationReadStatusDtoToJSON)(value['read']),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -28,4 +28,5 @@ export interface AccountPaymentProviderSessionDto {
|
|
|
28
28
|
export declare function instanceOfAccountPaymentProviderSessionDto(value: object): value is AccountPaymentProviderSessionDto;
|
|
29
29
|
export declare function AccountPaymentProviderSessionDtoFromJSON(json: any): AccountPaymentProviderSessionDto;
|
|
30
30
|
export declare function AccountPaymentProviderSessionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountPaymentProviderSessionDto;
|
|
31
|
-
export declare function AccountPaymentProviderSessionDtoToJSON(
|
|
31
|
+
export declare function AccountPaymentProviderSessionDtoToJSON(json: any): AccountPaymentProviderSessionDto;
|
|
32
|
+
export declare function AccountPaymentProviderSessionDtoToJSONTyped(value?: AccountPaymentProviderSessionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAccountPaymentProviderSessionDto = instanceOfAccountPaymentPro
|
|
|
17
17
|
exports.AccountPaymentProviderSessionDtoFromJSON = AccountPaymentProviderSessionDtoFromJSON;
|
|
18
18
|
exports.AccountPaymentProviderSessionDtoFromJSONTyped = AccountPaymentProviderSessionDtoFromJSONTyped;
|
|
19
19
|
exports.AccountPaymentProviderSessionDtoToJSON = AccountPaymentProviderSessionDtoToJSON;
|
|
20
|
+
exports.AccountPaymentProviderSessionDtoToJSONTyped = AccountPaymentProviderSessionDtoToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the AccountPaymentProviderSessionDto interface.
|
|
22
23
|
*/
|
|
@@ -36,7 +37,11 @@ function AccountPaymentProviderSessionDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
36
37
|
'accessToken': json['accessToken'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
|
-
function AccountPaymentProviderSessionDtoToJSON(
|
|
40
|
+
function AccountPaymentProviderSessionDtoToJSON(json) {
|
|
41
|
+
return AccountPaymentProviderSessionDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AccountPaymentProviderSessionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
40
45
|
if (value == null) {
|
|
41
46
|
return value;
|
|
42
47
|
}
|
|
@@ -47,4 +47,5 @@ export interface AccountSettingsDto {
|
|
|
47
47
|
export declare function instanceOfAccountSettingsDto(value: object): value is AccountSettingsDto;
|
|
48
48
|
export declare function AccountSettingsDtoFromJSON(json: any): AccountSettingsDto;
|
|
49
49
|
export declare function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsDto;
|
|
50
|
-
export declare function AccountSettingsDtoToJSON(
|
|
50
|
+
export declare function AccountSettingsDtoToJSON(json: any): AccountSettingsDto;
|
|
51
|
+
export declare function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAccountSettingsDto = instanceOfAccountSettingsDto;
|
|
|
17
17
|
exports.AccountSettingsDtoFromJSON = AccountSettingsDtoFromJSON;
|
|
18
18
|
exports.AccountSettingsDtoFromJSONTyped = AccountSettingsDtoFromJSONTyped;
|
|
19
19
|
exports.AccountSettingsDtoToJSON = AccountSettingsDtoToJSON;
|
|
20
|
+
exports.AccountSettingsDtoToJSONTyped = AccountSettingsDtoToJSONTyped;
|
|
20
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
@@ -46,7 +47,11 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
'automaticPayouts': json['automaticPayouts'],
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
function AccountSettingsDtoToJSON(
|
|
50
|
+
function AccountSettingsDtoToJSON(json) {
|
|
51
|
+
return AccountSettingsDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
55
|
if (value == null) {
|
|
51
56
|
return value;
|
|
52
57
|
}
|
|
@@ -35,4 +35,5 @@ export interface AccountSettingsInput {
|
|
|
35
35
|
export declare function instanceOfAccountSettingsInput(value: object): value is AccountSettingsInput;
|
|
36
36
|
export declare function AccountSettingsInputFromJSON(json: any): AccountSettingsInput;
|
|
37
37
|
export declare function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsInput;
|
|
38
|
-
export declare function AccountSettingsInputToJSON(
|
|
38
|
+
export declare function AccountSettingsInputToJSON(json: any): AccountSettingsInput;
|
|
39
|
+
export declare function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAccountSettingsInput = instanceOfAccountSettingsInput;
|
|
|
17
17
|
exports.AccountSettingsInputFromJSON = AccountSettingsInputFromJSON;
|
|
18
18
|
exports.AccountSettingsInputFromJSONTyped = AccountSettingsInputFromJSONTyped;
|
|
19
19
|
exports.AccountSettingsInputToJSON = AccountSettingsInputToJSON;
|
|
20
|
+
exports.AccountSettingsInputToJSONTyped = AccountSettingsInputToJSONTyped;
|
|
20
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -36,7 +37,11 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
'defaultCurrencyCode': json['defaultCurrencyCode'] == null ? undefined : json['defaultCurrencyCode'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
|
-
function AccountSettingsInputToJSON(
|
|
40
|
+
function AccountSettingsInputToJSON(json) {
|
|
41
|
+
return AccountSettingsInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
40
45
|
if (value == null) {
|
|
41
46
|
return value;
|
|
42
47
|
}
|
|
@@ -58,4 +58,5 @@ export interface AddressDto {
|
|
|
58
58
|
export declare function instanceOfAddressDto(value: object): value is AddressDto;
|
|
59
59
|
export declare function AddressDtoFromJSON(json: any): AddressDto;
|
|
60
60
|
export declare function AddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressDto;
|
|
61
|
-
export declare function AddressDtoToJSON(
|
|
61
|
+
export declare function AddressDtoToJSON(json: any): AddressDto;
|
|
62
|
+
export declare function AddressDtoToJSONTyped(value?: AddressDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAddressDto = instanceOfAddressDto;
|
|
|
17
17
|
exports.AddressDtoFromJSON = AddressDtoFromJSON;
|
|
18
18
|
exports.AddressDtoFromJSONTyped = AddressDtoFromJSONTyped;
|
|
19
19
|
exports.AddressDtoToJSON = AddressDtoToJSON;
|
|
20
|
+
exports.AddressDtoToJSONTyped = AddressDtoToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the AddressDto interface.
|
|
22
23
|
*/
|
|
@@ -51,7 +52,11 @@ function AddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
52
|
'stateCode': json['stateCode'],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
|
-
function AddressDtoToJSON(
|
|
55
|
+
function AddressDtoToJSON(json) {
|
|
56
|
+
return AddressDtoToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AddressDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
60
|
if (value == null) {
|
|
56
61
|
return value;
|
|
57
62
|
}
|
|
@@ -28,4 +28,5 @@ export interface AdminAccountSettingsInput {
|
|
|
28
28
|
export declare function instanceOfAdminAccountSettingsInput(value: object): value is AdminAccountSettingsInput;
|
|
29
29
|
export declare function AdminAccountSettingsInputFromJSON(json: any): AdminAccountSettingsInput;
|
|
30
30
|
export declare function AdminAccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminAccountSettingsInput;
|
|
31
|
-
export declare function AdminAccountSettingsInputToJSON(
|
|
31
|
+
export declare function AdminAccountSettingsInputToJSON(json: any): AdminAccountSettingsInput;
|
|
32
|
+
export declare function AdminAccountSettingsInputToJSONTyped(value?: AdminAccountSettingsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAdminAccountSettingsInput = instanceOfAdminAccountSettingsInpu
|
|
|
17
17
|
exports.AdminAccountSettingsInputFromJSON = AdminAccountSettingsInputFromJSON;
|
|
18
18
|
exports.AdminAccountSettingsInputFromJSONTyped = AdminAccountSettingsInputFromJSONTyped;
|
|
19
19
|
exports.AdminAccountSettingsInputToJSON = AdminAccountSettingsInputToJSON;
|
|
20
|
+
exports.AdminAccountSettingsInputToJSONTyped = AdminAccountSettingsInputToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
22
23
|
*/
|
|
@@ -34,7 +35,11 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function AdminAccountSettingsInputToJSON(
|
|
38
|
+
function AdminAccountSettingsInputToJSON(json) {
|
|
39
|
+
return AdminAccountSettingsInputToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
38
43
|
if (value == null) {
|
|
39
44
|
return value;
|
|
40
45
|
}
|
|
@@ -43,4 +43,5 @@ export interface AdminGetAllDomainTransfers200Response {
|
|
|
43
43
|
export declare function instanceOfAdminGetAllDomainTransfers200Response(value: object): value is AdminGetAllDomainTransfers200Response;
|
|
44
44
|
export declare function AdminGetAllDomainTransfers200ResponseFromJSON(json: any): AdminGetAllDomainTransfers200Response;
|
|
45
45
|
export declare function AdminGetAllDomainTransfers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminGetAllDomainTransfers200Response;
|
|
46
|
-
export declare function AdminGetAllDomainTransfers200ResponseToJSON(
|
|
46
|
+
export declare function AdminGetAllDomainTransfers200ResponseToJSON(json: any): AdminGetAllDomainTransfers200Response;
|
|
47
|
+
export declare function AdminGetAllDomainTransfers200ResponseToJSONTyped(value?: AdminGetAllDomainTransfers200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAdminGetAllDomainTransfers200Response = instanceOfAdminGetAllD
|
|
|
17
17
|
exports.AdminGetAllDomainTransfers200ResponseFromJSON = AdminGetAllDomainTransfers200ResponseFromJSON;
|
|
18
18
|
exports.AdminGetAllDomainTransfers200ResponseFromJSONTyped = AdminGetAllDomainTransfers200ResponseFromJSONTyped;
|
|
19
19
|
exports.AdminGetAllDomainTransfers200ResponseToJSON = AdminGetAllDomainTransfers200ResponseToJSON;
|
|
20
|
+
exports.AdminGetAllDomainTransfers200ResponseToJSONTyped = AdminGetAllDomainTransfers200ResponseToJSONTyped;
|
|
20
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
21
22
|
var DomainTransferDto_1 = require("./DomainTransferDto");
|
|
22
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
@@ -45,7 +46,11 @@ function AdminGetAllDomainTransfers200ResponseFromJSONTyped(json, ignoreDiscrimi
|
|
|
45
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
|
-
function AdminGetAllDomainTransfers200ResponseToJSON(
|
|
49
|
+
function AdminGetAllDomainTransfers200ResponseToJSON(json) {
|
|
50
|
+
return AdminGetAllDomainTransfers200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AdminGetAllDomainTransfers200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
54
|
if (value == null) {
|
|
50
55
|
return value;
|
|
51
56
|
}
|