@ticketlayer/backstage 3.0.0 → 3.1.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 +12 -15
- package/dist/client.d.ts +41 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +34 -0
- package/dist/generated/types.d.ts +432 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
|
@@ -1,4 +1,84 @@
|
|
|
1
1
|
export interface paths {
|
|
2
|
+
"/auth/interactions/{uid}": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
get: operations["getSignInInteraction"];
|
|
10
|
+
put?: never;
|
|
11
|
+
post?: never;
|
|
12
|
+
delete?: never;
|
|
13
|
+
options?: never;
|
|
14
|
+
head?: never;
|
|
15
|
+
patch?: never;
|
|
16
|
+
trace?: never;
|
|
17
|
+
};
|
|
18
|
+
"/auth/interactions/{uid}/login": {
|
|
19
|
+
parameters: {
|
|
20
|
+
query?: never;
|
|
21
|
+
header?: never;
|
|
22
|
+
path?: never;
|
|
23
|
+
cookie?: never;
|
|
24
|
+
};
|
|
25
|
+
get?: never;
|
|
26
|
+
put?: never;
|
|
27
|
+
post: operations["submitSignInInteractionLogin"];
|
|
28
|
+
delete?: never;
|
|
29
|
+
options?: never;
|
|
30
|
+
head?: never;
|
|
31
|
+
patch?: never;
|
|
32
|
+
trace?: never;
|
|
33
|
+
};
|
|
34
|
+
"/auth/interactions/{uid}/organisation": {
|
|
35
|
+
parameters: {
|
|
36
|
+
query?: never;
|
|
37
|
+
header?: never;
|
|
38
|
+
path?: never;
|
|
39
|
+
cookie?: never;
|
|
40
|
+
};
|
|
41
|
+
get?: never;
|
|
42
|
+
put?: never;
|
|
43
|
+
post: operations["submitSignInInteractionOrganisation"];
|
|
44
|
+
delete?: never;
|
|
45
|
+
options?: never;
|
|
46
|
+
head?: never;
|
|
47
|
+
patch?: never;
|
|
48
|
+
trace?: never;
|
|
49
|
+
};
|
|
50
|
+
"/auth/interactions/{uid}/consent": {
|
|
51
|
+
parameters: {
|
|
52
|
+
query?: never;
|
|
53
|
+
header?: never;
|
|
54
|
+
path?: never;
|
|
55
|
+
cookie?: never;
|
|
56
|
+
};
|
|
57
|
+
get?: never;
|
|
58
|
+
put?: never;
|
|
59
|
+
post: operations["submitSignInInteractionConsent"];
|
|
60
|
+
delete?: never;
|
|
61
|
+
options?: never;
|
|
62
|
+
head?: never;
|
|
63
|
+
patch?: never;
|
|
64
|
+
trace?: never;
|
|
65
|
+
};
|
|
66
|
+
"/auth/interactions/{uid}/abort": {
|
|
67
|
+
parameters: {
|
|
68
|
+
query?: never;
|
|
69
|
+
header?: never;
|
|
70
|
+
path?: never;
|
|
71
|
+
cookie?: never;
|
|
72
|
+
};
|
|
73
|
+
get?: never;
|
|
74
|
+
put?: never;
|
|
75
|
+
post: operations["abortSignInInteraction"];
|
|
76
|
+
delete?: never;
|
|
77
|
+
options?: never;
|
|
78
|
+
head?: never;
|
|
79
|
+
patch?: never;
|
|
80
|
+
trace?: never;
|
|
81
|
+
};
|
|
2
82
|
"/.well-known/identity-provider": {
|
|
3
83
|
parameters: {
|
|
4
84
|
query?: never;
|
|
@@ -4332,6 +4412,42 @@ export interface components {
|
|
|
4332
4412
|
data?: unknown;
|
|
4333
4413
|
requestId?: string;
|
|
4334
4414
|
};
|
|
4415
|
+
SignInInteraction: {
|
|
4416
|
+
uid: string;
|
|
4417
|
+
prompt: {
|
|
4418
|
+
name: string;
|
|
4419
|
+
reasons: string[];
|
|
4420
|
+
details: {
|
|
4421
|
+
[key: string]: unknown;
|
|
4422
|
+
};
|
|
4423
|
+
};
|
|
4424
|
+
client: {
|
|
4425
|
+
id: string;
|
|
4426
|
+
name: string;
|
|
4427
|
+
logoUri: string | null;
|
|
4428
|
+
clientUri: string | null;
|
|
4429
|
+
firstParty: boolean;
|
|
4430
|
+
} | null;
|
|
4431
|
+
scopes: string[];
|
|
4432
|
+
signedIn: boolean;
|
|
4433
|
+
organisations?: {
|
|
4434
|
+
id: string;
|
|
4435
|
+
slug: string;
|
|
4436
|
+
name: string;
|
|
4437
|
+
}[];
|
|
4438
|
+
};
|
|
4439
|
+
SignInContinue: {
|
|
4440
|
+
status: "continue";
|
|
4441
|
+
redirectTo: string;
|
|
4442
|
+
};
|
|
4443
|
+
SignInInteractionLogin: {
|
|
4444
|
+
email: string;
|
|
4445
|
+
password: string;
|
|
4446
|
+
code?: string;
|
|
4447
|
+
};
|
|
4448
|
+
SignInInteractionOrganisation: {
|
|
4449
|
+
organisation: string;
|
|
4450
|
+
};
|
|
4335
4451
|
DiscoverIdentityProviderResponse: {
|
|
4336
4452
|
provider_id: string;
|
|
4337
4453
|
provider_type: string;
|
|
@@ -8178,6 +8294,322 @@ export interface components {
|
|
|
8178
8294
|
}
|
|
8179
8295
|
export type $defs = Record<string, never>;
|
|
8180
8296
|
export interface operations {
|
|
8297
|
+
getSignInInteraction: {
|
|
8298
|
+
parameters: {
|
|
8299
|
+
query?: never;
|
|
8300
|
+
header?: never;
|
|
8301
|
+
path: {
|
|
8302
|
+
uid: string;
|
|
8303
|
+
};
|
|
8304
|
+
cookie?: never;
|
|
8305
|
+
};
|
|
8306
|
+
requestBody?: never;
|
|
8307
|
+
responses: {
|
|
8308
|
+
200: {
|
|
8309
|
+
headers: {
|
|
8310
|
+
[name: string]: unknown;
|
|
8311
|
+
};
|
|
8312
|
+
content: {
|
|
8313
|
+
"application/json": components["schemas"]["SignInInteraction"];
|
|
8314
|
+
};
|
|
8315
|
+
};
|
|
8316
|
+
400: {
|
|
8317
|
+
headers: {
|
|
8318
|
+
[name: string]: unknown;
|
|
8319
|
+
};
|
|
8320
|
+
content: {
|
|
8321
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8322
|
+
};
|
|
8323
|
+
};
|
|
8324
|
+
401: {
|
|
8325
|
+
headers: {
|
|
8326
|
+
[name: string]: unknown;
|
|
8327
|
+
};
|
|
8328
|
+
content: {
|
|
8329
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8330
|
+
};
|
|
8331
|
+
};
|
|
8332
|
+
403: {
|
|
8333
|
+
headers: {
|
|
8334
|
+
[name: string]: unknown;
|
|
8335
|
+
};
|
|
8336
|
+
content: {
|
|
8337
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
8340
|
+
404: {
|
|
8341
|
+
headers: {
|
|
8342
|
+
[name: string]: unknown;
|
|
8343
|
+
};
|
|
8344
|
+
content: {
|
|
8345
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8346
|
+
};
|
|
8347
|
+
};
|
|
8348
|
+
500: {
|
|
8349
|
+
headers: {
|
|
8350
|
+
[name: string]: unknown;
|
|
8351
|
+
};
|
|
8352
|
+
content: {
|
|
8353
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8354
|
+
};
|
|
8355
|
+
};
|
|
8356
|
+
};
|
|
8357
|
+
};
|
|
8358
|
+
submitSignInInteractionLogin: {
|
|
8359
|
+
parameters: {
|
|
8360
|
+
query?: never;
|
|
8361
|
+
header?: never;
|
|
8362
|
+
path: {
|
|
8363
|
+
uid: string;
|
|
8364
|
+
};
|
|
8365
|
+
cookie?: never;
|
|
8366
|
+
};
|
|
8367
|
+
requestBody?: {
|
|
8368
|
+
content: {
|
|
8369
|
+
"application/json": components["schemas"]["SignInInteractionLogin"];
|
|
8370
|
+
};
|
|
8371
|
+
};
|
|
8372
|
+
responses: {
|
|
8373
|
+
200: {
|
|
8374
|
+
headers: {
|
|
8375
|
+
[name: string]: unknown;
|
|
8376
|
+
};
|
|
8377
|
+
content: {
|
|
8378
|
+
"application/json": components["schemas"]["SignInContinue"] | {
|
|
8379
|
+
status: "second_factor_required";
|
|
8380
|
+
factors: ("totp" | "email")[];
|
|
8381
|
+
};
|
|
8382
|
+
};
|
|
8383
|
+
};
|
|
8384
|
+
400: {
|
|
8385
|
+
headers: {
|
|
8386
|
+
[name: string]: unknown;
|
|
8387
|
+
};
|
|
8388
|
+
content: {
|
|
8389
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8390
|
+
};
|
|
8391
|
+
};
|
|
8392
|
+
401: {
|
|
8393
|
+
headers: {
|
|
8394
|
+
[name: string]: unknown;
|
|
8395
|
+
};
|
|
8396
|
+
content: {
|
|
8397
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8398
|
+
};
|
|
8399
|
+
};
|
|
8400
|
+
403: {
|
|
8401
|
+
headers: {
|
|
8402
|
+
[name: string]: unknown;
|
|
8403
|
+
};
|
|
8404
|
+
content: {
|
|
8405
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8406
|
+
};
|
|
8407
|
+
};
|
|
8408
|
+
404: {
|
|
8409
|
+
headers: {
|
|
8410
|
+
[name: string]: unknown;
|
|
8411
|
+
};
|
|
8412
|
+
content: {
|
|
8413
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8414
|
+
};
|
|
8415
|
+
};
|
|
8416
|
+
500: {
|
|
8417
|
+
headers: {
|
|
8418
|
+
[name: string]: unknown;
|
|
8419
|
+
};
|
|
8420
|
+
content: {
|
|
8421
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8422
|
+
};
|
|
8423
|
+
};
|
|
8424
|
+
};
|
|
8425
|
+
};
|
|
8426
|
+
submitSignInInteractionOrganisation: {
|
|
8427
|
+
parameters: {
|
|
8428
|
+
query?: never;
|
|
8429
|
+
header?: never;
|
|
8430
|
+
path: {
|
|
8431
|
+
uid: string;
|
|
8432
|
+
};
|
|
8433
|
+
cookie?: never;
|
|
8434
|
+
};
|
|
8435
|
+
requestBody?: {
|
|
8436
|
+
content: {
|
|
8437
|
+
"application/json": components["schemas"]["SignInInteractionOrganisation"];
|
|
8438
|
+
};
|
|
8439
|
+
};
|
|
8440
|
+
responses: {
|
|
8441
|
+
200: {
|
|
8442
|
+
headers: {
|
|
8443
|
+
[name: string]: unknown;
|
|
8444
|
+
};
|
|
8445
|
+
content: {
|
|
8446
|
+
"application/json": components["schemas"]["SignInContinue"];
|
|
8447
|
+
};
|
|
8448
|
+
};
|
|
8449
|
+
400: {
|
|
8450
|
+
headers: {
|
|
8451
|
+
[name: string]: unknown;
|
|
8452
|
+
};
|
|
8453
|
+
content: {
|
|
8454
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8455
|
+
};
|
|
8456
|
+
};
|
|
8457
|
+
401: {
|
|
8458
|
+
headers: {
|
|
8459
|
+
[name: string]: unknown;
|
|
8460
|
+
};
|
|
8461
|
+
content: {
|
|
8462
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8463
|
+
};
|
|
8464
|
+
};
|
|
8465
|
+
403: {
|
|
8466
|
+
headers: {
|
|
8467
|
+
[name: string]: unknown;
|
|
8468
|
+
};
|
|
8469
|
+
content: {
|
|
8470
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8471
|
+
};
|
|
8472
|
+
};
|
|
8473
|
+
404: {
|
|
8474
|
+
headers: {
|
|
8475
|
+
[name: string]: unknown;
|
|
8476
|
+
};
|
|
8477
|
+
content: {
|
|
8478
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8479
|
+
};
|
|
8480
|
+
};
|
|
8481
|
+
500: {
|
|
8482
|
+
headers: {
|
|
8483
|
+
[name: string]: unknown;
|
|
8484
|
+
};
|
|
8485
|
+
content: {
|
|
8486
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8487
|
+
};
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
};
|
|
8491
|
+
submitSignInInteractionConsent: {
|
|
8492
|
+
parameters: {
|
|
8493
|
+
query?: never;
|
|
8494
|
+
header?: never;
|
|
8495
|
+
path: {
|
|
8496
|
+
uid: string;
|
|
8497
|
+
};
|
|
8498
|
+
cookie?: never;
|
|
8499
|
+
};
|
|
8500
|
+
requestBody?: never;
|
|
8501
|
+
responses: {
|
|
8502
|
+
200: {
|
|
8503
|
+
headers: {
|
|
8504
|
+
[name: string]: unknown;
|
|
8505
|
+
};
|
|
8506
|
+
content: {
|
|
8507
|
+
"application/json": components["schemas"]["SignInContinue"];
|
|
8508
|
+
};
|
|
8509
|
+
};
|
|
8510
|
+
400: {
|
|
8511
|
+
headers: {
|
|
8512
|
+
[name: string]: unknown;
|
|
8513
|
+
};
|
|
8514
|
+
content: {
|
|
8515
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8516
|
+
};
|
|
8517
|
+
};
|
|
8518
|
+
401: {
|
|
8519
|
+
headers: {
|
|
8520
|
+
[name: string]: unknown;
|
|
8521
|
+
};
|
|
8522
|
+
content: {
|
|
8523
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8524
|
+
};
|
|
8525
|
+
};
|
|
8526
|
+
403: {
|
|
8527
|
+
headers: {
|
|
8528
|
+
[name: string]: unknown;
|
|
8529
|
+
};
|
|
8530
|
+
content: {
|
|
8531
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8532
|
+
};
|
|
8533
|
+
};
|
|
8534
|
+
404: {
|
|
8535
|
+
headers: {
|
|
8536
|
+
[name: string]: unknown;
|
|
8537
|
+
};
|
|
8538
|
+
content: {
|
|
8539
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8540
|
+
};
|
|
8541
|
+
};
|
|
8542
|
+
500: {
|
|
8543
|
+
headers: {
|
|
8544
|
+
[name: string]: unknown;
|
|
8545
|
+
};
|
|
8546
|
+
content: {
|
|
8547
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8548
|
+
};
|
|
8549
|
+
};
|
|
8550
|
+
};
|
|
8551
|
+
};
|
|
8552
|
+
abortSignInInteraction: {
|
|
8553
|
+
parameters: {
|
|
8554
|
+
query?: never;
|
|
8555
|
+
header?: never;
|
|
8556
|
+
path: {
|
|
8557
|
+
uid: string;
|
|
8558
|
+
};
|
|
8559
|
+
cookie?: never;
|
|
8560
|
+
};
|
|
8561
|
+
requestBody?: never;
|
|
8562
|
+
responses: {
|
|
8563
|
+
200: {
|
|
8564
|
+
headers: {
|
|
8565
|
+
[name: string]: unknown;
|
|
8566
|
+
};
|
|
8567
|
+
content: {
|
|
8568
|
+
"application/json": components["schemas"]["SignInContinue"];
|
|
8569
|
+
};
|
|
8570
|
+
};
|
|
8571
|
+
400: {
|
|
8572
|
+
headers: {
|
|
8573
|
+
[name: string]: unknown;
|
|
8574
|
+
};
|
|
8575
|
+
content: {
|
|
8576
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8577
|
+
};
|
|
8578
|
+
};
|
|
8579
|
+
401: {
|
|
8580
|
+
headers: {
|
|
8581
|
+
[name: string]: unknown;
|
|
8582
|
+
};
|
|
8583
|
+
content: {
|
|
8584
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8585
|
+
};
|
|
8586
|
+
};
|
|
8587
|
+
403: {
|
|
8588
|
+
headers: {
|
|
8589
|
+
[name: string]: unknown;
|
|
8590
|
+
};
|
|
8591
|
+
content: {
|
|
8592
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8593
|
+
};
|
|
8594
|
+
};
|
|
8595
|
+
404: {
|
|
8596
|
+
headers: {
|
|
8597
|
+
[name: string]: unknown;
|
|
8598
|
+
};
|
|
8599
|
+
content: {
|
|
8600
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8601
|
+
};
|
|
8602
|
+
};
|
|
8603
|
+
500: {
|
|
8604
|
+
headers: {
|
|
8605
|
+
[name: string]: unknown;
|
|
8606
|
+
};
|
|
8607
|
+
content: {
|
|
8608
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8609
|
+
};
|
|
8610
|
+
};
|
|
8611
|
+
};
|
|
8612
|
+
};
|
|
8181
8613
|
discoverIdentityProvider: {
|
|
8182
8614
|
parameters: {
|
|
8183
8615
|
query?: {
|