@vrplatform/api 1.3.1-4464 → 1.3.1-4468

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-4464",
6
+ "version": "1.3.1-4468",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1840,7 +1840,7 @@ export interface paths {
1840
1840
  path?: never;
1841
1841
  cookie?: never;
1842
1842
  };
1843
- /** @description UI bootstrap call: the authenticated user plus the resolved team (x-team-id header, or the oldest active membership when omitted), including membership, owner access, effective feature IDs, issue counts, and frontend setup context */
1843
+ /** @description UI bootstrap call: the authenticated user plus the resolved team (embedded-session team, x-team-id header, or the oldest active membership), including membership, owner access, effective feature IDs, issue counts, and frontend setup context */
1844
1844
  get: operations["getMe"];
1845
1845
  put?: never;
1846
1846
  post?: never;
@@ -4255,7 +4255,7 @@ export interface paths {
4255
4255
  };
4256
4256
  get?: never;
4257
4257
  put?: never;
4258
- /** @description Replay the same webhook ID through the normal signed path. */
4258
+ /** @description Replay a terminal delivery through the normal signed path with the same webhook ID and a fresh retry cycle. The original subscription revision must still be current. */
4259
4259
  post: operations["replayWebhookDelivery"];
4260
4260
  delete?: never;
4261
4261
  options?: never;
@@ -4273,7 +4273,7 @@ export interface paths {
4273
4273
  /** @description List webhook subscriptions owned by the authenticated team. */
4274
4274
  get: operations["listWebhooks"];
4275
4275
  put?: never;
4276
- /** @description Create a team-owned webhook, return its signing secret once, and queue a signed test. Scope is self for regular teams and managedTeams for partners. */
4276
+ /** @description Create a pending team-owned webhook and return its signing secret once. Deploy the secret at the receiver, then call the explicit test endpoint to verify the subscription. Scope is self for regular teams and managedTeams for partners. */
4277
4277
  post: operations["createWebhook"];
4278
4278
  delete?: never;
4279
4279
  options?: never;
@@ -4290,7 +4290,7 @@ export interface paths {
4290
4290
  };
4291
4291
  /** @description Get one webhook subscription owned by the team. */
4292
4292
  get: operations["getWebhook"];
4293
- /** @description Update a webhook. Changing its URL or re-enabling it returns it to pending and queues a new verification test. */
4293
+ /** @description Update a webhook. URL or event-set changes and reactivation increment its revision and require a new explicit verification test. Editing a disabled webhook without status=active leaves it disabled. */
4294
4294
  put: operations["updateWebhook"];
4295
4295
  post?: never;
4296
4296
  /** @description Disable a webhook while retaining its delivery history. */
@@ -4309,7 +4309,7 @@ export interface paths {
4309
4309
  };
4310
4310
  get?: never;
4311
4311
  put?: never;
4312
- /** @description Rotate the signing secret, returning the new plaintext secret once. */
4312
+ /** @description Rotate the signing secret and return it once. Deliveries include signatures from the new and previous secrets during a 24-hour overlap. */
4313
4313
  post: operations["rotateWebhookSecret"];
4314
4314
  delete?: never;
4315
4315
  options?: never;
@@ -4326,7 +4326,7 @@ export interface paths {
4326
4326
  };
4327
4327
  get?: never;
4328
4328
  put?: never;
4329
- /** @description Queue a signed test through the normal delivery path. */
4329
+ /** @description Queue a signed test through the normal delivery path. A current successful pending test activates that subscription revision. */
4330
4330
  post: operations["testWebhook"];
4331
4331
  delete?: never;
4332
4332
  options?: never;
@@ -9506,7 +9506,7 @@ export interface operations {
9506
9506
  sourceId?: string | null;
9507
9507
  message: string;
9508
9508
  /** @enum {string} */
9509
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
9509
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
9510
9510
  context?: unknown;
9511
9511
  }[];
9512
9512
  };
@@ -10468,7 +10468,7 @@ export interface operations {
10468
10468
  sourceId?: string | null;
10469
10469
  message: string;
10470
10470
  /** @enum {string} */
10471
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
10471
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
10472
10472
  context?: unknown;
10473
10473
  }[];
10474
10474
  };
@@ -17439,7 +17439,7 @@ export interface operations {
17439
17439
  sourceId?: string | null;
17440
17440
  message: string;
17441
17441
  /** @enum {string} */
17442
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
17442
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
17443
17443
  context?: unknown;
17444
17444
  }[];
17445
17445
  };
@@ -30493,7 +30493,7 @@ export interface operations {
30493
30493
  sourceId?: string | null;
30494
30494
  message: string;
30495
30495
  /** @enum {string} */
30496
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
30496
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
30497
30497
  context?: unknown;
30498
30498
  }[];
30499
30499
  };
@@ -31787,7 +31787,7 @@ export interface operations {
31787
31787
  sourceId?: string | null;
31788
31788
  message: string;
31789
31789
  /** @enum {string} */
31790
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
31790
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
31791
31791
  context?: unknown;
31792
31792
  }[];
31793
31793
  };
@@ -56606,7 +56606,7 @@ export interface operations {
56606
56606
  sourceId?: string | null;
56607
56607
  message: string;
56608
56608
  /** @enum {string} */
56609
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
56609
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
56610
56610
  context?: unknown;
56611
56611
  }[];
56612
56612
  };
@@ -81289,7 +81289,7 @@ export interface operations {
81289
81289
  sourceId?: string | null;
81290
81290
  message: string;
81291
81291
  /** @enum {string} */
81292
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
81292
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
81293
81293
  context?: unknown;
81294
81294
  }[];
81295
81295
  };
@@ -86260,7 +86260,7 @@ export interface operations {
86260
86260
  query?: {
86261
86261
  webhookId?: string;
86262
86262
  teamId?: string;
86263
- eventType?: "webhook.test" | "team.issues.changed";
86263
+ eventType?: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86264
86264
  status?: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
86265
86265
  limit?: number;
86266
86266
  page?: number;
@@ -86284,12 +86284,13 @@ export interface operations {
86284
86284
  id: string;
86285
86285
  /** Format: uuid */
86286
86286
  webhookId: string;
86287
+ subscriptionRevision: number;
86287
86288
  teamId: string | null;
86288
86289
  /** @enum {string} */
86289
- eventType: "webhook.test" | "team.issues.changed";
86290
+ eventType: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86290
86291
  /** @constant */
86291
86292
  apiVersion: "2026-07-01";
86292
- resourceType: ("webhook" | "team") | null;
86293
+ resourceType: ("webhook" | "team" | "connection" | "sync" | "reservation" | "listing" | "statement" | "transaction") | null;
86293
86294
  resourceId: string | null;
86294
86295
  /** @enum {string} */
86295
86296
  status: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
@@ -86484,12 +86485,13 @@ export interface operations {
86484
86485
  id: string;
86485
86486
  /** Format: uuid */
86486
86487
  webhookId: string;
86488
+ subscriptionRevision: number;
86487
86489
  teamId: string | null;
86488
86490
  /** @enum {string} */
86489
- eventType: "webhook.test" | "team.issues.changed";
86491
+ eventType: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86490
86492
  /** @constant */
86491
86493
  apiVersion: "2026-07-01";
86492
- resourceType: ("webhook" | "team") | null;
86494
+ resourceType: ("webhook" | "team" | "connection" | "sync" | "reservation" | "listing" | "statement" | "transaction") | null;
86493
86495
  resourceId: string | null;
86494
86496
  /** @enum {string} */
86495
86497
  status: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
@@ -86702,12 +86704,13 @@ export interface operations {
86702
86704
  id: string;
86703
86705
  /** Format: uuid */
86704
86706
  webhookId: string;
86707
+ subscriptionRevision: number;
86705
86708
  teamId: string | null;
86706
86709
  /** @enum {string} */
86707
- eventType: "webhook.test" | "team.issues.changed";
86710
+ eventType: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86708
86711
  /** @constant */
86709
86712
  apiVersion: "2026-07-01";
86710
- resourceType: ("webhook" | "team") | null;
86713
+ resourceType: ("webhook" | "team" | "connection" | "sync" | "reservation" | "listing" | "statement" | "transaction") | null;
86711
86714
  resourceId: string | null;
86712
86715
  /** @enum {string} */
86713
86716
  status: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
@@ -86899,9 +86902,10 @@ export interface operations {
86899
86902
  url: string;
86900
86903
  /** @enum {string} */
86901
86904
  status: "pending" | "active" | "disabled";
86905
+ revision: number;
86902
86906
  /** @constant */
86903
86907
  apiVersion: "2026-07-01";
86904
- eventTypes: "team.issues.changed"[];
86908
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
86905
86909
  description: string | null;
86906
86910
  verifiedAt: string | null;
86907
86911
  disabledAt: string | null;
@@ -87076,7 +87080,7 @@ export interface operations {
87076
87080
  "application/json": {
87077
87081
  /** Format: uri */
87078
87082
  url: string;
87079
- eventTypes: "team.issues.changed"[];
87083
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87080
87084
  description?: string | null;
87081
87085
  };
87082
87086
  };
@@ -87097,9 +87101,10 @@ export interface operations {
87097
87101
  url: string;
87098
87102
  /** @enum {string} */
87099
87103
  status: "pending" | "active" | "disabled";
87104
+ revision: number;
87100
87105
  /** @constant */
87101
87106
  apiVersion: "2026-07-01";
87102
- eventTypes: "team.issues.changed"[];
87107
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87103
87108
  description: string | null;
87104
87109
  verifiedAt: string | null;
87105
87110
  disabledAt: string | null;
@@ -87279,9 +87284,10 @@ export interface operations {
87279
87284
  url: string;
87280
87285
  /** @enum {string} */
87281
87286
  status: "pending" | "active" | "disabled";
87287
+ revision: number;
87282
87288
  /** @constant */
87283
87289
  apiVersion: "2026-07-01";
87284
- eventTypes: "team.issues.changed"[];
87290
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87285
87291
  description: string | null;
87286
87292
  verifiedAt: string | null;
87287
87293
  disabledAt: string | null;
@@ -87448,7 +87454,7 @@ export interface operations {
87448
87454
  "application/json": {
87449
87455
  /** Format: uri */
87450
87456
  url?: string;
87451
- eventTypes?: "team.issues.changed"[];
87457
+ eventTypes?: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87452
87458
  description?: string | null;
87453
87459
  /**
87454
87460
  * @description Re-enable a disabled webhook. The webhook remains pending until a new verification test succeeds.
@@ -87474,9 +87480,10 @@ export interface operations {
87474
87480
  url: string;
87475
87481
  /** @enum {string} */
87476
87482
  status: "pending" | "active" | "disabled";
87483
+ revision: number;
87477
87484
  /** @constant */
87478
87485
  apiVersion: "2026-07-01";
87479
- eventTypes: "team.issues.changed"[];
87486
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87480
87487
  description: string | null;
87481
87488
  verifiedAt: string | null;
87482
87489
  disabledAt: string | null;
@@ -87655,9 +87662,10 @@ export interface operations {
87655
87662
  url: string;
87656
87663
  /** @enum {string} */
87657
87664
  status: "pending" | "active" | "disabled";
87665
+ revision: number;
87658
87666
  /** @constant */
87659
87667
  apiVersion: "2026-07-01";
87660
- eventTypes: "team.issues.changed"[];
87668
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87661
87669
  description: string | null;
87662
87670
  verifiedAt: string | null;
87663
87671
  disabledAt: string | null;
@@ -87836,9 +87844,10 @@ export interface operations {
87836
87844
  url: string;
87837
87845
  /** @enum {string} */
87838
87846
  status: "pending" | "active" | "disabled";
87847
+ revision: number;
87839
87848
  /** @constant */
87840
87849
  apiVersion: "2026-07-01";
87841
- eventTypes: "team.issues.changed"[];
87850
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87842
87851
  description: string | null;
87843
87852
  verifiedAt: string | null;
87844
87853
  disabledAt: string | null;