wallet 1.1.3 → 1.1.6
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 +309 -309
- package/.openapi-generator-ignore +23 -23
- package/README.md +13 -1
- package/api/advertisementCreditsApi.ts +589 -589
- package/api/analyticsApi.ts +5953 -5953
- package/api/apis.ts +86 -86
- package/api/appleWalletSubscribersApi.ts +235 -235
- package/api/billingApi.ts +680 -680
- package/api/clubMembersPointsApi.ts +798 -798
- package/api/configurationApi.ts +225 -225
- package/api/countriesApi.ts +155 -155
- package/api/customerApi.ts +737 -737
- package/api/dashboardApi.ts +1553 -1553
- package/api/dynamicVouchersApi.ts +603 -603
- package/api/employeeAccessApi.ts +165 -165
- package/api/employeesApi.ts +2933 -2933
- package/api/industriesApi.ts +155 -155
- package/api/infoGenesisReportsApi.ts +2023 -2023
- package/api/integratedTerminalsApi.ts +447 -447
- package/api/interactionsApi.ts +678 -678
- package/api/linkBookApi.ts +447 -447
- package/api/linkBookSectionApi.ts +447 -447
- package/api/loginAndLogoutApi.ts +296 -296
- package/api/membershipTiersApi.ts +729 -729
- package/api/merchantApi.ts +1534 -1534
- package/api/merchantCreditsApi.ts +798 -798
- package/api/merchantURLsApi.ts +586 -586
- package/api/mobileTerminalApi.ts +323 -323
- package/api/newsApi.ts +447 -447
- package/api/paymentDesignsApi.ts +519 -519
- package/api/performancesApi.ts +447 -447
- package/api/promoCodesApi.ts +447 -447
- package/api/sMSApi.ts +1999 -1999
- package/api/settingsApi.ts +220 -220
- package/api/staticVoucherCampaignGroupsApi.ts +165 -165
- package/api/staticVoucherCampaignsApi.ts +1484 -1484
- package/api/staticVouchersApi.ts +535 -535
- package/api/systemApi.ts +604 -604
- package/api/transactionLedgerApi.ts +203 -203
- package/api/utilitiesApi.ts +157 -157
- package/api/webTerminalApi.ts +309 -309
- package/api.ts +2 -2
- package/examples/advertisementcredits.example.ts +50 -50
- package/examples/clubmembers.example.ts +50 -50
- package/examples/linkbook.example.ts +50 -50
- package/examples/membershiptiers.example.ts +49 -49
- package/examples/merchanturls.example.ts +47 -47
- package/examples/news.example.ts +51 -51
- package/examples/paymentdesigns.example.ts +56 -56
- package/git_push.sh +57 -57
- package/model/advertisementCredit.ts +103 -103
- package/model/advertisementCreditBroadcast.ts +154 -154
- package/model/advertisementCreditScan.ts +170 -170
- package/model/agreement.ts +133 -133
- package/model/alert.ts +79 -79
- package/model/announcement.ts +67 -67
- package/model/applicableTerminals.ts +30 -30
- package/model/applicableTerminalsAnyOf.ts +17 -17
- package/model/applicableTerminalsAnyOf1.ts +17 -17
- package/model/applicableTerminalsAnyOf2.ts +17 -17
- package/model/applicableTerminalsAnyOf3.ts +17 -17
- package/model/authError.ts +55 -55
- package/model/availablePhoneNumbersRequest.ts +43 -43
- package/model/clickFunnelAmount.ts +37 -37
- package/model/clickFunnelContact.ts +248 -248
- package/model/clickFunnelContactProfile.ts +235 -235
- package/model/clickFunnelEvent.ts +38 -38
- package/model/clickFunnelOriginalAmount.ts +37 -37
- package/model/clickFunnelProduct.ts +194 -194
- package/model/clickFunnelPurchase.ts +178 -178
- package/model/createStaticVoucherCampaign.ts +109 -109
- package/model/createStaticVoucherCampaignWithVoucher.ts +109 -109
- package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +109 -109
- package/model/dashboardWidget.ts +115 -115
- package/model/duplicateRowFound.ts +55 -55
- package/model/dynamicVoucher.ts +224 -224
- package/model/dynamicVoucherBroadcast.ts +154 -154
- package/model/employee.ts +109 -109
- package/model/employeeActivityLog.ts +67 -67
- package/model/employeeAlert.ts +79 -79
- package/model/exportDataFile.ts +85 -85
- package/model/falsumError.ts +41 -41
- package/model/falsumField.ts +55 -55
- package/model/feature.ts +79 -79
- package/model/forbiddenRequest.ts +55 -55
- package/model/foreignKeyDoesNotExist.ts +55 -55
- package/model/helpDeskRequest.ts +85 -85
- package/model/importedList.ts +73 -73
- package/model/importedListRecipient.ts +73 -73
- package/model/inlineObject.ts +31 -31
- package/model/inlineObject1.ts +31 -31
- package/model/inlineObject10.ts +37 -37
- package/model/inlineObject11.ts +37 -37
- package/model/inlineObject12.ts +37 -37
- package/model/inlineObject13.ts +37 -37
- package/model/inlineObject14.ts +37 -37
- package/model/inlineObject15.ts +67 -67
- package/model/inlineObject16.ts +61 -61
- package/model/inlineObject17.ts +55 -55
- package/model/inlineObject18.ts +61 -61
- package/model/inlineObject19.ts +55 -55
- package/model/inlineObject2.ts +31 -31
- package/model/inlineObject20.ts +61 -61
- package/model/inlineObject21.ts +73 -73
- package/model/inlineObject22.ts +31 -31
- package/model/inlineObject23.ts +31 -31
- package/model/inlineObject24.ts +43 -43
- package/model/inlineObject25.ts +55 -55
- package/model/inlineObject26.ts +31 -31
- package/model/inlineObject27.ts +31 -31
- package/model/inlineObject28.ts +43 -43
- package/model/inlineObject29.ts +49 -49
- package/model/inlineObject3.ts +31 -31
- package/model/inlineObject30.ts +43 -43
- package/model/inlineObject31.ts +31 -31
- package/model/inlineObject32.ts +31 -31
- package/model/inlineObject33.ts +31 -31
- package/model/inlineObject34.ts +43 -43
- package/model/inlineObject35.ts +43 -43
- package/model/inlineObject36.ts +43 -43
- package/model/inlineObject37.ts +43 -43
- package/model/inlineObject38.ts +43 -43
- package/model/inlineObject39.ts +43 -43
- package/model/inlineObject4.ts +37 -37
- package/model/inlineObject40.ts +43 -43
- package/model/inlineObject41.ts +43 -43
- package/model/inlineObject42.ts +43 -43
- package/model/inlineObject43.ts +43 -43
- package/model/inlineObject44.ts +43 -43
- package/model/inlineObject45.ts +43 -43
- package/model/inlineObject46.ts +43 -43
- package/model/inlineObject47.ts +43 -43
- package/model/inlineObject48.ts +43 -43
- package/model/inlineObject49.ts +43 -43
- package/model/inlineObject5.ts +31 -31
- package/model/inlineObject50.ts +43 -43
- package/model/inlineObject51.ts +97 -97
- package/model/inlineObject52.ts +31 -31
- package/model/inlineObject53.ts +97 -97
- package/model/inlineObject54.ts +97 -97
- package/model/inlineObject55.ts +91 -91
- package/model/inlineObject56.ts +37 -37
- package/model/inlineObject57.ts +37 -37
- package/model/inlineObject58.ts +37 -37
- package/model/inlineObject59.ts +43 -43
- package/model/inlineObject6.ts +31 -31
- package/model/inlineObject60.ts +43 -43
- package/model/inlineObject61.ts +43 -43
- package/model/inlineObject62.ts +37 -37
- package/model/inlineObject63.ts +37 -37
- package/model/inlineObject64.ts +37 -37
- package/model/inlineObject65.ts +205 -205
- package/model/inlineObject66.ts +49 -49
- package/model/inlineObject67.ts +49 -49
- package/model/inlineObject68.ts +37 -37
- package/model/inlineObject69.ts +121 -121
- package/model/inlineObject7.ts +31 -31
- package/model/inlineObject8.ts +43 -43
- package/model/inlineObject9.ts +37 -37
- package/model/inlineResponse200.ts +37 -37
- package/model/inlineResponse2001.ts +56 -56
- package/model/inlineResponse20010.ts +109 -109
- package/model/inlineResponse20011.ts +43 -43
- package/model/inlineResponse2002.ts +31 -31
- package/model/inlineResponse2003.ts +31 -31
- package/model/inlineResponse2004.ts +43 -43
- package/model/inlineResponse2005.ts +38 -38
- package/model/inlineResponse2006.ts +97 -97
- package/model/inlineResponse2007.ts +44 -44
- package/model/inlineResponse2008.ts +31 -31
- package/model/inlineResponse2009.ts +98 -98
- package/model/internalServerError.ts +55 -55
- package/model/ledgerEntry.ts +176 -176
- package/model/linkBook.ts +85 -85
- package/model/linkBookSection.ts +61 -61
- package/model/mSMemberHistory.ts +112 -112
- package/model/mSMemberHistoryPagination.ts +53 -53
- package/model/mSMemberRedemption.ts +109 -109
- package/model/mSMemberRedemptionPagination.ts +53 -53
- package/model/mSMembershipTierHistory.ts +106 -106
- package/model/mSMembershipTierHistoryPagination.ts +53 -53
- package/model/mSMembershipTierRedemption.ts +121 -121
- package/model/mSMembershipTierRedemptionPagination.ts +53 -53
- package/model/mSMerchantCreditHistory.ts +88 -88
- package/model/mSMerchantCreditHistoryPagination.ts +53 -53
- package/model/mSMerchantCreditRedemption.ts +109 -109
- package/model/mSMerchantCreditRedemptionPagination.ts +53 -53
- package/model/mediaFile.ts +85 -85
- package/model/member.ts +118 -118
- package/model/memberSearch.ts +61 -61
- package/model/merchant.ts +133 -133
- package/model/merchantCreditSearch.ts +61 -61
- package/model/merchantNotInitialized.ts +55 -55
- package/model/merchantURL.ts +67 -67
- package/model/message.ts +74 -74
- package/model/models.ts +1015 -1015
- package/model/moduleError.ts +157 -157
- package/model/newsArticle.ts +85 -85
- package/model/optInList.ts +121 -121
- package/model/optInListSource.ts +73 -73
- package/model/optInListSubscriber.ts +104 -104
- package/model/outboundSMS.ts +157 -157
- package/model/paginatedWTMembers.ts +53 -53
- package/model/paginatedWTMerchantCredits.ts +53 -53
- package/model/paginationRequestWithSortOptions.ts +75 -75
- package/model/paymentDesign.ts +139 -139
- package/model/performance.ts +100 -100
- package/model/phoneNumber.ts +157 -157
- package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +106 -106
- package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +67 -67
- package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +106 -106
- package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +43 -43
- package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +82 -82
- package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +46 -46
- package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +52 -52
- package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +100 -100
- package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.ts +94 -94
- package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +100 -100
- package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +46 -46
- package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +154 -154
- package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +137 -137
- package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +58 -58
- package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +106 -106
- package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +142 -142
- package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +94 -94
- package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +106 -106
- package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +167 -167
- package/model/pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID.ts +58 -58
- package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +58 -58
- package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +76 -76
- package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +52 -52
- package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +40 -40
- package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +58 -58
- package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +138 -138
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +112 -112
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +46 -46
- package/model/plan.ts +62 -62
- package/model/portalPage.ts +67 -67
- package/model/presignedPost.ts +41 -41
- package/model/presignedPostFields.ts +43 -43
- package/model/product.ts +74 -74
- package/model/promoCode.ts +97 -97
- package/model/reachPerformanceStats.ts +70 -70
- package/model/request.ts +349 -349
- package/model/response.ts +67 -67
- package/model/role.ts +117 -117
- package/model/roleAuditLog.ts +97 -97
- package/model/sSOptInSource.ts +73 -73
- package/model/simpleSMSBroadcast.ts +147 -147
- package/model/staticVoucher.ts +224 -224
- package/model/staticVoucherCampaign.ts +175 -175
- package/model/staticVoucherCampaignBroadcast.ts +142 -142
- package/model/staticVoucherCampaignGroup.ts +85 -85
- package/model/staticVoucherCampaignUpdate.ts +85 -85
- package/model/status.ts +30 -30
- package/model/statusAnyOf.ts +17 -17
- package/model/statusAnyOf1.ts +17 -17
- package/model/statusAnyOf2.ts +17 -17
- package/model/statusAnyOf3.ts +17 -17
- package/model/subscriptionFeature.ts +79 -79
- package/model/subscriptionPlan.ts +69 -69
- package/model/subscriptionProduct.ts +81 -81
- package/model/tcpa.ts +67 -67
- package/model/updateStaticVoucherCampaignWithVoucher.ts +109 -109
- package/model/vSCampaignGeneratedMessage.ts +43 -43
- package/model/vSCampaignGeneratedMessagePagination.ts +53 -53
- package/model/vSDynamicVoucherStatus.ts +28 -28
- package/model/wTAdvertisementCredit.ts +103 -103
- package/model/wTAdvertisementCreditScan.ts +170 -170
- package/model/wTAdvertisementCreditUpdateParams.ts +55 -55
- package/model/wTDynamicVoucher.ts +224 -224
- package/model/wTDynamicVoucherCreateParams.ts +103 -103
- package/model/wTDynamicVoucherRedemption.ts +164 -164
- package/model/wTDynamicVoucherSummary.ts +169 -169
- package/model/wTDynamicVoucherUpdateParams.ts +103 -103
- package/model/wTEmployee.ts +109 -109
- package/model/wTEmployeeCreate.ts +61 -61
- package/model/wTEmployeeUpdate.ts +55 -55
- package/model/wTImportedList.ts +73 -73
- package/model/wTLinkBookCreateParams.ts +55 -55
- package/model/wTLinkBookSectionCreateParams.ts +31 -31
- package/model/wTLinkBookSectionUpdateParams.ts +31 -31
- package/model/wTLinkBookUpdateParams.ts +55 -55
- package/model/wTMember.ts +118 -118
- package/model/wTMemberCreationParams.ts +73 -73
- package/model/wTMembershipTier.ts +106 -106
- package/model/wTMembershipTierCreationParams.ts +64 -64
- package/model/wTMembershipTierUpdateParams.ts +64 -64
- package/model/wTMembershipTierWithMemberCount.ts +115 -115
- package/model/wTMerchantCredit.ts +106 -106
- package/model/wTMerchantCreditCreationParams.ts +49 -49
- package/model/wTMerchantURLCreate.ts +37 -37
- package/model/wTMerchantURLUpdate.ts +37 -37
- package/model/wTNewsArticleCreateParams.ts +55 -55
- package/model/wTNewsArticleUpdateParams.ts +55 -55
- package/model/wTOptInList.ts +121 -121
- package/model/wTOptInListCreationParams.ts +91 -91
- package/model/wTPaymentDesign.ts +139 -139
- package/model/wTPaymentDesignCreateParams.ts +115 -115
- package/model/wTPaymentDesignUpdateParams.ts +115 -115
- package/model/wTPerformanceCreateParams.ts +70 -70
- package/model/wTPerformanceUpdateParams.ts +70 -70
- package/model/wTPosMachine.ts +88 -88
- package/model/wTPosMachineCreateParams.ts +58 -58
- package/model/wTPosMachineUpdateParams.ts +58 -58
- package/model/wTPromoCodeCreateParams.ts +67 -67
- package/model/wTPromoCodeUpdateParams.ts +67 -67
- package/model/wTRole.ts +116 -116
- package/model/wTStaticVoucher.ts +224 -224
- package/model/wTStaticVoucherCampaign.ts +175 -175
- package/model/wTStaticVoucherCreateParams.ts +49 -49
- package/model/wTStaticVoucherUpdateParams.ts +43 -43
- package/model/wTWalletPageView.ts +251 -251
- package/model/wTWalletPageViewGeoPoint.ts +37 -37
- package/model/walletPageView.ts +251 -251
- package/model/webpage.ts +85 -85
- package/package.json +1 -26
- package/readme-generator.py +54 -42
- package/tsconfig.json +25 -25
package/model/models.ts
CHANGED
|
@@ -1,1015 +1,1015 @@
|
|
|
1
|
-
import localVarRequest from 'request';
|
|
2
|
-
|
|
3
|
-
export * from './advertisementCredit';
|
|
4
|
-
export * from './advertisementCreditBroadcast';
|
|
5
|
-
export * from './advertisementCreditScan';
|
|
6
|
-
export * from './agreement';
|
|
7
|
-
export * from './alert';
|
|
8
|
-
export * from './announcement';
|
|
9
|
-
export * from './applicableTerminals';
|
|
10
|
-
export * from './applicableTerminalsAnyOf';
|
|
11
|
-
export * from './applicableTerminalsAnyOf1';
|
|
12
|
-
export * from './applicableTerminalsAnyOf2';
|
|
13
|
-
export * from './applicableTerminalsAnyOf3';
|
|
14
|
-
export * from './authError';
|
|
15
|
-
export * from './availablePhoneNumbersRequest';
|
|
16
|
-
export * from './clickFunnelAmount';
|
|
17
|
-
export * from './clickFunnelContact';
|
|
18
|
-
export * from './clickFunnelContactProfile';
|
|
19
|
-
export * from './clickFunnelEvent';
|
|
20
|
-
export * from './clickFunnelOriginalAmount';
|
|
21
|
-
export * from './clickFunnelProduct';
|
|
22
|
-
export * from './clickFunnelPurchase';
|
|
23
|
-
export * from './createStaticVoucherCampaign';
|
|
24
|
-
export * from './createStaticVoucherCampaignWithVoucher';
|
|
25
|
-
export * from './createStaticVoucherCampaignWithVoucherWithCSV';
|
|
26
|
-
export * from './dashboardWidget';
|
|
27
|
-
export * from './duplicateRowFound';
|
|
28
|
-
export * from './dynamicVoucher';
|
|
29
|
-
export * from './dynamicVoucherBroadcast';
|
|
30
|
-
export * from './employee';
|
|
31
|
-
export * from './employeeActivityLog';
|
|
32
|
-
export * from './employeeAlert';
|
|
33
|
-
export * from './exportDataFile';
|
|
34
|
-
export * from './falsumError';
|
|
35
|
-
export * from './falsumField';
|
|
36
|
-
export * from './feature';
|
|
37
|
-
export * from './forbiddenRequest';
|
|
38
|
-
export * from './foreignKeyDoesNotExist';
|
|
39
|
-
export * from './helpDeskRequest';
|
|
40
|
-
export * from './importedList';
|
|
41
|
-
export * from './importedListRecipient';
|
|
42
|
-
export * from './inlineObject';
|
|
43
|
-
export * from './inlineObject1';
|
|
44
|
-
export * from './inlineObject10';
|
|
45
|
-
export * from './inlineObject11';
|
|
46
|
-
export * from './inlineObject12';
|
|
47
|
-
export * from './inlineObject13';
|
|
48
|
-
export * from './inlineObject14';
|
|
49
|
-
export * from './inlineObject15';
|
|
50
|
-
export * from './inlineObject16';
|
|
51
|
-
export * from './inlineObject17';
|
|
52
|
-
export * from './inlineObject18';
|
|
53
|
-
export * from './inlineObject19';
|
|
54
|
-
export * from './inlineObject2';
|
|
55
|
-
export * from './inlineObject20';
|
|
56
|
-
export * from './inlineObject21';
|
|
57
|
-
export * from './inlineObject22';
|
|
58
|
-
export * from './inlineObject23';
|
|
59
|
-
export * from './inlineObject24';
|
|
60
|
-
export * from './inlineObject25';
|
|
61
|
-
export * from './inlineObject26';
|
|
62
|
-
export * from './inlineObject27';
|
|
63
|
-
export * from './inlineObject28';
|
|
64
|
-
export * from './inlineObject29';
|
|
65
|
-
export * from './inlineObject3';
|
|
66
|
-
export * from './inlineObject30';
|
|
67
|
-
export * from './inlineObject31';
|
|
68
|
-
export * from './inlineObject32';
|
|
69
|
-
export * from './inlineObject33';
|
|
70
|
-
export * from './inlineObject34';
|
|
71
|
-
export * from './inlineObject35';
|
|
72
|
-
export * from './inlineObject36';
|
|
73
|
-
export * from './inlineObject37';
|
|
74
|
-
export * from './inlineObject38';
|
|
75
|
-
export * from './inlineObject39';
|
|
76
|
-
export * from './inlineObject4';
|
|
77
|
-
export * from './inlineObject40';
|
|
78
|
-
export * from './inlineObject41';
|
|
79
|
-
export * from './inlineObject42';
|
|
80
|
-
export * from './inlineObject43';
|
|
81
|
-
export * from './inlineObject44';
|
|
82
|
-
export * from './inlineObject45';
|
|
83
|
-
export * from './inlineObject46';
|
|
84
|
-
export * from './inlineObject47';
|
|
85
|
-
export * from './inlineObject48';
|
|
86
|
-
export * from './inlineObject49';
|
|
87
|
-
export * from './inlineObject5';
|
|
88
|
-
export * from './inlineObject50';
|
|
89
|
-
export * from './inlineObject51';
|
|
90
|
-
export * from './inlineObject52';
|
|
91
|
-
export * from './inlineObject53';
|
|
92
|
-
export * from './inlineObject54';
|
|
93
|
-
export * from './inlineObject55';
|
|
94
|
-
export * from './inlineObject56';
|
|
95
|
-
export * from './inlineObject57';
|
|
96
|
-
export * from './inlineObject58';
|
|
97
|
-
export * from './inlineObject59';
|
|
98
|
-
export * from './inlineObject6';
|
|
99
|
-
export * from './inlineObject60';
|
|
100
|
-
export * from './inlineObject61';
|
|
101
|
-
export * from './inlineObject62';
|
|
102
|
-
export * from './inlineObject63';
|
|
103
|
-
export * from './inlineObject64';
|
|
104
|
-
export * from './inlineObject65';
|
|
105
|
-
export * from './inlineObject66';
|
|
106
|
-
export * from './inlineObject67';
|
|
107
|
-
export * from './inlineObject68';
|
|
108
|
-
export * from './inlineObject69';
|
|
109
|
-
export * from './inlineObject7';
|
|
110
|
-
export * from './inlineObject8';
|
|
111
|
-
export * from './inlineObject9';
|
|
112
|
-
export * from './inlineResponse200';
|
|
113
|
-
export * from './inlineResponse2001';
|
|
114
|
-
export * from './inlineResponse20010';
|
|
115
|
-
export * from './inlineResponse20011';
|
|
116
|
-
export * from './inlineResponse2002';
|
|
117
|
-
export * from './inlineResponse2003';
|
|
118
|
-
export * from './inlineResponse2004';
|
|
119
|
-
export * from './inlineResponse2005';
|
|
120
|
-
export * from './inlineResponse2006';
|
|
121
|
-
export * from './inlineResponse2007';
|
|
122
|
-
export * from './inlineResponse2008';
|
|
123
|
-
export * from './inlineResponse2009';
|
|
124
|
-
export * from './internalServerError';
|
|
125
|
-
export * from './ledgerEntry';
|
|
126
|
-
export * from './linkBook';
|
|
127
|
-
export * from './linkBookSection';
|
|
128
|
-
export * from './mSMemberHistory';
|
|
129
|
-
export * from './mSMemberHistoryPagination';
|
|
130
|
-
export * from './mSMemberRedemption';
|
|
131
|
-
export * from './mSMemberRedemptionPagination';
|
|
132
|
-
export * from './mSMembershipTierHistory';
|
|
133
|
-
export * from './mSMembershipTierHistoryPagination';
|
|
134
|
-
export * from './mSMembershipTierRedemption';
|
|
135
|
-
export * from './mSMembershipTierRedemptionPagination';
|
|
136
|
-
export * from './mSMerchantCreditHistory';
|
|
137
|
-
export * from './mSMerchantCreditHistoryPagination';
|
|
138
|
-
export * from './mSMerchantCreditRedemption';
|
|
139
|
-
export * from './mSMerchantCreditRedemptionPagination';
|
|
140
|
-
export * from './mediaFile';
|
|
141
|
-
export * from './member';
|
|
142
|
-
export * from './memberSearch';
|
|
143
|
-
export * from './merchant';
|
|
144
|
-
export * from './merchantCreditSearch';
|
|
145
|
-
export * from './merchantNotInitialized';
|
|
146
|
-
export * from './merchantURL';
|
|
147
|
-
export * from './message';
|
|
148
|
-
export * from './moduleError';
|
|
149
|
-
export * from './newsArticle';
|
|
150
|
-
export * from './optInList';
|
|
151
|
-
export * from './optInListSource';
|
|
152
|
-
export * from './optInListSubscriber';
|
|
153
|
-
export * from './outboundSMS';
|
|
154
|
-
export * from './paginatedWTMembers';
|
|
155
|
-
export * from './paginatedWTMerchantCredits';
|
|
156
|
-
export * from './paginationRequestWithSortOptions';
|
|
157
|
-
export * from './paymentDesign';
|
|
158
|
-
export * from './performance';
|
|
159
|
-
export * from './phoneNumber';
|
|
160
|
-
export * from './pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID';
|
|
161
|
-
export * from './pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier';
|
|
162
|
-
export * from './pickMSMemberExcludeKeyofMSMemberMemberIdentifier';
|
|
163
|
-
export * from './pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier';
|
|
164
|
-
export * from './pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier';
|
|
165
|
-
export * from './pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded';
|
|
166
|
-
export * from './pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId';
|
|
167
|
-
export * from './pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId';
|
|
168
|
-
export * from './pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID';
|
|
169
|
-
export * from './pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId';
|
|
170
|
-
export * from './pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId';
|
|
171
|
-
export * from './pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone';
|
|
172
|
-
export * from './pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt';
|
|
173
|
-
export * from './pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId';
|
|
174
|
-
export * from './pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate';
|
|
175
|
-
export * from './pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType';
|
|
176
|
-
export * from './pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID';
|
|
177
|
-
export * from './pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId';
|
|
178
|
-
export * from './pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt';
|
|
179
|
-
export * from './pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID';
|
|
180
|
-
export * from './pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail';
|
|
181
|
-
export * from './pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber';
|
|
182
|
-
export * from './pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber';
|
|
183
|
-
export * from './pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID';
|
|
184
|
-
export * from './pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId';
|
|
185
|
-
export * from './pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID';
|
|
186
|
-
export * from './pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime';
|
|
187
|
-
export * from './pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID';
|
|
188
|
-
export * from './plan';
|
|
189
|
-
export * from './portalPage';
|
|
190
|
-
export * from './presignedPost';
|
|
191
|
-
export * from './presignedPostFields';
|
|
192
|
-
export * from './product';
|
|
193
|
-
export * from './promoCode';
|
|
194
|
-
export * from './reachPerformanceStats';
|
|
195
|
-
export * from './request';
|
|
196
|
-
export * from './response';
|
|
197
|
-
export * from './role';
|
|
198
|
-
export * from './roleAuditLog';
|
|
199
|
-
export * from './sSOptInSource';
|
|
200
|
-
export * from './simpleSMSBroadcast';
|
|
201
|
-
export * from './staticVoucher';
|
|
202
|
-
export * from './staticVoucherCampaign';
|
|
203
|
-
export * from './staticVoucherCampaignBroadcast';
|
|
204
|
-
export * from './staticVoucherCampaignGroup';
|
|
205
|
-
export * from './staticVoucherCampaignUpdate';
|
|
206
|
-
export * from './status';
|
|
207
|
-
export * from './statusAnyOf';
|
|
208
|
-
export * from './statusAnyOf1';
|
|
209
|
-
export * from './statusAnyOf2';
|
|
210
|
-
export * from './statusAnyOf3';
|
|
211
|
-
export * from './subscriptionFeature';
|
|
212
|
-
export * from './subscriptionPlan';
|
|
213
|
-
export * from './subscriptionProduct';
|
|
214
|
-
export * from './tcpa';
|
|
215
|
-
export * from './updateStaticVoucherCampaignWithVoucher';
|
|
216
|
-
export * from './vSCampaignGeneratedMessage';
|
|
217
|
-
export * from './vSCampaignGeneratedMessagePagination';
|
|
218
|
-
export * from './vSDynamicVoucherStatus';
|
|
219
|
-
export * from './wTAdvertisementCredit';
|
|
220
|
-
export * from './wTAdvertisementCreditScan';
|
|
221
|
-
export * from './wTAdvertisementCreditUpdateParams';
|
|
222
|
-
export * from './wTDynamicVoucher';
|
|
223
|
-
export * from './wTDynamicVoucherCreateParams';
|
|
224
|
-
export * from './wTDynamicVoucherRedemption';
|
|
225
|
-
export * from './wTDynamicVoucherSummary';
|
|
226
|
-
export * from './wTDynamicVoucherUpdateParams';
|
|
227
|
-
export * from './wTEmployee';
|
|
228
|
-
export * from './wTEmployeeCreate';
|
|
229
|
-
export * from './wTEmployeeUpdate';
|
|
230
|
-
export * from './wTImportedList';
|
|
231
|
-
export * from './wTLinkBookCreateParams';
|
|
232
|
-
export * from './wTLinkBookSectionCreateParams';
|
|
233
|
-
export * from './wTLinkBookSectionUpdateParams';
|
|
234
|
-
export * from './wTLinkBookUpdateParams';
|
|
235
|
-
export * from './wTMember';
|
|
236
|
-
export * from './wTMemberCreationParams';
|
|
237
|
-
export * from './wTMembershipTier';
|
|
238
|
-
export * from './wTMembershipTierCreationParams';
|
|
239
|
-
export * from './wTMembershipTierUpdateParams';
|
|
240
|
-
export * from './wTMembershipTierWithMemberCount';
|
|
241
|
-
export * from './wTMerchantCredit';
|
|
242
|
-
export * from './wTMerchantCreditCreationParams';
|
|
243
|
-
export * from './wTMerchantURLCreate';
|
|
244
|
-
export * from './wTMerchantURLUpdate';
|
|
245
|
-
export * from './wTNewsArticleCreateParams';
|
|
246
|
-
export * from './wTNewsArticleUpdateParams';
|
|
247
|
-
export * from './wTOptInList';
|
|
248
|
-
export * from './wTOptInListCreationParams';
|
|
249
|
-
export * from './wTPaymentDesign';
|
|
250
|
-
export * from './wTPaymentDesignCreateParams';
|
|
251
|
-
export * from './wTPaymentDesignUpdateParams';
|
|
252
|
-
export * from './wTPerformanceCreateParams';
|
|
253
|
-
export * from './wTPerformanceUpdateParams';
|
|
254
|
-
export * from './wTPosMachine';
|
|
255
|
-
export * from './wTPosMachineCreateParams';
|
|
256
|
-
export * from './wTPosMachineUpdateParams';
|
|
257
|
-
export * from './wTPromoCodeCreateParams';
|
|
258
|
-
export * from './wTPromoCodeUpdateParams';
|
|
259
|
-
export * from './wTRole';
|
|
260
|
-
export * from './wTStaticVoucher';
|
|
261
|
-
export * from './wTStaticVoucherCampaign';
|
|
262
|
-
export * from './wTStaticVoucherCreateParams';
|
|
263
|
-
export * from './wTStaticVoucherUpdateParams';
|
|
264
|
-
export * from './wTWalletPageView';
|
|
265
|
-
export * from './wTWalletPageViewGeoPoint';
|
|
266
|
-
export * from './walletPageView';
|
|
267
|
-
export * from './webpage';
|
|
268
|
-
|
|
269
|
-
import * as fs from 'fs';
|
|
270
|
-
|
|
271
|
-
export interface RequestDetailedFile {
|
|
272
|
-
value: Buffer;
|
|
273
|
-
options?: {
|
|
274
|
-
filename?: string;
|
|
275
|
-
contentType?: string;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
import { AdvertisementCredit } from './advertisementCredit';
|
|
283
|
-
import { AdvertisementCreditBroadcast } from './advertisementCreditBroadcast';
|
|
284
|
-
import { AdvertisementCreditScan } from './advertisementCreditScan';
|
|
285
|
-
import { Agreement } from './agreement';
|
|
286
|
-
import { Alert } from './alert';
|
|
287
|
-
import { Announcement } from './announcement';
|
|
288
|
-
import { ApplicableTerminals } from './applicableTerminals';
|
|
289
|
-
import { ApplicableTerminalsAnyOf } from './applicableTerminalsAnyOf';
|
|
290
|
-
import { ApplicableTerminalsAnyOf1 } from './applicableTerminalsAnyOf1';
|
|
291
|
-
import { ApplicableTerminalsAnyOf2 } from './applicableTerminalsAnyOf2';
|
|
292
|
-
import { ApplicableTerminalsAnyOf3 } from './applicableTerminalsAnyOf3';
|
|
293
|
-
import { AuthError } from './authError';
|
|
294
|
-
import { AvailablePhoneNumbersRequest } from './availablePhoneNumbersRequest';
|
|
295
|
-
import { ClickFunnelAmount } from './clickFunnelAmount';
|
|
296
|
-
import { ClickFunnelContact } from './clickFunnelContact';
|
|
297
|
-
import { ClickFunnelContactProfile } from './clickFunnelContactProfile';
|
|
298
|
-
import { ClickFunnelEvent } from './clickFunnelEvent';
|
|
299
|
-
import { ClickFunnelOriginalAmount } from './clickFunnelOriginalAmount';
|
|
300
|
-
import { ClickFunnelProduct } from './clickFunnelProduct';
|
|
301
|
-
import { ClickFunnelPurchase } from './clickFunnelPurchase';
|
|
302
|
-
import { CreateStaticVoucherCampaign } from './createStaticVoucherCampaign';
|
|
303
|
-
import { CreateStaticVoucherCampaignWithVoucher } from './createStaticVoucherCampaignWithVoucher';
|
|
304
|
-
import { CreateStaticVoucherCampaignWithVoucherWithCSV } from './createStaticVoucherCampaignWithVoucherWithCSV';
|
|
305
|
-
import { DashboardWidget } from './dashboardWidget';
|
|
306
|
-
import { DuplicateRowFound } from './duplicateRowFound';
|
|
307
|
-
import { DynamicVoucher } from './dynamicVoucher';
|
|
308
|
-
import { DynamicVoucherBroadcast } from './dynamicVoucherBroadcast';
|
|
309
|
-
import { Employee } from './employee';
|
|
310
|
-
import { EmployeeActivityLog } from './employeeActivityLog';
|
|
311
|
-
import { EmployeeAlert } from './employeeAlert';
|
|
312
|
-
import { ExportDataFile } from './exportDataFile';
|
|
313
|
-
import { FalsumError } from './falsumError';
|
|
314
|
-
import { FalsumField } from './falsumField';
|
|
315
|
-
import { Feature } from './feature';
|
|
316
|
-
import { ForbiddenRequest } from './forbiddenRequest';
|
|
317
|
-
import { ForeignKeyDoesNotExist } from './foreignKeyDoesNotExist';
|
|
318
|
-
import { HelpDeskRequest } from './helpDeskRequest';
|
|
319
|
-
import { ImportedList } from './importedList';
|
|
320
|
-
import { ImportedListRecipient } from './importedListRecipient';
|
|
321
|
-
import { InlineObject } from './inlineObject';
|
|
322
|
-
import { InlineObject1 } from './inlineObject1';
|
|
323
|
-
import { InlineObject10 } from './inlineObject10';
|
|
324
|
-
import { InlineObject11 } from './inlineObject11';
|
|
325
|
-
import { InlineObject12 } from './inlineObject12';
|
|
326
|
-
import { InlineObject13 } from './inlineObject13';
|
|
327
|
-
import { InlineObject14 } from './inlineObject14';
|
|
328
|
-
import { InlineObject15 } from './inlineObject15';
|
|
329
|
-
import { InlineObject16 } from './inlineObject16';
|
|
330
|
-
import { InlineObject17 } from './inlineObject17';
|
|
331
|
-
import { InlineObject18 } from './inlineObject18';
|
|
332
|
-
import { InlineObject19 } from './inlineObject19';
|
|
333
|
-
import { InlineObject2 } from './inlineObject2';
|
|
334
|
-
import { InlineObject20 } from './inlineObject20';
|
|
335
|
-
import { InlineObject21 } from './inlineObject21';
|
|
336
|
-
import { InlineObject22 } from './inlineObject22';
|
|
337
|
-
import { InlineObject23 } from './inlineObject23';
|
|
338
|
-
import { InlineObject24 } from './inlineObject24';
|
|
339
|
-
import { InlineObject25 } from './inlineObject25';
|
|
340
|
-
import { InlineObject26 } from './inlineObject26';
|
|
341
|
-
import { InlineObject27 } from './inlineObject27';
|
|
342
|
-
import { InlineObject28 } from './inlineObject28';
|
|
343
|
-
import { InlineObject29 } from './inlineObject29';
|
|
344
|
-
import { InlineObject3 } from './inlineObject3';
|
|
345
|
-
import { InlineObject30 } from './inlineObject30';
|
|
346
|
-
import { InlineObject31 } from './inlineObject31';
|
|
347
|
-
import { InlineObject32 } from './inlineObject32';
|
|
348
|
-
import { InlineObject33 } from './inlineObject33';
|
|
349
|
-
import { InlineObject34 } from './inlineObject34';
|
|
350
|
-
import { InlineObject35 } from './inlineObject35';
|
|
351
|
-
import { InlineObject36 } from './inlineObject36';
|
|
352
|
-
import { InlineObject37 } from './inlineObject37';
|
|
353
|
-
import { InlineObject38 } from './inlineObject38';
|
|
354
|
-
import { InlineObject39 } from './inlineObject39';
|
|
355
|
-
import { InlineObject4 } from './inlineObject4';
|
|
356
|
-
import { InlineObject40 } from './inlineObject40';
|
|
357
|
-
import { InlineObject41 } from './inlineObject41';
|
|
358
|
-
import { InlineObject42 } from './inlineObject42';
|
|
359
|
-
import { InlineObject43 } from './inlineObject43';
|
|
360
|
-
import { InlineObject44 } from './inlineObject44';
|
|
361
|
-
import { InlineObject45 } from './inlineObject45';
|
|
362
|
-
import { InlineObject46 } from './inlineObject46';
|
|
363
|
-
import { InlineObject47 } from './inlineObject47';
|
|
364
|
-
import { InlineObject48 } from './inlineObject48';
|
|
365
|
-
import { InlineObject49 } from './inlineObject49';
|
|
366
|
-
import { InlineObject5 } from './inlineObject5';
|
|
367
|
-
import { InlineObject50 } from './inlineObject50';
|
|
368
|
-
import { InlineObject51 } from './inlineObject51';
|
|
369
|
-
import { InlineObject52 } from './inlineObject52';
|
|
370
|
-
import { InlineObject53 } from './inlineObject53';
|
|
371
|
-
import { InlineObject54 } from './inlineObject54';
|
|
372
|
-
import { InlineObject55 } from './inlineObject55';
|
|
373
|
-
import { InlineObject56 } from './inlineObject56';
|
|
374
|
-
import { InlineObject57 } from './inlineObject57';
|
|
375
|
-
import { InlineObject58 } from './inlineObject58';
|
|
376
|
-
import { InlineObject59 } from './inlineObject59';
|
|
377
|
-
import { InlineObject6 } from './inlineObject6';
|
|
378
|
-
import { InlineObject60 } from './inlineObject60';
|
|
379
|
-
import { InlineObject61 } from './inlineObject61';
|
|
380
|
-
import { InlineObject62 } from './inlineObject62';
|
|
381
|
-
import { InlineObject63 } from './inlineObject63';
|
|
382
|
-
import { InlineObject64 } from './inlineObject64';
|
|
383
|
-
import { InlineObject65 } from './inlineObject65';
|
|
384
|
-
import { InlineObject66 } from './inlineObject66';
|
|
385
|
-
import { InlineObject67 } from './inlineObject67';
|
|
386
|
-
import { InlineObject68 } from './inlineObject68';
|
|
387
|
-
import { InlineObject69 } from './inlineObject69';
|
|
388
|
-
import { InlineObject7 } from './inlineObject7';
|
|
389
|
-
import { InlineObject8 } from './inlineObject8';
|
|
390
|
-
import { InlineObject9 } from './inlineObject9';
|
|
391
|
-
import { InlineResponse200 } from './inlineResponse200';
|
|
392
|
-
import { InlineResponse2001 } from './inlineResponse2001';
|
|
393
|
-
import { InlineResponse20010 } from './inlineResponse20010';
|
|
394
|
-
import { InlineResponse20011 } from './inlineResponse20011';
|
|
395
|
-
import { InlineResponse2002 } from './inlineResponse2002';
|
|
396
|
-
import { InlineResponse2003 } from './inlineResponse2003';
|
|
397
|
-
import { InlineResponse2004 } from './inlineResponse2004';
|
|
398
|
-
import { InlineResponse2005 } from './inlineResponse2005';
|
|
399
|
-
import { InlineResponse2006 } from './inlineResponse2006';
|
|
400
|
-
import { InlineResponse2007 } from './inlineResponse2007';
|
|
401
|
-
import { InlineResponse2008 } from './inlineResponse2008';
|
|
402
|
-
import { InlineResponse2009 } from './inlineResponse2009';
|
|
403
|
-
import { InternalServerError } from './internalServerError';
|
|
404
|
-
import { LedgerEntry } from './ledgerEntry';
|
|
405
|
-
import { LinkBook } from './linkBook';
|
|
406
|
-
import { LinkBookSection } from './linkBookSection';
|
|
407
|
-
import { MSMemberHistory } from './mSMemberHistory';
|
|
408
|
-
import { MSMemberHistoryPagination } from './mSMemberHistoryPagination';
|
|
409
|
-
import { MSMemberRedemption } from './mSMemberRedemption';
|
|
410
|
-
import { MSMemberRedemptionPagination } from './mSMemberRedemptionPagination';
|
|
411
|
-
import { MSMembershipTierHistory } from './mSMembershipTierHistory';
|
|
412
|
-
import { MSMembershipTierHistoryPagination } from './mSMembershipTierHistoryPagination';
|
|
413
|
-
import { MSMembershipTierRedemption } from './mSMembershipTierRedemption';
|
|
414
|
-
import { MSMembershipTierRedemptionPagination } from './mSMembershipTierRedemptionPagination';
|
|
415
|
-
import { MSMerchantCreditHistory } from './mSMerchantCreditHistory';
|
|
416
|
-
import { MSMerchantCreditHistoryPagination } from './mSMerchantCreditHistoryPagination';
|
|
417
|
-
import { MSMerchantCreditRedemption } from './mSMerchantCreditRedemption';
|
|
418
|
-
import { MSMerchantCreditRedemptionPagination } from './mSMerchantCreditRedemptionPagination';
|
|
419
|
-
import { MediaFile } from './mediaFile';
|
|
420
|
-
import { Member } from './member';
|
|
421
|
-
import { MemberSearch } from './memberSearch';
|
|
422
|
-
import { Merchant } from './merchant';
|
|
423
|
-
import { MerchantCreditSearch } from './merchantCreditSearch';
|
|
424
|
-
import { MerchantNotInitialized } from './merchantNotInitialized';
|
|
425
|
-
import { MerchantURL } from './merchantURL';
|
|
426
|
-
import { Message } from './message';
|
|
427
|
-
import { ModuleError } from './moduleError';
|
|
428
|
-
import { NewsArticle } from './newsArticle';
|
|
429
|
-
import { OptInList } from './optInList';
|
|
430
|
-
import { OptInListSource } from './optInListSource';
|
|
431
|
-
import { OptInListSubscriber } from './optInListSubscriber';
|
|
432
|
-
import { OutboundSMS } from './outboundSMS';
|
|
433
|
-
import { PaginatedWTMembers } from './paginatedWTMembers';
|
|
434
|
-
import { PaginatedWTMerchantCredits } from './paginatedWTMerchantCredits';
|
|
435
|
-
import { PaginationRequestWithSortOptions } from './paginationRequestWithSortOptions';
|
|
436
|
-
import { PaymentDesign } from './paymentDesign';
|
|
437
|
-
import { Performance } from './performance';
|
|
438
|
-
import { PhoneNumber } from './phoneNumber';
|
|
439
|
-
import { PickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID } from './pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID';
|
|
440
|
-
import { PickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier } from './pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier';
|
|
441
|
-
import { PickMSMemberExcludeKeyofMSMemberMemberIdentifier } from './pickMSMemberExcludeKeyofMSMemberMemberIdentifier';
|
|
442
|
-
import { PickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier } from './pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier';
|
|
443
|
-
import { PickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier } from './pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier';
|
|
444
|
-
import { PickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded } from './pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded';
|
|
445
|
-
import { PickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId } from './pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId';
|
|
446
|
-
import { PickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId } from './pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId';
|
|
447
|
-
import { PickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID } from './pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID';
|
|
448
|
-
import { PickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId } from './pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId';
|
|
449
|
-
import { PickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId } from './pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId';
|
|
450
|
-
import { PickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone } from './pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone';
|
|
451
|
-
import { PickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt } from './pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt';
|
|
452
|
-
import { PickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId } from './pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId';
|
|
453
|
-
import { PickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate } from './pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate';
|
|
454
|
-
import { PickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType } from './pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType';
|
|
455
|
-
import { PickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID } from './pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID';
|
|
456
|
-
import { PickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId } from './pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId';
|
|
457
|
-
import { PickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt } from './pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt';
|
|
458
|
-
import { PickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID } from './pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID';
|
|
459
|
-
import { PickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail } from './pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail';
|
|
460
|
-
import { PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber } from './pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber';
|
|
461
|
-
import { PickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber } from './pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber';
|
|
462
|
-
import { PickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID } from './pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID';
|
|
463
|
-
import { PickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId } from './pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId';
|
|
464
|
-
import { PickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID } from './pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID';
|
|
465
|
-
import { PickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime } from './pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime';
|
|
466
|
-
import { PickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID } from './pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID';
|
|
467
|
-
import { Plan } from './plan';
|
|
468
|
-
import { PortalPage } from './portalPage';
|
|
469
|
-
import { PresignedPost } from './presignedPost';
|
|
470
|
-
import { PresignedPostFields } from './presignedPostFields';
|
|
471
|
-
import { Product } from './product';
|
|
472
|
-
import { PromoCode } from './promoCode';
|
|
473
|
-
import { ReachPerformanceStats } from './reachPerformanceStats';
|
|
474
|
-
import { Request } from './request';
|
|
475
|
-
import { Response } from './response';
|
|
476
|
-
import { Role } from './role';
|
|
477
|
-
import { RoleAuditLog } from './roleAuditLog';
|
|
478
|
-
import { SSOptInSource } from './sSOptInSource';
|
|
479
|
-
import { SimpleSMSBroadcast } from './simpleSMSBroadcast';
|
|
480
|
-
import { StaticVoucher } from './staticVoucher';
|
|
481
|
-
import { StaticVoucherCampaign } from './staticVoucherCampaign';
|
|
482
|
-
import { StaticVoucherCampaignBroadcast } from './staticVoucherCampaignBroadcast';
|
|
483
|
-
import { StaticVoucherCampaignGroup } from './staticVoucherCampaignGroup';
|
|
484
|
-
import { StaticVoucherCampaignUpdate } from './staticVoucherCampaignUpdate';
|
|
485
|
-
import { Status } from './status';
|
|
486
|
-
import { StatusAnyOf } from './statusAnyOf';
|
|
487
|
-
import { StatusAnyOf1 } from './statusAnyOf1';
|
|
488
|
-
import { StatusAnyOf2 } from './statusAnyOf2';
|
|
489
|
-
import { StatusAnyOf3 } from './statusAnyOf3';
|
|
490
|
-
import { SubscriptionFeature } from './subscriptionFeature';
|
|
491
|
-
import { SubscriptionPlan } from './subscriptionPlan';
|
|
492
|
-
import { SubscriptionProduct } from './subscriptionProduct';
|
|
493
|
-
import { Tcpa } from './tcpa';
|
|
494
|
-
import { UpdateStaticVoucherCampaignWithVoucher } from './updateStaticVoucherCampaignWithVoucher';
|
|
495
|
-
import { VSCampaignGeneratedMessage } from './vSCampaignGeneratedMessage';
|
|
496
|
-
import { VSCampaignGeneratedMessagePagination } from './vSCampaignGeneratedMessagePagination';
|
|
497
|
-
import { VSDynamicVoucherStatus } from './vSDynamicVoucherStatus';
|
|
498
|
-
import { WTAdvertisementCredit } from './wTAdvertisementCredit';
|
|
499
|
-
import { WTAdvertisementCreditScan } from './wTAdvertisementCreditScan';
|
|
500
|
-
import { WTAdvertisementCreditUpdateParams } from './wTAdvertisementCreditUpdateParams';
|
|
501
|
-
import { WTDynamicVoucher } from './wTDynamicVoucher';
|
|
502
|
-
import { WTDynamicVoucherCreateParams } from './wTDynamicVoucherCreateParams';
|
|
503
|
-
import { WTDynamicVoucherRedemption } from './wTDynamicVoucherRedemption';
|
|
504
|
-
import { WTDynamicVoucherSummary } from './wTDynamicVoucherSummary';
|
|
505
|
-
import { WTDynamicVoucherUpdateParams } from './wTDynamicVoucherUpdateParams';
|
|
506
|
-
import { WTEmployee } from './wTEmployee';
|
|
507
|
-
import { WTEmployeeCreate } from './wTEmployeeCreate';
|
|
508
|
-
import { WTEmployeeUpdate } from './wTEmployeeUpdate';
|
|
509
|
-
import { WTImportedList } from './wTImportedList';
|
|
510
|
-
import { WTLinkBookCreateParams } from './wTLinkBookCreateParams';
|
|
511
|
-
import { WTLinkBookSectionCreateParams } from './wTLinkBookSectionCreateParams';
|
|
512
|
-
import { WTLinkBookSectionUpdateParams } from './wTLinkBookSectionUpdateParams';
|
|
513
|
-
import { WTLinkBookUpdateParams } from './wTLinkBookUpdateParams';
|
|
514
|
-
import { WTMember } from './wTMember';
|
|
515
|
-
import { WTMemberCreationParams } from './wTMemberCreationParams';
|
|
516
|
-
import { WTMembershipTier } from './wTMembershipTier';
|
|
517
|
-
import { WTMembershipTierCreationParams } from './wTMembershipTierCreationParams';
|
|
518
|
-
import { WTMembershipTierUpdateParams } from './wTMembershipTierUpdateParams';
|
|
519
|
-
import { WTMembershipTierWithMemberCount } from './wTMembershipTierWithMemberCount';
|
|
520
|
-
import { WTMerchantCredit } from './wTMerchantCredit';
|
|
521
|
-
import { WTMerchantCreditCreationParams } from './wTMerchantCreditCreationParams';
|
|
522
|
-
import { WTMerchantURLCreate } from './wTMerchantURLCreate';
|
|
523
|
-
import { WTMerchantURLUpdate } from './wTMerchantURLUpdate';
|
|
524
|
-
import { WTNewsArticleCreateParams } from './wTNewsArticleCreateParams';
|
|
525
|
-
import { WTNewsArticleUpdateParams } from './wTNewsArticleUpdateParams';
|
|
526
|
-
import { WTOptInList } from './wTOptInList';
|
|
527
|
-
import { WTOptInListCreationParams } from './wTOptInListCreationParams';
|
|
528
|
-
import { WTPaymentDesign } from './wTPaymentDesign';
|
|
529
|
-
import { WTPaymentDesignCreateParams } from './wTPaymentDesignCreateParams';
|
|
530
|
-
import { WTPaymentDesignUpdateParams } from './wTPaymentDesignUpdateParams';
|
|
531
|
-
import { WTPerformanceCreateParams } from './wTPerformanceCreateParams';
|
|
532
|
-
import { WTPerformanceUpdateParams } from './wTPerformanceUpdateParams';
|
|
533
|
-
import { WTPosMachine } from './wTPosMachine';
|
|
534
|
-
import { WTPosMachineCreateParams } from './wTPosMachineCreateParams';
|
|
535
|
-
import { WTPosMachineUpdateParams } from './wTPosMachineUpdateParams';
|
|
536
|
-
import { WTPromoCodeCreateParams } from './wTPromoCodeCreateParams';
|
|
537
|
-
import { WTPromoCodeUpdateParams } from './wTPromoCodeUpdateParams';
|
|
538
|
-
import { WTRole } from './wTRole';
|
|
539
|
-
import { WTStaticVoucher } from './wTStaticVoucher';
|
|
540
|
-
import { WTStaticVoucherCampaign } from './wTStaticVoucherCampaign';
|
|
541
|
-
import { WTStaticVoucherCreateParams } from './wTStaticVoucherCreateParams';
|
|
542
|
-
import { WTStaticVoucherUpdateParams } from './wTStaticVoucherUpdateParams';
|
|
543
|
-
import { WTWalletPageView } from './wTWalletPageView';
|
|
544
|
-
import { WTWalletPageViewGeoPoint } from './wTWalletPageViewGeoPoint';
|
|
545
|
-
import { WalletPageView } from './walletPageView';
|
|
546
|
-
import { Webpage } from './webpage';
|
|
547
|
-
|
|
548
|
-
/* tslint:disable:no-unused-variable */
|
|
549
|
-
let primitives = [
|
|
550
|
-
"string",
|
|
551
|
-
"boolean",
|
|
552
|
-
"double",
|
|
553
|
-
"integer",
|
|
554
|
-
"long",
|
|
555
|
-
"float",
|
|
556
|
-
"number",
|
|
557
|
-
"any"
|
|
558
|
-
];
|
|
559
|
-
|
|
560
|
-
let enumsMap: {[index: string]: any} = {
|
|
561
|
-
"ApplicableTerminalsAnyOf": ApplicableTerminalsAnyOf,
|
|
562
|
-
"ApplicableTerminalsAnyOf1": ApplicableTerminalsAnyOf1,
|
|
563
|
-
"ApplicableTerminalsAnyOf2": ApplicableTerminalsAnyOf2,
|
|
564
|
-
"ApplicableTerminalsAnyOf3": ApplicableTerminalsAnyOf3,
|
|
565
|
-
"PaginationRequestWithSortOptions.SortKeyEnum": PaginationRequestWithSortOptions.SortKeyEnum,
|
|
566
|
-
"PortalPage": PortalPage,
|
|
567
|
-
"StatusAnyOf": StatusAnyOf,
|
|
568
|
-
"StatusAnyOf1": StatusAnyOf1,
|
|
569
|
-
"StatusAnyOf2": StatusAnyOf2,
|
|
570
|
-
"StatusAnyOf3": StatusAnyOf3,
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
let typeMap: {[index: string]: any} = {
|
|
574
|
-
"AdvertisementCredit": AdvertisementCredit,
|
|
575
|
-
"AdvertisementCreditBroadcast": AdvertisementCreditBroadcast,
|
|
576
|
-
"AdvertisementCreditScan": AdvertisementCreditScan,
|
|
577
|
-
"Agreement": Agreement,
|
|
578
|
-
"Alert": Alert,
|
|
579
|
-
"Announcement": Announcement,
|
|
580
|
-
"ApplicableTerminals": ApplicableTerminals,
|
|
581
|
-
"AuthError": AuthError,
|
|
582
|
-
"AvailablePhoneNumbersRequest": AvailablePhoneNumbersRequest,
|
|
583
|
-
"ClickFunnelAmount": ClickFunnelAmount,
|
|
584
|
-
"ClickFunnelContact": ClickFunnelContact,
|
|
585
|
-
"ClickFunnelContactProfile": ClickFunnelContactProfile,
|
|
586
|
-
"ClickFunnelEvent": ClickFunnelEvent,
|
|
587
|
-
"ClickFunnelOriginalAmount": ClickFunnelOriginalAmount,
|
|
588
|
-
"ClickFunnelProduct": ClickFunnelProduct,
|
|
589
|
-
"ClickFunnelPurchase": ClickFunnelPurchase,
|
|
590
|
-
"CreateStaticVoucherCampaign": CreateStaticVoucherCampaign,
|
|
591
|
-
"CreateStaticVoucherCampaignWithVoucher": CreateStaticVoucherCampaignWithVoucher,
|
|
592
|
-
"CreateStaticVoucherCampaignWithVoucherWithCSV": CreateStaticVoucherCampaignWithVoucherWithCSV,
|
|
593
|
-
"DashboardWidget": DashboardWidget,
|
|
594
|
-
"DuplicateRowFound": DuplicateRowFound,
|
|
595
|
-
"DynamicVoucher": DynamicVoucher,
|
|
596
|
-
"DynamicVoucherBroadcast": DynamicVoucherBroadcast,
|
|
597
|
-
"Employee": Employee,
|
|
598
|
-
"EmployeeActivityLog": EmployeeActivityLog,
|
|
599
|
-
"EmployeeAlert": EmployeeAlert,
|
|
600
|
-
"ExportDataFile": ExportDataFile,
|
|
601
|
-
"FalsumError": FalsumError,
|
|
602
|
-
"FalsumField": FalsumField,
|
|
603
|
-
"Feature": Feature,
|
|
604
|
-
"ForbiddenRequest": ForbiddenRequest,
|
|
605
|
-
"ForeignKeyDoesNotExist": ForeignKeyDoesNotExist,
|
|
606
|
-
"HelpDeskRequest": HelpDeskRequest,
|
|
607
|
-
"ImportedList": ImportedList,
|
|
608
|
-
"ImportedListRecipient": ImportedListRecipient,
|
|
609
|
-
"InlineObject": InlineObject,
|
|
610
|
-
"InlineObject1": InlineObject1,
|
|
611
|
-
"InlineObject10": InlineObject10,
|
|
612
|
-
"InlineObject11": InlineObject11,
|
|
613
|
-
"InlineObject12": InlineObject12,
|
|
614
|
-
"InlineObject13": InlineObject13,
|
|
615
|
-
"InlineObject14": InlineObject14,
|
|
616
|
-
"InlineObject15": InlineObject15,
|
|
617
|
-
"InlineObject16": InlineObject16,
|
|
618
|
-
"InlineObject17": InlineObject17,
|
|
619
|
-
"InlineObject18": InlineObject18,
|
|
620
|
-
"InlineObject19": InlineObject19,
|
|
621
|
-
"InlineObject2": InlineObject2,
|
|
622
|
-
"InlineObject20": InlineObject20,
|
|
623
|
-
"InlineObject21": InlineObject21,
|
|
624
|
-
"InlineObject22": InlineObject22,
|
|
625
|
-
"InlineObject23": InlineObject23,
|
|
626
|
-
"InlineObject24": InlineObject24,
|
|
627
|
-
"InlineObject25": InlineObject25,
|
|
628
|
-
"InlineObject26": InlineObject26,
|
|
629
|
-
"InlineObject27": InlineObject27,
|
|
630
|
-
"InlineObject28": InlineObject28,
|
|
631
|
-
"InlineObject29": InlineObject29,
|
|
632
|
-
"InlineObject3": InlineObject3,
|
|
633
|
-
"InlineObject30": InlineObject30,
|
|
634
|
-
"InlineObject31": InlineObject31,
|
|
635
|
-
"InlineObject32": InlineObject32,
|
|
636
|
-
"InlineObject33": InlineObject33,
|
|
637
|
-
"InlineObject34": InlineObject34,
|
|
638
|
-
"InlineObject35": InlineObject35,
|
|
639
|
-
"InlineObject36": InlineObject36,
|
|
640
|
-
"InlineObject37": InlineObject37,
|
|
641
|
-
"InlineObject38": InlineObject38,
|
|
642
|
-
"InlineObject39": InlineObject39,
|
|
643
|
-
"InlineObject4": InlineObject4,
|
|
644
|
-
"InlineObject40": InlineObject40,
|
|
645
|
-
"InlineObject41": InlineObject41,
|
|
646
|
-
"InlineObject42": InlineObject42,
|
|
647
|
-
"InlineObject43": InlineObject43,
|
|
648
|
-
"InlineObject44": InlineObject44,
|
|
649
|
-
"InlineObject45": InlineObject45,
|
|
650
|
-
"InlineObject46": InlineObject46,
|
|
651
|
-
"InlineObject47": InlineObject47,
|
|
652
|
-
"InlineObject48": InlineObject48,
|
|
653
|
-
"InlineObject49": InlineObject49,
|
|
654
|
-
"InlineObject5": InlineObject5,
|
|
655
|
-
"InlineObject50": InlineObject50,
|
|
656
|
-
"InlineObject51": InlineObject51,
|
|
657
|
-
"InlineObject52": InlineObject52,
|
|
658
|
-
"InlineObject53": InlineObject53,
|
|
659
|
-
"InlineObject54": InlineObject54,
|
|
660
|
-
"InlineObject55": InlineObject55,
|
|
661
|
-
"InlineObject56": InlineObject56,
|
|
662
|
-
"InlineObject57": InlineObject57,
|
|
663
|
-
"InlineObject58": InlineObject58,
|
|
664
|
-
"InlineObject59": InlineObject59,
|
|
665
|
-
"InlineObject6": InlineObject6,
|
|
666
|
-
"InlineObject60": InlineObject60,
|
|
667
|
-
"InlineObject61": InlineObject61,
|
|
668
|
-
"InlineObject62": InlineObject62,
|
|
669
|
-
"InlineObject63": InlineObject63,
|
|
670
|
-
"InlineObject64": InlineObject64,
|
|
671
|
-
"InlineObject65": InlineObject65,
|
|
672
|
-
"InlineObject66": InlineObject66,
|
|
673
|
-
"InlineObject67": InlineObject67,
|
|
674
|
-
"InlineObject68": InlineObject68,
|
|
675
|
-
"InlineObject69": InlineObject69,
|
|
676
|
-
"InlineObject7": InlineObject7,
|
|
677
|
-
"InlineObject8": InlineObject8,
|
|
678
|
-
"InlineObject9": InlineObject9,
|
|
679
|
-
"InlineResponse200": InlineResponse200,
|
|
680
|
-
"InlineResponse2001": InlineResponse2001,
|
|
681
|
-
"InlineResponse20010": InlineResponse20010,
|
|
682
|
-
"InlineResponse20011": InlineResponse20011,
|
|
683
|
-
"InlineResponse2002": InlineResponse2002,
|
|
684
|
-
"InlineResponse2003": InlineResponse2003,
|
|
685
|
-
"InlineResponse2004": InlineResponse2004,
|
|
686
|
-
"InlineResponse2005": InlineResponse2005,
|
|
687
|
-
"InlineResponse2006": InlineResponse2006,
|
|
688
|
-
"InlineResponse2007": InlineResponse2007,
|
|
689
|
-
"InlineResponse2008": InlineResponse2008,
|
|
690
|
-
"InlineResponse2009": InlineResponse2009,
|
|
691
|
-
"InternalServerError": InternalServerError,
|
|
692
|
-
"LedgerEntry": LedgerEntry,
|
|
693
|
-
"LinkBook": LinkBook,
|
|
694
|
-
"LinkBookSection": LinkBookSection,
|
|
695
|
-
"MSMemberHistory": MSMemberHistory,
|
|
696
|
-
"MSMemberHistoryPagination": MSMemberHistoryPagination,
|
|
697
|
-
"MSMemberRedemption": MSMemberRedemption,
|
|
698
|
-
"MSMemberRedemptionPagination": MSMemberRedemptionPagination,
|
|
699
|
-
"MSMembershipTierHistory": MSMembershipTierHistory,
|
|
700
|
-
"MSMembershipTierHistoryPagination": MSMembershipTierHistoryPagination,
|
|
701
|
-
"MSMembershipTierRedemption": MSMembershipTierRedemption,
|
|
702
|
-
"MSMembershipTierRedemptionPagination": MSMembershipTierRedemptionPagination,
|
|
703
|
-
"MSMerchantCreditHistory": MSMerchantCreditHistory,
|
|
704
|
-
"MSMerchantCreditHistoryPagination": MSMerchantCreditHistoryPagination,
|
|
705
|
-
"MSMerchantCreditRedemption": MSMerchantCreditRedemption,
|
|
706
|
-
"MSMerchantCreditRedemptionPagination": MSMerchantCreditRedemptionPagination,
|
|
707
|
-
"MediaFile": MediaFile,
|
|
708
|
-
"Member": Member,
|
|
709
|
-
"MemberSearch": MemberSearch,
|
|
710
|
-
"Merchant": Merchant,
|
|
711
|
-
"MerchantCreditSearch": MerchantCreditSearch,
|
|
712
|
-
"MerchantNotInitialized": MerchantNotInitialized,
|
|
713
|
-
"MerchantURL": MerchantURL,
|
|
714
|
-
"Message": Message,
|
|
715
|
-
"ModuleError": ModuleError,
|
|
716
|
-
"NewsArticle": NewsArticle,
|
|
717
|
-
"OptInList": OptInList,
|
|
718
|
-
"OptInListSource": OptInListSource,
|
|
719
|
-
"OptInListSubscriber": OptInListSubscriber,
|
|
720
|
-
"OutboundSMS": OutboundSMS,
|
|
721
|
-
"PaginatedWTMembers": PaginatedWTMembers,
|
|
722
|
-
"PaginatedWTMerchantCredits": PaginatedWTMerchantCredits,
|
|
723
|
-
"PaginationRequestWithSortOptions": PaginationRequestWithSortOptions,
|
|
724
|
-
"PaymentDesign": PaymentDesign,
|
|
725
|
-
"Performance": Performance,
|
|
726
|
-
"PhoneNumber": PhoneNumber,
|
|
727
|
-
"PickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID": PickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID,
|
|
728
|
-
"PickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier": PickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier,
|
|
729
|
-
"PickMSMemberExcludeKeyofMSMemberMemberIdentifier": PickMSMemberExcludeKeyofMSMemberMemberIdentifier,
|
|
730
|
-
"PickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier": PickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier,
|
|
731
|
-
"PickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier": PickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier,
|
|
732
|
-
"PickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded": PickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded,
|
|
733
|
-
"PickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId": PickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId,
|
|
734
|
-
"PickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId": PickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId,
|
|
735
|
-
"PickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID": PickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID,
|
|
736
|
-
"PickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId": PickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId,
|
|
737
|
-
"PickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId": PickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId,
|
|
738
|
-
"PickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone": PickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone,
|
|
739
|
-
"PickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt": PickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt,
|
|
740
|
-
"PickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId": PickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId,
|
|
741
|
-
"PickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate": PickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate,
|
|
742
|
-
"PickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType": PickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType,
|
|
743
|
-
"PickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID": PickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID,
|
|
744
|
-
"PickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId": PickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId,
|
|
745
|
-
"PickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt": PickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt,
|
|
746
|
-
"PickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID": PickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID,
|
|
747
|
-
"PickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail": PickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail,
|
|
748
|
-
"PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber": PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber,
|
|
749
|
-
"PickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber": PickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber,
|
|
750
|
-
"PickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID": PickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID,
|
|
751
|
-
"PickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId": PickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId,
|
|
752
|
-
"PickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID": PickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID,
|
|
753
|
-
"PickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime": PickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime,
|
|
754
|
-
"PickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID": PickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID,
|
|
755
|
-
"Plan": Plan,
|
|
756
|
-
"PresignedPost": PresignedPost,
|
|
757
|
-
"PresignedPostFields": PresignedPostFields,
|
|
758
|
-
"Product": Product,
|
|
759
|
-
"PromoCode": PromoCode,
|
|
760
|
-
"ReachPerformanceStats": ReachPerformanceStats,
|
|
761
|
-
"Request": Request,
|
|
762
|
-
"Response": Response,
|
|
763
|
-
"Role": Role,
|
|
764
|
-
"RoleAuditLog": RoleAuditLog,
|
|
765
|
-
"SSOptInSource": SSOptInSource,
|
|
766
|
-
"SimpleSMSBroadcast": SimpleSMSBroadcast,
|
|
767
|
-
"StaticVoucher": StaticVoucher,
|
|
768
|
-
"StaticVoucherCampaign": StaticVoucherCampaign,
|
|
769
|
-
"StaticVoucherCampaignBroadcast": StaticVoucherCampaignBroadcast,
|
|
770
|
-
"StaticVoucherCampaignGroup": StaticVoucherCampaignGroup,
|
|
771
|
-
"StaticVoucherCampaignUpdate": StaticVoucherCampaignUpdate,
|
|
772
|
-
"Status": Status,
|
|
773
|
-
"SubscriptionFeature": SubscriptionFeature,
|
|
774
|
-
"SubscriptionPlan": SubscriptionPlan,
|
|
775
|
-
"SubscriptionProduct": SubscriptionProduct,
|
|
776
|
-
"Tcpa": Tcpa,
|
|
777
|
-
"UpdateStaticVoucherCampaignWithVoucher": UpdateStaticVoucherCampaignWithVoucher,
|
|
778
|
-
"VSCampaignGeneratedMessage": VSCampaignGeneratedMessage,
|
|
779
|
-
"VSCampaignGeneratedMessagePagination": VSCampaignGeneratedMessagePagination,
|
|
780
|
-
"VSDynamicVoucherStatus": VSDynamicVoucherStatus,
|
|
781
|
-
"WTAdvertisementCredit": WTAdvertisementCredit,
|
|
782
|
-
"WTAdvertisementCreditScan": WTAdvertisementCreditScan,
|
|
783
|
-
"WTAdvertisementCreditUpdateParams": WTAdvertisementCreditUpdateParams,
|
|
784
|
-
"WTDynamicVoucher": WTDynamicVoucher,
|
|
785
|
-
"WTDynamicVoucherCreateParams": WTDynamicVoucherCreateParams,
|
|
786
|
-
"WTDynamicVoucherRedemption": WTDynamicVoucherRedemption,
|
|
787
|
-
"WTDynamicVoucherSummary": WTDynamicVoucherSummary,
|
|
788
|
-
"WTDynamicVoucherUpdateParams": WTDynamicVoucherUpdateParams,
|
|
789
|
-
"WTEmployee": WTEmployee,
|
|
790
|
-
"WTEmployeeCreate": WTEmployeeCreate,
|
|
791
|
-
"WTEmployeeUpdate": WTEmployeeUpdate,
|
|
792
|
-
"WTImportedList": WTImportedList,
|
|
793
|
-
"WTLinkBookCreateParams": WTLinkBookCreateParams,
|
|
794
|
-
"WTLinkBookSectionCreateParams": WTLinkBookSectionCreateParams,
|
|
795
|
-
"WTLinkBookSectionUpdateParams": WTLinkBookSectionUpdateParams,
|
|
796
|
-
"WTLinkBookUpdateParams": WTLinkBookUpdateParams,
|
|
797
|
-
"WTMember": WTMember,
|
|
798
|
-
"WTMemberCreationParams": WTMemberCreationParams,
|
|
799
|
-
"WTMembershipTier": WTMembershipTier,
|
|
800
|
-
"WTMembershipTierCreationParams": WTMembershipTierCreationParams,
|
|
801
|
-
"WTMembershipTierUpdateParams": WTMembershipTierUpdateParams,
|
|
802
|
-
"WTMembershipTierWithMemberCount": WTMembershipTierWithMemberCount,
|
|
803
|
-
"WTMerchantCredit": WTMerchantCredit,
|
|
804
|
-
"WTMerchantCreditCreationParams": WTMerchantCreditCreationParams,
|
|
805
|
-
"WTMerchantURLCreate": WTMerchantURLCreate,
|
|
806
|
-
"WTMerchantURLUpdate": WTMerchantURLUpdate,
|
|
807
|
-
"WTNewsArticleCreateParams": WTNewsArticleCreateParams,
|
|
808
|
-
"WTNewsArticleUpdateParams": WTNewsArticleUpdateParams,
|
|
809
|
-
"WTOptInList": WTOptInList,
|
|
810
|
-
"WTOptInListCreationParams": WTOptInListCreationParams,
|
|
811
|
-
"WTPaymentDesign": WTPaymentDesign,
|
|
812
|
-
"WTPaymentDesignCreateParams": WTPaymentDesignCreateParams,
|
|
813
|
-
"WTPaymentDesignUpdateParams": WTPaymentDesignUpdateParams,
|
|
814
|
-
"WTPerformanceCreateParams": WTPerformanceCreateParams,
|
|
815
|
-
"WTPerformanceUpdateParams": WTPerformanceUpdateParams,
|
|
816
|
-
"WTPosMachine": WTPosMachine,
|
|
817
|
-
"WTPosMachineCreateParams": WTPosMachineCreateParams,
|
|
818
|
-
"WTPosMachineUpdateParams": WTPosMachineUpdateParams,
|
|
819
|
-
"WTPromoCodeCreateParams": WTPromoCodeCreateParams,
|
|
820
|
-
"WTPromoCodeUpdateParams": WTPromoCodeUpdateParams,
|
|
821
|
-
"WTRole": WTRole,
|
|
822
|
-
"WTStaticVoucher": WTStaticVoucher,
|
|
823
|
-
"WTStaticVoucherCampaign": WTStaticVoucherCampaign,
|
|
824
|
-
"WTStaticVoucherCreateParams": WTStaticVoucherCreateParams,
|
|
825
|
-
"WTStaticVoucherUpdateParams": WTStaticVoucherUpdateParams,
|
|
826
|
-
"WTWalletPageView": WTWalletPageView,
|
|
827
|
-
"WTWalletPageViewGeoPoint": WTWalletPageViewGeoPoint,
|
|
828
|
-
"WalletPageView": WalletPageView,
|
|
829
|
-
"Webpage": Webpage,
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
export class ObjectSerializer {
|
|
833
|
-
public static findCorrectType(data: any, expectedType: string) {
|
|
834
|
-
if (data == undefined) {
|
|
835
|
-
return expectedType;
|
|
836
|
-
} else if (primitives.indexOf(expectedType.toLowerCase()) !== -1) {
|
|
837
|
-
return expectedType;
|
|
838
|
-
} else if (expectedType === "Date") {
|
|
839
|
-
return expectedType;
|
|
840
|
-
} else {
|
|
841
|
-
if (enumsMap[expectedType]) {
|
|
842
|
-
return expectedType;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
if (!typeMap[expectedType]) {
|
|
846
|
-
return expectedType; // w/e we don't know the type
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
// Check the discriminator
|
|
850
|
-
let discriminatorProperty = typeMap[expectedType].discriminator;
|
|
851
|
-
if (discriminatorProperty == null) {
|
|
852
|
-
return expectedType; // the type does not have a discriminator. use it.
|
|
853
|
-
} else {
|
|
854
|
-
if (data[discriminatorProperty]) {
|
|
855
|
-
var discriminatorType = data[discriminatorProperty];
|
|
856
|
-
if(typeMap[discriminatorType]){
|
|
857
|
-
return discriminatorType; // use the type given in the discriminator
|
|
858
|
-
} else {
|
|
859
|
-
return expectedType; // discriminator did not map to a type
|
|
860
|
-
}
|
|
861
|
-
} else {
|
|
862
|
-
return expectedType; // discriminator was not present (or an empty string)
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
public static serialize(data: any, type: string) {
|
|
869
|
-
if (data == undefined) {
|
|
870
|
-
return data;
|
|
871
|
-
} else if (primitives.indexOf(type.toLowerCase()) !== -1) {
|
|
872
|
-
return data;
|
|
873
|
-
} else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
|
|
874
|
-
let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
|
|
875
|
-
subType = subType.substring(0, subType.length - 1); // Type> => Type
|
|
876
|
-
let transformedData: any[] = [];
|
|
877
|
-
for (let index = 0; index < data.length; index++) {
|
|
878
|
-
let datum = data[index];
|
|
879
|
-
transformedData.push(ObjectSerializer.serialize(datum, subType));
|
|
880
|
-
}
|
|
881
|
-
return transformedData;
|
|
882
|
-
} else if (type === "Date") {
|
|
883
|
-
return data.toISOString();
|
|
884
|
-
} else {
|
|
885
|
-
if (enumsMap[type]) {
|
|
886
|
-
return data;
|
|
887
|
-
}
|
|
888
|
-
if (!typeMap[type]) { // in case we dont know the type
|
|
889
|
-
return data;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
// Get the actual type of this object
|
|
893
|
-
type = this.findCorrectType(data, type);
|
|
894
|
-
|
|
895
|
-
// get the map for the correct type.
|
|
896
|
-
let attributeTypes = typeMap[type].getAttributeTypeMap();
|
|
897
|
-
let instance: {[index: string]: any} = {};
|
|
898
|
-
for (let index = 0; index < attributeTypes.length; index++) {
|
|
899
|
-
let attributeType = attributeTypes[index];
|
|
900
|
-
instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type);
|
|
901
|
-
}
|
|
902
|
-
return instance;
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
public static deserialize(data: any, type: string) {
|
|
907
|
-
// polymorphism may change the actual type.
|
|
908
|
-
type = ObjectSerializer.findCorrectType(data, type);
|
|
909
|
-
if (data == undefined) {
|
|
910
|
-
return data;
|
|
911
|
-
} else if (primitives.indexOf(type.toLowerCase()) !== -1) {
|
|
912
|
-
return data;
|
|
913
|
-
} else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
|
|
914
|
-
let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
|
|
915
|
-
subType = subType.substring(0, subType.length - 1); // Type> => Type
|
|
916
|
-
let transformedData: any[] = [];
|
|
917
|
-
for (let index = 0; index < data.length; index++) {
|
|
918
|
-
let datum = data[index];
|
|
919
|
-
transformedData.push(ObjectSerializer.deserialize(datum, subType));
|
|
920
|
-
}
|
|
921
|
-
return transformedData;
|
|
922
|
-
} else if (type === "Date") {
|
|
923
|
-
return new Date(data);
|
|
924
|
-
} else {
|
|
925
|
-
if (enumsMap[type]) {// is Enum
|
|
926
|
-
return data;
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
if (!typeMap[type]) { // dont know the type
|
|
930
|
-
return data;
|
|
931
|
-
}
|
|
932
|
-
let instance = new typeMap[type]();
|
|
933
|
-
let attributeTypes = typeMap[type].getAttributeTypeMap();
|
|
934
|
-
for (let index = 0; index < attributeTypes.length; index++) {
|
|
935
|
-
let attributeType = attributeTypes[index];
|
|
936
|
-
instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type);
|
|
937
|
-
}
|
|
938
|
-
return instance;
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
export interface Authentication {
|
|
944
|
-
/**
|
|
945
|
-
* Apply authentication settings to header and query params.
|
|
946
|
-
*/
|
|
947
|
-
applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
export class HttpBasicAuth implements Authentication {
|
|
951
|
-
public username: string = '';
|
|
952
|
-
public password: string = '';
|
|
953
|
-
|
|
954
|
-
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
955
|
-
requestOptions.auth = {
|
|
956
|
-
username: this.username, password: this.password
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
export class HttpBearerAuth implements Authentication {
|
|
962
|
-
public accessToken: string | (() => string) = '';
|
|
963
|
-
|
|
964
|
-
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
965
|
-
if (requestOptions && requestOptions.headers) {
|
|
966
|
-
const accessToken = typeof this.accessToken === 'function'
|
|
967
|
-
? this.accessToken()
|
|
968
|
-
: this.accessToken;
|
|
969
|
-
requestOptions.headers["Authorization"] = "Bearer " + accessToken;
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
export class ApiKeyAuth implements Authentication {
|
|
975
|
-
public apiKey: string = '';
|
|
976
|
-
|
|
977
|
-
constructor(private location: string, private paramName: string) {
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
981
|
-
if (this.location == "query") {
|
|
982
|
-
(<any>requestOptions.qs)[this.paramName] = this.apiKey;
|
|
983
|
-
} else if (this.location == "header" && requestOptions && requestOptions.headers) {
|
|
984
|
-
requestOptions.headers[this.paramName] = this.apiKey;
|
|
985
|
-
} else if (this.location == 'cookie' && requestOptions && requestOptions.headers) {
|
|
986
|
-
if (requestOptions.headers['Cookie']) {
|
|
987
|
-
requestOptions.headers['Cookie'] += '; ' + this.paramName + '=' + encodeURIComponent(this.apiKey);
|
|
988
|
-
}
|
|
989
|
-
else {
|
|
990
|
-
requestOptions.headers['Cookie'] = this.paramName + '=' + encodeURIComponent(this.apiKey);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
export class OAuth implements Authentication {
|
|
997
|
-
public accessToken: string = '';
|
|
998
|
-
|
|
999
|
-
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
1000
|
-
if (requestOptions && requestOptions.headers) {
|
|
1001
|
-
requestOptions.headers["Authorization"] = "Bearer " + this.accessToken;
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
export class VoidAuth implements Authentication {
|
|
1007
|
-
public username: string = '';
|
|
1008
|
-
public password: string = '';
|
|
1009
|
-
|
|
1010
|
-
applyToRequest(_: localVarRequest.Options): void {
|
|
1011
|
-
// Do nothing
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
|
|
1
|
+
import localVarRequest from 'request';
|
|
2
|
+
|
|
3
|
+
export * from './advertisementCredit';
|
|
4
|
+
export * from './advertisementCreditBroadcast';
|
|
5
|
+
export * from './advertisementCreditScan';
|
|
6
|
+
export * from './agreement';
|
|
7
|
+
export * from './alert';
|
|
8
|
+
export * from './announcement';
|
|
9
|
+
export * from './applicableTerminals';
|
|
10
|
+
export * from './applicableTerminalsAnyOf';
|
|
11
|
+
export * from './applicableTerminalsAnyOf1';
|
|
12
|
+
export * from './applicableTerminalsAnyOf2';
|
|
13
|
+
export * from './applicableTerminalsAnyOf3';
|
|
14
|
+
export * from './authError';
|
|
15
|
+
export * from './availablePhoneNumbersRequest';
|
|
16
|
+
export * from './clickFunnelAmount';
|
|
17
|
+
export * from './clickFunnelContact';
|
|
18
|
+
export * from './clickFunnelContactProfile';
|
|
19
|
+
export * from './clickFunnelEvent';
|
|
20
|
+
export * from './clickFunnelOriginalAmount';
|
|
21
|
+
export * from './clickFunnelProduct';
|
|
22
|
+
export * from './clickFunnelPurchase';
|
|
23
|
+
export * from './createStaticVoucherCampaign';
|
|
24
|
+
export * from './createStaticVoucherCampaignWithVoucher';
|
|
25
|
+
export * from './createStaticVoucherCampaignWithVoucherWithCSV';
|
|
26
|
+
export * from './dashboardWidget';
|
|
27
|
+
export * from './duplicateRowFound';
|
|
28
|
+
export * from './dynamicVoucher';
|
|
29
|
+
export * from './dynamicVoucherBroadcast';
|
|
30
|
+
export * from './employee';
|
|
31
|
+
export * from './employeeActivityLog';
|
|
32
|
+
export * from './employeeAlert';
|
|
33
|
+
export * from './exportDataFile';
|
|
34
|
+
export * from './falsumError';
|
|
35
|
+
export * from './falsumField';
|
|
36
|
+
export * from './feature';
|
|
37
|
+
export * from './forbiddenRequest';
|
|
38
|
+
export * from './foreignKeyDoesNotExist';
|
|
39
|
+
export * from './helpDeskRequest';
|
|
40
|
+
export * from './importedList';
|
|
41
|
+
export * from './importedListRecipient';
|
|
42
|
+
export * from './inlineObject';
|
|
43
|
+
export * from './inlineObject1';
|
|
44
|
+
export * from './inlineObject10';
|
|
45
|
+
export * from './inlineObject11';
|
|
46
|
+
export * from './inlineObject12';
|
|
47
|
+
export * from './inlineObject13';
|
|
48
|
+
export * from './inlineObject14';
|
|
49
|
+
export * from './inlineObject15';
|
|
50
|
+
export * from './inlineObject16';
|
|
51
|
+
export * from './inlineObject17';
|
|
52
|
+
export * from './inlineObject18';
|
|
53
|
+
export * from './inlineObject19';
|
|
54
|
+
export * from './inlineObject2';
|
|
55
|
+
export * from './inlineObject20';
|
|
56
|
+
export * from './inlineObject21';
|
|
57
|
+
export * from './inlineObject22';
|
|
58
|
+
export * from './inlineObject23';
|
|
59
|
+
export * from './inlineObject24';
|
|
60
|
+
export * from './inlineObject25';
|
|
61
|
+
export * from './inlineObject26';
|
|
62
|
+
export * from './inlineObject27';
|
|
63
|
+
export * from './inlineObject28';
|
|
64
|
+
export * from './inlineObject29';
|
|
65
|
+
export * from './inlineObject3';
|
|
66
|
+
export * from './inlineObject30';
|
|
67
|
+
export * from './inlineObject31';
|
|
68
|
+
export * from './inlineObject32';
|
|
69
|
+
export * from './inlineObject33';
|
|
70
|
+
export * from './inlineObject34';
|
|
71
|
+
export * from './inlineObject35';
|
|
72
|
+
export * from './inlineObject36';
|
|
73
|
+
export * from './inlineObject37';
|
|
74
|
+
export * from './inlineObject38';
|
|
75
|
+
export * from './inlineObject39';
|
|
76
|
+
export * from './inlineObject4';
|
|
77
|
+
export * from './inlineObject40';
|
|
78
|
+
export * from './inlineObject41';
|
|
79
|
+
export * from './inlineObject42';
|
|
80
|
+
export * from './inlineObject43';
|
|
81
|
+
export * from './inlineObject44';
|
|
82
|
+
export * from './inlineObject45';
|
|
83
|
+
export * from './inlineObject46';
|
|
84
|
+
export * from './inlineObject47';
|
|
85
|
+
export * from './inlineObject48';
|
|
86
|
+
export * from './inlineObject49';
|
|
87
|
+
export * from './inlineObject5';
|
|
88
|
+
export * from './inlineObject50';
|
|
89
|
+
export * from './inlineObject51';
|
|
90
|
+
export * from './inlineObject52';
|
|
91
|
+
export * from './inlineObject53';
|
|
92
|
+
export * from './inlineObject54';
|
|
93
|
+
export * from './inlineObject55';
|
|
94
|
+
export * from './inlineObject56';
|
|
95
|
+
export * from './inlineObject57';
|
|
96
|
+
export * from './inlineObject58';
|
|
97
|
+
export * from './inlineObject59';
|
|
98
|
+
export * from './inlineObject6';
|
|
99
|
+
export * from './inlineObject60';
|
|
100
|
+
export * from './inlineObject61';
|
|
101
|
+
export * from './inlineObject62';
|
|
102
|
+
export * from './inlineObject63';
|
|
103
|
+
export * from './inlineObject64';
|
|
104
|
+
export * from './inlineObject65';
|
|
105
|
+
export * from './inlineObject66';
|
|
106
|
+
export * from './inlineObject67';
|
|
107
|
+
export * from './inlineObject68';
|
|
108
|
+
export * from './inlineObject69';
|
|
109
|
+
export * from './inlineObject7';
|
|
110
|
+
export * from './inlineObject8';
|
|
111
|
+
export * from './inlineObject9';
|
|
112
|
+
export * from './inlineResponse200';
|
|
113
|
+
export * from './inlineResponse2001';
|
|
114
|
+
export * from './inlineResponse20010';
|
|
115
|
+
export * from './inlineResponse20011';
|
|
116
|
+
export * from './inlineResponse2002';
|
|
117
|
+
export * from './inlineResponse2003';
|
|
118
|
+
export * from './inlineResponse2004';
|
|
119
|
+
export * from './inlineResponse2005';
|
|
120
|
+
export * from './inlineResponse2006';
|
|
121
|
+
export * from './inlineResponse2007';
|
|
122
|
+
export * from './inlineResponse2008';
|
|
123
|
+
export * from './inlineResponse2009';
|
|
124
|
+
export * from './internalServerError';
|
|
125
|
+
export * from './ledgerEntry';
|
|
126
|
+
export * from './linkBook';
|
|
127
|
+
export * from './linkBookSection';
|
|
128
|
+
export * from './mSMemberHistory';
|
|
129
|
+
export * from './mSMemberHistoryPagination';
|
|
130
|
+
export * from './mSMemberRedemption';
|
|
131
|
+
export * from './mSMemberRedemptionPagination';
|
|
132
|
+
export * from './mSMembershipTierHistory';
|
|
133
|
+
export * from './mSMembershipTierHistoryPagination';
|
|
134
|
+
export * from './mSMembershipTierRedemption';
|
|
135
|
+
export * from './mSMembershipTierRedemptionPagination';
|
|
136
|
+
export * from './mSMerchantCreditHistory';
|
|
137
|
+
export * from './mSMerchantCreditHistoryPagination';
|
|
138
|
+
export * from './mSMerchantCreditRedemption';
|
|
139
|
+
export * from './mSMerchantCreditRedemptionPagination';
|
|
140
|
+
export * from './mediaFile';
|
|
141
|
+
export * from './member';
|
|
142
|
+
export * from './memberSearch';
|
|
143
|
+
export * from './merchant';
|
|
144
|
+
export * from './merchantCreditSearch';
|
|
145
|
+
export * from './merchantNotInitialized';
|
|
146
|
+
export * from './merchantURL';
|
|
147
|
+
export * from './message';
|
|
148
|
+
export * from './moduleError';
|
|
149
|
+
export * from './newsArticle';
|
|
150
|
+
export * from './optInList';
|
|
151
|
+
export * from './optInListSource';
|
|
152
|
+
export * from './optInListSubscriber';
|
|
153
|
+
export * from './outboundSMS';
|
|
154
|
+
export * from './paginatedWTMembers';
|
|
155
|
+
export * from './paginatedWTMerchantCredits';
|
|
156
|
+
export * from './paginationRequestWithSortOptions';
|
|
157
|
+
export * from './paymentDesign';
|
|
158
|
+
export * from './performance';
|
|
159
|
+
export * from './phoneNumber';
|
|
160
|
+
export * from './pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID';
|
|
161
|
+
export * from './pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier';
|
|
162
|
+
export * from './pickMSMemberExcludeKeyofMSMemberMemberIdentifier';
|
|
163
|
+
export * from './pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier';
|
|
164
|
+
export * from './pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier';
|
|
165
|
+
export * from './pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded';
|
|
166
|
+
export * from './pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId';
|
|
167
|
+
export * from './pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId';
|
|
168
|
+
export * from './pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID';
|
|
169
|
+
export * from './pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId';
|
|
170
|
+
export * from './pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId';
|
|
171
|
+
export * from './pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone';
|
|
172
|
+
export * from './pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt';
|
|
173
|
+
export * from './pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId';
|
|
174
|
+
export * from './pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate';
|
|
175
|
+
export * from './pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType';
|
|
176
|
+
export * from './pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID';
|
|
177
|
+
export * from './pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId';
|
|
178
|
+
export * from './pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt';
|
|
179
|
+
export * from './pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID';
|
|
180
|
+
export * from './pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail';
|
|
181
|
+
export * from './pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber';
|
|
182
|
+
export * from './pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber';
|
|
183
|
+
export * from './pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID';
|
|
184
|
+
export * from './pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId';
|
|
185
|
+
export * from './pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID';
|
|
186
|
+
export * from './pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime';
|
|
187
|
+
export * from './pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID';
|
|
188
|
+
export * from './plan';
|
|
189
|
+
export * from './portalPage';
|
|
190
|
+
export * from './presignedPost';
|
|
191
|
+
export * from './presignedPostFields';
|
|
192
|
+
export * from './product';
|
|
193
|
+
export * from './promoCode';
|
|
194
|
+
export * from './reachPerformanceStats';
|
|
195
|
+
export * from './request';
|
|
196
|
+
export * from './response';
|
|
197
|
+
export * from './role';
|
|
198
|
+
export * from './roleAuditLog';
|
|
199
|
+
export * from './sSOptInSource';
|
|
200
|
+
export * from './simpleSMSBroadcast';
|
|
201
|
+
export * from './staticVoucher';
|
|
202
|
+
export * from './staticVoucherCampaign';
|
|
203
|
+
export * from './staticVoucherCampaignBroadcast';
|
|
204
|
+
export * from './staticVoucherCampaignGroup';
|
|
205
|
+
export * from './staticVoucherCampaignUpdate';
|
|
206
|
+
export * from './status';
|
|
207
|
+
export * from './statusAnyOf';
|
|
208
|
+
export * from './statusAnyOf1';
|
|
209
|
+
export * from './statusAnyOf2';
|
|
210
|
+
export * from './statusAnyOf3';
|
|
211
|
+
export * from './subscriptionFeature';
|
|
212
|
+
export * from './subscriptionPlan';
|
|
213
|
+
export * from './subscriptionProduct';
|
|
214
|
+
export * from './tcpa';
|
|
215
|
+
export * from './updateStaticVoucherCampaignWithVoucher';
|
|
216
|
+
export * from './vSCampaignGeneratedMessage';
|
|
217
|
+
export * from './vSCampaignGeneratedMessagePagination';
|
|
218
|
+
export * from './vSDynamicVoucherStatus';
|
|
219
|
+
export * from './wTAdvertisementCredit';
|
|
220
|
+
export * from './wTAdvertisementCreditScan';
|
|
221
|
+
export * from './wTAdvertisementCreditUpdateParams';
|
|
222
|
+
export * from './wTDynamicVoucher';
|
|
223
|
+
export * from './wTDynamicVoucherCreateParams';
|
|
224
|
+
export * from './wTDynamicVoucherRedemption';
|
|
225
|
+
export * from './wTDynamicVoucherSummary';
|
|
226
|
+
export * from './wTDynamicVoucherUpdateParams';
|
|
227
|
+
export * from './wTEmployee';
|
|
228
|
+
export * from './wTEmployeeCreate';
|
|
229
|
+
export * from './wTEmployeeUpdate';
|
|
230
|
+
export * from './wTImportedList';
|
|
231
|
+
export * from './wTLinkBookCreateParams';
|
|
232
|
+
export * from './wTLinkBookSectionCreateParams';
|
|
233
|
+
export * from './wTLinkBookSectionUpdateParams';
|
|
234
|
+
export * from './wTLinkBookUpdateParams';
|
|
235
|
+
export * from './wTMember';
|
|
236
|
+
export * from './wTMemberCreationParams';
|
|
237
|
+
export * from './wTMembershipTier';
|
|
238
|
+
export * from './wTMembershipTierCreationParams';
|
|
239
|
+
export * from './wTMembershipTierUpdateParams';
|
|
240
|
+
export * from './wTMembershipTierWithMemberCount';
|
|
241
|
+
export * from './wTMerchantCredit';
|
|
242
|
+
export * from './wTMerchantCreditCreationParams';
|
|
243
|
+
export * from './wTMerchantURLCreate';
|
|
244
|
+
export * from './wTMerchantURLUpdate';
|
|
245
|
+
export * from './wTNewsArticleCreateParams';
|
|
246
|
+
export * from './wTNewsArticleUpdateParams';
|
|
247
|
+
export * from './wTOptInList';
|
|
248
|
+
export * from './wTOptInListCreationParams';
|
|
249
|
+
export * from './wTPaymentDesign';
|
|
250
|
+
export * from './wTPaymentDesignCreateParams';
|
|
251
|
+
export * from './wTPaymentDesignUpdateParams';
|
|
252
|
+
export * from './wTPerformanceCreateParams';
|
|
253
|
+
export * from './wTPerformanceUpdateParams';
|
|
254
|
+
export * from './wTPosMachine';
|
|
255
|
+
export * from './wTPosMachineCreateParams';
|
|
256
|
+
export * from './wTPosMachineUpdateParams';
|
|
257
|
+
export * from './wTPromoCodeCreateParams';
|
|
258
|
+
export * from './wTPromoCodeUpdateParams';
|
|
259
|
+
export * from './wTRole';
|
|
260
|
+
export * from './wTStaticVoucher';
|
|
261
|
+
export * from './wTStaticVoucherCampaign';
|
|
262
|
+
export * from './wTStaticVoucherCreateParams';
|
|
263
|
+
export * from './wTStaticVoucherUpdateParams';
|
|
264
|
+
export * from './wTWalletPageView';
|
|
265
|
+
export * from './wTWalletPageViewGeoPoint';
|
|
266
|
+
export * from './walletPageView';
|
|
267
|
+
export * from './webpage';
|
|
268
|
+
|
|
269
|
+
import * as fs from 'fs';
|
|
270
|
+
|
|
271
|
+
export interface RequestDetailedFile {
|
|
272
|
+
value: Buffer;
|
|
273
|
+
options?: {
|
|
274
|
+
filename?: string;
|
|
275
|
+
contentType?: string;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
import { AdvertisementCredit } from './advertisementCredit';
|
|
283
|
+
import { AdvertisementCreditBroadcast } from './advertisementCreditBroadcast';
|
|
284
|
+
import { AdvertisementCreditScan } from './advertisementCreditScan';
|
|
285
|
+
import { Agreement } from './agreement';
|
|
286
|
+
import { Alert } from './alert';
|
|
287
|
+
import { Announcement } from './announcement';
|
|
288
|
+
import { ApplicableTerminals } from './applicableTerminals';
|
|
289
|
+
import { ApplicableTerminalsAnyOf } from './applicableTerminalsAnyOf';
|
|
290
|
+
import { ApplicableTerminalsAnyOf1 } from './applicableTerminalsAnyOf1';
|
|
291
|
+
import { ApplicableTerminalsAnyOf2 } from './applicableTerminalsAnyOf2';
|
|
292
|
+
import { ApplicableTerminalsAnyOf3 } from './applicableTerminalsAnyOf3';
|
|
293
|
+
import { AuthError } from './authError';
|
|
294
|
+
import { AvailablePhoneNumbersRequest } from './availablePhoneNumbersRequest';
|
|
295
|
+
import { ClickFunnelAmount } from './clickFunnelAmount';
|
|
296
|
+
import { ClickFunnelContact } from './clickFunnelContact';
|
|
297
|
+
import { ClickFunnelContactProfile } from './clickFunnelContactProfile';
|
|
298
|
+
import { ClickFunnelEvent } from './clickFunnelEvent';
|
|
299
|
+
import { ClickFunnelOriginalAmount } from './clickFunnelOriginalAmount';
|
|
300
|
+
import { ClickFunnelProduct } from './clickFunnelProduct';
|
|
301
|
+
import { ClickFunnelPurchase } from './clickFunnelPurchase';
|
|
302
|
+
import { CreateStaticVoucherCampaign } from './createStaticVoucherCampaign';
|
|
303
|
+
import { CreateStaticVoucherCampaignWithVoucher } from './createStaticVoucherCampaignWithVoucher';
|
|
304
|
+
import { CreateStaticVoucherCampaignWithVoucherWithCSV } from './createStaticVoucherCampaignWithVoucherWithCSV';
|
|
305
|
+
import { DashboardWidget } from './dashboardWidget';
|
|
306
|
+
import { DuplicateRowFound } from './duplicateRowFound';
|
|
307
|
+
import { DynamicVoucher } from './dynamicVoucher';
|
|
308
|
+
import { DynamicVoucherBroadcast } from './dynamicVoucherBroadcast';
|
|
309
|
+
import { Employee } from './employee';
|
|
310
|
+
import { EmployeeActivityLog } from './employeeActivityLog';
|
|
311
|
+
import { EmployeeAlert } from './employeeAlert';
|
|
312
|
+
import { ExportDataFile } from './exportDataFile';
|
|
313
|
+
import { FalsumError } from './falsumError';
|
|
314
|
+
import { FalsumField } from './falsumField';
|
|
315
|
+
import { Feature } from './feature';
|
|
316
|
+
import { ForbiddenRequest } from './forbiddenRequest';
|
|
317
|
+
import { ForeignKeyDoesNotExist } from './foreignKeyDoesNotExist';
|
|
318
|
+
import { HelpDeskRequest } from './helpDeskRequest';
|
|
319
|
+
import { ImportedList } from './importedList';
|
|
320
|
+
import { ImportedListRecipient } from './importedListRecipient';
|
|
321
|
+
import { InlineObject } from './inlineObject';
|
|
322
|
+
import { InlineObject1 } from './inlineObject1';
|
|
323
|
+
import { InlineObject10 } from './inlineObject10';
|
|
324
|
+
import { InlineObject11 } from './inlineObject11';
|
|
325
|
+
import { InlineObject12 } from './inlineObject12';
|
|
326
|
+
import { InlineObject13 } from './inlineObject13';
|
|
327
|
+
import { InlineObject14 } from './inlineObject14';
|
|
328
|
+
import { InlineObject15 } from './inlineObject15';
|
|
329
|
+
import { InlineObject16 } from './inlineObject16';
|
|
330
|
+
import { InlineObject17 } from './inlineObject17';
|
|
331
|
+
import { InlineObject18 } from './inlineObject18';
|
|
332
|
+
import { InlineObject19 } from './inlineObject19';
|
|
333
|
+
import { InlineObject2 } from './inlineObject2';
|
|
334
|
+
import { InlineObject20 } from './inlineObject20';
|
|
335
|
+
import { InlineObject21 } from './inlineObject21';
|
|
336
|
+
import { InlineObject22 } from './inlineObject22';
|
|
337
|
+
import { InlineObject23 } from './inlineObject23';
|
|
338
|
+
import { InlineObject24 } from './inlineObject24';
|
|
339
|
+
import { InlineObject25 } from './inlineObject25';
|
|
340
|
+
import { InlineObject26 } from './inlineObject26';
|
|
341
|
+
import { InlineObject27 } from './inlineObject27';
|
|
342
|
+
import { InlineObject28 } from './inlineObject28';
|
|
343
|
+
import { InlineObject29 } from './inlineObject29';
|
|
344
|
+
import { InlineObject3 } from './inlineObject3';
|
|
345
|
+
import { InlineObject30 } from './inlineObject30';
|
|
346
|
+
import { InlineObject31 } from './inlineObject31';
|
|
347
|
+
import { InlineObject32 } from './inlineObject32';
|
|
348
|
+
import { InlineObject33 } from './inlineObject33';
|
|
349
|
+
import { InlineObject34 } from './inlineObject34';
|
|
350
|
+
import { InlineObject35 } from './inlineObject35';
|
|
351
|
+
import { InlineObject36 } from './inlineObject36';
|
|
352
|
+
import { InlineObject37 } from './inlineObject37';
|
|
353
|
+
import { InlineObject38 } from './inlineObject38';
|
|
354
|
+
import { InlineObject39 } from './inlineObject39';
|
|
355
|
+
import { InlineObject4 } from './inlineObject4';
|
|
356
|
+
import { InlineObject40 } from './inlineObject40';
|
|
357
|
+
import { InlineObject41 } from './inlineObject41';
|
|
358
|
+
import { InlineObject42 } from './inlineObject42';
|
|
359
|
+
import { InlineObject43 } from './inlineObject43';
|
|
360
|
+
import { InlineObject44 } from './inlineObject44';
|
|
361
|
+
import { InlineObject45 } from './inlineObject45';
|
|
362
|
+
import { InlineObject46 } from './inlineObject46';
|
|
363
|
+
import { InlineObject47 } from './inlineObject47';
|
|
364
|
+
import { InlineObject48 } from './inlineObject48';
|
|
365
|
+
import { InlineObject49 } from './inlineObject49';
|
|
366
|
+
import { InlineObject5 } from './inlineObject5';
|
|
367
|
+
import { InlineObject50 } from './inlineObject50';
|
|
368
|
+
import { InlineObject51 } from './inlineObject51';
|
|
369
|
+
import { InlineObject52 } from './inlineObject52';
|
|
370
|
+
import { InlineObject53 } from './inlineObject53';
|
|
371
|
+
import { InlineObject54 } from './inlineObject54';
|
|
372
|
+
import { InlineObject55 } from './inlineObject55';
|
|
373
|
+
import { InlineObject56 } from './inlineObject56';
|
|
374
|
+
import { InlineObject57 } from './inlineObject57';
|
|
375
|
+
import { InlineObject58 } from './inlineObject58';
|
|
376
|
+
import { InlineObject59 } from './inlineObject59';
|
|
377
|
+
import { InlineObject6 } from './inlineObject6';
|
|
378
|
+
import { InlineObject60 } from './inlineObject60';
|
|
379
|
+
import { InlineObject61 } from './inlineObject61';
|
|
380
|
+
import { InlineObject62 } from './inlineObject62';
|
|
381
|
+
import { InlineObject63 } from './inlineObject63';
|
|
382
|
+
import { InlineObject64 } from './inlineObject64';
|
|
383
|
+
import { InlineObject65 } from './inlineObject65';
|
|
384
|
+
import { InlineObject66 } from './inlineObject66';
|
|
385
|
+
import { InlineObject67 } from './inlineObject67';
|
|
386
|
+
import { InlineObject68 } from './inlineObject68';
|
|
387
|
+
import { InlineObject69 } from './inlineObject69';
|
|
388
|
+
import { InlineObject7 } from './inlineObject7';
|
|
389
|
+
import { InlineObject8 } from './inlineObject8';
|
|
390
|
+
import { InlineObject9 } from './inlineObject9';
|
|
391
|
+
import { InlineResponse200 } from './inlineResponse200';
|
|
392
|
+
import { InlineResponse2001 } from './inlineResponse2001';
|
|
393
|
+
import { InlineResponse20010 } from './inlineResponse20010';
|
|
394
|
+
import { InlineResponse20011 } from './inlineResponse20011';
|
|
395
|
+
import { InlineResponse2002 } from './inlineResponse2002';
|
|
396
|
+
import { InlineResponse2003 } from './inlineResponse2003';
|
|
397
|
+
import { InlineResponse2004 } from './inlineResponse2004';
|
|
398
|
+
import { InlineResponse2005 } from './inlineResponse2005';
|
|
399
|
+
import { InlineResponse2006 } from './inlineResponse2006';
|
|
400
|
+
import { InlineResponse2007 } from './inlineResponse2007';
|
|
401
|
+
import { InlineResponse2008 } from './inlineResponse2008';
|
|
402
|
+
import { InlineResponse2009 } from './inlineResponse2009';
|
|
403
|
+
import { InternalServerError } from './internalServerError';
|
|
404
|
+
import { LedgerEntry } from './ledgerEntry';
|
|
405
|
+
import { LinkBook } from './linkBook';
|
|
406
|
+
import { LinkBookSection } from './linkBookSection';
|
|
407
|
+
import { MSMemberHistory } from './mSMemberHistory';
|
|
408
|
+
import { MSMemberHistoryPagination } from './mSMemberHistoryPagination';
|
|
409
|
+
import { MSMemberRedemption } from './mSMemberRedemption';
|
|
410
|
+
import { MSMemberRedemptionPagination } from './mSMemberRedemptionPagination';
|
|
411
|
+
import { MSMembershipTierHistory } from './mSMembershipTierHistory';
|
|
412
|
+
import { MSMembershipTierHistoryPagination } from './mSMembershipTierHistoryPagination';
|
|
413
|
+
import { MSMembershipTierRedemption } from './mSMembershipTierRedemption';
|
|
414
|
+
import { MSMembershipTierRedemptionPagination } from './mSMembershipTierRedemptionPagination';
|
|
415
|
+
import { MSMerchantCreditHistory } from './mSMerchantCreditHistory';
|
|
416
|
+
import { MSMerchantCreditHistoryPagination } from './mSMerchantCreditHistoryPagination';
|
|
417
|
+
import { MSMerchantCreditRedemption } from './mSMerchantCreditRedemption';
|
|
418
|
+
import { MSMerchantCreditRedemptionPagination } from './mSMerchantCreditRedemptionPagination';
|
|
419
|
+
import { MediaFile } from './mediaFile';
|
|
420
|
+
import { Member } from './member';
|
|
421
|
+
import { MemberSearch } from './memberSearch';
|
|
422
|
+
import { Merchant } from './merchant';
|
|
423
|
+
import { MerchantCreditSearch } from './merchantCreditSearch';
|
|
424
|
+
import { MerchantNotInitialized } from './merchantNotInitialized';
|
|
425
|
+
import { MerchantURL } from './merchantURL';
|
|
426
|
+
import { Message } from './message';
|
|
427
|
+
import { ModuleError } from './moduleError';
|
|
428
|
+
import { NewsArticle } from './newsArticle';
|
|
429
|
+
import { OptInList } from './optInList';
|
|
430
|
+
import { OptInListSource } from './optInListSource';
|
|
431
|
+
import { OptInListSubscriber } from './optInListSubscriber';
|
|
432
|
+
import { OutboundSMS } from './outboundSMS';
|
|
433
|
+
import { PaginatedWTMembers } from './paginatedWTMembers';
|
|
434
|
+
import { PaginatedWTMerchantCredits } from './paginatedWTMerchantCredits';
|
|
435
|
+
import { PaginationRequestWithSortOptions } from './paginationRequestWithSortOptions';
|
|
436
|
+
import { PaymentDesign } from './paymentDesign';
|
|
437
|
+
import { Performance } from './performance';
|
|
438
|
+
import { PhoneNumber } from './phoneNumber';
|
|
439
|
+
import { PickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID } from './pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID';
|
|
440
|
+
import { PickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier } from './pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier';
|
|
441
|
+
import { PickMSMemberExcludeKeyofMSMemberMemberIdentifier } from './pickMSMemberExcludeKeyofMSMemberMemberIdentifier';
|
|
442
|
+
import { PickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier } from './pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier';
|
|
443
|
+
import { PickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier } from './pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier';
|
|
444
|
+
import { PickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded } from './pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded';
|
|
445
|
+
import { PickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId } from './pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId';
|
|
446
|
+
import { PickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId } from './pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId';
|
|
447
|
+
import { PickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID } from './pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID';
|
|
448
|
+
import { PickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId } from './pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId';
|
|
449
|
+
import { PickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId } from './pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId';
|
|
450
|
+
import { PickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone } from './pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone';
|
|
451
|
+
import { PickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt } from './pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt';
|
|
452
|
+
import { PickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId } from './pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId';
|
|
453
|
+
import { PickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate } from './pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate';
|
|
454
|
+
import { PickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType } from './pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType';
|
|
455
|
+
import { PickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID } from './pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID';
|
|
456
|
+
import { PickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId } from './pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId';
|
|
457
|
+
import { PickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt } from './pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt';
|
|
458
|
+
import { PickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID } from './pickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID';
|
|
459
|
+
import { PickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail } from './pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail';
|
|
460
|
+
import { PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber } from './pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber';
|
|
461
|
+
import { PickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber } from './pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber';
|
|
462
|
+
import { PickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID } from './pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID';
|
|
463
|
+
import { PickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId } from './pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId';
|
|
464
|
+
import { PickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID } from './pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID';
|
|
465
|
+
import { PickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime } from './pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime';
|
|
466
|
+
import { PickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID } from './pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID';
|
|
467
|
+
import { Plan } from './plan';
|
|
468
|
+
import { PortalPage } from './portalPage';
|
|
469
|
+
import { PresignedPost } from './presignedPost';
|
|
470
|
+
import { PresignedPostFields } from './presignedPostFields';
|
|
471
|
+
import { Product } from './product';
|
|
472
|
+
import { PromoCode } from './promoCode';
|
|
473
|
+
import { ReachPerformanceStats } from './reachPerformanceStats';
|
|
474
|
+
import { Request } from './request';
|
|
475
|
+
import { Response } from './response';
|
|
476
|
+
import { Role } from './role';
|
|
477
|
+
import { RoleAuditLog } from './roleAuditLog';
|
|
478
|
+
import { SSOptInSource } from './sSOptInSource';
|
|
479
|
+
import { SimpleSMSBroadcast } from './simpleSMSBroadcast';
|
|
480
|
+
import { StaticVoucher } from './staticVoucher';
|
|
481
|
+
import { StaticVoucherCampaign } from './staticVoucherCampaign';
|
|
482
|
+
import { StaticVoucherCampaignBroadcast } from './staticVoucherCampaignBroadcast';
|
|
483
|
+
import { StaticVoucherCampaignGroup } from './staticVoucherCampaignGroup';
|
|
484
|
+
import { StaticVoucherCampaignUpdate } from './staticVoucherCampaignUpdate';
|
|
485
|
+
import { Status } from './status';
|
|
486
|
+
import { StatusAnyOf } from './statusAnyOf';
|
|
487
|
+
import { StatusAnyOf1 } from './statusAnyOf1';
|
|
488
|
+
import { StatusAnyOf2 } from './statusAnyOf2';
|
|
489
|
+
import { StatusAnyOf3 } from './statusAnyOf3';
|
|
490
|
+
import { SubscriptionFeature } from './subscriptionFeature';
|
|
491
|
+
import { SubscriptionPlan } from './subscriptionPlan';
|
|
492
|
+
import { SubscriptionProduct } from './subscriptionProduct';
|
|
493
|
+
import { Tcpa } from './tcpa';
|
|
494
|
+
import { UpdateStaticVoucherCampaignWithVoucher } from './updateStaticVoucherCampaignWithVoucher';
|
|
495
|
+
import { VSCampaignGeneratedMessage } from './vSCampaignGeneratedMessage';
|
|
496
|
+
import { VSCampaignGeneratedMessagePagination } from './vSCampaignGeneratedMessagePagination';
|
|
497
|
+
import { VSDynamicVoucherStatus } from './vSDynamicVoucherStatus';
|
|
498
|
+
import { WTAdvertisementCredit } from './wTAdvertisementCredit';
|
|
499
|
+
import { WTAdvertisementCreditScan } from './wTAdvertisementCreditScan';
|
|
500
|
+
import { WTAdvertisementCreditUpdateParams } from './wTAdvertisementCreditUpdateParams';
|
|
501
|
+
import { WTDynamicVoucher } from './wTDynamicVoucher';
|
|
502
|
+
import { WTDynamicVoucherCreateParams } from './wTDynamicVoucherCreateParams';
|
|
503
|
+
import { WTDynamicVoucherRedemption } from './wTDynamicVoucherRedemption';
|
|
504
|
+
import { WTDynamicVoucherSummary } from './wTDynamicVoucherSummary';
|
|
505
|
+
import { WTDynamicVoucherUpdateParams } from './wTDynamicVoucherUpdateParams';
|
|
506
|
+
import { WTEmployee } from './wTEmployee';
|
|
507
|
+
import { WTEmployeeCreate } from './wTEmployeeCreate';
|
|
508
|
+
import { WTEmployeeUpdate } from './wTEmployeeUpdate';
|
|
509
|
+
import { WTImportedList } from './wTImportedList';
|
|
510
|
+
import { WTLinkBookCreateParams } from './wTLinkBookCreateParams';
|
|
511
|
+
import { WTLinkBookSectionCreateParams } from './wTLinkBookSectionCreateParams';
|
|
512
|
+
import { WTLinkBookSectionUpdateParams } from './wTLinkBookSectionUpdateParams';
|
|
513
|
+
import { WTLinkBookUpdateParams } from './wTLinkBookUpdateParams';
|
|
514
|
+
import { WTMember } from './wTMember';
|
|
515
|
+
import { WTMemberCreationParams } from './wTMemberCreationParams';
|
|
516
|
+
import { WTMembershipTier } from './wTMembershipTier';
|
|
517
|
+
import { WTMembershipTierCreationParams } from './wTMembershipTierCreationParams';
|
|
518
|
+
import { WTMembershipTierUpdateParams } from './wTMembershipTierUpdateParams';
|
|
519
|
+
import { WTMembershipTierWithMemberCount } from './wTMembershipTierWithMemberCount';
|
|
520
|
+
import { WTMerchantCredit } from './wTMerchantCredit';
|
|
521
|
+
import { WTMerchantCreditCreationParams } from './wTMerchantCreditCreationParams';
|
|
522
|
+
import { WTMerchantURLCreate } from './wTMerchantURLCreate';
|
|
523
|
+
import { WTMerchantURLUpdate } from './wTMerchantURLUpdate';
|
|
524
|
+
import { WTNewsArticleCreateParams } from './wTNewsArticleCreateParams';
|
|
525
|
+
import { WTNewsArticleUpdateParams } from './wTNewsArticleUpdateParams';
|
|
526
|
+
import { WTOptInList } from './wTOptInList';
|
|
527
|
+
import { WTOptInListCreationParams } from './wTOptInListCreationParams';
|
|
528
|
+
import { WTPaymentDesign } from './wTPaymentDesign';
|
|
529
|
+
import { WTPaymentDesignCreateParams } from './wTPaymentDesignCreateParams';
|
|
530
|
+
import { WTPaymentDesignUpdateParams } from './wTPaymentDesignUpdateParams';
|
|
531
|
+
import { WTPerformanceCreateParams } from './wTPerformanceCreateParams';
|
|
532
|
+
import { WTPerformanceUpdateParams } from './wTPerformanceUpdateParams';
|
|
533
|
+
import { WTPosMachine } from './wTPosMachine';
|
|
534
|
+
import { WTPosMachineCreateParams } from './wTPosMachineCreateParams';
|
|
535
|
+
import { WTPosMachineUpdateParams } from './wTPosMachineUpdateParams';
|
|
536
|
+
import { WTPromoCodeCreateParams } from './wTPromoCodeCreateParams';
|
|
537
|
+
import { WTPromoCodeUpdateParams } from './wTPromoCodeUpdateParams';
|
|
538
|
+
import { WTRole } from './wTRole';
|
|
539
|
+
import { WTStaticVoucher } from './wTStaticVoucher';
|
|
540
|
+
import { WTStaticVoucherCampaign } from './wTStaticVoucherCampaign';
|
|
541
|
+
import { WTStaticVoucherCreateParams } from './wTStaticVoucherCreateParams';
|
|
542
|
+
import { WTStaticVoucherUpdateParams } from './wTStaticVoucherUpdateParams';
|
|
543
|
+
import { WTWalletPageView } from './wTWalletPageView';
|
|
544
|
+
import { WTWalletPageViewGeoPoint } from './wTWalletPageViewGeoPoint';
|
|
545
|
+
import { WalletPageView } from './walletPageView';
|
|
546
|
+
import { Webpage } from './webpage';
|
|
547
|
+
|
|
548
|
+
/* tslint:disable:no-unused-variable */
|
|
549
|
+
let primitives = [
|
|
550
|
+
"string",
|
|
551
|
+
"boolean",
|
|
552
|
+
"double",
|
|
553
|
+
"integer",
|
|
554
|
+
"long",
|
|
555
|
+
"float",
|
|
556
|
+
"number",
|
|
557
|
+
"any"
|
|
558
|
+
];
|
|
559
|
+
|
|
560
|
+
let enumsMap: {[index: string]: any} = {
|
|
561
|
+
"ApplicableTerminalsAnyOf": ApplicableTerminalsAnyOf,
|
|
562
|
+
"ApplicableTerminalsAnyOf1": ApplicableTerminalsAnyOf1,
|
|
563
|
+
"ApplicableTerminalsAnyOf2": ApplicableTerminalsAnyOf2,
|
|
564
|
+
"ApplicableTerminalsAnyOf3": ApplicableTerminalsAnyOf3,
|
|
565
|
+
"PaginationRequestWithSortOptions.SortKeyEnum": PaginationRequestWithSortOptions.SortKeyEnum,
|
|
566
|
+
"PortalPage": PortalPage,
|
|
567
|
+
"StatusAnyOf": StatusAnyOf,
|
|
568
|
+
"StatusAnyOf1": StatusAnyOf1,
|
|
569
|
+
"StatusAnyOf2": StatusAnyOf2,
|
|
570
|
+
"StatusAnyOf3": StatusAnyOf3,
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
let typeMap: {[index: string]: any} = {
|
|
574
|
+
"AdvertisementCredit": AdvertisementCredit,
|
|
575
|
+
"AdvertisementCreditBroadcast": AdvertisementCreditBroadcast,
|
|
576
|
+
"AdvertisementCreditScan": AdvertisementCreditScan,
|
|
577
|
+
"Agreement": Agreement,
|
|
578
|
+
"Alert": Alert,
|
|
579
|
+
"Announcement": Announcement,
|
|
580
|
+
"ApplicableTerminals": ApplicableTerminals,
|
|
581
|
+
"AuthError": AuthError,
|
|
582
|
+
"AvailablePhoneNumbersRequest": AvailablePhoneNumbersRequest,
|
|
583
|
+
"ClickFunnelAmount": ClickFunnelAmount,
|
|
584
|
+
"ClickFunnelContact": ClickFunnelContact,
|
|
585
|
+
"ClickFunnelContactProfile": ClickFunnelContactProfile,
|
|
586
|
+
"ClickFunnelEvent": ClickFunnelEvent,
|
|
587
|
+
"ClickFunnelOriginalAmount": ClickFunnelOriginalAmount,
|
|
588
|
+
"ClickFunnelProduct": ClickFunnelProduct,
|
|
589
|
+
"ClickFunnelPurchase": ClickFunnelPurchase,
|
|
590
|
+
"CreateStaticVoucherCampaign": CreateStaticVoucherCampaign,
|
|
591
|
+
"CreateStaticVoucherCampaignWithVoucher": CreateStaticVoucherCampaignWithVoucher,
|
|
592
|
+
"CreateStaticVoucherCampaignWithVoucherWithCSV": CreateStaticVoucherCampaignWithVoucherWithCSV,
|
|
593
|
+
"DashboardWidget": DashboardWidget,
|
|
594
|
+
"DuplicateRowFound": DuplicateRowFound,
|
|
595
|
+
"DynamicVoucher": DynamicVoucher,
|
|
596
|
+
"DynamicVoucherBroadcast": DynamicVoucherBroadcast,
|
|
597
|
+
"Employee": Employee,
|
|
598
|
+
"EmployeeActivityLog": EmployeeActivityLog,
|
|
599
|
+
"EmployeeAlert": EmployeeAlert,
|
|
600
|
+
"ExportDataFile": ExportDataFile,
|
|
601
|
+
"FalsumError": FalsumError,
|
|
602
|
+
"FalsumField": FalsumField,
|
|
603
|
+
"Feature": Feature,
|
|
604
|
+
"ForbiddenRequest": ForbiddenRequest,
|
|
605
|
+
"ForeignKeyDoesNotExist": ForeignKeyDoesNotExist,
|
|
606
|
+
"HelpDeskRequest": HelpDeskRequest,
|
|
607
|
+
"ImportedList": ImportedList,
|
|
608
|
+
"ImportedListRecipient": ImportedListRecipient,
|
|
609
|
+
"InlineObject": InlineObject,
|
|
610
|
+
"InlineObject1": InlineObject1,
|
|
611
|
+
"InlineObject10": InlineObject10,
|
|
612
|
+
"InlineObject11": InlineObject11,
|
|
613
|
+
"InlineObject12": InlineObject12,
|
|
614
|
+
"InlineObject13": InlineObject13,
|
|
615
|
+
"InlineObject14": InlineObject14,
|
|
616
|
+
"InlineObject15": InlineObject15,
|
|
617
|
+
"InlineObject16": InlineObject16,
|
|
618
|
+
"InlineObject17": InlineObject17,
|
|
619
|
+
"InlineObject18": InlineObject18,
|
|
620
|
+
"InlineObject19": InlineObject19,
|
|
621
|
+
"InlineObject2": InlineObject2,
|
|
622
|
+
"InlineObject20": InlineObject20,
|
|
623
|
+
"InlineObject21": InlineObject21,
|
|
624
|
+
"InlineObject22": InlineObject22,
|
|
625
|
+
"InlineObject23": InlineObject23,
|
|
626
|
+
"InlineObject24": InlineObject24,
|
|
627
|
+
"InlineObject25": InlineObject25,
|
|
628
|
+
"InlineObject26": InlineObject26,
|
|
629
|
+
"InlineObject27": InlineObject27,
|
|
630
|
+
"InlineObject28": InlineObject28,
|
|
631
|
+
"InlineObject29": InlineObject29,
|
|
632
|
+
"InlineObject3": InlineObject3,
|
|
633
|
+
"InlineObject30": InlineObject30,
|
|
634
|
+
"InlineObject31": InlineObject31,
|
|
635
|
+
"InlineObject32": InlineObject32,
|
|
636
|
+
"InlineObject33": InlineObject33,
|
|
637
|
+
"InlineObject34": InlineObject34,
|
|
638
|
+
"InlineObject35": InlineObject35,
|
|
639
|
+
"InlineObject36": InlineObject36,
|
|
640
|
+
"InlineObject37": InlineObject37,
|
|
641
|
+
"InlineObject38": InlineObject38,
|
|
642
|
+
"InlineObject39": InlineObject39,
|
|
643
|
+
"InlineObject4": InlineObject4,
|
|
644
|
+
"InlineObject40": InlineObject40,
|
|
645
|
+
"InlineObject41": InlineObject41,
|
|
646
|
+
"InlineObject42": InlineObject42,
|
|
647
|
+
"InlineObject43": InlineObject43,
|
|
648
|
+
"InlineObject44": InlineObject44,
|
|
649
|
+
"InlineObject45": InlineObject45,
|
|
650
|
+
"InlineObject46": InlineObject46,
|
|
651
|
+
"InlineObject47": InlineObject47,
|
|
652
|
+
"InlineObject48": InlineObject48,
|
|
653
|
+
"InlineObject49": InlineObject49,
|
|
654
|
+
"InlineObject5": InlineObject5,
|
|
655
|
+
"InlineObject50": InlineObject50,
|
|
656
|
+
"InlineObject51": InlineObject51,
|
|
657
|
+
"InlineObject52": InlineObject52,
|
|
658
|
+
"InlineObject53": InlineObject53,
|
|
659
|
+
"InlineObject54": InlineObject54,
|
|
660
|
+
"InlineObject55": InlineObject55,
|
|
661
|
+
"InlineObject56": InlineObject56,
|
|
662
|
+
"InlineObject57": InlineObject57,
|
|
663
|
+
"InlineObject58": InlineObject58,
|
|
664
|
+
"InlineObject59": InlineObject59,
|
|
665
|
+
"InlineObject6": InlineObject6,
|
|
666
|
+
"InlineObject60": InlineObject60,
|
|
667
|
+
"InlineObject61": InlineObject61,
|
|
668
|
+
"InlineObject62": InlineObject62,
|
|
669
|
+
"InlineObject63": InlineObject63,
|
|
670
|
+
"InlineObject64": InlineObject64,
|
|
671
|
+
"InlineObject65": InlineObject65,
|
|
672
|
+
"InlineObject66": InlineObject66,
|
|
673
|
+
"InlineObject67": InlineObject67,
|
|
674
|
+
"InlineObject68": InlineObject68,
|
|
675
|
+
"InlineObject69": InlineObject69,
|
|
676
|
+
"InlineObject7": InlineObject7,
|
|
677
|
+
"InlineObject8": InlineObject8,
|
|
678
|
+
"InlineObject9": InlineObject9,
|
|
679
|
+
"InlineResponse200": InlineResponse200,
|
|
680
|
+
"InlineResponse2001": InlineResponse2001,
|
|
681
|
+
"InlineResponse20010": InlineResponse20010,
|
|
682
|
+
"InlineResponse20011": InlineResponse20011,
|
|
683
|
+
"InlineResponse2002": InlineResponse2002,
|
|
684
|
+
"InlineResponse2003": InlineResponse2003,
|
|
685
|
+
"InlineResponse2004": InlineResponse2004,
|
|
686
|
+
"InlineResponse2005": InlineResponse2005,
|
|
687
|
+
"InlineResponse2006": InlineResponse2006,
|
|
688
|
+
"InlineResponse2007": InlineResponse2007,
|
|
689
|
+
"InlineResponse2008": InlineResponse2008,
|
|
690
|
+
"InlineResponse2009": InlineResponse2009,
|
|
691
|
+
"InternalServerError": InternalServerError,
|
|
692
|
+
"LedgerEntry": LedgerEntry,
|
|
693
|
+
"LinkBook": LinkBook,
|
|
694
|
+
"LinkBookSection": LinkBookSection,
|
|
695
|
+
"MSMemberHistory": MSMemberHistory,
|
|
696
|
+
"MSMemberHistoryPagination": MSMemberHistoryPagination,
|
|
697
|
+
"MSMemberRedemption": MSMemberRedemption,
|
|
698
|
+
"MSMemberRedemptionPagination": MSMemberRedemptionPagination,
|
|
699
|
+
"MSMembershipTierHistory": MSMembershipTierHistory,
|
|
700
|
+
"MSMembershipTierHistoryPagination": MSMembershipTierHistoryPagination,
|
|
701
|
+
"MSMembershipTierRedemption": MSMembershipTierRedemption,
|
|
702
|
+
"MSMembershipTierRedemptionPagination": MSMembershipTierRedemptionPagination,
|
|
703
|
+
"MSMerchantCreditHistory": MSMerchantCreditHistory,
|
|
704
|
+
"MSMerchantCreditHistoryPagination": MSMerchantCreditHistoryPagination,
|
|
705
|
+
"MSMerchantCreditRedemption": MSMerchantCreditRedemption,
|
|
706
|
+
"MSMerchantCreditRedemptionPagination": MSMerchantCreditRedemptionPagination,
|
|
707
|
+
"MediaFile": MediaFile,
|
|
708
|
+
"Member": Member,
|
|
709
|
+
"MemberSearch": MemberSearch,
|
|
710
|
+
"Merchant": Merchant,
|
|
711
|
+
"MerchantCreditSearch": MerchantCreditSearch,
|
|
712
|
+
"MerchantNotInitialized": MerchantNotInitialized,
|
|
713
|
+
"MerchantURL": MerchantURL,
|
|
714
|
+
"Message": Message,
|
|
715
|
+
"ModuleError": ModuleError,
|
|
716
|
+
"NewsArticle": NewsArticle,
|
|
717
|
+
"OptInList": OptInList,
|
|
718
|
+
"OptInListSource": OptInListSource,
|
|
719
|
+
"OptInListSubscriber": OptInListSubscriber,
|
|
720
|
+
"OutboundSMS": OutboundSMS,
|
|
721
|
+
"PaginatedWTMembers": PaginatedWTMembers,
|
|
722
|
+
"PaginatedWTMerchantCredits": PaginatedWTMerchantCredits,
|
|
723
|
+
"PaginationRequestWithSortOptions": PaginationRequestWithSortOptions,
|
|
724
|
+
"PaymentDesign": PaymentDesign,
|
|
725
|
+
"Performance": Performance,
|
|
726
|
+
"PhoneNumber": PhoneNumber,
|
|
727
|
+
"PickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID": PickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID,
|
|
728
|
+
"PickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier": PickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier,
|
|
729
|
+
"PickMSMemberExcludeKeyofMSMemberMemberIdentifier": PickMSMemberExcludeKeyofMSMemberMemberIdentifier,
|
|
730
|
+
"PickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier": PickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier,
|
|
731
|
+
"PickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier": PickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier,
|
|
732
|
+
"PickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded": PickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded,
|
|
733
|
+
"PickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId": PickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId,
|
|
734
|
+
"PickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId": PickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId,
|
|
735
|
+
"PickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID": PickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID,
|
|
736
|
+
"PickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId": PickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId,
|
|
737
|
+
"PickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId": PickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId,
|
|
738
|
+
"PickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone": PickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone,
|
|
739
|
+
"PickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt": PickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt,
|
|
740
|
+
"PickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId": PickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId,
|
|
741
|
+
"PickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate": PickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate,
|
|
742
|
+
"PickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType": PickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType,
|
|
743
|
+
"PickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID": PickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID,
|
|
744
|
+
"PickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId": PickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId,
|
|
745
|
+
"PickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt": PickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt,
|
|
746
|
+
"PickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID": PickWTAdvertisementCreditCreateParamsExcludeKeyofWTAdvertisementCreditCreateParamsEmployeeID,
|
|
747
|
+
"PickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail": PickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail,
|
|
748
|
+
"PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber": PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber,
|
|
749
|
+
"PickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber": PickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber,
|
|
750
|
+
"PickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID": PickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID,
|
|
751
|
+
"PickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId": PickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId,
|
|
752
|
+
"PickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID": PickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID,
|
|
753
|
+
"PickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime": PickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime,
|
|
754
|
+
"PickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID": PickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID,
|
|
755
|
+
"Plan": Plan,
|
|
756
|
+
"PresignedPost": PresignedPost,
|
|
757
|
+
"PresignedPostFields": PresignedPostFields,
|
|
758
|
+
"Product": Product,
|
|
759
|
+
"PromoCode": PromoCode,
|
|
760
|
+
"ReachPerformanceStats": ReachPerformanceStats,
|
|
761
|
+
"Request": Request,
|
|
762
|
+
"Response": Response,
|
|
763
|
+
"Role": Role,
|
|
764
|
+
"RoleAuditLog": RoleAuditLog,
|
|
765
|
+
"SSOptInSource": SSOptInSource,
|
|
766
|
+
"SimpleSMSBroadcast": SimpleSMSBroadcast,
|
|
767
|
+
"StaticVoucher": StaticVoucher,
|
|
768
|
+
"StaticVoucherCampaign": StaticVoucherCampaign,
|
|
769
|
+
"StaticVoucherCampaignBroadcast": StaticVoucherCampaignBroadcast,
|
|
770
|
+
"StaticVoucherCampaignGroup": StaticVoucherCampaignGroup,
|
|
771
|
+
"StaticVoucherCampaignUpdate": StaticVoucherCampaignUpdate,
|
|
772
|
+
"Status": Status,
|
|
773
|
+
"SubscriptionFeature": SubscriptionFeature,
|
|
774
|
+
"SubscriptionPlan": SubscriptionPlan,
|
|
775
|
+
"SubscriptionProduct": SubscriptionProduct,
|
|
776
|
+
"Tcpa": Tcpa,
|
|
777
|
+
"UpdateStaticVoucherCampaignWithVoucher": UpdateStaticVoucherCampaignWithVoucher,
|
|
778
|
+
"VSCampaignGeneratedMessage": VSCampaignGeneratedMessage,
|
|
779
|
+
"VSCampaignGeneratedMessagePagination": VSCampaignGeneratedMessagePagination,
|
|
780
|
+
"VSDynamicVoucherStatus": VSDynamicVoucherStatus,
|
|
781
|
+
"WTAdvertisementCredit": WTAdvertisementCredit,
|
|
782
|
+
"WTAdvertisementCreditScan": WTAdvertisementCreditScan,
|
|
783
|
+
"WTAdvertisementCreditUpdateParams": WTAdvertisementCreditUpdateParams,
|
|
784
|
+
"WTDynamicVoucher": WTDynamicVoucher,
|
|
785
|
+
"WTDynamicVoucherCreateParams": WTDynamicVoucherCreateParams,
|
|
786
|
+
"WTDynamicVoucherRedemption": WTDynamicVoucherRedemption,
|
|
787
|
+
"WTDynamicVoucherSummary": WTDynamicVoucherSummary,
|
|
788
|
+
"WTDynamicVoucherUpdateParams": WTDynamicVoucherUpdateParams,
|
|
789
|
+
"WTEmployee": WTEmployee,
|
|
790
|
+
"WTEmployeeCreate": WTEmployeeCreate,
|
|
791
|
+
"WTEmployeeUpdate": WTEmployeeUpdate,
|
|
792
|
+
"WTImportedList": WTImportedList,
|
|
793
|
+
"WTLinkBookCreateParams": WTLinkBookCreateParams,
|
|
794
|
+
"WTLinkBookSectionCreateParams": WTLinkBookSectionCreateParams,
|
|
795
|
+
"WTLinkBookSectionUpdateParams": WTLinkBookSectionUpdateParams,
|
|
796
|
+
"WTLinkBookUpdateParams": WTLinkBookUpdateParams,
|
|
797
|
+
"WTMember": WTMember,
|
|
798
|
+
"WTMemberCreationParams": WTMemberCreationParams,
|
|
799
|
+
"WTMembershipTier": WTMembershipTier,
|
|
800
|
+
"WTMembershipTierCreationParams": WTMembershipTierCreationParams,
|
|
801
|
+
"WTMembershipTierUpdateParams": WTMembershipTierUpdateParams,
|
|
802
|
+
"WTMembershipTierWithMemberCount": WTMembershipTierWithMemberCount,
|
|
803
|
+
"WTMerchantCredit": WTMerchantCredit,
|
|
804
|
+
"WTMerchantCreditCreationParams": WTMerchantCreditCreationParams,
|
|
805
|
+
"WTMerchantURLCreate": WTMerchantURLCreate,
|
|
806
|
+
"WTMerchantURLUpdate": WTMerchantURLUpdate,
|
|
807
|
+
"WTNewsArticleCreateParams": WTNewsArticleCreateParams,
|
|
808
|
+
"WTNewsArticleUpdateParams": WTNewsArticleUpdateParams,
|
|
809
|
+
"WTOptInList": WTOptInList,
|
|
810
|
+
"WTOptInListCreationParams": WTOptInListCreationParams,
|
|
811
|
+
"WTPaymentDesign": WTPaymentDesign,
|
|
812
|
+
"WTPaymentDesignCreateParams": WTPaymentDesignCreateParams,
|
|
813
|
+
"WTPaymentDesignUpdateParams": WTPaymentDesignUpdateParams,
|
|
814
|
+
"WTPerformanceCreateParams": WTPerformanceCreateParams,
|
|
815
|
+
"WTPerformanceUpdateParams": WTPerformanceUpdateParams,
|
|
816
|
+
"WTPosMachine": WTPosMachine,
|
|
817
|
+
"WTPosMachineCreateParams": WTPosMachineCreateParams,
|
|
818
|
+
"WTPosMachineUpdateParams": WTPosMachineUpdateParams,
|
|
819
|
+
"WTPromoCodeCreateParams": WTPromoCodeCreateParams,
|
|
820
|
+
"WTPromoCodeUpdateParams": WTPromoCodeUpdateParams,
|
|
821
|
+
"WTRole": WTRole,
|
|
822
|
+
"WTStaticVoucher": WTStaticVoucher,
|
|
823
|
+
"WTStaticVoucherCampaign": WTStaticVoucherCampaign,
|
|
824
|
+
"WTStaticVoucherCreateParams": WTStaticVoucherCreateParams,
|
|
825
|
+
"WTStaticVoucherUpdateParams": WTStaticVoucherUpdateParams,
|
|
826
|
+
"WTWalletPageView": WTWalletPageView,
|
|
827
|
+
"WTWalletPageViewGeoPoint": WTWalletPageViewGeoPoint,
|
|
828
|
+
"WalletPageView": WalletPageView,
|
|
829
|
+
"Webpage": Webpage,
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
export class ObjectSerializer {
|
|
833
|
+
public static findCorrectType(data: any, expectedType: string) {
|
|
834
|
+
if (data == undefined) {
|
|
835
|
+
return expectedType;
|
|
836
|
+
} else if (primitives.indexOf(expectedType.toLowerCase()) !== -1) {
|
|
837
|
+
return expectedType;
|
|
838
|
+
} else if (expectedType === "Date") {
|
|
839
|
+
return expectedType;
|
|
840
|
+
} else {
|
|
841
|
+
if (enumsMap[expectedType]) {
|
|
842
|
+
return expectedType;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
if (!typeMap[expectedType]) {
|
|
846
|
+
return expectedType; // w/e we don't know the type
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
// Check the discriminator
|
|
850
|
+
let discriminatorProperty = typeMap[expectedType].discriminator;
|
|
851
|
+
if (discriminatorProperty == null) {
|
|
852
|
+
return expectedType; // the type does not have a discriminator. use it.
|
|
853
|
+
} else {
|
|
854
|
+
if (data[discriminatorProperty]) {
|
|
855
|
+
var discriminatorType = data[discriminatorProperty];
|
|
856
|
+
if(typeMap[discriminatorType]){
|
|
857
|
+
return discriminatorType; // use the type given in the discriminator
|
|
858
|
+
} else {
|
|
859
|
+
return expectedType; // discriminator did not map to a type
|
|
860
|
+
}
|
|
861
|
+
} else {
|
|
862
|
+
return expectedType; // discriminator was not present (or an empty string)
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
public static serialize(data: any, type: string) {
|
|
869
|
+
if (data == undefined) {
|
|
870
|
+
return data;
|
|
871
|
+
} else if (primitives.indexOf(type.toLowerCase()) !== -1) {
|
|
872
|
+
return data;
|
|
873
|
+
} else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
|
|
874
|
+
let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
|
|
875
|
+
subType = subType.substring(0, subType.length - 1); // Type> => Type
|
|
876
|
+
let transformedData: any[] = [];
|
|
877
|
+
for (let index = 0; index < data.length; index++) {
|
|
878
|
+
let datum = data[index];
|
|
879
|
+
transformedData.push(ObjectSerializer.serialize(datum, subType));
|
|
880
|
+
}
|
|
881
|
+
return transformedData;
|
|
882
|
+
} else if (type === "Date") {
|
|
883
|
+
return data.toISOString();
|
|
884
|
+
} else {
|
|
885
|
+
if (enumsMap[type]) {
|
|
886
|
+
return data;
|
|
887
|
+
}
|
|
888
|
+
if (!typeMap[type]) { // in case we dont know the type
|
|
889
|
+
return data;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
// Get the actual type of this object
|
|
893
|
+
type = this.findCorrectType(data, type);
|
|
894
|
+
|
|
895
|
+
// get the map for the correct type.
|
|
896
|
+
let attributeTypes = typeMap[type].getAttributeTypeMap();
|
|
897
|
+
let instance: {[index: string]: any} = {};
|
|
898
|
+
for (let index = 0; index < attributeTypes.length; index++) {
|
|
899
|
+
let attributeType = attributeTypes[index];
|
|
900
|
+
instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type);
|
|
901
|
+
}
|
|
902
|
+
return instance;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
public static deserialize(data: any, type: string) {
|
|
907
|
+
// polymorphism may change the actual type.
|
|
908
|
+
type = ObjectSerializer.findCorrectType(data, type);
|
|
909
|
+
if (data == undefined) {
|
|
910
|
+
return data;
|
|
911
|
+
} else if (primitives.indexOf(type.toLowerCase()) !== -1) {
|
|
912
|
+
return data;
|
|
913
|
+
} else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
|
|
914
|
+
let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
|
|
915
|
+
subType = subType.substring(0, subType.length - 1); // Type> => Type
|
|
916
|
+
let transformedData: any[] = [];
|
|
917
|
+
for (let index = 0; index < data.length; index++) {
|
|
918
|
+
let datum = data[index];
|
|
919
|
+
transformedData.push(ObjectSerializer.deserialize(datum, subType));
|
|
920
|
+
}
|
|
921
|
+
return transformedData;
|
|
922
|
+
} else if (type === "Date") {
|
|
923
|
+
return new Date(data);
|
|
924
|
+
} else {
|
|
925
|
+
if (enumsMap[type]) {// is Enum
|
|
926
|
+
return data;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
if (!typeMap[type]) { // dont know the type
|
|
930
|
+
return data;
|
|
931
|
+
}
|
|
932
|
+
let instance = new typeMap[type]();
|
|
933
|
+
let attributeTypes = typeMap[type].getAttributeTypeMap();
|
|
934
|
+
for (let index = 0; index < attributeTypes.length; index++) {
|
|
935
|
+
let attributeType = attributeTypes[index];
|
|
936
|
+
instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type);
|
|
937
|
+
}
|
|
938
|
+
return instance;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export interface Authentication {
|
|
944
|
+
/**
|
|
945
|
+
* Apply authentication settings to header and query params.
|
|
946
|
+
*/
|
|
947
|
+
applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export class HttpBasicAuth implements Authentication {
|
|
951
|
+
public username: string = '';
|
|
952
|
+
public password: string = '';
|
|
953
|
+
|
|
954
|
+
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
955
|
+
requestOptions.auth = {
|
|
956
|
+
username: this.username, password: this.password
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
export class HttpBearerAuth implements Authentication {
|
|
962
|
+
public accessToken: string | (() => string) = '';
|
|
963
|
+
|
|
964
|
+
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
965
|
+
if (requestOptions && requestOptions.headers) {
|
|
966
|
+
const accessToken = typeof this.accessToken === 'function'
|
|
967
|
+
? this.accessToken()
|
|
968
|
+
: this.accessToken;
|
|
969
|
+
requestOptions.headers["Authorization"] = "Bearer " + accessToken;
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
export class ApiKeyAuth implements Authentication {
|
|
975
|
+
public apiKey: string = '';
|
|
976
|
+
|
|
977
|
+
constructor(private location: string, private paramName: string) {
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
981
|
+
if (this.location == "query") {
|
|
982
|
+
(<any>requestOptions.qs)[this.paramName] = this.apiKey;
|
|
983
|
+
} else if (this.location == "header" && requestOptions && requestOptions.headers) {
|
|
984
|
+
requestOptions.headers[this.paramName] = this.apiKey;
|
|
985
|
+
} else if (this.location == 'cookie' && requestOptions && requestOptions.headers) {
|
|
986
|
+
if (requestOptions.headers['Cookie']) {
|
|
987
|
+
requestOptions.headers['Cookie'] += '; ' + this.paramName + '=' + encodeURIComponent(this.apiKey);
|
|
988
|
+
}
|
|
989
|
+
else {
|
|
990
|
+
requestOptions.headers['Cookie'] = this.paramName + '=' + encodeURIComponent(this.apiKey);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export class OAuth implements Authentication {
|
|
997
|
+
public accessToken: string = '';
|
|
998
|
+
|
|
999
|
+
applyToRequest(requestOptions: localVarRequest.Options): void {
|
|
1000
|
+
if (requestOptions && requestOptions.headers) {
|
|
1001
|
+
requestOptions.headers["Authorization"] = "Bearer " + this.accessToken;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
export class VoidAuth implements Authentication {
|
|
1007
|
+
public username: string = '';
|
|
1008
|
+
public password: string = '';
|
|
1009
|
+
|
|
1010
|
+
applyToRequest(_: localVarRequest.Options): void {
|
|
1011
|
+
// Do nothing
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
|