@izak0s/spacebring-api 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +89 -6
- package/dist/index.d.ts +89 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7487,6 +7487,10 @@ interface components {
|
|
|
7487
7487
|
* @description ID of the location this floor belongs to.
|
|
7488
7488
|
*/
|
|
7489
7489
|
locationRef: string;
|
|
7490
|
+
/** @description Resource IDs each mappable plan node is bookable as, keyed by the node's `nodeId`. */
|
|
7491
|
+
mappings: {
|
|
7492
|
+
[key: string]: string[];
|
|
7493
|
+
};
|
|
7490
7494
|
/** @description Parsed floor plan data. */
|
|
7491
7495
|
plan: {
|
|
7492
7496
|
[key: string]: unknown;
|
|
@@ -12022,7 +12026,10 @@ interface components {
|
|
|
12022
12026
|
* @description ID of the location.
|
|
12023
12027
|
*/
|
|
12024
12028
|
locationRef: string;
|
|
12025
|
-
/**
|
|
12029
|
+
/**
|
|
12030
|
+
* @deprecated
|
|
12031
|
+
* @description Assignee membership details. Deprecated, use userAssignee instead.
|
|
12032
|
+
*/
|
|
12026
12033
|
membershipAssignee?: {
|
|
12027
12034
|
/**
|
|
12028
12035
|
* Format: uuid
|
|
@@ -12056,7 +12063,8 @@ interface components {
|
|
|
12056
12063
|
};
|
|
12057
12064
|
/**
|
|
12058
12065
|
* Format: uuid
|
|
12059
|
-
* @
|
|
12066
|
+
* @deprecated
|
|
12067
|
+
* @description ID of the assignee membership. Deprecated, use userRefAssignee instead.
|
|
12060
12068
|
*/
|
|
12061
12069
|
membershipRefAssignee?: string;
|
|
12062
12070
|
/**
|
|
@@ -12138,6 +12146,11 @@ interface components {
|
|
|
12138
12146
|
/** @description Surname of the user. */
|
|
12139
12147
|
surname?: string | null;
|
|
12140
12148
|
} | null;
|
|
12149
|
+
/**
|
|
12150
|
+
* Format: uuid
|
|
12151
|
+
* @description ID of the assignee user.
|
|
12152
|
+
*/
|
|
12153
|
+
userRefAssignee?: string;
|
|
12141
12154
|
/** @description Requester user details. */
|
|
12142
12155
|
userRequester?: {
|
|
12143
12156
|
/** @description Whether the user is blocked. */
|
|
@@ -12184,7 +12197,10 @@ interface components {
|
|
|
12184
12197
|
/** @description Image width in pixels. */
|
|
12185
12198
|
width?: number;
|
|
12186
12199
|
}[];
|
|
12187
|
-
/**
|
|
12200
|
+
/**
|
|
12201
|
+
* @deprecated
|
|
12202
|
+
* @description Assignee after the update. Deprecated, use userAssignee instead.
|
|
12203
|
+
*/
|
|
12188
12204
|
membershipAssignee?: {
|
|
12189
12205
|
/**
|
|
12190
12206
|
* Format: uuid
|
|
@@ -12218,7 +12234,10 @@ interface components {
|
|
|
12218
12234
|
};
|
|
12219
12235
|
/** @description Previous attribute values before the update. */
|
|
12220
12236
|
previousAttributes?: {
|
|
12221
|
-
/**
|
|
12237
|
+
/**
|
|
12238
|
+
* @deprecated
|
|
12239
|
+
* @description Assignee before the update. Deprecated, use userAssignee instead.
|
|
12240
|
+
*/
|
|
12222
12241
|
membershipAssignee?: {
|
|
12223
12242
|
/**
|
|
12224
12243
|
* Format: uuid
|
|
@@ -12255,6 +12274,31 @@ interface components {
|
|
|
12255
12274
|
* @enum {string}
|
|
12256
12275
|
*/
|
|
12257
12276
|
status?: "closed" | "inProgress" | "new" | "solved";
|
|
12277
|
+
/** @description Assignee user before the update. */
|
|
12278
|
+
userAssignee?: {
|
|
12279
|
+
/** @description Whether the user is blocked. */
|
|
12280
|
+
blocked?: boolean;
|
|
12281
|
+
/** @description Email address when visible to the caller. */
|
|
12282
|
+
email?: string;
|
|
12283
|
+
/**
|
|
12284
|
+
* Format: uuid
|
|
12285
|
+
* @description Unique identifier of the user.
|
|
12286
|
+
*/
|
|
12287
|
+
id: string;
|
|
12288
|
+
/** @description First name of the user. */
|
|
12289
|
+
name?: string | null;
|
|
12290
|
+
/** @description Phone number when visible to the caller. */
|
|
12291
|
+
phoneNumber?: string;
|
|
12292
|
+
/** @description Profile photo URL. */
|
|
12293
|
+
photoUrl: string | null;
|
|
12294
|
+
/** @description Surname of the user. */
|
|
12295
|
+
surname?: string | null;
|
|
12296
|
+
};
|
|
12297
|
+
/**
|
|
12298
|
+
* Format: uuid
|
|
12299
|
+
* @description ID of the assignee user before the update.
|
|
12300
|
+
*/
|
|
12301
|
+
userRefAssignee?: string;
|
|
12258
12302
|
};
|
|
12259
12303
|
/**
|
|
12260
12304
|
* @description Status after the update.
|
|
@@ -12263,6 +12307,31 @@ interface components {
|
|
|
12263
12307
|
status?: "closed" | "inProgress" | "new" | "solved";
|
|
12264
12308
|
/** @description Comment text. */
|
|
12265
12309
|
text?: string;
|
|
12310
|
+
/** @description Assignee user after the update. */
|
|
12311
|
+
userAssignee?: {
|
|
12312
|
+
/** @description Whether the user is blocked. */
|
|
12313
|
+
blocked?: boolean;
|
|
12314
|
+
/** @description Email address when visible to the caller. */
|
|
12315
|
+
email?: string;
|
|
12316
|
+
/**
|
|
12317
|
+
* Format: uuid
|
|
12318
|
+
* @description Unique identifier of the user.
|
|
12319
|
+
*/
|
|
12320
|
+
id: string;
|
|
12321
|
+
/** @description First name of the user. */
|
|
12322
|
+
name?: string | null;
|
|
12323
|
+
/** @description Phone number when visible to the caller. */
|
|
12324
|
+
phoneNumber?: string;
|
|
12325
|
+
/** @description Profile photo URL. */
|
|
12326
|
+
photoUrl: string | null;
|
|
12327
|
+
/** @description Surname of the user. */
|
|
12328
|
+
surname?: string | null;
|
|
12329
|
+
};
|
|
12330
|
+
/**
|
|
12331
|
+
* Format: uuid
|
|
12332
|
+
* @description ID of the assignee user after the update.
|
|
12333
|
+
*/
|
|
12334
|
+
userRefAssignee?: string;
|
|
12266
12335
|
};
|
|
12267
12336
|
/**
|
|
12268
12337
|
* Format: uuid
|
|
@@ -17232,9 +17301,15 @@ interface components {
|
|
|
17232
17301
|
ticket: {
|
|
17233
17302
|
/**
|
|
17234
17303
|
* Format: uuid
|
|
17235
|
-
* @
|
|
17304
|
+
* @deprecated
|
|
17305
|
+
* @description ID of the membership to assign the ticket to, or null to unassign. Deprecated, use userRefAssignee instead.
|
|
17306
|
+
*/
|
|
17307
|
+
membershipRefAssignee?: string | null;
|
|
17308
|
+
/**
|
|
17309
|
+
* Format: uuid
|
|
17310
|
+
* @description ID of the user to assign the ticket to, or null to unassign.
|
|
17236
17311
|
*/
|
|
17237
|
-
|
|
17312
|
+
userRefAssignee?: string | null;
|
|
17238
17313
|
};
|
|
17239
17314
|
};
|
|
17240
17315
|
};
|
|
@@ -23344,10 +23419,14 @@ interface operations {
|
|
|
23344
23419
|
locationRef: string;
|
|
23345
23420
|
/** @description The number of items to return */
|
|
23346
23421
|
limit?: number;
|
|
23422
|
+
/** @description Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
|
|
23423
|
+
membershipRefRequester?: string;
|
|
23347
23424
|
/** @description Token to retrieve the next page of results. */
|
|
23348
23425
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
23349
23426
|
/** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
23350
23427
|
order?: string;
|
|
23428
|
+
/** @description Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
|
|
23429
|
+
userRefAssignee?: string;
|
|
23351
23430
|
};
|
|
23352
23431
|
header?: {
|
|
23353
23432
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -24816,10 +24895,14 @@ interface GetSupportTicketsQuery {
|
|
|
24816
24895
|
locationRef: string;
|
|
24817
24896
|
/** The number of items to return */
|
|
24818
24897
|
limit?: number;
|
|
24898
|
+
/** Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
|
|
24899
|
+
membershipRefRequester?: string;
|
|
24819
24900
|
/** Token to retrieve the next page of results. */
|
|
24820
24901
|
nextPageToken?: string;
|
|
24821
24902
|
/** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
24822
24903
|
order?: string;
|
|
24904
|
+
/** Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
|
|
24905
|
+
userRefAssignee?: string;
|
|
24823
24906
|
}
|
|
24824
24907
|
/** Request body for `sb.support.tickets.create()`. */
|
|
24825
24908
|
type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7487,6 +7487,10 @@ interface components {
|
|
|
7487
7487
|
* @description ID of the location this floor belongs to.
|
|
7488
7488
|
*/
|
|
7489
7489
|
locationRef: string;
|
|
7490
|
+
/** @description Resource IDs each mappable plan node is bookable as, keyed by the node's `nodeId`. */
|
|
7491
|
+
mappings: {
|
|
7492
|
+
[key: string]: string[];
|
|
7493
|
+
};
|
|
7490
7494
|
/** @description Parsed floor plan data. */
|
|
7491
7495
|
plan: {
|
|
7492
7496
|
[key: string]: unknown;
|
|
@@ -12022,7 +12026,10 @@ interface components {
|
|
|
12022
12026
|
* @description ID of the location.
|
|
12023
12027
|
*/
|
|
12024
12028
|
locationRef: string;
|
|
12025
|
-
/**
|
|
12029
|
+
/**
|
|
12030
|
+
* @deprecated
|
|
12031
|
+
* @description Assignee membership details. Deprecated, use userAssignee instead.
|
|
12032
|
+
*/
|
|
12026
12033
|
membershipAssignee?: {
|
|
12027
12034
|
/**
|
|
12028
12035
|
* Format: uuid
|
|
@@ -12056,7 +12063,8 @@ interface components {
|
|
|
12056
12063
|
};
|
|
12057
12064
|
/**
|
|
12058
12065
|
* Format: uuid
|
|
12059
|
-
* @
|
|
12066
|
+
* @deprecated
|
|
12067
|
+
* @description ID of the assignee membership. Deprecated, use userRefAssignee instead.
|
|
12060
12068
|
*/
|
|
12061
12069
|
membershipRefAssignee?: string;
|
|
12062
12070
|
/**
|
|
@@ -12138,6 +12146,11 @@ interface components {
|
|
|
12138
12146
|
/** @description Surname of the user. */
|
|
12139
12147
|
surname?: string | null;
|
|
12140
12148
|
} | null;
|
|
12149
|
+
/**
|
|
12150
|
+
* Format: uuid
|
|
12151
|
+
* @description ID of the assignee user.
|
|
12152
|
+
*/
|
|
12153
|
+
userRefAssignee?: string;
|
|
12141
12154
|
/** @description Requester user details. */
|
|
12142
12155
|
userRequester?: {
|
|
12143
12156
|
/** @description Whether the user is blocked. */
|
|
@@ -12184,7 +12197,10 @@ interface components {
|
|
|
12184
12197
|
/** @description Image width in pixels. */
|
|
12185
12198
|
width?: number;
|
|
12186
12199
|
}[];
|
|
12187
|
-
/**
|
|
12200
|
+
/**
|
|
12201
|
+
* @deprecated
|
|
12202
|
+
* @description Assignee after the update. Deprecated, use userAssignee instead.
|
|
12203
|
+
*/
|
|
12188
12204
|
membershipAssignee?: {
|
|
12189
12205
|
/**
|
|
12190
12206
|
* Format: uuid
|
|
@@ -12218,7 +12234,10 @@ interface components {
|
|
|
12218
12234
|
};
|
|
12219
12235
|
/** @description Previous attribute values before the update. */
|
|
12220
12236
|
previousAttributes?: {
|
|
12221
|
-
/**
|
|
12237
|
+
/**
|
|
12238
|
+
* @deprecated
|
|
12239
|
+
* @description Assignee before the update. Deprecated, use userAssignee instead.
|
|
12240
|
+
*/
|
|
12222
12241
|
membershipAssignee?: {
|
|
12223
12242
|
/**
|
|
12224
12243
|
* Format: uuid
|
|
@@ -12255,6 +12274,31 @@ interface components {
|
|
|
12255
12274
|
* @enum {string}
|
|
12256
12275
|
*/
|
|
12257
12276
|
status?: "closed" | "inProgress" | "new" | "solved";
|
|
12277
|
+
/** @description Assignee user before the update. */
|
|
12278
|
+
userAssignee?: {
|
|
12279
|
+
/** @description Whether the user is blocked. */
|
|
12280
|
+
blocked?: boolean;
|
|
12281
|
+
/** @description Email address when visible to the caller. */
|
|
12282
|
+
email?: string;
|
|
12283
|
+
/**
|
|
12284
|
+
* Format: uuid
|
|
12285
|
+
* @description Unique identifier of the user.
|
|
12286
|
+
*/
|
|
12287
|
+
id: string;
|
|
12288
|
+
/** @description First name of the user. */
|
|
12289
|
+
name?: string | null;
|
|
12290
|
+
/** @description Phone number when visible to the caller. */
|
|
12291
|
+
phoneNumber?: string;
|
|
12292
|
+
/** @description Profile photo URL. */
|
|
12293
|
+
photoUrl: string | null;
|
|
12294
|
+
/** @description Surname of the user. */
|
|
12295
|
+
surname?: string | null;
|
|
12296
|
+
};
|
|
12297
|
+
/**
|
|
12298
|
+
* Format: uuid
|
|
12299
|
+
* @description ID of the assignee user before the update.
|
|
12300
|
+
*/
|
|
12301
|
+
userRefAssignee?: string;
|
|
12258
12302
|
};
|
|
12259
12303
|
/**
|
|
12260
12304
|
* @description Status after the update.
|
|
@@ -12263,6 +12307,31 @@ interface components {
|
|
|
12263
12307
|
status?: "closed" | "inProgress" | "new" | "solved";
|
|
12264
12308
|
/** @description Comment text. */
|
|
12265
12309
|
text?: string;
|
|
12310
|
+
/** @description Assignee user after the update. */
|
|
12311
|
+
userAssignee?: {
|
|
12312
|
+
/** @description Whether the user is blocked. */
|
|
12313
|
+
blocked?: boolean;
|
|
12314
|
+
/** @description Email address when visible to the caller. */
|
|
12315
|
+
email?: string;
|
|
12316
|
+
/**
|
|
12317
|
+
* Format: uuid
|
|
12318
|
+
* @description Unique identifier of the user.
|
|
12319
|
+
*/
|
|
12320
|
+
id: string;
|
|
12321
|
+
/** @description First name of the user. */
|
|
12322
|
+
name?: string | null;
|
|
12323
|
+
/** @description Phone number when visible to the caller. */
|
|
12324
|
+
phoneNumber?: string;
|
|
12325
|
+
/** @description Profile photo URL. */
|
|
12326
|
+
photoUrl: string | null;
|
|
12327
|
+
/** @description Surname of the user. */
|
|
12328
|
+
surname?: string | null;
|
|
12329
|
+
};
|
|
12330
|
+
/**
|
|
12331
|
+
* Format: uuid
|
|
12332
|
+
* @description ID of the assignee user after the update.
|
|
12333
|
+
*/
|
|
12334
|
+
userRefAssignee?: string;
|
|
12266
12335
|
};
|
|
12267
12336
|
/**
|
|
12268
12337
|
* Format: uuid
|
|
@@ -17232,9 +17301,15 @@ interface components {
|
|
|
17232
17301
|
ticket: {
|
|
17233
17302
|
/**
|
|
17234
17303
|
* Format: uuid
|
|
17235
|
-
* @
|
|
17304
|
+
* @deprecated
|
|
17305
|
+
* @description ID of the membership to assign the ticket to, or null to unassign. Deprecated, use userRefAssignee instead.
|
|
17306
|
+
*/
|
|
17307
|
+
membershipRefAssignee?: string | null;
|
|
17308
|
+
/**
|
|
17309
|
+
* Format: uuid
|
|
17310
|
+
* @description ID of the user to assign the ticket to, or null to unassign.
|
|
17236
17311
|
*/
|
|
17237
|
-
|
|
17312
|
+
userRefAssignee?: string | null;
|
|
17238
17313
|
};
|
|
17239
17314
|
};
|
|
17240
17315
|
};
|
|
@@ -23344,10 +23419,14 @@ interface operations {
|
|
|
23344
23419
|
locationRef: string;
|
|
23345
23420
|
/** @description The number of items to return */
|
|
23346
23421
|
limit?: number;
|
|
23422
|
+
/** @description Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
|
|
23423
|
+
membershipRefRequester?: string;
|
|
23347
23424
|
/** @description Token to retrieve the next page of results. */
|
|
23348
23425
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
23349
23426
|
/** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
23350
23427
|
order?: string;
|
|
23428
|
+
/** @description Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
|
|
23429
|
+
userRefAssignee?: string;
|
|
23351
23430
|
};
|
|
23352
23431
|
header?: {
|
|
23353
23432
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -24816,10 +24895,14 @@ interface GetSupportTicketsQuery {
|
|
|
24816
24895
|
locationRef: string;
|
|
24817
24896
|
/** The number of items to return */
|
|
24818
24897
|
limit?: number;
|
|
24898
|
+
/** Filter tickets by requester membership ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The memberships must exist in the location. Admins can filter by any requester; other users only by their own membership. */
|
|
24899
|
+
membershipRefRequester?: string;
|
|
24819
24900
|
/** Token to retrieve the next page of results. */
|
|
24820
24901
|
nextPageToken?: string;
|
|
24821
24902
|
/** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
24822
24903
|
order?: string;
|
|
24904
|
+
/** Filter tickets by assignee user ids. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. Only admins can filter by assignee. */
|
|
24905
|
+
userRefAssignee?: string;
|
|
24823
24906
|
}
|
|
24824
24907
|
/** Request body for `sb.support.tickets.create()`. */
|
|
24825
24908
|
type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
|