@vrplatform/api 1.2.40-stage.1070 → 1.3.0-1121
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/client.js +6 -0
- package/build/main/client.js.map +1 -1
- package/build/main/generated/v1.d.ts +303 -32
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/client.js +6 -0
- package/build/module/client.js.map +1 -1
- package/build/module/generated/v1.d.ts +303 -32
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +6 -0
- package/src/generated/v1.ts +303 -32
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.3.0-1121",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "build/main/index.js",
|
|
9
9
|
"module": "build/module/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
|
-
"pub": "bunx bumpp --no-commit --no-git-check --no-verify --ignore-scripts --no-tag -p=false",
|
|
34
|
+
"pub": "bunx bumpp --no-commit --no-git-check --no-verify --ignore-scripts --no-tag -p=false && bun run npmpub",
|
|
35
35
|
"npmpub": "bun run build && bunx vrp-deploy --prefix npmpub",
|
|
36
36
|
"npmpub:main": "pnpm publish --no-git-checks --tag staging",
|
|
37
37
|
"npmpub:release": "pnpm publish --no-git-checks",
|
package/src/client.ts
CHANGED
|
@@ -54,6 +54,12 @@ export function useApiClient({
|
|
|
54
54
|
const trace = Sentry.getTraceData();
|
|
55
55
|
const client = createClient<paths>({
|
|
56
56
|
baseUrl,
|
|
57
|
+
querySerializer: {
|
|
58
|
+
array: {
|
|
59
|
+
explode: false,
|
|
60
|
+
style: 'form',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
57
63
|
fetch(req) {
|
|
58
64
|
return retryableFetch(async () => {
|
|
59
65
|
let clone: Request = req.clone() as any;
|
package/src/generated/v1.ts
CHANGED
|
@@ -1648,6 +1648,23 @@ export interface paths {
|
|
|
1648
1648
|
patch?: never;
|
|
1649
1649
|
trace?: never;
|
|
1650
1650
|
};
|
|
1651
|
+
"/report/journal-entries/csv": {
|
|
1652
|
+
parameters: {
|
|
1653
|
+
query?: never;
|
|
1654
|
+
header?: never;
|
|
1655
|
+
path?: never;
|
|
1656
|
+
cookie?: never;
|
|
1657
|
+
};
|
|
1658
|
+
/** @description CSV export for journal entries */
|
|
1659
|
+
get: operations["getJournalEntriesReportCsv"];
|
|
1660
|
+
put?: never;
|
|
1661
|
+
post?: never;
|
|
1662
|
+
delete?: never;
|
|
1663
|
+
options?: never;
|
|
1664
|
+
head?: never;
|
|
1665
|
+
patch?: never;
|
|
1666
|
+
trace?: never;
|
|
1667
|
+
};
|
|
1651
1668
|
"/reports/manager-statements": {
|
|
1652
1669
|
parameters: {
|
|
1653
1670
|
query?: never;
|
|
@@ -1699,6 +1716,23 @@ export interface paths {
|
|
|
1699
1716
|
patch?: never;
|
|
1700
1717
|
trace?: never;
|
|
1701
1718
|
};
|
|
1719
|
+
"/reports/manager-statements/detail/journal-entries/csv": {
|
|
1720
|
+
parameters: {
|
|
1721
|
+
query?: never;
|
|
1722
|
+
header?: never;
|
|
1723
|
+
path?: never;
|
|
1724
|
+
cookie?: never;
|
|
1725
|
+
};
|
|
1726
|
+
/** @description CSV export for manager statement journal entries */
|
|
1727
|
+
get: operations["getManagerStatementReportJournalEntriesCsv"];
|
|
1728
|
+
put?: never;
|
|
1729
|
+
post?: never;
|
|
1730
|
+
delete?: never;
|
|
1731
|
+
options?: never;
|
|
1732
|
+
head?: never;
|
|
1733
|
+
patch?: never;
|
|
1734
|
+
trace?: never;
|
|
1735
|
+
};
|
|
1702
1736
|
"/reports/profit-and-loss": {
|
|
1703
1737
|
parameters: {
|
|
1704
1738
|
query?: never;
|
|
@@ -4141,6 +4175,12 @@ export interface operations {
|
|
|
4141
4175
|
/** @enum {string} */
|
|
4142
4176
|
severity: "warning";
|
|
4143
4177
|
context: Record<string, never>;
|
|
4178
|
+
} | {
|
|
4179
|
+
/** @enum {string} */
|
|
4180
|
+
code: "guestTotalsZero";
|
|
4181
|
+
/** @enum {string} */
|
|
4182
|
+
severity: "warning";
|
|
4183
|
+
context: Record<string, never>;
|
|
4144
4184
|
})[];
|
|
4145
4185
|
connection?: {
|
|
4146
4186
|
/** Format: uuid */
|
|
@@ -4159,6 +4199,7 @@ export interface operations {
|
|
|
4159
4199
|
tax: number;
|
|
4160
4200
|
manager: number;
|
|
4161
4201
|
owner: number;
|
|
4202
|
+
reservation: number;
|
|
4162
4203
|
expense: number;
|
|
4163
4204
|
deposit: number;
|
|
4164
4205
|
guest: number;
|
|
@@ -4369,11 +4410,6 @@ export interface operations {
|
|
|
4369
4410
|
"application/json": {
|
|
4370
4411
|
dangerouslyAllowLocked?: boolean;
|
|
4371
4412
|
ids?: string[];
|
|
4372
|
-
listingIds?: string[];
|
|
4373
|
-
connectionIds?: string[];
|
|
4374
|
-
date?: string;
|
|
4375
|
-
/** @enum {string} */
|
|
4376
|
-
dateField?: "bookedAt" | "checkIn" | "checkOut" | "payment" | "intersection";
|
|
4377
4413
|
};
|
|
4378
4414
|
};
|
|
4379
4415
|
};
|
|
@@ -4517,6 +4553,12 @@ export interface operations {
|
|
|
4517
4553
|
/** @enum {string} */
|
|
4518
4554
|
severity: "warning";
|
|
4519
4555
|
context: Record<string, never>;
|
|
4556
|
+
} | {
|
|
4557
|
+
/** @enum {string} */
|
|
4558
|
+
code: "guestTotalsZero";
|
|
4559
|
+
/** @enum {string} */
|
|
4560
|
+
severity: "warning";
|
|
4561
|
+
context: Record<string, never>;
|
|
4520
4562
|
})[];
|
|
4521
4563
|
connection?: {
|
|
4522
4564
|
/** Format: uuid */
|
|
@@ -4535,6 +4577,7 @@ export interface operations {
|
|
|
4535
4577
|
tax: number;
|
|
4536
4578
|
manager: number;
|
|
4537
4579
|
owner: number;
|
|
4580
|
+
reservation: number;
|
|
4538
4581
|
expense: number;
|
|
4539
4582
|
deposit: number;
|
|
4540
4583
|
guest: number;
|
|
@@ -4973,6 +5016,12 @@ export interface operations {
|
|
|
4973
5016
|
/** @enum {string} */
|
|
4974
5017
|
severity: "warning";
|
|
4975
5018
|
context: Record<string, never>;
|
|
5019
|
+
} | {
|
|
5020
|
+
/** @enum {string} */
|
|
5021
|
+
code: "guestTotalsZero";
|
|
5022
|
+
/** @enum {string} */
|
|
5023
|
+
severity: "warning";
|
|
5024
|
+
context: Record<string, never>;
|
|
4976
5025
|
})[];
|
|
4977
5026
|
connection?: {
|
|
4978
5027
|
/** Format: uuid */
|
|
@@ -4991,6 +5040,7 @@ export interface operations {
|
|
|
4991
5040
|
tax: number;
|
|
4992
5041
|
manager: number;
|
|
4993
5042
|
owner: number;
|
|
5043
|
+
reservation: number;
|
|
4994
5044
|
expense: number;
|
|
4995
5045
|
deposit: number;
|
|
4996
5046
|
guest: number;
|
|
@@ -5367,6 +5417,12 @@ export interface operations {
|
|
|
5367
5417
|
/** @enum {string} */
|
|
5368
5418
|
severity: "warning";
|
|
5369
5419
|
context: Record<string, never>;
|
|
5420
|
+
} | {
|
|
5421
|
+
/** @enum {string} */
|
|
5422
|
+
code: "guestTotalsZero";
|
|
5423
|
+
/** @enum {string} */
|
|
5424
|
+
severity: "warning";
|
|
5425
|
+
context: Record<string, never>;
|
|
5370
5426
|
})[];
|
|
5371
5427
|
connection?: {
|
|
5372
5428
|
/** Format: uuid */
|
|
@@ -5644,6 +5700,12 @@ export interface operations {
|
|
|
5644
5700
|
/** @enum {string} */
|
|
5645
5701
|
severity: "warning";
|
|
5646
5702
|
context: Record<string, never>;
|
|
5703
|
+
} | {
|
|
5704
|
+
/** @enum {string} */
|
|
5705
|
+
code: "guestTotalsZero";
|
|
5706
|
+
/** @enum {string} */
|
|
5707
|
+
severity: "warning";
|
|
5708
|
+
context: Record<string, never>;
|
|
5647
5709
|
})[];
|
|
5648
5710
|
connection?: {
|
|
5649
5711
|
/** Format: uuid */
|
|
@@ -5662,6 +5724,7 @@ export interface operations {
|
|
|
5662
5724
|
tax: number;
|
|
5663
5725
|
manager: number;
|
|
5664
5726
|
owner: number;
|
|
5727
|
+
reservation: number;
|
|
5665
5728
|
expense: number;
|
|
5666
5729
|
deposit: number;
|
|
5667
5730
|
guest: number;
|
|
@@ -5875,7 +5938,7 @@ export interface operations {
|
|
|
5875
5938
|
data: {
|
|
5876
5939
|
/** Format: uuid */
|
|
5877
5940
|
listingId: string;
|
|
5878
|
-
/** @default 2025-11-
|
|
5941
|
+
/** @default 2025-11-20 */
|
|
5879
5942
|
startAt: string;
|
|
5880
5943
|
endAt?: string | null;
|
|
5881
5944
|
setListingInactive?: boolean | null;
|
|
@@ -5957,7 +6020,7 @@ export interface operations {
|
|
|
5957
6020
|
"application/json": {
|
|
5958
6021
|
/** Format: uuid */
|
|
5959
6022
|
listingId: string;
|
|
5960
|
-
/** @default 2025-11-
|
|
6023
|
+
/** @default 2025-11-20 */
|
|
5961
6024
|
startAt?: string;
|
|
5962
6025
|
endAt?: string | null;
|
|
5963
6026
|
members: {
|
|
@@ -5991,7 +6054,7 @@ export interface operations {
|
|
|
5991
6054
|
"application/json": {
|
|
5992
6055
|
/** Format: uuid */
|
|
5993
6056
|
listingId: string;
|
|
5994
|
-
/** @default 2025-11-
|
|
6057
|
+
/** @default 2025-11-20 */
|
|
5995
6058
|
startAt: string;
|
|
5996
6059
|
endAt?: string | null;
|
|
5997
6060
|
setListingInactive?: boolean | null;
|
|
@@ -6071,7 +6134,7 @@ export interface operations {
|
|
|
6071
6134
|
"application/json": {
|
|
6072
6135
|
/** Format: uuid */
|
|
6073
6136
|
listingId: string;
|
|
6074
|
-
/** @default 2025-11-
|
|
6137
|
+
/** @default 2025-11-20 */
|
|
6075
6138
|
startAt: string;
|
|
6076
6139
|
endAt?: string | null;
|
|
6077
6140
|
setListingInactive?: boolean | null;
|
|
@@ -6154,7 +6217,7 @@ export interface operations {
|
|
|
6154
6217
|
"application/json": {
|
|
6155
6218
|
/** Format: uuid */
|
|
6156
6219
|
listingId?: string;
|
|
6157
|
-
/** @default 2025-11-
|
|
6220
|
+
/** @default 2025-11-20 */
|
|
6158
6221
|
startAt?: string;
|
|
6159
6222
|
endAt?: string | null;
|
|
6160
6223
|
members?: {
|
|
@@ -6188,7 +6251,7 @@ export interface operations {
|
|
|
6188
6251
|
"application/json": {
|
|
6189
6252
|
/** Format: uuid */
|
|
6190
6253
|
listingId: string;
|
|
6191
|
-
/** @default 2025-11-
|
|
6254
|
+
/** @default 2025-11-20 */
|
|
6192
6255
|
startAt: string;
|
|
6193
6256
|
endAt?: string | null;
|
|
6194
6257
|
setListingInactive?: boolean | null;
|
|
@@ -6374,7 +6437,7 @@ export interface operations {
|
|
|
6374
6437
|
/** Format: uuid */
|
|
6375
6438
|
sourceId?: string | null;
|
|
6376
6439
|
initialOwnership?: {
|
|
6377
|
-
/** @default 2025-11-
|
|
6440
|
+
/** @default 2025-11-20 */
|
|
6378
6441
|
startAt?: string;
|
|
6379
6442
|
endAt?: string | null;
|
|
6380
6443
|
members: {
|
|
@@ -6432,7 +6495,7 @@ export interface operations {
|
|
|
6432
6495
|
status: "active" | "inactive";
|
|
6433
6496
|
defaultCurrency?: string | null;
|
|
6434
6497
|
activeOwnership?: {
|
|
6435
|
-
/** @default 2025-11-
|
|
6498
|
+
/** @default 2025-11-20 */
|
|
6436
6499
|
startAt: string;
|
|
6437
6500
|
endAt?: string | null;
|
|
6438
6501
|
setListingInactive?: boolean | null;
|
|
@@ -6673,7 +6736,7 @@ export interface operations {
|
|
|
6673
6736
|
status: "active" | "inactive";
|
|
6674
6737
|
defaultCurrency?: string | null;
|
|
6675
6738
|
activeOwnership?: {
|
|
6676
|
-
/** @default 2025-11-
|
|
6739
|
+
/** @default 2025-11-20 */
|
|
6677
6740
|
startAt: string;
|
|
6678
6741
|
endAt?: string | null;
|
|
6679
6742
|
setListingInactive?: boolean | null;
|
|
@@ -6812,7 +6875,7 @@ export interface operations {
|
|
|
6812
6875
|
/** Format: uuid */
|
|
6813
6876
|
sourceId?: string | null;
|
|
6814
6877
|
initialOwnership?: {
|
|
6815
|
-
/** @default 2025-11-
|
|
6878
|
+
/** @default 2025-11-20 */
|
|
6816
6879
|
startAt?: string;
|
|
6817
6880
|
endAt?: string | null;
|
|
6818
6881
|
members: {
|
|
@@ -6866,7 +6929,7 @@ export interface operations {
|
|
|
6866
6929
|
status: "active" | "inactive";
|
|
6867
6930
|
defaultCurrency?: string | null;
|
|
6868
6931
|
activeOwnership?: {
|
|
6869
|
-
/** @default 2025-11-
|
|
6932
|
+
/** @default 2025-11-20 */
|
|
6870
6933
|
startAt: string;
|
|
6871
6934
|
endAt?: string | null;
|
|
6872
6935
|
setListingInactive?: boolean | null;
|
|
@@ -7083,7 +7146,7 @@ export interface operations {
|
|
|
7083
7146
|
status: "active" | "inactive";
|
|
7084
7147
|
defaultCurrency?: string | null;
|
|
7085
7148
|
activeOwnership?: {
|
|
7086
|
-
/** @default 2025-11-
|
|
7149
|
+
/** @default 2025-11-20 */
|
|
7087
7150
|
startAt: string;
|
|
7088
7151
|
endAt?: string | null;
|
|
7089
7152
|
setListingInactive?: boolean | null;
|
|
@@ -7230,7 +7293,7 @@ export interface operations {
|
|
|
7230
7293
|
/** Format: uuid */
|
|
7231
7294
|
sourceId?: string | null;
|
|
7232
7295
|
initialOwnership?: {
|
|
7233
|
-
/** @default 2025-11-
|
|
7296
|
+
/** @default 2025-11-20 */
|
|
7234
7297
|
startAt?: string;
|
|
7235
7298
|
endAt?: string | null;
|
|
7236
7299
|
members: {
|
|
@@ -7284,7 +7347,7 @@ export interface operations {
|
|
|
7284
7347
|
status: "active" | "inactive";
|
|
7285
7348
|
defaultCurrency?: string | null;
|
|
7286
7349
|
activeOwnership?: {
|
|
7287
|
-
/** @default 2025-11-
|
|
7350
|
+
/** @default 2025-11-20 */
|
|
7288
7351
|
startAt: string;
|
|
7289
7352
|
endAt?: string | null;
|
|
7290
7353
|
setListingInactive?: boolean | null;
|
|
@@ -9018,6 +9081,7 @@ export interface operations {
|
|
|
9018
9081
|
tax: number;
|
|
9019
9082
|
manager: number;
|
|
9020
9083
|
owner: number;
|
|
9084
|
+
reservation: number;
|
|
9021
9085
|
expense: number;
|
|
9022
9086
|
deposit: number;
|
|
9023
9087
|
guest: number;
|
|
@@ -21320,29 +21384,25 @@ export interface operations {
|
|
|
21320
21384
|
message: string | null;
|
|
21321
21385
|
payload?: unknown;
|
|
21322
21386
|
userId: string | null;
|
|
21323
|
-
/** Format: date-time */
|
|
21324
21387
|
createdAt: string;
|
|
21325
21388
|
effects: {
|
|
21326
21389
|
/** Format: uuid */
|
|
21327
21390
|
id: string;
|
|
21328
|
-
|
|
21329
|
-
effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "UPDATE_RESERVATION_LINKABLES" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT" | "TENANT_HYPERLINE_SYNC" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_SUSPENSION_EMAIL" | "TENANT_STATUS_TRACK" | "CALENDAR_BLOCK_ACTION";
|
|
21391
|
+
effectType: string;
|
|
21330
21392
|
payload?: unknown;
|
|
21393
|
+
entityType: string | null;
|
|
21394
|
+
entityId: string | null;
|
|
21331
21395
|
/** @enum {string} */
|
|
21332
21396
|
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
21333
21397
|
priority: number;
|
|
21334
21398
|
retryCount: number;
|
|
21335
21399
|
maxRetries: number;
|
|
21336
21400
|
sequence: number;
|
|
21337
|
-
/** Format: date-time */
|
|
21338
21401
|
claimedAt: string | null;
|
|
21339
21402
|
claimedBy: string | null;
|
|
21340
|
-
/** Format: date-time */
|
|
21341
21403
|
completedAt: string | null;
|
|
21342
|
-
/** Format: date-time */
|
|
21343
21404
|
lastAttemptAt: string | null;
|
|
21344
21405
|
lastError: string | null;
|
|
21345
|
-
/** Format: date-time */
|
|
21346
21406
|
createdAt: string;
|
|
21347
21407
|
}[];
|
|
21348
21408
|
effectCounts: {
|
|
@@ -22499,10 +22559,11 @@ export interface operations {
|
|
|
22499
22559
|
accountIds?: string;
|
|
22500
22560
|
/** @description comma separated categories */
|
|
22501
22561
|
categoryIds?: string;
|
|
22502
|
-
classifications?:
|
|
22503
|
-
types?:
|
|
22504
|
-
entityTypes?:
|
|
22562
|
+
classifications?: string;
|
|
22563
|
+
types?: string;
|
|
22564
|
+
entityTypes?: string;
|
|
22505
22565
|
party?: "owners" | "manager";
|
|
22566
|
+
includeDetails?: boolean;
|
|
22506
22567
|
limit?: number;
|
|
22507
22568
|
page?: number;
|
|
22508
22569
|
};
|
|
@@ -22548,6 +22609,16 @@ export interface operations {
|
|
|
22548
22609
|
id: string;
|
|
22549
22610
|
name: string;
|
|
22550
22611
|
};
|
|
22612
|
+
detail?: {
|
|
22613
|
+
owners?: string;
|
|
22614
|
+
listing?: string;
|
|
22615
|
+
reservationConfirmationCode?: string;
|
|
22616
|
+
bookingChannel?: string;
|
|
22617
|
+
transactionReference?: string;
|
|
22618
|
+
reservationLineReference?: string;
|
|
22619
|
+
classification?: string;
|
|
22620
|
+
category?: string;
|
|
22621
|
+
};
|
|
22551
22622
|
}[];
|
|
22552
22623
|
pagination: {
|
|
22553
22624
|
/** @default 100 */
|
|
@@ -22608,6 +22679,101 @@ export interface operations {
|
|
|
22608
22679
|
};
|
|
22609
22680
|
};
|
|
22610
22681
|
};
|
|
22682
|
+
getJournalEntriesReportCsv: {
|
|
22683
|
+
parameters: {
|
|
22684
|
+
query?: {
|
|
22685
|
+
/** @description comma separated journal entry ids */
|
|
22686
|
+
ids?: string;
|
|
22687
|
+
txnCode?: string;
|
|
22688
|
+
published?: boolean;
|
|
22689
|
+
status?: "active" | "inactive";
|
|
22690
|
+
startAt?: string;
|
|
22691
|
+
endAt?: string;
|
|
22692
|
+
search?: string;
|
|
22693
|
+
date?: string;
|
|
22694
|
+
amount?: string;
|
|
22695
|
+
isDateRangeEndInclusive?: boolean;
|
|
22696
|
+
reservationIds?: string;
|
|
22697
|
+
transactionIds?: string;
|
|
22698
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
22699
|
+
currency?: string;
|
|
22700
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
22701
|
+
listingIds?: string;
|
|
22702
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
22703
|
+
accountIds?: string;
|
|
22704
|
+
/** @description comma separated categories */
|
|
22705
|
+
categoryIds?: string;
|
|
22706
|
+
classifications?: string;
|
|
22707
|
+
types?: string;
|
|
22708
|
+
entityTypes?: string;
|
|
22709
|
+
party?: "owners" | "manager";
|
|
22710
|
+
};
|
|
22711
|
+
header?: {
|
|
22712
|
+
"X-Team-Id"?: string;
|
|
22713
|
+
};
|
|
22714
|
+
path?: never;
|
|
22715
|
+
cookie?: never;
|
|
22716
|
+
};
|
|
22717
|
+
requestBody?: never;
|
|
22718
|
+
responses: {
|
|
22719
|
+
/** @description Successful response */
|
|
22720
|
+
200: {
|
|
22721
|
+
headers: {
|
|
22722
|
+
[name: string]: unknown;
|
|
22723
|
+
};
|
|
22724
|
+
content: {
|
|
22725
|
+
"application/json": {
|
|
22726
|
+
url: string;
|
|
22727
|
+
};
|
|
22728
|
+
};
|
|
22729
|
+
};
|
|
22730
|
+
/** @description Invalid input data */
|
|
22731
|
+
400: {
|
|
22732
|
+
headers: {
|
|
22733
|
+
[name: string]: unknown;
|
|
22734
|
+
};
|
|
22735
|
+
content: {
|
|
22736
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
22737
|
+
};
|
|
22738
|
+
};
|
|
22739
|
+
/** @description Authorization not provided */
|
|
22740
|
+
401: {
|
|
22741
|
+
headers: {
|
|
22742
|
+
[name: string]: unknown;
|
|
22743
|
+
};
|
|
22744
|
+
content: {
|
|
22745
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
22746
|
+
};
|
|
22747
|
+
};
|
|
22748
|
+
/** @description Insufficient access */
|
|
22749
|
+
403: {
|
|
22750
|
+
headers: {
|
|
22751
|
+
[name: string]: unknown;
|
|
22752
|
+
};
|
|
22753
|
+
content: {
|
|
22754
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
22755
|
+
};
|
|
22756
|
+
};
|
|
22757
|
+
/** @description Not found */
|
|
22758
|
+
404: {
|
|
22759
|
+
headers: {
|
|
22760
|
+
[name: string]: unknown;
|
|
22761
|
+
};
|
|
22762
|
+
content: {
|
|
22763
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
22764
|
+
};
|
|
22765
|
+
};
|
|
22766
|
+
/** @description Internal server error */
|
|
22767
|
+
500: {
|
|
22768
|
+
headers: {
|
|
22769
|
+
[name: string]: unknown;
|
|
22770
|
+
};
|
|
22771
|
+
content: {
|
|
22772
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
22773
|
+
};
|
|
22774
|
+
};
|
|
22775
|
+
};
|
|
22776
|
+
};
|
|
22611
22777
|
getManagerStatementsReport: {
|
|
22612
22778
|
parameters: {
|
|
22613
22779
|
query: {
|
|
@@ -22839,9 +23005,9 @@ export interface operations {
|
|
|
22839
23005
|
accountIds?: string;
|
|
22840
23006
|
/** @description comma separated categories */
|
|
22841
23007
|
categoryIds?: string;
|
|
22842
|
-
classifications?:
|
|
22843
|
-
types?:
|
|
22844
|
-
entityTypes?:
|
|
23008
|
+
classifications?: string;
|
|
23009
|
+
types?: string;
|
|
23010
|
+
entityTypes?: string;
|
|
22845
23011
|
limit?: number;
|
|
22846
23012
|
page?: number;
|
|
22847
23013
|
};
|
|
@@ -22887,6 +23053,16 @@ export interface operations {
|
|
|
22887
23053
|
id: string;
|
|
22888
23054
|
name: string;
|
|
22889
23055
|
};
|
|
23056
|
+
detail?: {
|
|
23057
|
+
owners?: string;
|
|
23058
|
+
listing?: string;
|
|
23059
|
+
reservationConfirmationCode?: string;
|
|
23060
|
+
bookingChannel?: string;
|
|
23061
|
+
transactionReference?: string;
|
|
23062
|
+
reservationLineReference?: string;
|
|
23063
|
+
classification?: string;
|
|
23064
|
+
category?: string;
|
|
23065
|
+
};
|
|
22890
23066
|
}[];
|
|
22891
23067
|
pagination: {
|
|
22892
23068
|
/** @default 100 */
|
|
@@ -22947,6 +23123,100 @@ export interface operations {
|
|
|
22947
23123
|
};
|
|
22948
23124
|
};
|
|
22949
23125
|
};
|
|
23126
|
+
getManagerStatementReportJournalEntriesCsv: {
|
|
23127
|
+
parameters: {
|
|
23128
|
+
query?: {
|
|
23129
|
+
/** @description comma separated journal entry ids */
|
|
23130
|
+
ids?: string;
|
|
23131
|
+
txnCode?: string;
|
|
23132
|
+
published?: boolean;
|
|
23133
|
+
status?: "active" | "inactive";
|
|
23134
|
+
startAt?: string;
|
|
23135
|
+
endAt?: string;
|
|
23136
|
+
search?: string;
|
|
23137
|
+
date?: string;
|
|
23138
|
+
amount?: string;
|
|
23139
|
+
isDateRangeEndInclusive?: boolean;
|
|
23140
|
+
reservationIds?: string;
|
|
23141
|
+
transactionIds?: string;
|
|
23142
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
23143
|
+
currency?: string;
|
|
23144
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
23145
|
+
listingIds?: string;
|
|
23146
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
23147
|
+
accountIds?: string;
|
|
23148
|
+
/** @description comma separated categories */
|
|
23149
|
+
categoryIds?: string;
|
|
23150
|
+
classifications?: string;
|
|
23151
|
+
types?: string;
|
|
23152
|
+
entityTypes?: string;
|
|
23153
|
+
};
|
|
23154
|
+
header?: {
|
|
23155
|
+
"X-Team-Id"?: string;
|
|
23156
|
+
};
|
|
23157
|
+
path?: never;
|
|
23158
|
+
cookie?: never;
|
|
23159
|
+
};
|
|
23160
|
+
requestBody?: never;
|
|
23161
|
+
responses: {
|
|
23162
|
+
/** @description Successful response */
|
|
23163
|
+
200: {
|
|
23164
|
+
headers: {
|
|
23165
|
+
[name: string]: unknown;
|
|
23166
|
+
};
|
|
23167
|
+
content: {
|
|
23168
|
+
"application/json": {
|
|
23169
|
+
url: string;
|
|
23170
|
+
};
|
|
23171
|
+
};
|
|
23172
|
+
};
|
|
23173
|
+
/** @description Invalid input data */
|
|
23174
|
+
400: {
|
|
23175
|
+
headers: {
|
|
23176
|
+
[name: string]: unknown;
|
|
23177
|
+
};
|
|
23178
|
+
content: {
|
|
23179
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23180
|
+
};
|
|
23181
|
+
};
|
|
23182
|
+
/** @description Authorization not provided */
|
|
23183
|
+
401: {
|
|
23184
|
+
headers: {
|
|
23185
|
+
[name: string]: unknown;
|
|
23186
|
+
};
|
|
23187
|
+
content: {
|
|
23188
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23189
|
+
};
|
|
23190
|
+
};
|
|
23191
|
+
/** @description Insufficient access */
|
|
23192
|
+
403: {
|
|
23193
|
+
headers: {
|
|
23194
|
+
[name: string]: unknown;
|
|
23195
|
+
};
|
|
23196
|
+
content: {
|
|
23197
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23198
|
+
};
|
|
23199
|
+
};
|
|
23200
|
+
/** @description Not found */
|
|
23201
|
+
404: {
|
|
23202
|
+
headers: {
|
|
23203
|
+
[name: string]: unknown;
|
|
23204
|
+
};
|
|
23205
|
+
content: {
|
|
23206
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23207
|
+
};
|
|
23208
|
+
};
|
|
23209
|
+
/** @description Internal server error */
|
|
23210
|
+
500: {
|
|
23211
|
+
headers: {
|
|
23212
|
+
[name: string]: unknown;
|
|
23213
|
+
};
|
|
23214
|
+
content: {
|
|
23215
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23216
|
+
};
|
|
23217
|
+
};
|
|
23218
|
+
};
|
|
23219
|
+
};
|
|
22950
23220
|
getProfitAndLossReport: {
|
|
22951
23221
|
parameters: {
|
|
22952
23222
|
query?: {
|
|
@@ -23970,6 +24240,7 @@ export interface operations {
|
|
|
23970
24240
|
requestBody: {
|
|
23971
24241
|
content: {
|
|
23972
24242
|
"application/json": {
|
|
24243
|
+
uniqueRef: string;
|
|
23973
24244
|
title: string;
|
|
23974
24245
|
appId: string;
|
|
23975
24246
|
description?: string | null;
|