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