arky-sdk 0.7.36 → 0.7.37
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.cjs +0 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -12
- package/dist/index.d.ts +3 -12
- package/dist/index.js +0 -39
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +3 -21
- package/dist/types.d.ts +3 -21
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1197,44 +1197,6 @@ var createMarketApi = (apiConfig) => {
|
|
|
1197
1197
|
};
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
|
-
// src/api/zone.ts
|
|
1201
|
-
var createZoneApi = (apiConfig) => {
|
|
1202
|
-
return {
|
|
1203
|
-
async list(options) {
|
|
1204
|
-
return apiConfig.httpClient.get(
|
|
1205
|
-
`/v1/businesses/${apiConfig.businessId}/zones`,
|
|
1206
|
-
options
|
|
1207
|
-
);
|
|
1208
|
-
},
|
|
1209
|
-
async get(id, options) {
|
|
1210
|
-
return apiConfig.httpClient.get(
|
|
1211
|
-
`/v1/businesses/${apiConfig.businessId}/zones/${id}`,
|
|
1212
|
-
options
|
|
1213
|
-
);
|
|
1214
|
-
},
|
|
1215
|
-
async create(params, options) {
|
|
1216
|
-
return apiConfig.httpClient.post(
|
|
1217
|
-
`/v1/businesses/${apiConfig.businessId}/zones`,
|
|
1218
|
-
{ ...params, businessId: apiConfig.businessId },
|
|
1219
|
-
options
|
|
1220
|
-
);
|
|
1221
|
-
},
|
|
1222
|
-
async update(params, options) {
|
|
1223
|
-
return apiConfig.httpClient.put(
|
|
1224
|
-
`/v1/businesses/${apiConfig.businessId}/zones/${params.id}`,
|
|
1225
|
-
{ ...params, businessId: apiConfig.businessId },
|
|
1226
|
-
options
|
|
1227
|
-
);
|
|
1228
|
-
},
|
|
1229
|
-
async delete(params, options) {
|
|
1230
|
-
return apiConfig.httpClient.delete(
|
|
1231
|
-
`/v1/businesses/${apiConfig.businessId}/zones/${params.id}`,
|
|
1232
|
-
options
|
|
1233
|
-
);
|
|
1234
|
-
}
|
|
1235
|
-
};
|
|
1236
|
-
};
|
|
1237
|
-
|
|
1238
1200
|
// src/api/crm.ts
|
|
1239
1201
|
var createCustomerApi = (apiConfig) => {
|
|
1240
1202
|
return {
|
|
@@ -2300,7 +2262,6 @@ async function createArkySDK(config) {
|
|
|
2300
2262
|
booking: createBookingApi(apiConfig),
|
|
2301
2263
|
location: createLocationApi(apiConfig),
|
|
2302
2264
|
market: createMarketApi(apiConfig),
|
|
2303
|
-
zone: createZoneApi(apiConfig),
|
|
2304
2265
|
crm: createCustomerApi(apiConfig),
|
|
2305
2266
|
reaction: createReactionApi(apiConfig),
|
|
2306
2267
|
workflow: createWorkflowApi(apiConfig),
|