wallet 2.24.0 → 2.25.1
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/dist/api/apis.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export * from './gamingApi';
|
|
|
35
35
|
import { GamingApi } from './gamingApi';
|
|
36
36
|
export * from './giftCardsApi';
|
|
37
37
|
import { GiftCardsApi } from './giftCardsApi';
|
|
38
|
+
export * from './googleWalletSubscribersApi';
|
|
39
|
+
import { GoogleWalletSubscribersApi } from './googleWalletSubscribersApi';
|
|
38
40
|
export * from './helpDeskApi';
|
|
39
41
|
import { HelpDeskApi } from './helpDeskApi';
|
|
40
42
|
export * from './importExportApi';
|
|
@@ -129,4 +131,4 @@ export declare class HttpError extends Error {
|
|
|
129
131
|
constructor(response: http.IncomingMessage, body: any, statusCode?: number | undefined);
|
|
130
132
|
}
|
|
131
133
|
export { RequestFile } from '../model/models';
|
|
132
|
-
export declare const APIS: (typeof APIKeysApi | typeof AmenitiesApi | typeof AppToPersonA2PRegistrationApi | typeof AppleWalletSubscribersApi | typeof AuthenticationApi | typeof BillingPaymentsApi | typeof BroadcastsApi | typeof ClubMembersApi | typeof CountriesApi | typeof CustomerApi | typeof DiningApi | typeof DynamicVouchersApi | typeof EmailSubscribersApi | typeof EmployeesApi | typeof FilesDocumentsApi | typeof GalleryApi | typeof GamingApi | typeof GiftCardsApi | typeof HelpDeskApi | typeof ImportExportApi | typeof ImportedListsApi | typeof IndustriesApi | typeof InfoGenesisReportsApi | typeof InteractionsApi | typeof LoungeApi | typeof MembershipTiersApi | typeof MerchantApi | typeof MerchantCreditsApi | typeof NewsApi | typeof OpenAIApi | typeof OptInListsApi | typeof OrdersApi | typeof PaymentDesignsApi | typeof PerformancesApi | typeof PhoneNumbersApi | typeof PointOfSaleConfigurationApi | typeof PrizesApi | typeof ProductsApi | typeof PromotionCodesApi | typeof QRCodeDesignsApi | typeof QuickLinksApi | typeof QuickLinksSectionApi | typeof RoomRatesApi | typeof SMSMessagesApi | typeof SMSSubscribersApi | typeof ServicesApi | typeof ShopifyTerminalApi | typeof ShortLinksApi | typeof StaticVoucherCampaignsApi | typeof StaticVouchersApi | typeof StripeConnectApi | typeof SystemApi | typeof TicketsApi | typeof VideosApi | typeof VirtualBusinessCardApi | typeof WalletConfigurationApi | typeof WalletMobileTerminalApi | typeof WalletTransactionLedgerApi | typeof WalletWebTerminalApi | typeof WixTerminalApi | typeof WooCommerceTerminalApi)[];
|
|
134
|
+
export declare const APIS: (typeof APIKeysApi | typeof AmenitiesApi | typeof AppToPersonA2PRegistrationApi | typeof AppleWalletSubscribersApi | typeof AuthenticationApi | typeof BillingPaymentsApi | typeof BroadcastsApi | typeof ClubMembersApi | typeof CountriesApi | typeof CustomerApi | typeof DiningApi | typeof DynamicVouchersApi | typeof EmailSubscribersApi | typeof EmployeesApi | typeof FilesDocumentsApi | typeof GalleryApi | typeof GamingApi | typeof GiftCardsApi | typeof GoogleWalletSubscribersApi | typeof HelpDeskApi | typeof ImportExportApi | typeof ImportedListsApi | typeof IndustriesApi | typeof InfoGenesisReportsApi | typeof InteractionsApi | typeof LoungeApi | typeof MembershipTiersApi | typeof MerchantApi | typeof MerchantCreditsApi | typeof NewsApi | typeof OpenAIApi | typeof OptInListsApi | typeof OrdersApi | typeof PaymentDesignsApi | typeof PerformancesApi | typeof PhoneNumbersApi | typeof PointOfSaleConfigurationApi | typeof PrizesApi | typeof ProductsApi | typeof PromotionCodesApi | typeof QRCodeDesignsApi | typeof QuickLinksApi | typeof QuickLinksSectionApi | typeof RoomRatesApi | typeof SMSMessagesApi | typeof SMSSubscribersApi | typeof ServicesApi | typeof ShopifyTerminalApi | typeof ShortLinksApi | typeof StaticVoucherCampaignsApi | typeof StaticVouchersApi | typeof StripeConnectApi | typeof SystemApi | typeof TicketsApi | typeof VideosApi | typeof VirtualBusinessCardApi | typeof WalletConfigurationApi | typeof WalletMobileTerminalApi | typeof WalletTransactionLedgerApi | typeof WalletWebTerminalApi | typeof WixTerminalApi | typeof WooCommerceTerminalApi)[];
|
package/dist/api/apis.js
CHANGED
|
@@ -51,6 +51,8 @@ __exportStar(require("./gamingApi"), exports);
|
|
|
51
51
|
const gamingApi_1 = require("./gamingApi");
|
|
52
52
|
__exportStar(require("./giftCardsApi"), exports);
|
|
53
53
|
const giftCardsApi_1 = require("./giftCardsApi");
|
|
54
|
+
__exportStar(require("./googleWalletSubscribersApi"), exports);
|
|
55
|
+
const googleWalletSubscribersApi_1 = require("./googleWalletSubscribersApi");
|
|
54
56
|
__exportStar(require("./helpDeskApi"), exports);
|
|
55
57
|
const helpDeskApi_1 = require("./helpDeskApi");
|
|
56
58
|
__exportStar(require("./importExportApi"), exports);
|
|
@@ -147,5 +149,5 @@ class HttpError extends Error {
|
|
|
147
149
|
}
|
|
148
150
|
}
|
|
149
151
|
exports.HttpError = HttpError;
|
|
150
|
-
exports.APIS = [aPIKeysApi_1.APIKeysApi, amenitiesApi_1.AmenitiesApi, appToPersonA2PRegistrationApi_1.AppToPersonA2PRegistrationApi, appleWalletSubscribersApi_1.AppleWalletSubscribersApi, authenticationApi_1.AuthenticationApi, billingPaymentsApi_1.BillingPaymentsApi, broadcastsApi_1.BroadcastsApi, clubMembersApi_1.ClubMembersApi, countriesApi_1.CountriesApi, customerApi_1.CustomerApi, diningApi_1.DiningApi, dynamicVouchersApi_1.DynamicVouchersApi, emailSubscribersApi_1.EmailSubscribersApi, employeesApi_1.EmployeesApi, filesDocumentsApi_1.FilesDocumentsApi, galleryApi_1.GalleryApi, gamingApi_1.GamingApi, giftCardsApi_1.GiftCardsApi, helpDeskApi_1.HelpDeskApi, importExportApi_1.ImportExportApi, importedListsApi_1.ImportedListsApi, industriesApi_1.IndustriesApi, infoGenesisReportsApi_1.InfoGenesisReportsApi, interactionsApi_1.InteractionsApi, loungeApi_1.LoungeApi, membershipTiersApi_1.MembershipTiersApi, merchantApi_1.MerchantApi, merchantCreditsApi_1.MerchantCreditsApi, newsApi_1.NewsApi, openAIApi_1.OpenAIApi, optInListsApi_1.OptInListsApi, ordersApi_1.OrdersApi, paymentDesignsApi_1.PaymentDesignsApi, performancesApi_1.PerformancesApi, phoneNumbersApi_1.PhoneNumbersApi, pointOfSaleConfigurationApi_1.PointOfSaleConfigurationApi, prizesApi_1.PrizesApi, productsApi_1.ProductsApi, promotionCodesApi_1.PromotionCodesApi, qRCodeDesignsApi_1.QRCodeDesignsApi, quickLinksApi_1.QuickLinksApi, quickLinksSectionApi_1.QuickLinksSectionApi, roomRatesApi_1.RoomRatesApi, sMSMessagesApi_1.SMSMessagesApi, sMSSubscribersApi_1.SMSSubscribersApi, servicesApi_1.ServicesApi, shopifyTerminalApi_1.ShopifyTerminalApi, shortLinksApi_1.ShortLinksApi, staticVoucherCampaignsApi_1.StaticVoucherCampaignsApi, staticVouchersApi_1.StaticVouchersApi, stripeConnectApi_1.StripeConnectApi, systemApi_1.SystemApi, ticketsApi_1.TicketsApi, videosApi_1.VideosApi, virtualBusinessCardApi_1.VirtualBusinessCardApi, walletConfigurationApi_1.WalletConfigurationApi, walletMobileTerminalApi_1.WalletMobileTerminalApi, walletTransactionLedgerApi_1.WalletTransactionLedgerApi, walletWebTerminalApi_1.WalletWebTerminalApi, wixTerminalApi_1.WixTerminalApi, wooCommerceTerminalApi_1.WooCommerceTerminalApi];
|
|
152
|
+
exports.APIS = [aPIKeysApi_1.APIKeysApi, amenitiesApi_1.AmenitiesApi, appToPersonA2PRegistrationApi_1.AppToPersonA2PRegistrationApi, appleWalletSubscribersApi_1.AppleWalletSubscribersApi, authenticationApi_1.AuthenticationApi, billingPaymentsApi_1.BillingPaymentsApi, broadcastsApi_1.BroadcastsApi, clubMembersApi_1.ClubMembersApi, countriesApi_1.CountriesApi, customerApi_1.CustomerApi, diningApi_1.DiningApi, dynamicVouchersApi_1.DynamicVouchersApi, emailSubscribersApi_1.EmailSubscribersApi, employeesApi_1.EmployeesApi, filesDocumentsApi_1.FilesDocumentsApi, galleryApi_1.GalleryApi, gamingApi_1.GamingApi, giftCardsApi_1.GiftCardsApi, googleWalletSubscribersApi_1.GoogleWalletSubscribersApi, helpDeskApi_1.HelpDeskApi, importExportApi_1.ImportExportApi, importedListsApi_1.ImportedListsApi, industriesApi_1.IndustriesApi, infoGenesisReportsApi_1.InfoGenesisReportsApi, interactionsApi_1.InteractionsApi, loungeApi_1.LoungeApi, membershipTiersApi_1.MembershipTiersApi, merchantApi_1.MerchantApi, merchantCreditsApi_1.MerchantCreditsApi, newsApi_1.NewsApi, openAIApi_1.OpenAIApi, optInListsApi_1.OptInListsApi, ordersApi_1.OrdersApi, paymentDesignsApi_1.PaymentDesignsApi, performancesApi_1.PerformancesApi, phoneNumbersApi_1.PhoneNumbersApi, pointOfSaleConfigurationApi_1.PointOfSaleConfigurationApi, prizesApi_1.PrizesApi, productsApi_1.ProductsApi, promotionCodesApi_1.PromotionCodesApi, qRCodeDesignsApi_1.QRCodeDesignsApi, quickLinksApi_1.QuickLinksApi, quickLinksSectionApi_1.QuickLinksSectionApi, roomRatesApi_1.RoomRatesApi, sMSMessagesApi_1.SMSMessagesApi, sMSSubscribersApi_1.SMSSubscribersApi, servicesApi_1.ServicesApi, shopifyTerminalApi_1.ShopifyTerminalApi, shortLinksApi_1.ShortLinksApi, staticVoucherCampaignsApi_1.StaticVoucherCampaignsApi, staticVouchersApi_1.StaticVouchersApi, stripeConnectApi_1.StripeConnectApi, systemApi_1.SystemApi, ticketsApi_1.TicketsApi, videosApi_1.VideosApi, virtualBusinessCardApi_1.VirtualBusinessCardApi, walletConfigurationApi_1.WalletConfigurationApi, walletMobileTerminalApi_1.WalletMobileTerminalApi, walletTransactionLedgerApi_1.WalletTransactionLedgerApi, walletWebTerminalApi_1.WalletWebTerminalApi, wixTerminalApi_1.WixTerminalApi, wooCommerceTerminalApi_1.WooCommerceTerminalApi];
|
|
151
153
|
//# sourceMappingURL=apis.js.map
|
package/dist/api/apis.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3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+CAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import http from 'http';
|
|
3
|
+
import { Authentication, Interceptor } from '../model/models';
|
|
4
|
+
import { ApiKeyAuth } from '../model/models';
|
|
5
|
+
export declare enum GoogleWalletSubscribersApiApiKeys {
|
|
6
|
+
api_key = 0
|
|
7
|
+
}
|
|
8
|
+
export declare class GoogleWalletSubscribersApi {
|
|
9
|
+
protected _basePath: string;
|
|
10
|
+
protected _defaultHeaders: any;
|
|
11
|
+
protected _useQuerystring: boolean;
|
|
12
|
+
protected authentications: {
|
|
13
|
+
default: Authentication;
|
|
14
|
+
api_key: ApiKeyAuth;
|
|
15
|
+
};
|
|
16
|
+
protected interceptors: Interceptor[];
|
|
17
|
+
constructor(basePath?: string);
|
|
18
|
+
set useQuerystring(value: boolean);
|
|
19
|
+
set basePath(basePath: string);
|
|
20
|
+
set defaultHeaders(defaultHeaders: any);
|
|
21
|
+
get defaultHeaders(): any;
|
|
22
|
+
get basePath(): string;
|
|
23
|
+
setDefaultAuthentication(auth: Authentication): void;
|
|
24
|
+
setApiKey(key: GoogleWalletSubscribersApiApiKeys, value: string): void;
|
|
25
|
+
addInterceptor(interceptor: Interceptor): void;
|
|
26
|
+
fetchGoogleWalletSubscriberActivity(subscriptionID: string, options?: {
|
|
27
|
+
headers: {
|
|
28
|
+
[name: string]: string;
|
|
29
|
+
};
|
|
30
|
+
}): Promise<{
|
|
31
|
+
response: http.IncomingMessage;
|
|
32
|
+
body: Array<any>;
|
|
33
|
+
}>;
|
|
34
|
+
fetchGoogleWalletSubscribers(startDateTime?: Date, endDateTime?: Date, options?: {
|
|
35
|
+
headers: {
|
|
36
|
+
[name: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}): Promise<{
|
|
39
|
+
response: http.IncomingMessage;
|
|
40
|
+
body: Array<any>;
|
|
41
|
+
}>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.GoogleWalletSubscribersApi = exports.GoogleWalletSubscribersApiApiKeys = void 0;
|
|
16
|
+
const request_1 = __importDefault(require("request"));
|
|
17
|
+
const models_1 = require("../model/models");
|
|
18
|
+
const models_2 = require("../model/models");
|
|
19
|
+
const apis_1 = require("./apis");
|
|
20
|
+
let defaultBasePath = 'https://api.wall.et';
|
|
21
|
+
var GoogleWalletSubscribersApiApiKeys;
|
|
22
|
+
(function (GoogleWalletSubscribersApiApiKeys) {
|
|
23
|
+
GoogleWalletSubscribersApiApiKeys[GoogleWalletSubscribersApiApiKeys["api_key"] = 0] = "api_key";
|
|
24
|
+
})(GoogleWalletSubscribersApiApiKeys = exports.GoogleWalletSubscribersApiApiKeys || (exports.GoogleWalletSubscribersApiApiKeys = {}));
|
|
25
|
+
class GoogleWalletSubscribersApi {
|
|
26
|
+
constructor(basePathOrUsername, password, basePath) {
|
|
27
|
+
this._basePath = defaultBasePath;
|
|
28
|
+
this._defaultHeaders = {};
|
|
29
|
+
this._useQuerystring = false;
|
|
30
|
+
this.authentications = {
|
|
31
|
+
'default': new models_1.VoidAuth(),
|
|
32
|
+
'api_key': new models_2.ApiKeyAuth('header', 'access-token'),
|
|
33
|
+
};
|
|
34
|
+
this.interceptors = [];
|
|
35
|
+
if (password) {
|
|
36
|
+
if (basePath) {
|
|
37
|
+
this.basePath = basePath;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
if (basePathOrUsername) {
|
|
42
|
+
this.basePath = basePathOrUsername;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
set useQuerystring(value) {
|
|
47
|
+
this._useQuerystring = value;
|
|
48
|
+
}
|
|
49
|
+
set basePath(basePath) {
|
|
50
|
+
this._basePath = basePath;
|
|
51
|
+
}
|
|
52
|
+
set defaultHeaders(defaultHeaders) {
|
|
53
|
+
this._defaultHeaders = defaultHeaders;
|
|
54
|
+
}
|
|
55
|
+
get defaultHeaders() {
|
|
56
|
+
return this._defaultHeaders;
|
|
57
|
+
}
|
|
58
|
+
get basePath() {
|
|
59
|
+
return this._basePath;
|
|
60
|
+
}
|
|
61
|
+
setDefaultAuthentication(auth) {
|
|
62
|
+
this.authentications.default = auth;
|
|
63
|
+
}
|
|
64
|
+
setApiKey(key, value) {
|
|
65
|
+
this.authentications[GoogleWalletSubscribersApiApiKeys[key]].apiKey = value;
|
|
66
|
+
}
|
|
67
|
+
addInterceptor(interceptor) {
|
|
68
|
+
this.interceptors.push(interceptor);
|
|
69
|
+
}
|
|
70
|
+
fetchGoogleWalletSubscriberActivity(subscriptionID, options = { headers: {} }) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
const localVarPath = this.basePath + '/google/wallet/pass/subscriber/activity/{subscriptionID}'
|
|
73
|
+
.replace('{' + 'subscriptionID' + '}', encodeURIComponent(String(subscriptionID)));
|
|
74
|
+
let localVarQueryParameters = {};
|
|
75
|
+
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
76
|
+
const produces = ['application/json'];
|
|
77
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
78
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
82
|
+
}
|
|
83
|
+
let localVarFormParams = {};
|
|
84
|
+
if (subscriptionID === null || subscriptionID === undefined) {
|
|
85
|
+
throw new Error('Required parameter subscriptionID was null or undefined when calling fetchGoogleWalletSubscriberActivity.');
|
|
86
|
+
}
|
|
87
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
88
|
+
let localVarUseFormData = false;
|
|
89
|
+
let localVarRequestOptions = {
|
|
90
|
+
method: 'GET',
|
|
91
|
+
qs: localVarQueryParameters,
|
|
92
|
+
headers: localVarHeaderParams,
|
|
93
|
+
uri: localVarPath,
|
|
94
|
+
useQuerystring: this._useQuerystring,
|
|
95
|
+
json: true,
|
|
96
|
+
};
|
|
97
|
+
let authenticationPromise = Promise.resolve();
|
|
98
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
99
|
+
let interceptorPromise = authenticationPromise;
|
|
100
|
+
for (const interceptor of this.interceptors) {
|
|
101
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
102
|
+
}
|
|
103
|
+
return interceptorPromise.then(() => {
|
|
104
|
+
if (Object.keys(localVarFormParams).length) {
|
|
105
|
+
if (localVarUseFormData) {
|
|
106
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return new Promise((resolve, reject) => {
|
|
113
|
+
(0, request_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
114
|
+
if (error) {
|
|
115
|
+
reject(error);
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
119
|
+
body = models_1.ObjectSerializer.deserialize(body, "Array<any>");
|
|
120
|
+
resolve({ response: response, body: body });
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
fetchGoogleWalletSubscribers(startDateTime, endDateTime, options = { headers: {} }) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
const localVarPath = this.basePath + '/google/wallet/pass/subscribers/all';
|
|
134
|
+
let localVarQueryParameters = {};
|
|
135
|
+
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
136
|
+
const produces = ['application/json'];
|
|
137
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
138
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
142
|
+
}
|
|
143
|
+
let localVarFormParams = {};
|
|
144
|
+
if (startDateTime !== undefined) {
|
|
145
|
+
localVarQueryParameters['startDateTime'] = models_1.ObjectSerializer.serialize(startDateTime, "Date");
|
|
146
|
+
}
|
|
147
|
+
if (endDateTime !== undefined) {
|
|
148
|
+
localVarQueryParameters['endDateTime'] = models_1.ObjectSerializer.serialize(endDateTime, "Date");
|
|
149
|
+
}
|
|
150
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
151
|
+
let localVarUseFormData = false;
|
|
152
|
+
let localVarRequestOptions = {
|
|
153
|
+
method: 'GET',
|
|
154
|
+
qs: localVarQueryParameters,
|
|
155
|
+
headers: localVarHeaderParams,
|
|
156
|
+
uri: localVarPath,
|
|
157
|
+
useQuerystring: this._useQuerystring,
|
|
158
|
+
json: true,
|
|
159
|
+
};
|
|
160
|
+
let authenticationPromise = Promise.resolve();
|
|
161
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
162
|
+
let interceptorPromise = authenticationPromise;
|
|
163
|
+
for (const interceptor of this.interceptors) {
|
|
164
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
165
|
+
}
|
|
166
|
+
return interceptorPromise.then(() => {
|
|
167
|
+
if (Object.keys(localVarFormParams).length) {
|
|
168
|
+
if (localVarUseFormData) {
|
|
169
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return new Promise((resolve, reject) => {
|
|
176
|
+
(0, request_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
177
|
+
if (error) {
|
|
178
|
+
reject(error);
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
182
|
+
body = models_1.ObjectSerializer.deserialize(body, "Array<any>");
|
|
183
|
+
resolve({ response: response, body: body });
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
exports.GoogleWalletSubscribersApi = GoogleWalletSubscribersApi;
|
|
196
|
+
//# sourceMappingURL=googleWalletSubscribersApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"googleWalletSubscribersApi.js","sourceRoot":"","sources":["../../api/googleWalletSubscribersApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAaA,sDAAsC;AAQtC,4CAA0F;AAC1F,4CAAmF;AAEnF,iCAAgD;AAEhD,IAAI,eAAe,GAAG,qBAAqB,CAAC;AAM5C,IAAY,iCAEX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,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;gCACxD,OAAO,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;6BAC/C;iCAAM;gCACH,MAAM,CAAC,IAAI,gBAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;6BAC9D;yBACJ;oBACL,CAAC,CAAC,CAAC;gBACP,CAAC,CAAC,CAAC;YACP,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AAtMD,gEAsMC"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "wallet", "version": "2.
|
|
1
|
+
{"name": "wallet", "version": "2.25.1", "description": "Official server-side TypeScript / Node.js SDK for the Wallet Inc CRM & Digital Payments platform.", "repository": {"type": "git", "url": "https://github.com/WalletInc/sdk-ts.git"}, "main": "dist/api.js", "types": "dist/api.d.ts", "scripts": {"clean": "rm -Rf node_modules/ *.js", "build": "tsc", "test": "npm run build && node dist/client.js"}, "author": "Wallet Inc Development Team", "license": "Apache-2.0", "dependencies": {"bluebird": "^3.5.0", "request": "^2.81.0", "rewire": "^3.0.2"}, "devDependencies": {"@types/bluebird": "^3.5.33", "@types/node": "^12", "@types/request": "^2.48.8", "typescript": "^4.0"}, "publishConfig": {"registry": "https://registry.npmjs.org"}, "homepage": "https://wallet.dev", "bugs": {"url": "https://github.com/WalletInc/sdk-ts/issues"}, "files": ["dist", "LICENSE", "NOTICE", "README.md"], "keywords": ["wallet", "wallet-inc", "sdk", "api", "crm", "payments", "rewards", "vouchers", "loyalty", "membership", "sms"]}
|