@vrplatform/api 1.2.33-stage.691 → 1.2.33-stage.692

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.
@@ -1 +1 @@
1
- {"root":["../../src/cache.ts","../../src/client.ts","../../src/error.ts","../../src/index.ts","../../src/sec.ts","../../src/types.ts","../../src/generated/openapi-fetch.ts","../../src/generated/v1.ts","../../src/ingest/index.ts","../../src/ingest/types.ts","../../src/ingest-compat/index.ts","../../src/ingest-compat/map.ts","../../src/ingest-compat/types.ts","../../src/middlewares/curl.ts","../../src/middlewares/index.ts"],"version":"5.9.2"}
1
+ {"root":["../../src/cache.ts","../../src/client.ts","../../src/error.ts","../../src/index.ts","../../src/sec.ts","../../src/types.ts","../../src/generated/openapi-fetch.ts","../../src/generated/v1.ts","../../src/ingest/index.ts","../../src/ingest/types.ts","../../src/ingest-compat/index.ts","../../src/ingest-compat/map.ts","../../src/ingest-compat/types.ts","../../src/middlewares/curl.ts","../../src/middlewares/index.ts"],"version":"5.9.3"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.2.33-stage.691",
6
+ "version": "1.2.33-stage.692",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1019,23 +1019,6 @@ export interface paths {
1019
1019
  patch?: never;
1020
1020
  trace?: never;
1021
1021
  };
1022
- "/accounts/{id}/reprocess-balances": {
1023
- parameters: {
1024
- query?: never;
1025
- header?: never;
1026
- path?: never;
1027
- cookie?: never;
1028
- };
1029
- get?: never;
1030
- /** @description Reprocess account balances */
1031
- put: operations["reprocessAccountBalances"];
1032
- post?: never;
1033
- delete?: never;
1034
- options?: never;
1035
- head?: never;
1036
- patch?: never;
1037
- trace?: never;
1038
- };
1039
1022
  "/accounts/{id}": {
1040
1023
  parameters: {
1041
1024
  query?: never;
@@ -3544,16 +3527,16 @@ export interface operations {
3544
3527
  requestBody: {
3545
3528
  content: {
3546
3529
  "application/json": {
3547
- /** @enum {string|null} */
3548
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3549
3530
  /** Format: uuid */
3550
3531
  accountId?: string | null;
3532
+ /** @enum {string|null} */
3533
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3551
3534
  channelMappings?: {
3552
- /** @enum {string|null} */
3553
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3554
3535
  bookingChannel: string;
3555
3536
  /** Format: uuid */
3556
3537
  accountId?: string | null;
3538
+ /** @enum {string|null} */
3539
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3557
3540
  }[] | null;
3558
3541
  };
3559
3542
  };
@@ -3566,12 +3549,12 @@ export interface operations {
3566
3549
  };
3567
3550
  content: {
3568
3551
  "application/json": {
3552
+ /** Format: uuid */
3569
3553
  id?: string | null;
3570
3554
  account?: {
3555
+ /** Format: uuid */
3571
3556
  id: string;
3572
3557
  name: string;
3573
- /** @enum {string|null} */
3574
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3575
3558
  } | null;
3576
3559
  /** @enum {string} */
3577
3560
  status: "mapped" | "unmapped" | "excluded";
@@ -3579,12 +3562,12 @@ export interface operations {
3579
3562
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3580
3563
  type: string;
3581
3564
  channelMappings: {
3565
+ /** Format: uuid */
3582
3566
  id?: string | null;
3583
3567
  account?: {
3568
+ /** Format: uuid */
3584
3569
  id: string;
3585
3570
  name: string;
3586
- /** @enum {string|null} */
3587
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3588
3571
  } | null;
3589
3572
  /** @enum {string} */
3590
3573
  status: "mapped" | "unmapped" | "excluded";
@@ -3672,12 +3655,12 @@ export interface operations {
3672
3655
  content: {
3673
3656
  "application/json": {
3674
3657
  data: {
3658
+ /** Format: uuid */
3675
3659
  id?: string | null;
3676
3660
  account?: {
3661
+ /** Format: uuid */
3677
3662
  id: string;
3678
3663
  name: string;
3679
- /** @enum {string|null} */
3680
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3681
3664
  } | null;
3682
3665
  /** @enum {string} */
3683
3666
  status: "mapped" | "unmapped" | "excluded";
@@ -3685,12 +3668,12 @@ export interface operations {
3685
3668
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3686
3669
  type: string;
3687
3670
  channelMappings: {
3671
+ /** Format: uuid */
3688
3672
  id?: string | null;
3689
3673
  account?: {
3674
+ /** Format: uuid */
3690
3675
  id: string;
3691
3676
  name: string;
3692
- /** @enum {string|null} */
3693
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3694
3677
  } | null;
3695
3678
  /** @enum {string} */
3696
3679
  status: "mapped" | "unmapped" | "excluded";
@@ -18833,137 +18816,6 @@ export interface operations {
18833
18816
  };
18834
18817
  };
18835
18818
  };
18836
- reprocessAccountBalances: {
18837
- parameters: {
18838
- query?: never;
18839
- header?: {
18840
- "X-Team-Id"?: string;
18841
- };
18842
- path: {
18843
- id: string;
18844
- };
18845
- cookie?: never;
18846
- };
18847
- requestBody?: never;
18848
- responses: {
18849
- /** @description Successful response */
18850
- 200: {
18851
- headers: {
18852
- [name: string]: unknown;
18853
- };
18854
- content: {
18855
- "application/json": {
18856
- name: string;
18857
- /** @enum {string|null} */
18858
- status?: "active" | "inactive" | null;
18859
- /** @enum {string} */
18860
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18861
- id: string;
18862
- offsetAccount?: {
18863
- id: string;
18864
- name: string;
18865
- /** @enum {string|null} */
18866
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
18867
- } | null;
18868
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
18869
- category?: {
18870
- id: string;
18871
- name: string;
18872
- /** @enum {string|null} */
18873
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
18874
- } | null;
18875
- banking?: {
18876
- /** @enum {string|null} */
18877
- category?: "trust" | "operating" | "external" | null;
18878
- /** @enum {string|null} */
18879
- type?: "deposit" | "creditCard" | null;
18880
- last4?: string | null;
18881
- connections: {
18882
- id: string;
18883
- name: string;
18884
- connection?: {
18885
- id: string;
18886
- icon?: string | null;
18887
- } | null;
18888
- /** @enum {string|null} */
18889
- status?: "active" | "inactive" | null;
18890
- currentSync?: {
18891
- /** @enum {string} */
18892
- status: "queued" | "started" | "completed" | "failed" | "canceled";
18893
- createdAt: string;
18894
- updatedAt: string;
18895
- message?: string | null;
18896
- } | null;
18897
- source?: {
18898
- /** Format: uuid */
18899
- id: string;
18900
- type: string;
18901
- /** @enum {string|null} */
18902
- status?: "active" | "inactive" | null;
18903
- } | null;
18904
- }[];
18905
- bankRecords: {
18906
- reconciled: number;
18907
- unreconciled: number;
18908
- total: number;
18909
- latestCreatedAt?: string | null;
18910
- };
18911
- balance?: {
18912
- openingDate?: string | null;
18913
- opening: number;
18914
- ending: number;
18915
- } | null;
18916
- } | null;
18917
- };
18918
- };
18919
- };
18920
- /** @description Invalid input data */
18921
- 400: {
18922
- headers: {
18923
- [name: string]: unknown;
18924
- };
18925
- content: {
18926
- "application/json": components["schemas"]["error.BAD_REQUEST"];
18927
- };
18928
- };
18929
- /** @description Authorization not provided */
18930
- 401: {
18931
- headers: {
18932
- [name: string]: unknown;
18933
- };
18934
- content: {
18935
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
18936
- };
18937
- };
18938
- /** @description Insufficient access */
18939
- 403: {
18940
- headers: {
18941
- [name: string]: unknown;
18942
- };
18943
- content: {
18944
- "application/json": components["schemas"]["error.FORBIDDEN"];
18945
- };
18946
- };
18947
- /** @description Not found */
18948
- 404: {
18949
- headers: {
18950
- [name: string]: unknown;
18951
- };
18952
- content: {
18953
- "application/json": components["schemas"]["error.NOT_FOUND"];
18954
- };
18955
- };
18956
- /** @description Internal server error */
18957
- 500: {
18958
- headers: {
18959
- [name: string]: unknown;
18960
- };
18961
- content: {
18962
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
18963
- };
18964
- };
18965
- };
18966
- };
18967
18819
  getAccount: {
18968
18820
  parameters: {
18969
18821
  query?: never;