@vrplatform/api 1.3.1-stage.4798 → 1.3.1-stage.4810

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.
@@ -1616,6 +1616,23 @@ export interface paths {
1616
1616
  patch?: never;
1617
1617
  trace?: never;
1618
1618
  };
1619
+ "/internal/events": {
1620
+ parameters: {
1621
+ query?: never;
1622
+ header?: never;
1623
+ path?: never;
1624
+ cookie?: never;
1625
+ };
1626
+ get?: never;
1627
+ put?: never;
1628
+ /** @description Queue one authenticated tracking event. User-authenticated requests derive teamId and userId from the current context. First-party service-authenticated requests must provide teamId matching x-team-id and userId identifying a current team member. Obvious name and email properties are removed recursively before enqueueing. */
1629
+ post: operations["postInternalEvents"];
1630
+ delete?: never;
1631
+ options?: never;
1632
+ head?: never;
1633
+ patch?: never;
1634
+ trace?: never;
1635
+ };
1619
1636
  "/internal/feature-flags": {
1620
1637
  parameters: {
1621
1638
  query?: never;
@@ -1792,7 +1809,7 @@ export interface paths {
1792
1809
  patch?: never;
1793
1810
  trace?: never;
1794
1811
  };
1795
- "/internal/teams/{tenantId}/billing-state": {
1812
+ "/internal/teams/{teamId}/billing": {
1796
1813
  parameters: {
1797
1814
  query?: never;
1798
1815
  header?: never;
@@ -1800,8 +1817,8 @@ export interface paths {
1800
1817
  cookie?: never;
1801
1818
  };
1802
1819
  get?: never;
1803
- /** @description Apply the current external billing state to one team. Omitted fields remain unchanged and explicit null values clear nullable fields. The x-team-id routing header must match tenantId. */
1804
- put: operations["putInternalTeamsByTenantIdBillingState"];
1820
+ /** @description Apply the current external billing state to one team. Omitted fields remain unchanged and explicit null values clear nullable fields. The x-team-id routing header must match teamId. */
1821
+ put: operations["putInternalTeamsByTeamIdBilling"];
1805
1822
  post?: never;
1806
1823
  delete?: never;
1807
1824
  options?: never;
@@ -29059,6 +29076,177 @@ export interface operations {
29059
29076
  };
29060
29077
  };
29061
29078
  };
29079
+ postInternalEvents: {
29080
+ parameters: {
29081
+ query?: never;
29082
+ header?: never;
29083
+ path?: never;
29084
+ cookie?: never;
29085
+ };
29086
+ requestBody?: {
29087
+ content: {
29088
+ "application/json": {
29089
+ name: string;
29090
+ packageName: string;
29091
+ props: {
29092
+ [key: string]: unknown;
29093
+ };
29094
+ /** Format: uuid */
29095
+ teamId?: string;
29096
+ /** Format: date-time */
29097
+ trackedAt?: string;
29098
+ /** Format: uuid */
29099
+ userId?: string;
29100
+ };
29101
+ };
29102
+ };
29103
+ responses: {
29104
+ /** @description Successful response */
29105
+ 200: {
29106
+ headers: {
29107
+ [name: string]: unknown;
29108
+ };
29109
+ content: {
29110
+ "application/json": {
29111
+ /** Format: uuid */
29112
+ id: string;
29113
+ };
29114
+ };
29115
+ };
29116
+ /** @description Bad request */
29117
+ 400: {
29118
+ headers: {
29119
+ [name: string]: unknown;
29120
+ };
29121
+ content: {
29122
+ "application/json": {
29123
+ code: string;
29124
+ message: string;
29125
+ links?: {
29126
+ docs: string;
29127
+ schema: string;
29128
+ };
29129
+ issues?: {
29130
+ message: string;
29131
+ path?: (string | number)[];
29132
+ schema?: string;
29133
+ }[];
29134
+ context?: unknown;
29135
+ };
29136
+ };
29137
+ };
29138
+ /** @description Unauthorized */
29139
+ 401: {
29140
+ headers: {
29141
+ [name: string]: unknown;
29142
+ };
29143
+ content: {
29144
+ "application/json": {
29145
+ code: string;
29146
+ message: string;
29147
+ links?: {
29148
+ docs: string;
29149
+ schema: string;
29150
+ };
29151
+ issues?: {
29152
+ message: string;
29153
+ path?: (string | number)[];
29154
+ schema?: string;
29155
+ }[];
29156
+ context?: unknown;
29157
+ };
29158
+ };
29159
+ };
29160
+ /** @description Forbidden */
29161
+ 403: {
29162
+ headers: {
29163
+ [name: string]: unknown;
29164
+ };
29165
+ content: {
29166
+ "application/json": {
29167
+ code: string;
29168
+ message: string;
29169
+ links?: {
29170
+ docs: string;
29171
+ schema: string;
29172
+ };
29173
+ issues?: {
29174
+ message: string;
29175
+ path?: (string | number)[];
29176
+ schema?: string;
29177
+ }[];
29178
+ context?: unknown;
29179
+ };
29180
+ };
29181
+ };
29182
+ /** @description Not found */
29183
+ 404: {
29184
+ headers: {
29185
+ [name: string]: unknown;
29186
+ };
29187
+ content: {
29188
+ "application/json": {
29189
+ code: string;
29190
+ message: string;
29191
+ links?: {
29192
+ docs: string;
29193
+ schema: string;
29194
+ };
29195
+ issues?: {
29196
+ message: string;
29197
+ path?: (string | number)[];
29198
+ schema?: string;
29199
+ }[];
29200
+ context?: unknown;
29201
+ };
29202
+ };
29203
+ };
29204
+ /** @description Internal server error */
29205
+ 500: {
29206
+ headers: {
29207
+ [name: string]: unknown;
29208
+ };
29209
+ content: {
29210
+ "application/json": {
29211
+ code: string;
29212
+ message: string;
29213
+ links?: {
29214
+ docs: string;
29215
+ schema: string;
29216
+ };
29217
+ issues?: {
29218
+ message: string;
29219
+ path?: (string | number)[];
29220
+ schema?: string;
29221
+ }[];
29222
+ context?: unknown;
29223
+ };
29224
+ };
29225
+ };
29226
+ /** @description Service unavailable */
29227
+ 503: {
29228
+ headers: {
29229
+ [name: string]: unknown;
29230
+ };
29231
+ content: {
29232
+ "application/json": {
29233
+ code: string;
29234
+ message: string;
29235
+ links?: {
29236
+ docs: string;
29237
+ schema: string;
29238
+ };
29239
+ issues?: {
29240
+ message: string;
29241
+ path?: (string | number)[];
29242
+ schema?: string;
29243
+ }[];
29244
+ context?: unknown;
29245
+ };
29246
+ };
29247
+ };
29248
+ };
29249
+ };
29062
29250
  getInternalFeatureFlags: {
29063
29251
  parameters: {
29064
29252
  query?: {
@@ -32252,12 +32440,12 @@ export interface operations {
32252
32440
  };
32253
32441
  };
32254
32442
  };
32255
- putInternalTeamsByTenantIdBillingState: {
32443
+ putInternalTeamsByTeamIdBilling: {
32256
32444
  parameters: {
32257
32445
  query?: never;
32258
32446
  header?: never;
32259
32447
  path: {
32260
- tenantId: string;
32448
+ teamId: string;
32261
32449
  };
32262
32450
  cookie?: never;
32263
32451
  };
@@ -32266,8 +32454,8 @@ export interface operations {
32266
32454
  "application/json": {
32267
32455
  billingCustomerId?: string | null;
32268
32456
  billingPlan?: string | null;
32269
- billingPaymentMethodType?: string | null;
32270
- billingSubscriptionStatus?: string | null;
32457
+ billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
32458
+ billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
32271
32459
  trialUntil?: string | null;
32272
32460
  cancelledAt?: string | null;
32273
32461
  /** @enum {string} */