@vrplatform/api 1.2.33-stage.848 → 1.2.33-stage.851
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 +1175 -509
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +1175 -509
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +1175 -509
|
@@ -355,6 +355,75 @@ export interface paths {
|
|
|
355
355
|
patch?: never;
|
|
356
356
|
trace?: never;
|
|
357
357
|
};
|
|
358
|
+
"/listings/{id}/opening-balance": {
|
|
359
|
+
parameters: {
|
|
360
|
+
query?: never;
|
|
361
|
+
header?: never;
|
|
362
|
+
path?: never;
|
|
363
|
+
cookie?: never;
|
|
364
|
+
};
|
|
365
|
+
/** @description Get opening balance for listing */
|
|
366
|
+
get: operations["getListingOpeningBalance"];
|
|
367
|
+
/** @description Update opening balance for listing */
|
|
368
|
+
put: operations["updateListingOpeningBalance"];
|
|
369
|
+
post?: never;
|
|
370
|
+
delete?: never;
|
|
371
|
+
options?: never;
|
|
372
|
+
head?: never;
|
|
373
|
+
patch?: never;
|
|
374
|
+
trace?: never;
|
|
375
|
+
};
|
|
376
|
+
"/teams/opening-balances": {
|
|
377
|
+
parameters: {
|
|
378
|
+
query?: never;
|
|
379
|
+
header?: never;
|
|
380
|
+
path?: never;
|
|
381
|
+
cookie?: never;
|
|
382
|
+
};
|
|
383
|
+
/** @description Retrieve tenant opening balances overview */
|
|
384
|
+
get: operations["getTenantOpeningBalances"];
|
|
385
|
+
put?: never;
|
|
386
|
+
post?: never;
|
|
387
|
+
delete?: never;
|
|
388
|
+
options?: never;
|
|
389
|
+
head?: never;
|
|
390
|
+
patch?: never;
|
|
391
|
+
trace?: never;
|
|
392
|
+
};
|
|
393
|
+
"/teams/opening-balances/tax-payable": {
|
|
394
|
+
parameters: {
|
|
395
|
+
query?: never;
|
|
396
|
+
header?: never;
|
|
397
|
+
path?: never;
|
|
398
|
+
cookie?: never;
|
|
399
|
+
};
|
|
400
|
+
get?: never;
|
|
401
|
+
/** @description Update opening balance tax payable */
|
|
402
|
+
put: operations["updateTenantTaxPayable"];
|
|
403
|
+
post?: never;
|
|
404
|
+
delete?: never;
|
|
405
|
+
options?: never;
|
|
406
|
+
head?: never;
|
|
407
|
+
patch?: never;
|
|
408
|
+
trace?: never;
|
|
409
|
+
};
|
|
410
|
+
"/teams/opening-balances/advanced-deposits": {
|
|
411
|
+
parameters: {
|
|
412
|
+
query?: never;
|
|
413
|
+
header?: never;
|
|
414
|
+
path?: never;
|
|
415
|
+
cookie?: never;
|
|
416
|
+
};
|
|
417
|
+
get?: never;
|
|
418
|
+
/** @description Update opening balance advanced deposits */
|
|
419
|
+
put: operations["updateTenantAdvancedDeposits"];
|
|
420
|
+
post?: never;
|
|
421
|
+
delete?: never;
|
|
422
|
+
options?: never;
|
|
423
|
+
head?: never;
|
|
424
|
+
patch?: never;
|
|
425
|
+
trace?: never;
|
|
426
|
+
};
|
|
358
427
|
"/teams/{id}": {
|
|
359
428
|
parameters: {
|
|
360
429
|
query?: never;
|
|
@@ -8016,10 +8085,12 @@ export interface operations {
|
|
|
8016
8085
|
};
|
|
8017
8086
|
};
|
|
8018
8087
|
};
|
|
8019
|
-
|
|
8088
|
+
getListingOpeningBalance: {
|
|
8020
8089
|
parameters: {
|
|
8021
8090
|
query?: never;
|
|
8022
|
-
header?:
|
|
8091
|
+
header?: {
|
|
8092
|
+
"X-Team-Id"?: string;
|
|
8093
|
+
};
|
|
8023
8094
|
path: {
|
|
8024
8095
|
id: string;
|
|
8025
8096
|
};
|
|
@@ -8035,79 +8106,13 @@ export interface operations {
|
|
|
8035
8106
|
content: {
|
|
8036
8107
|
"application/json": {
|
|
8037
8108
|
/** Format: uuid */
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
statementAddress?: {
|
|
8045
|
-
full?: string | null;
|
|
8046
|
-
line1?: string | null;
|
|
8047
|
-
line2?: string | null;
|
|
8048
|
-
city?: string | null;
|
|
8049
|
-
/** @deprecated */
|
|
8050
|
-
state?: string | null;
|
|
8051
|
-
postalCode?: string | null;
|
|
8052
|
-
stateCode?: string | null;
|
|
8053
|
-
countryCode?: string | null;
|
|
8054
|
-
} | null;
|
|
8055
|
-
billingAddress?: {
|
|
8056
|
-
full?: string | null;
|
|
8057
|
-
line1?: string | null;
|
|
8058
|
-
line2?: string | null;
|
|
8059
|
-
city?: string | null;
|
|
8060
|
-
/** @deprecated */
|
|
8061
|
-
state?: string | null;
|
|
8062
|
-
postalCode?: string | null;
|
|
8063
|
-
stateCode?: string | null;
|
|
8064
|
-
countryCode?: string | null;
|
|
8065
|
-
} | null;
|
|
8066
|
-
phone?: string | null;
|
|
8067
|
-
email?: string | null;
|
|
8068
|
-
taxId?: string | null;
|
|
8069
|
-
partner?: {
|
|
8070
|
-
/** Format: uuid */
|
|
8071
|
-
id: string;
|
|
8072
|
-
name: string;
|
|
8073
|
-
} | null;
|
|
8074
|
-
billingPartner?: {
|
|
8075
|
-
/** Format: uuid */
|
|
8076
|
-
id: string;
|
|
8077
|
-
name: string;
|
|
8078
|
-
} | null;
|
|
8079
|
-
companyName?: string | null;
|
|
8080
|
-
/** @enum {string} */
|
|
8081
|
-
type: "propertyManager" | "partner" | "admin";
|
|
8082
|
-
/** @enum {string} */
|
|
8083
|
-
status: "active" | "inactive";
|
|
8084
|
-
billingSubscriptionStatus?: string | null;
|
|
8085
|
-
billingPlan?: string | null;
|
|
8086
|
-
createdAt?: string | null;
|
|
8109
|
+
listingId: string;
|
|
8110
|
+
/** @description Value in cents (100 = 1€) */
|
|
8111
|
+
centTotal: number;
|
|
8112
|
+
currency: string;
|
|
8113
|
+
effectiveAt: string | null;
|
|
8114
|
+
note?: string | null;
|
|
8087
8115
|
updatedAt?: string | null;
|
|
8088
|
-
trialUntil?: string | null;
|
|
8089
|
-
cancelledAt?: string | null;
|
|
8090
|
-
isOnboarding?: boolean | null;
|
|
8091
|
-
issues: {
|
|
8092
|
-
/** @enum {string} */
|
|
8093
|
-
code: "unassignedAccount";
|
|
8094
|
-
/** @enum {string} */
|
|
8095
|
-
severity: "error";
|
|
8096
|
-
context: {
|
|
8097
|
-
accountIds: string[];
|
|
8098
|
-
};
|
|
8099
|
-
}[];
|
|
8100
|
-
isGeneralLedger?: boolean | null;
|
|
8101
|
-
booksClosedAt?: string | null;
|
|
8102
|
-
logo?: string | null;
|
|
8103
|
-
statementStartAt?: string | null;
|
|
8104
|
-
members?: {
|
|
8105
|
-
userId: string;
|
|
8106
|
-
email?: string | null;
|
|
8107
|
-
role: string;
|
|
8108
|
-
name?: string | null;
|
|
8109
|
-
firstName?: string | null;
|
|
8110
|
-
}[] | null;
|
|
8111
8116
|
};
|
|
8112
8117
|
};
|
|
8113
8118
|
};
|
|
@@ -8158,7 +8163,7 @@ export interface operations {
|
|
|
8158
8163
|
};
|
|
8159
8164
|
};
|
|
8160
8165
|
};
|
|
8161
|
-
|
|
8166
|
+
updateListingOpeningBalance: {
|
|
8162
8167
|
parameters: {
|
|
8163
8168
|
query?: never;
|
|
8164
8169
|
header?: {
|
|
@@ -8172,66 +8177,11 @@ export interface operations {
|
|
|
8172
8177
|
requestBody: {
|
|
8173
8178
|
content: {
|
|
8174
8179
|
"application/json": {
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
statementAddress?: {
|
|
8181
|
-
full?: string | null;
|
|
8182
|
-
line1?: string | null;
|
|
8183
|
-
line2?: string | null;
|
|
8184
|
-
city?: string | null;
|
|
8185
|
-
/** @deprecated */
|
|
8186
|
-
state?: string | null;
|
|
8187
|
-
postalCode?: string | null;
|
|
8188
|
-
stateCode?: string | null;
|
|
8189
|
-
countryCode?: string | null;
|
|
8190
|
-
} | null;
|
|
8191
|
-
billingAddress?: {
|
|
8192
|
-
full?: string | null;
|
|
8193
|
-
line1?: string | null;
|
|
8194
|
-
line2?: string | null;
|
|
8195
|
-
city?: string | null;
|
|
8196
|
-
/** @deprecated */
|
|
8197
|
-
state?: string | null;
|
|
8198
|
-
postalCode?: string | null;
|
|
8199
|
-
stateCode?: string | null;
|
|
8200
|
-
countryCode?: string | null;
|
|
8201
|
-
} | null;
|
|
8202
|
-
phone?: string | null;
|
|
8203
|
-
email?: string | null;
|
|
8204
|
-
taxId?: string | null;
|
|
8205
|
-
companyName?: string | null;
|
|
8206
|
-
/** @enum {string} */
|
|
8207
|
-
type?: "propertyManager" | "partner" | "admin";
|
|
8208
|
-
billingSubscriptionStatus?: string | null;
|
|
8209
|
-
billingPlan?: string | null;
|
|
8210
|
-
trialUntil?: string | null;
|
|
8211
|
-
cancelledAt?: string | null;
|
|
8212
|
-
isOnboarding?: boolean | null;
|
|
8213
|
-
booksClosedAt?: string | null;
|
|
8214
|
-
logo?: string | null;
|
|
8215
|
-
statementStartAt?: string | null;
|
|
8216
|
-
partnerId?: string | null;
|
|
8217
|
-
billingPartnerId?: string | null;
|
|
8218
|
-
/** @description Cancelation or Reinstatement of the team. */
|
|
8219
|
-
cancelation?: {
|
|
8220
|
-
/** @description Date on which the cancelation will take effect or null if an active cancellation should be withdrawn. */
|
|
8221
|
-
effectiveAt: string | null;
|
|
8222
|
-
/**
|
|
8223
|
-
* @description Reason for the cancelation if effectiveAt is set.
|
|
8224
|
-
* @enum {string}
|
|
8225
|
-
*/
|
|
8226
|
-
reason?: "different-expectations" | "different-provider" | "missing-feature" | "no-longer-needed" | "switch-to-gl" | "removed-from-billing-console" | "other";
|
|
8227
|
-
/** @description Feedback for the cancelation if effectiveAt is set. */
|
|
8228
|
-
feedback?: string | null;
|
|
8229
|
-
} | null;
|
|
8230
|
-
/**
|
|
8231
|
-
* @description Only status of partner teams can be updated
|
|
8232
|
-
* @enum {string}
|
|
8233
|
-
*/
|
|
8234
|
-
status?: "active" | "inactive";
|
|
8180
|
+
/** @description Value in cents (100 = 1€) */
|
|
8181
|
+
centTotal: number;
|
|
8182
|
+
currency?: string | null;
|
|
8183
|
+
effectiveAt?: string | null;
|
|
8184
|
+
note?: string | null;
|
|
8235
8185
|
};
|
|
8236
8186
|
};
|
|
8237
8187
|
};
|
|
@@ -8244,60 +8194,592 @@ export interface operations {
|
|
|
8244
8194
|
content: {
|
|
8245
8195
|
"application/json": {
|
|
8246
8196
|
/** Format: uuid */
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
statementAddress?: {
|
|
8254
|
-
full?: string | null;
|
|
8255
|
-
line1?: string | null;
|
|
8256
|
-
line2?: string | null;
|
|
8257
|
-
city?: string | null;
|
|
8258
|
-
/** @deprecated */
|
|
8259
|
-
state?: string | null;
|
|
8260
|
-
postalCode?: string | null;
|
|
8261
|
-
stateCode?: string | null;
|
|
8262
|
-
countryCode?: string | null;
|
|
8263
|
-
} | null;
|
|
8264
|
-
billingAddress?: {
|
|
8265
|
-
full?: string | null;
|
|
8266
|
-
line1?: string | null;
|
|
8267
|
-
line2?: string | null;
|
|
8268
|
-
city?: string | null;
|
|
8269
|
-
/** @deprecated */
|
|
8270
|
-
state?: string | null;
|
|
8271
|
-
postalCode?: string | null;
|
|
8272
|
-
stateCode?: string | null;
|
|
8273
|
-
countryCode?: string | null;
|
|
8274
|
-
} | null;
|
|
8275
|
-
phone?: string | null;
|
|
8276
|
-
email?: string | null;
|
|
8277
|
-
taxId?: string | null;
|
|
8278
|
-
partner?: {
|
|
8279
|
-
/** Format: uuid */
|
|
8280
|
-
id: string;
|
|
8281
|
-
name: string;
|
|
8282
|
-
} | null;
|
|
8283
|
-
billingPartner?: {
|
|
8284
|
-
/** Format: uuid */
|
|
8285
|
-
id: string;
|
|
8286
|
-
name: string;
|
|
8287
|
-
} | null;
|
|
8288
|
-
companyName?: string | null;
|
|
8289
|
-
/** @enum {string} */
|
|
8290
|
-
type: "propertyManager" | "partner" | "admin";
|
|
8291
|
-
/** @enum {string} */
|
|
8292
|
-
status: "active" | "inactive";
|
|
8293
|
-
billingSubscriptionStatus?: string | null;
|
|
8294
|
-
billingPlan?: string | null;
|
|
8295
|
-
createdAt?: string | null;
|
|
8197
|
+
listingId: string;
|
|
8198
|
+
/** @description Value in cents (100 = 1€) */
|
|
8199
|
+
centTotal: number;
|
|
8200
|
+
currency: string;
|
|
8201
|
+
effectiveAt: string | null;
|
|
8202
|
+
note?: string | null;
|
|
8296
8203
|
updatedAt?: string | null;
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8204
|
+
};
|
|
8205
|
+
};
|
|
8206
|
+
};
|
|
8207
|
+
/** @description Invalid input data */
|
|
8208
|
+
400: {
|
|
8209
|
+
headers: {
|
|
8210
|
+
[name: string]: unknown;
|
|
8211
|
+
};
|
|
8212
|
+
content: {
|
|
8213
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8214
|
+
};
|
|
8215
|
+
};
|
|
8216
|
+
/** @description Authorization not provided */
|
|
8217
|
+
401: {
|
|
8218
|
+
headers: {
|
|
8219
|
+
[name: string]: unknown;
|
|
8220
|
+
};
|
|
8221
|
+
content: {
|
|
8222
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8223
|
+
};
|
|
8224
|
+
};
|
|
8225
|
+
/** @description Insufficient access */
|
|
8226
|
+
403: {
|
|
8227
|
+
headers: {
|
|
8228
|
+
[name: string]: unknown;
|
|
8229
|
+
};
|
|
8230
|
+
content: {
|
|
8231
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8232
|
+
};
|
|
8233
|
+
};
|
|
8234
|
+
/** @description Not found */
|
|
8235
|
+
404: {
|
|
8236
|
+
headers: {
|
|
8237
|
+
[name: string]: unknown;
|
|
8238
|
+
};
|
|
8239
|
+
content: {
|
|
8240
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8241
|
+
};
|
|
8242
|
+
};
|
|
8243
|
+
/** @description Internal server error */
|
|
8244
|
+
500: {
|
|
8245
|
+
headers: {
|
|
8246
|
+
[name: string]: unknown;
|
|
8247
|
+
};
|
|
8248
|
+
content: {
|
|
8249
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8250
|
+
};
|
|
8251
|
+
};
|
|
8252
|
+
};
|
|
8253
|
+
};
|
|
8254
|
+
getTenantOpeningBalances: {
|
|
8255
|
+
parameters: {
|
|
8256
|
+
query?: never;
|
|
8257
|
+
header?: {
|
|
8258
|
+
"X-Team-Id"?: string;
|
|
8259
|
+
};
|
|
8260
|
+
path?: never;
|
|
8261
|
+
cookie?: never;
|
|
8262
|
+
};
|
|
8263
|
+
requestBody?: never;
|
|
8264
|
+
responses: {
|
|
8265
|
+
/** @description Successful response */
|
|
8266
|
+
200: {
|
|
8267
|
+
headers: {
|
|
8268
|
+
[name: string]: unknown;
|
|
8269
|
+
};
|
|
8270
|
+
content: {
|
|
8271
|
+
"application/json": {
|
|
8272
|
+
/** @description Value in cents (100 = 1€) */
|
|
8273
|
+
taxPayableCentTotal: number;
|
|
8274
|
+
/** @description Value in cents (100 = 1€) */
|
|
8275
|
+
advancedDepositsCentTotal: number;
|
|
8276
|
+
currency: string;
|
|
8277
|
+
note?: string | null;
|
|
8278
|
+
updatedAt?: string | null;
|
|
8279
|
+
};
|
|
8280
|
+
};
|
|
8281
|
+
};
|
|
8282
|
+
/** @description Invalid input data */
|
|
8283
|
+
400: {
|
|
8284
|
+
headers: {
|
|
8285
|
+
[name: string]: unknown;
|
|
8286
|
+
};
|
|
8287
|
+
content: {
|
|
8288
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8289
|
+
};
|
|
8290
|
+
};
|
|
8291
|
+
/** @description Authorization not provided */
|
|
8292
|
+
401: {
|
|
8293
|
+
headers: {
|
|
8294
|
+
[name: string]: unknown;
|
|
8295
|
+
};
|
|
8296
|
+
content: {
|
|
8297
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8300
|
+
/** @description Insufficient access */
|
|
8301
|
+
403: {
|
|
8302
|
+
headers: {
|
|
8303
|
+
[name: string]: unknown;
|
|
8304
|
+
};
|
|
8305
|
+
content: {
|
|
8306
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8307
|
+
};
|
|
8308
|
+
};
|
|
8309
|
+
/** @description Not found */
|
|
8310
|
+
404: {
|
|
8311
|
+
headers: {
|
|
8312
|
+
[name: string]: unknown;
|
|
8313
|
+
};
|
|
8314
|
+
content: {
|
|
8315
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8316
|
+
};
|
|
8317
|
+
};
|
|
8318
|
+
/** @description Internal server error */
|
|
8319
|
+
500: {
|
|
8320
|
+
headers: {
|
|
8321
|
+
[name: string]: unknown;
|
|
8322
|
+
};
|
|
8323
|
+
content: {
|
|
8324
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8325
|
+
};
|
|
8326
|
+
};
|
|
8327
|
+
};
|
|
8328
|
+
};
|
|
8329
|
+
updateTenantTaxPayable: {
|
|
8330
|
+
parameters: {
|
|
8331
|
+
query?: never;
|
|
8332
|
+
header?: {
|
|
8333
|
+
"X-Team-Id"?: string;
|
|
8334
|
+
};
|
|
8335
|
+
path?: never;
|
|
8336
|
+
cookie?: never;
|
|
8337
|
+
};
|
|
8338
|
+
requestBody: {
|
|
8339
|
+
content: {
|
|
8340
|
+
"application/json": {
|
|
8341
|
+
/** @description Value in cents (100 = 1€) */
|
|
8342
|
+
centTotal: number;
|
|
8343
|
+
currency?: string | null;
|
|
8344
|
+
effectiveAt?: string | null;
|
|
8345
|
+
note?: string | null;
|
|
8346
|
+
};
|
|
8347
|
+
};
|
|
8348
|
+
};
|
|
8349
|
+
responses: {
|
|
8350
|
+
/** @description Successful response */
|
|
8351
|
+
200: {
|
|
8352
|
+
headers: {
|
|
8353
|
+
[name: string]: unknown;
|
|
8354
|
+
};
|
|
8355
|
+
content: {
|
|
8356
|
+
"application/json": {
|
|
8357
|
+
/** @description Value in cents (100 = 1€) */
|
|
8358
|
+
taxPayableCentTotal: number;
|
|
8359
|
+
/** @description Value in cents (100 = 1€) */
|
|
8360
|
+
advancedDepositsCentTotal: number;
|
|
8361
|
+
currency: string;
|
|
8362
|
+
note?: string | null;
|
|
8363
|
+
updatedAt?: string | null;
|
|
8364
|
+
};
|
|
8365
|
+
};
|
|
8366
|
+
};
|
|
8367
|
+
/** @description Invalid input data */
|
|
8368
|
+
400: {
|
|
8369
|
+
headers: {
|
|
8370
|
+
[name: string]: unknown;
|
|
8371
|
+
};
|
|
8372
|
+
content: {
|
|
8373
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8374
|
+
};
|
|
8375
|
+
};
|
|
8376
|
+
/** @description Authorization not provided */
|
|
8377
|
+
401: {
|
|
8378
|
+
headers: {
|
|
8379
|
+
[name: string]: unknown;
|
|
8380
|
+
};
|
|
8381
|
+
content: {
|
|
8382
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8383
|
+
};
|
|
8384
|
+
};
|
|
8385
|
+
/** @description Insufficient access */
|
|
8386
|
+
403: {
|
|
8387
|
+
headers: {
|
|
8388
|
+
[name: string]: unknown;
|
|
8389
|
+
};
|
|
8390
|
+
content: {
|
|
8391
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8392
|
+
};
|
|
8393
|
+
};
|
|
8394
|
+
/** @description Not found */
|
|
8395
|
+
404: {
|
|
8396
|
+
headers: {
|
|
8397
|
+
[name: string]: unknown;
|
|
8398
|
+
};
|
|
8399
|
+
content: {
|
|
8400
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8401
|
+
};
|
|
8402
|
+
};
|
|
8403
|
+
/** @description Internal server error */
|
|
8404
|
+
500: {
|
|
8405
|
+
headers: {
|
|
8406
|
+
[name: string]: unknown;
|
|
8407
|
+
};
|
|
8408
|
+
content: {
|
|
8409
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8410
|
+
};
|
|
8411
|
+
};
|
|
8412
|
+
};
|
|
8413
|
+
};
|
|
8414
|
+
updateTenantAdvancedDeposits: {
|
|
8415
|
+
parameters: {
|
|
8416
|
+
query?: never;
|
|
8417
|
+
header?: {
|
|
8418
|
+
"X-Team-Id"?: string;
|
|
8419
|
+
};
|
|
8420
|
+
path?: never;
|
|
8421
|
+
cookie?: never;
|
|
8422
|
+
};
|
|
8423
|
+
requestBody: {
|
|
8424
|
+
content: {
|
|
8425
|
+
"application/json": {
|
|
8426
|
+
/** @description Value in cents (100 = 1€) */
|
|
8427
|
+
centTotal: number;
|
|
8428
|
+
currency?: string | null;
|
|
8429
|
+
effectiveAt?: string | null;
|
|
8430
|
+
/** Format: uuid */
|
|
8431
|
+
accountId: string;
|
|
8432
|
+
note?: string | null;
|
|
8433
|
+
};
|
|
8434
|
+
};
|
|
8435
|
+
};
|
|
8436
|
+
responses: {
|
|
8437
|
+
/** @description Successful response */
|
|
8438
|
+
200: {
|
|
8439
|
+
headers: {
|
|
8440
|
+
[name: string]: unknown;
|
|
8441
|
+
};
|
|
8442
|
+
content: {
|
|
8443
|
+
"application/json": {
|
|
8444
|
+
/** @description Value in cents (100 = 1€) */
|
|
8445
|
+
taxPayableCentTotal: number;
|
|
8446
|
+
/** @description Value in cents (100 = 1€) */
|
|
8447
|
+
advancedDepositsCentTotal: number;
|
|
8448
|
+
currency: string;
|
|
8449
|
+
note?: string | null;
|
|
8450
|
+
updatedAt?: string | null;
|
|
8451
|
+
};
|
|
8452
|
+
};
|
|
8453
|
+
};
|
|
8454
|
+
/** @description Invalid input data */
|
|
8455
|
+
400: {
|
|
8456
|
+
headers: {
|
|
8457
|
+
[name: string]: unknown;
|
|
8458
|
+
};
|
|
8459
|
+
content: {
|
|
8460
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8461
|
+
};
|
|
8462
|
+
};
|
|
8463
|
+
/** @description Authorization not provided */
|
|
8464
|
+
401: {
|
|
8465
|
+
headers: {
|
|
8466
|
+
[name: string]: unknown;
|
|
8467
|
+
};
|
|
8468
|
+
content: {
|
|
8469
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8470
|
+
};
|
|
8471
|
+
};
|
|
8472
|
+
/** @description Insufficient access */
|
|
8473
|
+
403: {
|
|
8474
|
+
headers: {
|
|
8475
|
+
[name: string]: unknown;
|
|
8476
|
+
};
|
|
8477
|
+
content: {
|
|
8478
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8479
|
+
};
|
|
8480
|
+
};
|
|
8481
|
+
/** @description Not found */
|
|
8482
|
+
404: {
|
|
8483
|
+
headers: {
|
|
8484
|
+
[name: string]: unknown;
|
|
8485
|
+
};
|
|
8486
|
+
content: {
|
|
8487
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
/** @description Internal server error */
|
|
8491
|
+
500: {
|
|
8492
|
+
headers: {
|
|
8493
|
+
[name: string]: unknown;
|
|
8494
|
+
};
|
|
8495
|
+
content: {
|
|
8496
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8497
|
+
};
|
|
8498
|
+
};
|
|
8499
|
+
};
|
|
8500
|
+
};
|
|
8501
|
+
getTeam: {
|
|
8502
|
+
parameters: {
|
|
8503
|
+
query?: never;
|
|
8504
|
+
header?: never;
|
|
8505
|
+
path: {
|
|
8506
|
+
id: string;
|
|
8507
|
+
};
|
|
8508
|
+
cookie?: never;
|
|
8509
|
+
};
|
|
8510
|
+
requestBody?: never;
|
|
8511
|
+
responses: {
|
|
8512
|
+
/** @description Successful response */
|
|
8513
|
+
200: {
|
|
8514
|
+
headers: {
|
|
8515
|
+
[name: string]: unknown;
|
|
8516
|
+
};
|
|
8517
|
+
content: {
|
|
8518
|
+
"application/json": {
|
|
8519
|
+
/** Format: uuid */
|
|
8520
|
+
id: string;
|
|
8521
|
+
defaultCurrency?: string | null;
|
|
8522
|
+
longTermStayNights?: number | null;
|
|
8523
|
+
/** @enum {string|null} */
|
|
8524
|
+
defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
8525
|
+
name: string;
|
|
8526
|
+
statementAddress?: {
|
|
8527
|
+
full?: string | null;
|
|
8528
|
+
line1?: string | null;
|
|
8529
|
+
line2?: string | null;
|
|
8530
|
+
city?: string | null;
|
|
8531
|
+
/** @deprecated */
|
|
8532
|
+
state?: string | null;
|
|
8533
|
+
postalCode?: string | null;
|
|
8534
|
+
stateCode?: string | null;
|
|
8535
|
+
countryCode?: string | null;
|
|
8536
|
+
} | null;
|
|
8537
|
+
billingAddress?: {
|
|
8538
|
+
full?: string | null;
|
|
8539
|
+
line1?: string | null;
|
|
8540
|
+
line2?: string | null;
|
|
8541
|
+
city?: string | null;
|
|
8542
|
+
/** @deprecated */
|
|
8543
|
+
state?: string | null;
|
|
8544
|
+
postalCode?: string | null;
|
|
8545
|
+
stateCode?: string | null;
|
|
8546
|
+
countryCode?: string | null;
|
|
8547
|
+
} | null;
|
|
8548
|
+
phone?: string | null;
|
|
8549
|
+
email?: string | null;
|
|
8550
|
+
taxId?: string | null;
|
|
8551
|
+
partner?: {
|
|
8552
|
+
/** Format: uuid */
|
|
8553
|
+
id: string;
|
|
8554
|
+
name: string;
|
|
8555
|
+
} | null;
|
|
8556
|
+
billingPartner?: {
|
|
8557
|
+
/** Format: uuid */
|
|
8558
|
+
id: string;
|
|
8559
|
+
name: string;
|
|
8560
|
+
} | null;
|
|
8561
|
+
companyName?: string | null;
|
|
8562
|
+
/** @enum {string} */
|
|
8563
|
+
type: "propertyManager" | "partner" | "admin";
|
|
8564
|
+
/** @enum {string} */
|
|
8565
|
+
status: "active" | "inactive";
|
|
8566
|
+
billingSubscriptionStatus?: string | null;
|
|
8567
|
+
billingPlan?: string | null;
|
|
8568
|
+
createdAt?: string | null;
|
|
8569
|
+
updatedAt?: string | null;
|
|
8570
|
+
trialUntil?: string | null;
|
|
8571
|
+
cancelledAt?: string | null;
|
|
8572
|
+
isOnboarding?: boolean | null;
|
|
8573
|
+
issues: {
|
|
8574
|
+
/** @enum {string} */
|
|
8575
|
+
code: "unassignedAccount";
|
|
8576
|
+
/** @enum {string} */
|
|
8577
|
+
severity: "error";
|
|
8578
|
+
context: {
|
|
8579
|
+
accountIds: string[];
|
|
8580
|
+
};
|
|
8581
|
+
}[];
|
|
8582
|
+
isGeneralLedger?: boolean | null;
|
|
8583
|
+
booksClosedAt?: string | null;
|
|
8584
|
+
logo?: string | null;
|
|
8585
|
+
statementStartAt?: string | null;
|
|
8586
|
+
members?: {
|
|
8587
|
+
userId: string;
|
|
8588
|
+
email?: string | null;
|
|
8589
|
+
role: string;
|
|
8590
|
+
name?: string | null;
|
|
8591
|
+
firstName?: string | null;
|
|
8592
|
+
}[] | null;
|
|
8593
|
+
};
|
|
8594
|
+
};
|
|
8595
|
+
};
|
|
8596
|
+
/** @description Invalid input data */
|
|
8597
|
+
400: {
|
|
8598
|
+
headers: {
|
|
8599
|
+
[name: string]: unknown;
|
|
8600
|
+
};
|
|
8601
|
+
content: {
|
|
8602
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8603
|
+
};
|
|
8604
|
+
};
|
|
8605
|
+
/** @description Authorization not provided */
|
|
8606
|
+
401: {
|
|
8607
|
+
headers: {
|
|
8608
|
+
[name: string]: unknown;
|
|
8609
|
+
};
|
|
8610
|
+
content: {
|
|
8611
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8612
|
+
};
|
|
8613
|
+
};
|
|
8614
|
+
/** @description Insufficient access */
|
|
8615
|
+
403: {
|
|
8616
|
+
headers: {
|
|
8617
|
+
[name: string]: unknown;
|
|
8618
|
+
};
|
|
8619
|
+
content: {
|
|
8620
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8621
|
+
};
|
|
8622
|
+
};
|
|
8623
|
+
/** @description Not found */
|
|
8624
|
+
404: {
|
|
8625
|
+
headers: {
|
|
8626
|
+
[name: string]: unknown;
|
|
8627
|
+
};
|
|
8628
|
+
content: {
|
|
8629
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8630
|
+
};
|
|
8631
|
+
};
|
|
8632
|
+
/** @description Internal server error */
|
|
8633
|
+
500: {
|
|
8634
|
+
headers: {
|
|
8635
|
+
[name: string]: unknown;
|
|
8636
|
+
};
|
|
8637
|
+
content: {
|
|
8638
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8639
|
+
};
|
|
8640
|
+
};
|
|
8641
|
+
};
|
|
8642
|
+
};
|
|
8643
|
+
updateTeam: {
|
|
8644
|
+
parameters: {
|
|
8645
|
+
query?: never;
|
|
8646
|
+
header?: {
|
|
8647
|
+
"X-Team-Id"?: string;
|
|
8648
|
+
};
|
|
8649
|
+
path: {
|
|
8650
|
+
id: string;
|
|
8651
|
+
};
|
|
8652
|
+
cookie?: never;
|
|
8653
|
+
};
|
|
8654
|
+
requestBody: {
|
|
8655
|
+
content: {
|
|
8656
|
+
"application/json": {
|
|
8657
|
+
defaultCurrency?: string | null;
|
|
8658
|
+
longTermStayNights?: number | null;
|
|
8659
|
+
/** @enum {string|null} */
|
|
8660
|
+
defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
8661
|
+
name?: string;
|
|
8662
|
+
statementAddress?: {
|
|
8663
|
+
full?: string | null;
|
|
8664
|
+
line1?: string | null;
|
|
8665
|
+
line2?: string | null;
|
|
8666
|
+
city?: string | null;
|
|
8667
|
+
/** @deprecated */
|
|
8668
|
+
state?: string | null;
|
|
8669
|
+
postalCode?: string | null;
|
|
8670
|
+
stateCode?: string | null;
|
|
8671
|
+
countryCode?: string | null;
|
|
8672
|
+
} | null;
|
|
8673
|
+
billingAddress?: {
|
|
8674
|
+
full?: string | null;
|
|
8675
|
+
line1?: string | null;
|
|
8676
|
+
line2?: string | null;
|
|
8677
|
+
city?: string | null;
|
|
8678
|
+
/** @deprecated */
|
|
8679
|
+
state?: string | null;
|
|
8680
|
+
postalCode?: string | null;
|
|
8681
|
+
stateCode?: string | null;
|
|
8682
|
+
countryCode?: string | null;
|
|
8683
|
+
} | null;
|
|
8684
|
+
phone?: string | null;
|
|
8685
|
+
email?: string | null;
|
|
8686
|
+
taxId?: string | null;
|
|
8687
|
+
companyName?: string | null;
|
|
8688
|
+
/** @enum {string} */
|
|
8689
|
+
type?: "propertyManager" | "partner" | "admin";
|
|
8690
|
+
billingSubscriptionStatus?: string | null;
|
|
8691
|
+
billingPlan?: string | null;
|
|
8692
|
+
trialUntil?: string | null;
|
|
8693
|
+
cancelledAt?: string | null;
|
|
8694
|
+
isOnboarding?: boolean | null;
|
|
8695
|
+
booksClosedAt?: string | null;
|
|
8696
|
+
logo?: string | null;
|
|
8697
|
+
statementStartAt?: string | null;
|
|
8698
|
+
partnerId?: string | null;
|
|
8699
|
+
billingPartnerId?: string | null;
|
|
8700
|
+
/** @description Cancelation or Reinstatement of the team. */
|
|
8701
|
+
cancelation?: {
|
|
8702
|
+
/** @description Date on which the cancelation will take effect or null if an active cancellation should be withdrawn. */
|
|
8703
|
+
effectiveAt: string | null;
|
|
8704
|
+
/**
|
|
8705
|
+
* @description Reason for the cancelation if effectiveAt is set.
|
|
8706
|
+
* @enum {string}
|
|
8707
|
+
*/
|
|
8708
|
+
reason?: "different-expectations" | "different-provider" | "missing-feature" | "no-longer-needed" | "switch-to-gl" | "removed-from-billing-console" | "other";
|
|
8709
|
+
/** @description Feedback for the cancelation if effectiveAt is set. */
|
|
8710
|
+
feedback?: string | null;
|
|
8711
|
+
} | null;
|
|
8712
|
+
/**
|
|
8713
|
+
* @description Only status of partner teams can be updated
|
|
8714
|
+
* @enum {string}
|
|
8715
|
+
*/
|
|
8716
|
+
status?: "active" | "inactive";
|
|
8717
|
+
};
|
|
8718
|
+
};
|
|
8719
|
+
};
|
|
8720
|
+
responses: {
|
|
8721
|
+
/** @description Successful response */
|
|
8722
|
+
200: {
|
|
8723
|
+
headers: {
|
|
8724
|
+
[name: string]: unknown;
|
|
8725
|
+
};
|
|
8726
|
+
content: {
|
|
8727
|
+
"application/json": {
|
|
8728
|
+
/** Format: uuid */
|
|
8729
|
+
id: string;
|
|
8730
|
+
defaultCurrency?: string | null;
|
|
8731
|
+
longTermStayNights?: number | null;
|
|
8732
|
+
/** @enum {string|null} */
|
|
8733
|
+
defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
8734
|
+
name: string;
|
|
8735
|
+
statementAddress?: {
|
|
8736
|
+
full?: string | null;
|
|
8737
|
+
line1?: string | null;
|
|
8738
|
+
line2?: string | null;
|
|
8739
|
+
city?: string | null;
|
|
8740
|
+
/** @deprecated */
|
|
8741
|
+
state?: string | null;
|
|
8742
|
+
postalCode?: string | null;
|
|
8743
|
+
stateCode?: string | null;
|
|
8744
|
+
countryCode?: string | null;
|
|
8745
|
+
} | null;
|
|
8746
|
+
billingAddress?: {
|
|
8747
|
+
full?: string | null;
|
|
8748
|
+
line1?: string | null;
|
|
8749
|
+
line2?: string | null;
|
|
8750
|
+
city?: string | null;
|
|
8751
|
+
/** @deprecated */
|
|
8752
|
+
state?: string | null;
|
|
8753
|
+
postalCode?: string | null;
|
|
8754
|
+
stateCode?: string | null;
|
|
8755
|
+
countryCode?: string | null;
|
|
8756
|
+
} | null;
|
|
8757
|
+
phone?: string | null;
|
|
8758
|
+
email?: string | null;
|
|
8759
|
+
taxId?: string | null;
|
|
8760
|
+
partner?: {
|
|
8761
|
+
/** Format: uuid */
|
|
8762
|
+
id: string;
|
|
8763
|
+
name: string;
|
|
8764
|
+
} | null;
|
|
8765
|
+
billingPartner?: {
|
|
8766
|
+
/** Format: uuid */
|
|
8767
|
+
id: string;
|
|
8768
|
+
name: string;
|
|
8769
|
+
} | null;
|
|
8770
|
+
companyName?: string | null;
|
|
8771
|
+
/** @enum {string} */
|
|
8772
|
+
type: "propertyManager" | "partner" | "admin";
|
|
8773
|
+
/** @enum {string} */
|
|
8774
|
+
status: "active" | "inactive";
|
|
8775
|
+
billingSubscriptionStatus?: string | null;
|
|
8776
|
+
billingPlan?: string | null;
|
|
8777
|
+
createdAt?: string | null;
|
|
8778
|
+
updatedAt?: string | null;
|
|
8779
|
+
trialUntil?: string | null;
|
|
8780
|
+
cancelledAt?: string | null;
|
|
8781
|
+
isOnboarding?: boolean | null;
|
|
8782
|
+
issues: {
|
|
8301
8783
|
/** @enum {string} */
|
|
8302
8784
|
code: "unassignedAccount";
|
|
8303
8785
|
/** @enum {string} */
|
|
@@ -12611,7 +13093,7 @@ export interface operations {
|
|
|
12611
13093
|
uniqueRef: string | null;
|
|
12612
13094
|
};
|
|
12613
13095
|
/** @enum {string} */
|
|
12614
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
13096
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
12615
13097
|
ownership: {
|
|
12616
13098
|
id: string;
|
|
12617
13099
|
startAt: string;
|
|
@@ -12624,109 +13106,155 @@ export interface operations {
|
|
|
12624
13106
|
}[];
|
|
12625
13107
|
} | null;
|
|
12626
13108
|
layout: {
|
|
12627
|
-
id: string;
|
|
12628
13109
|
name: string;
|
|
12629
|
-
/**
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
*/
|
|
12633
|
-
summaryType: "default" | "invoice";
|
|
13110
|
+
/** @enum {string|null} */
|
|
13111
|
+
summaryType?: "default" | "invoice" | null;
|
|
13112
|
+
isDefault: boolean;
|
|
12634
13113
|
netRevenueSections: {
|
|
12635
13114
|
id?: string | null;
|
|
12636
13115
|
name: string;
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
columns: {
|
|
13116
|
+
locked?: boolean | null;
|
|
13117
|
+
/** @enum {string|null} */
|
|
13118
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13119
|
+
columns: ({
|
|
12642
13120
|
id?: string | null;
|
|
12643
13121
|
name: string;
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
}) | null;
|
|
13122
|
+
locked?: boolean | null;
|
|
13123
|
+
/** @enum {string|null} */
|
|
13124
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12648
13125
|
/** @enum {string} */
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
13126
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
13127
|
+
value: string;
|
|
13128
|
+
} | {
|
|
13129
|
+
id?: string | null;
|
|
13130
|
+
name: string;
|
|
13131
|
+
locked?: boolean | null;
|
|
13132
|
+
/** @enum {string|null} */
|
|
13133
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12652
13134
|
/** @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
|
-
}[];
|
|
13135
|
+
type: "accounts";
|
|
13136
|
+
value: string[];
|
|
13137
|
+
})[];
|
|
12664
13138
|
}[];
|
|
12665
13139
|
otherSections: {
|
|
12666
13140
|
id?: string | null;
|
|
12667
13141
|
name: string;
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
13142
|
+
locked?: boolean | null;
|
|
13143
|
+
/** @enum {string|null} */
|
|
13144
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13145
|
+
columns: ({
|
|
13146
|
+
id?: string | null;
|
|
13147
|
+
name: string;
|
|
13148
|
+
locked?: boolean | null;
|
|
13149
|
+
/** @enum {string|null} */
|
|
13150
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13151
|
+
/** @enum {string} */
|
|
13152
|
+
type: "field";
|
|
13153
|
+
value: string;
|
|
13154
|
+
} | {
|
|
12673
13155
|
id?: string | null;
|
|
12674
13156
|
name: string;
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
}
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
13157
|
+
locked?: boolean | null;
|
|
13158
|
+
/** @enum {string|null} */
|
|
13159
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13160
|
+
/** @enum {string} */
|
|
13161
|
+
type: "accounts";
|
|
13162
|
+
value: string[];
|
|
13163
|
+
})[];
|
|
13164
|
+
}[];
|
|
13165
|
+
id: string;
|
|
13166
|
+
activeListings: {
|
|
13167
|
+
id: string;
|
|
13168
|
+
name?: string | null;
|
|
13169
|
+
}[];
|
|
13170
|
+
linkedAccounts: {
|
|
13171
|
+
name: string;
|
|
13172
|
+
/** @enum {string|null} */
|
|
13173
|
+
status?: "active" | "inactive" | null;
|
|
13174
|
+
/** @enum {string} */
|
|
13175
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
13176
|
+
id: string;
|
|
13177
|
+
offsetAccount?: {
|
|
13178
|
+
id: string;
|
|
13179
|
+
name: string;
|
|
13180
|
+
} | null;
|
|
13181
|
+
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")[];
|
|
13182
|
+
category?: {
|
|
13183
|
+
id: string;
|
|
13184
|
+
name: string;
|
|
13185
|
+
/** @enum {string|null} */
|
|
13186
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
13187
|
+
} | null;
|
|
13188
|
+
banking?: {
|
|
13189
|
+
/** @enum {string|null} */
|
|
13190
|
+
category?: "trust" | "operating" | "external" | null;
|
|
13191
|
+
/** @enum {string|null} */
|
|
13192
|
+
type?: "deposit" | "creditCard" | null;
|
|
13193
|
+
last4?: string | null;
|
|
13194
|
+
currency?: string | null;
|
|
13195
|
+
connections: {
|
|
13196
|
+
id: string;
|
|
13197
|
+
name: string;
|
|
13198
|
+
connection?: {
|
|
13199
|
+
id: string;
|
|
13200
|
+
icon?: string | null;
|
|
13201
|
+
} | null;
|
|
13202
|
+
/** @enum {string|null} */
|
|
13203
|
+
status?: "active" | "inactive" | null;
|
|
13204
|
+
currentSync?: {
|
|
13205
|
+
/** @enum {string} */
|
|
13206
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
13207
|
+
createdAt: string;
|
|
13208
|
+
updatedAt: string;
|
|
13209
|
+
message?: string | null;
|
|
13210
|
+
} | null;
|
|
13211
|
+
source?: {
|
|
13212
|
+
/** Format: uuid */
|
|
13213
|
+
id: string;
|
|
13214
|
+
type: string;
|
|
13215
|
+
/** @enum {string|null} */
|
|
13216
|
+
status?: "active" | "inactive" | null;
|
|
13217
|
+
} | null;
|
|
13218
|
+
}[];
|
|
13219
|
+
bankRecords: {
|
|
13220
|
+
reconciled: number;
|
|
13221
|
+
unreconciled: number;
|
|
13222
|
+
total: number;
|
|
13223
|
+
latestCreatedAt?: string | null;
|
|
12693
13224
|
};
|
|
12694
|
-
|
|
13225
|
+
balance?: {
|
|
13226
|
+
openingDate?: string | null;
|
|
13227
|
+
opening: number;
|
|
13228
|
+
ending: number;
|
|
13229
|
+
} | null;
|
|
13230
|
+
} | null;
|
|
12695
13231
|
}[];
|
|
13232
|
+
createdAt: string;
|
|
12696
13233
|
systemSections: {
|
|
12697
13234
|
id?: string | null;
|
|
12698
13235
|
name: string;
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
columns: {
|
|
13236
|
+
locked?: boolean | null;
|
|
13237
|
+
/** @enum {string|null} */
|
|
13238
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13239
|
+
columns: ({
|
|
12704
13240
|
id?: string | null;
|
|
12705
13241
|
name: string;
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
}) | null;
|
|
13242
|
+
locked?: boolean | null;
|
|
13243
|
+
/** @enum {string|null} */
|
|
13244
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12710
13245
|
/** @enum {string} */
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
13246
|
+
type: "field";
|
|
13247
|
+
value: string;
|
|
13248
|
+
} | {
|
|
13249
|
+
id?: string | null;
|
|
13250
|
+
name: string;
|
|
13251
|
+
locked?: boolean | null;
|
|
13252
|
+
/** @enum {string|null} */
|
|
13253
|
+
visible?: "all" | "manager" | "none" | null;
|
|
12714
13254
|
/** @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;
|
|
13255
|
+
type: "accounts";
|
|
13256
|
+
value: string[];
|
|
13257
|
+
})[];
|
|
12730
13258
|
}[];
|
|
12731
13259
|
};
|
|
12732
13260
|
rows: ({
|
|
@@ -13073,7 +13601,7 @@ export interface operations {
|
|
|
13073
13601
|
uniqueRef: string | null;
|
|
13074
13602
|
};
|
|
13075
13603
|
/** @enum {string} */
|
|
13076
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
13604
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
13077
13605
|
ownership: {
|
|
13078
13606
|
id: string;
|
|
13079
13607
|
startAt: string;
|
|
@@ -13086,109 +13614,155 @@ export interface operations {
|
|
|
13086
13614
|
}[];
|
|
13087
13615
|
} | null;
|
|
13088
13616
|
layout: {
|
|
13089
|
-
id: string;
|
|
13090
13617
|
name: string;
|
|
13091
|
-
/**
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
*/
|
|
13095
|
-
summaryType: "default" | "invoice";
|
|
13618
|
+
/** @enum {string|null} */
|
|
13619
|
+
summaryType?: "default" | "invoice" | null;
|
|
13620
|
+
isDefault: boolean;
|
|
13096
13621
|
netRevenueSections: {
|
|
13097
13622
|
id?: string | null;
|
|
13098
13623
|
name: string;
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
|
-
|
|
13103
|
-
columns: {
|
|
13624
|
+
locked?: boolean | null;
|
|
13625
|
+
/** @enum {string|null} */
|
|
13626
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13627
|
+
columns: ({
|
|
13104
13628
|
id?: string | null;
|
|
13105
13629
|
name: string;
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13109
|
-
}) | null;
|
|
13630
|
+
locked?: boolean | null;
|
|
13631
|
+
/** @enum {string|null} */
|
|
13632
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13110
13633
|
/** @enum {string} */
|
|
13111
|
-
|
|
13112
|
-
|
|
13113
|
-
|
|
13634
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
13635
|
+
value: string;
|
|
13636
|
+
} | {
|
|
13637
|
+
id?: string | null;
|
|
13638
|
+
name: string;
|
|
13639
|
+
locked?: boolean | null;
|
|
13640
|
+
/** @enum {string|null} */
|
|
13641
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13114
13642
|
/** @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
|
-
}[];
|
|
13643
|
+
type: "accounts";
|
|
13644
|
+
value: string[];
|
|
13645
|
+
})[];
|
|
13126
13646
|
}[];
|
|
13127
13647
|
otherSections: {
|
|
13128
13648
|
id?: string | null;
|
|
13129
13649
|
name: string;
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
columns: {
|
|
13650
|
+
locked?: boolean | null;
|
|
13651
|
+
/** @enum {string|null} */
|
|
13652
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13653
|
+
columns: ({
|
|
13135
13654
|
id?: string | null;
|
|
13136
13655
|
name: string;
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
}) | null;
|
|
13656
|
+
locked?: boolean | null;
|
|
13657
|
+
/** @enum {string|null} */
|
|
13658
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13141
13659
|
/** @enum {string} */
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13660
|
+
type: "field";
|
|
13661
|
+
value: string;
|
|
13662
|
+
} | {
|
|
13663
|
+
id?: string | null;
|
|
13664
|
+
name: string;
|
|
13665
|
+
locked?: boolean | null;
|
|
13666
|
+
/** @enum {string|null} */
|
|
13667
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13145
13668
|
/** @enum {string} */
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13669
|
+
type: "accounts";
|
|
13670
|
+
value: string[];
|
|
13671
|
+
})[];
|
|
13672
|
+
}[];
|
|
13673
|
+
id: string;
|
|
13674
|
+
activeListings: {
|
|
13675
|
+
id: string;
|
|
13676
|
+
name?: string | null;
|
|
13677
|
+
}[];
|
|
13678
|
+
linkedAccounts: {
|
|
13679
|
+
name: string;
|
|
13680
|
+
/** @enum {string|null} */
|
|
13681
|
+
status?: "active" | "inactive" | null;
|
|
13682
|
+
/** @enum {string} */
|
|
13683
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
13684
|
+
id: string;
|
|
13685
|
+
offsetAccount?: {
|
|
13686
|
+
id: string;
|
|
13687
|
+
name: string;
|
|
13688
|
+
} | null;
|
|
13689
|
+
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")[];
|
|
13690
|
+
category?: {
|
|
13691
|
+
id: string;
|
|
13692
|
+
name: string;
|
|
13693
|
+
/** @enum {string|null} */
|
|
13694
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
13695
|
+
} | null;
|
|
13696
|
+
banking?: {
|
|
13697
|
+
/** @enum {string|null} */
|
|
13698
|
+
category?: "trust" | "operating" | "external" | null;
|
|
13699
|
+
/** @enum {string|null} */
|
|
13700
|
+
type?: "deposit" | "creditCard" | null;
|
|
13701
|
+
last4?: string | null;
|
|
13702
|
+
currency?: string | null;
|
|
13703
|
+
connections: {
|
|
13704
|
+
id: string;
|
|
13705
|
+
name: string;
|
|
13706
|
+
connection?: {
|
|
13707
|
+
id: string;
|
|
13708
|
+
icon?: string | null;
|
|
13709
|
+
} | null;
|
|
13710
|
+
/** @enum {string|null} */
|
|
13711
|
+
status?: "active" | "inactive" | null;
|
|
13712
|
+
currentSync?: {
|
|
13713
|
+
/** @enum {string} */
|
|
13714
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
13715
|
+
createdAt: string;
|
|
13716
|
+
updatedAt: string;
|
|
13717
|
+
message?: string | null;
|
|
13718
|
+
} | null;
|
|
13719
|
+
source?: {
|
|
13720
|
+
/** Format: uuid */
|
|
13721
|
+
id: string;
|
|
13722
|
+
type: string;
|
|
13723
|
+
/** @enum {string|null} */
|
|
13724
|
+
status?: "active" | "inactive" | null;
|
|
13725
|
+
} | null;
|
|
13726
|
+
}[];
|
|
13727
|
+
bankRecords: {
|
|
13728
|
+
reconciled: number;
|
|
13729
|
+
unreconciled: number;
|
|
13730
|
+
total: number;
|
|
13731
|
+
latestCreatedAt?: string | null;
|
|
13155
13732
|
};
|
|
13156
|
-
|
|
13733
|
+
balance?: {
|
|
13734
|
+
openingDate?: string | null;
|
|
13735
|
+
opening: number;
|
|
13736
|
+
ending: number;
|
|
13737
|
+
} | null;
|
|
13738
|
+
} | null;
|
|
13157
13739
|
}[];
|
|
13740
|
+
createdAt: string;
|
|
13158
13741
|
systemSections: {
|
|
13159
13742
|
id?: string | null;
|
|
13160
13743
|
name: string;
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
columns: {
|
|
13744
|
+
locked?: boolean | null;
|
|
13745
|
+
/** @enum {string|null} */
|
|
13746
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13747
|
+
columns: ({
|
|
13166
13748
|
id?: string | null;
|
|
13167
13749
|
name: string;
|
|
13168
|
-
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
}) | null;
|
|
13750
|
+
locked?: boolean | null;
|
|
13751
|
+
/** @enum {string|null} */
|
|
13752
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13172
13753
|
/** @enum {string} */
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13754
|
+
type: "field";
|
|
13755
|
+
value: string;
|
|
13756
|
+
} | {
|
|
13757
|
+
id?: string | null;
|
|
13758
|
+
name: string;
|
|
13759
|
+
locked?: boolean | null;
|
|
13760
|
+
/** @enum {string|null} */
|
|
13761
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13176
13762
|
/** @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;
|
|
13763
|
+
type: "accounts";
|
|
13764
|
+
value: string[];
|
|
13765
|
+
})[];
|
|
13192
13766
|
}[];
|
|
13193
13767
|
};
|
|
13194
13768
|
rows: ({
|
|
@@ -13544,7 +14118,7 @@ export interface operations {
|
|
|
13544
14118
|
uniqueRef: string | null;
|
|
13545
14119
|
};
|
|
13546
14120
|
/** @enum {string} */
|
|
13547
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
14121
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
13548
14122
|
ownership: {
|
|
13549
14123
|
id: string;
|
|
13550
14124
|
startAt: string;
|
|
@@ -13557,109 +14131,155 @@ export interface operations {
|
|
|
13557
14131
|
}[];
|
|
13558
14132
|
} | null;
|
|
13559
14133
|
layout: {
|
|
13560
|
-
id: string;
|
|
13561
14134
|
name: string;
|
|
13562
|
-
/**
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
*/
|
|
13566
|
-
summaryType: "default" | "invoice";
|
|
14135
|
+
/** @enum {string|null} */
|
|
14136
|
+
summaryType?: "default" | "invoice" | null;
|
|
14137
|
+
isDefault: boolean;
|
|
13567
14138
|
netRevenueSections: {
|
|
13568
14139
|
id?: string | null;
|
|
13569
14140
|
name: string;
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
14141
|
+
locked?: boolean | null;
|
|
14142
|
+
/** @enum {string|null} */
|
|
14143
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14144
|
+
columns: ({
|
|
14145
|
+
id?: string | null;
|
|
14146
|
+
name: string;
|
|
14147
|
+
locked?: boolean | null;
|
|
14148
|
+
/** @enum {string|null} */
|
|
14149
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14150
|
+
/** @enum {string} */
|
|
14151
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
14152
|
+
value: string;
|
|
14153
|
+
} | {
|
|
13575
14154
|
id?: string | null;
|
|
13576
14155
|
name: string;
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
}) | null;
|
|
13581
|
-
/** @enum {string} */
|
|
13582
|
-
visible?: "all" | "manager" | "none";
|
|
13583
|
-
locked?: boolean;
|
|
13584
|
-
bold?: boolean;
|
|
14156
|
+
locked?: boolean | null;
|
|
14157
|
+
/** @enum {string|null} */
|
|
14158
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13585
14159
|
/** @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
|
-
}[];
|
|
14160
|
+
type: "accounts";
|
|
14161
|
+
value: string[];
|
|
14162
|
+
})[];
|
|
13597
14163
|
}[];
|
|
13598
14164
|
otherSections: {
|
|
13599
14165
|
id?: string | null;
|
|
13600
14166
|
name: string;
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13604
|
-
|
|
13605
|
-
columns: {
|
|
14167
|
+
locked?: boolean | null;
|
|
14168
|
+
/** @enum {string|null} */
|
|
14169
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14170
|
+
columns: ({
|
|
13606
14171
|
id?: string | null;
|
|
13607
14172
|
name: string;
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
}) | null;
|
|
14173
|
+
locked?: boolean | null;
|
|
14174
|
+
/** @enum {string|null} */
|
|
14175
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13612
14176
|
/** @enum {string} */
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
14177
|
+
type: "field";
|
|
14178
|
+
value: string;
|
|
14179
|
+
} | {
|
|
14180
|
+
id?: string | null;
|
|
14181
|
+
name: string;
|
|
14182
|
+
locked?: boolean | null;
|
|
14183
|
+
/** @enum {string|null} */
|
|
14184
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13616
14185
|
/** @enum {string} */
|
|
13617
|
-
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
14186
|
+
type: "accounts";
|
|
14187
|
+
value: string[];
|
|
14188
|
+
})[];
|
|
14189
|
+
}[];
|
|
14190
|
+
id: string;
|
|
14191
|
+
activeListings: {
|
|
14192
|
+
id: string;
|
|
14193
|
+
name?: string | null;
|
|
14194
|
+
}[];
|
|
14195
|
+
linkedAccounts: {
|
|
14196
|
+
name: string;
|
|
14197
|
+
/** @enum {string|null} */
|
|
14198
|
+
status?: "active" | "inactive" | null;
|
|
14199
|
+
/** @enum {string} */
|
|
14200
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
14201
|
+
id: string;
|
|
14202
|
+
offsetAccount?: {
|
|
14203
|
+
id: string;
|
|
14204
|
+
name: string;
|
|
14205
|
+
} | null;
|
|
14206
|
+
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")[];
|
|
14207
|
+
category?: {
|
|
14208
|
+
id: string;
|
|
14209
|
+
name: string;
|
|
14210
|
+
/** @enum {string|null} */
|
|
14211
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
14212
|
+
} | null;
|
|
14213
|
+
banking?: {
|
|
14214
|
+
/** @enum {string|null} */
|
|
14215
|
+
category?: "trust" | "operating" | "external" | null;
|
|
14216
|
+
/** @enum {string|null} */
|
|
14217
|
+
type?: "deposit" | "creditCard" | null;
|
|
14218
|
+
last4?: string | null;
|
|
14219
|
+
currency?: string | null;
|
|
14220
|
+
connections: {
|
|
14221
|
+
id: string;
|
|
14222
|
+
name: string;
|
|
14223
|
+
connection?: {
|
|
14224
|
+
id: string;
|
|
14225
|
+
icon?: string | null;
|
|
14226
|
+
} | null;
|
|
14227
|
+
/** @enum {string|null} */
|
|
14228
|
+
status?: "active" | "inactive" | null;
|
|
14229
|
+
currentSync?: {
|
|
14230
|
+
/** @enum {string} */
|
|
14231
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
14232
|
+
createdAt: string;
|
|
14233
|
+
updatedAt: string;
|
|
14234
|
+
message?: string | null;
|
|
14235
|
+
} | null;
|
|
14236
|
+
source?: {
|
|
14237
|
+
/** Format: uuid */
|
|
14238
|
+
id: string;
|
|
14239
|
+
type: string;
|
|
14240
|
+
/** @enum {string|null} */
|
|
14241
|
+
status?: "active" | "inactive" | null;
|
|
14242
|
+
} | null;
|
|
14243
|
+
}[];
|
|
14244
|
+
bankRecords: {
|
|
14245
|
+
reconciled: number;
|
|
14246
|
+
unreconciled: number;
|
|
14247
|
+
total: number;
|
|
14248
|
+
latestCreatedAt?: string | null;
|
|
13626
14249
|
};
|
|
13627
|
-
|
|
14250
|
+
balance?: {
|
|
14251
|
+
openingDate?: string | null;
|
|
14252
|
+
opening: number;
|
|
14253
|
+
ending: number;
|
|
14254
|
+
} | null;
|
|
14255
|
+
} | null;
|
|
13628
14256
|
}[];
|
|
14257
|
+
createdAt: string;
|
|
13629
14258
|
systemSections: {
|
|
13630
14259
|
id?: string | null;
|
|
13631
14260
|
name: string;
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
columns: {
|
|
14261
|
+
locked?: boolean | null;
|
|
14262
|
+
/** @enum {string|null} */
|
|
14263
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14264
|
+
columns: ({
|
|
13637
14265
|
id?: string | null;
|
|
13638
14266
|
name: string;
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
}) | null;
|
|
14267
|
+
locked?: boolean | null;
|
|
14268
|
+
/** @enum {string|null} */
|
|
14269
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13643
14270
|
/** @enum {string} */
|
|
13644
|
-
|
|
13645
|
-
|
|
13646
|
-
|
|
14271
|
+
type: "field";
|
|
14272
|
+
value: string;
|
|
14273
|
+
} | {
|
|
14274
|
+
id?: string | null;
|
|
14275
|
+
name: string;
|
|
14276
|
+
locked?: boolean | null;
|
|
14277
|
+
/** @enum {string|null} */
|
|
14278
|
+
visible?: "all" | "manager" | "none" | null;
|
|
13647
14279
|
/** @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;
|
|
14280
|
+
type: "accounts";
|
|
14281
|
+
value: string[];
|
|
14282
|
+
})[];
|
|
13663
14283
|
}[];
|
|
13664
14284
|
};
|
|
13665
14285
|
rows: ({
|
|
@@ -13963,7 +14583,7 @@ export interface operations {
|
|
|
13963
14583
|
/** @description Date in format YYYY-MM */
|
|
13964
14584
|
month?: string;
|
|
13965
14585
|
search?: string;
|
|
13966
|
-
status?: "draft" | "inReview" | "void" | "published";
|
|
14586
|
+
status?: ("draft" | "inReview" | "void" | "published") | "all";
|
|
13967
14587
|
/** @description comma separated owners */
|
|
13968
14588
|
ownerIds?: string;
|
|
13969
14589
|
/** @description comma separated owners */
|
|
@@ -14096,7 +14716,7 @@ export interface operations {
|
|
|
14096
14716
|
uniqueRef: string | null;
|
|
14097
14717
|
};
|
|
14098
14718
|
/** @enum {string} */
|
|
14099
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
14719
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
14100
14720
|
ownership: {
|
|
14101
14721
|
id: string;
|
|
14102
14722
|
startAt: string;
|
|
@@ -14344,7 +14964,7 @@ export interface operations {
|
|
|
14344
14964
|
uniqueRef: string | null;
|
|
14345
14965
|
};
|
|
14346
14966
|
/** @enum {string} */
|
|
14347
|
-
status: "draft" | "inReview" | "void" | "published"
|
|
14967
|
+
status: "draft" | "inReview" | "void" | "published";
|
|
14348
14968
|
ownership: {
|
|
14349
14969
|
id: string;
|
|
14350
14970
|
startAt: string;
|
|
@@ -14357,109 +14977,155 @@ export interface operations {
|
|
|
14357
14977
|
}[];
|
|
14358
14978
|
} | null;
|
|
14359
14979
|
layout: {
|
|
14360
|
-
id: string;
|
|
14361
14980
|
name: string;
|
|
14362
|
-
/**
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
*/
|
|
14366
|
-
summaryType: "default" | "invoice";
|
|
14981
|
+
/** @enum {string|null} */
|
|
14982
|
+
summaryType?: "default" | "invoice" | null;
|
|
14983
|
+
isDefault: boolean;
|
|
14367
14984
|
netRevenueSections: {
|
|
14368
14985
|
id?: string | null;
|
|
14369
14986
|
name: string;
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
columns: {
|
|
14987
|
+
locked?: boolean | null;
|
|
14988
|
+
/** @enum {string|null} */
|
|
14989
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14990
|
+
columns: ({
|
|
14375
14991
|
id?: string | null;
|
|
14376
14992
|
name: string;
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
}) | null;
|
|
14993
|
+
locked?: boolean | null;
|
|
14994
|
+
/** @enum {string|null} */
|
|
14995
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14381
14996
|
/** @enum {string} */
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14997
|
+
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
14998
|
+
value: string;
|
|
14999
|
+
} | {
|
|
15000
|
+
id?: string | null;
|
|
15001
|
+
name: string;
|
|
15002
|
+
locked?: boolean | null;
|
|
15003
|
+
/** @enum {string|null} */
|
|
15004
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14385
15005
|
/** @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
|
-
}[];
|
|
15006
|
+
type: "accounts";
|
|
15007
|
+
value: string[];
|
|
15008
|
+
})[];
|
|
14397
15009
|
}[];
|
|
14398
15010
|
otherSections: {
|
|
14399
15011
|
id?: string | null;
|
|
14400
15012
|
name: string;
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
columns: {
|
|
15013
|
+
locked?: boolean | null;
|
|
15014
|
+
/** @enum {string|null} */
|
|
15015
|
+
visible?: "all" | "manager" | "none" | null;
|
|
15016
|
+
columns: ({
|
|
14406
15017
|
id?: string | null;
|
|
14407
15018
|
name: string;
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
}) | null;
|
|
15019
|
+
locked?: boolean | null;
|
|
15020
|
+
/** @enum {string|null} */
|
|
15021
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14412
15022
|
/** @enum {string} */
|
|
14413
|
-
|
|
14414
|
-
|
|
14415
|
-
|
|
15023
|
+
type: "field";
|
|
15024
|
+
value: string;
|
|
15025
|
+
} | {
|
|
15026
|
+
id?: string | null;
|
|
15027
|
+
name: string;
|
|
15028
|
+
locked?: boolean | null;
|
|
15029
|
+
/** @enum {string|null} */
|
|
15030
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14416
15031
|
/** @enum {string} */
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14425
|
-
|
|
15032
|
+
type: "accounts";
|
|
15033
|
+
value: string[];
|
|
15034
|
+
})[];
|
|
15035
|
+
}[];
|
|
15036
|
+
id: string;
|
|
15037
|
+
activeListings: {
|
|
15038
|
+
id: string;
|
|
15039
|
+
name?: string | null;
|
|
15040
|
+
}[];
|
|
15041
|
+
linkedAccounts: {
|
|
15042
|
+
name: string;
|
|
15043
|
+
/** @enum {string|null} */
|
|
15044
|
+
status?: "active" | "inactive" | null;
|
|
15045
|
+
/** @enum {string} */
|
|
15046
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
15047
|
+
id: string;
|
|
15048
|
+
offsetAccount?: {
|
|
15049
|
+
id: string;
|
|
15050
|
+
name: string;
|
|
15051
|
+
} | null;
|
|
15052
|
+
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")[];
|
|
15053
|
+
category?: {
|
|
15054
|
+
id: string;
|
|
15055
|
+
name: string;
|
|
15056
|
+
/** @enum {string|null} */
|
|
15057
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
15058
|
+
} | null;
|
|
15059
|
+
banking?: {
|
|
15060
|
+
/** @enum {string|null} */
|
|
15061
|
+
category?: "trust" | "operating" | "external" | null;
|
|
15062
|
+
/** @enum {string|null} */
|
|
15063
|
+
type?: "deposit" | "creditCard" | null;
|
|
15064
|
+
last4?: string | null;
|
|
15065
|
+
currency?: string | null;
|
|
15066
|
+
connections: {
|
|
15067
|
+
id: string;
|
|
15068
|
+
name: string;
|
|
15069
|
+
connection?: {
|
|
15070
|
+
id: string;
|
|
15071
|
+
icon?: string | null;
|
|
15072
|
+
} | null;
|
|
15073
|
+
/** @enum {string|null} */
|
|
15074
|
+
status?: "active" | "inactive" | null;
|
|
15075
|
+
currentSync?: {
|
|
15076
|
+
/** @enum {string} */
|
|
15077
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
15078
|
+
createdAt: string;
|
|
15079
|
+
updatedAt: string;
|
|
15080
|
+
message?: string | null;
|
|
15081
|
+
} | null;
|
|
15082
|
+
source?: {
|
|
15083
|
+
/** Format: uuid */
|
|
15084
|
+
id: string;
|
|
15085
|
+
type: string;
|
|
15086
|
+
/** @enum {string|null} */
|
|
15087
|
+
status?: "active" | "inactive" | null;
|
|
15088
|
+
} | null;
|
|
15089
|
+
}[];
|
|
15090
|
+
bankRecords: {
|
|
15091
|
+
reconciled: number;
|
|
15092
|
+
unreconciled: number;
|
|
15093
|
+
total: number;
|
|
15094
|
+
latestCreatedAt?: string | null;
|
|
14426
15095
|
};
|
|
14427
|
-
|
|
15096
|
+
balance?: {
|
|
15097
|
+
openingDate?: string | null;
|
|
15098
|
+
opening: number;
|
|
15099
|
+
ending: number;
|
|
15100
|
+
} | null;
|
|
15101
|
+
} | null;
|
|
14428
15102
|
}[];
|
|
15103
|
+
createdAt: string;
|
|
14429
15104
|
systemSections: {
|
|
14430
15105
|
id?: string | null;
|
|
14431
15106
|
name: string;
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
|
|
14436
|
-
columns: {
|
|
15107
|
+
locked?: boolean | null;
|
|
15108
|
+
/** @enum {string|null} */
|
|
15109
|
+
visible?: "all" | "manager" | "none" | null;
|
|
15110
|
+
columns: ({
|
|
14437
15111
|
id?: string | null;
|
|
14438
15112
|
name: string;
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
}) | null;
|
|
15113
|
+
locked?: boolean | null;
|
|
15114
|
+
/** @enum {string|null} */
|
|
15115
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14443
15116
|
/** @enum {string} */
|
|
14444
|
-
|
|
14445
|
-
|
|
14446
|
-
|
|
15117
|
+
type: "field";
|
|
15118
|
+
value: string;
|
|
15119
|
+
} | {
|
|
15120
|
+
id?: string | null;
|
|
15121
|
+
name: string;
|
|
15122
|
+
locked?: boolean | null;
|
|
15123
|
+
/** @enum {string|null} */
|
|
15124
|
+
visible?: "all" | "manager" | "none" | null;
|
|
14447
15125
|
/** @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;
|
|
15126
|
+
type: "accounts";
|
|
15127
|
+
value: string[];
|
|
15128
|
+
})[];
|
|
14463
15129
|
}[];
|
|
14464
15130
|
};
|
|
14465
15131
|
rows: ({
|