@wix/table-reservations 1.0.73 → 1.0.75
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/src/table-reservations-v1-reservation-location.context.js +8 -4
- package/build/cjs/src/table-reservations-v1-reservation-location.context.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.http.d.ts +4 -5
- package/build/cjs/src/table-reservations-v1-reservation-location.http.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.public.d.ts +2 -10
- package/build/cjs/src/table-reservations-v1-reservation-location.public.js +4 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.public.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.types.d.ts +259 -7
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js +25 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.d.ts +259 -28
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js +25 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.context.js +16 -8
- package/build/cjs/src/table-reservations-v1-reservation.context.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.http.d.ts +8 -9
- package/build/cjs/src/table-reservations-v1-reservation.http.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.context.js +2 -1
- package/build/cjs/src/table-reservations-v1-time-slot.context.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.http.d.ts +1 -2
- package/build/cjs/src/table-reservations-v1-time-slot.http.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.context.js +8 -4
- package/build/es/src/table-reservations-v1-reservation-location.context.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.http.d.ts +4 -5
- package/build/es/src/table-reservations-v1-reservation-location.http.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.public.d.ts +2 -10
- package/build/es/src/table-reservations-v1-reservation-location.public.js +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.public.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.types.d.ts +259 -7
- package/build/es/src/table-reservations-v1-reservation-location.types.js +24 -0
- package/build/es/src/table-reservations-v1-reservation-location.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.universal.d.ts +259 -28
- package/build/es/src/table-reservations-v1-reservation-location.universal.js +24 -0
- package/build/es/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.context.js +16 -8
- package/build/es/src/table-reservations-v1-reservation.context.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.http.d.ts +8 -9
- package/build/es/src/table-reservations-v1-reservation.http.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.context.js +2 -1
- package/build/es/src/table-reservations-v1-time-slot.context.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.http.d.ts +1 -2
- package/build/es/src/table-reservations-v1-time-slot.http.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { getTimeSlots as publicGetTimeSlots } from './table-reservations-v1-time-slot.public';
|
|
2
2
|
export const getTimeSlots = (...args) => {
|
|
3
|
+
var _a;
|
|
3
4
|
// @ts-expect-error
|
|
4
5
|
if (!globalThis.__wix_context__) {
|
|
5
6
|
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
7
|
}
|
|
7
8
|
// @ts-expect-error
|
|
8
9
|
return globalThis.__wix_context__
|
|
9
|
-
.initWixModules(publicGetTimeSlots)
|
|
10
|
+
.initWixModules(publicGetTimeSlots, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
10
11
|
.apply(undefined, args);
|
|
11
12
|
};
|
|
12
13
|
//# sourceMappingURL=table-reservations-v1-time-slot.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-time-slot.context.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAG9F,MAAM,CAAC,MAAM,YAAY,GAAiD,CACxE,GAAG,IAAS,EACZ,EAAE
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-time-slot.context.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAG9F,MAAM,CAAC,MAAM,YAAY,GAAiD,CACxE,GAAG,IAAS,EACZ,EAAE;;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,kBAAkB,EAAE,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;SACvE,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { GetTimeSlotsRequest, GetTimeSlotsResponse, GetTimeSlotsResponseNonNullableFields } from './table-reservations-v1-time-slot.types';
|
|
3
2
|
/**
|
|
4
3
|
* Returns a list of time slots at a given restaurant on a given `date`, and their availability for a given `partySize`.
|
|
5
4
|
*
|
|
@@ -11,4 +10,4 @@ import { GetTimeSlotsRequest, GetTimeSlotsResponse, GetTimeSlotsResponseNonNulla
|
|
|
11
10
|
*
|
|
12
11
|
* The `startDate`s of time slots in the response are 15 minutes apart regardless of the `duration` provided.
|
|
13
12
|
*/
|
|
14
|
-
export declare function getTimeSlots(payload:
|
|
13
|
+
export declare function getTimeSlots(payload: object): RequestOptionsFactory<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-time-slot.http.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-time-slot.http.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD,SAAS,wDAAwD,CAC/D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uCAAuC;gBAChD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,uCAAuC;gBAChD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,uCAAuC;gBAChD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,uCAAuC;gBAChD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,kCAAkC;gBAC3C,QAAQ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AAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,cAAc,CAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,oCAAoC;oBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;iBACzC;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/table-reservations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
"falconPackageHash": "
|
|
38
|
+
"falconPackageHash": "a7fbafdfe7d2ada81106fe70d5531074011e9d6d16bf028d6625b377"
|
|
39
39
|
}
|