@vrplatform/api 1.2.33-stage.825 → 1.2.33-stage.830

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.
@@ -1772,7 +1772,8 @@ export interface paths {
1772
1772
  };
1773
1773
  /** @description Get flow configuration for a connection */
1774
1774
  get: operations["getFlowConnection"];
1775
- put?: never;
1775
+ /** @description Update flow status for a connection */
1776
+ put: operations["setFlowStatus"];
1776
1777
  post?: never;
1777
1778
  delete?: never;
1778
1779
  options?: never;
@@ -1780,20 +1781,18 @@ export interface paths {
1780
1781
  patch?: never;
1781
1782
  trace?: never;
1782
1783
  };
1783
- "/flows/{id}/{connectionId}/mappings": {
1784
+ "/flows/{id}/{connectionId}/run": {
1784
1785
  parameters: {
1785
1786
  query?: never;
1786
1787
  header?: never;
1787
1788
  path?: never;
1788
1789
  cookie?: never;
1789
1790
  };
1790
- get?: never;
1791
- /** @description Update flow mappings for a connection */
1792
- put: operations["updateFlowMappings"];
1793
- /** @description Create flow mappings for a connection */
1794
- post: operations["createFlowMappings"];
1795
- /** @description Delete flow mappings for a connection */
1796
- delete: operations["deleteFlowMappings"];
1791
+ /** @description Trigger execution of a flow for a connection */
1792
+ get: operations["runFlow"];
1793
+ put?: never;
1794
+ post?: never;
1795
+ delete?: never;
1797
1796
  options?: never;
1798
1797
  head?: never;
1799
1798
  patch?: never;
@@ -1806,63 +1805,62 @@ export interface paths {
1806
1805
  path?: never;
1807
1806
  cookie?: never;
1808
1807
  };
1809
- get?: never;
1810
- /** @description Update flow setting for a connection */
1811
- put: operations["updateFlowSettings"];
1812
- /** @description Create flow settings for a connection */
1813
- post: operations["createFlowSettings"];
1814
- /** @description Delete flow setting for a connection */
1815
- delete: operations["deleteFlowSettings"];
1808
+ /** @description List flow settings for a connection */
1809
+ get: operations["getFlowSettings"];
1810
+ put?: never;
1811
+ post?: never;
1812
+ delete?: never;
1816
1813
  options?: never;
1817
1814
  head?: never;
1818
1815
  patch?: never;
1819
1816
  trace?: never;
1820
1817
  };
1821
- "/flows/{id}/{connectionId}/enable": {
1818
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
1822
1819
  parameters: {
1823
1820
  query?: never;
1824
1821
  header?: never;
1825
1822
  path?: never;
1826
1823
  cookie?: never;
1827
1824
  };
1828
- get?: never;
1825
+ /** @description List available values/options for a flow setting (mock) */
1826
+ get: operations["listFlowSettingOptions"];
1829
1827
  put?: never;
1830
- /** @description Enable a flow for a connection */
1831
- post: operations["enableFlow"];
1828
+ /** @description Create, update or delete a flow setting entry */
1829
+ post: operations["setFlowSetting"];
1832
1830
  delete?: never;
1833
1831
  options?: never;
1834
1832
  head?: never;
1835
1833
  patch?: never;
1836
1834
  trace?: never;
1837
1835
  };
1838
- "/flows/{id}/{connectionId}/disable": {
1836
+ "/flows/{id}/{connectionId}/mappings": {
1839
1837
  parameters: {
1840
1838
  query?: never;
1841
1839
  header?: never;
1842
1840
  path?: never;
1843
1841
  cookie?: never;
1844
1842
  };
1845
- get?: never;
1843
+ /** @description List flow mappings for a connection */
1844
+ get: operations["getFlowMappings"];
1846
1845
  put?: never;
1847
1846
  post?: never;
1848
- /** @description Disable a flow for a connection */
1849
- delete: operations["disableFlow"];
1847
+ delete?: never;
1850
1848
  options?: never;
1851
1849
  head?: never;
1852
1850
  patch?: never;
1853
1851
  trace?: never;
1854
1852
  };
1855
- "/flows/{id}/{connectionId}/settings/{settingKey}": {
1853
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1856
1854
  parameters: {
1857
1855
  query?: never;
1858
1856
  header?: never;
1859
1857
  path?: never;
1860
1858
  cookie?: never;
1861
1859
  };
1862
- /** @description List available values/options for a flow setting (mock) */
1863
- get: operations["listFlowSettingOptions"];
1860
+ get?: never;
1864
1861
  put?: never;
1865
- post?: never;
1862
+ /** @description Create, update or delete a flow mapping entry */
1863
+ post: operations["setFlowMapping"];
1866
1864
  delete?: never;
1867
1865
  options?: never;
1868
1866
  head?: never;
@@ -6524,7 +6522,7 @@ export interface operations {
6524
6522
  data: {
6525
6523
  /** Format: uuid */
6526
6524
  listingId: string;
6527
- /** @default 2025-10-23 */
6525
+ /** @default 2025-10-24 */
6528
6526
  startAt: string;
6529
6527
  endAt?: string | null;
6530
6528
  setListingInactive?: boolean | null;
@@ -6606,7 +6604,7 @@ export interface operations {
6606
6604
  "application/json": {
6607
6605
  /** Format: uuid */
6608
6606
  listingId: string;
6609
- /** @default 2025-10-23 */
6607
+ /** @default 2025-10-24 */
6610
6608
  startAt?: string;
6611
6609
  endAt?: string | null;
6612
6610
  members: {
@@ -6640,7 +6638,7 @@ export interface operations {
6640
6638
  "application/json": {
6641
6639
  /** Format: uuid */
6642
6640
  listingId: string;
6643
- /** @default 2025-10-23 */
6641
+ /** @default 2025-10-24 */
6644
6642
  startAt: string;
6645
6643
  endAt?: string | null;
6646
6644
  setListingInactive?: boolean | null;
@@ -6720,7 +6718,7 @@ export interface operations {
6720
6718
  "application/json": {
6721
6719
  /** Format: uuid */
6722
6720
  listingId: string;
6723
- /** @default 2025-10-23 */
6721
+ /** @default 2025-10-24 */
6724
6722
  startAt: string;
6725
6723
  endAt?: string | null;
6726
6724
  setListingInactive?: boolean | null;
@@ -6803,7 +6801,7 @@ export interface operations {
6803
6801
  "application/json": {
6804
6802
  /** Format: uuid */
6805
6803
  listingId?: string;
6806
- /** @default 2025-10-23 */
6804
+ /** @default 2025-10-24 */
6807
6805
  startAt?: string;
6808
6806
  endAt?: string | null;
6809
6807
  members?: {
@@ -6837,7 +6835,7 @@ export interface operations {
6837
6835
  "application/json": {
6838
6836
  /** Format: uuid */
6839
6837
  listingId: string;
6840
- /** @default 2025-10-23 */
6838
+ /** @default 2025-10-24 */
6841
6839
  startAt: string;
6842
6840
  endAt?: string | null;
6843
6841
  setListingInactive?: boolean | null;
@@ -7023,7 +7021,7 @@ export interface operations {
7023
7021
  /** Format: uuid */
7024
7022
  sourceId?: string | null;
7025
7023
  initialOwnership?: {
7026
- /** @default 2025-10-23 */
7024
+ /** @default 2025-10-24 */
7027
7025
  startAt?: string;
7028
7026
  endAt?: string | null;
7029
7027
  members: {
@@ -7081,7 +7079,7 @@ export interface operations {
7081
7079
  status: "active" | "inactive";
7082
7080
  defaultCurrency?: string | null;
7083
7081
  activeOwnership?: {
7084
- /** @default 2025-10-23 */
7082
+ /** @default 2025-10-24 */
7085
7083
  startAt: string;
7086
7084
  endAt?: string | null;
7087
7085
  setListingInactive?: boolean | null;
@@ -7322,7 +7320,7 @@ export interface operations {
7322
7320
  status: "active" | "inactive";
7323
7321
  defaultCurrency?: string | null;
7324
7322
  activeOwnership?: {
7325
- /** @default 2025-10-23 */
7323
+ /** @default 2025-10-24 */
7326
7324
  startAt: string;
7327
7325
  endAt?: string | null;
7328
7326
  setListingInactive?: boolean | null;
@@ -7461,7 +7459,7 @@ export interface operations {
7461
7459
  /** Format: uuid */
7462
7460
  sourceId?: string | null;
7463
7461
  initialOwnership?: {
7464
- /** @default 2025-10-23 */
7462
+ /** @default 2025-10-24 */
7465
7463
  startAt?: string;
7466
7464
  endAt?: string | null;
7467
7465
  members: {
@@ -7515,7 +7513,7 @@ export interface operations {
7515
7513
  status: "active" | "inactive";
7516
7514
  defaultCurrency?: string | null;
7517
7515
  activeOwnership?: {
7518
- /** @default 2025-10-23 */
7516
+ /** @default 2025-10-24 */
7519
7517
  startAt: string;
7520
7518
  endAt?: string | null;
7521
7519
  setListingInactive?: boolean | null;
@@ -7732,7 +7730,7 @@ export interface operations {
7732
7730
  status: "active" | "inactive";
7733
7731
  defaultCurrency?: string | null;
7734
7732
  activeOwnership?: {
7735
- /** @default 2025-10-23 */
7733
+ /** @default 2025-10-24 */
7736
7734
  startAt: string;
7737
7735
  endAt?: string | null;
7738
7736
  setListingInactive?: boolean | null;
@@ -7879,7 +7877,7 @@ export interface operations {
7879
7877
  /** Format: uuid */
7880
7878
  sourceId?: string | null;
7881
7879
  initialOwnership?: {
7882
- /** @default 2025-10-23 */
7880
+ /** @default 2025-10-24 */
7883
7881
  startAt?: string;
7884
7882
  endAt?: string | null;
7885
7883
  members: {
@@ -7933,7 +7931,7 @@ export interface operations {
7933
7931
  status: "active" | "inactive";
7934
7932
  defaultCurrency?: string | null;
7935
7933
  activeOwnership?: {
7936
- /** @default 2025-10-23 */
7934
+ /** @default 2025-10-24 */
7937
7935
  startAt: string;
7938
7936
  endAt?: string | null;
7939
7937
  setListingInactive?: boolean | null;
@@ -23499,8 +23497,8 @@ export interface operations {
23499
23497
  search?: string;
23500
23498
  date?: string;
23501
23499
  amount?: string;
23502
- /** @description Use a listing uuid or "unmapped" */
23503
- listingId?: string;
23500
+ /** @description listing uuids comma separated or "unmapped" */
23501
+ listingIds?: string;
23504
23502
  /** @description comma separated accounts */
23505
23503
  accountIds?: string;
23506
23504
  /** @description comma separated categories */
@@ -23827,7 +23825,7 @@ export interface operations {
23827
23825
  date?: string;
23828
23826
  amount?: string;
23829
23827
  /** @description Use a listing uuid or "unmapped" */
23830
- listingId?: string;
23828
+ listingIds?: string;
23831
23829
  /** @description comma separated accounts */
23832
23830
  accountIds?: string;
23833
23831
  /** @description comma separated categories */
@@ -24598,6 +24596,7 @@ export interface operations {
24598
24596
  name: string;
24599
24597
  icon?: string | null;
24600
24598
  };
24599
+ description?: string | null;
24601
24600
  /** @description Mapping schema configuration for this flow */
24602
24601
  mappingSchema: {
24603
24602
  [key: string]: {
@@ -24640,6 +24639,8 @@ export interface operations {
24640
24639
  filter?: string;
24641
24640
  };
24642
24641
  };
24642
+ /** @enum {string} */
24643
+ type?: "push" | "pull";
24643
24644
  }[];
24644
24645
  pagination: {
24645
24646
  /** @default 100 */
@@ -24714,6 +24715,7 @@ export interface operations {
24714
24715
  "application/json": {
24715
24716
  title: string;
24716
24717
  appId: string;
24718
+ description?: string | null;
24717
24719
  /** @enum {string} */
24718
24720
  type?: "push" | "pull";
24719
24721
  /** @description Dictionary of mapping entries by mapping_key */
@@ -24839,6 +24841,7 @@ export interface operations {
24839
24841
  name: string;
24840
24842
  icon?: string | null;
24841
24843
  };
24844
+ description?: string | null;
24842
24845
  /** @description Mapping schema configuration for this flow */
24843
24846
  mappingSchema: {
24844
24847
  [key: string]: {
@@ -24881,6 +24884,8 @@ export interface operations {
24881
24884
  filter?: string;
24882
24885
  };
24883
24886
  };
24887
+ /** @enum {string} */
24888
+ type?: "push" | "pull";
24884
24889
  };
24885
24890
  };
24886
24891
  };
@@ -24947,6 +24952,7 @@ export interface operations {
24947
24952
  "application/json": {
24948
24953
  title?: string;
24949
24954
  appId?: string;
24955
+ description?: string | null;
24950
24956
  /** @description Dictionary of mapping entries by mapping_key */
24951
24957
  mappingSchema?: {
24952
24958
  [key: string]: {
@@ -25010,6 +25016,7 @@ export interface operations {
25010
25016
  name: string;
25011
25017
  icon?: string | null;
25012
25018
  };
25019
+ description?: string | null;
25013
25020
  /** @description Mapping schema configuration for this flow */
25014
25021
  mappingSchema: {
25015
25022
  [key: string]: {
@@ -25052,6 +25059,8 @@ export interface operations {
25052
25059
  filter?: string;
25053
25060
  };
25054
25061
  };
25062
+ /** @enum {string} */
25063
+ type?: "push" | "pull";
25055
25064
  };
25056
25065
  };
25057
25066
  };
@@ -25200,129 +25209,73 @@ export interface operations {
25200
25209
  /** Format: uuid */
25201
25210
  connectionId: string;
25202
25211
  title: string;
25203
- status: string | null;
25204
- /** @default {} */
25205
- mappings: {
25206
- [key: string]: {
25207
- /** Format: uuid */
25208
- id: string;
25209
- title: string | null;
25210
- description: string | null;
25211
- value: {
25212
- /** @enum {string} */
25213
- type: "account";
25214
- account: {
25215
- /** Format: uuid */
25216
- id: string;
25217
- title?: string | null;
25218
- type?: string | null;
25219
- };
25220
- } | {
25221
- /** @enum {string} */
25222
- type: "bookingChannel";
25223
- bookingChannel: {
25224
- /** Format: uuid */
25225
- id: string;
25226
- uniqueRef?: string | null;
25227
- icon?: string | null;
25228
- };
25229
- } | {
25230
- /** @enum {string} */
25231
- type: "contact";
25232
- contact: {
25233
- /** Format: uuid */
25234
- id: string;
25235
- name?: string | null;
25236
- email?: string | null;
25237
- type?: string | null;
25238
- };
25239
- } | {
25240
- /** @enum {string} */
25241
- type: "listing";
25242
- listing: {
25243
- /** Format: uuid */
25244
- id: string;
25245
- name?: string | null;
25246
- title?: string | null;
25247
- };
25248
- } | {
25249
- /** @enum {string} */
25250
- type: "source";
25251
- source: {
25252
- /** Format: uuid */
25253
- id: string;
25254
- description?: string | null;
25255
- code?: string | null;
25256
- };
25257
- } | {
25258
- /** @enum {string} */
25259
- type: "value";
25260
- value?: unknown;
25261
- };
25262
- };
25263
- };
25264
- /** @default {} */
25212
+ description: string | null;
25213
+ /** @enum {string} */
25214
+ status: "active" | "inactive";
25265
25215
  settings: {
25266
- [key: string]: {
25267
- /** Format: uuid */
25268
- id: string;
25269
- title: string | null;
25270
- description: string | null;
25271
- type: string | null;
25272
- filter: string | null;
25273
- value: {
25274
- /** @enum {string} */
25275
- type: "account";
25276
- account: {
25277
- /** Format: uuid */
25278
- id: string;
25279
- title?: string | null;
25280
- type?: string | null;
25281
- };
25282
- } | {
25283
- /** @enum {string} */
25284
- type: "bookingChannel";
25285
- bookingChannel: {
25286
- /** Format: uuid */
25287
- id: string;
25288
- uniqueRef?: string | null;
25289
- icon?: string | null;
25290
- };
25291
- } | {
25292
- /** @enum {string} */
25293
- type: "contact";
25294
- contact: {
25295
- /** Format: uuid */
25296
- id: string;
25297
- name?: string | null;
25298
- email?: string | null;
25299
- type?: string | null;
25300
- };
25301
- } | {
25302
- /** @enum {string} */
25303
- type: "listing";
25304
- listing: {
25305
- /** Format: uuid */
25306
- id: string;
25307
- name?: string | null;
25308
- title?: string | null;
25309
- };
25310
- } | {
25311
- /** @enum {string} */
25312
- type: "source";
25313
- source: {
25314
- /** Format: uuid */
25315
- id: string;
25316
- description?: string | null;
25317
- code?: string | null;
25318
- };
25319
- } | {
25320
- /** @enum {string} */
25321
- type: "value";
25322
- value?: unknown;
25216
+ /** Format: uuid */
25217
+ id: string;
25218
+ /** Format: uuid */
25219
+ flowId: string;
25220
+ /** Format: uuid */
25221
+ connectionId: string;
25222
+ settingKey: string;
25223
+ title: string | null;
25224
+ description: string | null;
25225
+ type: string | null;
25226
+ filter: string | null;
25227
+ value: {
25228
+ /** @enum {string} */
25229
+ type: "account";
25230
+ account: {
25231
+ /** Format: uuid */
25232
+ id: string;
25233
+ title?: string | null;
25234
+ type?: string | null;
25235
+ };
25236
+ } | {
25237
+ /** @enum {string} */
25238
+ type: "bookingChannel";
25239
+ bookingChannel: {
25240
+ /** Format: uuid */
25241
+ id: string;
25242
+ uniqueRef?: string | null;
25243
+ icon?: string | null;
25244
+ };
25245
+ } | {
25246
+ /** @enum {string} */
25247
+ type: "contact";
25248
+ contact: {
25249
+ /** Format: uuid */
25250
+ id: string;
25251
+ name?: string | null;
25252
+ email?: string | null;
25253
+ type?: string | null;
25254
+ };
25255
+ } | {
25256
+ /** @enum {string} */
25257
+ type: "listing";
25258
+ listing: {
25259
+ /** Format: uuid */
25260
+ id: string;
25261
+ name?: string | null;
25262
+ title?: string | null;
25263
+ };
25264
+ } | {
25265
+ /** @enum {string} */
25266
+ type: "source";
25267
+ source: {
25268
+ /** Format: uuid */
25269
+ id: string;
25270
+ description?: string | null;
25271
+ code?: string | null;
25323
25272
  };
25273
+ } | {
25274
+ /** @enum {string} */
25275
+ type: "value";
25276
+ value?: unknown;
25324
25277
  };
25325
- };
25278
+ }[];
25326
25279
  };
25327
25280
  };
25328
25281
  };
@@ -25373,7 +25326,7 @@ export interface operations {
25373
25326
  };
25374
25327
  };
25375
25328
  };
25376
- updateFlowMappings: {
25329
+ setFlowStatus: {
25377
25330
  parameters: {
25378
25331
  query?: never;
25379
25332
  header?: {
@@ -25388,21 +25341,8 @@ export interface operations {
25388
25341
  requestBody: {
25389
25342
  content: {
25390
25343
  "application/json": {
25391
- mappings: {
25392
- [key: string]: {
25393
- /** Format: uuid */
25394
- sourceId: string;
25395
- value?: unknown;
25396
- /** Format: uuid */
25397
- accountId?: string | null;
25398
- /** Format: uuid */
25399
- bookingChannelId?: string | null;
25400
- /** Format: uuid */
25401
- contactId?: string | null;
25402
- /** Format: uuid */
25403
- listingId?: string | null;
25404
- };
25405
- };
25344
+ /** @enum {string} */
25345
+ status: "active" | "inactive";
25406
25346
  };
25407
25347
  };
25408
25348
  };
@@ -25419,540 +25359,73 @@ export interface operations {
25419
25359
  /** Format: uuid */
25420
25360
  connectionId: string;
25421
25361
  title: string;
25422
- status: string | null;
25423
- /** @default {} */
25424
- mappings: {
25425
- [key: string]: {
25426
- /** Format: uuid */
25427
- id: string;
25428
- title: string | null;
25429
- description: string | null;
25430
- value: {
25431
- /** @enum {string} */
25432
- type: "account";
25433
- account: {
25434
- /** Format: uuid */
25435
- id: string;
25436
- title?: string | null;
25437
- type?: string | null;
25438
- };
25439
- } | {
25440
- /** @enum {string} */
25441
- type: "bookingChannel";
25442
- bookingChannel: {
25443
- /** Format: uuid */
25444
- id: string;
25445
- uniqueRef?: string | null;
25446
- icon?: string | null;
25447
- };
25448
- } | {
25449
- /** @enum {string} */
25450
- type: "contact";
25451
- contact: {
25452
- /** Format: uuid */
25453
- id: string;
25454
- name?: string | null;
25455
- email?: string | null;
25456
- type?: string | null;
25457
- };
25458
- } | {
25459
- /** @enum {string} */
25460
- type: "listing";
25461
- listing: {
25462
- /** Format: uuid */
25463
- id: string;
25464
- name?: string | null;
25465
- title?: string | null;
25466
- };
25467
- } | {
25468
- /** @enum {string} */
25469
- type: "source";
25470
- source: {
25471
- /** Format: uuid */
25472
- id: string;
25473
- description?: string | null;
25474
- code?: string | null;
25475
- };
25476
- } | {
25477
- /** @enum {string} */
25478
- type: "value";
25479
- value?: unknown;
25480
- };
25481
- };
25482
- };
25483
- /** @default {} */
25362
+ description: string | null;
25363
+ /** @enum {string} */
25364
+ status: "active" | "inactive";
25484
25365
  settings: {
25485
- [key: string]: {
25486
- /** Format: uuid */
25487
- id: string;
25488
- title: string | null;
25489
- description: string | null;
25490
- type: string | null;
25491
- filter: string | null;
25492
- value: {
25493
- /** @enum {string} */
25494
- type: "account";
25495
- account: {
25496
- /** Format: uuid */
25497
- id: string;
25498
- title?: string | null;
25499
- type?: string | null;
25500
- };
25501
- } | {
25502
- /** @enum {string} */
25503
- type: "bookingChannel";
25504
- bookingChannel: {
25505
- /** Format: uuid */
25506
- id: string;
25507
- uniqueRef?: string | null;
25508
- icon?: string | null;
25509
- };
25510
- } | {
25511
- /** @enum {string} */
25512
- type: "contact";
25513
- contact: {
25514
- /** Format: uuid */
25515
- id: string;
25516
- name?: string | null;
25517
- email?: string | null;
25518
- type?: string | null;
25519
- };
25520
- } | {
25521
- /** @enum {string} */
25522
- type: "listing";
25523
- listing: {
25524
- /** Format: uuid */
25525
- id: string;
25526
- name?: string | null;
25527
- title?: string | null;
25528
- };
25529
- } | {
25530
- /** @enum {string} */
25531
- type: "source";
25532
- source: {
25533
- /** Format: uuid */
25534
- id: string;
25535
- description?: string | null;
25536
- code?: string | null;
25537
- };
25538
- } | {
25539
- /** @enum {string} */
25540
- type: "value";
25541
- value?: unknown;
25366
+ /** Format: uuid */
25367
+ id: string;
25368
+ /** Format: uuid */
25369
+ flowId: string;
25370
+ /** Format: uuid */
25371
+ connectionId: string;
25372
+ settingKey: string;
25373
+ title: string | null;
25374
+ description: string | null;
25375
+ type: string | null;
25376
+ filter: string | null;
25377
+ value: {
25378
+ /** @enum {string} */
25379
+ type: "account";
25380
+ account: {
25381
+ /** Format: uuid */
25382
+ id: string;
25383
+ title?: string | null;
25384
+ type?: string | null;
25542
25385
  };
25543
- };
25544
- };
25545
- };
25546
- };
25547
- };
25548
- /** @description Invalid input data */
25549
- 400: {
25550
- headers: {
25551
- [name: string]: unknown;
25552
- };
25553
- content: {
25554
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25555
- };
25556
- };
25557
- /** @description Authorization not provided */
25558
- 401: {
25559
- headers: {
25560
- [name: string]: unknown;
25561
- };
25562
- content: {
25563
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25564
- };
25565
- };
25566
- /** @description Insufficient access */
25567
- 403: {
25568
- headers: {
25569
- [name: string]: unknown;
25570
- };
25571
- content: {
25572
- "application/json": components["schemas"]["error.FORBIDDEN"];
25573
- };
25574
- };
25575
- /** @description Not found */
25576
- 404: {
25577
- headers: {
25578
- [name: string]: unknown;
25579
- };
25580
- content: {
25581
- "application/json": components["schemas"]["error.NOT_FOUND"];
25582
- };
25583
- };
25584
- /** @description Internal server error */
25585
- 500: {
25586
- headers: {
25587
- [name: string]: unknown;
25588
- };
25589
- content: {
25590
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25591
- };
25592
- };
25593
- };
25594
- };
25595
- createFlowMappings: {
25596
- parameters: {
25597
- query?: never;
25598
- header?: {
25599
- "X-Team-Id"?: string;
25600
- };
25601
- path: {
25602
- id: string;
25603
- connectionId: string;
25604
- };
25605
- cookie?: never;
25606
- };
25607
- requestBody: {
25608
- content: {
25609
- "application/json": {
25610
- mappings: {
25611
- [key: string]: {
25612
- /** Format: uuid */
25613
- sourceId: string;
25614
- value?: unknown;
25615
- /** Format: uuid */
25616
- accountId?: string | null;
25617
- /** Format: uuid */
25618
- bookingChannelId?: string | null;
25619
- /** Format: uuid */
25620
- contactId?: string | null;
25621
- /** Format: uuid */
25622
- listingId?: string | null;
25623
- };
25624
- };
25625
- };
25626
- };
25627
- };
25628
- responses: {
25629
- /** @description Successful response */
25630
- 200: {
25631
- headers: {
25632
- [name: string]: unknown;
25633
- };
25634
- content: {
25635
- "application/json": {
25636
- /** Format: uuid */
25637
- id: string;
25638
- /** Format: uuid */
25639
- connectionId: string;
25640
- title: string;
25641
- status: string | null;
25642
- /** @default {} */
25643
- mappings: {
25644
- [key: string]: {
25645
- /** Format: uuid */
25646
- id: string;
25647
- title: string | null;
25648
- description: string | null;
25649
- value: {
25650
- /** @enum {string} */
25651
- type: "account";
25652
- account: {
25653
- /** Format: uuid */
25654
- id: string;
25655
- title?: string | null;
25656
- type?: string | null;
25657
- };
25658
- } | {
25659
- /** @enum {string} */
25660
- type: "bookingChannel";
25661
- bookingChannel: {
25662
- /** Format: uuid */
25663
- id: string;
25664
- uniqueRef?: string | null;
25665
- icon?: string | null;
25666
- };
25667
- } | {
25668
- /** @enum {string} */
25669
- type: "contact";
25670
- contact: {
25671
- /** Format: uuid */
25672
- id: string;
25673
- name?: string | null;
25674
- email?: string | null;
25675
- type?: string | null;
25676
- };
25677
- } | {
25678
- /** @enum {string} */
25679
- type: "listing";
25680
- listing: {
25681
- /** Format: uuid */
25682
- id: string;
25683
- name?: string | null;
25684
- title?: string | null;
25685
- };
25686
- } | {
25687
- /** @enum {string} */
25688
- type: "source";
25689
- source: {
25690
- /** Format: uuid */
25691
- id: string;
25692
- description?: string | null;
25693
- code?: string | null;
25694
- };
25695
- } | {
25696
- /** @enum {string} */
25697
- type: "value";
25698
- value?: unknown;
25699
- };
25700
- };
25701
- };
25702
- /** @default {} */
25703
- settings: {
25704
- [key: string]: {
25705
- /** Format: uuid */
25706
- id: string;
25707
- title: string | null;
25708
- description: string | null;
25709
- type: string | null;
25710
- filter: string | null;
25711
- value: {
25712
- /** @enum {string} */
25713
- type: "account";
25714
- account: {
25715
- /** Format: uuid */
25716
- id: string;
25717
- title?: string | null;
25718
- type?: string | null;
25719
- };
25720
- } | {
25721
- /** @enum {string} */
25722
- type: "bookingChannel";
25723
- bookingChannel: {
25724
- /** Format: uuid */
25725
- id: string;
25726
- uniqueRef?: string | null;
25727
- icon?: string | null;
25728
- };
25729
- } | {
25730
- /** @enum {string} */
25731
- type: "contact";
25732
- contact: {
25733
- /** Format: uuid */
25734
- id: string;
25735
- name?: string | null;
25736
- email?: string | null;
25737
- type?: string | null;
25738
- };
25739
- } | {
25740
- /** @enum {string} */
25741
- type: "listing";
25742
- listing: {
25743
- /** Format: uuid */
25744
- id: string;
25745
- name?: string | null;
25746
- title?: string | null;
25747
- };
25748
- } | {
25749
- /** @enum {string} */
25750
- type: "source";
25751
- source: {
25752
- /** Format: uuid */
25753
- id: string;
25754
- description?: string | null;
25755
- code?: string | null;
25756
- };
25757
- } | {
25758
- /** @enum {string} */
25759
- type: "value";
25760
- value?: unknown;
25761
- };
25762
- };
25763
- };
25764
- };
25765
- };
25766
- };
25767
- /** @description Invalid input data */
25768
- 400: {
25769
- headers: {
25770
- [name: string]: unknown;
25771
- };
25772
- content: {
25773
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25774
- };
25775
- };
25776
- /** @description Authorization not provided */
25777
- 401: {
25778
- headers: {
25779
- [name: string]: unknown;
25780
- };
25781
- content: {
25782
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25783
- };
25784
- };
25785
- /** @description Insufficient access */
25786
- 403: {
25787
- headers: {
25788
- [name: string]: unknown;
25789
- };
25790
- content: {
25791
- "application/json": components["schemas"]["error.FORBIDDEN"];
25792
- };
25793
- };
25794
- /** @description Internal server error */
25795
- 500: {
25796
- headers: {
25797
- [name: string]: unknown;
25798
- };
25799
- content: {
25800
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25801
- };
25802
- };
25803
- };
25804
- };
25805
- deleteFlowMappings: {
25806
- parameters: {
25807
- query?: {
25808
- mappingKeys?: string[];
25809
- };
25810
- header?: {
25811
- "X-Team-Id"?: string;
25812
- };
25813
- path: {
25814
- id: string;
25815
- connectionId: string;
25816
- };
25817
- cookie?: never;
25818
- };
25819
- requestBody?: never;
25820
- responses: {
25821
- /** @description Successful response */
25822
- 200: {
25823
- headers: {
25824
- [name: string]: unknown;
25825
- };
25826
- content: {
25827
- "application/json": {
25828
- /** Format: uuid */
25829
- id: string;
25830
- /** Format: uuid */
25831
- connectionId: string;
25832
- title: string;
25833
- status: string | null;
25834
- /** @default {} */
25835
- mappings: {
25836
- [key: string]: {
25837
- /** Format: uuid */
25838
- id: string;
25839
- title: string | null;
25840
- description: string | null;
25841
- value: {
25842
- /** @enum {string} */
25843
- type: "account";
25844
- account: {
25845
- /** Format: uuid */
25846
- id: string;
25847
- title?: string | null;
25848
- type?: string | null;
25849
- };
25850
- } | {
25851
- /** @enum {string} */
25852
- type: "bookingChannel";
25853
- bookingChannel: {
25854
- /** Format: uuid */
25855
- id: string;
25856
- uniqueRef?: string | null;
25857
- icon?: string | null;
25858
- };
25859
- } | {
25860
- /** @enum {string} */
25861
- type: "contact";
25862
- contact: {
25863
- /** Format: uuid */
25864
- id: string;
25865
- name?: string | null;
25866
- email?: string | null;
25867
- type?: string | null;
25868
- };
25869
- } | {
25870
- /** @enum {string} */
25871
- type: "listing";
25872
- listing: {
25873
- /** Format: uuid */
25874
- id: string;
25875
- name?: string | null;
25876
- title?: string | null;
25877
- };
25878
- } | {
25879
- /** @enum {string} */
25880
- type: "source";
25881
- source: {
25882
- /** Format: uuid */
25883
- id: string;
25884
- description?: string | null;
25885
- code?: string | null;
25886
- };
25887
- } | {
25888
- /** @enum {string} */
25889
- type: "value";
25890
- value?: unknown;
25891
- };
25892
- };
25893
- };
25894
- /** @default {} */
25895
- settings: {
25896
- [key: string]: {
25897
- /** Format: uuid */
25898
- id: string;
25899
- title: string | null;
25900
- description: string | null;
25901
- type: string | null;
25902
- filter: string | null;
25903
- value: {
25904
- /** @enum {string} */
25905
- type: "account";
25906
- account: {
25907
- /** Format: uuid */
25908
- id: string;
25909
- title?: string | null;
25910
- type?: string | null;
25911
- };
25912
- } | {
25913
- /** @enum {string} */
25914
- type: "bookingChannel";
25915
- bookingChannel: {
25916
- /** Format: uuid */
25917
- id: string;
25918
- uniqueRef?: string | null;
25919
- icon?: string | null;
25920
- };
25921
- } | {
25922
- /** @enum {string} */
25923
- type: "contact";
25924
- contact: {
25925
- /** Format: uuid */
25926
- id: string;
25927
- name?: string | null;
25928
- email?: string | null;
25929
- type?: string | null;
25930
- };
25931
- } | {
25932
- /** @enum {string} */
25933
- type: "listing";
25934
- listing: {
25935
- /** Format: uuid */
25936
- id: string;
25937
- name?: string | null;
25938
- title?: string | null;
25939
- };
25940
- } | {
25941
- /** @enum {string} */
25942
- type: "source";
25943
- source: {
25944
- /** Format: uuid */
25945
- id: string;
25946
- description?: string | null;
25947
- code?: string | null;
25948
- };
25949
- } | {
25950
- /** @enum {string} */
25951
- type: "value";
25952
- value?: unknown;
25386
+ } | {
25387
+ /** @enum {string} */
25388
+ type: "bookingChannel";
25389
+ bookingChannel: {
25390
+ /** Format: uuid */
25391
+ id: string;
25392
+ uniqueRef?: string | null;
25393
+ icon?: string | null;
25394
+ };
25395
+ } | {
25396
+ /** @enum {string} */
25397
+ type: "contact";
25398
+ contact: {
25399
+ /** Format: uuid */
25400
+ id: string;
25401
+ name?: string | null;
25402
+ email?: string | null;
25403
+ type?: string | null;
25404
+ };
25405
+ } | {
25406
+ /** @enum {string} */
25407
+ type: "listing";
25408
+ listing: {
25409
+ /** Format: uuid */
25410
+ id: string;
25411
+ name?: string | null;
25412
+ title?: string | null;
25413
+ };
25414
+ } | {
25415
+ /** @enum {string} */
25416
+ type: "source";
25417
+ source: {
25418
+ /** Format: uuid */
25419
+ id: string;
25420
+ description?: string | null;
25421
+ code?: string | null;
25953
25422
  };
25423
+ } | {
25424
+ /** @enum {string} */
25425
+ type: "value";
25426
+ value?: unknown;
25954
25427
  };
25955
- };
25428
+ }[];
25956
25429
  };
25957
25430
  };
25958
25431
  };
@@ -26003,7 +25476,7 @@ export interface operations {
26003
25476
  };
26004
25477
  };
26005
25478
  };
26006
- updateFlowSettings: {
25479
+ runFlow: {
26007
25480
  parameters: {
26008
25481
  query?: never;
26009
25482
  header?: {
@@ -26015,25 +25488,7 @@ export interface operations {
26015
25488
  };
26016
25489
  cookie?: never;
26017
25490
  };
26018
- requestBody: {
26019
- content: {
26020
- "application/json": {
26021
- settings: {
26022
- [key: string]: {
26023
- value?: unknown;
26024
- /** Format: uuid */
26025
- accountId?: string | null;
26026
- /** Format: uuid */
26027
- bookingChannelId?: string | null;
26028
- /** Format: uuid */
26029
- contactId?: string | null;
26030
- /** Format: uuid */
26031
- listingId?: string | null;
26032
- };
26033
- };
26034
- };
26035
- };
26036
- };
25491
+ requestBody?: never;
26037
25492
  responses: {
26038
25493
  /** @description Successful response */
26039
25494
  200: {
@@ -26042,134 +25497,8 @@ export interface operations {
26042
25497
  };
26043
25498
  content: {
26044
25499
  "application/json": {
26045
- /** Format: uuid */
26046
- id: string;
26047
- /** Format: uuid */
26048
- connectionId: string;
26049
- title: string;
26050
- status: string | null;
26051
- /** @default {} */
26052
- mappings: {
26053
- [key: string]: {
26054
- /** Format: uuid */
26055
- id: string;
26056
- title: string | null;
26057
- description: string | null;
26058
- value: {
26059
- /** @enum {string} */
26060
- type: "account";
26061
- account: {
26062
- /** Format: uuid */
26063
- id: string;
26064
- title?: string | null;
26065
- type?: string | null;
26066
- };
26067
- } | {
26068
- /** @enum {string} */
26069
- type: "bookingChannel";
26070
- bookingChannel: {
26071
- /** Format: uuid */
26072
- id: string;
26073
- uniqueRef?: string | null;
26074
- icon?: string | null;
26075
- };
26076
- } | {
26077
- /** @enum {string} */
26078
- type: "contact";
26079
- contact: {
26080
- /** Format: uuid */
26081
- id: string;
26082
- name?: string | null;
26083
- email?: string | null;
26084
- type?: string | null;
26085
- };
26086
- } | {
26087
- /** @enum {string} */
26088
- type: "listing";
26089
- listing: {
26090
- /** Format: uuid */
26091
- id: string;
26092
- name?: string | null;
26093
- title?: string | null;
26094
- };
26095
- } | {
26096
- /** @enum {string} */
26097
- type: "source";
26098
- source: {
26099
- /** Format: uuid */
26100
- id: string;
26101
- description?: string | null;
26102
- code?: string | null;
26103
- };
26104
- } | {
26105
- /** @enum {string} */
26106
- type: "value";
26107
- value?: unknown;
26108
- };
26109
- };
26110
- };
26111
- /** @default {} */
26112
- settings: {
26113
- [key: string]: {
26114
- /** Format: uuid */
26115
- id: string;
26116
- title: string | null;
26117
- description: string | null;
26118
- type: string | null;
26119
- filter: string | null;
26120
- value: {
26121
- /** @enum {string} */
26122
- type: "account";
26123
- account: {
26124
- /** Format: uuid */
26125
- id: string;
26126
- title?: string | null;
26127
- type?: string | null;
26128
- };
26129
- } | {
26130
- /** @enum {string} */
26131
- type: "bookingChannel";
26132
- bookingChannel: {
26133
- /** Format: uuid */
26134
- id: string;
26135
- uniqueRef?: string | null;
26136
- icon?: string | null;
26137
- };
26138
- } | {
26139
- /** @enum {string} */
26140
- type: "contact";
26141
- contact: {
26142
- /** Format: uuid */
26143
- id: string;
26144
- name?: string | null;
26145
- email?: string | null;
26146
- type?: string | null;
26147
- };
26148
- } | {
26149
- /** @enum {string} */
26150
- type: "listing";
26151
- listing: {
26152
- /** Format: uuid */
26153
- id: string;
26154
- name?: string | null;
26155
- title?: string | null;
26156
- };
26157
- } | {
26158
- /** @enum {string} */
26159
- type: "source";
26160
- source: {
26161
- /** Format: uuid */
26162
- id: string;
26163
- description?: string | null;
26164
- code?: string | null;
26165
- };
26166
- } | {
26167
- /** @enum {string} */
26168
- type: "value";
26169
- value?: unknown;
26170
- };
26171
- };
26172
- };
25500
+ /** @enum {string} */
25501
+ status: "accepted";
26173
25502
  };
26174
25503
  };
26175
25504
  };
@@ -26220,9 +25549,12 @@ export interface operations {
26220
25549
  };
26221
25550
  };
26222
25551
  };
26223
- createFlowSettings: {
25552
+ getFlowSettings: {
26224
25553
  parameters: {
26225
- query?: never;
25554
+ query?: {
25555
+ limit?: number;
25556
+ page?: number;
25557
+ };
26226
25558
  header?: {
26227
25559
  "X-Team-Id"?: string;
26228
25560
  };
@@ -26232,25 +25564,7 @@ export interface operations {
26232
25564
  };
26233
25565
  cookie?: never;
26234
25566
  };
26235
- requestBody: {
26236
- content: {
26237
- "application/json": {
26238
- settings: {
26239
- [key: string]: {
26240
- value?: unknown;
26241
- /** Format: uuid */
26242
- accountId?: string | null;
26243
- /** Format: uuid */
26244
- bookingChannelId?: string | null;
26245
- /** Format: uuid */
26246
- contactId?: string | null;
26247
- /** Format: uuid */
26248
- listingId?: string | null;
26249
- };
26250
- };
26251
- };
26252
- };
26253
- };
25567
+ requestBody?: never;
26254
25568
  responses: {
26255
25569
  /** @description Successful response */
26256
25570
  200: {
@@ -26259,133 +25573,78 @@ export interface operations {
26259
25573
  };
26260
25574
  content: {
26261
25575
  "application/json": {
26262
- /** Format: uuid */
26263
- id: string;
26264
- /** Format: uuid */
26265
- connectionId: string;
26266
- title: string;
26267
- status: string | null;
26268
- /** @default {} */
26269
- mappings: {
26270
- [key: string]: {
26271
- /** Format: uuid */
26272
- id: string;
26273
- title: string | null;
26274
- description: string | null;
26275
- value: {
26276
- /** @enum {string} */
26277
- type: "account";
26278
- account: {
26279
- /** Format: uuid */
26280
- id: string;
26281
- title?: string | null;
26282
- type?: string | null;
26283
- };
26284
- } | {
26285
- /** @enum {string} */
26286
- type: "bookingChannel";
26287
- bookingChannel: {
26288
- /** Format: uuid */
26289
- id: string;
26290
- uniqueRef?: string | null;
26291
- icon?: string | null;
26292
- };
26293
- } | {
26294
- /** @enum {string} */
26295
- type: "contact";
26296
- contact: {
26297
- /** Format: uuid */
26298
- id: string;
26299
- name?: string | null;
26300
- email?: string | null;
26301
- type?: string | null;
26302
- };
26303
- } | {
26304
- /** @enum {string} */
26305
- type: "listing";
26306
- listing: {
26307
- /** Format: uuid */
26308
- id: string;
26309
- name?: string | null;
26310
- title?: string | null;
26311
- };
26312
- } | {
26313
- /** @enum {string} */
26314
- type: "source";
26315
- source: {
26316
- /** Format: uuid */
26317
- id: string;
26318
- description?: string | null;
26319
- code?: string | null;
26320
- };
26321
- } | {
26322
- /** @enum {string} */
26323
- type: "value";
26324
- value?: unknown;
26325
- };
26326
- };
26327
- };
26328
- /** @default {} */
26329
- settings: {
26330
- [key: string]: {
26331
- /** Format: uuid */
26332
- id: string;
26333
- title: string | null;
26334
- description: string | null;
26335
- type: string | null;
26336
- filter: string | null;
26337
- value: {
26338
- /** @enum {string} */
26339
- type: "account";
26340
- account: {
26341
- /** Format: uuid */
26342
- id: string;
26343
- title?: string | null;
26344
- type?: string | null;
26345
- };
26346
- } | {
26347
- /** @enum {string} */
26348
- type: "bookingChannel";
26349
- bookingChannel: {
26350
- /** Format: uuid */
26351
- id: string;
26352
- uniqueRef?: string | null;
26353
- icon?: string | null;
26354
- };
26355
- } | {
26356
- /** @enum {string} */
26357
- type: "contact";
26358
- contact: {
26359
- /** Format: uuid */
26360
- id: string;
26361
- name?: string | null;
26362
- email?: string | null;
26363
- type?: string | null;
26364
- };
26365
- } | {
26366
- /** @enum {string} */
26367
- type: "listing";
26368
- listing: {
26369
- /** Format: uuid */
26370
- id: string;
26371
- name?: string | null;
26372
- title?: string | null;
26373
- };
26374
- } | {
26375
- /** @enum {string} */
26376
- type: "source";
26377
- source: {
26378
- /** Format: uuid */
26379
- id: string;
26380
- description?: string | null;
26381
- code?: string | null;
26382
- };
26383
- } | {
26384
- /** @enum {string} */
26385
- type: "value";
26386
- value?: unknown;
25576
+ data: {
25577
+ /** Format: uuid */
25578
+ id: string;
25579
+ /** Format: uuid */
25580
+ flowId: string;
25581
+ /** Format: uuid */
25582
+ connectionId: string;
25583
+ settingKey: string;
25584
+ title: string | null;
25585
+ description: string | null;
25586
+ type: string | null;
25587
+ filter: string | null;
25588
+ value: {
25589
+ /** @enum {string} */
25590
+ type: "account";
25591
+ account: {
25592
+ /** Format: uuid */
25593
+ id: string;
25594
+ title?: string | null;
25595
+ type?: string | null;
25596
+ };
25597
+ } | {
25598
+ /** @enum {string} */
25599
+ type: "bookingChannel";
25600
+ bookingChannel: {
25601
+ /** Format: uuid */
25602
+ id: string;
25603
+ uniqueRef?: string | null;
25604
+ icon?: string | null;
25605
+ };
25606
+ } | {
25607
+ /** @enum {string} */
25608
+ type: "contact";
25609
+ contact: {
25610
+ /** Format: uuid */
25611
+ id: string;
25612
+ name?: string | null;
25613
+ email?: string | null;
25614
+ type?: string | null;
25615
+ };
25616
+ } | {
25617
+ /** @enum {string} */
25618
+ type: "listing";
25619
+ listing: {
25620
+ /** Format: uuid */
25621
+ id: string;
25622
+ name?: string | null;
25623
+ title?: string | null;
25624
+ };
25625
+ } | {
25626
+ /** @enum {string} */
25627
+ type: "source";
25628
+ source: {
25629
+ /** Format: uuid */
25630
+ id: string;
25631
+ description?: string | null;
25632
+ code?: string | null;
26387
25633
  };
25634
+ } | {
25635
+ /** @enum {string} */
25636
+ type: "value";
25637
+ value?: unknown;
26388
25638
  };
25639
+ }[];
25640
+ pagination: {
25641
+ /** @default 100 */
25642
+ limit: number;
25643
+ /** @default 1 */
25644
+ page: number;
25645
+ total: number;
25646
+ totalPage: number;
25647
+ nextPage?: number;
26389
25648
  };
26390
25649
  };
26391
25650
  };
@@ -26417,6 +25676,15 @@ export interface operations {
26417
25676
  "application/json": components["schemas"]["error.FORBIDDEN"];
26418
25677
  };
26419
25678
  };
25679
+ /** @description Not found */
25680
+ 404: {
25681
+ headers: {
25682
+ [name: string]: unknown;
25683
+ };
25684
+ content: {
25685
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25686
+ };
25687
+ };
26420
25688
  /** @description Internal server error */
26421
25689
  500: {
26422
25690
  headers: {
@@ -26428,10 +25696,12 @@ export interface operations {
26428
25696
  };
26429
25697
  };
26430
25698
  };
26431
- deleteFlowSettings: {
25699
+ listFlowSettingOptions: {
26432
25700
  parameters: {
26433
25701
  query?: {
26434
- settingKeys?: string[];
25702
+ search?: string;
25703
+ limit?: number;
25704
+ page?: number;
26435
25705
  };
26436
25706
  header?: {
26437
25707
  "X-Team-Id"?: string;
@@ -26439,6 +25709,7 @@ export interface operations {
26439
25709
  path: {
26440
25710
  id: string;
26441
25711
  connectionId: string;
25712
+ settingKey: string;
26442
25713
  };
26443
25714
  cookie?: never;
26444
25715
  };
@@ -26451,133 +25722,20 @@ export interface operations {
26451
25722
  };
26452
25723
  content: {
26453
25724
  "application/json": {
26454
- /** Format: uuid */
26455
- id: string;
26456
- /** Format: uuid */
26457
- connectionId: string;
26458
- title: string;
26459
- status: string | null;
26460
- /** @default {} */
26461
- mappings: {
26462
- [key: string]: {
26463
- /** Format: uuid */
26464
- id: string;
26465
- title: string | null;
26466
- description: string | null;
26467
- value: {
26468
- /** @enum {string} */
26469
- type: "account";
26470
- account: {
26471
- /** Format: uuid */
26472
- id: string;
26473
- title?: string | null;
26474
- type?: string | null;
26475
- };
26476
- } | {
26477
- /** @enum {string} */
26478
- type: "bookingChannel";
26479
- bookingChannel: {
26480
- /** Format: uuid */
26481
- id: string;
26482
- uniqueRef?: string | null;
26483
- icon?: string | null;
26484
- };
26485
- } | {
26486
- /** @enum {string} */
26487
- type: "contact";
26488
- contact: {
26489
- /** Format: uuid */
26490
- id: string;
26491
- name?: string | null;
26492
- email?: string | null;
26493
- type?: string | null;
26494
- };
26495
- } | {
26496
- /** @enum {string} */
26497
- type: "listing";
26498
- listing: {
26499
- /** Format: uuid */
26500
- id: string;
26501
- name?: string | null;
26502
- title?: string | null;
26503
- };
26504
- } | {
26505
- /** @enum {string} */
26506
- type: "source";
26507
- source: {
26508
- /** Format: uuid */
26509
- id: string;
26510
- description?: string | null;
26511
- code?: string | null;
26512
- };
26513
- } | {
26514
- /** @enum {string} */
26515
- type: "value";
26516
- value?: unknown;
26517
- };
26518
- };
26519
- };
26520
- /** @default {} */
26521
- settings: {
26522
- [key: string]: {
26523
- /** Format: uuid */
26524
- id: string;
26525
- title: string | null;
26526
- description: string | null;
26527
- type: string | null;
26528
- filter: string | null;
26529
- value: {
26530
- /** @enum {string} */
26531
- type: "account";
26532
- account: {
26533
- /** Format: uuid */
26534
- id: string;
26535
- title?: string | null;
26536
- type?: string | null;
26537
- };
26538
- } | {
26539
- /** @enum {string} */
26540
- type: "bookingChannel";
26541
- bookingChannel: {
26542
- /** Format: uuid */
26543
- id: string;
26544
- uniqueRef?: string | null;
26545
- icon?: string | null;
26546
- };
26547
- } | {
26548
- /** @enum {string} */
26549
- type: "contact";
26550
- contact: {
26551
- /** Format: uuid */
26552
- id: string;
26553
- name?: string | null;
26554
- email?: string | null;
26555
- type?: string | null;
26556
- };
26557
- } | {
26558
- /** @enum {string} */
26559
- type: "listing";
26560
- listing: {
26561
- /** Format: uuid */
26562
- id: string;
26563
- name?: string | null;
26564
- title?: string | null;
26565
- };
26566
- } | {
26567
- /** @enum {string} */
26568
- type: "source";
26569
- source: {
26570
- /** Format: uuid */
26571
- id: string;
26572
- description?: string | null;
26573
- code?: string | null;
26574
- };
26575
- } | {
26576
- /** @enum {string} */
26577
- type: "value";
26578
- value?: unknown;
26579
- };
26580
- };
25725
+ data: {
25726
+ id: string;
25727
+ name: string;
25728
+ description: string | null;
25729
+ value?: unknown;
25730
+ }[];
25731
+ pagination: {
25732
+ /** @default 100 */
25733
+ limit: number;
25734
+ /** @default 1 */
25735
+ page: number;
25736
+ total: number;
25737
+ totalPage: number;
25738
+ nextPage?: number;
26581
25739
  };
26582
25740
  };
26583
25741
  };
@@ -26629,7 +25787,7 @@ export interface operations {
26629
25787
  };
26630
25788
  };
26631
25789
  };
26632
- enableFlow: {
25790
+ setFlowSetting: {
26633
25791
  parameters: {
26634
25792
  query?: never;
26635
25793
  header?: {
@@ -26638,10 +25796,17 @@ export interface operations {
26638
25796
  path: {
26639
25797
  id: string;
26640
25798
  connectionId: string;
25799
+ settingKey: string;
26641
25800
  };
26642
25801
  cookie?: never;
26643
25802
  };
26644
- requestBody?: never;
25803
+ requestBody: {
25804
+ content: {
25805
+ "application/json": {
25806
+ value?: unknown;
25807
+ };
25808
+ };
25809
+ };
26645
25810
  responses: {
26646
25811
  /** @description Successful response */
26647
25812
  200: {
@@ -26655,129 +25820,73 @@ export interface operations {
26655
25820
  /** Format: uuid */
26656
25821
  connectionId: string;
26657
25822
  title: string;
26658
- status: string | null;
26659
- /** @default {} */
26660
- mappings: {
26661
- [key: string]: {
26662
- /** Format: uuid */
26663
- id: string;
26664
- title: string | null;
26665
- description: string | null;
26666
- value: {
26667
- /** @enum {string} */
26668
- type: "account";
26669
- account: {
26670
- /** Format: uuid */
26671
- id: string;
26672
- title?: string | null;
26673
- type?: string | null;
26674
- };
26675
- } | {
26676
- /** @enum {string} */
26677
- type: "bookingChannel";
26678
- bookingChannel: {
26679
- /** Format: uuid */
26680
- id: string;
26681
- uniqueRef?: string | null;
26682
- icon?: string | null;
26683
- };
26684
- } | {
26685
- /** @enum {string} */
26686
- type: "contact";
26687
- contact: {
26688
- /** Format: uuid */
26689
- id: string;
26690
- name?: string | null;
26691
- email?: string | null;
26692
- type?: string | null;
26693
- };
26694
- } | {
26695
- /** @enum {string} */
26696
- type: "listing";
26697
- listing: {
26698
- /** Format: uuid */
26699
- id: string;
26700
- name?: string | null;
26701
- title?: string | null;
26702
- };
26703
- } | {
26704
- /** @enum {string} */
26705
- type: "source";
26706
- source: {
26707
- /** Format: uuid */
26708
- id: string;
26709
- description?: string | null;
26710
- code?: string | null;
26711
- };
26712
- } | {
26713
- /** @enum {string} */
26714
- type: "value";
26715
- value?: unknown;
26716
- };
26717
- };
26718
- };
26719
- /** @default {} */
25823
+ description: string | null;
25824
+ /** @enum {string} */
25825
+ status: "active" | "inactive";
26720
25826
  settings: {
26721
- [key: string]: {
26722
- /** Format: uuid */
26723
- id: string;
26724
- title: string | null;
26725
- description: string | null;
26726
- type: string | null;
26727
- filter: string | null;
26728
- value: {
26729
- /** @enum {string} */
26730
- type: "account";
26731
- account: {
26732
- /** Format: uuid */
26733
- id: string;
26734
- title?: string | null;
26735
- type?: string | null;
26736
- };
26737
- } | {
26738
- /** @enum {string} */
26739
- type: "bookingChannel";
26740
- bookingChannel: {
26741
- /** Format: uuid */
26742
- id: string;
26743
- uniqueRef?: string | null;
26744
- icon?: string | null;
26745
- };
26746
- } | {
26747
- /** @enum {string} */
26748
- type: "contact";
26749
- contact: {
26750
- /** Format: uuid */
26751
- id: string;
26752
- name?: string | null;
26753
- email?: string | null;
26754
- type?: string | null;
26755
- };
26756
- } | {
26757
- /** @enum {string} */
26758
- type: "listing";
26759
- listing: {
26760
- /** Format: uuid */
26761
- id: string;
26762
- name?: string | null;
26763
- title?: string | null;
26764
- };
26765
- } | {
26766
- /** @enum {string} */
26767
- type: "source";
26768
- source: {
26769
- /** Format: uuid */
26770
- id: string;
26771
- description?: string | null;
26772
- code?: string | null;
26773
- };
26774
- } | {
26775
- /** @enum {string} */
26776
- type: "value";
26777
- value?: unknown;
25827
+ /** Format: uuid */
25828
+ id: string;
25829
+ /** Format: uuid */
25830
+ flowId: string;
25831
+ /** Format: uuid */
25832
+ connectionId: string;
25833
+ settingKey: string;
25834
+ title: string | null;
25835
+ description: string | null;
25836
+ type: string | null;
25837
+ filter: string | null;
25838
+ value: {
25839
+ /** @enum {string} */
25840
+ type: "account";
25841
+ account: {
25842
+ /** Format: uuid */
25843
+ id: string;
25844
+ title?: string | null;
25845
+ type?: string | null;
25846
+ };
25847
+ } | {
25848
+ /** @enum {string} */
25849
+ type: "bookingChannel";
25850
+ bookingChannel: {
25851
+ /** Format: uuid */
25852
+ id: string;
25853
+ uniqueRef?: string | null;
25854
+ icon?: string | null;
25855
+ };
25856
+ } | {
25857
+ /** @enum {string} */
25858
+ type: "contact";
25859
+ contact: {
25860
+ /** Format: uuid */
25861
+ id: string;
25862
+ name?: string | null;
25863
+ email?: string | null;
25864
+ type?: string | null;
25865
+ };
25866
+ } | {
25867
+ /** @enum {string} */
25868
+ type: "listing";
25869
+ listing: {
25870
+ /** Format: uuid */
25871
+ id: string;
25872
+ name?: string | null;
25873
+ title?: string | null;
25874
+ };
25875
+ } | {
25876
+ /** @enum {string} */
25877
+ type: "source";
25878
+ source: {
25879
+ /** Format: uuid */
25880
+ id: string;
25881
+ description?: string | null;
25882
+ code?: string | null;
26778
25883
  };
25884
+ } | {
25885
+ /** @enum {string} */
25886
+ type: "value";
25887
+ value?: unknown;
26779
25888
  };
26780
- };
25889
+ }[];
26781
25890
  };
26782
25891
  };
26783
25892
  };
@@ -26819,9 +25928,13 @@ export interface operations {
26819
25928
  };
26820
25929
  };
26821
25930
  };
26822
- disableFlow: {
25931
+ getFlowMappings: {
26823
25932
  parameters: {
26824
- query?: never;
25933
+ query?: {
25934
+ sourceId?: string;
25935
+ limit?: number;
25936
+ page?: number;
25937
+ };
26825
25938
  header?: {
26826
25939
  "X-Team-Id"?: string;
26827
25940
  };
@@ -26840,133 +25953,78 @@ export interface operations {
26840
25953
  };
26841
25954
  content: {
26842
25955
  "application/json": {
26843
- /** Format: uuid */
26844
- id: string;
26845
- /** Format: uuid */
26846
- connectionId: string;
26847
- title: string;
26848
- status: string | null;
26849
- /** @default {} */
26850
- mappings: {
26851
- [key: string]: {
26852
- /** Format: uuid */
26853
- id: string;
26854
- title: string | null;
26855
- description: string | null;
26856
- value: {
26857
- /** @enum {string} */
26858
- type: "account";
26859
- account: {
26860
- /** Format: uuid */
26861
- id: string;
26862
- title?: string | null;
26863
- type?: string | null;
26864
- };
26865
- } | {
26866
- /** @enum {string} */
26867
- type: "bookingChannel";
26868
- bookingChannel: {
26869
- /** Format: uuid */
26870
- id: string;
26871
- uniqueRef?: string | null;
26872
- icon?: string | null;
26873
- };
26874
- } | {
26875
- /** @enum {string} */
26876
- type: "contact";
26877
- contact: {
26878
- /** Format: uuid */
26879
- id: string;
26880
- name?: string | null;
26881
- email?: string | null;
26882
- type?: string | null;
26883
- };
26884
- } | {
26885
- /** @enum {string} */
26886
- type: "listing";
26887
- listing: {
26888
- /** Format: uuid */
26889
- id: string;
26890
- name?: string | null;
26891
- title?: string | null;
26892
- };
26893
- } | {
26894
- /** @enum {string} */
26895
- type: "source";
26896
- source: {
26897
- /** Format: uuid */
26898
- id: string;
26899
- description?: string | null;
26900
- code?: string | null;
26901
- };
26902
- } | {
26903
- /** @enum {string} */
26904
- type: "value";
26905
- value?: unknown;
25956
+ data: {
25957
+ /** Format: uuid */
25958
+ id: string;
25959
+ /** Format: uuid */
25960
+ flowId: string;
25961
+ /** Format: uuid */
25962
+ connectionId: string;
25963
+ mappingKey: string;
25964
+ /** Format: uuid */
25965
+ sourceId: string;
25966
+ title: string | null;
25967
+ description: string | null;
25968
+ value: {
25969
+ /** @enum {string} */
25970
+ type: "account";
25971
+ account: {
25972
+ /** Format: uuid */
25973
+ id: string;
25974
+ title?: string | null;
25975
+ type?: string | null;
26906
25976
  };
26907
- };
26908
- };
26909
- /** @default {} */
26910
- settings: {
26911
- [key: string]: {
26912
- /** Format: uuid */
26913
- id: string;
26914
- title: string | null;
26915
- description: string | null;
26916
- type: string | null;
26917
- filter: string | null;
26918
- value: {
26919
- /** @enum {string} */
26920
- type: "account";
26921
- account: {
26922
- /** Format: uuid */
26923
- id: string;
26924
- title?: string | null;
26925
- type?: string | null;
26926
- };
26927
- } | {
26928
- /** @enum {string} */
26929
- type: "bookingChannel";
26930
- bookingChannel: {
26931
- /** Format: uuid */
26932
- id: string;
26933
- uniqueRef?: string | null;
26934
- icon?: string | null;
26935
- };
26936
- } | {
26937
- /** @enum {string} */
26938
- type: "contact";
26939
- contact: {
26940
- /** Format: uuid */
26941
- id: string;
26942
- name?: string | null;
26943
- email?: string | null;
26944
- type?: string | null;
26945
- };
26946
- } | {
26947
- /** @enum {string} */
26948
- type: "listing";
26949
- listing: {
26950
- /** Format: uuid */
26951
- id: string;
26952
- name?: string | null;
26953
- title?: string | null;
26954
- };
26955
- } | {
26956
- /** @enum {string} */
26957
- type: "source";
26958
- source: {
26959
- /** Format: uuid */
26960
- id: string;
26961
- description?: string | null;
26962
- code?: string | null;
26963
- };
26964
- } | {
26965
- /** @enum {string} */
26966
- type: "value";
26967
- value?: unknown;
25977
+ } | {
25978
+ /** @enum {string} */
25979
+ type: "bookingChannel";
25980
+ bookingChannel: {
25981
+ /** Format: uuid */
25982
+ id: string;
25983
+ uniqueRef?: string | null;
25984
+ icon?: string | null;
25985
+ };
25986
+ } | {
25987
+ /** @enum {string} */
25988
+ type: "contact";
25989
+ contact: {
25990
+ /** Format: uuid */
25991
+ id: string;
25992
+ name?: string | null;
25993
+ email?: string | null;
25994
+ type?: string | null;
25995
+ };
25996
+ } | {
25997
+ /** @enum {string} */
25998
+ type: "listing";
25999
+ listing: {
26000
+ /** Format: uuid */
26001
+ id: string;
26002
+ name?: string | null;
26003
+ title?: string | null;
26004
+ };
26005
+ } | {
26006
+ /** @enum {string} */
26007
+ type: "source";
26008
+ source: {
26009
+ /** Format: uuid */
26010
+ id: string;
26011
+ description?: string | null;
26012
+ code?: string | null;
26968
26013
  };
26014
+ } | {
26015
+ /** @enum {string} */
26016
+ type: "value";
26017
+ value?: unknown;
26969
26018
  };
26019
+ }[];
26020
+ pagination: {
26021
+ /** @default 100 */
26022
+ limit: number;
26023
+ /** @default 1 */
26024
+ page: number;
26025
+ total: number;
26026
+ totalPage: number;
26027
+ nextPage?: number;
26970
26028
  };
26971
26029
  };
26972
26030
  };
@@ -27018,22 +26076,32 @@ export interface operations {
27018
26076
  };
27019
26077
  };
27020
26078
  };
27021
- listFlowSettingOptions: {
26079
+ setFlowMapping: {
27022
26080
  parameters: {
27023
- query?: {
27024
- search?: string;
27025
- };
26081
+ query?: never;
27026
26082
  header?: {
27027
26083
  "X-Team-Id"?: string;
27028
26084
  };
27029
26085
  path: {
27030
26086
  id: string;
27031
26087
  connectionId: string;
27032
- settingKey: string;
26088
+ mappingKey: string;
27033
26089
  };
27034
26090
  cookie?: never;
27035
26091
  };
27036
- requestBody?: never;
26092
+ requestBody: {
26093
+ content: {
26094
+ "application/json": {
26095
+ /** Format: uuid */
26096
+ sourceId: string;
26097
+ value?: unknown;
26098
+ /** @default 100 */
26099
+ limit?: number;
26100
+ /** @default 1 */
26101
+ page?: number;
26102
+ };
26103
+ };
26104
+ };
27037
26105
  responses: {
27038
26106
  /** @description Successful response */
27039
26107
  200: {
@@ -27043,11 +26111,78 @@ export interface operations {
27043
26111
  content: {
27044
26112
  "application/json": {
27045
26113
  data: {
26114
+ /** Format: uuid */
27046
26115
  id: string;
27047
- name: string;
26116
+ /** Format: uuid */
26117
+ flowId: string;
26118
+ /** Format: uuid */
26119
+ connectionId: string;
26120
+ mappingKey: string;
26121
+ /** Format: uuid */
26122
+ sourceId: string;
26123
+ title: string | null;
27048
26124
  description: string | null;
27049
- value?: unknown;
26125
+ value: {
26126
+ /** @enum {string} */
26127
+ type: "account";
26128
+ account: {
26129
+ /** Format: uuid */
26130
+ id: string;
26131
+ title?: string | null;
26132
+ type?: string | null;
26133
+ };
26134
+ } | {
26135
+ /** @enum {string} */
26136
+ type: "bookingChannel";
26137
+ bookingChannel: {
26138
+ /** Format: uuid */
26139
+ id: string;
26140
+ uniqueRef?: string | null;
26141
+ icon?: string | null;
26142
+ };
26143
+ } | {
26144
+ /** @enum {string} */
26145
+ type: "contact";
26146
+ contact: {
26147
+ /** Format: uuid */
26148
+ id: string;
26149
+ name?: string | null;
26150
+ email?: string | null;
26151
+ type?: string | null;
26152
+ };
26153
+ } | {
26154
+ /** @enum {string} */
26155
+ type: "listing";
26156
+ listing: {
26157
+ /** Format: uuid */
26158
+ id: string;
26159
+ name?: string | null;
26160
+ title?: string | null;
26161
+ };
26162
+ } | {
26163
+ /** @enum {string} */
26164
+ type: "source";
26165
+ source: {
26166
+ /** Format: uuid */
26167
+ id: string;
26168
+ description?: string | null;
26169
+ code?: string | null;
26170
+ };
26171
+ } | {
26172
+ /** @enum {string} */
26173
+ type: "value";
26174
+ value?: unknown;
26175
+ };
27050
26176
  }[];
26177
+ pagination: {
26178
+ /** @default 100 */
26179
+ limit: number;
26180
+ /** @default 1 */
26181
+ page: number;
26182
+ total: number;
26183
+ totalPage: number;
26184
+ nextPage?: number;
26185
+ };
27051
26186
  };
27052
26187
  };
27053
26188
  };
@@ -27078,15 +26213,6 @@ export interface operations {
27078
26213
  "application/json": components["schemas"]["error.FORBIDDEN"];
27079
26214
  };
27080
26215
  };
27081
- /** @description Not found */
27082
- 404: {
27083
- headers: {
27084
- [name: string]: unknown;
27085
- };
27086
- content: {
27087
- "application/json": components["schemas"]["error.NOT_FOUND"];
27088
- };
27089
- };
27090
26216
  /** @description Internal server error */
27091
26217
  500: {
27092
26218
  headers: {
@@ -27102,6 +26228,8 @@ export interface operations {
27102
26228
  parameters: {
27103
26229
  query?: {
27104
26230
  search?: string;
26231
+ limit?: number;
26232
+ page?: number;
27105
26233
  };
27106
26234
  header?: {
27107
26235
  "X-Team-Id"?: string;
@@ -27127,7 +26255,18 @@ export interface operations {
27127
26255
  name: string;
27128
26256
  /** @enum {string} */
27129
26257
  entityType: "vrp.listing" | "qbo.account";
26258
+ /** @enum {string} */
26259
+ status: "mapped" | "unmapped";
27130
26260
  }[];
26261
+ pagination: {
26262
+ /** @default 100 */
26263
+ limit: number;
26264
+ /** @default 1 */
26265
+ page: number;
26266
+ total: number;
26267
+ totalPage: number;
26268
+ nextPage?: number;
26269
+ };
27131
26270
  };
27132
26271
  };
27133
26272
  };
@@ -27182,6 +26321,8 @@ export interface operations {
27182
26321
  parameters: {
27183
26322
  query?: {
27184
26323
  search?: string;
26324
+ limit?: number;
26325
+ page?: number;
27185
26326
  };
27186
26327
  header?: {
27187
26328
  "X-Team-Id"?: string;
@@ -27208,6 +26349,15 @@ export interface operations {
27208
26349
  /** @enum {string} */
27209
26350
  entityType: "vrp.listing" | "qbo.account";
27210
26351
  }[];
26352
+ pagination: {
26353
+ /** @default 100 */
26354
+ limit: number;
26355
+ /** @default 1 */
26356
+ page: number;
26357
+ total: number;
26358
+ totalPage: number;
26359
+ nextPage?: number;
26360
+ };
27211
26361
  };
27212
26362
  };
27213
26363
  };