@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/cjs/index.js
CHANGED
|
@@ -1189,6 +1189,7 @@ var OnlineOrderingStatusType = /* @__PURE__ */ ((OnlineOrderingStatusType2) => {
|
|
|
1189
1189
|
var FulfillmentType = /* @__PURE__ */ ((FulfillmentType2) => {
|
|
1190
1190
|
FulfillmentType2["PICKUP"] = "PICKUP";
|
|
1191
1191
|
FulfillmentType2["DELIVERY"] = "DELIVERY";
|
|
1192
|
+
FulfillmentType2["DINE_IN"] = "DINE_IN";
|
|
1192
1193
|
return FulfillmentType2;
|
|
1193
1194
|
})(FulfillmentType || {});
|
|
1194
1195
|
var PreparationTimePreparationTimeType = /* @__PURE__ */ ((PreparationTimePreparationTimeType2) => {
|
|
@@ -1330,6 +1331,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
1330
1331
|
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
1331
1332
|
Namespace2["VIBU"] = "VIBU";
|
|
1332
1333
|
Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
|
|
1334
|
+
Namespace2["DEV_CENTER_DEV_SITE"] = "DEV_CENTER_DEV_SITE";
|
|
1333
1335
|
return Namespace2;
|
|
1334
1336
|
})(Namespace || {});
|
|
1335
1337
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1554,9 +1556,7 @@ async function typedQueryOperation(query) {
|
|
|
1554
1556
|
}
|
|
1555
1557
|
}
|
|
1556
1558
|
var utils = {
|
|
1557
|
-
query:
|
|
1558
|
-
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1559
|
-
}
|
|
1559
|
+
query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
|
|
1560
1560
|
};
|
|
1561
1561
|
async function listOperations2() {
|
|
1562
1562
|
const { httpClient, sideEffects } = arguments[0];
|
|
@@ -2435,7 +2435,7 @@ function bulkUpdateOperationTagsByFilter3(httpClient) {
|
|
|
2435
2435
|
{ httpClient }
|
|
2436
2436
|
);
|
|
2437
2437
|
}
|
|
2438
|
-
var onOperationDeleted = (0, import_sdk_types.EventDefinition)(
|
|
2438
|
+
var onOperationDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2439
2439
|
"wix.restaurants.operations.v1.operation_deleted",
|
|
2440
2440
|
true,
|
|
2441
2441
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2456,7 +2456,7 @@ var onOperationDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2456
2456
|
])
|
|
2457
2457
|
)
|
|
2458
2458
|
)();
|
|
2459
|
-
var onOperationUpdated = (0, import_sdk_types.EventDefinition)(
|
|
2459
|
+
var onOperationUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2460
2460
|
"wix.restaurants.operations.v1.operation_updated",
|
|
2461
2461
|
true,
|
|
2462
2462
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2489,7 +2489,7 @@ var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
|
2489
2489
|
var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
|
|
2490
2490
|
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
2491
2491
|
function customQueryOperation(httpClient) {
|
|
2492
|
-
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
2492
|
+
const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
|
|
2493
2493
|
builderQueryFunction: () => queryOperation3(httpClient)(),
|
|
2494
2494
|
typedQueryFunction: (query) => typedQueryOperation2(httpClient)(query),
|
|
2495
2495
|
hasOptionsParameter: false
|
|
@@ -2532,8 +2532,12 @@ var validateOperationAddress4 = /* @__PURE__ */ (0, import_rest_modules3.createR
|
|
|
2532
2532
|
var bulkUpdateOperationTags4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateOperationTags3);
|
|
2533
2533
|
var bulkUpdateOperationTagsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateOperationTagsByFilter3);
|
|
2534
2534
|
var queryOperation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryOperation);
|
|
2535
|
-
var onOperationDeleted2 = (0, import_event_definition_modules.createEventModule)(
|
|
2536
|
-
|
|
2535
|
+
var onOperationDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
2536
|
+
onOperationDeleted
|
|
2537
|
+
);
|
|
2538
|
+
var onOperationUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
2539
|
+
onOperationUpdated
|
|
2540
|
+
);
|
|
2537
2541
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2538
2542
|
0 && (module.exports = {
|
|
2539
2543
|
ActivationType,
|