@vrplatform/api 1.3.1-stage.4738 → 1.3.1-stage.4741

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.
@@ -1792,6 +1792,23 @@ export interface paths {
1792
1792
  patch?: never;
1793
1793
  trace?: never;
1794
1794
  };
1795
+ "/internal/teams/{tenantId}/billing-state": {
1796
+ parameters: {
1797
+ query?: never;
1798
+ header?: never;
1799
+ path?: never;
1800
+ cookie?: never;
1801
+ };
1802
+ 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"];
1805
+ post?: never;
1806
+ delete?: never;
1807
+ options?: never;
1808
+ head?: never;
1809
+ patch?: never;
1810
+ trace?: never;
1811
+ };
1795
1812
  "/internal/users": {
1796
1813
  parameters: {
1797
1814
  query?: never;
@@ -31318,6 +31335,7 @@ export interface operations {
31318
31335
  id: string;
31319
31336
  name: string;
31320
31337
  } | null;
31338
+ billingPartnerId: string | null;
31321
31339
  companyName?: string | null;
31322
31340
  /** @enum {string} */
31323
31341
  type: "partner" | "admin" | "propertyManager";
@@ -31326,7 +31344,7 @@ export interface operations {
31326
31344
  billingSubscriptionStatus?: string | null;
31327
31345
  billingPlan?: string | null;
31328
31346
  billingPaymentMethodType?: string | null;
31329
- billingCustomerId?: string | null;
31347
+ billingCustomerId: string | null;
31330
31348
  colorPrimary?: string | null;
31331
31349
  createdAt?: string | null;
31332
31350
  updatedAt?: string | null;
@@ -31652,6 +31670,7 @@ export interface operations {
31652
31670
  id: string;
31653
31671
  name: string;
31654
31672
  } | null;
31673
+ billingPartnerId: string | null;
31655
31674
  companyName?: string | null;
31656
31675
  /** @enum {string} */
31657
31676
  type: "partner" | "admin" | "propertyManager";
@@ -31660,7 +31679,7 @@ export interface operations {
31660
31679
  billingSubscriptionStatus?: string | null;
31661
31680
  billingPlan?: string | null;
31662
31681
  billingPaymentMethodType?: string | null;
31663
- billingCustomerId?: string | null;
31682
+ billingCustomerId: string | null;
31664
31683
  colorPrimary?: string | null;
31665
31684
  createdAt?: string | null;
31666
31685
  updatedAt?: string | null;
@@ -32284,6 +32303,176 @@ export interface operations {
32284
32303
  };
32285
32304
  };
32286
32305
  };
32306
+ putInternalTeamsByTenantIdBillingState: {
32307
+ parameters: {
32308
+ query?: never;
32309
+ header?: never;
32310
+ path: {
32311
+ tenantId: string;
32312
+ };
32313
+ cookie?: never;
32314
+ };
32315
+ requestBody?: {
32316
+ content: {
32317
+ "application/json": {
32318
+ billingCustomerId?: string | null;
32319
+ billingPlan?: string | null;
32320
+ billingPaymentMethodType?: string | null;
32321
+ billingSubscriptionStatus?: string | null;
32322
+ trialUntil?: string | null;
32323
+ cancelledAt?: string | null;
32324
+ /** @enum {string} */
32325
+ status?: "active" | "inactive";
32326
+ };
32327
+ };
32328
+ };
32329
+ responses: {
32330
+ /** @description Successful response */
32331
+ 200: {
32332
+ headers: {
32333
+ [name: string]: unknown;
32334
+ };
32335
+ content: {
32336
+ "application/json": {
32337
+ /** Format: uuid */
32338
+ id: string;
32339
+ };
32340
+ };
32341
+ };
32342
+ /** @description Bad request */
32343
+ 400: {
32344
+ headers: {
32345
+ [name: string]: unknown;
32346
+ };
32347
+ content: {
32348
+ "application/json": {
32349
+ code: string;
32350
+ message: string;
32351
+ links?: {
32352
+ docs: string;
32353
+ schema: string;
32354
+ };
32355
+ issues?: {
32356
+ message: string;
32357
+ path?: (string | number)[];
32358
+ schema?: string;
32359
+ }[];
32360
+ context?: unknown;
32361
+ };
32362
+ };
32363
+ };
32364
+ /** @description Unauthorized */
32365
+ 401: {
32366
+ headers: {
32367
+ [name: string]: unknown;
32368
+ };
32369
+ content: {
32370
+ "application/json": {
32371
+ code: string;
32372
+ message: string;
32373
+ links?: {
32374
+ docs: string;
32375
+ schema: string;
32376
+ };
32377
+ issues?: {
32378
+ message: string;
32379
+ path?: (string | number)[];
32380
+ schema?: string;
32381
+ }[];
32382
+ context?: unknown;
32383
+ };
32384
+ };
32385
+ };
32386
+ /** @description Forbidden */
32387
+ 403: {
32388
+ headers: {
32389
+ [name: string]: unknown;
32390
+ };
32391
+ content: {
32392
+ "application/json": {
32393
+ code: string;
32394
+ message: string;
32395
+ links?: {
32396
+ docs: string;
32397
+ schema: string;
32398
+ };
32399
+ issues?: {
32400
+ message: string;
32401
+ path?: (string | number)[];
32402
+ schema?: string;
32403
+ }[];
32404
+ context?: unknown;
32405
+ };
32406
+ };
32407
+ };
32408
+ /** @description Not found */
32409
+ 404: {
32410
+ headers: {
32411
+ [name: string]: unknown;
32412
+ };
32413
+ content: {
32414
+ "application/json": {
32415
+ code: string;
32416
+ message: string;
32417
+ links?: {
32418
+ docs: string;
32419
+ schema: string;
32420
+ };
32421
+ issues?: {
32422
+ message: string;
32423
+ path?: (string | number)[];
32424
+ schema?: string;
32425
+ }[];
32426
+ context?: unknown;
32427
+ };
32428
+ };
32429
+ };
32430
+ /** @description Internal server error */
32431
+ 500: {
32432
+ headers: {
32433
+ [name: string]: unknown;
32434
+ };
32435
+ content: {
32436
+ "application/json": {
32437
+ code: string;
32438
+ message: string;
32439
+ links?: {
32440
+ docs: string;
32441
+ schema: string;
32442
+ };
32443
+ issues?: {
32444
+ message: string;
32445
+ path?: (string | number)[];
32446
+ schema?: string;
32447
+ }[];
32448
+ context?: unknown;
32449
+ };
32450
+ };
32451
+ };
32452
+ /** @description Service unavailable */
32453
+ 503: {
32454
+ headers: {
32455
+ [name: string]: unknown;
32456
+ };
32457
+ content: {
32458
+ "application/json": {
32459
+ code: string;
32460
+ message: string;
32461
+ links?: {
32462
+ docs: string;
32463
+ schema: string;
32464
+ };
32465
+ issues?: {
32466
+ message: string;
32467
+ path?: (string | number)[];
32468
+ schema?: string;
32469
+ }[];
32470
+ context?: unknown;
32471
+ };
32472
+ };
32473
+ };
32474
+ };
32475
+ };
32287
32476
  getInternalUsers: {
32288
32477
  parameters: {
32289
32478
  query?: {
@@ -78447,6 +78636,7 @@ export interface operations {
78447
78636
  id: string;
78448
78637
  name: string;
78449
78638
  } | null;
78639
+ billingPartnerId: string | null;
78450
78640
  companyName?: string | null;
78451
78641
  /** @enum {string} */
78452
78642
  type: "partner" | "admin" | "propertyManager";
@@ -78455,7 +78645,7 @@ export interface operations {
78455
78645
  billingSubscriptionStatus?: string | null;
78456
78646
  billingPlan?: string | null;
78457
78647
  billingPaymentMethodType?: string | null;
78458
- billingCustomerId?: string | null;
78648
+ billingCustomerId: string | null;
78459
78649
  colorPrimary?: string | null;
78460
78650
  createdAt?: string | null;
78461
78651
  updatedAt?: string | null;
@@ -78845,6 +79035,7 @@ export interface operations {
78845
79035
  id: string;
78846
79036
  name: string;
78847
79037
  } | null;
79038
+ billingPartnerId: string | null;
78848
79039
  companyName?: string | null;
78849
79040
  /** @enum {string} */
78850
79041
  type: "partner" | "admin" | "propertyManager";
@@ -78853,7 +79044,7 @@ export interface operations {
78853
79044
  billingSubscriptionStatus?: string | null;
78854
79045
  billingPlan?: string | null;
78855
79046
  billingPaymentMethodType?: string | null;
78856
- billingCustomerId?: string | null;
79047
+ billingCustomerId: string | null;
78857
79048
  colorPrimary?: string | null;
78858
79049
  createdAt?: string | null;
78859
79050
  updatedAt?: string | null;
@@ -80123,6 +80314,7 @@ export interface operations {
80123
80314
  id: string;
80124
80315
  name: string;
80125
80316
  } | null;
80317
+ billingPartnerId: string | null;
80126
80318
  companyName?: string | null;
80127
80319
  /** @enum {string} */
80128
80320
  type: "partner" | "admin" | "propertyManager";
@@ -80131,7 +80323,7 @@ export interface operations {
80131
80323
  billingSubscriptionStatus?: string | null;
80132
80324
  billingPlan?: string | null;
80133
80325
  billingPaymentMethodType?: string | null;
80134
- billingCustomerId?: string | null;
80326
+ billingCustomerId: string | null;
80135
80327
  colorPrimary?: string | null;
80136
80328
  createdAt?: string | null;
80137
80329
  updatedAt?: string | null;
@@ -81497,7 +81689,7 @@ export interface operations {
81497
81689
  billingSubscriptionStatus?: string | null;
81498
81690
  billingPlan?: string | null;
81499
81691
  billingPaymentMethodType?: string | null;
81500
- billingCustomerId?: string | null;
81692
+ billingCustomerId: string | null;
81501
81693
  colorPrimary?: string | null;
81502
81694
  createdAt?: string | null;
81503
81695
  updatedAt?: string | null;
@@ -81882,6 +82074,7 @@ export interface operations {
81882
82074
  id: string;
81883
82075
  name: string;
81884
82076
  } | null;
82077
+ billingPartnerId: string | null;
81885
82078
  companyName?: string | null;
81886
82079
  /** @enum {string} */
81887
82080
  type: "partner" | "admin" | "propertyManager";
@@ -81890,7 +82083,7 @@ export interface operations {
81890
82083
  billingSubscriptionStatus?: string | null;
81891
82084
  billingPlan?: string | null;
81892
82085
  billingPaymentMethodType?: string | null;
81893
- billingCustomerId?: string | null;
82086
+ billingCustomerId: string | null;
81894
82087
  colorPrimary?: string | null;
81895
82088
  createdAt?: string | null;
81896
82089
  updatedAt?: string | null;
@@ -83076,7 +83269,7 @@ export interface operations {
83076
83269
  billingSubscriptionStatus?: string | null;
83077
83270
  billingPlan?: string | null;
83078
83271
  billingPaymentMethodType?: string | null;
83079
- billingCustomerId?: string | null;
83272
+ billingCustomerId: string | null;
83080
83273
  colorPrimary?: string | null;
83081
83274
  createdAt?: string | null;
83082
83275
  updatedAt?: string | null;
@@ -83404,7 +83597,7 @@ export interface operations {
83404
83597
  billingSubscriptionStatus?: string | null;
83405
83598
  billingPlan?: string | null;
83406
83599
  billingPaymentMethodType?: string | null;
83407
- billingCustomerId?: string | null;
83600
+ billingCustomerId: string | null;
83408
83601
  colorPrimary?: string | null;
83409
83602
  createdAt?: string | null;
83410
83603
  updatedAt?: string | null;
@@ -83510,6 +83703,7 @@ export interface operations {
83510
83703
  };
83511
83704
  /** Format: uri */
83512
83705
  apiBaseUrl: string;
83706
+ billingPartnerId: string | null;
83513
83707
  };
83514
83708
  };
83515
83709
  };