@wix/table-reservations 1.0.99 → 1.0.101

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/table-reservations",
3
- "version": "1.0.99",
3
+ "version": "1.0.101",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/table-reservations_reservation-locations": "1.0.34",
22
- "@wix/table-reservations_reservations": "1.0.30",
23
- "@wix/table-reservations_time-slots": "1.0.23"
21
+ "@wix/table-reservations_reservation-locations": "1.0.35",
22
+ "@wix/table-reservations_reservations": "1.0.31",
23
+ "@wix/table-reservations_time-slots": "1.0.25"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -44,5 +44,5 @@
44
44
  "fqdn": ""
45
45
  }
46
46
  },
47
- "falconPackageHash": "7c6facea4a364decbf4791e92f32f863118c066d05f521124251e314"
47
+ "falconPackageHash": "382cff5dfaea68b8d0c6d7c09dd27fd159844ad971bd3bb1094bfe70"
48
48
  }
@@ -941,41 +941,41 @@ interface ReservationsQueryBuilder {
941
941
  find: () => Promise<ReservationsQueryResult>;
942
942
  }
943
943
 
944
- type RESTFunctionDescriptor$2<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$2) => T;
945
- interface HttpClient$2 {
946
- request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
944
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
945
+ interface HttpClient {
946
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
947
947
  fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
948
948
  }
949
- type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
950
- type HttpResponse$2<T = any> = {
949
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
950
+ type HttpResponse<T = any> = {
951
951
  data: T;
952
952
  status: number;
953
953
  statusText: string;
954
954
  headers: any;
955
955
  request?: any;
956
956
  };
957
- type RequestOptions$2<_TResponse = any, Data = any> = {
957
+ type RequestOptions<_TResponse = any, Data = any> = {
958
958
  method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
959
959
  url: string;
960
960
  data?: Data;
961
961
  params?: URLSearchParams;
962
- } & APIMetadata$2;
963
- type APIMetadata$2 = {
962
+ } & APIMetadata;
963
+ type APIMetadata = {
964
964
  methodFqn?: string;
965
965
  entityFqdn?: string;
966
966
  packageName?: string;
967
967
  };
968
- type BuildRESTFunction$2<T extends RESTFunctionDescriptor$2> = T extends RESTFunctionDescriptor$2<infer U> ? U : never;
969
- type EventDefinition$1<Payload = unknown, Type extends string = string> = {
968
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
969
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
970
970
  __type: 'event-definition';
971
971
  type: Type;
972
972
  isDomainEvent?: boolean;
973
973
  transformations?: (envelope: unknown) => Payload;
974
974
  __payload: Payload;
975
975
  };
976
- declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
977
- type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
978
- type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
976
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
977
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
978
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
979
979
 
980
980
  declare global {
981
981
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -984,39 +984,39 @@ declare global {
984
984
  }
985
985
  }
986
986
 
987
- declare function createReservation$1(httpClient: HttpClient$2): (reservation: Reservation, options?: CreateReservationOptions) => Promise<Reservation & {
987
+ declare function createReservation$1(httpClient: HttpClient): (reservation: Reservation, options?: CreateReservationOptions) => Promise<Reservation & {
988
988
  status: Status$1;
989
989
  source: Source;
990
990
  paymentStatus: PaymentStatus;
991
991
  }>;
992
- declare function getReservation$1(httpClient: HttpClient$2): (reservationId: string, options?: GetReservationOptions) => Promise<Reservation & {
992
+ declare function getReservation$1(httpClient: HttpClient): (reservationId: string, options?: GetReservationOptions) => Promise<Reservation & {
993
993
  status: Status$1;
994
994
  source: Source;
995
995
  paymentStatus: PaymentStatus;
996
996
  }>;
997
- declare function updateReservation$1(httpClient: HttpClient$2): (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions) => Promise<Reservation & {
997
+ declare function updateReservation$1(httpClient: HttpClient): (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions) => Promise<Reservation & {
998
998
  status: Status$1;
999
999
  source: Source;
1000
1000
  paymentStatus: PaymentStatus;
1001
1001
  }>;
1002
- declare function createHeldReservation$1(httpClient: HttpClient$2): (reservationDetails: HeldReservationDetails) => Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
1003
- declare function reserveReservation$1(httpClient: HttpClient$2): (reservationId: string, reservee: Reservee, revision: string | null) => Promise<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
1004
- declare function cancelReservation$1(httpClient: HttpClient$2): (reservationId: string, revision: string | null, options?: CancelReservationOptions) => Promise<CancelReservationResponse & CancelReservationResponseNonNullableFields>;
1005
- declare function listReservations$1(httpClient: HttpClient$2): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1006
- declare function queryReservations$1(httpClient: HttpClient$2): () => ReservationsQueryBuilder;
1007
- declare function searchReservations$1(httpClient: HttpClient$2): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1008
- declare const onReservationCreated$1: EventDefinition$1<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1002
+ declare function createHeldReservation$1(httpClient: HttpClient): (reservationDetails: HeldReservationDetails) => Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
1003
+ declare function reserveReservation$1(httpClient: HttpClient): (reservationId: string, reservee: Reservee, revision: string | null) => Promise<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
1004
+ declare function cancelReservation$1(httpClient: HttpClient): (reservationId: string, revision: string | null, options?: CancelReservationOptions) => Promise<CancelReservationResponse & CancelReservationResponseNonNullableFields>;
1005
+ declare function listReservations$1(httpClient: HttpClient): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1006
+ declare function queryReservations$1(httpClient: HttpClient): () => ReservationsQueryBuilder;
1007
+ declare function searchReservations$1(httpClient: HttpClient): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1008
+ declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1009
1009
 
1010
- declare const createReservation: BuildRESTFunction$2<typeof createReservation$1>;
1011
- declare const getReservation: BuildRESTFunction$2<typeof getReservation$1>;
1012
- declare const updateReservation: BuildRESTFunction$2<typeof updateReservation$1>;
1013
- declare const createHeldReservation: BuildRESTFunction$2<typeof createHeldReservation$1>;
1014
- declare const reserveReservation: BuildRESTFunction$2<typeof reserveReservation$1>;
1015
- declare const cancelReservation: BuildRESTFunction$2<typeof cancelReservation$1>;
1016
- declare const listReservations: BuildRESTFunction$2<typeof listReservations$1>;
1017
- declare const queryReservations: BuildRESTFunction$2<typeof queryReservations$1>;
1018
- declare const searchReservations: BuildRESTFunction$2<typeof searchReservations$1>;
1019
- declare const onReservationCreated: BuildEventDefinition$1<typeof onReservationCreated$1>;
1010
+ declare const createReservation: BuildRESTFunction<typeof createReservation$1>;
1011
+ declare const getReservation: BuildRESTFunction<typeof getReservation$1>;
1012
+ declare const updateReservation: BuildRESTFunction<typeof updateReservation$1>;
1013
+ declare const createHeldReservation: BuildRESTFunction<typeof createHeldReservation$1>;
1014
+ declare const reserveReservation: BuildRESTFunction<typeof reserveReservation$1>;
1015
+ declare const cancelReservation: BuildRESTFunction<typeof cancelReservation$1>;
1016
+ declare const listReservations: BuildRESTFunction<typeof listReservations$1>;
1017
+ declare const queryReservations: BuildRESTFunction<typeof queryReservations$1>;
1018
+ declare const searchReservations: BuildRESTFunction<typeof searchReservations$1>;
1019
+ declare const onReservationCreated: BuildEventDefinition<typeof onReservationCreated$1>;
1020
1020
 
1021
1021
  declare const context$2_cancelReservation: typeof cancelReservation;
1022
1022
  declare const context$2_createHeldReservation: typeof createHeldReservation;
@@ -1791,50 +1791,7 @@ interface ListReservationLocationsOptions {
1791
1791
  fieldsets?: Set[];
1792
1792
  }
1793
1793
 
1794
- type RESTFunctionDescriptor$1<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$1) => T;
1795
- interface HttpClient$1 {
1796
- request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
1797
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
1798
- }
1799
- type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
1800
- type HttpResponse$1<T = any> = {
1801
- data: T;
1802
- status: number;
1803
- statusText: string;
1804
- headers: any;
1805
- request?: any;
1806
- };
1807
- type RequestOptions$1<_TResponse = any, Data = any> = {
1808
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1809
- url: string;
1810
- data?: Data;
1811
- params?: URLSearchParams;
1812
- } & APIMetadata$1;
1813
- type APIMetadata$1 = {
1814
- methodFqn?: string;
1815
- entityFqdn?: string;
1816
- packageName?: string;
1817
- };
1818
- type BuildRESTFunction$1<T extends RESTFunctionDescriptor$1> = T extends RESTFunctionDescriptor$1<infer U> ? U : never;
1819
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1820
- __type: 'event-definition';
1821
- type: Type;
1822
- isDomainEvent?: boolean;
1823
- transformations?: (envelope: unknown) => Payload;
1824
- __payload: Payload;
1825
- };
1826
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1827
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1828
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1829
-
1830
- declare global {
1831
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1832
- interface SymbolConstructor {
1833
- readonly observable: symbol;
1834
- }
1835
- }
1836
-
1837
- declare function getReservationLocation$1(httpClient: HttpClient$1): (reservationLocationId: string, options?: GetReservationLocationOptions) => Promise<ReservationLocation & {
1794
+ declare function getReservationLocation$1(httpClient: HttpClient): (reservationLocationId: string, options?: GetReservationLocationOptions) => Promise<ReservationLocation & {
1838
1795
  configuration?: {
1839
1796
  onlineReservations?: {
1840
1797
  seatPacing?: {
@@ -1918,7 +1875,7 @@ declare function getReservationLocation$1(httpClient: HttpClient$1): (reservatio
1918
1875
  } | undefined;
1919
1876
  } | undefined;
1920
1877
  }>;
1921
- declare function updateReservationLocation$1(httpClient: HttpClient$1): (_id: string | null, reservationLocation: UpdateReservationLocation) => Promise<ReservationLocation & {
1878
+ declare function updateReservationLocation$1(httpClient: HttpClient): (_id: string | null, reservationLocation: UpdateReservationLocation) => Promise<ReservationLocation & {
1922
1879
  configuration?: {
1923
1880
  onlineReservations?: {
1924
1881
  seatPacing?: {
@@ -2002,15 +1959,15 @@ declare function updateReservationLocation$1(httpClient: HttpClient$1): (_id: st
2002
1959
  } | undefined;
2003
1960
  } | undefined;
2004
1961
  }>;
2005
- declare function queryReservationLocations$1(httpClient: HttpClient$1): (options?: QueryReservationLocationsOptions) => ReservationLocationsQueryBuilder;
2006
- declare function listReservationLocations$1(httpClient: HttpClient$1): (options?: ListReservationLocationsOptions) => Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
1962
+ declare function queryReservationLocations$1(httpClient: HttpClient): (options?: QueryReservationLocationsOptions) => ReservationLocationsQueryBuilder;
1963
+ declare function listReservationLocations$1(httpClient: HttpClient): (options?: ListReservationLocationsOptions) => Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
2007
1964
  declare const onReservationLocationUpdated$1: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
2008
1965
  declare const onReservationLocationCreated$1: EventDefinition<ReservationLocationCreatedEnvelope, "wix.table_reservations.v1.reservation_location_created">;
2009
1966
 
2010
- declare const getReservationLocation: BuildRESTFunction$1<typeof getReservationLocation$1>;
2011
- declare const updateReservationLocation: BuildRESTFunction$1<typeof updateReservationLocation$1>;
2012
- declare const queryReservationLocations: BuildRESTFunction$1<typeof queryReservationLocations$1>;
2013
- declare const listReservationLocations: BuildRESTFunction$1<typeof listReservationLocations$1>;
1967
+ declare const getReservationLocation: BuildRESTFunction<typeof getReservationLocation$1>;
1968
+ declare const updateReservationLocation: BuildRESTFunction<typeof updateReservationLocation$1>;
1969
+ declare const queryReservationLocations: BuildRESTFunction<typeof queryReservationLocations$1>;
1970
+ declare const listReservationLocations: BuildRESTFunction<typeof listReservationLocations$1>;
2014
1971
  declare const onReservationLocationUpdated: BuildEventDefinition<typeof onReservationLocationUpdated$1>;
2015
1972
  declare const onReservationLocationCreated: BuildEventDefinition<typeof onReservationLocationCreated$1>;
2016
1973
 
@@ -2068,39 +2025,6 @@ interface GetTimeSlotsOptions {
2068
2025
  slotsAfter?: number | null;
2069
2026
  }
2070
2027
 
2071
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2072
- interface HttpClient {
2073
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
2074
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
2075
- }
2076
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
2077
- type HttpResponse<T = any> = {
2078
- data: T;
2079
- status: number;
2080
- statusText: string;
2081
- headers: any;
2082
- request?: any;
2083
- };
2084
- type RequestOptions<_TResponse = any, Data = any> = {
2085
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
2086
- url: string;
2087
- data?: Data;
2088
- params?: URLSearchParams;
2089
- } & APIMetadata;
2090
- type APIMetadata = {
2091
- methodFqn?: string;
2092
- entityFqdn?: string;
2093
- packageName?: string;
2094
- };
2095
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
2096
-
2097
- declare global {
2098
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2099
- interface SymbolConstructor {
2100
- readonly observable: symbol;
2101
- }
2102
- }
2103
-
2104
2028
  declare function getTimeSlots$1(httpClient: HttpClient): (reservationLocationId: string, date: Date, partySize: number | null, options?: GetTimeSlotsOptions) => Promise<GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields>;
2105
2029
 
2106
2030
  declare const getTimeSlots: BuildRESTFunction<typeof getTimeSlots$1>;
@@ -192,6 +192,37 @@ declare enum PaymentStatus {
192
192
  /** A corresponding to reservation order was partially payed. */
193
193
  PARTIALLY_PAID = "PARTIALLY_PAID"
194
194
  }
195
+ interface ReservationDelayedDomainEvent extends ReservationDelayedDomainEventBodyTypeOneOf {
196
+ /** Body of a created reservation event. */
197
+ reservationCreated?: ReservationCreated;
198
+ /** Body of a updated reservation event. */
199
+ reservationUpdated?: ReservationUpdated;
200
+ /** Body of a canceled reservation event. */
201
+ reservationCanceled?: ReservationDelayedDomainEventReservationCanceled;
202
+ }
203
+ /** @oneof */
204
+ interface ReservationDelayedDomainEventBodyTypeOneOf {
205
+ /** Body of a created reservation event. */
206
+ reservationCreated?: ReservationCreated;
207
+ /** Body of a updated reservation event. */
208
+ reservationUpdated?: ReservationUpdated;
209
+ /** Body of a canceled reservation event. */
210
+ reservationCanceled?: ReservationDelayedDomainEventReservationCanceled;
211
+ }
212
+ interface ReservationCreated {
213
+ /** Created reservation. */
214
+ createdReservation?: Reservation;
215
+ }
216
+ interface ReservationUpdated {
217
+ /** Updated reservation. */
218
+ updatedReservation?: Reservation;
219
+ /** Modified fields of previous entity */
220
+ modifiedFields?: Record<string, any>;
221
+ }
222
+ interface ReservationDelayedDomainEventReservationCanceled {
223
+ /** Canceled reservation. */
224
+ canceledReservation?: Reservation;
225
+ }
195
226
  interface CreateReservationRequest {
196
227
  /** Reservation details. */
197
228
  reservation: Reservation;
@@ -799,6 +830,9 @@ interface DomainEventBodyOneOf$1 {
799
830
  interface EntityCreatedEvent$1 {
800
831
  entity?: string;
801
832
  }
833
+ interface RestoreInfo$1 {
834
+ deletedDate?: Date;
835
+ }
802
836
  interface EntityUpdatedEvent$1 {
803
837
  /**
804
838
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -1264,37 +1298,37 @@ interface ReservationsQueryBuilder {
1264
1298
  find: () => Promise<ReservationsQueryResult>;
1265
1299
  }
1266
1300
 
1267
- interface HttpClient$2 {
1268
- request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
1301
+ interface HttpClient {
1302
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1269
1303
  fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
1270
1304
  }
1271
- type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
1272
- type HttpResponse$2<T = any> = {
1305
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1306
+ type HttpResponse<T = any> = {
1273
1307
  data: T;
1274
1308
  status: number;
1275
1309
  statusText: string;
1276
1310
  headers: any;
1277
1311
  request?: any;
1278
1312
  };
1279
- type RequestOptions$2<_TResponse = any, Data = any> = {
1313
+ type RequestOptions<_TResponse = any, Data = any> = {
1280
1314
  method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1281
1315
  url: string;
1282
1316
  data?: Data;
1283
1317
  params?: URLSearchParams;
1284
- } & APIMetadata$2;
1285
- type APIMetadata$2 = {
1318
+ } & APIMetadata;
1319
+ type APIMetadata = {
1286
1320
  methodFqn?: string;
1287
1321
  entityFqdn?: string;
1288
1322
  packageName?: string;
1289
1323
  };
1290
- type EventDefinition$1<Payload = unknown, Type extends string = string> = {
1324
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
1291
1325
  __type: 'event-definition';
1292
1326
  type: Type;
1293
1327
  isDomainEvent?: boolean;
1294
1328
  transformations?: (envelope: unknown) => Payload;
1295
1329
  __payload: Payload;
1296
1330
  };
1297
- declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
1331
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1298
1332
 
1299
1333
  declare global {
1300
1334
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -1306,28 +1340,28 @@ declare global {
1306
1340
  declare const __metadata$2: {
1307
1341
  PACKAGE_NAME: string;
1308
1342
  };
1309
- declare function createReservation(httpClient: HttpClient$2): (reservation: Reservation, options?: CreateReservationOptions) => Promise<Reservation & {
1343
+ declare function createReservation(httpClient: HttpClient): (reservation: Reservation, options?: CreateReservationOptions) => Promise<Reservation & {
1310
1344
  status: Status$1;
1311
1345
  source: Source;
1312
1346
  paymentStatus: PaymentStatus;
1313
1347
  }>;
1314
- declare function getReservation(httpClient: HttpClient$2): (reservationId: string, options?: GetReservationOptions) => Promise<Reservation & {
1348
+ declare function getReservation(httpClient: HttpClient): (reservationId: string, options?: GetReservationOptions) => Promise<Reservation & {
1315
1349
  status: Status$1;
1316
1350
  source: Source;
1317
1351
  paymentStatus: PaymentStatus;
1318
1352
  }>;
1319
- declare function updateReservation(httpClient: HttpClient$2): (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions) => Promise<Reservation & {
1353
+ declare function updateReservation(httpClient: HttpClient): (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions) => Promise<Reservation & {
1320
1354
  status: Status$1;
1321
1355
  source: Source;
1322
1356
  paymentStatus: PaymentStatus;
1323
1357
  }>;
1324
- declare function createHeldReservation(httpClient: HttpClient$2): (reservationDetails: HeldReservationDetails) => Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
1325
- declare function reserveReservation(httpClient: HttpClient$2): (reservationId: string, reservee: Reservee, revision: string | null) => Promise<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
1326
- declare function cancelReservation(httpClient: HttpClient$2): (reservationId: string, revision: string | null, options?: CancelReservationOptions) => Promise<CancelReservationResponse & CancelReservationResponseNonNullableFields>;
1327
- declare function listReservations(httpClient: HttpClient$2): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1328
- declare function queryReservations(httpClient: HttpClient$2): () => ReservationsQueryBuilder;
1329
- declare function searchReservations(httpClient: HttpClient$2): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1330
- declare const onReservationCreated: EventDefinition$1<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1358
+ declare function createHeldReservation(httpClient: HttpClient): (reservationDetails: HeldReservationDetails) => Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
1359
+ declare function reserveReservation(httpClient: HttpClient): (reservationId: string, reservee: Reservee, revision: string | null) => Promise<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
1360
+ declare function cancelReservation(httpClient: HttpClient): (reservationId: string, revision: string | null, options?: CancelReservationOptions) => Promise<CancelReservationResponse & CancelReservationResponseNonNullableFields>;
1361
+ declare function listReservations(httpClient: HttpClient): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1362
+ declare function queryReservations(httpClient: HttpClient): () => ReservationsQueryBuilder;
1363
+ declare function searchReservations(httpClient: HttpClient): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1364
+ declare const onReservationCreated: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1331
1365
 
1332
1366
  type index_d$2_Aggregation = Aggregation;
1333
1367
  type index_d$2_AggregationData = AggregationData;
@@ -1401,9 +1435,14 @@ type index_d$2_RemoveReservationMigrationNotesRequest = RemoveReservationMigrati
1401
1435
  type index_d$2_RemoveReservationMigrationNotesResponse = RemoveReservationMigrationNotesResponse;
1402
1436
  type index_d$2_Reservation = Reservation;
1403
1437
  type index_d$2_ReservationCanceled = ReservationCanceled;
1438
+ type index_d$2_ReservationCreated = ReservationCreated;
1404
1439
  type index_d$2_ReservationCreatedEnvelope = ReservationCreatedEnvelope;
1405
1440
  type index_d$2_ReservationDataUpdated = ReservationDataUpdated;
1441
+ type index_d$2_ReservationDelayedDomainEvent = ReservationDelayedDomainEvent;
1442
+ type index_d$2_ReservationDelayedDomainEventBodyTypeOneOf = ReservationDelayedDomainEventBodyTypeOneOf;
1443
+ type index_d$2_ReservationDelayedDomainEventReservationCanceled = ReservationDelayedDomainEventReservationCanceled;
1406
1444
  type index_d$2_ReservationDetailsConflicts = ReservationDetailsConflicts;
1445
+ type index_d$2_ReservationUpdated = ReservationUpdated;
1407
1446
  type index_d$2_ReservationsQueryBuilder = ReservationsQueryBuilder;
1408
1447
  type index_d$2_ReservationsQueryResult = ReservationsQueryResult;
1409
1448
  type index_d$2_ReserveReservationRequest = ReserveReservationRequest;
@@ -1448,7 +1487,7 @@ declare const index_d$2_reserveReservation: typeof reserveReservation;
1448
1487
  declare const index_d$2_searchReservations: typeof searchReservations;
1449
1488
  declare const index_d$2_updateReservation: typeof updateReservation;
1450
1489
  declare namespace index_d$2 {
1451
- export { type ActionEvent$1 as ActionEvent, type index_d$2_Aggregation as Aggregation, type index_d$2_AggregationData as AggregationData, type index_d$2_AggregationKindOneOf as AggregationKindOneOf, type index_d$2_AggregationResults as AggregationResults, type index_d$2_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type index_d$2_AggregationResultsScalarResult as AggregationResultsScalarResult, index_d$2_AggregationType as AggregationType, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_CancelReservationOptions as CancelReservationOptions, type index_d$2_CancelReservationRequest as CancelReservationRequest, type index_d$2_CancelReservationResponse as CancelReservationResponse, type index_d$2_CancelReservationResponseNonNullableFields as CancelReservationResponseNonNullableFields, type index_d$2_CreateHeldReservationRequest as CreateHeldReservationRequest, type index_d$2_CreateHeldReservationResponse as CreateHeldReservationResponse, type index_d$2_CreateHeldReservationResponseNonNullableFields as CreateHeldReservationResponseNonNullableFields, type index_d$2_CreateReservationOptions as CreateReservationOptions, type index_d$2_CreateReservationRequest as CreateReservationRequest, type index_d$2_CreateReservationResponse as CreateReservationResponse, type index_d$2_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$2_CursorQuery as CursorQuery, type index_d$2_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$2_CursorSearch as CursorSearch, type index_d$2_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$2_DateHistogramAggregation as DateHistogramAggregation, type index_d$2_DateHistogramResult as DateHistogramResult, type index_d$2_DateHistogramResults as DateHistogramResults, type index_d$2_DeleteReservationRequest as DeleteReservationRequest, type index_d$2_DeleteReservationResponse as DeleteReservationResponse, type index_d$2_Details as Details, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetReservationOptions as GetReservationOptions, type index_d$2_GetReservationRequest as GetReservationRequest, type index_d$2_GetReservationResponse as GetReservationResponse, type index_d$2_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type index_d$2_GroupByAggregation as GroupByAggregation, type index_d$2_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type index_d$2_GroupByValueResults as GroupByValueResults, type index_d$2_HeldReservationDetails as HeldReservationDetails, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$2_IncludeMissingValuesOptions as IncludeMissingValuesOptions, index_d$2_Interval as Interval, type index_d$2_ListReservationsOptions as ListReservationsOptions, type index_d$2_ListReservationsRequest as ListReservationsRequest, type index_d$2_ListReservationsResponse as ListReservationsResponse, type index_d$2_ListReservationsResponseNonNullableFields as ListReservationsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MigrationNote as MigrationNote, index_d$2_MissingValues as MissingValues, Mode$1 as Mode, type index_d$2_NestedAggregation as NestedAggregation, type index_d$2_NestedAggregationItem as NestedAggregationItem, type index_d$2_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type index_d$2_NestedAggregationResults as NestedAggregationResults, type index_d$2_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, index_d$2_NestedAggregationType as NestedAggregationType, type index_d$2_NestedResultValue as NestedResultValue, type index_d$2_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d$2_NestedResults as NestedResults, type index_d$2_NestedValueAggregationResult as NestedValueAggregationResult, index_d$2_PaymentStatus as PaymentStatus, type index_d$2_QueryReservationsRequest as QueryReservationsRequest, type index_d$2_QueryReservationsResponse as QueryReservationsResponse, type index_d$2_QueryReservationsResponseNonNullableFields as QueryReservationsResponseNonNullableFields, type index_d$2_RangeAggregation as RangeAggregation, type index_d$2_RangeAggregationResult as RangeAggregationResult, type index_d$2_RangeBucket as RangeBucket, type index_d$2_RangeResult as RangeResult, type index_d$2_RangeResults as RangeResults, type index_d$2_RemoveReservationMigrationNotesRequest as RemoveReservationMigrationNotesRequest, type index_d$2_RemoveReservationMigrationNotesResponse as RemoveReservationMigrationNotesResponse, type index_d$2_Reservation as Reservation, type index_d$2_ReservationCanceled as ReservationCanceled, type index_d$2_ReservationCreatedEnvelope as ReservationCreatedEnvelope, type index_d$2_ReservationDataUpdated as ReservationDataUpdated, type index_d$2_ReservationDetailsConflicts as ReservationDetailsConflicts, type ReservationLocationConflict$1 as ReservationLocationConflict, type index_d$2_ReservationsQueryBuilder as ReservationsQueryBuilder, type index_d$2_ReservationsQueryResult as ReservationsQueryResult, type index_d$2_ReserveReservationRequest as ReserveReservationRequest, type index_d$2_ReserveReservationResponse as ReserveReservationResponse, type index_d$2_ReserveReservationResponseNonNullableFields as ReserveReservationResponseNonNullableFields, type index_d$2_ReservedBy as ReservedBy, type index_d$2_Reservee as Reservee, type index_d$2_Results as Results, type index_d$2_ScalarAggregation as ScalarAggregation, type index_d$2_ScalarResult as ScalarResult, index_d$2_ScalarType as ScalarType, type index_d$2_SearchDetails as SearchDetails, type index_d$2_SearchReservationsRequest as SearchReservationsRequest, type index_d$2_SearchReservationsResponse as SearchReservationsResponse, type index_d$2_SearchReservationsResponseNonNullableFields as SearchReservationsResponseNonNullableFields, Set$1 as Set, index_d$2_SortDirection as SortDirection, SortOrder$1 as SortOrder, index_d$2_SortType as SortType, type Sorting$1 as Sorting, index_d$2_Source as Source, Status$1 as Status, type TableCombinationConflict$1 as TableCombinationConflict, TableCombinationConflictType$1 as TableCombinationConflictType, type index_d$2_TableWithReservationConflicts as TableWithReservationConflicts, Type$1 as Type, type index_d$2_UpdateReservation as UpdateReservation, type index_d$2_UpdateReservationOptions as UpdateReservationOptions, type index_d$2_UpdateReservationRequest as UpdateReservationRequest, type index_d$2_UpdateReservationResponse as UpdateReservationResponse, type index_d$2_UpdateReservationResponseNonNullableFields as UpdateReservationResponseNonNullableFields, type index_d$2_ValueAggregation as ValueAggregation, type index_d$2_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type index_d$2_ValueAggregationResult as ValueAggregationResult, type index_d$2_ValueResult as ValueResult, type index_d$2_ValueResults as ValueResults, WebhookIdentityType$1 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_cancelReservation as cancelReservation, index_d$2_createHeldReservation as createHeldReservation, index_d$2_createReservation as createReservation, index_d$2_getReservation as getReservation, index_d$2_listReservations as listReservations, index_d$2_onReservationCreated as onReservationCreated, index_d$2_queryReservations as queryReservations, index_d$2_reserveReservation as reserveReservation, index_d$2_searchReservations as searchReservations, index_d$2_updateReservation as updateReservation };
1490
+ export { type ActionEvent$1 as ActionEvent, type index_d$2_Aggregation as Aggregation, type index_d$2_AggregationData as AggregationData, type index_d$2_AggregationKindOneOf as AggregationKindOneOf, type index_d$2_AggregationResults as AggregationResults, type index_d$2_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type index_d$2_AggregationResultsScalarResult as AggregationResultsScalarResult, index_d$2_AggregationType as AggregationType, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_CancelReservationOptions as CancelReservationOptions, type index_d$2_CancelReservationRequest as CancelReservationRequest, type index_d$2_CancelReservationResponse as CancelReservationResponse, type index_d$2_CancelReservationResponseNonNullableFields as CancelReservationResponseNonNullableFields, type index_d$2_CreateHeldReservationRequest as CreateHeldReservationRequest, type index_d$2_CreateHeldReservationResponse as CreateHeldReservationResponse, type index_d$2_CreateHeldReservationResponseNonNullableFields as CreateHeldReservationResponseNonNullableFields, type index_d$2_CreateReservationOptions as CreateReservationOptions, type index_d$2_CreateReservationRequest as CreateReservationRequest, type index_d$2_CreateReservationResponse as CreateReservationResponse, type index_d$2_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$2_CursorQuery as CursorQuery, type index_d$2_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$2_CursorSearch as CursorSearch, type index_d$2_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$2_DateHistogramAggregation as DateHistogramAggregation, type index_d$2_DateHistogramResult as DateHistogramResult, type index_d$2_DateHistogramResults as DateHistogramResults, type index_d$2_DeleteReservationRequest as DeleteReservationRequest, type index_d$2_DeleteReservationResponse as DeleteReservationResponse, type index_d$2_Details as Details, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetReservationOptions as GetReservationOptions, type index_d$2_GetReservationRequest as GetReservationRequest, type index_d$2_GetReservationResponse as GetReservationResponse, type index_d$2_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type index_d$2_GroupByAggregation as GroupByAggregation, type index_d$2_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type index_d$2_GroupByValueResults as GroupByValueResults, type index_d$2_HeldReservationDetails as HeldReservationDetails, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$2_IncludeMissingValuesOptions as IncludeMissingValuesOptions, index_d$2_Interval as Interval, type index_d$2_ListReservationsOptions as ListReservationsOptions, type index_d$2_ListReservationsRequest as ListReservationsRequest, type index_d$2_ListReservationsResponse as ListReservationsResponse, type index_d$2_ListReservationsResponseNonNullableFields as ListReservationsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MigrationNote as MigrationNote, index_d$2_MissingValues as MissingValues, Mode$1 as Mode, type index_d$2_NestedAggregation as NestedAggregation, type index_d$2_NestedAggregationItem as NestedAggregationItem, type index_d$2_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type index_d$2_NestedAggregationResults as NestedAggregationResults, type index_d$2_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, index_d$2_NestedAggregationType as NestedAggregationType, type index_d$2_NestedResultValue as NestedResultValue, type index_d$2_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d$2_NestedResults as NestedResults, type index_d$2_NestedValueAggregationResult as NestedValueAggregationResult, index_d$2_PaymentStatus as PaymentStatus, type index_d$2_QueryReservationsRequest as QueryReservationsRequest, type index_d$2_QueryReservationsResponse as QueryReservationsResponse, type index_d$2_QueryReservationsResponseNonNullableFields as QueryReservationsResponseNonNullableFields, type index_d$2_RangeAggregation as RangeAggregation, type index_d$2_RangeAggregationResult as RangeAggregationResult, type index_d$2_RangeBucket as RangeBucket, type index_d$2_RangeResult as RangeResult, type index_d$2_RangeResults as RangeResults, type index_d$2_RemoveReservationMigrationNotesRequest as RemoveReservationMigrationNotesRequest, type index_d$2_RemoveReservationMigrationNotesResponse as RemoveReservationMigrationNotesResponse, type index_d$2_Reservation as Reservation, type index_d$2_ReservationCanceled as ReservationCanceled, type index_d$2_ReservationCreated as ReservationCreated, type index_d$2_ReservationCreatedEnvelope as ReservationCreatedEnvelope, type index_d$2_ReservationDataUpdated as ReservationDataUpdated, type index_d$2_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type index_d$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type index_d$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type index_d$2_ReservationDetailsConflicts as ReservationDetailsConflicts, type ReservationLocationConflict$1 as ReservationLocationConflict, type index_d$2_ReservationUpdated as ReservationUpdated, type index_d$2_ReservationsQueryBuilder as ReservationsQueryBuilder, type index_d$2_ReservationsQueryResult as ReservationsQueryResult, type index_d$2_ReserveReservationRequest as ReserveReservationRequest, type index_d$2_ReserveReservationResponse as ReserveReservationResponse, type index_d$2_ReserveReservationResponseNonNullableFields as ReserveReservationResponseNonNullableFields, type index_d$2_ReservedBy as ReservedBy, type index_d$2_Reservee as Reservee, type RestoreInfo$1 as RestoreInfo, type index_d$2_Results as Results, type index_d$2_ScalarAggregation as ScalarAggregation, type index_d$2_ScalarResult as ScalarResult, index_d$2_ScalarType as ScalarType, type index_d$2_SearchDetails as SearchDetails, type index_d$2_SearchReservationsRequest as SearchReservationsRequest, type index_d$2_SearchReservationsResponse as SearchReservationsResponse, type index_d$2_SearchReservationsResponseNonNullableFields as SearchReservationsResponseNonNullableFields, Set$1 as Set, index_d$2_SortDirection as SortDirection, SortOrder$1 as SortOrder, index_d$2_SortType as SortType, type Sorting$1 as Sorting, index_d$2_Source as Source, Status$1 as Status, type TableCombinationConflict$1 as TableCombinationConflict, TableCombinationConflictType$1 as TableCombinationConflictType, type index_d$2_TableWithReservationConflicts as TableWithReservationConflicts, Type$1 as Type, type index_d$2_UpdateReservation as UpdateReservation, type index_d$2_UpdateReservationOptions as UpdateReservationOptions, type index_d$2_UpdateReservationRequest as UpdateReservationRequest, type index_d$2_UpdateReservationResponse as UpdateReservationResponse, type index_d$2_UpdateReservationResponseNonNullableFields as UpdateReservationResponseNonNullableFields, type index_d$2_ValueAggregation as ValueAggregation, type index_d$2_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type index_d$2_ValueAggregationResult as ValueAggregationResult, type index_d$2_ValueResult as ValueResult, type index_d$2_ValueResults as ValueResults, WebhookIdentityType$1 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_cancelReservation as cancelReservation, index_d$2_createHeldReservation as createHeldReservation, index_d$2_createReservation as createReservation, index_d$2_getReservation as getReservation, index_d$2_listReservations as listReservations, index_d$2_onReservationCreated as onReservationCreated, index_d$2_queryReservations as queryReservations, index_d$2_reserveReservation as reserveReservation, index_d$2_searchReservations as searchReservations, index_d$2_updateReservation as updateReservation };
1452
1491
  }
1453
1492
 
1454
1493
  interface ReservationLocation {
@@ -1891,9 +1930,9 @@ interface TableManagement {
1891
1930
  }
1892
1931
  /** Reservation payment. */
1893
1932
  interface ReservationPayment {
1894
- /** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99) */
1933
+ /** Monetary amount to charge. Decimal string with a period as a decimal separator (e.g., 3.99) */
1895
1934
  value?: string;
1896
- /** Minimum party size for payment policy application. */
1935
+ /** Minimum party size to apply the payment policy. */
1897
1936
  minPartySize?: number;
1898
1937
  }
1899
1938
  interface Location {
@@ -2283,7 +2322,7 @@ interface DomainEventBodyOneOf {
2283
2322
  interface EntityCreatedEvent {
2284
2323
  entity?: string;
2285
2324
  }
2286
- interface UndeleteInfo {
2325
+ interface RestoreInfo {
2287
2326
  deletedDate?: Date;
2288
2327
  }
2289
2328
  interface EntityUpdatedEvent {
@@ -3792,49 +3831,10 @@ interface ListReservationLocationsOptions {
3792
3831
  fieldsets?: Set[];
3793
3832
  }
3794
3833
 
3795
- interface HttpClient$1 {
3796
- request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
3797
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
3798
- }
3799
- type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
3800
- type HttpResponse$1<T = any> = {
3801
- data: T;
3802
- status: number;
3803
- statusText: string;
3804
- headers: any;
3805
- request?: any;
3806
- };
3807
- type RequestOptions$1<_TResponse = any, Data = any> = {
3808
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
3809
- url: string;
3810
- data?: Data;
3811
- params?: URLSearchParams;
3812
- } & APIMetadata$1;
3813
- type APIMetadata$1 = {
3814
- methodFqn?: string;
3815
- entityFqdn?: string;
3816
- packageName?: string;
3817
- };
3818
- type EventDefinition<Payload = unknown, Type extends string = string> = {
3819
- __type: 'event-definition';
3820
- type: Type;
3821
- isDomainEvent?: boolean;
3822
- transformations?: (envelope: unknown) => Payload;
3823
- __payload: Payload;
3824
- };
3825
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
3826
-
3827
- declare global {
3828
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
3829
- interface SymbolConstructor {
3830
- readonly observable: symbol;
3831
- }
3832
- }
3833
-
3834
3834
  declare const __metadata$1: {
3835
3835
  PACKAGE_NAME: string;
3836
3836
  };
3837
- declare function getReservationLocation(httpClient: HttpClient$1): (reservationLocationId: string, options?: GetReservationLocationOptions) => Promise<ReservationLocation & {
3837
+ declare function getReservationLocation(httpClient: HttpClient): (reservationLocationId: string, options?: GetReservationLocationOptions) => Promise<ReservationLocation & {
3838
3838
  configuration?: {
3839
3839
  onlineReservations?: {
3840
3840
  seatPacing?: {
@@ -3918,7 +3918,7 @@ declare function getReservationLocation(httpClient: HttpClient$1): (reservationL
3918
3918
  } | undefined;
3919
3919
  } | undefined;
3920
3920
  }>;
3921
- declare function updateReservationLocation(httpClient: HttpClient$1): (_id: string | null, reservationLocation: UpdateReservationLocation) => Promise<ReservationLocation & {
3921
+ declare function updateReservationLocation(httpClient: HttpClient): (_id: string | null, reservationLocation: UpdateReservationLocation) => Promise<ReservationLocation & {
3922
3922
  configuration?: {
3923
3923
  onlineReservations?: {
3924
3924
  seatPacing?: {
@@ -4002,8 +4002,8 @@ declare function updateReservationLocation(httpClient: HttpClient$1): (_id: stri
4002
4002
  } | undefined;
4003
4003
  } | undefined;
4004
4004
  }>;
4005
- declare function queryReservationLocations(httpClient: HttpClient$1): (options?: QueryReservationLocationsOptions) => ReservationLocationsQueryBuilder;
4006
- declare function listReservationLocations(httpClient: HttpClient$1): (options?: ListReservationLocationsOptions) => Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
4005
+ declare function queryReservationLocations(httpClient: HttpClient): (options?: QueryReservationLocationsOptions) => ReservationLocationsQueryBuilder;
4006
+ declare function listReservationLocations(httpClient: HttpClient): (options?: ListReservationLocationsOptions) => Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
4007
4007
  declare const onReservationLocationUpdated: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
4008
4008
  declare const onReservationLocationCreated: EventDefinition<ReservationLocationCreatedEnvelope, "wix.table_reservations.v1.reservation_location_created">;
4009
4009
 
@@ -4145,6 +4145,7 @@ type index_d$1_ReservationLocationsQueryResult = ReservationLocationsQueryResult
4145
4145
  type index_d$1_ReservationPayment = ReservationPayment;
4146
4146
  type index_d$1_ResolutionMethod = ResolutionMethod;
4147
4147
  declare const index_d$1_ResolutionMethod: typeof ResolutionMethod;
4148
+ type index_d$1_RestoreInfo = RestoreInfo;
4148
4149
  type index_d$1_SeatPacing = SeatPacing;
4149
4150
  type index_d$1_ServiceProvisioned = ServiceProvisioned;
4150
4151
  type index_d$1_ServiceRemoved = ServiceRemoved;
@@ -4188,7 +4189,6 @@ type index_d$1_TurnoverRule = TurnoverRule;
4188
4189
  type index_d$1_TurnoverTimeRule = TurnoverTimeRule;
4189
4190
  type index_d$1_URI = URI;
4190
4191
  type index_d$1_UnAssingedToFloatingReason = UnAssingedToFloatingReason;
4191
- type index_d$1_UndeleteInfo = UndeleteInfo;
4192
4192
  type index_d$1_Unit = Unit;
4193
4193
  declare const index_d$1_Unit: typeof Unit;
4194
4194
  type index_d$1_UpdateReservationLocation = UpdateReservationLocation;
@@ -4205,7 +4205,7 @@ declare const index_d$1_onReservationLocationUpdated: typeof onReservationLocati
4205
4205
  declare const index_d$1_queryReservationLocations: typeof queryReservationLocations;
4206
4206
  declare const index_d$1_updateReservationLocation: typeof updateReservationLocation;
4207
4207
  declare namespace index_d$1 {
4208
- export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressHint as AddressHint, type index_d$1_AddressLocation as AddressLocation, type index_d$1_App as App, type index_d$1_Asset as Asset, type index_d$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BooleanFeature as BooleanFeature, type index_d$1_BusinessSchedule as BusinessSchedule, type index_d$1_CancelRequestedReason as CancelRequestedReason, type index_d$1_Categories as Categories, type index_d$1_ChangeContext as ChangeContext, type index_d$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type index_d$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type index_d$1_CommonBusinessSchedule as CommonBusinessSchedule, index_d$1_CommonDayOfWeek as CommonDayOfWeek, type index_d$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type index_d$1_CommonTimePeriod as CommonTimePeriod, type index_d$1_Configuration as Configuration, type index_d$1_ConsentPolicy as ConsentPolicy, type index_d$1_ContractSwitchedReason as ContractSwitchedReason, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_Cursors as Cursors, type index_d$1_CustomFieldDefinition as CustomFieldDefinition, index_d$1_DayOfWeek as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type index_d$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_Feature as Feature, type index_d$1_FeatureCancelled as FeatureCancelled, type index_d$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type index_d$1_FeatureContext as FeatureContext, type index_d$1_FeatureDisabled as FeatureDisabled, type index_d$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type index_d$1_FeatureEnabled as FeatureEnabled, type index_d$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type index_d$1_FeatureEvent as FeatureEvent, type index_d$1_FeatureEventEventOneOf as FeatureEventEventOneOf, index_d$1_FeaturePeriod as FeaturePeriod, type index_d$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type index_d$1_FeatureUpdated as FeatureUpdated, type index_d$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type index_d$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, index_d$1_FieldType as FieldType, type index_d$1_File as File, type index_d$1_GeoCoordinates as GeoCoordinates, type index_d$1_GetReservationLocationOptions as GetReservationLocationOptions, type index_d$1_GetReservationLocationRequest as GetReservationLocationRequest, type index_d$1_GetReservationLocationResponse as GetReservationLocationResponse, type index_d$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type index_d$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type index_d$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type index_d$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type index_d$1_Locale as Locale, type index_d$1_Location as Location, type index_d$1_LocationAddress as LocationAddress, type index_d$1_ManualApproval as ManualApproval, type index_d$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type index_d$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type index_d$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type index_d$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type index_d$1_MigrationParsingError as MigrationParsingError, type index_d$1_MigrationResult as MigrationResult, index_d$1_Mode as Mode, type index_d$1_Multilingual as Multilingual, type index_d$1_MyReservationsField as MyReservationsField, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_NewFeatureReason as NewFeatureReason, type index_d$1_NoticePeriod as NoticePeriod, type index_d$1_OldCustomField as OldCustomField, type index_d$1_OldInstant as OldInstant, type index_d$1_OldPolicy as OldPolicy, type index_d$1_OldScheduleException as OldScheduleException, type index_d$1_OldScheduleInterval as OldScheduleInterval, type index_d$1_OldTerms as OldTerms, type index_d$1_OnlineReservations as OnlineReservations, type index_d$1_Page as Page, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParsedSettings as ParsedSettings, type index_d$1_PartiesSize as PartiesSize, type index_d$1_PartyPacing as PartyPacing, type index_d$1_PartySize as PartySize, index_d$1_PlacementType as PlacementType, type index_d$1_PrivacyPolicy as PrivacyPolicy, type index_d$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type index_d$1_Properties as Properties, type index_d$1_PropertiesChange as PropertiesChange, type index_d$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type index_d$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type index_d$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type index_d$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_QuotaFeature as QuotaFeature, type index_d$1_QuotaInfo as QuotaInfo, type index_d$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type index_d$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type index_d$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type index_d$1_ReservationForm as ReservationForm, type index_d$1_ReservationLocation as ReservationLocation, type index_d$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type index_d$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type index_d$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type index_d$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type index_d$1_ReservationPayment as ReservationPayment, index_d$1_ResolutionMethod as ResolutionMethod, type index_d$1_SeatPacing as SeatPacing, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, index_d$1_Set as Set, type index_d$1_SiteCloned as SiteCloned, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePropertiesEvent as SitePropertiesEvent, type index_d$1_SitePropertiesNotification as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SpecialHourPeriod as SpecialHourPeriod, index_d$1_State as State, type index_d$1_StreetAddress as StreetAddress, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type index_d$1_TableDefinition as TableDefinition, type index_d$1_TableManagement as TableManagement, type index_d$1_TablesDeleted as TablesDeleted, type index_d$1_TermsAndConditions as TermsAndConditions, type index_d$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type index_d$1_TimePeriod as TimePeriod, type index_d$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type index_d$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type index_d$1_Translation as Translation, type index_d$1_TurnoverRule as TurnoverRule, type index_d$1_TurnoverTimeRule as TurnoverTimeRule, type index_d$1_URI as URI, type index_d$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, type index_d$1_UndeleteInfo as UndeleteInfo, index_d$1_Unit as Unit, type index_d$1_UpdateReservationLocation as UpdateReservationLocation, type index_d$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type index_d$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type index_d$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, index_d$1_WebhookIdentityType as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_getReservationLocation as getReservationLocation, index_d$1_listReservationLocations as listReservationLocations, index_d$1_onReservationLocationCreated as onReservationLocationCreated, index_d$1_onReservationLocationUpdated as onReservationLocationUpdated, index_d$1_queryReservationLocations as queryReservationLocations, index_d$1_updateReservationLocation as updateReservationLocation };
4208
+ export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressHint as AddressHint, type index_d$1_AddressLocation as AddressLocation, type index_d$1_App as App, type index_d$1_Asset as Asset, type index_d$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BooleanFeature as BooleanFeature, type index_d$1_BusinessSchedule as BusinessSchedule, type index_d$1_CancelRequestedReason as CancelRequestedReason, type index_d$1_Categories as Categories, type index_d$1_ChangeContext as ChangeContext, type index_d$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type index_d$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type index_d$1_CommonBusinessSchedule as CommonBusinessSchedule, index_d$1_CommonDayOfWeek as CommonDayOfWeek, type index_d$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type index_d$1_CommonTimePeriod as CommonTimePeriod, type index_d$1_Configuration as Configuration, type index_d$1_ConsentPolicy as ConsentPolicy, type index_d$1_ContractSwitchedReason as ContractSwitchedReason, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_Cursors as Cursors, type index_d$1_CustomFieldDefinition as CustomFieldDefinition, index_d$1_DayOfWeek as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type index_d$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_Feature as Feature, type index_d$1_FeatureCancelled as FeatureCancelled, type index_d$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type index_d$1_FeatureContext as FeatureContext, type index_d$1_FeatureDisabled as FeatureDisabled, type index_d$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type index_d$1_FeatureEnabled as FeatureEnabled, type index_d$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type index_d$1_FeatureEvent as FeatureEvent, type index_d$1_FeatureEventEventOneOf as FeatureEventEventOneOf, index_d$1_FeaturePeriod as FeaturePeriod, type index_d$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type index_d$1_FeatureUpdated as FeatureUpdated, type index_d$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type index_d$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, index_d$1_FieldType as FieldType, type index_d$1_File as File, type index_d$1_GeoCoordinates as GeoCoordinates, type index_d$1_GetReservationLocationOptions as GetReservationLocationOptions, type index_d$1_GetReservationLocationRequest as GetReservationLocationRequest, type index_d$1_GetReservationLocationResponse as GetReservationLocationResponse, type index_d$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type index_d$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type index_d$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type index_d$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type index_d$1_Locale as Locale, type index_d$1_Location as Location, type index_d$1_LocationAddress as LocationAddress, type index_d$1_ManualApproval as ManualApproval, type index_d$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type index_d$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type index_d$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type index_d$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type index_d$1_MigrationParsingError as MigrationParsingError, type index_d$1_MigrationResult as MigrationResult, index_d$1_Mode as Mode, type index_d$1_Multilingual as Multilingual, type index_d$1_MyReservationsField as MyReservationsField, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_NewFeatureReason as NewFeatureReason, type index_d$1_NoticePeriod as NoticePeriod, type index_d$1_OldCustomField as OldCustomField, type index_d$1_OldInstant as OldInstant, type index_d$1_OldPolicy as OldPolicy, type index_d$1_OldScheduleException as OldScheduleException, type index_d$1_OldScheduleInterval as OldScheduleInterval, type index_d$1_OldTerms as OldTerms, type index_d$1_OnlineReservations as OnlineReservations, type index_d$1_Page as Page, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParsedSettings as ParsedSettings, type index_d$1_PartiesSize as PartiesSize, type index_d$1_PartyPacing as PartyPacing, type index_d$1_PartySize as PartySize, index_d$1_PlacementType as PlacementType, type index_d$1_PrivacyPolicy as PrivacyPolicy, type index_d$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type index_d$1_Properties as Properties, type index_d$1_PropertiesChange as PropertiesChange, type index_d$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type index_d$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type index_d$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type index_d$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_QuotaFeature as QuotaFeature, type index_d$1_QuotaInfo as QuotaInfo, type index_d$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type index_d$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type index_d$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type index_d$1_ReservationForm as ReservationForm, type index_d$1_ReservationLocation as ReservationLocation, type index_d$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type index_d$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type index_d$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type index_d$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type index_d$1_ReservationPayment as ReservationPayment, index_d$1_ResolutionMethod as ResolutionMethod, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SeatPacing as SeatPacing, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, index_d$1_Set as Set, type index_d$1_SiteCloned as SiteCloned, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePropertiesEvent as SitePropertiesEvent, type index_d$1_SitePropertiesNotification as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SpecialHourPeriod as SpecialHourPeriod, index_d$1_State as State, type index_d$1_StreetAddress as StreetAddress, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type index_d$1_TableDefinition as TableDefinition, type index_d$1_TableManagement as TableManagement, type index_d$1_TablesDeleted as TablesDeleted, type index_d$1_TermsAndConditions as TermsAndConditions, type index_d$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type index_d$1_TimePeriod as TimePeriod, type index_d$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type index_d$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type index_d$1_Translation as Translation, type index_d$1_TurnoverRule as TurnoverRule, type index_d$1_TurnoverTimeRule as TurnoverTimeRule, type index_d$1_URI as URI, type index_d$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, index_d$1_Unit as Unit, type index_d$1_UpdateReservationLocation as UpdateReservationLocation, type index_d$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type index_d$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type index_d$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, index_d$1_WebhookIdentityType as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_getReservationLocation as getReservationLocation, index_d$1_listReservationLocations as listReservationLocations, index_d$1_onReservationLocationCreated as onReservationLocationCreated, index_d$1_onReservationLocationUpdated as onReservationLocationUpdated, index_d$1_queryReservationLocations as queryReservationLocations, index_d$1_updateReservationLocation as updateReservationLocation };
4209
4209
  }
4210
4210
 
4211
4211
  interface TimeSlot {
@@ -4355,37 +4355,6 @@ interface GetTimeSlotsOptions {
4355
4355
  slotsAfter?: number | null;
4356
4356
  }
4357
4357
 
4358
- interface HttpClient {
4359
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4360
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
4361
- }
4362
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
4363
- type HttpResponse<T = any> = {
4364
- data: T;
4365
- status: number;
4366
- statusText: string;
4367
- headers: any;
4368
- request?: any;
4369
- };
4370
- type RequestOptions<_TResponse = any, Data = any> = {
4371
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
4372
- url: string;
4373
- data?: Data;
4374
- params?: URLSearchParams;
4375
- } & APIMetadata;
4376
- type APIMetadata = {
4377
- methodFqn?: string;
4378
- entityFqdn?: string;
4379
- packageName?: string;
4380
- };
4381
-
4382
- declare global {
4383
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
4384
- interface SymbolConstructor {
4385
- readonly observable: symbol;
4386
- }
4387
- }
4388
-
4389
4358
  declare const __metadata: {
4390
4359
  PACKAGE_NAME: string;
4391
4360
  };