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