@vrplatform/api 1.3.1-2494 → 1.3.1-2525

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.
@@ -410,7 +410,8 @@ export interface paths {
410
410
  /** @description Update bank record */
411
411
  put: operations["putBankRecordsById"];
412
412
  post?: never;
413
- delete?: never;
413
+ /** @description Permanently delete an unreconciled CSV-source bank record */
414
+ delete: operations["deleteBankRecordsById"];
414
415
  options?: never;
415
416
  head?: never;
416
417
  patch?: never;
@@ -747,6 +748,58 @@ export interface paths {
747
748
  patch: operations["patchContactsByIdRevokeAccess"];
748
749
  trace?: never;
749
750
  };
751
+ "/contacts/{id}/viewers": {
752
+ parameters: {
753
+ query?: never;
754
+ header?: never;
755
+ path?: never;
756
+ cookie?: never;
757
+ };
758
+ /** @description List owner-viewer access for an owner contact */
759
+ get: operations["getContactsByIdViewers"];
760
+ put?: never;
761
+ /** @description Invite an owner viewer for an owner contact */
762
+ post: operations["postContactsByIdViewers"];
763
+ delete?: never;
764
+ options?: never;
765
+ head?: never;
766
+ patch?: never;
767
+ trace?: never;
768
+ };
769
+ "/contacts/{id}/viewers/{userId}": {
770
+ parameters: {
771
+ query?: never;
772
+ header?: never;
773
+ path?: never;
774
+ cookie?: never;
775
+ };
776
+ get?: never;
777
+ put?: never;
778
+ post?: never;
779
+ /** @description Remove an owner-viewer access row from an owner contact */
780
+ delete: operations["deleteContactsByIdViewersByUserId"];
781
+ options?: never;
782
+ head?: never;
783
+ patch?: never;
784
+ trace?: never;
785
+ };
786
+ "/contacts/{id}/viewers/{userId}/invite": {
787
+ parameters: {
788
+ query?: never;
789
+ header?: never;
790
+ path?: never;
791
+ cookie?: never;
792
+ };
793
+ get?: never;
794
+ put?: never;
795
+ post?: never;
796
+ delete?: never;
797
+ options?: never;
798
+ head?: never;
799
+ /** @description Reinvite an existing owner viewer */
800
+ patch: operations["patchContactsByIdViewersByUserIdInvite"];
801
+ trace?: never;
802
+ };
750
803
  "/csv/import": {
751
804
  parameters: {
752
805
  query?: never;
@@ -807,7 +860,8 @@ export interface paths {
807
860
  };
808
861
  /** @description Get flow configuration for a connection */
809
862
  get: operations["getFlowConnection"];
810
- put?: never;
863
+ /** @description Update flow status for a connection */
864
+ put: operations["setFlowStatus"];
811
865
  post?: never;
812
866
  delete?: never;
813
867
  options?: never;
@@ -3108,7 +3162,7 @@ export interface paths {
3108
3162
  };
3109
3163
  get?: never;
3110
3164
  put?: never;
3111
- /** @description Upload an expense attachment (staged) */
3165
+ /** @description Upload an expense attachment as multipart/form-data. The returned staged attachment id can be passed in attachmentIds when creating or updating an expense transaction. */
3112
3166
  post: operations["postTransactionAttachments"];
3113
3167
  delete?: never;
3114
3168
  options?: never;
@@ -3126,11 +3180,11 @@ export interface paths {
3126
3180
  get?: never;
3127
3181
  put?: never;
3128
3182
  post?: never;
3129
- /** @description Delete an expense attachment */
3183
+ /** @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions. */
3130
3184
  delete: operations["deleteTransactionAttachmentsByAttachmentId"];
3131
3185
  options?: never;
3132
3186
  head?: never;
3133
- /** @description Update an expense attachment */
3187
+ /** @description Update attachment visibility. isOwnerAccessible controls whether owners can see the file on owner statement details. */
3134
3188
  patch: operations["patchTransactionAttachmentsByAttachmentId"];
3135
3189
  trace?: never;
3136
3190
  };
@@ -3161,7 +3215,7 @@ export interface paths {
3161
3215
  /** @description Transactions List */
3162
3216
  get: operations["getTransactions"];
3163
3217
  put?: never;
3164
- /** @description Create an transaction */
3218
+ /** @description Create a transaction. For expense attachments, first upload each file with POST /transaction-attachments, then pass the returned ids in attachmentIds. Attachments are only supported for expense transactions. */
3165
3219
  post: operations["postTransactions"];
3166
3220
  delete?: never;
3167
3221
  options?: never;
@@ -3419,7 +3473,7 @@ export interface paths {
3419
3473
  };
3420
3474
  /** @description Transactions List */
3421
3475
  get: operations["getTransactionsById"];
3422
- /** @description Update an transaction by ID */
3476
+ /** @description Update a transaction by ID. For expense attachments, pass attachmentIds to replace the attached set. Omit attachmentIds to keep current attachments. Attachments are only supported for expense transactions. */
3423
3477
  put: operations["putTransactionsById"];
3424
3478
  post?: never;
3425
3479
  /** @description Delete an transaction by ID */
@@ -4753,6 +4807,7 @@ export interface operations {
4753
4807
  } | null;
4754
4808
  } | null;
4755
4809
  }[];
4810
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
4756
4811
  attachmentIds?: string[] | null;
4757
4812
  recurringTemplateId?: string | null;
4758
4813
  matchBankAccountLast4?: string | null;
@@ -4898,6 +4953,15 @@ export interface operations {
4898
4953
  appId?: string | null;
4899
4954
  /** @enum {string} */
4900
4955
  type: "transaction" | "balance";
4956
+ lock: {
4957
+ /** @enum {string} */
4958
+ status: "locked" | "unlocked";
4959
+ delete: {
4960
+ /** @enum {string} */
4961
+ status: "locked" | "unlocked";
4962
+ reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
4963
+ };
4964
+ };
4901
4965
  amount: number;
4902
4966
  balance: {
4903
4967
  current: number;
@@ -5695,7 +5759,7 @@ export interface operations {
5695
5759
  allowConfirmationCode?: boolean;
5696
5760
  }[];
5697
5761
  importers: {
5698
- docsLink: string;
5762
+ docsLink?: string;
5699
5763
  uniqueRef: string;
5700
5764
  description: string;
5701
5765
  types?: string[];
@@ -5852,7 +5916,7 @@ export interface operations {
5852
5916
  allowConfirmationCode?: boolean;
5853
5917
  }[];
5854
5918
  importers: {
5855
- docsLink: string;
5919
+ docsLink?: string;
5856
5920
  uniqueRef: string;
5857
5921
  description: string;
5858
5922
  types?: string[];
@@ -7587,6 +7651,15 @@ export interface operations {
7587
7651
  appId?: string | null;
7588
7652
  /** @enum {string} */
7589
7653
  type: "transaction" | "balance";
7654
+ lock: {
7655
+ /** @enum {string} */
7656
+ status: "locked" | "unlocked";
7657
+ delete: {
7658
+ /** @enum {string} */
7659
+ status: "locked" | "unlocked";
7660
+ reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
7661
+ };
7662
+ };
7590
7663
  amount: number;
7591
7664
  balance: {
7592
7665
  current: number;
@@ -7712,6 +7785,7 @@ export interface operations {
7712
7785
  matchReservationStripeGuestRef?: string | null;
7713
7786
  matchLineTypeClassification?: string | null;
7714
7787
  }[];
7788
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
7715
7789
  attachmentIds?: string[] | null;
7716
7790
  payment?: {
7717
7791
  bankRecordIds: string[];
@@ -8136,6 +8210,15 @@ export interface operations {
8136
8210
  appId?: string | null;
8137
8211
  /** @enum {string} */
8138
8212
  type: "transaction" | "balance";
8213
+ lock: {
8214
+ /** @enum {string} */
8215
+ status: "locked" | "unlocked";
8216
+ delete: {
8217
+ /** @enum {string} */
8218
+ status: "locked" | "unlocked";
8219
+ reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
8220
+ };
8221
+ };
8139
8222
  amount: number;
8140
8223
  balance: {
8141
8224
  current: number;
@@ -8261,6 +8344,7 @@ export interface operations {
8261
8344
  matchReservationStripeGuestRef?: string | null;
8262
8345
  matchLineTypeClassification?: string | null;
8263
8346
  }[];
8347
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
8264
8348
  attachmentIds?: string[] | null;
8265
8349
  payment?: {
8266
8350
  bankRecordIds: string[];
@@ -8479,6 +8563,117 @@ export interface operations {
8479
8563
  };
8480
8564
  };
8481
8565
  };
8566
+ deleteBankRecordsById: {
8567
+ parameters: {
8568
+ query?: {
8569
+ dryRun?: boolean;
8570
+ };
8571
+ header?: never;
8572
+ path: {
8573
+ id: string;
8574
+ };
8575
+ cookie?: never;
8576
+ };
8577
+ requestBody?: {
8578
+ content: {
8579
+ "application/json": Record<string, never>;
8580
+ };
8581
+ };
8582
+ responses: {
8583
+ /** @description Successful response */
8584
+ 200: {
8585
+ headers: {
8586
+ [name: string]: unknown;
8587
+ };
8588
+ content: {
8589
+ "application/json": {
8590
+ /** @constant */
8591
+ status: "deleted";
8592
+ };
8593
+ };
8594
+ };
8595
+ /** @description Bad request */
8596
+ 400: {
8597
+ headers: {
8598
+ [name: string]: unknown;
8599
+ };
8600
+ content: {
8601
+ "application/json": {
8602
+ code: string;
8603
+ message: string;
8604
+ issues?: {
8605
+ message: string;
8606
+ }[];
8607
+ context?: unknown;
8608
+ };
8609
+ };
8610
+ };
8611
+ /** @description Unauthorized */
8612
+ 401: {
8613
+ headers: {
8614
+ [name: string]: unknown;
8615
+ };
8616
+ content: {
8617
+ "application/json": {
8618
+ code: string;
8619
+ message: string;
8620
+ issues?: {
8621
+ message: string;
8622
+ }[];
8623
+ context?: unknown;
8624
+ };
8625
+ };
8626
+ };
8627
+ /** @description Forbidden */
8628
+ 403: {
8629
+ headers: {
8630
+ [name: string]: unknown;
8631
+ };
8632
+ content: {
8633
+ "application/json": {
8634
+ code: string;
8635
+ message: string;
8636
+ issues?: {
8637
+ message: string;
8638
+ }[];
8639
+ context?: unknown;
8640
+ };
8641
+ };
8642
+ };
8643
+ /** @description Not found */
8644
+ 404: {
8645
+ headers: {
8646
+ [name: string]: unknown;
8647
+ };
8648
+ content: {
8649
+ "application/json": {
8650
+ code: string;
8651
+ message: string;
8652
+ issues?: {
8653
+ message: string;
8654
+ }[];
8655
+ context?: unknown;
8656
+ };
8657
+ };
8658
+ };
8659
+ /** @description Internal server error */
8660
+ 500: {
8661
+ headers: {
8662
+ [name: string]: unknown;
8663
+ };
8664
+ content: {
8665
+ "application/json": {
8666
+ code: string;
8667
+ message: string;
8668
+ issues?: {
8669
+ message: string;
8670
+ }[];
8671
+ context?: unknown;
8672
+ };
8673
+ };
8674
+ };
8675
+ };
8676
+ };
8482
8677
  getBankRules: {
8483
8678
  parameters: {
8484
8679
  query?: {
@@ -9074,6 +9269,7 @@ export interface operations {
9074
9269
  matchReservationStripeGuestRef?: string | null;
9075
9270
  matchLineTypeClassification?: string | null;
9076
9271
  }[];
9272
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
9077
9273
  attachmentIds?: string[] | null;
9078
9274
  payment?: {
9079
9275
  bankRecordIds: string[];
@@ -9832,6 +10028,7 @@ export interface operations {
9832
10028
  matchReservationStripeGuestRef?: string | null;
9833
10029
  matchLineTypeClassification?: string | null;
9834
10030
  }[];
10031
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
9835
10032
  attachmentIds?: string[] | null;
9836
10033
  payment?: {
9837
10034
  bankRecordIds: string[];
@@ -11411,6 +11608,7 @@ export interface operations {
11411
11608
  appId?: string | null;
11412
11609
  appIcon?: string | null;
11413
11610
  } | null;
11611
+ pmsStatus?: ("active" | "inactive") | null;
11414
11612
  ownershipPeriods: {
11415
11613
  listingId: string;
11416
11614
  split: number;
@@ -11423,6 +11621,16 @@ export interface operations {
11423
11621
  startAt?: string | null;
11424
11622
  endAt?: string | null;
11425
11623
  }[];
11624
+ access?: {
11625
+ /** Format: uuid */
11626
+ userId: string;
11627
+ /** Format: email */
11628
+ email: string;
11629
+ /** @enum {string} */
11630
+ status: "active" | "inactive" | "unconfirmed";
11631
+ lastSeen?: string | null;
11632
+ lastInvitedAt?: string | null;
11633
+ } | null;
11426
11634
  }[];
11427
11635
  pagination: {
11428
11636
  /** @default 100 */
@@ -11601,6 +11809,7 @@ export interface operations {
11601
11809
  appId?: string | null;
11602
11810
  appIcon?: string | null;
11603
11811
  } | null;
11812
+ pmsStatus?: ("active" | "inactive") | null;
11604
11813
  ownershipPeriods: {
11605
11814
  listingId: string;
11606
11815
  split: number;
@@ -11613,6 +11822,16 @@ export interface operations {
11613
11822
  startAt?: string | null;
11614
11823
  endAt?: string | null;
11615
11824
  }[];
11825
+ access?: {
11826
+ /** Format: uuid */
11827
+ userId: string;
11828
+ /** Format: email */
11829
+ email: string;
11830
+ /** @enum {string} */
11831
+ status: "active" | "inactive" | "unconfirmed";
11832
+ lastSeen?: string | null;
11833
+ lastInvitedAt?: string | null;
11834
+ } | null;
11616
11835
  };
11617
11836
  };
11618
11837
  };
@@ -12012,6 +12231,7 @@ export interface operations {
12012
12231
  appId?: string | null;
12013
12232
  appIcon?: string | null;
12014
12233
  } | null;
12234
+ pmsStatus?: ("active" | "inactive") | null;
12015
12235
  ownershipPeriods: {
12016
12236
  listingId: string;
12017
12237
  split: number;
@@ -12024,6 +12244,16 @@ export interface operations {
12024
12244
  startAt?: string | null;
12025
12245
  endAt?: string | null;
12026
12246
  }[];
12247
+ access?: {
12248
+ /** Format: uuid */
12249
+ userId: string;
12250
+ /** Format: email */
12251
+ email: string;
12252
+ /** @enum {string} */
12253
+ status: "active" | "inactive" | "unconfirmed";
12254
+ lastSeen?: string | null;
12255
+ lastInvitedAt?: string | null;
12256
+ } | null;
12027
12257
  };
12028
12258
  };
12029
12259
  };
@@ -12193,6 +12423,7 @@ export interface operations {
12193
12423
  appId?: string | null;
12194
12424
  appIcon?: string | null;
12195
12425
  } | null;
12426
+ pmsStatus?: ("active" | "inactive") | null;
12196
12427
  ownershipPeriods: {
12197
12428
  listingId: string;
12198
12429
  split: number;
@@ -12205,6 +12436,16 @@ export interface operations {
12205
12436
  startAt?: string | null;
12206
12437
  endAt?: string | null;
12207
12438
  }[];
12439
+ access?: {
12440
+ /** Format: uuid */
12441
+ userId: string;
12442
+ /** Format: email */
12443
+ email: string;
12444
+ /** @enum {string} */
12445
+ status: "active" | "inactive" | "unconfirmed";
12446
+ lastSeen?: string | null;
12447
+ lastInvitedAt?: string | null;
12448
+ } | null;
12208
12449
  };
12209
12450
  };
12210
12451
  };
@@ -12622,25 +12863,16 @@ export interface operations {
12622
12863
  };
12623
12864
  };
12624
12865
  };
12625
- csvImport: {
12866
+ getContactsByIdViewers: {
12626
12867
  parameters: {
12627
12868
  query?: never;
12628
12869
  header?: never;
12629
- path?: never;
12630
- cookie?: never;
12631
- };
12632
- requestBody?: {
12633
- content: {
12634
- "application/json": {
12635
- fileData?: string;
12636
- fileUri?: string;
12637
- fileName?: string;
12638
- connectionId: string;
12639
- uniqueRef: string;
12640
- params?: unknown;
12641
- };
12870
+ path: {
12871
+ id: string;
12642
12872
  };
12873
+ cookie?: never;
12643
12874
  };
12875
+ requestBody?: never;
12644
12876
  responses: {
12645
12877
  /** @description Successful response */
12646
12878
  200: {
@@ -12650,19 +12882,16 @@ export interface operations {
12650
12882
  content: {
12651
12883
  "application/json": {
12652
12884
  data: {
12653
- syncId: string;
12654
- /** @enum {string} */
12655
- status: "completed";
12656
- } | {
12885
+ /** Format: uuid */
12886
+ userId: string;
12887
+ email: string;
12888
+ firstName: string | null;
12889
+ lastName: string | null;
12657
12890
  /** @enum {string} */
12658
- status: "failed";
12659
- syncId: string;
12660
- error: string;
12661
- parseErrors?: {
12662
- rowNumber: number;
12663
- message: string;
12664
- }[];
12665
- };
12891
+ status: "active" | "inactive" | "unconfirmed";
12892
+ lastInvitedAt: string | null;
12893
+ lastSeen: string | null;
12894
+ }[];
12666
12895
  };
12667
12896
  };
12668
12897
  };
@@ -12748,18 +12977,24 @@ export interface operations {
12748
12977
  };
12749
12978
  };
12750
12979
  };
12751
- getFlows: {
12980
+ postContactsByIdViewers: {
12752
12981
  parameters: {
12753
- query?: {
12754
- appId?: string;
12755
- limit?: number;
12756
- page?: number;
12757
- };
12982
+ query?: never;
12758
12983
  header?: never;
12759
- path?: never;
12984
+ path: {
12985
+ id: string;
12986
+ };
12760
12987
  cookie?: never;
12761
12988
  };
12762
- requestBody?: never;
12989
+ requestBody?: {
12990
+ content: {
12991
+ "application/json": {
12992
+ email: string;
12993
+ /** @default true */
12994
+ sendEmail?: boolean;
12995
+ };
12996
+ };
12997
+ };
12763
12998
  responses: {
12764
12999
  /** @description Successful response */
12765
13000
  200: {
@@ -12768,77 +13003,549 @@ export interface operations {
12768
13003
  };
12769
13004
  content: {
12770
13005
  "application/json": {
12771
- data: {
13006
+ url: string;
13007
+ viewer: {
12772
13008
  /** Format: uuid */
12773
- id: string;
12774
- title: string;
12775
- appId: string;
12776
- isPublic: boolean;
12777
- /** @default false */
12778
- useGlobalMapping: boolean;
12779
- description?: string | null;
12780
- /** @description Mapping schema configuration for this flow */
12781
- mappingSchema: {
12782
- [key: string]: {
12783
- /** @description Title for UI/display */
12784
- title: string;
12785
- /** @description Description for UI/display */
12786
- description: string;
12787
- /** @description Optional internal left-side semantic type for internal-keyed mappings */
12788
- type?: string;
12789
- /** @description Internal system mapping configuration */
12790
- internal?: {
12791
- /**
12792
- * @description Internal semantic type
12793
- * @enum {string}
12794
- */
12795
- type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
12796
- /** @description Optional JSONB filter for internal data */
12797
- filter?: string;
12798
- };
12799
- /** @description External system mapping configuration */
12800
- external?: {
12801
- /** @description External type identifier (vendor/system specific) */
12802
- type: string;
12803
- /** @description Optional JSONB filter for external data */
12804
- filter?: string;
12805
- };
12806
- };
12807
- };
12808
- /** @description Setting schema configuration for this flow */
12809
- settingSchema: {
12810
- [key: string]: {
12811
- /** @description Title for UI/display */
12812
- title: string;
12813
- /** @description Description for UI/display */
12814
- description: string;
12815
- /**
12816
- * @description Semantic type of the setting value
12817
- * @enum {string}
12818
- */
12819
- type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
12820
- /** @description Optional JSONB filter for available values */
12821
- filter?: string;
12822
- /** @description External type identifier (vendor/system specific) for options */
12823
- external?: string;
12824
- };
12825
- };
12826
- /** @description Run schema configuration for this flow */
12827
- runSchema: {
12828
- /** @description Human readable description for date selection when triggering a run */
12829
- dateDescription?: string;
12830
- };
13009
+ userId: string;
13010
+ email: string;
13011
+ firstName: string | null;
13012
+ lastName: string | null;
12831
13013
  /** @enum {string} */
12832
- type?: "push" | "pull";
12833
- }[];
12834
- pagination: {
12835
- /** @default 100 */
12836
- limit: number;
12837
- /** @default 1 */
12838
- page: number;
12839
- total: number;
12840
- totalPage: number;
12841
- nextPage?: number;
13014
+ status: "active" | "inactive" | "unconfirmed";
13015
+ lastInvitedAt: string | null;
13016
+ lastSeen: string | null;
13017
+ };
13018
+ };
13019
+ };
13020
+ };
13021
+ /** @description Bad request */
13022
+ 400: {
13023
+ headers: {
13024
+ [name: string]: unknown;
13025
+ };
13026
+ content: {
13027
+ "application/json": {
13028
+ code: string;
13029
+ message: string;
13030
+ issues?: {
13031
+ message: string;
13032
+ }[];
13033
+ context?: unknown;
13034
+ };
13035
+ };
13036
+ };
13037
+ /** @description Unauthorized */
13038
+ 401: {
13039
+ headers: {
13040
+ [name: string]: unknown;
13041
+ };
13042
+ content: {
13043
+ "application/json": {
13044
+ code: string;
13045
+ message: string;
13046
+ issues?: {
13047
+ message: string;
13048
+ }[];
13049
+ context?: unknown;
13050
+ };
13051
+ };
13052
+ };
13053
+ /** @description Forbidden */
13054
+ 403: {
13055
+ headers: {
13056
+ [name: string]: unknown;
13057
+ };
13058
+ content: {
13059
+ "application/json": {
13060
+ code: string;
13061
+ message: string;
13062
+ issues?: {
13063
+ message: string;
13064
+ }[];
13065
+ context?: unknown;
13066
+ };
13067
+ };
13068
+ };
13069
+ /** @description Not found */
13070
+ 404: {
13071
+ headers: {
13072
+ [name: string]: unknown;
13073
+ };
13074
+ content: {
13075
+ "application/json": {
13076
+ code: string;
13077
+ message: string;
13078
+ issues?: {
13079
+ message: string;
13080
+ }[];
13081
+ context?: unknown;
13082
+ };
13083
+ };
13084
+ };
13085
+ /** @description Internal server error */
13086
+ 500: {
13087
+ headers: {
13088
+ [name: string]: unknown;
13089
+ };
13090
+ content: {
13091
+ "application/json": {
13092
+ code: string;
13093
+ message: string;
13094
+ issues?: {
13095
+ message: string;
13096
+ }[];
13097
+ context?: unknown;
13098
+ };
13099
+ };
13100
+ };
13101
+ };
13102
+ };
13103
+ deleteContactsByIdViewersByUserId: {
13104
+ parameters: {
13105
+ query?: never;
13106
+ header?: never;
13107
+ path: {
13108
+ id: string;
13109
+ userId: string;
13110
+ };
13111
+ cookie?: never;
13112
+ };
13113
+ requestBody?: never;
13114
+ responses: {
13115
+ /** @description Successful response */
13116
+ 200: {
13117
+ headers: {
13118
+ [name: string]: unknown;
13119
+ };
13120
+ content: {
13121
+ "application/json": {
13122
+ /** @constant */
13123
+ status: "deleted";
13124
+ };
13125
+ };
13126
+ };
13127
+ /** @description Bad request */
13128
+ 400: {
13129
+ headers: {
13130
+ [name: string]: unknown;
13131
+ };
13132
+ content: {
13133
+ "application/json": {
13134
+ code: string;
13135
+ message: string;
13136
+ issues?: {
13137
+ message: string;
13138
+ }[];
13139
+ context?: unknown;
13140
+ };
13141
+ };
13142
+ };
13143
+ /** @description Unauthorized */
13144
+ 401: {
13145
+ headers: {
13146
+ [name: string]: unknown;
13147
+ };
13148
+ content: {
13149
+ "application/json": {
13150
+ code: string;
13151
+ message: string;
13152
+ issues?: {
13153
+ message: string;
13154
+ }[];
13155
+ context?: unknown;
13156
+ };
13157
+ };
13158
+ };
13159
+ /** @description Forbidden */
13160
+ 403: {
13161
+ headers: {
13162
+ [name: string]: unknown;
13163
+ };
13164
+ content: {
13165
+ "application/json": {
13166
+ code: string;
13167
+ message: string;
13168
+ issues?: {
13169
+ message: string;
13170
+ }[];
13171
+ context?: unknown;
13172
+ };
13173
+ };
13174
+ };
13175
+ /** @description Not found */
13176
+ 404: {
13177
+ headers: {
13178
+ [name: string]: unknown;
13179
+ };
13180
+ content: {
13181
+ "application/json": {
13182
+ code: string;
13183
+ message: string;
13184
+ issues?: {
13185
+ message: string;
13186
+ }[];
13187
+ context?: unknown;
13188
+ };
13189
+ };
13190
+ };
13191
+ /** @description Internal server error */
13192
+ 500: {
13193
+ headers: {
13194
+ [name: string]: unknown;
13195
+ };
13196
+ content: {
13197
+ "application/json": {
13198
+ code: string;
13199
+ message: string;
13200
+ issues?: {
13201
+ message: string;
13202
+ }[];
13203
+ context?: unknown;
13204
+ };
13205
+ };
13206
+ };
13207
+ };
13208
+ };
13209
+ patchContactsByIdViewersByUserIdInvite: {
13210
+ parameters: {
13211
+ query?: never;
13212
+ header?: never;
13213
+ path: {
13214
+ id: string;
13215
+ userId: string;
13216
+ };
13217
+ cookie?: never;
13218
+ };
13219
+ requestBody?: {
13220
+ content: {
13221
+ "application/json": {
13222
+ /** @default true */
13223
+ sendEmail?: boolean;
13224
+ };
13225
+ };
13226
+ };
13227
+ responses: {
13228
+ /** @description Successful response */
13229
+ 200: {
13230
+ headers: {
13231
+ [name: string]: unknown;
13232
+ };
13233
+ content: {
13234
+ "application/json": {
13235
+ url: string;
13236
+ viewer: {
13237
+ /** Format: uuid */
13238
+ userId: string;
13239
+ email: string;
13240
+ firstName: string | null;
13241
+ lastName: string | null;
13242
+ /** @enum {string} */
13243
+ status: "active" | "inactive" | "unconfirmed";
13244
+ lastInvitedAt: string | null;
13245
+ lastSeen: string | null;
13246
+ };
13247
+ };
13248
+ };
13249
+ };
13250
+ /** @description Bad request */
13251
+ 400: {
13252
+ headers: {
13253
+ [name: string]: unknown;
13254
+ };
13255
+ content: {
13256
+ "application/json": {
13257
+ code: string;
13258
+ message: string;
13259
+ issues?: {
13260
+ message: string;
13261
+ }[];
13262
+ context?: unknown;
13263
+ };
13264
+ };
13265
+ };
13266
+ /** @description Unauthorized */
13267
+ 401: {
13268
+ headers: {
13269
+ [name: string]: unknown;
13270
+ };
13271
+ content: {
13272
+ "application/json": {
13273
+ code: string;
13274
+ message: string;
13275
+ issues?: {
13276
+ message: string;
13277
+ }[];
13278
+ context?: unknown;
13279
+ };
13280
+ };
13281
+ };
13282
+ /** @description Forbidden */
13283
+ 403: {
13284
+ headers: {
13285
+ [name: string]: unknown;
13286
+ };
13287
+ content: {
13288
+ "application/json": {
13289
+ code: string;
13290
+ message: string;
13291
+ issues?: {
13292
+ message: string;
13293
+ }[];
13294
+ context?: unknown;
13295
+ };
13296
+ };
13297
+ };
13298
+ /** @description Not found */
13299
+ 404: {
13300
+ headers: {
13301
+ [name: string]: unknown;
13302
+ };
13303
+ content: {
13304
+ "application/json": {
13305
+ code: string;
13306
+ message: string;
13307
+ issues?: {
13308
+ message: string;
13309
+ }[];
13310
+ context?: unknown;
13311
+ };
13312
+ };
13313
+ };
13314
+ /** @description Internal server error */
13315
+ 500: {
13316
+ headers: {
13317
+ [name: string]: unknown;
13318
+ };
13319
+ content: {
13320
+ "application/json": {
13321
+ code: string;
13322
+ message: string;
13323
+ issues?: {
13324
+ message: string;
13325
+ }[];
13326
+ context?: unknown;
13327
+ };
13328
+ };
13329
+ };
13330
+ };
13331
+ };
13332
+ csvImport: {
13333
+ parameters: {
13334
+ query?: never;
13335
+ header?: never;
13336
+ path?: never;
13337
+ cookie?: never;
13338
+ };
13339
+ requestBody?: {
13340
+ content: {
13341
+ "application/json": {
13342
+ fileData?: string;
13343
+ fileUri?: string;
13344
+ fileName?: string;
13345
+ connectionId: string;
13346
+ uniqueRef: string;
13347
+ params?: unknown;
13348
+ };
13349
+ };
13350
+ };
13351
+ responses: {
13352
+ /** @description Successful response */
13353
+ 200: {
13354
+ headers: {
13355
+ [name: string]: unknown;
13356
+ };
13357
+ content: {
13358
+ "application/json": {
13359
+ data: {
13360
+ syncId: string;
13361
+ /** @enum {string} */
13362
+ status: "completed";
13363
+ } | {
13364
+ /** @enum {string} */
13365
+ status: "failed";
13366
+ syncId: string;
13367
+ error: string;
13368
+ parseErrors?: {
13369
+ rowNumber: number;
13370
+ message: string;
13371
+ }[];
13372
+ };
13373
+ };
13374
+ };
13375
+ };
13376
+ /** @description Bad request */
13377
+ 400: {
13378
+ headers: {
13379
+ [name: string]: unknown;
13380
+ };
13381
+ content: {
13382
+ "application/json": {
13383
+ code: string;
13384
+ message: string;
13385
+ issues?: {
13386
+ message: string;
13387
+ }[];
13388
+ context?: unknown;
13389
+ };
13390
+ };
13391
+ };
13392
+ /** @description Unauthorized */
13393
+ 401: {
13394
+ headers: {
13395
+ [name: string]: unknown;
13396
+ };
13397
+ content: {
13398
+ "application/json": {
13399
+ code: string;
13400
+ message: string;
13401
+ issues?: {
13402
+ message: string;
13403
+ }[];
13404
+ context?: unknown;
13405
+ };
13406
+ };
13407
+ };
13408
+ /** @description Forbidden */
13409
+ 403: {
13410
+ headers: {
13411
+ [name: string]: unknown;
13412
+ };
13413
+ content: {
13414
+ "application/json": {
13415
+ code: string;
13416
+ message: string;
13417
+ issues?: {
13418
+ message: string;
13419
+ }[];
13420
+ context?: unknown;
13421
+ };
13422
+ };
13423
+ };
13424
+ /** @description Not found */
13425
+ 404: {
13426
+ headers: {
13427
+ [name: string]: unknown;
13428
+ };
13429
+ content: {
13430
+ "application/json": {
13431
+ code: string;
13432
+ message: string;
13433
+ issues?: {
13434
+ message: string;
13435
+ }[];
13436
+ context?: unknown;
13437
+ };
13438
+ };
13439
+ };
13440
+ /** @description Internal server error */
13441
+ 500: {
13442
+ headers: {
13443
+ [name: string]: unknown;
13444
+ };
13445
+ content: {
13446
+ "application/json": {
13447
+ code: string;
13448
+ message: string;
13449
+ issues?: {
13450
+ message: string;
13451
+ }[];
13452
+ context?: unknown;
13453
+ };
13454
+ };
13455
+ };
13456
+ };
13457
+ };
13458
+ getFlows: {
13459
+ parameters: {
13460
+ query?: {
13461
+ appId?: string;
13462
+ limit?: number;
13463
+ page?: number;
13464
+ };
13465
+ header?: never;
13466
+ path?: never;
13467
+ cookie?: never;
13468
+ };
13469
+ requestBody?: never;
13470
+ responses: {
13471
+ /** @description Successful response */
13472
+ 200: {
13473
+ headers: {
13474
+ [name: string]: unknown;
13475
+ };
13476
+ content: {
13477
+ "application/json": {
13478
+ data: {
13479
+ /** Format: uuid */
13480
+ id: string;
13481
+ title: string;
13482
+ appId: string;
13483
+ isPublic: boolean;
13484
+ /** @default false */
13485
+ useGlobalMapping: boolean;
13486
+ description?: string | null;
13487
+ /** @description Mapping schema configuration for this flow */
13488
+ mappingSchema: {
13489
+ [key: string]: {
13490
+ /** @description Title for UI/display */
13491
+ title: string;
13492
+ /** @description Description for UI/display */
13493
+ description: string;
13494
+ /** @description Optional internal left-side semantic type for internal-keyed mappings */
13495
+ type?: string;
13496
+ /** @description Internal system mapping configuration */
13497
+ internal?: {
13498
+ /**
13499
+ * @description Internal semantic type
13500
+ * @enum {string}
13501
+ */
13502
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13503
+ /** @description Optional JSONB filter for internal data */
13504
+ filter?: string;
13505
+ };
13506
+ /** @description External system mapping configuration */
13507
+ external?: {
13508
+ /** @description External type identifier (vendor/system specific) */
13509
+ type: string;
13510
+ /** @description Optional JSONB filter for external data */
13511
+ filter?: string;
13512
+ };
13513
+ };
13514
+ };
13515
+ /** @description Setting schema configuration for this flow */
13516
+ settingSchema: {
13517
+ [key: string]: {
13518
+ /** @description Title for UI/display */
13519
+ title: string;
13520
+ /** @description Description for UI/display */
13521
+ description: string;
13522
+ /**
13523
+ * @description Semantic type of the setting value
13524
+ * @enum {string}
13525
+ */
13526
+ type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13527
+ /** @description Optional JSONB filter for available values */
13528
+ filter?: string;
13529
+ /** @description External type identifier (vendor/system specific) for options */
13530
+ external?: string;
13531
+ };
13532
+ };
13533
+ /** @description Run schema configuration for this flow */
13534
+ runSchema: {
13535
+ /** @description Human readable description for date selection when triggering a run */
13536
+ dateDescription?: string;
13537
+ };
13538
+ /** @enum {string} */
13539
+ type?: "push" | "pull";
13540
+ }[];
13541
+ pagination: {
13542
+ /** @default 100 */
13543
+ limit: number;
13544
+ /** @default 1 */
13545
+ page: number;
13546
+ total: number;
13547
+ totalPage: number;
13548
+ nextPage?: number;
12842
13549
  };
12843
13550
  };
12844
13551
  };
@@ -13114,6 +13821,150 @@ export interface operations {
13114
13821
  connectionId: string;
13115
13822
  title: string;
13116
13823
  description: string | null;
13824
+ /** @enum {string} */
13825
+ status: "active" | "inactive";
13826
+ settings: {
13827
+ /** Format: uuid */
13828
+ id: string;
13829
+ /** Format: uuid */
13830
+ flowId: string;
13831
+ /** Format: uuid */
13832
+ connectionId: string;
13833
+ settingKey: string;
13834
+ title: string | null;
13835
+ description: string | null;
13836
+ type?: ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date") | null;
13837
+ filter: string | null;
13838
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
13839
+ value: {
13840
+ id: string | number;
13841
+ name: string;
13842
+ /**
13843
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
13844
+ * @enum {string}
13845
+ */
13846
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13847
+ };
13848
+ }[];
13849
+ };
13850
+ };
13851
+ };
13852
+ /** @description Bad request */
13853
+ 400: {
13854
+ headers: {
13855
+ [name: string]: unknown;
13856
+ };
13857
+ content: {
13858
+ "application/json": {
13859
+ code: string;
13860
+ message: string;
13861
+ issues?: {
13862
+ message: string;
13863
+ }[];
13864
+ context?: unknown;
13865
+ };
13866
+ };
13867
+ };
13868
+ /** @description Unauthorized */
13869
+ 401: {
13870
+ headers: {
13871
+ [name: string]: unknown;
13872
+ };
13873
+ content: {
13874
+ "application/json": {
13875
+ code: string;
13876
+ message: string;
13877
+ issues?: {
13878
+ message: string;
13879
+ }[];
13880
+ context?: unknown;
13881
+ };
13882
+ };
13883
+ };
13884
+ /** @description Forbidden */
13885
+ 403: {
13886
+ headers: {
13887
+ [name: string]: unknown;
13888
+ };
13889
+ content: {
13890
+ "application/json": {
13891
+ code: string;
13892
+ message: string;
13893
+ issues?: {
13894
+ message: string;
13895
+ }[];
13896
+ context?: unknown;
13897
+ };
13898
+ };
13899
+ };
13900
+ /** @description Not found */
13901
+ 404: {
13902
+ headers: {
13903
+ [name: string]: unknown;
13904
+ };
13905
+ content: {
13906
+ "application/json": {
13907
+ code: string;
13908
+ message: string;
13909
+ issues?: {
13910
+ message: string;
13911
+ }[];
13912
+ context?: unknown;
13913
+ };
13914
+ };
13915
+ };
13916
+ /** @description Internal server error */
13917
+ 500: {
13918
+ headers: {
13919
+ [name: string]: unknown;
13920
+ };
13921
+ content: {
13922
+ "application/json": {
13923
+ code: string;
13924
+ message: string;
13925
+ issues?: {
13926
+ message: string;
13927
+ }[];
13928
+ context?: unknown;
13929
+ };
13930
+ };
13931
+ };
13932
+ };
13933
+ };
13934
+ setFlowStatus: {
13935
+ parameters: {
13936
+ query?: never;
13937
+ header?: never;
13938
+ path: {
13939
+ id: string;
13940
+ connectionId: string;
13941
+ };
13942
+ cookie?: never;
13943
+ };
13944
+ requestBody?: {
13945
+ content: {
13946
+ "application/json": {
13947
+ /** @enum {string} */
13948
+ status: "active" | "inactive";
13949
+ };
13950
+ };
13951
+ };
13952
+ responses: {
13953
+ /** @description Successful response */
13954
+ 200: {
13955
+ headers: {
13956
+ [name: string]: unknown;
13957
+ };
13958
+ content: {
13959
+ "application/json": {
13960
+ /** Format: uuid */
13961
+ id: string;
13962
+ /** Format: uuid */
13963
+ connectionId: string;
13964
+ title: string;
13965
+ description: string | null;
13966
+ /** @enum {string} */
13967
+ status: "active" | "inactive";
13117
13968
  settings: {
13118
13969
  /** Format: uuid */
13119
13970
  id: string;
@@ -15727,6 +16578,8 @@ export interface operations {
15727
16578
  ids?: string;
15728
16579
  search?: string;
15729
16580
  contactId?: string;
16581
+ /** @description Filter listings by ownership period ID. */
16582
+ ownershipPeriodId?: string;
15730
16583
  /** @description Comma-separated listing short refs. */
15731
16584
  shortRefs?: string;
15732
16585
  /** @description Filter listings by whether they currently have an active ownership period. */
@@ -15772,6 +16625,8 @@ export interface operations {
15772
16625
  /** Format: uuid */
15773
16626
  id: string;
15774
16627
  shortRef?: string | null;
16628
+ title?: string | null;
16629
+ pmsName?: string | null;
15775
16630
  /** @enum {string} */
15776
16631
  status: "active" | "inactive";
15777
16632
  activeOwnership?: {
@@ -15782,8 +16637,20 @@ export interface operations {
15782
16637
  /** @description Value in cents (100 = 1€) */
15783
16638
  reserve: number;
15784
16639
  members: {
15785
- contactId?: string | null;
15786
16640
  split?: number | null;
16641
+ /** Format: uuid */
16642
+ id: string;
16643
+ contact?: {
16644
+ /** Format: uuid */
16645
+ id: string;
16646
+ name?: string | null;
16647
+ firstName?: string | null;
16648
+ uniqueRef?: string | null;
16649
+ shortRef?: string | null;
16650
+ email?: string | null;
16651
+ /** @enum {string} */
16652
+ type: "owner" | "vendor";
16653
+ } | null;
15787
16654
  }[];
15788
16655
  setListingInactive?: boolean | null;
15789
16656
  /** @enum {string} */
@@ -16040,6 +16907,8 @@ export interface operations {
16040
16907
  /** Format: uuid */
16041
16908
  id: string;
16042
16909
  shortRef?: string | null;
16910
+ title?: string | null;
16911
+ pmsName?: string | null;
16043
16912
  /** @enum {string} */
16044
16913
  status: "active" | "inactive";
16045
16914
  activeOwnership?: {
@@ -16050,8 +16919,20 @@ export interface operations {
16050
16919
  /** @description Value in cents (100 = 1€) */
16051
16920
  reserve: number;
16052
16921
  members: {
16053
- contactId?: string | null;
16054
16922
  split?: number | null;
16923
+ /** Format: uuid */
16924
+ id: string;
16925
+ contact?: {
16926
+ /** Format: uuid */
16927
+ id: string;
16928
+ name?: string | null;
16929
+ firstName?: string | null;
16930
+ uniqueRef?: string | null;
16931
+ shortRef?: string | null;
16932
+ email?: string | null;
16933
+ /** @enum {string} */
16934
+ type: "owner" | "vendor";
16935
+ } | null;
16055
16936
  }[];
16056
16937
  setListingInactive?: boolean | null;
16057
16938
  /** @enum {string} */
@@ -16363,6 +17244,8 @@ export interface operations {
16363
17244
  ids?: string;
16364
17245
  search?: string;
16365
17246
  contactId?: string;
17247
+ /** @description Filter listings by ownership period ID. */
17248
+ ownershipPeriodId?: string;
16366
17249
  /** @description Comma-separated listing short refs. */
16367
17250
  shortRefs?: string;
16368
17251
  /** @description Filter listings by whether they currently have an active ownership period. */
@@ -16482,6 +17365,8 @@ export interface operations {
16482
17365
  ids?: string;
16483
17366
  search?: string;
16484
17367
  contactId?: string;
17368
+ /** @description Filter listings by ownership period ID. */
17369
+ ownershipPeriodId?: string;
16485
17370
  /** @description Comma-separated listing short refs. */
16486
17371
  shortRefs?: string;
16487
17372
  /** @description Filter listings by whether they currently have an active ownership period. */
@@ -16656,8 +17541,20 @@ export interface operations {
16656
17541
  /** @description Value in cents (100 = 1€) */
16657
17542
  reserve: number;
16658
17543
  members: {
16659
- contactId?: string | null;
16660
17544
  split?: number | null;
17545
+ /** Format: uuid */
17546
+ id: string;
17547
+ contact?: {
17548
+ /** Format: uuid */
17549
+ id: string;
17550
+ name?: string | null;
17551
+ firstName?: string | null;
17552
+ uniqueRef?: string | null;
17553
+ shortRef?: string | null;
17554
+ email?: string | null;
17555
+ /** @enum {string} */
17556
+ type: "owner" | "vendor";
17557
+ } | null;
16661
17558
  }[];
16662
17559
  /** Format: uuid */
16663
17560
  id: string;
@@ -16798,8 +17695,20 @@ export interface operations {
16798
17695
  /** @description Value in cents (100 = 1€) */
16799
17696
  reserve: number;
16800
17697
  members: {
16801
- contactId?: string | null;
16802
17698
  split?: number | null;
17699
+ /** Format: uuid */
17700
+ id: string;
17701
+ contact?: {
17702
+ /** Format: uuid */
17703
+ id: string;
17704
+ name?: string | null;
17705
+ firstName?: string | null;
17706
+ uniqueRef?: string | null;
17707
+ shortRef?: string | null;
17708
+ email?: string | null;
17709
+ /** @enum {string} */
17710
+ type: "owner" | "vendor";
17711
+ } | null;
16803
17712
  }[];
16804
17713
  /** Format: uuid */
16805
17714
  id: string;
@@ -16915,8 +17824,20 @@ export interface operations {
16915
17824
  /** @description Value in cents (100 = 1€) */
16916
17825
  reserve: number;
16917
17826
  members: {
16918
- contactId?: string | null;
16919
17827
  split?: number | null;
17828
+ /** Format: uuid */
17829
+ id: string;
17830
+ contact?: {
17831
+ /** Format: uuid */
17832
+ id: string;
17833
+ name?: string | null;
17834
+ firstName?: string | null;
17835
+ uniqueRef?: string | null;
17836
+ shortRef?: string | null;
17837
+ email?: string | null;
17838
+ /** @enum {string} */
17839
+ type: "owner" | "vendor";
17840
+ } | null;
16920
17841
  }[];
16921
17842
  /** Format: uuid */
16922
17843
  id: string;
@@ -17049,8 +17970,20 @@ export interface operations {
17049
17970
  /** @description Value in cents (100 = 1€) */
17050
17971
  reserve: number;
17051
17972
  members: {
17052
- contactId?: string | null;
17053
17973
  split?: number | null;
17974
+ /** Format: uuid */
17975
+ id: string;
17976
+ contact?: {
17977
+ /** Format: uuid */
17978
+ id: string;
17979
+ name?: string | null;
17980
+ firstName?: string | null;
17981
+ uniqueRef?: string | null;
17982
+ shortRef?: string | null;
17983
+ email?: string | null;
17984
+ /** @enum {string} */
17985
+ type: "owner" | "vendor";
17986
+ } | null;
17054
17987
  }[];
17055
17988
  /** Format: uuid */
17056
17989
  id: string;
@@ -17287,6 +18220,282 @@ export interface operations {
17287
18220
  /** Format: uuid */
17288
18221
  id: string;
17289
18222
  shortRef?: string | null;
18223
+ title?: string | null;
18224
+ pmsName?: string | null;
18225
+ /** @enum {string} */
18226
+ status: "active" | "inactive";
18227
+ activeOwnership?: {
18228
+ /** Format: uuid */
18229
+ id: string;
18230
+ startAt: string;
18231
+ endAt?: string | null;
18232
+ /** @description Value in cents (100 = 1€) */
18233
+ reserve: number;
18234
+ members: {
18235
+ split?: number | null;
18236
+ /** Format: uuid */
18237
+ id: string;
18238
+ contact?: {
18239
+ /** Format: uuid */
18240
+ id: string;
18241
+ name?: string | null;
18242
+ firstName?: string | null;
18243
+ uniqueRef?: string | null;
18244
+ shortRef?: string | null;
18245
+ email?: string | null;
18246
+ /** @enum {string} */
18247
+ type: "owner" | "vendor";
18248
+ } | null;
18249
+ }[];
18250
+ setListingInactive?: boolean | null;
18251
+ /** @enum {string} */
18252
+ businessModel: "managed" | "co_host" | "co_host_airbnb";
18253
+ lock?: {
18254
+ /** @enum {string} */
18255
+ status: "locked" | "unlocked";
18256
+ booksClosed?: {
18257
+ date: string;
18258
+ } | null;
18259
+ ownerStatement?: {
18260
+ ids: string[];
18261
+ } | null;
18262
+ reconciled?: {
18263
+ bankRecordIds: string[];
18264
+ } | null;
18265
+ statementPeriod?: {
18266
+ hits: {
18267
+ /** Format: uuid */
18268
+ listingId: string;
18269
+ txnAt: string;
18270
+ openFrom: string;
18271
+ }[];
18272
+ } | null;
18273
+ } | null;
18274
+ } | null;
18275
+ activeRecurringFeePeriods?: {
18276
+ startAt?: string | null;
18277
+ endAt?: string | null;
18278
+ rate?: number | null;
18279
+ /** Format: uuid */
18280
+ id: string;
18281
+ recurringFee: {
18282
+ id: string;
18283
+ name: string;
18284
+ /** @enum {string} */
18285
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
18286
+ rateType?: ("flat" | "percentage") | null;
18287
+ defaultRate?: number | null;
18288
+ };
18289
+ }[] | null;
18290
+ source?: {
18291
+ /** Format: uuid */
18292
+ id: string;
18293
+ type: string;
18294
+ status?: ("active" | "inactive") | null;
18295
+ appId?: string | null;
18296
+ appIcon?: string | null;
18297
+ } | null;
18298
+ upcomingDeactivation: {
18299
+ /** @enum {string} */
18300
+ status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
18301
+ period: {
18302
+ id: string;
18303
+ startAt: string;
18304
+ endAt: string | null;
18305
+ } | null;
18306
+ };
18307
+ issues: ({
18308
+ /** @constant */
18309
+ code: "missingOwnershipOrDeactivation";
18310
+ /** @constant */
18311
+ severity: "warning";
18312
+ context: Record<string, never>;
18313
+ } | {
18314
+ /** @constant */
18315
+ code: "missingFeesAndCommission";
18316
+ /** @constant */
18317
+ severity: "warning";
18318
+ context: Record<string, never>;
18319
+ } | {
18320
+ /** @constant */
18321
+ code: "missingOpeningBalance";
18322
+ /** @constant */
18323
+ severity: "warning";
18324
+ context: Record<string, never>;
18325
+ })[];
18326
+ };
18327
+ };
18328
+ };
18329
+ /** @description Bad request */
18330
+ 400: {
18331
+ headers: {
18332
+ [name: string]: unknown;
18333
+ };
18334
+ content: {
18335
+ "application/json": {
18336
+ code: string;
18337
+ message: string;
18338
+ issues?: {
18339
+ message: string;
18340
+ }[];
18341
+ context?: unknown;
18342
+ };
18343
+ };
18344
+ };
18345
+ /** @description Unauthorized */
18346
+ 401: {
18347
+ headers: {
18348
+ [name: string]: unknown;
18349
+ };
18350
+ content: {
18351
+ "application/json": {
18352
+ code: string;
18353
+ message: string;
18354
+ issues?: {
18355
+ message: string;
18356
+ }[];
18357
+ context?: unknown;
18358
+ };
18359
+ };
18360
+ };
18361
+ /** @description Forbidden */
18362
+ 403: {
18363
+ headers: {
18364
+ [name: string]: unknown;
18365
+ };
18366
+ content: {
18367
+ "application/json": {
18368
+ code: string;
18369
+ message: string;
18370
+ issues?: {
18371
+ message: string;
18372
+ }[];
18373
+ context?: unknown;
18374
+ };
18375
+ };
18376
+ };
18377
+ /** @description Not found */
18378
+ 404: {
18379
+ headers: {
18380
+ [name: string]: unknown;
18381
+ };
18382
+ content: {
18383
+ "application/json": {
18384
+ code: string;
18385
+ message: string;
18386
+ issues?: {
18387
+ message: string;
18388
+ }[];
18389
+ context?: unknown;
18390
+ };
18391
+ };
18392
+ };
18393
+ /** @description Internal server error */
18394
+ 500: {
18395
+ headers: {
18396
+ [name: string]: unknown;
18397
+ };
18398
+ content: {
18399
+ "application/json": {
18400
+ code: string;
18401
+ message: string;
18402
+ issues?: {
18403
+ message: string;
18404
+ }[];
18405
+ context?: unknown;
18406
+ };
18407
+ };
18408
+ };
18409
+ };
18410
+ };
18411
+ putListingsById: {
18412
+ parameters: {
18413
+ query?: {
18414
+ dryRun?: boolean;
18415
+ };
18416
+ header?: never;
18417
+ path: {
18418
+ id: string;
18419
+ };
18420
+ cookie?: never;
18421
+ };
18422
+ requestBody?: {
18423
+ content: {
18424
+ "application/json": {
18425
+ name?: string | null;
18426
+ uniqueRef?: string | null;
18427
+ connectionId?: string | null;
18428
+ defaultCurrency?: string | null;
18429
+ address?: {
18430
+ full?: string | null;
18431
+ line1?: string | null;
18432
+ line2?: string | null;
18433
+ city?: string | null;
18434
+ /** @description Deprecated, use stateCode instead */
18435
+ state?: string | null;
18436
+ postalCode?: string | null;
18437
+ stateCode?: string | null;
18438
+ countryCode?: string | null;
18439
+ } | null;
18440
+ sourceId?: string | null;
18441
+ activeRecurringFeePeriods?: {
18442
+ startAt?: string | null;
18443
+ endAt?: string | null;
18444
+ rate?: number | null;
18445
+ /** Format: uuid */
18446
+ id: string;
18447
+ recurringFee: {
18448
+ id: string;
18449
+ name: string;
18450
+ /** @enum {string} */
18451
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
18452
+ rateType?: ("flat" | "percentage") | null;
18453
+ defaultRate?: number | null;
18454
+ };
18455
+ }[] | null;
18456
+ initialOwnership?: {
18457
+ startAt?: string | null;
18458
+ endAt?: string | null;
18459
+ reserve?: number | null;
18460
+ members?: {
18461
+ contactId?: string | null;
18462
+ split?: number | null;
18463
+ }[] | null;
18464
+ setListingInactive?: boolean | null;
18465
+ businessModel?: ("managed" | "co_host" | "co_host_airbnb") | null;
18466
+ onConflict?: ("error" | "updateExisting" | "adjustInsertingItem") | null;
18467
+ } | null;
18468
+ };
18469
+ };
18470
+ };
18471
+ responses: {
18472
+ /** @description Successful response */
18473
+ 200: {
18474
+ headers: {
18475
+ [name: string]: unknown;
18476
+ };
18477
+ content: {
18478
+ "application/json": {
18479
+ name: string;
18480
+ uniqueRef?: string | null;
18481
+ connectionId?: string | null;
18482
+ defaultCurrency?: string | null;
18483
+ address?: {
18484
+ full?: string | null;
18485
+ line1?: string | null;
18486
+ line2?: string | null;
18487
+ city?: string | null;
18488
+ /** @description Deprecated, use stateCode instead */
18489
+ state?: string | null;
18490
+ postalCode?: string | null;
18491
+ stateCode?: string | null;
18492
+ countryCode?: string | null;
18493
+ } | null;
18494
+ /** Format: uuid */
18495
+ id: string;
18496
+ shortRef?: string | null;
18497
+ title?: string | null;
18498
+ pmsName?: string | null;
17290
18499
  /** @enum {string} */
17291
18500
  status: "active" | "inactive";
17292
18501
  activeOwnership?: {
@@ -17297,268 +18506,20 @@ export interface operations {
17297
18506
  /** @description Value in cents (100 = 1€) */
17298
18507
  reserve: number;
17299
18508
  members: {
17300
- contactId?: string | null;
17301
18509
  split?: number | null;
17302
- }[];
17303
- setListingInactive?: boolean | null;
17304
- /** @enum {string} */
17305
- businessModel: "managed" | "co_host" | "co_host_airbnb";
17306
- lock?: {
17307
- /** @enum {string} */
17308
- status: "locked" | "unlocked";
17309
- booksClosed?: {
17310
- date: string;
17311
- } | null;
17312
- ownerStatement?: {
17313
- ids: string[];
17314
- } | null;
17315
- reconciled?: {
17316
- bankRecordIds: string[];
17317
- } | null;
17318
- statementPeriod?: {
17319
- hits: {
17320
- /** Format: uuid */
17321
- listingId: string;
17322
- txnAt: string;
17323
- openFrom: string;
17324
- }[];
17325
- } | null;
17326
- } | null;
17327
- } | null;
17328
- activeRecurringFeePeriods?: {
17329
- startAt?: string | null;
17330
- endAt?: string | null;
17331
- rate?: number | null;
17332
- /** Format: uuid */
17333
- id: string;
17334
- recurringFee: {
17335
- id: string;
17336
- name: string;
17337
- /** @enum {string} */
17338
- type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
17339
- rateType?: ("flat" | "percentage") | null;
17340
- defaultRate?: number | null;
17341
- };
17342
- }[] | null;
17343
- source?: {
17344
- /** Format: uuid */
17345
- id: string;
17346
- type: string;
17347
- status?: ("active" | "inactive") | null;
17348
- appId?: string | null;
17349
- appIcon?: string | null;
17350
- } | null;
17351
- upcomingDeactivation: {
17352
- /** @enum {string} */
17353
- status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
17354
- period: {
18510
+ /** Format: uuid */
17355
18511
  id: string;
17356
- startAt: string;
17357
- endAt: string | null;
17358
- } | null;
17359
- };
17360
- issues: ({
17361
- /** @constant */
17362
- code: "missingOwnershipOrDeactivation";
17363
- /** @constant */
17364
- severity: "warning";
17365
- context: Record<string, never>;
17366
- } | {
17367
- /** @constant */
17368
- code: "missingFeesAndCommission";
17369
- /** @constant */
17370
- severity: "warning";
17371
- context: Record<string, never>;
17372
- } | {
17373
- /** @constant */
17374
- code: "missingOpeningBalance";
17375
- /** @constant */
17376
- severity: "warning";
17377
- context: Record<string, never>;
17378
- })[];
17379
- };
17380
- };
17381
- };
17382
- /** @description Bad request */
17383
- 400: {
17384
- headers: {
17385
- [name: string]: unknown;
17386
- };
17387
- content: {
17388
- "application/json": {
17389
- code: string;
17390
- message: string;
17391
- issues?: {
17392
- message: string;
17393
- }[];
17394
- context?: unknown;
17395
- };
17396
- };
17397
- };
17398
- /** @description Unauthorized */
17399
- 401: {
17400
- headers: {
17401
- [name: string]: unknown;
17402
- };
17403
- content: {
17404
- "application/json": {
17405
- code: string;
17406
- message: string;
17407
- issues?: {
17408
- message: string;
17409
- }[];
17410
- context?: unknown;
17411
- };
17412
- };
17413
- };
17414
- /** @description Forbidden */
17415
- 403: {
17416
- headers: {
17417
- [name: string]: unknown;
17418
- };
17419
- content: {
17420
- "application/json": {
17421
- code: string;
17422
- message: string;
17423
- issues?: {
17424
- message: string;
17425
- }[];
17426
- context?: unknown;
17427
- };
17428
- };
17429
- };
17430
- /** @description Not found */
17431
- 404: {
17432
- headers: {
17433
- [name: string]: unknown;
17434
- };
17435
- content: {
17436
- "application/json": {
17437
- code: string;
17438
- message: string;
17439
- issues?: {
17440
- message: string;
17441
- }[];
17442
- context?: unknown;
17443
- };
17444
- };
17445
- };
17446
- /** @description Internal server error */
17447
- 500: {
17448
- headers: {
17449
- [name: string]: unknown;
17450
- };
17451
- content: {
17452
- "application/json": {
17453
- code: string;
17454
- message: string;
17455
- issues?: {
17456
- message: string;
17457
- }[];
17458
- context?: unknown;
17459
- };
17460
- };
17461
- };
17462
- };
17463
- };
17464
- putListingsById: {
17465
- parameters: {
17466
- query?: {
17467
- dryRun?: boolean;
17468
- };
17469
- header?: never;
17470
- path: {
17471
- id: string;
17472
- };
17473
- cookie?: never;
17474
- };
17475
- requestBody?: {
17476
- content: {
17477
- "application/json": {
17478
- name?: string | null;
17479
- uniqueRef?: string | null;
17480
- connectionId?: string | null;
17481
- defaultCurrency?: string | null;
17482
- address?: {
17483
- full?: string | null;
17484
- line1?: string | null;
17485
- line2?: string | null;
17486
- city?: string | null;
17487
- /** @description Deprecated, use stateCode instead */
17488
- state?: string | null;
17489
- postalCode?: string | null;
17490
- stateCode?: string | null;
17491
- countryCode?: string | null;
17492
- } | null;
17493
- sourceId?: string | null;
17494
- activeRecurringFeePeriods?: {
17495
- startAt?: string | null;
17496
- endAt?: string | null;
17497
- rate?: number | null;
17498
- /** Format: uuid */
17499
- id: string;
17500
- recurringFee: {
17501
- id: string;
17502
- name: string;
17503
- /** @enum {string} */
17504
- type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
17505
- rateType?: ("flat" | "percentage") | null;
17506
- defaultRate?: number | null;
17507
- };
17508
- }[] | null;
17509
- initialOwnership?: {
17510
- startAt?: string | null;
17511
- endAt?: string | null;
17512
- reserve?: number | null;
17513
- members?: {
17514
- contactId?: string | null;
17515
- split?: number | null;
17516
- }[] | null;
17517
- setListingInactive?: boolean | null;
17518
- businessModel?: ("managed" | "co_host" | "co_host_airbnb") | null;
17519
- onConflict?: ("error" | "updateExisting" | "adjustInsertingItem") | null;
17520
- } | null;
17521
- };
17522
- };
17523
- };
17524
- responses: {
17525
- /** @description Successful response */
17526
- 200: {
17527
- headers: {
17528
- [name: string]: unknown;
17529
- };
17530
- content: {
17531
- "application/json": {
17532
- name: string;
17533
- uniqueRef?: string | null;
17534
- connectionId?: string | null;
17535
- defaultCurrency?: string | null;
17536
- address?: {
17537
- full?: string | null;
17538
- line1?: string | null;
17539
- line2?: string | null;
17540
- city?: string | null;
17541
- /** @description Deprecated, use stateCode instead */
17542
- state?: string | null;
17543
- postalCode?: string | null;
17544
- stateCode?: string | null;
17545
- countryCode?: string | null;
17546
- } | null;
17547
- /** Format: uuid */
17548
- id: string;
17549
- shortRef?: string | null;
17550
- /** @enum {string} */
17551
- status: "active" | "inactive";
17552
- activeOwnership?: {
17553
- /** Format: uuid */
17554
- id: string;
17555
- startAt: string;
17556
- endAt?: string | null;
17557
- /** @description Value in cents (100 = 1€) */
17558
- reserve: number;
17559
- members: {
17560
- contactId?: string | null;
17561
- split?: number | null;
18512
+ contact?: {
18513
+ /** Format: uuid */
18514
+ id: string;
18515
+ name?: string | null;
18516
+ firstName?: string | null;
18517
+ uniqueRef?: string | null;
18518
+ shortRef?: string | null;
18519
+ email?: string | null;
18520
+ /** @enum {string} */
18521
+ type: "owner" | "vendor";
18522
+ } | null;
17562
18523
  }[];
17563
18524
  setListingInactive?: boolean | null;
17564
18525
  /** @enum {string} */
@@ -18096,6 +19057,8 @@ export interface operations {
18096
19057
  ownerId?: string;
18097
19058
  /** Format: uuid */
18098
19059
  teamId: string;
19060
+ /** @enum {string} */
19061
+ role: "admin" | "viewer";
18099
19062
  }[];
18100
19063
  teamAccess: {
18101
19064
  /** Format: uuid */
@@ -22450,7 +23413,9 @@ export interface operations {
22450
23413
  /** @enum {string} */
22451
23414
  status: "active" | "inactive";
22452
23415
  amount: number;
22453
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
23416
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
23417
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
23418
+ currency: string;
22454
23419
  fee: number;
22455
23420
  account?: {
22456
23421
  id: string;
@@ -27379,6 +28344,18 @@ export interface operations {
27379
28344
  /** @constant */
27380
28345
  severity: "warning";
27381
28346
  context: Record<string, never>;
28347
+ } | {
28348
+ /** @constant */
28349
+ code: "reservationCurrencyMismatch";
28350
+ /** @constant */
28351
+ severity: "warning";
28352
+ context: {
28353
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
28354
+ reservationCurrency: string;
28355
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
28356
+ teamDefaultCurrency: string;
28357
+ };
28358
+ message: string;
27382
28359
  } | {
27383
28360
  /** @constant */
27384
28361
  code: "guestTotalsZero";
@@ -27418,6 +28395,7 @@ export interface operations {
27418
28395
  nights?: number | null;
27419
28396
  /** @enum {string} */
27420
28397
  status: "booked" | "canceled" | "inactive";
28398
+ bookingPlatformLabel?: string | null;
27421
28399
  listing?: {
27422
28400
  /** Format: uuid */
27423
28401
  id: string;
@@ -27729,6 +28707,18 @@ export interface operations {
27729
28707
  /** @constant */
27730
28708
  severity: "warning";
27731
28709
  context: Record<string, never>;
28710
+ } | {
28711
+ /** @constant */
28712
+ code: "reservationCurrencyMismatch";
28713
+ /** @constant */
28714
+ severity: "warning";
28715
+ context: {
28716
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
28717
+ reservationCurrency: string;
28718
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
28719
+ teamDefaultCurrency: string;
28720
+ };
28721
+ message: string;
27732
28722
  } | {
27733
28723
  /** @constant */
27734
28724
  code: "guestTotalsZero";
@@ -27768,6 +28758,7 @@ export interface operations {
27768
28758
  nights?: number | null;
27769
28759
  /** @enum {string} */
27770
28760
  status: "booked" | "canceled" | "inactive";
28761
+ bookingPlatformLabel?: string | null;
27771
28762
  financials: {
27772
28763
  totals: {
27773
28764
  tax: number;
@@ -27785,7 +28776,9 @@ export interface operations {
27785
28776
  /** @enum {string} */
27786
28777
  status: "active" | "inactive";
27787
28778
  amount: number;
27788
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
28779
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
28780
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
28781
+ currency: string;
27789
28782
  account?: {
27790
28783
  id: string;
27791
28784
  name: string;
@@ -29128,6 +30121,18 @@ export interface operations {
29128
30121
  /** @constant */
29129
30122
  severity: "warning";
29130
30123
  context: Record<string, never>;
30124
+ } | {
30125
+ /** @constant */
30126
+ code: "reservationCurrencyMismatch";
30127
+ /** @constant */
30128
+ severity: "warning";
30129
+ context: {
30130
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
30131
+ reservationCurrency: string;
30132
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
30133
+ teamDefaultCurrency: string;
30134
+ };
30135
+ message: string;
29131
30136
  } | {
29132
30137
  /** @constant */
29133
30138
  code: "guestTotalsZero";
@@ -29167,6 +30172,7 @@ export interface operations {
29167
30172
  nights?: number | null;
29168
30173
  /** @enum {string} */
29169
30174
  status: "booked" | "canceled" | "inactive";
30175
+ bookingPlatformLabel?: string | null;
29170
30176
  financials: {
29171
30177
  totals: {
29172
30178
  tax: number;
@@ -29184,7 +30190,9 @@ export interface operations {
29184
30190
  /** @enum {string} */
29185
30191
  status: "active" | "inactive";
29186
30192
  amount: number;
29187
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
30193
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
30194
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
30195
+ currency: string;
29188
30196
  account?: {
29189
30197
  id: string;
29190
30198
  name: string;
@@ -29705,6 +30713,18 @@ export interface operations {
29705
30713
  /** @constant */
29706
30714
  severity: "warning";
29707
30715
  context: Record<string, never>;
30716
+ } | {
30717
+ /** @constant */
30718
+ code: "reservationCurrencyMismatch";
30719
+ /** @constant */
30720
+ severity: "warning";
30721
+ context: {
30722
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
30723
+ reservationCurrency: string;
30724
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
30725
+ teamDefaultCurrency: string;
30726
+ };
30727
+ message: string;
29708
30728
  } | {
29709
30729
  /** @constant */
29710
30730
  code: "guestTotalsZero";
@@ -29744,6 +30764,7 @@ export interface operations {
29744
30764
  nights?: number | null;
29745
30765
  /** @enum {string} */
29746
30766
  status: "booked" | "canceled" | "inactive";
30767
+ bookingPlatformLabel?: string | null;
29747
30768
  financials: {
29748
30769
  totals: {
29749
30770
  tax: number;
@@ -29761,7 +30782,9 @@ export interface operations {
29761
30782
  /** @enum {string} */
29762
30783
  status: "active" | "inactive";
29763
30784
  amount: number;
29764
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
30785
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
30786
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
30787
+ currency: string;
29765
30788
  account?: {
29766
30789
  id: string;
29767
30790
  name: string;
@@ -30398,6 +31421,18 @@ export interface operations {
30398
31421
  /** @constant */
30399
31422
  severity: "warning";
30400
31423
  context: Record<string, never>;
31424
+ } | {
31425
+ /** @constant */
31426
+ code: "reservationCurrencyMismatch";
31427
+ /** @constant */
31428
+ severity: "warning";
31429
+ context: {
31430
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
31431
+ reservationCurrency: string;
31432
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
31433
+ teamDefaultCurrency: string;
31434
+ };
31435
+ message: string;
30401
31436
  } | {
30402
31437
  /** @constant */
30403
31438
  code: "guestTotalsZero";
@@ -30437,6 +31472,7 @@ export interface operations {
30437
31472
  nights?: number | null;
30438
31473
  /** @enum {string} */
30439
31474
  status: "booked" | "canceled" | "inactive";
31475
+ bookingPlatformLabel?: string | null;
30440
31476
  financials: {
30441
31477
  totals: {
30442
31478
  tax: number;
@@ -30454,7 +31490,9 @@ export interface operations {
30454
31490
  /** @enum {string} */
30455
31491
  status: "active" | "inactive";
30456
31492
  amount: number;
30457
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
31493
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
31494
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
31495
+ currency: string;
30458
31496
  account?: {
30459
31497
  id: string;
30460
31498
  name: string;
@@ -30865,6 +31903,18 @@ export interface operations {
30865
31903
  /** @constant */
30866
31904
  severity: "warning";
30867
31905
  context: Record<string, never>;
31906
+ } | {
31907
+ /** @constant */
31908
+ code: "reservationCurrencyMismatch";
31909
+ /** @constant */
31910
+ severity: "warning";
31911
+ context: {
31912
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
31913
+ reservationCurrency: string;
31914
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
31915
+ teamDefaultCurrency: string;
31916
+ };
31917
+ message: string;
30868
31918
  } | {
30869
31919
  /** @constant */
30870
31920
  code: "guestTotalsZero";
@@ -30904,6 +31954,7 @@ export interface operations {
30904
31954
  nights?: number | null;
30905
31955
  /** @enum {string} */
30906
31956
  status: "booked" | "canceled" | "inactive";
31957
+ bookingPlatformLabel?: string | null;
30907
31958
  financials: {
30908
31959
  totals: {
30909
31960
  tax: number;
@@ -30921,7 +31972,9 @@ export interface operations {
30921
31972
  /** @enum {string} */
30922
31973
  status: "active" | "inactive";
30923
31974
  amount: number;
30924
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
31975
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
31976
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
31977
+ currency: string;
30925
31978
  account?: {
30926
31979
  id: string;
30927
31980
  name: string;
@@ -31318,6 +32371,18 @@ export interface operations {
31318
32371
  /** @constant */
31319
32372
  severity: "warning";
31320
32373
  context: Record<string, never>;
32374
+ } | {
32375
+ /** @constant */
32376
+ code: "reservationCurrencyMismatch";
32377
+ /** @constant */
32378
+ severity: "warning";
32379
+ context: {
32380
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
32381
+ reservationCurrency: string;
32382
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
32383
+ teamDefaultCurrency: string;
32384
+ };
32385
+ message: string;
31321
32386
  } | {
31322
32387
  /** @constant */
31323
32388
  code: "guestTotalsZero";
@@ -31357,6 +32422,7 @@ export interface operations {
31357
32422
  nights?: number | null;
31358
32423
  /** @enum {string} */
31359
32424
  status: "booked" | "canceled" | "inactive";
32425
+ bookingPlatformLabel?: string | null;
31360
32426
  financials: {
31361
32427
  totals: {
31362
32428
  tax: number;
@@ -31374,7 +32440,9 @@ export interface operations {
31374
32440
  /** @enum {string} */
31375
32441
  status: "active" | "inactive";
31376
32442
  amount: number;
31377
- inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
32443
+ inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
32444
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
32445
+ currency: string;
31378
32446
  account?: {
31379
32447
  id: string;
31380
32448
  name: string;
@@ -34967,6 +36035,7 @@ export interface operations {
34967
36035
  } | null;
34968
36036
  } | null;
34969
36037
  }[];
36038
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
34970
36039
  attachmentIds?: string[] | null;
34971
36040
  recurringTemplateId?: string | null;
34972
36041
  matchBankAccountLast4?: string | null;
@@ -38991,6 +40060,26 @@ export interface operations {
38991
40060
  difference: number;
38992
40061
  }[];
38993
40062
  };
40063
+ } | {
40064
+ /** @enum {string} */
40065
+ severity: "error" | "warning";
40066
+ /** @enum {string} */
40067
+ category: "criticalToUser" | "criticalToSystem";
40068
+ message: string;
40069
+ affected: number;
40070
+ /** @constant */
40071
+ code: "reservationCurrencyMismatch";
40072
+ context: {
40073
+ reservations: {
40074
+ /** Format: uuid */
40075
+ reservationId: string;
40076
+ confirmationCode: string | null;
40077
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
40078
+ reservationCurrency: string;
40079
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
40080
+ teamDefaultCurrency: string;
40081
+ }[];
40082
+ };
38994
40083
  })[];
38995
40084
  summary: {
38996
40085
  total: number;
@@ -39101,6 +40190,7 @@ export interface operations {
39101
40190
  targetPartnerId?: string | null;
39102
40191
  targetName?: string | null;
39103
40192
  glStartAt: string;
40193
+ moveConnectionCredentials?: boolean;
39104
40194
  };
39105
40195
  };
39106
40196
  };
@@ -41871,6 +42961,7 @@ export interface operations {
41871
42961
  depositTransactionId: string | null;
41872
42962
  hasListingNeedsReview: boolean;
41873
42963
  listingNeedsReviewId: string | null;
42964
+ hasOwners: boolean;
41874
42965
  hasOwnerNeedsReview: boolean;
41875
42966
  ownerNeedsReviewId: string | null;
41876
42967
  };
@@ -42569,6 +43660,26 @@ export interface operations {
42569
43660
  difference: number;
42570
43661
  }[];
42571
43662
  };
43663
+ } | {
43664
+ /** @enum {string} */
43665
+ severity: "error" | "warning";
43666
+ /** @enum {string} */
43667
+ category: "criticalToUser" | "criticalToSystem";
43668
+ message: string;
43669
+ affected: number;
43670
+ /** @constant */
43671
+ code: "reservationCurrencyMismatch";
43672
+ context: {
43673
+ reservations: {
43674
+ /** Format: uuid */
43675
+ reservationId: string;
43676
+ confirmationCode: string | null;
43677
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
43678
+ reservationCurrency: string;
43679
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
43680
+ teamDefaultCurrency: string;
43681
+ }[];
43682
+ };
42572
43683
  })[];
42573
43684
  summary: {
42574
43685
  total: number;
@@ -43503,6 +44614,7 @@ export interface operations {
43503
44614
  } | null;
43504
44615
  } | null;
43505
44616
  }[];
44617
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
43506
44618
  attachmentIds?: string[] | null;
43507
44619
  recurringTemplateId?: string | null;
43508
44620
  matchBankAccountLast4?: string | null;
@@ -43770,6 +44882,7 @@ export interface operations {
43770
44882
  matchReservationStripeGuestRef?: string | null;
43771
44883
  matchLineTypeClassification?: string | null;
43772
44884
  }[];
44885
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
43773
44886
  attachmentIds?: string[] | null;
43774
44887
  payment?: {
43775
44888
  bankRecordIds?: string[];
@@ -43930,6 +45043,7 @@ export interface operations {
43930
45043
  } | null;
43931
45044
  } | null;
43932
45045
  }[];
45046
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
43933
45047
  attachmentIds?: string[] | null;
43934
45048
  recurringTemplateId?: string | null;
43935
45049
  matchBankAccountLast4?: string | null;
@@ -44188,6 +45302,7 @@ export interface operations {
44188
45302
  matchReservationStripeGuestRef?: string | null;
44189
45303
  matchLineTypeClassification?: string | null;
44190
45304
  }[];
45305
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
44191
45306
  attachmentIds?: string[] | null;
44192
45307
  payment?: {
44193
45308
  bankRecordIds?: string[];
@@ -46876,6 +47991,7 @@ export interface operations {
46876
47991
  } | null;
46877
47992
  } | null;
46878
47993
  }[];
47994
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
46879
47995
  attachmentIds?: string[] | null;
46880
47996
  recurringTemplateId?: string | null;
46881
47997
  matchBankAccountLast4?: string | null;
@@ -47356,6 +48472,7 @@ export interface operations {
47356
48472
  } | null;
47357
48473
  } | null;
47358
48474
  }[];
48475
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
47359
48476
  attachmentIds?: string[] | null;
47360
48477
  recurringTemplateId?: string | null;
47361
48478
  matchBankAccountLast4?: string | null;
@@ -47589,6 +48706,7 @@ export interface operations {
47589
48706
  type?: "deposit" | "expense" | "transfer" | "payout";
47590
48707
  date?: string;
47591
48708
  currency?: string | null;
48709
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
47592
48710
  attachmentIds?: string[] | null;
47593
48711
  payment?: {
47594
48712
  bankRecordIds?: string[];
@@ -47835,6 +48953,7 @@ export interface operations {
47835
48953
  } | null;
47836
48954
  } | null;
47837
48955
  }[];
48956
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
47838
48957
  attachmentIds?: string[] | null;
47839
48958
  recurringTemplateId?: string | null;
47840
48959
  matchBankAccountLast4?: string | null;
@@ -48321,6 +49440,7 @@ export interface operations {
48321
49440
  } | null;
48322
49441
  } | null;
48323
49442
  }[];
49443
+ /** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
48324
49444
  attachmentIds?: string[] | null;
48325
49445
  recurringTemplateId?: string | null;
48326
49446
  matchBankAccountLast4?: string | null;