@vrplatform/api 1.2.33-stage.824 → 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;
@@ -22671,17 +22668,28 @@ export interface operations {
22671
22668
  };
22672
22669
  content: {
22673
22670
  "application/json": {
22674
- institution: {
22675
- country_codes: string[];
22676
- institution_id: string;
22677
- routing_numbers?: string[];
22678
- name: string;
22679
- products: string[];
22680
- logo: string | null;
22681
- url: string | null;
22682
- status?: unknown;
22671
+ connectionId: string;
22672
+ institutionName: string;
22673
+ auth: {
22674
+ last_status_change: string;
22675
+ status: string;
22676
+ };
22677
+ investments_updates: {
22678
+ last_status_change: string;
22679
+ status: string;
22680
+ /** @enum {string|null} */
22681
+ refresh_interval?: "NORMAL" | "STOPPED" | "DELAYED" | null;
22682
+ };
22683
+ item_logins: {
22684
+ last_status_change: string;
22685
+ status: string;
22686
+ };
22687
+ transactions_updates: {
22688
+ last_status_change: string;
22689
+ status: string;
22690
+ /** @enum {string|null} */
22691
+ refresh_interval?: "NORMAL" | "STOPPED" | "DELAYED" | null;
22683
22692
  };
22684
- request_id?: string;
22685
22693
  };
22686
22694
  };
22687
22695
  };
@@ -25163,7 +25171,7 @@ export interface operations {
25163
25171
  };
25164
25172
  };
25165
25173
  };
25166
- getFlowConnection: {
25174
+ setFlowStatus: {
25167
25175
  parameters: {
25168
25176
  query?: never;
25169
25177
  header?: {
@@ -25175,7 +25183,14 @@ export interface operations {
25175
25183
  };
25176
25184
  cookie?: never;
25177
25185
  };
25178
- requestBody?: never;
25186
+ requestBody: {
25187
+ content: {
25188
+ "application/json": {
25189
+ /** @enum {string} */
25190
+ status: "active" | "inactive";
25191
+ };
25192
+ };
25193
+ };
25179
25194
  responses: {
25180
25195
  /** @description Successful response */
25181
25196
  200: {
@@ -25190,127 +25205,78 @@ export interface operations {
25190
25205
  connectionId: string;
25191
25206
  title: string;
25192
25207
  status: string | null;
25193
- /** @default {} */
25194
- mappings: {
25195
- [key: string]: {
25196
- /** Format: uuid */
25197
- id: string;
25198
- title: string | null;
25199
- description: string | null;
25200
- value: {
25201
- /** @enum {string} */
25202
- type: "account";
25203
- account: {
25204
- /** Format: uuid */
25205
- id: string;
25206
- title?: string | null;
25207
- type?: string | null;
25208
- };
25209
- } | {
25210
- /** @enum {string} */
25211
- type: "bookingChannel";
25212
- bookingChannel: {
25213
- /** Format: uuid */
25214
- id: string;
25215
- uniqueRef?: string | null;
25216
- icon?: string | null;
25217
- };
25218
- } | {
25219
- /** @enum {string} */
25220
- type: "contact";
25221
- contact: {
25222
- /** Format: uuid */
25223
- id: string;
25224
- name?: string | null;
25225
- email?: string | null;
25226
- type?: string | null;
25227
- };
25228
- } | {
25229
- /** @enum {string} */
25230
- type: "listing";
25231
- listing: {
25232
- /** Format: uuid */
25233
- id: string;
25234
- name?: string | null;
25235
- title?: string | null;
25236
- };
25237
- } | {
25238
- /** @enum {string} */
25239
- type: "source";
25240
- source: {
25241
- /** Format: uuid */
25242
- id: string;
25243
- description?: string | null;
25244
- code?: string | null;
25245
- };
25246
- } | {
25247
- /** @enum {string} */
25248
- type: "value";
25249
- value?: unknown;
25250
- };
25251
- };
25252
- };
25253
- /** @default {} */
25254
25208
  settings: {
25255
- [key: string]: {
25256
- /** Format: uuid */
25257
- id: string;
25258
- title: string | null;
25259
- description: string | null;
25260
- type: string | null;
25261
- filter: string | null;
25262
- value: {
25263
- /** @enum {string} */
25264
- type: "account";
25265
- account: {
25266
- /** Format: uuid */
25267
- id: string;
25268
- title?: string | null;
25269
- type?: string | null;
25270
- };
25271
- } | {
25272
- /** @enum {string} */
25273
- type: "bookingChannel";
25274
- bookingChannel: {
25275
- /** Format: uuid */
25276
- id: string;
25277
- uniqueRef?: string | null;
25278
- icon?: string | null;
25279
- };
25280
- } | {
25281
- /** @enum {string} */
25282
- type: "contact";
25283
- contact: {
25284
- /** Format: uuid */
25285
- id: string;
25286
- name?: string | null;
25287
- email?: string | null;
25288
- type?: string | null;
25289
- };
25290
- } | {
25291
- /** @enum {string} */
25292
- type: "listing";
25293
- listing: {
25294
- /** Format: uuid */
25295
- id: string;
25296
- name?: string | null;
25297
- title?: string | null;
25298
- };
25299
- } | {
25300
- /** @enum {string} */
25301
- type: "source";
25302
- source: {
25303
- /** Format: uuid */
25304
- id: string;
25305
- description?: string | null;
25306
- code?: string | null;
25307
- };
25308
- } | {
25309
- /** @enum {string} */
25310
- type: "value";
25311
- 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;
25256
+ };
25257
+ } | {
25258
+ /** @enum {string} */
25259
+ type: "source";
25260
+ source: {
25261
+ /** Format: uuid */
25262
+ id: string;
25263
+ description?: string | null;
25264
+ code?: string | null;
25312
25265
  };
25266
+ } | {
25267
+ /** @enum {string} */
25268
+ type: "value";
25269
+ value?: unknown;
25313
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;
25314
25280
  };
25315
25281
  };
25316
25282
  };
@@ -25362,7 +25328,7 @@ export interface operations {
25362
25328
  };
25363
25329
  };
25364
25330
  };
25365
- updateFlowMappings: {
25331
+ runFlow: {
25366
25332
  parameters: {
25367
25333
  query?: never;
25368
25334
  header?: {
@@ -25374,27 +25340,83 @@ export interface operations {
25374
25340
  };
25375
25341
  cookie?: never;
25376
25342
  };
25377
- requestBody: {
25378
- content: {
25379
- "application/json": {
25380
- mappings: {
25381
- [key: string]: {
25382
- /** Format: uuid */
25383
- sourceId: string;
25384
- value?: unknown;
25385
- /** Format: uuid */
25386
- accountId?: string | null;
25387
- /** Format: uuid */
25388
- bookingChannelId?: string | null;
25389
- /** Format: uuid */
25390
- contactId?: string | null;
25391
- /** Format: uuid */
25392
- listingId?: string | null;
25393
- };
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";
25394
25354
  };
25395
25355
  };
25396
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
+ };
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;
25397
25418
  };
25419
+ requestBody?: never;
25398
25420
  responses: {
25399
25421
  /** @description Successful response */
25400
25422
  200: {
@@ -25409,972 +25431,78 @@ export interface operations {
25409
25431
  connectionId: string;
25410
25432
  title: string;
25411
25433
  status: string | null;
25412
- /** @default {} */
25413
- mappings: {
25414
- [key: string]: {
25415
- /** Format: uuid */
25416
- id: string;
25417
- title: string | null;
25418
- description: string | null;
25419
- value: {
25420
- /** @enum {string} */
25421
- type: "account";
25422
- account: {
25423
- /** Format: uuid */
25424
- id: string;
25425
- title?: string | null;
25426
- type?: string | null;
25427
- };
25428
- } | {
25429
- /** @enum {string} */
25430
- type: "bookingChannel";
25431
- bookingChannel: {
25432
- /** Format: uuid */
25433
- id: string;
25434
- uniqueRef?: string | null;
25435
- icon?: string | null;
25436
- };
25437
- } | {
25438
- /** @enum {string} */
25439
- type: "contact";
25440
- contact: {
25441
- /** Format: uuid */
25442
- id: string;
25443
- name?: string | null;
25444
- email?: string | null;
25445
- type?: string | null;
25446
- };
25447
- } | {
25448
- /** @enum {string} */
25449
- type: "listing";
25450
- listing: {
25451
- /** Format: uuid */
25452
- id: string;
25453
- name?: string | null;
25454
- title?: string | null;
25455
- };
25456
- } | {
25457
- /** @enum {string} */
25458
- type: "source";
25459
- source: {
25460
- /** Format: uuid */
25461
- id: string;
25462
- description?: string | null;
25463
- code?: string | null;
25464
- };
25465
- } | {
25466
- /** @enum {string} */
25467
- type: "value";
25468
- value?: unknown;
25469
- };
25470
- };
25471
- };
25472
- /** @default {} */
25473
- settings: {
25474
- [key: string]: {
25475
- /** Format: uuid */
25476
- id: string;
25477
- title: string | null;
25478
- description: string | null;
25479
- type: string | null;
25480
- filter: string | null;
25481
- value: {
25482
- /** @enum {string} */
25483
- type: "account";
25484
- account: {
25485
- /** Format: uuid */
25486
- id: string;
25487
- title?: string | null;
25488
- type?: string | null;
25489
- };
25490
- } | {
25491
- /** @enum {string} */
25492
- type: "bookingChannel";
25493
- bookingChannel: {
25494
- /** Format: uuid */
25495
- id: string;
25496
- uniqueRef?: string | null;
25497
- icon?: string | null;
25498
- };
25499
- } | {
25500
- /** @enum {string} */
25501
- type: "contact";
25502
- contact: {
25503
- /** Format: uuid */
25504
- id: string;
25505
- name?: string | null;
25506
- email?: string | null;
25507
- type?: string | null;
25508
- };
25509
- } | {
25510
- /** @enum {string} */
25511
- type: "listing";
25512
- listing: {
25513
- /** Format: uuid */
25514
- id: string;
25515
- name?: string | null;
25516
- title?: string | null;
25517
- };
25518
- } | {
25519
- /** @enum {string} */
25520
- type: "source";
25521
- source: {
25522
- /** Format: uuid */
25523
- id: string;
25524
- description?: string | null;
25525
- code?: string | null;
25526
- };
25527
- } | {
25528
- /** @enum {string} */
25529
- type: "value";
25530
- value?: unknown;
25531
- };
25532
- };
25533
- };
25534
- };
25535
- };
25536
- };
25537
- /** @description Invalid input data */
25538
- 400: {
25539
- headers: {
25540
- [name: string]: unknown;
25541
- };
25542
- content: {
25543
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25544
- };
25545
- };
25546
- /** @description Authorization not provided */
25547
- 401: {
25548
- headers: {
25549
- [name: string]: unknown;
25550
- };
25551
- content: {
25552
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25553
- };
25554
- };
25555
- /** @description Insufficient access */
25556
- 403: {
25557
- headers: {
25558
- [name: string]: unknown;
25559
- };
25560
- content: {
25561
- "application/json": components["schemas"]["error.FORBIDDEN"];
25562
- };
25563
- };
25564
- /** @description Not found */
25565
- 404: {
25566
- headers: {
25567
- [name: string]: unknown;
25568
- };
25569
- content: {
25570
- "application/json": components["schemas"]["error.NOT_FOUND"];
25571
- };
25572
- };
25573
- /** @description Internal server error */
25574
- 500: {
25575
- headers: {
25576
- [name: string]: unknown;
25577
- };
25578
- content: {
25579
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25580
- };
25581
- };
25582
- };
25583
- };
25584
- createFlowMappings: {
25585
- parameters: {
25586
- query?: never;
25587
- header?: {
25588
- "X-Team-Id"?: string;
25589
- };
25590
- path: {
25591
- id: string;
25592
- connectionId: string;
25593
- };
25594
- cookie?: never;
25595
- };
25596
- requestBody: {
25597
- content: {
25598
- "application/json": {
25599
- mappings: {
25600
- [key: string]: {
25601
- /** Format: uuid */
25602
- sourceId: string;
25603
- value?: unknown;
25604
- /** Format: uuid */
25605
- accountId?: string | null;
25606
- /** Format: uuid */
25607
- bookingChannelId?: string | null;
25608
- /** Format: uuid */
25609
- contactId?: string | null;
25610
- /** Format: uuid */
25611
- listingId?: string | null;
25612
- };
25613
- };
25614
- };
25615
- };
25616
- };
25617
- responses: {
25618
- /** @description Successful response */
25619
- 200: {
25620
- headers: {
25621
- [name: string]: unknown;
25622
- };
25623
- content: {
25624
- "application/json": {
25625
- /** Format: uuid */
25626
- id: string;
25627
- /** Format: uuid */
25628
- connectionId: string;
25629
- title: string;
25630
- status: string | null;
25631
- /** @default {} */
25632
- mappings: {
25633
- [key: string]: {
25634
- /** Format: uuid */
25635
- id: string;
25636
- title: string | null;
25637
- description: string | null;
25638
- value: {
25639
- /** @enum {string} */
25640
- type: "account";
25641
- account: {
25642
- /** Format: uuid */
25643
- id: string;
25644
- title?: string | null;
25645
- type?: string | null;
25646
- };
25647
- } | {
25648
- /** @enum {string} */
25649
- type: "bookingChannel";
25650
- bookingChannel: {
25651
- /** Format: uuid */
25652
- id: string;
25653
- uniqueRef?: string | null;
25654
- icon?: string | null;
25655
- };
25656
- } | {
25657
- /** @enum {string} */
25658
- type: "contact";
25659
- contact: {
25660
- /** Format: uuid */
25661
- id: string;
25662
- name?: string | null;
25663
- email?: string | null;
25664
- type?: string | null;
25665
- };
25666
- } | {
25667
- /** @enum {string} */
25668
- type: "listing";
25669
- listing: {
25670
- /** Format: uuid */
25671
- id: string;
25672
- name?: string | null;
25673
- title?: string | null;
25674
- };
25675
- } | {
25676
- /** @enum {string} */
25677
- type: "source";
25678
- source: {
25679
- /** Format: uuid */
25680
- id: string;
25681
- description?: string | null;
25682
- code?: string | null;
25683
- };
25684
- } | {
25685
- /** @enum {string} */
25686
- type: "value";
25687
- value?: unknown;
25688
- };
25689
- };
25690
- };
25691
- /** @default {} */
25692
- settings: {
25693
- [key: string]: {
25694
- /** Format: uuid */
25695
- id: string;
25696
- title: string | null;
25697
- description: string | null;
25698
- type: string | null;
25699
- filter: string | null;
25700
- value: {
25701
- /** @enum {string} */
25702
- type: "account";
25703
- account: {
25704
- /** Format: uuid */
25705
- id: string;
25706
- title?: string | null;
25707
- type?: string | null;
25708
- };
25709
- } | {
25710
- /** @enum {string} */
25711
- type: "bookingChannel";
25712
- bookingChannel: {
25713
- /** Format: uuid */
25714
- id: string;
25715
- uniqueRef?: string | null;
25716
- icon?: string | null;
25717
- };
25718
- } | {
25719
- /** @enum {string} */
25720
- type: "contact";
25721
- contact: {
25722
- /** Format: uuid */
25723
- id: string;
25724
- name?: string | null;
25725
- email?: string | null;
25726
- type?: string | null;
25727
- };
25728
- } | {
25729
- /** @enum {string} */
25730
- type: "listing";
25731
- listing: {
25732
- /** Format: uuid */
25733
- id: string;
25734
- name?: string | null;
25735
- title?: string | null;
25736
- };
25737
- } | {
25738
- /** @enum {string} */
25739
- type: "source";
25740
- source: {
25741
- /** Format: uuid */
25742
- id: string;
25743
- description?: string | null;
25744
- code?: string | null;
25745
- };
25746
- } | {
25747
- /** @enum {string} */
25748
- type: "value";
25749
- value?: unknown;
25750
- };
25751
- };
25752
- };
25753
- };
25754
- };
25755
- };
25756
- /** @description Invalid input data */
25757
- 400: {
25758
- headers: {
25759
- [name: string]: unknown;
25760
- };
25761
- content: {
25762
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25763
- };
25764
- };
25765
- /** @description Authorization not provided */
25766
- 401: {
25767
- headers: {
25768
- [name: string]: unknown;
25769
- };
25770
- content: {
25771
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25772
- };
25773
- };
25774
- /** @description Insufficient access */
25775
- 403: {
25776
- headers: {
25777
- [name: string]: unknown;
25778
- };
25779
- content: {
25780
- "application/json": components["schemas"]["error.FORBIDDEN"];
25781
- };
25782
- };
25783
- /** @description Internal server error */
25784
- 500: {
25785
- headers: {
25786
- [name: string]: unknown;
25787
- };
25788
- content: {
25789
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25790
- };
25791
- };
25792
- };
25793
- };
25794
- deleteFlowMappings: {
25795
- parameters: {
25796
- query?: {
25797
- mappingKeys?: string[];
25798
- };
25799
- header?: {
25800
- "X-Team-Id"?: string;
25801
- };
25802
- path: {
25803
- id: string;
25804
- connectionId: string;
25805
- };
25806
- cookie?: never;
25807
- };
25808
- requestBody?: never;
25809
- responses: {
25810
- /** @description Successful response */
25811
- 200: {
25812
- headers: {
25813
- [name: string]: unknown;
25814
- };
25815
- content: {
25816
- "application/json": {
25817
- /** Format: uuid */
25818
- id: string;
25819
- /** Format: uuid */
25820
- connectionId: string;
25821
- title: string;
25822
- status: string | null;
25823
- /** @default {} */
25824
- mappings: {
25825
- [key: string]: {
25826
- /** Format: uuid */
25827
- id: string;
25828
- title: string | null;
25829
- description: string | null;
25830
- value: {
25831
- /** @enum {string} */
25832
- type: "account";
25833
- account: {
25834
- /** Format: uuid */
25835
- id: string;
25836
- title?: string | null;
25837
- type?: string | null;
25838
- };
25839
- } | {
25840
- /** @enum {string} */
25841
- type: "bookingChannel";
25842
- bookingChannel: {
25843
- /** Format: uuid */
25844
- id: string;
25845
- uniqueRef?: string | null;
25846
- icon?: string | null;
25847
- };
25848
- } | {
25849
- /** @enum {string} */
25850
- type: "contact";
25851
- contact: {
25852
- /** Format: uuid */
25853
- id: string;
25854
- name?: string | null;
25855
- email?: string | null;
25856
- type?: string | null;
25857
- };
25858
- } | {
25859
- /** @enum {string} */
25860
- type: "listing";
25861
- listing: {
25862
- /** Format: uuid */
25863
- id: string;
25864
- name?: string | null;
25865
- title?: string | null;
25866
- };
25867
- } | {
25868
- /** @enum {string} */
25869
- type: "source";
25870
- source: {
25871
- /** Format: uuid */
25872
- id: string;
25873
- description?: string | null;
25874
- code?: string | null;
25875
- };
25876
- } | {
25877
- /** @enum {string} */
25878
- type: "value";
25879
- value?: unknown;
25880
- };
25881
- };
25882
- };
25883
- /** @default {} */
25884
- settings: {
25885
- [key: string]: {
25886
- /** Format: uuid */
25887
- id: string;
25888
- title: string | null;
25889
- description: string | null;
25890
- type: string | null;
25891
- filter: string | null;
25892
- value: {
25893
- /** @enum {string} */
25894
- type: "account";
25895
- account: {
25896
- /** Format: uuid */
25897
- id: string;
25898
- title?: string | null;
25899
- type?: string | null;
25900
- };
25901
- } | {
25902
- /** @enum {string} */
25903
- type: "bookingChannel";
25904
- bookingChannel: {
25905
- /** Format: uuid */
25906
- id: string;
25907
- uniqueRef?: string | null;
25908
- icon?: string | null;
25909
- };
25910
- } | {
25911
- /** @enum {string} */
25912
- type: "contact";
25913
- contact: {
25914
- /** Format: uuid */
25915
- id: string;
25916
- name?: string | null;
25917
- email?: string | null;
25918
- type?: string | null;
25919
- };
25920
- } | {
25921
- /** @enum {string} */
25922
- type: "listing";
25923
- listing: {
25924
- /** Format: uuid */
25925
- id: string;
25926
- name?: string | null;
25927
- title?: string | null;
25928
- };
25929
- } | {
25930
- /** @enum {string} */
25931
- type: "source";
25932
- source: {
25933
- /** Format: uuid */
25934
- id: string;
25935
- description?: string | null;
25936
- code?: string | null;
25937
- };
25938
- } | {
25939
- /** @enum {string} */
25940
- type: "value";
25941
- value?: unknown;
25942
- };
25943
- };
25944
- };
25945
- };
25946
- };
25947
- };
25948
- /** @description Invalid input data */
25949
- 400: {
25950
- headers: {
25951
- [name: string]: unknown;
25952
- };
25953
- content: {
25954
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25955
- };
25956
- };
25957
- /** @description Authorization not provided */
25958
- 401: {
25959
- headers: {
25960
- [name: string]: unknown;
25961
- };
25962
- content: {
25963
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25964
- };
25965
- };
25966
- /** @description Insufficient access */
25967
- 403: {
25968
- headers: {
25969
- [name: string]: unknown;
25970
- };
25971
- content: {
25972
- "application/json": components["schemas"]["error.FORBIDDEN"];
25973
- };
25974
- };
25975
- /** @description Not found */
25976
- 404: {
25977
- headers: {
25978
- [name: string]: unknown;
25979
- };
25980
- content: {
25981
- "application/json": components["schemas"]["error.NOT_FOUND"];
25982
- };
25983
- };
25984
- /** @description Internal server error */
25985
- 500: {
25986
- headers: {
25987
- [name: string]: unknown;
25988
- };
25989
- content: {
25990
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25991
- };
25992
- };
25993
- };
25994
- };
25995
- updateFlowSettings: {
25996
- parameters: {
25997
- query?: never;
25998
- header?: {
25999
- "X-Team-Id"?: string;
26000
- };
26001
- path: {
26002
- id: string;
26003
- connectionId: string;
26004
- };
26005
- cookie?: never;
26006
- };
26007
- requestBody: {
26008
- content: {
26009
- "application/json": {
26010
- settings: {
26011
- [key: string]: {
26012
- value?: unknown;
26013
- /** Format: uuid */
26014
- accountId?: string | null;
26015
- /** Format: uuid */
26016
- bookingChannelId?: string | null;
26017
- /** Format: uuid */
26018
- contactId?: string | null;
26019
- /** Format: uuid */
26020
- listingId?: string | null;
26021
- };
26022
- };
26023
- };
26024
- };
26025
- };
26026
- responses: {
26027
- /** @description Successful response */
26028
- 200: {
26029
- headers: {
26030
- [name: string]: unknown;
26031
- };
26032
- content: {
26033
- "application/json": {
26034
- /** Format: uuid */
26035
- id: string;
26036
- /** Format: uuid */
26037
- connectionId: string;
26038
- title: string;
26039
- status: string | null;
26040
- /** @default {} */
26041
- mappings: {
26042
- [key: string]: {
26043
- /** Format: uuid */
26044
- id: string;
26045
- title: string | null;
26046
- description: string | null;
26047
- value: {
26048
- /** @enum {string} */
26049
- type: "account";
26050
- account: {
26051
- /** Format: uuid */
26052
- id: string;
26053
- title?: string | null;
26054
- type?: string | null;
26055
- };
26056
- } | {
26057
- /** @enum {string} */
26058
- type: "bookingChannel";
26059
- bookingChannel: {
26060
- /** Format: uuid */
26061
- id: string;
26062
- uniqueRef?: string | null;
26063
- icon?: string | null;
26064
- };
26065
- } | {
26066
- /** @enum {string} */
26067
- type: "contact";
26068
- contact: {
26069
- /** Format: uuid */
26070
- id: string;
26071
- name?: string | null;
26072
- email?: string | null;
26073
- type?: string | null;
26074
- };
26075
- } | {
26076
- /** @enum {string} */
26077
- type: "listing";
26078
- listing: {
26079
- /** Format: uuid */
26080
- id: string;
26081
- name?: string | null;
26082
- title?: string | null;
26083
- };
26084
- } | {
26085
- /** @enum {string} */
26086
- type: "source";
26087
- source: {
26088
- /** Format: uuid */
26089
- id: string;
26090
- description?: string | null;
26091
- code?: string | null;
26092
- };
26093
- } | {
26094
- /** @enum {string} */
26095
- type: "value";
26096
- value?: unknown;
26097
- };
26098
- };
26099
- };
26100
- /** @default {} */
26101
25434
  settings: {
26102
- [key: string]: {
26103
- /** Format: uuid */
26104
- id: string;
26105
- title: string | null;
26106
- description: string | null;
26107
- type: string | null;
26108
- filter: string | null;
26109
- value: {
26110
- /** @enum {string} */
26111
- type: "account";
26112
- account: {
26113
- /** Format: uuid */
26114
- id: string;
26115
- title?: string | null;
26116
- type?: string | null;
26117
- };
26118
- } | {
26119
- /** @enum {string} */
26120
- type: "bookingChannel";
26121
- bookingChannel: {
26122
- /** Format: uuid */
26123
- id: string;
26124
- uniqueRef?: string | null;
26125
- icon?: string | null;
26126
- };
26127
- } | {
26128
- /** @enum {string} */
26129
- type: "contact";
26130
- contact: {
26131
- /** Format: uuid */
26132
- id: string;
26133
- name?: string | null;
26134
- email?: string | null;
26135
- type?: string | null;
26136
- };
26137
- } | {
26138
- /** @enum {string} */
26139
- type: "listing";
26140
- listing: {
26141
- /** Format: uuid */
26142
- id: string;
26143
- name?: string | null;
26144
- title?: string | null;
26145
- };
26146
- } | {
26147
- /** @enum {string} */
26148
- type: "source";
26149
- source: {
26150
- /** Format: uuid */
26151
- id: string;
26152
- description?: string | null;
26153
- code?: string | null;
26154
- };
26155
- } | {
26156
- /** @enum {string} */
26157
- type: "value";
26158
- value?: unknown;
26159
- };
26160
- };
26161
- };
26162
- };
26163
- };
26164
- };
26165
- /** @description Invalid input data */
26166
- 400: {
26167
- headers: {
26168
- [name: string]: unknown;
26169
- };
26170
- content: {
26171
- "application/json": components["schemas"]["error.BAD_REQUEST"];
26172
- };
26173
- };
26174
- /** @description Authorization not provided */
26175
- 401: {
26176
- headers: {
26177
- [name: string]: unknown;
26178
- };
26179
- content: {
26180
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
26181
- };
26182
- };
26183
- /** @description Insufficient access */
26184
- 403: {
26185
- headers: {
26186
- [name: string]: unknown;
26187
- };
26188
- content: {
26189
- "application/json": components["schemas"]["error.FORBIDDEN"];
26190
- };
26191
- };
26192
- /** @description Not found */
26193
- 404: {
26194
- headers: {
26195
- [name: string]: unknown;
26196
- };
26197
- content: {
26198
- "application/json": components["schemas"]["error.NOT_FOUND"];
26199
- };
26200
- };
26201
- /** @description Internal server error */
26202
- 500: {
26203
- headers: {
26204
- [name: string]: unknown;
26205
- };
26206
- content: {
26207
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26208
- };
26209
- };
26210
- };
26211
- };
26212
- createFlowSettings: {
26213
- parameters: {
26214
- query?: never;
26215
- header?: {
26216
- "X-Team-Id"?: string;
26217
- };
26218
- path: {
26219
- id: string;
26220
- connectionId: string;
26221
- };
26222
- cookie?: never;
26223
- };
26224
- requestBody: {
26225
- content: {
26226
- "application/json": {
26227
- settings: {
26228
- [key: string]: {
26229
- value?: unknown;
26230
- /** Format: uuid */
26231
- accountId?: string | null;
26232
25435
  /** Format: uuid */
26233
- bookingChannelId?: string | null;
25436
+ id: string;
26234
25437
  /** Format: uuid */
26235
- contactId?: string | null;
25438
+ flowId: string;
26236
25439
  /** Format: uuid */
26237
- listingId?: string | null;
26238
- };
26239
- };
26240
- };
26241
- };
26242
- };
26243
- responses: {
26244
- /** @description Successful response */
26245
- 200: {
26246
- headers: {
26247
- [name: string]: unknown;
26248
- };
26249
- content: {
26250
- "application/json": {
26251
- /** Format: uuid */
26252
- id: string;
26253
- /** Format: uuid */
26254
- connectionId: string;
26255
- title: string;
26256
- status: string | null;
26257
- /** @default {} */
26258
- mappings: {
26259
- [key: string]: {
26260
- /** Format: uuid */
26261
- id: string;
26262
- title: string | null;
26263
- description: string | null;
26264
- value: {
26265
- /** @enum {string} */
26266
- type: "account";
26267
- account: {
26268
- /** Format: uuid */
26269
- id: string;
26270
- title?: string | null;
26271
- type?: string | null;
26272
- };
26273
- } | {
26274
- /** @enum {string} */
26275
- type: "bookingChannel";
26276
- bookingChannel: {
26277
- /** Format: uuid */
26278
- id: string;
26279
- uniqueRef?: string | null;
26280
- icon?: string | null;
26281
- };
26282
- } | {
26283
- /** @enum {string} */
26284
- type: "contact";
26285
- contact: {
26286
- /** Format: uuid */
26287
- id: string;
26288
- name?: string | null;
26289
- email?: string | null;
26290
- type?: string | null;
26291
- };
26292
- } | {
26293
- /** @enum {string} */
26294
- type: "listing";
26295
- listing: {
26296
- /** Format: uuid */
26297
- id: string;
26298
- name?: string | null;
26299
- title?: string | null;
26300
- };
26301
- } | {
26302
- /** @enum {string} */
26303
- type: "source";
26304
- source: {
26305
- /** Format: uuid */
26306
- id: string;
26307
- description?: string | null;
26308
- code?: string | null;
26309
- };
26310
- } | {
26311
- /** @enum {string} */
26312
- type: "value";
26313
- 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;
26314
25454
  };
26315
- };
26316
- };
26317
- /** @default {} */
26318
- settings: {
26319
- [key: string]: {
26320
- /** Format: uuid */
26321
- id: string;
26322
- title: string | null;
26323
- description: string | null;
26324
- type: string | null;
26325
- filter: string | null;
26326
- value: {
26327
- /** @enum {string} */
26328
- type: "account";
26329
- account: {
26330
- /** Format: uuid */
26331
- id: string;
26332
- title?: string | null;
26333
- type?: string | null;
26334
- };
26335
- } | {
26336
- /** @enum {string} */
26337
- type: "bookingChannel";
26338
- bookingChannel: {
26339
- /** Format: uuid */
26340
- id: string;
26341
- uniqueRef?: string | null;
26342
- icon?: string | null;
26343
- };
26344
- } | {
26345
- /** @enum {string} */
26346
- type: "contact";
26347
- contact: {
26348
- /** Format: uuid */
26349
- id: string;
26350
- name?: string | null;
26351
- email?: string | null;
26352
- type?: string | null;
26353
- };
26354
- } | {
26355
- /** @enum {string} */
26356
- type: "listing";
26357
- listing: {
26358
- /** Format: uuid */
26359
- id: string;
26360
- name?: string | null;
26361
- title?: string | null;
26362
- };
26363
- } | {
26364
- /** @enum {string} */
26365
- type: "source";
26366
- source: {
26367
- /** Format: uuid */
26368
- id: string;
26369
- description?: string | null;
26370
- code?: string | null;
26371
- };
26372
- } | {
26373
- /** @enum {string} */
26374
- type: "value";
26375
- 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;
26376
25491
  };
25492
+ } | {
25493
+ /** @enum {string} */
25494
+ type: "value";
25495
+ value?: unknown;
26377
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;
26378
25506
  };
26379
25507
  };
26380
25508
  };
@@ -26406,6 +25534,15 @@ export interface operations {
26406
25534
  "application/json": components["schemas"]["error.FORBIDDEN"];
26407
25535
  };
26408
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
+ };
26409
25546
  /** @description Internal server error */
26410
25547
  500: {
26411
25548
  headers: {
@@ -26417,10 +25554,12 @@ export interface operations {
26417
25554
  };
26418
25555
  };
26419
25556
  };
26420
- deleteFlowSettings: {
25557
+ listFlowSettingOptions: {
26421
25558
  parameters: {
26422
25559
  query?: {
26423
- settingKeys?: string[];
25560
+ search?: string;
25561
+ page?: number;
25562
+ limit?: number;
26424
25563
  };
26425
25564
  header?: {
26426
25565
  "X-Team-Id"?: string;
@@ -26428,6 +25567,7 @@ export interface operations {
26428
25567
  path: {
26429
25568
  id: string;
26430
25569
  connectionId: string;
25570
+ settingKey: string;
26431
25571
  };
26432
25572
  cookie?: never;
26433
25573
  };
@@ -26440,133 +25580,20 @@ export interface operations {
26440
25580
  };
26441
25581
  content: {
26442
25582
  "application/json": {
26443
- /** Format: uuid */
26444
- id: string;
26445
- /** Format: uuid */
26446
- connectionId: string;
26447
- title: string;
26448
- status: string | null;
26449
- /** @default {} */
26450
- mappings: {
26451
- [key: string]: {
26452
- /** Format: uuid */
26453
- id: string;
26454
- title: string | null;
26455
- description: string | null;
26456
- value: {
26457
- /** @enum {string} */
26458
- type: "account";
26459
- account: {
26460
- /** Format: uuid */
26461
- id: string;
26462
- title?: string | null;
26463
- type?: string | null;
26464
- };
26465
- } | {
26466
- /** @enum {string} */
26467
- type: "bookingChannel";
26468
- bookingChannel: {
26469
- /** Format: uuid */
26470
- id: string;
26471
- uniqueRef?: string | null;
26472
- icon?: string | null;
26473
- };
26474
- } | {
26475
- /** @enum {string} */
26476
- type: "contact";
26477
- contact: {
26478
- /** Format: uuid */
26479
- id: string;
26480
- name?: string | null;
26481
- email?: string | null;
26482
- type?: string | null;
26483
- };
26484
- } | {
26485
- /** @enum {string} */
26486
- type: "listing";
26487
- listing: {
26488
- /** Format: uuid */
26489
- id: string;
26490
- name?: string | null;
26491
- title?: string | null;
26492
- };
26493
- } | {
26494
- /** @enum {string} */
26495
- type: "source";
26496
- source: {
26497
- /** Format: uuid */
26498
- id: string;
26499
- description?: string | null;
26500
- code?: string | null;
26501
- };
26502
- } | {
26503
- /** @enum {string} */
26504
- type: "value";
26505
- value?: unknown;
26506
- };
26507
- };
26508
- };
26509
- /** @default {} */
26510
- settings: {
26511
- [key: string]: {
26512
- /** Format: uuid */
26513
- id: string;
26514
- title: string | null;
26515
- description: string | null;
26516
- type: string | null;
26517
- filter: string | null;
26518
- value: {
26519
- /** @enum {string} */
26520
- type: "account";
26521
- account: {
26522
- /** Format: uuid */
26523
- id: string;
26524
- title?: string | null;
26525
- type?: string | null;
26526
- };
26527
- } | {
26528
- /** @enum {string} */
26529
- type: "bookingChannel";
26530
- bookingChannel: {
26531
- /** Format: uuid */
26532
- id: string;
26533
- uniqueRef?: string | null;
26534
- icon?: string | null;
26535
- };
26536
- } | {
26537
- /** @enum {string} */
26538
- type: "contact";
26539
- contact: {
26540
- /** Format: uuid */
26541
- id: string;
26542
- name?: string | null;
26543
- email?: string | null;
26544
- type?: string | null;
26545
- };
26546
- } | {
26547
- /** @enum {string} */
26548
- type: "listing";
26549
- listing: {
26550
- /** Format: uuid */
26551
- id: string;
26552
- name?: string | null;
26553
- title?: string | null;
26554
- };
26555
- } | {
26556
- /** @enum {string} */
26557
- type: "source";
26558
- source: {
26559
- /** Format: uuid */
26560
- id: string;
26561
- description?: string | null;
26562
- code?: string | null;
26563
- };
26564
- } | {
26565
- /** @enum {string} */
26566
- type: "value";
26567
- value?: unknown;
26568
- };
26569
- };
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;
26570
25597
  };
26571
25598
  };
26572
25599
  };
@@ -26618,7 +25645,7 @@ export interface operations {
26618
25645
  };
26619
25646
  };
26620
25647
  };
26621
- enableFlow: {
25648
+ setFlowSetting: {
26622
25649
  parameters: {
26623
25650
  query?: never;
26624
25651
  header?: {
@@ -26627,10 +25654,17 @@ export interface operations {
26627
25654
  path: {
26628
25655
  id: string;
26629
25656
  connectionId: string;
25657
+ settingKey: string;
26630
25658
  };
26631
25659
  cookie?: never;
26632
25660
  };
26633
- requestBody?: never;
25661
+ requestBody: {
25662
+ content: {
25663
+ "application/json": {
25664
+ value?: unknown;
25665
+ };
25666
+ };
25667
+ };
26634
25668
  responses: {
26635
25669
  /** @description Successful response */
26636
25670
  200: {
@@ -26645,127 +25679,78 @@ export interface operations {
26645
25679
  connectionId: string;
26646
25680
  title: string;
26647
25681
  status: string | null;
26648
- /** @default {} */
26649
- mappings: {
26650
- [key: string]: {
26651
- /** Format: uuid */
26652
- id: string;
26653
- title: string | null;
26654
- description: string | null;
26655
- value: {
26656
- /** @enum {string} */
26657
- type: "account";
26658
- account: {
26659
- /** Format: uuid */
26660
- id: string;
26661
- title?: string | null;
26662
- type?: string | null;
26663
- };
26664
- } | {
26665
- /** @enum {string} */
26666
- type: "bookingChannel";
26667
- bookingChannel: {
26668
- /** Format: uuid */
26669
- id: string;
26670
- uniqueRef?: string | null;
26671
- icon?: string | null;
26672
- };
26673
- } | {
26674
- /** @enum {string} */
26675
- type: "contact";
26676
- contact: {
26677
- /** Format: uuid */
26678
- id: string;
26679
- name?: string | null;
26680
- email?: string | null;
26681
- type?: string | null;
26682
- };
26683
- } | {
26684
- /** @enum {string} */
26685
- type: "listing";
26686
- listing: {
26687
- /** Format: uuid */
26688
- id: string;
26689
- name?: string | null;
26690
- title?: string | null;
26691
- };
26692
- } | {
26693
- /** @enum {string} */
26694
- type: "source";
26695
- source: {
26696
- /** Format: uuid */
26697
- id: string;
26698
- description?: string | null;
26699
- code?: string | null;
26700
- };
26701
- } | {
26702
- /** @enum {string} */
26703
- type: "value";
26704
- value?: unknown;
26705
- };
26706
- };
26707
- };
26708
- /** @default {} */
26709
25682
  settings: {
26710
- [key: string]: {
26711
- /** Format: uuid */
26712
- id: string;
26713
- title: string | null;
26714
- description: string | null;
26715
- type: string | null;
26716
- filter: string | null;
26717
- value: {
26718
- /** @enum {string} */
26719
- type: "account";
26720
- account: {
26721
- /** Format: uuid */
26722
- id: string;
26723
- title?: string | null;
26724
- type?: string | null;
26725
- };
26726
- } | {
26727
- /** @enum {string} */
26728
- type: "bookingChannel";
26729
- bookingChannel: {
26730
- /** Format: uuid */
26731
- id: string;
26732
- uniqueRef?: string | null;
26733
- icon?: string | null;
26734
- };
26735
- } | {
26736
- /** @enum {string} */
26737
- type: "contact";
26738
- contact: {
26739
- /** Format: uuid */
26740
- id: string;
26741
- name?: string | null;
26742
- email?: string | null;
26743
- type?: string | null;
26744
- };
26745
- } | {
26746
- /** @enum {string} */
26747
- type: "listing";
26748
- listing: {
26749
- /** Format: uuid */
26750
- id: string;
26751
- name?: string | null;
26752
- title?: string | null;
26753
- };
26754
- } | {
26755
- /** @enum {string} */
26756
- type: "source";
26757
- source: {
26758
- /** Format: uuid */
26759
- id: string;
26760
- description?: string | null;
26761
- code?: string | null;
26762
- };
26763
- } | {
26764
- /** @enum {string} */
26765
- type: "value";
26766
- 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;
26767
25739
  };
25740
+ } | {
25741
+ /** @enum {string} */
25742
+ type: "value";
25743
+ value?: unknown;
26768
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;
26769
25754
  };
26770
25755
  };
26771
25756
  };
@@ -26808,9 +25793,13 @@ export interface operations {
26808
25793
  };
26809
25794
  };
26810
25795
  };
26811
- disableFlow: {
25796
+ getFlowMappings: {
26812
25797
  parameters: {
26813
- query?: never;
25798
+ query?: {
25799
+ sourceId?: string;
25800
+ page?: number;
25801
+ limit?: number;
25802
+ };
26814
25803
  header?: {
26815
25804
  "X-Team-Id"?: string;
26816
25805
  };
@@ -26829,133 +25818,78 @@ export interface operations {
26829
25818
  };
26830
25819
  content: {
26831
25820
  "application/json": {
26832
- /** Format: uuid */
26833
- id: string;
26834
- /** Format: uuid */
26835
- connectionId: string;
26836
- title: string;
26837
- status: string | null;
26838
- /** @default {} */
26839
- mappings: {
26840
- [key: string]: {
26841
- /** Format: uuid */
26842
- id: string;
26843
- title: string | null;
26844
- description: string | null;
26845
- value: {
26846
- /** @enum {string} */
26847
- type: "account";
26848
- account: {
26849
- /** Format: uuid */
26850
- id: string;
26851
- title?: string | null;
26852
- type?: string | null;
26853
- };
26854
- } | {
26855
- /** @enum {string} */
26856
- type: "bookingChannel";
26857
- bookingChannel: {
26858
- /** Format: uuid */
26859
- id: string;
26860
- uniqueRef?: string | null;
26861
- icon?: string | null;
26862
- };
26863
- } | {
26864
- /** @enum {string} */
26865
- type: "contact";
26866
- contact: {
26867
- /** Format: uuid */
26868
- id: string;
26869
- name?: string | null;
26870
- email?: string | null;
26871
- type?: string | null;
26872
- };
26873
- } | {
26874
- /** @enum {string} */
26875
- type: "listing";
26876
- listing: {
26877
- /** Format: uuid */
26878
- id: string;
26879
- name?: string | null;
26880
- title?: string | null;
26881
- };
26882
- } | {
26883
- /** @enum {string} */
26884
- type: "source";
26885
- source: {
26886
- /** Format: uuid */
26887
- id: string;
26888
- description?: string | null;
26889
- code?: string | null;
26890
- };
26891
- } | {
26892
- /** @enum {string} */
26893
- type: "value";
26894
- 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;
26895
25841
  };
26896
- };
26897
- };
26898
- /** @default {} */
26899
- settings: {
26900
- [key: string]: {
26901
- /** Format: uuid */
26902
- id: string;
26903
- title: string | null;
26904
- description: string | null;
26905
- type: string | null;
26906
- filter: string | null;
26907
- value: {
26908
- /** @enum {string} */
26909
- type: "account";
26910
- account: {
26911
- /** Format: uuid */
26912
- id: string;
26913
- title?: string | null;
26914
- type?: string | null;
26915
- };
26916
- } | {
26917
- /** @enum {string} */
26918
- type: "bookingChannel";
26919
- bookingChannel: {
26920
- /** Format: uuid */
26921
- id: string;
26922
- uniqueRef?: string | null;
26923
- icon?: string | null;
26924
- };
26925
- } | {
26926
- /** @enum {string} */
26927
- type: "contact";
26928
- contact: {
26929
- /** Format: uuid */
26930
- id: string;
26931
- name?: string | null;
26932
- email?: string | null;
26933
- type?: string | null;
26934
- };
26935
- } | {
26936
- /** @enum {string} */
26937
- type: "listing";
26938
- listing: {
26939
- /** Format: uuid */
26940
- id: string;
26941
- name?: string | null;
26942
- title?: string | null;
26943
- };
26944
- } | {
26945
- /** @enum {string} */
26946
- type: "source";
26947
- source: {
26948
- /** Format: uuid */
26949
- id: string;
26950
- description?: string | null;
26951
- code?: string | null;
26952
- };
26953
- } | {
26954
- /** @enum {string} */
26955
- type: "value";
26956
- 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;
26957
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;
26958
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;
26959
25893
  };
26960
25894
  };
26961
25895
  };
@@ -27007,22 +25941,28 @@ export interface operations {
27007
25941
  };
27008
25942
  };
27009
25943
  };
27010
- listFlowSettingOptions: {
25944
+ setFlowMapping: {
27011
25945
  parameters: {
27012
- query?: {
27013
- search?: string;
27014
- };
25946
+ query?: never;
27015
25947
  header?: {
27016
25948
  "X-Team-Id"?: string;
27017
25949
  };
27018
25950
  path: {
27019
25951
  id: string;
27020
25952
  connectionId: string;
27021
- settingKey: string;
25953
+ mappingKey: string;
27022
25954
  };
27023
25955
  cookie?: never;
27024
25956
  };
27025
- requestBody?: never;
25957
+ requestBody: {
25958
+ content: {
25959
+ "application/json": {
25960
+ /** Format: uuid */
25961
+ sourceId: string;
25962
+ value?: unknown;
25963
+ };
25964
+ };
25965
+ };
27026
25966
  responses: {
27027
25967
  /** @description Successful response */
27028
25968
  200: {
@@ -27031,12 +25971,79 @@ export interface operations {
27031
25971
  };
27032
25972
  content: {
27033
25973
  "application/json": {
27034
- data: {
25974
+ items: {
25975
+ /** Format: uuid */
27035
25976
  id: string;
27036
- 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;
27037
25985
  description: string | null;
27038
- 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
+ };
27039
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
+ };
27040
26047
  };
27041
26048
  };
27042
26049
  };
@@ -27067,15 +26074,6 @@ export interface operations {
27067
26074
  "application/json": components["schemas"]["error.FORBIDDEN"];
27068
26075
  };
27069
26076
  };
27070
- /** @description Not found */
27071
- 404: {
27072
- headers: {
27073
- [name: string]: unknown;
27074
- };
27075
- content: {
27076
- "application/json": components["schemas"]["error.NOT_FOUND"];
27077
- };
27078
- };
27079
26077
  /** @description Internal server error */
27080
26078
  500: {
27081
26079
  headers: {
@@ -27091,6 +26089,8 @@ export interface operations {
27091
26089
  parameters: {
27092
26090
  query?: {
27093
26091
  search?: string;
26092
+ page?: number;
26093
+ limit?: number;
27094
26094
  };
27095
26095
  header?: {
27096
26096
  "X-Team-Id"?: string;
@@ -27111,12 +26111,23 @@ export interface operations {
27111
26111
  };
27112
26112
  content: {
27113
26113
  "application/json": {
27114
- data: {
26114
+ items: {
27115
26115
  id: string;
27116
26116
  name: string;
27117
26117
  /** @enum {string} */
27118
26118
  entityType: "vrp.listing" | "qbo.account";
26119
+ /** @enum {string} */
26120
+ status: "mapped" | "unmapped";
27119
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
+ };
27120
26131
  };
27121
26132
  };
27122
26133
  };
@@ -27171,6 +26182,8 @@ export interface operations {
27171
26182
  parameters: {
27172
26183
  query?: {
27173
26184
  search?: string;
26185
+ page?: number;
26186
+ limit?: number;
27174
26187
  };
27175
26188
  header?: {
27176
26189
  "X-Team-Id"?: string;
@@ -27191,12 +26204,21 @@ export interface operations {
27191
26204
  };
27192
26205
  content: {
27193
26206
  "application/json": {
27194
- data: {
26207
+ items: {
27195
26208
  id: string;
27196
26209
  name: string;
27197
26210
  /** @enum {string} */
27198
26211
  entityType: "vrp.listing" | "qbo.account";
27199
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
+ };
27200
26222
  };
27201
26223
  };
27202
26224
  };