wallet 2.1.503 → 2.1.505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/advertisementCreditsApi.ts +1 -1
- package/api/analyticsApi.ts +1 -1
- package/api/appleWalletSubscribersApi.ts +1 -1
- package/api/billingApi.ts +1 -1
- package/api/clubMembersPointsApi.ts +1 -1
- package/api/configurationApi.ts +1 -1
- package/api/countriesApi.ts +1 -1
- package/api/customerApi.ts +1 -1
- package/api/dashboardApi.ts +1 -1
- package/api/dynamicVouchersApi.ts +1 -1
- package/api/employeeAPIKeysApi.ts +1 -1
- package/api/employeeAccessApi.ts +1 -1
- package/api/employeesApi.ts +1 -1
- package/api/industriesApi.ts +1 -1
- package/api/infoGenesisReportsApi.ts +1 -1
- package/api/integratedTerminalsApi.ts +1 -1
- package/api/interactionsApi.ts +71 -2
- package/api/linkBookApi.ts +1 -1
- package/api/linkBookSectionApi.ts +1 -1
- package/api/loginAndLogoutApi.ts +1 -1
- package/api/membershipTiersApi.ts +1 -1
- package/api/merchantApi.ts +63 -1
- package/api/merchantCreditsApi.ts +1 -1
- package/api/merchantURLsApi.ts +1 -1
- package/api/mobileTerminalApi.ts +1 -1
- package/api/newsApi.ts +1 -1
- package/api/paymentDesignsApi.ts +1 -1
- package/api/performancesApi.ts +1 -1
- package/api/promoCodesApi.ts +1 -1
- package/api/sMSApi.ts +1 -1
- package/api/settingsApi.ts +1 -1
- package/api/staticVoucherCampaignGroupsApi.ts +1 -1
- package/api/staticVoucherCampaignsApi.ts +1 -1
- package/api/staticVouchersApi.ts +1 -1
- package/api/systemApi.ts +1 -1
- package/api/transactionLedgerApi.ts +1 -1
- package/api/utilitiesApi.ts +1 -1
- package/api/webTerminalApi.ts +1 -1
- package/dist/api/interactionsApi.d.ts +8 -0
- package/dist/api/interactionsApi.js +61 -0
- package/dist/api/interactionsApi.js.map +1 -1
- package/dist/api/merchantApi.d.ts +8 -0
- package/dist/api/merchantApi.js +57 -0
- package/dist/api/merchantApi.js.map +1 -1
- package/dist/model/employee.d.ts +3 -0
- package/dist/model/employee.js +15 -0
- package/dist/model/employee.js.map +1 -1
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.d.ts +3 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js +15 -0
- package/dist/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.js.map +1 -1
- package/dist/model/wTEmployee.d.ts +3 -0
- package/dist/model/wTEmployee.js +15 -0
- package/dist/model/wTEmployee.js.map +1 -1
- package/dist/model/wTEmployeeCreate.d.ts +3 -0
- package/dist/model/wTEmployeeCreate.js +15 -0
- package/dist/model/wTEmployeeCreate.js.map +1 -1
- package/dist/model/wTEmployeeUpdate.d.ts +3 -0
- package/dist/model/wTEmployeeUpdate.js +15 -0
- package/dist/model/wTEmployeeUpdate.js.map +1 -1
- package/model/advertisementCredit.ts +1 -1
- package/model/advertisementCreditBroadcast.ts +1 -1
- package/model/advertisementCreditScan.ts +1 -1
- package/model/agreement.ts +1 -1
- package/model/alert.ts +1 -1
- package/model/announcement.ts +1 -1
- package/model/applicableTerminals.ts +1 -1
- package/model/applicableTerminalsAnyOf.ts +1 -1
- package/model/applicableTerminalsAnyOf1.ts +1 -1
- package/model/applicableTerminalsAnyOf2.ts +1 -1
- package/model/applicableTerminalsAnyOf3.ts +1 -1
- package/model/authError.ts +1 -1
- package/model/availablePhoneNumbersRequest.ts +1 -1
- package/model/clickFunnelAmount.ts +1 -1
- package/model/clickFunnelContact.ts +1 -1
- package/model/clickFunnelContactProfile.ts +1 -1
- package/model/clickFunnelEvent.ts +1 -1
- package/model/clickFunnelOriginalAmount.ts +1 -1
- package/model/clickFunnelProduct.ts +1 -1
- package/model/clickFunnelPurchase.ts +1 -1
- package/model/createStaticVoucherCampaign.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/createStaticVoucherCampaignWithVoucherWithCSV.ts +1 -1
- package/model/dashboardWidget.ts +1 -1
- package/model/duplicateRowFound.ts +1 -1
- package/model/dynamicVoucher.ts +1 -1
- package/model/dynamicVoucherBroadcast.ts +1 -1
- package/model/employee.ts +19 -1
- package/model/employeeAPIKey.ts +1 -1
- package/model/employeeActivityLog.ts +1 -1
- package/model/entityTooLarge.ts +1 -1
- package/model/exportDataFile.ts +1 -1
- package/model/falsumError.ts +1 -1
- package/model/falsumField.ts +1 -1
- package/model/feature.ts +1 -1
- package/model/forbiddenRequest.ts +1 -1
- package/model/foreignKeyDoesNotExist.ts +1 -1
- package/model/helpDeskRequest.ts +1 -1
- package/model/importedList.ts +1 -1
- package/model/importedListRecipient.ts +1 -1
- package/model/inlineObject.ts +1 -1
- package/model/inlineObject1.ts +1 -1
- package/model/inlineObject10.ts +1 -1
- package/model/inlineObject11.ts +1 -1
- package/model/inlineObject12.ts +1 -1
- package/model/inlineObject13.ts +1 -1
- package/model/inlineObject14.ts +1 -1
- package/model/inlineObject15.ts +1 -1
- package/model/inlineObject16.ts +1 -1
- package/model/inlineObject17.ts +1 -1
- package/model/inlineObject18.ts +1 -1
- package/model/inlineObject19.ts +1 -1
- package/model/inlineObject2.ts +1 -1
- package/model/inlineObject20.ts +1 -1
- package/model/inlineObject21.ts +1 -1
- package/model/inlineObject22.ts +1 -1
- package/model/inlineObject23.ts +1 -1
- package/model/inlineObject24.ts +1 -1
- package/model/inlineObject25.ts +1 -1
- package/model/inlineObject26.ts +1 -1
- package/model/inlineObject27.ts +1 -1
- package/model/inlineObject28.ts +1 -1
- package/model/inlineObject29.ts +1 -1
- package/model/inlineObject3.ts +1 -1
- package/model/inlineObject30.ts +1 -1
- package/model/inlineObject31.ts +1 -1
- package/model/inlineObject32.ts +1 -1
- package/model/inlineObject33.ts +1 -1
- package/model/inlineObject34.ts +1 -1
- package/model/inlineObject35.ts +1 -1
- package/model/inlineObject36.ts +1 -1
- package/model/inlineObject37.ts +1 -1
- package/model/inlineObject38.ts +1 -1
- package/model/inlineObject39.ts +1 -1
- package/model/inlineObject4.ts +1 -1
- package/model/inlineObject40.ts +1 -1
- package/model/inlineObject41.ts +1 -1
- package/model/inlineObject42.ts +1 -1
- package/model/inlineObject43.ts +1 -1
- package/model/inlineObject44.ts +1 -1
- package/model/inlineObject45.ts +1 -1
- package/model/inlineObject46.ts +1 -1
- package/model/inlineObject47.ts +1 -1
- package/model/inlineObject48.ts +1 -1
- package/model/inlineObject49.ts +1 -1
- package/model/inlineObject5.ts +1 -1
- package/model/inlineObject50.ts +1 -1
- package/model/inlineObject51.ts +1 -1
- package/model/inlineObject52.ts +1 -1
- package/model/inlineObject53.ts +1 -1
- package/model/inlineObject54.ts +1 -1
- package/model/inlineObject55.ts +1 -1
- package/model/inlineObject56.ts +1 -1
- package/model/inlineObject57.ts +1 -1
- package/model/inlineObject58.ts +1 -1
- package/model/inlineObject59.ts +1 -1
- package/model/inlineObject6.ts +1 -1
- package/model/inlineObject60.ts +1 -1
- package/model/inlineObject61.ts +1 -1
- package/model/inlineObject62.ts +1 -1
- package/model/inlineObject63.ts +1 -1
- package/model/inlineObject64.ts +1 -1
- package/model/inlineObject65.ts +1 -1
- package/model/inlineObject66.ts +1 -1
- package/model/inlineObject67.ts +1 -1
- package/model/inlineObject68.ts +1 -1
- package/model/inlineObject7.ts +1 -1
- package/model/inlineObject8.ts +1 -1
- package/model/inlineObject9.ts +1 -1
- package/model/inlineResponse200.ts +1 -1
- package/model/inlineResponse2001.ts +1 -1
- package/model/inlineResponse20010.ts +1 -1
- package/model/inlineResponse20011.ts +1 -1
- package/model/inlineResponse20012.ts +1 -1
- package/model/inlineResponse20013.ts +1 -1
- package/model/inlineResponse20014.ts +1 -1
- package/model/inlineResponse2002.ts +1 -1
- package/model/inlineResponse2003.ts +1 -1
- package/model/inlineResponse2004.ts +1 -1
- package/model/inlineResponse2005.ts +1 -1
- package/model/inlineResponse2006.ts +1 -1
- package/model/inlineResponse2007.ts +1 -1
- package/model/inlineResponse2008.ts +1 -1
- package/model/inlineResponse2009.ts +1 -1
- package/model/internalServerError.ts +1 -1
- package/model/ledgerEntry.ts +1 -1
- package/model/linkBook.ts +1 -1
- package/model/linkBookSection.ts +1 -1
- package/model/mSMemberHistory.ts +1 -1
- package/model/mSMemberHistoryPagination.ts +1 -1
- package/model/mSMemberRedemption.ts +1 -1
- package/model/mSMemberRedemptionPagination.ts +1 -1
- package/model/mSMembershipTierHistory.ts +1 -1
- package/model/mSMembershipTierHistoryPagination.ts +1 -1
- package/model/mSMembershipTierRedemption.ts +1 -1
- package/model/mSMembershipTierRedemptionPagination.ts +1 -1
- package/model/mSMerchantCreditHistory.ts +1 -1
- package/model/mSMerchantCreditHistoryPagination.ts +1 -1
- package/model/mSMerchantCreditRedemption.ts +1 -1
- package/model/mSMerchantCreditRedemptionPagination.ts +1 -1
- package/model/mediaFile.ts +1 -1
- package/model/member.ts +1 -1
- package/model/memberSearch.ts +1 -1
- package/model/merchant.ts +1 -1
- package/model/merchantCreditSearch.ts +1 -1
- package/model/merchantNotInitialized.ts +1 -1
- package/model/merchantURL.ts +1 -1
- package/model/message.ts +1 -1
- package/model/moduleError.ts +1 -1
- package/model/newsArticle.ts +1 -1
- package/model/optInList.ts +1 -1
- package/model/optInListSource.ts +1 -1
- package/model/optInListSubscriber.ts +1 -1
- package/model/outboundSMS.ts +1 -1
- package/model/paginatedWTMembers.ts +1 -1
- package/model/paginatedWTMerchantCredits.ts +1 -1
- package/model/paginationRequestWithIDAndWithoutSortOptions.ts +1 -1
- package/model/paginationRequestWithSortOptions.ts +1 -1
- package/model/paymentDesign.ts +1 -1
- package/model/performance.ts +1 -1
- package/model/phoneNumber.ts +1 -1
- package/model/pickCreateStaticVoucherCampaignWithVoucherExcludeKeyofcreateStaticVoucherCampaignWithVoucherSourceID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyCreateParamsExcludeKeyofMSEmployeeAPIKeyCreateParamsEmployeeID.ts +1 -1
- package/model/pickMSEmployeeAPIKeyUpdateParamsExcludeKeyofMSEmployeeAPIKeyUpdateParamsId.ts +1 -1
- package/model/pickMSMemberCreationParamsExcludeKeyofMSMemberCreationParamsMemberIdentifier.ts +1 -1
- package/model/pickMSMemberExcludeKeyofMSMemberMemberIdentifier.ts +1 -1
- package/model/pickMSMerchantCreditCreationParamsExcludeKeyofMSMerchantCreditCreationParamsMemberIdentifier.ts +1 -1
- package/model/pickMSMerchantCreditExcludeKeyofMSMerchantCreditMemberIdentifier.ts +1 -1
- package/model/pickPaginationRequestWithoutSortOptionsExcludeKeyofPaginationRequestWithoutSortOptionsIsArchiveIncluded.ts +1 -1
- package/model/pickSSImportedListUpdateParamsExcludeKeyofSSImportedListUpdateParamsId.ts +1 -1
- package/model/pickSSMobileNumberUpdateParamsExcludeKeyofSSMobileNumberUpdateParamsId.ts +1 -1
- package/model/pickSSOptInListCreateParamsExcludeKeyofSSOptInListCreateParamsEmployeeID.ts +1 -1
- package/model/pickSSOptInListMemberCreateParamsExcludeKeyofSSOptInListMemberCreateParamsMerchantCreatedAtOrMaxSMSCount.ts +1 -1
- package/model/pickSSOptInListUpdateParamsExcludeKeyofSSOptInListUpdateParamsId.ts +1 -1
- package/model/pickSSOptInSourceUpdateParamsExcludeKeyofSSOptInSourceUpdateParamsId.ts +1 -1
- package/model/pickSSOutboundMessageLogExcludeKeyofSSOutboundMessageLogToCellPhone.ts +1 -1
- package/model/pickVSAdvertisementCreditCreateParamsExcludeKeyofVSAdvertisementCreditCreateParamsEmployeeID.ts +1 -1
- package/model/pickVSAdvertisementCreditScanExcludeKeyofVSAdvertisementCreditScanRedeemedAtOrRefundedAt.ts +1 -1
- package/model/pickVSAdvertisementCreditUpdateParamsExcludeKeyofVSAdvertisementCreditUpdateParamsId.ts +1 -1
- package/model/pickVSCampaignUpdateParamsExcludeKeyofVSCampaignUpdateParamsStartDateOrExpirationDate.ts +1 -1
- package/model/pickVSDynamicVoucherExcludeKeyofVSDynamicVoucherTemporalDecreaseFrequencyType.ts +1 -1
- package/model/pickVSPaymentDesignCreateParamsExcludeKeyofVSPaymentDesignCreateParamsBackgroundImageURLOrCompanyLogoURLOrEmployeeID.ts +1 -1
- package/model/pickVSPaymentDesignUpdateParamsExcludeKeyofVSPaymentDesignUpdateParamsId.ts +1 -1
- package/model/pickVSStaticVoucherExcludeKeyofVSStaticVoucherRedeemedAtOrRefundedAtOrLastViewedAt.ts +1 -1
- package/model/pickWTEmployeeCreateExcludeKeyofWTEmployeeCreateEmail.ts +19 -1
- package/model/pickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantCreditMemberIDOrCreditAmountOrMobileNumber.ts +1 -1
- package/model/pickWTMerchantURLUpdateExcludeKeyofWTMerchantURLUpdateUrlID.ts +1 -1
- package/model/pickWTNewsArticleUpdateParamsExcludeKeyofWTNewsArticleUpdateParamsId.ts +1 -1
- package/model/pickWTPaymentObjectBroadcastExcludeKeyofWTPaymentObjectBroadcastListTypeOrListID.ts +1 -1
- package/model/pickWTStaticVoucherCampaignCreateParamsExcludeKeyofWTStaticVoucherCampaignCreateParamsStartDateTimeOrExpirationDateTime.ts +1 -1
- package/model/pickWTStaticVoucherCreateParamsExcludeKeyofWTStaticVoucherCreateParamsCampaignID.ts +1 -1
- package/model/plan.ts +1 -1
- package/model/portalPage.ts +1 -1
- package/model/presignedPost.ts +1 -1
- package/model/presignedPostFields.ts +1 -1
- package/model/product.ts +1 -1
- package/model/promoCode.ts +1 -1
- package/model/reachPerformanceStats.ts +1 -1
- package/model/request.ts +1 -1
- package/model/response.ts +1 -1
- package/model/role.ts +1 -1
- package/model/roleAuditLog.ts +1 -1
- package/model/sSImportedListRecipientCreateParams.ts +1 -1
- package/model/sSOptInSource.ts +1 -1
- package/model/simpleSMSBroadcast.ts +1 -1
- package/model/staticVoucher.ts +1 -1
- package/model/staticVoucherCampaign.ts +1 -1
- package/model/staticVoucherCampaignBroadcast.ts +1 -1
- package/model/staticVoucherCampaignGroup.ts +1 -1
- package/model/staticVoucherCampaignUpdate.ts +1 -1
- package/model/status.ts +1 -1
- package/model/statusAnyOf.ts +1 -1
- package/model/statusAnyOf1.ts +1 -1
- package/model/statusAnyOf2.ts +1 -1
- package/model/statusAnyOf3.ts +1 -1
- package/model/subscriptionFeature.ts +1 -1
- package/model/subscriptionPlan.ts +1 -1
- package/model/subscriptionProduct.ts +1 -1
- package/model/tcpa.ts +1 -1
- package/model/updateStaticVoucherCampaignWithVoucher.ts +1 -1
- package/model/vSCampaignGeneratedMessage.ts +1 -1
- package/model/vSCampaignGeneratedMessagePagination.ts +1 -1
- package/model/vSDynamicVoucherStatus.ts +1 -1
- package/model/wTAdvertisementCredit.ts +1 -1
- package/model/wTAdvertisementCreditCreateParams.ts +1 -1
- package/model/wTAdvertisementCreditScan.ts +1 -1
- package/model/wTAdvertisementCreditUpdateParams.ts +1 -1
- package/model/wTDynamicVoucher.ts +1 -1
- package/model/wTDynamicVoucherCreateParams.ts +1 -1
- package/model/wTDynamicVoucherRedemption.ts +1 -1
- package/model/wTDynamicVoucherSummary.ts +1 -1
- package/model/wTDynamicVoucherUpdateParams.ts +1 -1
- package/model/wTEmployee.ts +19 -1
- package/model/wTEmployeeAPIKey.ts +1 -1
- package/model/wTEmployeeAPIKeyCreateParams.ts +1 -1
- package/model/wTEmployeeAPIKeyUpdateParams.ts +1 -1
- package/model/wTEmployeeCreate.ts +19 -1
- package/model/wTEmployeeNotification.ts +1 -1
- package/model/wTEmployeeUpdate.ts +19 -1
- package/model/wTImportedList.ts +1 -1
- package/model/wTLinkBookCreateParams.ts +1 -1
- package/model/wTLinkBookSectionCreateParams.ts +1 -1
- package/model/wTLinkBookSectionUpdateParams.ts +1 -1
- package/model/wTLinkBookUpdateParams.ts +1 -1
- package/model/wTMember.ts +1 -1
- package/model/wTMemberCreationParams.ts +1 -1
- package/model/wTMembershipTier.ts +1 -1
- package/model/wTMembershipTierCreationParams.ts +1 -1
- package/model/wTMembershipTierUpdateParams.ts +1 -1
- package/model/wTMembershipTierWithMemberCount.ts +1 -1
- package/model/wTMerchantCredit.ts +1 -1
- package/model/wTMerchantCreditCreationParams.ts +1 -1
- package/model/wTMerchantURLCreate.ts +1 -1
- package/model/wTMerchantURLUpdate.ts +1 -1
- package/model/wTNewsArticleCreateParams.ts +1 -1
- package/model/wTNewsArticleUpdateParams.ts +1 -1
- package/model/wTOptInList.ts +1 -1
- package/model/wTOptInListCreationParams.ts +1 -1
- package/model/wTPaymentDesign.ts +1 -1
- package/model/wTPaymentDesignCreateParams.ts +1 -1
- package/model/wTPaymentDesignUpdateParams.ts +1 -1
- package/model/wTPerformanceCreateParams.ts +1 -1
- package/model/wTPerformanceUpdateParams.ts +1 -1
- package/model/wTPosMachine.ts +1 -1
- package/model/wTPosMachineCreateParams.ts +1 -1
- package/model/wTPosMachineUpdateParams.ts +1 -1
- package/model/wTPromoCodeCreateParams.ts +1 -1
- package/model/wTPromoCodeUpdateParams.ts +1 -1
- package/model/wTRole.ts +1 -1
- package/model/wTStaticVoucher.ts +1 -1
- package/model/wTStaticVoucherCampaign.ts +1 -1
- package/model/wTStaticVoucherCreateParams.ts +1 -1
- package/model/wTStaticVoucherUpdateParams.ts +1 -1
- package/model/wTWalletPageView.ts +1 -1
- package/model/wTWalletPageViewGeoPoint.ts +1 -1
- package/model/walletConfiguration.ts +1 -1
- package/model/walletPageView.ts +1 -1
- package/model/webpage.ts +1 -1
- package/package.json +1 -1
package/api/analyticsApi.ts
CHANGED
package/api/billingApi.ts
CHANGED
package/api/configurationApi.ts
CHANGED
package/api/countriesApi.ts
CHANGED
package/api/customerApi.ts
CHANGED
package/api/dashboardApi.ts
CHANGED
package/api/employeeAccessApi.ts
CHANGED
package/api/employeesApi.ts
CHANGED
package/api/industriesApi.ts
CHANGED
package/api/interactionsApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* wallet-api
|
|
3
3
|
* API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.505
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -169,7 +169,76 @@ export class InteractionsApi {
|
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
171
|
*
|
|
172
|
-
* @summary Fetch
|
|
172
|
+
* @summary Fetch an employee\'s VCard
|
|
173
|
+
* @param id
|
|
174
|
+
*/
|
|
175
|
+
public async createEmployeeVCard (id: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: string; }> {
|
|
176
|
+
const localVarPath = this.basePath + '/wallet/employee/vcard/{id}'
|
|
177
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
178
|
+
let localVarQueryParameters: any = {};
|
|
179
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
180
|
+
const produces = ['application/json'];
|
|
181
|
+
// give precedence to 'application/json'
|
|
182
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
183
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
184
|
+
} else {
|
|
185
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
186
|
+
}
|
|
187
|
+
let localVarFormParams: any = {};
|
|
188
|
+
|
|
189
|
+
// verify required parameter 'id' is not null or undefined
|
|
190
|
+
if (id === null || id === undefined) {
|
|
191
|
+
throw new Error('Required parameter id was null or undefined when calling createEmployeeVCard.');
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
195
|
+
|
|
196
|
+
let localVarUseFormData = false;
|
|
197
|
+
|
|
198
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
199
|
+
method: 'GET',
|
|
200
|
+
qs: localVarQueryParameters,
|
|
201
|
+
headers: localVarHeaderParams,
|
|
202
|
+
uri: localVarPath,
|
|
203
|
+
useQuerystring: this._useQuerystring,
|
|
204
|
+
json: true,
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
let authenticationPromise = Promise.resolve();
|
|
208
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
209
|
+
|
|
210
|
+
let interceptorPromise = authenticationPromise;
|
|
211
|
+
for (const interceptor of this.interceptors) {
|
|
212
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
return interceptorPromise.then(() => {
|
|
216
|
+
if (Object.keys(localVarFormParams).length) {
|
|
217
|
+
if (localVarUseFormData) {
|
|
218
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
219
|
+
} else {
|
|
220
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return new Promise<{ response: http.IncomingMessage; body: string; }>((resolve, reject) => {
|
|
224
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
225
|
+
if (error) {
|
|
226
|
+
reject(error);
|
|
227
|
+
} else {
|
|
228
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
229
|
+
body = ObjectSerializer.deserialize(body, "string");
|
|
230
|
+
resolve({ response: response, body: body });
|
|
231
|
+
} else {
|
|
232
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @summary Fetch ICS for live event
|
|
173
242
|
* @param id
|
|
174
243
|
*/
|
|
175
244
|
public async createIcsFile (id: any, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
package/api/linkBookApi.ts
CHANGED
package/api/loginAndLogoutApi.ts
CHANGED
package/api/merchantApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* wallet-api
|
|
3
3
|
* API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.505
|
|
6
6
|
* Contact: development@wallet.inc
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1388,6 +1388,68 @@ export class MerchantApi {
|
|
|
1388
1388
|
});
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
|
+
/**
|
|
1392
|
+
*
|
|
1393
|
+
* @summary Fetch public representative employees of the merchant
|
|
1394
|
+
*/
|
|
1395
|
+
public async fetchPublicEmployees (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: any; }> {
|
|
1396
|
+
const localVarPath = this.basePath + '/v2/merchant/employees/public';
|
|
1397
|
+
let localVarQueryParameters: any = {};
|
|
1398
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1399
|
+
const produces = ['application/json'];
|
|
1400
|
+
// give precedence to 'application/json'
|
|
1401
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1402
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1403
|
+
} else {
|
|
1404
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1405
|
+
}
|
|
1406
|
+
let localVarFormParams: any = {};
|
|
1407
|
+
|
|
1408
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1409
|
+
|
|
1410
|
+
let localVarUseFormData = false;
|
|
1411
|
+
|
|
1412
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1413
|
+
method: 'GET',
|
|
1414
|
+
qs: localVarQueryParameters,
|
|
1415
|
+
headers: localVarHeaderParams,
|
|
1416
|
+
uri: localVarPath,
|
|
1417
|
+
useQuerystring: this._useQuerystring,
|
|
1418
|
+
json: true,
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
let authenticationPromise = Promise.resolve();
|
|
1422
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1423
|
+
|
|
1424
|
+
let interceptorPromise = authenticationPromise;
|
|
1425
|
+
for (const interceptor of this.interceptors) {
|
|
1426
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
return interceptorPromise.then(() => {
|
|
1430
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1431
|
+
if (localVarUseFormData) {
|
|
1432
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1433
|
+
} else {
|
|
1434
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
return new Promise<{ response: http.IncomingMessage; body: any; }>((resolve, reject) => {
|
|
1438
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1439
|
+
if (error) {
|
|
1440
|
+
reject(error);
|
|
1441
|
+
} else {
|
|
1442
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1443
|
+
body = ObjectSerializer.deserialize(body, "any");
|
|
1444
|
+
resolve({ response: response, body: body });
|
|
1445
|
+
} else {
|
|
1446
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
});
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1391
1453
|
/**
|
|
1392
1454
|
*
|
|
1393
1455
|
* @summary Fetch all simple SMS broadcasts
|
package/api/merchantURLsApi.ts
CHANGED
package/api/mobileTerminalApi.ts
CHANGED
package/api/newsApi.ts
CHANGED
package/api/paymentDesignsApi.ts
CHANGED
package/api/performancesApi.ts
CHANGED
package/api/promoCodesApi.ts
CHANGED
package/api/sMSApi.ts
CHANGED
package/api/settingsApi.ts
CHANGED
package/api/staticVouchersApi.ts
CHANGED
package/api/systemApi.ts
CHANGED
package/api/utilitiesApi.ts
CHANGED
package/api/webTerminalApi.ts
CHANGED
|
@@ -39,6 +39,14 @@ export declare class InteractionsApi {
|
|
|
39
39
|
response: http.IncomingMessage;
|
|
40
40
|
body: AdvertisementCreditScan;
|
|
41
41
|
}>;
|
|
42
|
+
createEmployeeVCard(id: any, options?: {
|
|
43
|
+
headers: {
|
|
44
|
+
[name: string]: string;
|
|
45
|
+
};
|
|
46
|
+
}): Promise<{
|
|
47
|
+
response: http.IncomingMessage;
|
|
48
|
+
body: string;
|
|
49
|
+
}>;
|
|
42
50
|
createIcsFile(id: any, options?: {
|
|
43
51
|
headers: {
|
|
44
52
|
[name: string]: string;
|
|
@@ -128,6 +128,67 @@ class InteractionsApi {
|
|
|
128
128
|
});
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
+
createEmployeeVCard(id, options = { headers: {} }) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
const localVarPath = this.basePath + '/wallet/employee/vcard/{id}'
|
|
134
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
135
|
+
let localVarQueryParameters = {};
|
|
136
|
+
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
137
|
+
const produces = ['application/json'];
|
|
138
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
139
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
143
|
+
}
|
|
144
|
+
let localVarFormParams = {};
|
|
145
|
+
if (id === null || id === undefined) {
|
|
146
|
+
throw new Error('Required parameter id was null or undefined when calling createEmployeeVCard.');
|
|
147
|
+
}
|
|
148
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
149
|
+
let localVarUseFormData = false;
|
|
150
|
+
let localVarRequestOptions = {
|
|
151
|
+
method: 'GET',
|
|
152
|
+
qs: localVarQueryParameters,
|
|
153
|
+
headers: localVarHeaderParams,
|
|
154
|
+
uri: localVarPath,
|
|
155
|
+
useQuerystring: this._useQuerystring,
|
|
156
|
+
json: true,
|
|
157
|
+
};
|
|
158
|
+
let authenticationPromise = Promise.resolve();
|
|
159
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
160
|
+
let interceptorPromise = authenticationPromise;
|
|
161
|
+
for (const interceptor of this.interceptors) {
|
|
162
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
163
|
+
}
|
|
164
|
+
return interceptorPromise.then(() => {
|
|
165
|
+
if (Object.keys(localVarFormParams).length) {
|
|
166
|
+
if (localVarUseFormData) {
|
|
167
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
return new Promise((resolve, reject) => {
|
|
174
|
+
request_1.default(localVarRequestOptions, (error, response, body) => {
|
|
175
|
+
if (error) {
|
|
176
|
+
reject(error);
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
180
|
+
body = models_1.ObjectSerializer.deserialize(body, "string");
|
|
181
|
+
resolve({ response: response, body: body });
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
}
|
|
131
192
|
createIcsFile(id, options = { headers: {} }) {
|
|
132
193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
133
194
|
const localVarPath = this.basePath + '/wallet/liveevent/ics/{id}'
|