@izak0s/spacebring-api 3.4.0 → 3.6.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 +59 -0
- package/dist/index.d.ts +59 -0
- 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;
|
|
@@ -7502,6 +7506,19 @@ interface components {
|
|
|
7502
7506
|
getGuides: {
|
|
7503
7507
|
/** @description List of guides. */
|
|
7504
7508
|
guides: {
|
|
7509
|
+
/** @description Files attached to the guide. */
|
|
7510
|
+
attachments: {
|
|
7511
|
+
/** @description Storage key of the file. */
|
|
7512
|
+
key: string;
|
|
7513
|
+
/** @description MIME type of the file. */
|
|
7514
|
+
mime: string;
|
|
7515
|
+
/** @description Display name of the file. */
|
|
7516
|
+
name: string;
|
|
7517
|
+
/** @description File size in bytes. */
|
|
7518
|
+
size?: number;
|
|
7519
|
+
/** @description Public URL of the file. */
|
|
7520
|
+
url: string;
|
|
7521
|
+
}[];
|
|
7505
7522
|
/**
|
|
7506
7523
|
* Format: date-time
|
|
7507
7524
|
* @description ISO timestamp of when the guide was created.
|
|
@@ -7548,6 +7565,19 @@ interface components {
|
|
|
7548
7565
|
searchQueryNext?: string;
|
|
7549
7566
|
};
|
|
7550
7567
|
guide: {
|
|
7568
|
+
/** @description Files attached to the guide. */
|
|
7569
|
+
attachments: {
|
|
7570
|
+
/** @description Storage key of the file. */
|
|
7571
|
+
key: string;
|
|
7572
|
+
/** @description MIME type of the file. */
|
|
7573
|
+
mime: string;
|
|
7574
|
+
/** @description Display name of the file. */
|
|
7575
|
+
name: string;
|
|
7576
|
+
/** @description File size in bytes. */
|
|
7577
|
+
size?: number;
|
|
7578
|
+
/** @description Public URL of the file. */
|
|
7579
|
+
url: string;
|
|
7580
|
+
}[];
|
|
7551
7581
|
/**
|
|
7552
7582
|
* Format: date-time
|
|
7553
7583
|
* @description ISO timestamp of when the guide was created.
|
|
@@ -7591,6 +7621,19 @@ interface components {
|
|
|
7591
7621
|
getGuide: {
|
|
7592
7622
|
/** @description The guide. */
|
|
7593
7623
|
guide: {
|
|
7624
|
+
/** @description Files attached to the guide. */
|
|
7625
|
+
attachments: {
|
|
7626
|
+
/** @description Storage key of the file. */
|
|
7627
|
+
key: string;
|
|
7628
|
+
/** @description MIME type of the file. */
|
|
7629
|
+
mime: string;
|
|
7630
|
+
/** @description Display name of the file. */
|
|
7631
|
+
name: string;
|
|
7632
|
+
/** @description File size in bytes. */
|
|
7633
|
+
size?: number;
|
|
7634
|
+
/** @description Public URL of the file. */
|
|
7635
|
+
url: string;
|
|
7636
|
+
}[];
|
|
7594
7637
|
/**
|
|
7595
7638
|
* Format: date-time
|
|
7596
7639
|
* @description ISO timestamp of when the guide was created.
|
|
@@ -15171,6 +15214,10 @@ interface components {
|
|
|
15171
15214
|
* @enum {string}
|
|
15172
15215
|
*/
|
|
15173
15216
|
visibility: "public" | "admins" | "members" | "networkMembers";
|
|
15217
|
+
/** @description Storage keys of uploaded files to attach to the guide. */
|
|
15218
|
+
attachments?: {
|
|
15219
|
+
key: string;
|
|
15220
|
+
}[];
|
|
15174
15221
|
};
|
|
15175
15222
|
};
|
|
15176
15223
|
};
|
|
@@ -15189,6 +15236,10 @@ interface components {
|
|
|
15189
15236
|
* @enum {string}
|
|
15190
15237
|
*/
|
|
15191
15238
|
visibility?: "public" | "admins" | "members" | "networkMembers";
|
|
15239
|
+
/** @description Storage keys of uploaded files to attach to the guide. */
|
|
15240
|
+
attachments?: {
|
|
15241
|
+
key: string;
|
|
15242
|
+
}[];
|
|
15192
15243
|
};
|
|
15193
15244
|
};
|
|
15194
15245
|
};
|
|
@@ -23415,10 +23466,14 @@ interface operations {
|
|
|
23415
23466
|
locationRef: string;
|
|
23416
23467
|
/** @description The number of items to return */
|
|
23417
23468
|
limit?: number;
|
|
23469
|
+
/** @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. */
|
|
23470
|
+
membershipRefRequester?: string;
|
|
23418
23471
|
/** @description Token to retrieve the next page of results. */
|
|
23419
23472
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
23420
23473
|
/** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
23421
23474
|
order?: string;
|
|
23475
|
+
/** @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. */
|
|
23476
|
+
userRefAssignee?: string;
|
|
23422
23477
|
};
|
|
23423
23478
|
header?: {
|
|
23424
23479
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -24887,10 +24942,14 @@ interface GetSupportTicketsQuery {
|
|
|
24887
24942
|
locationRef: string;
|
|
24888
24943
|
/** The number of items to return */
|
|
24889
24944
|
limit?: number;
|
|
24945
|
+
/** 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. */
|
|
24946
|
+
membershipRefRequester?: string;
|
|
24890
24947
|
/** Token to retrieve the next page of results. */
|
|
24891
24948
|
nextPageToken?: string;
|
|
24892
24949
|
/** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
24893
24950
|
order?: string;
|
|
24951
|
+
/** 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. */
|
|
24952
|
+
userRefAssignee?: string;
|
|
24894
24953
|
}
|
|
24895
24954
|
/** Request body for `sb.support.tickets.create()`. */
|
|
24896
24955
|
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;
|
|
@@ -7502,6 +7506,19 @@ interface components {
|
|
|
7502
7506
|
getGuides: {
|
|
7503
7507
|
/** @description List of guides. */
|
|
7504
7508
|
guides: {
|
|
7509
|
+
/** @description Files attached to the guide. */
|
|
7510
|
+
attachments: {
|
|
7511
|
+
/** @description Storage key of the file. */
|
|
7512
|
+
key: string;
|
|
7513
|
+
/** @description MIME type of the file. */
|
|
7514
|
+
mime: string;
|
|
7515
|
+
/** @description Display name of the file. */
|
|
7516
|
+
name: string;
|
|
7517
|
+
/** @description File size in bytes. */
|
|
7518
|
+
size?: number;
|
|
7519
|
+
/** @description Public URL of the file. */
|
|
7520
|
+
url: string;
|
|
7521
|
+
}[];
|
|
7505
7522
|
/**
|
|
7506
7523
|
* Format: date-time
|
|
7507
7524
|
* @description ISO timestamp of when the guide was created.
|
|
@@ -7548,6 +7565,19 @@ interface components {
|
|
|
7548
7565
|
searchQueryNext?: string;
|
|
7549
7566
|
};
|
|
7550
7567
|
guide: {
|
|
7568
|
+
/** @description Files attached to the guide. */
|
|
7569
|
+
attachments: {
|
|
7570
|
+
/** @description Storage key of the file. */
|
|
7571
|
+
key: string;
|
|
7572
|
+
/** @description MIME type of the file. */
|
|
7573
|
+
mime: string;
|
|
7574
|
+
/** @description Display name of the file. */
|
|
7575
|
+
name: string;
|
|
7576
|
+
/** @description File size in bytes. */
|
|
7577
|
+
size?: number;
|
|
7578
|
+
/** @description Public URL of the file. */
|
|
7579
|
+
url: string;
|
|
7580
|
+
}[];
|
|
7551
7581
|
/**
|
|
7552
7582
|
* Format: date-time
|
|
7553
7583
|
* @description ISO timestamp of when the guide was created.
|
|
@@ -7591,6 +7621,19 @@ interface components {
|
|
|
7591
7621
|
getGuide: {
|
|
7592
7622
|
/** @description The guide. */
|
|
7593
7623
|
guide: {
|
|
7624
|
+
/** @description Files attached to the guide. */
|
|
7625
|
+
attachments: {
|
|
7626
|
+
/** @description Storage key of the file. */
|
|
7627
|
+
key: string;
|
|
7628
|
+
/** @description MIME type of the file. */
|
|
7629
|
+
mime: string;
|
|
7630
|
+
/** @description Display name of the file. */
|
|
7631
|
+
name: string;
|
|
7632
|
+
/** @description File size in bytes. */
|
|
7633
|
+
size?: number;
|
|
7634
|
+
/** @description Public URL of the file. */
|
|
7635
|
+
url: string;
|
|
7636
|
+
}[];
|
|
7594
7637
|
/**
|
|
7595
7638
|
* Format: date-time
|
|
7596
7639
|
* @description ISO timestamp of when the guide was created.
|
|
@@ -15171,6 +15214,10 @@ interface components {
|
|
|
15171
15214
|
* @enum {string}
|
|
15172
15215
|
*/
|
|
15173
15216
|
visibility: "public" | "admins" | "members" | "networkMembers";
|
|
15217
|
+
/** @description Storage keys of uploaded files to attach to the guide. */
|
|
15218
|
+
attachments?: {
|
|
15219
|
+
key: string;
|
|
15220
|
+
}[];
|
|
15174
15221
|
};
|
|
15175
15222
|
};
|
|
15176
15223
|
};
|
|
@@ -15189,6 +15236,10 @@ interface components {
|
|
|
15189
15236
|
* @enum {string}
|
|
15190
15237
|
*/
|
|
15191
15238
|
visibility?: "public" | "admins" | "members" | "networkMembers";
|
|
15239
|
+
/** @description Storage keys of uploaded files to attach to the guide. */
|
|
15240
|
+
attachments?: {
|
|
15241
|
+
key: string;
|
|
15242
|
+
}[];
|
|
15192
15243
|
};
|
|
15193
15244
|
};
|
|
15194
15245
|
};
|
|
@@ -23415,10 +23466,14 @@ interface operations {
|
|
|
23415
23466
|
locationRef: string;
|
|
23416
23467
|
/** @description The number of items to return */
|
|
23417
23468
|
limit?: number;
|
|
23469
|
+
/** @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. */
|
|
23470
|
+
membershipRefRequester?: string;
|
|
23418
23471
|
/** @description Token to retrieve the next page of results. */
|
|
23419
23472
|
nextPageToken?: components["schemas"]["nextPageToken"];
|
|
23420
23473
|
/** @description The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
23421
23474
|
order?: string;
|
|
23475
|
+
/** @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. */
|
|
23476
|
+
userRefAssignee?: string;
|
|
23422
23477
|
};
|
|
23423
23478
|
header?: {
|
|
23424
23479
|
/** @description The id of the network. Required when using bearer token authentication */
|
|
@@ -24887,10 +24942,14 @@ interface GetSupportTicketsQuery {
|
|
|
24887
24942
|
locationRef: string;
|
|
24888
24943
|
/** The number of items to return */
|
|
24889
24944
|
limit?: number;
|
|
24945
|
+
/** 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. */
|
|
24946
|
+
membershipRefRequester?: string;
|
|
24890
24947
|
/** Token to retrieve the next page of results. */
|
|
24891
24948
|
nextPageToken?: string;
|
|
24892
24949
|
/** The order of the tickets. createDate:asc, createDate:desc, updateDate:asc or updateDate:desc. Default: createDate:desc */
|
|
24893
24950
|
order?: string;
|
|
24951
|
+
/** 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. */
|
|
24952
|
+
userRefAssignee?: string;
|
|
24894
24953
|
}
|
|
24895
24954
|
/** Request body for `sb.support.tickets.create()`. */
|
|
24896
24955
|
type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupportTicket"]["requestBody"]>["content"]["application/json"]["ticket"]>;
|