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

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