wallet 2.1.508 → 2.1.511
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 +17 -5
- package/api/advertisementCreditsApi.ts +1 -1
- package/api/analyticsApi.ts +84 -1
- package/api/apis.ts +3 -1
- package/api/appleWalletSubscribersApi.ts +1 -1
- package/api/billingApi.ts +8 -8
- package/api/clubMembersPointsApi.ts +5 -5
- package/api/configurationApi.ts +5 -4
- package/api/countriesApi.ts +5 -5
- package/api/customerApi.ts +1 -1
- package/api/dashboardApi.ts +53 -54
- package/api/dynamicVouchersApi.ts +1 -1
- package/api/employeeAPIKeysApi.ts +1 -1
- package/api/employeeAccessApi.ts +1 -1
- package/api/employeesApi.ts +81 -6
- package/api/imageGridApi.ts +447 -0
- package/api/industriesApi.ts +5 -5
- package/api/infoGenesisReportsApi.ts +38 -38
- package/api/integratedTerminalsApi.ts +1 -1
- package/api/interactionsApi.ts +5 -5
- package/api/linkBookApi.ts +1 -1
- package/api/linkBookSectionApi.ts +1 -1
- package/api/loginAndLogoutApi.ts +15 -14
- package/api/membershipTiersApi.ts +1 -1
- package/api/merchantApi.ts +33 -26
- package/api/merchantCreditsApi.ts +5 -5
- package/api/merchantURLsApi.ts +1 -1
- package/api/mobileTerminalApi.ts +1 -1
- 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 +43 -42
- package/api/settingsApi.ts +5 -5
- package/api/staticVoucherCampaignGroupsApi.ts +1 -1
- package/api/staticVoucherCampaignsApi.ts +12 -12
- package/api/staticVouchersApi.ts +1 -1
- package/api/systemApi.ts +1 -1
- package/api/transactionLedgerApi.ts +5 -5
- package/api/utilitiesApi.ts +5 -5
- package/api/webTerminalApi.ts +1 -1
- package/dist/api/analyticsApi.d.ts +9 -0
- package/dist/api/analyticsApi.js +69 -0
- package/dist/api/analyticsApi.js.map +1 -1
- package/dist/api/apis.d.ts +3 -1
- package/dist/api/apis.js +3 -1
- package/dist/api/apis.js.map +1 -1
- package/dist/api/billingApi.d.ts +3 -3
- package/dist/api/billingApi.js +2 -2
- package/dist/api/billingApi.js.map +1 -1
- package/dist/api/clubMembersPointsApi.d.ts +2 -2
- package/dist/api/clubMembersPointsApi.js +1 -1
- package/dist/api/configurationApi.d.ts +2 -1
- package/dist/api/configurationApi.js +1 -1
- package/dist/api/configurationApi.js.map +1 -1
- package/dist/api/countriesApi.d.ts +2 -2
- package/dist/api/countriesApi.js +1 -1
- package/dist/api/dashboardApi.d.ts +18 -19
- package/dist/api/dashboardApi.js +17 -17
- package/dist/api/dashboardApi.js.map +1 -1
- package/dist/api/employeesApi.d.ts +12 -3
- package/dist/api/employeesApi.js +66 -2
- package/dist/api/employeesApi.js.map +1 -1
- package/dist/api/imageGridApi.d.ts +69 -0
- package/dist/api/imageGridApi.js +380 -0
- package/dist/api/imageGridApi.js.map +1 -0
- package/dist/api/industriesApi.d.ts +2 -2
- package/dist/api/industriesApi.js +1 -1
- package/dist/api/industriesApi.js.map +1 -1
- package/dist/api/infoGenesisReportsApi.d.ts +13 -13
- package/dist/api/infoGenesisReportsApi.js +12 -12
- package/dist/api/infoGenesisReportsApi.js.map +1 -1
- package/dist/api/interactionsApi.d.ts +2 -2
- package/dist/api/interactionsApi.js +1 -1
- package/dist/api/interactionsApi.js.map +1 -1
- package/dist/api/loginAndLogoutApi.d.ts +6 -5
- package/dist/api/loginAndLogoutApi.js +6 -6
- package/dist/api/loginAndLogoutApi.js.map +1 -1
- package/dist/api/merchantApi.d.ts +16 -9
- package/dist/api/merchantApi.js +8 -8
- package/dist/api/merchantApi.js.map +1 -1
- package/dist/api/merchantCreditsApi.d.ts +2 -2
- package/dist/api/merchantCreditsApi.js +1 -1
- package/dist/api/sMSApi.d.ts +18 -17
- package/dist/api/sMSApi.js +12 -12
- package/dist/api/sMSApi.js.map +1 -1
- package/dist/api/settingsApi.d.ts +2 -2
- package/dist/api/settingsApi.js +1 -1
- package/dist/api/settingsApi.js.map +1 -1
- package/dist/api/staticVoucherCampaignsApi.d.ts +5 -5
- package/dist/api/staticVoucherCampaignsApi.js +3 -3
- package/dist/api/transactionLedgerApi.d.ts +2 -2
- package/dist/api/transactionLedgerApi.js +1 -1
- package/dist/api/utilitiesApi.d.ts +2 -2
- package/dist/api/utilitiesApi.js +1 -1
- package/dist/api/utilitiesApi.js.map +1 -1
- package/dist/model/advertisementCredit.d.ts +1 -1
- package/dist/model/advertisementCreditBroadcast.d.ts +1 -1
- package/dist/model/advertisementCreditScan.d.ts +1 -1
- package/dist/model/agreement.d.ts +1 -1
- package/dist/model/clickFunnelContact.d.ts +3 -3
- package/dist/model/clickFunnelContactProfile.d.ts +5 -5
- package/dist/model/clickFunnelRegistration.d.ts +16 -0
- package/dist/model/clickFunnelRegistration.js +23 -0
- package/dist/model/clickFunnelRegistration.js.map +1 -0
- package/dist/model/dynamicVoucher.d.ts +1 -1
- package/dist/model/dynamicVoucherBroadcast.d.ts +1 -1
- package/dist/model/employeeAPIKey.d.ts +1 -1
- package/dist/model/helpDeskRequest.d.ts +1 -1
- package/dist/model/imageGrid.d.ts +22 -0
- package/dist/model/imageGrid.js +58 -0
- package/dist/model/imageGrid.js.map +1 -0
- package/dist/model/importedList.d.ts +1 -1
- package/dist/model/importedListRecipient.d.ts +1 -1
- package/dist/model/inboundSMS.d.ts +1 -1
- package/dist/model/inlineResponse200.d.ts +6 -2
- package/dist/model/inlineResponse200.js +21 -6
- package/dist/model/inlineResponse200.js.map +1 -1
- package/dist/model/inlineResponse2001.d.ts +3 -6
- package/dist/model/inlineResponse2001.js +7 -17
- package/dist/model/inlineResponse2001.js.map +1 -1
- package/dist/model/inlineResponse20010.d.ts +3 -4
- package/dist/model/inlineResponse20010.js +9 -9
- package/dist/model/inlineResponse20010.js.map +1 -1
- package/dist/model/inlineResponse20011.d.ts +14 -2
- package/dist/model/inlineResponse20011.js +66 -6
- package/dist/model/inlineResponse20011.js.map +1 -1
- package/dist/model/inlineResponse20012.d.ts +3 -13
- package/dist/model/inlineResponse20012.js +6 -51
- package/dist/model/inlineResponse20012.js.map +1 -1
- package/dist/model/inlineResponse2002.d.ts +1 -1
- package/dist/model/inlineResponse2002.js +1 -1
- package/dist/model/inlineResponse2002.js.map +1 -1
- package/dist/model/inlineResponse2003.d.ts +4 -1
- package/dist/model/inlineResponse2003.js +12 -2
- package/dist/model/inlineResponse2003.js.map +1 -1
- package/dist/model/inlineResponse2004.d.ts +3 -3
- package/dist/model/inlineResponse2004.js +6 -11
- package/dist/model/inlineResponse2004.js.map +1 -1
- package/dist/model/inlineResponse2005.d.ts +4 -3
- package/dist/model/inlineResponse2005.js +10 -5
- package/dist/model/inlineResponse2005.js.map +1 -1
- package/dist/model/inlineResponse2006.d.ts +4 -12
- package/dist/model/inlineResponse2006.js +9 -54
- package/dist/model/inlineResponse2006.js.map +1 -1
- package/dist/model/inlineResponse2007.d.ts +4 -4
- package/dist/model/inlineResponse2007.js +8 -8
- package/dist/model/inlineResponse2007.js.map +1 -1
- package/dist/model/inlineResponse2008.d.ts +4 -1
- package/dist/model/inlineResponse2008.js +12 -2
- package/dist/model/inlineResponse2008.js.map +1 -1
- package/dist/model/inlineResponse2009.d.ts +13 -4
- package/dist/model/inlineResponse2009.js +52 -7
- package/dist/model/inlineResponse2009.js.map +1 -1
- package/dist/model/ledgerEntry.d.ts +1 -1
- package/dist/model/memberSearch.d.ts +4 -1
- package/dist/model/memberSearch.js +17 -2
- package/dist/model/memberSearch.js.map +1 -1
- package/dist/model/merchant.d.ts +1 -0
- package/dist/model/merchant.js +5 -0
- package/dist/model/merchant.js.map +1 -1
- package/dist/model/models.d.ts +16 -5
- package/dist/model/models.js +49 -15
- package/dist/model/models.js.map +1 -1
- package/dist/model/optInList.d.ts +1 -1
- package/dist/model/optInListSource.d.ts +1 -1
- package/dist/model/optInListSubscriber.d.ts +1 -1
- package/dist/model/outboundSMS.d.ts +2 -2
- package/dist/model/outboundSMS.js +5 -5
- package/dist/model/outboundSMS.js.map +1 -1
- package/dist/model/paymentDesign.d.ts +1 -1
- package/dist/model/paymentPrefixes.d.ts +25 -0
- package/dist/model/paymentPrefixes.js +73 -0
- package/dist/model/paymentPrefixes.js.map +1 -0
- package/dist/model/phoneNumber.d.ts +1 -1
- package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.d.ts +17 -0
- package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js +33 -0
- package/dist/model/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.js.map +1 -0
- package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +1 -1
- package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +5 -5
- package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -1
- package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +1 -1
- package/dist/model/portalPage.d.ts +2 -0
- package/dist/model/portalPage.js +2 -0
- package/dist/model/portalPage.js.map +1 -1
- package/dist/model/simpleSMSBroadcast.d.ts +1 -1
- package/dist/model/staticVoucher.d.ts +1 -1
- package/dist/model/staticVoucherCampaign.d.ts +1 -1
- package/dist/model/staticVoucherCampaignBroadcast.d.ts +1 -1
- package/dist/model/staticVoucherCampaignGroup.d.ts +1 -1
- package/dist/model/tcpa.d.ts +1 -1
- package/dist/model/wTAdvertisementCredit.d.ts +1 -1
- package/dist/model/wTAdvertisementCreditScan.d.ts +1 -1
- package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.d.ts +19 -0
- package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js +24 -0
- package/dist/model/wTAuthenticationCheckSessionTokenStatusResponse.js.map +1 -0
- package/dist/model/wTAuthenticationLoginRequest.d.ts +15 -0
- package/dist/model/wTAuthenticationLoginRequest.js +23 -0
- package/dist/model/wTAuthenticationLoginRequest.js.map +1 -0
- package/dist/model/wTAuthenticationLoginResponse.d.ts +28 -0
- package/dist/model/wTAuthenticationLoginResponse.js +88 -0
- package/dist/model/wTAuthenticationLoginResponse.js.map +1 -0
- package/dist/model/wTBillingVerifyPaymentMethodResponse.d.ts +16 -0
- package/dist/model/wTBillingVerifyPaymentMethodResponse.js +23 -0
- package/dist/model/wTBillingVerifyPaymentMethodResponse.js.map +1 -0
- package/dist/model/wTCountResult.d.ts +14 -0
- package/dist/model/wTCountResult.js +18 -0
- package/dist/model/wTCountResult.js.map +1 -0
- package/dist/model/wTDynamicVoucher.d.ts +1 -1
- package/dist/model/wTDynamicVoucherRedemption.d.ts +1 -1
- package/dist/model/wTEmployeeAPIKey.d.ts +1 -1
- package/dist/model/wTEmployeeCreateMediaFile.d.ts +1 -0
- package/dist/model/wTEmployeeCreateMediaFile.js +5 -0
- package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -1
- package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +1 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.js +5 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -1
- package/dist/model/wTEmployeeUpdateRecords.d.ts +15 -0
- package/dist/model/wTEmployeeUpdateRecords.js +23 -0
- package/dist/model/wTEmployeeUpdateRecords.js.map +1 -0
- package/dist/model/wTImageGridCreateParams.d.ts +17 -0
- package/dist/model/wTImageGridCreateParams.js +33 -0
- package/dist/model/wTImageGridCreateParams.js.map +1 -0
- package/dist/model/wTImageGridUpdateParams.d.ts +17 -0
- package/dist/model/wTImageGridUpdateParams.js +33 -0
- package/dist/model/wTImageGridUpdateParams.js.map +1 -0
- package/dist/model/wTImportedList.d.ts +1 -1
- package/dist/model/wTMembershipTier.d.ts +1 -1
- package/dist/model/wTMembershipTierWithMemberCount.d.ts +1 -1
- package/dist/model/wTMerchantUpdate.d.ts +1 -0
- package/dist/model/wTMerchantUpdate.js +5 -0
- package/dist/model/wTMerchantUpdate.js.map +1 -1
- package/dist/model/wTOptInList.d.ts +1 -1
- package/dist/model/wTPaymentDesign.d.ts +1 -1
- package/dist/model/wTSMSLimits.d.ts +15 -0
- package/dist/model/wTSMSLimits.js +23 -0
- package/dist/model/wTSMSLimits.js.map +1 -0
- package/dist/model/wTStaticVoucher.d.ts +1 -1
- package/dist/model/wTStaticVoucherCampaign.d.ts +1 -1
- package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +1 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.js +5 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -1
- package/dist/model/wTWalletItemRedemption.d.ts +1 -1
- package/dist/model/wTWalletObjectPrefixCounts.d.ts +17 -0
- package/dist/model/wTWalletObjectPrefixCounts.js +28 -0
- package/dist/model/wTWalletObjectPrefixCounts.js.map +1 -0
- package/dist/model/wTWalletPageView.d.ts +1 -1
- package/dist/model/wTWalletPageViewCount.d.ts +16 -0
- package/dist/model/wTWalletPageViewCount.js +28 -0
- package/dist/model/wTWalletPageViewCount.js.map +1 -0
- package/dist/model/walletConfiguration.d.ts +1 -0
- package/dist/model/walletConfiguration.js +5 -0
- package/dist/model/walletConfiguration.js.map +1 -1
- package/dist/model/walletPageView.d.ts +1 -1
- package/model/advertisementCredit.ts +2 -2
- package/model/advertisementCreditBroadcast.ts +2 -2
- package/model/advertisementCreditScan.ts +2 -2
- package/model/agreement.ts +2 -2
- 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 +4 -4
- package/model/clickFunnelContactProfile.ts +6 -6
- 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/clickFunnelRegistration.ts +38 -0
- package/model/createStaticVoucherCampaign.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +1 -1
- package/model/dashboardWidget.ts +1 -1
- package/model/duplicateRowFound.ts +1 -1
- package/model/dynamicVoucher.ts +2 -2
- package/model/dynamicVoucherBroadcast.ts +2 -2
- package/model/employee.ts +1 -1
- package/model/employeeAPIKey.ts +2 -2
- 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 +2 -2
- package/model/imageGrid.ts +79 -0
- package/model/importedList.ts +2 -2
- package/model/importedListRecipient.ts +2 -2
- package/model/inboundSMS.ts +2 -2
- package/model/inlineResponse200.ts +28 -9
- package/model/inlineResponse2001.ts +11 -24
- package/model/inlineResponse20010.ts +13 -14
- package/model/inlineResponse20011.ts +80 -8
- package/model/inlineResponse20012.ts +9 -64
- package/model/inlineResponse2002.ts +3 -3
- package/model/inlineResponse2003.ts +17 -4
- package/model/inlineResponse2004.ts +10 -15
- package/model/inlineResponse2005.ts +15 -9
- package/model/inlineResponse2006.ts +14 -67
- package/model/inlineResponse2007.ts +13 -13
- package/model/inlineResponse2008.ts +17 -4
- package/model/inlineResponse2009.ts +66 -12
- package/model/internalServerError.ts +1 -1
- package/model/ledgerEntry.ts +2 -2
- 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 +31 -4
- package/model/merchant.ts +7 -1
- 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 +49 -15
- package/model/moduleError.ts +1 -1
- package/model/newsArticle.ts +1 -1
- package/model/optInList.ts +2 -2
- package/model/optInListSource.ts +2 -2
- package/model/optInListSubscriber.ts +2 -2
- package/model/outboundSMS.ts +8 -8
- 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 +2 -2
- package/model/paymentPrefixes.ts +97 -0
- package/model/performance.ts +1 -1
- package/model/phoneNumber.ts +2 -2
- 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/pickPaginationRequestWithSortOptionsExcludeKeyofPaginationRequestWithSortOptionsSortKey.ts +64 -0
- 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 +7 -7
- 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 +1 -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 +2 -2
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
- package/model/plan.ts +1 -1
- package/model/portalPage.ts +3 -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 +2 -2
- package/model/staticVoucher.ts +2 -2
- package/model/staticVoucherCampaign.ts +2 -2
- package/model/staticVoucherCampaignBroadcast.ts +2 -2
- package/model/staticVoucherCampaignGroup.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/model/wTAdvertisementCreditCreateParams.ts +1 -1
- package/model/wTAdvertisementCreditScan.ts +2 -2
- package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
- package/model/wTAuthenticationCheckSessionTokenStatusResponse.ts +36 -0
- package/model/wTAuthenticationForgotPassword.ts +1 -1
- package/model/wTAuthenticationLoginRequest.ts +37 -0
- package/model/wTAuthenticationLoginResponse.ts +115 -0
- package/model/wTAuthenticationRegister.ts +1 -1
- package/model/wTAuthenticationRequestResetPassword.ts +1 -1
- package/model/wTAuthenticationResetPassword.ts +1 -1
- package/model/wTAuthenticationSSOLoginForDiscourse.ts +1 -1
- package/model/wTBillingChangePlan.ts +1 -1
- package/model/wTBillingSavePaymentMethod.ts +1 -1
- package/model/wTBillingVerifyPaymentMethodResponse.ts +38 -0
- package/model/wTCountResult.ts +31 -0
- package/model/wTCustomerSearchByMemberID.ts +1 -1
- package/model/wTCustomerSearchByPhoneNumber.ts +1 -1
- package/model/wTDynamicVoucher.ts +2 -2
- package/model/wTDynamicVoucherCreateParams.ts +1 -1
- package/model/wTDynamicVoucherRedemption.ts +2 -2
- package/model/wTDynamicVoucherSummary.ts +1 -1
- package/model/wTDynamicVoucherUpdateParams.ts +1 -1
- package/model/wTEmployee.ts +1 -1
- package/model/wTEmployeeAPIKey.ts +2 -2
- package/model/wTEmployeeAPIKeyCreateParams.ts +1 -1
- package/model/wTEmployeeAPIKeyUpdateParams.ts +1 -1
- package/model/wTEmployeeCreate.ts +1 -1
- package/model/wTEmployeeCreateAlert.ts +1 -1
- package/model/wTEmployeeCreateMediaFile.ts +7 -1
- package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +1 -1
- package/model/wTEmployeeFileCreate.ts +1 -1
- package/model/wTEmployeeImportRecords.ts +1 -1
- package/model/wTEmployeeNotification.ts +1 -1
- package/model/wTEmployeePeerRoles.ts +1 -1
- package/model/wTEmployeeS3FilePresign.ts +1 -1
- package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +1 -1
- package/model/wTEmployeeScheduleSimpleSMS.ts +1 -1
- package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +1 -1
- package/model/wTEmployeeSendHelpDeskResponse.ts +7 -1
- package/model/wTEmployeeUpdate.ts +1 -1
- package/model/wTEmployeeUpdateRecords.ts +37 -0
- package/model/wTFetchWalletPaymentObjectWithToken.ts +1 -1
- package/model/wTImageGridCreateParams.ts +49 -0
- package/model/wTImageGridUpdateParams.ts +49 -0
- package/model/wTImportedList.ts +2 -2
- package/model/wTInfoGenesisLookupRequestErrors.ts +1 -1
- package/model/wTInfoGenesisRecordFilterParameters.ts +1 -1
- package/model/wTInfoGenesisRoutingIDs.ts +1 -1
- package/model/wTInfoGenesisUniquePostingIDs.ts +1 -1
- 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 +2 -2
- package/model/wTMembershipTierCreationParams.ts +1 -1
- package/model/wTMembershipTierUpdateParams.ts +1 -1
- package/model/wTMembershipTierWithMemberCount.ts +2 -2
- 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 +7 -1
- package/model/wTMerchantUpdateBillingContact.ts +1 -1
- package/model/wTMerchantUpdatePOSIntegration.ts +1 -1
- package/model/wTNewsArticleCreateParams.ts +1 -1
- package/model/wTNewsArticleUpdateParams.ts +1 -1
- package/model/wTOptInList.ts +2 -2
- package/model/wTOptInListCreationParams.ts +1 -1
- package/model/wTPaymentDesign.ts +2 -2
- 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 +1 -1
- package/model/wTSMSCreateAgreement.ts +1 -1
- package/model/wTSMSImportOptInListSubscribers.ts +1 -1
- package/model/wTSMSImportedListCreate.ts +1 -1
- package/model/wTSMSLimits.ts +37 -0
- package/model/wTSMSOptInListSourceCreate.ts +1 -1
- package/model/wTSMSUpdatePhoneNumberConfig.ts +1 -1
- package/model/wTSettingsSetPassword.ts +1 -1
- package/model/wTStaticVoucher.ts +2 -2
- package/model/wTStaticVoucherCampaign.ts +2 -2
- package/model/wTStaticVoucherCampaignPreviewMessages.ts +1 -1
- package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +1 -1
- package/model/wTStaticVoucherCreateParams.ts +1 -1
- package/model/wTStaticVoucherUpdateParams.ts +1 -1
- package/model/wTSystemApprovePhoneNumber.ts +1 -1
- package/model/wTSystemRoleCreate.ts +1 -1
- package/model/wTTCPAOpt.ts +1 -1
- package/model/wTTwilioRequestAuthyCode.ts +1 -1
- package/model/wTTwilioVerifyAuthyCode.ts +1 -1
- package/model/wTWalletConfigurationSaveWalletRecord.ts +7 -1
- package/model/wTWalletItemRedemption.ts +2 -2
- package/model/wTWalletObjectPrefixCounts.ts +44 -0
- package/model/wTWalletPageView.ts +2 -2
- package/model/wTWalletPageViewCount.ts +43 -0
- package/model/wTWalletPageViewGeoPoint.ts +1 -1
- package/model/walletConfiguration.ts +7 -1
- package/model/walletPageView.ts +2 -2
- package/model/webpage.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.json +1 -2
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.511
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,11 +20,9 @@ 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 {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { InlineResponse2003 } from '../model/inlineResponse2003';
|
|
27
|
-
import { InlineResponse2009 } from '../model/inlineResponse2009';
|
|
23
|
+
import { InlineResponse2006 } from '../model/inlineResponse2006';
|
|
24
|
+
import { InlineResponse2007 } from '../model/inlineResponse2007';
|
|
25
|
+
import { InlineResponse2008 } from '../model/inlineResponse2008';
|
|
28
26
|
import { InternalServerError } from '../model/internalServerError';
|
|
29
27
|
import { OptInList } from '../model/optInList';
|
|
30
28
|
import { OptInListSource } from '../model/optInListSource';
|
|
@@ -32,13 +30,16 @@ import { OptInListSubscriber } from '../model/optInListSubscriber';
|
|
|
32
30
|
import { OutboundSMS } from '../model/outboundSMS';
|
|
33
31
|
import { PhoneNumber } from '../model/phoneNumber';
|
|
34
32
|
import { SSImportedListRecipientCreateParams } from '../model/sSImportedListRecipientCreateParams';
|
|
33
|
+
import { StaticVoucherCampaignBroadcast } from '../model/staticVoucherCampaignBroadcast';
|
|
35
34
|
import { Tcpa } from '../model/tcpa';
|
|
35
|
+
import { WTCountResult } from '../model/wTCountResult';
|
|
36
36
|
import { WTEmployeeImportRecords } from '../model/wTEmployeeImportRecords';
|
|
37
37
|
import { WTOptInListCreationParams } from '../model/wTOptInListCreationParams';
|
|
38
38
|
import { WTSMSAcquirePhoneNumber } from '../model/wTSMSAcquirePhoneNumber';
|
|
39
39
|
import { WTSMSCreateAgreement } from '../model/wTSMSCreateAgreement';
|
|
40
40
|
import { WTSMSImportOptInListSubscribers } from '../model/wTSMSImportOptInListSubscribers';
|
|
41
41
|
import { WTSMSImportedListCreate } from '../model/wTSMSImportedListCreate';
|
|
42
|
+
import { WTSMSLimits } from '../model/wTSMSLimits';
|
|
42
43
|
import { WTSMSOptInListSourceCreate } from '../model/wTSMSOptInListSourceCreate';
|
|
43
44
|
import { WTSMSUpdatePhoneNumberConfig } from '../model/wTSMSUpdatePhoneNumberConfig';
|
|
44
45
|
|
|
@@ -329,7 +330,7 @@ export class SMSApi {
|
|
|
329
330
|
* @param startDate
|
|
330
331
|
* @param endDate
|
|
331
332
|
*/
|
|
332
|
-
public async countImportedListRecipients (listID: string, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
333
|
+
public async countImportedListRecipients (listID: string, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
|
|
333
334
|
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/count/{listID}'
|
|
334
335
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
335
336
|
let localVarQueryParameters: any = {};
|
|
@@ -389,13 +390,13 @@ export class SMSApi {
|
|
|
389
390
|
localVarRequestOptions.form = localVarFormParams;
|
|
390
391
|
}
|
|
391
392
|
}
|
|
392
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
393
|
+
return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
|
|
393
394
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
394
395
|
if (error) {
|
|
395
396
|
reject(error);
|
|
396
397
|
} else {
|
|
397
398
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
398
|
-
body = ObjectSerializer.deserialize(body, "
|
|
399
|
+
body = ObjectSerializer.deserialize(body, "WTCountResult");
|
|
399
400
|
resolve({ response: response, body: body });
|
|
400
401
|
} else {
|
|
401
402
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -415,7 +416,7 @@ export class SMSApi {
|
|
|
415
416
|
* @param startDate
|
|
416
417
|
* @param endDate
|
|
417
418
|
*/
|
|
418
|
-
public async countOptInListSubscribers (listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
419
|
+
public async countOptInListSubscribers (listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
|
|
419
420
|
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/count/{listID}'
|
|
420
421
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
421
422
|
let localVarQueryParameters: any = {};
|
|
@@ -483,13 +484,13 @@ export class SMSApi {
|
|
|
483
484
|
localVarRequestOptions.form = localVarFormParams;
|
|
484
485
|
}
|
|
485
486
|
}
|
|
486
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
487
|
+
return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
|
|
487
488
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
488
489
|
if (error) {
|
|
489
490
|
reject(error);
|
|
490
491
|
} else {
|
|
491
492
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
492
|
-
body = ObjectSerializer.deserialize(body, "
|
|
493
|
+
body = ObjectSerializer.deserialize(body, "WTCountResult");
|
|
493
494
|
resolve({ response: response, body: body });
|
|
494
495
|
} else {
|
|
495
496
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -509,7 +510,7 @@ export class SMSApi {
|
|
|
509
510
|
* @param startDate
|
|
510
511
|
* @param endDate
|
|
511
512
|
*/
|
|
512
|
-
public async countOptInSourceSubscribers (sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
513
|
+
public async countOptInSourceSubscribers (sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
|
|
513
514
|
const localVarPath = this.basePath + '/v2/sms/optInSource/subscribers/count/{sourceID}'
|
|
514
515
|
.replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
|
|
515
516
|
let localVarQueryParameters: any = {};
|
|
@@ -577,13 +578,13 @@ export class SMSApi {
|
|
|
577
578
|
localVarRequestOptions.form = localVarFormParams;
|
|
578
579
|
}
|
|
579
580
|
}
|
|
580
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
581
|
+
return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
|
|
581
582
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
582
583
|
if (error) {
|
|
583
584
|
reject(error);
|
|
584
585
|
} else {
|
|
585
586
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
586
|
-
body = ObjectSerializer.deserialize(body, "
|
|
587
|
+
body = ObjectSerializer.deserialize(body, "WTCountResult");
|
|
587
588
|
resolve({ response: response, body: body });
|
|
588
589
|
} else {
|
|
589
590
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -601,7 +602,7 @@ export class SMSApi {
|
|
|
601
602
|
* @param status
|
|
602
603
|
* @param paymentObjectBroadcastID
|
|
603
604
|
*/
|
|
604
|
-
public async countOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
605
|
+
public async countOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
|
|
605
606
|
const localVarPath = this.basePath + '/v2/sms/outbound/count/{phoneNumberID}'
|
|
606
607
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
607
608
|
let localVarQueryParameters: any = {};
|
|
@@ -661,13 +662,13 @@ export class SMSApi {
|
|
|
661
662
|
localVarRequestOptions.form = localVarFormParams;
|
|
662
663
|
}
|
|
663
664
|
}
|
|
664
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
665
|
+
return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
|
|
665
666
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
666
667
|
if (error) {
|
|
667
668
|
reject(error);
|
|
668
669
|
} else {
|
|
669
670
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
670
|
-
body = ObjectSerializer.deserialize(body, "
|
|
671
|
+
body = ObjectSerializer.deserialize(body, "WTCountResult");
|
|
671
672
|
resolve({ response: response, body: body });
|
|
672
673
|
} else {
|
|
673
674
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1306,7 +1307,7 @@ export class SMSApi {
|
|
|
1306
1307
|
* @param pageNum
|
|
1307
1308
|
* @param isArchiveIncluded
|
|
1308
1309
|
*/
|
|
1309
|
-
public async fetchImportedListRecipientsByPage (listID: string, pageSize?: number, pageNum?: number, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1310
|
+
public async fetchImportedListRecipientsByPage (listID: string, pageSize?: number, pageNum?: number, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2008; }> {
|
|
1310
1311
|
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/page/{listID}'
|
|
1311
1312
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1312
1313
|
let localVarQueryParameters: any = {};
|
|
@@ -1366,13 +1367,13 @@ export class SMSApi {
|
|
|
1366
1367
|
localVarRequestOptions.form = localVarFormParams;
|
|
1367
1368
|
}
|
|
1368
1369
|
}
|
|
1369
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1370
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2008; }>((resolve, reject) => {
|
|
1370
1371
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1371
1372
|
if (error) {
|
|
1372
1373
|
reject(error);
|
|
1373
1374
|
} else {
|
|
1374
1375
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1375
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1376
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2008");
|
|
1376
1377
|
resolve({ response: response, body: body });
|
|
1377
1378
|
} else {
|
|
1378
1379
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1476,7 +1477,7 @@ export class SMSApi {
|
|
|
1476
1477
|
* @param isPendingAge21Verification
|
|
1477
1478
|
* @param isArchiveIncluded
|
|
1478
1479
|
*/
|
|
1479
|
-
public async fetchOptInListSubscribersByPage (listID: string, pageSize?: number, pageNum?: number, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1480
|
+
public async fetchOptInListSubscribersByPage (listID: string, pageSize?: number, pageNum?: number, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2007; }> {
|
|
1480
1481
|
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/page/{listID}'
|
|
1481
1482
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1482
1483
|
let localVarQueryParameters: any = {};
|
|
@@ -1544,13 +1545,13 @@ export class SMSApi {
|
|
|
1544
1545
|
localVarRequestOptions.form = localVarFormParams;
|
|
1545
1546
|
}
|
|
1546
1547
|
}
|
|
1547
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1548
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2007; }>((resolve, reject) => {
|
|
1548
1549
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1549
1550
|
if (error) {
|
|
1550
1551
|
reject(error);
|
|
1551
1552
|
} else {
|
|
1552
1553
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1553
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1554
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2007");
|
|
1554
1555
|
resolve({ response: response, body: body });
|
|
1555
1556
|
} else {
|
|
1556
1557
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1875,7 +1876,7 @@ export class SMSApi {
|
|
|
1875
1876
|
* @param pageSize
|
|
1876
1877
|
* @param pageNum
|
|
1877
1878
|
*/
|
|
1878
|
-
public async fetchOutboundSMSByPage (phoneNumberID: string, toPhoneNumber?: string, paymentObjectBroadcastID?: string, pageSize?: number, pageNum?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1879
|
+
public async fetchOutboundSMSByPage (phoneNumberID: string, toPhoneNumber?: string, paymentObjectBroadcastID?: string, pageSize?: number, pageNum?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2006; }> {
|
|
1879
1880
|
const localVarPath = this.basePath + '/v2/sms/outbound/page/{phoneNumberID}'
|
|
1880
1881
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1881
1882
|
let localVarQueryParameters: any = {};
|
|
@@ -1939,13 +1940,13 @@ export class SMSApi {
|
|
|
1939
1940
|
localVarRequestOptions.form = localVarFormParams;
|
|
1940
1941
|
}
|
|
1941
1942
|
}
|
|
1942
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1943
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2006; }>((resolve, reject) => {
|
|
1943
1944
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1944
1945
|
if (error) {
|
|
1945
1946
|
reject(error);
|
|
1946
1947
|
} else {
|
|
1947
1948
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1948
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1949
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2006");
|
|
1949
1950
|
resolve({ response: response, body: body });
|
|
1950
1951
|
} else {
|
|
1951
1952
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1960,7 +1961,7 @@ export class SMSApi {
|
|
|
1960
1961
|
* @summary Fetch payment object broadcasts
|
|
1961
1962
|
* @param phoneNumberID
|
|
1962
1963
|
*/
|
|
1963
|
-
public async fetchPaymentObjectBroadcasts (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
1964
|
+
public async fetchPaymentObjectBroadcasts (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<StaticVoucherCampaignBroadcast>; }> {
|
|
1964
1965
|
const localVarPath = this.basePath + '/v2/sms/paymentObjectBroadcasts/{phoneNumberID}'
|
|
1965
1966
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1966
1967
|
let localVarQueryParameters: any = {};
|
|
@@ -2008,13 +2009,13 @@ export class SMSApi {
|
|
|
2008
2009
|
localVarRequestOptions.form = localVarFormParams;
|
|
2009
2010
|
}
|
|
2010
2011
|
}
|
|
2011
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2012
|
+
return new Promise<{ response: http.IncomingMessage; body: Array<StaticVoucherCampaignBroadcast>; }>((resolve, reject) => {
|
|
2012
2013
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
2013
2014
|
if (error) {
|
|
2014
2015
|
reject(error);
|
|
2015
2016
|
} else {
|
|
2016
2017
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2017
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2018
|
+
body = ObjectSerializer.deserialize(body, "Array<StaticVoucherCampaignBroadcast>");
|
|
2018
2019
|
resolve({ response: response, body: body });
|
|
2019
2020
|
} else {
|
|
2020
2021
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -2380,7 +2381,7 @@ export class SMSApi {
|
|
|
2380
2381
|
*
|
|
2381
2382
|
* @summary Retrieve the number of messages sent by the merchant within the current billing cycle
|
|
2382
2383
|
*/
|
|
2383
|
-
public async retrieveSentAndMaxCountOfMessages (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
2384
|
+
public async retrieveSentAndMaxCountOfMessages (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTSMSLimits; }> {
|
|
2384
2385
|
const localVarPath = this.basePath + '/v2/sms/sent';
|
|
2385
2386
|
let localVarQueryParameters: any = {};
|
|
2386
2387
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -2422,13 +2423,13 @@ export class SMSApi {
|
|
|
2422
2423
|
localVarRequestOptions.form = localVarFormParams;
|
|
2423
2424
|
}
|
|
2424
2425
|
}
|
|
2425
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2426
|
+
return new Promise<{ response: http.IncomingMessage; body: WTSMSLimits; }>((resolve, reject) => {
|
|
2426
2427
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
2427
2428
|
if (error) {
|
|
2428
2429
|
reject(error);
|
|
2429
2430
|
} else {
|
|
2430
2431
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2431
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2432
|
+
body = ObjectSerializer.deserialize(body, "WTSMSLimits");
|
|
2432
2433
|
resolve({ response: response, body: body });
|
|
2433
2434
|
} else {
|
|
2434
2435
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -2444,7 +2445,7 @@ export class SMSApi {
|
|
|
2444
2445
|
* @param listID
|
|
2445
2446
|
* @param wTSMSImportedListCreate
|
|
2446
2447
|
*/
|
|
2447
|
-
public async saveImportedList (listID: string, wTSMSImportedListCreate: WTSMSImportedListCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
2448
|
+
public async saveImportedList (listID: string, wTSMSImportedListCreate: WTSMSImportedListCreate, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedList; }> {
|
|
2448
2449
|
const localVarPath = this.basePath + '/v2/sms/importedList/{listID}'
|
|
2449
2450
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
2450
2451
|
let localVarQueryParameters: any = {};
|
|
@@ -2498,13 +2499,13 @@ export class SMSApi {
|
|
|
2498
2499
|
localVarRequestOptions.form = localVarFormParams;
|
|
2499
2500
|
}
|
|
2500
2501
|
}
|
|
2501
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2502
|
+
return new Promise<{ response: http.IncomingMessage; body: ImportedList; }>((resolve, reject) => {
|
|
2502
2503
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
2503
2504
|
if (error) {
|
|
2504
2505
|
reject(error);
|
|
2505
2506
|
} else {
|
|
2506
2507
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2507
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2508
|
+
body = ObjectSerializer.deserialize(body, "ImportedList");
|
|
2508
2509
|
resolve({ response: response, body: body });
|
|
2509
2510
|
} else {
|
|
2510
2511
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -2520,7 +2521,7 @@ export class SMSApi {
|
|
|
2520
2521
|
* @param listID
|
|
2521
2522
|
* @param wTOptInListCreationParams
|
|
2522
2523
|
*/
|
|
2523
|
-
public async saveOptInList (listID: string, wTOptInListCreationParams: WTOptInListCreationParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
2524
|
+
public async saveOptInList (listID: string, wTOptInListCreationParams: WTOptInListCreationParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInList; }> {
|
|
2524
2525
|
const localVarPath = this.basePath + '/v2/sms/optInList/{listID}'
|
|
2525
2526
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
2526
2527
|
let localVarQueryParameters: any = {};
|
|
@@ -2574,13 +2575,13 @@ export class SMSApi {
|
|
|
2574
2575
|
localVarRequestOptions.form = localVarFormParams;
|
|
2575
2576
|
}
|
|
2576
2577
|
}
|
|
2577
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2578
|
+
return new Promise<{ response: http.IncomingMessage; body: OptInList; }>((resolve, reject) => {
|
|
2578
2579
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
2579
2580
|
if (error) {
|
|
2580
2581
|
reject(error);
|
|
2581
2582
|
} else {
|
|
2582
2583
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2583
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2584
|
+
body = ObjectSerializer.deserialize(body, "OptInList");
|
|
2584
2585
|
resolve({ response: response, body: body });
|
|
2585
2586
|
} else {
|
|
2586
2587
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -2748,7 +2749,7 @@ export class SMSApi {
|
|
|
2748
2749
|
* @param phoneNumberID
|
|
2749
2750
|
* @param wTSMSUpdatePhoneNumberConfig
|
|
2750
2751
|
*/
|
|
2751
|
-
public async updatePhoneNumber (phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
2752
|
+
public async updatePhoneNumber (phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
|
|
2752
2753
|
const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
|
|
2753
2754
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
2754
2755
|
let localVarQueryParameters: any = {};
|
|
@@ -2802,13 +2803,13 @@ export class SMSApi {
|
|
|
2802
2803
|
localVarRequestOptions.form = localVarFormParams;
|
|
2803
2804
|
}
|
|
2804
2805
|
}
|
|
2805
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2806
|
+
return new Promise<{ response: http.IncomingMessage; body: PhoneNumber; }>((resolve, reject) => {
|
|
2806
2807
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
2807
2808
|
if (error) {
|
|
2808
2809
|
reject(error);
|
|
2809
2810
|
} else {
|
|
2810
2811
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2811
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2812
|
+
body = ObjectSerializer.deserialize(body, "PhoneNumber");
|
|
2812
2813
|
resolve({ response: response, body: body });
|
|
2813
2814
|
} else {
|
|
2814
2815
|
reject(new HttpError(response, body, response.statusCode));
|
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.511
|
|
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 { InlineResponse2008 } from '../model/inlineResponse2008';
|
|
21
20
|
import { InternalServerError } from '../model/internalServerError';
|
|
22
21
|
import { StaticVoucherCampaign } from '../model/staticVoucherCampaign';
|
|
22
|
+
import { WTCountResult } from '../model/wTCountResult';
|
|
23
23
|
|
|
24
24
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
25
25
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -159,7 +159,7 @@ export class SettingsApi {
|
|
|
159
159
|
*
|
|
160
160
|
* @summary Get vouchers count
|
|
161
161
|
*/
|
|
162
|
-
public async getVouchersCount (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
162
|
+
public async getVouchersCount (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: WTCountResult; }> {
|
|
163
163
|
const localVarPath = this.basePath + '/v2/settings/vouchers/count';
|
|
164
164
|
let localVarQueryParameters: any = {};
|
|
165
165
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -201,13 +201,13 @@ export class SettingsApi {
|
|
|
201
201
|
localVarRequestOptions.form = localVarFormParams;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
204
|
+
return new Promise<{ response: http.IncomingMessage; body: WTCountResult; }>((resolve, reject) => {
|
|
205
205
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
206
206
|
if (error) {
|
|
207
207
|
reject(error);
|
|
208
208
|
} else {
|
|
209
209
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
210
|
-
body = ObjectSerializer.deserialize(body, "
|
|
210
|
+
body = ObjectSerializer.deserialize(body, "WTCountResult");
|
|
211
211
|
resolve({ response: response, body: body });
|
|
212
212
|
} else {
|
|
213
213
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -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.511
|
|
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,8 @@ 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 {
|
|
24
|
-
import {
|
|
23
|
+
import { InlineResponse2002 } from '../model/inlineResponse2002';
|
|
24
|
+
import { InlineResponse2004 } from '../model/inlineResponse2004';
|
|
25
25
|
import { InternalServerError } from '../model/internalServerError';
|
|
26
26
|
import { ReachPerformanceStats } from '../model/reachPerformanceStats';
|
|
27
27
|
import { StaticVoucherCampaignUpdate } from '../model/staticVoucherCampaignUpdate';
|
|
@@ -111,7 +111,7 @@ export class StaticVoucherCampaignsApi {
|
|
|
111
111
|
* @summary Count loaded vouchers
|
|
112
112
|
* @param campaignID
|
|
113
113
|
*/
|
|
114
|
-
public async countVouchersLoaded (campaignID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
114
|
+
public async countVouchersLoaded (campaignID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
|
|
115
115
|
const localVarPath = this.basePath + '/v2/payment/staticVoucherCampaign/count/vouchers/loaded/{campaignID}'
|
|
116
116
|
.replace('{' + 'campaignID' + '}', encodeURIComponent(String(campaignID)));
|
|
117
117
|
let localVarQueryParameters: any = {};
|
|
@@ -159,13 +159,13 @@ export class StaticVoucherCampaignsApi {
|
|
|
159
159
|
localVarRequestOptions.form = localVarFormParams;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
162
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
|
|
163
163
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
164
164
|
if (error) {
|
|
165
165
|
reject(error);
|
|
166
166
|
} else {
|
|
167
167
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
168
|
-
body = ObjectSerializer.deserialize(body, "
|
|
168
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2002");
|
|
169
169
|
resolve({ response: response, body: body });
|
|
170
170
|
} else {
|
|
171
171
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -180,7 +180,7 @@ export class StaticVoucherCampaignsApi {
|
|
|
180
180
|
* @summary Count redeemed vouchers
|
|
181
181
|
* @param campaignID
|
|
182
182
|
*/
|
|
183
|
-
public async countVouchersRedeemed (campaignID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
183
|
+
public async countVouchersRedeemed (campaignID: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
|
|
184
184
|
const localVarPath = this.basePath + '/v2/payment/staticVoucherCampaign/count/vouchers/redeemed/{campaignID}'
|
|
185
185
|
.replace('{' + 'campaignID' + '}', encodeURIComponent(String(campaignID)));
|
|
186
186
|
let localVarQueryParameters: any = {};
|
|
@@ -228,13 +228,13 @@ export class StaticVoucherCampaignsApi {
|
|
|
228
228
|
localVarRequestOptions.form = localVarFormParams;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
231
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
|
|
232
232
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
233
233
|
if (error) {
|
|
234
234
|
reject(error);
|
|
235
235
|
} else {
|
|
236
236
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
237
|
-
body = ObjectSerializer.deserialize(body, "
|
|
237
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2002");
|
|
238
238
|
resolve({ response: response, body: body });
|
|
239
239
|
} else {
|
|
240
240
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -957,7 +957,7 @@ export class StaticVoucherCampaignsApi {
|
|
|
957
957
|
* @param pagenum
|
|
958
958
|
* @param pagesize
|
|
959
959
|
*/
|
|
960
|
-
public async fetchStaticVouchersPage (campaignID: any, pagenum: number, pagesize: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
960
|
+
public async fetchStaticVouchersPage (campaignID: any, pagenum: number, pagesize: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2004; }> {
|
|
961
961
|
const localVarPath = this.basePath + '/v2/payment/staticVoucherCampaign/staticVouchers/page/{campaignID}'
|
|
962
962
|
.replace('{' + 'campaignID' + '}', encodeURIComponent(String(campaignID)));
|
|
963
963
|
let localVarQueryParameters: any = {};
|
|
@@ -1023,13 +1023,13 @@ export class StaticVoucherCampaignsApi {
|
|
|
1023
1023
|
localVarRequestOptions.form = localVarFormParams;
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
1026
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2004; }>((resolve, reject) => {
|
|
1027
1027
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1028
1028
|
if (error) {
|
|
1029
1029
|
reject(error);
|
|
1030
1030
|
} else {
|
|
1031
1031
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1032
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1032
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2004");
|
|
1033
1033
|
resolve({ response: response, body: body });
|
|
1034
1034
|
} else {
|
|
1035
1035
|
reject(new HttpError(response, body, response.statusCode));
|
package/api/staticVouchersApi.ts
CHANGED
package/api/systemApi.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.511
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,7 +18,7 @@ import http from 'http';
|
|
|
18
18
|
import { ApplicableTerminals } from '../model/applicableTerminals';
|
|
19
19
|
import { AuthError } from '../model/authError';
|
|
20
20
|
import { FalsumError } from '../model/falsumError';
|
|
21
|
-
import {
|
|
21
|
+
import { InlineResponse2005 } from '../model/inlineResponse2005';
|
|
22
22
|
import { InternalServerError } from '../model/internalServerError';
|
|
23
23
|
|
|
24
24
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
@@ -102,7 +102,7 @@ export class TransactionLedgerApi {
|
|
|
102
102
|
* @param pageSize
|
|
103
103
|
* @param registerType
|
|
104
104
|
*/
|
|
105
|
-
public async fetchAllLedgerTransactions (startDateTime: Date, endDateTime: Date, pageNum: number, pageSize: number, registerType?: ApplicableTerminals, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
105
|
+
public async fetchAllLedgerTransactions (startDateTime: Date, endDateTime: Date, pageNum: number, pageSize: number, registerType?: ApplicableTerminals, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2005; }> {
|
|
106
106
|
const localVarPath = this.basePath + '/v2/pos/ledger/transactions/all';
|
|
107
107
|
let localVarQueryParameters: any = {};
|
|
108
108
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -184,13 +184,13 @@ export class TransactionLedgerApi {
|
|
|
184
184
|
localVarRequestOptions.form = localVarFormParams;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
187
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2005; }>((resolve, reject) => {
|
|
188
188
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
189
189
|
if (error) {
|
|
190
190
|
reject(error);
|
|
191
191
|
} else {
|
|
192
192
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
193
|
-
body = ObjectSerializer.deserialize(body, "
|
|
193
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2005");
|
|
194
194
|
resolve({ response: response, body: body });
|
|
195
195
|
} else {
|
|
196
196
|
reject(new HttpError(response, body, response.statusCode));
|
package/api/utilitiesApi.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.511
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,8 +17,8 @@ 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 { InlineResponse2006 } from '../model/inlineResponse2006';
|
|
21
20
|
import { InternalServerError } from '../model/internalServerError';
|
|
21
|
+
import { PaymentPrefixes } from '../model/paymentPrefixes';
|
|
22
22
|
|
|
23
23
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
24
24
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -96,7 +96,7 @@ export class UtilitiesApi {
|
|
|
96
96
|
*
|
|
97
97
|
* @summary Get payment prefixes
|
|
98
98
|
*/
|
|
99
|
-
public async getPaymentPrefixes (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
99
|
+
public async getPaymentPrefixes (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PaymentPrefixes; }> {
|
|
100
100
|
const localVarPath = this.basePath + '/v2/payment/prefixes';
|
|
101
101
|
let localVarQueryParameters: any = {};
|
|
102
102
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -138,13 +138,13 @@ export class UtilitiesApi {
|
|
|
138
138
|
localVarRequestOptions.form = localVarFormParams;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
141
|
+
return new Promise<{ response: http.IncomingMessage; body: PaymentPrefixes; }>((resolve, reject) => {
|
|
142
142
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
143
143
|
if (error) {
|
|
144
144
|
reject(error);
|
|
145
145
|
} else {
|
|
146
146
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
147
|
-
body = ObjectSerializer.deserialize(body, "
|
|
147
|
+
body = ObjectSerializer.deserialize(body, "PaymentPrefixes");
|
|
148
148
|
resolve({ response: response, body: body });
|
|
149
149
|
} else {
|
|
150
150
|
reject(new HttpError(response, body, response.statusCode));
|
package/api/webTerminalApi.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import http from 'http';
|
|
3
|
+
import { WTWalletObjectPrefixCounts } from '../model/wTWalletObjectPrefixCounts';
|
|
3
4
|
import { WTWalletPageView } from '../model/wTWalletPageView';
|
|
4
5
|
import { Authentication, Interceptor } from '../model/models';
|
|
5
6
|
import { ApiKeyAuth } from '../model/models';
|
|
@@ -24,6 +25,14 @@ export declare class AnalyticsApi {
|
|
|
24
25
|
setDefaultAuthentication(auth: Authentication): void;
|
|
25
26
|
setApiKey(key: AnalyticsApiApiKeys, value: string): void;
|
|
26
27
|
addInterceptor(interceptor: Interceptor): void;
|
|
28
|
+
countWalletPageViews(startDate: Date, endDate: Date, options?: {
|
|
29
|
+
headers: {
|
|
30
|
+
[name: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}): Promise<{
|
|
33
|
+
response: http.IncomingMessage;
|
|
34
|
+
body: Array<WTWalletObjectPrefixCounts>;
|
|
35
|
+
}>;
|
|
27
36
|
fetchAnalyticsAdCreditsCountPartitionedByEmployee(startDate: Date, endDate: Date, options?: {
|
|
28
37
|
headers: {
|
|
29
38
|
[name: string]: string;
|