@vrplatform/api 1.3.1-stage.2140 → 1.3.1-stage.2142
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 +303 -209
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +303 -209
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +303 -209
|
@@ -408,7 +408,7 @@ export interface paths {
|
|
|
408
408
|
};
|
|
409
409
|
get?: never;
|
|
410
410
|
put?: never;
|
|
411
|
-
/** @description Preview an unsaved bank rule against
|
|
411
|
+
/** @description Preview an unsaved bank rule against unmatched bank records it would affect */
|
|
412
412
|
post: operations["postBankRulesPreview"];
|
|
413
413
|
delete?: never;
|
|
414
414
|
options?: never;
|
|
@@ -2405,6 +2405,23 @@ export interface paths {
|
|
|
2405
2405
|
patch?: never;
|
|
2406
2406
|
trace?: never;
|
|
2407
2407
|
};
|
|
2408
|
+
"/statements/csv/detailed": {
|
|
2409
|
+
parameters: {
|
|
2410
|
+
query?: never;
|
|
2411
|
+
header?: never;
|
|
2412
|
+
path?: never;
|
|
2413
|
+
cookie?: never;
|
|
2414
|
+
};
|
|
2415
|
+
/** @description Get Owner Statement CSV export (detailed) */
|
|
2416
|
+
get: operations["getStatementsCsvDetailed"];
|
|
2417
|
+
put?: never;
|
|
2418
|
+
post?: never;
|
|
2419
|
+
delete?: never;
|
|
2420
|
+
options?: never;
|
|
2421
|
+
head?: never;
|
|
2422
|
+
patch?: never;
|
|
2423
|
+
trace?: never;
|
|
2424
|
+
};
|
|
2408
2425
|
"/statements/layouts": {
|
|
2409
2426
|
parameters: {
|
|
2410
2427
|
query?: never;
|
|
@@ -7169,78 +7186,13 @@ export interface operations {
|
|
|
7169
7186
|
/** Format: uuid */
|
|
7170
7187
|
id: string;
|
|
7171
7188
|
name: string;
|
|
7172
|
-
/** @enum {string} */
|
|
7173
|
-
status: "active" | "inactive";
|
|
7174
7189
|
priority: number;
|
|
7175
7190
|
/** @enum {string} */
|
|
7176
7191
|
transactionType: "deposit" | "expense";
|
|
7177
7192
|
/** @enum {string} */
|
|
7178
7193
|
mode: "suggest" | "autoCreateAndMatch";
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
amountMinCent?: number | null;
|
|
7182
|
-
amountMaxCent?: number | null;
|
|
7183
|
-
descriptionOverride?: string | null;
|
|
7184
|
-
usePriorMonthEnd: boolean;
|
|
7185
|
-
version: number;
|
|
7186
|
-
vendorContact?: {
|
|
7187
|
-
/** Format: uuid */
|
|
7188
|
-
id: string;
|
|
7189
|
-
name?: string | null;
|
|
7190
|
-
firstName?: string | null;
|
|
7191
|
-
uniqueRef?: string | null;
|
|
7192
|
-
shortRef?: string | null;
|
|
7193
|
-
} | null;
|
|
7194
|
-
accounts: {
|
|
7195
|
-
id: string;
|
|
7196
|
-
name: string;
|
|
7197
|
-
uniqueRef?: string | null;
|
|
7198
|
-
/** @enum {string} */
|
|
7199
|
-
status: "active" | "inactive";
|
|
7200
|
-
}[];
|
|
7201
|
-
lines: {
|
|
7202
|
-
/** Format: uuid */
|
|
7203
|
-
id: string;
|
|
7204
|
-
sortOrder: number;
|
|
7205
|
-
/** @enum {string} */
|
|
7206
|
-
splitMode: "fixed" | "percentage" | "remainder";
|
|
7207
|
-
fixedCentAmount?: number | null;
|
|
7208
|
-
percentageBps?: number | null;
|
|
7209
|
-
party?: ("owners" | "manager") | null;
|
|
7210
|
-
taxBehavior?: ("excluded" | "included") | null;
|
|
7211
|
-
descriptionOverride?: string | null;
|
|
7212
|
-
account: {
|
|
7213
|
-
id: string;
|
|
7214
|
-
name: string;
|
|
7215
|
-
uniqueRef?: string | null;
|
|
7216
|
-
/** @enum {string} */
|
|
7217
|
-
status: "active" | "inactive";
|
|
7218
|
-
};
|
|
7219
|
-
listing?: {
|
|
7220
|
-
/** Format: uuid */
|
|
7221
|
-
id: string;
|
|
7222
|
-
name: string;
|
|
7223
|
-
uniqueRef?: string | null;
|
|
7224
|
-
shortRef?: string | null;
|
|
7225
|
-
} | null;
|
|
7226
|
-
contact?: {
|
|
7227
|
-
/** Format: uuid */
|
|
7228
|
-
id: string;
|
|
7229
|
-
name?: string | null;
|
|
7230
|
-
firstName?: string | null;
|
|
7231
|
-
uniqueRef?: string | null;
|
|
7232
|
-
shortRef?: string | null;
|
|
7233
|
-
} | null;
|
|
7234
|
-
taxRate?: {
|
|
7235
|
-
id: string;
|
|
7236
|
-
name: string;
|
|
7237
|
-
/**
|
|
7238
|
-
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
7239
|
-
* @example 100000
|
|
7240
|
-
*/
|
|
7241
|
-
basisPoints: number;
|
|
7242
|
-
} | null;
|
|
7243
|
-
}[];
|
|
7194
|
+
/** @enum {string} */
|
|
7195
|
+
status: "active" | "inactive";
|
|
7244
7196
|
};
|
|
7245
7197
|
preview: {
|
|
7246
7198
|
matches: boolean;
|
|
@@ -7270,13 +7222,17 @@ export interface operations {
|
|
|
7270
7222
|
uniqueRef?: string | null;
|
|
7271
7223
|
description: string;
|
|
7272
7224
|
accountId?: string | null;
|
|
7273
|
-
assignment?:
|
|
7225
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
7274
7226
|
amount: number;
|
|
7275
7227
|
appliedAmount?: {
|
|
7276
7228
|
taxRateId?: string | null;
|
|
7277
7229
|
taxBehavior?: ("excluded" | "included") | null;
|
|
7278
7230
|
} | null;
|
|
7279
|
-
markup
|
|
7231
|
+
markup?: {
|
|
7232
|
+
amount?: number | null;
|
|
7233
|
+
taxRateId?: string | null;
|
|
7234
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7235
|
+
} | null;
|
|
7280
7236
|
listingId?: string | null;
|
|
7281
7237
|
reservationId?: string | null;
|
|
7282
7238
|
ownerStatementId?: string | null;
|
|
@@ -7774,78 +7730,13 @@ export interface operations {
|
|
|
7774
7730
|
/** Format: uuid */
|
|
7775
7731
|
id: string;
|
|
7776
7732
|
name: string;
|
|
7777
|
-
/** @enum {string} */
|
|
7778
|
-
status: "active" | "inactive";
|
|
7779
7733
|
priority: number;
|
|
7780
7734
|
/** @enum {string} */
|
|
7781
7735
|
transactionType: "deposit" | "expense";
|
|
7782
7736
|
/** @enum {string} */
|
|
7783
7737
|
mode: "suggest" | "autoCreateAndMatch";
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
amountMinCent?: number | null;
|
|
7787
|
-
amountMaxCent?: number | null;
|
|
7788
|
-
descriptionOverride?: string | null;
|
|
7789
|
-
usePriorMonthEnd: boolean;
|
|
7790
|
-
version: number;
|
|
7791
|
-
vendorContact?: {
|
|
7792
|
-
/** Format: uuid */
|
|
7793
|
-
id: string;
|
|
7794
|
-
name?: string | null;
|
|
7795
|
-
firstName?: string | null;
|
|
7796
|
-
uniqueRef?: string | null;
|
|
7797
|
-
shortRef?: string | null;
|
|
7798
|
-
} | null;
|
|
7799
|
-
accounts: {
|
|
7800
|
-
id: string;
|
|
7801
|
-
name: string;
|
|
7802
|
-
uniqueRef?: string | null;
|
|
7803
|
-
/** @enum {string} */
|
|
7804
|
-
status: "active" | "inactive";
|
|
7805
|
-
}[];
|
|
7806
|
-
lines: {
|
|
7807
|
-
/** Format: uuid */
|
|
7808
|
-
id: string;
|
|
7809
|
-
sortOrder: number;
|
|
7810
|
-
/** @enum {string} */
|
|
7811
|
-
splitMode: "fixed" | "percentage" | "remainder";
|
|
7812
|
-
fixedCentAmount?: number | null;
|
|
7813
|
-
percentageBps?: number | null;
|
|
7814
|
-
party?: ("owners" | "manager") | null;
|
|
7815
|
-
taxBehavior?: ("excluded" | "included") | null;
|
|
7816
|
-
descriptionOverride?: string | null;
|
|
7817
|
-
account: {
|
|
7818
|
-
id: string;
|
|
7819
|
-
name: string;
|
|
7820
|
-
uniqueRef?: string | null;
|
|
7821
|
-
/** @enum {string} */
|
|
7822
|
-
status: "active" | "inactive";
|
|
7823
|
-
};
|
|
7824
|
-
listing?: {
|
|
7825
|
-
/** Format: uuid */
|
|
7826
|
-
id: string;
|
|
7827
|
-
name: string;
|
|
7828
|
-
uniqueRef?: string | null;
|
|
7829
|
-
shortRef?: string | null;
|
|
7830
|
-
} | null;
|
|
7831
|
-
contact?: {
|
|
7832
|
-
/** Format: uuid */
|
|
7833
|
-
id: string;
|
|
7834
|
-
name?: string | null;
|
|
7835
|
-
firstName?: string | null;
|
|
7836
|
-
uniqueRef?: string | null;
|
|
7837
|
-
shortRef?: string | null;
|
|
7838
|
-
} | null;
|
|
7839
|
-
taxRate?: {
|
|
7840
|
-
id: string;
|
|
7841
|
-
name: string;
|
|
7842
|
-
/**
|
|
7843
|
-
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
7844
|
-
* @example 100000
|
|
7845
|
-
*/
|
|
7846
|
-
basisPoints: number;
|
|
7847
|
-
} | null;
|
|
7848
|
-
}[];
|
|
7738
|
+
/** @enum {string} */
|
|
7739
|
+
status: "active" | "inactive";
|
|
7849
7740
|
};
|
|
7850
7741
|
preview: {
|
|
7851
7742
|
matches: boolean;
|
|
@@ -7875,13 +7766,17 @@ export interface operations {
|
|
|
7875
7766
|
uniqueRef?: string | null;
|
|
7876
7767
|
description: string;
|
|
7877
7768
|
accountId?: string | null;
|
|
7878
|
-
assignment?:
|
|
7769
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
7879
7770
|
amount: number;
|
|
7880
7771
|
appliedAmount?: {
|
|
7881
7772
|
taxRateId?: string | null;
|
|
7882
7773
|
taxBehavior?: ("excluded" | "included") | null;
|
|
7883
7774
|
} | null;
|
|
7884
|
-
markup
|
|
7775
|
+
markup?: {
|
|
7776
|
+
amount?: number | null;
|
|
7777
|
+
taxRateId?: string | null;
|
|
7778
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7779
|
+
} | null;
|
|
7885
7780
|
listingId?: string | null;
|
|
7886
7781
|
reservationId?: string | null;
|
|
7887
7782
|
ownerStatementId?: string | null;
|
|
@@ -8173,16 +8068,30 @@ export interface operations {
|
|
|
8173
8068
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8174
8069
|
fixedCentAmount?: number | null;
|
|
8175
8070
|
percentageBps?: number | null;
|
|
8071
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8176
8072
|
party?: ("owners" | "manager") | null;
|
|
8177
8073
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8178
8074
|
descriptionOverride?: string | null;
|
|
8179
|
-
|
|
8075
|
+
markup?: {
|
|
8076
|
+
amount?: number | null;
|
|
8077
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8078
|
+
taxRate?: {
|
|
8079
|
+
id: string;
|
|
8080
|
+
name: string;
|
|
8081
|
+
/**
|
|
8082
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8083
|
+
* @example 100000
|
|
8084
|
+
*/
|
|
8085
|
+
basisPoints: number;
|
|
8086
|
+
} | null;
|
|
8087
|
+
} | null;
|
|
8088
|
+
account?: {
|
|
8180
8089
|
id: string;
|
|
8181
8090
|
name: string;
|
|
8182
8091
|
uniqueRef?: string | null;
|
|
8183
8092
|
/** @enum {string} */
|
|
8184
8093
|
status: "active" | "inactive";
|
|
8185
|
-
};
|
|
8094
|
+
} | null;
|
|
8186
8095
|
listing?: {
|
|
8187
8096
|
/** Format: uuid */
|
|
8188
8097
|
id: string;
|
|
@@ -8333,13 +8242,18 @@ export interface operations {
|
|
|
8333
8242
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8334
8243
|
fixedCentAmount?: number | null;
|
|
8335
8244
|
percentageBps?: number | null;
|
|
8336
|
-
|
|
8337
|
-
|
|
8245
|
+
accountId?: string | null;
|
|
8246
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8338
8247
|
listingId?: string | null;
|
|
8339
8248
|
contactId?: string | null;
|
|
8340
8249
|
party?: ("owners" | "manager") | null;
|
|
8341
8250
|
taxRateId?: string | null;
|
|
8342
8251
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8252
|
+
markup?: {
|
|
8253
|
+
amount?: number | null;
|
|
8254
|
+
taxRateId?: string | null;
|
|
8255
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8256
|
+
} | null;
|
|
8343
8257
|
descriptionOverride?: string | null;
|
|
8344
8258
|
}[];
|
|
8345
8259
|
};
|
|
@@ -8393,16 +8307,30 @@ export interface operations {
|
|
|
8393
8307
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8394
8308
|
fixedCentAmount?: number | null;
|
|
8395
8309
|
percentageBps?: number | null;
|
|
8310
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8396
8311
|
party?: ("owners" | "manager") | null;
|
|
8397
8312
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8398
8313
|
descriptionOverride?: string | null;
|
|
8399
|
-
|
|
8314
|
+
markup?: {
|
|
8315
|
+
amount?: number | null;
|
|
8316
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8317
|
+
taxRate?: {
|
|
8318
|
+
id: string;
|
|
8319
|
+
name: string;
|
|
8320
|
+
/**
|
|
8321
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8322
|
+
* @example 100000
|
|
8323
|
+
*/
|
|
8324
|
+
basisPoints: number;
|
|
8325
|
+
} | null;
|
|
8326
|
+
} | null;
|
|
8327
|
+
account?: {
|
|
8400
8328
|
id: string;
|
|
8401
8329
|
name: string;
|
|
8402
8330
|
uniqueRef?: string | null;
|
|
8403
8331
|
/** @enum {string} */
|
|
8404
8332
|
status: "active" | "inactive";
|
|
8405
|
-
};
|
|
8333
|
+
} | null;
|
|
8406
8334
|
listing?: {
|
|
8407
8335
|
/** Format: uuid */
|
|
8408
8336
|
id: string;
|
|
@@ -8543,17 +8471,20 @@ export interface operations {
|
|
|
8543
8471
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8544
8472
|
fixedCentAmount?: number | null;
|
|
8545
8473
|
percentageBps?: number | null;
|
|
8546
|
-
|
|
8547
|
-
|
|
8474
|
+
accountId?: string | null;
|
|
8475
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8548
8476
|
listingId?: string | null;
|
|
8549
8477
|
contactId?: string | null;
|
|
8550
8478
|
party?: ("owners" | "manager") | null;
|
|
8551
8479
|
taxRateId?: string | null;
|
|
8552
8480
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8481
|
+
markup?: {
|
|
8482
|
+
amount?: number | null;
|
|
8483
|
+
taxRateId?: string | null;
|
|
8484
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8485
|
+
} | null;
|
|
8553
8486
|
descriptionOverride?: string | null;
|
|
8554
8487
|
}[];
|
|
8555
|
-
/** Format: uuid */
|
|
8556
|
-
bankRecordId: string;
|
|
8557
8488
|
};
|
|
8558
8489
|
};
|
|
8559
8490
|
};
|
|
@@ -8565,62 +8496,68 @@ export interface operations {
|
|
|
8565
8496
|
};
|
|
8566
8497
|
content: {
|
|
8567
8498
|
"application/json": {
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
amount: number;
|
|
8576
|
-
bankAccountId?: string | null;
|
|
8577
|
-
accountId?: string | null;
|
|
8578
|
-
};
|
|
8579
|
-
transaction: {
|
|
8580
|
-
description: string;
|
|
8581
|
-
status?: ("active" | "inactive") | null;
|
|
8582
|
-
accountId?: string | null;
|
|
8583
|
-
contactId?: string | null;
|
|
8584
|
-
uniqueRef?: string | null;
|
|
8585
|
-
isOpeningBalance?: boolean;
|
|
8586
|
-
/** @enum {string} */
|
|
8587
|
-
type: "deposit" | "expense";
|
|
8588
|
-
date: string;
|
|
8589
|
-
currency?: string | null;
|
|
8590
|
-
lines: {
|
|
8591
|
-
recurringTemplateId?: string | null;
|
|
8592
|
-
uniqueRef?: string | null;
|
|
8499
|
+
data: {
|
|
8500
|
+
matches: boolean;
|
|
8501
|
+
isAutoApplicable: boolean;
|
|
8502
|
+
bankRecord: {
|
|
8503
|
+
/** Format: uuid */
|
|
8504
|
+
id: string;
|
|
8505
|
+
date: string;
|
|
8593
8506
|
description: string;
|
|
8594
|
-
accountId?: string | null;
|
|
8595
|
-
assignment?: string | null;
|
|
8596
8507
|
amount: number;
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
ownerStatementId?: string | null;
|
|
8605
|
-
party?: ("owners" | "manager") | null;
|
|
8508
|
+
bankAccountId?: string | null;
|
|
8509
|
+
accountId?: string | null;
|
|
8510
|
+
};
|
|
8511
|
+
transaction: {
|
|
8512
|
+
description: string;
|
|
8513
|
+
status?: ("active" | "inactive") | null;
|
|
8514
|
+
accountId?: string | null;
|
|
8606
8515
|
contactId?: string | null;
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
matchLineTypeClassification?: string | null;
|
|
8610
|
-
}[];
|
|
8611
|
-
attachmentIds?: string[] | null;
|
|
8612
|
-
payment?: {
|
|
8613
|
-
bankRecordIds: string[];
|
|
8516
|
+
uniqueRef?: string | null;
|
|
8517
|
+
isOpeningBalance?: boolean;
|
|
8614
8518
|
/** @enum {string} */
|
|
8615
|
-
|
|
8616
|
-
date
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8519
|
+
type: "deposit" | "expense";
|
|
8520
|
+
date: string;
|
|
8521
|
+
currency?: string | null;
|
|
8522
|
+
lines: {
|
|
8523
|
+
recurringTemplateId?: string | null;
|
|
8524
|
+
uniqueRef?: string | null;
|
|
8525
|
+
description: string;
|
|
8526
|
+
accountId?: string | null;
|
|
8527
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
8528
|
+
amount: number;
|
|
8529
|
+
appliedAmount?: {
|
|
8530
|
+
taxRateId?: string | null;
|
|
8531
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8532
|
+
} | null;
|
|
8533
|
+
markup?: {
|
|
8534
|
+
amount?: number | null;
|
|
8535
|
+
taxRateId?: string | null;
|
|
8536
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8537
|
+
} | null;
|
|
8538
|
+
listingId?: string | null;
|
|
8539
|
+
reservationId?: string | null;
|
|
8540
|
+
ownerStatementId?: string | null;
|
|
8541
|
+
party?: ("owners" | "manager") | null;
|
|
8542
|
+
contactId?: string | null;
|
|
8543
|
+
matchReservationConfirmationCode?: string | null;
|
|
8544
|
+
matchReservationStripeGuestRef?: string | null;
|
|
8545
|
+
matchLineTypeClassification?: string | null;
|
|
8546
|
+
}[];
|
|
8547
|
+
attachmentIds?: string[] | null;
|
|
8548
|
+
payment?: {
|
|
8549
|
+
bankRecordIds: string[];
|
|
8550
|
+
/** @enum {string} */
|
|
8551
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
8552
|
+
date?: string | null;
|
|
8553
|
+
lock: null;
|
|
8554
|
+
} | null;
|
|
8555
|
+
connectionId?: string | null;
|
|
8556
|
+
sourceId?: string | null;
|
|
8557
|
+
recurringTemplateId?: string | null;
|
|
8558
|
+
matchBankAccountLast4?: string | null;
|
|
8559
|
+
};
|
|
8560
|
+
}[];
|
|
8624
8561
|
};
|
|
8625
8562
|
};
|
|
8626
8563
|
};
|
|
@@ -8764,16 +8701,30 @@ export interface operations {
|
|
|
8764
8701
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8765
8702
|
fixedCentAmount?: number | null;
|
|
8766
8703
|
percentageBps?: number | null;
|
|
8704
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8767
8705
|
party?: ("owners" | "manager") | null;
|
|
8768
8706
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8769
8707
|
descriptionOverride?: string | null;
|
|
8770
|
-
|
|
8708
|
+
markup?: {
|
|
8709
|
+
amount?: number | null;
|
|
8710
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8711
|
+
taxRate?: {
|
|
8712
|
+
id: string;
|
|
8713
|
+
name: string;
|
|
8714
|
+
/**
|
|
8715
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8716
|
+
* @example 100000
|
|
8717
|
+
*/
|
|
8718
|
+
basisPoints: number;
|
|
8719
|
+
} | null;
|
|
8720
|
+
} | null;
|
|
8721
|
+
account?: {
|
|
8771
8722
|
id: string;
|
|
8772
8723
|
name: string;
|
|
8773
8724
|
uniqueRef?: string | null;
|
|
8774
8725
|
/** @enum {string} */
|
|
8775
8726
|
status: "active" | "inactive";
|
|
8776
|
-
};
|
|
8727
|
+
} | null;
|
|
8777
8728
|
listing?: {
|
|
8778
8729
|
/** Format: uuid */
|
|
8779
8730
|
id: string;
|
|
@@ -8917,13 +8868,18 @@ export interface operations {
|
|
|
8917
8868
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8918
8869
|
fixedCentAmount?: number | null;
|
|
8919
8870
|
percentageBps?: number | null;
|
|
8920
|
-
|
|
8921
|
-
|
|
8871
|
+
accountId?: string | null;
|
|
8872
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8922
8873
|
listingId?: string | null;
|
|
8923
8874
|
contactId?: string | null;
|
|
8924
8875
|
party?: ("owners" | "manager") | null;
|
|
8925
8876
|
taxRateId?: string | null;
|
|
8926
8877
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8878
|
+
markup?: {
|
|
8879
|
+
amount?: number | null;
|
|
8880
|
+
taxRateId?: string | null;
|
|
8881
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8882
|
+
} | null;
|
|
8927
8883
|
descriptionOverride?: string | null;
|
|
8928
8884
|
}[];
|
|
8929
8885
|
};
|
|
@@ -8977,16 +8933,30 @@ export interface operations {
|
|
|
8977
8933
|
splitMode: "fixed" | "percentage" | "remainder";
|
|
8978
8934
|
fixedCentAmount?: number | null;
|
|
8979
8935
|
percentageBps?: number | null;
|
|
8936
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8980
8937
|
party?: ("owners" | "manager") | null;
|
|
8981
8938
|
taxBehavior?: ("excluded" | "included") | null;
|
|
8982
8939
|
descriptionOverride?: string | null;
|
|
8983
|
-
|
|
8940
|
+
markup?: {
|
|
8941
|
+
amount?: number | null;
|
|
8942
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8943
|
+
taxRate?: {
|
|
8944
|
+
id: string;
|
|
8945
|
+
name: string;
|
|
8946
|
+
/**
|
|
8947
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8948
|
+
* @example 100000
|
|
8949
|
+
*/
|
|
8950
|
+
basisPoints: number;
|
|
8951
|
+
} | null;
|
|
8952
|
+
} | null;
|
|
8953
|
+
account?: {
|
|
8984
8954
|
id: string;
|
|
8985
8955
|
name: string;
|
|
8986
8956
|
uniqueRef?: string | null;
|
|
8987
8957
|
/** @enum {string} */
|
|
8988
8958
|
status: "active" | "inactive";
|
|
8989
|
-
};
|
|
8959
|
+
} | null;
|
|
8990
8960
|
listing?: {
|
|
8991
8961
|
/** Format: uuid */
|
|
8992
8962
|
id: string;
|
|
@@ -9266,13 +9236,17 @@ export interface operations {
|
|
|
9266
9236
|
uniqueRef?: string | null;
|
|
9267
9237
|
description: string;
|
|
9268
9238
|
accountId?: string | null;
|
|
9269
|
-
assignment?:
|
|
9239
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
9270
9240
|
amount: number;
|
|
9271
9241
|
appliedAmount?: {
|
|
9272
9242
|
taxRateId?: string | null;
|
|
9273
9243
|
taxBehavior?: ("excluded" | "included") | null;
|
|
9274
9244
|
} | null;
|
|
9275
|
-
markup
|
|
9245
|
+
markup?: {
|
|
9246
|
+
amount?: number | null;
|
|
9247
|
+
taxRateId?: string | null;
|
|
9248
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
9249
|
+
} | null;
|
|
9276
9250
|
listingId?: string | null;
|
|
9277
9251
|
reservationId?: string | null;
|
|
9278
9252
|
ownerStatementId?: string | null;
|
|
@@ -32830,6 +32804,126 @@ export interface operations {
|
|
|
32830
32804
|
};
|
|
32831
32805
|
};
|
|
32832
32806
|
};
|
|
32807
|
+
getStatementsCsvDetailed: {
|
|
32808
|
+
parameters: {
|
|
32809
|
+
query?: {
|
|
32810
|
+
periodIds?: string;
|
|
32811
|
+
/** @description Year in format YYYY */
|
|
32812
|
+
year?: number;
|
|
32813
|
+
listingIds?: string;
|
|
32814
|
+
statementIds?: string;
|
|
32815
|
+
/** @description Month string in format `YYYY-MM`. */
|
|
32816
|
+
month?: string;
|
|
32817
|
+
search?: string;
|
|
32818
|
+
status?: ("draft" | "inReview" | "published") | "all";
|
|
32819
|
+
ownerIds?: string;
|
|
32820
|
+
listingCollectionIds?: string;
|
|
32821
|
+
recurringFeeIds?: string;
|
|
32822
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32823
|
+
dateRange?: string;
|
|
32824
|
+
isDateRangeEndInclusive?: boolean;
|
|
32825
|
+
layoutId?: string;
|
|
32826
|
+
};
|
|
32827
|
+
header?: never;
|
|
32828
|
+
path?: never;
|
|
32829
|
+
cookie?: never;
|
|
32830
|
+
};
|
|
32831
|
+
requestBody?: never;
|
|
32832
|
+
responses: {
|
|
32833
|
+
/** @description Successful response */
|
|
32834
|
+
200: {
|
|
32835
|
+
headers: {
|
|
32836
|
+
[name: string]: unknown;
|
|
32837
|
+
};
|
|
32838
|
+
content: {
|
|
32839
|
+
"application/json": {
|
|
32840
|
+
url: string;
|
|
32841
|
+
expIn: number;
|
|
32842
|
+
};
|
|
32843
|
+
};
|
|
32844
|
+
};
|
|
32845
|
+
/** @description Bad request */
|
|
32846
|
+
400: {
|
|
32847
|
+
headers: {
|
|
32848
|
+
[name: string]: unknown;
|
|
32849
|
+
};
|
|
32850
|
+
content: {
|
|
32851
|
+
"application/json": {
|
|
32852
|
+
code: string;
|
|
32853
|
+
message: string;
|
|
32854
|
+
issues?: {
|
|
32855
|
+
message: string;
|
|
32856
|
+
}[];
|
|
32857
|
+
context?: unknown;
|
|
32858
|
+
};
|
|
32859
|
+
};
|
|
32860
|
+
};
|
|
32861
|
+
/** @description Unauthorized */
|
|
32862
|
+
401: {
|
|
32863
|
+
headers: {
|
|
32864
|
+
[name: string]: unknown;
|
|
32865
|
+
};
|
|
32866
|
+
content: {
|
|
32867
|
+
"application/json": {
|
|
32868
|
+
code: string;
|
|
32869
|
+
message: string;
|
|
32870
|
+
issues?: {
|
|
32871
|
+
message: string;
|
|
32872
|
+
}[];
|
|
32873
|
+
context?: unknown;
|
|
32874
|
+
};
|
|
32875
|
+
};
|
|
32876
|
+
};
|
|
32877
|
+
/** @description Forbidden */
|
|
32878
|
+
403: {
|
|
32879
|
+
headers: {
|
|
32880
|
+
[name: string]: unknown;
|
|
32881
|
+
};
|
|
32882
|
+
content: {
|
|
32883
|
+
"application/json": {
|
|
32884
|
+
code: string;
|
|
32885
|
+
message: string;
|
|
32886
|
+
issues?: {
|
|
32887
|
+
message: string;
|
|
32888
|
+
}[];
|
|
32889
|
+
context?: unknown;
|
|
32890
|
+
};
|
|
32891
|
+
};
|
|
32892
|
+
};
|
|
32893
|
+
/** @description Not found */
|
|
32894
|
+
404: {
|
|
32895
|
+
headers: {
|
|
32896
|
+
[name: string]: unknown;
|
|
32897
|
+
};
|
|
32898
|
+
content: {
|
|
32899
|
+
"application/json": {
|
|
32900
|
+
code: string;
|
|
32901
|
+
message: string;
|
|
32902
|
+
issues?: {
|
|
32903
|
+
message: string;
|
|
32904
|
+
}[];
|
|
32905
|
+
context?: unknown;
|
|
32906
|
+
};
|
|
32907
|
+
};
|
|
32908
|
+
};
|
|
32909
|
+
/** @description Internal server error */
|
|
32910
|
+
500: {
|
|
32911
|
+
headers: {
|
|
32912
|
+
[name: string]: unknown;
|
|
32913
|
+
};
|
|
32914
|
+
content: {
|
|
32915
|
+
"application/json": {
|
|
32916
|
+
code: string;
|
|
32917
|
+
message: string;
|
|
32918
|
+
issues?: {
|
|
32919
|
+
message: string;
|
|
32920
|
+
}[];
|
|
32921
|
+
context?: unknown;
|
|
32922
|
+
};
|
|
32923
|
+
};
|
|
32924
|
+
};
|
|
32925
|
+
};
|
|
32926
|
+
};
|
|
32833
32927
|
getStatementsLayouts: {
|
|
32834
32928
|
parameters: {
|
|
32835
32929
|
query?: {
|