@vrplatform/api 1.2.33-stage.848 → 1.2.33-stage.850
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 +503 -319
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +503 -319
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +503 -319
|
@@ -12611,7 +12611,7 @@ export interface operations {
|
|
|
12611
12611
|
uniqueRef: string | null;
|
|
12612
12612
|
};
|
|
12613
12613
|
/** @enum {string} */
|
|
12614
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
12614
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
12615
12615
|
ownership: {
|
|
12616
12616
|
id: string;
|
|
12617
12617
|
startAt: string;
|
|
@@ -12624,109 +12624,155 @@ export interface operations {
|
|
|
12624
12624
|
}[];
|
|
12625
12625
|
} | null;
|
|
12626
12626
|
layout: {
|
|
12627
|
-
id: string;
|
|
12628
12627
|
name: string;
|
|
12629
|
-
/**
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
*/
|
|
12633
|
-
summaryType: "default" | "invoice";
|
|
12628
|
+
/** @enum {string|null} */
|
|
12629
|
+
summaryType?: "default" | "invoice" | null;
|
|
12630
|
+
isDefault: boolean;
|
|
12634
12631
|
netRevenueSections: {
|
|
12635
12632
|
id?: string | null;
|
|
12636
12633
|
name: string;
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
columns: {
|
|
12634
|
+
locked?: boolean | null;
|
|
12635
|
+
/** @enum {string|null} */
|
|
12636
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12637
|
+
columns: ({
|
|
12642
12638
|
id?: string | null;
|
|
12643
12639
|
name: string;
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
}) | null;
|
|
12640
|
+
locked?: boolean | null;
|
|
12641
|
+
/** @enum {string|null} */
|
|
12642
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12648
12643
|
/** @enum {string} */
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12644
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
12645
|
+
value: string;
|
|
12646
|
+
} | {
|
|
12647
|
+
id?: string | null;
|
|
12648
|
+
name: string;
|
|
12649
|
+
locked?: boolean | null;
|
|
12650
|
+
/** @enum {string|null} */
|
|
12651
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12652
12652
|
/** @enum {string} */
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
[key: string]: unknown;
|
|
12657
|
-
};
|
|
12658
|
-
sectionId?: string | null;
|
|
12659
|
-
invert?: boolean;
|
|
12660
|
-
fees?: {
|
|
12661
|
-
[key: string]: unknown;
|
|
12662
|
-
};
|
|
12663
|
-
}[];
|
|
12653
|
+
type: "accounts";
|
|
12654
|
+
value: string[];
|
|
12655
|
+
})[];
|
|
12664
12656
|
}[];
|
|
12665
12657
|
otherSections: {
|
|
12666
12658
|
id?: string | null;
|
|
12667
12659
|
name: string;
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
columns: {
|
|
12660
|
+
locked?: boolean | null;
|
|
12661
|
+
/** @enum {string|null} */
|
|
12662
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12663
|
+
columns: ({
|
|
12673
12664
|
id?: string | null;
|
|
12674
12665
|
name: string;
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
}) | null;
|
|
12666
|
+
locked?: boolean | null;
|
|
12667
|
+
/** @enum {string|null} */
|
|
12668
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12679
12669
|
/** @enum {string} */
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12670
|
+
type: "field";
|
|
12671
|
+
value: string;
|
|
12672
|
+
} | {
|
|
12673
|
+
id?: string | null;
|
|
12674
|
+
name: string;
|
|
12675
|
+
locked?: boolean | null;
|
|
12676
|
+
/** @enum {string|null} */
|
|
12677
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12683
12678
|
/** @enum {string} */
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12679
|
+
type: "accounts";
|
|
12680
|
+
value: string[];
|
|
12681
|
+
})[];
|
|
12682
|
+
}[];
|
|
12683
|
+
id: string;
|
|
12684
|
+
activeListings: {
|
|
12685
|
+
id: string;
|
|
12686
|
+
name?: string | null;
|
|
12687
|
+
}[];
|
|
12688
|
+
linkedAccounts: {
|
|
12689
|
+
name: string;
|
|
12690
|
+
/** @enum {string|null} */
|
|
12691
|
+
status?: "active" | "inactive" | null;
|
|
12692
|
+
/** @enum {string} */
|
|
12693
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
12694
|
+
id: string;
|
|
12695
|
+
offsetAccount?: {
|
|
12696
|
+
id: string;
|
|
12697
|
+
name: string;
|
|
12698
|
+
} | null;
|
|
12699
|
+
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")[];
|
|
12700
|
+
category?: {
|
|
12701
|
+
id: string;
|
|
12702
|
+
name: string;
|
|
12703
|
+
/** @enum {string|null} */
|
|
12704
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
12705
|
+
} | null;
|
|
12706
|
+
banking?: {
|
|
12707
|
+
/** @enum {string|null} */
|
|
12708
|
+
category?: "trust" | "operating" | "external" | null;
|
|
12709
|
+
/** @enum {string|null} */
|
|
12710
|
+
type?: "deposit" | "creditCard" | null;
|
|
12711
|
+
last4?: string | null;
|
|
12712
|
+
currency?: string | null;
|
|
12713
|
+
connections: {
|
|
12714
|
+
id: string;
|
|
12715
|
+
name: string;
|
|
12716
|
+
connection?: {
|
|
12717
|
+
id: string;
|
|
12718
|
+
icon?: string | null;
|
|
12719
|
+
} | null;
|
|
12720
|
+
/** @enum {string|null} */
|
|
12721
|
+
status?: "active" | "inactive" | null;
|
|
12722
|
+
currentSync?: {
|
|
12723
|
+
/** @enum {string} */
|
|
12724
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
12725
|
+
createdAt: string;
|
|
12726
|
+
updatedAt: string;
|
|
12727
|
+
message?: string | null;
|
|
12728
|
+
} | null;
|
|
12729
|
+
source?: {
|
|
12730
|
+
/** Format: uuid */
|
|
12731
|
+
id: string;
|
|
12732
|
+
type: string;
|
|
12733
|
+
/** @enum {string|null} */
|
|
12734
|
+
status?: "active" | "inactive" | null;
|
|
12735
|
+
} | null;
|
|
12736
|
+
}[];
|
|
12737
|
+
bankRecords: {
|
|
12738
|
+
reconciled: number;
|
|
12739
|
+
unreconciled: number;
|
|
12740
|
+
total: number;
|
|
12741
|
+
latestCreatedAt?: string | null;
|
|
12693
12742
|
};
|
|
12694
|
-
|
|
12743
|
+
balance?: {
|
|
12744
|
+
openingDate?: string | null;
|
|
12745
|
+
opening: number;
|
|
12746
|
+
ending: number;
|
|
12747
|
+
} | null;
|
|
12748
|
+
} | null;
|
|
12695
12749
|
}[];
|
|
12750
|
+
createdAt: string;
|
|
12696
12751
|
systemSections: {
|
|
12697
12752
|
id?: string | null;
|
|
12698
12753
|
name: string;
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
columns: {
|
|
12754
|
+
locked?: boolean | null;
|
|
12755
|
+
/** @enum {string|null} */
|
|
12756
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12757
|
+
columns: ({
|
|
12704
12758
|
id?: string | null;
|
|
12705
12759
|
name: string;
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
}) | null;
|
|
12760
|
+
locked?: boolean | null;
|
|
12761
|
+
/** @enum {string|null} */
|
|
12762
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12710
12763
|
/** @enum {string} */
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
12764
|
+
type: "field";
|
|
12765
|
+
value: string;
|
|
12766
|
+
} | {
|
|
12767
|
+
id?: string | null;
|
|
12768
|
+
name: string;
|
|
12769
|
+
locked?: boolean | null;
|
|
12770
|
+
/** @enum {string|null} */
|
|
12771
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12714
12772
|
/** @enum {string} */
|
|
12715
|
-
|
|
12716
|
-
|
|
12717
|
-
|
|
12718
|
-
[key: string]: unknown;
|
|
12719
|
-
};
|
|
12720
|
-
sectionId?: string | null;
|
|
12721
|
-
invert?: boolean;
|
|
12722
|
-
fees?: {
|
|
12723
|
-
[key: string]: unknown;
|
|
12724
|
-
};
|
|
12725
|
-
}[];
|
|
12726
|
-
}[];
|
|
12727
|
-
activeListings?: {
|
|
12728
|
-
id: string;
|
|
12729
|
-
name: string;
|
|
12773
|
+
type: "accounts";
|
|
12774
|
+
value: string[];
|
|
12775
|
+
})[];
|
|
12730
12776
|
}[];
|
|
12731
12777
|
};
|
|
12732
12778
|
rows: ({
|
|
@@ -13073,7 +13119,7 @@ export interface operations {
|
|
|
13073
13119
|
uniqueRef: string | null;
|
|
13074
13120
|
};
|
|
13075
13121
|
/** @enum {string} */
|
|
13076
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
13122
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
13077
13123
|
ownership: {
|
|
13078
13124
|
id: string;
|
|
13079
13125
|
startAt: string;
|
|
@@ -13086,109 +13132,155 @@ export interface operations {
|
|
|
13086
13132
|
}[];
|
|
13087
13133
|
} | null;
|
|
13088
13134
|
layout: {
|
|
13089
|
-
id: string;
|
|
13090
13135
|
name: string;
|
|
13091
|
-
/**
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
*/
|
|
13095
|
-
summaryType: "default" | "invoice";
|
|
13136
|
+
/** @enum {string|null} */
|
|
13137
|
+
summaryType?: "default" | "invoice" | null;
|
|
13138
|
+
isDefault: boolean;
|
|
13096
13139
|
netRevenueSections: {
|
|
13097
13140
|
id?: string | null;
|
|
13098
13141
|
name: string;
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
|
-
|
|
13103
|
-
columns: {
|
|
13142
|
+
locked?: boolean | null;
|
|
13143
|
+
/** @enum {string|null} */
|
|
13144
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13145
|
+
columns: ({
|
|
13104
13146
|
id?: string | null;
|
|
13105
13147
|
name: string;
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13109
|
-
}) | null;
|
|
13148
|
+
locked?: boolean | null;
|
|
13149
|
+
/** @enum {string|null} */
|
|
13150
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13110
13151
|
/** @enum {string} */
|
|
13111
|
-
|
|
13112
|
-
|
|
13113
|
-
|
|
13152
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
13153
|
+
value: string;
|
|
13154
|
+
} | {
|
|
13155
|
+
id?: string | null;
|
|
13156
|
+
name: string;
|
|
13157
|
+
locked?: boolean | null;
|
|
13158
|
+
/** @enum {string|null} */
|
|
13159
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13114
13160
|
/** @enum {string} */
|
|
13115
|
-
|
|
13116
|
-
|
|
13117
|
-
|
|
13118
|
-
[key: string]: unknown;
|
|
13119
|
-
};
|
|
13120
|
-
sectionId?: string | null;
|
|
13121
|
-
invert?: boolean;
|
|
13122
|
-
fees?: {
|
|
13123
|
-
[key: string]: unknown;
|
|
13124
|
-
};
|
|
13125
|
-
}[];
|
|
13161
|
+
type: "accounts";
|
|
13162
|
+
value: string[];
|
|
13163
|
+
})[];
|
|
13126
13164
|
}[];
|
|
13127
13165
|
otherSections: {
|
|
13128
13166
|
id?: string | null;
|
|
13129
13167
|
name: string;
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
columns: {
|
|
13168
|
+
locked?: boolean | null;
|
|
13169
|
+
/** @enum {string|null} */
|
|
13170
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13171
|
+
columns: ({
|
|
13135
13172
|
id?: string | null;
|
|
13136
13173
|
name: string;
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
}) | null;
|
|
13174
|
+
locked?: boolean | null;
|
|
13175
|
+
/** @enum {string|null} */
|
|
13176
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13141
13177
|
/** @enum {string} */
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13178
|
+
type: "field";
|
|
13179
|
+
value: string;
|
|
13180
|
+
} | {
|
|
13181
|
+
id?: string | null;
|
|
13182
|
+
name: string;
|
|
13183
|
+
locked?: boolean | null;
|
|
13184
|
+
/** @enum {string|null} */
|
|
13185
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13145
13186
|
/** @enum {string} */
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13187
|
+
type: "accounts";
|
|
13188
|
+
value: string[];
|
|
13189
|
+
})[];
|
|
13190
|
+
}[];
|
|
13191
|
+
id: string;
|
|
13192
|
+
activeListings: {
|
|
13193
|
+
id: string;
|
|
13194
|
+
name?: string | null;
|
|
13195
|
+
}[];
|
|
13196
|
+
linkedAccounts: {
|
|
13197
|
+
name: string;
|
|
13198
|
+
/** @enum {string|null} */
|
|
13199
|
+
status?: "active" | "inactive" | null;
|
|
13200
|
+
/** @enum {string} */
|
|
13201
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
13202
|
+
id: string;
|
|
13203
|
+
offsetAccount?: {
|
|
13204
|
+
id: string;
|
|
13205
|
+
name: string;
|
|
13206
|
+
} | null;
|
|
13207
|
+
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")[];
|
|
13208
|
+
category?: {
|
|
13209
|
+
id: string;
|
|
13210
|
+
name: string;
|
|
13211
|
+
/** @enum {string|null} */
|
|
13212
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
13213
|
+
} | null;
|
|
13214
|
+
banking?: {
|
|
13215
|
+
/** @enum {string|null} */
|
|
13216
|
+
category?: "trust" | "operating" | "external" | null;
|
|
13217
|
+
/** @enum {string|null} */
|
|
13218
|
+
type?: "deposit" | "creditCard" | null;
|
|
13219
|
+
last4?: string | null;
|
|
13220
|
+
currency?: string | null;
|
|
13221
|
+
connections: {
|
|
13222
|
+
id: string;
|
|
13223
|
+
name: string;
|
|
13224
|
+
connection?: {
|
|
13225
|
+
id: string;
|
|
13226
|
+
icon?: string | null;
|
|
13227
|
+
} | null;
|
|
13228
|
+
/** @enum {string|null} */
|
|
13229
|
+
status?: "active" | "inactive" | null;
|
|
13230
|
+
currentSync?: {
|
|
13231
|
+
/** @enum {string} */
|
|
13232
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
13233
|
+
createdAt: string;
|
|
13234
|
+
updatedAt: string;
|
|
13235
|
+
message?: string | null;
|
|
13236
|
+
} | null;
|
|
13237
|
+
source?: {
|
|
13238
|
+
/** Format: uuid */
|
|
13239
|
+
id: string;
|
|
13240
|
+
type: string;
|
|
13241
|
+
/** @enum {string|null} */
|
|
13242
|
+
status?: "active" | "inactive" | null;
|
|
13243
|
+
} | null;
|
|
13244
|
+
}[];
|
|
13245
|
+
bankRecords: {
|
|
13246
|
+
reconciled: number;
|
|
13247
|
+
unreconciled: number;
|
|
13248
|
+
total: number;
|
|
13249
|
+
latestCreatedAt?: string | null;
|
|
13155
13250
|
};
|
|
13156
|
-
|
|
13251
|
+
balance?: {
|
|
13252
|
+
openingDate?: string | null;
|
|
13253
|
+
opening: number;
|
|
13254
|
+
ending: number;
|
|
13255
|
+
} | null;
|
|
13256
|
+
} | null;
|
|
13157
13257
|
}[];
|
|
13258
|
+
createdAt: string;
|
|
13158
13259
|
systemSections: {
|
|
13159
13260
|
id?: string | null;
|
|
13160
13261
|
name: string;
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
columns: {
|
|
13262
|
+
locked?: boolean | null;
|
|
13263
|
+
/** @enum {string|null} */
|
|
13264
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13265
|
+
columns: ({
|
|
13166
13266
|
id?: string | null;
|
|
13167
13267
|
name: string;
|
|
13168
|
-
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
}) | null;
|
|
13268
|
+
locked?: boolean | null;
|
|
13269
|
+
/** @enum {string|null} */
|
|
13270
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13172
13271
|
/** @enum {string} */
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13272
|
+
type: "field";
|
|
13273
|
+
value: string;
|
|
13274
|
+
} | {
|
|
13275
|
+
id?: string | null;
|
|
13276
|
+
name: string;
|
|
13277
|
+
locked?: boolean | null;
|
|
13278
|
+
/** @enum {string|null} */
|
|
13279
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13176
13280
|
/** @enum {string} */
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
[key: string]: unknown;
|
|
13181
|
-
};
|
|
13182
|
-
sectionId?: string | null;
|
|
13183
|
-
invert?: boolean;
|
|
13184
|
-
fees?: {
|
|
13185
|
-
[key: string]: unknown;
|
|
13186
|
-
};
|
|
13187
|
-
}[];
|
|
13188
|
-
}[];
|
|
13189
|
-
activeListings?: {
|
|
13190
|
-
id: string;
|
|
13191
|
-
name: string;
|
|
13281
|
+
type: "accounts";
|
|
13282
|
+
value: string[];
|
|
13283
|
+
})[];
|
|
13192
13284
|
}[];
|
|
13193
13285
|
};
|
|
13194
13286
|
rows: ({
|
|
@@ -13544,7 +13636,7 @@ export interface operations {
|
|
|
13544
13636
|
uniqueRef: string | null;
|
|
13545
13637
|
};
|
|
13546
13638
|
/** @enum {string} */
|
|
13547
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
13639
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
13548
13640
|
ownership: {
|
|
13549
13641
|
id: string;
|
|
13550
13642
|
startAt: string;
|
|
@@ -13557,109 +13649,155 @@ export interface operations {
|
|
|
13557
13649
|
}[];
|
|
13558
13650
|
} | null;
|
|
13559
13651
|
layout: {
|
|
13560
|
-
id: string;
|
|
13561
13652
|
name: string;
|
|
13562
|
-
/**
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
*/
|
|
13566
|
-
summaryType: "default" | "invoice";
|
|
13653
|
+
/** @enum {string|null} */
|
|
13654
|
+
summaryType?: "default" | "invoice" | null;
|
|
13655
|
+
isDefault: boolean;
|
|
13567
13656
|
netRevenueSections: {
|
|
13568
13657
|
id?: string | null;
|
|
13569
13658
|
name: string;
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13659
|
+
locked?: boolean | null;
|
|
13660
|
+
/** @enum {string|null} */
|
|
13661
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13662
|
+
columns: ({
|
|
13663
|
+
id?: string | null;
|
|
13664
|
+
name: string;
|
|
13665
|
+
locked?: boolean | null;
|
|
13666
|
+
/** @enum {string|null} */
|
|
13667
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13668
|
+
/** @enum {string} */
|
|
13669
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
13670
|
+
value: string;
|
|
13671
|
+
} | {
|
|
13575
13672
|
id?: string | null;
|
|
13576
13673
|
name: string;
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
}) | null;
|
|
13581
|
-
/** @enum {string} */
|
|
13582
|
-
visible?: "all" | "manager" | "none";
|
|
13583
|
-
locked?: boolean;
|
|
13584
|
-
bold?: boolean;
|
|
13674
|
+
locked?: boolean | null;
|
|
13675
|
+
/** @enum {string|null} */
|
|
13676
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13585
13677
|
/** @enum {string} */
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
[key: string]: unknown;
|
|
13590
|
-
};
|
|
13591
|
-
sectionId?: string | null;
|
|
13592
|
-
invert?: boolean;
|
|
13593
|
-
fees?: {
|
|
13594
|
-
[key: string]: unknown;
|
|
13595
|
-
};
|
|
13596
|
-
}[];
|
|
13678
|
+
type: "accounts";
|
|
13679
|
+
value: string[];
|
|
13680
|
+
})[];
|
|
13597
13681
|
}[];
|
|
13598
13682
|
otherSections: {
|
|
13599
13683
|
id?: string | null;
|
|
13600
13684
|
name: string;
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13604
|
-
|
|
13605
|
-
columns: {
|
|
13685
|
+
locked?: boolean | null;
|
|
13686
|
+
/** @enum {string|null} */
|
|
13687
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13688
|
+
columns: ({
|
|
13606
13689
|
id?: string | null;
|
|
13607
13690
|
name: string;
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
}) | null;
|
|
13691
|
+
locked?: boolean | null;
|
|
13692
|
+
/** @enum {string|null} */
|
|
13693
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13612
13694
|
/** @enum {string} */
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
13695
|
+
type: "field";
|
|
13696
|
+
value: string;
|
|
13697
|
+
} | {
|
|
13698
|
+
id?: string | null;
|
|
13699
|
+
name: string;
|
|
13700
|
+
locked?: boolean | null;
|
|
13701
|
+
/** @enum {string|null} */
|
|
13702
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13616
13703
|
/** @enum {string} */
|
|
13617
|
-
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13704
|
+
type: "accounts";
|
|
13705
|
+
value: string[];
|
|
13706
|
+
})[];
|
|
13707
|
+
}[];
|
|
13708
|
+
id: string;
|
|
13709
|
+
activeListings: {
|
|
13710
|
+
id: string;
|
|
13711
|
+
name?: string | null;
|
|
13712
|
+
}[];
|
|
13713
|
+
linkedAccounts: {
|
|
13714
|
+
name: string;
|
|
13715
|
+
/** @enum {string|null} */
|
|
13716
|
+
status?: "active" | "inactive" | null;
|
|
13717
|
+
/** @enum {string} */
|
|
13718
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
13719
|
+
id: string;
|
|
13720
|
+
offsetAccount?: {
|
|
13721
|
+
id: string;
|
|
13722
|
+
name: string;
|
|
13723
|
+
} | null;
|
|
13724
|
+
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")[];
|
|
13725
|
+
category?: {
|
|
13726
|
+
id: string;
|
|
13727
|
+
name: string;
|
|
13728
|
+
/** @enum {string|null} */
|
|
13729
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
13730
|
+
} | null;
|
|
13731
|
+
banking?: {
|
|
13732
|
+
/** @enum {string|null} */
|
|
13733
|
+
category?: "trust" | "operating" | "external" | null;
|
|
13734
|
+
/** @enum {string|null} */
|
|
13735
|
+
type?: "deposit" | "creditCard" | null;
|
|
13736
|
+
last4?: string | null;
|
|
13737
|
+
currency?: string | null;
|
|
13738
|
+
connections: {
|
|
13739
|
+
id: string;
|
|
13740
|
+
name: string;
|
|
13741
|
+
connection?: {
|
|
13742
|
+
id: string;
|
|
13743
|
+
icon?: string | null;
|
|
13744
|
+
} | null;
|
|
13745
|
+
/** @enum {string|null} */
|
|
13746
|
+
status?: "active" | "inactive" | null;
|
|
13747
|
+
currentSync?: {
|
|
13748
|
+
/** @enum {string} */
|
|
13749
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
13750
|
+
createdAt: string;
|
|
13751
|
+
updatedAt: string;
|
|
13752
|
+
message?: string | null;
|
|
13753
|
+
} | null;
|
|
13754
|
+
source?: {
|
|
13755
|
+
/** Format: uuid */
|
|
13756
|
+
id: string;
|
|
13757
|
+
type: string;
|
|
13758
|
+
/** @enum {string|null} */
|
|
13759
|
+
status?: "active" | "inactive" | null;
|
|
13760
|
+
} | null;
|
|
13761
|
+
}[];
|
|
13762
|
+
bankRecords: {
|
|
13763
|
+
reconciled: number;
|
|
13764
|
+
unreconciled: number;
|
|
13765
|
+
total: number;
|
|
13766
|
+
latestCreatedAt?: string | null;
|
|
13626
13767
|
};
|
|
13627
|
-
|
|
13768
|
+
balance?: {
|
|
13769
|
+
openingDate?: string | null;
|
|
13770
|
+
opening: number;
|
|
13771
|
+
ending: number;
|
|
13772
|
+
} | null;
|
|
13773
|
+
} | null;
|
|
13628
13774
|
}[];
|
|
13775
|
+
createdAt: string;
|
|
13629
13776
|
systemSections: {
|
|
13630
13777
|
id?: string | null;
|
|
13631
13778
|
name: string;
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
columns: {
|
|
13779
|
+
locked?: boolean | null;
|
|
13780
|
+
/** @enum {string|null} */
|
|
13781
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13782
|
+
columns: ({
|
|
13637
13783
|
id?: string | null;
|
|
13638
13784
|
name: string;
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
}) | null;
|
|
13785
|
+
locked?: boolean | null;
|
|
13786
|
+
/** @enum {string|null} */
|
|
13787
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13643
13788
|
/** @enum {string} */
|
|
13644
|
-
|
|
13645
|
-
|
|
13646
|
-
|
|
13789
|
+
type: "field";
|
|
13790
|
+
value: string;
|
|
13791
|
+
} | {
|
|
13792
|
+
id?: string | null;
|
|
13793
|
+
name: string;
|
|
13794
|
+
locked?: boolean | null;
|
|
13795
|
+
/** @enum {string|null} */
|
|
13796
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13647
13797
|
/** @enum {string} */
|
|
13648
|
-
|
|
13649
|
-
|
|
13650
|
-
|
|
13651
|
-
[key: string]: unknown;
|
|
13652
|
-
};
|
|
13653
|
-
sectionId?: string | null;
|
|
13654
|
-
invert?: boolean;
|
|
13655
|
-
fees?: {
|
|
13656
|
-
[key: string]: unknown;
|
|
13657
|
-
};
|
|
13658
|
-
}[];
|
|
13659
|
-
}[];
|
|
13660
|
-
activeListings?: {
|
|
13661
|
-
id: string;
|
|
13662
|
-
name: string;
|
|
13798
|
+
type: "accounts";
|
|
13799
|
+
value: string[];
|
|
13800
|
+
})[];
|
|
13663
13801
|
}[];
|
|
13664
13802
|
};
|
|
13665
13803
|
rows: ({
|
|
@@ -13963,7 +14101,7 @@ export interface operations {
|
|
|
13963
14101
|
/** @description Date in format YYYY-MM */
|
|
13964
14102
|
month?: string;
|
|
13965
14103
|
search?: string;
|
|
13966
|
-
status?: "draft" | "inReview" | "void" | "published";
|
|
14104
|
+
status?: ("draft" | "inReview" | "void" | "published") | "all";
|
|
13967
14105
|
/** @description comma separated owners */
|
|
13968
14106
|
ownerIds?: string;
|
|
13969
14107
|
/** @description comma separated owners */
|
|
@@ -14096,7 +14234,7 @@ export interface operations {
|
|
|
14096
14234
|
uniqueRef: string | null;
|
|
14097
14235
|
};
|
|
14098
14236
|
/** @enum {string} */
|
|
14099
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
14237
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
14100
14238
|
ownership: {
|
|
14101
14239
|
id: string;
|
|
14102
14240
|
startAt: string;
|
|
@@ -14344,7 +14482,7 @@ export interface operations {
|
|
|
14344
14482
|
uniqueRef: string | null;
|
|
14345
14483
|
};
|
|
14346
14484
|
/** @enum {string} */
|
|
14347
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
14485
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
14348
14486
|
ownership: {
|
|
14349
14487
|
id: string;
|
|
14350
14488
|
startAt: string;
|
|
@@ -14357,109 +14495,155 @@ export interface operations {
|
|
|
14357
14495
|
}[];
|
|
14358
14496
|
} | null;
|
|
14359
14497
|
layout: {
|
|
14360
|
-
id: string;
|
|
14361
14498
|
name: string;
|
|
14362
|
-
/**
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
*/
|
|
14366
|
-
summaryType: "default" | "invoice";
|
|
14499
|
+
/** @enum {string|null} */
|
|
14500
|
+
summaryType?: "default" | "invoice" | null;
|
|
14501
|
+
isDefault: boolean;
|
|
14367
14502
|
netRevenueSections: {
|
|
14368
14503
|
id?: string | null;
|
|
14369
14504
|
name: string;
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
columns: {
|
|
14505
|
+
locked?: boolean | null;
|
|
14506
|
+
/** @enum {string|null} */
|
|
14507
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14508
|
+
columns: ({
|
|
14375
14509
|
id?: string | null;
|
|
14376
14510
|
name: string;
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
}) | null;
|
|
14511
|
+
locked?: boolean | null;
|
|
14512
|
+
/** @enum {string|null} */
|
|
14513
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14381
14514
|
/** @enum {string} */
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14515
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
14516
|
+
value: string;
|
|
14517
|
+
} | {
|
|
14518
|
+
id?: string | null;
|
|
14519
|
+
name: string;
|
|
14520
|
+
locked?: boolean | null;
|
|
14521
|
+
/** @enum {string|null} */
|
|
14522
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14385
14523
|
/** @enum {string} */
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
|
|
14389
|
-
[key: string]: unknown;
|
|
14390
|
-
};
|
|
14391
|
-
sectionId?: string | null;
|
|
14392
|
-
invert?: boolean;
|
|
14393
|
-
fees?: {
|
|
14394
|
-
[key: string]: unknown;
|
|
14395
|
-
};
|
|
14396
|
-
}[];
|
|
14524
|
+
type: "accounts";
|
|
14525
|
+
value: string[];
|
|
14526
|
+
})[];
|
|
14397
14527
|
}[];
|
|
14398
14528
|
otherSections: {
|
|
14399
14529
|
id?: string | null;
|
|
14400
14530
|
name: string;
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
columns: {
|
|
14531
|
+
locked?: boolean | null;
|
|
14532
|
+
/** @enum {string|null} */
|
|
14533
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14534
|
+
columns: ({
|
|
14406
14535
|
id?: string | null;
|
|
14407
14536
|
name: string;
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
}) | null;
|
|
14537
|
+
locked?: boolean | null;
|
|
14538
|
+
/** @enum {string|null} */
|
|
14539
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14412
14540
|
/** @enum {string} */
|
|
14413
|
-
|
|
14414
|
-
|
|
14415
|
-
|
|
14541
|
+
type: "field";
|
|
14542
|
+
value: string;
|
|
14543
|
+
} | {
|
|
14544
|
+
id?: string | null;
|
|
14545
|
+
name: string;
|
|
14546
|
+
locked?: boolean | null;
|
|
14547
|
+
/** @enum {string|null} */
|
|
14548
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14416
14549
|
/** @enum {string} */
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14425
|
-
|
|
14550
|
+
type: "accounts";
|
|
14551
|
+
value: string[];
|
|
14552
|
+
})[];
|
|
14553
|
+
}[];
|
|
14554
|
+
id: string;
|
|
14555
|
+
activeListings: {
|
|
14556
|
+
id: string;
|
|
14557
|
+
name?: string | null;
|
|
14558
|
+
}[];
|
|
14559
|
+
linkedAccounts: {
|
|
14560
|
+
name: string;
|
|
14561
|
+
/** @enum {string|null} */
|
|
14562
|
+
status?: "active" | "inactive" | null;
|
|
14563
|
+
/** @enum {string} */
|
|
14564
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
14565
|
+
id: string;
|
|
14566
|
+
offsetAccount?: {
|
|
14567
|
+
id: string;
|
|
14568
|
+
name: string;
|
|
14569
|
+
} | null;
|
|
14570
|
+
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")[];
|
|
14571
|
+
category?: {
|
|
14572
|
+
id: string;
|
|
14573
|
+
name: string;
|
|
14574
|
+
/** @enum {string|null} */
|
|
14575
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
14576
|
+
} | null;
|
|
14577
|
+
banking?: {
|
|
14578
|
+
/** @enum {string|null} */
|
|
14579
|
+
category?: "trust" | "operating" | "external" | null;
|
|
14580
|
+
/** @enum {string|null} */
|
|
14581
|
+
type?: "deposit" | "creditCard" | null;
|
|
14582
|
+
last4?: string | null;
|
|
14583
|
+
currency?: string | null;
|
|
14584
|
+
connections: {
|
|
14585
|
+
id: string;
|
|
14586
|
+
name: string;
|
|
14587
|
+
connection?: {
|
|
14588
|
+
id: string;
|
|
14589
|
+
icon?: string | null;
|
|
14590
|
+
} | null;
|
|
14591
|
+
/** @enum {string|null} */
|
|
14592
|
+
status?: "active" | "inactive" | null;
|
|
14593
|
+
currentSync?: {
|
|
14594
|
+
/** @enum {string} */
|
|
14595
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
14596
|
+
createdAt: string;
|
|
14597
|
+
updatedAt: string;
|
|
14598
|
+
message?: string | null;
|
|
14599
|
+
} | null;
|
|
14600
|
+
source?: {
|
|
14601
|
+
/** Format: uuid */
|
|
14602
|
+
id: string;
|
|
14603
|
+
type: string;
|
|
14604
|
+
/** @enum {string|null} */
|
|
14605
|
+
status?: "active" | "inactive" | null;
|
|
14606
|
+
} | null;
|
|
14607
|
+
}[];
|
|
14608
|
+
bankRecords: {
|
|
14609
|
+
reconciled: number;
|
|
14610
|
+
unreconciled: number;
|
|
14611
|
+
total: number;
|
|
14612
|
+
latestCreatedAt?: string | null;
|
|
14426
14613
|
};
|
|
14427
|
-
|
|
14614
|
+
balance?: {
|
|
14615
|
+
openingDate?: string | null;
|
|
14616
|
+
opening: number;
|
|
14617
|
+
ending: number;
|
|
14618
|
+
} | null;
|
|
14619
|
+
} | null;
|
|
14428
14620
|
}[];
|
|
14621
|
+
createdAt: string;
|
|
14429
14622
|
systemSections: {
|
|
14430
14623
|
id?: string | null;
|
|
14431
14624
|
name: string;
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
|
|
14436
|
-
columns: {
|
|
14625
|
+
locked?: boolean | null;
|
|
14626
|
+
/** @enum {string|null} */
|
|
14627
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14628
|
+
columns: ({
|
|
14437
14629
|
id?: string | null;
|
|
14438
14630
|
name: string;
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
}) | null;
|
|
14631
|
+
locked?: boolean | null;
|
|
14632
|
+
/** @enum {string|null} */
|
|
14633
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14443
14634
|
/** @enum {string} */
|
|
14444
|
-
|
|
14445
|
-
|
|
14446
|
-
|
|
14635
|
+
type: "field";
|
|
14636
|
+
value: string;
|
|
14637
|
+
} | {
|
|
14638
|
+
id?: string | null;
|
|
14639
|
+
name: string;
|
|
14640
|
+
locked?: boolean | null;
|
|
14641
|
+
/** @enum {string|null} */
|
|
14642
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14447
14643
|
/** @enum {string} */
|
|
14448
|
-
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
|
-
[key: string]: unknown;
|
|
14452
|
-
};
|
|
14453
|
-
sectionId?: string | null;
|
|
14454
|
-
invert?: boolean;
|
|
14455
|
-
fees?: {
|
|
14456
|
-
[key: string]: unknown;
|
|
14457
|
-
};
|
|
14458
|
-
}[];
|
|
14459
|
-
}[];
|
|
14460
|
-
activeListings?: {
|
|
14461
|
-
id: string;
|
|
14462
|
-
name: string;
|
|
14644
|
+
type: "accounts";
|
|
14645
|
+
value: string[];
|
|
14646
|
+
})[];
|
|
14463
14647
|
}[];
|
|
14464
14648
|
};
|
|
14465
14649
|
rows: ({
|