wallet 1.1.4 → 2.1.503
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 +18 -3
- package/README.md +265 -39
- package/api/advertisementCreditsApi.ts +15 -15
- package/api/analyticsApi.ts +66 -66
- package/api/apis.ts +3 -1
- package/api/appleWalletSubscribersApi.ts +3 -3
- package/api/billingApi.ts +10 -10
- package/api/clubMembersPointsApi.ts +24 -25
- package/api/configurationApi.ts +10 -10
- package/api/countriesApi.ts +5 -5
- package/api/customerApi.ts +10 -10
- package/api/dashboardApi.ts +19 -19
- package/api/dynamicVouchersApi.ts +8 -8
- package/api/employeeAPIKeysApi.ts +448 -0
- package/api/employeeAccessApi.ts +8 -8
- package/api/employeesApi.ts +43 -42
- package/api/industriesApi.ts +1 -1
- package/api/infoGenesisReportsApi.ts +28 -28
- package/api/integratedTerminalsApi.ts +6 -6
- package/api/interactionsApi.ts +157 -18
- package/api/linkBookApi.ts +6 -6
- package/api/linkBookSectionApi.ts +6 -6
- package/api/loginAndLogoutApi.ts +11 -11
- package/api/membershipTiersApi.ts +23 -24
- package/api/merchantApi.ts +344 -22
- package/api/merchantCreditsApi.ts +24 -25
- package/api/merchantURLsApi.ts +8 -8
- package/api/mobileTerminalApi.ts +6 -19
- package/api/newsApi.ts +6 -6
- package/api/paymentDesignsApi.ts +7 -7
- package/api/performancesApi.ts +6 -6
- package/api/promoCodesApi.ts +6 -6
- package/api/sMSApi.ts +948 -123
- package/api/settingsApi.ts +3 -3
- package/api/staticVoucherCampaignGroupsApi.ts +2 -2
- package/api/staticVoucherCampaignsApi.ts +20 -20
- package/api/staticVouchersApi.ts +7 -7
- package/api/systemApi.ts +21 -21
- package/api/transactionLedgerApi.ts +2 -2
- package/api/utilitiesApi.ts +2 -2
- package/api/webTerminalApi.ts +4 -4
- package/dist/api/advertisementCreditsApi.d.ts +86 -0
- package/dist/api/advertisementCreditsApi.js +502 -0
- package/dist/api/advertisementCreditsApi.js.map +1 -0
- package/dist/api/analyticsApi.d.ts +547 -0
- package/dist/api/analyticsApi.js +4873 -0
- package/dist/api/analyticsApi.js.map +1 -0
- package/dist/api/apis.d.ts +86 -0
- package/dist/api/apis.js +101 -0
- package/dist/api/apis.js.map +1 -0
- package/dist/api/appleWalletSubscribersApi.d.ts +42 -0
- package/dist/api/appleWalletSubscribersApi.js +196 -0
- package/dist/api/appleWalletSubscribersApi.js.map +1 -0
- package/dist/api/billingApi.d.ts +102 -0
- package/dist/api/billingApi.js +599 -0
- package/dist/api/billingApi.js.map +1 -0
- package/dist/api/clubMembersPointsApi.d.ts +116 -0
- package/dist/api/clubMembersPointsApi.js +682 -0
- package/dist/api/clubMembersPointsApi.js.map +1 -0
- package/dist/api/configurationApi.d.ts +43 -0
- package/dist/api/configurationApi.js +190 -0
- package/dist/api/configurationApi.js.map +1 -0
- package/dist/api/countriesApi.d.ts +35 -0
- package/dist/api/countriesApi.js +129 -0
- package/dist/api/countriesApi.js.map +1 -0
- package/dist/api/customerApi.d.ts +102 -0
- package/dist/api/customerApi.js +633 -0
- package/dist/api/customerApi.js.map +1 -0
- package/dist/api/dashboardApi.d.ts +173 -0
- package/dist/api/dashboardApi.js +1302 -0
- package/dist/api/dashboardApi.js.map +1 -0
- package/dist/api/dynamicVouchersApi.d.ts +87 -0
- package/dist/api/dynamicVouchersApi.js +510 -0
- package/dist/api/dynamicVouchersApi.js.map +1 -0
- package/dist/api/employeeAPIKeysApi.d.ts +70 -0
- package/dist/api/employeeAPIKeysApi.js +380 -0
- package/dist/api/employeeAPIKeysApi.js.map +1 -0
- package/dist/api/employeeAccessApi.d.ts +36 -0
- package/dist/api/employeeAccessApi.js +133 -0
- package/dist/api/employeeAccessApi.js.map +1 -0
- package/dist/api/employeesApi.d.ts +391 -0
- package/dist/api/employeesApi.js +2558 -0
- package/dist/api/employeesApi.js.map +1 -0
- package/dist/api/industriesApi.d.ts +35 -0
- package/dist/api/industriesApi.js +129 -0
- package/dist/api/industriesApi.js.map +1 -0
- package/dist/api/infoGenesisReportsApi.d.ts +269 -0
- package/dist/api/infoGenesisReportsApi.js +1743 -0
- package/dist/api/infoGenesisReportsApi.js.map +1 -0
- package/dist/api/integratedTerminalsApi.d.ts +69 -0
- package/dist/api/integratedTerminalsApi.js +380 -0
- package/dist/api/integratedTerminalsApi.js.map +1 -0
- package/dist/api/interactionsApi.d.ts +114 -0
- package/dist/api/interactionsApi.js +698 -0
- package/dist/api/interactionsApi.js.map +1 -0
- package/dist/api/linkBookApi.d.ts +69 -0
- package/dist/api/linkBookApi.js +380 -0
- package/dist/api/linkBookApi.js.map +1 -0
- package/dist/api/linkBookSectionApi.d.ts +69 -0
- package/dist/api/linkBookSectionApi.js +380 -0
- package/dist/api/linkBookSectionApi.js.map +1 -0
- package/dist/api/loginAndLogoutApi.d.ts +52 -0
- package/dist/api/loginAndLogoutApi.js +251 -0
- package/dist/api/loginAndLogoutApi.js.map +1 -0
- package/dist/api/membershipTiersApi.d.ts +105 -0
- package/dist/api/membershipTiersApi.js +623 -0
- package/dist/api/membershipTiersApi.js.map +1 -0
- package/dist/api/merchantApi.d.ts +235 -0
- package/dist/api/merchantApi.js +1616 -0
- package/dist/api/merchantApi.js.map +1 -0
- package/dist/api/merchantCreditsApi.d.ts +116 -0
- package/dist/api/merchantCreditsApi.js +682 -0
- package/dist/api/merchantCreditsApi.js.map +1 -0
- package/dist/api/merchantURLsApi.d.ts +86 -0
- package/dist/api/merchantURLsApi.js +502 -0
- package/dist/api/merchantURLsApi.js.map +1 -0
- package/dist/api/mobileTerminalApi.d.ts +52 -0
- package/dist/api/mobileTerminalApi.js +259 -0
- package/dist/api/mobileTerminalApi.js.map +1 -0
- package/dist/api/newsApi.d.ts +69 -0
- package/dist/api/newsApi.js +380 -0
- package/dist/api/newsApi.js.map +1 -0
- package/dist/api/paymentDesignsApi.d.ts +77 -0
- package/dist/api/paymentDesignsApi.js +441 -0
- package/dist/api/paymentDesignsApi.js.map +1 -0
- package/dist/api/performancesApi.d.ts +69 -0
- package/dist/api/performancesApi.js +380 -0
- package/dist/api/performancesApi.js.map +1 -0
- package/dist/api/promoCodesApi.d.ts +69 -0
- package/dist/api/promoCodesApi.js +380 -0
- package/dist/api/promoCodesApi.js.map +1 -0
- package/dist/api/sMSApi.d.ts +340 -0
- package/dist/api/sMSApi.js +2399 -0
- package/dist/api/sMSApi.js.map +1 -0
- package/dist/api/settingsApi.d.ts +44 -0
- package/dist/api/settingsApi.js +186 -0
- package/dist/api/settingsApi.js.map +1 -0
- package/dist/api/staticVoucherCampaignGroupsApi.d.ts +34 -0
- package/dist/api/staticVoucherCampaignGroupsApi.js +133 -0
- package/dist/api/staticVoucherCampaignGroupsApi.js.map +1 -0
- package/dist/api/staticVoucherCampaignsApi.d.ts +193 -0
- package/dist/api/staticVoucherCampaignsApi.js +1269 -0
- package/dist/api/staticVoucherCampaignsApi.js.map +1 -0
- package/dist/api/staticVouchersApi.d.ts +78 -0
- package/dist/api/staticVouchersApi.js +450 -0
- package/dist/api/staticVouchersApi.js.map +1 -0
- package/dist/api/systemApi.d.ts +89 -0
- package/dist/api/systemApi.js +511 -0
- package/dist/api/systemApi.js.map +1 -0
- package/dist/api/transactionLedgerApi.d.ts +36 -0
- package/dist/api/transactionLedgerApi.js +156 -0
- package/dist/api/transactionLedgerApi.js.map +1 -0
- package/dist/api/utilitiesApi.d.ts +35 -0
- package/dist/api/utilitiesApi.js +129 -0
- package/dist/api/utilitiesApi.js.map +1 -0
- package/dist/api/webTerminalApi.d.ts +51 -0
- package/dist/api/webTerminalApi.js +259 -0
- package/dist/api/webTerminalApi.js.map +1 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +15 -0
- package/dist/api.js.map +1 -0
- package/dist/examples/advertisementcredits.example.d.ts +1 -0
- package/dist/examples/advertisementcredits.example.js +77 -0
- package/dist/examples/advertisementcredits.example.js.map +1 -0
- package/dist/examples/clubmembers.example.d.ts +1 -0
- package/dist/examples/clubmembers.example.js +71 -0
- package/dist/examples/clubmembers.example.js.map +1 -0
- package/dist/examples/constants.d.ts +6 -0
- package/dist/examples/constants.js +10 -0
- package/dist/examples/constants.js.map +1 -0
- package/dist/examples/linkbook.example.d.ts +1 -0
- package/dist/examples/linkbook.example.js +70 -0
- package/dist/examples/linkbook.example.js.map +1 -0
- package/dist/examples/membershiptiers.example.d.ts +1 -0
- package/dist/examples/membershiptiers.example.js +70 -0
- package/dist/examples/membershiptiers.example.js.map +1 -0
- package/dist/examples/merchantcredits.example.d.ts +1 -0
- package/dist/examples/merchantcredits.example.js +68 -0
- package/dist/examples/merchantcredits.example.js.map +1 -0
- package/dist/examples/merchanturls.example.d.ts +1 -0
- package/dist/examples/merchanturls.example.js +67 -0
- package/dist/examples/merchanturls.example.js.map +1 -0
- package/dist/examples/news.example.d.ts +1 -0
- package/dist/examples/news.example.js +70 -0
- package/dist/examples/news.example.js.map +1 -0
- package/dist/examples/paymentdesigns.example.d.ts +1 -0
- package/dist/examples/paymentdesigns.example.js +76 -0
- package/dist/examples/paymentdesigns.example.js.map +1 -0
- package/dist/examples/performances.example.d.ts +1 -0
- package/dist/examples/performances.example.js +72 -0
- package/dist/examples/performances.example.js.map +1 -0
- package/dist/examples/promocodes.example.d.ts +1 -0
- package/dist/examples/promocodes.example.js +72 -0
- package/dist/examples/promocodes.example.js.map +1 -0
- package/dist/model/advertisementCredit.d.ts +26 -0
- package/dist/model/advertisementCredit.js +78 -0
- package/dist/model/advertisementCredit.js.map +1 -0
- package/dist/model/advertisementCreditBroadcast.d.ts +37 -0
- package/dist/model/advertisementCreditBroadcast.js +118 -0
- package/dist/model/advertisementCreditBroadcast.js.map +1 -0
- package/dist/model/advertisementCreditScan.d.ts +37 -0
- package/dist/model/advertisementCreditScan.js +128 -0
- package/dist/model/advertisementCreditScan.js.map +1 -0
- package/dist/model/agreement.d.ts +31 -0
- package/dist/model/agreement.js +103 -0
- package/dist/model/agreement.js.map +1 -0
- package/dist/model/alert.d.ts +22 -0
- package/dist/model/alert.js +58 -0
- package/dist/model/alert.js.map +1 -0
- package/dist/model/announcement.d.ts +20 -0
- package/dist/model/announcement.js +48 -0
- package/dist/model/announcement.js.map +1 -0
- package/dist/model/applicableTerminals.d.ts +13 -0
- package/dist/model/applicableTerminals.js +12 -0
- package/dist/model/applicableTerminals.js.map +1 -0
- package/dist/model/applicableTerminalsAnyOf.d.ts +3 -0
- package/dist/model/applicableTerminalsAnyOf.js +8 -0
- package/dist/model/applicableTerminalsAnyOf.js.map +1 -0
- package/dist/model/applicableTerminalsAnyOf1.d.ts +3 -0
- package/dist/model/applicableTerminalsAnyOf1.js +8 -0
- package/dist/model/applicableTerminalsAnyOf1.js.map +1 -0
- package/dist/model/applicableTerminalsAnyOf2.d.ts +3 -0
- package/dist/model/applicableTerminalsAnyOf2.js +8 -0
- package/dist/model/applicableTerminalsAnyOf2.js.map +1 -0
- package/dist/model/applicableTerminalsAnyOf3.d.ts +3 -0
- package/dist/model/applicableTerminalsAnyOf3.js +8 -0
- package/dist/model/applicableTerminalsAnyOf3.js.map +1 -0
- package/dist/model/authError.d.ts +18 -0
- package/dist/model/authError.js +38 -0
- package/dist/model/authError.js.map +1 -0
- package/dist/model/availablePhoneNumbersRequest.d.ts +15 -0
- package/dist/model/availablePhoneNumbersRequest.js +23 -0
- package/dist/model/availablePhoneNumbersRequest.js.map +1 -0
- package/dist/model/clickFunnelAmount.d.ts +15 -0
- package/dist/model/clickFunnelAmount.js +23 -0
- package/dist/model/clickFunnelAmount.js.map +1 -0
- package/dist/model/clickFunnelContact.d.ts +51 -0
- package/dist/model/clickFunnelContact.js +198 -0
- package/dist/model/clickFunnelContact.js.map +1 -0
- package/dist/model/clickFunnelContactProfile.d.ts +48 -0
- package/dist/model/clickFunnelContactProfile.js +188 -0
- package/dist/model/clickFunnelContactProfile.js.map +1 -0
- package/dist/model/clickFunnelEvent.d.ts +16 -0
- package/dist/model/clickFunnelEvent.js +23 -0
- package/dist/model/clickFunnelEvent.js.map +1 -0
- package/dist/model/clickFunnelOriginalAmount.d.ts +15 -0
- package/dist/model/clickFunnelOriginalAmount.js +23 -0
- package/dist/model/clickFunnelOriginalAmount.js.map +1 -0
- package/dist/model/clickFunnelProduct.d.ts +42 -0
- package/dist/model/clickFunnelProduct.js +153 -0
- package/dist/model/clickFunnelProduct.js.map +1 -0
- package/dist/model/clickFunnelPurchase.d.ts +41 -0
- package/dist/model/clickFunnelPurchase.js +138 -0
- package/dist/model/clickFunnelPurchase.js.map +1 -0
- package/dist/model/createStaticVoucherCampaign.d.ts +27 -0
- package/dist/model/createStaticVoucherCampaign.js +83 -0
- package/dist/model/createStaticVoucherCampaign.js.map +1 -0
- package/dist/model/createStaticVoucherCampaignWithVoucher.d.ts +27 -0
- package/dist/model/createStaticVoucherCampaignWithVoucher.js +83 -0
- package/dist/model/createStaticVoucherCampaignWithVoucher.js.map +1 -0
- package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.d.ts +27 -0
- package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js +83 -0
- package/dist/model/createStaticVoucherCampaignWithVoucherWithCSV.js.map +1 -0
- package/dist/model/dashboardWidget.d.ts +28 -0
- package/dist/model/dashboardWidget.js +88 -0
- package/dist/model/dashboardWidget.js.map +1 -0
- package/dist/model/duplicateRowFound.d.ts +18 -0
- package/dist/model/duplicateRowFound.js +38 -0
- package/dist/model/duplicateRowFound.js.map +1 -0
- package/dist/model/dynamicVoucher.d.ts +47 -0
- package/dist/model/dynamicVoucher.js +178 -0
- package/dist/model/dynamicVoucher.js.map +1 -0
- package/dist/model/dynamicVoucherBroadcast.d.ts +37 -0
- package/dist/model/dynamicVoucherBroadcast.js +118 -0
- package/dist/model/dynamicVoucherBroadcast.js.map +1 -0
- package/dist/model/employee.d.ts +27 -0
- package/dist/model/employee.js +83 -0
- package/dist/model/employee.js.map +1 -0
- package/dist/model/employeeAPIKey.d.ts +22 -0
- package/dist/model/employeeAPIKey.js +58 -0
- package/dist/model/employeeAPIKey.js.map +1 -0
- package/dist/model/employeeActivityLog.d.ts +20 -0
- package/dist/model/employeeActivityLog.js +48 -0
- package/dist/model/employeeActivityLog.js.map +1 -0
- package/dist/model/employeeAlert.d.ts +22 -0
- package/dist/model/employeeAlert.js +58 -0
- package/dist/model/employeeAlert.js.map +1 -0
- package/dist/model/entityTooLarge.d.ts +18 -0
- package/dist/model/entityTooLarge.js +38 -0
- package/dist/model/entityTooLarge.js.map +1 -0
- package/dist/model/exportDataFile.d.ts +23 -0
- package/dist/model/exportDataFile.js +63 -0
- package/dist/model/exportDataFile.js.map +1 -0
- package/dist/model/falsumError.d.ts +16 -0
- package/dist/model/falsumError.js +23 -0
- package/dist/model/falsumError.js.map +1 -0
- package/dist/model/falsumField.d.ts +16 -0
- package/dist/model/falsumField.js +28 -0
- package/dist/model/falsumField.js.map +1 -0
- package/dist/model/feature.d.ts +22 -0
- package/dist/model/feature.js +58 -0
- package/dist/model/feature.js.map +1 -0
- package/dist/model/forbiddenRequest.d.ts +18 -0
- package/dist/model/forbiddenRequest.js +38 -0
- package/dist/model/forbiddenRequest.js.map +1 -0
- package/dist/model/foreignKeyDoesNotExist.d.ts +18 -0
- package/dist/model/foreignKeyDoesNotExist.js +38 -0
- package/dist/model/foreignKeyDoesNotExist.js.map +1 -0
- package/dist/model/helpDeskRequest.d.ts +23 -0
- package/dist/model/helpDeskRequest.js +63 -0
- package/dist/model/helpDeskRequest.js.map +1 -0
- package/dist/model/importedList.d.ts +21 -0
- package/dist/model/importedList.js +53 -0
- package/dist/model/importedList.js.map +1 -0
- package/dist/model/importedListRecipient.d.ts +21 -0
- package/dist/model/importedListRecipient.js +53 -0
- package/dist/model/importedListRecipient.js.map +1 -0
- package/dist/model/inboundSMS.d.ts +47 -0
- package/dist/model/inboundSMS.js +183 -0
- package/dist/model/inboundSMS.js.map +1 -0
- package/dist/model/inlineObject.d.ts +14 -0
- package/dist/model/inlineObject.js +18 -0
- package/dist/model/inlineObject.js.map +1 -0
- package/dist/model/inlineObject1.d.ts +14 -0
- package/dist/model/inlineObject1.js +18 -0
- package/dist/model/inlineObject1.js.map +1 -0
- package/dist/model/inlineObject10.d.ts +15 -0
- package/dist/model/inlineObject10.js +23 -0
- package/dist/model/inlineObject10.js.map +1 -0
- package/dist/model/inlineObject11.d.ts +15 -0
- package/dist/model/inlineObject11.js +23 -0
- package/dist/model/inlineObject11.js.map +1 -0
- package/dist/model/inlineObject12.d.ts +15 -0
- package/dist/model/inlineObject12.js +23 -0
- package/dist/model/inlineObject12.js.map +1 -0
- package/dist/model/inlineObject13.d.ts +15 -0
- package/dist/model/inlineObject13.js +23 -0
- package/dist/model/inlineObject13.js.map +1 -0
- package/dist/model/inlineObject14.d.ts +15 -0
- package/dist/model/inlineObject14.js +23 -0
- package/dist/model/inlineObject14.js.map +1 -0
- package/dist/model/inlineObject15.d.ts +20 -0
- package/dist/model/inlineObject15.js +48 -0
- package/dist/model/inlineObject15.js.map +1 -0
- package/dist/model/inlineObject16.d.ts +19 -0
- package/dist/model/inlineObject16.js +43 -0
- package/dist/model/inlineObject16.js.map +1 -0
- package/dist/model/inlineObject17.d.ts +18 -0
- package/dist/model/inlineObject17.js +38 -0
- package/dist/model/inlineObject17.js.map +1 -0
- package/dist/model/inlineObject18.d.ts +19 -0
- package/dist/model/inlineObject18.js +43 -0
- package/dist/model/inlineObject18.js.map +1 -0
- package/dist/model/inlineObject19.d.ts +18 -0
- package/dist/model/inlineObject19.js +38 -0
- package/dist/model/inlineObject19.js.map +1 -0
- package/dist/model/inlineObject2.d.ts +14 -0
- package/dist/model/inlineObject2.js +18 -0
- package/dist/model/inlineObject2.js.map +1 -0
- package/dist/model/inlineObject20.d.ts +19 -0
- package/dist/model/inlineObject20.js +43 -0
- package/dist/model/inlineObject20.js.map +1 -0
- package/dist/model/inlineObject21.d.ts +21 -0
- package/dist/model/inlineObject21.js +53 -0
- package/dist/model/inlineObject21.js.map +1 -0
- package/dist/model/inlineObject22.d.ts +14 -0
- package/dist/model/inlineObject22.js +18 -0
- package/dist/model/inlineObject22.js.map +1 -0
- package/dist/model/inlineObject23.d.ts +14 -0
- package/dist/model/inlineObject23.js +18 -0
- package/dist/model/inlineObject23.js.map +1 -0
- package/dist/model/inlineObject24.d.ts +16 -0
- package/dist/model/inlineObject24.js +28 -0
- package/dist/model/inlineObject24.js.map +1 -0
- package/dist/model/inlineObject25.d.ts +18 -0
- package/dist/model/inlineObject25.js +38 -0
- package/dist/model/inlineObject25.js.map +1 -0
- package/dist/model/inlineObject26.d.ts +14 -0
- package/dist/model/inlineObject26.js +18 -0
- package/dist/model/inlineObject26.js.map +1 -0
- package/dist/model/inlineObject27.d.ts +14 -0
- package/dist/model/inlineObject27.js +18 -0
- package/dist/model/inlineObject27.js.map +1 -0
- package/dist/model/inlineObject28.d.ts +16 -0
- package/dist/model/inlineObject28.js +28 -0
- package/dist/model/inlineObject28.js.map +1 -0
- package/dist/model/inlineObject29.d.ts +17 -0
- package/dist/model/inlineObject29.js +33 -0
- package/dist/model/inlineObject29.js.map +1 -0
- package/dist/model/inlineObject3.d.ts +14 -0
- package/dist/model/inlineObject3.js +18 -0
- package/dist/model/inlineObject3.js.map +1 -0
- package/dist/model/inlineObject30.d.ts +16 -0
- package/dist/model/inlineObject30.js +28 -0
- package/dist/model/inlineObject30.js.map +1 -0
- package/dist/model/inlineObject31.d.ts +14 -0
- package/dist/model/inlineObject31.js +18 -0
- package/dist/model/inlineObject31.js.map +1 -0
- package/dist/model/inlineObject32.d.ts +14 -0
- package/dist/model/inlineObject32.js +18 -0
- package/dist/model/inlineObject32.js.map +1 -0
- package/dist/model/inlineObject33.d.ts +14 -0
- package/dist/model/inlineObject33.js +18 -0
- package/dist/model/inlineObject33.js.map +1 -0
- package/dist/model/inlineObject34.d.ts +16 -0
- package/dist/model/inlineObject34.js +28 -0
- package/dist/model/inlineObject34.js.map +1 -0
- package/dist/model/inlineObject35.d.ts +16 -0
- package/dist/model/inlineObject35.js +28 -0
- package/dist/model/inlineObject35.js.map +1 -0
- package/dist/model/inlineObject36.d.ts +16 -0
- package/dist/model/inlineObject36.js +28 -0
- package/dist/model/inlineObject36.js.map +1 -0
- package/dist/model/inlineObject37.d.ts +16 -0
- package/dist/model/inlineObject37.js +28 -0
- package/dist/model/inlineObject37.js.map +1 -0
- package/dist/model/inlineObject38.d.ts +16 -0
- package/dist/model/inlineObject38.js +28 -0
- package/dist/model/inlineObject38.js.map +1 -0
- package/dist/model/inlineObject39.d.ts +16 -0
- package/dist/model/inlineObject39.js +28 -0
- package/dist/model/inlineObject39.js.map +1 -0
- package/dist/model/inlineObject4.d.ts +15 -0
- package/dist/model/inlineObject4.js +23 -0
- package/dist/model/inlineObject4.js.map +1 -0
- package/dist/model/inlineObject40.d.ts +16 -0
- package/dist/model/inlineObject40.js +28 -0
- package/dist/model/inlineObject40.js.map +1 -0
- package/dist/model/inlineObject41.d.ts +16 -0
- package/dist/model/inlineObject41.js +28 -0
- package/dist/model/inlineObject41.js.map +1 -0
- package/dist/model/inlineObject42.d.ts +16 -0
- package/dist/model/inlineObject42.js +28 -0
- package/dist/model/inlineObject42.js.map +1 -0
- package/dist/model/inlineObject43.d.ts +16 -0
- package/dist/model/inlineObject43.js +28 -0
- package/dist/model/inlineObject43.js.map +1 -0
- package/dist/model/inlineObject44.d.ts +16 -0
- package/dist/model/inlineObject44.js +28 -0
- package/dist/model/inlineObject44.js.map +1 -0
- package/dist/model/inlineObject45.d.ts +16 -0
- package/dist/model/inlineObject45.js +28 -0
- package/dist/model/inlineObject45.js.map +1 -0
- package/dist/model/inlineObject46.d.ts +16 -0
- package/dist/model/inlineObject46.js +28 -0
- package/dist/model/inlineObject46.js.map +1 -0
- package/dist/model/inlineObject47.d.ts +16 -0
- package/dist/model/inlineObject47.js +28 -0
- package/dist/model/inlineObject47.js.map +1 -0
- package/dist/model/inlineObject48.d.ts +16 -0
- package/dist/model/inlineObject48.js +28 -0
- package/dist/model/inlineObject48.js.map +1 -0
- package/dist/model/inlineObject49.d.ts +16 -0
- package/dist/model/inlineObject49.js +28 -0
- package/dist/model/inlineObject49.js.map +1 -0
- package/dist/model/inlineObject5.d.ts +14 -0
- package/dist/model/inlineObject5.js +18 -0
- package/dist/model/inlineObject5.js.map +1 -0
- package/dist/model/inlineObject50.d.ts +16 -0
- package/dist/model/inlineObject50.js +28 -0
- package/dist/model/inlineObject50.js.map +1 -0
- package/dist/model/inlineObject51.d.ts +25 -0
- package/dist/model/inlineObject51.js +73 -0
- package/dist/model/inlineObject51.js.map +1 -0
- package/dist/model/inlineObject52.d.ts +14 -0
- package/dist/model/inlineObject52.js +18 -0
- package/dist/model/inlineObject52.js.map +1 -0
- package/dist/model/inlineObject53.d.ts +25 -0
- package/dist/model/inlineObject53.js +73 -0
- package/dist/model/inlineObject53.js.map +1 -0
- package/dist/model/inlineObject54.d.ts +25 -0
- package/dist/model/inlineObject54.js +73 -0
- package/dist/model/inlineObject54.js.map +1 -0
- package/dist/model/inlineObject55.d.ts +24 -0
- package/dist/model/inlineObject55.js +68 -0
- package/dist/model/inlineObject55.js.map +1 -0
- package/dist/model/inlineObject56.d.ts +15 -0
- package/dist/model/inlineObject56.js +23 -0
- package/dist/model/inlineObject56.js.map +1 -0
- package/dist/model/inlineObject57.d.ts +15 -0
- package/dist/model/inlineObject57.js +23 -0
- package/dist/model/inlineObject57.js.map +1 -0
- package/dist/model/inlineObject58.d.ts +16 -0
- package/dist/model/inlineObject58.js +28 -0
- package/dist/model/inlineObject58.js.map +1 -0
- package/dist/model/inlineObject59.d.ts +16 -0
- package/dist/model/inlineObject59.js +28 -0
- package/dist/model/inlineObject59.js.map +1 -0
- package/dist/model/inlineObject6.d.ts +14 -0
- package/dist/model/inlineObject6.js +18 -0
- package/dist/model/inlineObject6.js.map +1 -0
- package/dist/model/inlineObject60.d.ts +16 -0
- package/dist/model/inlineObject60.js +28 -0
- package/dist/model/inlineObject60.js.map +1 -0
- package/dist/model/inlineObject61.d.ts +15 -0
- package/dist/model/inlineObject61.js +23 -0
- package/dist/model/inlineObject61.js.map +1 -0
- package/dist/model/inlineObject62.d.ts +15 -0
- package/dist/model/inlineObject62.js +23 -0
- package/dist/model/inlineObject62.js.map +1 -0
- package/dist/model/inlineObject63.d.ts +15 -0
- package/dist/model/inlineObject63.js +23 -0
- package/dist/model/inlineObject63.js.map +1 -0
- package/dist/model/inlineObject64.d.ts +45 -0
- package/dist/model/inlineObject64.js +173 -0
- package/dist/model/inlineObject64.js.map +1 -0
- package/dist/model/inlineObject65.d.ts +17 -0
- package/dist/model/inlineObject65.js +33 -0
- package/dist/model/inlineObject65.js.map +1 -0
- package/dist/model/inlineObject66.d.ts +17 -0
- package/dist/model/inlineObject66.js +33 -0
- package/dist/model/inlineObject66.js.map +1 -0
- package/dist/model/inlineObject67.d.ts +15 -0
- package/dist/model/inlineObject67.js +23 -0
- package/dist/model/inlineObject67.js.map +1 -0
- package/dist/model/inlineObject68.d.ts +29 -0
- package/dist/model/inlineObject68.js +93 -0
- package/dist/model/inlineObject68.js.map +1 -0
- package/dist/model/inlineObject69.d.ts +29 -0
- package/dist/model/inlineObject69.js +93 -0
- package/dist/model/inlineObject69.js.map +1 -0
- package/dist/model/inlineObject7.d.ts +14 -0
- package/dist/model/inlineObject7.js +18 -0
- package/dist/model/inlineObject7.js.map +1 -0
- package/dist/model/inlineObject8.d.ts +16 -0
- package/dist/model/inlineObject8.js +28 -0
- package/dist/model/inlineObject8.js.map +1 -0
- package/dist/model/inlineObject9.d.ts +15 -0
- package/dist/model/inlineObject9.js +23 -0
- package/dist/model/inlineObject9.js.map +1 -0
- package/dist/model/inlineResponse200.d.ts +15 -0
- package/dist/model/inlineResponse200.js +23 -0
- package/dist/model/inlineResponse200.js.map +1 -0
- package/dist/model/inlineResponse2001.d.ts +19 -0
- package/dist/model/inlineResponse2001.js +38 -0
- package/dist/model/inlineResponse2001.js.map +1 -0
- package/dist/model/inlineResponse20010.d.ts +17 -0
- package/dist/model/inlineResponse20010.js +28 -0
- package/dist/model/inlineResponse20010.js.map +1 -0
- package/dist/model/inlineResponse20011.d.ts +15 -0
- package/dist/model/inlineResponse20011.js +23 -0
- package/dist/model/inlineResponse20011.js.map +1 -0
- package/dist/model/inlineResponse20012.d.ts +26 -0
- package/dist/model/inlineResponse20012.js +73 -0
- package/dist/model/inlineResponse20012.js.map +1 -0
- package/dist/model/inlineResponse20013.d.ts +27 -0
- package/dist/model/inlineResponse20013.js +83 -0
- package/dist/model/inlineResponse20013.js.map +1 -0
- package/dist/model/inlineResponse20014.d.ts +16 -0
- package/dist/model/inlineResponse20014.js +28 -0
- package/dist/model/inlineResponse20014.js.map +1 -0
- package/dist/model/inlineResponse2002.d.ts +14 -0
- package/dist/model/inlineResponse2002.js +18 -0
- package/dist/model/inlineResponse2002.js.map +1 -0
- package/dist/model/inlineResponse2003.d.ts +14 -0
- package/dist/model/inlineResponse2003.js +18 -0
- package/dist/model/inlineResponse2003.js.map +1 -0
- package/dist/model/inlineResponse2004.d.ts +16 -0
- package/dist/model/inlineResponse2004.js +28 -0
- package/dist/model/inlineResponse2004.js.map +1 -0
- package/dist/model/inlineResponse2005.d.ts +16 -0
- package/dist/model/inlineResponse2005.js +23 -0
- package/dist/model/inlineResponse2005.js.map +1 -0
- package/dist/model/inlineResponse2006.d.ts +25 -0
- package/dist/model/inlineResponse2006.js +73 -0
- package/dist/model/inlineResponse2006.js.map +1 -0
- package/dist/model/inlineResponse2007.d.ts +17 -0
- package/dist/model/inlineResponse2007.js +28 -0
- package/dist/model/inlineResponse2007.js.map +1 -0
- package/dist/model/inlineResponse2008.d.ts +14 -0
- package/dist/model/inlineResponse2008.js +18 -0
- package/dist/model/inlineResponse2008.js.map +1 -0
- package/dist/model/inlineResponse2009.d.ts +17 -0
- package/dist/model/inlineResponse2009.js +28 -0
- package/dist/model/inlineResponse2009.js.map +1 -0
- package/dist/model/internalServerError.d.ts +18 -0
- package/dist/model/internalServerError.js +38 -0
- package/dist/model/internalServerError.js.map +1 -0
- package/dist/model/ledgerEntry.d.ts +39 -0
- package/dist/model/ledgerEntry.js +138 -0
- package/dist/model/ledgerEntry.js.map +1 -0
- package/dist/model/linkBook.d.ts +23 -0
- package/dist/model/linkBook.js +63 -0
- package/dist/model/linkBook.js.map +1 -0
- package/dist/model/linkBookSection.d.ts +19 -0
- package/dist/model/linkBookSection.js +43 -0
- package/dist/model/linkBookSection.js.map +1 -0
- package/dist/model/mSMemberHistory.d.ts +24 -0
- package/dist/model/mSMemberHistory.js +68 -0
- package/dist/model/mSMemberHistory.js.map +1 -0
- package/dist/model/mSMemberHistoryPagination.d.ts +17 -0
- package/dist/model/mSMemberHistoryPagination.js +28 -0
- package/dist/model/mSMemberHistoryPagination.js.map +1 -0
- package/dist/model/mSMemberRedemption.d.ts +23 -0
- package/dist/model/mSMemberRedemption.js +63 -0
- package/dist/model/mSMemberRedemption.js.map +1 -0
- package/dist/model/mSMemberRedemptionPagination.d.ts +17 -0
- package/dist/model/mSMemberRedemptionPagination.js +28 -0
- package/dist/model/mSMemberRedemptionPagination.js.map +1 -0
- package/dist/model/mSMembershipTierHistory.d.ts +23 -0
- package/dist/model/mSMembershipTierHistory.js +63 -0
- package/dist/model/mSMembershipTierHistory.js.map +1 -0
- package/dist/model/mSMembershipTierHistoryPagination.d.ts +17 -0
- package/dist/model/mSMembershipTierHistoryPagination.js +28 -0
- package/dist/model/mSMembershipTierHistoryPagination.js.map +1 -0
- package/dist/model/mSMembershipTierRedemption.d.ts +24 -0
- package/dist/model/mSMembershipTierRedemption.js +68 -0
- package/dist/model/mSMembershipTierRedemption.js.map +1 -0
- package/dist/model/mSMembershipTierRedemptionPagination.d.ts +17 -0
- package/dist/model/mSMembershipTierRedemptionPagination.js +28 -0
- package/dist/model/mSMembershipTierRedemptionPagination.js.map +1 -0
- package/dist/model/mSMerchantCreditHistory.d.ts +21 -0
- package/dist/model/mSMerchantCreditHistory.js +53 -0
- package/dist/model/mSMerchantCreditHistory.js.map +1 -0
- package/dist/model/mSMerchantCreditHistoryPagination.d.ts +17 -0
- package/dist/model/mSMerchantCreditHistoryPagination.js +28 -0
- package/dist/model/mSMerchantCreditHistoryPagination.js.map +1 -0
- package/dist/model/mSMerchantCreditRedemption.d.ts +23 -0
- package/dist/model/mSMerchantCreditRedemption.js +63 -0
- package/dist/model/mSMerchantCreditRedemption.js.map +1 -0
- package/dist/model/mSMerchantCreditRedemptionPagination.d.ts +17 -0
- package/dist/model/mSMerchantCreditRedemptionPagination.js +28 -0
- package/dist/model/mSMerchantCreditRedemptionPagination.js.map +1 -0
- package/dist/model/mediaFile.d.ts +23 -0
- package/dist/model/mediaFile.js +63 -0
- package/dist/model/mediaFile.js.map +1 -0
- package/dist/model/member.d.ts +25 -0
- package/dist/model/member.js +73 -0
- package/dist/model/member.js.map +1 -0
- package/dist/model/memberSearch.d.ts +17 -0
- package/dist/model/memberSearch.js +33 -0
- package/dist/model/memberSearch.js.map +1 -0
- package/dist/model/merchant.d.ts +32 -0
- package/dist/model/merchant.js +108 -0
- package/dist/model/merchant.js.map +1 -0
- package/dist/model/merchantCreditSearch.d.ts +17 -0
- package/dist/model/merchantCreditSearch.js +33 -0
- package/dist/model/merchantCreditSearch.js.map +1 -0
- package/dist/model/merchantNotInitialized.d.ts +18 -0
- package/dist/model/merchantNotInitialized.js +38 -0
- package/dist/model/merchantNotInitialized.js.map +1 -0
- package/dist/model/merchantURL.d.ts +20 -0
- package/dist/model/merchantURL.js +48 -0
- package/dist/model/merchantURL.js.map +1 -0
- package/dist/model/message.d.ts +22 -0
- package/dist/model/message.js +53 -0
- package/dist/model/message.js.map +1 -0
- package/dist/model/models.d.ts +324 -0
- package/dist/model/models.js +1050 -0
- package/dist/model/models.js.map +1 -0
- package/dist/model/moduleError.d.ts +34 -0
- package/dist/model/moduleError.js +118 -0
- package/dist/model/moduleError.js.map +1 -0
- package/dist/model/newsArticle.d.ts +23 -0
- package/dist/model/newsArticle.js +63 -0
- package/dist/model/newsArticle.js.map +1 -0
- package/dist/model/optInList.d.ts +29 -0
- package/dist/model/optInList.js +93 -0
- package/dist/model/optInList.js.map +1 -0
- package/dist/model/optInListSource.d.ts +21 -0
- package/dist/model/optInListSource.js +53 -0
- package/dist/model/optInListSource.js.map +1 -0
- package/dist/model/optInListSubscriber.d.ts +27 -0
- package/dist/model/optInListSubscriber.js +78 -0
- package/dist/model/optInListSubscriber.js.map +1 -0
- package/dist/model/outboundSMS.d.ts +35 -0
- package/dist/model/outboundSMS.js +123 -0
- package/dist/model/outboundSMS.js.map +1 -0
- package/dist/model/paginatedWTMembers.d.ts +17 -0
- package/dist/model/paginatedWTMembers.js +28 -0
- package/dist/model/paginatedWTMembers.js.map +1 -0
- package/dist/model/paginatedWTMerchantCredits.d.ts +17 -0
- package/dist/model/paginatedWTMerchantCredits.js +28 -0
- package/dist/model/paginatedWTMerchantCredits.js.map +1 -0
- package/dist/model/paginationRequestWithIDAndWithoutSortOptions.d.ts +16 -0
- package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js +28 -0
- package/dist/model/paginationRequestWithIDAndWithoutSortOptions.js.map +1 -0
- package/dist/model/paginationRequestWithSortOptions.d.ts +23 -0
- package/dist/model/paginationRequestWithSortOptions.js +44 -0
- package/dist/model/paginationRequestWithSortOptions.js.map +1 -0
- package/dist/model/paymentDesign.d.ts +32 -0
- package/dist/model/paymentDesign.js +108 -0
- package/dist/model/paymentDesign.js.map +1 -0
- package/dist/model/performance.d.ts +26 -0
- package/dist/model/performance.js +78 -0
- package/dist/model/performance.js.map +1 -0
- package/dist/model/phoneNumber.d.ts +35 -0
- package/dist/model/phoneNumber.js +123 -0
- package/dist/model/phoneNumber.js.map +1 -0
- package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.d.ts +26 -0
- package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js +78 -0
- package/dist/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.js.map +1 -0
- package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.d.ts +15 -0
- package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js +23 -0
- package/dist/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.js.map +1 -0
- package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.d.ts +15 -0
- package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js +23 -0
- package/dist/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.js.map +1 -0
- package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.d.ts +18 -0
- package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js +38 -0
- package/dist/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.js.map +1 -0
- package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.d.ts +23 -0
- package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js +63 -0
- package/dist/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.js.map +1 -0
- package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.d.ts +15 -0
- package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js +23 -0
- package/dist/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.js.map +1 -0
- package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.d.ts +20 -0
- package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js +48 -0
- package/dist/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.js.map +1 -0
- package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.d.ts +15 -0
- package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js +23 -0
- package/dist/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.js.map +1 -0
- package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.d.ts +17 -0
- package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js +33 -0
- package/dist/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.js.map +1 -0
- package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.d.ts +25 -0
- package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js +73 -0
- package/dist/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.js.map +1 -0
- package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.d.ts +24 -0
- package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.js +68 -0
- package/dist/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.js.map +1 -0
- package/dist/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.d.ts +19 -0
- package/dist/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.js +43 -0
- package/dist/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.js.map +1 -0
- package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.d.ts +25 -0
- package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js +73 -0
- package/dist/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.js.map +1 -0
- package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.d.ts +16 -0
- package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js +28 -0
- package/dist/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.js.map +1 -0
- package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.d.ts +34 -0
- package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js +118 -0
- package/dist/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.js.map +1 -0
- package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.d.ts +18 -0
- package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js +38 -0
- package/dist/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.js.map +1 -0
- package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.d.ts +31 -0
- package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js +98 -0
- package/dist/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.js.map +1 -0
- package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.d.ts +18 -0
- package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js +38 -0
- package/dist/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.js.map +1 -0
- package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.d.ts +26 -0
- package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js +78 -0
- package/dist/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.js.map +1 -0
- package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.d.ts +32 -0
- package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js +108 -0
- package/dist/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.js.map +1 -0
- package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.d.ts +24 -0
- package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.js +68 -0
- package/dist/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.js.map +1 -0
- package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.d.ts +26 -0
- package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js +78 -0
- package/dist/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.js.map +1 -0
- package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.d.ts +36 -0
- package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js +123 -0
- package/dist/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.js.map +1 -0
- package/dist/model/pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID.d.ts +18 -0
- package/dist/model/pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID.js +38 -0
- package/dist/model/pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID.js.map +1 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +18 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +38 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -0
- package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.d.ts +19 -0
- package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.js +43 -0
- package/dist/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.js.map +1 -0
- package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.d.ts +16 -0
- package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js +28 -0
- package/dist/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.js.map +1 -0
- package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.d.ts +15 -0
- package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js +23 -0
- package/dist/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.js.map +1 -0
- package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.d.ts +18 -0
- package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js +38 -0
- package/dist/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.js.map +1 -0
- package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.d.ts +33 -0
- package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js +103 -0
- package/dist/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.js.map +1 -0
- package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.d.ts +27 -0
- package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js +83 -0
- package/dist/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.js.map +1 -0
- package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.d.ts +16 -0
- package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js +28 -0
- package/dist/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.js.map +1 -0
- package/dist/model/plan.d.ts +20 -0
- package/dist/model/plan.js +43 -0
- package/dist/model/plan.js.map +1 -0
- package/dist/model/portalPage.d.ts +52 -0
- package/dist/model/portalPage.js +57 -0
- package/dist/model/portalPage.js.map +1 -0
- package/dist/model/presignedPost.d.ts +16 -0
- package/dist/model/presignedPost.js +23 -0
- package/dist/model/presignedPost.js.map +1 -0
- package/dist/model/presignedPostFields.d.ts +11 -0
- package/dist/model/presignedPostFields.js +23 -0
- package/dist/model/presignedPostFields.js.map +1 -0
- package/dist/model/product.d.ts +22 -0
- package/dist/model/product.js +53 -0
- package/dist/model/product.js.map +1 -0
- package/dist/model/promoCode.d.ts +26 -0
- package/dist/model/promoCode.js +78 -0
- package/dist/model/promoCode.js.map +1 -0
- package/dist/model/reachPerformanceStats.d.ts +24 -0
- package/dist/model/reachPerformanceStats.js +68 -0
- package/dist/model/reachPerformanceStats.js.map +1 -0
- package/dist/model/request.d.ts +67 -0
- package/dist/model/request.js +283 -0
- package/dist/model/request.js.map +1 -0
- package/dist/model/response.d.ts +20 -0
- package/dist/model/response.js +48 -0
- package/dist/model/response.js.map +1 -0
- package/dist/model/role.d.ts +30 -0
- package/dist/model/role.js +88 -0
- package/dist/model/role.js.map +1 -0
- package/dist/model/roleAuditLog.d.ts +25 -0
- package/dist/model/roleAuditLog.js +73 -0
- package/dist/model/roleAuditLog.js.map +1 -0
- package/dist/model/sSImportedListRecipientCreateParams.d.ts +15 -0
- package/dist/model/sSImportedListRecipientCreateParams.js +23 -0
- package/dist/model/sSImportedListRecipientCreateParams.js.map +1 -0
- package/dist/model/sSOptInSource.d.ts +21 -0
- package/dist/model/sSOptInSource.js +53 -0
- package/dist/model/sSOptInSource.js.map +1 -0
- package/dist/model/simpleSMSBroadcast.d.ts +35 -0
- package/dist/model/simpleSMSBroadcast.js +113 -0
- package/dist/model/simpleSMSBroadcast.js.map +1 -0
- package/dist/model/staticVoucher.d.ts +46 -0
- package/dist/model/staticVoucher.js +173 -0
- package/dist/model/staticVoucher.js.map +1 -0
- package/dist/model/staticVoucherCampaign.d.ts +38 -0
- package/dist/model/staticVoucherCampaign.js +138 -0
- package/dist/model/staticVoucherCampaign.js.map +1 -0
- package/dist/model/staticVoucherCampaignBroadcast.d.ts +35 -0
- package/dist/model/staticVoucherCampaignBroadcast.js +108 -0
- package/dist/model/staticVoucherCampaignBroadcast.js.map +1 -0
- package/dist/model/staticVoucherCampaignGroup.d.ts +23 -0
- package/dist/model/staticVoucherCampaignGroup.js +63 -0
- package/dist/model/staticVoucherCampaignGroup.js.map +1 -0
- package/dist/model/staticVoucherCampaignUpdate.d.ts +23 -0
- package/dist/model/staticVoucherCampaignUpdate.js +63 -0
- package/dist/model/staticVoucherCampaignUpdate.js.map +1 -0
- package/dist/model/status.d.ts +13 -0
- package/dist/model/status.js +12 -0
- package/dist/model/status.js.map +1 -0
- package/dist/model/statusAnyOf.d.ts +3 -0
- package/dist/model/statusAnyOf.js +8 -0
- package/dist/model/statusAnyOf.js.map +1 -0
- package/dist/model/statusAnyOf1.d.ts +3 -0
- package/dist/model/statusAnyOf1.js +8 -0
- package/dist/model/statusAnyOf1.js.map +1 -0
- package/dist/model/statusAnyOf2.d.ts +3 -0
- package/dist/model/statusAnyOf2.js +8 -0
- package/dist/model/statusAnyOf2.js.map +1 -0
- package/dist/model/statusAnyOf3.d.ts +3 -0
- package/dist/model/statusAnyOf3.js +8 -0
- package/dist/model/statusAnyOf3.js.map +1 -0
- package/dist/model/subscriptionFeature.d.ts +22 -0
- package/dist/model/subscriptionFeature.js +58 -0
- package/dist/model/subscriptionFeature.js.map +1 -0
- package/dist/model/subscriptionPlan.d.ts +22 -0
- package/dist/model/subscriptionPlan.js +48 -0
- package/dist/model/subscriptionPlan.js.map +1 -0
- package/dist/model/subscriptionProduct.d.ts +24 -0
- package/dist/model/subscriptionProduct.js +58 -0
- package/dist/model/subscriptionProduct.js.map +1 -0
- package/dist/model/tcpa.d.ts +20 -0
- package/dist/model/tcpa.js +48 -0
- package/dist/model/tcpa.js.map +1 -0
- package/dist/model/updateStaticVoucherCampaignWithVoucher.d.ts +27 -0
- package/dist/model/updateStaticVoucherCampaignWithVoucher.js +83 -0
- package/dist/model/updateStaticVoucherCampaignWithVoucher.js.map +1 -0
- package/dist/model/vSCampaignGeneratedMessage.d.ts +16 -0
- package/dist/model/vSCampaignGeneratedMessage.js +28 -0
- package/dist/model/vSCampaignGeneratedMessage.js.map +1 -0
- package/dist/model/vSCampaignGeneratedMessagePagination.d.ts +17 -0
- package/dist/model/vSCampaignGeneratedMessagePagination.js +28 -0
- package/dist/model/vSCampaignGeneratedMessagePagination.js.map +1 -0
- package/dist/model/vSDynamicVoucherStatus.d.ts +13 -0
- package/dist/model/vSDynamicVoucherStatus.js +12 -0
- package/dist/model/vSDynamicVoucherStatus.js.map +1 -0
- package/dist/model/wTAdvertisementCredit.d.ts +26 -0
- package/dist/model/wTAdvertisementCredit.js +78 -0
- package/dist/model/wTAdvertisementCredit.js.map +1 -0
- package/dist/model/wTAdvertisementCreditCreateParams.d.ts +18 -0
- package/dist/model/wTAdvertisementCreditCreateParams.js +38 -0
- package/dist/model/wTAdvertisementCreditCreateParams.js.map +1 -0
- package/dist/model/wTAdvertisementCreditScan.d.ts +37 -0
- package/dist/model/wTAdvertisementCreditScan.js +128 -0
- package/dist/model/wTAdvertisementCreditScan.js.map +1 -0
- package/dist/model/wTAdvertisementCreditUpdateParams.d.ts +18 -0
- package/dist/model/wTAdvertisementCreditUpdateParams.js +38 -0
- package/dist/model/wTAdvertisementCreditUpdateParams.js.map +1 -0
- package/dist/model/wTDynamicVoucher.d.ts +47 -0
- package/dist/model/wTDynamicVoucher.js +178 -0
- package/dist/model/wTDynamicVoucher.js.map +1 -0
- package/dist/model/wTDynamicVoucherCreateParams.d.ts +26 -0
- package/dist/model/wTDynamicVoucherCreateParams.js +78 -0
- package/dist/model/wTDynamicVoucherCreateParams.js.map +1 -0
- package/dist/model/wTDynamicVoucherRedemption.d.ts +36 -0
- package/dist/model/wTDynamicVoucherRedemption.js +123 -0
- package/dist/model/wTDynamicVoucherRedemption.js.map +1 -0
- package/dist/model/wTDynamicVoucherSummary.d.ts +37 -0
- package/dist/model/wTDynamicVoucherSummary.js +133 -0
- package/dist/model/wTDynamicVoucherSummary.js.map +1 -0
- package/dist/model/wTDynamicVoucherUpdateParams.d.ts +26 -0
- package/dist/model/wTDynamicVoucherUpdateParams.js +78 -0
- package/dist/model/wTDynamicVoucherUpdateParams.js.map +1 -0
- package/dist/model/wTEmployee.d.ts +27 -0
- package/dist/model/wTEmployee.js +83 -0
- package/dist/model/wTEmployee.js.map +1 -0
- package/dist/model/wTEmployeeAPIKey.d.ts +22 -0
- package/dist/model/wTEmployeeAPIKey.js +58 -0
- package/dist/model/wTEmployeeAPIKey.js.map +1 -0
- package/dist/model/wTEmployeeAPIKeyCreateParams.d.ts +15 -0
- package/dist/model/wTEmployeeAPIKeyCreateParams.js +23 -0
- package/dist/model/wTEmployeeAPIKeyCreateParams.js.map +1 -0
- package/dist/model/wTEmployeeAPIKeyUpdateParams.d.ts +15 -0
- package/dist/model/wTEmployeeAPIKeyUpdateParams.js +23 -0
- package/dist/model/wTEmployeeAPIKeyUpdateParams.js.map +1 -0
- package/dist/model/wTEmployeeCreate.d.ts +19 -0
- package/dist/model/wTEmployeeCreate.js +43 -0
- package/dist/model/wTEmployeeCreate.js.map +1 -0
- package/dist/model/wTEmployeeNotification.d.ts +17 -0
- package/dist/model/wTEmployeeNotification.js +33 -0
- package/dist/model/wTEmployeeNotification.js.map +1 -0
- package/dist/model/wTEmployeeUpdate.d.ts +18 -0
- package/dist/model/wTEmployeeUpdate.js +38 -0
- package/dist/model/wTEmployeeUpdate.js.map +1 -0
- package/dist/model/wTImportedList.d.ts +21 -0
- package/dist/model/wTImportedList.js +53 -0
- package/dist/model/wTImportedList.js.map +1 -0
- package/dist/model/wTLinkBookCreateParams.d.ts +18 -0
- package/dist/model/wTLinkBookCreateParams.js +38 -0
- package/dist/model/wTLinkBookCreateParams.js.map +1 -0
- package/dist/model/wTLinkBookSectionCreateParams.d.ts +14 -0
- package/dist/model/wTLinkBookSectionCreateParams.js +18 -0
- package/dist/model/wTLinkBookSectionCreateParams.js.map +1 -0
- package/dist/model/wTLinkBookSectionUpdateParams.d.ts +14 -0
- package/dist/model/wTLinkBookSectionUpdateParams.js +18 -0
- package/dist/model/wTLinkBookSectionUpdateParams.js.map +1 -0
- package/dist/model/wTLinkBookUpdateParams.d.ts +18 -0
- package/dist/model/wTLinkBookUpdateParams.js +38 -0
- package/dist/model/wTLinkBookUpdateParams.js.map +1 -0
- package/dist/model/wTMember.d.ts +25 -0
- package/dist/model/wTMember.js +73 -0
- package/dist/model/wTMember.js.map +1 -0
- package/dist/model/wTMemberCreationParams.d.ts +19 -0
- package/dist/model/wTMemberCreationParams.js +43 -0
- package/dist/model/wTMemberCreationParams.js.map +1 -0
- package/dist/model/wTMembershipTier.d.ts +23 -0
- package/dist/model/wTMembershipTier.js +63 -0
- package/dist/model/wTMembershipTier.js.map +1 -0
- package/dist/model/wTMembershipTierCreationParams.d.ts +18 -0
- package/dist/model/wTMembershipTierCreationParams.js +38 -0
- package/dist/model/wTMembershipTierCreationParams.js.map +1 -0
- package/dist/model/wTMembershipTierUpdateParams.d.ts +18 -0
- package/dist/model/wTMembershipTierUpdateParams.js +38 -0
- package/dist/model/wTMembershipTierUpdateParams.js.map +1 -0
- package/dist/model/wTMembershipTierWithMemberCount.d.ts +24 -0
- package/dist/model/wTMembershipTierWithMemberCount.js +68 -0
- package/dist/model/wTMembershipTierWithMemberCount.js.map +1 -0
- package/dist/model/wTMerchantCredit.d.ts +23 -0
- package/dist/model/wTMerchantCredit.js +63 -0
- package/dist/model/wTMerchantCredit.js.map +1 -0
- package/dist/model/wTMerchantCreditCreationParams.d.ts +16 -0
- package/dist/model/wTMerchantCreditCreationParams.js +28 -0
- package/dist/model/wTMerchantCreditCreationParams.js.map +1 -0
- package/dist/model/wTMerchantURLCreate.d.ts +15 -0
- package/dist/model/wTMerchantURLCreate.js +23 -0
- package/dist/model/wTMerchantURLCreate.js.map +1 -0
- package/dist/model/wTMerchantURLUpdate.d.ts +15 -0
- package/dist/model/wTMerchantURLUpdate.js +23 -0
- package/dist/model/wTMerchantURLUpdate.js.map +1 -0
- package/dist/model/wTNewsArticleCreateParams.d.ts +18 -0
- package/dist/model/wTNewsArticleCreateParams.js +38 -0
- package/dist/model/wTNewsArticleCreateParams.js.map +1 -0
- package/dist/model/wTNewsArticleUpdateParams.d.ts +18 -0
- package/dist/model/wTNewsArticleUpdateParams.js +38 -0
- package/dist/model/wTNewsArticleUpdateParams.js.map +1 -0
- package/dist/model/wTOptInList.d.ts +29 -0
- package/dist/model/wTOptInList.js +93 -0
- package/dist/model/wTOptInList.js.map +1 -0
- package/dist/model/wTOptInListCreationParams.d.ts +24 -0
- package/dist/model/wTOptInListCreationParams.js +68 -0
- package/dist/model/wTOptInListCreationParams.js.map +1 -0
- package/dist/model/wTPaymentDesign.d.ts +32 -0
- package/dist/model/wTPaymentDesign.js +108 -0
- package/dist/model/wTPaymentDesign.js.map +1 -0
- package/dist/model/wTPaymentDesignCreateParams.d.ts +28 -0
- package/dist/model/wTPaymentDesignCreateParams.js +88 -0
- package/dist/model/wTPaymentDesignCreateParams.js.map +1 -0
- package/dist/model/wTPaymentDesignUpdateParams.d.ts +28 -0
- package/dist/model/wTPaymentDesignUpdateParams.js +88 -0
- package/dist/model/wTPaymentDesignUpdateParams.js.map +1 -0
- package/dist/model/wTPerformanceCreateParams.d.ts +21 -0
- package/dist/model/wTPerformanceCreateParams.js +53 -0
- package/dist/model/wTPerformanceCreateParams.js.map +1 -0
- package/dist/model/wTPerformanceUpdateParams.d.ts +21 -0
- package/dist/model/wTPerformanceUpdateParams.js +53 -0
- package/dist/model/wTPerformanceUpdateParams.js.map +1 -0
- package/dist/model/wTPosMachine.d.ts +23 -0
- package/dist/model/wTPosMachine.js +63 -0
- package/dist/model/wTPosMachine.js.map +1 -0
- package/dist/model/wTPosMachineCreateParams.d.ts +18 -0
- package/dist/model/wTPosMachineCreateParams.js +38 -0
- package/dist/model/wTPosMachineCreateParams.js.map +1 -0
- package/dist/model/wTPosMachineUpdateParams.d.ts +18 -0
- package/dist/model/wTPosMachineUpdateParams.js +38 -0
- package/dist/model/wTPosMachineUpdateParams.js.map +1 -0
- package/dist/model/wTPromoCodeCreateParams.d.ts +21 -0
- package/dist/model/wTPromoCodeCreateParams.js +53 -0
- package/dist/model/wTPromoCodeCreateParams.js.map +1 -0
- package/dist/model/wTPromoCodeUpdateParams.d.ts +21 -0
- package/dist/model/wTPromoCodeUpdateParams.js +53 -0
- package/dist/model/wTPromoCodeUpdateParams.js.map +1 -0
- package/dist/model/wTRole.d.ts +29 -0
- package/dist/model/wTRole.js +88 -0
- package/dist/model/wTRole.js.map +1 -0
- package/dist/model/wTStaticVoucher.d.ts +46 -0
- package/dist/model/wTStaticVoucher.js +173 -0
- package/dist/model/wTStaticVoucher.js.map +1 -0
- package/dist/model/wTStaticVoucherCampaign.d.ts +38 -0
- package/dist/model/wTStaticVoucherCampaign.js +138 -0
- package/dist/model/wTStaticVoucherCampaign.js.map +1 -0
- package/dist/model/wTStaticVoucherCreateParams.d.ts +17 -0
- package/dist/model/wTStaticVoucherCreateParams.js +33 -0
- package/dist/model/wTStaticVoucherCreateParams.js.map +1 -0
- package/dist/model/wTStaticVoucherUpdateParams.d.ts +16 -0
- package/dist/model/wTStaticVoucherUpdateParams.js +28 -0
- package/dist/model/wTStaticVoucherUpdateParams.js.map +1 -0
- package/dist/model/wTWalletPageView.d.ts +51 -0
- package/dist/model/wTWalletPageView.js +198 -0
- package/dist/model/wTWalletPageView.js.map +1 -0
- package/dist/model/wTWalletPageViewGeoPoint.d.ts +15 -0
- package/dist/model/wTWalletPageViewGeoPoint.js +23 -0
- package/dist/model/wTWalletPageViewGeoPoint.js.map +1 -0
- package/dist/model/walletConfiguration.d.ts +50 -0
- package/dist/model/walletConfiguration.js +198 -0
- package/dist/model/walletConfiguration.js.map +1 -0
- package/dist/model/walletPageView.d.ts +51 -0
- package/dist/model/walletPageView.js +198 -0
- package/dist/model/walletPageView.js.map +1 -0
- package/dist/model/webpage.d.ts +23 -0
- package/dist/model/webpage.js +63 -0
- package/dist/model/webpage.js.map +1 -0
- package/examples/advertisementcredits.example.ts +17 -9
- package/examples/clubmembers.example.ts +8 -5
- package/examples/constants.ts +6 -0
- package/examples/linkbook.example.ts +8 -5
- package/examples/membershiptiers.example.ts +8 -5
- package/examples/merchantcredits.example.ts +52 -0
- package/examples/merchanturls.example.ts +8 -5
- package/examples/news.example.ts +8 -5
- package/examples/paymentdesigns.example.ts +7 -4
- package/examples/performances.example.ts +58 -0
- package/examples/promocodes.example.ts +56 -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 +1 -1
- package/model/duplicateRowFound.ts +1 -1
- package/model/dynamicVoucher.ts +1 -1
- package/model/dynamicVoucherBroadcast.ts +1 -1
- package/model/employee.ts +1 -1
- package/model/employeeAPIKey.ts +82 -0
- package/model/employeeActivityLog.ts +1 -1
- package/model/employeeAlert.ts +1 -1
- package/model/entityTooLarge.ts +55 -0
- 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/inboundSMS.ts +229 -0
- 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 +8 -8
- package/model/inlineObject57.ts +1 -1
- package/model/inlineObject58.ts +13 -7
- package/model/inlineObject59.ts +11 -11
- package/model/inlineObject6.ts +1 -1
- package/model/inlineObject60.ts +1 -1
- package/model/inlineObject61.ts +7 -13
- package/model/inlineObject62.ts +8 -8
- package/model/inlineObject63.ts +1 -1
- package/model/inlineObject64.ts +188 -8
- package/model/inlineObject65.ts +13 -169
- package/model/inlineObject66.ts +1 -1
- package/model/inlineObject67.ts +7 -19
- package/model/inlineObject68.ts +88 -4
- package/model/inlineObject69.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 +14 -79
- package/model/inlineResponse20011.ts +9 -15
- package/model/inlineResponse20012.ts +98 -0
- package/model/inlineResponse20013.ts +109 -0
- package/model/inlineResponse20014.ts +43 -0
- 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 +12 -66
- package/model/internalServerError.ts +1 -1
- package/model/ledgerEntry.ts +1 -1
- package/model/linkBook.ts +1 -1
- package/model/linkBookSection.ts +4 -4
- 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 +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 +51 -9
- package/model/moduleError.ts +1 -7
- 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 +13 -13
- package/model/paginatedWTMembers.ts +1 -1
- package/model/paginatedWTMerchantCredits.ts +1 -1
- package/model/paginationRequestWithIDAndWithoutSortOptions.ts +49 -0
- package/model/paginationRequestWithSortOptions.ts +1 -1
- package/model/paymentDesign.ts +1 -1
- package/model/performance.ts +10 -1
- package/model/phoneNumber.ts +1 -1
- package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +40 -0
- package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +40 -0
- 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 +64 -0
- package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +1 -1
- package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +1 -1
- package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +13 -13
- package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +58 -0
- 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/pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID.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 +1 -1
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
- package/model/plan.ts +1 -1
- package/model/portalPage.ts +2 -3
- package/model/presignedPost.ts +1 -1
- package/model/presignedPostFields.ts +1 -1
- package/model/product.ts +1 -1
- package/model/promoCode.ts +7 -1
- package/model/reachPerformanceStats.ts +55 -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 +37 -0
- 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 +55 -0
- package/model/wTAdvertisementCreditScan.ts +1 -1
- package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
- 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 +1 -1
- package/model/wTEmployeeAPIKey.ts +82 -0
- package/model/wTEmployeeAPIKeyCreateParams.ts +37 -0
- package/model/wTEmployeeAPIKeyUpdateParams.ts +37 -0
- package/model/wTEmployeeCreate.ts +1 -1
- package/model/wTEmployeeNotification.ts +49 -0
- package/model/wTEmployeeUpdate.ts +1 -1
- package/model/wTImportedList.ts +1 -1
- package/model/wTLinkBookCreateParams.ts +1 -1
- package/model/wTLinkBookSectionCreateParams.ts +4 -4
- package/model/wTLinkBookSectionUpdateParams.ts +4 -4
- 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/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 +10 -1
- package/model/wTPerformanceUpdateParams.ts +10 -1
- package/model/wTPosMachine.ts +1 -1
- package/model/wTPosMachineCreateParams.ts +1 -1
- package/model/wTPosMachineUpdateParams.ts +1 -1
- package/model/wTPromoCodeCreateParams.ts +7 -1
- package/model/wTPromoCodeUpdateParams.ts +7 -1
- package/model/wTRole.ts +1 -1
- package/model/wTStaticVoucher.ts +1 -1
- package/model/wTStaticVoucherCampaign.ts +1 -1
- package/model/wTStaticVoucherCreateParams.ts +1 -1
- package/model/wTStaticVoucherUpdateParams.ts +1 -1
- package/model/wTWalletPageView.ts +1 -1
- package/model/wTWalletPageViewGeoPoint.ts +1 -1
- package/model/walletConfiguration.ts +250 -0
- package/model/walletPageView.ts +1 -1
- package/model/webpage.ts +1 -1
- package/package.json +1 -29
- package/readme-generator.py +23 -1
package/api/sMSApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* wallet-api
|
|
3
3
|
* API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.1.503
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,13 +31,17 @@ import { InlineObject58 } from '../model/inlineObject58';
|
|
|
31
31
|
import { InlineObject59 } from '../model/inlineObject59';
|
|
32
32
|
import { InlineObject60 } from '../model/inlineObject60';
|
|
33
33
|
import { InlineObject61 } from '../model/inlineObject61';
|
|
34
|
-
import {
|
|
34
|
+
import { InlineResponse20010 } from '../model/inlineResponse20010';
|
|
35
|
+
import { InlineResponse20011 } from '../model/inlineResponse20011';
|
|
36
|
+
import { InlineResponse2002 } from '../model/inlineResponse2002';
|
|
37
|
+
import { InlineResponse2003 } from '../model/inlineResponse2003';
|
|
38
|
+
import { InlineResponse2009 } from '../model/inlineResponse2009';
|
|
35
39
|
import { InternalServerError } from '../model/internalServerError';
|
|
36
40
|
import { OptInList } from '../model/optInList';
|
|
37
41
|
import { OptInListSource } from '../model/optInListSource';
|
|
38
42
|
import { OptInListSubscriber } from '../model/optInListSubscriber';
|
|
39
|
-
import { OutboundSMS } from '../model/outboundSMS';
|
|
40
43
|
import { PhoneNumber } from '../model/phoneNumber';
|
|
44
|
+
import { SSImportedListRecipientCreateParams } from '../model/sSImportedListRecipientCreateParams';
|
|
41
45
|
import { Tcpa } from '../model/tcpa';
|
|
42
46
|
import { WTOptInListCreationParams } from '../model/wTOptInListCreationParams';
|
|
43
47
|
|
|
@@ -119,7 +123,7 @@ export class SMSApi {
|
|
|
119
123
|
* @param inlineObject52
|
|
120
124
|
*/
|
|
121
125
|
public async acquirePhoneNumber (inlineObject52: InlineObject52, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
122
|
-
const localVarPath = this.basePath + '/
|
|
126
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/acquire';
|
|
123
127
|
let localVarQueryParameters: any = {};
|
|
124
128
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
125
129
|
const produces = ['application/json'];
|
|
@@ -188,7 +192,7 @@ export class SMSApi {
|
|
|
188
192
|
* @param phoneNumberID
|
|
189
193
|
*/
|
|
190
194
|
public async archivePhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
|
|
191
|
-
const localVarPath = this.basePath + '/
|
|
195
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
|
|
192
196
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
193
197
|
let localVarQueryParameters: any = {};
|
|
194
198
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -251,13 +255,438 @@ export class SMSApi {
|
|
|
251
255
|
});
|
|
252
256
|
});
|
|
253
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @summary Archive recipient
|
|
261
|
+
* @param id
|
|
262
|
+
*/
|
|
263
|
+
public async archiveRecipient (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }> {
|
|
264
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/{id}'
|
|
265
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
266
|
+
let localVarQueryParameters: any = {};
|
|
267
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
268
|
+
const produces = ['application/json'];
|
|
269
|
+
// give precedence to 'application/json'
|
|
270
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
271
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
272
|
+
} else {
|
|
273
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
274
|
+
}
|
|
275
|
+
let localVarFormParams: any = {};
|
|
276
|
+
|
|
277
|
+
// verify required parameter 'id' is not null or undefined
|
|
278
|
+
if (id === null || id === undefined) {
|
|
279
|
+
throw new Error('Required parameter id was null or undefined when calling archiveRecipient.');
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
283
|
+
|
|
284
|
+
let localVarUseFormData = false;
|
|
285
|
+
|
|
286
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
287
|
+
method: 'DELETE',
|
|
288
|
+
qs: localVarQueryParameters,
|
|
289
|
+
headers: localVarHeaderParams,
|
|
290
|
+
uri: localVarPath,
|
|
291
|
+
useQuerystring: this._useQuerystring,
|
|
292
|
+
json: true,
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
let authenticationPromise = Promise.resolve();
|
|
296
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
297
|
+
|
|
298
|
+
let interceptorPromise = authenticationPromise;
|
|
299
|
+
for (const interceptor of this.interceptors) {
|
|
300
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
return interceptorPromise.then(() => {
|
|
304
|
+
if (Object.keys(localVarFormParams).length) {
|
|
305
|
+
if (localVarUseFormData) {
|
|
306
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
307
|
+
} else {
|
|
308
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
return new Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }>((resolve, reject) => {
|
|
312
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
313
|
+
if (error) {
|
|
314
|
+
reject(error);
|
|
315
|
+
} else {
|
|
316
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
317
|
+
body = ObjectSerializer.deserialize(body, "ImportedListRecipient");
|
|
318
|
+
resolve({ response: response, body: body });
|
|
319
|
+
} else {
|
|
320
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
});
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @summary Count imported list recipients
|
|
330
|
+
* @param listID
|
|
331
|
+
* @param isArchiveIncluded
|
|
332
|
+
* @param startDate
|
|
333
|
+
* @param endDate
|
|
334
|
+
*/
|
|
335
|
+
public async countImportedListRecipients (listID: string, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }> {
|
|
336
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/count/{listID}'
|
|
337
|
+
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
338
|
+
let localVarQueryParameters: any = {};
|
|
339
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
340
|
+
const produces = ['application/json'];
|
|
341
|
+
// give precedence to 'application/json'
|
|
342
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
343
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
344
|
+
} else {
|
|
345
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
346
|
+
}
|
|
347
|
+
let localVarFormParams: any = {};
|
|
348
|
+
|
|
349
|
+
// verify required parameter 'listID' is not null or undefined
|
|
350
|
+
if (listID === null || listID === undefined) {
|
|
351
|
+
throw new Error('Required parameter listID was null or undefined when calling countImportedListRecipients.');
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
if (isArchiveIncluded !== undefined) {
|
|
355
|
+
localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
if (startDate !== undefined) {
|
|
359
|
+
localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
if (endDate !== undefined) {
|
|
363
|
+
localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
367
|
+
|
|
368
|
+
let localVarUseFormData = false;
|
|
369
|
+
|
|
370
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
371
|
+
method: 'GET',
|
|
372
|
+
qs: localVarQueryParameters,
|
|
373
|
+
headers: localVarHeaderParams,
|
|
374
|
+
uri: localVarPath,
|
|
375
|
+
useQuerystring: this._useQuerystring,
|
|
376
|
+
json: true,
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
let authenticationPromise = Promise.resolve();
|
|
380
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
381
|
+
|
|
382
|
+
let interceptorPromise = authenticationPromise;
|
|
383
|
+
for (const interceptor of this.interceptors) {
|
|
384
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
return interceptorPromise.then(() => {
|
|
388
|
+
if (Object.keys(localVarFormParams).length) {
|
|
389
|
+
if (localVarUseFormData) {
|
|
390
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
391
|
+
} else {
|
|
392
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }>((resolve, reject) => {
|
|
396
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
397
|
+
if (error) {
|
|
398
|
+
reject(error);
|
|
399
|
+
} else {
|
|
400
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
401
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2003");
|
|
402
|
+
resolve({ response: response, body: body });
|
|
403
|
+
} else {
|
|
404
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
});
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @summary Count opt in list subscribers
|
|
414
|
+
* @param listID
|
|
415
|
+
* @param isSubscribed
|
|
416
|
+
* @param isPendingAge21Verification
|
|
417
|
+
* @param isArchiveIncluded
|
|
418
|
+
* @param startDate
|
|
419
|
+
* @param endDate
|
|
420
|
+
*/
|
|
421
|
+
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: InlineResponse2003; }> {
|
|
422
|
+
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/count/{listID}'
|
|
423
|
+
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
424
|
+
let localVarQueryParameters: any = {};
|
|
425
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
426
|
+
const produces = ['application/json'];
|
|
427
|
+
// give precedence to 'application/json'
|
|
428
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
429
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
430
|
+
} else {
|
|
431
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
432
|
+
}
|
|
433
|
+
let localVarFormParams: any = {};
|
|
434
|
+
|
|
435
|
+
// verify required parameter 'listID' is not null or undefined
|
|
436
|
+
if (listID === null || listID === undefined) {
|
|
437
|
+
throw new Error('Required parameter listID was null or undefined when calling countOptInListSubscribers.');
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
if (isSubscribed !== undefined) {
|
|
441
|
+
localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
if (isPendingAge21Verification !== undefined) {
|
|
445
|
+
localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
if (isArchiveIncluded !== undefined) {
|
|
449
|
+
localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (startDate !== undefined) {
|
|
453
|
+
localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
if (endDate !== undefined) {
|
|
457
|
+
localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
461
|
+
|
|
462
|
+
let localVarUseFormData = false;
|
|
463
|
+
|
|
464
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
465
|
+
method: 'GET',
|
|
466
|
+
qs: localVarQueryParameters,
|
|
467
|
+
headers: localVarHeaderParams,
|
|
468
|
+
uri: localVarPath,
|
|
469
|
+
useQuerystring: this._useQuerystring,
|
|
470
|
+
json: true,
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
let authenticationPromise = Promise.resolve();
|
|
474
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
475
|
+
|
|
476
|
+
let interceptorPromise = authenticationPromise;
|
|
477
|
+
for (const interceptor of this.interceptors) {
|
|
478
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
return interceptorPromise.then(() => {
|
|
482
|
+
if (Object.keys(localVarFormParams).length) {
|
|
483
|
+
if (localVarUseFormData) {
|
|
484
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
485
|
+
} else {
|
|
486
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }>((resolve, reject) => {
|
|
490
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
491
|
+
if (error) {
|
|
492
|
+
reject(error);
|
|
493
|
+
} else {
|
|
494
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
495
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2003");
|
|
496
|
+
resolve({ response: response, body: body });
|
|
497
|
+
} else {
|
|
498
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
});
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* @summary Count opt in source subscribers
|
|
508
|
+
* @param sourceID
|
|
509
|
+
* @param isSubscribed
|
|
510
|
+
* @param isPendingAge21Verification
|
|
511
|
+
* @param isArchiveIncluded
|
|
512
|
+
* @param startDate
|
|
513
|
+
* @param endDate
|
|
514
|
+
*/
|
|
515
|
+
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: InlineResponse2003; }> {
|
|
516
|
+
const localVarPath = this.basePath + '/v2/sms/optInSource/subscribers/count/{sourceID}'
|
|
517
|
+
.replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
|
|
518
|
+
let localVarQueryParameters: any = {};
|
|
519
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
520
|
+
const produces = ['application/json'];
|
|
521
|
+
// give precedence to 'application/json'
|
|
522
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
523
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
524
|
+
} else {
|
|
525
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
526
|
+
}
|
|
527
|
+
let localVarFormParams: any = {};
|
|
528
|
+
|
|
529
|
+
// verify required parameter 'sourceID' is not null or undefined
|
|
530
|
+
if (sourceID === null || sourceID === undefined) {
|
|
531
|
+
throw new Error('Required parameter sourceID was null or undefined when calling countOptInSourceSubscribers.');
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
if (isSubscribed !== undefined) {
|
|
535
|
+
localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
if (isPendingAge21Verification !== undefined) {
|
|
539
|
+
localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
if (isArchiveIncluded !== undefined) {
|
|
543
|
+
localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
if (startDate !== undefined) {
|
|
547
|
+
localVarQueryParameters['startDate'] = ObjectSerializer.serialize(startDate, "Date");
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
if (endDate !== undefined) {
|
|
551
|
+
localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "Date");
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
555
|
+
|
|
556
|
+
let localVarUseFormData = false;
|
|
557
|
+
|
|
558
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
559
|
+
method: 'GET',
|
|
560
|
+
qs: localVarQueryParameters,
|
|
561
|
+
headers: localVarHeaderParams,
|
|
562
|
+
uri: localVarPath,
|
|
563
|
+
useQuerystring: this._useQuerystring,
|
|
564
|
+
json: true,
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
let authenticationPromise = Promise.resolve();
|
|
568
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
569
|
+
|
|
570
|
+
let interceptorPromise = authenticationPromise;
|
|
571
|
+
for (const interceptor of this.interceptors) {
|
|
572
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
return interceptorPromise.then(() => {
|
|
576
|
+
if (Object.keys(localVarFormParams).length) {
|
|
577
|
+
if (localVarUseFormData) {
|
|
578
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
579
|
+
} else {
|
|
580
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2003; }>((resolve, reject) => {
|
|
584
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
585
|
+
if (error) {
|
|
586
|
+
reject(error);
|
|
587
|
+
} else {
|
|
588
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
589
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2003");
|
|
590
|
+
resolve({ response: response, body: body });
|
|
591
|
+
} else {
|
|
592
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
});
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @summary Count outbound SMS
|
|
602
|
+
* @param phoneNumberID
|
|
603
|
+
* @param toPhoneNumber
|
|
604
|
+
* @param status
|
|
605
|
+
* @param paymentObjectBroadcastID
|
|
606
|
+
*/
|
|
607
|
+
public async countOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }> {
|
|
608
|
+
const localVarPath = this.basePath + '/v2/sms/outbound/count/{phoneNumberID}'
|
|
609
|
+
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
610
|
+
let localVarQueryParameters: any = {};
|
|
611
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
612
|
+
const produces = ['application/json'];
|
|
613
|
+
// give precedence to 'application/json'
|
|
614
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
615
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
616
|
+
} else {
|
|
617
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
618
|
+
}
|
|
619
|
+
let localVarFormParams: any = {};
|
|
620
|
+
|
|
621
|
+
// verify required parameter 'phoneNumberID' is not null or undefined
|
|
622
|
+
if (phoneNumberID === null || phoneNumberID === undefined) {
|
|
623
|
+
throw new Error('Required parameter phoneNumberID was null or undefined when calling countOutboundSMS.');
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
if (toPhoneNumber !== undefined) {
|
|
627
|
+
localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
if (status !== undefined) {
|
|
631
|
+
localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "string");
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
if (paymentObjectBroadcastID !== undefined) {
|
|
635
|
+
localVarQueryParameters['paymentObjectBroadcastID'] = ObjectSerializer.serialize(paymentObjectBroadcastID, "string");
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
639
|
+
|
|
640
|
+
let localVarUseFormData = false;
|
|
641
|
+
|
|
642
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
643
|
+
method: 'GET',
|
|
644
|
+
qs: localVarQueryParameters,
|
|
645
|
+
headers: localVarHeaderParams,
|
|
646
|
+
uri: localVarPath,
|
|
647
|
+
useQuerystring: this._useQuerystring,
|
|
648
|
+
json: true,
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
let authenticationPromise = Promise.resolve();
|
|
652
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
653
|
+
|
|
654
|
+
let interceptorPromise = authenticationPromise;
|
|
655
|
+
for (const interceptor of this.interceptors) {
|
|
656
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
return interceptorPromise.then(() => {
|
|
660
|
+
if (Object.keys(localVarFormParams).length) {
|
|
661
|
+
if (localVarUseFormData) {
|
|
662
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
663
|
+
} else {
|
|
664
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2002; }>((resolve, reject) => {
|
|
668
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
669
|
+
if (error) {
|
|
670
|
+
reject(error);
|
|
671
|
+
} else {
|
|
672
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
673
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2002");
|
|
674
|
+
resolve({ response: response, body: body });
|
|
675
|
+
} else {
|
|
676
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
});
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
}
|
|
254
683
|
/**
|
|
255
684
|
*
|
|
256
685
|
* @summary Create imported list
|
|
257
|
-
* @param
|
|
686
|
+
* @param inlineObject59
|
|
258
687
|
*/
|
|
259
|
-
public async createImportedList (
|
|
260
|
-
const localVarPath = this.basePath + '/
|
|
688
|
+
public async createImportedList (inlineObject59: InlineObject59, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedList; }> {
|
|
689
|
+
const localVarPath = this.basePath + '/v2/sms/importedList';
|
|
261
690
|
let localVarQueryParameters: any = {};
|
|
262
691
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
263
692
|
const produces = ['application/json'];
|
|
@@ -269,9 +698,9 @@ export class SMSApi {
|
|
|
269
698
|
}
|
|
270
699
|
let localVarFormParams: any = {};
|
|
271
700
|
|
|
272
|
-
// verify required parameter '
|
|
273
|
-
if (
|
|
274
|
-
throw new Error('Required parameter
|
|
701
|
+
// verify required parameter 'inlineObject59' is not null or undefined
|
|
702
|
+
if (inlineObject59 === null || inlineObject59 === undefined) {
|
|
703
|
+
throw new Error('Required parameter inlineObject59 was null or undefined when calling createImportedList.');
|
|
275
704
|
}
|
|
276
705
|
|
|
277
706
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -285,7 +714,7 @@ export class SMSApi {
|
|
|
285
714
|
uri: localVarPath,
|
|
286
715
|
useQuerystring: this._useQuerystring,
|
|
287
716
|
json: true,
|
|
288
|
-
body: ObjectSerializer.serialize(
|
|
717
|
+
body: ObjectSerializer.serialize(inlineObject59, "InlineObject59")
|
|
289
718
|
};
|
|
290
719
|
|
|
291
720
|
let authenticationPromise = Promise.resolve();
|
|
@@ -326,7 +755,7 @@ export class SMSApi {
|
|
|
326
755
|
* @param wTOptInListCreationParams
|
|
327
756
|
*/
|
|
328
757
|
public async createOptInList (wTOptInListCreationParams: WTOptInListCreationParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInList; }> {
|
|
329
|
-
const localVarPath = this.basePath + '/
|
|
758
|
+
const localVarPath = this.basePath + '/v2/sms/optInList';
|
|
330
759
|
let localVarQueryParameters: any = {};
|
|
331
760
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
332
761
|
const produces = ['application/json'];
|
|
@@ -391,11 +820,11 @@ export class SMSApi {
|
|
|
391
820
|
}
|
|
392
821
|
/**
|
|
393
822
|
*
|
|
394
|
-
* @summary
|
|
395
|
-
* @param
|
|
823
|
+
* @summary Send SMS to opt in list
|
|
824
|
+
* @param inlineObject56
|
|
396
825
|
*/
|
|
397
|
-
public async createOptInListSource (
|
|
398
|
-
const localVarPath = this.basePath + '/
|
|
826
|
+
public async createOptInListSource (inlineObject56: InlineObject56, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInListSource; }> {
|
|
827
|
+
const localVarPath = this.basePath + '/v2/sms/optInListSource';
|
|
399
828
|
let localVarQueryParameters: any = {};
|
|
400
829
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
401
830
|
const produces = ['application/json'];
|
|
@@ -407,9 +836,9 @@ export class SMSApi {
|
|
|
407
836
|
}
|
|
408
837
|
let localVarFormParams: any = {};
|
|
409
838
|
|
|
410
|
-
// verify required parameter '
|
|
411
|
-
if (
|
|
412
|
-
throw new Error('Required parameter
|
|
839
|
+
// verify required parameter 'inlineObject56' is not null or undefined
|
|
840
|
+
if (inlineObject56 === null || inlineObject56 === undefined) {
|
|
841
|
+
throw new Error('Required parameter inlineObject56 was null or undefined when calling createOptInListSource.');
|
|
413
842
|
}
|
|
414
843
|
|
|
415
844
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -423,7 +852,7 @@ export class SMSApi {
|
|
|
423
852
|
uri: localVarPath,
|
|
424
853
|
useQuerystring: this._useQuerystring,
|
|
425
854
|
json: true,
|
|
426
|
-
body: ObjectSerializer.serialize(
|
|
855
|
+
body: ObjectSerializer.serialize(inlineObject56, "InlineObject56")
|
|
427
856
|
};
|
|
428
857
|
|
|
429
858
|
let authenticationPromise = Promise.resolve();
|
|
@@ -458,13 +887,82 @@ export class SMSApi {
|
|
|
458
887
|
});
|
|
459
888
|
});
|
|
460
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @summary Add new recipient in an imported list
|
|
893
|
+
* @param sSImportedListRecipientCreateParams
|
|
894
|
+
*/
|
|
895
|
+
public async createRecipientInImportedList (sSImportedListRecipientCreateParams: SSImportedListRecipientCreateParams, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }> {
|
|
896
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/create';
|
|
897
|
+
let localVarQueryParameters: any = {};
|
|
898
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
899
|
+
const produces = ['application/json'];
|
|
900
|
+
// give precedence to 'application/json'
|
|
901
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
902
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
903
|
+
} else {
|
|
904
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
905
|
+
}
|
|
906
|
+
let localVarFormParams: any = {};
|
|
907
|
+
|
|
908
|
+
// verify required parameter 'sSImportedListRecipientCreateParams' is not null or undefined
|
|
909
|
+
if (sSImportedListRecipientCreateParams === null || sSImportedListRecipientCreateParams === undefined) {
|
|
910
|
+
throw new Error('Required parameter sSImportedListRecipientCreateParams was null or undefined when calling createRecipientInImportedList.');
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
914
|
+
|
|
915
|
+
let localVarUseFormData = false;
|
|
916
|
+
|
|
917
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
918
|
+
method: 'POST',
|
|
919
|
+
qs: localVarQueryParameters,
|
|
920
|
+
headers: localVarHeaderParams,
|
|
921
|
+
uri: localVarPath,
|
|
922
|
+
useQuerystring: this._useQuerystring,
|
|
923
|
+
json: true,
|
|
924
|
+
body: ObjectSerializer.serialize(sSImportedListRecipientCreateParams, "SSImportedListRecipientCreateParams")
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
let authenticationPromise = Promise.resolve();
|
|
928
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
929
|
+
|
|
930
|
+
let interceptorPromise = authenticationPromise;
|
|
931
|
+
for (const interceptor of this.interceptors) {
|
|
932
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
return interceptorPromise.then(() => {
|
|
936
|
+
if (Object.keys(localVarFormParams).length) {
|
|
937
|
+
if (localVarUseFormData) {
|
|
938
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
939
|
+
} else {
|
|
940
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
return new Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }>((resolve, reject) => {
|
|
944
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
945
|
+
if (error) {
|
|
946
|
+
reject(error);
|
|
947
|
+
} else {
|
|
948
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
949
|
+
body = ObjectSerializer.deserialize(body, "ImportedListRecipient");
|
|
950
|
+
resolve({ response: response, body: body });
|
|
951
|
+
} else {
|
|
952
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
});
|
|
956
|
+
});
|
|
957
|
+
});
|
|
958
|
+
}
|
|
461
959
|
/**
|
|
462
960
|
*
|
|
463
961
|
* @summary Accept SMS agreement
|
|
464
962
|
* @param inlineObject51
|
|
465
963
|
*/
|
|
466
964
|
public async createSMSAgreement (inlineObject51: InlineObject51, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Agreement; }> {
|
|
467
|
-
const localVarPath = this.basePath + '/
|
|
965
|
+
const localVarPath = this.basePath + '/v2/sms/agreement/create';
|
|
468
966
|
let localVarQueryParameters: any = {};
|
|
469
967
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
470
968
|
const produces = ['application/json'];
|
|
@@ -533,7 +1031,7 @@ export class SMSApi {
|
|
|
533
1031
|
* @param importedListID
|
|
534
1032
|
*/
|
|
535
1033
|
public async exportImportedListRecipients (importedListID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
536
|
-
const localVarPath = this.basePath + '/
|
|
1034
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/export/{importedListID}'
|
|
537
1035
|
.replace('{' + 'importedListID' + '}', encodeURIComponent(String(importedListID)));
|
|
538
1036
|
let localVarQueryParameters: any = {};
|
|
539
1037
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -602,7 +1100,7 @@ export class SMSApi {
|
|
|
602
1100
|
* @param listID
|
|
603
1101
|
*/
|
|
604
1102
|
public async exportOptInListSubscribers (listID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
605
|
-
const localVarPath = this.basePath + '/
|
|
1103
|
+
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/export/{listID}'
|
|
606
1104
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
607
1105
|
let localVarQueryParameters: any = {};
|
|
608
1106
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -671,7 +1169,7 @@ export class SMSApi {
|
|
|
671
1169
|
* @param phoneNumberID
|
|
672
1170
|
*/
|
|
673
1171
|
public async fetchBlockedTCPAEntries (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<Tcpa>; }> {
|
|
674
|
-
const localVarPath = this.basePath + '/
|
|
1172
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/blocked/{phoneNumberID}'
|
|
675
1173
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
676
1174
|
let localVarQueryParameters: any = {};
|
|
677
1175
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -740,7 +1238,7 @@ export class SMSApi {
|
|
|
740
1238
|
* @param listID
|
|
741
1239
|
*/
|
|
742
1240
|
public async fetchImportedListRecipients (listID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<ImportedListRecipient>; }> {
|
|
743
|
-
const localVarPath = this.basePath + '/
|
|
1241
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/{listID}'
|
|
744
1242
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
745
1243
|
let localVarQueryParameters: any = {};
|
|
746
1244
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -803,6 +1301,90 @@ export class SMSApi {
|
|
|
803
1301
|
});
|
|
804
1302
|
});
|
|
805
1303
|
}
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @summary Fetch imported list recipients by page
|
|
1307
|
+
* @param listID
|
|
1308
|
+
* @param pageSize
|
|
1309
|
+
* @param pageNum
|
|
1310
|
+
* @param isArchiveIncluded
|
|
1311
|
+
*/
|
|
1312
|
+
public async fetchImportedListRecipientsByPage (listID: string, pageSize?: number, pageNum?: number, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse20010; }> {
|
|
1313
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/page/{listID}'
|
|
1314
|
+
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1315
|
+
let localVarQueryParameters: any = {};
|
|
1316
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1317
|
+
const produces = ['application/json'];
|
|
1318
|
+
// give precedence to 'application/json'
|
|
1319
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1320
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1321
|
+
} else {
|
|
1322
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1323
|
+
}
|
|
1324
|
+
let localVarFormParams: any = {};
|
|
1325
|
+
|
|
1326
|
+
// verify required parameter 'listID' is not null or undefined
|
|
1327
|
+
if (listID === null || listID === undefined) {
|
|
1328
|
+
throw new Error('Required parameter listID was null or undefined when calling fetchImportedListRecipientsByPage.');
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
if (pageSize !== undefined) {
|
|
1332
|
+
localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
if (pageNum !== undefined) {
|
|
1336
|
+
localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
if (isArchiveIncluded !== undefined) {
|
|
1340
|
+
localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1344
|
+
|
|
1345
|
+
let localVarUseFormData = false;
|
|
1346
|
+
|
|
1347
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1348
|
+
method: 'GET',
|
|
1349
|
+
qs: localVarQueryParameters,
|
|
1350
|
+
headers: localVarHeaderParams,
|
|
1351
|
+
uri: localVarPath,
|
|
1352
|
+
useQuerystring: this._useQuerystring,
|
|
1353
|
+
json: true,
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
let authenticationPromise = Promise.resolve();
|
|
1357
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1358
|
+
|
|
1359
|
+
let interceptorPromise = authenticationPromise;
|
|
1360
|
+
for (const interceptor of this.interceptors) {
|
|
1361
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
return interceptorPromise.then(() => {
|
|
1365
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1366
|
+
if (localVarUseFormData) {
|
|
1367
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1368
|
+
} else {
|
|
1369
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse20010; }>((resolve, reject) => {
|
|
1373
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1374
|
+
if (error) {
|
|
1375
|
+
reject(error);
|
|
1376
|
+
} else {
|
|
1377
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1378
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse20010");
|
|
1379
|
+
resolve({ response: response, body: body });
|
|
1380
|
+
} else {
|
|
1381
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
});
|
|
1385
|
+
});
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
806
1388
|
/**
|
|
807
1389
|
*
|
|
808
1390
|
* @summary Fetch opt in list subscribers
|
|
@@ -812,7 +1394,7 @@ export class SMSApi {
|
|
|
812
1394
|
* @param isArchiveIncluded
|
|
813
1395
|
*/
|
|
814
1396
|
public async fetchOptInListSubscribers (listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }> {
|
|
815
|
-
const localVarPath = this.basePath + '/
|
|
1397
|
+
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/{listID}'
|
|
816
1398
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
817
1399
|
let localVarQueryParameters: any = {};
|
|
818
1400
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -871,13 +1453,107 @@ export class SMSApi {
|
|
|
871
1453
|
localVarRequestOptions.form = localVarFormParams;
|
|
872
1454
|
}
|
|
873
1455
|
}
|
|
874
|
-
return new Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }>((resolve, reject) => {
|
|
1456
|
+
return new Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }>((resolve, reject) => {
|
|
1457
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1458
|
+
if (error) {
|
|
1459
|
+
reject(error);
|
|
1460
|
+
} else {
|
|
1461
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1462
|
+
body = ObjectSerializer.deserialize(body, "Array<OptInListSubscriber>");
|
|
1463
|
+
resolve({ response: response, body: body });
|
|
1464
|
+
} else {
|
|
1465
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
});
|
|
1469
|
+
});
|
|
1470
|
+
});
|
|
1471
|
+
}
|
|
1472
|
+
/**
|
|
1473
|
+
*
|
|
1474
|
+
* @summary Fetch opt in list subscribers by page
|
|
1475
|
+
* @param listID
|
|
1476
|
+
* @param pageSize
|
|
1477
|
+
* @param pageNum
|
|
1478
|
+
* @param isSubscribed
|
|
1479
|
+
* @param isPendingAge21Verification
|
|
1480
|
+
* @param isArchiveIncluded
|
|
1481
|
+
*/
|
|
1482
|
+
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: InlineResponse2009; }> {
|
|
1483
|
+
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/page/{listID}'
|
|
1484
|
+
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1485
|
+
let localVarQueryParameters: any = {};
|
|
1486
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1487
|
+
const produces = ['application/json'];
|
|
1488
|
+
// give precedence to 'application/json'
|
|
1489
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1490
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1491
|
+
} else {
|
|
1492
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1493
|
+
}
|
|
1494
|
+
let localVarFormParams: any = {};
|
|
1495
|
+
|
|
1496
|
+
// verify required parameter 'listID' is not null or undefined
|
|
1497
|
+
if (listID === null || listID === undefined) {
|
|
1498
|
+
throw new Error('Required parameter listID was null or undefined when calling fetchOptInListSubscribersByPage.');
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
if (pageSize !== undefined) {
|
|
1502
|
+
localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
if (pageNum !== undefined) {
|
|
1506
|
+
localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
if (isSubscribed !== undefined) {
|
|
1510
|
+
localVarQueryParameters['isSubscribed'] = ObjectSerializer.serialize(isSubscribed, "boolean");
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
if (isPendingAge21Verification !== undefined) {
|
|
1514
|
+
localVarQueryParameters['isPendingAge21Verification'] = ObjectSerializer.serialize(isPendingAge21Verification, "boolean");
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
if (isArchiveIncluded !== undefined) {
|
|
1518
|
+
localVarQueryParameters['isArchiveIncluded'] = ObjectSerializer.serialize(isArchiveIncluded, "boolean");
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1522
|
+
|
|
1523
|
+
let localVarUseFormData = false;
|
|
1524
|
+
|
|
1525
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1526
|
+
method: 'GET',
|
|
1527
|
+
qs: localVarQueryParameters,
|
|
1528
|
+
headers: localVarHeaderParams,
|
|
1529
|
+
uri: localVarPath,
|
|
1530
|
+
useQuerystring: this._useQuerystring,
|
|
1531
|
+
json: true,
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
let authenticationPromise = Promise.resolve();
|
|
1535
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1536
|
+
|
|
1537
|
+
let interceptorPromise = authenticationPromise;
|
|
1538
|
+
for (const interceptor of this.interceptors) {
|
|
1539
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
return interceptorPromise.then(() => {
|
|
1543
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1544
|
+
if (localVarUseFormData) {
|
|
1545
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1546
|
+
} else {
|
|
1547
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse2009; }>((resolve, reject) => {
|
|
875
1551
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
876
1552
|
if (error) {
|
|
877
1553
|
reject(error);
|
|
878
1554
|
} else {
|
|
879
1555
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
880
|
-
body = ObjectSerializer.deserialize(body, "
|
|
1556
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse2009");
|
|
881
1557
|
resolve({ response: response, body: body });
|
|
882
1558
|
} else {
|
|
883
1559
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -893,7 +1569,7 @@ export class SMSApi {
|
|
|
893
1569
|
* @param phoneNumberID
|
|
894
1570
|
*/
|
|
895
1571
|
public async fetchOptInListsAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
896
|
-
const localVarPath = this.basePath + '/
|
|
1572
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/lists/{phoneNumberID}'
|
|
897
1573
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
898
1574
|
let localVarQueryParameters: any = {};
|
|
899
1575
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -965,7 +1641,7 @@ export class SMSApi {
|
|
|
965
1641
|
* @param isArchiveIncluded
|
|
966
1642
|
*/
|
|
967
1643
|
public async fetchOptInSourceSubscribers (sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<OptInListSubscriber>; }> {
|
|
968
|
-
const localVarPath = this.basePath + '/
|
|
1644
|
+
const localVarPath = this.basePath + '/v2/sms/optInSource/subscribers/{sourceID}'
|
|
969
1645
|
.replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
|
|
970
1646
|
let localVarQueryParameters: any = {};
|
|
971
1647
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1046,7 +1722,7 @@ export class SMSApi {
|
|
|
1046
1722
|
* @param phoneNumberID
|
|
1047
1723
|
*/
|
|
1048
1724
|
public async fetchOptInSourcesAssociatedWithPhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1049
|
-
const localVarPath = this.basePath + '/
|
|
1725
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/sources/{phoneNumberID}'
|
|
1050
1726
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1051
1727
|
let localVarQueryParameters: any = {};
|
|
1052
1728
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1114,10 +1790,11 @@ export class SMSApi {
|
|
|
1114
1790
|
* @summary Fetch outbound SMS
|
|
1115
1791
|
* @param phoneNumberID
|
|
1116
1792
|
* @param toPhoneNumber
|
|
1793
|
+
* @param status
|
|
1117
1794
|
* @param paymentObjectBroadcastID
|
|
1118
1795
|
*/
|
|
1119
|
-
public async fetchOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1120
|
-
const localVarPath = this.basePath + '/
|
|
1796
|
+
public async fetchOutboundSMS (phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1797
|
+
const localVarPath = this.basePath + '/v2/sms/outbound/{phoneNumberID}'
|
|
1121
1798
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1122
1799
|
let localVarQueryParameters: any = {};
|
|
1123
1800
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1139,10 +1816,103 @@ export class SMSApi {
|
|
|
1139
1816
|
localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
|
|
1140
1817
|
}
|
|
1141
1818
|
|
|
1819
|
+
if (status !== undefined) {
|
|
1820
|
+
localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "string");
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
if (paymentObjectBroadcastID !== undefined) {
|
|
1824
|
+
localVarQueryParameters['paymentObjectBroadcastID'] = ObjectSerializer.serialize(paymentObjectBroadcastID, "string");
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1828
|
+
|
|
1829
|
+
let localVarUseFormData = false;
|
|
1830
|
+
|
|
1831
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1832
|
+
method: 'GET',
|
|
1833
|
+
qs: localVarQueryParameters,
|
|
1834
|
+
headers: localVarHeaderParams,
|
|
1835
|
+
uri: localVarPath,
|
|
1836
|
+
useQuerystring: this._useQuerystring,
|
|
1837
|
+
json: true,
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
let authenticationPromise = Promise.resolve();
|
|
1841
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1842
|
+
|
|
1843
|
+
let interceptorPromise = authenticationPromise;
|
|
1844
|
+
for (const interceptor of this.interceptors) {
|
|
1845
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
return interceptorPromise.then(() => {
|
|
1849
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1850
|
+
if (localVarUseFormData) {
|
|
1851
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1852
|
+
} else {
|
|
1853
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
|
|
1857
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1858
|
+
if (error) {
|
|
1859
|
+
reject(error);
|
|
1860
|
+
} else {
|
|
1861
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1862
|
+
body = ObjectSerializer.deserialize(body, "any");
|
|
1863
|
+
resolve({ response: response, body: body });
|
|
1864
|
+
} else {
|
|
1865
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
});
|
|
1869
|
+
});
|
|
1870
|
+
});
|
|
1871
|
+
}
|
|
1872
|
+
/**
|
|
1873
|
+
*
|
|
1874
|
+
* @summary Fetch outbound SMSes by page
|
|
1875
|
+
* @param phoneNumberID
|
|
1876
|
+
* @param toPhoneNumber
|
|
1877
|
+
* @param paymentObjectBroadcastID
|
|
1878
|
+
* @param pageSize
|
|
1879
|
+
* @param pageNum
|
|
1880
|
+
*/
|
|
1881
|
+
public async fetchOutboundSMSByPage (phoneNumberID: string, toPhoneNumber?: string, paymentObjectBroadcastID?: string, pageSize?: number, pageNum?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1882
|
+
const localVarPath = this.basePath + '/v2/sms/outbound/page/{phoneNumberID}'
|
|
1883
|
+
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1884
|
+
let localVarQueryParameters: any = {};
|
|
1885
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1886
|
+
const produces = ['application/json'];
|
|
1887
|
+
// give precedence to 'application/json'
|
|
1888
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1889
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1890
|
+
} else {
|
|
1891
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1892
|
+
}
|
|
1893
|
+
let localVarFormParams: any = {};
|
|
1894
|
+
|
|
1895
|
+
// verify required parameter 'phoneNumberID' is not null or undefined
|
|
1896
|
+
if (phoneNumberID === null || phoneNumberID === undefined) {
|
|
1897
|
+
throw new Error('Required parameter phoneNumberID was null or undefined when calling fetchOutboundSMSByPage.');
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
if (toPhoneNumber !== undefined) {
|
|
1901
|
+
localVarQueryParameters['toPhoneNumber'] = ObjectSerializer.serialize(toPhoneNumber, "string");
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1142
1904
|
if (paymentObjectBroadcastID !== undefined) {
|
|
1143
1905
|
localVarQueryParameters['paymentObjectBroadcastID'] = ObjectSerializer.serialize(paymentObjectBroadcastID, "string");
|
|
1144
1906
|
}
|
|
1145
1907
|
|
|
1908
|
+
if (pageSize !== undefined) {
|
|
1909
|
+
localVarQueryParameters['pageSize'] = ObjectSerializer.serialize(pageSize, "number");
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
if (pageNum !== undefined) {
|
|
1913
|
+
localVarQueryParameters['pageNum'] = ObjectSerializer.serialize(pageNum, "number");
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1146
1916
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1147
1917
|
|
|
1148
1918
|
let localVarUseFormData = false;
|
|
@@ -1194,7 +1964,7 @@ export class SMSApi {
|
|
|
1194
1964
|
* @param phoneNumberID
|
|
1195
1965
|
*/
|
|
1196
1966
|
public async fetchPaymentObjectBroadcasts (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1197
|
-
const localVarPath = this.basePath + '/
|
|
1967
|
+
const localVarPath = this.basePath + '/v2/sms/paymentObjectBroadcasts/{phoneNumberID}'
|
|
1198
1968
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1199
1969
|
let localVarQueryParameters: any = {};
|
|
1200
1970
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1262,7 +2032,7 @@ export class SMSApi {
|
|
|
1262
2032
|
* @summary Fetch SMS agreement
|
|
1263
2033
|
*/
|
|
1264
2034
|
public async fetchSMSAgreement (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1265
|
-
const localVarPath = this.basePath + '/
|
|
2035
|
+
const localVarPath = this.basePath + '/v2/sms/agreement';
|
|
1266
2036
|
let localVarQueryParameters: any = {};
|
|
1267
2037
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1268
2038
|
const produces = ['application/json'];
|
|
@@ -1323,10 +2093,10 @@ export class SMSApi {
|
|
|
1323
2093
|
*
|
|
1324
2094
|
* @summary Import imported list recipients
|
|
1325
2095
|
* @param importedListID
|
|
1326
|
-
* @param
|
|
2096
|
+
* @param inlineObject61
|
|
1327
2097
|
*/
|
|
1328
|
-
public async importImportedListRecipients (importedListID: string,
|
|
1329
|
-
const localVarPath = this.basePath + '/
|
|
2098
|
+
public async importImportedListRecipients (importedListID: string, inlineObject61: InlineObject61, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
2099
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/import/{importedListID}'
|
|
1330
2100
|
.replace('{' + 'importedListID' + '}', encodeURIComponent(String(importedListID)));
|
|
1331
2101
|
let localVarQueryParameters: any = {};
|
|
1332
2102
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1344,9 +2114,9 @@ export class SMSApi {
|
|
|
1344
2114
|
throw new Error('Required parameter importedListID was null or undefined when calling importImportedListRecipients.');
|
|
1345
2115
|
}
|
|
1346
2116
|
|
|
1347
|
-
// verify required parameter '
|
|
1348
|
-
if (
|
|
1349
|
-
throw new Error('Required parameter
|
|
2117
|
+
// verify required parameter 'inlineObject61' is not null or undefined
|
|
2118
|
+
if (inlineObject61 === null || inlineObject61 === undefined) {
|
|
2119
|
+
throw new Error('Required parameter inlineObject61 was null or undefined when calling importImportedListRecipients.');
|
|
1350
2120
|
}
|
|
1351
2121
|
|
|
1352
2122
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1360,7 +2130,7 @@ export class SMSApi {
|
|
|
1360
2130
|
uri: localVarPath,
|
|
1361
2131
|
useQuerystring: this._useQuerystring,
|
|
1362
2132
|
json: true,
|
|
1363
|
-
body: ObjectSerializer.serialize(
|
|
2133
|
+
body: ObjectSerializer.serialize(inlineObject61, "InlineObject61")
|
|
1364
2134
|
};
|
|
1365
2135
|
|
|
1366
2136
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1399,10 +2169,10 @@ export class SMSApi {
|
|
|
1399
2169
|
*
|
|
1400
2170
|
* @summary Import opt in list subscribers
|
|
1401
2171
|
* @param listID
|
|
1402
|
-
* @param
|
|
2172
|
+
* @param inlineObject58
|
|
1403
2173
|
*/
|
|
1404
|
-
public async importOptInListSubscribers (listID: string,
|
|
1405
|
-
const localVarPath = this.basePath + '/
|
|
2174
|
+
public async importOptInListSubscribers (listID: string, inlineObject58: InlineObject58, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
2175
|
+
const localVarPath = this.basePath + '/v2/sms/optInList/subscribers/import/{listID}'
|
|
1406
2176
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1407
2177
|
let localVarQueryParameters: any = {};
|
|
1408
2178
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1420,9 +2190,9 @@ export class SMSApi {
|
|
|
1420
2190
|
throw new Error('Required parameter listID was null or undefined when calling importOptInListSubscribers.');
|
|
1421
2191
|
}
|
|
1422
2192
|
|
|
1423
|
-
// verify required parameter '
|
|
1424
|
-
if (
|
|
1425
|
-
throw new Error('Required parameter
|
|
2193
|
+
// verify required parameter 'inlineObject58' is not null or undefined
|
|
2194
|
+
if (inlineObject58 === null || inlineObject58 === undefined) {
|
|
2195
|
+
throw new Error('Required parameter inlineObject58 was null or undefined when calling importOptInListSubscribers.');
|
|
1426
2196
|
}
|
|
1427
2197
|
|
|
1428
2198
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1436,7 +2206,7 @@ export class SMSApi {
|
|
|
1436
2206
|
uri: localVarPath,
|
|
1437
2207
|
useQuerystring: this._useQuerystring,
|
|
1438
2208
|
json: true,
|
|
1439
|
-
body: ObjectSerializer.serialize(
|
|
2209
|
+
body: ObjectSerializer.serialize(inlineObject58, "InlineObject58")
|
|
1440
2210
|
};
|
|
1441
2211
|
|
|
1442
2212
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1477,7 +2247,7 @@ export class SMSApi {
|
|
|
1477
2247
|
* @param phoneNumberID
|
|
1478
2248
|
*/
|
|
1479
2249
|
public async restorePhoneNumber (phoneNumberID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: PhoneNumber; }> {
|
|
1480
|
-
const localVarPath = this.basePath + '/
|
|
2250
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
|
|
1481
2251
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1482
2252
|
let localVarQueryParameters: any = {};
|
|
1483
2253
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1542,13 +2312,12 @@ export class SMSApi {
|
|
|
1542
2312
|
}
|
|
1543
2313
|
/**
|
|
1544
2314
|
*
|
|
1545
|
-
* @summary
|
|
1546
|
-
* @param
|
|
1547
|
-
* @param inlineObject61
|
|
2315
|
+
* @summary Restore recipient
|
|
2316
|
+
* @param id
|
|
1548
2317
|
*/
|
|
1549
|
-
public async
|
|
1550
|
-
const localVarPath = this.basePath + '/
|
|
1551
|
-
.replace('{' + '
|
|
2318
|
+
public async restoreRecipient (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }> {
|
|
2319
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/recipients/{id}'
|
|
2320
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
1552
2321
|
let localVarQueryParameters: any = {};
|
|
1553
2322
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1554
2323
|
const produces = ['application/json'];
|
|
@@ -1560,28 +2329,84 @@ export class SMSApi {
|
|
|
1560
2329
|
}
|
|
1561
2330
|
let localVarFormParams: any = {};
|
|
1562
2331
|
|
|
1563
|
-
// verify required parameter '
|
|
1564
|
-
if (
|
|
1565
|
-
throw new Error('Required parameter
|
|
2332
|
+
// verify required parameter 'id' is not null or undefined
|
|
2333
|
+
if (id === null || id === undefined) {
|
|
2334
|
+
throw new Error('Required parameter id was null or undefined when calling restoreRecipient.');
|
|
1566
2335
|
}
|
|
1567
2336
|
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
2337
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
2338
|
+
|
|
2339
|
+
let localVarUseFormData = false;
|
|
2340
|
+
|
|
2341
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
2342
|
+
method: 'PATCH',
|
|
2343
|
+
qs: localVarQueryParameters,
|
|
2344
|
+
headers: localVarHeaderParams,
|
|
2345
|
+
uri: localVarPath,
|
|
2346
|
+
useQuerystring: this._useQuerystring,
|
|
2347
|
+
json: true,
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
let authenticationPromise = Promise.resolve();
|
|
2351
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
2352
|
+
|
|
2353
|
+
let interceptorPromise = authenticationPromise;
|
|
2354
|
+
for (const interceptor of this.interceptors) {
|
|
2355
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
return interceptorPromise.then(() => {
|
|
2359
|
+
if (Object.keys(localVarFormParams).length) {
|
|
2360
|
+
if (localVarUseFormData) {
|
|
2361
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
2362
|
+
} else {
|
|
2363
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
return new Promise<{ response: http.IncomingMessage; body: ImportedListRecipient; }>((resolve, reject) => {
|
|
2367
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
2368
|
+
if (error) {
|
|
2369
|
+
reject(error);
|
|
2370
|
+
} else {
|
|
2371
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2372
|
+
body = ObjectSerializer.deserialize(body, "ImportedListRecipient");
|
|
2373
|
+
resolve({ response: response, body: body });
|
|
2374
|
+
} else {
|
|
2375
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
});
|
|
2380
|
+
});
|
|
2381
|
+
}
|
|
2382
|
+
/**
|
|
2383
|
+
*
|
|
2384
|
+
* @summary Retrieve the number of messages sent by the merchant within the current billing cycle
|
|
2385
|
+
*/
|
|
2386
|
+
public async retrieveSentAndMaxCountOfMessages (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: InlineResponse20011; }> {
|
|
2387
|
+
const localVarPath = this.basePath + '/v2/sms/sent';
|
|
2388
|
+
let localVarQueryParameters: any = {};
|
|
2389
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
2390
|
+
const produces = ['application/json'];
|
|
2391
|
+
// give precedence to 'application/json'
|
|
2392
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
2393
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
2394
|
+
} else {
|
|
2395
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1571
2396
|
}
|
|
2397
|
+
let localVarFormParams: any = {};
|
|
1572
2398
|
|
|
1573
2399
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1574
2400
|
|
|
1575
2401
|
let localVarUseFormData = false;
|
|
1576
2402
|
|
|
1577
2403
|
let localVarRequestOptions: localVarRequest.Options = {
|
|
1578
|
-
method: '
|
|
2404
|
+
method: 'GET',
|
|
1579
2405
|
qs: localVarQueryParameters,
|
|
1580
2406
|
headers: localVarHeaderParams,
|
|
1581
2407
|
uri: localVarPath,
|
|
1582
2408
|
useQuerystring: this._useQuerystring,
|
|
1583
2409
|
json: true,
|
|
1584
|
-
body: ObjectSerializer.serialize(inlineObject61, "InlineObject61")
|
|
1585
2410
|
};
|
|
1586
2411
|
|
|
1587
2412
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1600,13 +2425,13 @@ export class SMSApi {
|
|
|
1600
2425
|
localVarRequestOptions.form = localVarFormParams;
|
|
1601
2426
|
}
|
|
1602
2427
|
}
|
|
1603
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2428
|
+
return new Promise<{ response: http.IncomingMessage; body: InlineResponse20011; }>((resolve, reject) => {
|
|
1604
2429
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1605
2430
|
if (error) {
|
|
1606
2431
|
reject(error);
|
|
1607
2432
|
} else {
|
|
1608
2433
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1609
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2434
|
+
body = ObjectSerializer.deserialize(body, "InlineResponse20011");
|
|
1610
2435
|
resolve({ response: response, body: body });
|
|
1611
2436
|
} else {
|
|
1612
2437
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1618,12 +2443,12 @@ export class SMSApi {
|
|
|
1618
2443
|
}
|
|
1619
2444
|
/**
|
|
1620
2445
|
*
|
|
1621
|
-
* @summary Save
|
|
2446
|
+
* @summary Save imported list
|
|
1622
2447
|
* @param listID
|
|
1623
|
-
* @param
|
|
2448
|
+
* @param inlineObject60
|
|
1624
2449
|
*/
|
|
1625
|
-
public async
|
|
1626
|
-
const localVarPath = this.basePath + '/
|
|
2450
|
+
public async saveImportedList (listID: string, inlineObject60: InlineObject60, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
2451
|
+
const localVarPath = this.basePath + '/v2/sms/importedList/{listID}'
|
|
1627
2452
|
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1628
2453
|
let localVarQueryParameters: any = {};
|
|
1629
2454
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1638,12 +2463,12 @@ export class SMSApi {
|
|
|
1638
2463
|
|
|
1639
2464
|
// verify required parameter 'listID' is not null or undefined
|
|
1640
2465
|
if (listID === null || listID === undefined) {
|
|
1641
|
-
throw new Error('Required parameter listID was null or undefined when calling
|
|
2466
|
+
throw new Error('Required parameter listID was null or undefined when calling saveImportedList.');
|
|
1642
2467
|
}
|
|
1643
2468
|
|
|
1644
|
-
// verify required parameter '
|
|
1645
|
-
if (
|
|
1646
|
-
throw new Error('Required parameter
|
|
2469
|
+
// verify required parameter 'inlineObject60' is not null or undefined
|
|
2470
|
+
if (inlineObject60 === null || inlineObject60 === undefined) {
|
|
2471
|
+
throw new Error('Required parameter inlineObject60 was null or undefined when calling saveImportedList.');
|
|
1647
2472
|
}
|
|
1648
2473
|
|
|
1649
2474
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1657,7 +2482,7 @@ export class SMSApi {
|
|
|
1657
2482
|
uri: localVarPath,
|
|
1658
2483
|
useQuerystring: this._useQuerystring,
|
|
1659
2484
|
json: true,
|
|
1660
|
-
body: ObjectSerializer.serialize(
|
|
2485
|
+
body: ObjectSerializer.serialize(inlineObject60, "InlineObject60")
|
|
1661
2486
|
};
|
|
1662
2487
|
|
|
1663
2488
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1694,13 +2519,13 @@ export class SMSApi {
|
|
|
1694
2519
|
}
|
|
1695
2520
|
/**
|
|
1696
2521
|
*
|
|
1697
|
-
* @summary Save opt in list
|
|
1698
|
-
* @param
|
|
1699
|
-
* @param
|
|
2522
|
+
* @summary Save opt in list
|
|
2523
|
+
* @param listID
|
|
2524
|
+
* @param inlineObject55
|
|
1700
2525
|
*/
|
|
1701
|
-
public async
|
|
1702
|
-
const localVarPath = this.basePath + '/
|
|
1703
|
-
.replace('{' + '
|
|
2526
|
+
public async saveOptInList (listID: string, inlineObject55: InlineObject55, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
2527
|
+
const localVarPath = this.basePath + '/v2/sms/optInList/{listID}'
|
|
2528
|
+
.replace('{' + 'listID' + '}', encodeURIComponent(String(listID)));
|
|
1704
2529
|
let localVarQueryParameters: any = {};
|
|
1705
2530
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1706
2531
|
const produces = ['application/json'];
|
|
@@ -1712,14 +2537,14 @@ export class SMSApi {
|
|
|
1712
2537
|
}
|
|
1713
2538
|
let localVarFormParams: any = {};
|
|
1714
2539
|
|
|
1715
|
-
// verify required parameter '
|
|
1716
|
-
if (
|
|
1717
|
-
throw new Error('Required parameter
|
|
2540
|
+
// verify required parameter 'listID' is not null or undefined
|
|
2541
|
+
if (listID === null || listID === undefined) {
|
|
2542
|
+
throw new Error('Required parameter listID was null or undefined when calling saveOptInList.');
|
|
1718
2543
|
}
|
|
1719
2544
|
|
|
1720
|
-
// verify required parameter '
|
|
1721
|
-
if (
|
|
1722
|
-
throw new Error('Required parameter
|
|
2545
|
+
// verify required parameter 'inlineObject55' is not null or undefined
|
|
2546
|
+
if (inlineObject55 === null || inlineObject55 === undefined) {
|
|
2547
|
+
throw new Error('Required parameter inlineObject55 was null or undefined when calling saveOptInList.');
|
|
1723
2548
|
}
|
|
1724
2549
|
|
|
1725
2550
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1733,7 +2558,7 @@ export class SMSApi {
|
|
|
1733
2558
|
uri: localVarPath,
|
|
1734
2559
|
useQuerystring: this._useQuerystring,
|
|
1735
2560
|
json: true,
|
|
1736
|
-
body: ObjectSerializer.serialize(
|
|
2561
|
+
body: ObjectSerializer.serialize(inlineObject55, "InlineObject55")
|
|
1737
2562
|
};
|
|
1738
2563
|
|
|
1739
2564
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1752,13 +2577,13 @@ export class SMSApi {
|
|
|
1752
2577
|
localVarRequestOptions.form = localVarFormParams;
|
|
1753
2578
|
}
|
|
1754
2579
|
}
|
|
1755
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2580
|
+
return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
|
|
1756
2581
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1757
2582
|
if (error) {
|
|
1758
2583
|
reject(error);
|
|
1759
2584
|
} else {
|
|
1760
2585
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1761
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2586
|
+
body = ObjectSerializer.deserialize(body, "any");
|
|
1762
2587
|
resolve({ response: response, body: body });
|
|
1763
2588
|
} else {
|
|
1764
2589
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1770,13 +2595,13 @@ export class SMSApi {
|
|
|
1770
2595
|
}
|
|
1771
2596
|
/**
|
|
1772
2597
|
*
|
|
1773
|
-
* @summary
|
|
1774
|
-
* @param
|
|
1775
|
-
* @param
|
|
2598
|
+
* @summary Save opt in list source
|
|
2599
|
+
* @param sourceID
|
|
2600
|
+
* @param inlineObject57
|
|
1776
2601
|
*/
|
|
1777
|
-
public async
|
|
1778
|
-
const localVarPath = this.basePath + '/
|
|
1779
|
-
.replace('{' + '
|
|
2602
|
+
public async saveOptInListSource (sourceID: string, inlineObject57: InlineObject57, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: OptInListSource; }> {
|
|
2603
|
+
const localVarPath = this.basePath + '/v2/sms/optInListSource/{sourceID}'
|
|
2604
|
+
.replace('{' + 'sourceID' + '}', encodeURIComponent(String(sourceID)));
|
|
1780
2605
|
let localVarQueryParameters: any = {};
|
|
1781
2606
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1782
2607
|
const produces = ['application/json'];
|
|
@@ -1788,14 +2613,14 @@ export class SMSApi {
|
|
|
1788
2613
|
}
|
|
1789
2614
|
let localVarFormParams: any = {};
|
|
1790
2615
|
|
|
1791
|
-
// verify required parameter '
|
|
1792
|
-
if (
|
|
1793
|
-
throw new Error('Required parameter
|
|
2616
|
+
// verify required parameter 'sourceID' is not null or undefined
|
|
2617
|
+
if (sourceID === null || sourceID === undefined) {
|
|
2618
|
+
throw new Error('Required parameter sourceID was null or undefined when calling saveOptInListSource.');
|
|
1794
2619
|
}
|
|
1795
2620
|
|
|
1796
|
-
// verify required parameter '
|
|
1797
|
-
if (
|
|
1798
|
-
throw new Error('Required parameter
|
|
2621
|
+
// verify required parameter 'inlineObject57' is not null or undefined
|
|
2622
|
+
if (inlineObject57 === null || inlineObject57 === undefined) {
|
|
2623
|
+
throw new Error('Required parameter inlineObject57 was null or undefined when calling saveOptInListSource.');
|
|
1799
2624
|
}
|
|
1800
2625
|
|
|
1801
2626
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1809,7 +2634,7 @@ export class SMSApi {
|
|
|
1809
2634
|
uri: localVarPath,
|
|
1810
2635
|
useQuerystring: this._useQuerystring,
|
|
1811
2636
|
json: true,
|
|
1812
|
-
body: ObjectSerializer.serialize(
|
|
2637
|
+
body: ObjectSerializer.serialize(inlineObject57, "InlineObject57")
|
|
1813
2638
|
};
|
|
1814
2639
|
|
|
1815
2640
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1828,13 +2653,13 @@ export class SMSApi {
|
|
|
1828
2653
|
localVarRequestOptions.form = localVarFormParams;
|
|
1829
2654
|
}
|
|
1830
2655
|
}
|
|
1831
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2656
|
+
return new Promise<{ response: http.IncomingMessage; body: OptInListSource; }>((resolve, reject) => {
|
|
1832
2657
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1833
2658
|
if (error) {
|
|
1834
2659
|
reject(error);
|
|
1835
2660
|
} else {
|
|
1836
2661
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1837
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2662
|
+
body = ObjectSerializer.deserialize(body, "OptInListSource");
|
|
1838
2663
|
resolve({ response: response, body: body });
|
|
1839
2664
|
} else {
|
|
1840
2665
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1846,13 +2671,13 @@ export class SMSApi {
|
|
|
1846
2671
|
}
|
|
1847
2672
|
/**
|
|
1848
2673
|
*
|
|
1849
|
-
* @summary
|
|
1850
|
-
* @param
|
|
1851
|
-
* @param
|
|
2674
|
+
* @summary Request phone number verification
|
|
2675
|
+
* @param phoneNumberID
|
|
2676
|
+
* @param inlineObject53
|
|
1852
2677
|
*/
|
|
1853
|
-
public async
|
|
1854
|
-
const localVarPath = this.basePath + '/
|
|
1855
|
-
.replace('{' + '
|
|
2678
|
+
public async sendPhoneNumberForVerification (phoneNumberID: string, inlineObject53: InlineObject53, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
2679
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/verification/{phoneNumberID}'
|
|
2680
|
+
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1856
2681
|
let localVarQueryParameters: any = {};
|
|
1857
2682
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1858
2683
|
const produces = ['application/json'];
|
|
@@ -1864,14 +2689,14 @@ export class SMSApi {
|
|
|
1864
2689
|
}
|
|
1865
2690
|
let localVarFormParams: any = {};
|
|
1866
2691
|
|
|
1867
|
-
// verify required parameter '
|
|
1868
|
-
if (
|
|
1869
|
-
throw new Error('Required parameter
|
|
2692
|
+
// verify required parameter 'phoneNumberID' is not null or undefined
|
|
2693
|
+
if (phoneNumberID === null || phoneNumberID === undefined) {
|
|
2694
|
+
throw new Error('Required parameter phoneNumberID was null or undefined when calling sendPhoneNumberForVerification.');
|
|
1870
2695
|
}
|
|
1871
2696
|
|
|
1872
|
-
// verify required parameter '
|
|
1873
|
-
if (
|
|
1874
|
-
throw new Error('Required parameter
|
|
2697
|
+
// verify required parameter 'inlineObject53' is not null or undefined
|
|
2698
|
+
if (inlineObject53 === null || inlineObject53 === undefined) {
|
|
2699
|
+
throw new Error('Required parameter inlineObject53 was null or undefined when calling sendPhoneNumberForVerification.');
|
|
1875
2700
|
}
|
|
1876
2701
|
|
|
1877
2702
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -1879,13 +2704,13 @@ export class SMSApi {
|
|
|
1879
2704
|
let localVarUseFormData = false;
|
|
1880
2705
|
|
|
1881
2706
|
let localVarRequestOptions: localVarRequest.Options = {
|
|
1882
|
-
method: '
|
|
2707
|
+
method: 'PUT',
|
|
1883
2708
|
qs: localVarQueryParameters,
|
|
1884
2709
|
headers: localVarHeaderParams,
|
|
1885
2710
|
uri: localVarPath,
|
|
1886
2711
|
useQuerystring: this._useQuerystring,
|
|
1887
2712
|
json: true,
|
|
1888
|
-
body: ObjectSerializer.serialize(
|
|
2713
|
+
body: ObjectSerializer.serialize(inlineObject53, "InlineObject53")
|
|
1889
2714
|
};
|
|
1890
2715
|
|
|
1891
2716
|
let authenticationPromise = Promise.resolve();
|
|
@@ -1904,13 +2729,13 @@ export class SMSApi {
|
|
|
1904
2729
|
localVarRequestOptions.form = localVarFormParams;
|
|
1905
2730
|
}
|
|
1906
2731
|
}
|
|
1907
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
2732
|
+
return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
|
|
1908
2733
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1909
2734
|
if (error) {
|
|
1910
2735
|
reject(error);
|
|
1911
2736
|
} else {
|
|
1912
2737
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1913
|
-
body = ObjectSerializer.deserialize(body, "
|
|
2738
|
+
body = ObjectSerializer.deserialize(body, "string");
|
|
1914
2739
|
resolve({ response: response, body: body });
|
|
1915
2740
|
} else {
|
|
1916
2741
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -1927,7 +2752,7 @@ export class SMSApi {
|
|
|
1927
2752
|
* @param inlineObject54
|
|
1928
2753
|
*/
|
|
1929
2754
|
public async updatePhoneNumber (phoneNumberID: string, inlineObject54: InlineObject54, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1930
|
-
const localVarPath = this.basePath + '/
|
|
2755
|
+
const localVarPath = this.basePath + '/v2/sms/phoneNumber/{phoneNumberID}'
|
|
1931
2756
|
.replace('{' + 'phoneNumberID' + '}', encodeURIComponent(String(phoneNumberID)));
|
|
1932
2757
|
let localVarQueryParameters: any = {};
|
|
1933
2758
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|