@bzbs/react-api-client 0.1.12 → 0.2.0
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/index.d.mts +44 -3
- package/dist/index.d.ts +44 -3
- package/dist/index.js +28 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.mjs
CHANGED
|
@@ -2189,13 +2189,35 @@ var RequestHelpApi = class extends BaseService {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
};
|
|
2191
2191
|
|
|
2192
|
+
// src/api/blob/blob.ts
|
|
2193
|
+
var Blob = class extends BaseService {
|
|
2194
|
+
constructor(client, baseUrl) {
|
|
2195
|
+
super(client, baseUrl);
|
|
2196
|
+
}
|
|
2197
|
+
consentVersion(appId) {
|
|
2198
|
+
return __async(this, null, function* () {
|
|
2199
|
+
return this.get(`pdpaconsent/${appId}/version`);
|
|
2200
|
+
});
|
|
2201
|
+
}
|
|
2202
|
+
maintenance(appId) {
|
|
2203
|
+
return __async(this, null, function* () {
|
|
2204
|
+
return this.get(`config/maintenance/${appId}.json`);
|
|
2205
|
+
});
|
|
2206
|
+
}
|
|
2207
|
+
blob(path, requestOptions) {
|
|
2208
|
+
return __async(this, null, function* () {
|
|
2209
|
+
return this.get(path, requestOptions);
|
|
2210
|
+
});
|
|
2211
|
+
}
|
|
2212
|
+
};
|
|
2213
|
+
|
|
2192
2214
|
// src/api/bzbs-service.ts
|
|
2193
2215
|
var BzbsService = class {
|
|
2194
|
-
constructor(client, baseUrl, baseLineUrl) {
|
|
2195
|
-
var _a;
|
|
2216
|
+
constructor(client, baseUrl, baseLineUrl, baseBlobUrl) {
|
|
2196
2217
|
this.client = client;
|
|
2197
2218
|
this.baseUrl = baseUrl;
|
|
2198
2219
|
this.baseLineUrl = baseLineUrl;
|
|
2220
|
+
this.baseBlobUrl = baseBlobUrl;
|
|
2199
2221
|
this.authApi = new AuthenticateApi(this.client, this.baseUrl);
|
|
2200
2222
|
this.badgeApi = new BadgeApi(this.client, this.baseUrl);
|
|
2201
2223
|
this.campaignApi = new CampaignApi(this.client, this.baseUrl);
|
|
@@ -2205,7 +2227,7 @@ var BzbsService = class {
|
|
|
2205
2227
|
this.couponApi = new CouponApi(this.client, this.baseUrl);
|
|
2206
2228
|
this.dashboardApi = new DashboardApi(this.client, this.baseUrl);
|
|
2207
2229
|
this.historyApi = new HistoryApi(this.client, this.baseUrl);
|
|
2208
|
-
this.lineApi = new LineApi(this.client,
|
|
2230
|
+
this.lineApi = new LineApi(this.client, this.baseLineUrl);
|
|
2209
2231
|
this.notificationApi = new NotificationApi(this.client, this.baseUrl);
|
|
2210
2232
|
this.placeApi = new PlaceApi(this.client, this.baseUrl);
|
|
2211
2233
|
this.pointLogApi = new PointLogApi(this.client, this.baseUrl);
|
|
@@ -2214,6 +2236,7 @@ var BzbsService = class {
|
|
|
2214
2236
|
this.addressApi = new AddressApi(this.client, this.baseUrl);
|
|
2215
2237
|
this.stampApi = new StampApi(this.client, this.baseUrl);
|
|
2216
2238
|
this.forumApi = new RequestHelpApi(this.client, this.baseUrl);
|
|
2239
|
+
this.blob = new Blob(this.client, this.baseBlobUrl);
|
|
2217
2240
|
}
|
|
2218
2241
|
};
|
|
2219
2242
|
export {
|
|
@@ -2221,6 +2244,7 @@ export {
|
|
|
2221
2244
|
AuthenticateApi,
|
|
2222
2245
|
BadgeApi,
|
|
2223
2246
|
BaseService,
|
|
2247
|
+
Blob,
|
|
2224
2248
|
BzbsService,
|
|
2225
2249
|
CampaignApi,
|
|
2226
2250
|
CartApi,
|