@izak0s/spacebring-api 1.12.0 → 2.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 +11 -4
- package/dist/index.cjs +247 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1762 -256
- package/dist/index.d.ts +1762 -256
- package/dist/index.js +247 -31
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1004,7 +1004,11 @@ interface paths {
|
|
|
1004
1004
|
delete: operations["deleteContract"];
|
|
1005
1005
|
options?: never;
|
|
1006
1006
|
head?: never;
|
|
1007
|
-
|
|
1007
|
+
/**
|
|
1008
|
+
* Update a contract
|
|
1009
|
+
* @description Update a contract. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1010
|
+
*/
|
|
1011
|
+
patch: operations["updateContract"];
|
|
1008
1012
|
trace?: never;
|
|
1009
1013
|
};
|
|
1010
1014
|
"/contracts/v1/{contractId}/issue": {
|
|
@@ -1027,6 +1031,66 @@ interface paths {
|
|
|
1027
1031
|
patch?: never;
|
|
1028
1032
|
trace?: never;
|
|
1029
1033
|
};
|
|
1034
|
+
"/contracts/v1/{contractId}/resend": {
|
|
1035
|
+
parameters: {
|
|
1036
|
+
query?: never;
|
|
1037
|
+
header?: never;
|
|
1038
|
+
path?: never;
|
|
1039
|
+
cookie?: never;
|
|
1040
|
+
};
|
|
1041
|
+
get?: never;
|
|
1042
|
+
put?: never;
|
|
1043
|
+
/**
|
|
1044
|
+
* Resend a contract
|
|
1045
|
+
* @description Resend the signature request email to the next pending signer of an issued eSignature contract. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1046
|
+
*/
|
|
1047
|
+
post: operations["resendContract"];
|
|
1048
|
+
delete?: never;
|
|
1049
|
+
options?: never;
|
|
1050
|
+
head?: never;
|
|
1051
|
+
patch?: never;
|
|
1052
|
+
trace?: never;
|
|
1053
|
+
};
|
|
1054
|
+
"/contracts/v1/{contractId}/signers/{signerId}/decline": {
|
|
1055
|
+
parameters: {
|
|
1056
|
+
query?: never;
|
|
1057
|
+
header?: never;
|
|
1058
|
+
path?: never;
|
|
1059
|
+
cookie?: never;
|
|
1060
|
+
};
|
|
1061
|
+
get?: never;
|
|
1062
|
+
/**
|
|
1063
|
+
* Decline a contract
|
|
1064
|
+
* @description Mark a contract signer as declined. Declining also declines the contract. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1065
|
+
*/
|
|
1066
|
+
put: operations["declineContract"];
|
|
1067
|
+
post?: never;
|
|
1068
|
+
delete?: never;
|
|
1069
|
+
options?: never;
|
|
1070
|
+
head?: never;
|
|
1071
|
+
patch?: never;
|
|
1072
|
+
trace?: never;
|
|
1073
|
+
};
|
|
1074
|
+
"/contracts/v1/{contractId}/signers/{signerId}/sign": {
|
|
1075
|
+
parameters: {
|
|
1076
|
+
query?: never;
|
|
1077
|
+
header?: never;
|
|
1078
|
+
path?: never;
|
|
1079
|
+
cookie?: never;
|
|
1080
|
+
};
|
|
1081
|
+
get?: never;
|
|
1082
|
+
/**
|
|
1083
|
+
* Sign a contract
|
|
1084
|
+
* @description Mark a contract signer as signed. When all signers have signed, the contract becomes signed. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1085
|
+
*/
|
|
1086
|
+
put: operations["signContract"];
|
|
1087
|
+
post?: never;
|
|
1088
|
+
delete?: never;
|
|
1089
|
+
options?: never;
|
|
1090
|
+
head?: never;
|
|
1091
|
+
patch?: never;
|
|
1092
|
+
trace?: never;
|
|
1093
|
+
};
|
|
1030
1094
|
"/contracts/v1/{contractId}/terminate": {
|
|
1031
1095
|
parameters: {
|
|
1032
1096
|
query?: never;
|
|
@@ -1047,7 +1111,79 @@ interface paths {
|
|
|
1047
1111
|
patch: operations["terminateContract"];
|
|
1048
1112
|
trace?: never;
|
|
1049
1113
|
};
|
|
1050
|
-
"/
|
|
1114
|
+
"/contracts/templates/v1": {
|
|
1115
|
+
parameters: {
|
|
1116
|
+
query?: never;
|
|
1117
|
+
header?: never;
|
|
1118
|
+
path?: never;
|
|
1119
|
+
cookie?: never;
|
|
1120
|
+
};
|
|
1121
|
+
/**
|
|
1122
|
+
* Retrieve templates
|
|
1123
|
+
* @description Retrieve all contract templates in the location. <h3>OAuth</h3>Required scopes: <code>invoices.readonly</code> or <code>invoices</code>
|
|
1124
|
+
*/
|
|
1125
|
+
get: operations["getTemplates"];
|
|
1126
|
+
put?: never;
|
|
1127
|
+
/**
|
|
1128
|
+
* Create a template
|
|
1129
|
+
* @description Create a contract template from an uploaded file. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1130
|
+
*/
|
|
1131
|
+
post: operations["createTemplate"];
|
|
1132
|
+
delete?: never;
|
|
1133
|
+
options?: never;
|
|
1134
|
+
head?: never;
|
|
1135
|
+
patch?: never;
|
|
1136
|
+
trace?: never;
|
|
1137
|
+
};
|
|
1138
|
+
"/contracts/templates/v1/{templateId}": {
|
|
1139
|
+
parameters: {
|
|
1140
|
+
query?: never;
|
|
1141
|
+
header?: never;
|
|
1142
|
+
path?: never;
|
|
1143
|
+
cookie?: never;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* Retrieve a template
|
|
1147
|
+
* @description Retrieve a contract template. <h3>OAuth</h3>Required scopes: <code>invoices.readonly</code> or <code>invoices</code>
|
|
1148
|
+
*/
|
|
1149
|
+
get: operations["getTemplate"];
|
|
1150
|
+
put?: never;
|
|
1151
|
+
post?: never;
|
|
1152
|
+
/**
|
|
1153
|
+
* Delete a template
|
|
1154
|
+
* @description Delete a contract template. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1155
|
+
*/
|
|
1156
|
+
delete: operations["deleteTemplate"];
|
|
1157
|
+
options?: never;
|
|
1158
|
+
head?: never;
|
|
1159
|
+
/**
|
|
1160
|
+
* Update a template
|
|
1161
|
+
* @description Update a contract template. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1162
|
+
*/
|
|
1163
|
+
patch: operations["updateTemplate"];
|
|
1164
|
+
trace?: never;
|
|
1165
|
+
};
|
|
1166
|
+
"/contracts/templates/v1/{templateId}/duplicate": {
|
|
1167
|
+
parameters: {
|
|
1168
|
+
query?: never;
|
|
1169
|
+
header?: never;
|
|
1170
|
+
path?: never;
|
|
1171
|
+
cookie?: never;
|
|
1172
|
+
};
|
|
1173
|
+
get?: never;
|
|
1174
|
+
put?: never;
|
|
1175
|
+
/**
|
|
1176
|
+
* Duplicate a template
|
|
1177
|
+
* @description Duplicate a contract template, creating a copy with the same title and file. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1178
|
+
*/
|
|
1179
|
+
post: operations["duplicateTemplate"];
|
|
1180
|
+
delete?: never;
|
|
1181
|
+
options?: never;
|
|
1182
|
+
head?: never;
|
|
1183
|
+
patch?: never;
|
|
1184
|
+
trace?: never;
|
|
1185
|
+
};
|
|
1186
|
+
"/discounts/v1/coupons": {
|
|
1051
1187
|
parameters: {
|
|
1052
1188
|
query?: never;
|
|
1053
1189
|
header?: never;
|
|
@@ -1071,7 +1207,7 @@ interface paths {
|
|
|
1071
1207
|
patch?: never;
|
|
1072
1208
|
trace?: never;
|
|
1073
1209
|
};
|
|
1074
|
-
"/discounts/coupons/
|
|
1210
|
+
"/discounts/v1/coupons/{id}": {
|
|
1075
1211
|
parameters: {
|
|
1076
1212
|
query?: never;
|
|
1077
1213
|
header?: never;
|
|
@@ -1099,7 +1235,7 @@ interface paths {
|
|
|
1099
1235
|
patch: operations["updateCoupon"];
|
|
1100
1236
|
trace?: never;
|
|
1101
1237
|
};
|
|
1102
|
-
"/discounts/promocodes
|
|
1238
|
+
"/discounts/v1/promocodes": {
|
|
1103
1239
|
parameters: {
|
|
1104
1240
|
query?: never;
|
|
1105
1241
|
header?: never;
|
|
@@ -1123,7 +1259,7 @@ interface paths {
|
|
|
1123
1259
|
patch?: never;
|
|
1124
1260
|
trace?: never;
|
|
1125
1261
|
};
|
|
1126
|
-
"/discounts/promocodes/
|
|
1262
|
+
"/discounts/v1/promocodes/{id}": {
|
|
1127
1263
|
parameters: {
|
|
1128
1264
|
query?: never;
|
|
1129
1265
|
header?: never;
|
|
@@ -1143,7 +1279,7 @@ interface paths {
|
|
|
1143
1279
|
patch?: never;
|
|
1144
1280
|
trace?: never;
|
|
1145
1281
|
};
|
|
1146
|
-
"/discounts/promocodes/
|
|
1282
|
+
"/discounts/v1/promocodes/{id}/archive": {
|
|
1147
1283
|
parameters: {
|
|
1148
1284
|
query?: never;
|
|
1149
1285
|
header?: never;
|
|
@@ -1163,7 +1299,7 @@ interface paths {
|
|
|
1163
1299
|
patch?: never;
|
|
1164
1300
|
trace?: never;
|
|
1165
1301
|
};
|
|
1166
|
-
"/discounts/redemptions
|
|
1302
|
+
"/discounts/v1/redemptions": {
|
|
1167
1303
|
parameters: {
|
|
1168
1304
|
query?: never;
|
|
1169
1305
|
header?: never;
|
|
@@ -1219,7 +1355,11 @@ interface paths {
|
|
|
1219
1355
|
* @description Retrieve an event. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1220
1356
|
*/
|
|
1221
1357
|
get: operations["getEvent"];
|
|
1222
|
-
|
|
1358
|
+
/**
|
|
1359
|
+
* Update an event
|
|
1360
|
+
* @description Update an event. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1361
|
+
*/
|
|
1362
|
+
put: operations["updateEvent"];
|
|
1223
1363
|
post?: never;
|
|
1224
1364
|
/**
|
|
1225
1365
|
* Delete an event
|
|
@@ -1271,6 +1411,26 @@ interface paths {
|
|
|
1271
1411
|
patch?: never;
|
|
1272
1412
|
trace?: never;
|
|
1273
1413
|
};
|
|
1414
|
+
"/events/v1/{id}/hosts": {
|
|
1415
|
+
parameters: {
|
|
1416
|
+
query?: never;
|
|
1417
|
+
header?: never;
|
|
1418
|
+
path?: never;
|
|
1419
|
+
cookie?: never;
|
|
1420
|
+
};
|
|
1421
|
+
get?: never;
|
|
1422
|
+
/**
|
|
1423
|
+
* Add event hosts
|
|
1424
|
+
* @description Add hosts to an event. Creates a free host ticket for each membership without one; existing attendee tickets are switched to the host role. Returns all tickets of the event. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1425
|
+
*/
|
|
1426
|
+
put: operations["addEventHosts"];
|
|
1427
|
+
post?: never;
|
|
1428
|
+
delete?: never;
|
|
1429
|
+
options?: never;
|
|
1430
|
+
head?: never;
|
|
1431
|
+
patch?: never;
|
|
1432
|
+
trace?: never;
|
|
1433
|
+
};
|
|
1274
1434
|
"/events/tickets/v1": {
|
|
1275
1435
|
parameters: {
|
|
1276
1436
|
query?: never;
|
|
@@ -1303,8 +1463,36 @@ interface paths {
|
|
|
1303
1463
|
* @description Retrieve an event ticket. <h3>OAuth</h3>Required scopes: <code>events.readonly</code> or <code>events</code>
|
|
1304
1464
|
*/
|
|
1305
1465
|
get: operations["getEventTicket"];
|
|
1306
|
-
|
|
1466
|
+
/**
|
|
1467
|
+
* Update a ticket
|
|
1468
|
+
* @description Update an event ticket. Only the ticket role can be changed. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1469
|
+
*/
|
|
1470
|
+
put: operations["updateEventTicket"];
|
|
1307
1471
|
post?: never;
|
|
1472
|
+
/**
|
|
1473
|
+
* Delete a ticket
|
|
1474
|
+
* @description Delete an event ticket. Returns the deleted ticket. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1475
|
+
*/
|
|
1476
|
+
delete: operations["deleteEventTicket"];
|
|
1477
|
+
options?: never;
|
|
1478
|
+
head?: never;
|
|
1479
|
+
patch?: never;
|
|
1480
|
+
trace?: never;
|
|
1481
|
+
};
|
|
1482
|
+
"/events/tickets/v1/{id}/checkin": {
|
|
1483
|
+
parameters: {
|
|
1484
|
+
query?: never;
|
|
1485
|
+
header?: never;
|
|
1486
|
+
path?: never;
|
|
1487
|
+
cookie?: never;
|
|
1488
|
+
};
|
|
1489
|
+
get?: never;
|
|
1490
|
+
put?: never;
|
|
1491
|
+
/**
|
|
1492
|
+
* Check in a ticket
|
|
1493
|
+
* @description Check in an event ticket. Fails if the ticket is already checked in. <h3>OAuth</h3>Required scopes: <code>events</code>
|
|
1494
|
+
*/
|
|
1495
|
+
post: operations["checkInEventTicket"];
|
|
1308
1496
|
delete?: never;
|
|
1309
1497
|
options?: never;
|
|
1310
1498
|
head?: never;
|
|
@@ -1627,6 +1815,54 @@ interface paths {
|
|
|
1627
1815
|
patch?: never;
|
|
1628
1816
|
trace?: never;
|
|
1629
1817
|
};
|
|
1818
|
+
"/packages/v1": {
|
|
1819
|
+
parameters: {
|
|
1820
|
+
query?: never;
|
|
1821
|
+
header?: never;
|
|
1822
|
+
path?: never;
|
|
1823
|
+
cookie?: never;
|
|
1824
|
+
};
|
|
1825
|
+
/**
|
|
1826
|
+
* Retrieve packages
|
|
1827
|
+
* @description Retrieve all packages in the location. <h3>OAuth</h3>Required scopes: <code>invoices.readonly</code> or <code>invoices</code>
|
|
1828
|
+
*/
|
|
1829
|
+
get: operations["getPackages"];
|
|
1830
|
+
put?: never;
|
|
1831
|
+
/**
|
|
1832
|
+
* Create a package
|
|
1833
|
+
* @description Create a package. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1834
|
+
*/
|
|
1835
|
+
post: operations["createPackage"];
|
|
1836
|
+
delete?: never;
|
|
1837
|
+
options?: never;
|
|
1838
|
+
head?: never;
|
|
1839
|
+
patch?: never;
|
|
1840
|
+
trace?: never;
|
|
1841
|
+
};
|
|
1842
|
+
"/packages/v1/{packageId}": {
|
|
1843
|
+
parameters: {
|
|
1844
|
+
query?: never;
|
|
1845
|
+
header?: never;
|
|
1846
|
+
path?: never;
|
|
1847
|
+
cookie?: never;
|
|
1848
|
+
};
|
|
1849
|
+
get?: never;
|
|
1850
|
+
put?: never;
|
|
1851
|
+
post?: never;
|
|
1852
|
+
/**
|
|
1853
|
+
* Delete a package
|
|
1854
|
+
* @description Delete a package. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1855
|
+
*/
|
|
1856
|
+
delete: operations["deletePackage"];
|
|
1857
|
+
options?: never;
|
|
1858
|
+
head?: never;
|
|
1859
|
+
/**
|
|
1860
|
+
* Update a package
|
|
1861
|
+
* @description Update a package. <h3>OAuth</h3>Required scopes: <code>invoices</code>
|
|
1862
|
+
*/
|
|
1863
|
+
patch: operations["patchPackage"];
|
|
1864
|
+
trace?: never;
|
|
1865
|
+
};
|
|
1630
1866
|
"/plans/v1": {
|
|
1631
1867
|
parameters: {
|
|
1632
1868
|
query?: never;
|
|
@@ -5988,6 +6224,88 @@ interface components {
|
|
|
5988
6224
|
};
|
|
5989
6225
|
};
|
|
5990
6226
|
};
|
|
6227
|
+
getTemplates: {
|
|
6228
|
+
/** @description Pagination token to fetch the next page of results. */
|
|
6229
|
+
nextPageToken?: string;
|
|
6230
|
+
/** @description Search query parameters for the next page of results. Includes all filters used to fetch the current page. */
|
|
6231
|
+
searchQueryNext?: string;
|
|
6232
|
+
/** @description List of templates. */
|
|
6233
|
+
templates: {
|
|
6234
|
+
/**
|
|
6235
|
+
* Format: date-time
|
|
6236
|
+
* @description ISO timestamp of when the template was created.
|
|
6237
|
+
*/
|
|
6238
|
+
createDate: string;
|
|
6239
|
+
/** @description Template file reference. */
|
|
6240
|
+
file: {
|
|
6241
|
+
/** @description Storage key of the template file. */
|
|
6242
|
+
key: string;
|
|
6243
|
+
/** @description Download URL of the template file. */
|
|
6244
|
+
url: string;
|
|
6245
|
+
};
|
|
6246
|
+
/**
|
|
6247
|
+
* Format: uuid
|
|
6248
|
+
* @description Unique identifier of the template.
|
|
6249
|
+
*/
|
|
6250
|
+
id: string;
|
|
6251
|
+
/**
|
|
6252
|
+
* Format: uuid
|
|
6253
|
+
* @description ID of the location this template belongs to.
|
|
6254
|
+
*/
|
|
6255
|
+
locationRef: string;
|
|
6256
|
+
/** @description Media files associated with the template. */
|
|
6257
|
+
media: {
|
|
6258
|
+
key: string;
|
|
6259
|
+
url: string;
|
|
6260
|
+
}[];
|
|
6261
|
+
/** @description Template title. */
|
|
6262
|
+
title: string;
|
|
6263
|
+
/**
|
|
6264
|
+
* Format: date-time
|
|
6265
|
+
* @description ISO timestamp of when the template was last updated.
|
|
6266
|
+
*/
|
|
6267
|
+
updateDate: string;
|
|
6268
|
+
}[];
|
|
6269
|
+
};
|
|
6270
|
+
getTemplate: {
|
|
6271
|
+
/** @description The template. */
|
|
6272
|
+
template: {
|
|
6273
|
+
/**
|
|
6274
|
+
* Format: date-time
|
|
6275
|
+
* @description ISO timestamp of when the template was created.
|
|
6276
|
+
*/
|
|
6277
|
+
createDate: string;
|
|
6278
|
+
/** @description Template file reference. */
|
|
6279
|
+
file: {
|
|
6280
|
+
/** @description Storage key of the template file. */
|
|
6281
|
+
key: string;
|
|
6282
|
+
/** @description Download URL of the template file. */
|
|
6283
|
+
url: string;
|
|
6284
|
+
};
|
|
6285
|
+
/**
|
|
6286
|
+
* Format: uuid
|
|
6287
|
+
* @description Unique identifier of the template.
|
|
6288
|
+
*/
|
|
6289
|
+
id: string;
|
|
6290
|
+
/**
|
|
6291
|
+
* Format: uuid
|
|
6292
|
+
* @description ID of the location this template belongs to.
|
|
6293
|
+
*/
|
|
6294
|
+
locationRef: string;
|
|
6295
|
+
/** @description Media files associated with the template. */
|
|
6296
|
+
media: {
|
|
6297
|
+
key: string;
|
|
6298
|
+
url: string;
|
|
6299
|
+
}[];
|
|
6300
|
+
/** @description Template title. */
|
|
6301
|
+
title: string;
|
|
6302
|
+
/**
|
|
6303
|
+
* Format: date-time
|
|
6304
|
+
* @description ISO timestamp of when the template was last updated.
|
|
6305
|
+
*/
|
|
6306
|
+
updateDate: string;
|
|
6307
|
+
};
|
|
6308
|
+
};
|
|
5991
6309
|
coupon: {
|
|
5992
6310
|
/** @description Fixed discount amount. */
|
|
5993
6311
|
amountOff?: number | null;
|
|
@@ -6824,7 +7142,7 @@ interface components {
|
|
|
6824
7142
|
* @description Payment type.
|
|
6825
7143
|
* @enum {string}
|
|
6826
7144
|
*/
|
|
6827
|
-
type: "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
7145
|
+
type: "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
6828
7146
|
};
|
|
6829
7147
|
/** @description Number of tickets included in this purchase. */
|
|
6830
7148
|
quantity: number;
|
|
@@ -7277,27 +7595,151 @@ interface components {
|
|
|
7277
7595
|
id?: string;
|
|
7278
7596
|
title?: string;
|
|
7279
7597
|
};
|
|
7280
|
-
|
|
7598
|
+
getPackages: {
|
|
7281
7599
|
/** @description Pagination token to fetch the next page of results. */
|
|
7282
7600
|
nextPageToken?: string;
|
|
7283
|
-
/** @description List of
|
|
7284
|
-
|
|
7285
|
-
/**
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7601
|
+
/** @description List of packages. */
|
|
7602
|
+
packages: {
|
|
7603
|
+
/**
|
|
7604
|
+
* @deprecated
|
|
7605
|
+
* @description Total credits amount derived from grants. Deprecated: use grants instead.
|
|
7606
|
+
*/
|
|
7607
|
+
amount: number;
|
|
7608
|
+
/**
|
|
7609
|
+
* @deprecated
|
|
7610
|
+
* @description Maximum credit grant duration in days. Deprecated: use grants instead.
|
|
7611
|
+
*/
|
|
7612
|
+
duration?: 30 | 90 | 180 | 365;
|
|
7613
|
+
/** @description Grants included in the package. */
|
|
7614
|
+
grants: {
|
|
7615
|
+
/** @description Grant amount in major units for credits, or whole units for day passes. */
|
|
7616
|
+
amount: number;
|
|
7617
|
+
/** @description Expiration duration in days for credit grants. */
|
|
7618
|
+
duration?: 30 | 90 | 180 | 365;
|
|
7293
7619
|
/**
|
|
7294
7620
|
* Format: uuid
|
|
7295
|
-
* @description
|
|
7621
|
+
* @description Unique identifier of the grant.
|
|
7296
7622
|
*/
|
|
7297
|
-
|
|
7623
|
+
id: string;
|
|
7298
7624
|
/**
|
|
7299
|
-
*
|
|
7300
|
-
* @
|
|
7625
|
+
* @description Type of balance this grant provides.
|
|
7626
|
+
* @enum {string}
|
|
7627
|
+
*/
|
|
7628
|
+
type: "credits" | "dayPasses";
|
|
7629
|
+
}[];
|
|
7630
|
+
/**
|
|
7631
|
+
* Format: uuid
|
|
7632
|
+
* @description Unique identifier of the package.
|
|
7633
|
+
*/
|
|
7634
|
+
id: string;
|
|
7635
|
+
/**
|
|
7636
|
+
* Format: uuid
|
|
7637
|
+
* @description ID of the location this package belongs to.
|
|
7638
|
+
*/
|
|
7639
|
+
locationRef: string;
|
|
7640
|
+
/**
|
|
7641
|
+
* Format: uuid
|
|
7642
|
+
* @description ID of the network this package belongs to.
|
|
7643
|
+
*/
|
|
7644
|
+
networkRef: string;
|
|
7645
|
+
/**
|
|
7646
|
+
* Format: uuid
|
|
7647
|
+
* @deprecated
|
|
7648
|
+
* @description ID of the location this package belongs to. Deprecated: use locationRef instead.
|
|
7649
|
+
*/
|
|
7650
|
+
organizationRef: string;
|
|
7651
|
+
/** @description Package list price in major units. */
|
|
7652
|
+
price: number;
|
|
7653
|
+
/**
|
|
7654
|
+
* @deprecated
|
|
7655
|
+
* @description Discounted price visible to members. Deprecated: equals price since 4.8.15.
|
|
7656
|
+
*/
|
|
7657
|
+
priceDiscounted: number;
|
|
7658
|
+
}[];
|
|
7659
|
+
/** @description Search query parameters for the next page of results. Includes all filters used to fetch the current page. */
|
|
7660
|
+
searchQueryNext?: string;
|
|
7661
|
+
};
|
|
7662
|
+
getPackage: {
|
|
7663
|
+
/** @description The package. */
|
|
7664
|
+
package: {
|
|
7665
|
+
/**
|
|
7666
|
+
* @deprecated
|
|
7667
|
+
* @description Total credits amount derived from grants. Deprecated: use grants instead.
|
|
7668
|
+
*/
|
|
7669
|
+
amount: number;
|
|
7670
|
+
/**
|
|
7671
|
+
* @deprecated
|
|
7672
|
+
* @description Maximum credit grant duration in days. Deprecated: use grants instead.
|
|
7673
|
+
*/
|
|
7674
|
+
duration?: 30 | 90 | 180 | 365;
|
|
7675
|
+
/** @description Grants included in the package. */
|
|
7676
|
+
grants: {
|
|
7677
|
+
/** @description Grant amount in major units for credits, or whole units for day passes. */
|
|
7678
|
+
amount: number;
|
|
7679
|
+
/** @description Expiration duration in days for credit grants. */
|
|
7680
|
+
duration?: 30 | 90 | 180 | 365;
|
|
7681
|
+
/**
|
|
7682
|
+
* Format: uuid
|
|
7683
|
+
* @description Unique identifier of the grant.
|
|
7684
|
+
*/
|
|
7685
|
+
id: string;
|
|
7686
|
+
/**
|
|
7687
|
+
* @description Type of balance this grant provides.
|
|
7688
|
+
* @enum {string}
|
|
7689
|
+
*/
|
|
7690
|
+
type: "credits" | "dayPasses";
|
|
7691
|
+
}[];
|
|
7692
|
+
/**
|
|
7693
|
+
* Format: uuid
|
|
7694
|
+
* @description Unique identifier of the package.
|
|
7695
|
+
*/
|
|
7696
|
+
id: string;
|
|
7697
|
+
/**
|
|
7698
|
+
* Format: uuid
|
|
7699
|
+
* @description ID of the location this package belongs to.
|
|
7700
|
+
*/
|
|
7701
|
+
locationRef: string;
|
|
7702
|
+
/**
|
|
7703
|
+
* Format: uuid
|
|
7704
|
+
* @description ID of the network this package belongs to.
|
|
7705
|
+
*/
|
|
7706
|
+
networkRef: string;
|
|
7707
|
+
/**
|
|
7708
|
+
* Format: uuid
|
|
7709
|
+
* @deprecated
|
|
7710
|
+
* @description ID of the location this package belongs to. Deprecated: use locationRef instead.
|
|
7711
|
+
*/
|
|
7712
|
+
organizationRef: string;
|
|
7713
|
+
/** @description Package list price in major units. */
|
|
7714
|
+
price: number;
|
|
7715
|
+
/**
|
|
7716
|
+
* @deprecated
|
|
7717
|
+
* @description Discounted price visible to members. Deprecated: equals price since 4.8.15.
|
|
7718
|
+
*/
|
|
7719
|
+
priceDiscounted: number;
|
|
7720
|
+
};
|
|
7721
|
+
};
|
|
7722
|
+
getPlans: {
|
|
7723
|
+
/** @description Pagination token to fetch the next page of results. */
|
|
7724
|
+
nextPageToken?: string;
|
|
7725
|
+
/** @description List of plans. */
|
|
7726
|
+
plans: {
|
|
7727
|
+
/** @description Third-party access integrations configured for the plan. */
|
|
7728
|
+
access?: {
|
|
7729
|
+
/** @description Avigilon Alta access group reference. */
|
|
7730
|
+
avigilonAltaGroupRef?: number;
|
|
7731
|
+
/** @description Brivo access group reference. */
|
|
7732
|
+
brivoGroupRef?: number;
|
|
7733
|
+
/** @description Kisi access group reference. */
|
|
7734
|
+
kisiGroupRef?: number;
|
|
7735
|
+
/**
|
|
7736
|
+
* Format: uuid
|
|
7737
|
+
* @description Salto KS access group reference.
|
|
7738
|
+
*/
|
|
7739
|
+
saltoksAccessGroupRef?: string;
|
|
7740
|
+
/**
|
|
7741
|
+
* Format: uuid
|
|
7742
|
+
* @description Tapkey access group reference.
|
|
7301
7743
|
*/
|
|
7302
7744
|
tapkeyGroupRef?: string;
|
|
7303
7745
|
};
|
|
@@ -7930,16 +8372,16 @@ interface components {
|
|
|
7930
8372
|
/** @description User assigned to the resource. */
|
|
7931
8373
|
user?: {
|
|
7932
8374
|
/** @description User email. */
|
|
7933
|
-
email
|
|
8375
|
+
email?: string | null;
|
|
7934
8376
|
/**
|
|
7935
8377
|
* Format: uuid
|
|
7936
8378
|
* @description User id.
|
|
7937
8379
|
*/
|
|
7938
8380
|
id: string;
|
|
7939
8381
|
/** @description User first name. */
|
|
7940
|
-
name
|
|
8382
|
+
name?: string | null;
|
|
7941
8383
|
/** @description User last name. */
|
|
7942
|
-
surname
|
|
8384
|
+
surname?: string | null;
|
|
7943
8385
|
};
|
|
7944
8386
|
}[];
|
|
7945
8387
|
/** @description Auto-release settings for no-show bookings. */
|
|
@@ -7953,7 +8395,7 @@ interface components {
|
|
|
7953
8395
|
interval: "fiveMinutes" | "tenMinutes" | "fifteenMinutes";
|
|
7954
8396
|
};
|
|
7955
8397
|
/** @description Avigilon Alta access group reference. */
|
|
7956
|
-
avigilonAltaGroupRef?:
|
|
8398
|
+
avigilonAltaGroupRef?: number | null;
|
|
7957
8399
|
/**
|
|
7958
8400
|
* @description Who can create bookings on this resource.
|
|
7959
8401
|
* @enum {string}
|
|
@@ -7962,7 +8404,7 @@ interface components {
|
|
|
7962
8404
|
/** @description Booking step size in minutes. */
|
|
7963
8405
|
bookingStepMinutes?: number;
|
|
7964
8406
|
/** @description Brivo access group reference. */
|
|
7965
|
-
brivoGroupRef?: number;
|
|
8407
|
+
brivoGroupRef?: number | null;
|
|
7966
8408
|
/** @description Maximum capacity per booking. */
|
|
7967
8409
|
capacity?: number | null;
|
|
7968
8410
|
/** @description Check-in settings. */
|
|
@@ -8049,7 +8491,7 @@ interface components {
|
|
|
8049
8491
|
/** @description Public URL of the resource image. */
|
|
8050
8492
|
imageUrl?: string;
|
|
8051
8493
|
/** @description Kisi access group reference. */
|
|
8052
|
-
kisiGroupRef?: number;
|
|
8494
|
+
kisiGroupRef?: number | null;
|
|
8053
8495
|
/** @description Auto-detected language of the description. */
|
|
8054
8496
|
locale: string;
|
|
8055
8497
|
/**
|
|
@@ -8305,7 +8747,7 @@ interface components {
|
|
|
8305
8747
|
* Format: uuid
|
|
8306
8748
|
* @description Salto KS access group reference.
|
|
8307
8749
|
*/
|
|
8308
|
-
saltoksAccessGroupRef?: string;
|
|
8750
|
+
saltoksAccessGroupRef?: string | null;
|
|
8309
8751
|
/** @description Availability schedule. */
|
|
8310
8752
|
schedule?: {
|
|
8311
8753
|
/** @description Default availability schedule. */
|
|
@@ -8381,7 +8823,7 @@ interface components {
|
|
|
8381
8823
|
* Format: uuid
|
|
8382
8824
|
* @description Tapkey access group reference.
|
|
8383
8825
|
*/
|
|
8384
|
-
tapkeyGroupRef?: string;
|
|
8826
|
+
tapkeyGroupRef?: string | null;
|
|
8385
8827
|
/** @description Display name of the resource. */
|
|
8386
8828
|
title: string;
|
|
8387
8829
|
/**
|
|
@@ -9210,7 +9652,7 @@ interface components {
|
|
|
9210
9652
|
* @description Payment gateway type.
|
|
9211
9653
|
* @enum {string}
|
|
9212
9654
|
*/
|
|
9213
|
-
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9655
|
+
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9214
9656
|
};
|
|
9215
9657
|
/**
|
|
9216
9658
|
* @description Payment method type.
|
|
@@ -9678,7 +10120,7 @@ interface components {
|
|
|
9678
10120
|
* @description Payment gateway type.
|
|
9679
10121
|
* @enum {string}
|
|
9680
10122
|
*/
|
|
9681
|
-
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
10123
|
+
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9682
10124
|
};
|
|
9683
10125
|
/**
|
|
9684
10126
|
* @description Payment method type.
|
|
@@ -13066,7 +13508,7 @@ interface components {
|
|
|
13066
13508
|
* @description Payment gateway type.
|
|
13067
13509
|
* @enum {string}
|
|
13068
13510
|
*/
|
|
13069
|
-
type: "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
13511
|
+
type: "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
13070
13512
|
};
|
|
13071
13513
|
/** @description Whether the user has accepted the payment terms. */
|
|
13072
13514
|
termsConsent?: boolean;
|
|
@@ -13455,6 +13897,104 @@ interface components {
|
|
|
13455
13897
|
};
|
|
13456
13898
|
};
|
|
13457
13899
|
};
|
|
13900
|
+
updateContract: {
|
|
13901
|
+
content: {
|
|
13902
|
+
"application/json": {
|
|
13903
|
+
/** @description Contract fields to update. */
|
|
13904
|
+
contract: {
|
|
13905
|
+
/** @description Whether the contract triggers a billing action when signed. */
|
|
13906
|
+
actionable?: boolean;
|
|
13907
|
+
/**
|
|
13908
|
+
* Format: date-time
|
|
13909
|
+
* @description Date after which the contract can no longer be signed.
|
|
13910
|
+
*/
|
|
13911
|
+
expirationDate?: string;
|
|
13912
|
+
/** @description Line items included in this contract. */
|
|
13913
|
+
items?: {
|
|
13914
|
+
/**
|
|
13915
|
+
* Format: uuid
|
|
13916
|
+
* @description Applied coupon ID.
|
|
13917
|
+
*/
|
|
13918
|
+
couponRef?: string;
|
|
13919
|
+
/** @description Whether this is a one-off item. */
|
|
13920
|
+
oneOff?: boolean;
|
|
13921
|
+
/**
|
|
13922
|
+
* Format: uuid
|
|
13923
|
+
* @description Shop product option ID.
|
|
13924
|
+
*/
|
|
13925
|
+
optionRef?: string;
|
|
13926
|
+
/**
|
|
13927
|
+
* Format: uuid
|
|
13928
|
+
* @description Membership plan ID.
|
|
13929
|
+
*/
|
|
13930
|
+
planRef?: string;
|
|
13931
|
+
/** @description Item price override. */
|
|
13932
|
+
price?: number;
|
|
13933
|
+
/**
|
|
13934
|
+
* Format: uuid
|
|
13935
|
+
* @description Shop product ID.
|
|
13936
|
+
*/
|
|
13937
|
+
productRef?: string;
|
|
13938
|
+
/** @description Number of units. */
|
|
13939
|
+
quantity: number;
|
|
13940
|
+
/**
|
|
13941
|
+
* Format: uuid
|
|
13942
|
+
* @description Resource ID.
|
|
13943
|
+
*/
|
|
13944
|
+
resourceRef?: string;
|
|
13945
|
+
/**
|
|
13946
|
+
* Format: uuid
|
|
13947
|
+
* @description Plan tier ID.
|
|
13948
|
+
*/
|
|
13949
|
+
tierRef?: string;
|
|
13950
|
+
/** @description Display name of the item. */
|
|
13951
|
+
title: string;
|
|
13952
|
+
/**
|
|
13953
|
+
* @description Item type.
|
|
13954
|
+
* @enum {string}
|
|
13955
|
+
*/
|
|
13956
|
+
type: "plan" | "resource" | "oneOff";
|
|
13957
|
+
}[];
|
|
13958
|
+
/**
|
|
13959
|
+
* Format: uuid
|
|
13960
|
+
* @description ID of the template to use for this contract.
|
|
13961
|
+
*/
|
|
13962
|
+
templateRef?: string;
|
|
13963
|
+
/**
|
|
13964
|
+
* Format: date-time
|
|
13965
|
+
* @description Contract end date.
|
|
13966
|
+
*/
|
|
13967
|
+
endDate?: string | null;
|
|
13968
|
+
/** @description Updated signers list. */
|
|
13969
|
+
signers?: {
|
|
13970
|
+
/** @description Signer email address. */
|
|
13971
|
+
email?: string;
|
|
13972
|
+
/**
|
|
13973
|
+
* Format: uuid
|
|
13974
|
+
* @description Signer ID (to identify existing signers).
|
|
13975
|
+
*/
|
|
13976
|
+
id?: string;
|
|
13977
|
+
/** @description Signer first name. */
|
|
13978
|
+
name?: string;
|
|
13979
|
+
/** @description Phone number. */
|
|
13980
|
+
phoneNumber?: string;
|
|
13981
|
+
/** @description Signer last name. */
|
|
13982
|
+
surname?: string;
|
|
13983
|
+
/**
|
|
13984
|
+
* @description Whether this is a location or customer signer.
|
|
13985
|
+
* @enum {string}
|
|
13986
|
+
*/
|
|
13987
|
+
type?: "location" | "customer";
|
|
13988
|
+
}[];
|
|
13989
|
+
/**
|
|
13990
|
+
* Format: date-time
|
|
13991
|
+
* @description Contract start date.
|
|
13992
|
+
*/
|
|
13993
|
+
startDate?: string | null;
|
|
13994
|
+
};
|
|
13995
|
+
};
|
|
13996
|
+
};
|
|
13997
|
+
};
|
|
13458
13998
|
issueContract: {
|
|
13459
13999
|
content: {
|
|
13460
14000
|
"application/json": {
|
|
@@ -13477,6 +14017,43 @@ interface components {
|
|
|
13477
14017
|
};
|
|
13478
14018
|
};
|
|
13479
14019
|
};
|
|
14020
|
+
createTemplate: {
|
|
14021
|
+
content: {
|
|
14022
|
+
"application/json": {
|
|
14023
|
+
/** @description Template to create. */
|
|
14024
|
+
template: {
|
|
14025
|
+
/** @description Template file reference. */
|
|
14026
|
+
file: {
|
|
14027
|
+
/** @description Storage key of the template file. */
|
|
14028
|
+
key: string;
|
|
14029
|
+
};
|
|
14030
|
+
/**
|
|
14031
|
+
* Format: uuid
|
|
14032
|
+
* @description ID of the location this template belongs to.
|
|
14033
|
+
*/
|
|
14034
|
+
locationRef: string;
|
|
14035
|
+
/** @description Template title. */
|
|
14036
|
+
title: string;
|
|
14037
|
+
};
|
|
14038
|
+
};
|
|
14039
|
+
};
|
|
14040
|
+
};
|
|
14041
|
+
updateTemplate: {
|
|
14042
|
+
content: {
|
|
14043
|
+
"application/json": {
|
|
14044
|
+
/** @description Template fields to update. */
|
|
14045
|
+
template: {
|
|
14046
|
+
/** @description Template file reference. */
|
|
14047
|
+
file?: {
|
|
14048
|
+
/** @description Storage key of the template file. */
|
|
14049
|
+
key: string;
|
|
14050
|
+
};
|
|
14051
|
+
/** @description Template title. */
|
|
14052
|
+
title?: string;
|
|
14053
|
+
};
|
|
14054
|
+
};
|
|
14055
|
+
};
|
|
14056
|
+
};
|
|
13480
14057
|
createCoupon: {
|
|
13481
14058
|
content: {
|
|
13482
14059
|
"application/json": {
|
|
@@ -13683,28 +14260,120 @@ interface components {
|
|
|
13683
14260
|
};
|
|
13684
14261
|
};
|
|
13685
14262
|
};
|
|
13686
|
-
|
|
14263
|
+
updateEvent: {
|
|
13687
14264
|
content: {
|
|
13688
14265
|
"application/json": {
|
|
13689
|
-
/** @description
|
|
13690
|
-
|
|
14266
|
+
/** @description Event to update. */
|
|
14267
|
+
event: {
|
|
14268
|
+
/**
|
|
14269
|
+
* @description Event application type. purchase: paid signup (requires price). none: free/RSVP-style.
|
|
14270
|
+
* @enum {string}
|
|
14271
|
+
*/
|
|
14272
|
+
applicationType?: "purchase" | "none";
|
|
14273
|
+
/** @description Confirmation email settings. */
|
|
14274
|
+
confirmationEmail?: {
|
|
14275
|
+
/** @description Whether a confirmation email is sent after registration. */
|
|
14276
|
+
enabled: boolean;
|
|
14277
|
+
/** @description HTML template for the confirmation email. */
|
|
14278
|
+
template?: string;
|
|
14279
|
+
};
|
|
14280
|
+
/** @description Custom tax settings. */
|
|
14281
|
+
customTax?: {
|
|
14282
|
+
/** @description Whether custom tax is enabled. */
|
|
14283
|
+
enabled: boolean;
|
|
14284
|
+
/** @description Custom tax rate as a decimal. */
|
|
14285
|
+
rate: number;
|
|
14286
|
+
};
|
|
14287
|
+
/** @description Full description of the event. */
|
|
14288
|
+
description?: string;
|
|
14289
|
+
/**
|
|
14290
|
+
* Format: date-time
|
|
14291
|
+
* @description ISO timestamp of when the event ends.
|
|
14292
|
+
*/
|
|
14293
|
+
endDate: string;
|
|
14294
|
+
/** @description Limited attendees settings. */
|
|
14295
|
+
limitedAttendees?: {
|
|
14296
|
+
/** @description Whether attendee capacity is limited. */
|
|
14297
|
+
enabled: boolean;
|
|
14298
|
+
/** @description Maximum number of attendees when limited. */
|
|
14299
|
+
limit?: number;
|
|
14300
|
+
};
|
|
13691
14301
|
/**
|
|
13692
14302
|
* Format: uuid
|
|
13693
|
-
* @description ID of the location where the
|
|
14303
|
+
* @description ID of the location where the event is hosted.
|
|
13694
14304
|
*/
|
|
13695
14305
|
locationRef: string;
|
|
13696
|
-
/** @description Media files
|
|
14306
|
+
/** @description Media files attached to the event. */
|
|
13697
14307
|
media?: {
|
|
13698
14308
|
/** @description Storage key of the media file. */
|
|
13699
|
-
key
|
|
14309
|
+
key?: string;
|
|
14310
|
+
/** @description Public URL of the media file. */
|
|
14311
|
+
url?: string;
|
|
13700
14312
|
}[];
|
|
13701
|
-
/** @description
|
|
13702
|
-
|
|
13703
|
-
/** @description
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
14313
|
+
/** @description Pricing options for the event. Can enable credits, money, or both. */
|
|
14314
|
+
price?: {
|
|
14315
|
+
/** @description Credits pricing. */
|
|
14316
|
+
credits?: {
|
|
14317
|
+
/** @description Ticket price in credits. */
|
|
14318
|
+
amount: number;
|
|
14319
|
+
/** @description Whether credits payment is enabled. */
|
|
14320
|
+
enabled: boolean;
|
|
14321
|
+
};
|
|
14322
|
+
/** @description Money pricing. */
|
|
14323
|
+
money?: {
|
|
14324
|
+
/** @description Ticket price in money. */
|
|
14325
|
+
amount: number;
|
|
14326
|
+
/** @description Whether money payment is enabled. */
|
|
14327
|
+
enabled: boolean;
|
|
14328
|
+
};
|
|
14329
|
+
};
|
|
14330
|
+
/**
|
|
14331
|
+
* @description How far in advance a refund can be requested.
|
|
14332
|
+
* @enum {string}
|
|
14333
|
+
*/
|
|
14334
|
+
refundThreshold?: "noRefund" | "zeroMinutes" | "fifteenMinutes" | "thirtyMinutes" | "oneHour" | "twoHours" | "fourHours" | "sixHours" | "twelveHours" | "oneDay" | "twoDays" | "oneWeek" | "twoWeeks" | "fourWeeks";
|
|
14335
|
+
/** @description Whether the attendees list is publicly visible. */
|
|
14336
|
+
showAttendees?: boolean;
|
|
14337
|
+
/**
|
|
14338
|
+
* Format: date-time
|
|
14339
|
+
* @description ISO timestamp of when the event starts.
|
|
14340
|
+
*/
|
|
14341
|
+
startDate: string;
|
|
14342
|
+
/** @description Display name of the event. */
|
|
14343
|
+
title: string;
|
|
14344
|
+
/** @description Venue name or address within the location. */
|
|
14345
|
+
venue?: string;
|
|
14346
|
+
/**
|
|
14347
|
+
* @description Who can see this event. public: all. admins: admins only. networkMembers: network members. members: location members.
|
|
14348
|
+
* @enum {string}
|
|
14349
|
+
*/
|
|
14350
|
+
visibility?: "public" | "admins" | "networkMembers" | "members";
|
|
14351
|
+
};
|
|
14352
|
+
};
|
|
14353
|
+
};
|
|
14354
|
+
};
|
|
14355
|
+
createFeedPost: {
|
|
14356
|
+
content: {
|
|
14357
|
+
"application/json": {
|
|
14358
|
+
/** @description Feed post to create. */
|
|
14359
|
+
post: {
|
|
14360
|
+
/**
|
|
14361
|
+
* Format: uuid
|
|
14362
|
+
* @description ID of the location where the post is created.
|
|
14363
|
+
*/
|
|
14364
|
+
locationRef: string;
|
|
14365
|
+
/** @description Media files to attach to the post. */
|
|
14366
|
+
media?: {
|
|
14367
|
+
/** @description Storage key of the media file. */
|
|
14368
|
+
key: string;
|
|
14369
|
+
}[];
|
|
14370
|
+
/** @description Open Graph metadata for link previews. */
|
|
14371
|
+
og?: {
|
|
14372
|
+
/** @description Open Graph description. */
|
|
14373
|
+
description?: string | null;
|
|
14374
|
+
/** @description Open Graph image URL. */
|
|
14375
|
+
image?: string | null;
|
|
14376
|
+
/** @description Open Graph title. */
|
|
13708
14377
|
title?: string | null;
|
|
13709
14378
|
/** @description Open Graph type. */
|
|
13710
14379
|
type?: string | null;
|
|
@@ -13823,6 +14492,57 @@ interface components {
|
|
|
13823
14492
|
};
|
|
13824
14493
|
};
|
|
13825
14494
|
};
|
|
14495
|
+
createPackage: {
|
|
14496
|
+
content: {
|
|
14497
|
+
"application/json": {
|
|
14498
|
+
/** @description Package to create. */
|
|
14499
|
+
package: {
|
|
14500
|
+
/** @description Grants included in the package. */
|
|
14501
|
+
grants: {
|
|
14502
|
+
/** @description Grant amount in major units for credits, or whole units for day passes. */
|
|
14503
|
+
amount: number;
|
|
14504
|
+
/** @description Expiration duration in days for credit grants. */
|
|
14505
|
+
duration?: 30 | 90 | 180 | 365;
|
|
14506
|
+
/**
|
|
14507
|
+
* @description Type of balance this grant provides.
|
|
14508
|
+
* @enum {string}
|
|
14509
|
+
*/
|
|
14510
|
+
type: "credits" | "dayPasses";
|
|
14511
|
+
}[];
|
|
14512
|
+
/**
|
|
14513
|
+
* Format: uuid
|
|
14514
|
+
* @description ID of the location where to create this package.
|
|
14515
|
+
*/
|
|
14516
|
+
locationRef: string;
|
|
14517
|
+
/** @description Package price in major units. */
|
|
14518
|
+
price: number;
|
|
14519
|
+
};
|
|
14520
|
+
};
|
|
14521
|
+
};
|
|
14522
|
+
};
|
|
14523
|
+
patchPackage: {
|
|
14524
|
+
content: {
|
|
14525
|
+
"application/json": {
|
|
14526
|
+
/** @description Package fields to update. */
|
|
14527
|
+
package: {
|
|
14528
|
+
/** @description Grants included in the package. */
|
|
14529
|
+
grants?: {
|
|
14530
|
+
/** @description Grant amount in major units for credits, or whole units for day passes. */
|
|
14531
|
+
amount: number;
|
|
14532
|
+
/** @description Expiration duration in days for credit grants. */
|
|
14533
|
+
duration?: 30 | 90 | 180 | 365;
|
|
14534
|
+
/**
|
|
14535
|
+
* @description Type of balance this grant provides.
|
|
14536
|
+
* @enum {string}
|
|
14537
|
+
*/
|
|
14538
|
+
type: "credits" | "dayPasses";
|
|
14539
|
+
}[];
|
|
14540
|
+
/** @description Package price in major units. */
|
|
14541
|
+
price?: number;
|
|
14542
|
+
};
|
|
14543
|
+
};
|
|
14544
|
+
};
|
|
14545
|
+
};
|
|
13826
14546
|
createPlan: {
|
|
13827
14547
|
content: {
|
|
13828
14548
|
"application/json": {
|
|
@@ -14168,7 +14888,7 @@ interface components {
|
|
|
14168
14888
|
interval: "fiveMinutes" | "tenMinutes" | "fifteenMinutes";
|
|
14169
14889
|
};
|
|
14170
14890
|
/** @description Avigilon Alta access group reference. */
|
|
14171
|
-
avigilonAltaGroupRef?:
|
|
14891
|
+
avigilonAltaGroupRef?: number | null;
|
|
14172
14892
|
/**
|
|
14173
14893
|
* @description Who can create bookings on this resource.
|
|
14174
14894
|
* @enum {string}
|
|
@@ -14177,7 +14897,7 @@ interface components {
|
|
|
14177
14897
|
/** @description Booking step size in minutes. */
|
|
14178
14898
|
bookingStepMinutes?: number;
|
|
14179
14899
|
/** @description Brivo access group reference. */
|
|
14180
|
-
brivoGroupRef?: number;
|
|
14900
|
+
brivoGroupRef?: number | null;
|
|
14181
14901
|
/** @description Maximum capacity per booking. */
|
|
14182
14902
|
capacity?: number | null;
|
|
14183
14903
|
/** @description Check-in settings. */
|
|
@@ -14259,7 +14979,7 @@ interface components {
|
|
|
14259
14979
|
*/
|
|
14260
14980
|
id?: string;
|
|
14261
14981
|
/** @description Kisi access group reference. */
|
|
14262
|
-
kisiGroupRef?: number;
|
|
14982
|
+
kisiGroupRef?: number | null;
|
|
14263
14983
|
/**
|
|
14264
14984
|
* Format: uuid
|
|
14265
14985
|
* @description ID of the location.
|
|
@@ -14391,7 +15111,7 @@ interface components {
|
|
|
14391
15111
|
* Format: uuid
|
|
14392
15112
|
* @description Salto KS access group reference.
|
|
14393
15113
|
*/
|
|
14394
|
-
saltoksAccessGroupRef?: string;
|
|
15114
|
+
saltoksAccessGroupRef?: string | null;
|
|
14395
15115
|
/** @description Availability schedule. */
|
|
14396
15116
|
schedule?: {
|
|
14397
15117
|
/** @description Default availability schedule. */
|
|
@@ -14467,7 +15187,7 @@ interface components {
|
|
|
14467
15187
|
* Format: uuid
|
|
14468
15188
|
* @description Tapkey access group reference.
|
|
14469
15189
|
*/
|
|
14470
|
-
tapkeyGroupRef?: string;
|
|
15190
|
+
tapkeyGroupRef?: string | null;
|
|
14471
15191
|
/** @description Display name of the resource. */
|
|
14472
15192
|
title: string;
|
|
14473
15193
|
/**
|
|
@@ -14500,7 +15220,7 @@ interface components {
|
|
|
14500
15220
|
interval: "fiveMinutes" | "tenMinutes" | "fifteenMinutes";
|
|
14501
15221
|
};
|
|
14502
15222
|
/** @description Avigilon Alta access group reference. */
|
|
14503
|
-
avigilonAltaGroupRef?:
|
|
15223
|
+
avigilonAltaGroupRef?: number | null;
|
|
14504
15224
|
/**
|
|
14505
15225
|
* @description Who can create bookings on this resource.
|
|
14506
15226
|
* @enum {string}
|
|
@@ -14509,7 +15229,7 @@ interface components {
|
|
|
14509
15229
|
/** @description Booking step size in minutes. */
|
|
14510
15230
|
bookingStepMinutes?: number;
|
|
14511
15231
|
/** @description Brivo access group reference. */
|
|
14512
|
-
brivoGroupRef?: number;
|
|
15232
|
+
brivoGroupRef?: number | null;
|
|
14513
15233
|
/** @description Maximum capacity per booking. */
|
|
14514
15234
|
capacity?: number | null;
|
|
14515
15235
|
/** @description Check-in settings. */
|
|
@@ -14586,7 +15306,7 @@ interface components {
|
|
|
14586
15306
|
twoWaySyncEnabled: boolean;
|
|
14587
15307
|
};
|
|
14588
15308
|
/** @description Kisi access group reference. */
|
|
14589
|
-
kisiGroupRef?: number;
|
|
15309
|
+
kisiGroupRef?: number | null;
|
|
14590
15310
|
/** @description Images to attach when creating the resource. */
|
|
14591
15311
|
media?: {
|
|
14592
15312
|
/** @description Storage key of the uploaded image. */
|
|
@@ -14713,7 +15433,7 @@ interface components {
|
|
|
14713
15433
|
* Format: uuid
|
|
14714
15434
|
* @description Salto KS access group reference.
|
|
14715
15435
|
*/
|
|
14716
|
-
saltoksAccessGroupRef?: string;
|
|
15436
|
+
saltoksAccessGroupRef?: string | null;
|
|
14717
15437
|
/** @description Availability schedule. */
|
|
14718
15438
|
schedule?: {
|
|
14719
15439
|
/** @description Default availability schedule. */
|
|
@@ -14789,7 +15509,7 @@ interface components {
|
|
|
14789
15509
|
* Format: uuid
|
|
14790
15510
|
* @description Tapkey access group reference.
|
|
14791
15511
|
*/
|
|
14792
|
-
tapkeyGroupRef?: string;
|
|
15512
|
+
tapkeyGroupRef?: string | null;
|
|
14793
15513
|
/** @description Display name of the resource. */
|
|
14794
15514
|
title?: string;
|
|
14795
15515
|
/**
|
|
@@ -18306,7 +19026,7 @@ interface operations {
|
|
|
18306
19026
|
};
|
|
18307
19027
|
};
|
|
18308
19028
|
};
|
|
18309
|
-
|
|
19029
|
+
updateContract: {
|
|
18310
19030
|
parameters: {
|
|
18311
19031
|
query?: never;
|
|
18312
19032
|
header?: {
|
|
@@ -18319,16 +19039,14 @@ interface operations {
|
|
|
18319
19039
|
};
|
|
18320
19040
|
cookie?: never;
|
|
18321
19041
|
};
|
|
18322
|
-
requestBody: components["requestBodies"]["
|
|
19042
|
+
requestBody: components["requestBodies"]["updateContract"];
|
|
18323
19043
|
responses: {
|
|
18324
|
-
/** @description
|
|
18325
|
-
|
|
19044
|
+
/** @description No Content */
|
|
19045
|
+
204: {
|
|
18326
19046
|
headers: {
|
|
18327
19047
|
[name: string]: unknown;
|
|
18328
19048
|
};
|
|
18329
|
-
content
|
|
18330
|
-
"application/json": components["schemas"]["getContract"];
|
|
18331
|
-
};
|
|
19049
|
+
content?: never;
|
|
18332
19050
|
};
|
|
18333
19051
|
/** @description Bad Request */
|
|
18334
19052
|
400: {
|
|
@@ -18341,7 +19059,7 @@ interface operations {
|
|
|
18341
19059
|
};
|
|
18342
19060
|
};
|
|
18343
19061
|
};
|
|
18344
|
-
|
|
19062
|
+
issueContract: {
|
|
18345
19063
|
parameters: {
|
|
18346
19064
|
query?: never;
|
|
18347
19065
|
header?: {
|
|
@@ -18354,58 +19072,15 @@ interface operations {
|
|
|
18354
19072
|
};
|
|
18355
19073
|
cookie?: never;
|
|
18356
19074
|
};
|
|
18357
|
-
requestBody: components["requestBodies"]["
|
|
18358
|
-
responses: {
|
|
18359
|
-
/** @description No Content */
|
|
18360
|
-
204: {
|
|
18361
|
-
headers: {
|
|
18362
|
-
[name: string]: unknown;
|
|
18363
|
-
};
|
|
18364
|
-
content?: never;
|
|
18365
|
-
};
|
|
18366
|
-
/** @description Bad Request */
|
|
18367
|
-
400: {
|
|
18368
|
-
headers: {
|
|
18369
|
-
[name: string]: unknown;
|
|
18370
|
-
};
|
|
18371
|
-
content: {
|
|
18372
|
-
"application/json": components["schemas"]["responseError"];
|
|
18373
|
-
};
|
|
18374
|
-
};
|
|
18375
|
-
};
|
|
18376
|
-
};
|
|
18377
|
-
getCoupons: {
|
|
18378
|
-
parameters: {
|
|
18379
|
-
query: {
|
|
18380
|
-
/** @description The id of the location */
|
|
18381
|
-
locationRef: string;
|
|
18382
|
-
/** @description Comma-separated list of coupon types to filter by */
|
|
18383
|
-
type?: "creditPackages" | "desks" | "equipment" | "events" | "products" | "rooms" | "subscriptionItems";
|
|
18384
|
-
/** @description The number of coupons to retrieve. Default: 25 */
|
|
18385
|
-
limit?: number;
|
|
18386
|
-
/** @description Token to retrieve the next page of results. */
|
|
18387
|
-
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
18388
|
-
};
|
|
18389
|
-
header?: {
|
|
18390
|
-
/** @description The id of the network. Required when using bearer token authentication */
|
|
18391
|
-
"spacebring-network-id"?: string;
|
|
18392
|
-
};
|
|
18393
|
-
path?: never;
|
|
18394
|
-
cookie?: never;
|
|
18395
|
-
};
|
|
18396
|
-
requestBody?: never;
|
|
19075
|
+
requestBody: components["requestBodies"]["issueContract"];
|
|
18397
19076
|
responses: {
|
|
18398
|
-
/** @description
|
|
19077
|
+
/** @description OK */
|
|
18399
19078
|
200: {
|
|
18400
19079
|
headers: {
|
|
18401
19080
|
[name: string]: unknown;
|
|
18402
19081
|
};
|
|
18403
19082
|
content: {
|
|
18404
|
-
"application/json":
|
|
18405
|
-
coupons?: components["schemas"]["coupon"][];
|
|
18406
|
-
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
18407
|
-
searchQueryNext?: components["schemas"]["searchQueryNext"];
|
|
18408
|
-
};
|
|
19083
|
+
"application/json": components["schemas"]["getContract"];
|
|
18409
19084
|
};
|
|
18410
19085
|
};
|
|
18411
19086
|
/** @description Bad Request */
|
|
@@ -18419,28 +19094,27 @@ interface operations {
|
|
|
18419
19094
|
};
|
|
18420
19095
|
};
|
|
18421
19096
|
};
|
|
18422
|
-
|
|
19097
|
+
resendContract: {
|
|
18423
19098
|
parameters: {
|
|
18424
19099
|
query?: never;
|
|
18425
19100
|
header?: {
|
|
18426
19101
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
18427
19102
|
"spacebring-network-id"?: string;
|
|
18428
19103
|
};
|
|
18429
|
-
path
|
|
19104
|
+
path: {
|
|
19105
|
+
/** @description The id of the contract. */
|
|
19106
|
+
contractId: string;
|
|
19107
|
+
};
|
|
18430
19108
|
cookie?: never;
|
|
18431
19109
|
};
|
|
18432
|
-
requestBody
|
|
19110
|
+
requestBody?: never;
|
|
18433
19111
|
responses: {
|
|
18434
|
-
/** @description
|
|
18435
|
-
|
|
19112
|
+
/** @description No Content */
|
|
19113
|
+
204: {
|
|
18436
19114
|
headers: {
|
|
18437
19115
|
[name: string]: unknown;
|
|
18438
19116
|
};
|
|
18439
|
-
content
|
|
18440
|
-
"application/json": {
|
|
18441
|
-
coupon?: components["schemas"]["coupon"];
|
|
18442
|
-
};
|
|
18443
|
-
};
|
|
19117
|
+
content?: never;
|
|
18444
19118
|
};
|
|
18445
19119
|
/** @description Bad Request */
|
|
18446
19120
|
400: {
|
|
@@ -18453,7 +19127,7 @@ interface operations {
|
|
|
18453
19127
|
};
|
|
18454
19128
|
};
|
|
18455
19129
|
};
|
|
18456
|
-
|
|
19130
|
+
declineContract: {
|
|
18457
19131
|
parameters: {
|
|
18458
19132
|
query?: never;
|
|
18459
19133
|
header?: {
|
|
@@ -18461,23 +19135,21 @@ interface operations {
|
|
|
18461
19135
|
"spacebring-network-id"?: string;
|
|
18462
19136
|
};
|
|
18463
19137
|
path: {
|
|
18464
|
-
/** @description The id of the
|
|
18465
|
-
|
|
19138
|
+
/** @description The id of the contract. */
|
|
19139
|
+
contractId: string;
|
|
19140
|
+
/** @description The id of the contract signer. */
|
|
19141
|
+
signerId: string;
|
|
18466
19142
|
};
|
|
18467
19143
|
cookie?: never;
|
|
18468
19144
|
};
|
|
18469
19145
|
requestBody?: never;
|
|
18470
19146
|
responses: {
|
|
18471
|
-
/** @description
|
|
18472
|
-
|
|
19147
|
+
/** @description No Content */
|
|
19148
|
+
204: {
|
|
18473
19149
|
headers: {
|
|
18474
19150
|
[name: string]: unknown;
|
|
18475
19151
|
};
|
|
18476
|
-
content
|
|
18477
|
-
"application/json": {
|
|
18478
|
-
coupon?: components["schemas"]["coupon"];
|
|
18479
|
-
};
|
|
18480
|
-
};
|
|
19152
|
+
content?: never;
|
|
18481
19153
|
};
|
|
18482
19154
|
/** @description Bad Request */
|
|
18483
19155
|
400: {
|
|
@@ -18490,7 +19162,7 @@ interface operations {
|
|
|
18490
19162
|
};
|
|
18491
19163
|
};
|
|
18492
19164
|
};
|
|
18493
|
-
|
|
19165
|
+
signContract: {
|
|
18494
19166
|
parameters: {
|
|
18495
19167
|
query?: never;
|
|
18496
19168
|
header?: {
|
|
@@ -18498,8 +19170,10 @@ interface operations {
|
|
|
18498
19170
|
"spacebring-network-id"?: string;
|
|
18499
19171
|
};
|
|
18500
19172
|
path: {
|
|
18501
|
-
/** @description The id of the
|
|
18502
|
-
|
|
19173
|
+
/** @description The id of the contract. */
|
|
19174
|
+
contractId: string;
|
|
19175
|
+
/** @description The id of the contract signer. */
|
|
19176
|
+
signerId: string;
|
|
18503
19177
|
};
|
|
18504
19178
|
cookie?: never;
|
|
18505
19179
|
};
|
|
@@ -18523,7 +19197,7 @@ interface operations {
|
|
|
18523
19197
|
};
|
|
18524
19198
|
};
|
|
18525
19199
|
};
|
|
18526
|
-
|
|
19200
|
+
terminateContract: {
|
|
18527
19201
|
parameters: {
|
|
18528
19202
|
query?: never;
|
|
18529
19203
|
header?: {
|
|
@@ -18531,12 +19205,12 @@ interface operations {
|
|
|
18531
19205
|
"spacebring-network-id"?: string;
|
|
18532
19206
|
};
|
|
18533
19207
|
path: {
|
|
18534
|
-
/** @description The id of the
|
|
18535
|
-
|
|
19208
|
+
/** @description The id of the contract. */
|
|
19209
|
+
contractId: string;
|
|
18536
19210
|
};
|
|
18537
19211
|
cookie?: never;
|
|
18538
19212
|
};
|
|
18539
|
-
requestBody: components["requestBodies"]["
|
|
19213
|
+
requestBody: components["requestBodies"]["terminateContract"];
|
|
18540
19214
|
responses: {
|
|
18541
19215
|
/** @description No Content */
|
|
18542
19216
|
204: {
|
|
@@ -18556,13 +19230,15 @@ interface operations {
|
|
|
18556
19230
|
};
|
|
18557
19231
|
};
|
|
18558
19232
|
};
|
|
18559
|
-
|
|
19233
|
+
getTemplates: {
|
|
18560
19234
|
parameters: {
|
|
18561
|
-
query
|
|
18562
|
-
/** @description
|
|
18563
|
-
|
|
18564
|
-
/** @description
|
|
18565
|
-
|
|
19235
|
+
query: {
|
|
19236
|
+
/** @description Maximum number of templates per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
19237
|
+
limit?: number;
|
|
19238
|
+
/** @description UUID of the location. */
|
|
19239
|
+
locationRef: string;
|
|
19240
|
+
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
19241
|
+
nextPageToken?: string;
|
|
18566
19242
|
};
|
|
18567
19243
|
header?: {
|
|
18568
19244
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -18573,15 +19249,13 @@ interface operations {
|
|
|
18573
19249
|
};
|
|
18574
19250
|
requestBody?: never;
|
|
18575
19251
|
responses: {
|
|
18576
|
-
/** @description
|
|
19252
|
+
/** @description OK */
|
|
18577
19253
|
200: {
|
|
18578
19254
|
headers: {
|
|
18579
19255
|
[name: string]: unknown;
|
|
18580
19256
|
};
|
|
18581
19257
|
content: {
|
|
18582
|
-
"application/json":
|
|
18583
|
-
promocodes?: components["schemas"]["promocode"][];
|
|
18584
|
-
};
|
|
19258
|
+
"application/json": components["schemas"]["getTemplates"];
|
|
18585
19259
|
};
|
|
18586
19260
|
};
|
|
18587
19261
|
/** @description Bad Request */
|
|
@@ -18595,7 +19269,7 @@ interface operations {
|
|
|
18595
19269
|
};
|
|
18596
19270
|
};
|
|
18597
19271
|
};
|
|
18598
|
-
|
|
19272
|
+
createTemplate: {
|
|
18599
19273
|
parameters: {
|
|
18600
19274
|
query?: never;
|
|
18601
19275
|
header?: {
|
|
@@ -18605,7 +19279,7 @@ interface operations {
|
|
|
18605
19279
|
path?: never;
|
|
18606
19280
|
cookie?: never;
|
|
18607
19281
|
};
|
|
18608
|
-
requestBody: components["requestBodies"]["
|
|
19282
|
+
requestBody: components["requestBodies"]["createTemplate"];
|
|
18609
19283
|
responses: {
|
|
18610
19284
|
/** @description Created */
|
|
18611
19285
|
201: {
|
|
@@ -18613,9 +19287,7 @@ interface operations {
|
|
|
18613
19287
|
[name: string]: unknown;
|
|
18614
19288
|
};
|
|
18615
19289
|
content: {
|
|
18616
|
-
"application/json":
|
|
18617
|
-
promocode?: components["schemas"]["promocode"];
|
|
18618
|
-
};
|
|
19290
|
+
"application/json": components["schemas"]["getTemplate"];
|
|
18619
19291
|
};
|
|
18620
19292
|
};
|
|
18621
19293
|
/** @description Bad Request */
|
|
@@ -18629,7 +19301,7 @@ interface operations {
|
|
|
18629
19301
|
};
|
|
18630
19302
|
};
|
|
18631
19303
|
};
|
|
18632
|
-
|
|
19304
|
+
getTemplate: {
|
|
18633
19305
|
parameters: {
|
|
18634
19306
|
query?: never;
|
|
18635
19307
|
header?: {
|
|
@@ -18637,8 +19309,8 @@ interface operations {
|
|
|
18637
19309
|
"spacebring-network-id"?: string;
|
|
18638
19310
|
};
|
|
18639
19311
|
path: {
|
|
18640
|
-
/** @description The id of the
|
|
18641
|
-
|
|
19312
|
+
/** @description The id of the template. */
|
|
19313
|
+
templateId: string;
|
|
18642
19314
|
};
|
|
18643
19315
|
cookie?: never;
|
|
18644
19316
|
};
|
|
@@ -18650,9 +19322,7 @@ interface operations {
|
|
|
18650
19322
|
[name: string]: unknown;
|
|
18651
19323
|
};
|
|
18652
19324
|
content: {
|
|
18653
|
-
"application/json":
|
|
18654
|
-
promocode?: components["schemas"]["promocode"];
|
|
18655
|
-
};
|
|
19325
|
+
"application/json": components["schemas"]["getTemplate"];
|
|
18656
19326
|
};
|
|
18657
19327
|
};
|
|
18658
19328
|
/** @description Bad Request */
|
|
@@ -18666,7 +19336,7 @@ interface operations {
|
|
|
18666
19336
|
};
|
|
18667
19337
|
};
|
|
18668
19338
|
};
|
|
18669
|
-
|
|
19339
|
+
deleteTemplate: {
|
|
18670
19340
|
parameters: {
|
|
18671
19341
|
query?: never;
|
|
18672
19342
|
header?: {
|
|
@@ -18674,23 +19344,19 @@ interface operations {
|
|
|
18674
19344
|
"spacebring-network-id"?: string;
|
|
18675
19345
|
};
|
|
18676
19346
|
path: {
|
|
18677
|
-
/** @description The id of the
|
|
18678
|
-
|
|
19347
|
+
/** @description The id of the template. */
|
|
19348
|
+
templateId: string;
|
|
18679
19349
|
};
|
|
18680
19350
|
cookie?: never;
|
|
18681
19351
|
};
|
|
18682
19352
|
requestBody?: never;
|
|
18683
19353
|
responses: {
|
|
18684
|
-
/** @description
|
|
18685
|
-
|
|
19354
|
+
/** @description No Content */
|
|
19355
|
+
204: {
|
|
18686
19356
|
headers: {
|
|
18687
19357
|
[name: string]: unknown;
|
|
18688
19358
|
};
|
|
18689
|
-
content
|
|
18690
|
-
"application/json": {
|
|
18691
|
-
promocode?: components["schemas"]["promocode"];
|
|
18692
|
-
};
|
|
18693
|
-
};
|
|
19359
|
+
content?: never;
|
|
18694
19360
|
};
|
|
18695
19361
|
/** @description Bad Request */
|
|
18696
19362
|
400: {
|
|
@@ -18703,14 +19369,411 @@ interface operations {
|
|
|
18703
19369
|
};
|
|
18704
19370
|
};
|
|
18705
19371
|
};
|
|
18706
|
-
|
|
19372
|
+
updateTemplate: {
|
|
18707
19373
|
parameters: {
|
|
18708
|
-
query?:
|
|
18709
|
-
|
|
18710
|
-
|
|
18711
|
-
|
|
18712
|
-
|
|
18713
|
-
|
|
19374
|
+
query?: never;
|
|
19375
|
+
header?: {
|
|
19376
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19377
|
+
"spacebring-network-id"?: string;
|
|
19378
|
+
};
|
|
19379
|
+
path: {
|
|
19380
|
+
/** @description The id of the template. */
|
|
19381
|
+
templateId: string;
|
|
19382
|
+
};
|
|
19383
|
+
cookie?: never;
|
|
19384
|
+
};
|
|
19385
|
+
requestBody: components["requestBodies"]["updateTemplate"];
|
|
19386
|
+
responses: {
|
|
19387
|
+
/** @description No Content */
|
|
19388
|
+
204: {
|
|
19389
|
+
headers: {
|
|
19390
|
+
[name: string]: unknown;
|
|
19391
|
+
};
|
|
19392
|
+
content?: never;
|
|
19393
|
+
};
|
|
19394
|
+
/** @description Bad Request */
|
|
19395
|
+
400: {
|
|
19396
|
+
headers: {
|
|
19397
|
+
[name: string]: unknown;
|
|
19398
|
+
};
|
|
19399
|
+
content: {
|
|
19400
|
+
"application/json": components["schemas"]["responseError"];
|
|
19401
|
+
};
|
|
19402
|
+
};
|
|
19403
|
+
};
|
|
19404
|
+
};
|
|
19405
|
+
duplicateTemplate: {
|
|
19406
|
+
parameters: {
|
|
19407
|
+
query?: never;
|
|
19408
|
+
header?: {
|
|
19409
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19410
|
+
"spacebring-network-id"?: string;
|
|
19411
|
+
};
|
|
19412
|
+
path: {
|
|
19413
|
+
/** @description The id of the template. */
|
|
19414
|
+
templateId: string;
|
|
19415
|
+
};
|
|
19416
|
+
cookie?: never;
|
|
19417
|
+
};
|
|
19418
|
+
requestBody?: never;
|
|
19419
|
+
responses: {
|
|
19420
|
+
/** @description Created */
|
|
19421
|
+
201: {
|
|
19422
|
+
headers: {
|
|
19423
|
+
[name: string]: unknown;
|
|
19424
|
+
};
|
|
19425
|
+
content: {
|
|
19426
|
+
"application/json": components["schemas"]["getTemplate"];
|
|
19427
|
+
};
|
|
19428
|
+
};
|
|
19429
|
+
/** @description Bad Request */
|
|
19430
|
+
400: {
|
|
19431
|
+
headers: {
|
|
19432
|
+
[name: string]: unknown;
|
|
19433
|
+
};
|
|
19434
|
+
content: {
|
|
19435
|
+
"application/json": components["schemas"]["responseError"];
|
|
19436
|
+
};
|
|
19437
|
+
};
|
|
19438
|
+
};
|
|
19439
|
+
};
|
|
19440
|
+
getCoupons: {
|
|
19441
|
+
parameters: {
|
|
19442
|
+
query: {
|
|
19443
|
+
/** @description The id of the location */
|
|
19444
|
+
locationRef: string;
|
|
19445
|
+
/** @description Comma-separated list of coupon types to filter by */
|
|
19446
|
+
type?: "creditPackages" | "desks" | "equipment" | "events" | "products" | "rooms" | "subscriptionItems";
|
|
19447
|
+
/** @description The number of coupons to retrieve. Default: 25 */
|
|
19448
|
+
limit?: number;
|
|
19449
|
+
/** @description Token to retrieve the next page of results. */
|
|
19450
|
+
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
19451
|
+
};
|
|
19452
|
+
header?: {
|
|
19453
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19454
|
+
"spacebring-network-id"?: string;
|
|
19455
|
+
};
|
|
19456
|
+
path?: never;
|
|
19457
|
+
cookie?: never;
|
|
19458
|
+
};
|
|
19459
|
+
requestBody?: never;
|
|
19460
|
+
responses: {
|
|
19461
|
+
/** @description Success */
|
|
19462
|
+
200: {
|
|
19463
|
+
headers: {
|
|
19464
|
+
[name: string]: unknown;
|
|
19465
|
+
};
|
|
19466
|
+
content: {
|
|
19467
|
+
"application/json": {
|
|
19468
|
+
coupons?: components["schemas"]["coupon"][];
|
|
19469
|
+
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
19470
|
+
searchQueryNext?: components["schemas"]["searchQueryNext"];
|
|
19471
|
+
};
|
|
19472
|
+
};
|
|
19473
|
+
};
|
|
19474
|
+
/** @description Bad Request */
|
|
19475
|
+
400: {
|
|
19476
|
+
headers: {
|
|
19477
|
+
[name: string]: unknown;
|
|
19478
|
+
};
|
|
19479
|
+
content: {
|
|
19480
|
+
"application/json": components["schemas"]["responseError"];
|
|
19481
|
+
};
|
|
19482
|
+
};
|
|
19483
|
+
};
|
|
19484
|
+
};
|
|
19485
|
+
createCoupon: {
|
|
19486
|
+
parameters: {
|
|
19487
|
+
query?: never;
|
|
19488
|
+
header?: {
|
|
19489
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19490
|
+
"spacebring-network-id"?: string;
|
|
19491
|
+
};
|
|
19492
|
+
path?: never;
|
|
19493
|
+
cookie?: never;
|
|
19494
|
+
};
|
|
19495
|
+
requestBody: components["requestBodies"]["createCoupon"];
|
|
19496
|
+
responses: {
|
|
19497
|
+
/** @description Created */
|
|
19498
|
+
201: {
|
|
19499
|
+
headers: {
|
|
19500
|
+
[name: string]: unknown;
|
|
19501
|
+
};
|
|
19502
|
+
content: {
|
|
19503
|
+
"application/json": {
|
|
19504
|
+
coupon?: components["schemas"]["coupon"];
|
|
19505
|
+
};
|
|
19506
|
+
};
|
|
19507
|
+
};
|
|
19508
|
+
/** @description Bad Request */
|
|
19509
|
+
400: {
|
|
19510
|
+
headers: {
|
|
19511
|
+
[name: string]: unknown;
|
|
19512
|
+
};
|
|
19513
|
+
content: {
|
|
19514
|
+
"application/json": components["schemas"]["responseError"];
|
|
19515
|
+
};
|
|
19516
|
+
};
|
|
19517
|
+
};
|
|
19518
|
+
};
|
|
19519
|
+
getCoupon: {
|
|
19520
|
+
parameters: {
|
|
19521
|
+
query?: never;
|
|
19522
|
+
header?: {
|
|
19523
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19524
|
+
"spacebring-network-id"?: string;
|
|
19525
|
+
};
|
|
19526
|
+
path: {
|
|
19527
|
+
/** @description The id of the coupon */
|
|
19528
|
+
id: string;
|
|
19529
|
+
};
|
|
19530
|
+
cookie?: never;
|
|
19531
|
+
};
|
|
19532
|
+
requestBody?: never;
|
|
19533
|
+
responses: {
|
|
19534
|
+
/** @description OK */
|
|
19535
|
+
200: {
|
|
19536
|
+
headers: {
|
|
19537
|
+
[name: string]: unknown;
|
|
19538
|
+
};
|
|
19539
|
+
content: {
|
|
19540
|
+
"application/json": {
|
|
19541
|
+
coupon?: components["schemas"]["coupon"];
|
|
19542
|
+
};
|
|
19543
|
+
};
|
|
19544
|
+
};
|
|
19545
|
+
/** @description Bad Request */
|
|
19546
|
+
400: {
|
|
19547
|
+
headers: {
|
|
19548
|
+
[name: string]: unknown;
|
|
19549
|
+
};
|
|
19550
|
+
content: {
|
|
19551
|
+
"application/json": components["schemas"]["responseError"];
|
|
19552
|
+
};
|
|
19553
|
+
};
|
|
19554
|
+
};
|
|
19555
|
+
};
|
|
19556
|
+
deleteCoupon: {
|
|
19557
|
+
parameters: {
|
|
19558
|
+
query?: never;
|
|
19559
|
+
header?: {
|
|
19560
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19561
|
+
"spacebring-network-id"?: string;
|
|
19562
|
+
};
|
|
19563
|
+
path: {
|
|
19564
|
+
/** @description The id of the coupon */
|
|
19565
|
+
id: string;
|
|
19566
|
+
};
|
|
19567
|
+
cookie?: never;
|
|
19568
|
+
};
|
|
19569
|
+
requestBody?: never;
|
|
19570
|
+
responses: {
|
|
19571
|
+
/** @description No Content */
|
|
19572
|
+
204: {
|
|
19573
|
+
headers: {
|
|
19574
|
+
[name: string]: unknown;
|
|
19575
|
+
};
|
|
19576
|
+
content?: never;
|
|
19577
|
+
};
|
|
19578
|
+
/** @description Bad Request */
|
|
19579
|
+
400: {
|
|
19580
|
+
headers: {
|
|
19581
|
+
[name: string]: unknown;
|
|
19582
|
+
};
|
|
19583
|
+
content: {
|
|
19584
|
+
"application/json": components["schemas"]["responseError"];
|
|
19585
|
+
};
|
|
19586
|
+
};
|
|
19587
|
+
};
|
|
19588
|
+
};
|
|
19589
|
+
updateCoupon: {
|
|
19590
|
+
parameters: {
|
|
19591
|
+
query?: never;
|
|
19592
|
+
header?: {
|
|
19593
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19594
|
+
"spacebring-network-id"?: string;
|
|
19595
|
+
};
|
|
19596
|
+
path: {
|
|
19597
|
+
/** @description The id of the coupon */
|
|
19598
|
+
id: string;
|
|
19599
|
+
};
|
|
19600
|
+
cookie?: never;
|
|
19601
|
+
};
|
|
19602
|
+
requestBody: components["requestBodies"]["updateCoupon"];
|
|
19603
|
+
responses: {
|
|
19604
|
+
/** @description No Content */
|
|
19605
|
+
204: {
|
|
19606
|
+
headers: {
|
|
19607
|
+
[name: string]: unknown;
|
|
19608
|
+
};
|
|
19609
|
+
content?: never;
|
|
19610
|
+
};
|
|
19611
|
+
/** @description Bad Request */
|
|
19612
|
+
400: {
|
|
19613
|
+
headers: {
|
|
19614
|
+
[name: string]: unknown;
|
|
19615
|
+
};
|
|
19616
|
+
content: {
|
|
19617
|
+
"application/json": components["schemas"]["responseError"];
|
|
19618
|
+
};
|
|
19619
|
+
};
|
|
19620
|
+
};
|
|
19621
|
+
};
|
|
19622
|
+
getPromocodes: {
|
|
19623
|
+
parameters: {
|
|
19624
|
+
query?: {
|
|
19625
|
+
/** @description The id of the location. At least one of locationRef or couponRef is required */
|
|
19626
|
+
locationRef?: string;
|
|
19627
|
+
/** @description The id of the coupon. At least one of locationRef or couponRef is required */
|
|
19628
|
+
couponRef?: string;
|
|
19629
|
+
};
|
|
19630
|
+
header?: {
|
|
19631
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19632
|
+
"spacebring-network-id"?: string;
|
|
19633
|
+
};
|
|
19634
|
+
path?: never;
|
|
19635
|
+
cookie?: never;
|
|
19636
|
+
};
|
|
19637
|
+
requestBody?: never;
|
|
19638
|
+
responses: {
|
|
19639
|
+
/** @description Success */
|
|
19640
|
+
200: {
|
|
19641
|
+
headers: {
|
|
19642
|
+
[name: string]: unknown;
|
|
19643
|
+
};
|
|
19644
|
+
content: {
|
|
19645
|
+
"application/json": {
|
|
19646
|
+
promocodes?: components["schemas"]["promocode"][];
|
|
19647
|
+
};
|
|
19648
|
+
};
|
|
19649
|
+
};
|
|
19650
|
+
/** @description Bad Request */
|
|
19651
|
+
400: {
|
|
19652
|
+
headers: {
|
|
19653
|
+
[name: string]: unknown;
|
|
19654
|
+
};
|
|
19655
|
+
content: {
|
|
19656
|
+
"application/json": components["schemas"]["responseError"];
|
|
19657
|
+
};
|
|
19658
|
+
};
|
|
19659
|
+
};
|
|
19660
|
+
};
|
|
19661
|
+
createPromocode: {
|
|
19662
|
+
parameters: {
|
|
19663
|
+
query?: never;
|
|
19664
|
+
header?: {
|
|
19665
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19666
|
+
"spacebring-network-id"?: string;
|
|
19667
|
+
};
|
|
19668
|
+
path?: never;
|
|
19669
|
+
cookie?: never;
|
|
19670
|
+
};
|
|
19671
|
+
requestBody: components["requestBodies"]["createPromocode"];
|
|
19672
|
+
responses: {
|
|
19673
|
+
/** @description Created */
|
|
19674
|
+
201: {
|
|
19675
|
+
headers: {
|
|
19676
|
+
[name: string]: unknown;
|
|
19677
|
+
};
|
|
19678
|
+
content: {
|
|
19679
|
+
"application/json": {
|
|
19680
|
+
promocode?: components["schemas"]["promocode"];
|
|
19681
|
+
};
|
|
19682
|
+
};
|
|
19683
|
+
};
|
|
19684
|
+
/** @description Bad Request */
|
|
19685
|
+
400: {
|
|
19686
|
+
headers: {
|
|
19687
|
+
[name: string]: unknown;
|
|
19688
|
+
};
|
|
19689
|
+
content: {
|
|
19690
|
+
"application/json": components["schemas"]["responseError"];
|
|
19691
|
+
};
|
|
19692
|
+
};
|
|
19693
|
+
};
|
|
19694
|
+
};
|
|
19695
|
+
getPromocode: {
|
|
19696
|
+
parameters: {
|
|
19697
|
+
query?: never;
|
|
19698
|
+
header?: {
|
|
19699
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19700
|
+
"spacebring-network-id"?: string;
|
|
19701
|
+
};
|
|
19702
|
+
path: {
|
|
19703
|
+
/** @description The id of the promocode */
|
|
19704
|
+
id: string;
|
|
19705
|
+
};
|
|
19706
|
+
cookie?: never;
|
|
19707
|
+
};
|
|
19708
|
+
requestBody?: never;
|
|
19709
|
+
responses: {
|
|
19710
|
+
/** @description OK */
|
|
19711
|
+
200: {
|
|
19712
|
+
headers: {
|
|
19713
|
+
[name: string]: unknown;
|
|
19714
|
+
};
|
|
19715
|
+
content: {
|
|
19716
|
+
"application/json": {
|
|
19717
|
+
promocode?: components["schemas"]["promocode"];
|
|
19718
|
+
};
|
|
19719
|
+
};
|
|
19720
|
+
};
|
|
19721
|
+
/** @description Bad Request */
|
|
19722
|
+
400: {
|
|
19723
|
+
headers: {
|
|
19724
|
+
[name: string]: unknown;
|
|
19725
|
+
};
|
|
19726
|
+
content: {
|
|
19727
|
+
"application/json": components["schemas"]["responseError"];
|
|
19728
|
+
};
|
|
19729
|
+
};
|
|
19730
|
+
};
|
|
19731
|
+
};
|
|
19732
|
+
archivePromocode: {
|
|
19733
|
+
parameters: {
|
|
19734
|
+
query?: never;
|
|
19735
|
+
header?: {
|
|
19736
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19737
|
+
"spacebring-network-id"?: string;
|
|
19738
|
+
};
|
|
19739
|
+
path: {
|
|
19740
|
+
/** @description The id of the promocode */
|
|
19741
|
+
id: string;
|
|
19742
|
+
};
|
|
19743
|
+
cookie?: never;
|
|
19744
|
+
};
|
|
19745
|
+
requestBody?: never;
|
|
19746
|
+
responses: {
|
|
19747
|
+
/** @description OK */
|
|
19748
|
+
200: {
|
|
19749
|
+
headers: {
|
|
19750
|
+
[name: string]: unknown;
|
|
19751
|
+
};
|
|
19752
|
+
content: {
|
|
19753
|
+
"application/json": {
|
|
19754
|
+
promocode?: components["schemas"]["promocode"];
|
|
19755
|
+
};
|
|
19756
|
+
};
|
|
19757
|
+
};
|
|
19758
|
+
/** @description Bad Request */
|
|
19759
|
+
400: {
|
|
19760
|
+
headers: {
|
|
19761
|
+
[name: string]: unknown;
|
|
19762
|
+
};
|
|
19763
|
+
content: {
|
|
19764
|
+
"application/json": components["schemas"]["responseError"];
|
|
19765
|
+
};
|
|
19766
|
+
};
|
|
19767
|
+
};
|
|
19768
|
+
};
|
|
19769
|
+
getDiscountRedemptions: {
|
|
19770
|
+
parameters: {
|
|
19771
|
+
query?: {
|
|
19772
|
+
/** @description The id of the coupon. Either couponRef or promocodeRef is required */
|
|
19773
|
+
couponRef?: string;
|
|
19774
|
+
/** @description The id of the promocode. Either couponRef or promocodeRef is required */
|
|
19775
|
+
promocodeRef?: string;
|
|
19776
|
+
/** @description The number of items to return */
|
|
18714
19777
|
limit?: number;
|
|
18715
19778
|
/** @description Token to retrieve the next page of results. */
|
|
18716
19779
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
@@ -18833,9 +19896,190 @@ interface operations {
|
|
|
18833
19896
|
path: {
|
|
18834
19897
|
id: string;
|
|
18835
19898
|
};
|
|
18836
|
-
cookie?: never;
|
|
19899
|
+
cookie?: never;
|
|
19900
|
+
};
|
|
19901
|
+
requestBody?: never;
|
|
19902
|
+
responses: {
|
|
19903
|
+
/** @description OK */
|
|
19904
|
+
200: {
|
|
19905
|
+
headers: {
|
|
19906
|
+
[name: string]: unknown;
|
|
19907
|
+
};
|
|
19908
|
+
content: {
|
|
19909
|
+
"application/json": {
|
|
19910
|
+
event?: components["schemas"]["event"];
|
|
19911
|
+
};
|
|
19912
|
+
};
|
|
19913
|
+
};
|
|
19914
|
+
/** @description Bad Request */
|
|
19915
|
+
400: {
|
|
19916
|
+
headers: {
|
|
19917
|
+
[name: string]: unknown;
|
|
19918
|
+
};
|
|
19919
|
+
content: {
|
|
19920
|
+
"application/json": components["schemas"]["responseError"];
|
|
19921
|
+
};
|
|
19922
|
+
};
|
|
19923
|
+
};
|
|
19924
|
+
};
|
|
19925
|
+
updateEvent: {
|
|
19926
|
+
parameters: {
|
|
19927
|
+
query?: never;
|
|
19928
|
+
header?: {
|
|
19929
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
19930
|
+
"spacebring-network-id"?: string;
|
|
19931
|
+
};
|
|
19932
|
+
path: {
|
|
19933
|
+
id: string;
|
|
19934
|
+
};
|
|
19935
|
+
cookie?: never;
|
|
19936
|
+
};
|
|
19937
|
+
requestBody: components["requestBodies"]["updateEvent"];
|
|
19938
|
+
responses: {
|
|
19939
|
+
/** @description OK */
|
|
19940
|
+
200: {
|
|
19941
|
+
headers: {
|
|
19942
|
+
[name: string]: unknown;
|
|
19943
|
+
};
|
|
19944
|
+
content: {
|
|
19945
|
+
"application/json": {
|
|
19946
|
+
event?: components["schemas"]["event"];
|
|
19947
|
+
};
|
|
19948
|
+
};
|
|
19949
|
+
};
|
|
19950
|
+
/** @description Bad Request */
|
|
19951
|
+
400: {
|
|
19952
|
+
headers: {
|
|
19953
|
+
[name: string]: unknown;
|
|
19954
|
+
};
|
|
19955
|
+
content: {
|
|
19956
|
+
"application/json": components["schemas"]["responseError"];
|
|
19957
|
+
};
|
|
19958
|
+
};
|
|
19959
|
+
};
|
|
19960
|
+
};
|
|
19961
|
+
deleteEvent: {
|
|
19962
|
+
parameters: {
|
|
19963
|
+
query?: never;
|
|
19964
|
+
header?: never;
|
|
19965
|
+
path: {
|
|
19966
|
+
id: string;
|
|
19967
|
+
};
|
|
19968
|
+
cookie?: never;
|
|
19969
|
+
};
|
|
19970
|
+
requestBody?: never;
|
|
19971
|
+
responses: {
|
|
19972
|
+
/** @description No Content */
|
|
19973
|
+
204: {
|
|
19974
|
+
headers: {
|
|
19975
|
+
[name: string]: unknown;
|
|
19976
|
+
};
|
|
19977
|
+
content?: never;
|
|
19978
|
+
};
|
|
19979
|
+
/** @description Bad Request */
|
|
19980
|
+
400: {
|
|
19981
|
+
headers: {
|
|
19982
|
+
[name: string]: unknown;
|
|
19983
|
+
};
|
|
19984
|
+
content: {
|
|
19985
|
+
"application/json": components["schemas"]["responseError"];
|
|
19986
|
+
};
|
|
19987
|
+
};
|
|
19988
|
+
};
|
|
19989
|
+
};
|
|
19990
|
+
cancelEvent: {
|
|
19991
|
+
parameters: {
|
|
19992
|
+
query?: never;
|
|
19993
|
+
header?: never;
|
|
19994
|
+
path: {
|
|
19995
|
+
id: string;
|
|
19996
|
+
};
|
|
19997
|
+
cookie?: never;
|
|
19998
|
+
};
|
|
19999
|
+
requestBody?: never;
|
|
20000
|
+
responses: {
|
|
20001
|
+
/** @description OK */
|
|
20002
|
+
200: {
|
|
20003
|
+
headers: {
|
|
20004
|
+
[name: string]: unknown;
|
|
20005
|
+
};
|
|
20006
|
+
content: {
|
|
20007
|
+
"application/json": {
|
|
20008
|
+
event?: components["schemas"]["event"];
|
|
20009
|
+
};
|
|
20010
|
+
};
|
|
20011
|
+
};
|
|
20012
|
+
/** @description Bad Request */
|
|
20013
|
+
400: {
|
|
20014
|
+
headers: {
|
|
20015
|
+
[name: string]: unknown;
|
|
20016
|
+
};
|
|
20017
|
+
content: {
|
|
20018
|
+
"application/json": components["schemas"]["responseError"];
|
|
20019
|
+
};
|
|
20020
|
+
};
|
|
20021
|
+
};
|
|
20022
|
+
};
|
|
20023
|
+
copyEvent: {
|
|
20024
|
+
parameters: {
|
|
20025
|
+
query?: never;
|
|
20026
|
+
header?: never;
|
|
20027
|
+
path: {
|
|
20028
|
+
id: string;
|
|
20029
|
+
};
|
|
20030
|
+
cookie?: never;
|
|
20031
|
+
};
|
|
20032
|
+
requestBody?: never;
|
|
20033
|
+
responses: {
|
|
20034
|
+
/** @description Created */
|
|
20035
|
+
201: {
|
|
20036
|
+
headers: {
|
|
20037
|
+
[name: string]: unknown;
|
|
20038
|
+
};
|
|
20039
|
+
content: {
|
|
20040
|
+
"application/json": {
|
|
20041
|
+
event?: components["schemas"]["event"];
|
|
20042
|
+
};
|
|
20043
|
+
};
|
|
20044
|
+
};
|
|
20045
|
+
/** @description Bad Request */
|
|
20046
|
+
400: {
|
|
20047
|
+
headers: {
|
|
20048
|
+
[name: string]: unknown;
|
|
20049
|
+
};
|
|
20050
|
+
content: {
|
|
20051
|
+
"application/json": components["schemas"]["responseError"];
|
|
20052
|
+
};
|
|
20053
|
+
};
|
|
20054
|
+
};
|
|
20055
|
+
};
|
|
20056
|
+
addEventHosts: {
|
|
20057
|
+
parameters: {
|
|
20058
|
+
query?: never;
|
|
20059
|
+
header?: {
|
|
20060
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
20061
|
+
"spacebring-network-id"?: string;
|
|
20062
|
+
};
|
|
20063
|
+
path: {
|
|
20064
|
+
/** @description The id of the event. */
|
|
20065
|
+
id: string;
|
|
20066
|
+
};
|
|
20067
|
+
cookie?: never;
|
|
20068
|
+
};
|
|
20069
|
+
requestBody: {
|
|
20070
|
+
content: {
|
|
20071
|
+
"application/json": {
|
|
20072
|
+
/** @description Hosts to add to the event. */
|
|
20073
|
+
tickets: {
|
|
20074
|
+
/**
|
|
20075
|
+
* Format: uuid
|
|
20076
|
+
* @description The id of the membership to add as a host.
|
|
20077
|
+
*/
|
|
20078
|
+
membershipRef: string;
|
|
20079
|
+
}[];
|
|
20080
|
+
};
|
|
20081
|
+
};
|
|
18837
20082
|
};
|
|
18838
|
-
requestBody?: never;
|
|
18839
20083
|
responses: {
|
|
18840
20084
|
/** @description OK */
|
|
18841
20085
|
200: {
|
|
@@ -18844,7 +20088,7 @@ interface operations {
|
|
|
18844
20088
|
};
|
|
18845
20089
|
content: {
|
|
18846
20090
|
"application/json": {
|
|
18847
|
-
|
|
20091
|
+
tickets?: components["schemas"]["eventTicket"][];
|
|
18848
20092
|
};
|
|
18849
20093
|
};
|
|
18850
20094
|
};
|
|
@@ -18859,23 +20103,37 @@ interface operations {
|
|
|
18859
20103
|
};
|
|
18860
20104
|
};
|
|
18861
20105
|
};
|
|
18862
|
-
|
|
20106
|
+
getEventTickets: {
|
|
18863
20107
|
parameters: {
|
|
18864
|
-
query
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
|
|
20108
|
+
query: {
|
|
20109
|
+
/** @description The id of the location. */
|
|
20110
|
+
locationRef: string;
|
|
20111
|
+
/** @description The number of items to return */
|
|
20112
|
+
limit?: number;
|
|
20113
|
+
/** @description Token to retrieve the next page of results. */
|
|
20114
|
+
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
20115
|
+
};
|
|
20116
|
+
header?: {
|
|
20117
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
20118
|
+
"spacebring-network-id"?: string;
|
|
18868
20119
|
};
|
|
20120
|
+
path?: never;
|
|
18869
20121
|
cookie?: never;
|
|
18870
20122
|
};
|
|
18871
20123
|
requestBody?: never;
|
|
18872
20124
|
responses: {
|
|
18873
|
-
/** @description
|
|
18874
|
-
|
|
20125
|
+
/** @description OK */
|
|
20126
|
+
200: {
|
|
18875
20127
|
headers: {
|
|
18876
20128
|
[name: string]: unknown;
|
|
18877
20129
|
};
|
|
18878
|
-
content
|
|
20130
|
+
content: {
|
|
20131
|
+
"application/json": {
|
|
20132
|
+
tickets?: components["schemas"]["eventTicket"][];
|
|
20133
|
+
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
20134
|
+
searchQueryNext?: components["schemas"]["searchQueryNext"];
|
|
20135
|
+
};
|
|
20136
|
+
};
|
|
18879
20137
|
};
|
|
18880
20138
|
/** @description Bad Request */
|
|
18881
20139
|
400: {
|
|
@@ -18888,11 +20146,12 @@ interface operations {
|
|
|
18888
20146
|
};
|
|
18889
20147
|
};
|
|
18890
20148
|
};
|
|
18891
|
-
|
|
20149
|
+
getEventTicket: {
|
|
18892
20150
|
parameters: {
|
|
18893
20151
|
query?: never;
|
|
18894
20152
|
header?: never;
|
|
18895
20153
|
path: {
|
|
20154
|
+
/** @description The id of the event ticket. */
|
|
18896
20155
|
id: string;
|
|
18897
20156
|
};
|
|
18898
20157
|
cookie?: never;
|
|
@@ -18906,7 +20165,7 @@ interface operations {
|
|
|
18906
20165
|
};
|
|
18907
20166
|
content: {
|
|
18908
20167
|
"application/json": {
|
|
18909
|
-
|
|
20168
|
+
ticket?: components["schemas"]["eventTicket"];
|
|
18910
20169
|
};
|
|
18911
20170
|
};
|
|
18912
20171
|
};
|
|
@@ -18921,25 +20180,41 @@ interface operations {
|
|
|
18921
20180
|
};
|
|
18922
20181
|
};
|
|
18923
20182
|
};
|
|
18924
|
-
|
|
20183
|
+
updateEventTicket: {
|
|
18925
20184
|
parameters: {
|
|
18926
20185
|
query?: never;
|
|
18927
|
-
header?:
|
|
20186
|
+
header?: {
|
|
20187
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
20188
|
+
"spacebring-network-id"?: string;
|
|
20189
|
+
};
|
|
18928
20190
|
path: {
|
|
20191
|
+
/** @description The id of the event ticket. */
|
|
18929
20192
|
id: string;
|
|
18930
20193
|
};
|
|
18931
20194
|
cookie?: never;
|
|
18932
20195
|
};
|
|
18933
|
-
requestBody
|
|
20196
|
+
requestBody: {
|
|
20197
|
+
content: {
|
|
20198
|
+
"application/json": {
|
|
20199
|
+
ticket: {
|
|
20200
|
+
/**
|
|
20201
|
+
* @description Role of the ticket holder.
|
|
20202
|
+
* @enum {string}
|
|
20203
|
+
*/
|
|
20204
|
+
role: "attendee" | "host";
|
|
20205
|
+
};
|
|
20206
|
+
};
|
|
20207
|
+
};
|
|
20208
|
+
};
|
|
18934
20209
|
responses: {
|
|
18935
|
-
/** @description
|
|
18936
|
-
|
|
20210
|
+
/** @description OK */
|
|
20211
|
+
200: {
|
|
18937
20212
|
headers: {
|
|
18938
20213
|
[name: string]: unknown;
|
|
18939
20214
|
};
|
|
18940
20215
|
content: {
|
|
18941
20216
|
"application/json": {
|
|
18942
|
-
|
|
20217
|
+
ticket?: components["schemas"]["eventTicket"];
|
|
18943
20218
|
};
|
|
18944
20219
|
};
|
|
18945
20220
|
};
|
|
@@ -18954,21 +20229,17 @@ interface operations {
|
|
|
18954
20229
|
};
|
|
18955
20230
|
};
|
|
18956
20231
|
};
|
|
18957
|
-
|
|
20232
|
+
deleteEventTicket: {
|
|
18958
20233
|
parameters: {
|
|
18959
|
-
query
|
|
18960
|
-
/** @description The id of the location. */
|
|
18961
|
-
locationRef: string;
|
|
18962
|
-
/** @description The number of items to return */
|
|
18963
|
-
limit?: number;
|
|
18964
|
-
/** @description Token to retrieve the next page of results. */
|
|
18965
|
-
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
18966
|
-
};
|
|
20234
|
+
query?: never;
|
|
18967
20235
|
header?: {
|
|
18968
20236
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
18969
20237
|
"spacebring-network-id"?: string;
|
|
18970
20238
|
};
|
|
18971
|
-
path
|
|
20239
|
+
path: {
|
|
20240
|
+
/** @description The id of the event ticket. */
|
|
20241
|
+
id: string;
|
|
20242
|
+
};
|
|
18972
20243
|
cookie?: never;
|
|
18973
20244
|
};
|
|
18974
20245
|
requestBody?: never;
|
|
@@ -18980,9 +20251,7 @@ interface operations {
|
|
|
18980
20251
|
};
|
|
18981
20252
|
content: {
|
|
18982
20253
|
"application/json": {
|
|
18983
|
-
|
|
18984
|
-
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
18985
|
-
searchQueryNext?: components["schemas"]["searchQueryNext"];
|
|
20254
|
+
ticket?: components["schemas"]["eventTicket"];
|
|
18986
20255
|
};
|
|
18987
20256
|
};
|
|
18988
20257
|
};
|
|
@@ -18997,10 +20266,13 @@ interface operations {
|
|
|
18997
20266
|
};
|
|
18998
20267
|
};
|
|
18999
20268
|
};
|
|
19000
|
-
|
|
20269
|
+
checkInEventTicket: {
|
|
19001
20270
|
parameters: {
|
|
19002
20271
|
query?: never;
|
|
19003
|
-
header?:
|
|
20272
|
+
header?: {
|
|
20273
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
20274
|
+
"spacebring-network-id"?: string;
|
|
20275
|
+
};
|
|
19004
20276
|
path: {
|
|
19005
20277
|
/** @description The id of the event ticket. */
|
|
19006
20278
|
id: string;
|
|
@@ -19915,6 +21187,143 @@ interface operations {
|
|
|
19915
21187
|
};
|
|
19916
21188
|
};
|
|
19917
21189
|
};
|
|
21190
|
+
getPackages: {
|
|
21191
|
+
parameters: {
|
|
21192
|
+
query: {
|
|
21193
|
+
/** @description Maximum number of packages per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
21194
|
+
limit?: number;
|
|
21195
|
+
/** @description UUID of the location. */
|
|
21196
|
+
locationRef: string;
|
|
21197
|
+
/** @description Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
21198
|
+
nextPageToken?: string;
|
|
21199
|
+
};
|
|
21200
|
+
header?: {
|
|
21201
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
21202
|
+
"spacebring-network-id"?: string;
|
|
21203
|
+
};
|
|
21204
|
+
path?: never;
|
|
21205
|
+
cookie?: never;
|
|
21206
|
+
};
|
|
21207
|
+
requestBody?: never;
|
|
21208
|
+
responses: {
|
|
21209
|
+
/** @description OK */
|
|
21210
|
+
200: {
|
|
21211
|
+
headers: {
|
|
21212
|
+
[name: string]: unknown;
|
|
21213
|
+
};
|
|
21214
|
+
content: {
|
|
21215
|
+
"application/json": components["schemas"]["getPackages"];
|
|
21216
|
+
};
|
|
21217
|
+
};
|
|
21218
|
+
/** @description Bad Request */
|
|
21219
|
+
400: {
|
|
21220
|
+
headers: {
|
|
21221
|
+
[name: string]: unknown;
|
|
21222
|
+
};
|
|
21223
|
+
content: {
|
|
21224
|
+
"application/json": components["schemas"]["responseError"];
|
|
21225
|
+
};
|
|
21226
|
+
};
|
|
21227
|
+
};
|
|
21228
|
+
};
|
|
21229
|
+
createPackage: {
|
|
21230
|
+
parameters: {
|
|
21231
|
+
query?: never;
|
|
21232
|
+
header?: {
|
|
21233
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
21234
|
+
"spacebring-network-id"?: string;
|
|
21235
|
+
};
|
|
21236
|
+
path?: never;
|
|
21237
|
+
cookie?: never;
|
|
21238
|
+
};
|
|
21239
|
+
requestBody: components["requestBodies"]["createPackage"];
|
|
21240
|
+
responses: {
|
|
21241
|
+
/** @description Created */
|
|
21242
|
+
201: {
|
|
21243
|
+
headers: {
|
|
21244
|
+
[name: string]: unknown;
|
|
21245
|
+
};
|
|
21246
|
+
content: {
|
|
21247
|
+
"application/json": components["schemas"]["getPackage"];
|
|
21248
|
+
};
|
|
21249
|
+
};
|
|
21250
|
+
/** @description Bad Request */
|
|
21251
|
+
400: {
|
|
21252
|
+
headers: {
|
|
21253
|
+
[name: string]: unknown;
|
|
21254
|
+
};
|
|
21255
|
+
content: {
|
|
21256
|
+
"application/json": components["schemas"]["responseError"];
|
|
21257
|
+
};
|
|
21258
|
+
};
|
|
21259
|
+
};
|
|
21260
|
+
};
|
|
21261
|
+
deletePackage: {
|
|
21262
|
+
parameters: {
|
|
21263
|
+
query?: never;
|
|
21264
|
+
header?: {
|
|
21265
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
21266
|
+
"spacebring-network-id"?: string;
|
|
21267
|
+
};
|
|
21268
|
+
path: {
|
|
21269
|
+
/** @description The id of the package. */
|
|
21270
|
+
packageId: string;
|
|
21271
|
+
};
|
|
21272
|
+
cookie?: never;
|
|
21273
|
+
};
|
|
21274
|
+
requestBody?: never;
|
|
21275
|
+
responses: {
|
|
21276
|
+
/** @description No Content */
|
|
21277
|
+
204: {
|
|
21278
|
+
headers: {
|
|
21279
|
+
[name: string]: unknown;
|
|
21280
|
+
};
|
|
21281
|
+
content?: never;
|
|
21282
|
+
};
|
|
21283
|
+
/** @description Bad Request */
|
|
21284
|
+
400: {
|
|
21285
|
+
headers: {
|
|
21286
|
+
[name: string]: unknown;
|
|
21287
|
+
};
|
|
21288
|
+
content: {
|
|
21289
|
+
"application/json": components["schemas"]["responseError"];
|
|
21290
|
+
};
|
|
21291
|
+
};
|
|
21292
|
+
};
|
|
21293
|
+
};
|
|
21294
|
+
patchPackage: {
|
|
21295
|
+
parameters: {
|
|
21296
|
+
query?: never;
|
|
21297
|
+
header?: {
|
|
21298
|
+
/** @description The id of the network. Required when using bearer token authentication */
|
|
21299
|
+
"spacebring-network-id"?: string;
|
|
21300
|
+
};
|
|
21301
|
+
path: {
|
|
21302
|
+
/** @description The id of the package. */
|
|
21303
|
+
packageId: string;
|
|
21304
|
+
};
|
|
21305
|
+
cookie?: never;
|
|
21306
|
+
};
|
|
21307
|
+
requestBody: components["requestBodies"]["patchPackage"];
|
|
21308
|
+
responses: {
|
|
21309
|
+
/** @description No Content */
|
|
21310
|
+
204: {
|
|
21311
|
+
headers: {
|
|
21312
|
+
[name: string]: unknown;
|
|
21313
|
+
};
|
|
21314
|
+
content?: never;
|
|
21315
|
+
};
|
|
21316
|
+
/** @description Bad Request */
|
|
21317
|
+
400: {
|
|
21318
|
+
headers: {
|
|
21319
|
+
[name: string]: unknown;
|
|
21320
|
+
};
|
|
21321
|
+
content: {
|
|
21322
|
+
"application/json": components["schemas"]["responseError"];
|
|
21323
|
+
};
|
|
21324
|
+
};
|
|
21325
|
+
};
|
|
21326
|
+
};
|
|
19918
21327
|
getPlans: {
|
|
19919
21328
|
parameters: {
|
|
19920
21329
|
query?: {
|
|
@@ -21244,6 +22653,8 @@ interface operations {
|
|
|
21244
22653
|
limit?: number;
|
|
21245
22654
|
/** @description Token to retrieve the next page of results. */
|
|
21246
22655
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
22656
|
+
/** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
22657
|
+
order?: string;
|
|
21247
22658
|
};
|
|
21248
22659
|
header?: {
|
|
21249
22660
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -22477,10 +23888,8 @@ interface operations {
|
|
|
22477
23888
|
type Contact = NonNullable<components["schemas"]["contact"]>;
|
|
22478
23889
|
/** A Request entity as returned by the Spacebring API. */
|
|
22479
23890
|
type Request$1 = NonNullable<components["schemas"]["visitRequest"]>;
|
|
22480
|
-
/** A
|
|
22481
|
-
type
|
|
22482
|
-
/** A VisitorVisit entity as returned by the Spacebring API. */
|
|
22483
|
-
type VisitorVisit = NonNullable<components["schemas"]["visit"]>;
|
|
23891
|
+
/** A Visit entity as returned by the Spacebring API. */
|
|
23892
|
+
type Visit = NonNullable<components["schemas"]["visit"]>;
|
|
22484
23893
|
/** Query parameters for `sb.visitors.contacts.list()`. */
|
|
22485
23894
|
interface GetContactsQuery {
|
|
22486
23895
|
/** The maximum number of contacts to return. Default is 25. */
|
|
@@ -22625,6 +24034,8 @@ interface GetSupportTicketsQuery {
|
|
|
22625
24034
|
limit?: number;
|
|
22626
24035
|
/** Token to retrieve the next page of results. */
|
|
22627
24036
|
nextPageToken?: string;
|
|
24037
|
+
/** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
24038
|
+
order?: string;
|
|
22628
24039
|
}
|
|
22629
24040
|
/** Request body for `sb.support.tickets.create()`. */
|
|
22630
24041
|
type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
|
|
@@ -22821,6 +24232,22 @@ type CreatePlanBody = NonNullable<NonNullable<operations["createPlan"]["requestB
|
|
|
22821
24232
|
/** Request body for `sb.plans.update()`. */
|
|
22822
24233
|
type UpdatePlanBody = NonNullable<NonNullable<operations["updatePlan"]["requestBody"]>["content"]["application/json"]["plan"]>;
|
|
22823
24234
|
|
|
24235
|
+
/** A Package entity as returned by the Spacebring API. */
|
|
24236
|
+
type Package = NonNullable<operations["getPackages"]["responses"][200]["content"]["application/json"]["packages"]>[number];
|
|
24237
|
+
/** Query parameters for `sb.packages.list()`. */
|
|
24238
|
+
interface GetPackagesQuery {
|
|
24239
|
+
/** Maximum number of packages per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
24240
|
+
limit?: number;
|
|
24241
|
+
/** UUID of the location. */
|
|
24242
|
+
locationRef: string;
|
|
24243
|
+
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
24244
|
+
nextPageToken?: string;
|
|
24245
|
+
}
|
|
24246
|
+
/** Request body for `sb.packages.create()`. */
|
|
24247
|
+
type CreatePackageBody = NonNullable<NonNullable<operations["createPackage"]["requestBody"]>["content"]["application/json"]["package"]>;
|
|
24248
|
+
/** Request body for `sb.packages.update()`. */
|
|
24249
|
+
type PatchPackageBody = NonNullable<NonNullable<operations["patchPackage"]["requestBody"]>["content"]["application/json"]["package"]>;
|
|
24250
|
+
|
|
22824
24251
|
/** A Network entity as returned by the Spacebring API. */
|
|
22825
24252
|
type Network = NonNullable<components["schemas"]["network"]>;
|
|
22826
24253
|
|
|
@@ -22853,16 +24280,12 @@ interface GetFloorsQuery {
|
|
|
22853
24280
|
nextPageToken?: string;
|
|
22854
24281
|
}
|
|
22855
24282
|
|
|
22856
|
-
/** A
|
|
22857
|
-
type
|
|
22858
|
-
/** A
|
|
22859
|
-
type
|
|
24283
|
+
/** A Comment entity as returned by the Spacebring API. */
|
|
24284
|
+
type Comment = NonNullable<components["schemas"]["postComment"]>;
|
|
24285
|
+
/** A Like entity as returned by the Spacebring API. */
|
|
24286
|
+
type Like = NonNullable<components["schemas"]["postLike"]>;
|
|
22860
24287
|
/** A Post entity as returned by the Spacebring API. */
|
|
22861
24288
|
type Post = NonNullable<components["schemas"]["post"]>;
|
|
22862
|
-
/** A PostComment entity as returned by the Spacebring API. */
|
|
22863
|
-
type PostComment = NonNullable<components["schemas"]["postComment"]>;
|
|
22864
|
-
/** A PostLike entity as returned by the Spacebring API. */
|
|
22865
|
-
type PostLike = NonNullable<components["schemas"]["postLike"]>;
|
|
22866
24289
|
/** Query parameters for `sb.feed.posts.list()`. */
|
|
22867
24290
|
interface GetFeedPostsQuery {
|
|
22868
24291
|
/** The id of the location. */
|
|
@@ -22903,8 +24326,14 @@ interface GetEventTicketsQuery {
|
|
|
22903
24326
|
/** Token to retrieve the next page of results. */
|
|
22904
24327
|
nextPageToken?: string;
|
|
22905
24328
|
}
|
|
24329
|
+
/** Request body for `sb.events.addEventHosts()`. */
|
|
24330
|
+
type AddEventHostsBody = NonNullable<NonNullable<operations["addEventHosts"]["requestBody"]>["content"]["application/json"]["tickets"]>;
|
|
22906
24331
|
/** Request body for `sb.events.create()`. */
|
|
22907
24332
|
type CreateEventBody = NonNullable<NonNullable<operations["createEvent"]["requestBody"]>["content"]["application/json"]["event"]>;
|
|
24333
|
+
/** Request body for `sb.events.update()`. */
|
|
24334
|
+
type UpdateEventBody = NonNullable<NonNullable<operations["updateEvent"]["requestBody"]>["content"]["application/json"]["event"]>;
|
|
24335
|
+
/** Request body for `sb.events.tickets.update()`. */
|
|
24336
|
+
type UpdateEventTicketBody = NonNullable<NonNullable<operations["updateEventTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
|
|
22908
24337
|
|
|
22909
24338
|
/** A Coupon entity as returned by the Spacebring API. */
|
|
22910
24339
|
type Coupon = NonNullable<components["schemas"]["coupon"]>;
|
|
@@ -22923,7 +24352,7 @@ interface GetCouponsQuery {
|
|
|
22923
24352
|
/** Token to retrieve the next page of results. */
|
|
22924
24353
|
nextPageToken?: string;
|
|
22925
24354
|
}
|
|
22926
|
-
/** Query parameters for `sb.discounts.
|
|
24355
|
+
/** Query parameters for `sb.discounts.listRedemptions()`. */
|
|
22927
24356
|
interface GetDiscountRedemptionsQuery {
|
|
22928
24357
|
/** The id of the coupon. Either couponRef or promocodeRef is required */
|
|
22929
24358
|
couponRef?: string;
|
|
@@ -22950,6 +24379,8 @@ type UpdateCouponBody = NonNullable<NonNullable<operations["updateCoupon"]["requ
|
|
|
22950
24379
|
|
|
22951
24380
|
/** A Contract entity as returned by the Spacebring API. */
|
|
22952
24381
|
type Contract = NonNullable<operations["getContract"]["responses"][200]["content"]["application/json"]["contract"]>;
|
|
24382
|
+
/** A Template entity as returned by the Spacebring API. */
|
|
24383
|
+
type Template = NonNullable<operations["getTemplate"]["responses"][200]["content"]["application/json"]["template"]>;
|
|
22953
24384
|
/** Query parameters for `sb.contracts.list()`. */
|
|
22954
24385
|
interface GetContractsQuery {
|
|
22955
24386
|
/** UUID of the customer (membership or company). Provide customerRef or locationRef; when set, returns only that customer's contracts. */
|
|
@@ -22972,12 +24403,27 @@ interface GetContractsQuery {
|
|
|
22972
24403
|
- **terminated** — cancelled after signing */
|
|
22973
24404
|
status?: string;
|
|
22974
24405
|
}
|
|
24406
|
+
/** Query parameters for `sb.contracts.templates.list()`. */
|
|
24407
|
+
interface GetTemplatesQuery {
|
|
24408
|
+
/** Maximum number of templates per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
24409
|
+
limit?: number;
|
|
24410
|
+
/** UUID of the location. */
|
|
24411
|
+
locationRef: string;
|
|
24412
|
+
/** Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. */
|
|
24413
|
+
nextPageToken?: string;
|
|
24414
|
+
}
|
|
22975
24415
|
/** Request body for `sb.contracts.create()`. */
|
|
22976
24416
|
type CreateContractBody = NonNullable<NonNullable<operations["createContract"]["requestBody"]>["content"]["application/json"]["contract"]>;
|
|
24417
|
+
/** Request body for `sb.contracts.templates.create()`. */
|
|
24418
|
+
type CreateTemplateBody = NonNullable<NonNullable<operations["createTemplate"]["requestBody"]>["content"]["application/json"]["template"]>;
|
|
22977
24419
|
/** Request body for `sb.contracts.issue()`. */
|
|
22978
24420
|
type IssueContractBody = NonNullable<NonNullable<operations["issueContract"]["requestBody"]>["content"]["application/json"]["signatureMethod"]>;
|
|
22979
24421
|
/** Request body for `sb.contracts.terminate()`. */
|
|
22980
24422
|
type TerminateContractBody = NonNullable<NonNullable<operations["terminateContract"]["requestBody"]>["content"]["application/json"]["reason"]>;
|
|
24423
|
+
/** Request body for `sb.contracts.update()`. */
|
|
24424
|
+
type UpdateContractBody = NonNullable<NonNullable<operations["updateContract"]["requestBody"]>["content"]["application/json"]["contract"]>;
|
|
24425
|
+
/** Request body for `sb.contracts.templates.update()`. */
|
|
24426
|
+
type UpdateTemplateBody = NonNullable<NonNullable<operations["updateTemplate"]["requestBody"]>["content"]["application/json"]["template"]>;
|
|
22981
24427
|
|
|
22982
24428
|
/** A Company entity as returned by the Spacebring API. */
|
|
22983
24429
|
type Company = NonNullable<components["schemas"]["company"]>;
|
|
@@ -23041,6 +24487,10 @@ type CreditNote = NonNullable<components["schemas"]["creditNote"]>;
|
|
|
23041
24487
|
type Invoice = NonNullable<components["schemas"]["invoice"]>;
|
|
23042
24488
|
/** A InvoiceItem entity as returned by the Spacebring API. */
|
|
23043
24489
|
type InvoiceItem = NonNullable<components["schemas"]["invoiceItem"]>;
|
|
24490
|
+
/** A Payment entity as returned by the Spacebring API. */
|
|
24491
|
+
type Payment = NonNullable<components["schemas"]["invoicePayment"]>;
|
|
24492
|
+
/** A UpcomingItem entity as returned by the Spacebring API. */
|
|
24493
|
+
type UpcomingItem = NonNullable<components["schemas"]["invoiceItem"]>;
|
|
23044
24494
|
/** Query parameters for `sb.billing.creditNotes.list()`. */
|
|
23045
24495
|
interface GetCreditNotesQuery {
|
|
23046
24496
|
/** Filter credit notes created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
|
|
@@ -23247,7 +24697,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23247
24697
|
}>;
|
|
23248
24698
|
iterate(query?: Omit<GetBenefitsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Benefit, void, undefined>;
|
|
23249
24699
|
get(benefitId: string, options?: SpacebringRequestOptions): Promise<Benefit>;
|
|
23250
|
-
create(benefit: CreateBenefitBody, options?: SpacebringRequestOptions): Promise<
|
|
24700
|
+
create(benefit: CreateBenefitBody, options?: SpacebringRequestOptions): Promise<Benefit>;
|
|
23251
24701
|
update(benefitId: string, benefit: UpdateBenefitBody, options?: SpacebringRequestOptions): Promise<Benefit>;
|
|
23252
24702
|
delete(benefitId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23253
24703
|
applications: {
|
|
@@ -23294,10 +24744,23 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23294
24744
|
delete(invoiceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23295
24745
|
cancelPayment(invoiceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23296
24746
|
duplicate(invoiceId: string, options?: SpacebringRequestOptions): Promise<Invoice>;
|
|
23297
|
-
getItems(invoiceId: string, options?: SpacebringRequestOptions): Promise<
|
|
23298
|
-
|
|
23299
|
-
|
|
23300
|
-
|
|
24747
|
+
getItems(invoiceId: string, options?: SpacebringRequestOptions): Promise<{
|
|
24748
|
+
invoice?: Invoice;
|
|
24749
|
+
invoiceItems?: InvoiceItem[];
|
|
24750
|
+
}>;
|
|
24751
|
+
getUpcoming(query?: GetUpcomingInvoiceQuery, options?: SpacebringRequestOptions): Promise<{
|
|
24752
|
+
invoice?: Invoice;
|
|
24753
|
+
invoiceItems?: InvoiceItem[];
|
|
24754
|
+
upcomingItems?: UpcomingItem[];
|
|
24755
|
+
}>;
|
|
24756
|
+
issue(invoiceId: string, skipAutoCharge?: IssueInvoiceBody, options?: SpacebringRequestOptions): Promise<{
|
|
24757
|
+
invoice?: Invoice;
|
|
24758
|
+
invoiceItems?: InvoiceItem[];
|
|
24759
|
+
}>;
|
|
24760
|
+
pay(invoiceId: string, body: PayInvoiceBody, options?: SpacebringRequestOptions): Promise<{
|
|
24761
|
+
invoice?: Invoice;
|
|
24762
|
+
payment?: Payment;
|
|
24763
|
+
}>;
|
|
23301
24764
|
resend(invoiceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23302
24765
|
void(invoiceId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23303
24766
|
items: {
|
|
@@ -23353,11 +24816,34 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23353
24816
|
iterate(query?: Omit<GetContractsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Contract, void, undefined>;
|
|
23354
24817
|
get(contractId: string, options?: SpacebringRequestOptions): Promise<Contract>;
|
|
23355
24818
|
create(contract: CreateContractBody, options?: SpacebringRequestOptions): Promise<Contract>;
|
|
24819
|
+
update(contractId: string, contract: UpdateContractBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23356
24820
|
delete(contractId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24821
|
+
declineContract(contractId: string, signerId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23357
24822
|
issue(contractId: string, signatureMethod: IssueContractBody, options?: SpacebringRequestOptions): Promise<Contract>;
|
|
24823
|
+
resend(contractId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24824
|
+
signContract(contractId: string, signerId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23358
24825
|
terminate(contractId: string, reason: TerminateContractBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24826
|
+
templates: {
|
|
24827
|
+
list(query: GetTemplatesQuery, options?: SpacebringRequestOptions): Promise<{
|
|
24828
|
+
nextPageToken?: string;
|
|
24829
|
+
searchQueryNext?: string;
|
|
24830
|
+
templates: Template[];
|
|
24831
|
+
}>;
|
|
24832
|
+
iterate(query: Omit<GetTemplatesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Template, void, undefined>;
|
|
24833
|
+
get(templateId: string, options?: SpacebringRequestOptions): Promise<Template>;
|
|
24834
|
+
create(template: CreateTemplateBody, options?: SpacebringRequestOptions): Promise<Template>;
|
|
24835
|
+
update(templateId: string, template: UpdateTemplateBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24836
|
+
delete(templateId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24837
|
+
duplicate(templateId: string, options?: SpacebringRequestOptions): Promise<Template>;
|
|
24838
|
+
};
|
|
23359
24839
|
};
|
|
23360
24840
|
discounts: {
|
|
24841
|
+
iterateRedemptions(query?: Omit<GetDiscountRedemptionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Redemption, void, undefined>;
|
|
24842
|
+
listRedemptions(query?: GetDiscountRedemptionsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
24843
|
+
redemptions?: Redemption[];
|
|
24844
|
+
nextPageToken?: string;
|
|
24845
|
+
searchQueryNext?: string;
|
|
24846
|
+
}>;
|
|
23361
24847
|
coupons: {
|
|
23362
24848
|
list(query: GetCouponsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
23363
24849
|
coupons?: Coupon[];
|
|
@@ -23376,20 +24862,14 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23376
24862
|
create(promocode: CreatePromocodeBody, options?: SpacebringRequestOptions): Promise<Promocode>;
|
|
23377
24863
|
archive(id: string, options?: SpacebringRequestOptions): Promise<Promocode>;
|
|
23378
24864
|
};
|
|
23379
|
-
redemptions: {
|
|
23380
|
-
list(query?: GetDiscountRedemptionsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
23381
|
-
redemptions?: Redemption[];
|
|
23382
|
-
nextPageToken?: string;
|
|
23383
|
-
searchQueryNext?: string;
|
|
23384
|
-
}>;
|
|
23385
|
-
iterate(query?: Omit<GetDiscountRedemptionsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Redemption, void, undefined>;
|
|
23386
|
-
};
|
|
23387
24865
|
};
|
|
23388
24866
|
events: {
|
|
23389
24867
|
list(query: GetEventsByOrganizationQuery, options?: SpacebringRequestOptions): Promise<operations["getEventsByOrganization"]["responses"][200]["content"]["application/json"]>;
|
|
23390
24868
|
get(id: string, options?: SpacebringRequestOptions): Promise<Event>;
|
|
23391
24869
|
create(event: CreateEventBody, options?: SpacebringRequestOptions): Promise<Event>;
|
|
24870
|
+
update(id: string, event: UpdateEventBody, options?: SpacebringRequestOptions): Promise<Event>;
|
|
23392
24871
|
delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24872
|
+
addEventHosts(id: string, tickets: AddEventHostsBody, options?: SpacebringRequestOptions): Promise<EventTicket[]>;
|
|
23393
24873
|
cancel(id: string, options?: SpacebringRequestOptions): Promise<Event>;
|
|
23394
24874
|
copy(id: string, options?: SpacebringRequestOptions): Promise<Event>;
|
|
23395
24875
|
tickets: {
|
|
@@ -23400,13 +24880,16 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23400
24880
|
}>;
|
|
23401
24881
|
iterate(query: Omit<GetEventTicketsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<EventTicket, void, undefined>;
|
|
23402
24882
|
get(id: string, options?: SpacebringRequestOptions): Promise<EventTicket>;
|
|
24883
|
+
update(id: string, ticket: UpdateEventTicketBody, options?: SpacebringRequestOptions): Promise<EventTicket>;
|
|
24884
|
+
delete(id: string, options?: SpacebringRequestOptions): Promise<EventTicket>;
|
|
24885
|
+
checkIn(id: string, options?: SpacebringRequestOptions): Promise<EventTicket>;
|
|
23403
24886
|
};
|
|
23404
24887
|
};
|
|
23405
24888
|
feed: {
|
|
23406
24889
|
comments: {
|
|
23407
|
-
create(comment: CreateFeedPostCommentBody, options?: SpacebringRequestOptions): Promise<
|
|
24890
|
+
create(comment: CreateFeedPostCommentBody, options?: SpacebringRequestOptions): Promise<Comment>;
|
|
23408
24891
|
delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23409
|
-
createLike(id: string, options?: SpacebringRequestOptions): Promise<
|
|
24892
|
+
createLike(id: string, options?: SpacebringRequestOptions): Promise<Like>;
|
|
23410
24893
|
deleteLike(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23411
24894
|
};
|
|
23412
24895
|
posts: {
|
|
@@ -23420,10 +24903,10 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23420
24903
|
create(post: CreateFeedPostBody, options?: SpacebringRequestOptions): Promise<Post>;
|
|
23421
24904
|
update(id: string, post: UpdateFeedPostBody, options?: SpacebringRequestOptions): Promise<Post>;
|
|
23422
24905
|
delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23423
|
-
createLike(id: string, options?: SpacebringRequestOptions): Promise<
|
|
24906
|
+
createLike(id: string, options?: SpacebringRequestOptions): Promise<Like>;
|
|
23424
24907
|
deleteLike(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23425
|
-
getComments(id: string, options?: SpacebringRequestOptions): Promise<
|
|
23426
|
-
getLikes(id: string, options?: SpacebringRequestOptions): Promise<
|
|
24908
|
+
getComments(id: string, options?: SpacebringRequestOptions): Promise<Comment[]>;
|
|
24909
|
+
getLikes(id: string, options?: SpacebringRequestOptions): Promise<Like[]>;
|
|
23427
24910
|
};
|
|
23428
24911
|
};
|
|
23429
24912
|
floors: {
|
|
@@ -23449,6 +24932,17 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23449
24932
|
networks: {
|
|
23450
24933
|
list(options?: SpacebringRequestOptions): Promise<Network[]>;
|
|
23451
24934
|
};
|
|
24935
|
+
packages: {
|
|
24936
|
+
list(query: GetPackagesQuery, options?: SpacebringRequestOptions): Promise<{
|
|
24937
|
+
nextPageToken?: string;
|
|
24938
|
+
packages: Package[];
|
|
24939
|
+
searchQueryNext?: string;
|
|
24940
|
+
}>;
|
|
24941
|
+
iterate(query: Omit<GetPackagesQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Package, void, undefined>;
|
|
24942
|
+
create(packageBody: CreatePackageBody, options?: SpacebringRequestOptions): Promise<Package>;
|
|
24943
|
+
update(packageId: string, packageBody: PatchPackageBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24944
|
+
delete(packageId: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
24945
|
+
};
|
|
23452
24946
|
plans: {
|
|
23453
24947
|
list(query?: GetPlansQuery, options?: SpacebringRequestOptions): Promise<{
|
|
23454
24948
|
nextPageToken?: string;
|
|
@@ -23544,10 +25038,22 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23544
25038
|
tickets?: SupportTicket[];
|
|
23545
25039
|
}>;
|
|
23546
25040
|
iterate(query: Omit<GetSupportTicketsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<SupportTicket, void, undefined>;
|
|
23547
|
-
get(id: string, options?: SpacebringRequestOptions): Promise<
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
|
|
25041
|
+
get(id: string, options?: SpacebringRequestOptions): Promise<{
|
|
25042
|
+
activities?: Activity[];
|
|
25043
|
+
ticket?: SupportTicket;
|
|
25044
|
+
}>;
|
|
25045
|
+
create(ticket: CreateSupportTicketBody, options?: SpacebringRequestOptions): Promise<{
|
|
25046
|
+
activities?: Activity[];
|
|
25047
|
+
ticket?: SupportTicket;
|
|
25048
|
+
}>;
|
|
25049
|
+
updateAssignee(id: string, ticket: UpdateSupportTicketAssigneeBody, options?: SpacebringRequestOptions): Promise<{
|
|
25050
|
+
activity?: Activity;
|
|
25051
|
+
ticket?: SupportTicket;
|
|
25052
|
+
}>;
|
|
25053
|
+
updateStatus(id: string, ticket: UpdateSupportTicketStatusBody, options?: SpacebringRequestOptions): Promise<{
|
|
25054
|
+
activity?: Activity;
|
|
25055
|
+
ticket?: SupportTicket;
|
|
25056
|
+
}>;
|
|
23551
25057
|
updateType(id: string, ticket: UpdateSupportTicketTypeBody, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23552
25058
|
comment: {
|
|
23553
25059
|
create(activity: CreateSupportTicketCommentBody, options?: SpacebringRequestOptions): Promise<Activity>;
|
|
@@ -23605,22 +25111,22 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
|
|
|
23605
25111
|
iterate(query: Omit<GetRequestsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Request$1, void, undefined>;
|
|
23606
25112
|
get(id: string, options?: SpacebringRequestOptions): Promise<Request$1>;
|
|
23607
25113
|
create(request: CreateRequestBody, options?: SpacebringRequestOptions): Promise<Request$1>;
|
|
23608
|
-
approve(id: string, options?: SpacebringRequestOptions): Promise<
|
|
25114
|
+
approve(id: string, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
23609
25115
|
reject(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23610
25116
|
};
|
|
23611
25117
|
visits: {
|
|
23612
25118
|
list(query: GetVisitsQuery, options?: SpacebringRequestOptions): Promise<{
|
|
23613
25119
|
nextPageToken?: string;
|
|
23614
25120
|
searchQueryNext?: string;
|
|
23615
|
-
visits?:
|
|
25121
|
+
visits?: Visit[];
|
|
23616
25122
|
}>;
|
|
23617
|
-
iterate(query: Omit<GetVisitsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<
|
|
23618
|
-
get(id: string, options?: SpacebringRequestOptions): Promise<
|
|
23619
|
-
create(visit: CreateVisitBody, options?: SpacebringRequestOptions): Promise<
|
|
23620
|
-
update(id: string, visit: UpdateVisitBody, options?: SpacebringRequestOptions): Promise<
|
|
25123
|
+
iterate(query: Omit<GetVisitsQuery, "nextPageToken">, options?: SpacebringRequestOptions): AsyncGenerator<Visit, void, undefined>;
|
|
25124
|
+
get(id: string, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
25125
|
+
create(visit: CreateVisitBody, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
25126
|
+
update(id: string, visit: UpdateVisitBody, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
23621
25127
|
delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
|
|
23622
|
-
checkIn(body: CheckInVisitBody, options?: SpacebringRequestOptions): Promise<
|
|
23623
|
-
checkOut(body: CheckOutVisitBody, options?: SpacebringRequestOptions): Promise<
|
|
25128
|
+
checkIn(body: CheckInVisitBody, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
25129
|
+
checkOut(body: CheckOutVisitBody, options?: SpacebringRequestOptions): Promise<Visit>;
|
|
23624
25130
|
};
|
|
23625
25131
|
};
|
|
23626
25132
|
};
|
|
@@ -23683,4 +25189,4 @@ declare class SpacebringError extends Error {
|
|
|
23683
25189
|
});
|
|
23684
25190
|
}
|
|
23685
25191
|
|
|
23686
|
-
export { type Activity, type AltCurrency, type Application, type ApplyBenefitBody, type Balance, type Benefit, type BenefitCategory, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type
|
|
25192
|
+
export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Balance, type Benefit, type BenefitCategory, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type Comment, type Company, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBookingBody, type CreateCompanyBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateGuideBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateTemplateBody, type CreateVisitBody, type CreditNote, type CreditTransaction, type DayPassTransaction, type Event, type EventTicket, type GetAltCurrenciesQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCompaniesQuery, type GetContactsQuery, type GetContractsQuery, type GetCouponsQuery, type GetCreditNotesQuery, type GetCreditsTransactionsQuery, type GetDayPassesTransactionsQuery, type GetDiscountRedemptionsQuery, type GetEventTicketsQuery, type GetEventsByOrganizationQuery, type GetFeedPostsQuery, type GetFloorsQuery, type GetGuidesQuery, type GetInvoicesQuery, type GetMembershipsDeletedQuery, type GetMembershipsQuery, type GetMoneyTransactionsQuery, type GetOrdersQuery, type GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourcesQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchGuideBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type Promocode, type Redemption, type Registration, type Request$1 as Request, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TerminateContractBody, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };
|