@vrplatform/api 1.2.33-stage.691 → 1.2.33-stage.693
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 +187 -413
- package/build/main/generated/v1.js.map +1 -1
- package/build/main/tsconfig.main.tsbuildinfo +1 -1
- package/build/module/generated/v1.d.ts +187 -413
- package/build/module/generated/v1.js.map +1 -1
- package/build/module/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +187 -413
package/src/generated/v1.ts
CHANGED
|
@@ -1019,23 +1019,6 @@ export interface paths {
|
|
|
1019
1019
|
patch?: never;
|
|
1020
1020
|
trace?: never;
|
|
1021
1021
|
};
|
|
1022
|
-
"/accounts/{id}/reprocess-balances": {
|
|
1023
|
-
parameters: {
|
|
1024
|
-
query?: never;
|
|
1025
|
-
header?: never;
|
|
1026
|
-
path?: never;
|
|
1027
|
-
cookie?: never;
|
|
1028
|
-
};
|
|
1029
|
-
get?: never;
|
|
1030
|
-
/** @description Reprocess account balances */
|
|
1031
|
-
put: operations["reprocessAccountBalances"];
|
|
1032
|
-
post?: never;
|
|
1033
|
-
delete?: never;
|
|
1034
|
-
options?: never;
|
|
1035
|
-
head?: never;
|
|
1036
|
-
patch?: never;
|
|
1037
|
-
trace?: never;
|
|
1038
|
-
};
|
|
1039
1022
|
"/accounts/{id}": {
|
|
1040
1023
|
parameters: {
|
|
1041
1024
|
query?: never;
|
|
@@ -3544,16 +3527,16 @@ export interface operations {
|
|
|
3544
3527
|
requestBody: {
|
|
3545
3528
|
content: {
|
|
3546
3529
|
"application/json": {
|
|
3547
|
-
/** @enum {string|null} */
|
|
3548
|
-
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3549
3530
|
/** Format: uuid */
|
|
3550
3531
|
accountId?: string | null;
|
|
3532
|
+
/** @enum {string|null} */
|
|
3533
|
+
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3551
3534
|
channelMappings?: {
|
|
3552
|
-
/** @enum {string|null} */
|
|
3553
|
-
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3554
3535
|
bookingChannel: string;
|
|
3555
3536
|
/** Format: uuid */
|
|
3556
3537
|
accountId?: string | null;
|
|
3538
|
+
/** @enum {string|null} */
|
|
3539
|
+
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3557
3540
|
}[] | null;
|
|
3558
3541
|
};
|
|
3559
3542
|
};
|
|
@@ -3566,12 +3549,12 @@ export interface operations {
|
|
|
3566
3549
|
};
|
|
3567
3550
|
content: {
|
|
3568
3551
|
"application/json": {
|
|
3552
|
+
/** Format: uuid */
|
|
3569
3553
|
id?: string | null;
|
|
3570
3554
|
account?: {
|
|
3555
|
+
/** Format: uuid */
|
|
3571
3556
|
id: string;
|
|
3572
3557
|
name: string;
|
|
3573
|
-
/** @enum {string|null} */
|
|
3574
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3575
3558
|
} | null;
|
|
3576
3559
|
/** @enum {string} */
|
|
3577
3560
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -3579,12 +3562,12 @@ export interface operations {
|
|
|
3579
3562
|
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3580
3563
|
type: string;
|
|
3581
3564
|
channelMappings: {
|
|
3565
|
+
/** Format: uuid */
|
|
3582
3566
|
id?: string | null;
|
|
3583
3567
|
account?: {
|
|
3568
|
+
/** Format: uuid */
|
|
3584
3569
|
id: string;
|
|
3585
3570
|
name: string;
|
|
3586
|
-
/** @enum {string|null} */
|
|
3587
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3588
3571
|
} | null;
|
|
3589
3572
|
/** @enum {string} */
|
|
3590
3573
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -3672,12 +3655,12 @@ export interface operations {
|
|
|
3672
3655
|
content: {
|
|
3673
3656
|
"application/json": {
|
|
3674
3657
|
data: {
|
|
3658
|
+
/** Format: uuid */
|
|
3675
3659
|
id?: string | null;
|
|
3676
3660
|
account?: {
|
|
3661
|
+
/** Format: uuid */
|
|
3677
3662
|
id: string;
|
|
3678
3663
|
name: string;
|
|
3679
|
-
/** @enum {string|null} */
|
|
3680
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3681
3664
|
} | null;
|
|
3682
3665
|
/** @enum {string} */
|
|
3683
3666
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -3685,12 +3668,12 @@ export interface operations {
|
|
|
3685
3668
|
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3686
3669
|
type: string;
|
|
3687
3670
|
channelMappings: {
|
|
3671
|
+
/** Format: uuid */
|
|
3688
3672
|
id?: string | null;
|
|
3689
3673
|
account?: {
|
|
3674
|
+
/** Format: uuid */
|
|
3690
3675
|
id: string;
|
|
3691
3676
|
name: string;
|
|
3692
|
-
/** @enum {string|null} */
|
|
3693
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3694
3677
|
} | null;
|
|
3695
3678
|
/** @enum {string} */
|
|
3696
3679
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -15446,9 +15429,44 @@ export interface operations {
|
|
|
15446
15429
|
};
|
|
15447
15430
|
content: {
|
|
15448
15431
|
"application/json": {
|
|
15449
|
-
|
|
15432
|
+
id: string;
|
|
15433
|
+
/** @enum {string} */
|
|
15434
|
+
status: "active" | "inactive";
|
|
15450
15435
|
uniqueRef: string;
|
|
15436
|
+
description: string;
|
|
15451
15437
|
date: string;
|
|
15438
|
+
currency: string;
|
|
15439
|
+
amount: number;
|
|
15440
|
+
pattern: {
|
|
15441
|
+
/** @enum {string} */
|
|
15442
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15443
|
+
interval?: number | null;
|
|
15444
|
+
weekDays?: number[] | null;
|
|
15445
|
+
monthDays?: number[] | null;
|
|
15446
|
+
months?: number[] | null;
|
|
15447
|
+
count?: number | null;
|
|
15448
|
+
endDate?: string | null;
|
|
15449
|
+
};
|
|
15450
|
+
/** @enum {string} */
|
|
15451
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15452
|
+
patternFormatted?: string | null;
|
|
15453
|
+
nextTransactionInstanceAt?: string | null;
|
|
15454
|
+
instancesCount: number;
|
|
15455
|
+
account?: {
|
|
15456
|
+
id: string;
|
|
15457
|
+
name: string;
|
|
15458
|
+
bankAccount?: {
|
|
15459
|
+
/** Format: uuid */
|
|
15460
|
+
id?: string | null;
|
|
15461
|
+
name: string;
|
|
15462
|
+
} | null;
|
|
15463
|
+
} | null;
|
|
15464
|
+
contact?: {
|
|
15465
|
+
/** Format: uuid */
|
|
15466
|
+
id: string;
|
|
15467
|
+
name?: string | null;
|
|
15468
|
+
uniqueRef?: string | null;
|
|
15469
|
+
} | null;
|
|
15452
15470
|
lines: {
|
|
15453
15471
|
uniqueRef?: string | null;
|
|
15454
15472
|
description: string;
|
|
@@ -15493,8 +15511,6 @@ export interface operations {
|
|
|
15493
15511
|
account?: {
|
|
15494
15512
|
id: string;
|
|
15495
15513
|
name: string;
|
|
15496
|
-
/** @enum {string|null} */
|
|
15497
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15498
15514
|
} | null;
|
|
15499
15515
|
/** @enum {string} */
|
|
15500
15516
|
party: "owners" | "manager";
|
|
@@ -15521,11 +15537,6 @@ export interface operations {
|
|
|
15521
15537
|
} | null;
|
|
15522
15538
|
} | null;
|
|
15523
15539
|
}[];
|
|
15524
|
-
/** Format: uuid */
|
|
15525
|
-
recurringTemplateId?: string | null;
|
|
15526
|
-
/** @enum {string} */
|
|
15527
|
-
status: "active" | "inactive";
|
|
15528
|
-
id: string;
|
|
15529
15540
|
issues: ({
|
|
15530
15541
|
/** @enum {string} */
|
|
15531
15542
|
code: "missingInstances";
|
|
@@ -15543,41 +15554,6 @@ export interface operations {
|
|
|
15543
15554
|
ids: string[];
|
|
15544
15555
|
};
|
|
15545
15556
|
})[];
|
|
15546
|
-
currency: string;
|
|
15547
|
-
/** @description Value in cents (100 = 1€) */
|
|
15548
|
-
amount: number;
|
|
15549
|
-
account?: {
|
|
15550
|
-
id: string;
|
|
15551
|
-
name: string;
|
|
15552
|
-
/** @enum {string|null} */
|
|
15553
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15554
|
-
bankAccount?: {
|
|
15555
|
-
/** Format: uuid */
|
|
15556
|
-
id?: string | null;
|
|
15557
|
-
name: string;
|
|
15558
|
-
} | null;
|
|
15559
|
-
} | null;
|
|
15560
|
-
contact?: {
|
|
15561
|
-
/** Format: uuid */
|
|
15562
|
-
id: string;
|
|
15563
|
-
name?: string | null;
|
|
15564
|
-
uniqueRef?: string | null;
|
|
15565
|
-
} | null;
|
|
15566
|
-
pattern: {
|
|
15567
|
-
/** @enum {string} */
|
|
15568
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15569
|
-
interval?: number | null;
|
|
15570
|
-
weekDays?: number[] | null;
|
|
15571
|
-
monthDays?: number[] | null;
|
|
15572
|
-
months?: number[] | null;
|
|
15573
|
-
count?: number | null;
|
|
15574
|
-
endDate?: string | null;
|
|
15575
|
-
};
|
|
15576
|
-
/** @enum {string} */
|
|
15577
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15578
|
-
nextTransactionInstanceAt?: string | null;
|
|
15579
|
-
patternFormatted?: string | null;
|
|
15580
|
-
instancesCount: number;
|
|
15581
15557
|
};
|
|
15582
15558
|
};
|
|
15583
15559
|
};
|
|
@@ -15642,47 +15618,12 @@ export interface operations {
|
|
|
15642
15618
|
requestBody: {
|
|
15643
15619
|
content: {
|
|
15644
15620
|
"application/json": {
|
|
15645
|
-
description?: string;
|
|
15646
|
-
accountId?: string | null;
|
|
15647
|
-
contactId?: string | null;
|
|
15648
15621
|
uniqueRef?: string;
|
|
15622
|
+
description?: string;
|
|
15649
15623
|
date?: string;
|
|
15650
15624
|
currency?: string | null;
|
|
15651
|
-
|
|
15652
|
-
|
|
15653
|
-
uniqueRef?: string | null;
|
|
15654
|
-
description: string;
|
|
15655
|
-
accountId?: string | null;
|
|
15656
|
-
/** @enum {string|null} */
|
|
15657
|
-
assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
|
|
15658
|
-
/** @description Value in cents (100 = 1€) */
|
|
15659
|
-
amount: number;
|
|
15660
|
-
markup?: {
|
|
15661
|
-
/** @description Value in cents (100 = 1€) */
|
|
15662
|
-
amount?: number | null;
|
|
15663
|
-
/** Format: uuid */
|
|
15664
|
-
taxRateId?: string | null;
|
|
15665
|
-
/**
|
|
15666
|
-
* @default excluded
|
|
15667
|
-
* @enum {string|null}
|
|
15668
|
-
*/
|
|
15669
|
-
taxBehavior?: "excluded" | "included" | null;
|
|
15670
|
-
} | null;
|
|
15671
|
-
listingId?: string | null;
|
|
15672
|
-
reservationId?: string | null;
|
|
15673
|
-
/** Format: uuid */
|
|
15674
|
-
ownerStatementId?: string | null;
|
|
15675
|
-
/** @enum {string|null} */
|
|
15676
|
-
party?: "owners" | "manager" | null;
|
|
15677
|
-
contactId?: string | null;
|
|
15678
|
-
matchers?: {
|
|
15679
|
-
confirmationCode?: string | null;
|
|
15680
|
-
customerId?: string | null;
|
|
15681
|
-
lineType?: string | null;
|
|
15682
|
-
} | null;
|
|
15683
|
-
}[];
|
|
15684
|
-
/** @enum {string|null} */
|
|
15685
|
-
status?: "active" | "inactive" | null;
|
|
15625
|
+
accountId?: string | null;
|
|
15626
|
+
contactId?: string | null;
|
|
15686
15627
|
pattern?: {
|
|
15687
15628
|
/** @enum {string} */
|
|
15688
15629
|
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
@@ -15695,6 +15636,17 @@ export interface operations {
|
|
|
15695
15636
|
};
|
|
15696
15637
|
/** @enum {string} */
|
|
15697
15638
|
paymentStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15639
|
+
lines?: {
|
|
15640
|
+
description: string;
|
|
15641
|
+
accountId?: string | null;
|
|
15642
|
+
amount: number;
|
|
15643
|
+
listingId?: string | null;
|
|
15644
|
+
party?: string | null;
|
|
15645
|
+
contactId?: string | null;
|
|
15646
|
+
}[];
|
|
15647
|
+
skipInitialInstance?: boolean;
|
|
15648
|
+
/** @enum {string|null} */
|
|
15649
|
+
status?: "active" | "inactive" | null;
|
|
15698
15650
|
};
|
|
15699
15651
|
};
|
|
15700
15652
|
};
|
|
@@ -15706,9 +15658,44 @@ export interface operations {
|
|
|
15706
15658
|
};
|
|
15707
15659
|
content: {
|
|
15708
15660
|
"application/json": {
|
|
15709
|
-
|
|
15661
|
+
id: string;
|
|
15662
|
+
/** @enum {string} */
|
|
15663
|
+
status: "active" | "inactive";
|
|
15710
15664
|
uniqueRef: string;
|
|
15665
|
+
description: string;
|
|
15711
15666
|
date: string;
|
|
15667
|
+
currency: string;
|
|
15668
|
+
amount: number;
|
|
15669
|
+
pattern: {
|
|
15670
|
+
/** @enum {string} */
|
|
15671
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15672
|
+
interval?: number | null;
|
|
15673
|
+
weekDays?: number[] | null;
|
|
15674
|
+
monthDays?: number[] | null;
|
|
15675
|
+
months?: number[] | null;
|
|
15676
|
+
count?: number | null;
|
|
15677
|
+
endDate?: string | null;
|
|
15678
|
+
};
|
|
15679
|
+
/** @enum {string} */
|
|
15680
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15681
|
+
patternFormatted?: string | null;
|
|
15682
|
+
nextTransactionInstanceAt?: string | null;
|
|
15683
|
+
instancesCount: number;
|
|
15684
|
+
account?: {
|
|
15685
|
+
id: string;
|
|
15686
|
+
name: string;
|
|
15687
|
+
bankAccount?: {
|
|
15688
|
+
/** Format: uuid */
|
|
15689
|
+
id?: string | null;
|
|
15690
|
+
name: string;
|
|
15691
|
+
} | null;
|
|
15692
|
+
} | null;
|
|
15693
|
+
contact?: {
|
|
15694
|
+
/** Format: uuid */
|
|
15695
|
+
id: string;
|
|
15696
|
+
name?: string | null;
|
|
15697
|
+
uniqueRef?: string | null;
|
|
15698
|
+
} | null;
|
|
15712
15699
|
lines: {
|
|
15713
15700
|
uniqueRef?: string | null;
|
|
15714
15701
|
description: string;
|
|
@@ -15753,8 +15740,6 @@ export interface operations {
|
|
|
15753
15740
|
account?: {
|
|
15754
15741
|
id: string;
|
|
15755
15742
|
name: string;
|
|
15756
|
-
/** @enum {string|null} */
|
|
15757
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15758
15743
|
} | null;
|
|
15759
15744
|
/** @enum {string} */
|
|
15760
15745
|
party: "owners" | "manager";
|
|
@@ -15781,11 +15766,6 @@ export interface operations {
|
|
|
15781
15766
|
} | null;
|
|
15782
15767
|
} | null;
|
|
15783
15768
|
}[];
|
|
15784
|
-
/** Format: uuid */
|
|
15785
|
-
recurringTemplateId?: string | null;
|
|
15786
|
-
/** @enum {string} */
|
|
15787
|
-
status: "active" | "inactive";
|
|
15788
|
-
id: string;
|
|
15789
15769
|
issues: ({
|
|
15790
15770
|
/** @enum {string} */
|
|
15791
15771
|
code: "missingInstances";
|
|
@@ -15803,41 +15783,6 @@ export interface operations {
|
|
|
15803
15783
|
ids: string[];
|
|
15804
15784
|
};
|
|
15805
15785
|
})[];
|
|
15806
|
-
currency: string;
|
|
15807
|
-
/** @description Value in cents (100 = 1€) */
|
|
15808
|
-
amount: number;
|
|
15809
|
-
account?: {
|
|
15810
|
-
id: string;
|
|
15811
|
-
name: string;
|
|
15812
|
-
/** @enum {string|null} */
|
|
15813
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15814
|
-
bankAccount?: {
|
|
15815
|
-
/** Format: uuid */
|
|
15816
|
-
id?: string | null;
|
|
15817
|
-
name: string;
|
|
15818
|
-
} | null;
|
|
15819
|
-
} | null;
|
|
15820
|
-
contact?: {
|
|
15821
|
-
/** Format: uuid */
|
|
15822
|
-
id: string;
|
|
15823
|
-
name?: string | null;
|
|
15824
|
-
uniqueRef?: string | null;
|
|
15825
|
-
} | null;
|
|
15826
|
-
pattern: {
|
|
15827
|
-
/** @enum {string} */
|
|
15828
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15829
|
-
interval?: number | null;
|
|
15830
|
-
weekDays?: number[] | null;
|
|
15831
|
-
monthDays?: number[] | null;
|
|
15832
|
-
months?: number[] | null;
|
|
15833
|
-
count?: number | null;
|
|
15834
|
-
endDate?: string | null;
|
|
15835
|
-
};
|
|
15836
|
-
/** @enum {string} */
|
|
15837
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15838
|
-
nextTransactionInstanceAt?: string | null;
|
|
15839
|
-
patternFormatted?: string | null;
|
|
15840
|
-
instancesCount: number;
|
|
15841
15786
|
};
|
|
15842
15787
|
};
|
|
15843
15788
|
};
|
|
@@ -15986,14 +15931,49 @@ export interface operations {
|
|
|
15986
15931
|
content: {
|
|
15987
15932
|
"application/json": {
|
|
15988
15933
|
data: {
|
|
15989
|
-
|
|
15934
|
+
id: string;
|
|
15935
|
+
/** @enum {string} */
|
|
15936
|
+
status: "active" | "inactive";
|
|
15990
15937
|
uniqueRef: string;
|
|
15938
|
+
description: string;
|
|
15991
15939
|
date: string;
|
|
15992
|
-
|
|
15993
|
-
|
|
15994
|
-
|
|
15995
|
-
/** @
|
|
15996
|
-
|
|
15940
|
+
currency: string;
|
|
15941
|
+
amount: number;
|
|
15942
|
+
pattern: {
|
|
15943
|
+
/** @enum {string} */
|
|
15944
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15945
|
+
interval?: number | null;
|
|
15946
|
+
weekDays?: number[] | null;
|
|
15947
|
+
monthDays?: number[] | null;
|
|
15948
|
+
months?: number[] | null;
|
|
15949
|
+
count?: number | null;
|
|
15950
|
+
endDate?: string | null;
|
|
15951
|
+
};
|
|
15952
|
+
/** @enum {string} */
|
|
15953
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15954
|
+
patternFormatted?: string | null;
|
|
15955
|
+
nextTransactionInstanceAt?: string | null;
|
|
15956
|
+
instancesCount: number;
|
|
15957
|
+
account?: {
|
|
15958
|
+
id: string;
|
|
15959
|
+
name: string;
|
|
15960
|
+
bankAccount?: {
|
|
15961
|
+
/** Format: uuid */
|
|
15962
|
+
id?: string | null;
|
|
15963
|
+
name: string;
|
|
15964
|
+
} | null;
|
|
15965
|
+
} | null;
|
|
15966
|
+
contact?: {
|
|
15967
|
+
/** Format: uuid */
|
|
15968
|
+
id: string;
|
|
15969
|
+
name?: string | null;
|
|
15970
|
+
uniqueRef?: string | null;
|
|
15971
|
+
} | null;
|
|
15972
|
+
lines: {
|
|
15973
|
+
uniqueRef?: string | null;
|
|
15974
|
+
description: string;
|
|
15975
|
+
/** @description Value in cents (100 = 1€) */
|
|
15976
|
+
amount: number;
|
|
15997
15977
|
/** Format: uuid */
|
|
15998
15978
|
ownerStatementId?: string | null;
|
|
15999
15979
|
matchers?: {
|
|
@@ -16033,8 +16013,6 @@ export interface operations {
|
|
|
16033
16013
|
account?: {
|
|
16034
16014
|
id: string;
|
|
16035
16015
|
name: string;
|
|
16036
|
-
/** @enum {string|null} */
|
|
16037
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16038
16016
|
} | null;
|
|
16039
16017
|
/** @enum {string} */
|
|
16040
16018
|
party: "owners" | "manager";
|
|
@@ -16061,11 +16039,6 @@ export interface operations {
|
|
|
16061
16039
|
} | null;
|
|
16062
16040
|
} | null;
|
|
16063
16041
|
}[];
|
|
16064
|
-
/** Format: uuid */
|
|
16065
|
-
recurringTemplateId?: string | null;
|
|
16066
|
-
/** @enum {string} */
|
|
16067
|
-
status: "active" | "inactive";
|
|
16068
|
-
id: string;
|
|
16069
16042
|
issues: ({
|
|
16070
16043
|
/** @enum {string} */
|
|
16071
16044
|
code: "missingInstances";
|
|
@@ -16083,41 +16056,6 @@ export interface operations {
|
|
|
16083
16056
|
ids: string[];
|
|
16084
16057
|
};
|
|
16085
16058
|
})[];
|
|
16086
|
-
currency: string;
|
|
16087
|
-
/** @description Value in cents (100 = 1€) */
|
|
16088
|
-
amount: number;
|
|
16089
|
-
account?: {
|
|
16090
|
-
id: string;
|
|
16091
|
-
name: string;
|
|
16092
|
-
/** @enum {string|null} */
|
|
16093
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16094
|
-
bankAccount?: {
|
|
16095
|
-
/** Format: uuid */
|
|
16096
|
-
id?: string | null;
|
|
16097
|
-
name: string;
|
|
16098
|
-
} | null;
|
|
16099
|
-
} | null;
|
|
16100
|
-
contact?: {
|
|
16101
|
-
/** Format: uuid */
|
|
16102
|
-
id: string;
|
|
16103
|
-
name?: string | null;
|
|
16104
|
-
uniqueRef?: string | null;
|
|
16105
|
-
} | null;
|
|
16106
|
-
pattern: {
|
|
16107
|
-
/** @enum {string} */
|
|
16108
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
16109
|
-
interval?: number | null;
|
|
16110
|
-
weekDays?: number[] | null;
|
|
16111
|
-
monthDays?: number[] | null;
|
|
16112
|
-
months?: number[] | null;
|
|
16113
|
-
count?: number | null;
|
|
16114
|
-
endDate?: string | null;
|
|
16115
|
-
};
|
|
16116
|
-
/** @enum {string} */
|
|
16117
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
16118
|
-
nextTransactionInstanceAt?: string | null;
|
|
16119
|
-
patternFormatted?: string | null;
|
|
16120
|
-
instancesCount: number;
|
|
16121
16059
|
}[];
|
|
16122
16060
|
pagination: {
|
|
16123
16061
|
/** @default 100 */
|
|
@@ -16190,47 +16128,12 @@ export interface operations {
|
|
|
16190
16128
|
requestBody: {
|
|
16191
16129
|
content: {
|
|
16192
16130
|
"application/json": {
|
|
16193
|
-
description: string;
|
|
16194
|
-
accountId?: string | null;
|
|
16195
|
-
contactId?: string | null;
|
|
16196
16131
|
uniqueRef: string;
|
|
16132
|
+
description: string;
|
|
16197
16133
|
date: string;
|
|
16198
16134
|
currency?: string | null;
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
uniqueRef?: string | null;
|
|
16202
|
-
description: string;
|
|
16203
|
-
accountId?: string | null;
|
|
16204
|
-
/** @enum {string|null} */
|
|
16205
|
-
assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
|
|
16206
|
-
/** @description Value in cents (100 = 1€) */
|
|
16207
|
-
amount: number;
|
|
16208
|
-
markup?: {
|
|
16209
|
-
/** @description Value in cents (100 = 1€) */
|
|
16210
|
-
amount?: number | null;
|
|
16211
|
-
/** Format: uuid */
|
|
16212
|
-
taxRateId?: string | null;
|
|
16213
|
-
/**
|
|
16214
|
-
* @default excluded
|
|
16215
|
-
* @enum {string|null}
|
|
16216
|
-
*/
|
|
16217
|
-
taxBehavior?: "excluded" | "included" | null;
|
|
16218
|
-
} | null;
|
|
16219
|
-
listingId?: string | null;
|
|
16220
|
-
reservationId?: string | null;
|
|
16221
|
-
/** Format: uuid */
|
|
16222
|
-
ownerStatementId?: string | null;
|
|
16223
|
-
/** @enum {string|null} */
|
|
16224
|
-
party?: "owners" | "manager" | null;
|
|
16225
|
-
contactId?: string | null;
|
|
16226
|
-
matchers?: {
|
|
16227
|
-
confirmationCode?: string | null;
|
|
16228
|
-
customerId?: string | null;
|
|
16229
|
-
lineType?: string | null;
|
|
16230
|
-
} | null;
|
|
16231
|
-
}[];
|
|
16232
|
-
/** @enum {string|null} */
|
|
16233
|
-
status?: "active" | "inactive" | null;
|
|
16135
|
+
accountId?: string | null;
|
|
16136
|
+
contactId?: string | null;
|
|
16234
16137
|
pattern: {
|
|
16235
16138
|
/** @enum {string} */
|
|
16236
16139
|
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
@@ -16243,6 +16146,15 @@ export interface operations {
|
|
|
16243
16146
|
};
|
|
16244
16147
|
/** @enum {string} */
|
|
16245
16148
|
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
16149
|
+
lines: {
|
|
16150
|
+
description: string;
|
|
16151
|
+
accountId?: string | null;
|
|
16152
|
+
amount: number;
|
|
16153
|
+
listingId?: string | null;
|
|
16154
|
+
party?: string | null;
|
|
16155
|
+
contactId?: string | null;
|
|
16156
|
+
}[];
|
|
16157
|
+
skipInitialInstance?: boolean;
|
|
16246
16158
|
};
|
|
16247
16159
|
};
|
|
16248
16160
|
};
|
|
@@ -16254,9 +16166,44 @@ export interface operations {
|
|
|
16254
16166
|
};
|
|
16255
16167
|
content: {
|
|
16256
16168
|
"application/json": {
|
|
16257
|
-
|
|
16169
|
+
id: string;
|
|
16170
|
+
/** @enum {string} */
|
|
16171
|
+
status: "active" | "inactive";
|
|
16258
16172
|
uniqueRef: string;
|
|
16173
|
+
description: string;
|
|
16259
16174
|
date: string;
|
|
16175
|
+
currency: string;
|
|
16176
|
+
amount: number;
|
|
16177
|
+
pattern: {
|
|
16178
|
+
/** @enum {string} */
|
|
16179
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
16180
|
+
interval?: number | null;
|
|
16181
|
+
weekDays?: number[] | null;
|
|
16182
|
+
monthDays?: number[] | null;
|
|
16183
|
+
months?: number[] | null;
|
|
16184
|
+
count?: number | null;
|
|
16185
|
+
endDate?: string | null;
|
|
16186
|
+
};
|
|
16187
|
+
/** @enum {string} */
|
|
16188
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
16189
|
+
patternFormatted?: string | null;
|
|
16190
|
+
nextTransactionInstanceAt?: string | null;
|
|
16191
|
+
instancesCount: number;
|
|
16192
|
+
account?: {
|
|
16193
|
+
id: string;
|
|
16194
|
+
name: string;
|
|
16195
|
+
bankAccount?: {
|
|
16196
|
+
/** Format: uuid */
|
|
16197
|
+
id?: string | null;
|
|
16198
|
+
name: string;
|
|
16199
|
+
} | null;
|
|
16200
|
+
} | null;
|
|
16201
|
+
contact?: {
|
|
16202
|
+
/** Format: uuid */
|
|
16203
|
+
id: string;
|
|
16204
|
+
name?: string | null;
|
|
16205
|
+
uniqueRef?: string | null;
|
|
16206
|
+
} | null;
|
|
16260
16207
|
lines: {
|
|
16261
16208
|
uniqueRef?: string | null;
|
|
16262
16209
|
description: string;
|
|
@@ -16301,8 +16248,6 @@ export interface operations {
|
|
|
16301
16248
|
account?: {
|
|
16302
16249
|
id: string;
|
|
16303
16250
|
name: string;
|
|
16304
|
-
/** @enum {string|null} */
|
|
16305
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16306
16251
|
} | null;
|
|
16307
16252
|
/** @enum {string} */
|
|
16308
16253
|
party: "owners" | "manager";
|
|
@@ -16329,11 +16274,6 @@ export interface operations {
|
|
|
16329
16274
|
} | null;
|
|
16330
16275
|
} | null;
|
|
16331
16276
|
}[];
|
|
16332
|
-
/** Format: uuid */
|
|
16333
|
-
recurringTemplateId?: string | null;
|
|
16334
|
-
/** @enum {string} */
|
|
16335
|
-
status: "active" | "inactive";
|
|
16336
|
-
id: string;
|
|
16337
16277
|
issues: ({
|
|
16338
16278
|
/** @enum {string} */
|
|
16339
16279
|
code: "missingInstances";
|
|
@@ -16351,41 +16291,6 @@ export interface operations {
|
|
|
16351
16291
|
ids: string[];
|
|
16352
16292
|
};
|
|
16353
16293
|
})[];
|
|
16354
|
-
currency: string;
|
|
16355
|
-
/** @description Value in cents (100 = 1€) */
|
|
16356
|
-
amount: number;
|
|
16357
|
-
account?: {
|
|
16358
|
-
id: string;
|
|
16359
|
-
name: string;
|
|
16360
|
-
/** @enum {string|null} */
|
|
16361
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16362
|
-
bankAccount?: {
|
|
16363
|
-
/** Format: uuid */
|
|
16364
|
-
id?: string | null;
|
|
16365
|
-
name: string;
|
|
16366
|
-
} | null;
|
|
16367
|
-
} | null;
|
|
16368
|
-
contact?: {
|
|
16369
|
-
/** Format: uuid */
|
|
16370
|
-
id: string;
|
|
16371
|
-
name?: string | null;
|
|
16372
|
-
uniqueRef?: string | null;
|
|
16373
|
-
} | null;
|
|
16374
|
-
pattern: {
|
|
16375
|
-
/** @enum {string} */
|
|
16376
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
16377
|
-
interval?: number | null;
|
|
16378
|
-
weekDays?: number[] | null;
|
|
16379
|
-
monthDays?: number[] | null;
|
|
16380
|
-
months?: number[] | null;
|
|
16381
|
-
count?: number | null;
|
|
16382
|
-
endDate?: string | null;
|
|
16383
|
-
};
|
|
16384
|
-
/** @enum {string} */
|
|
16385
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
16386
|
-
nextTransactionInstanceAt?: string | null;
|
|
16387
|
-
patternFormatted?: string | null;
|
|
16388
|
-
instancesCount: number;
|
|
16389
16294
|
};
|
|
16390
16295
|
};
|
|
16391
16296
|
};
|
|
@@ -18833,137 +18738,6 @@ export interface operations {
|
|
|
18833
18738
|
};
|
|
18834
18739
|
};
|
|
18835
18740
|
};
|
|
18836
|
-
reprocessAccountBalances: {
|
|
18837
|
-
parameters: {
|
|
18838
|
-
query?: never;
|
|
18839
|
-
header?: {
|
|
18840
|
-
"X-Team-Id"?: string;
|
|
18841
|
-
};
|
|
18842
|
-
path: {
|
|
18843
|
-
id: string;
|
|
18844
|
-
};
|
|
18845
|
-
cookie?: never;
|
|
18846
|
-
};
|
|
18847
|
-
requestBody?: never;
|
|
18848
|
-
responses: {
|
|
18849
|
-
/** @description Successful response */
|
|
18850
|
-
200: {
|
|
18851
|
-
headers: {
|
|
18852
|
-
[name: string]: unknown;
|
|
18853
|
-
};
|
|
18854
|
-
content: {
|
|
18855
|
-
"application/json": {
|
|
18856
|
-
name: string;
|
|
18857
|
-
/** @enum {string|null} */
|
|
18858
|
-
status?: "active" | "inactive" | null;
|
|
18859
|
-
/** @enum {string} */
|
|
18860
|
-
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
18861
|
-
id: string;
|
|
18862
|
-
offsetAccount?: {
|
|
18863
|
-
id: string;
|
|
18864
|
-
name: string;
|
|
18865
|
-
/** @enum {string|null} */
|
|
18866
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
18867
|
-
} | null;
|
|
18868
|
-
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")[];
|
|
18869
|
-
category?: {
|
|
18870
|
-
id: string;
|
|
18871
|
-
name: string;
|
|
18872
|
-
/** @enum {string|null} */
|
|
18873
|
-
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
18874
|
-
} | null;
|
|
18875
|
-
banking?: {
|
|
18876
|
-
/** @enum {string|null} */
|
|
18877
|
-
category?: "trust" | "operating" | "external" | null;
|
|
18878
|
-
/** @enum {string|null} */
|
|
18879
|
-
type?: "deposit" | "creditCard" | null;
|
|
18880
|
-
last4?: string | null;
|
|
18881
|
-
connections: {
|
|
18882
|
-
id: string;
|
|
18883
|
-
name: string;
|
|
18884
|
-
connection?: {
|
|
18885
|
-
id: string;
|
|
18886
|
-
icon?: string | null;
|
|
18887
|
-
} | null;
|
|
18888
|
-
/** @enum {string|null} */
|
|
18889
|
-
status?: "active" | "inactive" | null;
|
|
18890
|
-
currentSync?: {
|
|
18891
|
-
/** @enum {string} */
|
|
18892
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
18893
|
-
createdAt: string;
|
|
18894
|
-
updatedAt: string;
|
|
18895
|
-
message?: string | null;
|
|
18896
|
-
} | null;
|
|
18897
|
-
source?: {
|
|
18898
|
-
/** Format: uuid */
|
|
18899
|
-
id: string;
|
|
18900
|
-
type: string;
|
|
18901
|
-
/** @enum {string|null} */
|
|
18902
|
-
status?: "active" | "inactive" | null;
|
|
18903
|
-
} | null;
|
|
18904
|
-
}[];
|
|
18905
|
-
bankRecords: {
|
|
18906
|
-
reconciled: number;
|
|
18907
|
-
unreconciled: number;
|
|
18908
|
-
total: number;
|
|
18909
|
-
latestCreatedAt?: string | null;
|
|
18910
|
-
};
|
|
18911
|
-
balance?: {
|
|
18912
|
-
openingDate?: string | null;
|
|
18913
|
-
opening: number;
|
|
18914
|
-
ending: number;
|
|
18915
|
-
} | null;
|
|
18916
|
-
} | null;
|
|
18917
|
-
};
|
|
18918
|
-
};
|
|
18919
|
-
};
|
|
18920
|
-
/** @description Invalid input data */
|
|
18921
|
-
400: {
|
|
18922
|
-
headers: {
|
|
18923
|
-
[name: string]: unknown;
|
|
18924
|
-
};
|
|
18925
|
-
content: {
|
|
18926
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
18927
|
-
};
|
|
18928
|
-
};
|
|
18929
|
-
/** @description Authorization not provided */
|
|
18930
|
-
401: {
|
|
18931
|
-
headers: {
|
|
18932
|
-
[name: string]: unknown;
|
|
18933
|
-
};
|
|
18934
|
-
content: {
|
|
18935
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
18936
|
-
};
|
|
18937
|
-
};
|
|
18938
|
-
/** @description Insufficient access */
|
|
18939
|
-
403: {
|
|
18940
|
-
headers: {
|
|
18941
|
-
[name: string]: unknown;
|
|
18942
|
-
};
|
|
18943
|
-
content: {
|
|
18944
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
18945
|
-
};
|
|
18946
|
-
};
|
|
18947
|
-
/** @description Not found */
|
|
18948
|
-
404: {
|
|
18949
|
-
headers: {
|
|
18950
|
-
[name: string]: unknown;
|
|
18951
|
-
};
|
|
18952
|
-
content: {
|
|
18953
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
18954
|
-
};
|
|
18955
|
-
};
|
|
18956
|
-
/** @description Internal server error */
|
|
18957
|
-
500: {
|
|
18958
|
-
headers: {
|
|
18959
|
-
[name: string]: unknown;
|
|
18960
|
-
};
|
|
18961
|
-
content: {
|
|
18962
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
18963
|
-
};
|
|
18964
|
-
};
|
|
18965
|
-
};
|
|
18966
|
-
};
|
|
18967
18741
|
getAccount: {
|
|
18968
18742
|
parameters: {
|
|
18969
18743
|
query?: never;
|