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