@wix/bookings 1.0.252 → 1.0.253

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.
Files changed (88) hide show
  1. package/build/cjs/meta.d.ts +10 -0
  2. package/build/cjs/meta.js +33 -0
  3. package/build/cjs/meta.js.map +1 -0
  4. package/build/cjs/src/bookings-availability-v1-slot-availability.meta.d.ts +13 -0
  5. package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js +43 -0
  6. package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js.map +1 -0
  7. package/build/cjs/src/bookings-calendar-v1-session.meta.d.ts +24 -0
  8. package/build/cjs/src/bookings-calendar-v1-session.meta.js +138 -0
  9. package/build/cjs/src/bookings-calendar-v1-session.meta.js.map +1 -0
  10. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +2 -2
  11. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +4 -4
  12. package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.d.ts +29 -0
  13. package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js +195 -0
  14. package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js.map +1 -0
  15. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +6 -6
  16. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +6 -6
  17. package/build/cjs/src/bookings-calendar-v2-session-view.meta.d.ts +13 -0
  18. package/build/cjs/src/bookings-calendar-v2-session-view.meta.js +43 -0
  19. package/build/cjs/src/bookings-calendar-v2-session-view.meta.js.map +1 -0
  20. package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +6 -6
  21. package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +6 -6
  22. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +29 -0
  23. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js +163 -0
  24. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js.map +1 -0
  25. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +6 -6
  26. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +6 -6
  27. package/build/cjs/src/bookings-reader-v2-extended-booking.meta.d.ts +13 -0
  28. package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js +43 -0
  29. package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js.map +1 -0
  30. package/build/cjs/src/bookings-services-v2-service.meta.d.ts +23 -0
  31. package/build/cjs/src/bookings-services-v2-service.meta.js +119 -0
  32. package/build/cjs/src/bookings-services-v2-service.meta.js.map +1 -0
  33. package/build/cjs/src/bookings-services-v2-service.types.d.ts +6 -6
  34. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +6 -6
  35. package/build/cjs/src/bookings-v2-attendance.meta.d.ts +17 -0
  36. package/build/cjs/src/bookings-v2-attendance.meta.js +81 -0
  37. package/build/cjs/src/bookings-v2-attendance.meta.js.map +1 -0
  38. package/build/cjs/src/bookings-v2-booking.meta.d.ts +36 -0
  39. package/build/cjs/src/bookings-v2-booking.meta.js +214 -0
  40. package/build/cjs/src/bookings-v2-booking.meta.js.map +1 -0
  41. package/build/cjs/src/bookings-v2-price-info.meta.d.ts +14 -0
  42. package/build/cjs/src/bookings-v2-price-info.meta.js +62 -0
  43. package/build/cjs/src/bookings-v2-price-info.meta.js.map +1 -0
  44. package/build/es/meta.d.ts +10 -0
  45. package/build/es/meta.js +11 -0
  46. package/build/es/meta.js.map +1 -0
  47. package/build/es/src/bookings-availability-v1-slot-availability.meta.d.ts +13 -0
  48. package/build/es/src/bookings-availability-v1-slot-availability.meta.js +20 -0
  49. package/build/es/src/bookings-availability-v1-slot-availability.meta.js.map +1 -0
  50. package/build/es/src/bookings-calendar-v1-session.meta.d.ts +24 -0
  51. package/build/es/src/bookings-calendar-v1-session.meta.js +110 -0
  52. package/build/es/src/bookings-calendar-v1-session.meta.js.map +1 -0
  53. package/build/es/src/bookings-calendar-v1-session.types.d.ts +2 -2
  54. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +4 -4
  55. package/build/es/src/bookings-calendar-v2-external-calendar.meta.d.ts +29 -0
  56. package/build/es/src/bookings-calendar-v2-external-calendar.meta.js +164 -0
  57. package/build/es/src/bookings-calendar-v2-external-calendar.meta.js.map +1 -0
  58. package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +6 -6
  59. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +6 -6
  60. package/build/es/src/bookings-calendar-v2-session-view.meta.d.ts +13 -0
  61. package/build/es/src/bookings-calendar-v2-session-view.meta.js +20 -0
  62. package/build/es/src/bookings-calendar-v2-session-view.meta.js.map +1 -0
  63. package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +6 -6
  64. package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +6 -6
  65. package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +29 -0
  66. package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.js +134 -0
  67. package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.js.map +1 -0
  68. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +6 -6
  69. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +6 -6
  70. package/build/es/src/bookings-reader-v2-extended-booking.meta.d.ts +13 -0
  71. package/build/es/src/bookings-reader-v2-extended-booking.meta.js +20 -0
  72. package/build/es/src/bookings-reader-v2-extended-booking.meta.js.map +1 -0
  73. package/build/es/src/bookings-services-v2-service.meta.d.ts +23 -0
  74. package/build/es/src/bookings-services-v2-service.meta.js +92 -0
  75. package/build/es/src/bookings-services-v2-service.meta.js.map +1 -0
  76. package/build/es/src/bookings-services-v2-service.types.d.ts +6 -6
  77. package/build/es/src/bookings-services-v2-service.universal.d.ts +6 -6
  78. package/build/es/src/bookings-v2-attendance.meta.d.ts +17 -0
  79. package/build/es/src/bookings-v2-attendance.meta.js +56 -0
  80. package/build/es/src/bookings-v2-attendance.meta.js.map +1 -0
  81. package/build/es/src/bookings-v2-booking.meta.d.ts +36 -0
  82. package/build/es/src/bookings-v2-booking.meta.js +182 -0
  83. package/build/es/src/bookings-v2-booking.meta.js.map +1 -0
  84. package/build/es/src/bookings-v2-price-info.meta.d.ts +14 -0
  85. package/build/es/src/bookings-v2-price-info.meta.js +38 -0
  86. package/build/es/src/bookings-v2-price-info.meta.js.map +1 -0
  87. package/meta/package.json +6 -0
  88. package/package.json +4 -3
@@ -552,7 +552,7 @@ export interface Schedule {
552
552
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
553
553
  title?: string | null;
554
554
  /**
555
- * Deprecated and will be removed soon.
555
+ * __Deprecated.__
556
556
  * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
557
557
  * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
558
558
  */
@@ -566,7 +566,7 @@ export interface Schedule {
566
566
  capacity?: number | null;
567
567
  /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
568
568
  rate?: Rate;
569
- /** Deprecated and will be removed soon. */
569
+ /** __Deprecated.__ */
570
570
  availability?: Availability;
571
571
  /**
572
572
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -580,7 +580,7 @@ export interface Schedule {
580
580
  * @readonly
581
581
  */
582
582
  participants?: Participant[];
583
- /** Deprecated and will be removed soon. */
583
+ /** __Deprecated.__ */
584
584
  externalCalendarOverrides?: ExternalCalendarOverrides;
585
585
  /**
586
586
  * Schedule status.
@@ -607,7 +607,7 @@ export interface Schedule {
607
607
  * @readonly
608
608
  */
609
609
  inheritedFields?: string[];
610
- /** Deprecated and will be removed soon. */
610
+ /** __Deprecated.__ */
611
611
  conferenceProvider?: ConferenceProvider;
612
612
  /**
613
613
  * A conference created for the schedule. This is used when a participant is added to a schedule.
@@ -1169,7 +1169,7 @@ export interface Session {
1169
1169
  */
1170
1170
  title?: string | null;
1171
1171
  /**
1172
- * Deprecated and will be removed soon.
1172
+ * __Deprecated.__
1173
1173
  * Tags for the session.
1174
1174
  * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
1175
1175
  */
@@ -1216,7 +1216,7 @@ export interface Session {
1216
1216
  * @readonly
1217
1217
  */
1218
1218
  inheritedFields?: string[];
1219
- /** Deprecated and will be removed soon. */
1219
+ /** __Deprecated.__ */
1220
1220
  externalCalendarOverrides?: ExternalCalendarOverrides;
1221
1221
  /**
1222
1222
  * Session status.
@@ -0,0 +1,13 @@
1
+ import * as ambassadorWixBookingsCalendarV2SessionViewTypes from './bookings-calendar-v2-session-view.types';
2
+ import * as ambassadorWixBookingsCalendarV2SessionViewUniversalTypes from './bookings-calendar-v2-session-view.universal';
3
+ export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function getSessionView(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixBookingsCalendarV2SessionViewUniversalTypes.GetSessionViewRequest, ambassadorWixBookingsCalendarV2SessionViewTypes.GetSessionViewRequest, ambassadorWixBookingsCalendarV2SessionViewUniversalTypes.GetSessionViewResponse, ambassadorWixBookingsCalendarV2SessionViewTypes.GetSessionViewResponse>;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.getSessionView = void 0;
23
+ const ambassadorWixBookingsCalendarV2SessionView = __importStar(require("./bookings-calendar-v2-session-view.http"));
24
+ function getSessionView() {
25
+ const payload = {};
26
+ const getRequestOptions = ambassadorWixBookingsCalendarV2SessionView.getSessionView(payload);
27
+ const getUrl = (context) => {
28
+ const { url } = getRequestOptions(context);
29
+ return url;
30
+ };
31
+ return {
32
+ getUrl,
33
+ httpMethod: 'GET',
34
+ path: '/v2/calendar/sessions/view',
35
+ pathParams: {},
36
+ __requestType: null,
37
+ __originalRequestType: null,
38
+ __responseType: null,
39
+ __originalResponseType: null,
40
+ };
41
+ }
42
+ exports.getSessionView = getSessionView;
43
+ //# sourceMappingURL=bookings-calendar-v2-session-view.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-calendar-v2-session-view.meta.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qHAAuG;AAsBvG,SAAgB,cAAc;IAQ5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,0CAA0C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,wCA4BC"}
@@ -57,7 +57,7 @@ export interface Session {
57
57
  */
58
58
  title?: string | null;
59
59
  /**
60
- * Deprecated and will be removed soon.
60
+ * __Deprecated.__
61
61
  * Tags for the session.
62
62
  * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
63
63
  */
@@ -104,7 +104,7 @@ export interface Session {
104
104
  * @readonly
105
105
  */
106
106
  inheritedFields?: string[];
107
- /** Deprecated and will be removed soon. */
107
+ /** __Deprecated.__ */
108
108
  externalCalendarOverrides?: ExternalCalendarOverrides;
109
109
  /**
110
110
  * Session status.
@@ -779,7 +779,7 @@ export interface Schedule {
779
779
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
780
780
  title?: string | null;
781
781
  /**
782
- * Deprecated and will be removed soon.
782
+ * __Deprecated.__
783
783
  * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
784
784
  * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
785
785
  */
@@ -793,7 +793,7 @@ export interface Schedule {
793
793
  capacity?: number | null;
794
794
  /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
795
795
  rate?: Rate;
796
- /** Deprecated and will be removed soon. */
796
+ /** __Deprecated.__ */
797
797
  availability?: Availability;
798
798
  /**
799
799
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -807,7 +807,7 @@ export interface Schedule {
807
807
  * @readonly
808
808
  */
809
809
  participants?: Participant[];
810
- /** Deprecated and will be removed soon. */
810
+ /** __Deprecated.__ */
811
811
  externalCalendarOverrides?: ExternalCalendarOverrides;
812
812
  /**
813
813
  * Schedule status.
@@ -834,7 +834,7 @@ export interface Schedule {
834
834
  * @readonly
835
835
  */
836
836
  inheritedFields?: string[];
837
- /** Deprecated and will be removed soon. */
837
+ /** __Deprecated.__ */
838
838
  conferenceProvider?: ConferenceProvider;
839
839
  /**
840
840
  * A conference created for the schedule. This is used when a participant is added to a schedule.
@@ -63,7 +63,7 @@ export interface Session {
63
63
  */
64
64
  title?: string | null;
65
65
  /**
66
- * Deprecated and will be removed soon.
66
+ * __Deprecated.__
67
67
  * Tags for the session.
68
68
  * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
69
69
  */
@@ -110,7 +110,7 @@ export interface Session {
110
110
  * @readonly
111
111
  */
112
112
  inheritedFields?: string[];
113
- /** Deprecated and will be removed soon. */
113
+ /** __Deprecated.__ */
114
114
  externalCalendarOverrides?: ExternalCalendarOverrides;
115
115
  /**
116
116
  * Session status.
@@ -783,7 +783,7 @@ export interface Schedule {
783
783
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
784
784
  title?: string | null;
785
785
  /**
786
- * Deprecated and will be removed soon.
786
+ * __Deprecated.__
787
787
  * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
788
788
  * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
789
789
  */
@@ -797,7 +797,7 @@ export interface Schedule {
797
797
  capacity?: number | null;
798
798
  /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
799
799
  rate?: Rate;
800
- /** Deprecated and will be removed soon. */
800
+ /** __Deprecated.__ */
801
801
  availability?: Availability;
802
802
  /**
803
803
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -811,7 +811,7 @@ export interface Schedule {
811
811
  * @readonly
812
812
  */
813
813
  participants?: Participant[];
814
- /** Deprecated and will be removed soon. */
814
+ /** __Deprecated.__ */
815
815
  externalCalendarOverrides?: ExternalCalendarOverrides;
816
816
  /**
817
817
  * Schedule status.
@@ -838,7 +838,7 @@ export interface Schedule {
838
838
  * @readonly
839
839
  */
840
840
  inheritedFields?: string[];
841
- /** Deprecated and will be removed soon. */
841
+ /** __Deprecated.__ */
842
842
  conferenceProvider?: ConferenceProvider;
843
843
  /**
844
844
  * A conference created for the schedule. This is used when a participant is added to a schedule.
@@ -0,0 +1,29 @@
1
+ import * as ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes from './bookings-catalog-v1-service-options-and-variants.types';
2
+ import * as ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes from './bookings-catalog-v1-service-options-and-variants.universal';
3
+ export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function createServiceOptionsAndVariants(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.CreateServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.CreateServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.CreateServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.CreateServiceOptionsAndVariantsResponseNonNullableFields, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.CreateServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.CreateServiceOptionsAndVariantsResponseNonNullableFields>;
14
+ export declare function cloneServiceOptionsAndVariants(): __PublicMethodMetaInfo<'POST', {
15
+ cloneFromId: string;
16
+ }, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.CloneServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.CloneServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.CloneServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.CloneServiceOptionsAndVariantsResponseNonNullableFields, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.CloneServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.CloneServiceOptionsAndVariantsResponseNonNullableFields>;
17
+ export declare function getServiceOptionsAndVariants(): __PublicMethodMetaInfo<'GET', {
18
+ serviceOptionsAndVariantsId: string;
19
+ }, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.GetServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.GetServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.GetServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.GetServiceOptionsAndVariantsResponseNonNullableFields, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.GetServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.GetServiceOptionsAndVariantsResponseNonNullableFields>;
20
+ export declare function getServiceOptionsAndVariantsByServiceId(): __PublicMethodMetaInfo<'GET', {
21
+ serviceId: string;
22
+ }, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.GetServiceOptionsAndVariantsByServiceIdRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.GetServiceOptionsAndVariantsByServiceIdRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.GetServiceOptionsAndVariantsByServiceIdResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.GetServiceOptionsAndVariantsByServiceIdResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields>;
23
+ export declare function updateServiceOptionsAndVariants(): __PublicMethodMetaInfo<'PATCH', {
24
+ serviceOptionsAndVariantsId: string;
25
+ }, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.UpdateServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.UpdateServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.UpdateServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.UpdateServiceOptionsAndVariantsResponseNonNullableFields, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.UpdateServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.UpdateServiceOptionsAndVariantsResponseNonNullableFields>;
26
+ export declare function deleteServiceOptionsAndVariants(): __PublicMethodMetaInfo<'DELETE', {
27
+ serviceOptionsAndVariantsId: string;
28
+ }, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.DeleteServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.DeleteServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.DeleteServiceOptionsAndVariantsResponse, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.DeleteServiceOptionsAndVariantsResponse>;
29
+ export declare function queryServiceOptionsAndVariants(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.QueryServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.QueryServiceOptionsAndVariantsRequest, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.QueryServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsUniversalTypes.QueryServiceOptionsAndVariantsResponseNonNullableFields, ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.QueryServiceOptionsAndVariantsResponse & ambassadorWixBookingsCatalogV1ServiceOptionsAndVariantsTypes.QueryServiceOptionsAndVariantsResponseNonNullableFields>;
@@ -0,0 +1,163 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.queryServiceOptionsAndVariants = exports.deleteServiceOptionsAndVariants = exports.updateServiceOptionsAndVariants = exports.getServiceOptionsAndVariantsByServiceId = exports.getServiceOptionsAndVariants = exports.cloneServiceOptionsAndVariants = exports.createServiceOptionsAndVariants = void 0;
23
+ const ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants = __importStar(require("./bookings-catalog-v1-service-options-and-variants.http"));
24
+ function createServiceOptionsAndVariants() {
25
+ const payload = {};
26
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.createServiceOptionsAndVariants(payload);
27
+ const getUrl = (context) => {
28
+ const { url } = getRequestOptions(context);
29
+ return url;
30
+ };
31
+ return {
32
+ getUrl,
33
+ httpMethod: 'POST',
34
+ path: '/v1/serviceOptionsAndVariants',
35
+ pathParams: {},
36
+ __requestType: null,
37
+ __originalRequestType: null,
38
+ __responseType: null,
39
+ __originalResponseType: null,
40
+ };
41
+ }
42
+ exports.createServiceOptionsAndVariants = createServiceOptionsAndVariants;
43
+ function cloneServiceOptionsAndVariants() {
44
+ const payload = { cloneFromId: ':cloneFromId' };
45
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.cloneServiceOptionsAndVariants(payload);
46
+ const getUrl = (context) => {
47
+ const { url } = getRequestOptions(context);
48
+ return url;
49
+ };
50
+ return {
51
+ getUrl,
52
+ httpMethod: 'POST',
53
+ path: '/v1/serviceOptionsAndVariants/{cloneFromId}/clone',
54
+ pathParams: { cloneFromId: 'cloneFromId' },
55
+ __requestType: null,
56
+ __originalRequestType: null,
57
+ __responseType: null,
58
+ __originalResponseType: null,
59
+ };
60
+ }
61
+ exports.cloneServiceOptionsAndVariants = cloneServiceOptionsAndVariants;
62
+ function getServiceOptionsAndVariants() {
63
+ const payload = {
64
+ serviceOptionsAndVariantsId: ':serviceOptionsAndVariantsId',
65
+ };
66
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.getServiceOptionsAndVariants(payload);
67
+ const getUrl = (context) => {
68
+ const { url } = getRequestOptions(context);
69
+ return url;
70
+ };
71
+ return {
72
+ getUrl,
73
+ httpMethod: 'GET',
74
+ path: '/v1/serviceOptionsAndVariants/{serviceOptionsAndVariantsId}',
75
+ pathParams: { serviceOptionsAndVariantsId: 'serviceOptionsAndVariantsId' },
76
+ __requestType: null,
77
+ __originalRequestType: null,
78
+ __responseType: null,
79
+ __originalResponseType: null,
80
+ };
81
+ }
82
+ exports.getServiceOptionsAndVariants = getServiceOptionsAndVariants;
83
+ function getServiceOptionsAndVariantsByServiceId() {
84
+ const payload = { serviceId: ':serviceId' };
85
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.getServiceOptionsAndVariantsByServiceId(payload);
86
+ const getUrl = (context) => {
87
+ const { url } = getRequestOptions(context);
88
+ return url;
89
+ };
90
+ return {
91
+ getUrl,
92
+ httpMethod: 'GET',
93
+ path: '/v1/serviceOptionsAndVariants/service_id/{serviceId}',
94
+ pathParams: { serviceId: 'serviceId' },
95
+ __requestType: null,
96
+ __originalRequestType: null,
97
+ __responseType: null,
98
+ __originalResponseType: null,
99
+ };
100
+ }
101
+ exports.getServiceOptionsAndVariantsByServiceId = getServiceOptionsAndVariantsByServiceId;
102
+ function updateServiceOptionsAndVariants() {
103
+ const payload = {
104
+ serviceOptionsAndVariants: { id: ':serviceOptionsAndVariantsId' },
105
+ };
106
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.updateServiceOptionsAndVariants(payload);
107
+ const getUrl = (context) => {
108
+ const { url } = getRequestOptions(context);
109
+ return url;
110
+ };
111
+ return {
112
+ getUrl,
113
+ httpMethod: 'PATCH',
114
+ path: '/v1/serviceOptionsAndVariants/{serviceOptionsAndVariants.id}',
115
+ pathParams: { serviceOptionsAndVariantsId: 'serviceOptionsAndVariantsId' },
116
+ __requestType: null,
117
+ __originalRequestType: null,
118
+ __responseType: null,
119
+ __originalResponseType: null,
120
+ };
121
+ }
122
+ exports.updateServiceOptionsAndVariants = updateServiceOptionsAndVariants;
123
+ function deleteServiceOptionsAndVariants() {
124
+ const payload = {
125
+ serviceOptionsAndVariantsId: ':serviceOptionsAndVariantsId',
126
+ };
127
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.deleteServiceOptionsAndVariants(payload);
128
+ const getUrl = (context) => {
129
+ const { url } = getRequestOptions(context);
130
+ return url;
131
+ };
132
+ return {
133
+ getUrl,
134
+ httpMethod: 'DELETE',
135
+ path: '/v1/serviceOptionsAndVariants/{serviceOptionsAndVariantsId}',
136
+ pathParams: { serviceOptionsAndVariantsId: 'serviceOptionsAndVariantsId' },
137
+ __requestType: null,
138
+ __originalRequestType: null,
139
+ __responseType: null,
140
+ __originalResponseType: null,
141
+ };
142
+ }
143
+ exports.deleteServiceOptionsAndVariants = deleteServiceOptionsAndVariants;
144
+ function queryServiceOptionsAndVariants() {
145
+ const payload = {};
146
+ const getRequestOptions = ambassadorWixBookingsCatalogV1ServiceOptionsAndVariants.queryServiceOptionsAndVariants(payload);
147
+ const getUrl = (context) => {
148
+ const { url } = getRequestOptions(context);
149
+ return url;
150
+ };
151
+ return {
152
+ getUrl,
153
+ httpMethod: 'POST',
154
+ path: '/v1/serviceOptionsAndVariants/query',
155
+ pathParams: {},
156
+ __requestType: null,
157
+ __originalRequestType: null,
158
+ __responseType: null,
159
+ __originalResponseType: null,
160
+ };
161
+ }
162
+ exports.queryServiceOptionsAndVariants = queryServiceOptionsAndVariants;
163
+ //# sourceMappingURL=bookings-catalog-v1-service-options-and-variants.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-catalog-v1-service-options-and-variants.meta.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-service-options-and-variants.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,iJAAmI;AAsBnI,SAAgB,+BAA+B;IAU7C,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,uDAAuD,CAAC,+BAA+B,CACrF,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC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,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAhCD,wEAgCC"}
@@ -363,7 +363,7 @@ export interface Schedule {
363
363
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
364
364
  title?: string | null;
365
365
  /**
366
- * Deprecated and will be removed soon.
366
+ * __Deprecated.__
367
367
  * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
368
368
  * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
369
369
  */
@@ -377,7 +377,7 @@ export interface Schedule {
377
377
  capacity?: number | null;
378
378
  /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
379
379
  rate?: Rate;
380
- /** Deprecated and will be removed soon. */
380
+ /** __Deprecated.__ */
381
381
  availability?: Availability;
382
382
  /**
383
383
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -391,7 +391,7 @@ export interface Schedule {
391
391
  * @readonly
392
392
  */
393
393
  participants?: Participant[];
394
- /** Deprecated and will be removed soon. */
394
+ /** __Deprecated.__ */
395
395
  externalCalendarOverrides?: ExternalCalendarOverrides;
396
396
  /**
397
397
  * Schedule status.
@@ -418,7 +418,7 @@ export interface Schedule {
418
418
  * @readonly
419
419
  */
420
420
  inheritedFields?: string[];
421
- /** Deprecated and will be removed soon. */
421
+ /** __Deprecated.__ */
422
422
  conferenceProvider?: ConferenceProvider;
423
423
  /**
424
424
  * A conference created for the schedule. This is used when a participant is added to a schedule.
@@ -1287,7 +1287,7 @@ export interface Session {
1287
1287
  */
1288
1288
  title?: string | null;
1289
1289
  /**
1290
- * Deprecated and will be removed soon.
1290
+ * __Deprecated.__
1291
1291
  * Tags for the session.
1292
1292
  * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
1293
1293
  */
@@ -1334,7 +1334,7 @@ export interface Session {
1334
1334
  * @readonly
1335
1335
  */
1336
1336
  inheritedFields?: string[];
1337
- /** Deprecated and will be removed soon. */
1337
+ /** __Deprecated.__ */
1338
1338
  externalCalendarOverrides?: ExternalCalendarOverrides;
1339
1339
  /**
1340
1340
  * Session status.
@@ -346,7 +346,7 @@ export interface Schedule {
346
346
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
347
347
  title?: string | null;
348
348
  /**
349
- * Deprecated and will be removed soon.
349
+ * __Deprecated.__
350
350
  * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
351
351
  * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
352
352
  */
@@ -360,7 +360,7 @@ export interface Schedule {
360
360
  capacity?: number | null;
361
361
  /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
362
362
  rate?: Rate;
363
- /** Deprecated and will be removed soon. */
363
+ /** __Deprecated.__ */
364
364
  availability?: Availability;
365
365
  /**
366
366
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -374,7 +374,7 @@ export interface Schedule {
374
374
  * @readonly
375
375
  */
376
376
  participants?: Participant[];
377
- /** Deprecated and will be removed soon. */
377
+ /** __Deprecated.__ */
378
378
  externalCalendarOverrides?: ExternalCalendarOverrides;
379
379
  /**
380
380
  * Schedule status.
@@ -401,7 +401,7 @@ export interface Schedule {
401
401
  * @readonly
402
402
  */
403
403
  inheritedFields?: string[];
404
- /** Deprecated and will be removed soon. */
404
+ /** __Deprecated.__ */
405
405
  conferenceProvider?: ConferenceProvider;
406
406
  /**
407
407
  * A conference created for the schedule. This is used when a participant is added to a schedule.
@@ -1268,7 +1268,7 @@ export interface Session {
1268
1268
  */
1269
1269
  title?: string | null;
1270
1270
  /**
1271
- * Deprecated and will be removed soon.
1271
+ * __Deprecated.__
1272
1272
  * Tags for the session.
1273
1273
  * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
1274
1274
  */
@@ -1315,7 +1315,7 @@ export interface Session {
1315
1315
  * @readonly
1316
1316
  */
1317
1317
  inheritedFields?: string[];
1318
- /** Deprecated and will be removed soon. */
1318
+ /** __Deprecated.__ */
1319
1319
  externalCalendarOverrides?: ExternalCalendarOverrides;
1320
1320
  /**
1321
1321
  * Session status.
@@ -0,0 +1,13 @@
1
+ import * as ambassadorWixBookingsReaderV2ExtendedBookingTypes from './bookings-reader-v2-extended-booking.types';
2
+ import * as ambassadorWixBookingsReaderV2ExtendedBookingUniversalTypes from './bookings-reader-v2-extended-booking.universal';
3
+ export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function queryExtendedBookings(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBookingsReaderV2ExtendedBookingUniversalTypes.QueryExtendedBookingsRequest, ambassadorWixBookingsReaderV2ExtendedBookingTypes.QueryExtendedBookingsRequest, ambassadorWixBookingsReaderV2ExtendedBookingUniversalTypes.QueryExtendedBookingsResponse & ambassadorWixBookingsReaderV2ExtendedBookingUniversalTypes.QueryExtendedBookingsResponseNonNullableFields, ambassadorWixBookingsReaderV2ExtendedBookingTypes.QueryExtendedBookingsResponse & ambassadorWixBookingsReaderV2ExtendedBookingTypes.QueryExtendedBookingsResponseNonNullableFields>;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.queryExtendedBookings = void 0;
23
+ const ambassadorWixBookingsReaderV2ExtendedBooking = __importStar(require("./bookings-reader-v2-extended-booking.http"));
24
+ function queryExtendedBookings() {
25
+ const payload = {};
26
+ const getRequestOptions = ambassadorWixBookingsReaderV2ExtendedBooking.queryExtendedBookings(payload);
27
+ const getUrl = (context) => {
28
+ const { url } = getRequestOptions(context);
29
+ return url;
30
+ };
31
+ return {
32
+ getUrl,
33
+ httpMethod: 'POST',
34
+ path: '/v2/extended-bookings/query',
35
+ pathParams: {},
36
+ __requestType: null,
37
+ __originalRequestType: null,
38
+ __responseType: null,
39
+ __originalResponseType: null,
40
+ };
41
+ }
42
+ exports.queryExtendedBookings = queryExtendedBookings;
43
+ //# sourceMappingURL=bookings-reader-v2-extended-booking.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-reader-v2-extended-booking.meta.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,yHAA2G;AAsB3G,SAAgB,qBAAqB;IAUnC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,4CAA4C,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAE9E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,6BAA6B;QACnC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,sDA8BC"}
@@ -0,0 +1,23 @@
1
+ import * as ambassadorWixBookingsServicesV2ServiceTypes from './bookings-services-v2-service.types';
2
+ import * as ambassadorWixBookingsServicesV2ServiceUniversalTypes from './bookings-services-v2-service.universal';
3
+ export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function createService(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBookingsServicesV2ServiceUniversalTypes.CreateServiceRequest, ambassadorWixBookingsServicesV2ServiceTypes.CreateServiceRequest, ambassadorWixBookingsServicesV2ServiceUniversalTypes.CreateServiceResponse & ambassadorWixBookingsServicesV2ServiceUniversalTypes.CreateServiceResponseNonNullableFields, ambassadorWixBookingsServicesV2ServiceTypes.CreateServiceResponse & ambassadorWixBookingsServicesV2ServiceTypes.CreateServiceResponseNonNullableFields>;
14
+ export declare function getService(): __PublicMethodMetaInfo<'GET', {
15
+ serviceId: string;
16
+ }, ambassadorWixBookingsServicesV2ServiceUniversalTypes.GetServiceRequest, ambassadorWixBookingsServicesV2ServiceTypes.GetServiceRequest, ambassadorWixBookingsServicesV2ServiceUniversalTypes.GetServiceResponse & ambassadorWixBookingsServicesV2ServiceUniversalTypes.GetServiceResponseNonNullableFields, ambassadorWixBookingsServicesV2ServiceTypes.GetServiceResponse & ambassadorWixBookingsServicesV2ServiceTypes.GetServiceResponseNonNullableFields>;
17
+ export declare function updateService(): __PublicMethodMetaInfo<'PATCH', {
18
+ serviceId: string;
19
+ }, ambassadorWixBookingsServicesV2ServiceUniversalTypes.UpdateServiceRequest, ambassadorWixBookingsServicesV2ServiceTypes.UpdateServiceRequest, ambassadorWixBookingsServicesV2ServiceUniversalTypes.UpdateServiceResponse & ambassadorWixBookingsServicesV2ServiceUniversalTypes.UpdateServiceResponseNonNullableFields, ambassadorWixBookingsServicesV2ServiceTypes.UpdateServiceResponse & ambassadorWixBookingsServicesV2ServiceTypes.UpdateServiceResponseNonNullableFields>;
20
+ export declare function deleteService(): __PublicMethodMetaInfo<'DELETE', {
21
+ serviceId: string;
22
+ }, ambassadorWixBookingsServicesV2ServiceUniversalTypes.DeleteServiceRequest, ambassadorWixBookingsServicesV2ServiceTypes.DeleteServiceRequest, ambassadorWixBookingsServicesV2ServiceUniversalTypes.DeleteServiceResponse, ambassadorWixBookingsServicesV2ServiceTypes.DeleteServiceResponse>;
23
+ export declare function queryServices(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryServicesRequest, ambassadorWixBookingsServicesV2ServiceTypes.QueryServicesRequest, ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryServicesResponse & ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryServicesResponseNonNullableFields, ambassadorWixBookingsServicesV2ServiceTypes.QueryServicesResponse & ambassadorWixBookingsServicesV2ServiceTypes.QueryServicesResponseNonNullableFields>;