@wix/auto_sdk_restaurants_operations 1.0.95 → 1.0.97
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/build/cjs/index.js +12 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +15 -11
- package/build/cjs/index.typings.js +3 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -2
- package/build/cjs/meta.js +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +112 -104
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +12 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +15 -11
- package/build/es/index.typings.mjs +3 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -2
- package/build/es/meta.mjs +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +112 -104
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +12 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +164 -12
- package/build/internal/cjs/index.typings.js +3 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +176 -3
- package/build/internal/cjs/meta.js +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +112 -104
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +12 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +164 -12
- package/build/internal/es/index.typings.mjs +3 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +176 -3
- package/build/internal/es/meta.mjs +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +112 -104
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
package/build/es/index.mjs
CHANGED
|
@@ -1113,6 +1113,7 @@ var OnlineOrderingStatusType = /* @__PURE__ */ ((OnlineOrderingStatusType2) => {
|
|
|
1113
1113
|
var FulfillmentType = /* @__PURE__ */ ((FulfillmentType2) => {
|
|
1114
1114
|
FulfillmentType2["PICKUP"] = "PICKUP";
|
|
1115
1115
|
FulfillmentType2["DELIVERY"] = "DELIVERY";
|
|
1116
|
+
FulfillmentType2["DINE_IN"] = "DINE_IN";
|
|
1116
1117
|
return FulfillmentType2;
|
|
1117
1118
|
})(FulfillmentType || {});
|
|
1118
1119
|
var PreparationTimePreparationTimeType = /* @__PURE__ */ ((PreparationTimePreparationTimeType2) => {
|
|
@@ -1254,6 +1255,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
1254
1255
|
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
1255
1256
|
Namespace2["VIBU"] = "VIBU";
|
|
1256
1257
|
Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
|
|
1258
|
+
Namespace2["DEV_CENTER_DEV_SITE"] = "DEV_CENTER_DEV_SITE";
|
|
1257
1259
|
return Namespace2;
|
|
1258
1260
|
})(Namespace || {});
|
|
1259
1261
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1478,9 +1480,7 @@ async function typedQueryOperation(query) {
|
|
|
1478
1480
|
}
|
|
1479
1481
|
}
|
|
1480
1482
|
var utils = {
|
|
1481
|
-
query:
|
|
1482
|
-
...createQueryUtils()
|
|
1483
|
-
}
|
|
1483
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
1484
1484
|
};
|
|
1485
1485
|
async function listOperations2() {
|
|
1486
1486
|
const { httpClient, sideEffects } = arguments[0];
|
|
@@ -2359,7 +2359,7 @@ function bulkUpdateOperationTagsByFilter3(httpClient) {
|
|
|
2359
2359
|
{ httpClient }
|
|
2360
2360
|
);
|
|
2361
2361
|
}
|
|
2362
|
-
var onOperationDeleted = EventDefinition(
|
|
2362
|
+
var onOperationDeleted = /* @__PURE__ */ EventDefinition(
|
|
2363
2363
|
"wix.restaurants.operations.v1.operation_deleted",
|
|
2364
2364
|
true,
|
|
2365
2365
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -2380,7 +2380,7 @@ var onOperationDeleted = EventDefinition(
|
|
|
2380
2380
|
])
|
|
2381
2381
|
)
|
|
2382
2382
|
)();
|
|
2383
|
-
var onOperationUpdated = EventDefinition(
|
|
2383
|
+
var onOperationUpdated = /* @__PURE__ */ EventDefinition(
|
|
2384
2384
|
"wix.restaurants.operations.v1.operation_updated",
|
|
2385
2385
|
true,
|
|
2386
2386
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -2413,7 +2413,7 @@ import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
|
2413
2413
|
import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
|
|
2414
2414
|
import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
|
|
2415
2415
|
function customQueryOperation(httpClient) {
|
|
2416
|
-
const router = createQueryOverloadRouter({
|
|
2416
|
+
const router = /* @__PURE__ */ createQueryOverloadRouter({
|
|
2417
2417
|
builderQueryFunction: () => queryOperation3(httpClient)(),
|
|
2418
2418
|
typedQueryFunction: (query) => typedQueryOperation2(httpClient)(query),
|
|
2419
2419
|
hasOptionsParameter: false
|
|
@@ -2456,8 +2456,12 @@ var validateOperationAddress4 = /* @__PURE__ */ createRESTModule(validateOperati
|
|
|
2456
2456
|
var bulkUpdateOperationTags4 = /* @__PURE__ */ createRESTModule(bulkUpdateOperationTags3);
|
|
2457
2457
|
var bulkUpdateOperationTagsByFilter4 = /* @__PURE__ */ createRESTModule(bulkUpdateOperationTagsByFilter3);
|
|
2458
2458
|
var queryOperation4 = /* @__PURE__ */ createRESTModule(customQueryOperation);
|
|
2459
|
-
var onOperationDeleted2 = createEventModule(
|
|
2460
|
-
|
|
2459
|
+
var onOperationDeleted2 = /* @__PURE__ */ createEventModule(
|
|
2460
|
+
onOperationDeleted
|
|
2461
|
+
);
|
|
2462
|
+
var onOperationUpdated2 = /* @__PURE__ */ createEventModule(
|
|
2463
|
+
onOperationUpdated
|
|
2464
|
+
);
|
|
2461
2465
|
export {
|
|
2462
2466
|
ActivationType,
|
|
2463
2467
|
AsapFutureHandlingType,
|