@vrplatform/api 1.3.1-stage.4236 → 1.3.1-stage.4238

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.
@@ -919,6 +919,23 @@ export interface paths {
919
919
  patch?: never;
920
920
  trace?: never;
921
921
  };
922
+ "/email-templates": {
923
+ parameters: {
924
+ query?: never;
925
+ header?: never;
926
+ path?: never;
927
+ cookie?: never;
928
+ };
929
+ /** @description Get the current team email template for trigger-rendered emails. */
930
+ get: operations["getEmailTemplate"];
931
+ put?: never;
932
+ post?: never;
933
+ delete?: never;
934
+ options?: never;
935
+ head?: never;
936
+ patch?: never;
937
+ trace?: never;
938
+ };
922
939
  "/files": {
923
940
  parameters: {
924
941
  query?: never;
@@ -1284,6 +1301,23 @@ export interface paths {
1284
1301
  patch?: never;
1285
1302
  trace?: never;
1286
1303
  };
1304
+ "/internal/contacts/{contactId}/accesses/{userId}": {
1305
+ parameters: {
1306
+ query?: never;
1307
+ header?: never;
1308
+ path?: never;
1309
+ cookie?: never;
1310
+ };
1311
+ get?: never;
1312
+ put?: never;
1313
+ post?: never;
1314
+ delete?: never;
1315
+ options?: never;
1316
+ head?: never;
1317
+ /** @description Add or update one owner access row for an owner contact without changing the user identity or team membership rows. */
1318
+ patch: operations["patchInternalContactsByContactIdAccessesByUserId"];
1319
+ trace?: never;
1320
+ };
1287
1321
  "/internal/transit": {
1288
1322
  parameters: {
1289
1323
  query?: never;
@@ -17468,6 +17502,159 @@ export interface operations {
17468
17502
  };
17469
17503
  };
17470
17504
  };
17505
+ getEmailTemplate: {
17506
+ parameters: {
17507
+ query: {
17508
+ type: "owner-invite" | "ownerStatement-published";
17509
+ };
17510
+ header?: never;
17511
+ path?: never;
17512
+ cookie?: never;
17513
+ };
17514
+ requestBody?: never;
17515
+ responses: {
17516
+ /** @description Successful response */
17517
+ 200: {
17518
+ headers: {
17519
+ [name: string]: unknown;
17520
+ };
17521
+ content: {
17522
+ "application/json": {
17523
+ data: {
17524
+ /** Format: uuid */
17525
+ id: string;
17526
+ /** Format: uuid */
17527
+ tenantId: string;
17528
+ /** @enum {string} */
17529
+ type: "owner-invite" | "ownerStatement-published";
17530
+ data: {
17531
+ subject: string;
17532
+ shortDescription: string;
17533
+ banner?: string | null;
17534
+ header: string;
17535
+ bodyOne: string;
17536
+ bodyTwo: string;
17537
+ buttonText: string;
17538
+ href?: string | null;
17539
+ };
17540
+ createdAt?: string | null;
17541
+ updatedAt?: string | null;
17542
+ } | null;
17543
+ };
17544
+ };
17545
+ };
17546
+ /** @description Bad request */
17547
+ 400: {
17548
+ headers: {
17549
+ [name: string]: unknown;
17550
+ };
17551
+ content: {
17552
+ "application/json": {
17553
+ code: string;
17554
+ message: string;
17555
+ links?: {
17556
+ docs: string;
17557
+ schema: string;
17558
+ };
17559
+ issues?: {
17560
+ message: string;
17561
+ path?: (string | number)[];
17562
+ schema?: string;
17563
+ }[];
17564
+ context?: unknown;
17565
+ };
17566
+ };
17567
+ };
17568
+ /** @description Unauthorized */
17569
+ 401: {
17570
+ headers: {
17571
+ [name: string]: unknown;
17572
+ };
17573
+ content: {
17574
+ "application/json": {
17575
+ code: string;
17576
+ message: string;
17577
+ links?: {
17578
+ docs: string;
17579
+ schema: string;
17580
+ };
17581
+ issues?: {
17582
+ message: string;
17583
+ path?: (string | number)[];
17584
+ schema?: string;
17585
+ }[];
17586
+ context?: unknown;
17587
+ };
17588
+ };
17589
+ };
17590
+ /** @description Forbidden */
17591
+ 403: {
17592
+ headers: {
17593
+ [name: string]: unknown;
17594
+ };
17595
+ content: {
17596
+ "application/json": {
17597
+ code: string;
17598
+ message: string;
17599
+ links?: {
17600
+ docs: string;
17601
+ schema: string;
17602
+ };
17603
+ issues?: {
17604
+ message: string;
17605
+ path?: (string | number)[];
17606
+ schema?: string;
17607
+ }[];
17608
+ context?: unknown;
17609
+ };
17610
+ };
17611
+ };
17612
+ /** @description Not found */
17613
+ 404: {
17614
+ headers: {
17615
+ [name: string]: unknown;
17616
+ };
17617
+ content: {
17618
+ "application/json": {
17619
+ code: string;
17620
+ message: string;
17621
+ links?: {
17622
+ docs: string;
17623
+ schema: string;
17624
+ };
17625
+ issues?: {
17626
+ message: string;
17627
+ path?: (string | number)[];
17628
+ schema?: string;
17629
+ }[];
17630
+ context?: unknown;
17631
+ };
17632
+ };
17633
+ };
17634
+ /** @description Internal server error */
17635
+ 500: {
17636
+ headers: {
17637
+ [name: string]: unknown;
17638
+ };
17639
+ content: {
17640
+ "application/json": {
17641
+ code: string;
17642
+ message: string;
17643
+ links?: {
17644
+ docs: string;
17645
+ schema: string;
17646
+ };
17647
+ issues?: {
17648
+ message: string;
17649
+ path?: (string | number)[];
17650
+ schema?: string;
17651
+ }[];
17652
+ context?: unknown;
17653
+ };
17654
+ };
17655
+ };
17656
+ };
17657
+ };
17471
17658
  getFiles: {
17472
17659
  parameters: {
17473
17660
  query?: {
@@ -22178,6 +22365,155 @@ export interface operations {
22178
22365
  };
22179
22366
  };
22180
22367
  };
22368
+ patchInternalContactsByContactIdAccessesByUserId: {
22369
+ parameters: {
22370
+ query?: never;
22371
+ header?: never;
22372
+ path: {
22373
+ contactId: string;
22374
+ userId: string;
22375
+ };
22376
+ cookie?: never;
22377
+ };
22378
+ requestBody?: {
22379
+ content: {
22380
+ "application/json": {
22381
+ /** @enum {string} */
22382
+ role: "admin" | "viewer";
22383
+ };
22384
+ };
22385
+ };
22386
+ responses: {
22387
+ /** @description Successful response */
22388
+ 200: {
22389
+ headers: {
22390
+ [name: string]: unknown;
22391
+ };
22392
+ content: {
22393
+ "application/json": {
22394
+ /** Format: uuid */
22395
+ id: string;
22396
+ /** Format: uuid */
22397
+ contactId: string;
22398
+ /** Format: uuid */
22399
+ userId: string;
22400
+ /** @enum {string} */
22401
+ role: "admin" | "viewer";
22402
+ };
22403
+ };
22404
+ };
22405
+ /** @description Bad request */
22406
+ 400: {
22407
+ headers: {
22408
+ [name: string]: unknown;
22409
+ };
22410
+ content: {
22411
+ "application/json": {
22412
+ code: string;
22413
+ message: string;
22414
+ links?: {
22415
+ docs: string;
22416
+ schema: string;
22417
+ };
22418
+ issues?: {
22419
+ message: string;
22420
+ path?: (string | number)[];
22421
+ schema?: string;
22422
+ }[];
22423
+ context?: unknown;
22424
+ };
22425
+ };
22426
+ };
22427
+ /** @description Unauthorized */
22428
+ 401: {
22429
+ headers: {
22430
+ [name: string]: unknown;
22431
+ };
22432
+ content: {
22433
+ "application/json": {
22434
+ code: string;
22435
+ message: string;
22436
+ links?: {
22437
+ docs: string;
22438
+ schema: string;
22439
+ };
22440
+ issues?: {
22441
+ message: string;
22442
+ path?: (string | number)[];
22443
+ schema?: string;
22444
+ }[];
22445
+ context?: unknown;
22446
+ };
22447
+ };
22448
+ };
22449
+ /** @description Forbidden */
22450
+ 403: {
22451
+ headers: {
22452
+ [name: string]: unknown;
22453
+ };
22454
+ content: {
22455
+ "application/json": {
22456
+ code: string;
22457
+ message: string;
22458
+ links?: {
22459
+ docs: string;
22460
+ schema: string;
22461
+ };
22462
+ issues?: {
22463
+ message: string;
22464
+ path?: (string | number)[];
22465
+ schema?: string;
22466
+ }[];
22467
+ context?: unknown;
22468
+ };
22469
+ };
22470
+ };
22471
+ /** @description Not found */
22472
+ 404: {
22473
+ headers: {
22474
+ [name: string]: unknown;
22475
+ };
22476
+ content: {
22477
+ "application/json": {
22478
+ code: string;
22479
+ message: string;
22480
+ links?: {
22481
+ docs: string;
22482
+ schema: string;
22483
+ };
22484
+ issues?: {
22485
+ message: string;
22486
+ path?: (string | number)[];
22487
+ schema?: string;
22488
+ }[];
22489
+ context?: unknown;
22490
+ };
22491
+ };
22492
+ };
22493
+ /** @description Internal server error */
22494
+ 500: {
22495
+ headers: {
22496
+ [name: string]: unknown;
22497
+ };
22498
+ content: {
22499
+ "application/json": {
22500
+ code: string;
22501
+ message: string;
22502
+ links?: {
22503
+ docs: string;
22504
+ schema: string;
22505
+ };
22506
+ issues?: {
22507
+ message: string;
22508
+ path?: (string | number)[];
22509
+ schema?: string;
22510
+ }[];
22511
+ context?: unknown;
22512
+ };
22513
+ };
22514
+ };
22515
+ };
22516
+ };
22181
22517
  postInternalTransit: {
22182
22518
  parameters: {
22183
22519
  query: {