wallet 1.1.5 → 2.1.505
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 +253 -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 +226 -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 +406 -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 +122 -0
- package/dist/api/interactionsApi.js +759 -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 +243 -0
- package/dist/api/merchantApi.js +1673 -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 +30 -0
- package/dist/model/employee.js +98 -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 +21 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +53 -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 +30 -0
- package/dist/model/wTEmployee.js +98 -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 +22 -0
- package/dist/model/wTEmployeeCreate.js +58 -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 +21 -0
- package/dist/model/wTEmployeeUpdate.js +53 -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 +19 -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 +19 -1
- package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +1 -1
- package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +1 -1
- package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +1 -1
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
- package/model/plan.ts +1 -1
- package/model/portalPage.ts +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 +19 -1
- package/model/wTEmployeeAPIKey.ts +82 -0
- package/model/wTEmployeeAPIKeyCreateParams.ts +37 -0
- package/model/wTEmployeeAPIKeyUpdateParams.ts +37 -0
- package/model/wTEmployeeCreate.ts +19 -1
- package/model/wTEmployeeNotification.ts +49 -0
- package/model/wTEmployeeUpdate.ts +19 -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 +11 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -11,6 +11,7 @@ api/countriesApi.ts
|
|
|
11
11
|
api/customerApi.ts
|
|
12
12
|
api/dashboardApi.ts
|
|
13
13
|
api/dynamicVouchersApi.ts
|
|
14
|
+
api/employeeAPIKeysApi.ts
|
|
14
15
|
api/employeeAccessApi.ts
|
|
15
16
|
api/employeesApi.ts
|
|
16
17
|
api/industriesApi.ts
|
|
@@ -67,8 +68,9 @@ model/duplicateRowFound.ts
|
|
|
67
68
|
model/dynamicVoucher.ts
|
|
68
69
|
model/dynamicVoucherBroadcast.ts
|
|
69
70
|
model/employee.ts
|
|
71
|
+
model/employeeAPIKey.ts
|
|
70
72
|
model/employeeActivityLog.ts
|
|
71
|
-
model/
|
|
73
|
+
model/entityTooLarge.ts
|
|
72
74
|
model/exportDataFile.ts
|
|
73
75
|
model/falsumError.ts
|
|
74
76
|
model/falsumField.ts
|
|
@@ -144,7 +146,6 @@ model/inlineObject65.ts
|
|
|
144
146
|
model/inlineObject66.ts
|
|
145
147
|
model/inlineObject67.ts
|
|
146
148
|
model/inlineObject68.ts
|
|
147
|
-
model/inlineObject69.ts
|
|
148
149
|
model/inlineObject7.ts
|
|
149
150
|
model/inlineObject8.ts
|
|
150
151
|
model/inlineObject9.ts
|
|
@@ -152,6 +153,9 @@ model/inlineResponse200.ts
|
|
|
152
153
|
model/inlineResponse2001.ts
|
|
153
154
|
model/inlineResponse20010.ts
|
|
154
155
|
model/inlineResponse20011.ts
|
|
156
|
+
model/inlineResponse20012.ts
|
|
157
|
+
model/inlineResponse20013.ts
|
|
158
|
+
model/inlineResponse20014.ts
|
|
155
159
|
model/inlineResponse2002.ts
|
|
156
160
|
model/inlineResponse2003.ts
|
|
157
161
|
model/inlineResponse2004.ts
|
|
@@ -193,11 +197,14 @@ model/optInListSubscriber.ts
|
|
|
193
197
|
model/outboundSMS.ts
|
|
194
198
|
model/paginatedWTMembers.ts
|
|
195
199
|
model/paginatedWTMerchantCredits.ts
|
|
200
|
+
model/paginationRequestWithIDAndWithoutSortOptions.ts
|
|
196
201
|
model/paginationRequestWithSortOptions.ts
|
|
197
202
|
model/paymentDesign.ts
|
|
198
203
|
model/performance.ts
|
|
199
204
|
model/phoneNumber.ts
|
|
200
205
|
model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts
|
|
206
|
+
model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts
|
|
207
|
+
model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts
|
|
201
208
|
model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts
|
|
202
209
|
model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts
|
|
203
210
|
model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts
|
|
@@ -206,9 +213,11 @@ model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithou
|
|
|
206
213
|
model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts
|
|
207
214
|
model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts
|
|
208
215
|
model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.ts
|
|
216
|
+
model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts
|
|
209
217
|
model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts
|
|
210
218
|
model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts
|
|
211
219
|
model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts
|
|
220
|
+
model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts
|
|
212
221
|
model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts
|
|
213
222
|
model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts
|
|
214
223
|
model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts
|
|
@@ -216,7 +225,6 @@ model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyT
|
|
|
216
225
|
model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts
|
|
217
226
|
model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts
|
|
218
227
|
model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts
|
|
219
|
-
model/pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID.ts
|
|
220
228
|
model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts
|
|
221
229
|
model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts
|
|
222
230
|
model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts
|
|
@@ -236,6 +244,7 @@ model/request.ts
|
|
|
236
244
|
model/response.ts
|
|
237
245
|
model/role.ts
|
|
238
246
|
model/roleAuditLog.ts
|
|
247
|
+
model/sSImportedListRecipientCreateParams.ts
|
|
239
248
|
model/sSOptInSource.ts
|
|
240
249
|
model/simpleSMSBroadcast.ts
|
|
241
250
|
model/staticVoucher.ts
|
|
@@ -257,6 +266,7 @@ model/vSCampaignGeneratedMessage.ts
|
|
|
257
266
|
model/vSCampaignGeneratedMessagePagination.ts
|
|
258
267
|
model/vSDynamicVoucherStatus.ts
|
|
259
268
|
model/wTAdvertisementCredit.ts
|
|
269
|
+
model/wTAdvertisementCreditCreateParams.ts
|
|
260
270
|
model/wTAdvertisementCreditScan.ts
|
|
261
271
|
model/wTAdvertisementCreditUpdateParams.ts
|
|
262
272
|
model/wTDynamicVoucher.ts
|
|
@@ -265,7 +275,11 @@ model/wTDynamicVoucherRedemption.ts
|
|
|
265
275
|
model/wTDynamicVoucherSummary.ts
|
|
266
276
|
model/wTDynamicVoucherUpdateParams.ts
|
|
267
277
|
model/wTEmployee.ts
|
|
278
|
+
model/wTEmployeeAPIKey.ts
|
|
279
|
+
model/wTEmployeeAPIKeyCreateParams.ts
|
|
280
|
+
model/wTEmployeeAPIKeyUpdateParams.ts
|
|
268
281
|
model/wTEmployeeCreate.ts
|
|
282
|
+
model/wTEmployeeNotification.ts
|
|
269
283
|
model/wTEmployeeUpdate.ts
|
|
270
284
|
model/wTImportedList.ts
|
|
271
285
|
model/wTLinkBookCreateParams.ts
|
|
@@ -303,6 +317,7 @@ model/wTStaticVoucherCreateParams.ts
|
|
|
303
317
|
model/wTStaticVoucherUpdateParams.ts
|
|
304
318
|
model/wTWalletPageView.ts
|
|
305
319
|
model/wTWalletPageViewGeoPoint.ts
|
|
320
|
+
model/walletConfiguration.ts
|
|
306
321
|
model/walletPageView.ts
|
|
307
322
|
model/webpage.ts
|
|
308
323
|
package.json
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|

|
|
3
3
|
|
|
4
|
-
> Access to this module is presently restricted to customers of Wallet Inc.
|
|
4
|
+
> Access to this module is presently restricted to customers of Wallet Inc. Reach out on [Discord](https://discord.gg/xzwhcNCjcQ) for help.
|
|
5
5
|
|
|
6
6
|
## Summary
|
|
7
7
|
|
|
@@ -13,6 +13,13 @@ This module provides a server-side SDK for integrating with the CRM & Digital Pa
|
|
|
13
13
|
npm install wallet
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
## To test examples
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
cd examples
|
|
20
|
+
npm install # Install ts-node to run typescript examples without transpilation
|
|
21
|
+
```
|
|
22
|
+
|
|
16
23
|
## Usage
|
|
17
24
|
|
|
18
25
|
|
|
@@ -20,9 +27,12 @@ npm install wallet
|
|
|
20
27
|
|
|
21
28
|
```nodejs
|
|
22
29
|
import * as api from "../api";
|
|
30
|
+
import * as constants from "./constants";
|
|
31
|
+
|
|
32
|
+
membershipTiers();
|
|
23
33
|
|
|
24
34
|
async function membershipTiers() {
|
|
25
|
-
let tiersClient = new api.MembershipTiersApi();
|
|
35
|
+
let tiersClient = new api.MembershipTiersApi(constants.domain);
|
|
26
36
|
|
|
27
37
|
// Create new membership tier
|
|
28
38
|
let tier = await tiersClient.createMembershipTier({
|
|
@@ -31,7 +41,7 @@ async function membershipTiers() {
|
|
|
31
41
|
tierDiscount: 20,
|
|
32
42
|
tierDesignID: "JSUilOPE98",
|
|
33
43
|
pointsDesignID: "L918AJ7356"
|
|
34
|
-
}).catch(err => {
|
|
44
|
+
}, constants.headers).catch(err => {
|
|
35
45
|
throw err;
|
|
36
46
|
}).then(resp => {
|
|
37
47
|
return resp.body
|
|
@@ -43,14 +53,14 @@ async function membershipTiers() {
|
|
|
43
53
|
tier = await tiersClient.updateMembershipTier(tier.id, {
|
|
44
54
|
...tier,
|
|
45
55
|
tierName: "SILVER"
|
|
46
|
-
}).catch(err => {
|
|
56
|
+
}, constants.headers).catch(err => {
|
|
47
57
|
throw err;
|
|
48
58
|
}).then(resp => {
|
|
49
59
|
return resp.body
|
|
50
60
|
});
|
|
51
61
|
|
|
52
62
|
// Archive the membership tier
|
|
53
|
-
tier = await tiersClient.archiveMembershipTier(tier.id)
|
|
63
|
+
tier = await tiersClient.archiveMembershipTier(tier.id, constants.headers)
|
|
54
64
|
.catch(err => {
|
|
55
65
|
throw err;
|
|
56
66
|
}).then(resp => {
|
|
@@ -60,7 +70,7 @@ async function membershipTiers() {
|
|
|
60
70
|
console.log(tier.isActive); // This will be false, since the tier has just been archived
|
|
61
71
|
|
|
62
72
|
// Restore the membership tier
|
|
63
|
-
tier = await tiersClient.restoreMembershipTier(tier.id)
|
|
73
|
+
tier = await tiersClient.restoreMembershipTier(tier.id, constants.headers)
|
|
64
74
|
.catch(err => {
|
|
65
75
|
throw err;
|
|
66
76
|
}).then(resp => {
|
|
@@ -75,6 +85,9 @@ async function membershipTiers() {
|
|
|
75
85
|
|
|
76
86
|
```nodejs
|
|
77
87
|
import * as api from "../api";
|
|
88
|
+
import * as constants from "./constants";
|
|
89
|
+
|
|
90
|
+
paymentDesigns();
|
|
78
91
|
|
|
79
92
|
async function paymentDesigns() {
|
|
80
93
|
let designClient = new api.PaymentDesignsApi();
|
|
@@ -92,7 +105,7 @@ async function paymentDesigns() {
|
|
|
92
105
|
icon: "fa-anchor",
|
|
93
106
|
designName: "Thanksgiving Design",
|
|
94
107
|
displayName: "Decorator",
|
|
95
|
-
}).catch(err => {
|
|
108
|
+
}, constants.headers).catch(err => {
|
|
96
109
|
throw err;
|
|
97
110
|
}).then(resp => {
|
|
98
111
|
return resp.body
|
|
@@ -106,14 +119,14 @@ async function paymentDesigns() {
|
|
|
106
119
|
...design,
|
|
107
120
|
borderColor: "#050505",
|
|
108
121
|
borderSize: "6px",
|
|
109
|
-
}).catch(err => {
|
|
122
|
+
}, constants.headers).catch(err => {
|
|
110
123
|
throw err;
|
|
111
124
|
}).then(resp => {
|
|
112
125
|
return resp.body
|
|
113
126
|
});
|
|
114
127
|
|
|
115
128
|
// Archive the payment design
|
|
116
|
-
design = await designClient.archivePaymentDesign(design.id)
|
|
129
|
+
design = await designClient.archivePaymentDesign(design.id, constants.headers)
|
|
117
130
|
.catch(err => {
|
|
118
131
|
throw err;
|
|
119
132
|
}).then(resp => {
|
|
@@ -123,7 +136,7 @@ async function paymentDesigns() {
|
|
|
123
136
|
console.log(design.isActive); // This will be false, since the design has just been archived
|
|
124
137
|
|
|
125
138
|
// Restore the payment design
|
|
126
|
-
design = await designClient.restorePaymentDesign(design.id)
|
|
139
|
+
design = await designClient.restorePaymentDesign(design.id, constants.headers)
|
|
127
140
|
.catch(err => {
|
|
128
141
|
throw err;
|
|
129
142
|
}).then(resp => {
|
|
@@ -137,9 +150,12 @@ async function paymentDesigns() {
|
|
|
137
150
|
|
|
138
151
|
```nodejs
|
|
139
152
|
import * as api from "../api";
|
|
153
|
+
import * as constants from "./constants";
|
|
154
|
+
|
|
155
|
+
clubMembers();
|
|
140
156
|
|
|
141
157
|
async function clubMembers() {
|
|
142
|
-
let membersClient = new api.ClubMembersPointsApi();
|
|
158
|
+
let membersClient = new api.ClubMembersPointsApi(constants.domain);
|
|
143
159
|
|
|
144
160
|
// Create new club member
|
|
145
161
|
let member = await membersClient.createMember({
|
|
@@ -149,7 +165,7 @@ async function clubMembers() {
|
|
|
149
165
|
mobileNumber: "+1807654543",
|
|
150
166
|
pointsAccrued: 2000,
|
|
151
167
|
memberID: "MEM001"
|
|
152
|
-
}).catch(err => {
|
|
168
|
+
}, constants.headers).catch(err => {
|
|
153
169
|
throw err;
|
|
154
170
|
}).then(resp => {
|
|
155
171
|
return resp.body
|
|
@@ -161,14 +177,14 @@ async function clubMembers() {
|
|
|
161
177
|
member = await membersClient.updateMember(member.id, {
|
|
162
178
|
...member,
|
|
163
179
|
mobileNumber: "+1809863542"
|
|
164
|
-
}).catch(err => {
|
|
180
|
+
}, constants.headers).catch(err => {
|
|
165
181
|
throw err;
|
|
166
182
|
}).then(resp => {
|
|
167
183
|
return resp.body
|
|
168
184
|
});
|
|
169
185
|
|
|
170
186
|
// Archive the club member
|
|
171
|
-
member = await membersClient.archiveMember(member.id)
|
|
187
|
+
member = await membersClient.archiveMember(member.id, constants.headers)
|
|
172
188
|
.catch(err => {
|
|
173
189
|
throw err;
|
|
174
190
|
}).then(resp => {
|
|
@@ -178,7 +194,7 @@ async function clubMembers() {
|
|
|
178
194
|
console.log(member.isActive); // This will be false, since the member has just been archived
|
|
179
195
|
|
|
180
196
|
// Restore the club member
|
|
181
|
-
member = await membersClient.restoreMember(member.id)
|
|
197
|
+
member = await membersClient.restoreMember(member.id, constants.headers)
|
|
182
198
|
.catch(err => {
|
|
183
199
|
throw err;
|
|
184
200
|
}).then(resp => {
|
|
@@ -193,18 +209,23 @@ async function clubMembers() {
|
|
|
193
209
|
|
|
194
210
|
```nodejs
|
|
195
211
|
import * as api from "../api";
|
|
212
|
+
import * as constants from "./constants";
|
|
213
|
+
|
|
214
|
+
advertisementCredits();
|
|
196
215
|
|
|
197
216
|
async function advertisementCredits() {
|
|
198
|
-
let client = new api.AdvertisementCreditsApi();
|
|
217
|
+
let client = new api.AdvertisementCreditsApi(constants.domain);
|
|
218
|
+
|
|
219
|
+
let title = "Ad Credit API Client (New Headers)";
|
|
199
220
|
|
|
200
221
|
// Create a new advertisement credit
|
|
201
222
|
let adCredit = await client.createAdvertisementCredit({
|
|
202
|
-
title:
|
|
223
|
+
title: title,
|
|
203
224
|
valueType: "percent",
|
|
204
|
-
paymentDesignID: "
|
|
225
|
+
paymentDesignID: "jbkVgPTgoo",
|
|
205
226
|
maxUses: 5,
|
|
206
|
-
discountValue:
|
|
207
|
-
}).catch(err => {
|
|
227
|
+
discountValue: 500,
|
|
228
|
+
}, constants.headers).catch(err => {
|
|
208
229
|
throw err;
|
|
209
230
|
}).then(resp => {
|
|
210
231
|
return resp.body
|
|
@@ -215,16 +236,19 @@ async function advertisementCredits() {
|
|
|
215
236
|
|
|
216
237
|
// Update the advertisement credit with a new maxUses count
|
|
217
238
|
adCredit = await client.updateAdvertisementCredit(adCredit.id, {
|
|
218
|
-
|
|
239
|
+
title: `${title} Update`,
|
|
240
|
+
valueType: "percent",
|
|
241
|
+
paymentDesignID: "jbkVgPTgoo",
|
|
219
242
|
maxUses: 10,
|
|
220
|
-
|
|
243
|
+
discountValue: 1000,
|
|
244
|
+
}, constants.headers).catch(err => {
|
|
221
245
|
throw err;
|
|
222
246
|
}).then(resp => {
|
|
223
247
|
return resp.body
|
|
224
248
|
});
|
|
225
249
|
|
|
226
250
|
// Archive the advertisement credit
|
|
227
|
-
adCredit = await client.archiveAdvertisementCredit(adCredit.id)
|
|
251
|
+
adCredit = await client.archiveAdvertisementCredit(adCredit.id, constants.headers)
|
|
228
252
|
.catch(err => {
|
|
229
253
|
throw err;
|
|
230
254
|
}).then(resp => {
|
|
@@ -234,7 +258,7 @@ async function advertisementCredits() {
|
|
|
234
258
|
console.log(adCredit.isActive); // This will be false, since the advertisement credit has just been archived
|
|
235
259
|
|
|
236
260
|
// Restore the advertisement credit
|
|
237
|
-
adCredit = await client.restoreAdvertisementCredit(adCredit.id)
|
|
261
|
+
adCredit = await client.restoreAdvertisementCredit(adCredit.id, constants.headers)
|
|
238
262
|
.catch(err => {
|
|
239
263
|
throw err;
|
|
240
264
|
}).then(resp => {
|
|
@@ -249,9 +273,12 @@ async function advertisementCredits() {
|
|
|
249
273
|
|
|
250
274
|
```nodejs
|
|
251
275
|
import * as api from "../api";
|
|
276
|
+
import * as constants from "./constants";
|
|
277
|
+
|
|
278
|
+
linkBook();
|
|
252
279
|
|
|
253
280
|
async function linkBook() {
|
|
254
|
-
let client = new api.LinkBookApi();
|
|
281
|
+
let client = new api.LinkBookApi(constants.domain);
|
|
255
282
|
|
|
256
283
|
// Create a new link book link
|
|
257
284
|
let link = await client.createLinkBook({
|
|
@@ -260,7 +287,7 @@ async function linkBook() {
|
|
|
260
287
|
icon: "fa-clock",
|
|
261
288
|
orderNumber: 1,
|
|
262
289
|
linkBookSectionID: "",
|
|
263
|
-
}).catch(err => {
|
|
290
|
+
}, constants.headers).catch(err => {
|
|
264
291
|
throw err;
|
|
265
292
|
}).then(resp => {
|
|
266
293
|
return resp.body
|
|
@@ -273,14 +300,14 @@ async function linkBook() {
|
|
|
273
300
|
link = await client.updateLinkBook(link.id, {
|
|
274
301
|
...link,
|
|
275
302
|
url: "https://test.com"
|
|
276
|
-
}).catch(err => {
|
|
303
|
+
}, constants.headers).catch(err => {
|
|
277
304
|
throw err;
|
|
278
305
|
}).then(resp => {
|
|
279
306
|
return resp.body
|
|
280
307
|
});
|
|
281
308
|
|
|
282
309
|
// Archive the link book link
|
|
283
|
-
link = await client.archiveLinkBook(link.id)
|
|
310
|
+
link = await client.archiveLinkBook(link.id, constants.headers)
|
|
284
311
|
.catch(err => {
|
|
285
312
|
throw err;
|
|
286
313
|
}).then(resp => {
|
|
@@ -290,7 +317,7 @@ async function linkBook() {
|
|
|
290
317
|
console.log(link.isActive); // This will be false, since the link book link has just been archived
|
|
291
318
|
|
|
292
319
|
// Restore the link book link
|
|
293
|
-
link = await client.restoreLinkBook(link.id)
|
|
320
|
+
link = await client.restoreLinkBook(link.id, constants.headers)
|
|
294
321
|
.catch(err => {
|
|
295
322
|
throw err;
|
|
296
323
|
}).then(resp => {
|
|
@@ -305,15 +332,18 @@ async function linkBook() {
|
|
|
305
332
|
|
|
306
333
|
```nodejs
|
|
307
334
|
import * as api from "../api";
|
|
335
|
+
import * as constants from "./constants";
|
|
336
|
+
|
|
337
|
+
merchantURLs();
|
|
308
338
|
|
|
309
339
|
async function merchantURLs() {
|
|
310
|
-
let client = new api.MerchantURLsApi();
|
|
340
|
+
let client = new api.MerchantURLsApi(constants.domain);
|
|
311
341
|
|
|
312
342
|
// Create a new merchant URL
|
|
313
343
|
let url = await client.createMerchantURL({
|
|
314
344
|
nickname: "Instagram",
|
|
315
345
|
destinationURL: "https://instagram.com/merchant"
|
|
316
|
-
}).catch(err => {
|
|
346
|
+
}, constants.headers).catch(err => {
|
|
317
347
|
throw err;
|
|
318
348
|
}).then(resp => {
|
|
319
349
|
return resp.body
|
|
@@ -326,14 +356,14 @@ async function merchantURLs() {
|
|
|
326
356
|
url = await client.updateMerchantURL(url.id, {
|
|
327
357
|
...url,
|
|
328
358
|
destinationURL: "https://instagram.com/redirect/merchant"
|
|
329
|
-
}).catch(err => {
|
|
359
|
+
}, constants.headers).catch(err => {
|
|
330
360
|
throw err;
|
|
331
361
|
}).then(resp => {
|
|
332
362
|
return resp.body
|
|
333
363
|
});
|
|
334
364
|
|
|
335
365
|
// Archive the merchant URL
|
|
336
|
-
url = await client.archiveMerchantURL(url.id)
|
|
366
|
+
url = await client.archiveMerchantURL(url.id, constants.headers)
|
|
337
367
|
.catch(err => {
|
|
338
368
|
throw err;
|
|
339
369
|
}).then(resp => {
|
|
@@ -343,7 +373,7 @@ async function merchantURLs() {
|
|
|
343
373
|
console.log(url.isActive); // This will be false, since the merchant URL has just been archived
|
|
344
374
|
|
|
345
375
|
// Restore the merchant URL
|
|
346
|
-
url = await client.restoreMerchantURL(url.id)
|
|
376
|
+
url = await client.restoreMerchantURL(url.id, constants.headers)
|
|
347
377
|
.catch(err => {
|
|
348
378
|
throw err;
|
|
349
379
|
}).then(resp => {
|
|
@@ -358,9 +388,12 @@ async function merchantURLs() {
|
|
|
358
388
|
|
|
359
389
|
```nodejs
|
|
360
390
|
import * as api from "../api";
|
|
391
|
+
import * as constants from "./constants";
|
|
392
|
+
|
|
393
|
+
news();
|
|
361
394
|
|
|
362
395
|
async function news() {
|
|
363
|
-
let client = new api.NewsApi();
|
|
396
|
+
let client = new api.NewsApi(constants.domain);
|
|
364
397
|
|
|
365
398
|
// Create a new news article
|
|
366
399
|
let article = await client.createNewsArticle({
|
|
@@ -369,7 +402,7 @@ async function news() {
|
|
|
369
402
|
body: "This is a news article related to the merchant",
|
|
370
403
|
url: "https://blog.merchant.com",
|
|
371
404
|
mediaURL: "https://example.com/image"
|
|
372
|
-
}).catch(err => {
|
|
405
|
+
}, constants.headers).catch(err => {
|
|
373
406
|
throw err;
|
|
374
407
|
}).then(resp => {
|
|
375
408
|
return resp.body
|
|
@@ -383,14 +416,14 @@ async function news() {
|
|
|
383
416
|
article = await client.updateNewsArticle(article.id, {
|
|
384
417
|
...article,
|
|
385
418
|
title: "News Article Updated"
|
|
386
|
-
}).catch(err => {
|
|
419
|
+
}, constants.headers).catch(err => {
|
|
387
420
|
throw err;
|
|
388
421
|
}).then(resp => {
|
|
389
422
|
return resp.body
|
|
390
423
|
});
|
|
391
424
|
|
|
392
425
|
// Archive the news article
|
|
393
|
-
article = await client.archiveNewsArticle(article.id)
|
|
426
|
+
article = await client.archiveNewsArticle(article.id, constants.headers)
|
|
394
427
|
.catch(err => {
|
|
395
428
|
throw err;
|
|
396
429
|
}).then(resp => {
|
|
@@ -400,7 +433,7 @@ async function news() {
|
|
|
400
433
|
console.log(article.isActive); // This will be false, since the news article has just been archived
|
|
401
434
|
|
|
402
435
|
// Restore the news article
|
|
403
|
-
article = await client.restoreNewsArticle(article.id)
|
|
436
|
+
article = await client.restoreNewsArticle(article.id, constants.headers)
|
|
404
437
|
.catch(err => {
|
|
405
438
|
throw err;
|
|
406
439
|
}).then(resp => {
|
|
@@ -410,4 +443,185 @@ async function news() {
|
|
|
410
443
|
console.log(article.isActive); // This will be true, since the news article has just been restored
|
|
411
444
|
}
|
|
412
445
|
```
|
|
446
|
+
|
|
447
|
+
### Create and manipulate Performances
|
|
448
|
+
|
|
449
|
+
```nodejs
|
|
450
|
+
import * as api from "../api";
|
|
451
|
+
import * as constants from "./constants";
|
|
452
|
+
|
|
453
|
+
performances();
|
|
454
|
+
|
|
455
|
+
async function performances() {
|
|
456
|
+
let client = new api.PerformancesApi(constants.domain);
|
|
457
|
+
|
|
458
|
+
// Create a new performance
|
|
459
|
+
let performance = await client.createPerformance({
|
|
460
|
+
title: "Performance",
|
|
461
|
+
body: "Details related to the performance",
|
|
462
|
+
startDateTime: new Date(),
|
|
463
|
+
price: 200,
|
|
464
|
+
url: "https://blog.merchant.com",
|
|
465
|
+
orderNumber: 1,
|
|
466
|
+
mediaURL: "https://example.com/image"
|
|
467
|
+
|
|
468
|
+
}, constants.headers).catch(err => {
|
|
469
|
+
throw err;
|
|
470
|
+
}).then(resp => {
|
|
471
|
+
return resp.body
|
|
472
|
+
});
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
// The performance that has just been created
|
|
476
|
+
console.log(performance);
|
|
477
|
+
|
|
478
|
+
// Update the performance with a new title
|
|
479
|
+
performance = await client.updatePerformance(performance.id, {
|
|
480
|
+
...performance,
|
|
481
|
+
title: "performance Updated"
|
|
482
|
+
}, constants.headers).catch(err => {
|
|
483
|
+
throw err;
|
|
484
|
+
}).then(resp => {
|
|
485
|
+
return resp.body
|
|
486
|
+
});
|
|
487
|
+
|
|
488
|
+
// Archive the performance
|
|
489
|
+
performance = await client.archivePerformance(performance.id, constants.headers)
|
|
490
|
+
.catch(err => {
|
|
491
|
+
throw err;
|
|
492
|
+
}).then(resp => {
|
|
493
|
+
return resp.body
|
|
494
|
+
});
|
|
495
|
+
|
|
496
|
+
console.log(performance.isActive); // This will be false, since the performance has just been archived
|
|
497
|
+
|
|
498
|
+
// Restore the performance
|
|
499
|
+
performance = await client.restorePerformance(performance.id, constants.headers)
|
|
500
|
+
.catch(err => {
|
|
501
|
+
throw err;
|
|
502
|
+
}).then(resp => {
|
|
503
|
+
return resp.body
|
|
504
|
+
});
|
|
505
|
+
|
|
506
|
+
console.log(performance.isActive); // This will be true, since the performance has just been restored
|
|
507
|
+
}
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
### Create and manipulate Promo Codes
|
|
511
|
+
|
|
512
|
+
```nodejs
|
|
513
|
+
import * as api from "../api";
|
|
514
|
+
import * as constants from "./constants";
|
|
515
|
+
|
|
516
|
+
promocodes();
|
|
517
|
+
|
|
518
|
+
async function promocodes() {
|
|
519
|
+
let client = new api.PromoCodesApi();
|
|
520
|
+
|
|
521
|
+
// Create a new promocode
|
|
522
|
+
let promocode = await client.createPromoCode({
|
|
523
|
+
title: "Promo Code",
|
|
524
|
+
description: "Description about Promo Code",
|
|
525
|
+
promoCode: "MON50OFF",
|
|
526
|
+
displayValue: "50OFF",
|
|
527
|
+
orderNumber: 1,
|
|
528
|
+
startDate: new Date(),
|
|
529
|
+
expirationDate: new Date(new Date().getTime() + (5 * 24 * 60 * 60 * 1000))
|
|
530
|
+
}, constants.headers).catch(err => {
|
|
531
|
+
throw err;
|
|
532
|
+
}).then(resp => {
|
|
533
|
+
return resp.body
|
|
534
|
+
});
|
|
535
|
+
|
|
536
|
+
// The promocode that has just been created
|
|
537
|
+
console.log(promocode);
|
|
538
|
+
|
|
539
|
+
// Update the promocode with a new title
|
|
540
|
+
promocode = await client.updatePromoCode(promocode.id, {
|
|
541
|
+
...promocode,
|
|
542
|
+
title: "promocode Updated"
|
|
543
|
+
}, constants.headers).catch(err => {
|
|
544
|
+
throw err;
|
|
545
|
+
}).then(resp => {
|
|
546
|
+
return resp.body
|
|
547
|
+
});
|
|
548
|
+
|
|
549
|
+
// Archive the promocode
|
|
550
|
+
promocode = await client.archivePromoCode(promocode.id, constants.headers)
|
|
551
|
+
.catch(err => {
|
|
552
|
+
throw err;
|
|
553
|
+
}).then(resp => {
|
|
554
|
+
return resp.body
|
|
555
|
+
});
|
|
556
|
+
|
|
557
|
+
console.log(promocode.isActive); // This will be false, since the promocode has just been archived
|
|
558
|
+
|
|
559
|
+
// Restore the promocode
|
|
560
|
+
promocode = await client.restorePromoCode(promocode.id, constants.headers)
|
|
561
|
+
.catch(err => {
|
|
562
|
+
throw err;
|
|
563
|
+
}).then(resp => {
|
|
564
|
+
return resp.body
|
|
565
|
+
});
|
|
566
|
+
|
|
567
|
+
console.log(promocode.isActive); // This will be true, since the promocode has just been restored
|
|
568
|
+
}
|
|
569
|
+
```
|
|
570
|
+
|
|
571
|
+
### Create and manipulate Merchant Credits
|
|
572
|
+
|
|
573
|
+
```nodejs
|
|
574
|
+
import * as api from "../api";
|
|
575
|
+
import * as constants from "./constants";
|
|
576
|
+
|
|
577
|
+
merchantCredits();
|
|
578
|
+
|
|
579
|
+
async function merchantCredits() {
|
|
580
|
+
let client = new api.MerchantCreditsApi();
|
|
581
|
+
|
|
582
|
+
// Create a new merchant credit
|
|
583
|
+
let merchantcredit = await client.createMerchantCredit({
|
|
584
|
+
mobileNumber: "+1808978789",
|
|
585
|
+
creditAmount: 2000, // In cents
|
|
586
|
+
memberID: "MEM001"
|
|
587
|
+
}, constants.headers).catch(err => {
|
|
588
|
+
throw err;
|
|
589
|
+
}).then(resp => {
|
|
590
|
+
return resp.body
|
|
591
|
+
});
|
|
592
|
+
|
|
593
|
+
// The merchant credit that has just been created
|
|
594
|
+
console.log(merchantcredit);
|
|
595
|
+
|
|
596
|
+
// Update the merchant credit with a new title
|
|
597
|
+
merchantcredit = await client.updateMerchantCredit(merchantcredit.id, {
|
|
598
|
+
...merchantcredit,
|
|
599
|
+
creditAmount: 1000, // In cents
|
|
600
|
+
}, constants.headers).catch(err => {
|
|
601
|
+
throw err;
|
|
602
|
+
}).then(resp => {
|
|
603
|
+
return resp.body
|
|
604
|
+
});
|
|
605
|
+
|
|
606
|
+
// Archive the merchant credit
|
|
607
|
+
merchantcredit = await client.archiveMerchantCredit(merchantcredit.id, constants.headers)
|
|
608
|
+
.catch(err => {
|
|
609
|
+
throw err;
|
|
610
|
+
}).then(resp => {
|
|
611
|
+
return resp.body
|
|
612
|
+
});
|
|
613
|
+
|
|
614
|
+
console.log(merchantcredit.isActive); // This will be false, since the merchant credit has just been archived
|
|
615
|
+
|
|
616
|
+
// Restore the merchant credit
|
|
617
|
+
merchantcredit = await client.restoreMerchantCredit(merchantcredit.id, constants.headers)
|
|
618
|
+
.catch(err => {
|
|
619
|
+
throw err;
|
|
620
|
+
}).then(resp => {
|
|
621
|
+
return resp.body
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
console.log(merchantcredit.isActive); // This will be true, since the merchant credit has just been restored
|
|
625
|
+
}
|
|
626
|
+
```
|
|
413
627
|
|