wallet 2.1.503 → 2.1.507
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 +45 -69
- package/api/advertisementCreditsApi.ts +1 -1
- package/api/analyticsApi.ts +1 -1
- package/api/appleWalletSubscribersApi.ts +1 -1
- package/api/billingApi.ts +17 -17
- package/api/clubMembersPointsApi.ts +1 -1
- package/api/configurationApi.ts +8 -8
- package/api/countriesApi.ts +1 -1
- package/api/customerApi.ts +15 -15
- package/api/dashboardApi.ts +1 -1
- package/api/dynamicVouchersApi.ts +1 -1
- package/api/employeeAPIKeysApi.ts +1 -1
- package/api/employeeAccessApi.ts +8 -8
- package/api/employeesApi.ts +114 -120
- package/api/industriesApi.ts +1 -1
- package/api/infoGenesisReportsApi.ts +143 -162
- package/api/integratedTerminalsApi.ts +1 -1
- package/api/interactionsApi.ts +84 -16
- package/api/linkBookApi.ts +1 -1
- package/api/linkBookSectionApi.ts +1 -1
- package/api/loginAndLogoutApi.ts +8 -8
- package/api/membershipTiersApi.ts +1 -1
- package/api/merchantApi.ts +84 -22
- package/api/merchantCreditsApi.ts +1 -1
- package/api/merchantURLsApi.ts +1 -1
- package/api/mobileTerminalApi.ts +8 -8
- package/api/newsApi.ts +1 -1
- package/api/paymentDesignsApi.ts +1 -1
- package/api/performancesApi.ts +1 -1
- package/api/promoCodesApi.ts +1 -1
- package/api/sMSApi.ts +86 -89
- package/api/settingsApi.ts +1 -1
- package/api/staticVoucherCampaignGroupsApi.ts +1 -1
- package/api/staticVoucherCampaignsApi.ts +15 -15
- package/api/staticVouchersApi.ts +1 -1
- package/api/systemApi.ts +14 -15
- package/api/transactionLedgerApi.ts +1 -1
- package/api/utilitiesApi.ts +1 -1
- package/api/webTerminalApi.ts +8 -8
- package/dist/api/billingApi.d.ts +4 -4
- package/dist/api/billingApi.js +8 -8
- package/dist/api/billingApi.js.map +1 -1
- package/dist/api/configurationApi.d.ts +2 -2
- package/dist/api/configurationApi.js +4 -4
- package/dist/api/configurationApi.js.map +1 -1
- package/dist/api/customerApi.d.ts +4 -4
- package/dist/api/customerApi.js +8 -8
- package/dist/api/customerApi.js.map +1 -1
- package/dist/api/employeeAccessApi.d.ts +2 -2
- package/dist/api/employeeAccessApi.js +4 -4
- package/dist/api/employeeAccessApi.js.map +1 -1
- package/dist/api/employeesApi.d.ts +28 -34
- package/dist/api/employeesApi.js +68 -68
- package/dist/api/employeesApi.js.map +1 -1
- package/dist/api/infoGenesisReportsApi.d.ts +27 -46
- package/dist/api/infoGenesisReportsApi.js +92 -92
- package/dist/api/infoGenesisReportsApi.js.map +1 -1
- package/dist/api/interactionsApi.d.ts +11 -4
- package/dist/api/interactionsApi.js +69 -8
- package/dist/api/interactionsApi.js.map +1 -1
- package/dist/api/loginAndLogoutApi.d.ts +2 -2
- package/dist/api/loginAndLogoutApi.js +4 -4
- package/dist/api/loginAndLogoutApi.js.map +1 -1
- package/dist/api/merchantApi.d.ts +14 -6
- package/dist/api/merchantApi.js +69 -12
- package/dist/api/merchantApi.js.map +1 -1
- package/dist/api/mobileTerminalApi.d.ts +2 -2
- package/dist/api/mobileTerminalApi.js +4 -4
- package/dist/api/mobileTerminalApi.js.map +1 -1
- package/dist/api/sMSApi.d.ts +23 -26
- package/dist/api/sMSApi.js +48 -48
- package/dist/api/sMSApi.js.map +1 -1
- package/dist/api/staticVoucherCampaignsApi.d.ts +4 -4
- package/dist/api/staticVoucherCampaignsApi.js +8 -8
- package/dist/api/staticVoucherCampaignsApi.js.map +1 -1
- package/dist/api/systemApi.d.ts +3 -4
- package/dist/api/systemApi.js +8 -8
- package/dist/api/systemApi.js.map +1 -1
- package/dist/api/webTerminalApi.d.ts +2 -2
- package/dist/api/webTerminalApi.js +4 -4
- package/dist/api/webTerminalApi.js.map +1 -1
- package/dist/model/dashboardWidget.d.ts +1 -0
- package/dist/model/dashboardWidget.js +5 -0
- package/dist/model/dashboardWidget.js.map +1 -1
- package/dist/model/employee.d.ts +3 -0
- package/dist/model/employee.js +15 -0
- package/dist/model/employee.js.map +1 -1
- package/dist/model/merchant.d.ts +3 -3
- package/dist/model/merchant.js +15 -15
- package/dist/model/merchant.js.map +1 -1
- package/dist/model/models.d.ts +45 -69
- package/dist/model/models.js +135 -207
- package/dist/model/models.js.map +1 -1
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +3 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +15 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -1
- package/dist/model/wTAuthenticationForgotPassword.d.ts +14 -0
- package/dist/model/wTAuthenticationForgotPassword.js +18 -0
- package/dist/model/wTAuthenticationForgotPassword.js.map +1 -0
- package/dist/model/wTAuthenticationLogin.d.ts +15 -0
- package/dist/model/wTAuthenticationLogin.js +23 -0
- package/dist/model/wTAuthenticationLogin.js.map +1 -0
- package/dist/model/wTAuthenticationRegister.d.ts +29 -0
- package/dist/model/wTAuthenticationRegister.js +93 -0
- package/dist/model/wTAuthenticationRegister.js.map +1 -0
- package/dist/model/wTAuthenticationRequestResetPassword.d.ts +14 -0
- package/dist/model/wTAuthenticationRequestResetPassword.js +18 -0
- package/dist/model/wTAuthenticationRequestResetPassword.js.map +1 -0
- package/dist/model/wTAuthenticationResetPassword.d.ts +16 -0
- package/dist/model/wTAuthenticationResetPassword.js +28 -0
- package/dist/model/wTAuthenticationResetPassword.js.map +1 -0
- package/dist/model/wTAuthenticationSSOLoginForDiscourse.d.ts +17 -0
- package/dist/model/wTAuthenticationSSOLoginForDiscourse.js +33 -0
- package/dist/model/wTAuthenticationSSOLoginForDiscourse.js.map +1 -0
- package/dist/model/wTBillingChangePlan.d.ts +14 -0
- package/dist/model/wTBillingChangePlan.js +18 -0
- package/dist/model/wTBillingChangePlan.js.map +1 -0
- package/dist/model/wTBillingSavePaymentMethod.d.ts +14 -0
- package/dist/model/wTBillingSavePaymentMethod.js +18 -0
- package/dist/model/wTBillingSavePaymentMethod.js.map +1 -0
- package/dist/model/wTCustomerSearchByMemberID.d.ts +14 -0
- package/dist/model/wTCustomerSearchByMemberID.js +18 -0
- package/dist/model/wTCustomerSearchByMemberID.js.map +1 -0
- package/dist/model/wTCustomerSearchByPhoneNumber.d.ts +14 -0
- package/dist/model/wTCustomerSearchByPhoneNumber.js +18 -0
- package/dist/model/wTCustomerSearchByPhoneNumber.js.map +1 -0
- package/dist/model/wTEmployee.d.ts +3 -0
- package/dist/model/wTEmployee.js +15 -0
- package/dist/model/wTEmployee.js.map +1 -1
- package/dist/model/wTEmployeeCreate.d.ts +3 -0
- package/dist/model/wTEmployeeCreate.js +15 -0
- package/dist/model/wTEmployeeCreate.js.map +1 -1
- package/dist/model/wTEmployeeCreateAlert.d.ts +15 -0
- package/dist/model/wTEmployeeCreateAlert.js +23 -0
- package/dist/model/wTEmployeeCreateAlert.js.map +1 -0
- package/dist/model/wTEmployeeCreateMediaFile.d.ts +15 -0
- package/dist/model/wTEmployeeCreateMediaFile.js +23 -0
- package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -0
- package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.d.ts +14 -0
- package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js +18 -0
- package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js.map +1 -0
- package/dist/model/wTEmployeeFileCreate.d.ts +15 -0
- package/dist/model/wTEmployeeFileCreate.js +23 -0
- package/dist/model/wTEmployeeFileCreate.js.map +1 -0
- package/dist/model/wTEmployeeImportRecords.d.ts +15 -0
- package/dist/model/wTEmployeeImportRecords.js +23 -0
- package/dist/model/wTEmployeeImportRecords.js.map +1 -0
- package/dist/model/wTEmployeePeerRoles.d.ts +14 -0
- package/dist/model/wTEmployeePeerRoles.js +18 -0
- package/dist/model/wTEmployeePeerRoles.js.map +1 -0
- package/dist/model/wTEmployeeS3FilePresign.d.ts +16 -0
- package/dist/model/wTEmployeeS3FilePresign.js +28 -0
- package/dist/model/wTEmployeeS3FilePresign.js.map +1 -0
- package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.d.ts +20 -0
- package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js +48 -0
- package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js.map +1 -0
- package/dist/model/wTEmployeeScheduleSimpleSMS.d.ts +19 -0
- package/dist/model/wTEmployeeScheduleSimpleSMS.js +43 -0
- package/dist/model/wTEmployeeScheduleSimpleSMS.js.map +1 -0
- package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.d.ts +18 -0
- package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js +38 -0
- package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js.map +1 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +15 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.js +23 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -0
- package/dist/model/wTEmployeeUpdate.d.ts +3 -0
- package/dist/model/wTEmployeeUpdate.js +15 -0
- package/dist/model/wTEmployeeUpdate.js.map +1 -1
- package/dist/model/wTFetchWalletPaymentObjectWithToken.d.ts +17 -0
- package/dist/model/wTFetchWalletPaymentObjectWithToken.js +33 -0
- package/dist/model/wTFetchWalletPaymentObjectWithToken.js.map +1 -0
- package/dist/model/wTInfoGenesisLookupRequestErrors.d.ts +17 -0
- package/dist/model/wTInfoGenesisLookupRequestErrors.js +33 -0
- package/dist/model/wTInfoGenesisLookupRequestErrors.js.map +1 -0
- package/dist/model/wTInfoGenesisRecordFilterParameters.d.ts +16 -0
- package/dist/model/wTInfoGenesisRecordFilterParameters.js +28 -0
- package/dist/model/wTInfoGenesisRecordFilterParameters.js.map +1 -0
- package/dist/model/wTInfoGenesisRoutingIDs.d.ts +14 -0
- package/dist/model/wTInfoGenesisRoutingIDs.js +18 -0
- package/dist/model/wTInfoGenesisRoutingIDs.js.map +1 -0
- package/dist/model/wTInfoGenesisUniquePostingIDs.d.ts +14 -0
- package/dist/model/wTInfoGenesisUniquePostingIDs.js +18 -0
- package/dist/model/wTInfoGenesisUniquePostingIDs.js.map +1 -0
- package/dist/model/wTMerchantUpdate.d.ts +21 -0
- package/dist/model/wTMerchantUpdate.js +53 -0
- package/dist/model/wTMerchantUpdate.js.map +1 -0
- package/dist/model/wTMerchantUpdateBillingContact.d.ts +14 -0
- package/dist/model/wTMerchantUpdateBillingContact.js +18 -0
- package/dist/model/wTMerchantUpdateBillingContact.js.map +1 -0
- package/dist/model/wTMerchantUpdatePOSIntegration.d.ts +14 -0
- package/dist/model/wTMerchantUpdatePOSIntegration.js +18 -0
- package/dist/model/wTMerchantUpdatePOSIntegration.js.map +1 -0
- package/dist/model/wTSMSAcquirePhoneNumber.d.ts +14 -0
- package/dist/model/wTSMSAcquirePhoneNumber.js +18 -0
- package/dist/model/wTSMSAcquirePhoneNumber.js.map +1 -0
- package/dist/model/wTSMSCreateAgreement.d.ts +25 -0
- package/dist/model/wTSMSCreateAgreement.js +73 -0
- package/dist/model/wTSMSCreateAgreement.js.map +1 -0
- package/dist/model/wTSMSImportOptInListSubscribers.d.ts +16 -0
- package/dist/model/wTSMSImportOptInListSubscribers.js +28 -0
- package/dist/model/wTSMSImportOptInListSubscribers.js.map +1 -0
- package/dist/model/wTSMSImportedListCreate.d.ts +16 -0
- package/dist/model/wTSMSImportedListCreate.js +28 -0
- package/dist/model/wTSMSImportedListCreate.js.map +1 -0
- package/dist/model/wTSMSOptInListSourceCreate.d.ts +15 -0
- package/dist/model/wTSMSOptInListSourceCreate.js +23 -0
- package/dist/model/wTSMSOptInListSourceCreate.js.map +1 -0
- package/dist/model/wTSMSUpdatePhoneNumberConfig.d.ts +25 -0
- package/dist/model/wTSMSUpdatePhoneNumberConfig.js +73 -0
- package/dist/model/wTSMSUpdatePhoneNumberConfig.js.map +1 -0
- package/dist/model/wTSettingsSetPassword.d.ts +14 -0
- package/dist/model/wTSettingsSetPassword.js +18 -0
- package/dist/model/wTSettingsSetPassword.js.map +1 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessages.d.ts +16 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessages.js +28 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessages.js.map +1 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.d.ts +18 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js +38 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js.map +1 -0
- package/dist/model/wTSystemApprovePhoneNumber.d.ts +15 -0
- package/dist/model/wTSystemApprovePhoneNumber.js +23 -0
- package/dist/model/wTSystemApprovePhoneNumber.js.map +1 -0
- package/dist/model/wTSystemRoleCreate.d.ts +15 -0
- package/dist/model/wTSystemRoleCreate.js +23 -0
- package/dist/model/wTSystemRoleCreate.js.map +1 -0
- package/dist/model/wTTCPAOpt.d.ts +16 -0
- package/dist/model/wTTCPAOpt.js +28 -0
- package/dist/model/wTTCPAOpt.js.map +1 -0
- package/dist/model/wTTwilioRequestAuthyCode.d.ts +15 -0
- package/dist/model/wTTwilioRequestAuthyCode.js +23 -0
- package/dist/model/wTTwilioRequestAuthyCode.js.map +1 -0
- package/dist/model/wTTwilioVerifyAuthyCode.d.ts +16 -0
- package/dist/model/wTTwilioVerifyAuthyCode.js +28 -0
- package/dist/model/wTTwilioVerifyAuthyCode.js.map +1 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +45 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.js +173 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -0
- package/dist/model/wTWalletItemRedemption.d.ts +16 -0
- package/dist/model/wTWalletItemRedemption.js +28 -0
- package/dist/model/wTWalletItemRedemption.js.map +1 -0
- package/model/advertisementCredit.ts +1 -1
- package/model/advertisementCreditBroadcast.ts +1 -1
- package/model/advertisementCreditScan.ts +1 -1
- package/model/agreement.ts +1 -1
- package/model/alert.ts +1 -1
- package/model/announcement.ts +1 -1
- package/model/applicableTerminals.ts +1 -1
- package/model/applicableTerminalsAnyOf.ts +1 -1
- package/model/applicableTerminalsAnyOf1.ts +1 -1
- package/model/applicableTerminalsAnyOf2.ts +1 -1
- package/model/applicableTerminalsAnyOf3.ts +1 -1
- package/model/authError.ts +1 -1
- package/model/availablePhoneNumbersRequest.ts +1 -1
- package/model/clickFunnelAmount.ts +1 -1
- package/model/clickFunnelContact.ts +1 -1
- package/model/clickFunnelContactProfile.ts +1 -1
- package/model/clickFunnelEvent.ts +1 -1
- package/model/clickFunnelOriginalAmount.ts +1 -1
- package/model/clickFunnelProduct.ts +1 -1
- package/model/clickFunnelPurchase.ts +1 -1
- package/model/createStaticVoucherCampaign.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +1 -1
- package/model/dashboardWidget.ts +7 -1
- package/model/duplicateRowFound.ts +1 -1
- package/model/dynamicVoucher.ts +1 -1
- package/model/dynamicVoucherBroadcast.ts +1 -1
- package/model/employee.ts +19 -1
- package/model/employeeAPIKey.ts +1 -1
- package/model/employeeActivityLog.ts +1 -1
- package/model/entityTooLarge.ts +1 -1
- package/model/exportDataFile.ts +1 -1
- package/model/falsumError.ts +1 -1
- package/model/falsumField.ts +1 -1
- package/model/feature.ts +1 -1
- package/model/forbiddenRequest.ts +1 -1
- package/model/foreignKeyDoesNotExist.ts +1 -1
- package/model/helpDeskRequest.ts +1 -1
- package/model/importedList.ts +1 -1
- package/model/importedListRecipient.ts +1 -1
- package/model/inlineObject.ts +1 -1
- package/model/inlineObject1.ts +1 -1
- package/model/inlineObject10.ts +1 -1
- package/model/inlineObject11.ts +1 -1
- package/model/inlineObject12.ts +1 -1
- package/model/inlineObject13.ts +1 -1
- package/model/inlineObject14.ts +1 -1
- package/model/inlineObject15.ts +1 -1
- package/model/inlineObject16.ts +1 -1
- package/model/inlineObject17.ts +1 -1
- package/model/inlineObject18.ts +1 -1
- package/model/inlineObject19.ts +1 -1
- package/model/inlineObject2.ts +1 -1
- package/model/inlineObject20.ts +1 -1
- package/model/inlineObject21.ts +1 -1
- package/model/inlineObject22.ts +1 -1
- package/model/inlineObject23.ts +1 -1
- package/model/inlineObject24.ts +1 -1
- package/model/inlineObject25.ts +1 -1
- package/model/inlineObject26.ts +1 -1
- package/model/inlineObject27.ts +1 -1
- package/model/inlineObject28.ts +1 -1
- package/model/inlineObject29.ts +1 -1
- package/model/inlineObject3.ts +1 -1
- package/model/inlineObject30.ts +1 -1
- package/model/inlineObject31.ts +1 -1
- package/model/inlineObject32.ts +1 -1
- package/model/inlineObject33.ts +1 -1
- package/model/inlineObject34.ts +1 -1
- package/model/inlineObject35.ts +1 -1
- package/model/inlineObject36.ts +1 -1
- package/model/inlineObject37.ts +1 -1
- package/model/inlineObject38.ts +1 -1
- package/model/inlineObject39.ts +1 -1
- package/model/inlineObject4.ts +1 -1
- package/model/inlineObject40.ts +1 -1
- package/model/inlineObject41.ts +1 -1
- package/model/inlineObject42.ts +1 -1
- package/model/inlineObject43.ts +1 -1
- package/model/inlineObject44.ts +1 -1
- package/model/inlineObject45.ts +1 -1
- package/model/inlineObject46.ts +1 -1
- package/model/inlineObject47.ts +1 -1
- package/model/inlineObject48.ts +1 -1
- package/model/inlineObject49.ts +1 -1
- package/model/inlineObject5.ts +1 -1
- package/model/inlineObject50.ts +1 -1
- package/model/inlineObject51.ts +1 -1
- package/model/inlineObject52.ts +1 -1
- package/model/inlineObject53.ts +1 -1
- package/model/inlineObject54.ts +1 -1
- package/model/inlineObject55.ts +1 -1
- package/model/inlineObject56.ts +1 -1
- package/model/inlineObject57.ts +1 -1
- package/model/inlineObject58.ts +1 -1
- package/model/inlineObject59.ts +1 -1
- package/model/inlineObject6.ts +1 -1
- package/model/inlineObject60.ts +1 -1
- package/model/inlineObject61.ts +1 -1
- package/model/inlineObject62.ts +1 -1
- package/model/inlineObject63.ts +1 -1
- package/model/inlineObject64.ts +1 -1
- package/model/inlineObject65.ts +1 -1
- package/model/inlineObject66.ts +1 -1
- package/model/inlineObject67.ts +1 -1
- package/model/inlineObject68.ts +1 -1
- package/model/inlineObject7.ts +1 -1
- package/model/inlineObject8.ts +1 -1
- package/model/inlineObject9.ts +1 -1
- package/model/inlineResponse200.ts +1 -1
- package/model/inlineResponse2001.ts +1 -1
- package/model/inlineResponse20010.ts +1 -1
- package/model/inlineResponse20011.ts +1 -1
- package/model/inlineResponse20012.ts +1 -1
- package/model/inlineResponse20013.ts +1 -1
- package/model/inlineResponse20014.ts +1 -1
- package/model/inlineResponse2002.ts +1 -1
- package/model/inlineResponse2003.ts +1 -1
- package/model/inlineResponse2004.ts +1 -1
- package/model/inlineResponse2005.ts +1 -1
- package/model/inlineResponse2006.ts +1 -1
- package/model/inlineResponse2007.ts +1 -1
- package/model/inlineResponse2008.ts +1 -1
- package/model/inlineResponse2009.ts +1 -1
- package/model/internalServerError.ts +1 -1
- package/model/ledgerEntry.ts +1 -1
- package/model/linkBook.ts +1 -1
- package/model/linkBookSection.ts +1 -1
- package/model/mSMemberHistory.ts +1 -1
- package/model/mSMemberHistoryPagination.ts +1 -1
- package/model/mSMemberRedemption.ts +1 -1
- package/model/mSMemberRedemptionPagination.ts +1 -1
- package/model/mSMembershipTierHistory.ts +1 -1
- package/model/mSMembershipTierHistoryPagination.ts +1 -1
- package/model/mSMembershipTierRedemption.ts +1 -1
- package/model/mSMembershipTierRedemptionPagination.ts +1 -1
- package/model/mSMerchantCreditHistory.ts +1 -1
- package/model/mSMerchantCreditHistoryPagination.ts +1 -1
- package/model/mSMerchantCreditRedemption.ts +1 -1
- package/model/mSMerchantCreditRedemptionPagination.ts +1 -1
- package/model/mediaFile.ts +1 -1
- package/model/member.ts +1 -1
- package/model/memberSearch.ts +1 -1
- package/model/merchant.ts +19 -19
- package/model/merchantCreditSearch.ts +1 -1
- package/model/merchantNotInitialized.ts +1 -1
- package/model/merchantURL.ts +1 -1
- package/model/message.ts +1 -1
- package/model/models.ts +135 -207
- package/model/moduleError.ts +1 -1
- package/model/newsArticle.ts +1 -1
- package/model/optInList.ts +1 -1
- package/model/optInListSource.ts +1 -1
- package/model/optInListSubscriber.ts +1 -1
- package/model/outboundSMS.ts +1 -1
- package/model/paginatedWTMembers.ts +1 -1
- package/model/paginatedWTMerchantCredits.ts +1 -1
- package/model/paginationRequestWithIDAndWithoutSortOptions.ts +1 -1
- package/model/paginationRequestWithSortOptions.ts +1 -1
- package/model/paymentDesign.ts +1 -1
- package/model/performance.ts +1 -1
- package/model/phoneNumber.ts +1 -1
- package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +1 -1
- package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +1 -1
- package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +1 -1
- package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +1 -1
- package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +1 -1
- package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +1 -1
- package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +1 -1
- package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +1 -1
- package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.ts +1 -1
- package/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts +1 -1
- package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +1 -1
- package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +1 -1
- package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +1 -1
- package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +1 -1
- package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +1 -1
- package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +1 -1
- package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +1 -1
- package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +1 -1
- package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +1 -1
- package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +1 -1
- package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +1 -1
- package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +19 -1
- package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +1 -1
- package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +1 -1
- package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +1 -1
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
- package/model/plan.ts +1 -1
- package/model/portalPage.ts +1 -1
- package/model/presignedPost.ts +1 -1
- package/model/presignedPostFields.ts +1 -1
- package/model/product.ts +1 -1
- package/model/promoCode.ts +1 -1
- package/model/reachPerformanceStats.ts +1 -1
- package/model/request.ts +1 -1
- package/model/response.ts +1 -1
- package/model/role.ts +1 -1
- package/model/roleAuditLog.ts +1 -1
- package/model/sSImportedListRecipientCreateParams.ts +1 -1
- package/model/sSOptInSource.ts +1 -1
- package/model/simpleSMSBroadcast.ts +1 -1
- package/model/staticVoucher.ts +1 -1
- package/model/staticVoucherCampaign.ts +1 -1
- package/model/staticVoucherCampaignBroadcast.ts +1 -1
- package/model/staticVoucherCampaignGroup.ts +1 -1
- package/model/staticVoucherCampaignUpdate.ts +1 -1
- package/model/status.ts +1 -1
- package/model/statusAnyOf.ts +1 -1
- package/model/statusAnyOf1.ts +1 -1
- package/model/statusAnyOf2.ts +1 -1
- package/model/statusAnyOf3.ts +1 -1
- package/model/subscriptionFeature.ts +1 -1
- package/model/subscriptionPlan.ts +1 -1
- package/model/subscriptionProduct.ts +1 -1
- package/model/tcpa.ts +1 -1
- package/model/updateStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/vSCampaignGeneratedMessage.ts +1 -1
- package/model/vSCampaignGeneratedMessagePagination.ts +1 -1
- package/model/vSDynamicVoucherStatus.ts +1 -1
- package/model/wTAdvertisementCredit.ts +1 -1
- package/model/wTAdvertisementCreditCreateParams.ts +1 -1
- package/model/wTAdvertisementCreditScan.ts +1 -1
- package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
- package/model/wTAuthenticationForgotPassword.ts +31 -0
- package/model/wTAuthenticationLogin.ts +37 -0
- package/model/wTAuthenticationRegister.ts +121 -0
- package/model/wTAuthenticationRequestResetPassword.ts +31 -0
- package/model/wTAuthenticationResetPassword.ts +43 -0
- package/model/wTAuthenticationSSOLoginForDiscourse.ts +49 -0
- package/model/wTBillingChangePlan.ts +31 -0
- package/model/wTBillingSavePaymentMethod.ts +31 -0
- package/model/wTCustomerSearchByMemberID.ts +31 -0
- package/model/wTCustomerSearchByPhoneNumber.ts +31 -0
- package/model/wTDynamicVoucher.ts +1 -1
- package/model/wTDynamicVoucherCreateParams.ts +1 -1
- package/model/wTDynamicVoucherRedemption.ts +1 -1
- package/model/wTDynamicVoucherSummary.ts +1 -1
- package/model/wTDynamicVoucherUpdateParams.ts +1 -1
- package/model/wTEmployee.ts +19 -1
- package/model/wTEmployeeAPIKey.ts +1 -1
- package/model/wTEmployeeAPIKeyCreateParams.ts +1 -1
- package/model/wTEmployeeAPIKeyUpdateParams.ts +1 -1
- package/model/wTEmployeeCreate.ts +19 -1
- package/model/wTEmployeeCreateAlert.ts +37 -0
- package/model/wTEmployeeCreateMediaFile.ts +37 -0
- package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +31 -0
- package/model/wTEmployeeFileCreate.ts +37 -0
- package/model/wTEmployeeImportRecords.ts +37 -0
- package/model/wTEmployeeNotification.ts +1 -1
- package/model/wTEmployeePeerRoles.ts +31 -0
- package/model/wTEmployeeS3FilePresign.ts +43 -0
- package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +67 -0
- package/model/wTEmployeeScheduleSimpleSMS.ts +61 -0
- package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +55 -0
- package/model/wTEmployeeSendHelpDeskResponse.ts +37 -0
- package/model/wTEmployeeUpdate.ts +19 -1
- package/model/wTFetchWalletPaymentObjectWithToken.ts +49 -0
- package/model/wTImportedList.ts +1 -1
- package/model/wTInfoGenesisLookupRequestErrors.ts +49 -0
- package/model/wTInfoGenesisRecordFilterParameters.ts +43 -0
- package/model/wTInfoGenesisRoutingIDs.ts +31 -0
- package/model/wTInfoGenesisUniquePostingIDs.ts +31 -0
- package/model/wTLinkBookCreateParams.ts +1 -1
- package/model/wTLinkBookSectionCreateParams.ts +1 -1
- package/model/wTLinkBookSectionUpdateParams.ts +1 -1
- package/model/wTLinkBookUpdateParams.ts +1 -1
- package/model/wTMember.ts +1 -1
- package/model/wTMemberCreationParams.ts +1 -1
- package/model/wTMembershipTier.ts +1 -1
- package/model/wTMembershipTierCreationParams.ts +1 -1
- package/model/wTMembershipTierUpdateParams.ts +1 -1
- package/model/wTMembershipTierWithMemberCount.ts +1 -1
- package/model/wTMerchantCredit.ts +1 -1
- package/model/wTMerchantCreditCreationParams.ts +1 -1
- package/model/wTMerchantURLCreate.ts +1 -1
- package/model/wTMerchantURLUpdate.ts +1 -1
- package/model/wTMerchantUpdate.ts +73 -0
- package/model/wTMerchantUpdateBillingContact.ts +31 -0
- package/model/wTMerchantUpdatePOSIntegration.ts +31 -0
- package/model/wTNewsArticleCreateParams.ts +1 -1
- package/model/wTNewsArticleUpdateParams.ts +1 -1
- package/model/wTOptInList.ts +1 -1
- package/model/wTOptInListCreationParams.ts +1 -1
- package/model/wTPaymentDesign.ts +1 -1
- package/model/wTPaymentDesignCreateParams.ts +1 -1
- package/model/wTPaymentDesignUpdateParams.ts +1 -1
- package/model/wTPerformanceCreateParams.ts +1 -1
- package/model/wTPerformanceUpdateParams.ts +1 -1
- package/model/wTPosMachine.ts +1 -1
- package/model/wTPosMachineCreateParams.ts +1 -1
- package/model/wTPosMachineUpdateParams.ts +1 -1
- package/model/wTPromoCodeCreateParams.ts +1 -1
- package/model/wTPromoCodeUpdateParams.ts +1 -1
- package/model/wTRole.ts +1 -1
- package/model/wTSMSAcquirePhoneNumber.ts +31 -0
- package/model/wTSMSCreateAgreement.ts +97 -0
- package/model/wTSMSImportOptInListSubscribers.ts +43 -0
- package/model/wTSMSImportedListCreate.ts +43 -0
- package/model/wTSMSOptInListSourceCreate.ts +37 -0
- package/model/wTSMSUpdatePhoneNumberConfig.ts +97 -0
- package/model/wTSettingsSetPassword.ts +31 -0
- package/model/wTStaticVoucher.ts +1 -1
- package/model/wTStaticVoucherCampaign.ts +1 -1
- package/model/wTStaticVoucherCampaignPreviewMessages.ts +43 -0
- package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +55 -0
- package/model/wTStaticVoucherCreateParams.ts +1 -1
- package/model/wTStaticVoucherUpdateParams.ts +1 -1
- package/model/wTSystemApprovePhoneNumber.ts +37 -0
- package/model/wTSystemRoleCreate.ts +37 -0
- package/model/wTTCPAOpt.ts +43 -0
- package/model/wTTwilioRequestAuthyCode.ts +37 -0
- package/model/wTTwilioVerifyAuthyCode.ts +43 -0
- package/model/wTWalletConfigurationSaveWalletRecord.ts +217 -0
- package/model/wTWalletItemRedemption.ts +43 -0
- package/model/wTWalletPageView.ts +1 -1
- package/model/wTWalletPageViewGeoPoint.ts +1 -1
- package/model/walletConfiguration.ts +1 -1
- package/model/walletPageView.ts +1 -1
- package/model/webpage.ts +1 -1
- package/package.json +1 -1
package/api/sMSApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* wallet-api
|
|
3
3
|
* API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.507
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,17 +20,6 @@ import { AuthError } from '../model/authError';
|
|
|
20
20
|
import { FalsumError } from '../model/falsumError';
|
|
21
21
|
import { ImportedList } from '../model/importedList';
|
|
22
22
|
import { ImportedListRecipient } from '../model/importedListRecipient';
|
|
23
|
-
import { InlineObject51 } from '../model/inlineObject51';
|
|
24
|
-
import { InlineObject52 } from '../model/inlineObject52';
|
|
25
|
-
import { InlineObject53 } from '../model/inlineObject53';
|
|
26
|
-
import { InlineObject54 } from '../model/inlineObject54';
|
|
27
|
-
import { InlineObject55 } from '../model/inlineObject55';
|
|
28
|
-
import { InlineObject56 } from '../model/inlineObject56';
|
|
29
|
-
import { InlineObject57 } from '../model/inlineObject57';
|
|
30
|
-
import { InlineObject58 } from '../model/inlineObject58';
|
|
31
|
-
import { InlineObject59 } from '../model/inlineObject59';
|
|
32
|
-
import { InlineObject60 } from '../model/inlineObject60';
|
|
33
|
-
import { InlineObject61 } from '../model/inlineObject61';
|
|
34
23
|
import { InlineResponse20010 } from '../model/inlineResponse20010';
|
|
35
24
|
import { InlineResponse20011 } from '../model/inlineResponse20011';
|
|
36
25
|
import { InlineResponse2002 } from '../model/inlineResponse2002';
|
|
@@ -40,10 +29,18 @@ import { InternalServerError } from '../model/internalServerError';
|
|
|
40
29
|
import { OptInList } from '../model/optInList';
|
|
41
30
|
import { OptInListSource } from '../model/optInListSource';
|
|
42
31
|
import { OptInListSubscriber } from '../model/optInListSubscriber';
|
|
32
|
+
import { OutboundSMS } from '../model/outboundSMS';
|
|
43
33
|
import { PhoneNumber } from '../model/phoneNumber';
|
|
44
34
|
import { SSImportedListRecipientCreateParams } from '../model/sSImportedListRecipientCreateParams';
|
|
45
35
|
import { Tcpa } from '../model/tcpa';
|
|
36
|
+
import { WTEmployeeImportRecords } from '../model/wTEmployeeImportRecords';
|
|
46
37
|
import { WTOptInListCreationParams } from '../model/wTOptInListCreationParams';
|
|
38
|
+
import { WTSMSAcquirePhoneNumber } from '../model/wTSMSAcquirePhoneNumber';
|
|
39
|
+
import { WTSMSCreateAgreement } from '../model/wTSMSCreateAgreement';
|
|
40
|
+
import { WTSMSImportOptInListSubscribers } from '../model/wTSMSImportOptInListSubscribers';
|
|
41
|
+
import { WTSMSImportedListCreate } from '../model/wTSMSImportedListCreate';
|
|
42
|
+
import { WTSMSOptInListSourceCreate } from '../model/wTSMSOptInListSourceCreate';
|
|
43
|
+
import { WTSMSUpdatePhoneNumberConfig } from '../model/wTSMSUpdatePhoneNumberConfig';
|
|
47
44
|
|
|
48
45
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
49
46
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -120,9 +117,9 @@ export class SMSApi {
|
|
|
120
117
|
/**
|
|
121
118
|
*
|
|
122
119
|
* @summary Acquire phone number
|
|
123
|
-
* @param
|
|
120
|
+
* @param wTSMSAcquirePhoneNumber
|
|
124
121
|
*/
|
|
125
|
-
public async acquirePhoneNumber (
|
|
122
|
+
public async acquirePhoneNumber (wTSMSAcquirePhoneNumber: WTSMSAcquirePhoneNumber, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
|
|
126
123
|
const localVarPath = this.basePath + '/v2/sms/phoneNumber/acquire';
|
|
127
124
|
let localVarQueryParameters: any = {};
|
|
128
125
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -135,9 +132,9 @@ export class SMSApi {
|
|
|
135
132
|
}
|
|
136
133
|
let localVarFormParams: any = {};
|
|
137
134
|
|
|
138
|
-
// verify required parameter '
|
|
139
|
-
if (
|
|
140
|
-
throw new Error('Required parameter
|
|
135
|
+
// verify required parameter 'wTSMSAcquirePhoneNumber' is not null or undefined
|
|
136
|
+
if (wTSMSAcquirePhoneNumber === null || wTSMSAcquirePhoneNumber === undefined) {
|
|
137
|
+
throw new Error('Required parameter wTSMSAcquirePhoneNumber was null or undefined when calling acquirePhoneNumber.');
|
|
141
138
|
}
|
|
142
139
|
|
|
143
140
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -151,7 +148,7 @@ export class SMSApi {
|
|
|
151
148
|
uri: localVarPath,
|
|
152
149
|
useQuerystring: this._useQuerystring,
|
|
153
150
|
json: true,
|
|
154
|
-
body: ObjectSerializer.serialize(
|
|
151
|
+
body: ObjectSerializer.serialize(wTSMSAcquirePhoneNumber, "WTSMSAcquirePhoneNumber")
|
|
155
152
|
};
|
|
156
153
|
|
|
157
154
|
let authenticationPromise = Promise.resolve();
|
|
@@ -170,13 +167,13 @@ export class SMSApi {
|
|
|
170
167
|
localVarRequestOptions.form = localVarFormParams;
|
|
171
168
|
}
|
|
172
169
|
}
|
|
173
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
170
|
+
return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
|
|
174
171
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
175
172
|
if (error) {
|
|
176
173
|
reject(error);
|
|
177
174
|
} else {
|
|
178
175
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
179
|
-
body = ObjectSerializer.deserialize(body, "
|
|
176
|
+
body = ObjectSerializer.deserialize(body, "PhoneNumber");
|
|
180
177
|
resolve({ response: response, body: body });
|
|
181
178
|
} else {
|
|
182
179
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -683,9 +680,9 @@ export class SMSApi {
|
|
|
683
680
|
/**
|
|
684
681
|
*
|
|
685
682
|
* @summary Create imported list
|
|
686
|
-
* @param
|
|
683
|
+
* @param wTSMSImportedListCreate
|
|
687
684
|
*/
|
|
688
|
-
public async createImportedList (
|
|
685
|
+
public async createImportedList (wTSMSImportedListCreate: WTSMSImportedListCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedList; }> {
|
|
689
686
|
const localVarPath = this.basePath + '/v2/sms/importedList';
|
|
690
687
|
let localVarQueryParameters: any = {};
|
|
691
688
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -698,9 +695,9 @@ export class SMSApi {
|
|
|
698
695
|
}
|
|
699
696
|
let localVarFormParams: any = {};
|
|
700
697
|
|
|
701
|
-
// verify required parameter '
|
|
702
|
-
if (
|
|
703
|
-
throw new Error('Required parameter
|
|
698
|
+
// verify required parameter 'wTSMSImportedListCreate' is not null or undefined
|
|
699
|
+
if (wTSMSImportedListCreate === null || wTSMSImportedListCreate === undefined) {
|
|
700
|
+
throw new Error('Required parameter wTSMSImportedListCreate was null or undefined when calling createImportedList.');
|
|
704
701
|
}
|
|
705
702
|
|
|
706
703
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -714,7 +711,7 @@ export class SMSApi {
|
|
|
714
711
|
uri: localVarPath,
|
|
715
712
|
useQuerystring: this._useQuerystring,
|
|
716
713
|
json: true,
|
|
717
|
-
body: ObjectSerializer.serialize(
|
|
714
|
+
body: ObjectSerializer.serialize(wTSMSImportedListCreate, "WTSMSImportedListCreate")
|
|
718
715
|
};
|
|
719
716
|
|
|
720
717
|
let authenticationPromise = Promise.resolve();
|
|
@@ -821,9 +818,9 @@ export class SMSApi {
|
|
|
821
818
|
/**
|
|
822
819
|
*
|
|
823
820
|
* @summary Send SMS to opt in list
|
|
824
|
-
* @param
|
|
821
|
+
* @param wTSMSOptInListSourceCreate
|
|
825
822
|
*/
|
|
826
|
-
public async createOptInListSource (
|
|
823
|
+
public async createOptInListSource (wTSMSOptInListSourceCreate: WTSMSOptInListSourceCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInListSource; }> {
|
|
827
824
|
const localVarPath = this.basePath + '/v2/sms/optInListSource';
|
|
828
825
|
let localVarQueryParameters: any = {};
|
|
829
826
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -836,9 +833,9 @@ export class SMSApi {
|
|
|
836
833
|
}
|
|
837
834
|
let localVarFormParams: any = {};
|
|
838
835
|
|
|
839
|
-
// verify required parameter '
|
|
840
|
-
if (
|
|
841
|
-
throw new Error('Required parameter
|
|
836
|
+
// verify required parameter 'wTSMSOptInListSourceCreate' is not null or undefined
|
|
837
|
+
if (wTSMSOptInListSourceCreate === null || wTSMSOptInListSourceCreate === undefined) {
|
|
838
|
+
throw new Error('Required parameter wTSMSOptInListSourceCreate was null or undefined when calling createOptInListSource.');
|
|
842
839
|
}
|
|
843
840
|
|
|
844
841
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -852,7 +849,7 @@ export class SMSApi {
|
|
|
852
849
|
uri: localVarPath,
|
|
853
850
|
useQuerystring: this._useQuerystring,
|
|
854
851
|
json: true,
|
|
855
|
-
body: ObjectSerializer.serialize(
|
|
852
|
+
body: ObjectSerializer.serialize(wTSMSOptInListSourceCreate, "WTSMSOptInListSourceCreate")
|
|
856
853
|
};
|
|
857
854
|
|
|
858
855
|
let authenticationPromise = Promise.resolve();
|
|
@@ -959,9 +956,9 @@ export class SMSApi {
|
|
|
959
956
|
/**
|
|
960
957
|
*
|
|
961
958
|
* @summary Accept SMS agreement
|
|
962
|
-
* @param
|
|
959
|
+
* @param wTSMSCreateAgreement
|
|
963
960
|
*/
|
|
964
|
-
public async createSMSAgreement (
|
|
961
|
+
public async createSMSAgreement (wTSMSCreateAgreement: WTSMSCreateAgreement, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Agreement; }> {
|
|
965
962
|
const localVarPath = this.basePath + '/v2/sms/agreement/create';
|
|
966
963
|
let localVarQueryParameters: any = {};
|
|
967
964
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -974,9 +971,9 @@ export class SMSApi {
|
|
|
974
971
|
}
|
|
975
972
|
let localVarFormParams: any = {};
|
|
976
973
|
|
|
977
|
-
// verify required parameter '
|
|
978
|
-
if (
|
|
979
|
-
throw new Error('Required parameter
|
|
974
|
+
// verify required parameter 'wTSMSCreateAgreement' is not null or undefined
|
|
975
|
+
if (wTSMSCreateAgreement === null || wTSMSCreateAgreement === undefined) {
|
|
976
|
+
throw new Error('Required parameter wTSMSCreateAgreement was null or undefined when calling createSMSAgreement.');
|
|
980
977
|
}
|
|
981
978
|
|
|
982
979
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -990,7 +987,7 @@ export class SMSApi {
|
|
|
990
987
|
uri: localVarPath,
|
|
991
988
|
useQuerystring: this._useQuerystring,
|
|
992
989
|
json: true,
|
|
993
|
-
body: ObjectSerializer.serialize(
|
|
990
|
+
body: ObjectSerializer.serialize(wTSMSCreateAgreement, "WTSMSCreateAgreement")
|
|
994
991
|
};
|
|
995
992
|
|
|
996
993
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1568,7 +1565,7 @@ export class SMSApi {
|
|
|
1568
1565
|
* @summary Fetch opt in lists
|
|
1569
1566
|
* @param phoneNumberID
|
|
1570
1567
|
*/
|
|
1571
|
-
public async fetchOptInListsAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1568
|
+
public async fetchOptInListsAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInList>; }> {
|
|
1572
1569
|
const localVarPath = this.basePath + '/v2/sms/phoneNumber/lists/{phoneNumberID}'
|
|
1573
1570
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1574
1571
|
let localVarQueryParameters: any = {};
|
|
@@ -1616,13 +1613,13 @@ export class SMSApi {
|
|
|
1616
1613
|
localVarRequestOptions.form = localVarFormParams;
|
|
1617
1614
|
}
|
|
1618
1615
|
}
|
|
1619
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1616
|
+
return new Promise<{ response: http.IncomingMessage; body: Array<OptInList>; }>((resolve, reject) => {
|
|
1620
1617
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1621
1618
|
if (error) {
|
|
1622
1619
|
reject(error);
|
|
1623
1620
|
} else {
|
|
1624
1621
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1625
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1622
|
+
body = ObjectSerializer.deserialize(body, "Array<OptInList>");
|
|
1626
1623
|
resolve({ response: response, body: body });
|
|
1627
1624
|
} else {
|
|
1628
1625
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1721,7 +1718,7 @@ export class SMSApi {
|
|
|
1721
1718
|
* @summary Fetch opt in sources
|
|
1722
1719
|
* @param phoneNumberID
|
|
1723
1720
|
*/
|
|
1724
|
-
public async fetchOptInSourcesAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1721
|
+
public async fetchOptInSourcesAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInListSource>; }> {
|
|
1725
1722
|
const localVarPath = this.basePath + '/v2/sms/phoneNumber/sources/{phoneNumberID}'
|
|
1726
1723
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1727
1724
|
let localVarQueryParameters: any = {};
|
|
@@ -1769,13 +1766,13 @@ export class SMSApi {
|
|
|
1769
1766
|
localVarRequestOptions.form = localVarFormParams;
|
|
1770
1767
|
}
|
|
1771
1768
|
}
|
|
1772
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1769
|
+
return new Promise<{ response: http.IncomingMessage; body: Array<OptInListSource>; }>((resolve, reject) => {
|
|
1773
1770
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1774
1771
|
if (error) {
|
|
1775
1772
|
reject(error);
|
|
1776
1773
|
} else {
|
|
1777
1774
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1778
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1775
|
+
body = ObjectSerializer.deserialize(body, "Array<OptInListSource>");
|
|
1779
1776
|
resolve({ response: response, body: body });
|
|
1780
1777
|
} else {
|
|
1781
1778
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1793,7 +1790,7 @@ export class SMSApi {
|
|
|
1793
1790
|
* @param status
|
|
1794
1791
|
* @param paymentObjectBroadcastID
|
|
1795
1792
|
*/
|
|
1796
|
-
public async fetchOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1793
|
+
public async fetchOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OutboundSMS>; }> {
|
|
1797
1794
|
const localVarPath = this.basePath + '/v2/sms/outbound/{phoneNumberID}'
|
|
1798
1795
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1799
1796
|
let localVarQueryParameters: any = {};
|
|
@@ -1853,13 +1850,13 @@ export class SMSApi {
|
|
|
1853
1850
|
localVarRequestOptions.form = localVarFormParams;
|
|
1854
1851
|
}
|
|
1855
1852
|
}
|
|
1856
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1853
|
+
return new Promise<{ response: http.IncomingMessage; body: Array<OutboundSMS>; }>((resolve, reject) => {
|
|
1857
1854
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1858
1855
|
if (error) {
|
|
1859
1856
|
reject(error);
|
|
1860
1857
|
} else {
|
|
1861
1858
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1862
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1859
|
+
body = ObjectSerializer.deserialize(body, "Array<OutboundSMS>");
|
|
1863
1860
|
resolve({ response: response, body: body });
|
|
1864
1861
|
} else {
|
|
1865
1862
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -2093,9 +2090,9 @@ export class SMSApi {
|
|
|
2093
2090
|
*
|
|
2094
2091
|
* @summary Import imported list recipients
|
|
2095
2092
|
* @param importedListID
|
|
2096
|
-
* @param
|
|
2093
|
+
* @param wTEmployeeImportRecords
|
|
2097
2094
|
*/
|
|
2098
|
-
public async importImportedListRecipients (importedListID: string,
|
|
2095
|
+
public async importImportedListRecipients (importedListID: string, wTEmployeeImportRecords: WTEmployeeImportRecords, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
2099
2096
|
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/import/{importedListID}'
|
|
2100
2097
|
.replace('{' + 'importedListID' + '}', encodeURIComponent(String(importedListID)));
|
|
2101
2098
|
let localVarQueryParameters: any = {};
|
|
@@ -2114,9 +2111,9 @@ export class SMSApi {
|
|
|
2114
2111
|
throw new Error('Required parameter importedListID was null or undefined when calling importImportedListRecipients.');
|
|
2115
2112
|
}
|
|
2116
2113
|
|
|
2117
|
-
// verify required parameter '
|
|
2118
|
-
if (
|
|
2119
|
-
throw new Error('Required parameter
|
|
2114
|
+
// verify required parameter 'wTEmployeeImportRecords' is not null or undefined
|
|
2115
|
+
if (wTEmployeeImportRecords === null || wTEmployeeImportRecords === undefined) {
|
|
2116
|
+
throw new Error('Required parameter wTEmployeeImportRecords was null or undefined when calling importImportedListRecipients.');
|
|
2120
2117
|
}
|
|
2121
2118
|
|
|
2122
2119
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2130,7 +2127,7 @@ export class SMSApi {
|
|
|
2130
2127
|
uri: localVarPath,
|
|
2131
2128
|
useQuerystring: this._useQuerystring,
|
|
2132
2129
|
json: true,
|
|
2133
|
-
body: ObjectSerializer.serialize(
|
|
2130
|
+
body: ObjectSerializer.serialize(wTEmployeeImportRecords, "WTEmployeeImportRecords")
|
|
2134
2131
|
};
|
|
2135
2132
|
|
|
2136
2133
|
let authenticationPromise = Promise.resolve();
|
|
@@ -2169,9 +2166,9 @@ export class SMSApi {
|
|
|
2169
2166
|
*
|
|
2170
2167
|
* @summary Import opt in list subscribers
|
|
2171
2168
|
* @param listID
|
|
2172
|
-
* @param
|
|
2169
|
+
* @param wTSMSImportOptInListSubscribers
|
|
2173
2170
|
*/
|
|
2174
|
-
public async importOptInListSubscribers (listID: string,
|
|
2171
|
+
public async importOptInListSubscribers (listID: string, wTSMSImportOptInListSubscribers: WTSMSImportOptInListSubscribers, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
2175
2172
|
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/import/{listID}'
|
|
2176
2173
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
2177
2174
|
let localVarQueryParameters: any = {};
|
|
@@ -2190,9 +2187,9 @@ export class SMSApi {
|
|
|
2190
2187
|
throw new Error('Required parameter listID was null or undefined when calling importOptInListSubscribers.');
|
|
2191
2188
|
}
|
|
2192
2189
|
|
|
2193
|
-
// verify required parameter '
|
|
2194
|
-
if (
|
|
2195
|
-
throw new Error('Required parameter
|
|
2190
|
+
// verify required parameter 'wTSMSImportOptInListSubscribers' is not null or undefined
|
|
2191
|
+
if (wTSMSImportOptInListSubscribers === null || wTSMSImportOptInListSubscribers === undefined) {
|
|
2192
|
+
throw new Error('Required parameter wTSMSImportOptInListSubscribers was null or undefined when calling importOptInListSubscribers.');
|
|
2196
2193
|
}
|
|
2197
2194
|
|
|
2198
2195
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2206,7 +2203,7 @@ export class SMSApi {
|
|
|
2206
2203
|
uri: localVarPath,
|
|
2207
2204
|
useQuerystring: this._useQuerystring,
|
|
2208
2205
|
json: true,
|
|
2209
|
-
body: ObjectSerializer.serialize(
|
|
2206
|
+
body: ObjectSerializer.serialize(wTSMSImportOptInListSubscribers, "WTSMSImportOptInListSubscribers")
|
|
2210
2207
|
};
|
|
2211
2208
|
|
|
2212
2209
|
let authenticationPromise = Promise.resolve();
|
|
@@ -2445,9 +2442,9 @@ export class SMSApi {
|
|
|
2445
2442
|
*
|
|
2446
2443
|
* @summary Save imported list
|
|
2447
2444
|
* @param listID
|
|
2448
|
-
* @param
|
|
2445
|
+
* @param wTSMSImportedListCreate
|
|
2449
2446
|
*/
|
|
2450
|
-
public async saveImportedList (listID: string,
|
|
2447
|
+
public async saveImportedList (listID: string, wTSMSImportedListCreate: WTSMSImportedListCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
2451
2448
|
const localVarPath = this.basePath + '/v2/sms/importedList/{listID}'
|
|
2452
2449
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
2453
2450
|
let localVarQueryParameters: any = {};
|
|
@@ -2466,9 +2463,9 @@ export class SMSApi {
|
|
|
2466
2463
|
throw new Error('Required parameter listID was null or undefined when calling saveImportedList.');
|
|
2467
2464
|
}
|
|
2468
2465
|
|
|
2469
|
-
// verify required parameter '
|
|
2470
|
-
if (
|
|
2471
|
-
throw new Error('Required parameter
|
|
2466
|
+
// verify required parameter 'wTSMSImportedListCreate' is not null or undefined
|
|
2467
|
+
if (wTSMSImportedListCreate === null || wTSMSImportedListCreate === undefined) {
|
|
2468
|
+
throw new Error('Required parameter wTSMSImportedListCreate was null or undefined when calling saveImportedList.');
|
|
2472
2469
|
}
|
|
2473
2470
|
|
|
2474
2471
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2482,7 +2479,7 @@ export class SMSApi {
|
|
|
2482
2479
|
uri: localVarPath,
|
|
2483
2480
|
useQuerystring: this._useQuerystring,
|
|
2484
2481
|
json: true,
|
|
2485
|
-
body: ObjectSerializer.serialize(
|
|
2482
|
+
body: ObjectSerializer.serialize(wTSMSImportedListCreate, "WTSMSImportedListCreate")
|
|
2486
2483
|
};
|
|
2487
2484
|
|
|
2488
2485
|
let authenticationPromise = Promise.resolve();
|
|
@@ -2521,9 +2518,9 @@ export class SMSApi {
|
|
|
2521
2518
|
*
|
|
2522
2519
|
* @summary Save opt in list
|
|
2523
2520
|
* @param listID
|
|
2524
|
-
* @param
|
|
2521
|
+
* @param wTOptInListCreationParams
|
|
2525
2522
|
*/
|
|
2526
|
-
public async saveOptInList (listID: string,
|
|
2523
|
+
public async saveOptInList (listID: string, wTOptInListCreationParams: WTOptInListCreationParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
2527
2524
|
const localVarPath = this.basePath + '/v2/sms/optInList/{listID}'
|
|
2528
2525
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
2529
2526
|
let localVarQueryParameters: any = {};
|
|
@@ -2542,9 +2539,9 @@ export class SMSApi {
|
|
|
2542
2539
|
throw new Error('Required parameter listID was null or undefined when calling saveOptInList.');
|
|
2543
2540
|
}
|
|
2544
2541
|
|
|
2545
|
-
// verify required parameter '
|
|
2546
|
-
if (
|
|
2547
|
-
throw new Error('Required parameter
|
|
2542
|
+
// verify required parameter 'wTOptInListCreationParams' is not null or undefined
|
|
2543
|
+
if (wTOptInListCreationParams === null || wTOptInListCreationParams === undefined) {
|
|
2544
|
+
throw new Error('Required parameter wTOptInListCreationParams was null or undefined when calling saveOptInList.');
|
|
2548
2545
|
}
|
|
2549
2546
|
|
|
2550
2547
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2558,7 +2555,7 @@ export class SMSApi {
|
|
|
2558
2555
|
uri: localVarPath,
|
|
2559
2556
|
useQuerystring: this._useQuerystring,
|
|
2560
2557
|
json: true,
|
|
2561
|
-
body: ObjectSerializer.serialize(
|
|
2558
|
+
body: ObjectSerializer.serialize(wTOptInListCreationParams, "WTOptInListCreationParams")
|
|
2562
2559
|
};
|
|
2563
2560
|
|
|
2564
2561
|
let authenticationPromise = Promise.resolve();
|
|
@@ -2597,9 +2594,9 @@ export class SMSApi {
|
|
|
2597
2594
|
*
|
|
2598
2595
|
* @summary Save opt in list source
|
|
2599
2596
|
* @param sourceID
|
|
2600
|
-
* @param
|
|
2597
|
+
* @param wTSMSOptInListSourceCreate
|
|
2601
2598
|
*/
|
|
2602
|
-
public async saveOptInListSource (sourceID: string,
|
|
2599
|
+
public async saveOptInListSource (sourceID: string, wTSMSOptInListSourceCreate: WTSMSOptInListSourceCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInListSource; }> {
|
|
2603
2600
|
const localVarPath = this.basePath + '/v2/sms/optInListSource/{sourceID}'
|
|
2604
2601
|
.replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
|
|
2605
2602
|
let localVarQueryParameters: any = {};
|
|
@@ -2618,9 +2615,9 @@ export class SMSApi {
|
|
|
2618
2615
|
throw new Error('Required parameter sourceID was null or undefined when calling saveOptInListSource.');
|
|
2619
2616
|
}
|
|
2620
2617
|
|
|
2621
|
-
// verify required parameter '
|
|
2622
|
-
if (
|
|
2623
|
-
throw new Error('Required parameter
|
|
2618
|
+
// verify required parameter 'wTSMSOptInListSourceCreate' is not null or undefined
|
|
2619
|
+
if (wTSMSOptInListSourceCreate === null || wTSMSOptInListSourceCreate === undefined) {
|
|
2620
|
+
throw new Error('Required parameter wTSMSOptInListSourceCreate was null or undefined when calling saveOptInListSource.');
|
|
2624
2621
|
}
|
|
2625
2622
|
|
|
2626
2623
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2634,7 +2631,7 @@ export class SMSApi {
|
|
|
2634
2631
|
uri: localVarPath,
|
|
2635
2632
|
useQuerystring: this._useQuerystring,
|
|
2636
2633
|
json: true,
|
|
2637
|
-
body: ObjectSerializer.serialize(
|
|
2634
|
+
body: ObjectSerializer.serialize(wTSMSOptInListSourceCreate, "WTSMSOptInListSourceCreate")
|
|
2638
2635
|
};
|
|
2639
2636
|
|
|
2640
2637
|
let authenticationPromise = Promise.resolve();
|
|
@@ -2673,9 +2670,9 @@ export class SMSApi {
|
|
|
2673
2670
|
*
|
|
2674
2671
|
* @summary Request phone number verification
|
|
2675
2672
|
* @param phoneNumberID
|
|
2676
|
-
* @param
|
|
2673
|
+
* @param wTSMSUpdatePhoneNumberConfig
|
|
2677
2674
|
*/
|
|
2678
|
-
public async sendPhoneNumberForVerification (phoneNumberID: string,
|
|
2675
|
+
public async sendPhoneNumberForVerification (phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
2679
2676
|
const localVarPath = this.basePath + '/v2/sms/phoneNumber/verification/{phoneNumberID}'
|
|
2680
2677
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
2681
2678
|
let localVarQueryParameters: any = {};
|
|
@@ -2694,9 +2691,9 @@ export class SMSApi {
|
|
|
2694
2691
|
throw new Error('Required parameter phoneNumberID was null or undefined when calling sendPhoneNumberForVerification.');
|
|
2695
2692
|
}
|
|
2696
2693
|
|
|
2697
|
-
// verify required parameter '
|
|
2698
|
-
if (
|
|
2699
|
-
throw new Error('Required parameter
|
|
2694
|
+
// verify required parameter 'wTSMSUpdatePhoneNumberConfig' is not null or undefined
|
|
2695
|
+
if (wTSMSUpdatePhoneNumberConfig === null || wTSMSUpdatePhoneNumberConfig === undefined) {
|
|
2696
|
+
throw new Error('Required parameter wTSMSUpdatePhoneNumberConfig was null or undefined when calling sendPhoneNumberForVerification.');
|
|
2700
2697
|
}
|
|
2701
2698
|
|
|
2702
2699
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2710,7 +2707,7 @@ export class SMSApi {
|
|
|
2710
2707
|
uri: localVarPath,
|
|
2711
2708
|
useQuerystring: this._useQuerystring,
|
|
2712
2709
|
json: true,
|
|
2713
|
-
body: ObjectSerializer.serialize(
|
|
2710
|
+
body: ObjectSerializer.serialize(wTSMSUpdatePhoneNumberConfig, "WTSMSUpdatePhoneNumberConfig")
|
|
2714
2711
|
};
|
|
2715
2712
|
|
|
2716
2713
|
let authenticationPromise = Promise.resolve();
|
|
@@ -2749,9 +2746,9 @@ export class SMSApi {
|
|
|
2749
2746
|
*
|
|
2750
2747
|
* @summary Update phone number
|
|
2751
2748
|
* @param phoneNumberID
|
|
2752
|
-
* @param
|
|
2749
|
+
* @param wTSMSUpdatePhoneNumberConfig
|
|
2753
2750
|
*/
|
|
2754
|
-
public async updatePhoneNumber (phoneNumberID: string,
|
|
2751
|
+
public async updatePhoneNumber (phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
2755
2752
|
const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
|
|
2756
2753
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
2757
2754
|
let localVarQueryParameters: any = {};
|
|
@@ -2770,9 +2767,9 @@ export class SMSApi {
|
|
|
2770
2767
|
throw new Error('Required parameter phoneNumberID was null or undefined when calling updatePhoneNumber.');
|
|
2771
2768
|
}
|
|
2772
2769
|
|
|
2773
|
-
// verify required parameter '
|
|
2774
|
-
if (
|
|
2775
|
-
throw new Error('Required parameter
|
|
2770
|
+
// verify required parameter 'wTSMSUpdatePhoneNumberConfig' is not null or undefined
|
|
2771
|
+
if (wTSMSUpdatePhoneNumberConfig === null || wTSMSUpdatePhoneNumberConfig === undefined) {
|
|
2772
|
+
throw new Error('Required parameter wTSMSUpdatePhoneNumberConfig was null or undefined when calling updatePhoneNumber.');
|
|
2776
2773
|
}
|
|
2777
2774
|
|
|
2778
2775
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -2786,7 +2783,7 @@ export class SMSApi {
|
|
|
2786
2783
|
uri: localVarPath,
|
|
2787
2784
|
useQuerystring: this._useQuerystring,
|
|
2788
2785
|
json: true,
|
|
2789
|
-
body: ObjectSerializer.serialize(
|
|
2786
|
+
body: ObjectSerializer.serialize(wTSMSUpdatePhoneNumberConfig, "WTSMSUpdatePhoneNumberConfig")
|
|
2790
2787
|
};
|
|
2791
2788
|
|
|
2792
2789
|
let authenticationPromise = Promise.resolve();
|
package/api/settingsApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* wallet-api
|
|
3
3
|
* API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.507
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,8 +20,6 @@ import { CreateStaticVoucherCampaign } from '../model/createStaticVoucherCampaig
|
|
|
20
20
|
import { CreateStaticVoucherCampaignWithVoucher } from '../model/createStaticVoucherCampaignWithVoucher';
|
|
21
21
|
import { CreateStaticVoucherCampaignWithVoucherWithCSV } from '../model/createStaticVoucherCampaignWithVoucherWithCSV';
|
|
22
22
|
import { FalsumError } from '../model/falsumError';
|
|
23
|
-
import { InlineObject24 } from '../model/inlineObject24';
|
|
24
|
-
import { InlineObject25 } from '../model/inlineObject25';
|
|
25
23
|
import { InlineResponse2003 } from '../model/inlineResponse2003';
|
|
26
24
|
import { InlineResponse2005 } from '../model/inlineResponse2005';
|
|
27
25
|
import { InternalServerError } from '../model/internalServerError';
|
|
@@ -32,6 +30,8 @@ import { VSCampaignGeneratedMessage } from '../model/vSCampaignGeneratedMessage'
|
|
|
32
30
|
import { VSCampaignGeneratedMessagePagination } from '../model/vSCampaignGeneratedMessagePagination';
|
|
33
31
|
import { WTStaticVoucher } from '../model/wTStaticVoucher';
|
|
34
32
|
import { WTStaticVoucherCampaign } from '../model/wTStaticVoucherCampaign';
|
|
33
|
+
import { WTStaticVoucherCampaignPreviewMessages } from '../model/wTStaticVoucherCampaignPreviewMessages';
|
|
34
|
+
import { WTStaticVoucherCampaignPreviewMessagesByPage } from '../model/wTStaticVoucherCampaignPreviewMessagesByPage';
|
|
35
35
|
import { WTWalletPageView } from '../model/wTWalletPageView';
|
|
36
36
|
|
|
37
37
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
@@ -1181,9 +1181,9 @@ export class StaticVoucherCampaignsApi {
|
|
|
1181
1181
|
*
|
|
1182
1182
|
* @summary Preview static vouchers. This method has been deprecated. Please use /preview/page/{campaignID} for better performance.
|
|
1183
1183
|
* @param campaignID
|
|
1184
|
-
* @param
|
|
1184
|
+
* @param wTStaticVoucherCampaignPreviewMessages
|
|
1185
1185
|
*/
|
|
1186
|
-
public async previewMessages (campaignID: any,
|
|
1186
|
+
public async previewMessages (campaignID: any, wTStaticVoucherCampaignPreviewMessages: WTStaticVoucherCampaignPreviewMessages, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<VSCampaignGeneratedMessage>; }> {
|
|
1187
1187
|
const localVarPath = this.basePath + '/v2/payment/staticVoucherCampaign/preview/{campaignID}'
|
|
1188
1188
|
.replace('{' + 'campaignID' + '}', encodeURIComponent(String(campaignID)));
|
|
1189
1189
|
let localVarQueryParameters: any = {};
|
|
@@ -1202,9 +1202,9 @@ export class StaticVoucherCampaignsApi {
|
|
|
1202
1202
|
throw new Error('Required parameter campaignID was null or undefined when calling previewMessages.');
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
-
// verify required parameter '
|
|
1206
|
-
if (
|
|
1207
|
-
throw new Error('Required parameter
|
|
1205
|
+
// verify required parameter 'wTStaticVoucherCampaignPreviewMessages' is not null or undefined
|
|
1206
|
+
if (wTStaticVoucherCampaignPreviewMessages === null || wTStaticVoucherCampaignPreviewMessages === undefined) {
|
|
1207
|
+
throw new Error('Required parameter wTStaticVoucherCampaignPreviewMessages was null or undefined when calling previewMessages.');
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
1210
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1218,7 +1218,7 @@ export class StaticVoucherCampaignsApi {
|
|
|
1218
1218
|
uri: localVarPath,
|
|
1219
1219
|
useQuerystring: this._useQuerystring,
|
|
1220
1220
|
json: true,
|
|
1221
|
-
body: ObjectSerializer.serialize(
|
|
1221
|
+
body: ObjectSerializer.serialize(wTStaticVoucherCampaignPreviewMessages, "WTStaticVoucherCampaignPreviewMessages")
|
|
1222
1222
|
};
|
|
1223
1223
|
|
|
1224
1224
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1257,9 +1257,9 @@ export class StaticVoucherCampaignsApi {
|
|
|
1257
1257
|
*
|
|
1258
1258
|
* @summary Preview static vouchers by page
|
|
1259
1259
|
* @param campaignID
|
|
1260
|
-
* @param
|
|
1260
|
+
* @param wTStaticVoucherCampaignPreviewMessagesByPage
|
|
1261
1261
|
*/
|
|
1262
|
-
public async previewMessagesByPage (campaignID: any,
|
|
1262
|
+
public async previewMessagesByPage (campaignID: any, wTStaticVoucherCampaignPreviewMessagesByPage: WTStaticVoucherCampaignPreviewMessagesByPage, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: VSCampaignGeneratedMessagePagination; }> {
|
|
1263
1263
|
const localVarPath = this.basePath + '/v2/payment/staticVoucherCampaign/preview/page/{campaignID}'
|
|
1264
1264
|
.replace('{' + 'campaignID' + '}', encodeURIComponent(String(campaignID)));
|
|
1265
1265
|
let localVarQueryParameters: any = {};
|
|
@@ -1278,9 +1278,9 @@ export class StaticVoucherCampaignsApi {
|
|
|
1278
1278
|
throw new Error('Required parameter campaignID was null or undefined when calling previewMessagesByPage.');
|
|
1279
1279
|
}
|
|
1280
1280
|
|
|
1281
|
-
// verify required parameter '
|
|
1282
|
-
if (
|
|
1283
|
-
throw new Error('Required parameter
|
|
1281
|
+
// verify required parameter 'wTStaticVoucherCampaignPreviewMessagesByPage' is not null or undefined
|
|
1282
|
+
if (wTStaticVoucherCampaignPreviewMessagesByPage === null || wTStaticVoucherCampaignPreviewMessagesByPage === undefined) {
|
|
1283
|
+
throw new Error('Required parameter wTStaticVoucherCampaignPreviewMessagesByPage was null or undefined when calling previewMessagesByPage.');
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
1286
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1294,7 +1294,7 @@ export class StaticVoucherCampaignsApi {
|
|
|
1294
1294
|
uri: localVarPath,
|
|
1295
1295
|
useQuerystring: this._useQuerystring,
|
|
1296
1296
|
json: true,
|
|
1297
|
-
body: ObjectSerializer.serialize(
|
|
1297
|
+
body: ObjectSerializer.serialize(wTStaticVoucherCampaignPreviewMessagesByPage, "WTStaticVoucherCampaignPreviewMessagesByPage")
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
1300
|
let authenticationPromise = Promise.resolve();
|
package/api/staticVouchersApi.ts
CHANGED