@vrplatform/api 1.3.1-stage.4698 → 1.3.1-stage.4706
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/build/main/generated/v1.d.ts +242 -12
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +242 -12
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +242 -12
package/package.json
CHANGED
package/src/generated/v1.ts
CHANGED
|
@@ -1087,7 +1087,7 @@ export interface paths {
|
|
|
1087
1087
|
};
|
|
1088
1088
|
get?: never;
|
|
1089
1089
|
put?: never;
|
|
1090
|
-
/** @description Exchange a single-use embedded bootstrap code for a short-lived session. */
|
|
1090
|
+
/** @description Exchange a single-use embedded bootstrap code for a short-lived session. Successful responses use Cache-Control: no-store. */
|
|
1091
1091
|
post: operations["exchangeEmbedSession"];
|
|
1092
1092
|
delete?: never;
|
|
1093
1093
|
options?: never;
|
|
@@ -2638,7 +2638,7 @@ export interface paths {
|
|
|
2638
2638
|
get?: never;
|
|
2639
2639
|
put?: never;
|
|
2640
2640
|
/**
|
|
2641
|
-
* @description Create a one-time embedded-session bootstrap URL for a partner user.
|
|
2641
|
+
* @description Create a one-time embedded-session bootstrap URL for a partner user. Successful responses use Cache-Control: no-store.
|
|
2642
2642
|
*
|
|
2643
2643
|
* Required scope: embedded-sessions:issue
|
|
2644
2644
|
*/
|
|
@@ -2649,6 +2649,27 @@ export interface paths {
|
|
|
2649
2649
|
patch?: never;
|
|
2650
2650
|
trace?: never;
|
|
2651
2651
|
};
|
|
2652
|
+
"/partner/embed-sessions/{id}": {
|
|
2653
|
+
parameters: {
|
|
2654
|
+
query?: never;
|
|
2655
|
+
header?: never;
|
|
2656
|
+
path?: never;
|
|
2657
|
+
cookie?: never;
|
|
2658
|
+
};
|
|
2659
|
+
get?: never;
|
|
2660
|
+
put?: never;
|
|
2661
|
+
post?: never;
|
|
2662
|
+
/**
|
|
2663
|
+
* @description Revoke a pending bootstrap or active embedded session immediately.
|
|
2664
|
+
*
|
|
2665
|
+
* Required scope: embedded-sessions:issue
|
|
2666
|
+
*/
|
|
2667
|
+
delete: operations["revokeEmbedSession"];
|
|
2668
|
+
options?: never;
|
|
2669
|
+
head?: never;
|
|
2670
|
+
patch?: never;
|
|
2671
|
+
trace?: never;
|
|
2672
|
+
};
|
|
2652
2673
|
"/partner/members": {
|
|
2653
2674
|
parameters: {
|
|
2654
2675
|
query?: never;
|
|
@@ -21336,6 +21357,7 @@ export interface operations {
|
|
|
21336
21357
|
requestBody?: {
|
|
21337
21358
|
content: {
|
|
21338
21359
|
"application/json": {
|
|
21360
|
+
/** @description One-time code from the embed URL fragment. */
|
|
21339
21361
|
code: string;
|
|
21340
21362
|
};
|
|
21341
21363
|
};
|
|
@@ -21344,16 +21366,35 @@ export interface operations {
|
|
|
21344
21366
|
/** @description Successful response */
|
|
21345
21367
|
200: {
|
|
21346
21368
|
headers: {
|
|
21369
|
+
/** @description Prevents storage of the embedded bearer token. */
|
|
21370
|
+
"Cache-Control"?: "no-store";
|
|
21347
21371
|
[name: string]: unknown;
|
|
21348
21372
|
};
|
|
21349
21373
|
content: {
|
|
21350
21374
|
"application/json": {
|
|
21375
|
+
/** @description Short-lived embedded bearer token. */
|
|
21351
21376
|
accessToken: string;
|
|
21377
|
+
/** @description Embedded capability bundles granted to the session. */
|
|
21352
21378
|
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1")[];
|
|
21379
|
+
/**
|
|
21380
|
+
* Format: date-time
|
|
21381
|
+
* @description Bearer-token expiration timestamp.
|
|
21382
|
+
*/
|
|
21353
21383
|
expiresAt: string;
|
|
21354
|
-
/**
|
|
21384
|
+
/**
|
|
21385
|
+
* Format: uuid
|
|
21386
|
+
* @description Session ID created by the partner backend.
|
|
21387
|
+
*/
|
|
21388
|
+
sessionId: string;
|
|
21389
|
+
/**
|
|
21390
|
+
* Format: uuid
|
|
21391
|
+
* @description Team bound to the embedded session.
|
|
21392
|
+
*/
|
|
21355
21393
|
teamId: string;
|
|
21356
|
-
/**
|
|
21394
|
+
/**
|
|
21395
|
+
* Format: uuid
|
|
21396
|
+
* @description VRPlatform user bound to the session.
|
|
21397
|
+
*/
|
|
21357
21398
|
userId: string;
|
|
21358
21399
|
};
|
|
21359
21400
|
};
|
|
@@ -42449,10 +42490,7 @@ export interface operations {
|
|
|
42449
42490
|
};
|
|
42450
42491
|
createEmbedSession: {
|
|
42451
42492
|
parameters: {
|
|
42452
|
-
query?:
|
|
42453
|
-
/** @description Create the embedded user and team membership on first use instead of failing when they do not exist. */
|
|
42454
|
-
autoProvision?: boolean;
|
|
42455
|
-
};
|
|
42493
|
+
query?: never;
|
|
42456
42494
|
header?: never;
|
|
42457
42495
|
path?: never;
|
|
42458
42496
|
cookie?: never;
|
|
@@ -42460,7 +42498,14 @@ export interface operations {
|
|
|
42460
42498
|
requestBody?: {
|
|
42461
42499
|
content: {
|
|
42462
42500
|
"application/json": {
|
|
42501
|
+
/**
|
|
42502
|
+
* @description Create the embedded user and team membership on first use instead of failing when they do not exist.
|
|
42503
|
+
* @default false
|
|
42504
|
+
*/
|
|
42505
|
+
autoProvision?: boolean;
|
|
42506
|
+
/** @description Embedded capability bundles granted to the session. */
|
|
42463
42507
|
bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1")[];
|
|
42508
|
+
/** @description Stable external user identifier in the partner system. */
|
|
42464
42509
|
sub: string;
|
|
42465
42510
|
/**
|
|
42466
42511
|
* Format: uuid
|
|
@@ -42476,16 +42521,41 @@ export interface operations {
|
|
|
42476
42521
|
/** @description Successful response */
|
|
42477
42522
|
200: {
|
|
42478
42523
|
headers: {
|
|
42524
|
+
/** @description Prevents storage of the bootstrap URL and one-time code. */
|
|
42525
|
+
"Cache-Control"?: "no-store";
|
|
42479
42526
|
[name: string]: unknown;
|
|
42480
42527
|
};
|
|
42481
42528
|
content: {
|
|
42482
42529
|
"application/json": {
|
|
42483
|
-
/**
|
|
42530
|
+
/**
|
|
42531
|
+
* Format: date-time
|
|
42532
|
+
* @description Deadline for exchanging the one-time bootstrap code.
|
|
42533
|
+
*/
|
|
42534
|
+
bootstrapExpiresAt: string;
|
|
42535
|
+
/**
|
|
42536
|
+
* Format: uri
|
|
42537
|
+
* @description Ready-to-mount embedded application URL.
|
|
42538
|
+
*/
|
|
42484
42539
|
embedUrl: string;
|
|
42485
|
-
|
|
42486
|
-
|
|
42540
|
+
/**
|
|
42541
|
+
* Format: uuid
|
|
42542
|
+
* @description Session ID used for explicit revocation.
|
|
42543
|
+
*/
|
|
42544
|
+
id: string;
|
|
42545
|
+
/**
|
|
42546
|
+
* @description Bearer-session lifetime, starting when the code is exchanged.
|
|
42547
|
+
* @constant
|
|
42548
|
+
*/
|
|
42549
|
+
sessionTtlSeconds: 900;
|
|
42550
|
+
/**
|
|
42551
|
+
* Format: uuid
|
|
42552
|
+
* @description Team bound to the embedded session.
|
|
42553
|
+
*/
|
|
42487
42554
|
teamId: string;
|
|
42488
|
-
/**
|
|
42555
|
+
/**
|
|
42556
|
+
* Format: uuid
|
|
42557
|
+
* @description VRPlatform user bound to the session.
|
|
42558
|
+
*/
|
|
42489
42559
|
userId: string;
|
|
42490
42560
|
};
|
|
42491
42561
|
};
|
|
@@ -42624,6 +42694,166 @@ export interface operations {
|
|
|
42624
42694
|
};
|
|
42625
42695
|
};
|
|
42626
42696
|
};
|
|
42697
|
+
revokeEmbedSession: {
|
|
42698
|
+
parameters: {
|
|
42699
|
+
query?: never;
|
|
42700
|
+
header?: never;
|
|
42701
|
+
path: {
|
|
42702
|
+
/** @description Session ID returned when the embed URL was issued. */
|
|
42703
|
+
id: string;
|
|
42704
|
+
};
|
|
42705
|
+
cookie?: never;
|
|
42706
|
+
};
|
|
42707
|
+
requestBody?: never;
|
|
42708
|
+
responses: {
|
|
42709
|
+
/** @description Successful response */
|
|
42710
|
+
200: {
|
|
42711
|
+
headers: {
|
|
42712
|
+
[name: string]: unknown;
|
|
42713
|
+
};
|
|
42714
|
+
content: {
|
|
42715
|
+
"application/json": {
|
|
42716
|
+
/** Format: uuid */
|
|
42717
|
+
id: string;
|
|
42718
|
+
/** @constant */
|
|
42719
|
+
status: "deleted";
|
|
42720
|
+
};
|
|
42721
|
+
};
|
|
42722
|
+
};
|
|
42723
|
+
/** @description Bad request */
|
|
42724
|
+
400: {
|
|
42725
|
+
headers: {
|
|
42726
|
+
[name: string]: unknown;
|
|
42727
|
+
};
|
|
42728
|
+
content: {
|
|
42729
|
+
"application/json": {
|
|
42730
|
+
code: string;
|
|
42731
|
+
message: string;
|
|
42732
|
+
links?: {
|
|
42733
|
+
docs: string;
|
|
42734
|
+
schema: string;
|
|
42735
|
+
};
|
|
42736
|
+
issues?: {
|
|
42737
|
+
message: string;
|
|
42738
|
+
path?: (string | number)[];
|
|
42739
|
+
schema?: string;
|
|
42740
|
+
}[];
|
|
42741
|
+
context?: unknown;
|
|
42742
|
+
};
|
|
42743
|
+
};
|
|
42744
|
+
};
|
|
42745
|
+
/** @description Unauthorized */
|
|
42746
|
+
401: {
|
|
42747
|
+
headers: {
|
|
42748
|
+
[name: string]: unknown;
|
|
42749
|
+
};
|
|
42750
|
+
content: {
|
|
42751
|
+
"application/json": {
|
|
42752
|
+
code: string;
|
|
42753
|
+
message: string;
|
|
42754
|
+
links?: {
|
|
42755
|
+
docs: string;
|
|
42756
|
+
schema: string;
|
|
42757
|
+
};
|
|
42758
|
+
issues?: {
|
|
42759
|
+
message: string;
|
|
42760
|
+
path?: (string | number)[];
|
|
42761
|
+
schema?: string;
|
|
42762
|
+
}[];
|
|
42763
|
+
context?: unknown;
|
|
42764
|
+
};
|
|
42765
|
+
};
|
|
42766
|
+
};
|
|
42767
|
+
/** @description Forbidden */
|
|
42768
|
+
403: {
|
|
42769
|
+
headers: {
|
|
42770
|
+
[name: string]: unknown;
|
|
42771
|
+
};
|
|
42772
|
+
content: {
|
|
42773
|
+
"application/json": {
|
|
42774
|
+
code: string;
|
|
42775
|
+
message: string;
|
|
42776
|
+
links?: {
|
|
42777
|
+
docs: string;
|
|
42778
|
+
schema: string;
|
|
42779
|
+
};
|
|
42780
|
+
issues?: {
|
|
42781
|
+
message: string;
|
|
42782
|
+
path?: (string | number)[];
|
|
42783
|
+
schema?: string;
|
|
42784
|
+
}[];
|
|
42785
|
+
context?: unknown;
|
|
42786
|
+
};
|
|
42787
|
+
};
|
|
42788
|
+
};
|
|
42789
|
+
/** @description Not found */
|
|
42790
|
+
404: {
|
|
42791
|
+
headers: {
|
|
42792
|
+
[name: string]: unknown;
|
|
42793
|
+
};
|
|
42794
|
+
content: {
|
|
42795
|
+
"application/json": {
|
|
42796
|
+
code: string;
|
|
42797
|
+
message: string;
|
|
42798
|
+
links?: {
|
|
42799
|
+
docs: string;
|
|
42800
|
+
schema: string;
|
|
42801
|
+
};
|
|
42802
|
+
issues?: {
|
|
42803
|
+
message: string;
|
|
42804
|
+
path?: (string | number)[];
|
|
42805
|
+
schema?: string;
|
|
42806
|
+
}[];
|
|
42807
|
+
context?: unknown;
|
|
42808
|
+
};
|
|
42809
|
+
};
|
|
42810
|
+
};
|
|
42811
|
+
/** @description Internal server error */
|
|
42812
|
+
500: {
|
|
42813
|
+
headers: {
|
|
42814
|
+
[name: string]: unknown;
|
|
42815
|
+
};
|
|
42816
|
+
content: {
|
|
42817
|
+
"application/json": {
|
|
42818
|
+
code: string;
|
|
42819
|
+
message: string;
|
|
42820
|
+
links?: {
|
|
42821
|
+
docs: string;
|
|
42822
|
+
schema: string;
|
|
42823
|
+
};
|
|
42824
|
+
issues?: {
|
|
42825
|
+
message: string;
|
|
42826
|
+
path?: (string | number)[];
|
|
42827
|
+
schema?: string;
|
|
42828
|
+
}[];
|
|
42829
|
+
context?: unknown;
|
|
42830
|
+
};
|
|
42831
|
+
};
|
|
42832
|
+
};
|
|
42833
|
+
/** @description Service unavailable */
|
|
42834
|
+
503: {
|
|
42835
|
+
headers: {
|
|
42836
|
+
[name: string]: unknown;
|
|
42837
|
+
};
|
|
42838
|
+
content: {
|
|
42839
|
+
"application/json": {
|
|
42840
|
+
code: string;
|
|
42841
|
+
message: string;
|
|
42842
|
+
links?: {
|
|
42843
|
+
docs: string;
|
|
42844
|
+
schema: string;
|
|
42845
|
+
};
|
|
42846
|
+
issues?: {
|
|
42847
|
+
message: string;
|
|
42848
|
+
path?: (string | number)[];
|
|
42849
|
+
schema?: string;
|
|
42850
|
+
}[];
|
|
42851
|
+
context?: unknown;
|
|
42852
|
+
};
|
|
42853
|
+
};
|
|
42854
|
+
};
|
|
42855
|
+
};
|
|
42856
|
+
};
|
|
42627
42857
|
getPartnerMembers: {
|
|
42628
42858
|
parameters: {
|
|
42629
42859
|
query?: never;
|