@izak0s/spacebring-api 14.0.0 → 16.0.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/README.md +1 -1
- package/dist/index.cjs +91 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1027 -87
- package/dist/index.d.ts +1027 -87
- package/dist/index.js +91 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -358,7 +358,7 @@ interface paths {
|
|
|
358
358
|
put?: never;
|
|
359
359
|
/**
|
|
360
360
|
* Create a category
|
|
361
|
-
* @description Create a benefit category. <h3>OAuth</h3>Required scopes: <code>benefits</code>
|
|
361
|
+
* @description Create a benefit category. A user needs the Settings permission in the location. <h3>OAuth</h3>Required scopes: <code>benefits</code>
|
|
362
362
|
*/
|
|
363
363
|
post: operations["createBenefitCategory"];
|
|
364
364
|
delete?: never;
|
|
@@ -444,7 +444,11 @@ interface paths {
|
|
|
444
444
|
delete: operations["deleteBenefit"];
|
|
445
445
|
options?: never;
|
|
446
446
|
head?: never;
|
|
447
|
-
|
|
447
|
+
/**
|
|
448
|
+
* Partially update a benefit
|
|
449
|
+
* @description Update the fields of a benefit that the request sets; omitted fields keep their current values. <h3>OAuth</h3>Required scopes: <code>benefits</code>
|
|
450
|
+
*/
|
|
451
|
+
patch: operations["patchBenefit"];
|
|
448
452
|
trace?: never;
|
|
449
453
|
};
|
|
450
454
|
"/benefits/v1/media": {
|
|
@@ -824,6 +828,26 @@ interface paths {
|
|
|
824
828
|
patch: operations["updateCreditNote"];
|
|
825
829
|
trace?: never;
|
|
826
830
|
};
|
|
831
|
+
"/billing/credit_notes/v1/{id}/void": {
|
|
832
|
+
parameters: {
|
|
833
|
+
query?: never;
|
|
834
|
+
header?: never;
|
|
835
|
+
path?: never;
|
|
836
|
+
cookie?: never;
|
|
837
|
+
};
|
|
838
|
+
get?: never;
|
|
839
|
+
/**
|
|
840
|
+
* Void a credit note
|
|
841
|
+
* @description Void a credit note permanently: the amount it took off the invoice is owed again. Only an issued credit note of type <code>prePayment</code> can be voided, while its invoice is still issued, unpaid and has no payment in progress. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
842
|
+
*/
|
|
843
|
+
put: operations["voidCreditNote"];
|
|
844
|
+
post?: never;
|
|
845
|
+
delete?: never;
|
|
846
|
+
options?: never;
|
|
847
|
+
head?: never;
|
|
848
|
+
patch?: never;
|
|
849
|
+
trace?: never;
|
|
850
|
+
};
|
|
827
851
|
"/billing/credit_notes/v1/preview": {
|
|
828
852
|
parameters: {
|
|
829
853
|
query?: never;
|
|
@@ -1493,7 +1517,11 @@ interface paths {
|
|
|
1493
1517
|
delete: operations["deleteEvent"];
|
|
1494
1518
|
options?: never;
|
|
1495
1519
|
head?: never;
|
|
1496
|
-
|
|
1520
|
+
/**
|
|
1521
|
+
* Partially update an event
|
|
1522
|
+
* @description Update the fields of an event that the request sets; omitted fields keep their current values. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1523
|
+
*/
|
|
1524
|
+
patch: operations["patchEvent"];
|
|
1497
1525
|
trace?: never;
|
|
1498
1526
|
};
|
|
1499
1527
|
"/events/v1/{id}/cancel": {
|
|
@@ -1694,7 +1722,11 @@ interface paths {
|
|
|
1694
1722
|
delete: operations["deleteFeedPost"];
|
|
1695
1723
|
options?: never;
|
|
1696
1724
|
head?: never;
|
|
1697
|
-
|
|
1725
|
+
/**
|
|
1726
|
+
* Partially update a post
|
|
1727
|
+
* @description Update the fields of a feed post that the request sets; omitted fields keep their current values. <h3>OAuth</h3>Required scopes: <code>feed</code>
|
|
1728
|
+
*/
|
|
1729
|
+
patch: operations["patchFeedPost"];
|
|
1698
1730
|
trace?: never;
|
|
1699
1731
|
};
|
|
1700
1732
|
"/feed/posts/v1/{id}/comments": {
|
|
@@ -2200,10 +2232,18 @@ interface paths {
|
|
|
2200
2232
|
path?: never;
|
|
2201
2233
|
cookie?: never;
|
|
2202
2234
|
};
|
|
2203
|
-
|
|
2235
|
+
/**
|
|
2236
|
+
* Get a resource assignment
|
|
2237
|
+
* @description Get a resource assignment. <h3>OAuth</h3>Required scopes: <code>resources.readonly</code> or <code>resources</code>
|
|
2238
|
+
*/
|
|
2239
|
+
get: operations["getAssignment"];
|
|
2204
2240
|
put?: never;
|
|
2205
2241
|
post?: never;
|
|
2206
|
-
|
|
2242
|
+
/**
|
|
2243
|
+
* Delete a resource assignment
|
|
2244
|
+
* @description Delete a resource assignment. An assignment created by a subscription is removed with its subscription instead. <h3>OAuth</h3>Required scopes: <code>resources</code>
|
|
2245
|
+
*/
|
|
2246
|
+
delete: operations["deleteAssignment"];
|
|
2207
2247
|
options?: never;
|
|
2208
2248
|
head?: never;
|
|
2209
2249
|
/**
|
|
@@ -2247,7 +2287,11 @@ interface paths {
|
|
|
2247
2287
|
get: operations["getResource"];
|
|
2248
2288
|
put?: never;
|
|
2249
2289
|
post?: never;
|
|
2250
|
-
|
|
2290
|
+
/**
|
|
2291
|
+
* Delete a resource
|
|
2292
|
+
* @description Delete a resource. <h3>OAuth</h3>Required scopes: <code>resources</code>
|
|
2293
|
+
*/
|
|
2294
|
+
delete: operations["deleteResource"];
|
|
2251
2295
|
options?: never;
|
|
2252
2296
|
head?: never;
|
|
2253
2297
|
/**
|
|
@@ -2338,13 +2382,13 @@ interface paths {
|
|
|
2338
2382
|
};
|
|
2339
2383
|
/**
|
|
2340
2384
|
* Retrieve categories
|
|
2341
|
-
* @description Retrieve
|
|
2385
|
+
* @description Retrieve the shop categories of a location, or of every location in the network. <h3>OAuth</h3>Required scopes: <code>shop.readonly</code> or <code>shop</code>
|
|
2342
2386
|
*/
|
|
2343
2387
|
get: operations["getShopCategories"];
|
|
2344
2388
|
put?: never;
|
|
2345
2389
|
/**
|
|
2346
2390
|
* Create a category
|
|
2347
|
-
* @description Create a shop category. <h3>OAuth</h3>Required scopes: <code>shop</code>
|
|
2391
|
+
* @description Create a shop category. A user needs the Settings permission in the location. <h3>OAuth</h3>Required scopes: <code>shop</code>
|
|
2348
2392
|
*/
|
|
2349
2393
|
post: operations["createShopCategory"];
|
|
2350
2394
|
delete?: never;
|
|
@@ -2430,7 +2474,11 @@ interface paths {
|
|
|
2430
2474
|
delete: operations["deleteProduct"];
|
|
2431
2475
|
options?: never;
|
|
2432
2476
|
head?: never;
|
|
2433
|
-
|
|
2477
|
+
/**
|
|
2478
|
+
* Partially update a product
|
|
2479
|
+
* @description Update the fields of a product that the request sets; omitted fields keep their current values. <h3>OAuth</h3>Required scopes: <code>shop</code>
|
|
2480
|
+
*/
|
|
2481
|
+
patch: operations["patchProduct"];
|
|
2434
2482
|
trace?: never;
|
|
2435
2483
|
};
|
|
2436
2484
|
"/shop/products/v1/media": {
|
|
@@ -5384,6 +5432,11 @@ interface components {
|
|
|
5384
5432
|
};
|
|
5385
5433
|
/** @description Quantity of units. */
|
|
5386
5434
|
quantity: number;
|
|
5435
|
+
/**
|
|
5436
|
+
* @description Status of the invoice the item is on: draft, issued, paid or voided. Absent for an item on no invoice.
|
|
5437
|
+
* @enum {string}
|
|
5438
|
+
*/
|
|
5439
|
+
status?: "draft" | "issued" | "paid" | "voided";
|
|
5387
5440
|
/**
|
|
5388
5441
|
* Format: uuid
|
|
5389
5442
|
* @description ID of the associated subscription.
|
|
@@ -5790,6 +5843,11 @@ interface components {
|
|
|
5790
5843
|
};
|
|
5791
5844
|
/** @description Quantity of units. */
|
|
5792
5845
|
quantity: number;
|
|
5846
|
+
/**
|
|
5847
|
+
* @description Status of the invoice the item is on: draft, issued, paid or voided. Absent for an item on no invoice.
|
|
5848
|
+
* @enum {string}
|
|
5849
|
+
*/
|
|
5850
|
+
status?: "draft" | "issued" | "paid" | "voided";
|
|
5793
5851
|
/**
|
|
5794
5852
|
* Format: uuid
|
|
5795
5853
|
* @description ID of the associated subscription.
|
|
@@ -6599,6 +6657,11 @@ interface components {
|
|
|
6599
6657
|
type: "deskBooking" | "roomBooking" | "eventTicket" | "visit" | "subscription";
|
|
6600
6658
|
/** @description The user this check-in is for, read from the users service so the details are current. */
|
|
6601
6659
|
user?: {
|
|
6660
|
+
/**
|
|
6661
|
+
* Format: date-time
|
|
6662
|
+
* @description ISO timestamp of when the user account was deleted.
|
|
6663
|
+
*/
|
|
6664
|
+
deleteDate?: string;
|
|
6602
6665
|
/** @description Email address of the user. */
|
|
6603
6666
|
email?: string | null;
|
|
6604
6667
|
/**
|
|
@@ -6724,6 +6787,11 @@ interface components {
|
|
|
6724
6787
|
type: "deskBooking" | "roomBooking" | "eventTicket" | "visit" | "subscription";
|
|
6725
6788
|
/** @description The user this check-in is for, read from the users service so the details are current. */
|
|
6726
6789
|
user?: {
|
|
6790
|
+
/**
|
|
6791
|
+
* Format: date-time
|
|
6792
|
+
* @description ISO timestamp of when the user account was deleted.
|
|
6793
|
+
*/
|
|
6794
|
+
deleteDate?: string;
|
|
6727
6795
|
/** @description Email address of the user. */
|
|
6728
6796
|
email?: string | null;
|
|
6729
6797
|
/**
|
|
@@ -10386,8 +10454,27 @@ interface components {
|
|
|
10386
10454
|
}[];
|
|
10387
10455
|
};
|
|
10388
10456
|
}[];
|
|
10457
|
+
/** @description Rescheduling policy for cancellations and start time changes. */
|
|
10458
|
+
refundPolicy: {
|
|
10459
|
+
/** @description Rescheduling policy for bookings of nonmembers. A booking follows it instead of value when it is enabled. */
|
|
10460
|
+
public: {
|
|
10461
|
+
/** @description Whether bookings of nonmembers follow a separate rescheduling policy. */
|
|
10462
|
+
enabled: boolean;
|
|
10463
|
+
/**
|
|
10464
|
+
* @description How long before start a booking of a nonmember remains refundable.
|
|
10465
|
+
* @enum {string}
|
|
10466
|
+
*/
|
|
10467
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
10468
|
+
};
|
|
10469
|
+
/**
|
|
10470
|
+
* @description How long before start a booking remains refundable.
|
|
10471
|
+
* @enum {string}
|
|
10472
|
+
*/
|
|
10473
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
10474
|
+
};
|
|
10389
10475
|
/**
|
|
10390
|
-
* @
|
|
10476
|
+
* @deprecated
|
|
10477
|
+
* @description Deprecated. Use refundPolicy.value instead.
|
|
10391
10478
|
* @enum {string}
|
|
10392
10479
|
*/
|
|
10393
10480
|
refundThreshold: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
@@ -11090,8 +11177,27 @@ interface components {
|
|
|
11090
11177
|
}[];
|
|
11091
11178
|
};
|
|
11092
11179
|
}[];
|
|
11180
|
+
/** @description Rescheduling policy for cancellations and start time changes. */
|
|
11181
|
+
refundPolicy: {
|
|
11182
|
+
/** @description Rescheduling policy for bookings of nonmembers. A booking follows it instead of value when it is enabled. */
|
|
11183
|
+
public: {
|
|
11184
|
+
/** @description Whether bookings of nonmembers follow a separate rescheduling policy. */
|
|
11185
|
+
enabled: boolean;
|
|
11186
|
+
/**
|
|
11187
|
+
* @description How long before start a booking of a nonmember remains refundable.
|
|
11188
|
+
* @enum {string}
|
|
11189
|
+
*/
|
|
11190
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
11191
|
+
};
|
|
11192
|
+
/**
|
|
11193
|
+
* @description How long before start a booking remains refundable.
|
|
11194
|
+
* @enum {string}
|
|
11195
|
+
*/
|
|
11196
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
11197
|
+
};
|
|
11093
11198
|
/**
|
|
11094
|
-
* @
|
|
11199
|
+
* @deprecated
|
|
11200
|
+
* @description Deprecated. Use refundPolicy.value instead.
|
|
11095
11201
|
* @enum {string}
|
|
11096
11202
|
*/
|
|
11097
11203
|
refundThreshold: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
@@ -11458,6 +11564,137 @@ interface components {
|
|
|
11458
11564
|
};
|
|
11459
11565
|
};
|
|
11460
11566
|
};
|
|
11567
|
+
getAssignment: {
|
|
11568
|
+
/** @description The assignment. */
|
|
11569
|
+
assignment: {
|
|
11570
|
+
/**
|
|
11571
|
+
* @deprecated
|
|
11572
|
+
* @description Deprecated. Use customer instead. Company assigned to the resource.
|
|
11573
|
+
*/
|
|
11574
|
+
company?: {
|
|
11575
|
+
/**
|
|
11576
|
+
* Format: uuid
|
|
11577
|
+
* @description Company id.
|
|
11578
|
+
*/
|
|
11579
|
+
id: string;
|
|
11580
|
+
/** @description Company name. Present only for admin callers and the customer's own assignments. */
|
|
11581
|
+
title?: string;
|
|
11582
|
+
};
|
|
11583
|
+
/** @description Customer the resource is assigned to. */
|
|
11584
|
+
customer?: {
|
|
11585
|
+
/**
|
|
11586
|
+
* Format: uuid
|
|
11587
|
+
* @description Customer id.
|
|
11588
|
+
*/
|
|
11589
|
+
id: string;
|
|
11590
|
+
/** @description Company logo when the customer is a company. */
|
|
11591
|
+
logo?: {
|
|
11592
|
+
key: string;
|
|
11593
|
+
url: string;
|
|
11594
|
+
};
|
|
11595
|
+
/** @description Company name when the customer is a company. */
|
|
11596
|
+
title?: string;
|
|
11597
|
+
/**
|
|
11598
|
+
* @description Whether the customer is a user or company.
|
|
11599
|
+
* @enum {string}
|
|
11600
|
+
*/
|
|
11601
|
+
type: "user" | "company";
|
|
11602
|
+
/** @description User details when the customer is a user. */
|
|
11603
|
+
user?: {
|
|
11604
|
+
/** @description User email. */
|
|
11605
|
+
email?: string | null;
|
|
11606
|
+
/**
|
|
11607
|
+
* Format: uuid
|
|
11608
|
+
* @description User id.
|
|
11609
|
+
*/
|
|
11610
|
+
id: string;
|
|
11611
|
+
/** @description User first name. */
|
|
11612
|
+
name?: string | null;
|
|
11613
|
+
/** @description Profile photo URL. */
|
|
11614
|
+
photoUrl?: string | null;
|
|
11615
|
+
/** @description User last name. */
|
|
11616
|
+
surname?: string | null;
|
|
11617
|
+
};
|
|
11618
|
+
};
|
|
11619
|
+
/** @description ISO timestamp when the assignment ends. */
|
|
11620
|
+
endDate?: string;
|
|
11621
|
+
/** @description Whether the assignment grants access to the entire resource. */
|
|
11622
|
+
entire: boolean;
|
|
11623
|
+
/**
|
|
11624
|
+
* Format: uuid
|
|
11625
|
+
* @description Assignment id.
|
|
11626
|
+
*/
|
|
11627
|
+
id?: string;
|
|
11628
|
+
/**
|
|
11629
|
+
* @deprecated
|
|
11630
|
+
* @description Deprecated. Use customer instead. Membership linked to the assignment.
|
|
11631
|
+
*/
|
|
11632
|
+
membership?: {
|
|
11633
|
+
/**
|
|
11634
|
+
* Format: uuid
|
|
11635
|
+
* @description Membership id.
|
|
11636
|
+
*/
|
|
11637
|
+
id: string;
|
|
11638
|
+
};
|
|
11639
|
+
/** @description Assigned quantity when the resource is partially assigned. */
|
|
11640
|
+
quantity?: number;
|
|
11641
|
+
/** @description Resource the assignment belongs to. Present when assignments are listed on their own. */
|
|
11642
|
+
resource?: {
|
|
11643
|
+
/**
|
|
11644
|
+
* Format: uuid
|
|
11645
|
+
* @description Resource id.
|
|
11646
|
+
*/
|
|
11647
|
+
id: string;
|
|
11648
|
+
/** @description Resource image URL. */
|
|
11649
|
+
imageUrl?: string;
|
|
11650
|
+
/**
|
|
11651
|
+
* Format: uuid
|
|
11652
|
+
* @description UUID of the location the resource belongs to.
|
|
11653
|
+
*/
|
|
11654
|
+
locationRef: string;
|
|
11655
|
+
/** @description Resource title. */
|
|
11656
|
+
title: string;
|
|
11657
|
+
/** @description Resource type. */
|
|
11658
|
+
type: string;
|
|
11659
|
+
};
|
|
11660
|
+
/**
|
|
11661
|
+
* Format: uuid
|
|
11662
|
+
* @description UUID of the resource the assignment belongs to.
|
|
11663
|
+
*/
|
|
11664
|
+
resourceRef: string;
|
|
11665
|
+
/** @description ISO timestamp when the assignment starts. */
|
|
11666
|
+
startDate: string;
|
|
11667
|
+
/** @description Deprecated. Use startDate and endDate instead. Subscription backing this assignment. */
|
|
11668
|
+
subscription: {
|
|
11669
|
+
/** @description ISO timestamp when the assignment ends. */
|
|
11670
|
+
endDate?: string;
|
|
11671
|
+
/**
|
|
11672
|
+
* Format: uuid
|
|
11673
|
+
* @description Subscription id. Absent for assignments created directly by an admin.
|
|
11674
|
+
*/
|
|
11675
|
+
id?: string;
|
|
11676
|
+
/** @description ISO timestamp when the assignment starts. */
|
|
11677
|
+
startDate: string;
|
|
11678
|
+
};
|
|
11679
|
+
/**
|
|
11680
|
+
* @deprecated
|
|
11681
|
+
* @description Deprecated. Use customer instead. User assigned to the resource.
|
|
11682
|
+
*/
|
|
11683
|
+
user?: {
|
|
11684
|
+
/** @description User email. */
|
|
11685
|
+
email?: string | null;
|
|
11686
|
+
/**
|
|
11687
|
+
* Format: uuid
|
|
11688
|
+
* @description User id.
|
|
11689
|
+
*/
|
|
11690
|
+
id: string;
|
|
11691
|
+
/** @description User first name. */
|
|
11692
|
+
name?: string | null;
|
|
11693
|
+
/** @description User last name. */
|
|
11694
|
+
surname?: string | null;
|
|
11695
|
+
};
|
|
11696
|
+
};
|
|
11697
|
+
};
|
|
11461
11698
|
createResourceMedia: {
|
|
11462
11699
|
/** @description The created media upload. */
|
|
11463
11700
|
media: {
|
|
@@ -17354,12 +17591,17 @@ interface components {
|
|
|
17354
17591
|
* @description Unique identifier of the activity.
|
|
17355
17592
|
*/
|
|
17356
17593
|
id: string;
|
|
17357
|
-
/** @description Present when the activity was created by
|
|
17594
|
+
/** @description Present when the activity was created by an agent. */
|
|
17358
17595
|
lemAI?: {
|
|
17359
|
-
/**
|
|
17596
|
+
/**
|
|
17597
|
+
* Format: uuid
|
|
17598
|
+
* @description ID of the agent that created the activity. Absent for replies posted before agents.
|
|
17599
|
+
*/
|
|
17600
|
+
agentRef?: string;
|
|
17601
|
+
/** @description Display name of the agent. */
|
|
17360
17602
|
name: string;
|
|
17361
|
-
/** @description Profile image URL of the
|
|
17362
|
-
photoUrl: string;
|
|
17603
|
+
/** @description Profile image URL of the agent, or null when it has none. */
|
|
17604
|
+
photoUrl: string | null;
|
|
17363
17605
|
};
|
|
17364
17606
|
/** @description Membership of the user who performed the action. Holds only an empty user when no membership performed it, such as a Lem AI reply. */
|
|
17365
17607
|
membership?: {
|
|
@@ -22435,16 +22677,14 @@ interface components {
|
|
|
22435
22677
|
* @description ID of the location this alt currency belongs to.
|
|
22436
22678
|
*/
|
|
22437
22679
|
locationRef: string;
|
|
22438
|
-
|
|
22680
|
+
/** @description Exchange rate relative to the location main currency. Pass either exchangeRate or provider, never both. */
|
|
22681
|
+
exchangeRate?: number;
|
|
22439
22682
|
/**
|
|
22440
|
-
* @description Exchange rate provider when auto-update is enabled.
|
|
22683
|
+
* @description Exchange rate provider when auto-update is enabled. Pass either provider or exchangeRate, never both.
|
|
22441
22684
|
* @enum {string}
|
|
22442
22685
|
*/
|
|
22443
|
-
provider
|
|
22444
|
-
}
|
|
22445
|
-
/** @description Exchange rate relative to the location main currency. */
|
|
22446
|
-
exchangeRate: number;
|
|
22447
|
-
});
|
|
22686
|
+
provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
|
|
22687
|
+
};
|
|
22448
22688
|
};
|
|
22449
22689
|
};
|
|
22450
22690
|
};
|
|
@@ -22452,16 +22692,15 @@ interface components {
|
|
|
22452
22692
|
content: {
|
|
22453
22693
|
"application/json": {
|
|
22454
22694
|
/** @description Alt currency fields to update */
|
|
22455
|
-
altCurrency:
|
|
22695
|
+
altCurrency: {
|
|
22696
|
+
/** @description Exchange rate relative to the location main currency. Pass either exchangeRate or provider, never both. */
|
|
22697
|
+
exchangeRate?: number;
|
|
22456
22698
|
/**
|
|
22457
|
-
* @description Exchange rate provider when auto-update is enabled.
|
|
22699
|
+
* @description Exchange rate provider when auto-update is enabled. Pass either provider or exchangeRate, never both.
|
|
22458
22700
|
* @enum {string}
|
|
22459
22701
|
*/
|
|
22460
|
-
provider
|
|
22461
|
-
}
|
|
22462
|
-
/** @description Exchange rate relative to the location main currency. */
|
|
22463
|
-
exchangeRate: number;
|
|
22464
|
-
});
|
|
22702
|
+
provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
|
|
22703
|
+
};
|
|
22465
22704
|
};
|
|
22466
22705
|
};
|
|
22467
22706
|
};
|
|
@@ -22667,6 +22906,60 @@ interface components {
|
|
|
22667
22906
|
};
|
|
22668
22907
|
};
|
|
22669
22908
|
};
|
|
22909
|
+
patchBenefit: {
|
|
22910
|
+
content: {
|
|
22911
|
+
"application/json": {
|
|
22912
|
+
/** @description Benefit fields to change. Omitted fields keep their current values. */
|
|
22913
|
+
benefit: {
|
|
22914
|
+
/** @description Application settings. Pass the whole object; the fields inside it are not merged. */
|
|
22915
|
+
application?: {
|
|
22916
|
+
/**
|
|
22917
|
+
* @description How often a user can apply: 'once' limits to a single use, 'unlimited' allows repeated use.
|
|
22918
|
+
* @enum {string}
|
|
22919
|
+
*/
|
|
22920
|
+
allowance: "once" | "unlimited";
|
|
22921
|
+
/**
|
|
22922
|
+
* @description Label on the call-to-action button.
|
|
22923
|
+
* @enum {string}
|
|
22924
|
+
*/
|
|
22925
|
+
buttonLabel: "apply" | "buy" | "contact" | "get" | "learnMore";
|
|
22926
|
+
/** @description Confirmation email settings for applications. */
|
|
22927
|
+
confirmationEmail: {
|
|
22928
|
+
/** @description Whether a confirmation email is sent after applying. */
|
|
22929
|
+
enabled: boolean;
|
|
22930
|
+
/** @description HTML template for the confirmation email. */
|
|
22931
|
+
template: string;
|
|
22932
|
+
};
|
|
22933
|
+
/** @description Whether the application flow is enabled for this benefit. */
|
|
22934
|
+
enabled: boolean;
|
|
22935
|
+
};
|
|
22936
|
+
/**
|
|
22937
|
+
* Format: uuid
|
|
22938
|
+
* @description ID of the benefit category this benefit belongs to.
|
|
22939
|
+
*/
|
|
22940
|
+
categoryRef?: string;
|
|
22941
|
+
/** @description Full description of the benefit. */
|
|
22942
|
+
description?: string;
|
|
22943
|
+
/** @description Whether the benefit is highlighted in listings. */
|
|
22944
|
+
featured?: boolean;
|
|
22945
|
+
/** @description Media files to attach, replacing the current ones. The url is generated server-side. */
|
|
22946
|
+
media?: {
|
|
22947
|
+
/** @description Storage key of the media file, as returned by the media upload endpoint. */
|
|
22948
|
+
key: string;
|
|
22949
|
+
}[];
|
|
22950
|
+
/** @description Short tagline displayed below the title. */
|
|
22951
|
+
subtitle?: string;
|
|
22952
|
+
/** @description Display name of the benefit. */
|
|
22953
|
+
title?: string;
|
|
22954
|
+
/**
|
|
22955
|
+
* @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
|
|
22956
|
+
* @enum {string}
|
|
22957
|
+
*/
|
|
22958
|
+
visibility?: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
|
|
22959
|
+
};
|
|
22960
|
+
};
|
|
22961
|
+
};
|
|
22962
|
+
};
|
|
22670
22963
|
createBenefitMedia: {
|
|
22671
22964
|
content: {
|
|
22672
22965
|
"application/json": {
|
|
@@ -23827,6 +24120,95 @@ interface components {
|
|
|
23827
24120
|
};
|
|
23828
24121
|
};
|
|
23829
24122
|
};
|
|
24123
|
+
patchEvent: {
|
|
24124
|
+
content: {
|
|
24125
|
+
"application/json": {
|
|
24126
|
+
/** @description Event fields to change. Omitted fields keep their current values. */
|
|
24127
|
+
event: {
|
|
24128
|
+
/**
|
|
24129
|
+
* @description Event application type. purchase: paid signup (requires price). none: free/RSVP-style.
|
|
24130
|
+
* @enum {string}
|
|
24131
|
+
*/
|
|
24132
|
+
applicationType?: "purchase" | "none";
|
|
24133
|
+
/** @description Confirmation email settings. */
|
|
24134
|
+
confirmationEmail?: {
|
|
24135
|
+
/** @description Whether a confirmation email is sent after registration. */
|
|
24136
|
+
enabled: boolean;
|
|
24137
|
+
/** @description HTML template for the confirmation email. */
|
|
24138
|
+
template?: string;
|
|
24139
|
+
};
|
|
24140
|
+
/** @description Custom tax settings. */
|
|
24141
|
+
customTax?: {
|
|
24142
|
+
/** @description Whether custom tax is enabled. */
|
|
24143
|
+
enabled: boolean;
|
|
24144
|
+
/** @description Custom tax rate as a decimal. */
|
|
24145
|
+
rate: number;
|
|
24146
|
+
};
|
|
24147
|
+
/** @description Full description of the event. */
|
|
24148
|
+
description?: string;
|
|
24149
|
+
/**
|
|
24150
|
+
* Format: date-time
|
|
24151
|
+
* @description ISO timestamp of when the event ends.
|
|
24152
|
+
*/
|
|
24153
|
+
endDate?: string;
|
|
24154
|
+
/** @description Limited attendees settings. */
|
|
24155
|
+
limitedAttendees?: {
|
|
24156
|
+
/** @description Whether attendee capacity is limited. */
|
|
24157
|
+
enabled: boolean;
|
|
24158
|
+
/** @description Maximum number of attendees when limited. */
|
|
24159
|
+
limit?: number;
|
|
24160
|
+
};
|
|
24161
|
+
/** @description Media files attached to the event. */
|
|
24162
|
+
media?: {
|
|
24163
|
+
/** @description Storage key of the media file, as returned by the media upload endpoint. */
|
|
24164
|
+
key?: string;
|
|
24165
|
+
/** @description Public URL of the media file. */
|
|
24166
|
+
url?: string;
|
|
24167
|
+
}[];
|
|
24168
|
+
/** @description Pricing options for the event. Can enable credits, money, or both. */
|
|
24169
|
+
price?: {
|
|
24170
|
+
/** @description Credits pricing. */
|
|
24171
|
+
credits?: {
|
|
24172
|
+
/** @description Ticket price in credits. */
|
|
24173
|
+
amount: number;
|
|
24174
|
+
/** @description Whether credits payment is enabled. */
|
|
24175
|
+
enabled: boolean;
|
|
24176
|
+
};
|
|
24177
|
+
/** @description Money pricing. */
|
|
24178
|
+
money?: {
|
|
24179
|
+
/** @description Ticket price in money. */
|
|
24180
|
+
amount: number;
|
|
24181
|
+
/** @description Whether money payment is enabled. */
|
|
24182
|
+
enabled: boolean;
|
|
24183
|
+
};
|
|
24184
|
+
};
|
|
24185
|
+
/**
|
|
24186
|
+
* @description How far in advance a refund can be requested.
|
|
24187
|
+
* @enum {string}
|
|
24188
|
+
*/
|
|
24189
|
+
refundThreshold?: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
24190
|
+
/** @description Whether the attendees list is publicly visible. */
|
|
24191
|
+
showAttendees?: boolean;
|
|
24192
|
+
/**
|
|
24193
|
+
* Format: date-time
|
|
24194
|
+
* @description ISO timestamp of when the event starts.
|
|
24195
|
+
*/
|
|
24196
|
+
startDate?: string;
|
|
24197
|
+
/** @description Maximum number of tickets one attendee can get for the event. Set it to null to make the event unlimited. */
|
|
24198
|
+
ticketsPerAttendee?: number | null;
|
|
24199
|
+
/** @description Display name of the event. */
|
|
24200
|
+
title?: string;
|
|
24201
|
+
/** @description Venue name or address within the location. */
|
|
24202
|
+
venue?: string;
|
|
24203
|
+
/**
|
|
24204
|
+
* @description Who can see this event.
|
|
24205
|
+
* @enum {string}
|
|
24206
|
+
*/
|
|
24207
|
+
visibility?: "public" | "admins" | "networkMembers" | "members";
|
|
24208
|
+
};
|
|
24209
|
+
};
|
|
24210
|
+
};
|
|
24211
|
+
};
|
|
23830
24212
|
createEventMedia: {
|
|
23831
24213
|
content: {
|
|
23832
24214
|
"application/json": {
|
|
@@ -23916,6 +24298,40 @@ interface components {
|
|
|
23916
24298
|
};
|
|
23917
24299
|
};
|
|
23918
24300
|
};
|
|
24301
|
+
patchFeedPost: {
|
|
24302
|
+
content: {
|
|
24303
|
+
"application/json": {
|
|
24304
|
+
/** @description Feed post fields to change. Omitted fields keep their current values. */
|
|
24305
|
+
post: {
|
|
24306
|
+
/** @description Media files, replacing the ones currently attached to the post. */
|
|
24307
|
+
media?: {
|
|
24308
|
+
/** @description Storage key of the media file. */
|
|
24309
|
+
key: string;
|
|
24310
|
+
}[];
|
|
24311
|
+
/** @description Open Graph metadata for link previews. */
|
|
24312
|
+
og?: {
|
|
24313
|
+
/** @description Open Graph description. */
|
|
24314
|
+
description?: string | null;
|
|
24315
|
+
/** @description Open Graph image URL. */
|
|
24316
|
+
image?: string | null;
|
|
24317
|
+
/** @description Open Graph title. */
|
|
24318
|
+
title?: string | null;
|
|
24319
|
+
/** @description Open Graph type. */
|
|
24320
|
+
type?: string | null;
|
|
24321
|
+
/**
|
|
24322
|
+
* Format: uri
|
|
24323
|
+
* @description Open Graph URL.
|
|
24324
|
+
*/
|
|
24325
|
+
url: string;
|
|
24326
|
+
/** @description Open Graph video URL. */
|
|
24327
|
+
videoUrl?: string | null;
|
|
24328
|
+
};
|
|
24329
|
+
/** @description Post text content. */
|
|
24330
|
+
text?: string;
|
|
24331
|
+
};
|
|
24332
|
+
};
|
|
24333
|
+
};
|
|
24334
|
+
};
|
|
23919
24335
|
createFeedPostComment: {
|
|
23920
24336
|
content: {
|
|
23921
24337
|
"application/json": {
|
|
@@ -24723,8 +25139,27 @@ interface components {
|
|
|
24723
25139
|
}[];
|
|
24724
25140
|
};
|
|
24725
25141
|
}[];
|
|
25142
|
+
/** @description Rescheduling policy. A booking takes the policy that applies to its customer when it is made. */
|
|
25143
|
+
refundPolicy?: {
|
|
25144
|
+
/** @description Rescheduling policy for bookings of nonmembers. A booking follows it instead of value when it is enabled. */
|
|
25145
|
+
public: {
|
|
25146
|
+
/** @description Whether bookings of nonmembers follow a separate rescheduling policy. */
|
|
25147
|
+
enabled: boolean;
|
|
25148
|
+
/**
|
|
25149
|
+
* @description How long before start a booking of a nonmember remains refundable.
|
|
25150
|
+
* @enum {string}
|
|
25151
|
+
*/
|
|
25152
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
25153
|
+
};
|
|
25154
|
+
/**
|
|
25155
|
+
* @description How long before start a booking remains refundable.
|
|
25156
|
+
* @enum {string}
|
|
25157
|
+
*/
|
|
25158
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
25159
|
+
};
|
|
24726
25160
|
/**
|
|
24727
|
-
* @
|
|
25161
|
+
* @deprecated
|
|
25162
|
+
* @description Deprecated. Use refundPolicy.value instead. Ignored when refundPolicy is sent.
|
|
24728
25163
|
* @enum {string}
|
|
24729
25164
|
*/
|
|
24730
25165
|
refundThreshold?: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
@@ -25206,8 +25641,27 @@ interface components {
|
|
|
25206
25641
|
}[];
|
|
25207
25642
|
};
|
|
25208
25643
|
}[];
|
|
25644
|
+
/** @description Rescheduling policy. A booking takes the policy that applies to its customer when it is made. */
|
|
25645
|
+
refundPolicy?: {
|
|
25646
|
+
/** @description Rescheduling policy for bookings of nonmembers. A booking follows it instead of value when it is enabled. */
|
|
25647
|
+
public: {
|
|
25648
|
+
/** @description Whether bookings of nonmembers follow a separate rescheduling policy. */
|
|
25649
|
+
enabled: boolean;
|
|
25650
|
+
/**
|
|
25651
|
+
* @description How long before start a booking of a nonmember remains refundable.
|
|
25652
|
+
* @enum {string}
|
|
25653
|
+
*/
|
|
25654
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
25655
|
+
};
|
|
25656
|
+
/**
|
|
25657
|
+
* @description How long before start a booking remains refundable.
|
|
25658
|
+
* @enum {string}
|
|
25659
|
+
*/
|
|
25660
|
+
value: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
25661
|
+
};
|
|
25209
25662
|
/**
|
|
25210
|
-
* @
|
|
25663
|
+
* @deprecated
|
|
25664
|
+
* @description Deprecated. Use refundPolicy.value instead. Ignored when refundPolicy is sent.
|
|
25211
25665
|
* @enum {string}
|
|
25212
25666
|
*/
|
|
25213
25667
|
refundThreshold?: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
@@ -25798,6 +26252,91 @@ interface components {
|
|
|
25798
26252
|
};
|
|
25799
26253
|
};
|
|
25800
26254
|
};
|
|
26255
|
+
patchProduct: {
|
|
26256
|
+
content: {
|
|
26257
|
+
"application/json": {
|
|
26258
|
+
/** @description Product fields to change. Omitted fields keep their current values. */
|
|
26259
|
+
product: {
|
|
26260
|
+
/**
|
|
26261
|
+
* Format: uuid
|
|
26262
|
+
* @description ID of the category this product belongs to.
|
|
26263
|
+
*/
|
|
26264
|
+
categoryRef?: string;
|
|
26265
|
+
/** @description Product description. */
|
|
26266
|
+
description?: string;
|
|
26267
|
+
/** @description Whether the product is featured. */
|
|
26268
|
+
featured?: boolean;
|
|
26269
|
+
/** @description Media files of the product, replacing the current ones. */
|
|
26270
|
+
media?: {
|
|
26271
|
+
/** @description Storage key of the media file. */
|
|
26272
|
+
key: string;
|
|
26273
|
+
}[];
|
|
26274
|
+
/** @description Purchasable options, replacing the current ones. Keep the id of every option that should survive; an option keeps the stored value of every field it omits. */
|
|
26275
|
+
options?: {
|
|
26276
|
+
/** @description Whether this option is available for purchase. */
|
|
26277
|
+
available?: boolean;
|
|
26278
|
+
/** @description Custom tax settings for this option. */
|
|
26279
|
+
customTax?: {
|
|
26280
|
+
/** @description Whether custom tax is applied to this option. */
|
|
26281
|
+
enabled?: boolean;
|
|
26282
|
+
/** @description Custom tax rate (non-negative). */
|
|
26283
|
+
rate?: number;
|
|
26284
|
+
};
|
|
26285
|
+
/** @description Option description. */
|
|
26286
|
+
description?: string;
|
|
26287
|
+
/**
|
|
26288
|
+
* Format: uuid
|
|
26289
|
+
* @description UUID of the option to change. Omit to add a new option.
|
|
26290
|
+
*/
|
|
26291
|
+
id?: string;
|
|
26292
|
+
/** @description Pricing for this option. */
|
|
26293
|
+
price?: {
|
|
26294
|
+
/** @description Credits pricing. */
|
|
26295
|
+
credits?: {
|
|
26296
|
+
/** @description Price in location credits. */
|
|
26297
|
+
amount?: number;
|
|
26298
|
+
/** @description Whether credits payment is enabled for this option. */
|
|
26299
|
+
enabled?: boolean;
|
|
26300
|
+
};
|
|
26301
|
+
/** @description Money pricing. */
|
|
26302
|
+
money?: {
|
|
26303
|
+
/** @description Price in money (location currency). */
|
|
26304
|
+
amount?: number;
|
|
26305
|
+
/** @description Whether money payment is enabled for this option. */
|
|
26306
|
+
enabled?: boolean;
|
|
26307
|
+
};
|
|
26308
|
+
};
|
|
26309
|
+
/** @description Stock settings for this option. */
|
|
26310
|
+
stock?: {
|
|
26311
|
+
/** @description Whether stock tracking is enabled. */
|
|
26312
|
+
enabled?: boolean;
|
|
26313
|
+
/** @description Units on hand when stock is enabled. */
|
|
26314
|
+
quantity?: number;
|
|
26315
|
+
};
|
|
26316
|
+
/** @description Option title. */
|
|
26317
|
+
title?: string;
|
|
26318
|
+
}[];
|
|
26319
|
+
/** @description Checkout availability settings for this product. */
|
|
26320
|
+
order?: {
|
|
26321
|
+
/** @description Whether the product can be purchased through checkout. */
|
|
26322
|
+
enabled: boolean;
|
|
26323
|
+
};
|
|
26324
|
+
/**
|
|
26325
|
+
* @description Refund policy. noRefund: purchases are final. statusNew: refunds allowed while order is in new state.
|
|
26326
|
+
* @enum {string}
|
|
26327
|
+
*/
|
|
26328
|
+
refundPolicy?: "noRefund" | "statusNew";
|
|
26329
|
+
/** @description Product title. */
|
|
26330
|
+
title?: string;
|
|
26331
|
+
/**
|
|
26332
|
+
* @description Who can see this product.
|
|
26333
|
+
* @enum {string}
|
|
26334
|
+
*/
|
|
26335
|
+
visibility?: "public" | "admins" | "members" | "networkMembers";
|
|
26336
|
+
};
|
|
26337
|
+
};
|
|
26338
|
+
};
|
|
26339
|
+
};
|
|
25801
26340
|
createProductMedia: {
|
|
25802
26341
|
content: {
|
|
25803
26342
|
"application/json": {
|
|
@@ -27514,6 +28053,45 @@ interface operations {
|
|
|
27514
28053
|
};
|
|
27515
28054
|
};
|
|
27516
28055
|
};
|
|
28056
|
+
patchBenefit: {
|
|
28057
|
+
parameters: {
|
|
28058
|
+
query?: never;
|
|
28059
|
+
header?: never;
|
|
28060
|
+
path: {
|
|
28061
|
+
/** @description The id of the benefit */
|
|
28062
|
+
benefitId: string;
|
|
28063
|
+
};
|
|
28064
|
+
cookie?: never;
|
|
28065
|
+
};
|
|
28066
|
+
requestBody: components["requestBodies"]["patchBenefit"];
|
|
28067
|
+
responses: {
|
|
28068
|
+
/** @description No Content */
|
|
28069
|
+
204: {
|
|
28070
|
+
headers: {
|
|
28071
|
+
[name: string]: unknown;
|
|
28072
|
+
};
|
|
28073
|
+
content?: never;
|
|
28074
|
+
};
|
|
28075
|
+
/** @description Bad Request */
|
|
28076
|
+
400: {
|
|
28077
|
+
headers: {
|
|
28078
|
+
[name: string]: unknown;
|
|
28079
|
+
};
|
|
28080
|
+
content: {
|
|
28081
|
+
"application/json": components["schemas"]["responseError"];
|
|
28082
|
+
};
|
|
28083
|
+
};
|
|
28084
|
+
/** @description Conflict */
|
|
28085
|
+
409: {
|
|
28086
|
+
headers: {
|
|
28087
|
+
[name: string]: unknown;
|
|
28088
|
+
};
|
|
28089
|
+
content: {
|
|
28090
|
+
"application/json": components["schemas"]["responseError"];
|
|
28091
|
+
};
|
|
28092
|
+
};
|
|
28093
|
+
};
|
|
28094
|
+
};
|
|
27517
28095
|
createBenefitMedia: {
|
|
27518
28096
|
parameters: {
|
|
27519
28097
|
query?: never;
|
|
@@ -28558,6 +29136,70 @@ interface operations {
|
|
|
28558
29136
|
};
|
|
28559
29137
|
};
|
|
28560
29138
|
};
|
|
29139
|
+
voidCreditNote: {
|
|
29140
|
+
parameters: {
|
|
29141
|
+
query?: never;
|
|
29142
|
+
header?: {
|
|
29143
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
29144
|
+
"spacebring-network-id"?: string;
|
|
29145
|
+
};
|
|
29146
|
+
path: {
|
|
29147
|
+
/** @description The id of the credit note */
|
|
29148
|
+
id: string;
|
|
29149
|
+
};
|
|
29150
|
+
cookie?: never;
|
|
29151
|
+
};
|
|
29152
|
+
requestBody?: never;
|
|
29153
|
+
responses: {
|
|
29154
|
+
/** @description OK */
|
|
29155
|
+
200: {
|
|
29156
|
+
headers: {
|
|
29157
|
+
[name: string]: unknown;
|
|
29158
|
+
};
|
|
29159
|
+
content: {
|
|
29160
|
+
"application/json": {
|
|
29161
|
+
creditNote?: components["schemas"]["creditNote"];
|
|
29162
|
+
};
|
|
29163
|
+
};
|
|
29164
|
+
};
|
|
29165
|
+
/** @description Bad Request */
|
|
29166
|
+
400: {
|
|
29167
|
+
headers: {
|
|
29168
|
+
[name: string]: unknown;
|
|
29169
|
+
};
|
|
29170
|
+
content: {
|
|
29171
|
+
"application/json": components["schemas"]["responseError"];
|
|
29172
|
+
};
|
|
29173
|
+
};
|
|
29174
|
+
/** @description Forbidden - User lacks permissions */
|
|
29175
|
+
403: {
|
|
29176
|
+
headers: {
|
|
29177
|
+
[name: string]: unknown;
|
|
29178
|
+
};
|
|
29179
|
+
content: {
|
|
29180
|
+
"application/json": components["schemas"]["responseError"];
|
|
29181
|
+
};
|
|
29182
|
+
};
|
|
29183
|
+
/** @description Not Found - Credit note not found */
|
|
29184
|
+
404: {
|
|
29185
|
+
headers: {
|
|
29186
|
+
[name: string]: unknown;
|
|
29187
|
+
};
|
|
29188
|
+
content: {
|
|
29189
|
+
"application/json": components["schemas"]["responseError"];
|
|
29190
|
+
};
|
|
29191
|
+
};
|
|
29192
|
+
/** @description Conflict - The credit note cannot be voided in its current state */
|
|
29193
|
+
409: {
|
|
29194
|
+
headers: {
|
|
29195
|
+
[name: string]: unknown;
|
|
29196
|
+
};
|
|
29197
|
+
content: {
|
|
29198
|
+
"application/json": components["schemas"]["responseError"];
|
|
29199
|
+
};
|
|
29200
|
+
};
|
|
29201
|
+
};
|
|
29202
|
+
};
|
|
28561
29203
|
previewCreditNote: {
|
|
28562
29204
|
parameters: {
|
|
28563
29205
|
query?: never;
|
|
@@ -28612,15 +29254,15 @@ interface operations {
|
|
|
28612
29254
|
};
|
|
28613
29255
|
getCheckIns: {
|
|
28614
29256
|
parameters: {
|
|
28615
|
-
query
|
|
29257
|
+
query?: {
|
|
28616
29258
|
/** @description Filter check-ins whose arrival is on or after this date (ISO 8601). Use with checkInDate[lte] for a range. */
|
|
28617
29259
|
"checkInDate[gte]"?: string;
|
|
28618
29260
|
/** @description Filter check-ins whose arrival is on or before this date (ISO 8601). Use with checkInDate[gte] for a range. */
|
|
28619
29261
|
"checkInDate[lte]"?: string;
|
|
28620
29262
|
/** @description Maximum number of check-ins per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
28621
29263
|
limit?: number;
|
|
28622
|
-
/** @description UUID of the location. */
|
|
28623
|
-
locationRef
|
|
29264
|
+
/** @description UUID of the location whose check-ins to list. Omit to list check-ins across every location of the network. */
|
|
29265
|
+
locationRef?: string;
|
|
28624
29266
|
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
28625
29267
|
nextPageToken?: string;
|
|
28626
29268
|
/** @description Filter by status: 'scheduled' nobody has arrived yet, 'checkedIn' the person is on site, 'checkedOut' they left, 'expired' the window closed with nobody arriving. Defaults to every status. Comma-separated, one or more of: checkedIn, checkedOut, scheduled, expired. */
|
|
@@ -30302,7 +30944,7 @@ interface operations {
|
|
|
30302
30944
|
};
|
|
30303
30945
|
getEventsByOrganization: {
|
|
30304
30946
|
parameters: {
|
|
30305
|
-
query
|
|
30947
|
+
query?: {
|
|
30306
30948
|
/** @description Filter events whose create date is on or after this date (ISO 8601). */
|
|
30307
30949
|
"createDate[gte]"?: string;
|
|
30308
30950
|
/** @description Filter events whose create date is on or before this date (ISO 8601). */
|
|
@@ -30317,8 +30959,8 @@ interface operations {
|
|
|
30317
30959
|
"endDate[lte]"?: string;
|
|
30318
30960
|
/** @description Maximum number of events per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
30319
30961
|
limit?: number;
|
|
30320
|
-
/** @description UUID of the location whose events to list. */
|
|
30321
|
-
locationRef
|
|
30962
|
+
/** @description UUID of the location whose events to list. Omit to list events across every location of the network. */
|
|
30963
|
+
locationRef?: string;
|
|
30322
30964
|
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
30323
30965
|
nextPageToken?: string;
|
|
30324
30966
|
/** @description Sort order of events. One of relevance, createDate:asc, createDate:desc, startDate:asc, startDate:desc, endDate:asc, endDate:desc. */
|
|
@@ -30517,6 +31159,48 @@ interface operations {
|
|
|
30517
31159
|
};
|
|
30518
31160
|
};
|
|
30519
31161
|
};
|
|
31162
|
+
patchEvent: {
|
|
31163
|
+
parameters: {
|
|
31164
|
+
query?: never;
|
|
31165
|
+
header?: {
|
|
31166
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
31167
|
+
"spacebring-network-id"?: string;
|
|
31168
|
+
};
|
|
31169
|
+
path: {
|
|
31170
|
+
/** @description The id of the event. */
|
|
31171
|
+
id: string;
|
|
31172
|
+
};
|
|
31173
|
+
cookie?: never;
|
|
31174
|
+
};
|
|
31175
|
+
requestBody: components["requestBodies"]["patchEvent"];
|
|
31176
|
+
responses: {
|
|
31177
|
+
/** @description No Content */
|
|
31178
|
+
204: {
|
|
31179
|
+
headers: {
|
|
31180
|
+
[name: string]: unknown;
|
|
31181
|
+
};
|
|
31182
|
+
content?: never;
|
|
31183
|
+
};
|
|
31184
|
+
/** @description Bad Request */
|
|
31185
|
+
400: {
|
|
31186
|
+
headers: {
|
|
31187
|
+
[name: string]: unknown;
|
|
31188
|
+
};
|
|
31189
|
+
content: {
|
|
31190
|
+
"application/json": components["schemas"]["responseError"];
|
|
31191
|
+
};
|
|
31192
|
+
};
|
|
31193
|
+
/** @description Conflict */
|
|
31194
|
+
409: {
|
|
31195
|
+
headers: {
|
|
31196
|
+
[name: string]: unknown;
|
|
31197
|
+
};
|
|
31198
|
+
content: {
|
|
31199
|
+
"application/json": components["schemas"]["responseError"];
|
|
31200
|
+
};
|
|
31201
|
+
};
|
|
31202
|
+
};
|
|
31203
|
+
};
|
|
30520
31204
|
cancelEvent: {
|
|
30521
31205
|
parameters: {
|
|
30522
31206
|
query?: never;
|
|
@@ -30676,7 +31360,7 @@ interface operations {
|
|
|
30676
31360
|
includeDeleted?: string;
|
|
30677
31361
|
/** @description Maximum number of event tickets per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
30678
31362
|
limit?: number;
|
|
30679
|
-
/** @description UUID of the location whose event tickets to list. */
|
|
31363
|
+
/** @description UUID of the location whose event tickets to list. Omit locationRef, eventRef, customerRef and userRef to list event tickets across every location of the network. */
|
|
30680
31364
|
locationRef?: string;
|
|
30681
31365
|
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
30682
31366
|
nextPageToken?: string;
|
|
@@ -30877,9 +31561,9 @@ interface operations {
|
|
|
30877
31561
|
};
|
|
30878
31562
|
getFeedPosts: {
|
|
30879
31563
|
parameters: {
|
|
30880
|
-
query
|
|
30881
|
-
/** @description
|
|
30882
|
-
locationRef
|
|
31564
|
+
query?: {
|
|
31565
|
+
/** @description UUID of the location whose feed posts to list. Omit to list posts across every location of the network. */
|
|
31566
|
+
locationRef?: string;
|
|
30883
31567
|
/** @description Token to retrieve the next page of results. */
|
|
30884
31568
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
30885
31569
|
/** @description The number of items to return. */
|
|
@@ -31077,6 +31761,48 @@ interface operations {
|
|
|
31077
31761
|
};
|
|
31078
31762
|
};
|
|
31079
31763
|
};
|
|
31764
|
+
patchFeedPost: {
|
|
31765
|
+
parameters: {
|
|
31766
|
+
query?: never;
|
|
31767
|
+
header?: {
|
|
31768
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
31769
|
+
"spacebring-network-id"?: string;
|
|
31770
|
+
};
|
|
31771
|
+
path: {
|
|
31772
|
+
/** @description The id of the post. */
|
|
31773
|
+
id: string;
|
|
31774
|
+
};
|
|
31775
|
+
cookie?: never;
|
|
31776
|
+
};
|
|
31777
|
+
requestBody: components["requestBodies"]["patchFeedPost"];
|
|
31778
|
+
responses: {
|
|
31779
|
+
/** @description No Content */
|
|
31780
|
+
204: {
|
|
31781
|
+
headers: {
|
|
31782
|
+
[name: string]: unknown;
|
|
31783
|
+
};
|
|
31784
|
+
content?: never;
|
|
31785
|
+
};
|
|
31786
|
+
/** @description Bad Request */
|
|
31787
|
+
400: {
|
|
31788
|
+
headers: {
|
|
31789
|
+
[name: string]: unknown;
|
|
31790
|
+
};
|
|
31791
|
+
content: {
|
|
31792
|
+
"application/json": components["schemas"]["responseError"];
|
|
31793
|
+
};
|
|
31794
|
+
};
|
|
31795
|
+
/** @description Conflict */
|
|
31796
|
+
409: {
|
|
31797
|
+
headers: {
|
|
31798
|
+
[name: string]: unknown;
|
|
31799
|
+
};
|
|
31800
|
+
content: {
|
|
31801
|
+
"application/json": components["schemas"]["responseError"];
|
|
31802
|
+
};
|
|
31803
|
+
};
|
|
31804
|
+
};
|
|
31805
|
+
};
|
|
31080
31806
|
getPostComments: {
|
|
31081
31807
|
parameters: {
|
|
31082
31808
|
query?: never;
|
|
@@ -32488,6 +33214,110 @@ interface operations {
|
|
|
32488
33214
|
};
|
|
32489
33215
|
};
|
|
32490
33216
|
};
|
|
33217
|
+
getAssignment: {
|
|
33218
|
+
parameters: {
|
|
33219
|
+
query?: never;
|
|
33220
|
+
header?: {
|
|
33221
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
33222
|
+
"spacebring-network-id"?: string;
|
|
33223
|
+
};
|
|
33224
|
+
path: {
|
|
33225
|
+
/** @description The id of the assignment. */
|
|
33226
|
+
assignmentId: string;
|
|
33227
|
+
};
|
|
33228
|
+
cookie?: never;
|
|
33229
|
+
};
|
|
33230
|
+
requestBody?: never;
|
|
33231
|
+
responses: {
|
|
33232
|
+
/** @description OK */
|
|
33233
|
+
200: {
|
|
33234
|
+
headers: {
|
|
33235
|
+
[name: string]: unknown;
|
|
33236
|
+
};
|
|
33237
|
+
content: {
|
|
33238
|
+
"application/json": components["schemas"]["getAssignment"];
|
|
33239
|
+
};
|
|
33240
|
+
};
|
|
33241
|
+
/** @description Bad Request */
|
|
33242
|
+
400: {
|
|
33243
|
+
headers: {
|
|
33244
|
+
[name: string]: unknown;
|
|
33245
|
+
};
|
|
33246
|
+
content: {
|
|
33247
|
+
"application/json": components["schemas"]["responseError"];
|
|
33248
|
+
};
|
|
33249
|
+
};
|
|
33250
|
+
/** @description Forbidden */
|
|
33251
|
+
403: {
|
|
33252
|
+
headers: {
|
|
33253
|
+
[name: string]: unknown;
|
|
33254
|
+
};
|
|
33255
|
+
content: {
|
|
33256
|
+
"application/json": components["schemas"]["responseError"];
|
|
33257
|
+
};
|
|
33258
|
+
};
|
|
33259
|
+
/** @description Not Found */
|
|
33260
|
+
404: {
|
|
33261
|
+
headers: {
|
|
33262
|
+
[name: string]: unknown;
|
|
33263
|
+
};
|
|
33264
|
+
content: {
|
|
33265
|
+
"application/json": components["schemas"]["responseError"];
|
|
33266
|
+
};
|
|
33267
|
+
};
|
|
33268
|
+
};
|
|
33269
|
+
};
|
|
33270
|
+
deleteAssignment: {
|
|
33271
|
+
parameters: {
|
|
33272
|
+
query?: never;
|
|
33273
|
+
header?: {
|
|
33274
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
33275
|
+
"spacebring-network-id"?: string;
|
|
33276
|
+
};
|
|
33277
|
+
path: {
|
|
33278
|
+
/** @description The id of the assignment. */
|
|
33279
|
+
assignmentId: string;
|
|
33280
|
+
};
|
|
33281
|
+
cookie?: never;
|
|
33282
|
+
};
|
|
33283
|
+
requestBody?: never;
|
|
33284
|
+
responses: {
|
|
33285
|
+
/** @description No Content */
|
|
33286
|
+
204: {
|
|
33287
|
+
headers: {
|
|
33288
|
+
[name: string]: unknown;
|
|
33289
|
+
};
|
|
33290
|
+
content?: never;
|
|
33291
|
+
};
|
|
33292
|
+
/** @description Bad Request */
|
|
33293
|
+
400: {
|
|
33294
|
+
headers: {
|
|
33295
|
+
[name: string]: unknown;
|
|
33296
|
+
};
|
|
33297
|
+
content: {
|
|
33298
|
+
"application/json": components["schemas"]["responseError"];
|
|
33299
|
+
};
|
|
33300
|
+
};
|
|
33301
|
+
/** @description Forbidden */
|
|
33302
|
+
403: {
|
|
33303
|
+
headers: {
|
|
33304
|
+
[name: string]: unknown;
|
|
33305
|
+
};
|
|
33306
|
+
content: {
|
|
33307
|
+
"application/json": components["schemas"]["responseError"];
|
|
33308
|
+
};
|
|
33309
|
+
};
|
|
33310
|
+
/** @description Not Found */
|
|
33311
|
+
404: {
|
|
33312
|
+
headers: {
|
|
33313
|
+
[name: string]: unknown;
|
|
33314
|
+
};
|
|
33315
|
+
content: {
|
|
33316
|
+
"application/json": components["schemas"]["responseError"];
|
|
33317
|
+
};
|
|
33318
|
+
};
|
|
33319
|
+
};
|
|
33320
|
+
};
|
|
32491
33321
|
patchAssignment: {
|
|
32492
33322
|
parameters: {
|
|
32493
33323
|
query?: never;
|
|
@@ -32606,6 +33436,57 @@ interface operations {
|
|
|
32606
33436
|
};
|
|
32607
33437
|
};
|
|
32608
33438
|
};
|
|
33439
|
+
deleteResource: {
|
|
33440
|
+
parameters: {
|
|
33441
|
+
query?: never;
|
|
33442
|
+
header?: {
|
|
33443
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
33444
|
+
"spacebring-network-id"?: string;
|
|
33445
|
+
};
|
|
33446
|
+
path: {
|
|
33447
|
+
/** @description The id of the resource. */
|
|
33448
|
+
resourceId: string;
|
|
33449
|
+
};
|
|
33450
|
+
cookie?: never;
|
|
33451
|
+
};
|
|
33452
|
+
requestBody?: never;
|
|
33453
|
+
responses: {
|
|
33454
|
+
/** @description No Content */
|
|
33455
|
+
204: {
|
|
33456
|
+
headers: {
|
|
33457
|
+
[name: string]: unknown;
|
|
33458
|
+
};
|
|
33459
|
+
content?: never;
|
|
33460
|
+
};
|
|
33461
|
+
/** @description Bad Request */
|
|
33462
|
+
400: {
|
|
33463
|
+
headers: {
|
|
33464
|
+
[name: string]: unknown;
|
|
33465
|
+
};
|
|
33466
|
+
content: {
|
|
33467
|
+
"application/json": components["schemas"]["responseError"];
|
|
33468
|
+
};
|
|
33469
|
+
};
|
|
33470
|
+
/** @description Forbidden */
|
|
33471
|
+
403: {
|
|
33472
|
+
headers: {
|
|
33473
|
+
[name: string]: unknown;
|
|
33474
|
+
};
|
|
33475
|
+
content: {
|
|
33476
|
+
"application/json": components["schemas"]["responseError"];
|
|
33477
|
+
};
|
|
33478
|
+
};
|
|
33479
|
+
/** @description Not Found */
|
|
33480
|
+
404: {
|
|
33481
|
+
headers: {
|
|
33482
|
+
[name: string]: unknown;
|
|
33483
|
+
};
|
|
33484
|
+
content: {
|
|
33485
|
+
"application/json": components["schemas"]["responseError"];
|
|
33486
|
+
};
|
|
33487
|
+
};
|
|
33488
|
+
};
|
|
33489
|
+
};
|
|
32609
33490
|
patchResource: {
|
|
32610
33491
|
parameters: {
|
|
32611
33492
|
query?: never;
|
|
@@ -32903,9 +33784,9 @@ interface operations {
|
|
|
32903
33784
|
};
|
|
32904
33785
|
getShopCategories: {
|
|
32905
33786
|
parameters: {
|
|
32906
|
-
query
|
|
32907
|
-
/** @description UUID of the location whose shop categories to list. */
|
|
32908
|
-
locationRef
|
|
33787
|
+
query?: {
|
|
33788
|
+
/** @description UUID of the location whose shop categories to list, in the order the shop shows them. Omit to list the categories of every location of the network, grouped by location. */
|
|
33789
|
+
locationRef?: string;
|
|
32909
33790
|
};
|
|
32910
33791
|
header?: {
|
|
32911
33792
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -33084,7 +33965,7 @@ interface operations {
|
|
|
33084
33965
|
id?: string;
|
|
33085
33966
|
/** @description Maximum number of products per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
33086
33967
|
limit?: number;
|
|
33087
|
-
/** @description UUID of the location. */
|
|
33968
|
+
/** @description UUID of the location whose products to list. Omit locationRef, categoryRef and id to list products across every location of the network, newest first. */
|
|
33088
33969
|
locationRef?: string;
|
|
33089
33970
|
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
33090
33971
|
nextPageToken?: string;
|
|
@@ -33269,6 +34150,48 @@ interface operations {
|
|
|
33269
34150
|
};
|
|
33270
34151
|
};
|
|
33271
34152
|
};
|
|
34153
|
+
patchProduct: {
|
|
34154
|
+
parameters: {
|
|
34155
|
+
query?: never;
|
|
34156
|
+
header?: {
|
|
34157
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
34158
|
+
"spacebring-network-id"?: string;
|
|
34159
|
+
};
|
|
34160
|
+
path: {
|
|
34161
|
+
/** @description The id of the product. */
|
|
34162
|
+
productId: string;
|
|
34163
|
+
};
|
|
34164
|
+
cookie?: never;
|
|
34165
|
+
};
|
|
34166
|
+
requestBody: components["requestBodies"]["patchProduct"];
|
|
34167
|
+
responses: {
|
|
34168
|
+
/** @description No Content */
|
|
34169
|
+
204: {
|
|
34170
|
+
headers: {
|
|
34171
|
+
[name: string]: unknown;
|
|
34172
|
+
};
|
|
34173
|
+
content?: never;
|
|
34174
|
+
};
|
|
34175
|
+
/** @description Bad Request */
|
|
34176
|
+
400: {
|
|
34177
|
+
headers: {
|
|
34178
|
+
[name: string]: unknown;
|
|
34179
|
+
};
|
|
34180
|
+
content: {
|
|
34181
|
+
"application/json": components["schemas"]["responseError"];
|
|
34182
|
+
};
|
|
34183
|
+
};
|
|
34184
|
+
/** @description Conflict */
|
|
34185
|
+
409: {
|
|
34186
|
+
headers: {
|
|
34187
|
+
[name: string]: unknown;
|
|
34188
|
+
};
|
|
34189
|
+
content: {
|
|
34190
|
+
"application/json": components["schemas"]["responseError"];
|
|
34191
|
+
};
|
|
34192
|
+
};
|
|
34193
|
+
};
|
|
34194
|
+
};
|
|
33272
34195
|
createProductMedia: {
|
|
33273
34196
|
parameters: {
|
|
33274
34197
|
query?: never;
|
|
@@ -33314,7 +34237,7 @@ interface operations {
|
|
|
33314
34237
|
customerRef?: string;
|
|
33315
34238
|
/** @description Maximum number of orders per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
33316
34239
|
limit?: number;
|
|
33317
|
-
/** @description UUID of the location whose orders to list. */
|
|
34240
|
+
/** @description UUID of the location whose orders to list. Omit locationRef, customerRef and userRef to list orders across every location of the network, newest first. */
|
|
33318
34241
|
locationRef?: string;
|
|
33319
34242
|
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
33320
34243
|
nextPageToken?: string;
|
|
@@ -34636,13 +35559,13 @@ interface operations {
|
|
|
34636
35559
|
};
|
|
34637
35560
|
getContacts: {
|
|
34638
35561
|
parameters: {
|
|
34639
|
-
query
|
|
35562
|
+
query?: {
|
|
34640
35563
|
/** @description The maximum number of contacts to return. Default is 25. */
|
|
34641
35564
|
limit?: number;
|
|
34642
35565
|
/** @description Token to retrieve the next page of results. */
|
|
34643
35566
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
34644
|
-
/** @description The id of the location. */
|
|
34645
|
-
locationRef
|
|
35567
|
+
/** @description The id of the location. Omit it to list the contacts of every location in the network where the caller is an administrator. */
|
|
35568
|
+
locationRef?: string;
|
|
34646
35569
|
/** @description The create date filter of items. */
|
|
34647
35570
|
createDate?: {
|
|
34648
35571
|
/**
|
|
@@ -34763,9 +35686,9 @@ interface operations {
|
|
|
34763
35686
|
};
|
|
34764
35687
|
getRequests: {
|
|
34765
35688
|
parameters: {
|
|
34766
|
-
query
|
|
34767
|
-
/** @description The id of the location. */
|
|
34768
|
-
locationRef
|
|
35689
|
+
query?: {
|
|
35690
|
+
/** @description The id of the location. Omit it to list the pending requests of every location in the network. */
|
|
35691
|
+
locationRef?: string;
|
|
34769
35692
|
/** @description Token to retrieve the next page of results. */
|
|
34770
35693
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
34771
35694
|
/** @description The number of items to return. */
|
|
@@ -34960,9 +35883,9 @@ interface operations {
|
|
|
34960
35883
|
};
|
|
34961
35884
|
getVisits: {
|
|
34962
35885
|
parameters: {
|
|
34963
|
-
query
|
|
34964
|
-
/** @description The id of the location. */
|
|
34965
|
-
locationRef
|
|
35886
|
+
query?: {
|
|
35887
|
+
/** @description The id of the location. Omit it to list the visits of every location in the network, newest visit date first. */
|
|
35888
|
+
locationRef?: string;
|
|
34966
35889
|
/** @description The id of the user, host of the visit. */
|
|
34967
35890
|
userRefHost?: string;
|
|
34968
35891
|
/** @description The id of the user, visitor of the visit. */
|
|
@@ -35248,8 +36171,8 @@ interface GetContactsQuery {
|
|
|
35248
36171
|
limit?: number;
|
|
35249
36172
|
/** Token to retrieve the next page of results. */
|
|
35250
36173
|
nextPageToken?: string;
|
|
35251
|
-
/** The id of the location. */
|
|
35252
|
-
locationRef
|
|
36174
|
+
/** The id of the location. Omit it to list the contacts of every location in the network where the caller is an administrator. */
|
|
36175
|
+
locationRef?: string;
|
|
35253
36176
|
/** The create date filter of items. */
|
|
35254
36177
|
createDate?: {
|
|
35255
36178
|
lte?: string;
|
|
@@ -35258,8 +36181,8 @@ interface GetContactsQuery {
|
|
|
35258
36181
|
}
|
|
35259
36182
|
/** Query parameters for `sb.visitors.requests.list()`. */
|
|
35260
36183
|
interface GetRequestsQuery {
|
|
35261
|
-
/** The id of the location. */
|
|
35262
|
-
locationRef
|
|
36184
|
+
/** The id of the location. Omit it to list the pending requests of every location in the network. */
|
|
36185
|
+
locationRef?: string;
|
|
35263
36186
|
/** Token to retrieve the next page of results. */
|
|
35264
36187
|
nextPageToken?: string;
|
|
35265
36188
|
/** The number of items to return. */
|
|
@@ -35272,8 +36195,8 @@ interface GetRequestsQuery {
|
|
|
35272
36195
|
}
|
|
35273
36196
|
/** Query parameters for `sb.visitors.visits.list()`. */
|
|
35274
36197
|
interface GetVisitsQuery {
|
|
35275
|
-
/** The id of the location. */
|
|
35276
|
-
locationRef
|
|
36198
|
+
/** The id of the location. Omit it to list the visits of every location in the network, newest visit date first. */
|
|
36199
|
+
locationRef?: string;
|
|
35277
36200
|
/** The id of the user, host of the visit. */
|
|
35278
36201
|
userRefHost?: string;
|
|
35279
36202
|
/** The id of the user, visitor of the visit. */
|
|
@@ -35504,7 +36427,7 @@ interface GetOrdersQuery {
|
|
|
35504
36427
|
customerRef?: string;
|
|
35505
36428
|
/** Maximum number of orders per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
35506
36429
|
limit?: number;
|
|
35507
|
-
/** UUID of the location whose orders to list. */
|
|
36430
|
+
/** UUID of the location whose orders to list. Omit locationRef, customerRef and userRef to list orders across every location of the network, newest first. */
|
|
35508
36431
|
locationRef?: string;
|
|
35509
36432
|
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
35510
36433
|
nextPageToken?: string;
|
|
@@ -35523,15 +36446,15 @@ interface GetProductsQuery {
|
|
|
35523
36446
|
id?: string;
|
|
35524
36447
|
/** Maximum number of products per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
35525
36448
|
limit?: number;
|
|
35526
|
-
/** UUID of the location. */
|
|
36449
|
+
/** UUID of the location whose products to list. Omit locationRef, categoryRef and id to list products across every location of the network, newest first. */
|
|
35527
36450
|
locationRef?: string;
|
|
35528
36451
|
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
35529
36452
|
nextPageToken?: string;
|
|
35530
36453
|
}
|
|
35531
36454
|
/** Query parameters for `sb.shop.categories.list()`. */
|
|
35532
36455
|
interface GetShopCategoriesQuery {
|
|
35533
|
-
/** UUID of the location whose shop categories to list. */
|
|
35534
|
-
locationRef
|
|
36456
|
+
/** UUID of the location whose shop categories to list, in the order the shop shows them. Omit to list the categories of every location of the network, grouped by location. */
|
|
36457
|
+
locationRef?: string;
|
|
35535
36458
|
}
|
|
35536
36459
|
/** Request body for `sb.shop.products.create()`. */
|
|
35537
36460
|
type CreateProductBody = NonNullable<NonNullable<operations["createProduct"]["requestBody"]>["content"]["application/json"]["product"]>;
|
|
@@ -35539,13 +36462,15 @@ type CreateProductBody = NonNullable<NonNullable<operations["createProduct"]["re
|
|
|
35539
36462
|
type CreateProductMediaBody = NonNullable<NonNullable<operations["createProductMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
|
|
35540
36463
|
/** Request body for `sb.shop.categories.create()`. */
|
|
35541
36464
|
type CreateShopCategoryBody = NonNullable<NonNullable<operations["createShopCategory"]["requestBody"]>["content"]["application/json"]["category"]>;
|
|
36465
|
+
/** Request body for `sb.shop.products.patch()`. */
|
|
36466
|
+
type PatchProductBody = NonNullable<NonNullable<operations["patchProduct"]["requestBody"]>["content"]["application/json"]["product"]>;
|
|
35542
36467
|
/** Request body for `sb.shop.products.update()`. */
|
|
35543
36468
|
type UpdateProductBody = NonNullable<NonNullable<operations["updateProduct"]["requestBody"]>["content"]["application/json"]["product"]>;
|
|
35544
36469
|
/** Request body for `sb.shop.categories.update()`. */
|
|
35545
36470
|
type UpdateShopCategoryBody = NonNullable<NonNullable<operations["updateShopCategory"]["requestBody"]>["content"]["application/json"]["category"]>;
|
|
35546
36471
|
|
|
35547
36472
|
/** A Assignment entity as returned by the Spacebring API. */
|
|
35548
|
-
type Assignment = NonNullable<operations["
|
|
36473
|
+
type Assignment = NonNullable<operations["getAssignment"]["responses"][200]["content"]["application/json"]["assignment"]>;
|
|
35549
36474
|
/** A Booking entity as returned by the Spacebring API. */
|
|
35550
36475
|
type Booking = NonNullable<operations["getBooking"]["responses"][200]["content"]["application/json"]["booking"]>;
|
|
35551
36476
|
/** A GetResourceAvailability entity as returned by the Spacebring API. */
|
|
@@ -35742,8 +36667,8 @@ type Like = NonNullable<components["schemas"]["postLike"]>;
|
|
|
35742
36667
|
type Post = NonNullable<components["schemas"]["post"]>;
|
|
35743
36668
|
/** Query parameters for `sb.feed.posts.list()`. */
|
|
35744
36669
|
interface GetFeedPostsQuery {
|
|
35745
|
-
/**
|
|
35746
|
-
locationRef
|
|
36670
|
+
/** UUID of the location whose feed posts to list. Omit to list posts across every location of the network. */
|
|
36671
|
+
locationRef?: string;
|
|
35747
36672
|
/** Token to retrieve the next page of results. */
|
|
35748
36673
|
nextPageToken?: string;
|
|
35749
36674
|
/** The number of items to return. */
|
|
@@ -35755,6 +36680,8 @@ type CreateFeedPostBody = NonNullable<NonNullable<operations["createFeedPost"]["
|
|
|
35755
36680
|
type CreateFeedPostCommentBody = NonNullable<NonNullable<operations["createFeedPostComment"]["requestBody"]>["content"]["application/json"]["comment"]>;
|
|
35756
36681
|
/** Request body for `sb.feed.createMedia()`. */
|
|
35757
36682
|
type CreateFeedPostMediaBody = NonNullable<NonNullable<operations["createFeedPostMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
|
|
36683
|
+
/** Request body for `sb.feed.posts.patch()`. */
|
|
36684
|
+
type PatchFeedPostBody = NonNullable<NonNullable<operations["patchFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
|
|
35758
36685
|
/** Request body for `sb.feed.posts.update()`. */
|
|
35759
36686
|
type UpdateFeedPostBody = NonNullable<NonNullable<operations["updateFeedPost"]["requestBody"]>["content"]["application/json"]["post"]>;
|
|
35760
36687
|
|
|
@@ -35780,8 +36707,8 @@ interface GetEventsByOrganizationQuery {
|
|
|
35780
36707
|
"endDate[lte]"?: string;
|
|
35781
36708
|
/** Maximum number of events per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
35782
36709
|
limit?: number;
|
|
35783
|
-
/** UUID of the location whose events to list. */
|
|
35784
|
-
locationRef
|
|
36710
|
+
/** UUID of the location whose events to list. Omit to list events across every location of the network. */
|
|
36711
|
+
locationRef?: string;
|
|
35785
36712
|
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
35786
36713
|
nextPageToken?: string;
|
|
35787
36714
|
/** Sort order of events. One of relevance, createDate:asc, createDate:desc, startDate:asc, startDate:desc, endDate:asc, endDate:desc. */
|
|
@@ -35805,7 +36732,7 @@ interface GetEventTicketsQuery {
|
|
|
35805
36732
|
includeDeleted?: string;
|
|
35806
36733
|
/** Maximum number of event tickets per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
35807
36734
|
limit?: number;
|
|
35808
|
-
/** UUID of the location whose event tickets to list. */
|
|
36735
|
+
/** UUID of the location whose event tickets to list. Omit locationRef, eventRef, customerRef and userRef to list event tickets across every location of the network. */
|
|
35809
36736
|
locationRef?: string;
|
|
35810
36737
|
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
35811
36738
|
nextPageToken?: string;
|
|
@@ -35820,6 +36747,8 @@ type AddEventHostsBody = NonNullable<NonNullable<operations["addEventHosts"]["re
|
|
|
35820
36747
|
type CreateEventBody = NonNullable<NonNullable<operations["createEvent"]["requestBody"]>["content"]["application/json"]["event"]>;
|
|
35821
36748
|
/** Request body for `sb.events.createMedia()`. */
|
|
35822
36749
|
type CreateEventMediaBody = NonNullable<NonNullable<operations["createEventMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
|
|
36750
|
+
/** Request body for `sb.events.patch()`. */
|
|
36751
|
+
type PatchEventBody = NonNullable<NonNullable<operations["patchEvent"]["requestBody"]>["content"]["application/json"]["event"]>;
|
|
35823
36752
|
/** Request body for `sb.events.update()`. */
|
|
35824
36753
|
type UpdateEventBody = NonNullable<NonNullable<operations["updateEvent"]["requestBody"]>["content"]["application/json"]["event"]>;
|
|
35825
36754
|
/** Request body for `sb.events.tickets.update()`. */
|
|
@@ -35986,8 +36915,8 @@ interface GetCheckInsQuery {
|
|
|
35986
36915
|
"checkInDate[lte]"?: string;
|
|
35987
36916
|
/** Maximum number of check-ins per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
35988
36917
|
limit?: number;
|
|
35989
|
-
/** UUID of the location. */
|
|
35990
|
-
locationRef
|
|
36918
|
+
/** UUID of the location whose check-ins to list. Omit to list check-ins across every location of the network. */
|
|
36919
|
+
locationRef?: string;
|
|
35991
36920
|
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
35992
36921
|
nextPageToken?: string;
|
|
35993
36922
|
/** Filter by status: 'scheduled' nobody has arrived yet, 'checkedIn' the person is on site, 'checkedOut' they left, 'expired' the window closed with nobody arriving. Defaults to every status. Comma-separated, one or more of: checkedIn, checkedOut, scheduled, expired. */
|
|
@@ -36171,6 +37100,8 @@ type CreateBenefitBody = NonNullable<NonNullable<operations["createBenefit"]["re
|
|
|
36171
37100
|
type CreateBenefitCategoryBody = NonNullable<NonNullable<operations["createBenefitCategory"]["requestBody"]>["content"]["application/json"]["category"]>;
|
|
36172
37101
|
/** Request body for `sb.benefits.createMedia()`. */
|
|
36173
37102
|
type CreateBenefitMediaBody = NonNullable<NonNullable<operations["createBenefitMedia"]["requestBody"]>["content"]["application/json"]["media"]>;
|
|
37103
|
+
/** Request body for `sb.benefits.patch()`. */
|
|
37104
|
+
type PatchBenefitBody = NonNullable<NonNullable<operations["patchBenefit"]["requestBody"]>["content"]["application/json"]["benefit"]>;
|
|
36174
37105
|
/** Request body for `sb.benefits.update()`. */
|
|
36175
37106
|
type UpdateBenefitBody = NonNullable<NonNullable<operations["updateBenefit"]["requestBody"]>["content"]["application/json"]["benefit"]>;
|
|
36176
37107
|
/** Request body for `sb.benefits.categories.update()`. */
|
|
@@ -36217,6 +37148,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36217
37148
|
update(benefitId: string, benefit: UpdateBenefitBody, options?: SpacebringRequestOptions): Promise<Benefit>;
|
|
36218
37149
|
delete(benefitId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36219
37150
|
createMedia(media: CreateBenefitMediaBody, options?: SpacebringRequestOptions): Promise<BenefitMedia>;
|
|
37151
|
+
patch(benefitId: string, benefit: PatchBenefitBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36220
37152
|
applications: {
|
|
36221
37153
|
list(query?: GetBenefitApplicationsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36222
37154
|
applications: Application[];
|
|
@@ -36247,6 +37179,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36247
37179
|
create(creditNote: CreateCreditNoteBody, options?: SpacebringRequestOptions): Promise<CreditNote>;
|
|
36248
37180
|
update(id: string, creditNote: UpdateCreditNoteBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36249
37181
|
preview(creditNote: PreviewCreditNoteBody, options?: SpacebringRequestOptions): Promise<CreditNote>;
|
|
37182
|
+
void(id: string, options?: SpacebringRequestOptions): Promise<CreditNote>;
|
|
36250
37183
|
};
|
|
36251
37184
|
invoices: {
|
|
36252
37185
|
list(query?: GetInvoicesQuery, options?: SpacebringRequestOptions): Promise<{
|
|
@@ -36292,12 +37225,12 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36292
37225
|
};
|
|
36293
37226
|
};
|
|
36294
37227
|
checkIns: {
|
|
36295
|
-
list(query
|
|
37228
|
+
list(query?: GetCheckInsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36296
37229
|
checkIns: CheckIn[];
|
|
36297
37230
|
nextPageToken?: string;
|
|
36298
37231
|
searchQueryNext?: string;
|
|
36299
37232
|
}>;
|
|
36300
|
-
iterate(query
|
|
37233
|
+
iterate(query?: Omit<GetCheckInsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<CheckIn, void, undefined>;
|
|
36301
37234
|
get(checkInId: string, options?: SpacebringRequestOptions): Promise<CheckIn>;
|
|
36302
37235
|
checkIn(body: CheckInBody, options?: SpacebringRequestOptions): Promise<CheckIn>;
|
|
36303
37236
|
checkOut(body: CheckOutBody, options?: SpacebringRequestOptions): Promise<CheckIn>;
|
|
@@ -36390,7 +37323,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36390
37323
|
};
|
|
36391
37324
|
};
|
|
36392
37325
|
events: {
|
|
36393
|
-
list(query
|
|
37326
|
+
list(query?: GetEventsByOrganizationQuery, options?: SpacebringRequestOptions): Promise<operations["getEventsByOrganization"]["responses"][200]["content"]["application/json"]>;
|
|
36394
37327
|
get(id: string, options?: SpacebringRequestOptions): Promise<Event>;
|
|
36395
37328
|
create(event: CreateEventBody, options?: SpacebringRequestOptions): Promise<Event>;
|
|
36396
37329
|
update(id: string, event: UpdateEventBody, options?: SpacebringRequestOptions): Promise<Event>;
|
|
@@ -36399,6 +37332,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36399
37332
|
cancel(id: string, options?: SpacebringRequestOptions): Promise<Event>;
|
|
36400
37333
|
copy(id: string, options?: SpacebringRequestOptions): Promise<Event>;
|
|
36401
37334
|
createMedia(media: CreateEventMediaBody, options?: SpacebringRequestOptions): Promise<EventMedia>;
|
|
37335
|
+
patch(id: string, event: PatchEventBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36402
37336
|
tickets: {
|
|
36403
37337
|
list(query?: GetEventTicketsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36404
37338
|
tickets?: EventTicket[];
|
|
@@ -36421,12 +37355,12 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36421
37355
|
deleteLike(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36422
37356
|
};
|
|
36423
37357
|
posts: {
|
|
36424
|
-
list(query
|
|
37358
|
+
list(query?: GetFeedPostsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36425
37359
|
nextPageToken?: string;
|
|
36426
37360
|
posts?: Post[];
|
|
36427
37361
|
searchQueryNext?: string;
|
|
36428
37362
|
}>;
|
|
36429
|
-
iterate(query
|
|
37363
|
+
iterate(query?: Omit<GetFeedPostsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Post, void, undefined>;
|
|
36430
37364
|
get(id: string, options?: SpacebringRequestOptions): Promise<Post>;
|
|
36431
37365
|
create(post: CreateFeedPostBody, options?: SpacebringRequestOptions): Promise<Post>;
|
|
36432
37366
|
update(id: string, post: UpdateFeedPostBody, options?: SpacebringRequestOptions): Promise<Post>;
|
|
@@ -36435,6 +37369,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36435
37369
|
deleteLike(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36436
37370
|
getComments(id: string, options?: SpacebringRequestOptions): Promise<Comment[]>;
|
|
36437
37371
|
getLikes(id: string, options?: SpacebringRequestOptions): Promise<Like[]>;
|
|
37372
|
+
patch(id: string, post: PatchFeedPostBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36438
37373
|
};
|
|
36439
37374
|
};
|
|
36440
37375
|
floors: {
|
|
@@ -36504,6 +37439,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36504
37439
|
get(resourceId: string, options?: SpacebringRequestOptions): Promise<Resource>;
|
|
36505
37440
|
create(resource: CreateResourceBody, options?: SpacebringRequestOptions): Promise<Resource>;
|
|
36506
37441
|
update(resourceId: string, resource: PatchResourceBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
37442
|
+
delete(resourceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36507
37443
|
createMedia(media: CreateResourceMediaBody, options?: SpacebringRequestOptions): Promise<ResourceMedia>;
|
|
36508
37444
|
getResourceAvailability(resourceId: string, body: GetResourceAvailabilityBody, options?: SpacebringRequestOptions): Promise<GetResourceAvailability>;
|
|
36509
37445
|
assignments: {
|
|
@@ -36513,8 +37449,10 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36513
37449
|
searchQueryNext?: string;
|
|
36514
37450
|
}>;
|
|
36515
37451
|
iterate(query?: Omit<GetAssignmentsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Assignment, void, undefined>;
|
|
37452
|
+
get(assignmentId: string, options?: SpacebringRequestOptions): Promise<Assignment>;
|
|
36516
37453
|
create(assignment: CreateAssignmentBody, options?: SpacebringRequestOptions): Promise<Assignment>;
|
|
36517
37454
|
update(assignmentId: string, assignment: PatchAssignmentBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
37455
|
+
delete(assignmentId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36518
37456
|
};
|
|
36519
37457
|
bookings: {
|
|
36520
37458
|
list(query?: GetBookingsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
@@ -36531,7 +37469,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36531
37469
|
};
|
|
36532
37470
|
shop: {
|
|
36533
37471
|
categories: {
|
|
36534
|
-
list(query
|
|
37472
|
+
list(query?: GetShopCategoriesQuery, options?: SpacebringRequestOptions): Promise<ShopCategory[]>;
|
|
36535
37473
|
get(categoryId: string, options?: SpacebringRequestOptions): Promise<ShopCategory>;
|
|
36536
37474
|
create(category: CreateShopCategoryBody, options?: SpacebringRequestOptions): Promise<ShopCategory>;
|
|
36537
37475
|
update(categoryId: string, category: UpdateShopCategoryBody, options?: SpacebringRequestOptions): Promise<ShopCategory>;
|
|
@@ -36558,6 +37496,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36558
37496
|
update(productId: string, product: UpdateProductBody, options?: SpacebringRequestOptions): Promise<Product>;
|
|
36559
37497
|
delete(productId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36560
37498
|
createMedia(media: CreateProductMediaBody, options?: SpacebringRequestOptions): Promise<ProductMedia>;
|
|
37499
|
+
patch(productId: string, product: PatchProductBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36561
37500
|
};
|
|
36562
37501
|
};
|
|
36563
37502
|
subscriptions: {
|
|
@@ -36664,34 +37603,34 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
36664
37603
|
};
|
|
36665
37604
|
visitors: {
|
|
36666
37605
|
contacts: {
|
|
36667
|
-
list(query
|
|
37606
|
+
list(query?: GetContactsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36668
37607
|
contacts?: Contact[];
|
|
36669
37608
|
nextPageToken?: string;
|
|
36670
37609
|
searchQueryNext?: string;
|
|
36671
37610
|
}>;
|
|
36672
|
-
iterate(query
|
|
37611
|
+
iterate(query?: Omit<GetContactsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Contact, void, undefined>;
|
|
36673
37612
|
get(contactId: string, options?: SpacebringRequestOptions): Promise<Contact>;
|
|
36674
37613
|
create(contact: CreateContactBody, options?: SpacebringRequestOptions): Promise<Contact>;
|
|
36675
37614
|
};
|
|
36676
37615
|
requests: {
|
|
36677
|
-
list(query
|
|
37616
|
+
list(query?: GetRequestsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36678
37617
|
nextPageToken?: string;
|
|
36679
37618
|
requests?: Request$1[];
|
|
36680
37619
|
searchQueryNext?: string;
|
|
36681
37620
|
}>;
|
|
36682
|
-
iterate(query
|
|
37621
|
+
iterate(query?: Omit<GetRequestsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Request$1, void, undefined>;
|
|
36683
37622
|
get(id: string, options?: SpacebringRequestOptions): Promise<Request$1>;
|
|
36684
37623
|
create(request: CreateRequestBody, options?: SpacebringRequestOptions): Promise<Request$1>;
|
|
36685
37624
|
approve(id: string, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
36686
37625
|
reject(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
36687
37626
|
};
|
|
36688
37627
|
visits: {
|
|
36689
|
-
list(query
|
|
37628
|
+
list(query?: GetVisitsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
36690
37629
|
nextPageToken?: string;
|
|
36691
37630
|
searchQueryNext?: string;
|
|
36692
37631
|
visits?: Visit[];
|
|
36693
37632
|
}>;
|
|
36694
|
-
iterate(query
|
|
37633
|
+
iterate(query?: Omit<GetVisitsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Visit, void, undefined>;
|
|
36695
37634
|
get(id: string, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
36696
37635
|
create(visit: CreateVisitBody, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
36697
37636
|
update(id: string, visit: UpdateVisitBody, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
@@ -36760,4 +37699,5 @@ declare class SpacebringError extends Error {
|
|
|
36760
37699
|
});
|
|
36761
37700
|
}
|
|
36762
37701
|
|
|
36763
|
-
export {
|
|
37702
|
+
export { Spacebring, SpacebringError };
|
|
37703
|
+
export type { Activity, AddEventHostsBody, AltCurrency, Application, ApplyBenefitBody, Assignment, Attachment, Balance, Benefit, BenefitCategory, BenefitMedia, Booking, CheckIn, CheckInBody, CheckInVisitBody, CheckOutBody, CheckOutVisitBody, Comment, Company, CompanyMedia, Contact, Contract, Coupon, CreateAltCurrencyBody, CreateAssignmentBody, CreateBenefitBody, CreateBenefitCategoryBody, CreateBenefitMediaBody, CreateBookingBody, CreateCompanyBody, CreateCompanyMediaBody, CreateContactBody, CreateContractBody, CreateCouponBody, CreateCreditNoteBody, CreateCreditsTransactionBody, CreateDayPassesTransactionBody, CreateEventBody, CreateEventMediaBody, CreateFeedPostBody, CreateFeedPostCommentBody, CreateFeedPostMediaBody, CreateGuideAttachmentBody, CreateGuideBody, CreateGuideMediaBody, CreateInvoiceBody, CreateInvoiceItemBody, CreateMembershipBody, CreateMoneyTransactionBody, CreatePackageBody, CreatePlanBody, CreateProductBody, CreateProductMediaBody, CreatePromocodeBody, CreateRequestBody, CreateResourceBody, CreateResourceMediaBody, CreateShopCategoryBody, CreateSubscriptionBody, CreateSubscriptionItemBody, CreateSupportTicketBody, CreateSupportTicketCommentBody, CreateSupportTicketMediaBody, CreateTemplateBody, CreateTemplateMediaBody, CreateVisitBody, CreditNote, CreditScheduledTransaction, CreditTransaction, DayPassScheduledTransaction, DayPassTransaction, Event, EventMedia, EventTicket, FeedMedia, GetAltCurrenciesQuery, GetAssignmentsQuery, GetBenefitApplicationsQuery, GetBenefitCategoriesQuery, GetBenefitsQuery, GetBookingsQuery, GetCheckInsQuery, GetCompaniesQuery, GetContactsQuery, GetContractsQuery, GetCouponsQuery, GetCreditNotesQuery, GetCreditsTransactionsQuery, GetDayPassesTransactionsQuery, GetDiscountRedemptionsQuery, GetEventTicketsQuery, GetEventsByOrganizationQuery, GetFeedPostsQuery, GetFloorsQuery, GetGuidesQuery, GetInvoicesQuery, GetMembershipsDeletedQuery, GetMembershipsQuery, GetMoneyTransactionsQuery, GetOrdersQuery, GetPackagesQuery, GetPlansQuery, GetProductsQuery, GetPromocodesQuery, GetRegistrationsQuery, GetRequestsQuery, GetResourceAvailability, GetResourceAvailabilityBody, GetResourcesQuery, GetScheduledCreditsTransactionsQuery, GetScheduledDayPassesTransactionsQuery, GetShopCategoriesQuery, GetSubscriptionsQuery, GetSupportTicketsQuery, GetTemplatesQuery, GetUpcomingInvoiceItemsQuery, GetUpcomingInvoiceQuery, GetVisitsQuery, Guide, GuideMedia, Invoice, InvoiceItem, IssueContractBody, IssueInvoiceBody, Like, ListInvoiceItemsQuery, Location, Membership, MoneyTransaction, Network, Order, Package, PatchAssignmentBody, PatchBenefitBody, PatchBookingBody, PatchEventBody, PatchFeedPostBody, PatchGuideBody, PatchMoneyTransactionBody, PatchPackageBody, PatchProductBody, PatchResourceBody, PayInvoiceBody, Payment, Plan, Post, PreviewCreditNoteBody, Product, ProductMedia, Promocode, Redemption, Refund, RefundMoneyTransactionBody, Registration, Request$1 as Request, Resource, ResourceMedia, ShopCategory, SpacebringConfig, SpacebringErrorBody, SpacebringRequestOptions, SpacebringResources, Subscription, SupportTicket, Template, TemplateMedia, TerminateContractBody, TicketMedia, UpcomingItem, UpdateAltCurrencyBody, UpdateBenefitBody, UpdateBenefitCategoryBody, UpdateCompanyBody, UpdateContractBody, UpdateCouponBody, UpdateCreditNoteBody, UpdateEventBody, UpdateEventTicketBody, UpdateFeedPostBody, UpdateInvoiceBody, UpdateInvoiceItemBody, UpdateMembershipBody, UpdatePlanBody, UpdateProductBody, UpdateShopCategoryBody, UpdateSubscriptionBody, UpdateSubscriptionItemBody, UpdateSupportTicketAssigneeBody, UpdateSupportTicketCommentBody, UpdateSupportTicketStatusBody, UpdateSupportTicketTypeBody, UpdateTemplateBody, UpdateVisitBody, Visit, components, operations, paths };
|