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