@vrplatform/api 1.3.1-stage.4666 → 1.3.1-stage.4670

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.4666",
6
+ "version": "1.3.1-stage.4670",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1007,7 +1007,11 @@ export interface paths {
1007
1007
  path?: never;
1008
1008
  cookie?: never;
1009
1009
  };
1010
- /** @description Get the current team email template for trigger-rendered emails. */
1010
+ /**
1011
+ * @description Get the current team email template for trigger-rendered emails.
1012
+ *
1013
+ * Required scope: team-settings:read
1014
+ */
1011
1015
  get: operations["getEmailTemplate"];
1012
1016
  put?: never;
1013
1017
  post?: never;
@@ -1017,6 +1021,27 @@ export interface paths {
1017
1021
  patch?: never;
1018
1022
  trace?: never;
1019
1023
  };
1024
+ "/email-templates/{type}": {
1025
+ parameters: {
1026
+ query?: never;
1027
+ header?: never;
1028
+ path?: never;
1029
+ cookie?: never;
1030
+ };
1031
+ get?: never;
1032
+ /**
1033
+ * @description Create or update an email template for the current team.
1034
+ *
1035
+ * Required scope: team-settings:write
1036
+ */
1037
+ put: operations["upsertEmailTemplate"];
1038
+ post?: never;
1039
+ delete?: never;
1040
+ options?: never;
1041
+ head?: never;
1042
+ patch?: never;
1043
+ trace?: never;
1044
+ };
1020
1045
  "/embed-sessions/exchange": {
1021
1046
  parameters: {
1022
1047
  query?: never;
@@ -1563,7 +1588,7 @@ export interface paths {
1563
1588
  path?: never;
1564
1589
  cookie?: never;
1565
1590
  };
1566
- /** @description List feature flags across all teams, with enabled-team and tester counts. VRP-admin only. */
1591
+ /** @description List feature flags with team and user assignments. Omitted status returns testing and ready flags. Sorting defaults to createdAt desc. VRP-admin only. */
1567
1592
  get: operations["getInternalFeatureFlags"];
1568
1593
  put?: never;
1569
1594
  /** @description Create a feature flag. Team enablement and testers are managed via the teams and users sub-resources. VRP-admin only. */
@@ -1599,9 +1624,9 @@ export interface paths {
1599
1624
  path?: never;
1600
1625
  cookie?: never;
1601
1626
  };
1602
- /** @description List teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag. VRP-admin only. */
1627
+ /** @description List team assignments for a feature flag. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access. VRP-admin only. */
1603
1628
  get: operations["getInternalFeatureFlagsByIdTeams"];
1604
- /** @description Replace the set of teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag. Teams served from another data region are rejected. VRP-admin only. */
1629
+ /** @description Replace the set of teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access. Teams served from another data region are rejected. VRP-admin only. */
1605
1630
  put: operations["putInternalFeatureFlagsByIdTeams"];
1606
1631
  post?: never;
1607
1632
  delete?: never;
@@ -1617,9 +1642,9 @@ export interface paths {
1617
1642
  path?: never;
1618
1643
  cookie?: never;
1619
1644
  };
1620
- /** @description List testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled. VRP-admin only. */
1645
+ /** @description List user assignments for a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled; 'disabled' explicitly denies access. VRP-admin only. */
1621
1646
  get: operations["getInternalFeatureFlagsByIdUsers"];
1622
- /** @description Replace the set of testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled. VRP-admin only. */
1647
+ /** @description Replace the set of testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled; 'disabled' explicitly denies access. VRP-admin only. */
1623
1648
  put: operations["putInternalFeatureFlagsByIdUsers"];
1624
1649
  post?: never;
1625
1650
  delete?: never;
@@ -4390,7 +4415,7 @@ export interface paths {
4390
4415
  */
4391
4416
  get: operations["getTeam"];
4392
4417
  /**
4393
- * @description Update the current team (singleton: the team in scope via the x-team-id header). Setting statementStartAt reclassifies unlocked journals around the first live GL date while explicit opening-balance journals remain active.
4418
+ * @description Update the current team (singleton: the team in scope via the x-team-id header). Send null for logo or colorPrimary to clear that branding value. Setting statementStartAt reclassifies unlocked journals around the first live GL date while explicit opening-balance journals remain active.
4394
4419
  *
4395
4420
  * Required scope: teams:write
4396
4421
  */
@@ -20211,7 +20236,7 @@ export interface operations {
20211
20236
  parameters: {
20212
20237
  query: {
20213
20238
  /** @description Email template type to fetch. */
20214
- type: "ownerInvite" | "ownerStatementPublished" | "owner-invite" | "ownerStatement-published";
20239
+ type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager" | "owner-invite" | "ownerStatement-published";
20215
20240
  };
20216
20241
  header?: never;
20217
20242
  path?: never;
@@ -20230,7 +20255,7 @@ export interface operations {
20230
20255
  /** Format: uuid */
20231
20256
  id: string;
20232
20257
  /** @enum {string} */
20233
- type: "ownerInvite" | "ownerStatementPublished";
20258
+ type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
20234
20259
  data: {
20235
20260
  subject: string;
20236
20261
  shortDescription: string;
@@ -20241,8 +20266,18 @@ export interface operations {
20241
20266
  buttonText: string;
20242
20267
  href?: string | null;
20243
20268
  };
20244
- createdAt?: string | null;
20245
- updatedAt?: string | null;
20269
+ /**
20270
+ * Format: date-time
20271
+ * @description Timestamp string with date, time, milliseconds, and timezone.
20272
+ * @example 2024-01-15T12:30:00.000+00:00
20273
+ */
20274
+ createdAt: string;
20275
+ /**
20276
+ * Format: date-time
20277
+ * @description Timestamp string with date, time, milliseconds, and timezone.
20278
+ * @example 2024-01-15T12:30:00.000+00:00
20279
+ */
20280
+ updatedAt: string;
20246
20281
  } | null;
20247
20282
  };
20248
20283
  };
@@ -20381,6 +20416,204 @@ export interface operations {
20381
20416
  };
20382
20417
  };
20383
20418
  };
20419
+ upsertEmailTemplate: {
20420
+ parameters: {
20421
+ query?: never;
20422
+ header?: never;
20423
+ path: {
20424
+ /** @description Email template type to save. */
20425
+ type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
20426
+ };
20427
+ cookie?: never;
20428
+ };
20429
+ requestBody?: {
20430
+ content: {
20431
+ "application/json": {
20432
+ /** @description Email template content to save. */
20433
+ data: {
20434
+ subject: string;
20435
+ shortDescription: string;
20436
+ banner?: string | null;
20437
+ header: string;
20438
+ bodyOne: string;
20439
+ bodyTwo: string;
20440
+ buttonText: string;
20441
+ href?: string | null;
20442
+ };
20443
+ };
20444
+ };
20445
+ };
20446
+ responses: {
20447
+ /** @description Successful response */
20448
+ 200: {
20449
+ headers: {
20450
+ [name: string]: unknown;
20451
+ };
20452
+ content: {
20453
+ "application/json": {
20454
+ /** Format: uuid */
20455
+ id: string;
20456
+ /** @enum {string} */
20457
+ type: "ownerInvite" | "ownerStatementPublished" | "invitePropertyManager";
20458
+ data: {
20459
+ subject: string;
20460
+ shortDescription: string;
20461
+ banner?: string | null;
20462
+ header: string;
20463
+ bodyOne: string;
20464
+ bodyTwo: string;
20465
+ buttonText: string;
20466
+ href?: string | null;
20467
+ };
20468
+ /**
20469
+ * Format: date-time
20470
+ * @description Timestamp string with date, time, milliseconds, and timezone.
20471
+ * @example 2024-01-15T12:30:00.000+00:00
20472
+ */
20473
+ createdAt: string;
20474
+ /**
20475
+ * Format: date-time
20476
+ * @description Timestamp string with date, time, milliseconds, and timezone.
20477
+ * @example 2024-01-15T12:30:00.000+00:00
20478
+ */
20479
+ updatedAt: string;
20480
+ };
20481
+ };
20482
+ };
20483
+ /** @description Bad request */
20484
+ 400: {
20485
+ headers: {
20486
+ [name: string]: unknown;
20487
+ };
20488
+ content: {
20489
+ "application/json": {
20490
+ code: string;
20491
+ message: string;
20492
+ links?: {
20493
+ docs: string;
20494
+ schema: string;
20495
+ };
20496
+ issues?: {
20497
+ message: string;
20498
+ path?: (string | number)[];
20499
+ schema?: string;
20500
+ }[];
20501
+ context?: unknown;
20502
+ };
20503
+ };
20504
+ };
20505
+ /** @description Unauthorized */
20506
+ 401: {
20507
+ headers: {
20508
+ [name: string]: unknown;
20509
+ };
20510
+ content: {
20511
+ "application/json": {
20512
+ code: string;
20513
+ message: string;
20514
+ links?: {
20515
+ docs: string;
20516
+ schema: string;
20517
+ };
20518
+ issues?: {
20519
+ message: string;
20520
+ path?: (string | number)[];
20521
+ schema?: string;
20522
+ }[];
20523
+ context?: unknown;
20524
+ };
20525
+ };
20526
+ };
20527
+ /** @description Forbidden */
20528
+ 403: {
20529
+ headers: {
20530
+ [name: string]: unknown;
20531
+ };
20532
+ content: {
20533
+ "application/json": {
20534
+ code: string;
20535
+ message: string;
20536
+ links?: {
20537
+ docs: string;
20538
+ schema: string;
20539
+ };
20540
+ issues?: {
20541
+ message: string;
20542
+ path?: (string | number)[];
20543
+ schema?: string;
20544
+ }[];
20545
+ context?: unknown;
20546
+ };
20547
+ };
20548
+ };
20549
+ /** @description Not found */
20550
+ 404: {
20551
+ headers: {
20552
+ [name: string]: unknown;
20553
+ };
20554
+ content: {
20555
+ "application/json": {
20556
+ code: string;
20557
+ message: string;
20558
+ links?: {
20559
+ docs: string;
20560
+ schema: string;
20561
+ };
20562
+ issues?: {
20563
+ message: string;
20564
+ path?: (string | number)[];
20565
+ schema?: string;
20566
+ }[];
20567
+ context?: unknown;
20568
+ };
20569
+ };
20570
+ };
20571
+ /** @description Internal server error */
20572
+ 500: {
20573
+ headers: {
20574
+ [name: string]: unknown;
20575
+ };
20576
+ content: {
20577
+ "application/json": {
20578
+ code: string;
20579
+ message: string;
20580
+ links?: {
20581
+ docs: string;
20582
+ schema: string;
20583
+ };
20584
+ issues?: {
20585
+ message: string;
20586
+ path?: (string | number)[];
20587
+ schema?: string;
20588
+ }[];
20589
+ context?: unknown;
20590
+ };
20591
+ };
20592
+ };
20593
+ /** @description Service unavailable */
20594
+ 503: {
20595
+ headers: {
20596
+ [name: string]: unknown;
20597
+ };
20598
+ content: {
20599
+ "application/json": {
20600
+ code: string;
20601
+ message: string;
20602
+ links?: {
20603
+ docs: string;
20604
+ schema: string;
20605
+ };
20606
+ issues?: {
20607
+ message: string;
20608
+ path?: (string | number)[];
20609
+ schema?: string;
20610
+ }[];
20611
+ context?: unknown;
20612
+ };
20613
+ };
20614
+ };
20615
+ };
20616
+ };
20384
20617
  exchangeEmbedSession: {
20385
20618
  parameters: {
20386
20619
  query?: never;
@@ -28108,6 +28341,9 @@ export interface operations {
28108
28341
  parameters: {
28109
28342
  query?: {
28110
28343
  search?: string;
28344
+ status?: "testing" | "ready" | "deployed";
28345
+ sortBy?: "createdAt" | "title";
28346
+ sortDirection?: "asc" | "desc";
28111
28347
  limit?: number;
28112
28348
  page?: number;
28113
28349
  offset?: number;
@@ -28132,10 +28368,32 @@ export interface operations {
28132
28368
  description: string | null;
28133
28369
  url: string | null;
28134
28370
  issueUrl: string | null;
28135
- /** @description Catalog status of the flag itself (e.g. 'testing'). */
28136
- status: string | null;
28371
+ /** @description Catalog status of the flag itself. */
28372
+ status: ("testing" | "ready" | "deployed") | null;
28137
28373
  /** @description User ids required to approve this feature. */
28138
28374
  requiredApprovals: string[];
28375
+ teams: {
28376
+ /** Format: uuid */
28377
+ id: string;
28378
+ name: string | null;
28379
+ /**
28380
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28381
+ * @enum {string}
28382
+ */
28383
+ status: "all" | "partially" | "disabled";
28384
+ }[];
28385
+ users: {
28386
+ /** Format: uuid */
28387
+ id: string;
28388
+ email: string | null;
28389
+ firstName: string | null;
28390
+ lastName: string | null;
28391
+ /**
28392
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28393
+ * @enum {string}
28394
+ */
28395
+ status: "all" | "partially" | "disabled";
28396
+ }[];
28139
28397
  enabledTeamsCount: number;
28140
28398
  testersCount: number;
28141
28399
  /**
@@ -28311,7 +28569,7 @@ export interface operations {
28311
28569
  description?: string | null;
28312
28570
  url?: string | null;
28313
28571
  issueUrl?: string | null;
28314
- status?: string | null;
28572
+ status?: ("testing" | "ready" | "deployed") | null;
28315
28573
  requiredApprovals?: string[];
28316
28574
  };
28317
28575
  };
@@ -28330,10 +28588,32 @@ export interface operations {
28330
28588
  description: string | null;
28331
28589
  url: string | null;
28332
28590
  issueUrl: string | null;
28333
- /** @description Catalog status of the flag itself (e.g. 'testing'). */
28334
- status: string | null;
28591
+ /** @description Catalog status of the flag itself. */
28592
+ status: ("testing" | "ready" | "deployed") | null;
28335
28593
  /** @description User ids required to approve this feature. */
28336
28594
  requiredApprovals: string[];
28595
+ teams: {
28596
+ /** Format: uuid */
28597
+ id: string;
28598
+ name: string | null;
28599
+ /**
28600
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28601
+ * @enum {string}
28602
+ */
28603
+ status: "all" | "partially" | "disabled";
28604
+ }[];
28605
+ users: {
28606
+ /** Format: uuid */
28607
+ id: string;
28608
+ email: string | null;
28609
+ firstName: string | null;
28610
+ lastName: string | null;
28611
+ /**
28612
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28613
+ * @enum {string}
28614
+ */
28615
+ status: "all" | "partially" | "disabled";
28616
+ }[];
28337
28617
  enabledTeamsCount: number;
28338
28618
  testersCount: number;
28339
28619
  /**
@@ -28501,7 +28781,7 @@ export interface operations {
28501
28781
  description?: string | null;
28502
28782
  url?: string | null;
28503
28783
  issueUrl?: string | null;
28504
- status?: string | null;
28784
+ status?: ("testing" | "ready" | "deployed") | null;
28505
28785
  requiredApprovals?: string[];
28506
28786
  };
28507
28787
  };
@@ -28520,10 +28800,32 @@ export interface operations {
28520
28800
  description: string | null;
28521
28801
  url: string | null;
28522
28802
  issueUrl: string | null;
28523
- /** @description Catalog status of the flag itself (e.g. 'testing'). */
28524
- status: string | null;
28803
+ /** @description Catalog status of the flag itself. */
28804
+ status: ("testing" | "ready" | "deployed") | null;
28525
28805
  /** @description User ids required to approve this feature. */
28526
28806
  requiredApprovals: string[];
28807
+ teams: {
28808
+ /** Format: uuid */
28809
+ id: string;
28810
+ name: string | null;
28811
+ /**
28812
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28813
+ * @enum {string}
28814
+ */
28815
+ status: "all" | "partially" | "disabled";
28816
+ }[];
28817
+ users: {
28818
+ /** Format: uuid */
28819
+ id: string;
28820
+ email: string | null;
28821
+ firstName: string | null;
28822
+ lastName: string | null;
28823
+ /**
28824
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28825
+ * @enum {string}
28826
+ */
28827
+ status: "all" | "partially" | "disabled";
28828
+ }[];
28527
28829
  enabledTeamsCount: number;
28528
28830
  testersCount: number;
28529
28831
  /**
@@ -28852,13 +29154,13 @@ export interface operations {
28852
29154
  "application/json": {
28853
29155
  data: {
28854
29156
  /** Format: uuid */
28855
- teamId: string;
28856
- teamName: string | null;
29157
+ id: string;
29158
+ name: string | null;
28857
29159
  /**
28858
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29160
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28859
29161
  * @enum {string}
28860
29162
  */
28861
- status: "all" | "partially";
29163
+ status: "all" | "partially" | "disabled";
28862
29164
  }[];
28863
29165
  };
28864
29166
  };
@@ -29011,12 +29313,12 @@ export interface operations {
29011
29313
  "application/json": {
29012
29314
  teams: {
29013
29315
  /** Format: uuid */
29014
- teamId: string;
29316
+ id: string;
29015
29317
  /**
29016
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29318
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29017
29319
  * @enum {string}
29018
29320
  */
29019
- status: "all" | "partially";
29321
+ status: "all" | "partially" | "disabled";
29020
29322
  }[];
29021
29323
  };
29022
29324
  };
@@ -29031,13 +29333,13 @@ export interface operations {
29031
29333
  "application/json": {
29032
29334
  data: {
29033
29335
  /** Format: uuid */
29034
- teamId: string;
29035
- teamName: string | null;
29336
+ id: string;
29337
+ name: string | null;
29036
29338
  /**
29037
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29339
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29038
29340
  * @enum {string}
29039
29341
  */
29040
- status: "all" | "partially";
29342
+ status: "all" | "partially" | "disabled";
29041
29343
  }[];
29042
29344
  };
29043
29345
  };
@@ -29196,14 +29498,15 @@ export interface operations {
29196
29498
  "application/json": {
29197
29499
  data: {
29198
29500
  /** Format: uuid */
29199
- userId: string;
29501
+ id: string;
29200
29502
  email: string | null;
29201
- name: string | null;
29503
+ firstName: string | null;
29504
+ lastName: string | null;
29202
29505
  /**
29203
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29506
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29204
29507
  * @enum {string}
29205
29508
  */
29206
- status: "all" | "partially";
29509
+ status: "all" | "partially" | "disabled";
29207
29510
  }[];
29208
29511
  };
29209
29512
  };
@@ -29356,12 +29659,12 @@ export interface operations {
29356
29659
  "application/json": {
29357
29660
  users: {
29358
29661
  /** Format: uuid */
29359
- userId: string;
29662
+ id: string;
29360
29663
  /**
29361
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29664
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29362
29665
  * @enum {string}
29363
29666
  */
29364
- status: "all" | "partially";
29667
+ status: "all" | "partially" | "disabled";
29365
29668
  }[];
29366
29669
  };
29367
29670
  };
@@ -29376,14 +29679,15 @@ export interface operations {
29376
29679
  "application/json": {
29377
29680
  data: {
29378
29681
  /** Format: uuid */
29379
- userId: string;
29682
+ id: string;
29380
29683
  email: string | null;
29381
- name: string | null;
29684
+ firstName: string | null;
29685
+ lastName: string | null;
29382
29686
  /**
29383
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29687
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29384
29688
  * @enum {string}
29385
29689
  */
29386
- status: "all" | "partially";
29690
+ status: "all" | "partially" | "disabled";
29387
29691
  }[];
29388
29692
  };
29389
29693
  };
@@ -37714,6 +38018,7 @@ export interface operations {
37714
38018
  reservationId: string | null;
37715
38019
  hasPms: boolean;
37716
38020
  activePmsConnectionId: string | null;
38021
+ hasOwnerBlockingConnection: boolean;
37717
38022
  hasDeposit: boolean;
37718
38023
  depositTransactionId: string | null;
37719
38024
  hasListingNeedsReview: boolean;
@@ -77248,6 +77553,7 @@ export interface operations {
77248
77553
  isOnboarding?: boolean | null;
77249
77554
  isOpex?: boolean;
77250
77555
  booksClosedAt?: string | null;
77556
+ /** @description Logo URL or data URI. Send null to clear it. */
77251
77557
  logo?: string | null;
77252
77558
  statementStartAt?: string | null;
77253
77559
  effectiveStatementStartAt?: string | null;
@@ -77257,6 +77563,8 @@ export interface operations {
77257
77563
  /** Format: email */
77258
77564
  email?: string;
77259
77565
  supportEmail?: string | null;
77566
+ /** @description Primary brand color. Send null to clear it. */
77567
+ colorPrimary?: string | null;
77260
77568
  migratedFromTenantId?: string | null;
77261
77569
  settings?: {
77262
77570
  showVRPilotGuide?: boolean;