@vrplatform/api 1.3.1-stage.2116 → 1.3.1-stage.2118

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.
@@ -364,6 +364,76 @@ export interface paths {
364
364
  patch?: never;
365
365
  trace?: never;
366
366
  };
367
+ "/bank-rules": {
368
+ parameters: {
369
+ query?: never;
370
+ header?: never;
371
+ path?: never;
372
+ cookie?: never;
373
+ };
374
+ /** @description List bank rules */
375
+ get: operations["getBankRules"];
376
+ put?: never;
377
+ /** @description Create a bank rule */
378
+ post: operations["postBankRules"];
379
+ delete?: never;
380
+ options?: never;
381
+ head?: never;
382
+ patch?: never;
383
+ trace?: never;
384
+ };
385
+ "/bank-rules/preview": {
386
+ parameters: {
387
+ query?: never;
388
+ header?: never;
389
+ path?: never;
390
+ cookie?: never;
391
+ };
392
+ get?: never;
393
+ put?: never;
394
+ /** @description Preview a bank rule against a bank record */
395
+ post: operations["postBankRulesPreview"];
396
+ delete?: never;
397
+ options?: never;
398
+ head?: never;
399
+ patch?: never;
400
+ trace?: never;
401
+ };
402
+ "/bank-rules/{id}": {
403
+ parameters: {
404
+ query?: never;
405
+ header?: never;
406
+ path?: never;
407
+ cookie?: never;
408
+ };
409
+ /** @description Get a bank rule by id */
410
+ get: operations["getBankRulesById"];
411
+ /** @description Update a bank rule */
412
+ put: operations["putBankRulesById"];
413
+ post?: never;
414
+ delete?: never;
415
+ options?: never;
416
+ head?: never;
417
+ patch?: never;
418
+ trace?: never;
419
+ };
420
+ "/bank-rules/{id}/run": {
421
+ parameters: {
422
+ query?: never;
423
+ header?: never;
424
+ path?: never;
425
+ cookie?: never;
426
+ };
427
+ get?: never;
428
+ /** @description Run a bank rule against selected bank records */
429
+ put: operations["putBankRulesByIdRun"];
430
+ post?: never;
431
+ delete?: never;
432
+ options?: never;
433
+ head?: never;
434
+ patch?: never;
435
+ trace?: never;
436
+ };
367
437
  "/calendar-blocks": {
368
438
  parameters: {
369
439
  query?: never;
@@ -6829,6 +6899,7 @@ export interface operations {
6829
6899
  uniqueRefs?: string;
6830
6900
  reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
6831
6901
  includeBalanceRecords?: boolean;
6902
+ includeMatchingRules?: boolean;
6832
6903
  /** @description Include matching transactions, optionally with max days offset */
6833
6904
  includeMatchingTransactions?: string;
6834
6905
  hasMatchingTransactions?: boolean;
@@ -6928,6 +6999,135 @@ export interface operations {
6928
6999
  } | null;
6929
7000
  dateOffset: number;
6930
7001
  }[] | null;
7002
+ matchingRules?: {
7003
+ rule: {
7004
+ /** Format: uuid */
7005
+ id: string;
7006
+ name: string;
7007
+ /** @enum {string} */
7008
+ status: "active" | "inactive";
7009
+ priority: number;
7010
+ /** @enum {string} */
7011
+ transactionType: "deposit" | "expense";
7012
+ /** @enum {string} */
7013
+ mode: "suggest" | "autoCreateAndMatch";
7014
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
7015
+ descriptionValue?: string | null;
7016
+ amountMinCent?: number | null;
7017
+ amountMaxCent?: number | null;
7018
+ descriptionOverride?: string | null;
7019
+ usePriorMonthEnd: boolean;
7020
+ version: number;
7021
+ vendorContact?: {
7022
+ /** Format: uuid */
7023
+ id: string;
7024
+ name?: string | null;
7025
+ firstName?: string | null;
7026
+ uniqueRef?: string | null;
7027
+ shortRef?: string | null;
7028
+ } | null;
7029
+ accounts: {
7030
+ id: string;
7031
+ name: string;
7032
+ uniqueRef?: string | null;
7033
+ /** @enum {string} */
7034
+ status: "active" | "inactive";
7035
+ }[];
7036
+ lines: {
7037
+ /** Format: uuid */
7038
+ id: string;
7039
+ sortOrder: number;
7040
+ /** @enum {string} */
7041
+ splitMode: "fixed" | "percentage" | "remainder";
7042
+ fixedCentAmount?: number | null;
7043
+ percentageBps?: number | null;
7044
+ party?: ("owners" | "manager") | null;
7045
+ taxBehavior?: ("excluded" | "included") | null;
7046
+ descriptionOverride?: string | null;
7047
+ account: {
7048
+ id: string;
7049
+ name: string;
7050
+ uniqueRef?: string | null;
7051
+ /** @enum {string} */
7052
+ status: "active" | "inactive";
7053
+ };
7054
+ listing?: {
7055
+ /** Format: uuid */
7056
+ id: string;
7057
+ name: string;
7058
+ uniqueRef?: string | null;
7059
+ shortRef?: string | null;
7060
+ } | null;
7061
+ taxRate?: {
7062
+ id: string;
7063
+ name: string;
7064
+ /**
7065
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
7066
+ * @example 100000
7067
+ */
7068
+ basisPoints: number;
7069
+ } | null;
7070
+ }[];
7071
+ };
7072
+ preview: {
7073
+ matches: boolean;
7074
+ isAutoApplicable: boolean;
7075
+ bankRecord: {
7076
+ /** Format: uuid */
7077
+ id: string;
7078
+ date: string;
7079
+ description: string;
7080
+ amount: number;
7081
+ bankAccountId?: string | null;
7082
+ accountId?: string | null;
7083
+ };
7084
+ transaction: {
7085
+ description: string;
7086
+ status?: ("active" | "inactive") | null;
7087
+ accountId?: string | null;
7088
+ contactId?: string | null;
7089
+ uniqueRef?: string | null;
7090
+ isOpeningBalance?: boolean;
7091
+ /** @enum {string} */
7092
+ type: "deposit" | "expense";
7093
+ date: string;
7094
+ currency?: string | null;
7095
+ lines: {
7096
+ recurringTemplateId?: string | null;
7097
+ uniqueRef?: string | null;
7098
+ description: string;
7099
+ accountId?: string | null;
7100
+ assignment?: string | null;
7101
+ amount: number;
7102
+ appliedAmount?: {
7103
+ taxRateId?: string | null;
7104
+ taxBehavior?: ("excluded" | "included") | null;
7105
+ } | null;
7106
+ markup: null;
7107
+ listingId?: string | null;
7108
+ reservationId?: string | null;
7109
+ ownerStatementId?: string | null;
7110
+ party?: ("owners" | "manager") | null;
7111
+ contactId?: string | null;
7112
+ matchReservationConfirmationCode?: string | null;
7113
+ matchReservationStripeGuestRef?: string | null;
7114
+ matchLineTypeClassification?: string | null;
7115
+ }[];
7116
+ attachmentIds?: string[] | null;
7117
+ payment?: {
7118
+ bankRecordIds: string[];
7119
+ /** @enum {string} */
7120
+ status: "unpaid" | "underpaid" | "overpaid" | "paid";
7121
+ date?: string | null;
7122
+ lock: null;
7123
+ } | null;
7124
+ connectionId?: string | null;
7125
+ sourceId?: string | null;
7126
+ recurringTemplateId?: string | null;
7127
+ matchBankAccountLast4?: string | null;
7128
+ };
7129
+ };
7130
+ }[] | null;
6931
7131
  currency?: string | null;
6932
7132
  }[];
6933
7133
  pagination: {
@@ -7187,6 +7387,7 @@ export interface operations {
7187
7387
  uniqueRefs?: string;
7188
7388
  reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
7189
7389
  includeBalanceRecords?: boolean;
7390
+ includeMatchingRules?: boolean;
7190
7391
  /** @description Include matching transactions, optionally with max days offset */
7191
7392
  includeMatchingTransactions?: string;
7192
7393
  hasMatchingTransactions?: boolean;
@@ -7295,6 +7496,7 @@ export interface operations {
7295
7496
  getBankRecordsById: {
7296
7497
  parameters: {
7297
7498
  query?: {
7499
+ includeMatchingRules?: boolean;
7298
7500
  /** @description Include matching transactions, optionally with max days offset */
7299
7501
  includeMatchingTransactions?: string;
7300
7502
  };
@@ -7390,6 +7592,135 @@ export interface operations {
7390
7592
  } | null;
7391
7593
  dateOffset: number;
7392
7594
  }[] | null;
7595
+ matchingRules?: {
7596
+ rule: {
7597
+ /** Format: uuid */
7598
+ id: string;
7599
+ name: string;
7600
+ /** @enum {string} */
7601
+ status: "active" | "inactive";
7602
+ priority: number;
7603
+ /** @enum {string} */
7604
+ transactionType: "deposit" | "expense";
7605
+ /** @enum {string} */
7606
+ mode: "suggest" | "autoCreateAndMatch";
7607
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
7608
+ descriptionValue?: string | null;
7609
+ amountMinCent?: number | null;
7610
+ amountMaxCent?: number | null;
7611
+ descriptionOverride?: string | null;
7612
+ usePriorMonthEnd: boolean;
7613
+ version: number;
7614
+ vendorContact?: {
7615
+ /** Format: uuid */
7616
+ id: string;
7617
+ name?: string | null;
7618
+ firstName?: string | null;
7619
+ uniqueRef?: string | null;
7620
+ shortRef?: string | null;
7621
+ } | null;
7622
+ accounts: {
7623
+ id: string;
7624
+ name: string;
7625
+ uniqueRef?: string | null;
7626
+ /** @enum {string} */
7627
+ status: "active" | "inactive";
7628
+ }[];
7629
+ lines: {
7630
+ /** Format: uuid */
7631
+ id: string;
7632
+ sortOrder: number;
7633
+ /** @enum {string} */
7634
+ splitMode: "fixed" | "percentage" | "remainder";
7635
+ fixedCentAmount?: number | null;
7636
+ percentageBps?: number | null;
7637
+ party?: ("owners" | "manager") | null;
7638
+ taxBehavior?: ("excluded" | "included") | null;
7639
+ descriptionOverride?: string | null;
7640
+ account: {
7641
+ id: string;
7642
+ name: string;
7643
+ uniqueRef?: string | null;
7644
+ /** @enum {string} */
7645
+ status: "active" | "inactive";
7646
+ };
7647
+ listing?: {
7648
+ /** Format: uuid */
7649
+ id: string;
7650
+ name: string;
7651
+ uniqueRef?: string | null;
7652
+ shortRef?: string | null;
7653
+ } | null;
7654
+ taxRate?: {
7655
+ id: string;
7656
+ name: string;
7657
+ /**
7658
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
7659
+ * @example 100000
7660
+ */
7661
+ basisPoints: number;
7662
+ } | null;
7663
+ }[];
7664
+ };
7665
+ preview: {
7666
+ matches: boolean;
7667
+ isAutoApplicable: boolean;
7668
+ bankRecord: {
7669
+ /** Format: uuid */
7670
+ id: string;
7671
+ date: string;
7672
+ description: string;
7673
+ amount: number;
7674
+ bankAccountId?: string | null;
7675
+ accountId?: string | null;
7676
+ };
7677
+ transaction: {
7678
+ description: string;
7679
+ status?: ("active" | "inactive") | null;
7680
+ accountId?: string | null;
7681
+ contactId?: string | null;
7682
+ uniqueRef?: string | null;
7683
+ isOpeningBalance?: boolean;
7684
+ /** @enum {string} */
7685
+ type: "deposit" | "expense";
7686
+ date: string;
7687
+ currency?: string | null;
7688
+ lines: {
7689
+ recurringTemplateId?: string | null;
7690
+ uniqueRef?: string | null;
7691
+ description: string;
7692
+ accountId?: string | null;
7693
+ assignment?: string | null;
7694
+ amount: number;
7695
+ appliedAmount?: {
7696
+ taxRateId?: string | null;
7697
+ taxBehavior?: ("excluded" | "included") | null;
7698
+ } | null;
7699
+ markup: null;
7700
+ listingId?: string | null;
7701
+ reservationId?: string | null;
7702
+ ownerStatementId?: string | null;
7703
+ party?: ("owners" | "manager") | null;
7704
+ contactId?: string | null;
7705
+ matchReservationConfirmationCode?: string | null;
7706
+ matchReservationStripeGuestRef?: string | null;
7707
+ matchLineTypeClassification?: string | null;
7708
+ }[];
7709
+ attachmentIds?: string[] | null;
7710
+ payment?: {
7711
+ bankRecordIds: string[];
7712
+ /** @enum {string} */
7713
+ status: "unpaid" | "underpaid" | "overpaid" | "paid";
7714
+ date?: string | null;
7715
+ lock: null;
7716
+ } | null;
7717
+ connectionId?: string | null;
7718
+ sourceId?: string | null;
7719
+ recurringTemplateId?: string | null;
7720
+ matchBankAccountLast4?: string | null;
7721
+ };
7722
+ };
7723
+ }[] | null;
7393
7724
  currency?: string | null;
7394
7725
  };
7395
7726
  };
@@ -7591,12 +7922,15 @@ export interface operations {
7591
7922
  };
7592
7923
  };
7593
7924
  };
7594
- getCalendar: {
7925
+ getBankRules: {
7595
7926
  parameters: {
7596
- query: {
7597
- listingId: string;
7598
- startDate: string;
7599
- endDate: string;
7927
+ query?: {
7928
+ search?: string;
7929
+ status?: "active" | "inactive";
7930
+ mode?: "suggest" | "autoCreateAndMatch";
7931
+ transactionType?: "deposit" | "expense";
7932
+ limit?: number;
7933
+ page?: number;
7600
7934
  };
7601
7935
  header?: never;
7602
7936
  path?: never;
@@ -7612,18 +7946,83 @@ export interface operations {
7612
7946
  content: {
7613
7947
  "application/json": {
7614
7948
  data: {
7615
- date: string;
7949
+ /** Format: uuid */
7950
+ id: string;
7951
+ name: string;
7616
7952
  /** @enum {string} */
7617
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
7618
- description?: string | null;
7619
- user?: {
7620
- /** Format: email */
7621
- email: string;
7622
- firstName: string;
7623
- lastName: string;
7953
+ status: "active" | "inactive";
7954
+ priority: number;
7955
+ /** @enum {string} */
7956
+ transactionType: "deposit" | "expense";
7957
+ /** @enum {string} */
7958
+ mode: "suggest" | "autoCreateAndMatch";
7959
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
7960
+ descriptionValue?: string | null;
7961
+ amountMinCent?: number | null;
7962
+ amountMaxCent?: number | null;
7963
+ descriptionOverride?: string | null;
7964
+ usePriorMonthEnd: boolean;
7965
+ version: number;
7966
+ vendorContact?: {
7967
+ /** Format: uuid */
7624
7968
  id: string;
7969
+ name?: string | null;
7970
+ firstName?: string | null;
7971
+ uniqueRef?: string | null;
7972
+ shortRef?: string | null;
7625
7973
  } | null;
7974
+ accounts: {
7975
+ id: string;
7976
+ name: string;
7977
+ uniqueRef?: string | null;
7978
+ /** @enum {string} */
7979
+ status: "active" | "inactive";
7980
+ }[];
7981
+ lines: {
7982
+ /** Format: uuid */
7983
+ id: string;
7984
+ sortOrder: number;
7985
+ /** @enum {string} */
7986
+ splitMode: "fixed" | "percentage" | "remainder";
7987
+ fixedCentAmount?: number | null;
7988
+ percentageBps?: number | null;
7989
+ party?: ("owners" | "manager") | null;
7990
+ taxBehavior?: ("excluded" | "included") | null;
7991
+ descriptionOverride?: string | null;
7992
+ account: {
7993
+ id: string;
7994
+ name: string;
7995
+ uniqueRef?: string | null;
7996
+ /** @enum {string} */
7997
+ status: "active" | "inactive";
7998
+ };
7999
+ listing?: {
8000
+ /** Format: uuid */
8001
+ id: string;
8002
+ name: string;
8003
+ uniqueRef?: string | null;
8004
+ shortRef?: string | null;
8005
+ } | null;
8006
+ taxRate?: {
8007
+ id: string;
8008
+ name: string;
8009
+ /**
8010
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
8011
+ * @example 100000
8012
+ */
8013
+ basisPoints: number;
8014
+ } | null;
8015
+ }[];
7626
8016
  }[];
8017
+ pagination: {
8018
+ /** @default 100 */
8019
+ limit: number;
8020
+ /** @default 1 */
8021
+ page: number;
8022
+ total: number;
8023
+ totalPage: number;
8024
+ nextPage?: number;
8025
+ };
7627
8026
  };
7628
8027
  };
7629
8028
  };
@@ -7709,7 +8108,7 @@ export interface operations {
7709
8108
  };
7710
8109
  };
7711
8110
  };
7712
- blockCalendar: {
8111
+ postBankRules: {
7713
8112
  parameters: {
7714
8113
  query?: never;
7715
8114
  header?: never;
@@ -7719,10 +8118,34 @@ export interface operations {
7719
8118
  requestBody?: {
7720
8119
  content: {
7721
8120
  "application/json": {
7722
- listingId: string;
7723
- startDate: string;
7724
- endDate: string;
7725
- description?: string | null;
8121
+ name: string;
8122
+ status?: ("active" | "inactive") | null;
8123
+ priority?: number | null;
8124
+ /** @enum {string} */
8125
+ transactionType: "deposit" | "expense";
8126
+ mode?: ("suggest" | "autoCreateAndMatch") | null;
8127
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8128
+ descriptionValue?: string | null;
8129
+ amountMinCent?: number | null;
8130
+ amountMaxCent?: number | null;
8131
+ descriptionOverride?: string | null;
8132
+ usePriorMonthEnd?: boolean | null;
8133
+ vendorContactId?: string | null;
8134
+ accountIds?: string[] | null;
8135
+ lines: {
8136
+ sortOrder?: number;
8137
+ /** @enum {string} */
8138
+ splitMode: "fixed" | "percentage" | "remainder";
8139
+ fixedCentAmount?: number | null;
8140
+ percentageBps?: number | null;
8141
+ /** Format: uuid */
8142
+ accountId: string;
8143
+ listingId?: string | null;
8144
+ party?: ("owners" | "manager") | null;
8145
+ taxRateId?: string | null;
8146
+ taxBehavior?: ("excluded" | "included") | null;
8147
+ descriptionOverride?: string | null;
8148
+ }[];
7726
8149
  };
7727
8150
  };
7728
8151
  };
@@ -7734,17 +8157,71 @@ export interface operations {
7734
8157
  };
7735
8158
  content: {
7736
8159
  "application/json": {
7737
- data: {
7738
- date: string;
8160
+ /** Format: uuid */
8161
+ id: string;
8162
+ name: string;
8163
+ /** @enum {string} */
8164
+ status: "active" | "inactive";
8165
+ priority: number;
8166
+ /** @enum {string} */
8167
+ transactionType: "deposit" | "expense";
8168
+ /** @enum {string} */
8169
+ mode: "suggest" | "autoCreateAndMatch";
8170
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8171
+ descriptionValue?: string | null;
8172
+ amountMinCent?: number | null;
8173
+ amountMaxCent?: number | null;
8174
+ descriptionOverride?: string | null;
8175
+ usePriorMonthEnd: boolean;
8176
+ version: number;
8177
+ vendorContact?: {
8178
+ /** Format: uuid */
8179
+ id: string;
8180
+ name?: string | null;
8181
+ firstName?: string | null;
8182
+ uniqueRef?: string | null;
8183
+ shortRef?: string | null;
8184
+ } | null;
8185
+ accounts: {
8186
+ id: string;
8187
+ name: string;
8188
+ uniqueRef?: string | null;
7739
8189
  /** @enum {string} */
7740
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
7741
- description?: string | null;
7742
- user?: {
7743
- /** Format: email */
7744
- email: string;
7745
- firstName: string;
7746
- lastName: string;
8190
+ status: "active" | "inactive";
8191
+ }[];
8192
+ lines: {
8193
+ /** Format: uuid */
8194
+ id: string;
8195
+ sortOrder: number;
8196
+ /** @enum {string} */
8197
+ splitMode: "fixed" | "percentage" | "remainder";
8198
+ fixedCentAmount?: number | null;
8199
+ percentageBps?: number | null;
8200
+ party?: ("owners" | "manager") | null;
8201
+ taxBehavior?: ("excluded" | "included") | null;
8202
+ descriptionOverride?: string | null;
8203
+ account: {
8204
+ id: string;
8205
+ name: string;
8206
+ uniqueRef?: string | null;
8207
+ /** @enum {string} */
8208
+ status: "active" | "inactive";
8209
+ };
8210
+ listing?: {
8211
+ /** Format: uuid */
8212
+ id: string;
8213
+ name: string;
8214
+ uniqueRef?: string | null;
8215
+ shortRef?: string | null;
8216
+ } | null;
8217
+ taxRate?: {
7747
8218
  id: string;
8219
+ name: string;
8220
+ /**
8221
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
8222
+ * @example 100000
8223
+ */
8224
+ basisPoints: number;
7748
8225
  } | null;
7749
8226
  }[];
7750
8227
  };
@@ -7832,21 +8309,47 @@ export interface operations {
7832
8309
  };
7833
8310
  };
7834
8311
  };
7835
- unblockCalendar: {
8312
+ postBankRulesPreview: {
7836
8313
  parameters: {
7837
- query: {
7838
- listingId: string;
7839
- startDate: string;
7840
- endDate: string;
7841
- description?: string | null;
7842
- };
8314
+ query?: never;
7843
8315
  header?: never;
7844
8316
  path?: never;
7845
8317
  cookie?: never;
7846
8318
  };
7847
8319
  requestBody?: {
7848
8320
  content: {
7849
- "application/json": Record<string, never>;
8321
+ "application/json": {
8322
+ name: string;
8323
+ status?: ("active" | "inactive") | null;
8324
+ priority?: number | null;
8325
+ /** @enum {string} */
8326
+ transactionType: "deposit" | "expense";
8327
+ mode?: ("suggest" | "autoCreateAndMatch") | null;
8328
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8329
+ descriptionValue?: string | null;
8330
+ amountMinCent?: number | null;
8331
+ amountMaxCent?: number | null;
8332
+ descriptionOverride?: string | null;
8333
+ usePriorMonthEnd?: boolean | null;
8334
+ vendorContactId?: string | null;
8335
+ accountIds?: string[] | null;
8336
+ lines: {
8337
+ sortOrder?: number;
8338
+ /** @enum {string} */
8339
+ splitMode: "fixed" | "percentage" | "remainder";
8340
+ fixedCentAmount?: number | null;
8341
+ percentageBps?: number | null;
8342
+ /** Format: uuid */
8343
+ accountId: string;
8344
+ listingId?: string | null;
8345
+ party?: ("owners" | "manager") | null;
8346
+ taxRateId?: string | null;
8347
+ taxBehavior?: ("excluded" | "included") | null;
8348
+ descriptionOverride?: string | null;
8349
+ }[];
8350
+ /** Format: uuid */
8351
+ bankRecordId: string;
8352
+ };
7850
8353
  };
7851
8354
  };
7852
8355
  responses: {
@@ -7857,19 +8360,62 @@ export interface operations {
7857
8360
  };
7858
8361
  content: {
7859
8362
  "application/json": {
7860
- data: {
8363
+ matches: boolean;
8364
+ isAutoApplicable: boolean;
8365
+ bankRecord: {
8366
+ /** Format: uuid */
8367
+ id: string;
7861
8368
  date: string;
8369
+ description: string;
8370
+ amount: number;
8371
+ bankAccountId?: string | null;
8372
+ accountId?: string | null;
8373
+ };
8374
+ transaction: {
8375
+ description: string;
8376
+ status?: ("active" | "inactive") | null;
8377
+ accountId?: string | null;
8378
+ contactId?: string | null;
8379
+ uniqueRef?: string | null;
8380
+ isOpeningBalance?: boolean;
7862
8381
  /** @enum {string} */
7863
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
7864
- description?: string | null;
7865
- user?: {
7866
- /** Format: email */
7867
- email: string;
7868
- firstName: string;
7869
- lastName: string;
7870
- id: string;
8382
+ type: "deposit" | "expense";
8383
+ date: string;
8384
+ currency?: string | null;
8385
+ lines: {
8386
+ recurringTemplateId?: string | null;
8387
+ uniqueRef?: string | null;
8388
+ description: string;
8389
+ accountId?: string | null;
8390
+ assignment?: string | null;
8391
+ amount: number;
8392
+ appliedAmount?: {
8393
+ taxRateId?: string | null;
8394
+ taxBehavior?: ("excluded" | "included") | null;
8395
+ } | null;
8396
+ markup: null;
8397
+ listingId?: string | null;
8398
+ reservationId?: string | null;
8399
+ ownerStatementId?: string | null;
8400
+ party?: ("owners" | "manager") | null;
8401
+ contactId?: string | null;
8402
+ matchReservationConfirmationCode?: string | null;
8403
+ matchReservationStripeGuestRef?: string | null;
8404
+ matchLineTypeClassification?: string | null;
8405
+ }[];
8406
+ attachmentIds?: string[] | null;
8407
+ payment?: {
8408
+ bankRecordIds: string[];
8409
+ /** @enum {string} */
8410
+ status: "unpaid" | "underpaid" | "overpaid" | "paid";
8411
+ date?: string | null;
8412
+ lock: null;
7871
8413
  } | null;
7872
- }[];
8414
+ connectionId?: string | null;
8415
+ sourceId?: string | null;
8416
+ recurringTemplateId?: string | null;
8417
+ matchBankAccountLast4?: string | null;
8418
+ };
7873
8419
  };
7874
8420
  };
7875
8421
  };
@@ -7955,20 +8501,13 @@ export interface operations {
7955
8501
  };
7956
8502
  };
7957
8503
  };
7958
- getConnections: {
8504
+ getBankRulesById: {
7959
8505
  parameters: {
7960
- query?: {
7961
- tenantId?: string;
7962
- appId?: string;
7963
- status?: "active" | "inactive";
7964
- isErrorState?: boolean;
7965
- currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
7966
- search?: string;
7967
- limit?: number;
7968
- page?: number;
7969
- };
8506
+ query?: never;
7970
8507
  header?: never;
7971
- path?: never;
8508
+ path: {
8509
+ id: string;
8510
+ };
7972
8511
  cookie?: never;
7973
8512
  };
7974
8513
  requestBody?: never;
@@ -7980,49 +8519,73 @@ export interface operations {
7980
8519
  };
7981
8520
  content: {
7982
8521
  "application/json": {
7983
- data: {
8522
+ /** Format: uuid */
8523
+ id: string;
8524
+ name: string;
8525
+ /** @enum {string} */
8526
+ status: "active" | "inactive";
8527
+ priority: number;
8528
+ /** @enum {string} */
8529
+ transactionType: "deposit" | "expense";
8530
+ /** @enum {string} */
8531
+ mode: "suggest" | "autoCreateAndMatch";
8532
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8533
+ descriptionValue?: string | null;
8534
+ amountMinCent?: number | null;
8535
+ amountMaxCent?: number | null;
8536
+ descriptionOverride?: string | null;
8537
+ usePriorMonthEnd: boolean;
8538
+ version: number;
8539
+ vendorContact?: {
7984
8540
  /** Format: uuid */
8541
+ id: string;
8542
+ name?: string | null;
8543
+ firstName?: string | null;
8544
+ uniqueRef?: string | null;
8545
+ shortRef?: string | null;
8546
+ } | null;
8547
+ accounts: {
7985
8548
  id: string;
7986
8549
  name: string;
8550
+ uniqueRef?: string | null;
7987
8551
  /** @enum {string} */
7988
8552
  status: "active" | "inactive";
7989
- uniqueRef?: string | null;
7990
- app: {
8553
+ }[];
8554
+ lines: {
8555
+ /** Format: uuid */
8556
+ id: string;
8557
+ sortOrder: number;
8558
+ /** @enum {string} */
8559
+ splitMode: "fixed" | "percentage" | "remainder";
8560
+ fixedCentAmount?: number | null;
8561
+ percentageBps?: number | null;
8562
+ party?: ("owners" | "manager") | null;
8563
+ taxBehavior?: ("excluded" | "included") | null;
8564
+ descriptionOverride?: string | null;
8565
+ account: {
7991
8566
  id: string;
7992
- /** @enum {string} */
7993
- type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
7994
8567
  name: string;
7995
- icon?: string | null;
7996
- importers?: string[] | null;
7997
- extractors?: string[] | null;
7998
- };
7999
- createdAt: string;
8000
- updatedAt: string;
8001
- isErrorState: boolean;
8002
- currentSync?: {
8568
+ uniqueRef?: string | null;
8003
8569
  /** @enum {string} */
8004
- status: "queued" | "started" | "completed" | "failed" | "canceled";
8005
- createdAt: string;
8006
- updatedAt: string;
8007
- message?: string | null;
8008
- } | null;
8009
- enabledFlows: {
8570
+ status: "active" | "inactive";
8571
+ };
8572
+ listing?: {
8010
8573
  /** Format: uuid */
8011
8574
  id: string;
8012
- title: string;
8013
- isPublic: boolean;
8014
- type: ("push" | "pull") | null;
8015
- }[];
8575
+ name: string;
8576
+ uniqueRef?: string | null;
8577
+ shortRef?: string | null;
8578
+ } | null;
8579
+ taxRate?: {
8580
+ id: string;
8581
+ name: string;
8582
+ /**
8583
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
8584
+ * @example 100000
8585
+ */
8586
+ basisPoints: number;
8587
+ } | null;
8016
8588
  }[];
8017
- pagination: {
8018
- /** @default 100 */
8019
- limit: number;
8020
- /** @default 1 */
8021
- page: number;
8022
- total: number;
8023
- totalPage: number;
8024
- nextPage?: number;
8025
- };
8026
8589
  };
8027
8590
  };
8028
8591
  };
@@ -8108,21 +8671,47 @@ export interface operations {
8108
8671
  };
8109
8672
  };
8110
8673
  };
8111
- createConnection: {
8674
+ putBankRulesById: {
8112
8675
  parameters: {
8113
8676
  query?: never;
8114
8677
  header?: never;
8115
- path?: never;
8678
+ path: {
8679
+ id: string;
8680
+ };
8116
8681
  cookie?: never;
8117
8682
  };
8118
8683
  requestBody?: {
8119
8684
  content: {
8120
8685
  "application/json": {
8121
8686
  name?: string;
8122
- appId: string;
8123
- credentials?: {
8124
- [key: string]: unknown;
8125
- };
8687
+ status?: ("active" | "inactive") | null;
8688
+ priority?: number;
8689
+ /** @enum {string} */
8690
+ transactionType?: "deposit" | "expense";
8691
+ /** @enum {string} */
8692
+ mode?: "suggest" | "autoCreateAndMatch";
8693
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8694
+ descriptionValue?: string | null;
8695
+ amountMinCent?: number | null;
8696
+ amountMaxCent?: number | null;
8697
+ descriptionOverride?: string | null;
8698
+ usePriorMonthEnd?: boolean;
8699
+ vendorContactId?: string | null;
8700
+ accountIds?: string[] | null;
8701
+ lines?: {
8702
+ sortOrder?: number;
8703
+ /** @enum {string} */
8704
+ splitMode: "fixed" | "percentage" | "remainder";
8705
+ fixedCentAmount?: number | null;
8706
+ percentageBps?: number | null;
8707
+ /** Format: uuid */
8708
+ accountId: string;
8709
+ listingId?: string | null;
8710
+ party?: ("owners" | "manager") | null;
8711
+ taxRateId?: string | null;
8712
+ taxBehavior?: ("excluded" | "included") | null;
8713
+ descriptionOverride?: string | null;
8714
+ }[];
8126
8715
  };
8127
8716
  };
8128
8717
  };
@@ -8139,32 +8728,67 @@ export interface operations {
8139
8728
  name: string;
8140
8729
  /** @enum {string} */
8141
8730
  status: "active" | "inactive";
8142
- uniqueRef?: string | null;
8143
- app: {
8731
+ priority: number;
8732
+ /** @enum {string} */
8733
+ transactionType: "deposit" | "expense";
8734
+ /** @enum {string} */
8735
+ mode: "suggest" | "autoCreateAndMatch";
8736
+ descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
8737
+ descriptionValue?: string | null;
8738
+ amountMinCent?: number | null;
8739
+ amountMaxCent?: number | null;
8740
+ descriptionOverride?: string | null;
8741
+ usePriorMonthEnd: boolean;
8742
+ version: number;
8743
+ vendorContact?: {
8744
+ /** Format: uuid */
8745
+ id: string;
8746
+ name?: string | null;
8747
+ firstName?: string | null;
8748
+ uniqueRef?: string | null;
8749
+ shortRef?: string | null;
8750
+ } | null;
8751
+ accounts: {
8144
8752
  id: string;
8145
- /** @enum {string} */
8146
- type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
8147
8753
  name: string;
8148
- icon?: string | null;
8149
- importers?: string[] | null;
8150
- extractors?: string[] | null;
8151
- };
8152
- createdAt: string;
8153
- updatedAt: string;
8154
- isErrorState: boolean;
8155
- currentSync?: {
8754
+ uniqueRef?: string | null;
8156
8755
  /** @enum {string} */
8157
- status: "queued" | "started" | "completed" | "failed" | "canceled";
8158
- createdAt: string;
8159
- updatedAt: string;
8160
- message?: string | null;
8161
- } | null;
8162
- enabledFlows: {
8756
+ status: "active" | "inactive";
8757
+ }[];
8758
+ lines: {
8163
8759
  /** Format: uuid */
8164
8760
  id: string;
8165
- title: string;
8166
- isPublic: boolean;
8167
- type: ("push" | "pull") | null;
8761
+ sortOrder: number;
8762
+ /** @enum {string} */
8763
+ splitMode: "fixed" | "percentage" | "remainder";
8764
+ fixedCentAmount?: number | null;
8765
+ percentageBps?: number | null;
8766
+ party?: ("owners" | "manager") | null;
8767
+ taxBehavior?: ("excluded" | "included") | null;
8768
+ descriptionOverride?: string | null;
8769
+ account: {
8770
+ id: string;
8771
+ name: string;
8772
+ uniqueRef?: string | null;
8773
+ /** @enum {string} */
8774
+ status: "active" | "inactive";
8775
+ };
8776
+ listing?: {
8777
+ /** Format: uuid */
8778
+ id: string;
8779
+ name: string;
8780
+ uniqueRef?: string | null;
8781
+ shortRef?: string | null;
8782
+ } | null;
8783
+ taxRate?: {
8784
+ id: string;
8785
+ name: string;
8786
+ /**
8787
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
8788
+ * @example 100000
8789
+ */
8790
+ basisPoints: number;
8791
+ } | null;
8168
8792
  }[];
8169
8793
  };
8170
8794
  };
@@ -8251,28 +8875,20 @@ export interface operations {
8251
8875
  };
8252
8876
  };
8253
8877
  };
8254
- extractConnections: {
8878
+ putBankRulesByIdRun: {
8255
8879
  parameters: {
8256
8880
  query?: never;
8257
8881
  header?: never;
8258
- path?: never;
8882
+ path: {
8883
+ id: string;
8884
+ };
8259
8885
  cookie?: never;
8260
8886
  };
8261
8887
  requestBody?: {
8262
8888
  content: {
8263
8889
  "application/json": {
8264
- isInitial?: boolean;
8265
- connections: {
8266
- /** Format: uuid */
8267
- connectionId: string;
8268
- params?: unknown;
8269
- type?: string;
8270
- range?: {
8271
- start?: string;
8272
- end?: string;
8273
- };
8274
- forceUpdate?: boolean;
8275
- }[];
8890
+ bankRecordIds: string[];
8891
+ dryRun?: boolean;
8276
8892
  };
8277
8893
  };
8278
8894
  };
@@ -8286,18 +8902,69 @@ export interface operations {
8286
8902
  "application/json": {
8287
8903
  data: {
8288
8904
  /** Format: uuid */
8289
- runId: string;
8290
- /** Format: uuid */
8291
- workflowId: string;
8292
- /** Format: uuid */
8293
- taskId: string;
8294
- /** Format: uuid */
8295
- syncId: string;
8296
- data?: unknown;
8297
- error?: {
8298
- message: string;
8299
- error?: string;
8300
- };
8905
+ bankRecordId: string;
8906
+ /** @enum {string} */
8907
+ outcome: "applied" | "wouldApply" | "skipped" | "failed";
8908
+ reason?: string | null;
8909
+ transactionId?: string | null;
8910
+ preview?: {
8911
+ matches: boolean;
8912
+ isAutoApplicable: boolean;
8913
+ bankRecord: {
8914
+ /** Format: uuid */
8915
+ id: string;
8916
+ date: string;
8917
+ description: string;
8918
+ amount: number;
8919
+ bankAccountId?: string | null;
8920
+ accountId?: string | null;
8921
+ };
8922
+ transaction: {
8923
+ description: string;
8924
+ status?: ("active" | "inactive") | null;
8925
+ accountId?: string | null;
8926
+ contactId?: string | null;
8927
+ uniqueRef?: string | null;
8928
+ isOpeningBalance?: boolean;
8929
+ /** @enum {string} */
8930
+ type: "deposit" | "expense";
8931
+ date: string;
8932
+ currency?: string | null;
8933
+ lines: {
8934
+ recurringTemplateId?: string | null;
8935
+ uniqueRef?: string | null;
8936
+ description: string;
8937
+ accountId?: string | null;
8938
+ assignment?: string | null;
8939
+ amount: number;
8940
+ appliedAmount?: {
8941
+ taxRateId?: string | null;
8942
+ taxBehavior?: ("excluded" | "included") | null;
8943
+ } | null;
8944
+ markup: null;
8945
+ listingId?: string | null;
8946
+ reservationId?: string | null;
8947
+ ownerStatementId?: string | null;
8948
+ party?: ("owners" | "manager") | null;
8949
+ contactId?: string | null;
8950
+ matchReservationConfirmationCode?: string | null;
8951
+ matchReservationStripeGuestRef?: string | null;
8952
+ matchLineTypeClassification?: string | null;
8953
+ }[];
8954
+ attachmentIds?: string[] | null;
8955
+ payment?: {
8956
+ bankRecordIds: string[];
8957
+ /** @enum {string} */
8958
+ status: "unpaid" | "underpaid" | "overpaid" | "paid";
8959
+ date?: string | null;
8960
+ lock: null;
8961
+ } | null;
8962
+ connectionId?: string | null;
8963
+ sourceId?: string | null;
8964
+ recurringTemplateId?: string | null;
8965
+ matchBankAccountLast4?: string | null;
8966
+ };
8967
+ } | null;
8301
8968
  }[];
8302
8969
  };
8303
8970
  };
@@ -8384,22 +9051,18 @@ export interface operations {
8384
9051
  };
8385
9052
  };
8386
9053
  };
8387
- connectConnection: {
9054
+ getCalendar: {
8388
9055
  parameters: {
8389
- query?: never;
9056
+ query: {
9057
+ listingId: string;
9058
+ startDate: string;
9059
+ endDate: string;
9060
+ };
8390
9061
  header?: never;
8391
9062
  path?: never;
8392
9063
  cookie?: never;
8393
9064
  };
8394
- requestBody?: {
8395
- content: {
8396
- "application/json": {
8397
- appId: string;
8398
- /** @default https://portal.vrplatform.app */
8399
- redirectTo?: string;
8400
- };
8401
- };
8402
- };
9065
+ requestBody?: never;
8403
9066
  responses: {
8404
9067
  /** @description Successful response */
8405
9068
  200: {
@@ -8408,11 +9071,19 @@ export interface operations {
8408
9071
  };
8409
9072
  content: {
8410
9073
  "application/json": {
8411
- redirectUri: string;
8412
- manual: {
8413
- state: string;
8414
- redirectUri: string;
8415
- };
9074
+ data: {
9075
+ date: string;
9076
+ /** @enum {string} */
9077
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
9078
+ description?: string | null;
9079
+ user?: {
9080
+ /** Format: email */
9081
+ email: string;
9082
+ firstName: string;
9083
+ lastName: string;
9084
+ id: string;
9085
+ } | null;
9086
+ }[];
8416
9087
  };
8417
9088
  };
8418
9089
  };
@@ -8498,16 +9169,23 @@ export interface operations {
8498
9169
  };
8499
9170
  };
8500
9171
  };
8501
- getConnection: {
9172
+ blockCalendar: {
8502
9173
  parameters: {
8503
9174
  query?: never;
8504
9175
  header?: never;
8505
- path: {
8506
- id: string;
8507
- };
9176
+ path?: never;
8508
9177
  cookie?: never;
8509
9178
  };
8510
- requestBody?: never;
9179
+ requestBody?: {
9180
+ content: {
9181
+ "application/json": {
9182
+ listingId: string;
9183
+ startDate: string;
9184
+ endDate: string;
9185
+ description?: string | null;
9186
+ };
9187
+ };
9188
+ };
8511
9189
  responses: {
8512
9190
  /** @description Successful response */
8513
9191
  200: {
@@ -8516,37 +9194,18 @@ export interface operations {
8516
9194
  };
8517
9195
  content: {
8518
9196
  "application/json": {
8519
- /** Format: uuid */
8520
- id: string;
8521
- name: string;
8522
- /** @enum {string} */
8523
- status: "active" | "inactive";
8524
- uniqueRef?: string | null;
8525
- app: {
8526
- id: string;
8527
- /** @enum {string} */
8528
- type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
8529
- name: string;
8530
- icon?: string | null;
8531
- importers?: string[] | null;
8532
- extractors?: string[] | null;
8533
- };
8534
- createdAt: string;
8535
- updatedAt: string;
8536
- isErrorState: boolean;
8537
- currentSync?: {
9197
+ data: {
9198
+ date: string;
8538
9199
  /** @enum {string} */
8539
- status: "queued" | "started" | "completed" | "failed" | "canceled";
8540
- createdAt: string;
8541
- updatedAt: string;
8542
- message?: string | null;
8543
- } | null;
8544
- enabledFlows: {
8545
- /** Format: uuid */
8546
- id: string;
8547
- title: string;
8548
- isPublic: boolean;
8549
- type: ("push" | "pull") | null;
9200
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
9201
+ description?: string | null;
9202
+ user?: {
9203
+ /** Format: email */
9204
+ email: string;
9205
+ firstName: string;
9206
+ lastName: string;
9207
+ id: string;
9208
+ } | null;
8550
9209
  }[];
8551
9210
  };
8552
9211
  };
@@ -8633,15 +9292,16 @@ export interface operations {
8633
9292
  };
8634
9293
  };
8635
9294
  };
8636
- deleteConnection: {
9295
+ unblockCalendar: {
8637
9296
  parameters: {
8638
- query?: {
8639
- onLocked?: "error" | "archive";
9297
+ query: {
9298
+ listingId: string;
9299
+ startDate: string;
9300
+ endDate: string;
9301
+ description?: string | null;
8640
9302
  };
8641
9303
  header?: never;
8642
- path: {
8643
- id: string;
8644
- };
9304
+ path?: never;
8645
9305
  cookie?: never;
8646
9306
  };
8647
9307
  requestBody?: {
@@ -8657,8 +9317,808 @@ export interface operations {
8657
9317
  };
8658
9318
  content: {
8659
9319
  "application/json": {
8660
- /** @enum {string} */
8661
- status: "deleted" | "archived";
9320
+ data: {
9321
+ date: string;
9322
+ /** @enum {string} */
9323
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
9324
+ description?: string | null;
9325
+ user?: {
9326
+ /** Format: email */
9327
+ email: string;
9328
+ firstName: string;
9329
+ lastName: string;
9330
+ id: string;
9331
+ } | null;
9332
+ }[];
9333
+ };
9334
+ };
9335
+ };
9336
+ /** @description Bad request */
9337
+ 400: {
9338
+ headers: {
9339
+ [name: string]: unknown;
9340
+ };
9341
+ content: {
9342
+ "application/json": {
9343
+ code: string;
9344
+ message: string;
9345
+ issues?: {
9346
+ message: string;
9347
+ }[];
9348
+ context?: unknown;
9349
+ };
9350
+ };
9351
+ };
9352
+ /** @description Unauthorized */
9353
+ 401: {
9354
+ headers: {
9355
+ [name: string]: unknown;
9356
+ };
9357
+ content: {
9358
+ "application/json": {
9359
+ code: string;
9360
+ message: string;
9361
+ issues?: {
9362
+ message: string;
9363
+ }[];
9364
+ context?: unknown;
9365
+ };
9366
+ };
9367
+ };
9368
+ /** @description Forbidden */
9369
+ 403: {
9370
+ headers: {
9371
+ [name: string]: unknown;
9372
+ };
9373
+ content: {
9374
+ "application/json": {
9375
+ code: string;
9376
+ message: string;
9377
+ issues?: {
9378
+ message: string;
9379
+ }[];
9380
+ context?: unknown;
9381
+ };
9382
+ };
9383
+ };
9384
+ /** @description Not found */
9385
+ 404: {
9386
+ headers: {
9387
+ [name: string]: unknown;
9388
+ };
9389
+ content: {
9390
+ "application/json": {
9391
+ code: string;
9392
+ message: string;
9393
+ issues?: {
9394
+ message: string;
9395
+ }[];
9396
+ context?: unknown;
9397
+ };
9398
+ };
9399
+ };
9400
+ /** @description Internal server error */
9401
+ 500: {
9402
+ headers: {
9403
+ [name: string]: unknown;
9404
+ };
9405
+ content: {
9406
+ "application/json": {
9407
+ code: string;
9408
+ message: string;
9409
+ issues?: {
9410
+ message: string;
9411
+ }[];
9412
+ context?: unknown;
9413
+ };
9414
+ };
9415
+ };
9416
+ };
9417
+ };
9418
+ getConnections: {
9419
+ parameters: {
9420
+ query?: {
9421
+ tenantId?: string;
9422
+ appId?: string;
9423
+ status?: "active" | "inactive";
9424
+ isErrorState?: boolean;
9425
+ currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
9426
+ search?: string;
9427
+ limit?: number;
9428
+ page?: number;
9429
+ };
9430
+ header?: never;
9431
+ path?: never;
9432
+ cookie?: never;
9433
+ };
9434
+ requestBody?: never;
9435
+ responses: {
9436
+ /** @description Successful response */
9437
+ 200: {
9438
+ headers: {
9439
+ [name: string]: unknown;
9440
+ };
9441
+ content: {
9442
+ "application/json": {
9443
+ data: {
9444
+ /** Format: uuid */
9445
+ id: string;
9446
+ name: string;
9447
+ /** @enum {string} */
9448
+ status: "active" | "inactive";
9449
+ uniqueRef?: string | null;
9450
+ app: {
9451
+ id: string;
9452
+ /** @enum {string} */
9453
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
9454
+ name: string;
9455
+ icon?: string | null;
9456
+ importers?: string[] | null;
9457
+ extractors?: string[] | null;
9458
+ };
9459
+ createdAt: string;
9460
+ updatedAt: string;
9461
+ isErrorState: boolean;
9462
+ currentSync?: {
9463
+ /** @enum {string} */
9464
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
9465
+ createdAt: string;
9466
+ updatedAt: string;
9467
+ message?: string | null;
9468
+ } | null;
9469
+ enabledFlows: {
9470
+ /** Format: uuid */
9471
+ id: string;
9472
+ title: string;
9473
+ isPublic: boolean;
9474
+ type: ("push" | "pull") | null;
9475
+ }[];
9476
+ }[];
9477
+ pagination: {
9478
+ /** @default 100 */
9479
+ limit: number;
9480
+ /** @default 1 */
9481
+ page: number;
9482
+ total: number;
9483
+ totalPage: number;
9484
+ nextPage?: number;
9485
+ };
9486
+ };
9487
+ };
9488
+ };
9489
+ /** @description Bad request */
9490
+ 400: {
9491
+ headers: {
9492
+ [name: string]: unknown;
9493
+ };
9494
+ content: {
9495
+ "application/json": {
9496
+ code: string;
9497
+ message: string;
9498
+ issues?: {
9499
+ message: string;
9500
+ }[];
9501
+ context?: unknown;
9502
+ };
9503
+ };
9504
+ };
9505
+ /** @description Unauthorized */
9506
+ 401: {
9507
+ headers: {
9508
+ [name: string]: unknown;
9509
+ };
9510
+ content: {
9511
+ "application/json": {
9512
+ code: string;
9513
+ message: string;
9514
+ issues?: {
9515
+ message: string;
9516
+ }[];
9517
+ context?: unknown;
9518
+ };
9519
+ };
9520
+ };
9521
+ /** @description Forbidden */
9522
+ 403: {
9523
+ headers: {
9524
+ [name: string]: unknown;
9525
+ };
9526
+ content: {
9527
+ "application/json": {
9528
+ code: string;
9529
+ message: string;
9530
+ issues?: {
9531
+ message: string;
9532
+ }[];
9533
+ context?: unknown;
9534
+ };
9535
+ };
9536
+ };
9537
+ /** @description Not found */
9538
+ 404: {
9539
+ headers: {
9540
+ [name: string]: unknown;
9541
+ };
9542
+ content: {
9543
+ "application/json": {
9544
+ code: string;
9545
+ message: string;
9546
+ issues?: {
9547
+ message: string;
9548
+ }[];
9549
+ context?: unknown;
9550
+ };
9551
+ };
9552
+ };
9553
+ /** @description Internal server error */
9554
+ 500: {
9555
+ headers: {
9556
+ [name: string]: unknown;
9557
+ };
9558
+ content: {
9559
+ "application/json": {
9560
+ code: string;
9561
+ message: string;
9562
+ issues?: {
9563
+ message: string;
9564
+ }[];
9565
+ context?: unknown;
9566
+ };
9567
+ };
9568
+ };
9569
+ };
9570
+ };
9571
+ createConnection: {
9572
+ parameters: {
9573
+ query?: never;
9574
+ header?: never;
9575
+ path?: never;
9576
+ cookie?: never;
9577
+ };
9578
+ requestBody?: {
9579
+ content: {
9580
+ "application/json": {
9581
+ name?: string;
9582
+ appId: string;
9583
+ credentials?: {
9584
+ [key: string]: unknown;
9585
+ };
9586
+ };
9587
+ };
9588
+ };
9589
+ responses: {
9590
+ /** @description Successful response */
9591
+ 200: {
9592
+ headers: {
9593
+ [name: string]: unknown;
9594
+ };
9595
+ content: {
9596
+ "application/json": {
9597
+ /** Format: uuid */
9598
+ id: string;
9599
+ name: string;
9600
+ /** @enum {string} */
9601
+ status: "active" | "inactive";
9602
+ uniqueRef?: string | null;
9603
+ app: {
9604
+ id: string;
9605
+ /** @enum {string} */
9606
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
9607
+ name: string;
9608
+ icon?: string | null;
9609
+ importers?: string[] | null;
9610
+ extractors?: string[] | null;
9611
+ };
9612
+ createdAt: string;
9613
+ updatedAt: string;
9614
+ isErrorState: boolean;
9615
+ currentSync?: {
9616
+ /** @enum {string} */
9617
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
9618
+ createdAt: string;
9619
+ updatedAt: string;
9620
+ message?: string | null;
9621
+ } | null;
9622
+ enabledFlows: {
9623
+ /** Format: uuid */
9624
+ id: string;
9625
+ title: string;
9626
+ isPublic: boolean;
9627
+ type: ("push" | "pull") | null;
9628
+ }[];
9629
+ };
9630
+ };
9631
+ };
9632
+ /** @description Bad request */
9633
+ 400: {
9634
+ headers: {
9635
+ [name: string]: unknown;
9636
+ };
9637
+ content: {
9638
+ "application/json": {
9639
+ code: string;
9640
+ message: string;
9641
+ issues?: {
9642
+ message: string;
9643
+ }[];
9644
+ context?: unknown;
9645
+ };
9646
+ };
9647
+ };
9648
+ /** @description Unauthorized */
9649
+ 401: {
9650
+ headers: {
9651
+ [name: string]: unknown;
9652
+ };
9653
+ content: {
9654
+ "application/json": {
9655
+ code: string;
9656
+ message: string;
9657
+ issues?: {
9658
+ message: string;
9659
+ }[];
9660
+ context?: unknown;
9661
+ };
9662
+ };
9663
+ };
9664
+ /** @description Forbidden */
9665
+ 403: {
9666
+ headers: {
9667
+ [name: string]: unknown;
9668
+ };
9669
+ content: {
9670
+ "application/json": {
9671
+ code: string;
9672
+ message: string;
9673
+ issues?: {
9674
+ message: string;
9675
+ }[];
9676
+ context?: unknown;
9677
+ };
9678
+ };
9679
+ };
9680
+ /** @description Not found */
9681
+ 404: {
9682
+ headers: {
9683
+ [name: string]: unknown;
9684
+ };
9685
+ content: {
9686
+ "application/json": {
9687
+ code: string;
9688
+ message: string;
9689
+ issues?: {
9690
+ message: string;
9691
+ }[];
9692
+ context?: unknown;
9693
+ };
9694
+ };
9695
+ };
9696
+ /** @description Internal server error */
9697
+ 500: {
9698
+ headers: {
9699
+ [name: string]: unknown;
9700
+ };
9701
+ content: {
9702
+ "application/json": {
9703
+ code: string;
9704
+ message: string;
9705
+ issues?: {
9706
+ message: string;
9707
+ }[];
9708
+ context?: unknown;
9709
+ };
9710
+ };
9711
+ };
9712
+ };
9713
+ };
9714
+ extractConnections: {
9715
+ parameters: {
9716
+ query?: never;
9717
+ header?: never;
9718
+ path?: never;
9719
+ cookie?: never;
9720
+ };
9721
+ requestBody?: {
9722
+ content: {
9723
+ "application/json": {
9724
+ isInitial?: boolean;
9725
+ connections: {
9726
+ /** Format: uuid */
9727
+ connectionId: string;
9728
+ params?: unknown;
9729
+ type?: string;
9730
+ range?: {
9731
+ start?: string;
9732
+ end?: string;
9733
+ };
9734
+ forceUpdate?: boolean;
9735
+ }[];
9736
+ };
9737
+ };
9738
+ };
9739
+ responses: {
9740
+ /** @description Successful response */
9741
+ 200: {
9742
+ headers: {
9743
+ [name: string]: unknown;
9744
+ };
9745
+ content: {
9746
+ "application/json": {
9747
+ data: {
9748
+ /** Format: uuid */
9749
+ runId: string;
9750
+ /** Format: uuid */
9751
+ workflowId: string;
9752
+ /** Format: uuid */
9753
+ taskId: string;
9754
+ /** Format: uuid */
9755
+ syncId: string;
9756
+ data?: unknown;
9757
+ error?: {
9758
+ message: string;
9759
+ error?: string;
9760
+ };
9761
+ }[];
9762
+ };
9763
+ };
9764
+ };
9765
+ /** @description Bad request */
9766
+ 400: {
9767
+ headers: {
9768
+ [name: string]: unknown;
9769
+ };
9770
+ content: {
9771
+ "application/json": {
9772
+ code: string;
9773
+ message: string;
9774
+ issues?: {
9775
+ message: string;
9776
+ }[];
9777
+ context?: unknown;
9778
+ };
9779
+ };
9780
+ };
9781
+ /** @description Unauthorized */
9782
+ 401: {
9783
+ headers: {
9784
+ [name: string]: unknown;
9785
+ };
9786
+ content: {
9787
+ "application/json": {
9788
+ code: string;
9789
+ message: string;
9790
+ issues?: {
9791
+ message: string;
9792
+ }[];
9793
+ context?: unknown;
9794
+ };
9795
+ };
9796
+ };
9797
+ /** @description Forbidden */
9798
+ 403: {
9799
+ headers: {
9800
+ [name: string]: unknown;
9801
+ };
9802
+ content: {
9803
+ "application/json": {
9804
+ code: string;
9805
+ message: string;
9806
+ issues?: {
9807
+ message: string;
9808
+ }[];
9809
+ context?: unknown;
9810
+ };
9811
+ };
9812
+ };
9813
+ /** @description Not found */
9814
+ 404: {
9815
+ headers: {
9816
+ [name: string]: unknown;
9817
+ };
9818
+ content: {
9819
+ "application/json": {
9820
+ code: string;
9821
+ message: string;
9822
+ issues?: {
9823
+ message: string;
9824
+ }[];
9825
+ context?: unknown;
9826
+ };
9827
+ };
9828
+ };
9829
+ /** @description Internal server error */
9830
+ 500: {
9831
+ headers: {
9832
+ [name: string]: unknown;
9833
+ };
9834
+ content: {
9835
+ "application/json": {
9836
+ code: string;
9837
+ message: string;
9838
+ issues?: {
9839
+ message: string;
9840
+ }[];
9841
+ context?: unknown;
9842
+ };
9843
+ };
9844
+ };
9845
+ };
9846
+ };
9847
+ connectConnection: {
9848
+ parameters: {
9849
+ query?: never;
9850
+ header?: never;
9851
+ path?: never;
9852
+ cookie?: never;
9853
+ };
9854
+ requestBody?: {
9855
+ content: {
9856
+ "application/json": {
9857
+ appId: string;
9858
+ /** @default https://portal.vrplatform.app */
9859
+ redirectTo?: string;
9860
+ };
9861
+ };
9862
+ };
9863
+ responses: {
9864
+ /** @description Successful response */
9865
+ 200: {
9866
+ headers: {
9867
+ [name: string]: unknown;
9868
+ };
9869
+ content: {
9870
+ "application/json": {
9871
+ redirectUri: string;
9872
+ manual: {
9873
+ state: string;
9874
+ redirectUri: string;
9875
+ };
9876
+ };
9877
+ };
9878
+ };
9879
+ /** @description Bad request */
9880
+ 400: {
9881
+ headers: {
9882
+ [name: string]: unknown;
9883
+ };
9884
+ content: {
9885
+ "application/json": {
9886
+ code: string;
9887
+ message: string;
9888
+ issues?: {
9889
+ message: string;
9890
+ }[];
9891
+ context?: unknown;
9892
+ };
9893
+ };
9894
+ };
9895
+ /** @description Unauthorized */
9896
+ 401: {
9897
+ headers: {
9898
+ [name: string]: unknown;
9899
+ };
9900
+ content: {
9901
+ "application/json": {
9902
+ code: string;
9903
+ message: string;
9904
+ issues?: {
9905
+ message: string;
9906
+ }[];
9907
+ context?: unknown;
9908
+ };
9909
+ };
9910
+ };
9911
+ /** @description Forbidden */
9912
+ 403: {
9913
+ headers: {
9914
+ [name: string]: unknown;
9915
+ };
9916
+ content: {
9917
+ "application/json": {
9918
+ code: string;
9919
+ message: string;
9920
+ issues?: {
9921
+ message: string;
9922
+ }[];
9923
+ context?: unknown;
9924
+ };
9925
+ };
9926
+ };
9927
+ /** @description Not found */
9928
+ 404: {
9929
+ headers: {
9930
+ [name: string]: unknown;
9931
+ };
9932
+ content: {
9933
+ "application/json": {
9934
+ code: string;
9935
+ message: string;
9936
+ issues?: {
9937
+ message: string;
9938
+ }[];
9939
+ context?: unknown;
9940
+ };
9941
+ };
9942
+ };
9943
+ /** @description Internal server error */
9944
+ 500: {
9945
+ headers: {
9946
+ [name: string]: unknown;
9947
+ };
9948
+ content: {
9949
+ "application/json": {
9950
+ code: string;
9951
+ message: string;
9952
+ issues?: {
9953
+ message: string;
9954
+ }[];
9955
+ context?: unknown;
9956
+ };
9957
+ };
9958
+ };
9959
+ };
9960
+ };
9961
+ getConnection: {
9962
+ parameters: {
9963
+ query?: never;
9964
+ header?: never;
9965
+ path: {
9966
+ id: string;
9967
+ };
9968
+ cookie?: never;
9969
+ };
9970
+ requestBody?: never;
9971
+ responses: {
9972
+ /** @description Successful response */
9973
+ 200: {
9974
+ headers: {
9975
+ [name: string]: unknown;
9976
+ };
9977
+ content: {
9978
+ "application/json": {
9979
+ /** Format: uuid */
9980
+ id: string;
9981
+ name: string;
9982
+ /** @enum {string} */
9983
+ status: "active" | "inactive";
9984
+ uniqueRef?: string | null;
9985
+ app: {
9986
+ id: string;
9987
+ /** @enum {string} */
9988
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
9989
+ name: string;
9990
+ icon?: string | null;
9991
+ importers?: string[] | null;
9992
+ extractors?: string[] | null;
9993
+ };
9994
+ createdAt: string;
9995
+ updatedAt: string;
9996
+ isErrorState: boolean;
9997
+ currentSync?: {
9998
+ /** @enum {string} */
9999
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
10000
+ createdAt: string;
10001
+ updatedAt: string;
10002
+ message?: string | null;
10003
+ } | null;
10004
+ enabledFlows: {
10005
+ /** Format: uuid */
10006
+ id: string;
10007
+ title: string;
10008
+ isPublic: boolean;
10009
+ type: ("push" | "pull") | null;
10010
+ }[];
10011
+ };
10012
+ };
10013
+ };
10014
+ /** @description Bad request */
10015
+ 400: {
10016
+ headers: {
10017
+ [name: string]: unknown;
10018
+ };
10019
+ content: {
10020
+ "application/json": {
10021
+ code: string;
10022
+ message: string;
10023
+ issues?: {
10024
+ message: string;
10025
+ }[];
10026
+ context?: unknown;
10027
+ };
10028
+ };
10029
+ };
10030
+ /** @description Unauthorized */
10031
+ 401: {
10032
+ headers: {
10033
+ [name: string]: unknown;
10034
+ };
10035
+ content: {
10036
+ "application/json": {
10037
+ code: string;
10038
+ message: string;
10039
+ issues?: {
10040
+ message: string;
10041
+ }[];
10042
+ context?: unknown;
10043
+ };
10044
+ };
10045
+ };
10046
+ /** @description Forbidden */
10047
+ 403: {
10048
+ headers: {
10049
+ [name: string]: unknown;
10050
+ };
10051
+ content: {
10052
+ "application/json": {
10053
+ code: string;
10054
+ message: string;
10055
+ issues?: {
10056
+ message: string;
10057
+ }[];
10058
+ context?: unknown;
10059
+ };
10060
+ };
10061
+ };
10062
+ /** @description Not found */
10063
+ 404: {
10064
+ headers: {
10065
+ [name: string]: unknown;
10066
+ };
10067
+ content: {
10068
+ "application/json": {
10069
+ code: string;
10070
+ message: string;
10071
+ issues?: {
10072
+ message: string;
10073
+ }[];
10074
+ context?: unknown;
10075
+ };
10076
+ };
10077
+ };
10078
+ /** @description Internal server error */
10079
+ 500: {
10080
+ headers: {
10081
+ [name: string]: unknown;
10082
+ };
10083
+ content: {
10084
+ "application/json": {
10085
+ code: string;
10086
+ message: string;
10087
+ issues?: {
10088
+ message: string;
10089
+ }[];
10090
+ context?: unknown;
10091
+ };
10092
+ };
10093
+ };
10094
+ };
10095
+ };
10096
+ deleteConnection: {
10097
+ parameters: {
10098
+ query?: {
10099
+ onLocked?: "error" | "archive";
10100
+ };
10101
+ header?: never;
10102
+ path: {
10103
+ id: string;
10104
+ };
10105
+ cookie?: never;
10106
+ };
10107
+ requestBody?: {
10108
+ content: {
10109
+ "application/json": Record<string, never>;
10110
+ };
10111
+ };
10112
+ responses: {
10113
+ /** @description Successful response */
10114
+ 200: {
10115
+ headers: {
10116
+ [name: string]: unknown;
10117
+ };
10118
+ content: {
10119
+ "application/json": {
10120
+ /** @enum {string} */
10121
+ status: "deleted" | "archived";
8662
10122
  };
8663
10123
  };
8664
10124
  };
@@ -9242,7 +10702,9 @@ export interface operations {
9242
10702
  };
9243
10703
  postContacts: {
9244
10704
  parameters: {
9245
- query?: never;
10705
+ query?: {
10706
+ dryRun?: boolean;
10707
+ };
9246
10708
  header?: never;
9247
10709
  path?: never;
9248
10710
  cookie?: never;
@@ -9565,268 +11027,270 @@ export interface operations {
9565
11027
  };
9566
11028
  };
9567
11029
  };
9568
- getContactsCsv: {
11030
+ getContactsCsv: {
11031
+ parameters: {
11032
+ query?: {
11033
+ search?: string;
11034
+ status?: "active" | "inactive" | "pending";
11035
+ type?: "owner" | "vendor";
11036
+ companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
11037
+ isIndividual?: boolean;
11038
+ /** @description comma separated contact short refs */
11039
+ shortRefs?: string;
11040
+ };
11041
+ header?: never;
11042
+ path?: never;
11043
+ cookie?: never;
11044
+ };
11045
+ requestBody?: never;
11046
+ responses: {
11047
+ /** @description Successful response */
11048
+ 200: {
11049
+ headers: {
11050
+ [name: string]: unknown;
11051
+ };
11052
+ content: {
11053
+ "application/json": {
11054
+ url: string;
11055
+ };
11056
+ };
11057
+ };
11058
+ /** @description Bad request */
11059
+ 400: {
11060
+ headers: {
11061
+ [name: string]: unknown;
11062
+ };
11063
+ content: {
11064
+ "application/json": {
11065
+ code: string;
11066
+ message: string;
11067
+ issues?: {
11068
+ message: string;
11069
+ }[];
11070
+ context?: unknown;
11071
+ };
11072
+ };
11073
+ };
11074
+ /** @description Unauthorized */
11075
+ 401: {
11076
+ headers: {
11077
+ [name: string]: unknown;
11078
+ };
11079
+ content: {
11080
+ "application/json": {
11081
+ code: string;
11082
+ message: string;
11083
+ issues?: {
11084
+ message: string;
11085
+ }[];
11086
+ context?: unknown;
11087
+ };
11088
+ };
11089
+ };
11090
+ /** @description Forbidden */
11091
+ 403: {
11092
+ headers: {
11093
+ [name: string]: unknown;
11094
+ };
11095
+ content: {
11096
+ "application/json": {
11097
+ code: string;
11098
+ message: string;
11099
+ issues?: {
11100
+ message: string;
11101
+ }[];
11102
+ context?: unknown;
11103
+ };
11104
+ };
11105
+ };
11106
+ /** @description Not found */
11107
+ 404: {
11108
+ headers: {
11109
+ [name: string]: unknown;
11110
+ };
11111
+ content: {
11112
+ "application/json": {
11113
+ code: string;
11114
+ message: string;
11115
+ issues?: {
11116
+ message: string;
11117
+ }[];
11118
+ context?: unknown;
11119
+ };
11120
+ };
11121
+ };
11122
+ /** @description Internal server error */
11123
+ 500: {
11124
+ headers: {
11125
+ [name: string]: unknown;
11126
+ };
11127
+ content: {
11128
+ "application/json": {
11129
+ code: string;
11130
+ message: string;
11131
+ issues?: {
11132
+ message: string;
11133
+ }[];
11134
+ context?: unknown;
11135
+ };
11136
+ };
11137
+ };
11138
+ };
11139
+ };
11140
+ getContactsById: {
11141
+ parameters: {
11142
+ query?: never;
11143
+ header?: never;
11144
+ path: {
11145
+ id: string;
11146
+ };
11147
+ cookie?: never;
11148
+ };
11149
+ requestBody?: never;
11150
+ responses: {
11151
+ /** @description Successful response */
11152
+ 200: {
11153
+ headers: {
11154
+ [name: string]: unknown;
11155
+ };
11156
+ content: {
11157
+ "application/json": {
11158
+ address?: {
11159
+ full?: string | null;
11160
+ line1?: string | null;
11161
+ line2?: string | null;
11162
+ city?: string | null;
11163
+ /** @description Deprecated, use stateCode instead */
11164
+ state?: string | null;
11165
+ postalCode?: string | null;
11166
+ stateCode?: string | null;
11167
+ countryCode?: string | null;
11168
+ } | null;
11169
+ /** @enum {string} */
11170
+ type: "owner" | "vendor";
11171
+ email?: string | null;
11172
+ firstName?: string | null;
11173
+ name?: string | null;
11174
+ phone?: string | null;
11175
+ connectionId?: string | null;
11176
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
11177
+ taxIdentifier?: string | null;
11178
+ uniqueRef?: string | null;
11179
+ /** @enum {string} */
11180
+ status: "active" | "inactive" | "pending";
11181
+ payoutAccountId?: string | null;
11182
+ /** Format: uuid */
11183
+ id: string;
11184
+ shortRef?: string | null;
11185
+ source?: {
11186
+ /** Format: uuid */
11187
+ id: string;
11188
+ type: string;
11189
+ status?: ("active" | "inactive") | null;
11190
+ } | null;
11191
+ ownershipPeriods: {
11192
+ listingId: string;
11193
+ split: number;
11194
+ startAt?: string | null;
11195
+ endAt?: string | null;
11196
+ }[];
11197
+ activeOwnerships: {
11198
+ listingId: string;
11199
+ split: number;
11200
+ startAt?: string | null;
11201
+ endAt?: string | null;
11202
+ }[];
11203
+ };
11204
+ };
11205
+ };
11206
+ /** @description Bad request */
11207
+ 400: {
11208
+ headers: {
11209
+ [name: string]: unknown;
11210
+ };
11211
+ content: {
11212
+ "application/json": {
11213
+ code: string;
11214
+ message: string;
11215
+ issues?: {
11216
+ message: string;
11217
+ }[];
11218
+ context?: unknown;
11219
+ };
11220
+ };
11221
+ };
11222
+ /** @description Unauthorized */
11223
+ 401: {
11224
+ headers: {
11225
+ [name: string]: unknown;
11226
+ };
11227
+ content: {
11228
+ "application/json": {
11229
+ code: string;
11230
+ message: string;
11231
+ issues?: {
11232
+ message: string;
11233
+ }[];
11234
+ context?: unknown;
11235
+ };
11236
+ };
11237
+ };
11238
+ /** @description Forbidden */
11239
+ 403: {
11240
+ headers: {
11241
+ [name: string]: unknown;
11242
+ };
11243
+ content: {
11244
+ "application/json": {
11245
+ code: string;
11246
+ message: string;
11247
+ issues?: {
11248
+ message: string;
11249
+ }[];
11250
+ context?: unknown;
11251
+ };
11252
+ };
11253
+ };
11254
+ /** @description Not found */
11255
+ 404: {
11256
+ headers: {
11257
+ [name: string]: unknown;
11258
+ };
11259
+ content: {
11260
+ "application/json": {
11261
+ code: string;
11262
+ message: string;
11263
+ issues?: {
11264
+ message: string;
11265
+ }[];
11266
+ context?: unknown;
11267
+ };
11268
+ };
11269
+ };
11270
+ /** @description Internal server error */
11271
+ 500: {
11272
+ headers: {
11273
+ [name: string]: unknown;
11274
+ };
11275
+ content: {
11276
+ "application/json": {
11277
+ code: string;
11278
+ message: string;
11279
+ issues?: {
11280
+ message: string;
11281
+ }[];
11282
+ context?: unknown;
11283
+ };
11284
+ };
11285
+ };
11286
+ };
11287
+ };
11288
+ putContactsById: {
9569
11289
  parameters: {
9570
11290
  query?: {
9571
- search?: string;
9572
- status?: "active" | "inactive" | "pending";
9573
- type?: "owner" | "vendor";
9574
- companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
9575
- isIndividual?: boolean;
9576
- /** @description comma separated contact short refs */
9577
- shortRefs?: string;
11291
+ dryRun?: boolean;
9578
11292
  };
9579
11293
  header?: never;
9580
- path?: never;
9581
- cookie?: never;
9582
- };
9583
- requestBody?: never;
9584
- responses: {
9585
- /** @description Successful response */
9586
- 200: {
9587
- headers: {
9588
- [name: string]: unknown;
9589
- };
9590
- content: {
9591
- "application/json": {
9592
- url: string;
9593
- };
9594
- };
9595
- };
9596
- /** @description Bad request */
9597
- 400: {
9598
- headers: {
9599
- [name: string]: unknown;
9600
- };
9601
- content: {
9602
- "application/json": {
9603
- code: string;
9604
- message: string;
9605
- issues?: {
9606
- message: string;
9607
- }[];
9608
- context?: unknown;
9609
- };
9610
- };
9611
- };
9612
- /** @description Unauthorized */
9613
- 401: {
9614
- headers: {
9615
- [name: string]: unknown;
9616
- };
9617
- content: {
9618
- "application/json": {
9619
- code: string;
9620
- message: string;
9621
- issues?: {
9622
- message: string;
9623
- }[];
9624
- context?: unknown;
9625
- };
9626
- };
9627
- };
9628
- /** @description Forbidden */
9629
- 403: {
9630
- headers: {
9631
- [name: string]: unknown;
9632
- };
9633
- content: {
9634
- "application/json": {
9635
- code: string;
9636
- message: string;
9637
- issues?: {
9638
- message: string;
9639
- }[];
9640
- context?: unknown;
9641
- };
9642
- };
9643
- };
9644
- /** @description Not found */
9645
- 404: {
9646
- headers: {
9647
- [name: string]: unknown;
9648
- };
9649
- content: {
9650
- "application/json": {
9651
- code: string;
9652
- message: string;
9653
- issues?: {
9654
- message: string;
9655
- }[];
9656
- context?: unknown;
9657
- };
9658
- };
9659
- };
9660
- /** @description Internal server error */
9661
- 500: {
9662
- headers: {
9663
- [name: string]: unknown;
9664
- };
9665
- content: {
9666
- "application/json": {
9667
- code: string;
9668
- message: string;
9669
- issues?: {
9670
- message: string;
9671
- }[];
9672
- context?: unknown;
9673
- };
9674
- };
9675
- };
9676
- };
9677
- };
9678
- getContactsById: {
9679
- parameters: {
9680
- query?: never;
9681
- header?: never;
9682
- path: {
9683
- id: string;
9684
- };
9685
- cookie?: never;
9686
- };
9687
- requestBody?: never;
9688
- responses: {
9689
- /** @description Successful response */
9690
- 200: {
9691
- headers: {
9692
- [name: string]: unknown;
9693
- };
9694
- content: {
9695
- "application/json": {
9696
- address?: {
9697
- full?: string | null;
9698
- line1?: string | null;
9699
- line2?: string | null;
9700
- city?: string | null;
9701
- /** @description Deprecated, use stateCode instead */
9702
- state?: string | null;
9703
- postalCode?: string | null;
9704
- stateCode?: string | null;
9705
- countryCode?: string | null;
9706
- } | null;
9707
- /** @enum {string} */
9708
- type: "owner" | "vendor";
9709
- email?: string | null;
9710
- firstName?: string | null;
9711
- name?: string | null;
9712
- phone?: string | null;
9713
- connectionId?: string | null;
9714
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
9715
- taxIdentifier?: string | null;
9716
- uniqueRef?: string | null;
9717
- /** @enum {string} */
9718
- status: "active" | "inactive" | "pending";
9719
- payoutAccountId?: string | null;
9720
- /** Format: uuid */
9721
- id: string;
9722
- shortRef?: string | null;
9723
- source?: {
9724
- /** Format: uuid */
9725
- id: string;
9726
- type: string;
9727
- status?: ("active" | "inactive") | null;
9728
- } | null;
9729
- ownershipPeriods: {
9730
- listingId: string;
9731
- split: number;
9732
- startAt?: string | null;
9733
- endAt?: string | null;
9734
- }[];
9735
- activeOwnerships: {
9736
- listingId: string;
9737
- split: number;
9738
- startAt?: string | null;
9739
- endAt?: string | null;
9740
- }[];
9741
- };
9742
- };
9743
- };
9744
- /** @description Bad request */
9745
- 400: {
9746
- headers: {
9747
- [name: string]: unknown;
9748
- };
9749
- content: {
9750
- "application/json": {
9751
- code: string;
9752
- message: string;
9753
- issues?: {
9754
- message: string;
9755
- }[];
9756
- context?: unknown;
9757
- };
9758
- };
9759
- };
9760
- /** @description Unauthorized */
9761
- 401: {
9762
- headers: {
9763
- [name: string]: unknown;
9764
- };
9765
- content: {
9766
- "application/json": {
9767
- code: string;
9768
- message: string;
9769
- issues?: {
9770
- message: string;
9771
- }[];
9772
- context?: unknown;
9773
- };
9774
- };
9775
- };
9776
- /** @description Forbidden */
9777
- 403: {
9778
- headers: {
9779
- [name: string]: unknown;
9780
- };
9781
- content: {
9782
- "application/json": {
9783
- code: string;
9784
- message: string;
9785
- issues?: {
9786
- message: string;
9787
- }[];
9788
- context?: unknown;
9789
- };
9790
- };
9791
- };
9792
- /** @description Not found */
9793
- 404: {
9794
- headers: {
9795
- [name: string]: unknown;
9796
- };
9797
- content: {
9798
- "application/json": {
9799
- code: string;
9800
- message: string;
9801
- issues?: {
9802
- message: string;
9803
- }[];
9804
- context?: unknown;
9805
- };
9806
- };
9807
- };
9808
- /** @description Internal server error */
9809
- 500: {
9810
- headers: {
9811
- [name: string]: unknown;
9812
- };
9813
- content: {
9814
- "application/json": {
9815
- code: string;
9816
- message: string;
9817
- issues?: {
9818
- message: string;
9819
- }[];
9820
- context?: unknown;
9821
- };
9822
- };
9823
- };
9824
- };
9825
- };
9826
- putContactsById: {
9827
- parameters: {
9828
- query?: never;
9829
- header?: never;
9830
11294
  path: {
9831
11295
  id: string;
9832
11296
  };
@@ -10004,6 +11468,7 @@ export interface operations {
10004
11468
  parameters: {
10005
11469
  query?: {
10006
11470
  onLocked?: "error" | "archive";
11471
+ dryRun?: boolean;
10007
11472
  };
10008
11473
  header?: never;
10009
11474
  path: {
@@ -13692,7 +15157,9 @@ export interface operations {
13692
15157
  };
13693
15158
  postListings: {
13694
15159
  parameters: {
13695
- query?: never;
15160
+ query?: {
15161
+ dryRun?: boolean;
15162
+ };
13696
15163
  header?: never;
13697
15164
  path?: never;
13698
15165
  cookie?: never;
@@ -15191,7 +16658,9 @@ export interface operations {
15191
16658
  };
15192
16659
  putListingsById: {
15193
16660
  parameters: {
15194
- query?: never;
16661
+ query?: {
16662
+ dryRun?: boolean;
16663
+ };
15195
16664
  header?: never;
15196
16665
  path: {
15197
16666
  id: string;
@@ -15449,6 +16918,7 @@ export interface operations {
15449
16918
  parameters: {
15450
16919
  query?: {
15451
16920
  onLocked?: "error" | "archive";
16921
+ dryRun?: boolean;
15452
16922
  };
15453
16923
  header?: never;
15454
16924
  path: {
@@ -25076,7 +26546,9 @@ export interface operations {
25076
26546
  };
25077
26547
  postReservations: {
25078
26548
  parameters: {
25079
- query?: never;
26549
+ query?: {
26550
+ dryRun?: boolean;
26551
+ };
25080
26552
  header?: never;
25081
26553
  path?: never;
25082
26554
  cookie?: never;
@@ -26964,7 +28436,9 @@ export interface operations {
26964
28436
  };
26965
28437
  putReservationsById: {
26966
28438
  parameters: {
26967
- query?: never;
28439
+ query?: {
28440
+ dryRun?: boolean;
28441
+ };
26968
28442
  header?: never;
26969
28443
  path: {
26970
28444
  id: string;
@@ -27536,6 +29010,7 @@ export interface operations {
27536
29010
  parameters: {
27537
29011
  query?: {
27538
29012
  onLocked?: "error" | "archive";
29013
+ dryRun?: boolean;
27539
29014
  };
27540
29015
  header?: never;
27541
29016
  path: {
@@ -40048,7 +41523,9 @@ export interface operations {
40048
41523
  };
40049
41524
  postTransactions: {
40050
41525
  parameters: {
40051
- query?: never;
41526
+ query?: {
41527
+ dryRun?: boolean;
41528
+ };
40052
41529
  header?: never;
40053
41530
  path?: never;
40054
41531
  cookie?: never;
@@ -43823,7 +45300,9 @@ export interface operations {
43823
45300
  };
43824
45301
  putTransactionsById: {
43825
45302
  parameters: {
43826
- query?: never;
45303
+ query?: {
45304
+ dryRun?: boolean;
45305
+ };
43827
45306
  header?: never;
43828
45307
  path: {
43829
45308
  id: string;
@@ -44293,6 +45772,7 @@ export interface operations {
44293
45772
  parameters: {
44294
45773
  query?: {
44295
45774
  onLocked?: "error" | "archive";
45775
+ dryRun?: boolean;
44296
45776
  };
44297
45777
  header?: never;
44298
45778
  path: {