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/interactionsApi.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).
|
|
@@ -18,12 +18,11 @@ import http from 'http';
|
|
|
18
18
|
import { AdvertisementCreditScan } from '../model/advertisementCreditScan';
|
|
19
19
|
import { DynamicVoucher } from '../model/dynamicVoucher';
|
|
20
20
|
import { FalsumError } from '../model/falsumError';
|
|
21
|
-
import { InlineObject65 } from '../model/inlineObject65';
|
|
22
|
-
import { InlineObject66 } from '../model/inlineObject66';
|
|
23
21
|
import { InlineResponse20012 } from '../model/inlineResponse20012';
|
|
24
22
|
import { InternalServerError } from '../model/internalServerError';
|
|
25
23
|
import { Member } from '../model/member';
|
|
26
24
|
import { StaticVoucher } from '../model/staticVoucher';
|
|
25
|
+
import { WTFetchWalletPaymentObjectWithToken } from '../model/wTFetchWalletPaymentObjectWithToken';
|
|
27
26
|
import { WalletConfiguration } from '../model/walletConfiguration';
|
|
28
27
|
|
|
29
28
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
@@ -169,7 +168,76 @@ export class InteractionsApi {
|
|
|
169
168
|
}
|
|
170
169
|
/**
|
|
171
170
|
*
|
|
172
|
-
* @summary Fetch
|
|
171
|
+
* @summary Fetch an employee\'s VCard
|
|
172
|
+
* @param id
|
|
173
|
+
*/
|
|
174
|
+
public async createEmployeeVCard (id: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
175
|
+
const localVarPath = this.basePath + '/wallet/employee/vcard/{id}'
|
|
176
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
177
|
+
let localVarQueryParameters: any = {};
|
|
178
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
179
|
+
const produces = ['application/json'];
|
|
180
|
+
// give precedence to 'application/json'
|
|
181
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
182
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
183
|
+
} else {
|
|
184
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
185
|
+
}
|
|
186
|
+
let localVarFormParams: any = {};
|
|
187
|
+
|
|
188
|
+
// verify required parameter 'id' is not null or undefined
|
|
189
|
+
if (id === null || id === undefined) {
|
|
190
|
+
throw new Error('Required parameter id was null or undefined when calling createEmployeeVCard.');
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
194
|
+
|
|
195
|
+
let localVarUseFormData = false;
|
|
196
|
+
|
|
197
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
198
|
+
method: 'GET',
|
|
199
|
+
qs: localVarQueryParameters,
|
|
200
|
+
headers: localVarHeaderParams,
|
|
201
|
+
uri: localVarPath,
|
|
202
|
+
useQuerystring: this._useQuerystring,
|
|
203
|
+
json: true,
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
let authenticationPromise = Promise.resolve();
|
|
207
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
208
|
+
|
|
209
|
+
let interceptorPromise = authenticationPromise;
|
|
210
|
+
for (const interceptor of this.interceptors) {
|
|
211
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
return interceptorPromise.then(() => {
|
|
215
|
+
if (Object.keys(localVarFormParams).length) {
|
|
216
|
+
if (localVarUseFormData) {
|
|
217
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
218
|
+
} else {
|
|
219
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
|
|
223
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
224
|
+
if (error) {
|
|
225
|
+
reject(error);
|
|
226
|
+
} else {
|
|
227
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
228
|
+
body = ObjectSerializer.deserialize(body, "string");
|
|
229
|
+
resolve({ response: response, body: body });
|
|
230
|
+
} else {
|
|
231
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @summary Fetch ICS for live event
|
|
173
241
|
* @param id
|
|
174
242
|
*/
|
|
175
243
|
public async createIcsFile (id: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
@@ -531,9 +599,9 @@ export class InteractionsApi {
|
|
|
531
599
|
/**
|
|
532
600
|
*
|
|
533
601
|
* @summary Fetch page with token NOTE: This route exists because a token can completely change the dataset returned to the client. A simple fetch just logs the token with the request, but a fetchWithToken request can have a very different object returned to the client.
|
|
534
|
-
* @param
|
|
602
|
+
* @param wTFetchWalletPaymentObjectWithToken
|
|
535
603
|
*/
|
|
536
|
-
public async fetchWalletPageWithToken (
|
|
604
|
+
public async fetchWalletPageWithToken (wTFetchWalletPaymentObjectWithToken: WTFetchWalletPaymentObjectWithToken, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
537
605
|
const localVarPath = this.basePath + '/wallet/page/token';
|
|
538
606
|
let localVarQueryParameters: any = {};
|
|
539
607
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -546,9 +614,9 @@ export class InteractionsApi {
|
|
|
546
614
|
}
|
|
547
615
|
let localVarFormParams: any = {};
|
|
548
616
|
|
|
549
|
-
// verify required parameter '
|
|
550
|
-
if (
|
|
551
|
-
throw new Error('Required parameter
|
|
617
|
+
// verify required parameter 'wTFetchWalletPaymentObjectWithToken' is not null or undefined
|
|
618
|
+
if (wTFetchWalletPaymentObjectWithToken === null || wTFetchWalletPaymentObjectWithToken === undefined) {
|
|
619
|
+
throw new Error('Required parameter wTFetchWalletPaymentObjectWithToken was null or undefined when calling fetchWalletPageWithToken.');
|
|
552
620
|
}
|
|
553
621
|
|
|
554
622
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -562,7 +630,7 @@ export class InteractionsApi {
|
|
|
562
630
|
uri: localVarPath,
|
|
563
631
|
useQuerystring: this._useQuerystring,
|
|
564
632
|
json: true,
|
|
565
|
-
body: ObjectSerializer.serialize(
|
|
633
|
+
body: ObjectSerializer.serialize(wTFetchWalletPaymentObjectWithToken, "WTFetchWalletPaymentObjectWithToken")
|
|
566
634
|
};
|
|
567
635
|
|
|
568
636
|
let authenticationPromise = Promise.resolve();
|
|
@@ -600,9 +668,9 @@ export class InteractionsApi {
|
|
|
600
668
|
/**
|
|
601
669
|
*
|
|
602
670
|
* @summary Fetch payment object with token NOTE: This route exists because a token can completely change the dataset returned to the client. A simple fetch just logs the token with the request, but a fetchWithToken request can have a very different object returned to the client.
|
|
603
|
-
* @param
|
|
671
|
+
* @param wTFetchWalletPaymentObjectWithToken
|
|
604
672
|
*/
|
|
605
|
-
public async fetchWalletPaymentObjectWithToken (
|
|
673
|
+
public async fetchWalletPaymentObjectWithToken (wTFetchWalletPaymentObjectWithToken: WTFetchWalletPaymentObjectWithToken, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
606
674
|
const localVarPath = this.basePath + '/wallet/paymentObject/token';
|
|
607
675
|
let localVarQueryParameters: any = {};
|
|
608
676
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -615,9 +683,9 @@ export class InteractionsApi {
|
|
|
615
683
|
}
|
|
616
684
|
let localVarFormParams: any = {};
|
|
617
685
|
|
|
618
|
-
// verify required parameter '
|
|
619
|
-
if (
|
|
620
|
-
throw new Error('Required parameter
|
|
686
|
+
// verify required parameter 'wTFetchWalletPaymentObjectWithToken' is not null or undefined
|
|
687
|
+
if (wTFetchWalletPaymentObjectWithToken === null || wTFetchWalletPaymentObjectWithToken === undefined) {
|
|
688
|
+
throw new Error('Required parameter wTFetchWalletPaymentObjectWithToken was null or undefined when calling fetchWalletPaymentObjectWithToken.');
|
|
621
689
|
}
|
|
622
690
|
|
|
623
691
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -631,7 +699,7 @@ export class InteractionsApi {
|
|
|
631
699
|
uri: localVarPath,
|
|
632
700
|
useQuerystring: this._useQuerystring,
|
|
633
701
|
json: true,
|
|
634
|
-
body: ObjectSerializer.serialize(
|
|
702
|
+
body: ObjectSerializer.serialize(wTFetchWalletPaymentObjectWithToken, "WTFetchWalletPaymentObjectWithToken")
|
|
635
703
|
};
|
|
636
704
|
|
|
637
705
|
let authenticationPromise = Promise.resolve();
|
package/api/linkBookApi.ts
CHANGED
package/api/loginAndLogoutApi.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).
|
|
@@ -17,9 +17,9 @@ import http from 'http';
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
18
|
import { AuthError } from '../model/authError';
|
|
19
19
|
import { FalsumError } from '../model/falsumError';
|
|
20
|
-
import { InlineObject67 } from '../model/inlineObject67';
|
|
21
20
|
import { InlineResponse20013 } from '../model/inlineResponse20013';
|
|
22
21
|
import { InternalServerError } from '../model/internalServerError';
|
|
22
|
+
import { WTAuthenticationLogin } from '../model/wTAuthenticationLogin';
|
|
23
23
|
|
|
24
24
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
25
25
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -96,9 +96,9 @@ export class LoginAndLogoutApi {
|
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @summary Login
|
|
99
|
-
* @param
|
|
99
|
+
* @param wTAuthenticationLogin
|
|
100
100
|
*/
|
|
101
|
-
public async login (
|
|
101
|
+
public async login (wTAuthenticationLogin: WTAuthenticationLogin, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse20013; }> {
|
|
102
102
|
const localVarPath = this.basePath + '/authentication/login';
|
|
103
103
|
let localVarQueryParameters: any = {};
|
|
104
104
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -111,9 +111,9 @@ export class LoginAndLogoutApi {
|
|
|
111
111
|
}
|
|
112
112
|
let localVarFormParams: any = {};
|
|
113
113
|
|
|
114
|
-
// verify required parameter '
|
|
115
|
-
if (
|
|
116
|
-
throw new Error('Required parameter
|
|
114
|
+
// verify required parameter 'wTAuthenticationLogin' is not null or undefined
|
|
115
|
+
if (wTAuthenticationLogin === null || wTAuthenticationLogin === undefined) {
|
|
116
|
+
throw new Error('Required parameter wTAuthenticationLogin was null or undefined when calling login.');
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -127,7 +127,7 @@ export class LoginAndLogoutApi {
|
|
|
127
127
|
uri: localVarPath,
|
|
128
128
|
useQuerystring: this._useQuerystring,
|
|
129
129
|
json: true,
|
|
130
|
-
body: ObjectSerializer.serialize(
|
|
130
|
+
body: ObjectSerializer.serialize(wTAuthenticationLogin, "WTAuthenticationLogin")
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
let authenticationPromise = Promise.resolve();
|
package/api/merchantApi.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).
|
|
@@ -19,14 +19,14 @@ import { AdvertisementCreditBroadcast } from '../model/advertisementCreditBroadc
|
|
|
19
19
|
import { AuthError } from '../model/authError';
|
|
20
20
|
import { DynamicVoucherBroadcast } from '../model/dynamicVoucherBroadcast';
|
|
21
21
|
import { FalsumError } from '../model/falsumError';
|
|
22
|
-
import { InlineObject21 } from '../model/inlineObject21';
|
|
23
|
-
import { InlineObject22 } from '../model/inlineObject22';
|
|
24
|
-
import { InlineObject23 } from '../model/inlineObject23';
|
|
25
22
|
import { InlineResponse2002 } from '../model/inlineResponse2002';
|
|
26
23
|
import { InternalServerError } from '../model/internalServerError';
|
|
27
24
|
import { SimpleSMSBroadcast } from '../model/simpleSMSBroadcast';
|
|
28
25
|
import { StaticVoucherCampaignBroadcast } from '../model/staticVoucherCampaignBroadcast';
|
|
29
26
|
import { Tcpa } from '../model/tcpa';
|
|
27
|
+
import { WTMerchantUpdate } from '../model/wTMerchantUpdate';
|
|
28
|
+
import { WTMerchantUpdateBillingContact } from '../model/wTMerchantUpdateBillingContact';
|
|
29
|
+
import { WTMerchantUpdatePOSIntegration } from '../model/wTMerchantUpdatePOSIntegration';
|
|
30
30
|
|
|
31
31
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
32
32
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -1388,6 +1388,68 @@ export class MerchantApi {
|
|
|
1388
1388
|
});
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
|
+
/**
|
|
1392
|
+
*
|
|
1393
|
+
* @summary Fetch public representative employees of the merchant
|
|
1394
|
+
*/
|
|
1395
|
+
public async fetchPublicEmployees (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1396
|
+
const localVarPath = this.basePath + '/v2/merchant/employees/public';
|
|
1397
|
+
let localVarQueryParameters: any = {};
|
|
1398
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1399
|
+
const produces = ['application/json'];
|
|
1400
|
+
// give precedence to 'application/json'
|
|
1401
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1402
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1403
|
+
} else {
|
|
1404
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1405
|
+
}
|
|
1406
|
+
let localVarFormParams: any = {};
|
|
1407
|
+
|
|
1408
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1409
|
+
|
|
1410
|
+
let localVarUseFormData = false;
|
|
1411
|
+
|
|
1412
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1413
|
+
method: 'GET',
|
|
1414
|
+
qs: localVarQueryParameters,
|
|
1415
|
+
headers: localVarHeaderParams,
|
|
1416
|
+
uri: localVarPath,
|
|
1417
|
+
useQuerystring: this._useQuerystring,
|
|
1418
|
+
json: true,
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
let authenticationPromise = Promise.resolve();
|
|
1422
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1423
|
+
|
|
1424
|
+
let interceptorPromise = authenticationPromise;
|
|
1425
|
+
for (const interceptor of this.interceptors) {
|
|
1426
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
return interceptorPromise.then(() => {
|
|
1430
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1431
|
+
if (localVarUseFormData) {
|
|
1432
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1433
|
+
} else {
|
|
1434
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
|
|
1438
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1439
|
+
if (error) {
|
|
1440
|
+
reject(error);
|
|
1441
|
+
} else {
|
|
1442
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1443
|
+
body = ObjectSerializer.deserialize(body, "any");
|
|
1444
|
+
resolve({ response: response, body: body });
|
|
1445
|
+
} else {
|
|
1446
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
});
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1391
1453
|
/**
|
|
1392
1454
|
*
|
|
1393
1455
|
* @summary Fetch all simple SMS broadcasts
|
|
@@ -1649,9 +1711,9 @@ export class MerchantApi {
|
|
|
1649
1711
|
/**
|
|
1650
1712
|
*
|
|
1651
1713
|
* @summary Update billing contact
|
|
1652
|
-
* @param
|
|
1714
|
+
* @param wTMerchantUpdateBillingContact
|
|
1653
1715
|
*/
|
|
1654
|
-
public async updateBillingContact (
|
|
1716
|
+
public async updateBillingContact (wTMerchantUpdateBillingContact: WTMerchantUpdateBillingContact, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1655
1717
|
const localVarPath = this.basePath + '/v2/merchant/billing/contact';
|
|
1656
1718
|
let localVarQueryParameters: any = {};
|
|
1657
1719
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1664,9 +1726,9 @@ export class MerchantApi {
|
|
|
1664
1726
|
}
|
|
1665
1727
|
let localVarFormParams: any = {};
|
|
1666
1728
|
|
|
1667
|
-
// verify required parameter '
|
|
1668
|
-
if (
|
|
1669
|
-
throw new Error('Required parameter
|
|
1729
|
+
// verify required parameter 'wTMerchantUpdateBillingContact' is not null or undefined
|
|
1730
|
+
if (wTMerchantUpdateBillingContact === null || wTMerchantUpdateBillingContact === undefined) {
|
|
1731
|
+
throw new Error('Required parameter wTMerchantUpdateBillingContact was null or undefined when calling updateBillingContact.');
|
|
1670
1732
|
}
|
|
1671
1733
|
|
|
1672
1734
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1680,7 +1742,7 @@ export class MerchantApi {
|
|
|
1680
1742
|
uri: localVarPath,
|
|
1681
1743
|
useQuerystring: this._useQuerystring,
|
|
1682
1744
|
json: true,
|
|
1683
|
-
body: ObjectSerializer.serialize(
|
|
1745
|
+
body: ObjectSerializer.serialize(wTMerchantUpdateBillingContact, "WTMerchantUpdateBillingContact")
|
|
1684
1746
|
};
|
|
1685
1747
|
|
|
1686
1748
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1718,9 +1780,9 @@ export class MerchantApi {
|
|
|
1718
1780
|
/**
|
|
1719
1781
|
*
|
|
1720
1782
|
* @summary Update merchant details
|
|
1721
|
-
* @param
|
|
1783
|
+
* @param wTMerchantUpdate
|
|
1722
1784
|
*/
|
|
1723
|
-
public async updateMerchant (
|
|
1785
|
+
public async updateMerchant (wTMerchantUpdate: WTMerchantUpdate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1724
1786
|
const localVarPath = this.basePath + '/v2/merchant';
|
|
1725
1787
|
let localVarQueryParameters: any = {};
|
|
1726
1788
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1733,9 +1795,9 @@ export class MerchantApi {
|
|
|
1733
1795
|
}
|
|
1734
1796
|
let localVarFormParams: any = {};
|
|
1735
1797
|
|
|
1736
|
-
// verify required parameter '
|
|
1737
|
-
if (
|
|
1738
|
-
throw new Error('Required parameter
|
|
1798
|
+
// verify required parameter 'wTMerchantUpdate' is not null or undefined
|
|
1799
|
+
if (wTMerchantUpdate === null || wTMerchantUpdate === undefined) {
|
|
1800
|
+
throw new Error('Required parameter wTMerchantUpdate was null or undefined when calling updateMerchant.');
|
|
1739
1801
|
}
|
|
1740
1802
|
|
|
1741
1803
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1749,7 +1811,7 @@ export class MerchantApi {
|
|
|
1749
1811
|
uri: localVarPath,
|
|
1750
1812
|
useQuerystring: this._useQuerystring,
|
|
1751
1813
|
json: true,
|
|
1752
|
-
body: ObjectSerializer.serialize(
|
|
1814
|
+
body: ObjectSerializer.serialize(wTMerchantUpdate, "WTMerchantUpdate")
|
|
1753
1815
|
};
|
|
1754
1816
|
|
|
1755
1817
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1787,9 +1849,9 @@ export class MerchantApi {
|
|
|
1787
1849
|
/**
|
|
1788
1850
|
*
|
|
1789
1851
|
* @summary Update POS Integration
|
|
1790
|
-
* @param
|
|
1852
|
+
* @param wTMerchantUpdatePOSIntegration
|
|
1791
1853
|
*/
|
|
1792
|
-
public async updatePosIntegration (
|
|
1854
|
+
public async updatePosIntegration (wTMerchantUpdatePOSIntegration: WTMerchantUpdatePOSIntegration, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1793
1855
|
const localVarPath = this.basePath + '/v2/merchant/pos/integration';
|
|
1794
1856
|
let localVarQueryParameters: any = {};
|
|
1795
1857
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1802,9 +1864,9 @@ export class MerchantApi {
|
|
|
1802
1864
|
}
|
|
1803
1865
|
let localVarFormParams: any = {};
|
|
1804
1866
|
|
|
1805
|
-
// verify required parameter '
|
|
1806
|
-
if (
|
|
1807
|
-
throw new Error('Required parameter
|
|
1867
|
+
// verify required parameter 'wTMerchantUpdatePOSIntegration' is not null or undefined
|
|
1868
|
+
if (wTMerchantUpdatePOSIntegration === null || wTMerchantUpdatePOSIntegration === undefined) {
|
|
1869
|
+
throw new Error('Required parameter wTMerchantUpdatePOSIntegration was null or undefined when calling updatePosIntegration.');
|
|
1808
1870
|
}
|
|
1809
1871
|
|
|
1810
1872
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1818,7 +1880,7 @@ export class MerchantApi {
|
|
|
1818
1880
|
uri: localVarPath,
|
|
1819
1881
|
useQuerystring: this._useQuerystring,
|
|
1820
1882
|
json: true,
|
|
1821
|
-
body: ObjectSerializer.serialize(
|
|
1883
|
+
body: ObjectSerializer.serialize(wTMerchantUpdatePOSIntegration, "WTMerchantUpdatePOSIntegration")
|
|
1822
1884
|
};
|
|
1823
1885
|
|
|
1824
1886
|
let authenticationPromise = Promise.resolve();
|
package/api/merchantURLsApi.ts
CHANGED
package/api/mobileTerminalApi.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).
|
|
@@ -17,9 +17,9 @@ import http from 'http';
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
18
|
import { AuthError } from '../model/authError';
|
|
19
19
|
import { FalsumError } from '../model/falsumError';
|
|
20
|
-
import { InlineObject49 } from '../model/inlineObject49';
|
|
21
20
|
import { InternalServerError } from '../model/internalServerError';
|
|
22
21
|
import { Member } from '../model/member';
|
|
22
|
+
import { WTWalletItemRedemption } from '../model/wTWalletItemRedemption';
|
|
23
23
|
|
|
24
24
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
25
25
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -235,9 +235,9 @@ export class MobileTerminalApi {
|
|
|
235
235
|
*
|
|
236
236
|
* @summary Redeem item
|
|
237
237
|
* @param itemID
|
|
238
|
-
* @param
|
|
238
|
+
* @param wTWalletItemRedemption
|
|
239
239
|
*/
|
|
240
|
-
public async redeemWalletItemFromMobileTerminal (itemID: string,
|
|
240
|
+
public async redeemWalletItemFromMobileTerminal (itemID: string, wTWalletItemRedemption: WTWalletItemRedemption, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
241
241
|
const localVarPath = this.basePath + '/v2/pos/mobile/item/redeem/{itemID}'
|
|
242
242
|
.replace('{' + 'itemID' + '}', encodeURIComponent(String(itemID)));
|
|
243
243
|
let localVarQueryParameters: any = {};
|
|
@@ -256,9 +256,9 @@ export class MobileTerminalApi {
|
|
|
256
256
|
throw new Error('Required parameter itemID was null or undefined when calling redeemWalletItemFromMobileTerminal.');
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
// verify required parameter '
|
|
260
|
-
if (
|
|
261
|
-
throw new Error('Required parameter
|
|
259
|
+
// verify required parameter 'wTWalletItemRedemption' is not null or undefined
|
|
260
|
+
if (wTWalletItemRedemption === null || wTWalletItemRedemption === undefined) {
|
|
261
|
+
throw new Error('Required parameter wTWalletItemRedemption was null or undefined when calling redeemWalletItemFromMobileTerminal.');
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -272,7 +272,7 @@ export class MobileTerminalApi {
|
|
|
272
272
|
uri: localVarPath,
|
|
273
273
|
useQuerystring: this._useQuerystring,
|
|
274
274
|
json: true,
|
|
275
|
-
body: ObjectSerializer.serialize(
|
|
275
|
+
body: ObjectSerializer.serialize(wTWalletItemRedemption, "WTWalletItemRedemption")
|
|
276
276
|
};
|
|
277
277
|
|
|
278
278
|
let authenticationPromise = Promise.resolve();
|
package/api/newsApi.ts
CHANGED
package/api/paymentDesignsApi.ts
CHANGED
package/api/performancesApi.ts
CHANGED
package/api/promoCodesApi.ts
CHANGED