@vrplatform/api 1.3.1-1789 → 1.3.1-1844

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.
@@ -1205,6 +1205,23 @@ export interface paths {
1205
1205
  patch?: never;
1206
1206
  trace?: never;
1207
1207
  };
1208
+ "/reports/manager-statements/csv": {
1209
+ parameters: {
1210
+ query?: never;
1211
+ header?: never;
1212
+ path?: never;
1213
+ cookie?: never;
1214
+ };
1215
+ /** @description Manager statement summary CSV export */
1216
+ get: operations["getManagerStatementsReportCsv"];
1217
+ put?: never;
1218
+ post?: never;
1219
+ delete?: never;
1220
+ options?: never;
1221
+ head?: never;
1222
+ patch?: never;
1223
+ trace?: never;
1224
+ };
1208
1225
  "/reports/manager-statements/detail": {
1209
1226
  parameters: {
1210
1227
  query?: never;
@@ -1222,6 +1239,23 @@ export interface paths {
1222
1239
  patch?: never;
1223
1240
  trace?: never;
1224
1241
  };
1242
+ "/reports/manager-statements/detail/csv": {
1243
+ parameters: {
1244
+ query?: never;
1245
+ header?: never;
1246
+ path?: never;
1247
+ cookie?: never;
1248
+ };
1249
+ /** @description Manager statement detailed CSV export (grouped sections) */
1250
+ get: operations["getManagerStatementReportDetailCsv"];
1251
+ put?: never;
1252
+ post?: never;
1253
+ delete?: never;
1254
+ options?: never;
1255
+ head?: never;
1256
+ patch?: never;
1257
+ trace?: never;
1258
+ };
1225
1259
  "/reports/manager-statements/detail/journal-entries": {
1226
1260
  parameters: {
1227
1261
  query?: never;
@@ -2157,6 +2191,57 @@ export interface paths {
2157
2191
  patch: operations["patchTeams:idInit"];
2158
2192
  trace?: never;
2159
2193
  };
2194
+ "/transaction-attachments": {
2195
+ parameters: {
2196
+ query?: never;
2197
+ header?: never;
2198
+ path?: never;
2199
+ cookie?: never;
2200
+ };
2201
+ get?: never;
2202
+ put?: never;
2203
+ /** @description Upload an expense attachment (staged) */
2204
+ post: operations["postTransaction-attachments"];
2205
+ delete?: never;
2206
+ options?: never;
2207
+ head?: never;
2208
+ patch?: never;
2209
+ trace?: never;
2210
+ };
2211
+ "/transaction-attachments/{attachmentId}": {
2212
+ parameters: {
2213
+ query?: never;
2214
+ header?: never;
2215
+ path?: never;
2216
+ cookie?: never;
2217
+ };
2218
+ get?: never;
2219
+ put?: never;
2220
+ post?: never;
2221
+ /** @description Delete an expense attachment */
2222
+ delete: operations["deleteTransaction-attachments:attachmentId"];
2223
+ options?: never;
2224
+ head?: never;
2225
+ /** @description Update an expense attachment */
2226
+ patch: operations["patchTransaction-attachments:attachmentId"];
2227
+ trace?: never;
2228
+ };
2229
+ "/transaction-attachments/{attachmentId}/download": {
2230
+ parameters: {
2231
+ query?: never;
2232
+ header?: never;
2233
+ path?: never;
2234
+ cookie?: never;
2235
+ };
2236
+ get: operations["getTransaction-attachments:attachmentIdDownload"];
2237
+ put?: never;
2238
+ post?: never;
2239
+ delete?: never;
2240
+ options?: never;
2241
+ head?: never;
2242
+ patch?: never;
2243
+ trace?: never;
2244
+ };
2160
2245
  "/transactions": {
2161
2246
  parameters: {
2162
2247
  query?: never;
@@ -3616,6 +3701,7 @@ export interface operations {
3616
3701
  } | null;
3617
3702
  } | null;
3618
3703
  }[];
3704
+ attachmentIds?: string[] | null;
3619
3705
  recurringTemplateId?: string | null;
3620
3706
  matchers?: {
3621
3707
  bankAccountRef?: string | null;
@@ -3666,6 +3752,17 @@ export interface operations {
3666
3752
  recurringTemplate?: {
3667
3753
  id: string;
3668
3754
  } | null;
3755
+ attachments: {
3756
+ /** Format: uuid */
3757
+ id: string;
3758
+ transactionId: string | null;
3759
+ createdAt: string;
3760
+ filename: string;
3761
+ extension?: string | null;
3762
+ contentType: string;
3763
+ byteSize: number;
3764
+ isOwnerAccessible: boolean;
3765
+ }[];
3669
3766
  account?: {
3670
3767
  id: string;
3671
3768
  name: string;
@@ -8138,7 +8235,7 @@ export interface operations {
8138
8235
  endDate?: string;
8139
8236
  actionType?: string;
8140
8237
  entityId?: string;
8141
- entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction";
8238
+ entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8142
8239
  includeIfNoEffects?: boolean;
8143
8240
  page?: number;
8144
8241
  };
@@ -8277,9 +8374,9 @@ export interface operations {
8277
8374
  offset?: number;
8278
8375
  dispatchId?: string;
8279
8376
  entityId?: string;
8280
- entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction";
8377
+ entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8281
8378
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
8282
- effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8379
+ effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8283
8380
  page?: number;
8284
8381
  };
8285
8382
  header?: never;
@@ -8305,7 +8402,7 @@ export interface operations {
8305
8402
  apiEndpoint: string | null;
8306
8403
  };
8307
8404
  /** @enum {string} */
8308
- effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8405
+ effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8309
8406
  payload: unknown;
8310
8407
  entity: ({
8311
8408
  /** @constant */
@@ -10590,6 +10687,8 @@ export interface operations {
10590
10687
  activeRecurringFeePeriods?: string;
10591
10688
  /** @description Filter listings that have (true) or lack (false) opening balances */
10592
10689
  openingBalance?: boolean;
10690
+ /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
10691
+ issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
10593
10692
  limit?: number;
10594
10693
  page?: number;
10595
10694
  };
@@ -11211,6 +11310,8 @@ export interface operations {
11211
11310
  activeRecurringFeePeriods?: string;
11212
11311
  /** @description Filter listings that have (true) or lack (false) opening balances */
11213
11312
  openingBalance?: boolean;
11313
+ /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
11314
+ issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
11214
11315
  };
11215
11316
  header?: never;
11216
11317
  path?: never;
@@ -16393,6 +16494,8 @@ export interface operations {
16393
16494
  currency?: string;
16394
16495
  /** @description listing ids comma separated or "unmapped" */
16395
16496
  listingIds?: string;
16497
+ /** @description comma separated listing ownership period ids */
16498
+ listingOwnershipPeriodIds?: string;
16396
16499
  /** @description account ids comma separated accounts or "unmapped" */
16397
16500
  accountIds?: string;
16398
16501
  /** @description comma separated categories */
@@ -16640,6 +16743,8 @@ export interface operations {
16640
16743
  currency?: string;
16641
16744
  /** @description listing ids comma separated or "unmapped" */
16642
16745
  listingIds?: string;
16746
+ /** @description comma separated listing ownership period ids */
16747
+ listingOwnershipPeriodIds?: string;
16643
16748
  /** @description account ids comma separated accounts or "unmapped" */
16644
16749
  accountIds?: string;
16645
16750
  /** @description comma separated categories */
@@ -16876,6 +16981,111 @@ export interface operations {
16876
16981
  };
16877
16982
  };
16878
16983
  };
16984
+ getManagerStatementsReportCsv: {
16985
+ parameters: {
16986
+ query: {
16987
+ /** @description Year in format YYYY */
16988
+ year: number;
16989
+ };
16990
+ header?: never;
16991
+ path?: never;
16992
+ cookie?: never;
16993
+ };
16994
+ requestBody?: never;
16995
+ responses: {
16996
+ /** @description Successful response */
16997
+ 200: {
16998
+ headers: {
16999
+ [name: string]: unknown;
17000
+ };
17001
+ content: {
17002
+ "application/json": {
17003
+ url: string;
17004
+ };
17005
+ };
17006
+ };
17007
+ /** @description Bad request */
17008
+ 400: {
17009
+ headers: {
17010
+ [name: string]: unknown;
17011
+ };
17012
+ content: {
17013
+ "application/json": {
17014
+ code: string;
17015
+ message: string;
17016
+ issues?: {
17017
+ message: string;
17018
+ }[];
17019
+ context?: unknown;
17020
+ };
17021
+ };
17022
+ };
17023
+ /** @description Unauthorized */
17024
+ 401: {
17025
+ headers: {
17026
+ [name: string]: unknown;
17027
+ };
17028
+ content: {
17029
+ "application/json": {
17030
+ code: string;
17031
+ message: string;
17032
+ issues?: {
17033
+ message: string;
17034
+ }[];
17035
+ context?: unknown;
17036
+ };
17037
+ };
17038
+ };
17039
+ /** @description Forbidden */
17040
+ 403: {
17041
+ headers: {
17042
+ [name: string]: unknown;
17043
+ };
17044
+ content: {
17045
+ "application/json": {
17046
+ code: string;
17047
+ message: string;
17048
+ issues?: {
17049
+ message: string;
17050
+ }[];
17051
+ context?: unknown;
17052
+ };
17053
+ };
17054
+ };
17055
+ /** @description Not found */
17056
+ 404: {
17057
+ headers: {
17058
+ [name: string]: unknown;
17059
+ };
17060
+ content: {
17061
+ "application/json": {
17062
+ code: string;
17063
+ message: string;
17064
+ issues?: {
17065
+ message: string;
17066
+ }[];
17067
+ context?: unknown;
17068
+ };
17069
+ };
17070
+ };
17071
+ /** @description Internal server error */
17072
+ 500: {
17073
+ headers: {
17074
+ [name: string]: unknown;
17075
+ };
17076
+ content: {
17077
+ "application/json": {
17078
+ code: string;
17079
+ message: string;
17080
+ issues?: {
17081
+ message: string;
17082
+ }[];
17083
+ context?: unknown;
17084
+ };
17085
+ };
17086
+ };
17087
+ };
17088
+ };
16879
17089
  getManagerStatementReportDetail: {
16880
17090
  parameters: {
16881
17091
  query: {
@@ -17029,6 +17239,111 @@ export interface operations {
17029
17239
  };
17030
17240
  };
17031
17241
  };
17242
+ getManagerStatementReportDetailCsv: {
17243
+ parameters: {
17244
+ query: {
17245
+ startAt: string;
17246
+ endAt: string;
17247
+ };
17248
+ header?: never;
17249
+ path?: never;
17250
+ cookie?: never;
17251
+ };
17252
+ requestBody?: never;
17253
+ responses: {
17254
+ /** @description Successful response */
17255
+ 200: {
17256
+ headers: {
17257
+ [name: string]: unknown;
17258
+ };
17259
+ content: {
17260
+ "application/json": {
17261
+ url: string;
17262
+ };
17263
+ };
17264
+ };
17265
+ /** @description Bad request */
17266
+ 400: {
17267
+ headers: {
17268
+ [name: string]: unknown;
17269
+ };
17270
+ content: {
17271
+ "application/json": {
17272
+ code: string;
17273
+ message: string;
17274
+ issues?: {
17275
+ message: string;
17276
+ }[];
17277
+ context?: unknown;
17278
+ };
17279
+ };
17280
+ };
17281
+ /** @description Unauthorized */
17282
+ 401: {
17283
+ headers: {
17284
+ [name: string]: unknown;
17285
+ };
17286
+ content: {
17287
+ "application/json": {
17288
+ code: string;
17289
+ message: string;
17290
+ issues?: {
17291
+ message: string;
17292
+ }[];
17293
+ context?: unknown;
17294
+ };
17295
+ };
17296
+ };
17297
+ /** @description Forbidden */
17298
+ 403: {
17299
+ headers: {
17300
+ [name: string]: unknown;
17301
+ };
17302
+ content: {
17303
+ "application/json": {
17304
+ code: string;
17305
+ message: string;
17306
+ issues?: {
17307
+ message: string;
17308
+ }[];
17309
+ context?: unknown;
17310
+ };
17311
+ };
17312
+ };
17313
+ /** @description Not found */
17314
+ 404: {
17315
+ headers: {
17316
+ [name: string]: unknown;
17317
+ };
17318
+ content: {
17319
+ "application/json": {
17320
+ code: string;
17321
+ message: string;
17322
+ issues?: {
17323
+ message: string;
17324
+ }[];
17325
+ context?: unknown;
17326
+ };
17327
+ };
17328
+ };
17329
+ /** @description Internal server error */
17330
+ 500: {
17331
+ headers: {
17332
+ [name: string]: unknown;
17333
+ };
17334
+ content: {
17335
+ "application/json": {
17336
+ code: string;
17337
+ message: string;
17338
+ issues?: {
17339
+ message: string;
17340
+ }[];
17341
+ context?: unknown;
17342
+ };
17343
+ };
17344
+ };
17345
+ };
17346
+ };
17032
17347
  getManagerStatementReportJournalEntries: {
17033
17348
  parameters: {
17034
17349
  query?: {
@@ -17054,6 +17369,8 @@ export interface operations {
17054
17369
  currency?: string;
17055
17370
  /** @description listing ids comma separated or "unmapped" */
17056
17371
  listingIds?: string;
17372
+ /** @description comma separated listing ownership period ids */
17373
+ listingOwnershipPeriodIds?: string;
17057
17374
  /** @description account ids comma separated accounts or "unmapped" */
17058
17375
  accountIds?: string;
17059
17376
  /** @description comma separated categories */
@@ -17300,6 +17617,8 @@ export interface operations {
17300
17617
  currency?: string;
17301
17618
  /** @description listing ids comma separated or "unmapped" */
17302
17619
  listingIds?: string;
17620
+ /** @description comma separated listing ownership period ids */
17621
+ listingOwnershipPeriodIds?: string;
17303
17622
  /** @description account ids comma separated accounts or "unmapped" */
17304
17623
  accountIds?: string;
17305
17624
  /** @description comma separated categories */
@@ -24171,6 +24490,7 @@ export interface operations {
24171
24490
  name: string;
24172
24491
  summaryType?: ("default" | "invoice") | null;
24173
24492
  isDefault: boolean;
24493
+ showTeamEmail?: boolean | null;
24174
24494
  netRevenueSections: {
24175
24495
  id?: string | null;
24176
24496
  name: string;
@@ -24422,6 +24742,17 @@ export interface operations {
24422
24742
  id: string | null;
24423
24743
  };
24424
24744
  })[];
24745
+ attachments: {
24746
+ /** Format: uuid */
24747
+ id: string;
24748
+ transactionId: string | null;
24749
+ createdAt: string;
24750
+ filename: string;
24751
+ extension?: string | null;
24752
+ contentType: string;
24753
+ byteSize: number;
24754
+ isOwnerAccessible: boolean;
24755
+ }[];
24425
24756
  }[];
24426
24757
  };
24427
24758
  };
@@ -24719,6 +25050,7 @@ export interface operations {
24719
25050
  name: string;
24720
25051
  summaryType?: ("default" | "invoice") | null;
24721
25052
  isDefault: boolean;
25053
+ showTeamEmail?: boolean | null;
24722
25054
  netRevenueSections: {
24723
25055
  id?: string | null;
24724
25056
  name: string;
@@ -24970,6 +25302,17 @@ export interface operations {
24970
25302
  id: string | null;
24971
25303
  };
24972
25304
  })[];
25305
+ attachments: {
25306
+ /** Format: uuid */
25307
+ id: string;
25308
+ transactionId: string | null;
25309
+ createdAt: string;
25310
+ filename: string;
25311
+ extension?: string | null;
25312
+ contentType: string;
25313
+ byteSize: number;
25314
+ isOwnerAccessible: boolean;
25315
+ }[];
24973
25316
  }[];
24974
25317
  };
24975
25318
  };
@@ -25320,6 +25663,7 @@ export interface operations {
25320
25663
  name: string;
25321
25664
  summaryType?: ("default" | "invoice") | null;
25322
25665
  isDefault: boolean;
25666
+ showTeamEmail?: boolean | null;
25323
25667
  netRevenueSections: {
25324
25668
  id?: string | null;
25325
25669
  name: string;
@@ -25513,6 +25857,7 @@ export interface operations {
25513
25857
  summaryType?: ("default" | "invoice") | null;
25514
25858
  activeListingIds?: string[] | null;
25515
25859
  isDefault?: boolean | null;
25860
+ showTeamEmail?: boolean | null;
25516
25861
  netRevenueSections: {
25517
25862
  id?: string | null;
25518
25863
  name: string;
@@ -25574,6 +25919,7 @@ export interface operations {
25574
25919
  name: string;
25575
25920
  summaryType?: ("default" | "invoice") | null;
25576
25921
  isDefault: boolean;
25922
+ showTeamEmail?: boolean | null;
25577
25923
  netRevenueSections: {
25578
25924
  id?: string | null;
25579
25925
  name: string;
@@ -25764,6 +26110,7 @@ export interface operations {
25764
26110
  name: string;
25765
26111
  summaryType?: ("default" | "invoice") | null;
25766
26112
  isDefault: boolean;
26113
+ showTeamEmail?: boolean | null;
25767
26114
  netRevenueSections: {
25768
26115
  id?: string | null;
25769
26116
  name: string;
@@ -25949,6 +26296,7 @@ export interface operations {
25949
26296
  summaryType?: ("default" | "invoice") | null;
25950
26297
  activeListingIds?: string[] | null;
25951
26298
  isDefault?: boolean | null;
26299
+ showTeamEmail?: boolean | null;
25952
26300
  netRevenueSections?: {
25953
26301
  id?: string | null;
25954
26302
  name: string;
@@ -26010,6 +26358,7 @@ export interface operations {
26010
26358
  name: string;
26011
26359
  summaryType?: ("default" | "invoice") | null;
26012
26360
  isDefault: boolean;
26361
+ showTeamEmail?: boolean | null;
26013
26362
  netRevenueSections: {
26014
26363
  id?: string | null;
26015
26364
  name: string;
@@ -26430,6 +26779,7 @@ export interface operations {
26430
26779
  } | null;
26431
26780
  } | null;
26432
26781
  }[];
26782
+ attachmentIds?: string[] | null;
26433
26783
  recurringTemplateId?: string | null;
26434
26784
  matchers?: {
26435
26785
  bankAccountRef?: string | null;
@@ -26480,6 +26830,17 @@ export interface operations {
26480
26830
  recurringTemplate?: {
26481
26831
  id: string;
26482
26832
  } | null;
26833
+ attachments: {
26834
+ /** Format: uuid */
26835
+ id: string;
26836
+ transactionId: string | null;
26837
+ createdAt: string;
26838
+ filename: string;
26839
+ extension?: string | null;
26840
+ contentType: string;
26841
+ byteSize: number;
26842
+ isOwnerAccessible: boolean;
26843
+ }[];
26483
26844
  account?: {
26484
26845
  id: string;
26485
26846
  name: string;
@@ -27186,6 +27547,7 @@ export interface operations {
27186
27547
  name: string;
27187
27548
  summaryType?: ("default" | "invoice") | null;
27188
27549
  isDefault: boolean;
27550
+ showTeamEmail?: boolean | null;
27189
27551
  netRevenueSections: {
27190
27552
  id?: string | null;
27191
27553
  name: string;
@@ -27437,6 +27799,17 @@ export interface operations {
27437
27799
  id: string | null;
27438
27800
  };
27439
27801
  })[];
27802
+ attachments: {
27803
+ /** Format: uuid */
27804
+ id: string;
27805
+ transactionId: string | null;
27806
+ createdAt: string;
27807
+ filename: string;
27808
+ extension?: string | null;
27809
+ contentType: string;
27810
+ byteSize: number;
27811
+ isOwnerAccessible: boolean;
27812
+ }[];
27440
27813
  };
27441
27814
  };
27442
27815
  };
@@ -27739,6 +28112,7 @@ export interface operations {
27739
28112
  name: string;
27740
28113
  summaryType?: ("default" | "invoice") | null;
27741
28114
  isDefault: boolean;
28115
+ showTeamEmail?: boolean | null;
27742
28116
  netRevenueSections: {
27743
28117
  id?: string | null;
27744
28118
  name: string;
@@ -27990,6 +28364,17 @@ export interface operations {
27990
28364
  id: string | null;
27991
28365
  };
27992
28366
  })[];
28367
+ attachments: {
28368
+ /** Format: uuid */
28369
+ id: string;
28370
+ transactionId: string | null;
28371
+ createdAt: string;
28372
+ filename: string;
28373
+ extension?: string | null;
28374
+ contentType: string;
28375
+ byteSize: number;
28376
+ isOwnerAccessible: boolean;
28377
+ }[];
27993
28378
  syncId?: string | null;
27994
28379
  };
27995
28380
  };
@@ -29418,7 +29803,12 @@ export interface operations {
29418
29803
  /** @constant */
29419
29804
  severity: "error";
29420
29805
  context: {
29421
- connectionIds: string[];
29806
+ connections: {
29807
+ /** Format: uuid */
29808
+ id: string;
29809
+ name: string;
29810
+ appId: string;
29811
+ }[];
29422
29812
  };
29423
29813
  } | {
29424
29814
  /** @constant */
@@ -29426,7 +29816,12 @@ export interface operations {
29426
29816
  /** @constant */
29427
29817
  severity: "error";
29428
29818
  context: {
29429
- connectionIds: string[];
29819
+ connections: {
29820
+ /** Format: uuid */
29821
+ id: string;
29822
+ name: string;
29823
+ appId: string;
29824
+ }[];
29430
29825
  };
29431
29826
  })[];
29432
29827
  isGeneralLedger?: boolean | null;
@@ -29692,7 +30087,12 @@ export interface operations {
29692
30087
  /** @constant */
29693
30088
  severity: "error";
29694
30089
  context: {
29695
- connectionIds: string[];
30090
+ connections: {
30091
+ /** Format: uuid */
30092
+ id: string;
30093
+ name: string;
30094
+ appId: string;
30095
+ }[];
29696
30096
  };
29697
30097
  } | {
29698
30098
  /** @constant */
@@ -29700,7 +30100,12 @@ export interface operations {
29700
30100
  /** @constant */
29701
30101
  severity: "error";
29702
30102
  context: {
29703
- connectionIds: string[];
30103
+ connections: {
30104
+ /** Format: uuid */
30105
+ id: string;
30106
+ name: string;
30107
+ appId: string;
30108
+ }[];
29704
30109
  };
29705
30110
  })[];
29706
30111
  isGeneralLedger?: boolean | null;
@@ -30509,7 +30914,12 @@ export interface operations {
30509
30914
  /** @constant */
30510
30915
  severity: "error";
30511
30916
  context: {
30512
- connectionIds: string[];
30917
+ connections: {
30918
+ /** Format: uuid */
30919
+ id: string;
30920
+ name: string;
30921
+ appId: string;
30922
+ }[];
30513
30923
  };
30514
30924
  } | {
30515
30925
  /** @constant */
@@ -30517,7 +30927,12 @@ export interface operations {
30517
30927
  /** @constant */
30518
30928
  severity: "error";
30519
30929
  context: {
30520
- connectionIds: string[];
30930
+ connections: {
30931
+ /** Format: uuid */
30932
+ id: string;
30933
+ name: string;
30934
+ appId: string;
30935
+ }[];
30521
30936
  };
30522
30937
  })[];
30523
30938
  isGeneralLedger?: boolean | null;
@@ -30780,7 +31195,572 @@ export interface operations {
30780
31195
  /** @constant */
30781
31196
  severity: "error";
30782
31197
  context: {
30783
- connectionIds: string[];
31198
+ connections: {
31199
+ /** Format: uuid */
31200
+ id: string;
31201
+ name: string;
31202
+ appId: string;
31203
+ }[];
31204
+ };
31205
+ } | {
31206
+ /** @constant */
31207
+ code: "outdatedConnections";
31208
+ /** @constant */
31209
+ severity: "error";
31210
+ context: {
31211
+ connections: {
31212
+ /** Format: uuid */
31213
+ id: string;
31214
+ name: string;
31215
+ appId: string;
31216
+ }[];
31217
+ };
31218
+ })[];
31219
+ isGeneralLedger?: boolean | null;
31220
+ booksClosedAt?: string | null;
31221
+ logo?: string | null;
31222
+ statementStartAt?: string | null;
31223
+ ownerPortalShowDraftStatements?: boolean;
31224
+ members?: {
31225
+ userId: string;
31226
+ email?: string | null;
31227
+ role: string;
31228
+ name?: string | null;
31229
+ firstName?: string | null;
31230
+ }[] | null;
31231
+ extractableConnections?: {
31232
+ [key: string]: {
31233
+ connections: {
31234
+ /** Format: uuid */
31235
+ id: string;
31236
+ name: string;
31237
+ appId: string;
31238
+ urlExample?: string | null;
31239
+ allowConfirmationCode?: boolean | null;
31240
+ }[];
31241
+ };
31242
+ } | null;
31243
+ };
31244
+ };
31245
+ };
31246
+ /** @description Bad request */
31247
+ 400: {
31248
+ headers: {
31249
+ [name: string]: unknown;
31250
+ };
31251
+ content: {
31252
+ "application/json": {
31253
+ code: string;
31254
+ message: string;
31255
+ issues?: {
31256
+ message: string;
31257
+ }[];
31258
+ context?: unknown;
31259
+ };
31260
+ };
31261
+ };
31262
+ /** @description Unauthorized */
31263
+ 401: {
31264
+ headers: {
31265
+ [name: string]: unknown;
31266
+ };
31267
+ content: {
31268
+ "application/json": {
31269
+ code: string;
31270
+ message: string;
31271
+ issues?: {
31272
+ message: string;
31273
+ }[];
31274
+ context?: unknown;
31275
+ };
31276
+ };
31277
+ };
31278
+ /** @description Forbidden */
31279
+ 403: {
31280
+ headers: {
31281
+ [name: string]: unknown;
31282
+ };
31283
+ content: {
31284
+ "application/json": {
31285
+ code: string;
31286
+ message: string;
31287
+ issues?: {
31288
+ message: string;
31289
+ }[];
31290
+ context?: unknown;
31291
+ };
31292
+ };
31293
+ };
31294
+ /** @description Not found */
31295
+ 404: {
31296
+ headers: {
31297
+ [name: string]: unknown;
31298
+ };
31299
+ content: {
31300
+ "application/json": {
31301
+ code: string;
31302
+ message: string;
31303
+ issues?: {
31304
+ message: string;
31305
+ }[];
31306
+ context?: unknown;
31307
+ };
31308
+ };
31309
+ };
31310
+ /** @description Internal server error */
31311
+ 500: {
31312
+ headers: {
31313
+ [name: string]: unknown;
31314
+ };
31315
+ content: {
31316
+ "application/json": {
31317
+ code: string;
31318
+ message: string;
31319
+ issues?: {
31320
+ message: string;
31321
+ }[];
31322
+ context?: unknown;
31323
+ };
31324
+ };
31325
+ };
31326
+ };
31327
+ };
31328
+ "deleteTeams:id": {
31329
+ parameters: {
31330
+ query?: {
31331
+ force?: boolean;
31332
+ };
31333
+ header?: never;
31334
+ path: {
31335
+ id: string;
31336
+ };
31337
+ cookie?: never;
31338
+ };
31339
+ requestBody?: {
31340
+ content: {
31341
+ "application/json": {
31342
+ cancelation?: {
31343
+ /** @enum {string} */
31344
+ reason?: "different-expectations" | "different-provider" | "missing-feature" | "no-longer-needed" | "switch-to-gl" | "removed-from-billing-console" | "other";
31345
+ feedback?: string | null;
31346
+ };
31347
+ };
31348
+ };
31349
+ };
31350
+ responses: {
31351
+ /** @description Successful response */
31352
+ 200: {
31353
+ headers: {
31354
+ [name: string]: unknown;
31355
+ };
31356
+ content: {
31357
+ "application/json": {
31358
+ deleted: boolean;
31359
+ };
31360
+ };
31361
+ };
31362
+ /** @description Bad request */
31363
+ 400: {
31364
+ headers: {
31365
+ [name: string]: unknown;
31366
+ };
31367
+ content: {
31368
+ "application/json": {
31369
+ code: string;
31370
+ message: string;
31371
+ issues?: {
31372
+ message: string;
31373
+ }[];
31374
+ context?: unknown;
31375
+ };
31376
+ };
31377
+ };
31378
+ /** @description Unauthorized */
31379
+ 401: {
31380
+ headers: {
31381
+ [name: string]: unknown;
31382
+ };
31383
+ content: {
31384
+ "application/json": {
31385
+ code: string;
31386
+ message: string;
31387
+ issues?: {
31388
+ message: string;
31389
+ }[];
31390
+ context?: unknown;
31391
+ };
31392
+ };
31393
+ };
31394
+ /** @description Forbidden */
31395
+ 403: {
31396
+ headers: {
31397
+ [name: string]: unknown;
31398
+ };
31399
+ content: {
31400
+ "application/json": {
31401
+ code: string;
31402
+ message: string;
31403
+ issues?: {
31404
+ message: string;
31405
+ }[];
31406
+ context?: unknown;
31407
+ };
31408
+ };
31409
+ };
31410
+ /** @description Not found */
31411
+ 404: {
31412
+ headers: {
31413
+ [name: string]: unknown;
31414
+ };
31415
+ content: {
31416
+ "application/json": {
31417
+ code: string;
31418
+ message: string;
31419
+ issues?: {
31420
+ message: string;
31421
+ }[];
31422
+ context?: unknown;
31423
+ };
31424
+ };
31425
+ };
31426
+ /** @description Internal server error */
31427
+ 500: {
31428
+ headers: {
31429
+ [name: string]: unknown;
31430
+ };
31431
+ content: {
31432
+ "application/json": {
31433
+ code: string;
31434
+ message: string;
31435
+ issues?: {
31436
+ message: string;
31437
+ }[];
31438
+ context?: unknown;
31439
+ };
31440
+ };
31441
+ };
31442
+ };
31443
+ };
31444
+ "putTeams:idBooks-closing": {
31445
+ parameters: {
31446
+ query?: never;
31447
+ header?: never;
31448
+ path: {
31449
+ id: string;
31450
+ };
31451
+ cookie?: never;
31452
+ };
31453
+ requestBody?: {
31454
+ content: {
31455
+ "application/json": {
31456
+ booksClosedAt: string | null;
31457
+ };
31458
+ };
31459
+ };
31460
+ responses: {
31461
+ /** @description Successful response */
31462
+ 200: {
31463
+ headers: {
31464
+ [name: string]: unknown;
31465
+ };
31466
+ content: {
31467
+ "application/json": {
31468
+ /** Format: uuid */
31469
+ id: string;
31470
+ booksClosedAt: string | null;
31471
+ };
31472
+ };
31473
+ };
31474
+ /** @description Bad request */
31475
+ 400: {
31476
+ headers: {
31477
+ [name: string]: unknown;
31478
+ };
31479
+ content: {
31480
+ "application/json": {
31481
+ code: string;
31482
+ message: string;
31483
+ issues?: {
31484
+ message: string;
31485
+ }[];
31486
+ context?: unknown;
31487
+ };
31488
+ };
31489
+ };
31490
+ /** @description Unauthorized */
31491
+ 401: {
31492
+ headers: {
31493
+ [name: string]: unknown;
31494
+ };
31495
+ content: {
31496
+ "application/json": {
31497
+ code: string;
31498
+ message: string;
31499
+ issues?: {
31500
+ message: string;
31501
+ }[];
31502
+ context?: unknown;
31503
+ };
31504
+ };
31505
+ };
31506
+ /** @description Forbidden */
31507
+ 403: {
31508
+ headers: {
31509
+ [name: string]: unknown;
31510
+ };
31511
+ content: {
31512
+ "application/json": {
31513
+ code: string;
31514
+ message: string;
31515
+ issues?: {
31516
+ message: string;
31517
+ }[];
31518
+ context?: unknown;
31519
+ };
31520
+ };
31521
+ };
31522
+ /** @description Not found */
31523
+ 404: {
31524
+ headers: {
31525
+ [name: string]: unknown;
31526
+ };
31527
+ content: {
31528
+ "application/json": {
31529
+ code: string;
31530
+ message: string;
31531
+ issues?: {
31532
+ message: string;
31533
+ }[];
31534
+ context?: unknown;
31535
+ };
31536
+ };
31537
+ };
31538
+ /** @description Internal server error */
31539
+ 500: {
31540
+ headers: {
31541
+ [name: string]: unknown;
31542
+ };
31543
+ content: {
31544
+ "application/json": {
31545
+ code: string;
31546
+ message: string;
31547
+ issues?: {
31548
+ message: string;
31549
+ }[];
31550
+ context?: unknown;
31551
+ };
31552
+ };
31553
+ };
31554
+ };
31555
+ };
31556
+ "postTeams:idGenerate-demo-data": {
31557
+ parameters: {
31558
+ query?: never;
31559
+ header?: never;
31560
+ path: {
31561
+ id: string;
31562
+ };
31563
+ cookie?: never;
31564
+ };
31565
+ requestBody?: {
31566
+ content: {
31567
+ "application/json": Record<string, never>;
31568
+ };
31569
+ };
31570
+ responses: {
31571
+ /** @description Successful response */
31572
+ 200: {
31573
+ headers: {
31574
+ [name: string]: unknown;
31575
+ };
31576
+ content: {
31577
+ "application/json": {
31578
+ ok: boolean;
31579
+ };
31580
+ };
31581
+ };
31582
+ /** @description Bad request */
31583
+ 400: {
31584
+ headers: {
31585
+ [name: string]: unknown;
31586
+ };
31587
+ content: {
31588
+ "application/json": {
31589
+ code: string;
31590
+ message: string;
31591
+ issues?: {
31592
+ message: string;
31593
+ }[];
31594
+ context?: unknown;
31595
+ };
31596
+ };
31597
+ };
31598
+ /** @description Unauthorized */
31599
+ 401: {
31600
+ headers: {
31601
+ [name: string]: unknown;
31602
+ };
31603
+ content: {
31604
+ "application/json": {
31605
+ code: string;
31606
+ message: string;
31607
+ issues?: {
31608
+ message: string;
31609
+ }[];
31610
+ context?: unknown;
31611
+ };
31612
+ };
31613
+ };
31614
+ /** @description Forbidden */
31615
+ 403: {
31616
+ headers: {
31617
+ [name: string]: unknown;
31618
+ };
31619
+ content: {
31620
+ "application/json": {
31621
+ code: string;
31622
+ message: string;
31623
+ issues?: {
31624
+ message: string;
31625
+ }[];
31626
+ context?: unknown;
31627
+ };
31628
+ };
31629
+ };
31630
+ /** @description Not found */
31631
+ 404: {
31632
+ headers: {
31633
+ [name: string]: unknown;
31634
+ };
31635
+ content: {
31636
+ "application/json": {
31637
+ code: string;
31638
+ message: string;
31639
+ issues?: {
31640
+ message: string;
31641
+ }[];
31642
+ context?: unknown;
31643
+ };
31644
+ };
31645
+ };
31646
+ /** @description Internal server error */
31647
+ 500: {
31648
+ headers: {
31649
+ [name: string]: unknown;
31650
+ };
31651
+ content: {
31652
+ "application/json": {
31653
+ code: string;
31654
+ message: string;
31655
+ issues?: {
31656
+ message: string;
31657
+ }[];
31658
+ context?: unknown;
31659
+ };
31660
+ };
31661
+ };
31662
+ };
31663
+ };
31664
+ "patchTeams:idInit": {
31665
+ parameters: {
31666
+ query?: never;
31667
+ header?: never;
31668
+ path: {
31669
+ id: string;
31670
+ };
31671
+ cookie?: never;
31672
+ };
31673
+ requestBody?: {
31674
+ content: {
31675
+ "application/json": {
31676
+ taxRateCountryOverwrite?: string | null;
31677
+ copyFromTeamId?: string;
31678
+ copyLineMappingsFromPartnerId?: string | null;
31679
+ include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
31680
+ };
31681
+ };
31682
+ };
31683
+ responses: {
31684
+ /** @description Successful response */
31685
+ 200: {
31686
+ headers: {
31687
+ [name: string]: unknown;
31688
+ };
31689
+ content: {
31690
+ "application/json": {
31691
+ /** Format: uuid */
31692
+ id: string;
31693
+ defaultCurrency?: string | null;
31694
+ longTermStayNights?: number | null;
31695
+ defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
31696
+ name: string;
31697
+ statementAddress?: {
31698
+ full?: string | null;
31699
+ line1?: string | null;
31700
+ line2?: string | null;
31701
+ city?: string | null;
31702
+ /** @description Deprecated, use stateCode instead */
31703
+ state?: string | null;
31704
+ postalCode?: string | null;
31705
+ stateCode?: string | null;
31706
+ countryCode?: string | null;
31707
+ } | null;
31708
+ billingAddress?: {
31709
+ full?: string | null;
31710
+ line1?: string | null;
31711
+ line2?: string | null;
31712
+ city?: string | null;
31713
+ /** @description Deprecated, use stateCode instead */
31714
+ state?: string | null;
31715
+ postalCode?: string | null;
31716
+ stateCode?: string | null;
31717
+ countryCode?: string | null;
31718
+ } | null;
31719
+ phone?: string | null;
31720
+ email?: string | null;
31721
+ taxId?: string | null;
31722
+ partner?: {
31723
+ /** Format: uuid */
31724
+ id: string;
31725
+ name: string;
31726
+ } | null;
31727
+ billingPartner?: {
31728
+ /** Format: uuid */
31729
+ id: string;
31730
+ name: string;
31731
+ } | null;
31732
+ companyName?: string | null;
31733
+ /** @enum {string} */
31734
+ type: "partner" | "admin" | "propertyManager";
31735
+ /** @enum {string} */
31736
+ status: "active" | "inactive" | "deleted" | "onboarding";
31737
+ billingSubscriptionStatus?: string | null;
31738
+ billingPlan?: string | null;
31739
+ createdAt?: string | null;
31740
+ updatedAt?: string | null;
31741
+ trialUntil?: string | null;
31742
+ cancelledAt?: string | null;
31743
+ isOnboarding?: boolean | null;
31744
+ issues: ({
31745
+ /** @constant */
31746
+ code: "unassignedAccount";
31747
+ /** @constant */
31748
+ severity: "error";
31749
+ context: {
31750
+ accountIds: string[];
31751
+ };
31752
+ } | {
31753
+ /** @constant */
31754
+ code: "brokenConnections";
31755
+ /** @constant */
31756
+ severity: "error";
31757
+ context: {
31758
+ connections: {
31759
+ /** Format: uuid */
31760
+ id: string;
31761
+ name: string;
31762
+ appId: string;
31763
+ }[];
30784
31764
  };
30785
31765
  } | {
30786
31766
  /** @constant */
@@ -30788,7 +31768,12 @@ export interface operations {
30788
31768
  /** @constant */
30789
31769
  severity: "error";
30790
31770
  context: {
30791
- connectionIds: string[];
31771
+ connections: {
31772
+ /** Format: uuid */
31773
+ id: string;
31774
+ name: string;
31775
+ appId: string;
31776
+ }[];
30792
31777
  };
30793
31778
  })[];
30794
31779
  isGeneralLedger?: boolean | null;
@@ -30900,22 +31885,14 @@ export interface operations {
30900
31885
  };
30901
31886
  };
30902
31887
  };
30903
- "deleteTeams:id": {
31888
+ "postTransaction-attachments": {
30904
31889
  parameters: {
30905
- query?: {
30906
- force?: boolean;
30907
- };
31890
+ query?: never;
30908
31891
  header?: never;
30909
- path: {
30910
- id: string;
30911
- };
31892
+ path?: never;
30912
31893
  cookie?: never;
30913
31894
  };
30914
- requestBody?: {
30915
- content: {
30916
- "application/json": Record<string, never>;
30917
- };
30918
- };
31895
+ requestBody?: never;
30919
31896
  responses: {
30920
31897
  /** @description Successful response */
30921
31898
  200: {
@@ -30924,7 +31901,15 @@ export interface operations {
30924
31901
  };
30925
31902
  content: {
30926
31903
  "application/json": {
30927
- deleted: boolean;
31904
+ /** Format: uuid */
31905
+ id: string;
31906
+ transactionId: string | null;
31907
+ createdAt: string;
31908
+ filename: string;
31909
+ extension?: string | null;
31910
+ contentType: string;
31911
+ byteSize: number;
31912
+ isOwnerAccessible: boolean;
30928
31913
  };
30929
31914
  };
30930
31915
  };
@@ -31010,20 +31995,18 @@ export interface operations {
31010
31995
  };
31011
31996
  };
31012
31997
  };
31013
- "putTeams:idBooks-closing": {
31998
+ "deleteTransaction-attachments:attachmentId": {
31014
31999
  parameters: {
31015
32000
  query?: never;
31016
32001
  header?: never;
31017
32002
  path: {
31018
- id: string;
32003
+ attachmentId: string;
31019
32004
  };
31020
32005
  cookie?: never;
31021
32006
  };
31022
32007
  requestBody?: {
31023
32008
  content: {
31024
- "application/json": {
31025
- booksClosedAt: string | null;
31026
- };
32009
+ "application/json": Record<string, never>;
31027
32010
  };
31028
32011
  };
31029
32012
  responses: {
@@ -31036,7 +32019,6 @@ export interface operations {
31036
32019
  "application/json": {
31037
32020
  /** Format: uuid */
31038
32021
  id: string;
31039
- booksClosedAt: string | null;
31040
32022
  };
31041
32023
  };
31042
32024
  };
@@ -31122,18 +32104,20 @@ export interface operations {
31122
32104
  };
31123
32105
  };
31124
32106
  };
31125
- "postTeams:idGenerate-demo-data": {
32107
+ "patchTransaction-attachments:attachmentId": {
31126
32108
  parameters: {
31127
32109
  query?: never;
31128
32110
  header?: never;
31129
32111
  path: {
31130
- id: string;
32112
+ attachmentId: string;
31131
32113
  };
31132
32114
  cookie?: never;
31133
32115
  };
31134
32116
  requestBody?: {
31135
32117
  content: {
31136
- "application/json": Record<string, never>;
32118
+ "application/json": {
32119
+ isOwnerAccessible: boolean;
32120
+ };
31137
32121
  };
31138
32122
  };
31139
32123
  responses: {
@@ -31144,7 +32128,15 @@ export interface operations {
31144
32128
  };
31145
32129
  content: {
31146
32130
  "application/json": {
31147
- ok: boolean;
32131
+ /** Format: uuid */
32132
+ id: string;
32133
+ transactionId: string | null;
32134
+ createdAt: string;
32135
+ filename: string;
32136
+ extension?: string | null;
32137
+ contentType: string;
32138
+ byteSize: number;
32139
+ isOwnerAccessible: boolean;
31148
32140
  };
31149
32141
  };
31150
32142
  };
@@ -31230,217 +32222,22 @@ export interface operations {
31230
32222
  };
31231
32223
  };
31232
32224
  };
31233
- "patchTeams:idInit": {
32225
+ "getTransaction-attachments:attachmentIdDownload": {
31234
32226
  parameters: {
31235
32227
  query?: never;
31236
32228
  header?: never;
31237
32229
  path: {
31238
- id: string;
32230
+ attachmentId: string;
31239
32231
  };
31240
32232
  cookie?: never;
31241
32233
  };
31242
- requestBody?: {
31243
- content: {
31244
- "application/json": {
31245
- taxRateCountryOverwrite?: string | null;
31246
- copyFromTeamId?: string;
31247
- copyLineMappingsFromPartnerId?: string | null;
31248
- include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
31249
- };
31250
- };
31251
- };
32234
+ requestBody?: never;
31252
32235
  responses: {
31253
- /** @description Successful response */
31254
32236
  200: {
31255
32237
  headers: {
31256
32238
  [name: string]: unknown;
31257
32239
  };
31258
- content: {
31259
- "application/json": {
31260
- /** Format: uuid */
31261
- id: string;
31262
- defaultCurrency?: string | null;
31263
- longTermStayNights?: number | null;
31264
- defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
31265
- name: string;
31266
- statementAddress?: {
31267
- full?: string | null;
31268
- line1?: string | null;
31269
- line2?: string | null;
31270
- city?: string | null;
31271
- /** @description Deprecated, use stateCode instead */
31272
- state?: string | null;
31273
- postalCode?: string | null;
31274
- stateCode?: string | null;
31275
- countryCode?: string | null;
31276
- } | null;
31277
- billingAddress?: {
31278
- full?: string | null;
31279
- line1?: string | null;
31280
- line2?: string | null;
31281
- city?: string | null;
31282
- /** @description Deprecated, use stateCode instead */
31283
- state?: string | null;
31284
- postalCode?: string | null;
31285
- stateCode?: string | null;
31286
- countryCode?: string | null;
31287
- } | null;
31288
- phone?: string | null;
31289
- email?: string | null;
31290
- taxId?: string | null;
31291
- partner?: {
31292
- /** Format: uuid */
31293
- id: string;
31294
- name: string;
31295
- } | null;
31296
- billingPartner?: {
31297
- /** Format: uuid */
31298
- id: string;
31299
- name: string;
31300
- } | null;
31301
- companyName?: string | null;
31302
- /** @enum {string} */
31303
- type: "partner" | "admin" | "propertyManager";
31304
- /** @enum {string} */
31305
- status: "active" | "inactive" | "deleted" | "onboarding";
31306
- billingSubscriptionStatus?: string | null;
31307
- billingPlan?: string | null;
31308
- createdAt?: string | null;
31309
- updatedAt?: string | null;
31310
- trialUntil?: string | null;
31311
- cancelledAt?: string | null;
31312
- isOnboarding?: boolean | null;
31313
- issues: ({
31314
- /** @constant */
31315
- code: "unassignedAccount";
31316
- /** @constant */
31317
- severity: "error";
31318
- context: {
31319
- accountIds: string[];
31320
- };
31321
- } | {
31322
- /** @constant */
31323
- code: "brokenConnections";
31324
- /** @constant */
31325
- severity: "error";
31326
- context: {
31327
- connectionIds: string[];
31328
- };
31329
- } | {
31330
- /** @constant */
31331
- code: "outdatedConnections";
31332
- /** @constant */
31333
- severity: "error";
31334
- context: {
31335
- connectionIds: string[];
31336
- };
31337
- })[];
31338
- isGeneralLedger?: boolean | null;
31339
- booksClosedAt?: string | null;
31340
- logo?: string | null;
31341
- statementStartAt?: string | null;
31342
- ownerPortalShowDraftStatements?: boolean;
31343
- members?: {
31344
- userId: string;
31345
- email?: string | null;
31346
- role: string;
31347
- name?: string | null;
31348
- firstName?: string | null;
31349
- }[] | null;
31350
- extractableConnections?: {
31351
- [key: string]: {
31352
- connections: {
31353
- /** Format: uuid */
31354
- id: string;
31355
- name: string;
31356
- appId: string;
31357
- urlExample?: string | null;
31358
- allowConfirmationCode?: boolean | null;
31359
- }[];
31360
- };
31361
- } | null;
31362
- };
31363
- };
31364
- };
31365
- /** @description Bad request */
31366
- 400: {
31367
- headers: {
31368
- [name: string]: unknown;
31369
- };
31370
- content: {
31371
- "application/json": {
31372
- code: string;
31373
- message: string;
31374
- issues?: {
31375
- message: string;
31376
- }[];
31377
- context?: unknown;
31378
- };
31379
- };
31380
- };
31381
- /** @description Unauthorized */
31382
- 401: {
31383
- headers: {
31384
- [name: string]: unknown;
31385
- };
31386
- content: {
31387
- "application/json": {
31388
- code: string;
31389
- message: string;
31390
- issues?: {
31391
- message: string;
31392
- }[];
31393
- context?: unknown;
31394
- };
31395
- };
31396
- };
31397
- /** @description Forbidden */
31398
- 403: {
31399
- headers: {
31400
- [name: string]: unknown;
31401
- };
31402
- content: {
31403
- "application/json": {
31404
- code: string;
31405
- message: string;
31406
- issues?: {
31407
- message: string;
31408
- }[];
31409
- context?: unknown;
31410
- };
31411
- };
31412
- };
31413
- /** @description Not found */
31414
- 404: {
31415
- headers: {
31416
- [name: string]: unknown;
31417
- };
31418
- content: {
31419
- "application/json": {
31420
- code: string;
31421
- message: string;
31422
- issues?: {
31423
- message: string;
31424
- }[];
31425
- context?: unknown;
31426
- };
31427
- };
31428
- };
31429
- /** @description Internal server error */
31430
- 500: {
31431
- headers: {
31432
- [name: string]: unknown;
31433
- };
31434
- content: {
31435
- "application/json": {
31436
- code: string;
31437
- message: string;
31438
- issues?: {
31439
- message: string;
31440
- }[];
31441
- context?: unknown;
31442
- };
31443
- };
32240
+ content?: never;
31444
32241
  };
31445
32242
  };
31446
32243
  };
@@ -31604,6 +32401,7 @@ export interface operations {
31604
32401
  } | null;
31605
32402
  } | null;
31606
32403
  }[];
32404
+ attachmentIds?: string[] | null;
31607
32405
  recurringTemplateId?: string | null;
31608
32406
  matchers?: {
31609
32407
  bankAccountRef?: string | null;
@@ -31654,6 +32452,17 @@ export interface operations {
31654
32452
  recurringTemplate?: {
31655
32453
  id: string;
31656
32454
  } | null;
32455
+ attachments: {
32456
+ /** Format: uuid */
32457
+ id: string;
32458
+ transactionId: string | null;
32459
+ createdAt: string;
32460
+ filename: string;
32461
+ extension?: string | null;
32462
+ contentType: string;
32463
+ byteSize: number;
32464
+ isOwnerAccessible: boolean;
32465
+ }[];
31657
32466
  account?: {
31658
32467
  id: string;
31659
32468
  name: string;
@@ -31854,6 +32663,7 @@ export interface operations {
31854
32663
  lineType?: string | null;
31855
32664
  } | null;
31856
32665
  }[];
32666
+ attachmentIds?: string[] | null;
31857
32667
  payment?: {
31858
32668
  bankRecordIds?: string[];
31859
32669
  /** @enum {string} */
@@ -32013,6 +32823,7 @@ export interface operations {
32013
32823
  } | null;
32014
32824
  } | null;
32015
32825
  }[];
32826
+ attachmentIds?: string[] | null;
32016
32827
  recurringTemplateId?: string | null;
32017
32828
  matchers?: {
32018
32829
  bankAccountRef?: string | null;
@@ -32063,6 +32874,17 @@ export interface operations {
32063
32874
  recurringTemplate?: {
32064
32875
  id: string;
32065
32876
  } | null;
32877
+ attachments: {
32878
+ /** Format: uuid */
32879
+ id: string;
32880
+ transactionId: string | null;
32881
+ createdAt: string;
32882
+ filename: string;
32883
+ extension?: string | null;
32884
+ contentType: string;
32885
+ byteSize: number;
32886
+ isOwnerAccessible: boolean;
32887
+ }[];
32066
32888
  account?: {
32067
32889
  id: string;
32068
32890
  name: string;
@@ -32256,6 +33078,7 @@ export interface operations {
32256
33078
  lineType?: string | null;
32257
33079
  } | null;
32258
33080
  }[];
33081
+ attachmentIds?: string[] | null;
32259
33082
  payment?: {
32260
33083
  bankRecordIds?: string[];
32261
33084
  /** @enum {string} */
@@ -34771,6 +35594,7 @@ export interface operations {
34771
35594
  } | null;
34772
35595
  } | null;
34773
35596
  }[];
35597
+ attachmentIds?: string[] | null;
34774
35598
  recurringTemplateId?: string | null;
34775
35599
  matchers?: {
34776
35600
  bankAccountRef?: string | null;
@@ -34821,6 +35645,17 @@ export interface operations {
34821
35645
  recurringTemplate?: {
34822
35646
  id: string;
34823
35647
  } | null;
35648
+ attachments: {
35649
+ /** Format: uuid */
35650
+ id: string;
35651
+ transactionId: string | null;
35652
+ createdAt: string;
35653
+ filename: string;
35654
+ extension?: string | null;
35655
+ contentType: string;
35656
+ byteSize: number;
35657
+ isOwnerAccessible: boolean;
35658
+ }[];
34824
35659
  account?: {
34825
35660
  id: string;
34826
35661
  name: string;
@@ -35226,6 +36061,7 @@ export interface operations {
35226
36061
  } | null;
35227
36062
  } | null;
35228
36063
  }[];
36064
+ attachmentIds?: string[] | null;
35229
36065
  recurringTemplateId?: string | null;
35230
36066
  matchers?: {
35231
36067
  bankAccountRef?: string | null;
@@ -35276,6 +36112,17 @@ export interface operations {
35276
36112
  recurringTemplate?: {
35277
36113
  id: string;
35278
36114
  } | null;
36115
+ attachments: {
36116
+ /** Format: uuid */
36117
+ id: string;
36118
+ transactionId: string | null;
36119
+ createdAt: string;
36120
+ filename: string;
36121
+ extension?: string | null;
36122
+ contentType: string;
36123
+ byteSize: number;
36124
+ isOwnerAccessible: boolean;
36125
+ }[];
35279
36126
  account?: {
35280
36127
  id: string;
35281
36128
  name: string;
@@ -35440,6 +36287,7 @@ export interface operations {
35440
36287
  type?: "deposit" | "expense" | "transfer";
35441
36288
  date?: string;
35442
36289
  currency?: string | null;
36290
+ attachmentIds?: string[] | null;
35443
36291
  payment?: {
35444
36292
  bankRecordIds?: string[];
35445
36293
  /** @enum {string} */
@@ -35691,6 +36539,7 @@ export interface operations {
35691
36539
  } | null;
35692
36540
  } | null;
35693
36541
  }[];
36542
+ attachmentIds?: string[] | null;
35694
36543
  recurringTemplateId?: string | null;
35695
36544
  matchers?: {
35696
36545
  bankAccountRef?: string | null;
@@ -35741,6 +36590,17 @@ export interface operations {
35741
36590
  recurringTemplate?: {
35742
36591
  id: string;
35743
36592
  } | null;
36593
+ attachments: {
36594
+ /** Format: uuid */
36595
+ id: string;
36596
+ transactionId: string | null;
36597
+ createdAt: string;
36598
+ filename: string;
36599
+ extension?: string | null;
36600
+ contentType: string;
36601
+ byteSize: number;
36602
+ isOwnerAccessible: boolean;
36603
+ }[];
35744
36604
  account?: {
35745
36605
  id: string;
35746
36606
  name: string;
@@ -36160,6 +37020,7 @@ export interface operations {
36160
37020
  } | null;
36161
37021
  } | null;
36162
37022
  }[];
37023
+ attachmentIds?: string[] | null;
36163
37024
  recurringTemplateId?: string | null;
36164
37025
  matchers?: {
36165
37026
  bankAccountRef?: string | null;
@@ -36210,6 +37071,17 @@ export interface operations {
36210
37071
  recurringTemplate?: {
36211
37072
  id: string;
36212
37073
  } | null;
37074
+ attachments: {
37075
+ /** Format: uuid */
37076
+ id: string;
37077
+ transactionId: string | null;
37078
+ createdAt: string;
37079
+ filename: string;
37080
+ extension?: string | null;
37081
+ contentType: string;
37082
+ byteSize: number;
37083
+ isOwnerAccessible: boolean;
37084
+ }[];
36213
37085
  account?: {
36214
37086
  id: string;
36215
37087
  name: string;