@izak0s/spacebring-api 9.7.0 → 9.9.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 +138 -34
- package/dist/index.d.ts +138 -34
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9082,16 +9082,16 @@ interface components {
|
|
|
9082
9082
|
enabled: boolean;
|
|
9083
9083
|
/** @description Stepped credit pricing tiers. */
|
|
9084
9084
|
tiers: {
|
|
9085
|
-
/** @description Fixed fee added
|
|
9085
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9086
9086
|
flatAmount: number;
|
|
9087
|
-
/** @description
|
|
9087
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9088
9088
|
from: number;
|
|
9089
9089
|
/**
|
|
9090
9090
|
* @description Whether the tier is priced per hour or per day.
|
|
9091
9091
|
* @enum {string}
|
|
9092
9092
|
*/
|
|
9093
9093
|
unit: "hour" | "day";
|
|
9094
|
-
/** @description
|
|
9094
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9095
9095
|
unitAmount: number;
|
|
9096
9096
|
}[];
|
|
9097
9097
|
};
|
|
@@ -9160,16 +9160,16 @@ interface components {
|
|
|
9160
9160
|
enabled: boolean;
|
|
9161
9161
|
/** @description Stepped money pricing tiers. */
|
|
9162
9162
|
tiers: {
|
|
9163
|
-
/** @description Fixed fee added
|
|
9163
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9164
9164
|
flatAmount: number;
|
|
9165
|
-
/** @description
|
|
9165
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9166
9166
|
from: number;
|
|
9167
9167
|
/**
|
|
9168
9168
|
* @description Whether the tier is priced per hour or per day.
|
|
9169
9169
|
* @enum {string}
|
|
9170
9170
|
*/
|
|
9171
9171
|
unit: "hour" | "day";
|
|
9172
|
-
/** @description
|
|
9172
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9173
9173
|
unitAmount: number;
|
|
9174
9174
|
}[];
|
|
9175
9175
|
};
|
|
@@ -9178,6 +9178,13 @@ interface components {
|
|
|
9178
9178
|
* @description ID of the network.
|
|
9179
9179
|
*/
|
|
9180
9180
|
networkRef: string;
|
|
9181
|
+
/** @description Outlook Calendar integration settings. */
|
|
9182
|
+
outlookCalendar?: {
|
|
9183
|
+
/** @description Outlook calendar id. */
|
|
9184
|
+
id: string;
|
|
9185
|
+
/** @description Whether two-way sync is enabled. */
|
|
9186
|
+
twoWaySyncEnabled: boolean;
|
|
9187
|
+
};
|
|
9181
9188
|
/**
|
|
9182
9189
|
* Format: uuid
|
|
9183
9190
|
* @description Parent resource id when this is a child resource.
|
|
@@ -9706,16 +9713,16 @@ interface components {
|
|
|
9706
9713
|
enabled: boolean;
|
|
9707
9714
|
/** @description Stepped credit pricing tiers. */
|
|
9708
9715
|
tiers: {
|
|
9709
|
-
/** @description Fixed fee added
|
|
9716
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9710
9717
|
flatAmount: number;
|
|
9711
|
-
/** @description
|
|
9718
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9712
9719
|
from: number;
|
|
9713
9720
|
/**
|
|
9714
9721
|
* @description Whether the tier is priced per hour or per day.
|
|
9715
9722
|
* @enum {string}
|
|
9716
9723
|
*/
|
|
9717
9724
|
unit: "hour" | "day";
|
|
9718
|
-
/** @description
|
|
9725
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9719
9726
|
unitAmount: number;
|
|
9720
9727
|
}[];
|
|
9721
9728
|
};
|
|
@@ -9784,16 +9791,16 @@ interface components {
|
|
|
9784
9791
|
enabled: boolean;
|
|
9785
9792
|
/** @description Stepped money pricing tiers. */
|
|
9786
9793
|
tiers: {
|
|
9787
|
-
/** @description Fixed fee added
|
|
9794
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9788
9795
|
flatAmount: number;
|
|
9789
|
-
/** @description
|
|
9796
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9790
9797
|
from: number;
|
|
9791
9798
|
/**
|
|
9792
9799
|
* @description Whether the tier is priced per hour or per day.
|
|
9793
9800
|
* @enum {string}
|
|
9794
9801
|
*/
|
|
9795
9802
|
unit: "hour" | "day";
|
|
9796
|
-
/** @description
|
|
9803
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9797
9804
|
unitAmount: number;
|
|
9798
9805
|
}[];
|
|
9799
9806
|
};
|
|
@@ -9802,6 +9809,13 @@ interface components {
|
|
|
9802
9809
|
* @description ID of the network.
|
|
9803
9810
|
*/
|
|
9804
9811
|
networkRef: string;
|
|
9812
|
+
/** @description Outlook Calendar integration settings. */
|
|
9813
|
+
outlookCalendar?: {
|
|
9814
|
+
/** @description Outlook calendar id. */
|
|
9815
|
+
id: string;
|
|
9816
|
+
/** @description Whether two-way sync is enabled. */
|
|
9817
|
+
twoWaySyncEnabled: boolean;
|
|
9818
|
+
};
|
|
9805
9819
|
/**
|
|
9806
9820
|
* Format: uuid
|
|
9807
9821
|
* @description Parent resource id when this is a child resource.
|
|
@@ -11392,11 +11406,20 @@ interface components {
|
|
|
11392
11406
|
};
|
|
11393
11407
|
/** @description Set when `type` is `member`. */
|
|
11394
11408
|
member?: Record<string, never>;
|
|
11409
|
+
/** @description Set when `type` is `outlookCalendar`. */
|
|
11410
|
+
outlookCalendar?: {
|
|
11411
|
+
/** @description ID of the Outlook calendar the event was imported from. */
|
|
11412
|
+
calendarId?: string;
|
|
11413
|
+
/** @description ID of the Outlook event the booking mirrors. */
|
|
11414
|
+
eventId?: string;
|
|
11415
|
+
/** @description Link to the Outlook event. */
|
|
11416
|
+
eventLink?: string;
|
|
11417
|
+
};
|
|
11395
11418
|
/**
|
|
11396
|
-
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar import, or a direct API integration. The matching property below carries the details.
|
|
11419
|
+
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar or Outlook Calendar import, or a direct API integration. The matching property below carries the details.
|
|
11397
11420
|
* @enum {string}
|
|
11398
11421
|
*/
|
|
11399
|
-
type: "api" | "app" | "googleCalendar" | "mcp" | "member";
|
|
11422
|
+
type: "api" | "app" | "googleCalendar" | "mcp" | "member" | "outlookCalendar";
|
|
11400
11423
|
};
|
|
11401
11424
|
/**
|
|
11402
11425
|
* Format: date-time
|
|
@@ -12445,11 +12468,20 @@ interface components {
|
|
|
12445
12468
|
};
|
|
12446
12469
|
/** @description Set when `type` is `member`. */
|
|
12447
12470
|
member?: Record<string, never>;
|
|
12471
|
+
/** @description Set when `type` is `outlookCalendar`. */
|
|
12472
|
+
outlookCalendar?: {
|
|
12473
|
+
/** @description ID of the Outlook calendar the event was imported from. */
|
|
12474
|
+
calendarId?: string;
|
|
12475
|
+
/** @description ID of the Outlook event the booking mirrors. */
|
|
12476
|
+
eventId?: string;
|
|
12477
|
+
/** @description Link to the Outlook event. */
|
|
12478
|
+
eventLink?: string;
|
|
12479
|
+
};
|
|
12448
12480
|
/**
|
|
12449
|
-
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar import, or a direct API integration. The matching property below carries the details.
|
|
12481
|
+
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar or Outlook Calendar import, or a direct API integration. The matching property below carries the details.
|
|
12450
12482
|
* @enum {string}
|
|
12451
12483
|
*/
|
|
12452
|
-
type: "api" | "app" | "googleCalendar" | "mcp" | "member";
|
|
12484
|
+
type: "api" | "app" | "googleCalendar" | "mcp" | "member" | "outlookCalendar";
|
|
12453
12485
|
};
|
|
12454
12486
|
/**
|
|
12455
12487
|
* Format: date-time
|
|
@@ -13174,6 +13206,35 @@ interface components {
|
|
|
13174
13206
|
type?: "company" | "user";
|
|
13175
13207
|
};
|
|
13176
13208
|
};
|
|
13209
|
+
/** @description External payment method details: the payment is collected outside Spacebring, in cash or by bank transfer. */
|
|
13210
|
+
external?: {
|
|
13211
|
+
/** @description Customer who paid outside Spacebring. */
|
|
13212
|
+
customer: {
|
|
13213
|
+
/** @description Customer identifier. */
|
|
13214
|
+
id?: string;
|
|
13215
|
+
/** @description Location the customer belongs to. */
|
|
13216
|
+
location?: {
|
|
13217
|
+
/**
|
|
13218
|
+
* Format: uuid
|
|
13219
|
+
* @description Unique identifier of the location.
|
|
13220
|
+
*/
|
|
13221
|
+
id: string;
|
|
13222
|
+
/** @description Display name of the location. */
|
|
13223
|
+
title: string;
|
|
13224
|
+
};
|
|
13225
|
+
/** @description First name of the customer. */
|
|
13226
|
+
name?: string | null;
|
|
13227
|
+
/** @description Last name of the customer. */
|
|
13228
|
+
surname?: string | null;
|
|
13229
|
+
/** @description Company title. */
|
|
13230
|
+
title?: string;
|
|
13231
|
+
/**
|
|
13232
|
+
* @description Customer type.
|
|
13233
|
+
* @enum {string}
|
|
13234
|
+
*/
|
|
13235
|
+
type?: "company" | "user";
|
|
13236
|
+
};
|
|
13237
|
+
};
|
|
13177
13238
|
/** @description Invoice payment method details. */
|
|
13178
13239
|
invoice?: {
|
|
13179
13240
|
/** @description Customer who paid by invoice. */
|
|
@@ -13267,7 +13328,7 @@ interface components {
|
|
|
13267
13328
|
* @description Payment method type.
|
|
13268
13329
|
* @enum {string}
|
|
13269
13330
|
*/
|
|
13270
|
-
type: "credits" | "invoice" | "paymentGateway";
|
|
13331
|
+
type: "credits" | "external" | "invoice" | "paymentGateway";
|
|
13271
13332
|
};
|
|
13272
13333
|
/** @description Price breakdown for this payment. */
|
|
13273
13334
|
price: {
|
|
@@ -13398,10 +13459,10 @@ interface components {
|
|
|
13398
13459
|
type?: string;
|
|
13399
13460
|
};
|
|
13400
13461
|
/**
|
|
13401
|
-
* @description Current order status.
|
|
13462
|
+
* @description Current order status. An order is pending while its payment is still processing.
|
|
13402
13463
|
* @enum {string}
|
|
13403
13464
|
*/
|
|
13404
|
-
status: "
|
|
13465
|
+
status: "canceled" | "completed" | "inProgress" | "new" | "pending";
|
|
13405
13466
|
/** @description User who placed the order. */
|
|
13406
13467
|
user: {
|
|
13407
13468
|
/** @description Short bio of the user. */
|
|
@@ -13642,6 +13703,35 @@ interface components {
|
|
|
13642
13703
|
type?: "company" | "user";
|
|
13643
13704
|
};
|
|
13644
13705
|
};
|
|
13706
|
+
/** @description External payment method details: the payment is collected outside Spacebring, in cash or by bank transfer. */
|
|
13707
|
+
external?: {
|
|
13708
|
+
/** @description Customer who paid outside Spacebring. */
|
|
13709
|
+
customer: {
|
|
13710
|
+
/** @description Customer identifier. */
|
|
13711
|
+
id?: string;
|
|
13712
|
+
/** @description Location the customer belongs to. */
|
|
13713
|
+
location?: {
|
|
13714
|
+
/**
|
|
13715
|
+
* Format: uuid
|
|
13716
|
+
* @description Unique identifier of the location.
|
|
13717
|
+
*/
|
|
13718
|
+
id: string;
|
|
13719
|
+
/** @description Display name of the location. */
|
|
13720
|
+
title: string;
|
|
13721
|
+
};
|
|
13722
|
+
/** @description First name of the customer. */
|
|
13723
|
+
name?: string | null;
|
|
13724
|
+
/** @description Last name of the customer. */
|
|
13725
|
+
surname?: string | null;
|
|
13726
|
+
/** @description Company title. */
|
|
13727
|
+
title?: string;
|
|
13728
|
+
/**
|
|
13729
|
+
* @description Customer type.
|
|
13730
|
+
* @enum {string}
|
|
13731
|
+
*/
|
|
13732
|
+
type?: "company" | "user";
|
|
13733
|
+
};
|
|
13734
|
+
};
|
|
13645
13735
|
/** @description Invoice payment method details. */
|
|
13646
13736
|
invoice?: {
|
|
13647
13737
|
/** @description Customer who paid by invoice. */
|
|
@@ -13735,7 +13825,7 @@ interface components {
|
|
|
13735
13825
|
* @description Payment method type.
|
|
13736
13826
|
* @enum {string}
|
|
13737
13827
|
*/
|
|
13738
|
-
type: "credits" | "invoice" | "paymentGateway";
|
|
13828
|
+
type: "credits" | "external" | "invoice" | "paymentGateway";
|
|
13739
13829
|
};
|
|
13740
13830
|
/** @description Price breakdown for this payment. */
|
|
13741
13831
|
price: {
|
|
@@ -13866,10 +13956,10 @@ interface components {
|
|
|
13866
13956
|
type?: string;
|
|
13867
13957
|
};
|
|
13868
13958
|
/**
|
|
13869
|
-
* @description Current order status.
|
|
13959
|
+
* @description Current order status. An order is pending while its payment is still processing.
|
|
13870
13960
|
* @enum {string}
|
|
13871
13961
|
*/
|
|
13872
|
-
status: "
|
|
13962
|
+
status: "canceled" | "completed" | "inProgress" | "new" | "pending";
|
|
13873
13963
|
/** @description User who placed the order. */
|
|
13874
13964
|
user: {
|
|
13875
13965
|
/** @description Short bio of the user. */
|
|
@@ -22908,11 +22998,11 @@ interface components {
|
|
|
22908
22998
|
price?: number;
|
|
22909
22999
|
/** @description Stepped credit pricing tiers. */
|
|
22910
23000
|
tiers: {
|
|
22911
|
-
/** @description Fixed fee added
|
|
23001
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
22912
23002
|
flatAmount: number;
|
|
22913
|
-
/** @description
|
|
23003
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
22914
23004
|
from: number;
|
|
22915
|
-
/** @description
|
|
23005
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
22916
23006
|
unitAmount: number;
|
|
22917
23007
|
}[];
|
|
22918
23008
|
};
|
|
@@ -22977,14 +23067,21 @@ interface components {
|
|
|
22977
23067
|
price?: number;
|
|
22978
23068
|
/** @description Stepped money pricing tiers. */
|
|
22979
23069
|
tiers: {
|
|
22980
|
-
/** @description Fixed fee added
|
|
23070
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
22981
23071
|
flatAmount: number;
|
|
22982
|
-
/** @description
|
|
23072
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
22983
23073
|
from: number;
|
|
22984
|
-
/** @description
|
|
23074
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
22985
23075
|
unitAmount: number;
|
|
22986
23076
|
}[];
|
|
22987
23077
|
};
|
|
23078
|
+
/** @description Outlook Calendar integration settings. Pass null to disconnect the calendar from the resource. */
|
|
23079
|
+
outlookCalendar?: {
|
|
23080
|
+
/** @description Outlook calendar id. */
|
|
23081
|
+
id: string;
|
|
23082
|
+
/** @description Whether two-way sync is enabled. */
|
|
23083
|
+
twoWaySyncEnabled: boolean;
|
|
23084
|
+
} | null;
|
|
22988
23085
|
/**
|
|
22989
23086
|
* Format: uuid
|
|
22990
23087
|
* @description Parent resource id when creating a child resource.
|
|
@@ -23322,11 +23419,11 @@ interface components {
|
|
|
23322
23419
|
price?: number;
|
|
23323
23420
|
/** @description Stepped credit pricing tiers. */
|
|
23324
23421
|
tiers: {
|
|
23325
|
-
/** @description Fixed fee added
|
|
23422
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
23326
23423
|
flatAmount: number;
|
|
23327
|
-
/** @description
|
|
23424
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
23328
23425
|
from: number;
|
|
23329
|
-
/** @description
|
|
23426
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
23330
23427
|
unitAmount: number;
|
|
23331
23428
|
}[];
|
|
23332
23429
|
};
|
|
@@ -23381,14 +23478,21 @@ interface components {
|
|
|
23381
23478
|
price?: number;
|
|
23382
23479
|
/** @description Stepped money pricing tiers. */
|
|
23383
23480
|
tiers: {
|
|
23384
|
-
/** @description Fixed fee added
|
|
23481
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
23385
23482
|
flatAmount: number;
|
|
23386
|
-
/** @description
|
|
23483
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
23387
23484
|
from: number;
|
|
23388
|
-
/** @description
|
|
23485
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
23389
23486
|
unitAmount: number;
|
|
23390
23487
|
}[];
|
|
23391
23488
|
};
|
|
23489
|
+
/** @description Outlook Calendar integration settings. Pass null to disconnect the calendar from the resource. */
|
|
23490
|
+
outlookCalendar?: {
|
|
23491
|
+
/** @description Outlook calendar id. */
|
|
23492
|
+
id: string;
|
|
23493
|
+
/** @description Whether two-way sync is enabled. */
|
|
23494
|
+
twoWaySyncEnabled: boolean;
|
|
23495
|
+
} | null;
|
|
23392
23496
|
/**
|
|
23393
23497
|
* Format: uuid
|
|
23394
23498
|
* @description Parent resource id when creating a child resource.
|
package/dist/index.d.ts
CHANGED
|
@@ -9082,16 +9082,16 @@ interface components {
|
|
|
9082
9082
|
enabled: boolean;
|
|
9083
9083
|
/** @description Stepped credit pricing tiers. */
|
|
9084
9084
|
tiers: {
|
|
9085
|
-
/** @description Fixed fee added
|
|
9085
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9086
9086
|
flatAmount: number;
|
|
9087
|
-
/** @description
|
|
9087
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9088
9088
|
from: number;
|
|
9089
9089
|
/**
|
|
9090
9090
|
* @description Whether the tier is priced per hour or per day.
|
|
9091
9091
|
* @enum {string}
|
|
9092
9092
|
*/
|
|
9093
9093
|
unit: "hour" | "day";
|
|
9094
|
-
/** @description
|
|
9094
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9095
9095
|
unitAmount: number;
|
|
9096
9096
|
}[];
|
|
9097
9097
|
};
|
|
@@ -9160,16 +9160,16 @@ interface components {
|
|
|
9160
9160
|
enabled: boolean;
|
|
9161
9161
|
/** @description Stepped money pricing tiers. */
|
|
9162
9162
|
tiers: {
|
|
9163
|
-
/** @description Fixed fee added
|
|
9163
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9164
9164
|
flatAmount: number;
|
|
9165
|
-
/** @description
|
|
9165
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9166
9166
|
from: number;
|
|
9167
9167
|
/**
|
|
9168
9168
|
* @description Whether the tier is priced per hour or per day.
|
|
9169
9169
|
* @enum {string}
|
|
9170
9170
|
*/
|
|
9171
9171
|
unit: "hour" | "day";
|
|
9172
|
-
/** @description
|
|
9172
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9173
9173
|
unitAmount: number;
|
|
9174
9174
|
}[];
|
|
9175
9175
|
};
|
|
@@ -9178,6 +9178,13 @@ interface components {
|
|
|
9178
9178
|
* @description ID of the network.
|
|
9179
9179
|
*/
|
|
9180
9180
|
networkRef: string;
|
|
9181
|
+
/** @description Outlook Calendar integration settings. */
|
|
9182
|
+
outlookCalendar?: {
|
|
9183
|
+
/** @description Outlook calendar id. */
|
|
9184
|
+
id: string;
|
|
9185
|
+
/** @description Whether two-way sync is enabled. */
|
|
9186
|
+
twoWaySyncEnabled: boolean;
|
|
9187
|
+
};
|
|
9181
9188
|
/**
|
|
9182
9189
|
* Format: uuid
|
|
9183
9190
|
* @description Parent resource id when this is a child resource.
|
|
@@ -9706,16 +9713,16 @@ interface components {
|
|
|
9706
9713
|
enabled: boolean;
|
|
9707
9714
|
/** @description Stepped credit pricing tiers. */
|
|
9708
9715
|
tiers: {
|
|
9709
|
-
/** @description Fixed fee added
|
|
9716
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9710
9717
|
flatAmount: number;
|
|
9711
|
-
/** @description
|
|
9718
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9712
9719
|
from: number;
|
|
9713
9720
|
/**
|
|
9714
9721
|
* @description Whether the tier is priced per hour or per day.
|
|
9715
9722
|
* @enum {string}
|
|
9716
9723
|
*/
|
|
9717
9724
|
unit: "hour" | "day";
|
|
9718
|
-
/** @description
|
|
9725
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9719
9726
|
unitAmount: number;
|
|
9720
9727
|
}[];
|
|
9721
9728
|
};
|
|
@@ -9784,16 +9791,16 @@ interface components {
|
|
|
9784
9791
|
enabled: boolean;
|
|
9785
9792
|
/** @description Stepped money pricing tiers. */
|
|
9786
9793
|
tiers: {
|
|
9787
|
-
/** @description Fixed fee added
|
|
9794
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
9788
9795
|
flatAmount: number;
|
|
9789
|
-
/** @description
|
|
9796
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
9790
9797
|
from: number;
|
|
9791
9798
|
/**
|
|
9792
9799
|
* @description Whether the tier is priced per hour or per day.
|
|
9793
9800
|
* @enum {string}
|
|
9794
9801
|
*/
|
|
9795
9802
|
unit: "hour" | "day";
|
|
9796
|
-
/** @description
|
|
9803
|
+
/** @description Price per unit of booking time within this tier, never per minute. */
|
|
9797
9804
|
unitAmount: number;
|
|
9798
9805
|
}[];
|
|
9799
9806
|
};
|
|
@@ -9802,6 +9809,13 @@ interface components {
|
|
|
9802
9809
|
* @description ID of the network.
|
|
9803
9810
|
*/
|
|
9804
9811
|
networkRef: string;
|
|
9812
|
+
/** @description Outlook Calendar integration settings. */
|
|
9813
|
+
outlookCalendar?: {
|
|
9814
|
+
/** @description Outlook calendar id. */
|
|
9815
|
+
id: string;
|
|
9816
|
+
/** @description Whether two-way sync is enabled. */
|
|
9817
|
+
twoWaySyncEnabled: boolean;
|
|
9818
|
+
};
|
|
9805
9819
|
/**
|
|
9806
9820
|
* Format: uuid
|
|
9807
9821
|
* @description Parent resource id when this is a child resource.
|
|
@@ -11392,11 +11406,20 @@ interface components {
|
|
|
11392
11406
|
};
|
|
11393
11407
|
/** @description Set when `type` is `member`. */
|
|
11394
11408
|
member?: Record<string, never>;
|
|
11409
|
+
/** @description Set when `type` is `outlookCalendar`. */
|
|
11410
|
+
outlookCalendar?: {
|
|
11411
|
+
/** @description ID of the Outlook calendar the event was imported from. */
|
|
11412
|
+
calendarId?: string;
|
|
11413
|
+
/** @description ID of the Outlook event the booking mirrors. */
|
|
11414
|
+
eventId?: string;
|
|
11415
|
+
/** @description Link to the Outlook event. */
|
|
11416
|
+
eventLink?: string;
|
|
11417
|
+
};
|
|
11395
11418
|
/**
|
|
11396
|
-
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar import, or a direct API integration. The matching property below carries the details.
|
|
11419
|
+
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar or Outlook Calendar import, or a direct API integration. The matching property below carries the details.
|
|
11397
11420
|
* @enum {string}
|
|
11398
11421
|
*/
|
|
11399
|
-
type: "api" | "app" | "googleCalendar" | "mcp" | "member";
|
|
11422
|
+
type: "api" | "app" | "googleCalendar" | "mcp" | "member" | "outlookCalendar";
|
|
11400
11423
|
};
|
|
11401
11424
|
/**
|
|
11402
11425
|
* Format: date-time
|
|
@@ -12445,11 +12468,20 @@ interface components {
|
|
|
12445
12468
|
};
|
|
12446
12469
|
/** @description Set when `type` is `member`. */
|
|
12447
12470
|
member?: Record<string, never>;
|
|
12471
|
+
/** @description Set when `type` is `outlookCalendar`. */
|
|
12472
|
+
outlookCalendar?: {
|
|
12473
|
+
/** @description ID of the Outlook calendar the event was imported from. */
|
|
12474
|
+
calendarId?: string;
|
|
12475
|
+
/** @description ID of the Outlook event the booking mirrors. */
|
|
12476
|
+
eventId?: string;
|
|
12477
|
+
/** @description Link to the Outlook event. */
|
|
12478
|
+
eventLink?: string;
|
|
12479
|
+
};
|
|
12448
12480
|
/**
|
|
12449
|
-
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar import, or a direct API integration. The matching property below carries the details.
|
|
12481
|
+
* @description Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar or Outlook Calendar import, or a direct API integration. The matching property below carries the details.
|
|
12450
12482
|
* @enum {string}
|
|
12451
12483
|
*/
|
|
12452
|
-
type: "api" | "app" | "googleCalendar" | "mcp" | "member";
|
|
12484
|
+
type: "api" | "app" | "googleCalendar" | "mcp" | "member" | "outlookCalendar";
|
|
12453
12485
|
};
|
|
12454
12486
|
/**
|
|
12455
12487
|
* Format: date-time
|
|
@@ -13174,6 +13206,35 @@ interface components {
|
|
|
13174
13206
|
type?: "company" | "user";
|
|
13175
13207
|
};
|
|
13176
13208
|
};
|
|
13209
|
+
/** @description External payment method details: the payment is collected outside Spacebring, in cash or by bank transfer. */
|
|
13210
|
+
external?: {
|
|
13211
|
+
/** @description Customer who paid outside Spacebring. */
|
|
13212
|
+
customer: {
|
|
13213
|
+
/** @description Customer identifier. */
|
|
13214
|
+
id?: string;
|
|
13215
|
+
/** @description Location the customer belongs to. */
|
|
13216
|
+
location?: {
|
|
13217
|
+
/**
|
|
13218
|
+
* Format: uuid
|
|
13219
|
+
* @description Unique identifier of the location.
|
|
13220
|
+
*/
|
|
13221
|
+
id: string;
|
|
13222
|
+
/** @description Display name of the location. */
|
|
13223
|
+
title: string;
|
|
13224
|
+
};
|
|
13225
|
+
/** @description First name of the customer. */
|
|
13226
|
+
name?: string | null;
|
|
13227
|
+
/** @description Last name of the customer. */
|
|
13228
|
+
surname?: string | null;
|
|
13229
|
+
/** @description Company title. */
|
|
13230
|
+
title?: string;
|
|
13231
|
+
/**
|
|
13232
|
+
* @description Customer type.
|
|
13233
|
+
* @enum {string}
|
|
13234
|
+
*/
|
|
13235
|
+
type?: "company" | "user";
|
|
13236
|
+
};
|
|
13237
|
+
};
|
|
13177
13238
|
/** @description Invoice payment method details. */
|
|
13178
13239
|
invoice?: {
|
|
13179
13240
|
/** @description Customer who paid by invoice. */
|
|
@@ -13267,7 +13328,7 @@ interface components {
|
|
|
13267
13328
|
* @description Payment method type.
|
|
13268
13329
|
* @enum {string}
|
|
13269
13330
|
*/
|
|
13270
|
-
type: "credits" | "invoice" | "paymentGateway";
|
|
13331
|
+
type: "credits" | "external" | "invoice" | "paymentGateway";
|
|
13271
13332
|
};
|
|
13272
13333
|
/** @description Price breakdown for this payment. */
|
|
13273
13334
|
price: {
|
|
@@ -13398,10 +13459,10 @@ interface components {
|
|
|
13398
13459
|
type?: string;
|
|
13399
13460
|
};
|
|
13400
13461
|
/**
|
|
13401
|
-
* @description Current order status.
|
|
13462
|
+
* @description Current order status. An order is pending while its payment is still processing.
|
|
13402
13463
|
* @enum {string}
|
|
13403
13464
|
*/
|
|
13404
|
-
status: "
|
|
13465
|
+
status: "canceled" | "completed" | "inProgress" | "new" | "pending";
|
|
13405
13466
|
/** @description User who placed the order. */
|
|
13406
13467
|
user: {
|
|
13407
13468
|
/** @description Short bio of the user. */
|
|
@@ -13642,6 +13703,35 @@ interface components {
|
|
|
13642
13703
|
type?: "company" | "user";
|
|
13643
13704
|
};
|
|
13644
13705
|
};
|
|
13706
|
+
/** @description External payment method details: the payment is collected outside Spacebring, in cash or by bank transfer. */
|
|
13707
|
+
external?: {
|
|
13708
|
+
/** @description Customer who paid outside Spacebring. */
|
|
13709
|
+
customer: {
|
|
13710
|
+
/** @description Customer identifier. */
|
|
13711
|
+
id?: string;
|
|
13712
|
+
/** @description Location the customer belongs to. */
|
|
13713
|
+
location?: {
|
|
13714
|
+
/**
|
|
13715
|
+
* Format: uuid
|
|
13716
|
+
* @description Unique identifier of the location.
|
|
13717
|
+
*/
|
|
13718
|
+
id: string;
|
|
13719
|
+
/** @description Display name of the location. */
|
|
13720
|
+
title: string;
|
|
13721
|
+
};
|
|
13722
|
+
/** @description First name of the customer. */
|
|
13723
|
+
name?: string | null;
|
|
13724
|
+
/** @description Last name of the customer. */
|
|
13725
|
+
surname?: string | null;
|
|
13726
|
+
/** @description Company title. */
|
|
13727
|
+
title?: string;
|
|
13728
|
+
/**
|
|
13729
|
+
* @description Customer type.
|
|
13730
|
+
* @enum {string}
|
|
13731
|
+
*/
|
|
13732
|
+
type?: "company" | "user";
|
|
13733
|
+
};
|
|
13734
|
+
};
|
|
13645
13735
|
/** @description Invoice payment method details. */
|
|
13646
13736
|
invoice?: {
|
|
13647
13737
|
/** @description Customer who paid by invoice. */
|
|
@@ -13735,7 +13825,7 @@ interface components {
|
|
|
13735
13825
|
* @description Payment method type.
|
|
13736
13826
|
* @enum {string}
|
|
13737
13827
|
*/
|
|
13738
|
-
type: "credits" | "invoice" | "paymentGateway";
|
|
13828
|
+
type: "credits" | "external" | "invoice" | "paymentGateway";
|
|
13739
13829
|
};
|
|
13740
13830
|
/** @description Price breakdown for this payment. */
|
|
13741
13831
|
price: {
|
|
@@ -13866,10 +13956,10 @@ interface components {
|
|
|
13866
13956
|
type?: string;
|
|
13867
13957
|
};
|
|
13868
13958
|
/**
|
|
13869
|
-
* @description Current order status.
|
|
13959
|
+
* @description Current order status. An order is pending while its payment is still processing.
|
|
13870
13960
|
* @enum {string}
|
|
13871
13961
|
*/
|
|
13872
|
-
status: "
|
|
13962
|
+
status: "canceled" | "completed" | "inProgress" | "new" | "pending";
|
|
13873
13963
|
/** @description User who placed the order. */
|
|
13874
13964
|
user: {
|
|
13875
13965
|
/** @description Short bio of the user. */
|
|
@@ -22908,11 +22998,11 @@ interface components {
|
|
|
22908
22998
|
price?: number;
|
|
22909
22999
|
/** @description Stepped credit pricing tiers. */
|
|
22910
23000
|
tiers: {
|
|
22911
|
-
/** @description Fixed fee added
|
|
23001
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
22912
23002
|
flatAmount: number;
|
|
22913
|
-
/** @description
|
|
23003
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
22914
23004
|
from: number;
|
|
22915
|
-
/** @description
|
|
23005
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
22916
23006
|
unitAmount: number;
|
|
22917
23007
|
}[];
|
|
22918
23008
|
};
|
|
@@ -22977,14 +23067,21 @@ interface components {
|
|
|
22977
23067
|
price?: number;
|
|
22978
23068
|
/** @description Stepped money pricing tiers. */
|
|
22979
23069
|
tiers: {
|
|
22980
|
-
/** @description Fixed fee added
|
|
23070
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
22981
23071
|
flatAmount: number;
|
|
22982
|
-
/** @description
|
|
23072
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
22983
23073
|
from: number;
|
|
22984
|
-
/** @description
|
|
23074
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
22985
23075
|
unitAmount: number;
|
|
22986
23076
|
}[];
|
|
22987
23077
|
};
|
|
23078
|
+
/** @description Outlook Calendar integration settings. Pass null to disconnect the calendar from the resource. */
|
|
23079
|
+
outlookCalendar?: {
|
|
23080
|
+
/** @description Outlook calendar id. */
|
|
23081
|
+
id: string;
|
|
23082
|
+
/** @description Whether two-way sync is enabled. */
|
|
23083
|
+
twoWaySyncEnabled: boolean;
|
|
23084
|
+
} | null;
|
|
22988
23085
|
/**
|
|
22989
23086
|
* Format: uuid
|
|
22990
23087
|
* @description Parent resource id when creating a child resource.
|
|
@@ -23322,11 +23419,11 @@ interface components {
|
|
|
23322
23419
|
price?: number;
|
|
23323
23420
|
/** @description Stepped credit pricing tiers. */
|
|
23324
23421
|
tiers: {
|
|
23325
|
-
/** @description Fixed fee added
|
|
23422
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
23326
23423
|
flatAmount: number;
|
|
23327
|
-
/** @description
|
|
23424
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
23328
23425
|
from: number;
|
|
23329
|
-
/** @description
|
|
23426
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
23330
23427
|
unitAmount: number;
|
|
23331
23428
|
}[];
|
|
23332
23429
|
};
|
|
@@ -23381,14 +23478,21 @@ interface components {
|
|
|
23381
23478
|
price?: number;
|
|
23382
23479
|
/** @description Stepped money pricing tiers. */
|
|
23383
23480
|
tiers: {
|
|
23384
|
-
/** @description Fixed fee added
|
|
23481
|
+
/** @description Fixed fee added once to bookings in this tier. */
|
|
23385
23482
|
flatAmount: number;
|
|
23386
|
-
/** @description
|
|
23483
|
+
/** @description Booking length in minutes at which this tier starts, for example 480 for 8 hours. */
|
|
23387
23484
|
from: number;
|
|
23388
|
-
/** @description
|
|
23485
|
+
/** @description Price per hour of booking within this tier, not per minute, for example 40 for 40 per hour. */
|
|
23389
23486
|
unitAmount: number;
|
|
23390
23487
|
}[];
|
|
23391
23488
|
};
|
|
23489
|
+
/** @description Outlook Calendar integration settings. Pass null to disconnect the calendar from the resource. */
|
|
23490
|
+
outlookCalendar?: {
|
|
23491
|
+
/** @description Outlook calendar id. */
|
|
23492
|
+
id: string;
|
|
23493
|
+
/** @description Whether two-way sync is enabled. */
|
|
23494
|
+
twoWaySyncEnabled: boolean;
|
|
23495
|
+
} | null;
|
|
23392
23496
|
/**
|
|
23393
23497
|
* Format: uuid
|
|
23394
23498
|
* @description Parent resource id when creating a child resource.
|
package/package.json
CHANGED