@tripian/core 6.1.7 → 6.1.9
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/API.d.ts +6 -1
- package/api/const/ApiConstModel.d.ts +2 -0
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/tcore.umd.js +2 -2
- package/tcore.umd.js.map +1 -1
package/api/API.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ declare class API {
|
|
|
145
145
|
offerSearch: (dateFrom: string, dateTo: string, boundary: string) => Promise<Model.Poi[]>;
|
|
146
146
|
offerSearchNew: (dateFrom: string, dateTo: string, boundary: string) => Promise<Model.DataPayload<Model.Poi[]>>;
|
|
147
147
|
offers: (dateFrom?: string, dateTo?: string) => Promise<Model.Poi[]>;
|
|
148
|
-
offerUpdateOptIn: (offerId: number,
|
|
148
|
+
offerUpdateOptIn: (offerId: number, optInDate: string) => Promise<Model.DeleteUpdateResponse>;
|
|
149
149
|
offerDelete: (offerId: number) => Promise<Model.DeleteUpdateResponse>;
|
|
150
150
|
/**
|
|
151
151
|
* Small Business Tools
|
|
@@ -189,6 +189,11 @@ declare class API {
|
|
|
189
189
|
businessCouponApplicationFileUpload: (file: string) => Promise<{
|
|
190
190
|
url: string;
|
|
191
191
|
}>;
|
|
192
|
+
/**
|
|
193
|
+
* Wallet
|
|
194
|
+
*/
|
|
195
|
+
coupons: (page: number, limit?: number) => Promise<Model.DataPayload<Model.Coupon[]>>;
|
|
196
|
+
payment: (voucherOfferId: number) => Promise<Model.Coupon>;
|
|
192
197
|
/**
|
|
193
198
|
* Logs
|
|
194
199
|
*/
|
|
@@ -102,6 +102,8 @@ interface ApiConstModel {
|
|
|
102
102
|
BUSINESS_COUPON_APPLICATION_ADD: ApiConst;
|
|
103
103
|
BUSINESS_COUPON_APPLICATION_USER_UPDATE: ApiConst;
|
|
104
104
|
BUSINESS_COUPON_FILE_UPLOAD: ApiConst;
|
|
105
|
+
COUPONS: ApiConst;
|
|
106
|
+
PAYMENT: ApiConst;
|
|
105
107
|
LOGS: ApiConst;
|
|
106
108
|
}
|
|
107
109
|
export { ApiConst, ApiConstModel };
|