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

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.
@@ -1770,9 +1770,9 @@ export interface paths {
1770
1770
  path?: never;
1771
1771
  cookie?: never;
1772
1772
  };
1773
- /** @description Get flow configuration for a connection */
1774
- get: operations["getFlowConnection"];
1775
- put?: never;
1773
+ get?: never;
1774
+ /** @description Update flow status for a connection */
1775
+ put: operations["setFlowStatus"];
1776
1776
  post?: never;
1777
1777
  delete?: never;
1778
1778
  options?: never;
@@ -1780,20 +1780,18 @@ export interface paths {
1780
1780
  patch?: never;
1781
1781
  trace?: never;
1782
1782
  };
1783
- "/flows/{id}/{connectionId}/mappings": {
1783
+ "/flows/{id}/{connectionId}/run": {
1784
1784
  parameters: {
1785
1785
  query?: never;
1786
1786
  header?: never;
1787
1787
  path?: never;
1788
1788
  cookie?: never;
1789
1789
  };
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"];
1790
+ /** @description Trigger execution of a flow for a connection */
1791
+ get: operations["runFlow"];
1792
+ put?: never;
1793
+ post?: never;
1794
+ delete?: never;
1797
1795
  options?: never;
1798
1796
  head?: never;
1799
1797
  patch?: never;
@@ -1806,63 +1804,62 @@ export interface paths {
1806
1804
  path?: never;
1807
1805
  cookie?: never;
1808
1806
  };
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"];
1807
+ /** @description Get flow settings for a connection */
1808
+ get: operations["getFlowSettings"];
1809
+ put?: never;
1810
+ post?: never;
1811
+ delete?: never;
1816
1812
  options?: never;
1817
1813
  head?: never;
1818
1814
  patch?: never;
1819
1815
  trace?: never;
1820
1816
  };
1821
- "/flows/{id}/{connectionId}/enable": {
1817
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
1822
1818
  parameters: {
1823
1819
  query?: never;
1824
1820
  header?: never;
1825
1821
  path?: never;
1826
1822
  cookie?: never;
1827
1823
  };
1828
- get?: never;
1824
+ /** @description List available values/options for a flow setting (mock) */
1825
+ get: operations["listFlowSettingOptions"];
1829
1826
  put?: never;
1830
- /** @description Enable a flow for a connection */
1831
- post: operations["enableFlow"];
1827
+ /** @description Create, update or delete a flow setting entry */
1828
+ post: operations["setFlowSetting"];
1832
1829
  delete?: never;
1833
1830
  options?: never;
1834
1831
  head?: never;
1835
1832
  patch?: never;
1836
1833
  trace?: never;
1837
1834
  };
1838
- "/flows/{id}/{connectionId}/disable": {
1835
+ "/flows/{id}/{connectionId}/mappings": {
1839
1836
  parameters: {
1840
1837
  query?: never;
1841
1838
  header?: never;
1842
1839
  path?: never;
1843
1840
  cookie?: never;
1844
1841
  };
1845
- get?: never;
1842
+ /** @description List flow mappings for a connection */
1843
+ get: operations["getFlowMappings"];
1846
1844
  put?: never;
1847
1845
  post?: never;
1848
- /** @description Disable a flow for a connection */
1849
- delete: operations["disableFlow"];
1846
+ delete?: never;
1850
1847
  options?: never;
1851
1848
  head?: never;
1852
1849
  patch?: never;
1853
1850
  trace?: never;
1854
1851
  };
1855
- "/flows/{id}/{connectionId}/settings/{settingKey}": {
1852
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1856
1853
  parameters: {
1857
1854
  query?: never;
1858
1855
  header?: never;
1859
1856
  path?: never;
1860
1857
  cookie?: never;
1861
1858
  };
1862
- /** @description List available values/options for a flow setting (mock) */
1863
- get: operations["listFlowSettingOptions"];
1859
+ get?: never;
1864
1860
  put?: never;
1865
- post?: never;
1861
+ /** @description Create, update or delete a flow mapping entry */
1862
+ post: operations["setFlowMapping"];
1866
1863
  delete?: never;
1867
1864
  options?: never;
1868
1865
  head?: never;
@@ -25174,7 +25171,7 @@ export interface operations {
25174
25171
  };
25175
25172
  };
25176
25173
  };
25177
- getFlowConnection: {
25174
+ setFlowStatus: {
25178
25175
  parameters: {
25179
25176
  query?: never;
25180
25177
  header?: {
@@ -25186,7 +25183,14 @@ export interface operations {
25186
25183
  };
25187
25184
  cookie?: never;
25188
25185
  };
25189
- requestBody?: never;
25186
+ requestBody: {
25187
+ content: {
25188
+ "application/json": {
25189
+ /** @enum {string} */
25190
+ status: "active" | "inactive";
25191
+ };
25192
+ };
25193
+ };
25190
25194
  responses: {
25191
25195
  /** @description Successful response */
25192
25196
  200: {
@@ -25201,127 +25205,78 @@ export interface operations {
25201
25205
  connectionId: string;
25202
25206
  title: string;
25203
25207
  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 {} */
25265
25208
  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;
25209
+ /** Format: uuid */
25210
+ id: string;
25211
+ /** Format: uuid */
25212
+ flowId: string;
25213
+ /** Format: uuid */
25214
+ connectionId: string;
25215
+ settingKey: string;
25216
+ title: string | null;
25217
+ description: string | null;
25218
+ type: string | null;
25219
+ filter: string | null;
25220
+ value: {
25221
+ /** @enum {string} */
25222
+ type: "account";
25223
+ account: {
25224
+ /** Format: uuid */
25225
+ id: string;
25226
+ title?: string | null;
25227
+ type?: string | null;
25228
+ };
25229
+ } | {
25230
+ /** @enum {string} */
25231
+ type: "bookingChannel";
25232
+ bookingChannel: {
25233
+ /** Format: uuid */
25234
+ id: string;
25235
+ uniqueRef?: string | null;
25236
+ icon?: string | null;
25237
+ };
25238
+ } | {
25239
+ /** @enum {string} */
25240
+ type: "contact";
25241
+ contact: {
25242
+ /** Format: uuid */
25243
+ id: string;
25244
+ name?: string | null;
25245
+ email?: string | null;
25246
+ type?: string | null;
25247
+ };
25248
+ } | {
25249
+ /** @enum {string} */
25250
+ type: "listing";
25251
+ listing: {
25252
+ /** Format: uuid */
25253
+ id: string;
25254
+ name?: string | null;
25255
+ title?: string | null;
25323
25256
  };
25257
+ } | {
25258
+ /** @enum {string} */
25259
+ type: "source";
25260
+ source: {
25261
+ /** Format: uuid */
25262
+ id: string;
25263
+ description?: string | null;
25264
+ code?: string | null;
25265
+ };
25266
+ } | {
25267
+ /** @enum {string} */
25268
+ type: "value";
25269
+ value?: unknown;
25324
25270
  };
25271
+ }[];
25272
+ pagination: {
25273
+ /** @default 100 */
25274
+ limit: number;
25275
+ /** @default 1 */
25276
+ page: number;
25277
+ total: number;
25278
+ totalPage: number;
25279
+ nextPage?: number;
25325
25280
  };
25326
25281
  };
25327
25282
  };
@@ -25373,7 +25328,7 @@ export interface operations {
25373
25328
  };
25374
25329
  };
25375
25330
  };
25376
- updateFlowMappings: {
25331
+ runFlow: {
25377
25332
  parameters: {
25378
25333
  query?: never;
25379
25334
  header?: {
@@ -25385,27 +25340,83 @@ export interface operations {
25385
25340
  };
25386
25341
  cookie?: never;
25387
25342
  };
25388
- requestBody: {
25389
- content: {
25390
- "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
- };
25343
+ requestBody?: never;
25344
+ responses: {
25345
+ /** @description Successful response */
25346
+ 200: {
25347
+ headers: {
25348
+ [name: string]: unknown;
25349
+ };
25350
+ content: {
25351
+ "application/json": {
25352
+ /** @enum {string} */
25353
+ status: "accepted";
25405
25354
  };
25406
25355
  };
25407
25356
  };
25357
+ /** @description Invalid input data */
25358
+ 400: {
25359
+ headers: {
25360
+ [name: string]: unknown;
25361
+ };
25362
+ content: {
25363
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25364
+ };
25365
+ };
25366
+ /** @description Authorization not provided */
25367
+ 401: {
25368
+ headers: {
25369
+ [name: string]: unknown;
25370
+ };
25371
+ content: {
25372
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
25373
+ };
25374
+ };
25375
+ /** @description Insufficient access */
25376
+ 403: {
25377
+ headers: {
25378
+ [name: string]: unknown;
25379
+ };
25380
+ content: {
25381
+ "application/json": components["schemas"]["error.FORBIDDEN"];
25382
+ };
25383
+ };
25384
+ /** @description Not found */
25385
+ 404: {
25386
+ headers: {
25387
+ [name: string]: unknown;
25388
+ };
25389
+ content: {
25390
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25391
+ };
25392
+ };
25393
+ /** @description Internal server error */
25394
+ 500: {
25395
+ headers: {
25396
+ [name: string]: unknown;
25397
+ };
25398
+ content: {
25399
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25400
+ };
25401
+ };
25408
25402
  };
25403
+ };
25404
+ getFlowSettings: {
25405
+ parameters: {
25406
+ query?: {
25407
+ page?: number;
25408
+ limit?: number;
25409
+ };
25410
+ header?: {
25411
+ "X-Team-Id"?: string;
25412
+ };
25413
+ path: {
25414
+ id: string;
25415
+ connectionId: string;
25416
+ };
25417
+ cookie?: never;
25418
+ };
25419
+ requestBody?: never;
25409
25420
  responses: {
25410
25421
  /** @description Successful response */
25411
25422
  200: {
@@ -25420,972 +25431,78 @@ export interface operations {
25420
25431
  connectionId: string;
25421
25432
  title: string;
25422
25433
  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 {} */
25484
- 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;
25542
- };
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;
25953
- };
25954
- };
25955
- };
25956
- };
25957
- };
25958
- };
25959
- /** @description Invalid input data */
25960
- 400: {
25961
- headers: {
25962
- [name: string]: unknown;
25963
- };
25964
- content: {
25965
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25966
- };
25967
- };
25968
- /** @description Authorization not provided */
25969
- 401: {
25970
- headers: {
25971
- [name: string]: unknown;
25972
- };
25973
- content: {
25974
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25975
- };
25976
- };
25977
- /** @description Insufficient access */
25978
- 403: {
25979
- headers: {
25980
- [name: string]: unknown;
25981
- };
25982
- content: {
25983
- "application/json": components["schemas"]["error.FORBIDDEN"];
25984
- };
25985
- };
25986
- /** @description Not found */
25987
- 404: {
25988
- headers: {
25989
- [name: string]: unknown;
25990
- };
25991
- content: {
25992
- "application/json": components["schemas"]["error.NOT_FOUND"];
25993
- };
25994
- };
25995
- /** @description Internal server error */
25996
- 500: {
25997
- headers: {
25998
- [name: string]: unknown;
25999
- };
26000
- content: {
26001
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26002
- };
26003
- };
26004
- };
26005
- };
26006
- updateFlowSettings: {
26007
- parameters: {
26008
- query?: never;
26009
- header?: {
26010
- "X-Team-Id"?: string;
26011
- };
26012
- path: {
26013
- id: string;
26014
- connectionId: string;
26015
- };
26016
- cookie?: never;
26017
- };
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
- };
26037
- responses: {
26038
- /** @description Successful response */
26039
- 200: {
26040
- headers: {
26041
- [name: string]: unknown;
26042
- };
26043
- content: {
26044
- "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
25434
  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
- };
26173
- };
26174
- };
26175
- };
26176
- /** @description Invalid input data */
26177
- 400: {
26178
- headers: {
26179
- [name: string]: unknown;
26180
- };
26181
- content: {
26182
- "application/json": components["schemas"]["error.BAD_REQUEST"];
26183
- };
26184
- };
26185
- /** @description Authorization not provided */
26186
- 401: {
26187
- headers: {
26188
- [name: string]: unknown;
26189
- };
26190
- content: {
26191
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
26192
- };
26193
- };
26194
- /** @description Insufficient access */
26195
- 403: {
26196
- headers: {
26197
- [name: string]: unknown;
26198
- };
26199
- content: {
26200
- "application/json": components["schemas"]["error.FORBIDDEN"];
26201
- };
26202
- };
26203
- /** @description Not found */
26204
- 404: {
26205
- headers: {
26206
- [name: string]: unknown;
26207
- };
26208
- content: {
26209
- "application/json": components["schemas"]["error.NOT_FOUND"];
26210
- };
26211
- };
26212
- /** @description Internal server error */
26213
- 500: {
26214
- headers: {
26215
- [name: string]: unknown;
26216
- };
26217
- content: {
26218
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26219
- };
26220
- };
26221
- };
26222
- };
26223
- createFlowSettings: {
26224
- parameters: {
26225
- query?: never;
26226
- header?: {
26227
- "X-Team-Id"?: string;
26228
- };
26229
- path: {
26230
- id: string;
26231
- connectionId: string;
26232
- };
26233
- cookie?: never;
26234
- };
26235
- requestBody: {
26236
- content: {
26237
- "application/json": {
26238
- settings: {
26239
- [key: string]: {
26240
- value?: unknown;
26241
- /** Format: uuid */
26242
- accountId?: string | null;
26243
25435
  /** Format: uuid */
26244
- bookingChannelId?: string | null;
25436
+ id: string;
26245
25437
  /** Format: uuid */
26246
- contactId?: string | null;
25438
+ flowId: string;
26247
25439
  /** Format: uuid */
26248
- listingId?: string | null;
26249
- };
26250
- };
26251
- };
26252
- };
26253
- };
26254
- responses: {
26255
- /** @description Successful response */
26256
- 200: {
26257
- headers: {
26258
- [name: string]: unknown;
26259
- };
26260
- content: {
26261
- "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;
25440
+ connectionId: string;
25441
+ settingKey: string;
25442
+ title: string | null;
25443
+ description: string | null;
25444
+ type: string | null;
25445
+ filter: string | null;
25446
+ value: {
25447
+ /** @enum {string} */
25448
+ type: "account";
25449
+ account: {
25450
+ /** Format: uuid */
25451
+ id: string;
25452
+ title?: string | null;
25453
+ type?: string | null;
26325
25454
  };
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;
25455
+ } | {
25456
+ /** @enum {string} */
25457
+ type: "bookingChannel";
25458
+ bookingChannel: {
25459
+ /** Format: uuid */
25460
+ id: string;
25461
+ uniqueRef?: string | null;
25462
+ icon?: string | null;
25463
+ };
25464
+ } | {
25465
+ /** @enum {string} */
25466
+ type: "contact";
25467
+ contact: {
25468
+ /** Format: uuid */
25469
+ id: string;
25470
+ name?: string | null;
25471
+ email?: string | null;
25472
+ type?: string | null;
25473
+ };
25474
+ } | {
25475
+ /** @enum {string} */
25476
+ type: "listing";
25477
+ listing: {
25478
+ /** Format: uuid */
25479
+ id: string;
25480
+ name?: string | null;
25481
+ title?: string | null;
25482
+ };
25483
+ } | {
25484
+ /** @enum {string} */
25485
+ type: "source";
25486
+ source: {
25487
+ /** Format: uuid */
25488
+ id: string;
25489
+ description?: string | null;
25490
+ code?: string | null;
26387
25491
  };
25492
+ } | {
25493
+ /** @enum {string} */
25494
+ type: "value";
25495
+ value?: unknown;
26388
25496
  };
25497
+ }[];
25498
+ pagination: {
25499
+ /** @default 100 */
25500
+ limit: number;
25501
+ /** @default 1 */
25502
+ page: number;
25503
+ total: number;
25504
+ totalPage: number;
25505
+ nextPage?: number;
26389
25506
  };
26390
25507
  };
26391
25508
  };
@@ -26417,6 +25534,15 @@ export interface operations {
26417
25534
  "application/json": components["schemas"]["error.FORBIDDEN"];
26418
25535
  };
26419
25536
  };
25537
+ /** @description Not found */
25538
+ 404: {
25539
+ headers: {
25540
+ [name: string]: unknown;
25541
+ };
25542
+ content: {
25543
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25544
+ };
25545
+ };
26420
25546
  /** @description Internal server error */
26421
25547
  500: {
26422
25548
  headers: {
@@ -26428,10 +25554,12 @@ export interface operations {
26428
25554
  };
26429
25555
  };
26430
25556
  };
26431
- deleteFlowSettings: {
25557
+ listFlowSettingOptions: {
26432
25558
  parameters: {
26433
25559
  query?: {
26434
- settingKeys?: string[];
25560
+ search?: string;
25561
+ page?: number;
25562
+ limit?: number;
26435
25563
  };
26436
25564
  header?: {
26437
25565
  "X-Team-Id"?: string;
@@ -26439,6 +25567,7 @@ export interface operations {
26439
25567
  path: {
26440
25568
  id: string;
26441
25569
  connectionId: string;
25570
+ settingKey: string;
26442
25571
  };
26443
25572
  cookie?: never;
26444
25573
  };
@@ -26451,133 +25580,20 @@ export interface operations {
26451
25580
  };
26452
25581
  content: {
26453
25582
  "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
- };
25583
+ items: {
25584
+ id: string;
25585
+ name: string;
25586
+ description: string | null;
25587
+ value?: unknown;
25588
+ }[];
25589
+ pagination: {
25590
+ /** @default 100 */
25591
+ limit: number;
25592
+ /** @default 1 */
25593
+ page: number;
25594
+ total: number;
25595
+ totalPage: number;
25596
+ nextPage?: number;
26581
25597
  };
26582
25598
  };
26583
25599
  };
@@ -26629,7 +25645,7 @@ export interface operations {
26629
25645
  };
26630
25646
  };
26631
25647
  };
26632
- enableFlow: {
25648
+ setFlowSetting: {
26633
25649
  parameters: {
26634
25650
  query?: never;
26635
25651
  header?: {
@@ -26638,10 +25654,17 @@ export interface operations {
26638
25654
  path: {
26639
25655
  id: string;
26640
25656
  connectionId: string;
25657
+ settingKey: string;
26641
25658
  };
26642
25659
  cookie?: never;
26643
25660
  };
26644
- requestBody?: never;
25661
+ requestBody: {
25662
+ content: {
25663
+ "application/json": {
25664
+ value?: unknown;
25665
+ };
25666
+ };
25667
+ };
26645
25668
  responses: {
26646
25669
  /** @description Successful response */
26647
25670
  200: {
@@ -26656,127 +25679,78 @@ export interface operations {
26656
25679
  connectionId: string;
26657
25680
  title: string;
26658
25681
  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 {} */
26720
25682
  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;
25683
+ /** Format: uuid */
25684
+ id: string;
25685
+ /** Format: uuid */
25686
+ flowId: string;
25687
+ /** Format: uuid */
25688
+ connectionId: string;
25689
+ settingKey: string;
25690
+ title: string | null;
25691
+ description: string | null;
25692
+ type: string | null;
25693
+ filter: string | null;
25694
+ value: {
25695
+ /** @enum {string} */
25696
+ type: "account";
25697
+ account: {
25698
+ /** Format: uuid */
25699
+ id: string;
25700
+ title?: string | null;
25701
+ type?: string | null;
25702
+ };
25703
+ } | {
25704
+ /** @enum {string} */
25705
+ type: "bookingChannel";
25706
+ bookingChannel: {
25707
+ /** Format: uuid */
25708
+ id: string;
25709
+ uniqueRef?: string | null;
25710
+ icon?: string | null;
25711
+ };
25712
+ } | {
25713
+ /** @enum {string} */
25714
+ type: "contact";
25715
+ contact: {
25716
+ /** Format: uuid */
25717
+ id: string;
25718
+ name?: string | null;
25719
+ email?: string | null;
25720
+ type?: string | null;
25721
+ };
25722
+ } | {
25723
+ /** @enum {string} */
25724
+ type: "listing";
25725
+ listing: {
25726
+ /** Format: uuid */
25727
+ id: string;
25728
+ name?: string | null;
25729
+ title?: string | null;
25730
+ };
25731
+ } | {
25732
+ /** @enum {string} */
25733
+ type: "source";
25734
+ source: {
25735
+ /** Format: uuid */
25736
+ id: string;
25737
+ description?: string | null;
25738
+ code?: string | null;
26778
25739
  };
25740
+ } | {
25741
+ /** @enum {string} */
25742
+ type: "value";
25743
+ value?: unknown;
26779
25744
  };
25745
+ }[];
25746
+ pagination: {
25747
+ /** @default 100 */
25748
+ limit: number;
25749
+ /** @default 1 */
25750
+ page: number;
25751
+ total: number;
25752
+ totalPage: number;
25753
+ nextPage?: number;
26780
25754
  };
26781
25755
  };
26782
25756
  };
@@ -26819,9 +25793,13 @@ export interface operations {
26819
25793
  };
26820
25794
  };
26821
25795
  };
26822
- disableFlow: {
25796
+ getFlowMappings: {
26823
25797
  parameters: {
26824
- query?: never;
25798
+ query?: {
25799
+ sourceId?: string;
25800
+ page?: number;
25801
+ limit?: number;
25802
+ };
26825
25803
  header?: {
26826
25804
  "X-Team-Id"?: string;
26827
25805
  };
@@ -26840,133 +25818,78 @@ export interface operations {
26840
25818
  };
26841
25819
  content: {
26842
25820
  "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;
25821
+ items: {
25822
+ /** Format: uuid */
25823
+ id: string;
25824
+ /** Format: uuid */
25825
+ flowId: string;
25826
+ /** Format: uuid */
25827
+ connectionId: string;
25828
+ mappingKey: string;
25829
+ /** Format: uuid */
25830
+ sourceId: string;
25831
+ title: string | null;
25832
+ description: string | null;
25833
+ value: {
25834
+ /** @enum {string} */
25835
+ type: "account";
25836
+ account: {
25837
+ /** Format: uuid */
25838
+ id: string;
25839
+ title?: string | null;
25840
+ type?: string | null;
26906
25841
  };
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;
25842
+ } | {
25843
+ /** @enum {string} */
25844
+ type: "bookingChannel";
25845
+ bookingChannel: {
25846
+ /** Format: uuid */
25847
+ id: string;
25848
+ uniqueRef?: string | null;
25849
+ icon?: string | null;
25850
+ };
25851
+ } | {
25852
+ /** @enum {string} */
25853
+ type: "contact";
25854
+ contact: {
25855
+ /** Format: uuid */
25856
+ id: string;
25857
+ name?: string | null;
25858
+ email?: string | null;
25859
+ type?: string | null;
25860
+ };
25861
+ } | {
25862
+ /** @enum {string} */
25863
+ type: "listing";
25864
+ listing: {
25865
+ /** Format: uuid */
25866
+ id: string;
25867
+ name?: string | null;
25868
+ title?: string | null;
26968
25869
  };
25870
+ } | {
25871
+ /** @enum {string} */
25872
+ type: "source";
25873
+ source: {
25874
+ /** Format: uuid */
25875
+ id: string;
25876
+ description?: string | null;
25877
+ code?: string | null;
25878
+ };
25879
+ } | {
25880
+ /** @enum {string} */
25881
+ type: "value";
25882
+ value?: unknown;
26969
25883
  };
25884
+ }[];
25885
+ pagination: {
25886
+ /** @default 100 */
25887
+ limit: number;
25888
+ /** @default 1 */
25889
+ page: number;
25890
+ total: number;
25891
+ totalPage: number;
25892
+ nextPage?: number;
26970
25893
  };
26971
25894
  };
26972
25895
  };
@@ -27018,22 +25941,28 @@ export interface operations {
27018
25941
  };
27019
25942
  };
27020
25943
  };
27021
- listFlowSettingOptions: {
25944
+ setFlowMapping: {
27022
25945
  parameters: {
27023
- query?: {
27024
- search?: string;
27025
- };
25946
+ query?: never;
27026
25947
  header?: {
27027
25948
  "X-Team-Id"?: string;
27028
25949
  };
27029
25950
  path: {
27030
25951
  id: string;
27031
25952
  connectionId: string;
27032
- settingKey: string;
25953
+ mappingKey: string;
27033
25954
  };
27034
25955
  cookie?: never;
27035
25956
  };
27036
- requestBody?: never;
25957
+ requestBody: {
25958
+ content: {
25959
+ "application/json": {
25960
+ /** Format: uuid */
25961
+ sourceId: string;
25962
+ value?: unknown;
25963
+ };
25964
+ };
25965
+ };
27037
25966
  responses: {
27038
25967
  /** @description Successful response */
27039
25968
  200: {
@@ -27042,12 +25971,79 @@ export interface operations {
27042
25971
  };
27043
25972
  content: {
27044
25973
  "application/json": {
27045
- data: {
25974
+ items: {
25975
+ /** Format: uuid */
27046
25976
  id: string;
27047
- name: string;
25977
+ /** Format: uuid */
25978
+ flowId: string;
25979
+ /** Format: uuid */
25980
+ connectionId: string;
25981
+ mappingKey: string;
25982
+ /** Format: uuid */
25983
+ sourceId: string;
25984
+ title: string | null;
27048
25985
  description: string | null;
27049
- value?: unknown;
25986
+ value: {
25987
+ /** @enum {string} */
25988
+ type: "account";
25989
+ account: {
25990
+ /** Format: uuid */
25991
+ id: string;
25992
+ title?: string | null;
25993
+ type?: string | null;
25994
+ };
25995
+ } | {
25996
+ /** @enum {string} */
25997
+ type: "bookingChannel";
25998
+ bookingChannel: {
25999
+ /** Format: uuid */
26000
+ id: string;
26001
+ uniqueRef?: string | null;
26002
+ icon?: string | null;
26003
+ };
26004
+ } | {
26005
+ /** @enum {string} */
26006
+ type: "contact";
26007
+ contact: {
26008
+ /** Format: uuid */
26009
+ id: string;
26010
+ name?: string | null;
26011
+ email?: string | null;
26012
+ type?: string | null;
26013
+ };
26014
+ } | {
26015
+ /** @enum {string} */
26016
+ type: "listing";
26017
+ listing: {
26018
+ /** Format: uuid */
26019
+ id: string;
26020
+ name?: string | null;
26021
+ title?: string | null;
26022
+ };
26023
+ } | {
26024
+ /** @enum {string} */
26025
+ type: "source";
26026
+ source: {
26027
+ /** Format: uuid */
26028
+ id: string;
26029
+ description?: string | null;
26030
+ code?: string | null;
26031
+ };
26032
+ } | {
26033
+ /** @enum {string} */
26034
+ type: "value";
26035
+ value?: unknown;
26036
+ };
27050
26037
  }[];
26038
+ pagination: {
26039
+ /** @default 100 */
26040
+ limit: number;
26041
+ /** @default 1 */
26042
+ page: number;
26043
+ total: number;
26044
+ totalPage: number;
26045
+ nextPage?: number;
26046
+ };
27051
26047
  };
27052
26048
  };
27053
26049
  };
@@ -27078,15 +26074,6 @@ export interface operations {
27078
26074
  "application/json": components["schemas"]["error.FORBIDDEN"];
27079
26075
  };
27080
26076
  };
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
26077
  /** @description Internal server error */
27091
26078
  500: {
27092
26079
  headers: {
@@ -27102,6 +26089,8 @@ export interface operations {
27102
26089
  parameters: {
27103
26090
  query?: {
27104
26091
  search?: string;
26092
+ page?: number;
26093
+ limit?: number;
27105
26094
  };
27106
26095
  header?: {
27107
26096
  "X-Team-Id"?: string;
@@ -27122,12 +26111,23 @@ export interface operations {
27122
26111
  };
27123
26112
  content: {
27124
26113
  "application/json": {
27125
- data: {
26114
+ items: {
27126
26115
  id: string;
27127
26116
  name: string;
27128
26117
  /** @enum {string} */
27129
26118
  entityType: "vrp.listing" | "qbo.account";
26119
+ /** @enum {string} */
26120
+ status: "mapped" | "unmapped";
27130
26121
  }[];
26122
+ pagination: {
26123
+ /** @default 100 */
26124
+ limit: number;
26125
+ /** @default 1 */
26126
+ page: number;
26127
+ total: number;
26128
+ totalPage: number;
26129
+ nextPage?: number;
26130
+ };
27131
26131
  };
27132
26132
  };
27133
26133
  };
@@ -27182,6 +26182,8 @@ export interface operations {
27182
26182
  parameters: {
27183
26183
  query?: {
27184
26184
  search?: string;
26185
+ page?: number;
26186
+ limit?: number;
27185
26187
  };
27186
26188
  header?: {
27187
26189
  "X-Team-Id"?: string;
@@ -27202,12 +26204,21 @@ export interface operations {
27202
26204
  };
27203
26205
  content: {
27204
26206
  "application/json": {
27205
- data: {
26207
+ items: {
27206
26208
  id: string;
27207
26209
  name: string;
27208
26210
  /** @enum {string} */
27209
26211
  entityType: "vrp.listing" | "qbo.account";
27210
26212
  }[];
26213
+ pagination: {
26214
+ /** @default 100 */
26215
+ limit: number;
26216
+ /** @default 1 */
26217
+ page: number;
26218
+ total: number;
26219
+ totalPage: number;
26220
+ nextPage?: number;
26221
+ };
27211
26222
  };
27212
26223
  };
27213
26224
  };