wallet 2.1.503 → 2.1.507
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +45 -69
- package/api/advertisementCreditsApi.ts +1 -1
- package/api/analyticsApi.ts +1 -1
- package/api/appleWalletSubscribersApi.ts +1 -1
- package/api/billingApi.ts +17 -17
- package/api/clubMembersPointsApi.ts +1 -1
- package/api/configurationApi.ts +8 -8
- package/api/countriesApi.ts +1 -1
- package/api/customerApi.ts +15 -15
- package/api/dashboardApi.ts +1 -1
- package/api/dynamicVouchersApi.ts +1 -1
- package/api/employeeAPIKeysApi.ts +1 -1
- package/api/employeeAccessApi.ts +8 -8
- package/api/employeesApi.ts +114 -120
- package/api/industriesApi.ts +1 -1
- package/api/infoGenesisReportsApi.ts +143 -162
- package/api/integratedTerminalsApi.ts +1 -1
- package/api/interactionsApi.ts +84 -16
- package/api/linkBookApi.ts +1 -1
- package/api/linkBookSectionApi.ts +1 -1
- package/api/loginAndLogoutApi.ts +8 -8
- package/api/membershipTiersApi.ts +1 -1
- package/api/merchantApi.ts +84 -22
- package/api/merchantCreditsApi.ts +1 -1
- package/api/merchantURLsApi.ts +1 -1
- package/api/mobileTerminalApi.ts +8 -8
- package/api/newsApi.ts +1 -1
- package/api/paymentDesignsApi.ts +1 -1
- package/api/performancesApi.ts +1 -1
- package/api/promoCodesApi.ts +1 -1
- package/api/sMSApi.ts +86 -89
- package/api/settingsApi.ts +1 -1
- package/api/staticVoucherCampaignGroupsApi.ts +1 -1
- package/api/staticVoucherCampaignsApi.ts +15 -15
- package/api/staticVouchersApi.ts +1 -1
- package/api/systemApi.ts +14 -15
- package/api/transactionLedgerApi.ts +1 -1
- package/api/utilitiesApi.ts +1 -1
- package/api/webTerminalApi.ts +8 -8
- package/dist/api/billingApi.d.ts +4 -4
- package/dist/api/billingApi.js +8 -8
- package/dist/api/billingApi.js.map +1 -1
- package/dist/api/configurationApi.d.ts +2 -2
- package/dist/api/configurationApi.js +4 -4
- package/dist/api/configurationApi.js.map +1 -1
- package/dist/api/customerApi.d.ts +4 -4
- package/dist/api/customerApi.js +8 -8
- package/dist/api/customerApi.js.map +1 -1
- package/dist/api/employeeAccessApi.d.ts +2 -2
- package/dist/api/employeeAccessApi.js +4 -4
- package/dist/api/employeeAccessApi.js.map +1 -1
- package/dist/api/employeesApi.d.ts +28 -34
- package/dist/api/employeesApi.js +68 -68
- package/dist/api/employeesApi.js.map +1 -1
- package/dist/api/infoGenesisReportsApi.d.ts +27 -46
- package/dist/api/infoGenesisReportsApi.js +92 -92
- package/dist/api/infoGenesisReportsApi.js.map +1 -1
- package/dist/api/interactionsApi.d.ts +11 -4
- package/dist/api/interactionsApi.js +69 -8
- package/dist/api/interactionsApi.js.map +1 -1
- package/dist/api/loginAndLogoutApi.d.ts +2 -2
- package/dist/api/loginAndLogoutApi.js +4 -4
- package/dist/api/loginAndLogoutApi.js.map +1 -1
- package/dist/api/merchantApi.d.ts +14 -6
- package/dist/api/merchantApi.js +69 -12
- package/dist/api/merchantApi.js.map +1 -1
- package/dist/api/mobileTerminalApi.d.ts +2 -2
- package/dist/api/mobileTerminalApi.js +4 -4
- package/dist/api/mobileTerminalApi.js.map +1 -1
- package/dist/api/sMSApi.d.ts +23 -26
- package/dist/api/sMSApi.js +48 -48
- package/dist/api/sMSApi.js.map +1 -1
- package/dist/api/staticVoucherCampaignsApi.d.ts +4 -4
- package/dist/api/staticVoucherCampaignsApi.js +8 -8
- package/dist/api/staticVoucherCampaignsApi.js.map +1 -1
- package/dist/api/systemApi.d.ts +3 -4
- package/dist/api/systemApi.js +8 -8
- package/dist/api/systemApi.js.map +1 -1
- package/dist/api/webTerminalApi.d.ts +2 -2
- package/dist/api/webTerminalApi.js +4 -4
- package/dist/api/webTerminalApi.js.map +1 -1
- package/dist/model/dashboardWidget.d.ts +1 -0
- package/dist/model/dashboardWidget.js +5 -0
- package/dist/model/dashboardWidget.js.map +1 -1
- package/dist/model/employee.d.ts +3 -0
- package/dist/model/employee.js +15 -0
- package/dist/model/employee.js.map +1 -1
- package/dist/model/merchant.d.ts +3 -3
- package/dist/model/merchant.js +15 -15
- package/dist/model/merchant.js.map +1 -1
- package/dist/model/models.d.ts +45 -69
- package/dist/model/models.js +135 -207
- package/dist/model/models.js.map +1 -1
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +3 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +15 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -1
- package/dist/model/wTAuthenticationForgotPassword.d.ts +14 -0
- package/dist/model/wTAuthenticationForgotPassword.js +18 -0
- package/dist/model/wTAuthenticationForgotPassword.js.map +1 -0
- package/dist/model/wTAuthenticationLogin.d.ts +15 -0
- package/dist/model/wTAuthenticationLogin.js +23 -0
- package/dist/model/wTAuthenticationLogin.js.map +1 -0
- package/dist/model/wTAuthenticationRegister.d.ts +29 -0
- package/dist/model/wTAuthenticationRegister.js +93 -0
- package/dist/model/wTAuthenticationRegister.js.map +1 -0
- package/dist/model/wTAuthenticationRequestResetPassword.d.ts +14 -0
- package/dist/model/wTAuthenticationRequestResetPassword.js +18 -0
- package/dist/model/wTAuthenticationRequestResetPassword.js.map +1 -0
- package/dist/model/wTAuthenticationResetPassword.d.ts +16 -0
- package/dist/model/wTAuthenticationResetPassword.js +28 -0
- package/dist/model/wTAuthenticationResetPassword.js.map +1 -0
- package/dist/model/wTAuthenticationSSOLoginForDiscourse.d.ts +17 -0
- package/dist/model/wTAuthenticationSSOLoginForDiscourse.js +33 -0
- package/dist/model/wTAuthenticationSSOLoginForDiscourse.js.map +1 -0
- package/dist/model/wTBillingChangePlan.d.ts +14 -0
- package/dist/model/wTBillingChangePlan.js +18 -0
- package/dist/model/wTBillingChangePlan.js.map +1 -0
- package/dist/model/wTBillingSavePaymentMethod.d.ts +14 -0
- package/dist/model/wTBillingSavePaymentMethod.js +18 -0
- package/dist/model/wTBillingSavePaymentMethod.js.map +1 -0
- package/dist/model/wTCustomerSearchByMemberID.d.ts +14 -0
- package/dist/model/wTCustomerSearchByMemberID.js +18 -0
- package/dist/model/wTCustomerSearchByMemberID.js.map +1 -0
- package/dist/model/wTCustomerSearchByPhoneNumber.d.ts +14 -0
- package/dist/model/wTCustomerSearchByPhoneNumber.js +18 -0
- package/dist/model/wTCustomerSearchByPhoneNumber.js.map +1 -0
- package/dist/model/wTEmployee.d.ts +3 -0
- package/dist/model/wTEmployee.js +15 -0
- package/dist/model/wTEmployee.js.map +1 -1
- package/dist/model/wTEmployeeCreate.d.ts +3 -0
- package/dist/model/wTEmployeeCreate.js +15 -0
- package/dist/model/wTEmployeeCreate.js.map +1 -1
- package/dist/model/wTEmployeeCreateAlert.d.ts +15 -0
- package/dist/model/wTEmployeeCreateAlert.js +23 -0
- package/dist/model/wTEmployeeCreateAlert.js.map +1 -0
- package/dist/model/wTEmployeeCreateMediaFile.d.ts +15 -0
- package/dist/model/wTEmployeeCreateMediaFile.js +23 -0
- package/dist/model/wTEmployeeCreateMediaFile.js.map +1 -0
- package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.d.ts +14 -0
- package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js +18 -0
- package/dist/model/wTEmployeeCreateStaticVoucherCampaignGroup.js.map +1 -0
- package/dist/model/wTEmployeeFileCreate.d.ts +15 -0
- package/dist/model/wTEmployeeFileCreate.js +23 -0
- package/dist/model/wTEmployeeFileCreate.js.map +1 -0
- package/dist/model/wTEmployeeImportRecords.d.ts +15 -0
- package/dist/model/wTEmployeeImportRecords.js +23 -0
- package/dist/model/wTEmployeeImportRecords.js.map +1 -0
- package/dist/model/wTEmployeePeerRoles.d.ts +14 -0
- package/dist/model/wTEmployeePeerRoles.js +18 -0
- package/dist/model/wTEmployeePeerRoles.js.map +1 -0
- package/dist/model/wTEmployeeS3FilePresign.d.ts +16 -0
- package/dist/model/wTEmployeeS3FilePresign.js +28 -0
- package/dist/model/wTEmployeeS3FilePresign.js.map +1 -0
- package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.d.ts +20 -0
- package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js +48 -0
- package/dist/model/wTEmployeeScheduleSMSCampaignBroadcast.js.map +1 -0
- package/dist/model/wTEmployeeScheduleSimpleSMS.d.ts +19 -0
- package/dist/model/wTEmployeeScheduleSimpleSMS.js +43 -0
- package/dist/model/wTEmployeeScheduleSimpleSMS.js.map +1 -0
- package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.d.ts +18 -0
- package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js +38 -0
- package/dist/model/wTEmployeeScheduleSimpleSMSToRecipient.js.map +1 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.d.ts +15 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.js +23 -0
- package/dist/model/wTEmployeeSendHelpDeskResponse.js.map +1 -0
- package/dist/model/wTEmployeeUpdate.d.ts +3 -0
- package/dist/model/wTEmployeeUpdate.js +15 -0
- package/dist/model/wTEmployeeUpdate.js.map +1 -1
- package/dist/model/wTFetchWalletPaymentObjectWithToken.d.ts +17 -0
- package/dist/model/wTFetchWalletPaymentObjectWithToken.js +33 -0
- package/dist/model/wTFetchWalletPaymentObjectWithToken.js.map +1 -0
- package/dist/model/wTInfoGenesisLookupRequestErrors.d.ts +17 -0
- package/dist/model/wTInfoGenesisLookupRequestErrors.js +33 -0
- package/dist/model/wTInfoGenesisLookupRequestErrors.js.map +1 -0
- package/dist/model/wTInfoGenesisRecordFilterParameters.d.ts +16 -0
- package/dist/model/wTInfoGenesisRecordFilterParameters.js +28 -0
- package/dist/model/wTInfoGenesisRecordFilterParameters.js.map +1 -0
- package/dist/model/wTInfoGenesisRoutingIDs.d.ts +14 -0
- package/dist/model/wTInfoGenesisRoutingIDs.js +18 -0
- package/dist/model/wTInfoGenesisRoutingIDs.js.map +1 -0
- package/dist/model/wTInfoGenesisUniquePostingIDs.d.ts +14 -0
- package/dist/model/wTInfoGenesisUniquePostingIDs.js +18 -0
- package/dist/model/wTInfoGenesisUniquePostingIDs.js.map +1 -0
- package/dist/model/wTMerchantUpdate.d.ts +21 -0
- package/dist/model/wTMerchantUpdate.js +53 -0
- package/dist/model/wTMerchantUpdate.js.map +1 -0
- package/dist/model/wTMerchantUpdateBillingContact.d.ts +14 -0
- package/dist/model/wTMerchantUpdateBillingContact.js +18 -0
- package/dist/model/wTMerchantUpdateBillingContact.js.map +1 -0
- package/dist/model/wTMerchantUpdatePOSIntegration.d.ts +14 -0
- package/dist/model/wTMerchantUpdatePOSIntegration.js +18 -0
- package/dist/model/wTMerchantUpdatePOSIntegration.js.map +1 -0
- package/dist/model/wTSMSAcquirePhoneNumber.d.ts +14 -0
- package/dist/model/wTSMSAcquirePhoneNumber.js +18 -0
- package/dist/model/wTSMSAcquirePhoneNumber.js.map +1 -0
- package/dist/model/wTSMSCreateAgreement.d.ts +25 -0
- package/dist/model/wTSMSCreateAgreement.js +73 -0
- package/dist/model/wTSMSCreateAgreement.js.map +1 -0
- package/dist/model/wTSMSImportOptInListSubscribers.d.ts +16 -0
- package/dist/model/wTSMSImportOptInListSubscribers.js +28 -0
- package/dist/model/wTSMSImportOptInListSubscribers.js.map +1 -0
- package/dist/model/wTSMSImportedListCreate.d.ts +16 -0
- package/dist/model/wTSMSImportedListCreate.js +28 -0
- package/dist/model/wTSMSImportedListCreate.js.map +1 -0
- package/dist/model/wTSMSOptInListSourceCreate.d.ts +15 -0
- package/dist/model/wTSMSOptInListSourceCreate.js +23 -0
- package/dist/model/wTSMSOptInListSourceCreate.js.map +1 -0
- package/dist/model/wTSMSUpdatePhoneNumberConfig.d.ts +25 -0
- package/dist/model/wTSMSUpdatePhoneNumberConfig.js +73 -0
- package/dist/model/wTSMSUpdatePhoneNumberConfig.js.map +1 -0
- package/dist/model/wTSettingsSetPassword.d.ts +14 -0
- package/dist/model/wTSettingsSetPassword.js +18 -0
- package/dist/model/wTSettingsSetPassword.js.map +1 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessages.d.ts +16 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessages.js +28 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessages.js.map +1 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.d.ts +18 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js +38 -0
- package/dist/model/wTStaticVoucherCampaignPreviewMessagesByPage.js.map +1 -0
- package/dist/model/wTSystemApprovePhoneNumber.d.ts +15 -0
- package/dist/model/wTSystemApprovePhoneNumber.js +23 -0
- package/dist/model/wTSystemApprovePhoneNumber.js.map +1 -0
- package/dist/model/wTSystemRoleCreate.d.ts +15 -0
- package/dist/model/wTSystemRoleCreate.js +23 -0
- package/dist/model/wTSystemRoleCreate.js.map +1 -0
- package/dist/model/wTTCPAOpt.d.ts +16 -0
- package/dist/model/wTTCPAOpt.js +28 -0
- package/dist/model/wTTCPAOpt.js.map +1 -0
- package/dist/model/wTTwilioRequestAuthyCode.d.ts +15 -0
- package/dist/model/wTTwilioRequestAuthyCode.js +23 -0
- package/dist/model/wTTwilioRequestAuthyCode.js.map +1 -0
- package/dist/model/wTTwilioVerifyAuthyCode.d.ts +16 -0
- package/dist/model/wTTwilioVerifyAuthyCode.js +28 -0
- package/dist/model/wTTwilioVerifyAuthyCode.js.map +1 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.d.ts +45 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.js +173 -0
- package/dist/model/wTWalletConfigurationSaveWalletRecord.js.map +1 -0
- package/dist/model/wTWalletItemRedemption.d.ts +16 -0
- package/dist/model/wTWalletItemRedemption.js +28 -0
- package/dist/model/wTWalletItemRedemption.js.map +1 -0
- package/model/advertisementCredit.ts +1 -1
- package/model/advertisementCreditBroadcast.ts +1 -1
- package/model/advertisementCreditScan.ts +1 -1
- package/model/agreement.ts +1 -1
- package/model/alert.ts +1 -1
- package/model/announcement.ts +1 -1
- package/model/applicableTerminals.ts +1 -1
- package/model/applicableTerminalsAnyOf.ts +1 -1
- package/model/applicableTerminalsAnyOf1.ts +1 -1
- package/model/applicableTerminalsAnyOf2.ts +1 -1
- package/model/applicableTerminalsAnyOf3.ts +1 -1
- package/model/authError.ts +1 -1
- package/model/availablePhoneNumbersRequest.ts +1 -1
- package/model/clickFunnelAmount.ts +1 -1
- package/model/clickFunnelContact.ts +1 -1
- package/model/clickFunnelContactProfile.ts +1 -1
- package/model/clickFunnelEvent.ts +1 -1
- package/model/clickFunnelOriginalAmount.ts +1 -1
- package/model/clickFunnelProduct.ts +1 -1
- package/model/clickFunnelPurchase.ts +1 -1
- package/model/createStaticVoucherCampaign.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +1 -1
- package/model/dashboardWidget.ts +7 -1
- package/model/duplicateRowFound.ts +1 -1
- package/model/dynamicVoucher.ts +1 -1
- package/model/dynamicVoucherBroadcast.ts +1 -1
- package/model/employee.ts +19 -1
- package/model/employeeAPIKey.ts +1 -1
- package/model/employeeActivityLog.ts +1 -1
- package/model/entityTooLarge.ts +1 -1
- package/model/exportDataFile.ts +1 -1
- package/model/falsumError.ts +1 -1
- package/model/falsumField.ts +1 -1
- package/model/feature.ts +1 -1
- package/model/forbiddenRequest.ts +1 -1
- package/model/foreignKeyDoesNotExist.ts +1 -1
- package/model/helpDeskRequest.ts +1 -1
- package/model/importedList.ts +1 -1
- package/model/importedListRecipient.ts +1 -1
- package/model/inlineObject.ts +1 -1
- package/model/inlineObject1.ts +1 -1
- package/model/inlineObject10.ts +1 -1
- package/model/inlineObject11.ts +1 -1
- package/model/inlineObject12.ts +1 -1
- package/model/inlineObject13.ts +1 -1
- package/model/inlineObject14.ts +1 -1
- package/model/inlineObject15.ts +1 -1
- package/model/inlineObject16.ts +1 -1
- package/model/inlineObject17.ts +1 -1
- package/model/inlineObject18.ts +1 -1
- package/model/inlineObject19.ts +1 -1
- package/model/inlineObject2.ts +1 -1
- package/model/inlineObject20.ts +1 -1
- package/model/inlineObject21.ts +1 -1
- package/model/inlineObject22.ts +1 -1
- package/model/inlineObject23.ts +1 -1
- package/model/inlineObject24.ts +1 -1
- package/model/inlineObject25.ts +1 -1
- package/model/inlineObject26.ts +1 -1
- package/model/inlineObject27.ts +1 -1
- package/model/inlineObject28.ts +1 -1
- package/model/inlineObject29.ts +1 -1
- package/model/inlineObject3.ts +1 -1
- package/model/inlineObject30.ts +1 -1
- package/model/inlineObject31.ts +1 -1
- package/model/inlineObject32.ts +1 -1
- package/model/inlineObject33.ts +1 -1
- package/model/inlineObject34.ts +1 -1
- package/model/inlineObject35.ts +1 -1
- package/model/inlineObject36.ts +1 -1
- package/model/inlineObject37.ts +1 -1
- package/model/inlineObject38.ts +1 -1
- package/model/inlineObject39.ts +1 -1
- package/model/inlineObject4.ts +1 -1
- package/model/inlineObject40.ts +1 -1
- package/model/inlineObject41.ts +1 -1
- package/model/inlineObject42.ts +1 -1
- package/model/inlineObject43.ts +1 -1
- package/model/inlineObject44.ts +1 -1
- package/model/inlineObject45.ts +1 -1
- package/model/inlineObject46.ts +1 -1
- package/model/inlineObject47.ts +1 -1
- package/model/inlineObject48.ts +1 -1
- package/model/inlineObject49.ts +1 -1
- package/model/inlineObject5.ts +1 -1
- package/model/inlineObject50.ts +1 -1
- package/model/inlineObject51.ts +1 -1
- package/model/inlineObject52.ts +1 -1
- package/model/inlineObject53.ts +1 -1
- package/model/inlineObject54.ts +1 -1
- package/model/inlineObject55.ts +1 -1
- package/model/inlineObject56.ts +1 -1
- package/model/inlineObject57.ts +1 -1
- package/model/inlineObject58.ts +1 -1
- package/model/inlineObject59.ts +1 -1
- package/model/inlineObject6.ts +1 -1
- package/model/inlineObject60.ts +1 -1
- package/model/inlineObject61.ts +1 -1
- package/model/inlineObject62.ts +1 -1
- package/model/inlineObject63.ts +1 -1
- package/model/inlineObject64.ts +1 -1
- package/model/inlineObject65.ts +1 -1
- package/model/inlineObject66.ts +1 -1
- package/model/inlineObject67.ts +1 -1
- package/model/inlineObject68.ts +1 -1
- package/model/inlineObject7.ts +1 -1
- package/model/inlineObject8.ts +1 -1
- package/model/inlineObject9.ts +1 -1
- package/model/inlineResponse200.ts +1 -1
- package/model/inlineResponse2001.ts +1 -1
- package/model/inlineResponse20010.ts +1 -1
- package/model/inlineResponse20011.ts +1 -1
- package/model/inlineResponse20012.ts +1 -1
- package/model/inlineResponse20013.ts +1 -1
- package/model/inlineResponse20014.ts +1 -1
- package/model/inlineResponse2002.ts +1 -1
- package/model/inlineResponse2003.ts +1 -1
- package/model/inlineResponse2004.ts +1 -1
- package/model/inlineResponse2005.ts +1 -1
- package/model/inlineResponse2006.ts +1 -1
- package/model/inlineResponse2007.ts +1 -1
- package/model/inlineResponse2008.ts +1 -1
- package/model/inlineResponse2009.ts +1 -1
- package/model/internalServerError.ts +1 -1
- package/model/ledgerEntry.ts +1 -1
- package/model/linkBook.ts +1 -1
- package/model/linkBookSection.ts +1 -1
- package/model/mSMemberHistory.ts +1 -1
- package/model/mSMemberHistoryPagination.ts +1 -1
- package/model/mSMemberRedemption.ts +1 -1
- package/model/mSMemberRedemptionPagination.ts +1 -1
- package/model/mSMembershipTierHistory.ts +1 -1
- package/model/mSMembershipTierHistoryPagination.ts +1 -1
- package/model/mSMembershipTierRedemption.ts +1 -1
- package/model/mSMembershipTierRedemptionPagination.ts +1 -1
- package/model/mSMerchantCreditHistory.ts +1 -1
- package/model/mSMerchantCreditHistoryPagination.ts +1 -1
- package/model/mSMerchantCreditRedemption.ts +1 -1
- package/model/mSMerchantCreditRedemptionPagination.ts +1 -1
- package/model/mediaFile.ts +1 -1
- package/model/member.ts +1 -1
- package/model/memberSearch.ts +1 -1
- package/model/merchant.ts +19 -19
- package/model/merchantCreditSearch.ts +1 -1
- package/model/merchantNotInitialized.ts +1 -1
- package/model/merchantURL.ts +1 -1
- package/model/message.ts +1 -1
- package/model/models.ts +135 -207
- package/model/moduleError.ts +1 -1
- package/model/newsArticle.ts +1 -1
- package/model/optInList.ts +1 -1
- package/model/optInListSource.ts +1 -1
- package/model/optInListSubscriber.ts +1 -1
- package/model/outboundSMS.ts +1 -1
- package/model/paginatedWTMembers.ts +1 -1
- package/model/paginatedWTMerchantCredits.ts +1 -1
- package/model/paginationRequestWithIDAndWithoutSortOptions.ts +1 -1
- package/model/paginationRequestWithSortOptions.ts +1 -1
- package/model/paymentDesign.ts +1 -1
- package/model/performance.ts +1 -1
- package/model/phoneNumber.ts +1 -1
- package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +1 -1
- package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +1 -1
- package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +1 -1
- package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +1 -1
- package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +1 -1
- package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +1 -1
- package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +1 -1
- package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +1 -1
- package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.ts +1 -1
- package/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts +1 -1
- package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +1 -1
- package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +1 -1
- package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +1 -1
- package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +1 -1
- package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +1 -1
- package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +1 -1
- package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +1 -1
- package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +1 -1
- package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +1 -1
- package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +1 -1
- package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +1 -1
- package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +19 -1
- package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +1 -1
- package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +1 -1
- package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +1 -1
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
- package/model/plan.ts +1 -1
- package/model/portalPage.ts +1 -1
- package/model/presignedPost.ts +1 -1
- package/model/presignedPostFields.ts +1 -1
- package/model/product.ts +1 -1
- package/model/promoCode.ts +1 -1
- package/model/reachPerformanceStats.ts +1 -1
- package/model/request.ts +1 -1
- package/model/response.ts +1 -1
- package/model/role.ts +1 -1
- package/model/roleAuditLog.ts +1 -1
- package/model/sSImportedListRecipientCreateParams.ts +1 -1
- package/model/sSOptInSource.ts +1 -1
- package/model/simpleSMSBroadcast.ts +1 -1
- package/model/staticVoucher.ts +1 -1
- package/model/staticVoucherCampaign.ts +1 -1
- package/model/staticVoucherCampaignBroadcast.ts +1 -1
- package/model/staticVoucherCampaignGroup.ts +1 -1
- package/model/staticVoucherCampaignUpdate.ts +1 -1
- package/model/status.ts +1 -1
- package/model/statusAnyOf.ts +1 -1
- package/model/statusAnyOf1.ts +1 -1
- package/model/statusAnyOf2.ts +1 -1
- package/model/statusAnyOf3.ts +1 -1
- package/model/subscriptionFeature.ts +1 -1
- package/model/subscriptionPlan.ts +1 -1
- package/model/subscriptionProduct.ts +1 -1
- package/model/tcpa.ts +1 -1
- package/model/updateStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/vSCampaignGeneratedMessage.ts +1 -1
- package/model/vSCampaignGeneratedMessagePagination.ts +1 -1
- package/model/vSDynamicVoucherStatus.ts +1 -1
- package/model/wTAdvertisementCredit.ts +1 -1
- package/model/wTAdvertisementCreditCreateParams.ts +1 -1
- package/model/wTAdvertisementCreditScan.ts +1 -1
- package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
- package/model/wTAuthenticationForgotPassword.ts +31 -0
- package/model/wTAuthenticationLogin.ts +37 -0
- package/model/wTAuthenticationRegister.ts +121 -0
- package/model/wTAuthenticationRequestResetPassword.ts +31 -0
- package/model/wTAuthenticationResetPassword.ts +43 -0
- package/model/wTAuthenticationSSOLoginForDiscourse.ts +49 -0
- package/model/wTBillingChangePlan.ts +31 -0
- package/model/wTBillingSavePaymentMethod.ts +31 -0
- package/model/wTCustomerSearchByMemberID.ts +31 -0
- package/model/wTCustomerSearchByPhoneNumber.ts +31 -0
- package/model/wTDynamicVoucher.ts +1 -1
- package/model/wTDynamicVoucherCreateParams.ts +1 -1
- package/model/wTDynamicVoucherRedemption.ts +1 -1
- package/model/wTDynamicVoucherSummary.ts +1 -1
- package/model/wTDynamicVoucherUpdateParams.ts +1 -1
- package/model/wTEmployee.ts +19 -1
- package/model/wTEmployeeAPIKey.ts +1 -1
- package/model/wTEmployeeAPIKeyCreateParams.ts +1 -1
- package/model/wTEmployeeAPIKeyUpdateParams.ts +1 -1
- package/model/wTEmployeeCreate.ts +19 -1
- package/model/wTEmployeeCreateAlert.ts +37 -0
- package/model/wTEmployeeCreateMediaFile.ts +37 -0
- package/model/wTEmployeeCreateStaticVoucherCampaignGroup.ts +31 -0
- package/model/wTEmployeeFileCreate.ts +37 -0
- package/model/wTEmployeeImportRecords.ts +37 -0
- package/model/wTEmployeeNotification.ts +1 -1
- package/model/wTEmployeePeerRoles.ts +31 -0
- package/model/wTEmployeeS3FilePresign.ts +43 -0
- package/model/wTEmployeeScheduleSMSCampaignBroadcast.ts +67 -0
- package/model/wTEmployeeScheduleSimpleSMS.ts +61 -0
- package/model/wTEmployeeScheduleSimpleSMSToRecipient.ts +55 -0
- package/model/wTEmployeeSendHelpDeskResponse.ts +37 -0
- package/model/wTEmployeeUpdate.ts +19 -1
- package/model/wTFetchWalletPaymentObjectWithToken.ts +49 -0
- package/model/wTImportedList.ts +1 -1
- package/model/wTInfoGenesisLookupRequestErrors.ts +49 -0
- package/model/wTInfoGenesisRecordFilterParameters.ts +43 -0
- package/model/wTInfoGenesisRoutingIDs.ts +31 -0
- package/model/wTInfoGenesisUniquePostingIDs.ts +31 -0
- package/model/wTLinkBookCreateParams.ts +1 -1
- package/model/wTLinkBookSectionCreateParams.ts +1 -1
- package/model/wTLinkBookSectionUpdateParams.ts +1 -1
- package/model/wTLinkBookUpdateParams.ts +1 -1
- package/model/wTMember.ts +1 -1
- package/model/wTMemberCreationParams.ts +1 -1
- package/model/wTMembershipTier.ts +1 -1
- package/model/wTMembershipTierCreationParams.ts +1 -1
- package/model/wTMembershipTierUpdateParams.ts +1 -1
- package/model/wTMembershipTierWithMemberCount.ts +1 -1
- package/model/wTMerchantCredit.ts +1 -1
- package/model/wTMerchantCreditCreationParams.ts +1 -1
- package/model/wTMerchantURLCreate.ts +1 -1
- package/model/wTMerchantURLUpdate.ts +1 -1
- package/model/wTMerchantUpdate.ts +73 -0
- package/model/wTMerchantUpdateBillingContact.ts +31 -0
- package/model/wTMerchantUpdatePOSIntegration.ts +31 -0
- package/model/wTNewsArticleCreateParams.ts +1 -1
- package/model/wTNewsArticleUpdateParams.ts +1 -1
- package/model/wTOptInList.ts +1 -1
- package/model/wTOptInListCreationParams.ts +1 -1
- package/model/wTPaymentDesign.ts +1 -1
- package/model/wTPaymentDesignCreateParams.ts +1 -1
- package/model/wTPaymentDesignUpdateParams.ts +1 -1
- package/model/wTPerformanceCreateParams.ts +1 -1
- package/model/wTPerformanceUpdateParams.ts +1 -1
- package/model/wTPosMachine.ts +1 -1
- package/model/wTPosMachineCreateParams.ts +1 -1
- package/model/wTPosMachineUpdateParams.ts +1 -1
- package/model/wTPromoCodeCreateParams.ts +1 -1
- package/model/wTPromoCodeUpdateParams.ts +1 -1
- package/model/wTRole.ts +1 -1
- package/model/wTSMSAcquirePhoneNumber.ts +31 -0
- package/model/wTSMSCreateAgreement.ts +97 -0
- package/model/wTSMSImportOptInListSubscribers.ts +43 -0
- package/model/wTSMSImportedListCreate.ts +43 -0
- package/model/wTSMSOptInListSourceCreate.ts +37 -0
- package/model/wTSMSUpdatePhoneNumberConfig.ts +97 -0
- package/model/wTSettingsSetPassword.ts +31 -0
- package/model/wTStaticVoucher.ts +1 -1
- package/model/wTStaticVoucherCampaign.ts +1 -1
- package/model/wTStaticVoucherCampaignPreviewMessages.ts +43 -0
- package/model/wTStaticVoucherCampaignPreviewMessagesByPage.ts +55 -0
- package/model/wTStaticVoucherCreateParams.ts +1 -1
- package/model/wTStaticVoucherUpdateParams.ts +1 -1
- package/model/wTSystemApprovePhoneNumber.ts +37 -0
- package/model/wTSystemRoleCreate.ts +37 -0
- package/model/wTTCPAOpt.ts +43 -0
- package/model/wTTwilioRequestAuthyCode.ts +37 -0
- package/model/wTTwilioVerifyAuthyCode.ts +43 -0
- package/model/wTWalletConfigurationSaveWalletRecord.ts +217 -0
- package/model/wTWalletItemRedemption.ts +43 -0
- package/model/wTWalletPageView.ts +1 -1
- package/model/wTWalletPageViewGeoPoint.ts +1 -1
- package/model/walletConfiguration.ts +1 -1
- package/model/walletPageView.ts +1 -1
- package/model/webpage.ts +1 -1
- package/package.json +1 -1
package/dist/api/employeesApi.js
CHANGED
|
@@ -67,7 +67,7 @@ class EmployeesApi {
|
|
|
67
67
|
addInterceptor(interceptor) {
|
|
68
68
|
this.interceptors.push(interceptor);
|
|
69
69
|
}
|
|
70
|
-
addPeerToRoles(userID,
|
|
70
|
+
addPeerToRoles(userID, wTEmployeePeerRoles, options = { headers: {} }) {
|
|
71
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
72
|
const localVarPath = this.basePath + '/v2/employee/roles/peer/{userID}'
|
|
73
73
|
.replace('{' + 'userID' + '}', encodeURIComponent(String(userID)));
|
|
@@ -84,8 +84,8 @@ class EmployeesApi {
|
|
|
84
84
|
if (userID === null || userID === undefined) {
|
|
85
85
|
throw new Error('Required parameter userID was null or undefined when calling addPeerToRoles.');
|
|
86
86
|
}
|
|
87
|
-
if (
|
|
88
|
-
throw new Error('Required parameter
|
|
87
|
+
if (wTEmployeePeerRoles === null || wTEmployeePeerRoles === undefined) {
|
|
88
|
+
throw new Error('Required parameter wTEmployeePeerRoles was null or undefined when calling addPeerToRoles.');
|
|
89
89
|
}
|
|
90
90
|
Object.assign(localVarHeaderParams, options.headers);
|
|
91
91
|
let localVarUseFormData = false;
|
|
@@ -96,7 +96,7 @@ class EmployeesApi {
|
|
|
96
96
|
uri: localVarPath,
|
|
97
97
|
useQuerystring: this._useQuerystring,
|
|
98
98
|
json: true,
|
|
99
|
-
body: models_1.ObjectSerializer.serialize(
|
|
99
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeePeerRoles, "WTEmployeePeerRoles")
|
|
100
100
|
};
|
|
101
101
|
let authenticationPromise = Promise.resolve();
|
|
102
102
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -132,7 +132,7 @@ class EmployeesApi {
|
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
createAlert(
|
|
135
|
+
createAlert(wTEmployeeCreateAlert, options = { headers: {} }) {
|
|
136
136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
137
137
|
const localVarPath = this.basePath + '/v2/employee/alert';
|
|
138
138
|
let localVarQueryParameters = {};
|
|
@@ -145,8 +145,8 @@ class EmployeesApi {
|
|
|
145
145
|
localVarHeaderParams.Accept = produces.join(',');
|
|
146
146
|
}
|
|
147
147
|
let localVarFormParams = {};
|
|
148
|
-
if (
|
|
149
|
-
throw new Error('Required parameter
|
|
148
|
+
if (wTEmployeeCreateAlert === null || wTEmployeeCreateAlert === undefined) {
|
|
149
|
+
throw new Error('Required parameter wTEmployeeCreateAlert was null or undefined when calling createAlert.');
|
|
150
150
|
}
|
|
151
151
|
Object.assign(localVarHeaderParams, options.headers);
|
|
152
152
|
let localVarUseFormData = false;
|
|
@@ -157,7 +157,7 @@ class EmployeesApi {
|
|
|
157
157
|
uri: localVarPath,
|
|
158
158
|
useQuerystring: this._useQuerystring,
|
|
159
159
|
json: true,
|
|
160
|
-
body: models_1.ObjectSerializer.serialize(
|
|
160
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeCreateAlert, "WTEmployeeCreateAlert")
|
|
161
161
|
};
|
|
162
162
|
let authenticationPromise = Promise.resolve();
|
|
163
163
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -254,7 +254,7 @@ class EmployeesApi {
|
|
|
254
254
|
});
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
createFile(
|
|
257
|
+
createFile(wTEmployeeFileCreate, options = { headers: {} }) {
|
|
258
258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
259
259
|
const localVarPath = this.basePath + '/v2/employee/file/create';
|
|
260
260
|
let localVarQueryParameters = {};
|
|
@@ -267,8 +267,8 @@ class EmployeesApi {
|
|
|
267
267
|
localVarHeaderParams.Accept = produces.join(',');
|
|
268
268
|
}
|
|
269
269
|
let localVarFormParams = {};
|
|
270
|
-
if (
|
|
271
|
-
throw new Error('Required parameter
|
|
270
|
+
if (wTEmployeeFileCreate === null || wTEmployeeFileCreate === undefined) {
|
|
271
|
+
throw new Error('Required parameter wTEmployeeFileCreate was null or undefined when calling createFile.');
|
|
272
272
|
}
|
|
273
273
|
Object.assign(localVarHeaderParams, options.headers);
|
|
274
274
|
let localVarUseFormData = false;
|
|
@@ -279,7 +279,7 @@ class EmployeesApi {
|
|
|
279
279
|
uri: localVarPath,
|
|
280
280
|
useQuerystring: this._useQuerystring,
|
|
281
281
|
json: true,
|
|
282
|
-
body: models_1.ObjectSerializer.serialize(
|
|
282
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeFileCreate, "WTEmployeeFileCreate")
|
|
283
283
|
};
|
|
284
284
|
let authenticationPromise = Promise.resolve();
|
|
285
285
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -315,7 +315,7 @@ class EmployeesApi {
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
-
createMediaFile(
|
|
318
|
+
createMediaFile(wTEmployeeCreateMediaFile, options = { headers: {} }) {
|
|
319
319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
320
320
|
const localVarPath = this.basePath + '/v2/employee/mediaFile';
|
|
321
321
|
let localVarQueryParameters = {};
|
|
@@ -328,8 +328,8 @@ class EmployeesApi {
|
|
|
328
328
|
localVarHeaderParams.Accept = produces.join(',');
|
|
329
329
|
}
|
|
330
330
|
let localVarFormParams = {};
|
|
331
|
-
if (
|
|
332
|
-
throw new Error('Required parameter
|
|
331
|
+
if (wTEmployeeCreateMediaFile === null || wTEmployeeCreateMediaFile === undefined) {
|
|
332
|
+
throw new Error('Required parameter wTEmployeeCreateMediaFile was null or undefined when calling createMediaFile.');
|
|
333
333
|
}
|
|
334
334
|
Object.assign(localVarHeaderParams, options.headers);
|
|
335
335
|
let localVarUseFormData = false;
|
|
@@ -340,7 +340,7 @@ class EmployeesApi {
|
|
|
340
340
|
uri: localVarPath,
|
|
341
341
|
useQuerystring: this._useQuerystring,
|
|
342
342
|
json: true,
|
|
343
|
-
body: models_1.ObjectSerializer.serialize(
|
|
343
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeCreateMediaFile, "WTEmployeeCreateMediaFile")
|
|
344
344
|
};
|
|
345
345
|
let authenticationPromise = Promise.resolve();
|
|
346
346
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -376,7 +376,7 @@ class EmployeesApi {
|
|
|
376
376
|
});
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
|
-
createStaticVoucherCampaignsGroup(
|
|
379
|
+
createStaticVoucherCampaignsGroup(wTEmployeeCreateStaticVoucherCampaignGroup, options = { headers: {} }) {
|
|
380
380
|
return __awaiter(this, void 0, void 0, function* () {
|
|
381
381
|
const localVarPath = this.basePath + '/v2/employee/staticVoucherCampaignsGroup';
|
|
382
382
|
let localVarQueryParameters = {};
|
|
@@ -389,8 +389,8 @@ class EmployeesApi {
|
|
|
389
389
|
localVarHeaderParams.Accept = produces.join(',');
|
|
390
390
|
}
|
|
391
391
|
let localVarFormParams = {};
|
|
392
|
-
if (
|
|
393
|
-
throw new Error('Required parameter
|
|
392
|
+
if (wTEmployeeCreateStaticVoucherCampaignGroup === null || wTEmployeeCreateStaticVoucherCampaignGroup === undefined) {
|
|
393
|
+
throw new Error('Required parameter wTEmployeeCreateStaticVoucherCampaignGroup was null or undefined when calling createStaticVoucherCampaignsGroup.');
|
|
394
394
|
}
|
|
395
395
|
Object.assign(localVarHeaderParams, options.headers);
|
|
396
396
|
let localVarUseFormData = false;
|
|
@@ -401,7 +401,7 @@ class EmployeesApi {
|
|
|
401
401
|
uri: localVarPath,
|
|
402
402
|
useQuerystring: this._useQuerystring,
|
|
403
403
|
json: true,
|
|
404
|
-
body: models_1.ObjectSerializer.serialize(
|
|
404
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeCreateStaticVoucherCampaignGroup, "WTEmployeeCreateStaticVoucherCampaignGroup")
|
|
405
405
|
};
|
|
406
406
|
let authenticationPromise = Promise.resolve();
|
|
407
407
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1386,7 +1386,7 @@ class EmployeesApi {
|
|
|
1386
1386
|
});
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
|
-
importClubMembers(
|
|
1389
|
+
importClubMembers(wTEmployeeImportRecords, options = { headers: {} }) {
|
|
1390
1390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1391
1391
|
const localVarPath = this.basePath + '/v2/employee/import/members';
|
|
1392
1392
|
let localVarQueryParameters = {};
|
|
@@ -1399,8 +1399,8 @@ class EmployeesApi {
|
|
|
1399
1399
|
localVarHeaderParams.Accept = produces.join(',');
|
|
1400
1400
|
}
|
|
1401
1401
|
let localVarFormParams = {};
|
|
1402
|
-
if (
|
|
1403
|
-
throw new Error('Required parameter
|
|
1402
|
+
if (wTEmployeeImportRecords === null || wTEmployeeImportRecords === undefined) {
|
|
1403
|
+
throw new Error('Required parameter wTEmployeeImportRecords was null or undefined when calling importClubMembers.');
|
|
1404
1404
|
}
|
|
1405
1405
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1406
1406
|
let localVarUseFormData = false;
|
|
@@ -1411,7 +1411,7 @@ class EmployeesApi {
|
|
|
1411
1411
|
uri: localVarPath,
|
|
1412
1412
|
useQuerystring: this._useQuerystring,
|
|
1413
1413
|
json: true,
|
|
1414
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1414
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeImportRecords, "WTEmployeeImportRecords")
|
|
1415
1415
|
};
|
|
1416
1416
|
let authenticationPromise = Promise.resolve();
|
|
1417
1417
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1447,7 +1447,7 @@ class EmployeesApi {
|
|
|
1447
1447
|
});
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
|
-
importMerchantCredits(
|
|
1450
|
+
importMerchantCredits(wTEmployeeImportRecords, options = { headers: {} }) {
|
|
1451
1451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1452
1452
|
const localVarPath = this.basePath + '/v2/employee/import/merchantCredits';
|
|
1453
1453
|
let localVarQueryParameters = {};
|
|
@@ -1460,8 +1460,8 @@ class EmployeesApi {
|
|
|
1460
1460
|
localVarHeaderParams.Accept = produces.join(',');
|
|
1461
1461
|
}
|
|
1462
1462
|
let localVarFormParams = {};
|
|
1463
|
-
if (
|
|
1464
|
-
throw new Error('Required parameter
|
|
1463
|
+
if (wTEmployeeImportRecords === null || wTEmployeeImportRecords === undefined) {
|
|
1464
|
+
throw new Error('Required parameter wTEmployeeImportRecords was null or undefined when calling importMerchantCredits.');
|
|
1465
1465
|
}
|
|
1466
1466
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1467
1467
|
let localVarUseFormData = false;
|
|
@@ -1472,7 +1472,7 @@ class EmployeesApi {
|
|
|
1472
1472
|
uri: localVarPath,
|
|
1473
1473
|
useQuerystring: this._useQuerystring,
|
|
1474
1474
|
json: true,
|
|
1475
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1475
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeImportRecords, "WTEmployeeImportRecords")
|
|
1476
1476
|
};
|
|
1477
1477
|
let authenticationPromise = Promise.resolve();
|
|
1478
1478
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1565,7 +1565,7 @@ class EmployeesApi {
|
|
|
1565
1565
|
});
|
|
1566
1566
|
});
|
|
1567
1567
|
}
|
|
1568
|
-
modifyPeersRoles(userID,
|
|
1568
|
+
modifyPeersRoles(userID, wTEmployeePeerRoles, options = { headers: {} }) {
|
|
1569
1569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1570
1570
|
const localVarPath = this.basePath + '/v2/employee/peer/permissions/{userID}'
|
|
1571
1571
|
.replace('{' + 'userID' + '}', encodeURIComponent(String(userID)));
|
|
@@ -1582,8 +1582,8 @@ class EmployeesApi {
|
|
|
1582
1582
|
if (userID === null || userID === undefined) {
|
|
1583
1583
|
throw new Error('Required parameter userID was null or undefined when calling modifyPeersRoles.');
|
|
1584
1584
|
}
|
|
1585
|
-
if (
|
|
1586
|
-
throw new Error('Required parameter
|
|
1585
|
+
if (wTEmployeePeerRoles === null || wTEmployeePeerRoles === undefined) {
|
|
1586
|
+
throw new Error('Required parameter wTEmployeePeerRoles was null or undefined when calling modifyPeersRoles.');
|
|
1587
1587
|
}
|
|
1588
1588
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1589
1589
|
let localVarUseFormData = false;
|
|
@@ -1594,7 +1594,7 @@ class EmployeesApi {
|
|
|
1594
1594
|
uri: localVarPath,
|
|
1595
1595
|
useQuerystring: this._useQuerystring,
|
|
1596
1596
|
json: true,
|
|
1597
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1597
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeePeerRoles, "WTEmployeePeerRoles")
|
|
1598
1598
|
};
|
|
1599
1599
|
let authenticationPromise = Promise.resolve();
|
|
1600
1600
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1630,7 +1630,7 @@ class EmployeesApi {
|
|
|
1630
1630
|
});
|
|
1631
1631
|
});
|
|
1632
1632
|
}
|
|
1633
|
-
presignFile(
|
|
1633
|
+
presignFile(wTEmployeeS3FilePresign, options = { headers: {} }) {
|
|
1634
1634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1635
1635
|
const localVarPath = this.basePath + '/v2/employee/file/presign';
|
|
1636
1636
|
let localVarQueryParameters = {};
|
|
@@ -1643,8 +1643,8 @@ class EmployeesApi {
|
|
|
1643
1643
|
localVarHeaderParams.Accept = produces.join(',');
|
|
1644
1644
|
}
|
|
1645
1645
|
let localVarFormParams = {};
|
|
1646
|
-
if (
|
|
1647
|
-
throw new Error('Required parameter
|
|
1646
|
+
if (wTEmployeeS3FilePresign === null || wTEmployeeS3FilePresign === undefined) {
|
|
1647
|
+
throw new Error('Required parameter wTEmployeeS3FilePresign was null or undefined when calling presignFile.');
|
|
1648
1648
|
}
|
|
1649
1649
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1650
1650
|
let localVarUseFormData = false;
|
|
@@ -1655,7 +1655,7 @@ class EmployeesApi {
|
|
|
1655
1655
|
uri: localVarPath,
|
|
1656
1656
|
useQuerystring: this._useQuerystring,
|
|
1657
1657
|
json: true,
|
|
1658
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1658
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeS3FilePresign, "WTEmployeeS3FilePresign")
|
|
1659
1659
|
};
|
|
1660
1660
|
let authenticationPromise = Promise.resolve();
|
|
1661
1661
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1752,7 +1752,7 @@ class EmployeesApi {
|
|
|
1752
1752
|
});
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
|
-
scheduleAdvertisementCredit(advertisementCreditID,
|
|
1755
|
+
scheduleAdvertisementCredit(advertisementCreditID, wTEmployeeScheduleSimpleSMS, options = { headers: {} }) {
|
|
1756
1756
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1757
1757
|
const localVarPath = this.basePath + '/v2/employee/sms/schedule/adCredit/{advertisementCreditID}'
|
|
1758
1758
|
.replace('{' + 'advertisementCreditID' + '}', encodeURIComponent(String(advertisementCreditID)));
|
|
@@ -1769,8 +1769,8 @@ class EmployeesApi {
|
|
|
1769
1769
|
if (advertisementCreditID === null || advertisementCreditID === undefined) {
|
|
1770
1770
|
throw new Error('Required parameter advertisementCreditID was null or undefined when calling scheduleAdvertisementCredit.');
|
|
1771
1771
|
}
|
|
1772
|
-
if (
|
|
1773
|
-
throw new Error('Required parameter
|
|
1772
|
+
if (wTEmployeeScheduleSimpleSMS === null || wTEmployeeScheduleSimpleSMS === undefined) {
|
|
1773
|
+
throw new Error('Required parameter wTEmployeeScheduleSimpleSMS was null or undefined when calling scheduleAdvertisementCredit.');
|
|
1774
1774
|
}
|
|
1775
1775
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1776
1776
|
let localVarUseFormData = false;
|
|
@@ -1781,7 +1781,7 @@ class EmployeesApi {
|
|
|
1781
1781
|
uri: localVarPath,
|
|
1782
1782
|
useQuerystring: this._useQuerystring,
|
|
1783
1783
|
json: true,
|
|
1784
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1784
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeScheduleSimpleSMS, "WTEmployeeScheduleSimpleSMS")
|
|
1785
1785
|
};
|
|
1786
1786
|
let authenticationPromise = Promise.resolve();
|
|
1787
1787
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1817,7 +1817,7 @@ class EmployeesApi {
|
|
|
1817
1817
|
});
|
|
1818
1818
|
});
|
|
1819
1819
|
}
|
|
1820
|
-
scheduleDynamicVoucher(dynamicVoucherID,
|
|
1820
|
+
scheduleDynamicVoucher(dynamicVoucherID, wTEmployeeScheduleSimpleSMS, options = { headers: {} }) {
|
|
1821
1821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1822
1822
|
const localVarPath = this.basePath + '/v2/employee/sms/schedule/dynamicVoucher/{dynamicVoucherID}'
|
|
1823
1823
|
.replace('{' + 'dynamicVoucherID' + '}', encodeURIComponent(String(dynamicVoucherID)));
|
|
@@ -1834,8 +1834,8 @@ class EmployeesApi {
|
|
|
1834
1834
|
if (dynamicVoucherID === null || dynamicVoucherID === undefined) {
|
|
1835
1835
|
throw new Error('Required parameter dynamicVoucherID was null or undefined when calling scheduleDynamicVoucher.');
|
|
1836
1836
|
}
|
|
1837
|
-
if (
|
|
1838
|
-
throw new Error('Required parameter
|
|
1837
|
+
if (wTEmployeeScheduleSimpleSMS === null || wTEmployeeScheduleSimpleSMS === undefined) {
|
|
1838
|
+
throw new Error('Required parameter wTEmployeeScheduleSimpleSMS was null or undefined when calling scheduleDynamicVoucher.');
|
|
1839
1839
|
}
|
|
1840
1840
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1841
1841
|
let localVarUseFormData = false;
|
|
@@ -1846,7 +1846,7 @@ class EmployeesApi {
|
|
|
1846
1846
|
uri: localVarPath,
|
|
1847
1847
|
useQuerystring: this._useQuerystring,
|
|
1848
1848
|
json: true,
|
|
1849
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1849
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeScheduleSimpleSMS, "WTEmployeeScheduleSimpleSMS")
|
|
1850
1850
|
};
|
|
1851
1851
|
let authenticationPromise = Promise.resolve();
|
|
1852
1852
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1882,7 +1882,7 @@ class EmployeesApi {
|
|
|
1882
1882
|
});
|
|
1883
1883
|
});
|
|
1884
1884
|
}
|
|
1885
|
-
scheduleDynamicVoucherToRecipient(dynamicVoucherID,
|
|
1885
|
+
scheduleDynamicVoucherToRecipient(dynamicVoucherID, wTEmployeeScheduleSimpleSMSToRecipient, options = { headers: {} }) {
|
|
1886
1886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1887
1887
|
const localVarPath = this.basePath + '/v2/employee/sms/schedule/recipient/dynamicVoucher/{dynamicVoucherID}'
|
|
1888
1888
|
.replace('{' + 'dynamicVoucherID' + '}', encodeURIComponent(String(dynamicVoucherID)));
|
|
@@ -1899,8 +1899,8 @@ class EmployeesApi {
|
|
|
1899
1899
|
if (dynamicVoucherID === null || dynamicVoucherID === undefined) {
|
|
1900
1900
|
throw new Error('Required parameter dynamicVoucherID was null or undefined when calling scheduleDynamicVoucherToRecipient.');
|
|
1901
1901
|
}
|
|
1902
|
-
if (
|
|
1903
|
-
throw new Error('Required parameter
|
|
1902
|
+
if (wTEmployeeScheduleSimpleSMSToRecipient === null || wTEmployeeScheduleSimpleSMSToRecipient === undefined) {
|
|
1903
|
+
throw new Error('Required parameter wTEmployeeScheduleSimpleSMSToRecipient was null or undefined when calling scheduleDynamicVoucherToRecipient.');
|
|
1904
1904
|
}
|
|
1905
1905
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1906
1906
|
let localVarUseFormData = false;
|
|
@@ -1911,7 +1911,7 @@ class EmployeesApi {
|
|
|
1911
1911
|
uri: localVarPath,
|
|
1912
1912
|
useQuerystring: this._useQuerystring,
|
|
1913
1913
|
json: true,
|
|
1914
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1914
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeScheduleSimpleSMSToRecipient, "WTEmployeeScheduleSimpleSMSToRecipient")
|
|
1915
1915
|
};
|
|
1916
1916
|
let authenticationPromise = Promise.resolve();
|
|
1917
1917
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -1947,7 +1947,7 @@ class EmployeesApi {
|
|
|
1947
1947
|
});
|
|
1948
1948
|
});
|
|
1949
1949
|
}
|
|
1950
|
-
scheduleSimpleSMS(
|
|
1950
|
+
scheduleSimpleSMS(wTEmployeeScheduleSimpleSMS, options = { headers: {} }) {
|
|
1951
1951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1952
1952
|
const localVarPath = this.basePath + '/v2/employee/sms/schedule/simple';
|
|
1953
1953
|
let localVarQueryParameters = {};
|
|
@@ -1960,8 +1960,8 @@ class EmployeesApi {
|
|
|
1960
1960
|
localVarHeaderParams.Accept = produces.join(',');
|
|
1961
1961
|
}
|
|
1962
1962
|
let localVarFormParams = {};
|
|
1963
|
-
if (
|
|
1964
|
-
throw new Error('Required parameter
|
|
1963
|
+
if (wTEmployeeScheduleSimpleSMS === null || wTEmployeeScheduleSimpleSMS === undefined) {
|
|
1964
|
+
throw new Error('Required parameter wTEmployeeScheduleSimpleSMS was null or undefined when calling scheduleSimpleSMS.');
|
|
1965
1965
|
}
|
|
1966
1966
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1967
1967
|
let localVarUseFormData = false;
|
|
@@ -1972,7 +1972,7 @@ class EmployeesApi {
|
|
|
1972
1972
|
uri: localVarPath,
|
|
1973
1973
|
useQuerystring: this._useQuerystring,
|
|
1974
1974
|
json: true,
|
|
1975
|
-
body: models_1.ObjectSerializer.serialize(
|
|
1975
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeScheduleSimpleSMS, "WTEmployeeScheduleSimpleSMS")
|
|
1976
1976
|
};
|
|
1977
1977
|
let authenticationPromise = Promise.resolve();
|
|
1978
1978
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -2008,7 +2008,7 @@ class EmployeesApi {
|
|
|
2008
2008
|
});
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
2011
|
-
scheduleSimpleSMSToRecipient(
|
|
2011
|
+
scheduleSimpleSMSToRecipient(wTEmployeeScheduleSimpleSMSToRecipient, options = { headers: {} }) {
|
|
2012
2012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2013
2013
|
const localVarPath = this.basePath + '/v2/employee/sms/schedule/recipient/simple';
|
|
2014
2014
|
let localVarQueryParameters = {};
|
|
@@ -2021,8 +2021,8 @@ class EmployeesApi {
|
|
|
2021
2021
|
localVarHeaderParams.Accept = produces.join(',');
|
|
2022
2022
|
}
|
|
2023
2023
|
let localVarFormParams = {};
|
|
2024
|
-
if (
|
|
2025
|
-
throw new Error('Required parameter
|
|
2024
|
+
if (wTEmployeeScheduleSimpleSMSToRecipient === null || wTEmployeeScheduleSimpleSMSToRecipient === undefined) {
|
|
2025
|
+
throw new Error('Required parameter wTEmployeeScheduleSimpleSMSToRecipient was null or undefined when calling scheduleSimpleSMSToRecipient.');
|
|
2026
2026
|
}
|
|
2027
2027
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2028
2028
|
let localVarUseFormData = false;
|
|
@@ -2033,7 +2033,7 @@ class EmployeesApi {
|
|
|
2033
2033
|
uri: localVarPath,
|
|
2034
2034
|
useQuerystring: this._useQuerystring,
|
|
2035
2035
|
json: true,
|
|
2036
|
-
body: models_1.ObjectSerializer.serialize(
|
|
2036
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeScheduleSimpleSMSToRecipient, "WTEmployeeScheduleSimpleSMSToRecipient")
|
|
2037
2037
|
};
|
|
2038
2038
|
let authenticationPromise = Promise.resolve();
|
|
2039
2039
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -2069,7 +2069,7 @@ class EmployeesApi {
|
|
|
2069
2069
|
});
|
|
2070
2070
|
});
|
|
2071
2071
|
}
|
|
2072
|
-
sendHelpDeskResponse(
|
|
2072
|
+
sendHelpDeskResponse(wTEmployeeSendHelpDeskResponse, options = { headers: {} }) {
|
|
2073
2073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2074
2074
|
const localVarPath = this.basePath + '/v2/employee/helpDesk/response';
|
|
2075
2075
|
let localVarQueryParameters = {};
|
|
@@ -2082,8 +2082,8 @@ class EmployeesApi {
|
|
|
2082
2082
|
localVarHeaderParams.Accept = produces.join(',');
|
|
2083
2083
|
}
|
|
2084
2084
|
let localVarFormParams = {};
|
|
2085
|
-
if (
|
|
2086
|
-
throw new Error('Required parameter
|
|
2085
|
+
if (wTEmployeeSendHelpDeskResponse === null || wTEmployeeSendHelpDeskResponse === undefined) {
|
|
2086
|
+
throw new Error('Required parameter wTEmployeeSendHelpDeskResponse was null or undefined when calling sendHelpDeskResponse.');
|
|
2087
2087
|
}
|
|
2088
2088
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2089
2089
|
let localVarUseFormData = false;
|
|
@@ -2094,7 +2094,7 @@ class EmployeesApi {
|
|
|
2094
2094
|
uri: localVarPath,
|
|
2095
2095
|
useQuerystring: this._useQuerystring,
|
|
2096
2096
|
json: true,
|
|
2097
|
-
body: models_1.ObjectSerializer.serialize(
|
|
2097
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeSendHelpDeskResponse, "WTEmployeeSendHelpDeskResponse")
|
|
2098
2098
|
};
|
|
2099
2099
|
let authenticationPromise = Promise.resolve();
|
|
2100
2100
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -2130,7 +2130,7 @@ class EmployeesApi {
|
|
|
2130
2130
|
});
|
|
2131
2131
|
});
|
|
2132
2132
|
}
|
|
2133
|
-
sendSmsCampaignBroadcast(staticVoucherCampaignID,
|
|
2133
|
+
sendSmsCampaignBroadcast(staticVoucherCampaignID, wTEmployeeScheduleSMSCampaignBroadcast, options = { headers: {} }) {
|
|
2134
2134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2135
2135
|
const localVarPath = this.basePath + '/v2/employee/sms/schedule/campaign/{staticVoucherCampaignID}'
|
|
2136
2136
|
.replace('{' + 'staticVoucherCampaignID' + '}', encodeURIComponent(String(staticVoucherCampaignID)));
|
|
@@ -2147,8 +2147,8 @@ class EmployeesApi {
|
|
|
2147
2147
|
if (staticVoucherCampaignID === null || staticVoucherCampaignID === undefined) {
|
|
2148
2148
|
throw new Error('Required parameter staticVoucherCampaignID was null or undefined when calling sendSmsCampaignBroadcast.');
|
|
2149
2149
|
}
|
|
2150
|
-
if (
|
|
2151
|
-
throw new Error('Required parameter
|
|
2150
|
+
if (wTEmployeeScheduleSMSCampaignBroadcast === null || wTEmployeeScheduleSMSCampaignBroadcast === undefined) {
|
|
2151
|
+
throw new Error('Required parameter wTEmployeeScheduleSMSCampaignBroadcast was null or undefined when calling sendSmsCampaignBroadcast.');
|
|
2152
2152
|
}
|
|
2153
2153
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2154
2154
|
let localVarUseFormData = false;
|
|
@@ -2159,7 +2159,7 @@ class EmployeesApi {
|
|
|
2159
2159
|
uri: localVarPath,
|
|
2160
2160
|
useQuerystring: this._useQuerystring,
|
|
2161
2161
|
json: true,
|
|
2162
|
-
body: models_1.ObjectSerializer.serialize(
|
|
2162
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeScheduleSMSCampaignBroadcast, "WTEmployeeScheduleSMSCampaignBroadcast")
|
|
2163
2163
|
};
|
|
2164
2164
|
let authenticationPromise = Promise.resolve();
|
|
2165
2165
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
@@ -2427,7 +2427,7 @@ class EmployeesApi {
|
|
|
2427
2427
|
});
|
|
2428
2428
|
});
|
|
2429
2429
|
}
|
|
2430
|
-
setProfilePicture(
|
|
2430
|
+
setProfilePicture(wTEmployeeCreateMediaFile, options = { headers: {} }) {
|
|
2431
2431
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2432
2432
|
const localVarPath = this.basePath + '/v2/employee/profile/picture';
|
|
2433
2433
|
let localVarQueryParameters = {};
|
|
@@ -2440,8 +2440,8 @@ class EmployeesApi {
|
|
|
2440
2440
|
localVarHeaderParams.Accept = produces.join(',');
|
|
2441
2441
|
}
|
|
2442
2442
|
let localVarFormParams = {};
|
|
2443
|
-
if (
|
|
2444
|
-
throw new Error('Required parameter
|
|
2443
|
+
if (wTEmployeeCreateMediaFile === null || wTEmployeeCreateMediaFile === undefined) {
|
|
2444
|
+
throw new Error('Required parameter wTEmployeeCreateMediaFile was null or undefined when calling setProfilePicture.');
|
|
2445
2445
|
}
|
|
2446
2446
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2447
2447
|
let localVarUseFormData = false;
|
|
@@ -2452,7 +2452,7 @@ class EmployeesApi {
|
|
|
2452
2452
|
uri: localVarPath,
|
|
2453
2453
|
useQuerystring: this._useQuerystring,
|
|
2454
2454
|
json: true,
|
|
2455
|
-
body: models_1.ObjectSerializer.serialize(
|
|
2455
|
+
body: models_1.ObjectSerializer.serialize(wTEmployeeCreateMediaFile, "WTEmployeeCreateMediaFile")
|
|
2456
2456
|
};
|
|
2457
2457
|
let authenticationPromise = Promise.resolve();
|
|
2458
2458
|
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|