@vrplatform/api 1.3.1-4466 → 1.3.1-4472

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.
@@ -4254,7 +4254,7 @@ export interface paths {
4254
4254
  };
4255
4255
  get?: never;
4256
4256
  put?: never;
4257
- /** @description Replay the same webhook ID through the normal signed path. */
4257
+ /** @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. */
4258
4258
  post: operations["replayWebhookDelivery"];
4259
4259
  delete?: never;
4260
4260
  options?: never;
@@ -4272,7 +4272,7 @@ export interface paths {
4272
4272
  /** @description List webhook subscriptions owned by the authenticated team. */
4273
4273
  get: operations["listWebhooks"];
4274
4274
  put?: never;
4275
- /** @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. */
4275
+ /** @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. */
4276
4276
  post: operations["createWebhook"];
4277
4277
  delete?: never;
4278
4278
  options?: never;
@@ -4289,7 +4289,7 @@ export interface paths {
4289
4289
  };
4290
4290
  /** @description Get one webhook subscription owned by the team. */
4291
4291
  get: operations["getWebhook"];
4292
- /** @description Update a webhook. Changing its URL or re-enabling it returns it to pending and queues a new verification test. */
4292
+ /** @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. */
4293
4293
  put: operations["updateWebhook"];
4294
4294
  post?: never;
4295
4295
  /** @description Disable a webhook while retaining its delivery history. */
@@ -4308,7 +4308,7 @@ export interface paths {
4308
4308
  };
4309
4309
  get?: never;
4310
4310
  put?: never;
4311
- /** @description Rotate the signing secret, returning the new plaintext secret once. */
4311
+ /** @description Rotate the signing secret and return it once. Deliveries include signatures from the new and previous secrets during a 24-hour overlap. */
4312
4312
  post: operations["rotateWebhookSecret"];
4313
4313
  delete?: never;
4314
4314
  options?: never;
@@ -4325,7 +4325,7 @@ export interface paths {
4325
4325
  };
4326
4326
  get?: never;
4327
4327
  put?: never;
4328
- /** @description Queue a signed test through the normal delivery path. */
4328
+ /** @description Queue a signed test through the normal delivery path. A current successful pending test activates that subscription revision. */
4329
4329
  post: operations["testWebhook"];
4330
4330
  delete?: never;
4331
4331
  options?: never;
@@ -9505,7 +9505,7 @@ export interface operations {
9505
9505
  sourceId?: string | null;
9506
9506
  message: string;
9507
9507
  /** @enum {string} */
9508
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
9508
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
9509
9509
  context?: unknown;
9510
9510
  }[];
9511
9511
  };
@@ -10467,7 +10467,7 @@ export interface operations {
10467
10467
  sourceId?: string | null;
10468
10468
  message: string;
10469
10469
  /** @enum {string} */
10470
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
10470
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
10471
10471
  context?: unknown;
10472
10472
  }[];
10473
10473
  };
@@ -17438,7 +17438,7 @@ export interface operations {
17438
17438
  sourceId?: string | null;
17439
17439
  message: string;
17440
17440
  /** @enum {string} */
17441
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
17441
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
17442
17442
  context?: unknown;
17443
17443
  }[];
17444
17444
  };
@@ -30492,7 +30492,7 @@ export interface operations {
30492
30492
  sourceId?: string | null;
30493
30493
  message: string;
30494
30494
  /** @enum {string} */
30495
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
30495
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
30496
30496
  context?: unknown;
30497
30497
  }[];
30498
30498
  };
@@ -31786,7 +31786,7 @@ export interface operations {
31786
31786
  sourceId?: string | null;
31787
31787
  message: string;
31788
31788
  /** @enum {string} */
31789
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
31789
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
31790
31790
  context?: unknown;
31791
31791
  }[];
31792
31792
  };
@@ -56605,7 +56605,7 @@ export interface operations {
56605
56605
  sourceId?: string | null;
56606
56606
  message: string;
56607
56607
  /** @enum {string} */
56608
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
56608
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
56609
56609
  context?: unknown;
56610
56610
  }[];
56611
56611
  };
@@ -81288,7 +81288,7 @@ export interface operations {
81288
81288
  sourceId?: string | null;
81289
81289
  message: string;
81290
81290
  /** @enum {string} */
81291
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
81291
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
81292
81292
  context?: unknown;
81293
81293
  }[];
81294
81294
  };
@@ -86259,7 +86259,7 @@ export interface operations {
86259
86259
  query?: {
86260
86260
  webhookId?: string;
86261
86261
  teamId?: string;
86262
- eventType?: "webhook.test" | "team.issues.changed";
86262
+ eventType?: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86263
86263
  status?: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
86264
86264
  limit?: number;
86265
86265
  page?: number;
@@ -86283,12 +86283,13 @@ export interface operations {
86283
86283
  id: string;
86284
86284
  /** Format: uuid */
86285
86285
  webhookId: string;
86286
+ subscriptionRevision: number;
86286
86287
  teamId: string | null;
86287
86288
  /** @enum {string} */
86288
- eventType: "webhook.test" | "team.issues.changed";
86289
+ eventType: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86289
86290
  /** @constant */
86290
86291
  apiVersion: "2026-07-01";
86291
- resourceType: ("webhook" | "team") | null;
86292
+ resourceType: ("webhook" | "team" | "connection" | "sync" | "reservation" | "listing" | "statement" | "transaction") | null;
86292
86293
  resourceId: string | null;
86293
86294
  /** @enum {string} */
86294
86295
  status: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
@@ -86483,12 +86484,13 @@ export interface operations {
86483
86484
  id: string;
86484
86485
  /** Format: uuid */
86485
86486
  webhookId: string;
86487
+ subscriptionRevision: number;
86486
86488
  teamId: string | null;
86487
86489
  /** @enum {string} */
86488
- eventType: "webhook.test" | "team.issues.changed";
86490
+ eventType: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86489
86491
  /** @constant */
86490
86492
  apiVersion: "2026-07-01";
86491
- resourceType: ("webhook" | "team") | null;
86493
+ resourceType: ("webhook" | "team" | "connection" | "sync" | "reservation" | "listing" | "statement" | "transaction") | null;
86492
86494
  resourceId: string | null;
86493
86495
  /** @enum {string} */
86494
86496
  status: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
@@ -86701,12 +86703,13 @@ export interface operations {
86701
86703
  id: string;
86702
86704
  /** Format: uuid */
86703
86705
  webhookId: string;
86706
+ subscriptionRevision: number;
86704
86707
  teamId: string | null;
86705
86708
  /** @enum {string} */
86706
- eventType: "webhook.test" | "team.issues.changed";
86709
+ eventType: "webhook.test" | "team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed";
86707
86710
  /** @constant */
86708
86711
  apiVersion: "2026-07-01";
86709
- resourceType: ("webhook" | "team") | null;
86712
+ resourceType: ("webhook" | "team" | "connection" | "sync" | "reservation" | "listing" | "statement" | "transaction") | null;
86710
86713
  resourceId: string | null;
86711
86714
  /** @enum {string} */
86712
86715
  status: "queued" | "delivering" | "retrying" | "succeeded" | "failed" | "canceled";
@@ -86898,9 +86901,10 @@ export interface operations {
86898
86901
  url: string;
86899
86902
  /** @enum {string} */
86900
86903
  status: "pending" | "active" | "disabled";
86904
+ revision: number;
86901
86905
  /** @constant */
86902
86906
  apiVersion: "2026-07-01";
86903
- eventTypes: "team.issues.changed"[];
86907
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
86904
86908
  description: string | null;
86905
86909
  verifiedAt: string | null;
86906
86910
  disabledAt: string | null;
@@ -87075,7 +87079,7 @@ export interface operations {
87075
87079
  "application/json": {
87076
87080
  /** Format: uri */
87077
87081
  url: string;
87078
- eventTypes: "team.issues.changed"[];
87082
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87079
87083
  description?: string | null;
87080
87084
  };
87081
87085
  };
@@ -87096,9 +87100,10 @@ export interface operations {
87096
87100
  url: string;
87097
87101
  /** @enum {string} */
87098
87102
  status: "pending" | "active" | "disabled";
87103
+ revision: number;
87099
87104
  /** @constant */
87100
87105
  apiVersion: "2026-07-01";
87101
- eventTypes: "team.issues.changed"[];
87106
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87102
87107
  description: string | null;
87103
87108
  verifiedAt: string | null;
87104
87109
  disabledAt: string | null;
@@ -87278,9 +87283,10 @@ export interface operations {
87278
87283
  url: string;
87279
87284
  /** @enum {string} */
87280
87285
  status: "pending" | "active" | "disabled";
87286
+ revision: number;
87281
87287
  /** @constant */
87282
87288
  apiVersion: "2026-07-01";
87283
- eventTypes: "team.issues.changed"[];
87289
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87284
87290
  description: string | null;
87285
87291
  verifiedAt: string | null;
87286
87292
  disabledAt: string | null;
@@ -87447,7 +87453,7 @@ export interface operations {
87447
87453
  "application/json": {
87448
87454
  /** Format: uri */
87449
87455
  url?: string;
87450
- eventTypes?: "team.issues.changed"[];
87456
+ eventTypes?: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87451
87457
  description?: string | null;
87452
87458
  /**
87453
87459
  * @description Re-enable a disabled webhook. The webhook remains pending until a new verification test succeeds.
@@ -87473,9 +87479,10 @@ export interface operations {
87473
87479
  url: string;
87474
87480
  /** @enum {string} */
87475
87481
  status: "pending" | "active" | "disabled";
87482
+ revision: number;
87476
87483
  /** @constant */
87477
87484
  apiVersion: "2026-07-01";
87478
- eventTypes: "team.issues.changed"[];
87485
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87479
87486
  description: string | null;
87480
87487
  verifiedAt: string | null;
87481
87488
  disabledAt: string | null;
@@ -87654,9 +87661,10 @@ export interface operations {
87654
87661
  url: string;
87655
87662
  /** @enum {string} */
87656
87663
  status: "pending" | "active" | "disabled";
87664
+ revision: number;
87657
87665
  /** @constant */
87658
87666
  apiVersion: "2026-07-01";
87659
- eventTypes: "team.issues.changed"[];
87667
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87660
87668
  description: string | null;
87661
87669
  verifiedAt: string | null;
87662
87670
  disabledAt: string | null;
@@ -87835,9 +87843,10 @@ export interface operations {
87835
87843
  url: string;
87836
87844
  /** @enum {string} */
87837
87845
  status: "pending" | "active" | "disabled";
87846
+ revision: number;
87838
87847
  /** @constant */
87839
87848
  apiVersion: "2026-07-01";
87840
- eventTypes: "team.issues.changed"[];
87849
+ eventTypes: ("team.issues.changed" | "connection.changed" | "sync.status.changed" | "reservation.changed" | "listing.changed" | "statement.status.changed" | "transaction.changed")[];
87841
87850
  description: string | null;
87842
87851
  verifiedAt: string | null;
87843
87852
  disabledAt: string | null;