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