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