@izak0s/spacebring-api 16.2.0 → 16.3.0

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/dist/index.d.cts CHANGED
@@ -923,7 +923,7 @@ interface paths {
923
923
  put?: never;
924
924
  /**
925
925
  * Check in
926
- * @description Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns</code>
926
+ * @description Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. Add a past check-in date to a customer ref to record an arrival nobody checked the member in for: the member stays checked in until they check out, or, with a check-out date too, the check-in is created as checked out, without the events and webhooks of a live arrival. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns</code>
927
927
  */
928
928
  post: operations["checkIn"];
929
929
  delete?: never;
@@ -6639,10 +6639,10 @@ interface components {
6639
6639
  */
6640
6640
  checkInDate?: string;
6641
6641
  /**
6642
- * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6642
+ * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in from the admin app, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6643
6643
  * @enum {string}
6644
6644
  */
6645
- checkInMethod?: "agent" | "api" | "manual" | "reception";
6645
+ checkInMethod?: "agent" | "api" | "backdated" | "manual" | "reception";
6646
6646
  /**
6647
6647
  * Format: uuid
6648
6648
  * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
@@ -6654,10 +6654,10 @@ interface components {
6654
6654
  */
6655
6655
  checkOutDate?: string;
6656
6656
  /**
6657
- * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6657
+ * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in with its check-out date from the admin app, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6658
6658
  * @enum {string}
6659
6659
  */
6660
- checkOutMethod?: "agent" | "api" | "manual" | "reception" | "automatic";
6660
+ checkOutMethod?: "agent" | "api" | "backdated" | "manual" | "reception" | "automatic";
6661
6661
  /** @description Confirmation code of the check-in. */
6662
6662
  code?: string;
6663
6663
  /**
@@ -6779,10 +6779,10 @@ interface components {
6779
6779
  */
6780
6780
  checkInDate?: string;
6781
6781
  /**
6782
- * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6782
+ * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in from the admin app, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6783
6783
  * @enum {string}
6784
6784
  */
6785
- checkInMethod?: "agent" | "api" | "manual" | "reception";
6785
+ checkInMethod?: "agent" | "api" | "backdated" | "manual" | "reception";
6786
6786
  /**
6787
6787
  * Format: uuid
6788
6788
  * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
@@ -6794,10 +6794,10 @@ interface components {
6794
6794
  */
6795
6795
  checkOutDate?: string;
6796
6796
  /**
6797
- * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6797
+ * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in with its check-out date from the admin app, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6798
6798
  * @enum {string}
6799
6799
  */
6800
- checkOutMethod?: "agent" | "api" | "manual" | "reception" | "automatic";
6800
+ checkOutMethod?: "agent" | "api" | "backdated" | "manual" | "reception" | "automatic";
6801
6801
  /** @description Confirmation code of the check-in. */
6802
6802
  code?: string;
6803
6803
  /**
@@ -22838,12 +22838,12 @@ interface components {
22838
22838
  */
22839
22839
  locationRef: string;
22840
22840
  /** @description Exchange rate relative to the location main currency. Pass either exchangeRate or provider, never both. */
22841
- exchangeRate?: number;
22841
+ exchangeRate?: number | null;
22842
22842
  /**
22843
22843
  * @description Exchange rate provider when auto-update is enabled. Pass either provider or exchangeRate, never both.
22844
- * @enum {string}
22844
+ * @enum {string|null}
22845
22845
  */
22846
- provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
22846
+ provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb" | null;
22847
22847
  };
22848
22848
  };
22849
22849
  };
@@ -22854,12 +22854,12 @@ interface components {
22854
22854
  /** @description Alt currency fields to update */
22855
22855
  altCurrency: {
22856
22856
  /** @description Exchange rate relative to the location main currency. Pass either exchangeRate or provider, never both. */
22857
- exchangeRate?: number;
22857
+ exchangeRate?: number | null;
22858
22858
  /**
22859
22859
  * @description Exchange rate provider when auto-update is enabled. Pass either provider or exchangeRate, never both.
22860
- * @enum {string}
22860
+ * @enum {string|null}
22861
22861
  */
22862
- provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
22862
+ provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb" | null;
22863
22863
  };
22864
22864
  };
22865
22865
  };
@@ -23589,6 +23589,16 @@ interface components {
23589
23589
  * @description UUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
23590
23590
  */
23591
23591
  locationRef?: string;
23592
+ /**
23593
+ * Format: date-time
23594
+ * @description ISO timestamp of a past arrival to record for the member in customerRef, such as a visit nobody checked them in for. Without checkOutDate the member stays checked in until they check out.
23595
+ */
23596
+ checkInDate?: string;
23597
+ /**
23598
+ * Format: date-time
23599
+ * @description ISO timestamp of when the member left, which creates the check-in as checked out. Requires checkInDate and must be in the past.
23600
+ */
23601
+ checkOutDate?: string;
23592
23602
  /**
23593
23603
  * Format: uuid
23594
23604
  * @description ID of a member to check in on their subscription without a code. Only administrators of the location can check a member in this way.
@@ -25128,7 +25138,7 @@ interface components {
25128
25138
  tiers: {
25129
25139
  /** @description Fixed fee added once to bookings in this tier. */
25130
25140
  flatAmount: number;
25131
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25141
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25132
25142
  from: number;
25133
25143
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25134
25144
  unitAmount: number;
@@ -25192,7 +25202,7 @@ interface components {
25192
25202
  tiers: {
25193
25203
  /** @description Fixed fee added once to bookings in this tier. */
25194
25204
  flatAmount: number;
25195
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25205
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25196
25206
  from: number;
25197
25207
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25198
25208
  unitAmount: number;
@@ -25320,7 +25330,7 @@ interface components {
25320
25330
  tiers: {
25321
25331
  /** @description Fixed fee added once to bookings in this tier. */
25322
25332
  flatAmount: number;
25323
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25333
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25324
25334
  from: number;
25325
25335
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25326
25336
  unitAmount: number;
@@ -25349,7 +25359,7 @@ interface components {
25349
25359
  tiers: {
25350
25360
  /** @description Fixed fee added once to bookings in this tier. */
25351
25361
  flatAmount: number;
25352
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25362
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25353
25363
  from: number;
25354
25364
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25355
25365
  unitAmount: number;
@@ -25635,7 +25645,7 @@ interface components {
25635
25645
  tiers: {
25636
25646
  /** @description Fixed fee added once to bookings in this tier. */
25637
25647
  flatAmount: number;
25638
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25648
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25639
25649
  from: number;
25640
25650
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25641
25651
  unitAmount: number;
@@ -25694,7 +25704,7 @@ interface components {
25694
25704
  tiers: {
25695
25705
  /** @description Fixed fee added once to bookings in this tier. */
25696
25706
  flatAmount: number;
25697
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25707
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25698
25708
  from: number;
25699
25709
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25700
25710
  unitAmount: number;
@@ -25822,7 +25832,7 @@ interface components {
25822
25832
  tiers: {
25823
25833
  /** @description Fixed fee added once to bookings in this tier. */
25824
25834
  flatAmount: number;
25825
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25835
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25826
25836
  from: number;
25827
25837
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25828
25838
  unitAmount: number;
@@ -25851,7 +25861,7 @@ interface components {
25851
25861
  tiers: {
25852
25862
  /** @description Fixed fee added once to bookings in this tier. */
25853
25863
  flatAmount: number;
25854
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25864
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25855
25865
  from: number;
25856
25866
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25857
25867
  unitAmount: number;
package/dist/index.d.ts CHANGED
@@ -923,7 +923,7 @@ interface paths {
923
923
  put?: never;
924
924
  /**
925
925
  * Check in
926
- * @description Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns</code>
926
+ * @description Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. Add a past check-in date to a customer ref to record an arrival nobody checked the member in for: the member stays checked in until they check out, or, with a check-out date too, the check-in is created as checked out, without the events and webhooks of a live arrival. With bearer token authentication, the user must be an administrator of the location. <h3>OAuth</h3>Required scopes: <code>checkIns</code>
927
927
  */
928
928
  post: operations["checkIn"];
929
929
  delete?: never;
@@ -6639,10 +6639,10 @@ interface components {
6639
6639
  */
6640
6640
  checkInDate?: string;
6641
6641
  /**
6642
- * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6642
+ * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in from the admin app, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6643
6643
  * @enum {string}
6644
6644
  */
6645
- checkInMethod?: "agent" | "api" | "manual" | "reception";
6645
+ checkInMethod?: "agent" | "api" | "backdated" | "manual" | "reception";
6646
6646
  /**
6647
6647
  * Format: uuid
6648
6648
  * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
@@ -6654,10 +6654,10 @@ interface components {
6654
6654
  */
6655
6655
  checkOutDate?: string;
6656
6656
  /**
6657
- * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6657
+ * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in with its check-out date from the admin app, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6658
6658
  * @enum {string}
6659
6659
  */
6660
- checkOutMethod?: "agent" | "api" | "manual" | "reception" | "automatic";
6660
+ checkOutMethod?: "agent" | "api" | "backdated" | "manual" | "reception" | "automatic";
6661
6661
  /** @description Confirmation code of the check-in. */
6662
6662
  code?: string;
6663
6663
  /**
@@ -6779,10 +6779,10 @@ interface components {
6779
6779
  */
6780
6780
  checkInDate?: string;
6781
6781
  /**
6782
- * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6782
+ * @description How the customer was checked in: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in from the admin app, 'agent' by the AI agent, and 'api' through the API. Absent on check-ins made before methods were recorded.
6783
6783
  * @enum {string}
6784
6784
  */
6785
- checkInMethod?: "agent" | "api" | "manual" | "reception";
6785
+ checkInMethod?: "agent" | "api" | "backdated" | "manual" | "reception";
6786
6786
  /**
6787
6787
  * Format: uuid
6788
6788
  * @description ID of the schedule this check-in was opened under. Absent on check-ins created before schedules were introduced.
@@ -6794,10 +6794,10 @@ interface components {
6794
6794
  */
6795
6795
  checkOutDate?: string;
6796
6796
  /**
6797
- * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6797
+ * @description How the customer was checked out: 'reception' with their code on the Reception app, 'manual' by an administrator, 'backdated' by an administrator adding a past check-in with its check-out date from the admin app, 'automatic' by the automatic check-out, 'agent' by the AI agent, and 'api' through the API. Absent while the customer is checked in, and on check-ins made before methods were recorded.
6798
6798
  * @enum {string}
6799
6799
  */
6800
- checkOutMethod?: "agent" | "api" | "manual" | "reception" | "automatic";
6800
+ checkOutMethod?: "agent" | "api" | "backdated" | "manual" | "reception" | "automatic";
6801
6801
  /** @description Confirmation code of the check-in. */
6802
6802
  code?: string;
6803
6803
  /**
@@ -22838,12 +22838,12 @@ interface components {
22838
22838
  */
22839
22839
  locationRef: string;
22840
22840
  /** @description Exchange rate relative to the location main currency. Pass either exchangeRate or provider, never both. */
22841
- exchangeRate?: number;
22841
+ exchangeRate?: number | null;
22842
22842
  /**
22843
22843
  * @description Exchange rate provider when auto-update is enabled. Pass either provider or exchangeRate, never both.
22844
- * @enum {string}
22844
+ * @enum {string|null}
22845
22845
  */
22846
- provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
22846
+ provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb" | null;
22847
22847
  };
22848
22848
  };
22849
22849
  };
@@ -22854,12 +22854,12 @@ interface components {
22854
22854
  /** @description Alt currency fields to update */
22855
22855
  altCurrency: {
22856
22856
  /** @description Exchange rate relative to the location main currency. Pass either exchangeRate or provider, never both. */
22857
- exchangeRate?: number;
22857
+ exchangeRate?: number | null;
22858
22858
  /**
22859
22859
  * @description Exchange rate provider when auto-update is enabled. Pass either provider or exchangeRate, never both.
22860
- * @enum {string}
22860
+ * @enum {string|null}
22861
22861
  */
22862
- provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
22862
+ provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb" | null;
22863
22863
  };
22864
22864
  };
22865
22865
  };
@@ -23589,6 +23589,16 @@ interface components {
23589
23589
  * @description UUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
23590
23590
  */
23591
23591
  locationRef?: string;
23592
+ /**
23593
+ * Format: date-time
23594
+ * @description ISO timestamp of a past arrival to record for the member in customerRef, such as a visit nobody checked them in for. Without checkOutDate the member stays checked in until they check out.
23595
+ */
23596
+ checkInDate?: string;
23597
+ /**
23598
+ * Format: date-time
23599
+ * @description ISO timestamp of when the member left, which creates the check-in as checked out. Requires checkInDate and must be in the past.
23600
+ */
23601
+ checkOutDate?: string;
23592
23602
  /**
23593
23603
  * Format: uuid
23594
23604
  * @description ID of a member to check in on their subscription without a code. Only administrators of the location can check a member in this way.
@@ -25128,7 +25138,7 @@ interface components {
25128
25138
  tiers: {
25129
25139
  /** @description Fixed fee added once to bookings in this tier. */
25130
25140
  flatAmount: number;
25131
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25141
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25132
25142
  from: number;
25133
25143
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25134
25144
  unitAmount: number;
@@ -25192,7 +25202,7 @@ interface components {
25192
25202
  tiers: {
25193
25203
  /** @description Fixed fee added once to bookings in this tier. */
25194
25204
  flatAmount: number;
25195
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25205
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25196
25206
  from: number;
25197
25207
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25198
25208
  unitAmount: number;
@@ -25320,7 +25330,7 @@ interface components {
25320
25330
  tiers: {
25321
25331
  /** @description Fixed fee added once to bookings in this tier. */
25322
25332
  flatAmount: number;
25323
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25333
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25324
25334
  from: number;
25325
25335
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25326
25336
  unitAmount: number;
@@ -25349,7 +25359,7 @@ interface components {
25349
25359
  tiers: {
25350
25360
  /** @description Fixed fee added once to bookings in this tier. */
25351
25361
  flatAmount: number;
25352
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25362
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25353
25363
  from: number;
25354
25364
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25355
25365
  unitAmount: number;
@@ -25635,7 +25645,7 @@ interface components {
25635
25645
  tiers: {
25636
25646
  /** @description Fixed fee added once to bookings in this tier. */
25637
25647
  flatAmount: number;
25638
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25648
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25639
25649
  from: number;
25640
25650
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25641
25651
  unitAmount: number;
@@ -25694,7 +25704,7 @@ interface components {
25694
25704
  tiers: {
25695
25705
  /** @description Fixed fee added once to bookings in this tier. */
25696
25706
  flatAmount: number;
25697
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25707
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25698
25708
  from: number;
25699
25709
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25700
25710
  unitAmount: number;
@@ -25822,7 +25832,7 @@ interface components {
25822
25832
  tiers: {
25823
25833
  /** @description Fixed fee added once to bookings in this tier. */
25824
25834
  flatAmount: number;
25825
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25835
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25826
25836
  from: number;
25827
25837
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25828
25838
  unitAmount: number;
@@ -25851,7 +25861,7 @@ interface components {
25851
25861
  tiers: {
25852
25862
  /** @description Fixed fee added once to bookings in this tier. */
25853
25863
  flatAmount: number;
25854
- /** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
25864
+ /** @description Booking length in minutes at which this tier starts, 0 for the first tier and for example 480 for 8 hours. */
25855
25865
  from: number;
25856
25866
  /** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
25857
25867
  unitAmount: number;
package/dist/index.js CHANGED
@@ -1106,7 +1106,7 @@ function createCheckins(client, defaults) {
1106
1106
  /**
1107
1107
  * Check in
1108
1108
  *
1109
- * Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. With bearer token authentication, the user must be an administrator of the location.
1109
+ * Record an arrival for a booking, an event ticket, a visit, or a member's subscription. Identify what to check in with its check-in id, with the location and a six-digit code, or with the location and a customer ref to check a member in without a code. Add a past check-in date to a customer ref to record an arrival nobody checked the member in for: the member stays checked in until they check out, or, with a check-out date too, the check-in is created as checked out, without the events and webhooks of a live arrival. With bearer token authentication, the user must be an administrator of the location.
1110
1110
  */
1111
1111
  async checkIn(body, options) {
1112
1112
  return unwrapProp(await client.POST("/check_ins/v1/checkin", { body, signal: options?.signal }), "checkIn", "POST /check_ins/v1/checkin");