@vrplatform/api 1.2.33-stage.817 → 1.2.33-stage.822

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.
@@ -1736,7 +1736,8 @@ export interface paths {
1736
1736
  /** @description List flows */
1737
1737
  get: operations["getFlows"];
1738
1738
  put?: never;
1739
- post?: never;
1739
+ /** @description Create a new flow */
1740
+ post: operations["createFlow"];
1740
1741
  delete?: never;
1741
1742
  options?: never;
1742
1743
  head?: never;
@@ -1752,6 +1753,148 @@ export interface paths {
1752
1753
  };
1753
1754
  /** @description Get flow by ID */
1754
1755
  get: operations["getFlow"];
1756
+ /** @description Update flow by ID */
1757
+ put: operations["updateFlow"];
1758
+ post?: never;
1759
+ /** @description Delete flow by ID */
1760
+ delete: operations["deleteFlow"];
1761
+ options?: never;
1762
+ head?: never;
1763
+ patch?: never;
1764
+ trace?: never;
1765
+ };
1766
+ "/flows/{id}/{connectionId}": {
1767
+ parameters: {
1768
+ query?: never;
1769
+ header?: never;
1770
+ path?: never;
1771
+ cookie?: never;
1772
+ };
1773
+ /** @description Get flow configuration for a connection */
1774
+ get: operations["getFlowConnection"];
1775
+ put?: never;
1776
+ post?: never;
1777
+ delete?: never;
1778
+ options?: never;
1779
+ head?: never;
1780
+ patch?: never;
1781
+ trace?: never;
1782
+ };
1783
+ "/flows/{id}/{connectionId}/mappings": {
1784
+ parameters: {
1785
+ query?: never;
1786
+ header?: never;
1787
+ path?: never;
1788
+ cookie?: never;
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"];
1797
+ options?: never;
1798
+ head?: never;
1799
+ patch?: never;
1800
+ trace?: never;
1801
+ };
1802
+ "/flows/{id}/{connectionId}/settings": {
1803
+ parameters: {
1804
+ query?: never;
1805
+ header?: never;
1806
+ path?: never;
1807
+ cookie?: never;
1808
+ };
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"];
1816
+ options?: never;
1817
+ head?: never;
1818
+ patch?: never;
1819
+ trace?: never;
1820
+ };
1821
+ "/flows/{id}/{connectionId}/enable": {
1822
+ parameters: {
1823
+ query?: never;
1824
+ header?: never;
1825
+ path?: never;
1826
+ cookie?: never;
1827
+ };
1828
+ get?: never;
1829
+ put?: never;
1830
+ /** @description Enable a flow for a connection */
1831
+ post: operations["enableFlow"];
1832
+ delete?: never;
1833
+ options?: never;
1834
+ head?: never;
1835
+ patch?: never;
1836
+ trace?: never;
1837
+ };
1838
+ "/flows/{id}/{connectionId}/disable": {
1839
+ parameters: {
1840
+ query?: never;
1841
+ header?: never;
1842
+ path?: never;
1843
+ cookie?: never;
1844
+ };
1845
+ get?: never;
1846
+ put?: never;
1847
+ post?: never;
1848
+ /** @description Disable a flow for a connection */
1849
+ delete: operations["disableFlow"];
1850
+ options?: never;
1851
+ head?: never;
1852
+ patch?: never;
1853
+ trace?: never;
1854
+ };
1855
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
1856
+ parameters: {
1857
+ query?: never;
1858
+ header?: never;
1859
+ path?: never;
1860
+ cookie?: never;
1861
+ };
1862
+ /** @description List available values/options for a flow setting (mock) */
1863
+ get: operations["listFlowSettingOptions"];
1864
+ put?: never;
1865
+ post?: never;
1866
+ delete?: never;
1867
+ options?: never;
1868
+ head?: never;
1869
+ patch?: never;
1870
+ trace?: never;
1871
+ };
1872
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
1873
+ parameters: {
1874
+ query?: never;
1875
+ header?: never;
1876
+ path?: never;
1877
+ cookie?: never;
1878
+ };
1879
+ /** @description List available source entities for a flow mapping (mock) */
1880
+ get: operations["listFlowMappingSources"];
1881
+ put?: never;
1882
+ post?: never;
1883
+ delete?: never;
1884
+ options?: never;
1885
+ head?: never;
1886
+ patch?: never;
1887
+ trace?: never;
1888
+ };
1889
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
1890
+ parameters: {
1891
+ query?: never;
1892
+ header?: never;
1893
+ path?: never;
1894
+ cookie?: never;
1895
+ };
1896
+ /** @description List available destination entities for a flow mapping (mock) */
1897
+ get: operations["listFlowMappingDestinations"];
1755
1898
  put?: never;
1756
1899
  post?: never;
1757
1900
  delete?: never;
@@ -6381,7 +6524,7 @@ export interface operations {
6381
6524
  data: {
6382
6525
  /** Format: uuid */
6383
6526
  listingId: string;
6384
- /** @default 2025-10-22 */
6527
+ /** @default 2025-10-23 */
6385
6528
  startAt: string;
6386
6529
  endAt?: string | null;
6387
6530
  setListingInactive?: boolean | null;
@@ -6463,7 +6606,7 @@ export interface operations {
6463
6606
  "application/json": {
6464
6607
  /** Format: uuid */
6465
6608
  listingId: string;
6466
- /** @default 2025-10-22 */
6609
+ /** @default 2025-10-23 */
6467
6610
  startAt?: string;
6468
6611
  endAt?: string | null;
6469
6612
  members: {
@@ -6497,7 +6640,7 @@ export interface operations {
6497
6640
  "application/json": {
6498
6641
  /** Format: uuid */
6499
6642
  listingId: string;
6500
- /** @default 2025-10-22 */
6643
+ /** @default 2025-10-23 */
6501
6644
  startAt: string;
6502
6645
  endAt?: string | null;
6503
6646
  setListingInactive?: boolean | null;
@@ -6577,7 +6720,7 @@ export interface operations {
6577
6720
  "application/json": {
6578
6721
  /** Format: uuid */
6579
6722
  listingId: string;
6580
- /** @default 2025-10-22 */
6723
+ /** @default 2025-10-23 */
6581
6724
  startAt: string;
6582
6725
  endAt?: string | null;
6583
6726
  setListingInactive?: boolean | null;
@@ -6660,7 +6803,7 @@ export interface operations {
6660
6803
  "application/json": {
6661
6804
  /** Format: uuid */
6662
6805
  listingId?: string;
6663
- /** @default 2025-10-22 */
6806
+ /** @default 2025-10-23 */
6664
6807
  startAt?: string;
6665
6808
  endAt?: string | null;
6666
6809
  members?: {
@@ -6694,7 +6837,7 @@ export interface operations {
6694
6837
  "application/json": {
6695
6838
  /** Format: uuid */
6696
6839
  listingId: string;
6697
- /** @default 2025-10-22 */
6840
+ /** @default 2025-10-23 */
6698
6841
  startAt: string;
6699
6842
  endAt?: string | null;
6700
6843
  setListingInactive?: boolean | null;
@@ -6880,7 +7023,7 @@ export interface operations {
6880
7023
  /** Format: uuid */
6881
7024
  sourceId?: string | null;
6882
7025
  initialOwnership?: {
6883
- /** @default 2025-10-22 */
7026
+ /** @default 2025-10-23 */
6884
7027
  startAt?: string;
6885
7028
  endAt?: string | null;
6886
7029
  members: {
@@ -6938,7 +7081,7 @@ export interface operations {
6938
7081
  status: "active" | "inactive";
6939
7082
  defaultCurrency?: string | null;
6940
7083
  activeOwnership?: {
6941
- /** @default 2025-10-22 */
7084
+ /** @default 2025-10-23 */
6942
7085
  startAt: string;
6943
7086
  endAt?: string | null;
6944
7087
  setListingInactive?: boolean | null;
@@ -7179,7 +7322,7 @@ export interface operations {
7179
7322
  status: "active" | "inactive";
7180
7323
  defaultCurrency?: string | null;
7181
7324
  activeOwnership?: {
7182
- /** @default 2025-10-22 */
7325
+ /** @default 2025-10-23 */
7183
7326
  startAt: string;
7184
7327
  endAt?: string | null;
7185
7328
  setListingInactive?: boolean | null;
@@ -7318,7 +7461,7 @@ export interface operations {
7318
7461
  /** Format: uuid */
7319
7462
  sourceId?: string | null;
7320
7463
  initialOwnership?: {
7321
- /** @default 2025-10-22 */
7464
+ /** @default 2025-10-23 */
7322
7465
  startAt?: string;
7323
7466
  endAt?: string | null;
7324
7467
  members: {
@@ -7372,7 +7515,7 @@ export interface operations {
7372
7515
  status: "active" | "inactive";
7373
7516
  defaultCurrency?: string | null;
7374
7517
  activeOwnership?: {
7375
- /** @default 2025-10-22 */
7518
+ /** @default 2025-10-23 */
7376
7519
  startAt: string;
7377
7520
  endAt?: string | null;
7378
7521
  setListingInactive?: boolean | null;
@@ -7589,7 +7732,7 @@ export interface operations {
7589
7732
  status: "active" | "inactive";
7590
7733
  defaultCurrency?: string | null;
7591
7734
  activeOwnership?: {
7592
- /** @default 2025-10-22 */
7735
+ /** @default 2025-10-23 */
7593
7736
  startAt: string;
7594
7737
  endAt?: string | null;
7595
7738
  setListingInactive?: boolean | null;
@@ -7736,7 +7879,7 @@ export interface operations {
7736
7879
  /** Format: uuid */
7737
7880
  sourceId?: string | null;
7738
7881
  initialOwnership?: {
7739
- /** @default 2025-10-22 */
7882
+ /** @default 2025-10-23 */
7740
7883
  startAt?: string;
7741
7884
  endAt?: string | null;
7742
7885
  members: {
@@ -7790,7 +7933,7 @@ export interface operations {
7790
7933
  status: "active" | "inactive";
7791
7934
  defaultCurrency?: string | null;
7792
7935
  activeOwnership?: {
7793
- /** @default 2025-10-22 */
7936
+ /** @default 2025-10-23 */
7794
7937
  startAt: string;
7795
7938
  endAt?: string | null;
7796
7939
  setListingInactive?: boolean | null;
@@ -24546,6 +24689,117 @@ export interface operations {
24546
24689
  };
24547
24690
  };
24548
24691
  };
24692
+ createFlow: {
24693
+ parameters: {
24694
+ query?: never;
24695
+ header?: {
24696
+ "X-Team-Id"?: string;
24697
+ };
24698
+ path?: never;
24699
+ cookie?: never;
24700
+ };
24701
+ requestBody: {
24702
+ content: {
24703
+ "application/json": {
24704
+ title: string;
24705
+ appId: string;
24706
+ /** @enum {string} */
24707
+ type?: "push" | "pull";
24708
+ /** @description Dictionary of mapping entries by mapping_key */
24709
+ mappingSchema?: {
24710
+ [key: string]: {
24711
+ /** @description Title for UI/display */
24712
+ title: string;
24713
+ /** @description Description for UI/display */
24714
+ description: string;
24715
+ /** @description Internal system mapping configuration */
24716
+ internal: {
24717
+ /**
24718
+ * @description Internal semantic type
24719
+ * @enum {string}
24720
+ */
24721
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24722
+ /** @description Optional JSONB filter for internal data */
24723
+ filter?: string;
24724
+ };
24725
+ /** @description External system mapping configuration */
24726
+ external: {
24727
+ /** @description External type identifier (vendor/system specific) */
24728
+ type: string;
24729
+ /** @description Optional JSONB filter for external data */
24730
+ filter?: string;
24731
+ };
24732
+ };
24733
+ };
24734
+ /** @description Dictionary of setting entries by setting_key */
24735
+ settingSchema?: {
24736
+ [key: string]: {
24737
+ /** @description Title for UI/display */
24738
+ title: string;
24739
+ /** @description Description for UI/display */
24740
+ description: string;
24741
+ /**
24742
+ * @description Semantic type of the setting value
24743
+ * @enum {string}
24744
+ */
24745
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24746
+ /** @description Optional JSONB filter for available values */
24747
+ filter?: string;
24748
+ };
24749
+ };
24750
+ };
24751
+ };
24752
+ };
24753
+ responses: {
24754
+ /** @description Successful response */
24755
+ 200: {
24756
+ headers: {
24757
+ [name: string]: unknown;
24758
+ };
24759
+ content: {
24760
+ "application/json": {
24761
+ id: string;
24762
+ };
24763
+ };
24764
+ };
24765
+ /** @description Invalid input data */
24766
+ 400: {
24767
+ headers: {
24768
+ [name: string]: unknown;
24769
+ };
24770
+ content: {
24771
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24772
+ };
24773
+ };
24774
+ /** @description Authorization not provided */
24775
+ 401: {
24776
+ headers: {
24777
+ [name: string]: unknown;
24778
+ };
24779
+ content: {
24780
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24781
+ };
24782
+ };
24783
+ /** @description Insufficient access */
24784
+ 403: {
24785
+ headers: {
24786
+ [name: string]: unknown;
24787
+ };
24788
+ content: {
24789
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24790
+ };
24791
+ };
24792
+ /** @description Internal server error */
24793
+ 500: {
24794
+ headers: {
24795
+ [name: string]: unknown;
24796
+ };
24797
+ content: {
24798
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24799
+ };
24800
+ };
24801
+ };
24802
+ };
24549
24803
  getFlow: {
24550
24804
  parameters: {
24551
24805
  query?: never;
@@ -24666,4 +24920,2331 @@ export interface operations {
24666
24920
  };
24667
24921
  };
24668
24922
  };
24923
+ updateFlow: {
24924
+ parameters: {
24925
+ query?: never;
24926
+ header?: {
24927
+ "X-Team-Id"?: string;
24928
+ };
24929
+ path: {
24930
+ id: string;
24931
+ };
24932
+ cookie?: never;
24933
+ };
24934
+ requestBody: {
24935
+ content: {
24936
+ "application/json": {
24937
+ title?: string;
24938
+ appId?: string;
24939
+ /** @description Dictionary of mapping entries by mapping_key */
24940
+ mappingSchema?: {
24941
+ [key: string]: {
24942
+ /** @description Title for UI/display */
24943
+ title: string;
24944
+ /** @description Description for UI/display */
24945
+ description: string;
24946
+ /** @description Internal system mapping configuration */
24947
+ internal: {
24948
+ /**
24949
+ * @description Internal semantic type
24950
+ * @enum {string}
24951
+ */
24952
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24953
+ /** @description Optional JSONB filter for internal data */
24954
+ filter?: string;
24955
+ };
24956
+ /** @description External system mapping configuration */
24957
+ external: {
24958
+ /** @description External type identifier (vendor/system specific) */
24959
+ type: string;
24960
+ /** @description Optional JSONB filter for external data */
24961
+ filter?: string;
24962
+ };
24963
+ };
24964
+ };
24965
+ /** @description Dictionary of setting entries by setting_key */
24966
+ settingSchema?: {
24967
+ [key: string]: {
24968
+ /** @description Title for UI/display */
24969
+ title: string;
24970
+ /** @description Description for UI/display */
24971
+ description: string;
24972
+ /**
24973
+ * @description Semantic type of the setting value
24974
+ * @enum {string}
24975
+ */
24976
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24977
+ /** @description Optional JSONB filter for available values */
24978
+ filter?: string;
24979
+ };
24980
+ };
24981
+ /** @enum {string} */
24982
+ type?: "push" | "pull";
24983
+ };
24984
+ };
24985
+ };
24986
+ responses: {
24987
+ /** @description Successful response */
24988
+ 200: {
24989
+ headers: {
24990
+ [name: string]: unknown;
24991
+ };
24992
+ content: {
24993
+ "application/json": {
24994
+ /** Format: uuid */
24995
+ id: string;
24996
+ title: string;
24997
+ app: {
24998
+ id: string;
24999
+ name: string;
25000
+ icon?: string | null;
25001
+ };
25002
+ /** @description Mapping schema configuration for this flow */
25003
+ mappingSchema: {
25004
+ [key: string]: {
25005
+ /** @description Title for UI/display */
25006
+ title: string;
25007
+ /** @description Description for UI/display */
25008
+ description: string;
25009
+ /** @description Internal system mapping configuration */
25010
+ internal: {
25011
+ /**
25012
+ * @description Internal semantic type
25013
+ * @enum {string}
25014
+ */
25015
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25016
+ /** @description Optional JSONB filter for internal data */
25017
+ filter?: string;
25018
+ };
25019
+ /** @description External system mapping configuration */
25020
+ external: {
25021
+ /** @description External type identifier (vendor/system specific) */
25022
+ type: string;
25023
+ /** @description Optional JSONB filter for external data */
25024
+ filter?: string;
25025
+ };
25026
+ };
25027
+ };
25028
+ /** @description Setting schema configuration for this flow */
25029
+ settingSchema: {
25030
+ [key: string]: {
25031
+ /** @description Title for UI/display */
25032
+ title: string;
25033
+ /** @description Description for UI/display */
25034
+ description: string;
25035
+ /**
25036
+ * @description Semantic type of the setting value
25037
+ * @enum {string}
25038
+ */
25039
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25040
+ /** @description Optional JSONB filter for available values */
25041
+ filter?: string;
25042
+ };
25043
+ };
25044
+ };
25045
+ };
25046
+ };
25047
+ /** @description Invalid input data */
25048
+ 400: {
25049
+ headers: {
25050
+ [name: string]: unknown;
25051
+ };
25052
+ content: {
25053
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25054
+ };
25055
+ };
25056
+ /** @description Authorization not provided */
25057
+ 401: {
25058
+ headers: {
25059
+ [name: string]: unknown;
25060
+ };
25061
+ content: {
25062
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
25063
+ };
25064
+ };
25065
+ /** @description Insufficient access */
25066
+ 403: {
25067
+ headers: {
25068
+ [name: string]: unknown;
25069
+ };
25070
+ content: {
25071
+ "application/json": components["schemas"]["error.FORBIDDEN"];
25072
+ };
25073
+ };
25074
+ /** @description Not found */
25075
+ 404: {
25076
+ headers: {
25077
+ [name: string]: unknown;
25078
+ };
25079
+ content: {
25080
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25081
+ };
25082
+ };
25083
+ /** @description Internal server error */
25084
+ 500: {
25085
+ headers: {
25086
+ [name: string]: unknown;
25087
+ };
25088
+ content: {
25089
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25090
+ };
25091
+ };
25092
+ };
25093
+ };
25094
+ deleteFlow: {
25095
+ parameters: {
25096
+ query?: never;
25097
+ header?: {
25098
+ "X-Team-Id"?: string;
25099
+ };
25100
+ path: {
25101
+ id: string;
25102
+ };
25103
+ cookie?: never;
25104
+ };
25105
+ requestBody?: never;
25106
+ responses: {
25107
+ /** @description Successful response */
25108
+ 200: {
25109
+ headers: {
25110
+ [name: string]: unknown;
25111
+ };
25112
+ content: {
25113
+ "application/json": {
25114
+ /** @enum {string} */
25115
+ status: "deleted";
25116
+ };
25117
+ };
25118
+ };
25119
+ /** @description Invalid input data */
25120
+ 400: {
25121
+ headers: {
25122
+ [name: string]: unknown;
25123
+ };
25124
+ content: {
25125
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25126
+ };
25127
+ };
25128
+ /** @description Authorization not provided */
25129
+ 401: {
25130
+ headers: {
25131
+ [name: string]: unknown;
25132
+ };
25133
+ content: {
25134
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
25135
+ };
25136
+ };
25137
+ /** @description Insufficient access */
25138
+ 403: {
25139
+ headers: {
25140
+ [name: string]: unknown;
25141
+ };
25142
+ content: {
25143
+ "application/json": components["schemas"]["error.FORBIDDEN"];
25144
+ };
25145
+ };
25146
+ /** @description Not found */
25147
+ 404: {
25148
+ headers: {
25149
+ [name: string]: unknown;
25150
+ };
25151
+ content: {
25152
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25153
+ };
25154
+ };
25155
+ /** @description Internal server error */
25156
+ 500: {
25157
+ headers: {
25158
+ [name: string]: unknown;
25159
+ };
25160
+ content: {
25161
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25162
+ };
25163
+ };
25164
+ };
25165
+ };
25166
+ getFlowConnection: {
25167
+ parameters: {
25168
+ query?: never;
25169
+ header?: {
25170
+ "X-Team-Id"?: string;
25171
+ };
25172
+ path: {
25173
+ id: string;
25174
+ connectionId: string;
25175
+ };
25176
+ cookie?: never;
25177
+ };
25178
+ requestBody?: never;
25179
+ responses: {
25180
+ /** @description Successful response */
25181
+ 200: {
25182
+ headers: {
25183
+ [name: string]: unknown;
25184
+ };
25185
+ content: {
25186
+ "application/json": {
25187
+ /** Format: uuid */
25188
+ id: string;
25189
+ /** Format: uuid */
25190
+ connectionId: string;
25191
+ title: string;
25192
+ 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
+ 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;
25312
+ };
25313
+ };
25314
+ };
25315
+ };
25316
+ };
25317
+ };
25318
+ /** @description Invalid input data */
25319
+ 400: {
25320
+ headers: {
25321
+ [name: string]: unknown;
25322
+ };
25323
+ content: {
25324
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25325
+ };
25326
+ };
25327
+ /** @description Authorization not provided */
25328
+ 401: {
25329
+ headers: {
25330
+ [name: string]: unknown;
25331
+ };
25332
+ content: {
25333
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
25334
+ };
25335
+ };
25336
+ /** @description Insufficient access */
25337
+ 403: {
25338
+ headers: {
25339
+ [name: string]: unknown;
25340
+ };
25341
+ content: {
25342
+ "application/json": components["schemas"]["error.FORBIDDEN"];
25343
+ };
25344
+ };
25345
+ /** @description Not found */
25346
+ 404: {
25347
+ headers: {
25348
+ [name: string]: unknown;
25349
+ };
25350
+ content: {
25351
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25352
+ };
25353
+ };
25354
+ /** @description Internal server error */
25355
+ 500: {
25356
+ headers: {
25357
+ [name: string]: unknown;
25358
+ };
25359
+ content: {
25360
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25361
+ };
25362
+ };
25363
+ };
25364
+ };
25365
+ updateFlowMappings: {
25366
+ parameters: {
25367
+ query?: never;
25368
+ header?: {
25369
+ "X-Team-Id"?: string;
25370
+ };
25371
+ path: {
25372
+ id: string;
25373
+ connectionId: string;
25374
+ };
25375
+ cookie?: never;
25376
+ };
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
+ };
25394
+ };
25395
+ };
25396
+ };
25397
+ };
25398
+ responses: {
25399
+ /** @description Successful response */
25400
+ 200: {
25401
+ headers: {
25402
+ [name: string]: unknown;
25403
+ };
25404
+ content: {
25405
+ "application/json": {
25406
+ /** Format: uuid */
25407
+ id: string;
25408
+ /** Format: uuid */
25409
+ connectionId: string;
25410
+ title: string;
25411
+ 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
+ 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
+ /** Format: uuid */
26233
+ bookingChannelId?: string | null;
26234
+ /** Format: uuid */
26235
+ contactId?: string | null;
26236
+ /** 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;
26314
+ };
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;
26376
+ };
26377
+ };
26378
+ };
26379
+ };
26380
+ };
26381
+ };
26382
+ /** @description Invalid input data */
26383
+ 400: {
26384
+ headers: {
26385
+ [name: string]: unknown;
26386
+ };
26387
+ content: {
26388
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
26389
+ };
26390
+ };
26391
+ /** @description Authorization not provided */
26392
+ 401: {
26393
+ headers: {
26394
+ [name: string]: unknown;
26395
+ };
26396
+ content: {
26397
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
26398
+ };
26399
+ };
26400
+ /** @description Insufficient access */
26401
+ 403: {
26402
+ headers: {
26403
+ [name: string]: unknown;
26404
+ };
26405
+ content: {
26406
+ "application/json": components["schemas"]["error.FORBIDDEN"];
26407
+ };
26408
+ };
26409
+ /** @description Internal server error */
26410
+ 500: {
26411
+ headers: {
26412
+ [name: string]: unknown;
26413
+ };
26414
+ content: {
26415
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26416
+ };
26417
+ };
26418
+ };
26419
+ };
26420
+ deleteFlowSettings: {
26421
+ parameters: {
26422
+ query?: {
26423
+ settingKeys?: string[];
26424
+ };
26425
+ header?: {
26426
+ "X-Team-Id"?: string;
26427
+ };
26428
+ path: {
26429
+ id: string;
26430
+ connectionId: string;
26431
+ };
26432
+ cookie?: never;
26433
+ };
26434
+ requestBody?: never;
26435
+ responses: {
26436
+ /** @description Successful response */
26437
+ 200: {
26438
+ headers: {
26439
+ [name: string]: unknown;
26440
+ };
26441
+ content: {
26442
+ "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
+ };
26570
+ };
26571
+ };
26572
+ };
26573
+ };
26574
+ /** @description Invalid input data */
26575
+ 400: {
26576
+ headers: {
26577
+ [name: string]: unknown;
26578
+ };
26579
+ content: {
26580
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
26581
+ };
26582
+ };
26583
+ /** @description Authorization not provided */
26584
+ 401: {
26585
+ headers: {
26586
+ [name: string]: unknown;
26587
+ };
26588
+ content: {
26589
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
26590
+ };
26591
+ };
26592
+ /** @description Insufficient access */
26593
+ 403: {
26594
+ headers: {
26595
+ [name: string]: unknown;
26596
+ };
26597
+ content: {
26598
+ "application/json": components["schemas"]["error.FORBIDDEN"];
26599
+ };
26600
+ };
26601
+ /** @description Not found */
26602
+ 404: {
26603
+ headers: {
26604
+ [name: string]: unknown;
26605
+ };
26606
+ content: {
26607
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26608
+ };
26609
+ };
26610
+ /** @description Internal server error */
26611
+ 500: {
26612
+ headers: {
26613
+ [name: string]: unknown;
26614
+ };
26615
+ content: {
26616
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26617
+ };
26618
+ };
26619
+ };
26620
+ };
26621
+ enableFlow: {
26622
+ parameters: {
26623
+ query?: never;
26624
+ header?: {
26625
+ "X-Team-Id"?: string;
26626
+ };
26627
+ path: {
26628
+ id: string;
26629
+ connectionId: string;
26630
+ };
26631
+ cookie?: never;
26632
+ };
26633
+ requestBody?: never;
26634
+ responses: {
26635
+ /** @description Successful response */
26636
+ 200: {
26637
+ headers: {
26638
+ [name: string]: unknown;
26639
+ };
26640
+ content: {
26641
+ "application/json": {
26642
+ /** Format: uuid */
26643
+ id: string;
26644
+ /** Format: uuid */
26645
+ connectionId: string;
26646
+ title: string;
26647
+ 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
+ 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;
26767
+ };
26768
+ };
26769
+ };
26770
+ };
26771
+ };
26772
+ };
26773
+ /** @description Invalid input data */
26774
+ 400: {
26775
+ headers: {
26776
+ [name: string]: unknown;
26777
+ };
26778
+ content: {
26779
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
26780
+ };
26781
+ };
26782
+ /** @description Authorization not provided */
26783
+ 401: {
26784
+ headers: {
26785
+ [name: string]: unknown;
26786
+ };
26787
+ content: {
26788
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
26789
+ };
26790
+ };
26791
+ /** @description Insufficient access */
26792
+ 403: {
26793
+ headers: {
26794
+ [name: string]: unknown;
26795
+ };
26796
+ content: {
26797
+ "application/json": components["schemas"]["error.FORBIDDEN"];
26798
+ };
26799
+ };
26800
+ /** @description Internal server error */
26801
+ 500: {
26802
+ headers: {
26803
+ [name: string]: unknown;
26804
+ };
26805
+ content: {
26806
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26807
+ };
26808
+ };
26809
+ };
26810
+ };
26811
+ disableFlow: {
26812
+ parameters: {
26813
+ query?: never;
26814
+ header?: {
26815
+ "X-Team-Id"?: string;
26816
+ };
26817
+ path: {
26818
+ id: string;
26819
+ connectionId: string;
26820
+ };
26821
+ cookie?: never;
26822
+ };
26823
+ requestBody?: never;
26824
+ responses: {
26825
+ /** @description Successful response */
26826
+ 200: {
26827
+ headers: {
26828
+ [name: string]: unknown;
26829
+ };
26830
+ content: {
26831
+ "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;
26895
+ };
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;
26957
+ };
26958
+ };
26959
+ };
26960
+ };
26961
+ };
26962
+ };
26963
+ /** @description Invalid input data */
26964
+ 400: {
26965
+ headers: {
26966
+ [name: string]: unknown;
26967
+ };
26968
+ content: {
26969
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
26970
+ };
26971
+ };
26972
+ /** @description Authorization not provided */
26973
+ 401: {
26974
+ headers: {
26975
+ [name: string]: unknown;
26976
+ };
26977
+ content: {
26978
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
26979
+ };
26980
+ };
26981
+ /** @description Insufficient access */
26982
+ 403: {
26983
+ headers: {
26984
+ [name: string]: unknown;
26985
+ };
26986
+ content: {
26987
+ "application/json": components["schemas"]["error.FORBIDDEN"];
26988
+ };
26989
+ };
26990
+ /** @description Not found */
26991
+ 404: {
26992
+ headers: {
26993
+ [name: string]: unknown;
26994
+ };
26995
+ content: {
26996
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26997
+ };
26998
+ };
26999
+ /** @description Internal server error */
27000
+ 500: {
27001
+ headers: {
27002
+ [name: string]: unknown;
27003
+ };
27004
+ content: {
27005
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
27006
+ };
27007
+ };
27008
+ };
27009
+ };
27010
+ listFlowSettingOptions: {
27011
+ parameters: {
27012
+ query?: {
27013
+ search?: string;
27014
+ };
27015
+ header?: {
27016
+ "X-Team-Id"?: string;
27017
+ };
27018
+ path: {
27019
+ id: string;
27020
+ connectionId: string;
27021
+ settingKey: string;
27022
+ };
27023
+ cookie?: never;
27024
+ };
27025
+ requestBody?: never;
27026
+ responses: {
27027
+ /** @description Successful response */
27028
+ 200: {
27029
+ headers: {
27030
+ [name: string]: unknown;
27031
+ };
27032
+ content: {
27033
+ "application/json": {
27034
+ data: {
27035
+ id: string;
27036
+ name: string;
27037
+ description: string | null;
27038
+ value?: unknown;
27039
+ }[];
27040
+ };
27041
+ };
27042
+ };
27043
+ /** @description Invalid input data */
27044
+ 400: {
27045
+ headers: {
27046
+ [name: string]: unknown;
27047
+ };
27048
+ content: {
27049
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
27050
+ };
27051
+ };
27052
+ /** @description Authorization not provided */
27053
+ 401: {
27054
+ headers: {
27055
+ [name: string]: unknown;
27056
+ };
27057
+ content: {
27058
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
27059
+ };
27060
+ };
27061
+ /** @description Insufficient access */
27062
+ 403: {
27063
+ headers: {
27064
+ [name: string]: unknown;
27065
+ };
27066
+ content: {
27067
+ "application/json": components["schemas"]["error.FORBIDDEN"];
27068
+ };
27069
+ };
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
+ /** @description Internal server error */
27080
+ 500: {
27081
+ headers: {
27082
+ [name: string]: unknown;
27083
+ };
27084
+ content: {
27085
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
27086
+ };
27087
+ };
27088
+ };
27089
+ };
27090
+ listFlowMappingSources: {
27091
+ parameters: {
27092
+ query?: {
27093
+ search?: string;
27094
+ };
27095
+ header?: {
27096
+ "X-Team-Id"?: string;
27097
+ };
27098
+ path: {
27099
+ id: string;
27100
+ connectionId: string;
27101
+ mappingKey: string;
27102
+ };
27103
+ cookie?: never;
27104
+ };
27105
+ requestBody?: never;
27106
+ responses: {
27107
+ /** @description Successful response */
27108
+ 200: {
27109
+ headers: {
27110
+ [name: string]: unknown;
27111
+ };
27112
+ content: {
27113
+ "application/json": {
27114
+ data: {
27115
+ id: string;
27116
+ name: string;
27117
+ /** @enum {string} */
27118
+ entityType: "vrp.listing" | "qbo.account";
27119
+ }[];
27120
+ };
27121
+ };
27122
+ };
27123
+ /** @description Invalid input data */
27124
+ 400: {
27125
+ headers: {
27126
+ [name: string]: unknown;
27127
+ };
27128
+ content: {
27129
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
27130
+ };
27131
+ };
27132
+ /** @description Authorization not provided */
27133
+ 401: {
27134
+ headers: {
27135
+ [name: string]: unknown;
27136
+ };
27137
+ content: {
27138
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
27139
+ };
27140
+ };
27141
+ /** @description Insufficient access */
27142
+ 403: {
27143
+ headers: {
27144
+ [name: string]: unknown;
27145
+ };
27146
+ content: {
27147
+ "application/json": components["schemas"]["error.FORBIDDEN"];
27148
+ };
27149
+ };
27150
+ /** @description Not found */
27151
+ 404: {
27152
+ headers: {
27153
+ [name: string]: unknown;
27154
+ };
27155
+ content: {
27156
+ "application/json": components["schemas"]["error.NOT_FOUND"];
27157
+ };
27158
+ };
27159
+ /** @description Internal server error */
27160
+ 500: {
27161
+ headers: {
27162
+ [name: string]: unknown;
27163
+ };
27164
+ content: {
27165
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
27166
+ };
27167
+ };
27168
+ };
27169
+ };
27170
+ listFlowMappingDestinations: {
27171
+ parameters: {
27172
+ query?: {
27173
+ search?: string;
27174
+ };
27175
+ header?: {
27176
+ "X-Team-Id"?: string;
27177
+ };
27178
+ path: {
27179
+ id: string;
27180
+ connectionId: string;
27181
+ mappingKey: string;
27182
+ };
27183
+ cookie?: never;
27184
+ };
27185
+ requestBody?: never;
27186
+ responses: {
27187
+ /** @description Successful response */
27188
+ 200: {
27189
+ headers: {
27190
+ [name: string]: unknown;
27191
+ };
27192
+ content: {
27193
+ "application/json": {
27194
+ data: {
27195
+ id: string;
27196
+ name: string;
27197
+ /** @enum {string} */
27198
+ entityType: "vrp.listing" | "qbo.account";
27199
+ }[];
27200
+ };
27201
+ };
27202
+ };
27203
+ /** @description Invalid input data */
27204
+ 400: {
27205
+ headers: {
27206
+ [name: string]: unknown;
27207
+ };
27208
+ content: {
27209
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
27210
+ };
27211
+ };
27212
+ /** @description Authorization not provided */
27213
+ 401: {
27214
+ headers: {
27215
+ [name: string]: unknown;
27216
+ };
27217
+ content: {
27218
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
27219
+ };
27220
+ };
27221
+ /** @description Insufficient access */
27222
+ 403: {
27223
+ headers: {
27224
+ [name: string]: unknown;
27225
+ };
27226
+ content: {
27227
+ "application/json": components["schemas"]["error.FORBIDDEN"];
27228
+ };
27229
+ };
27230
+ /** @description Not found */
27231
+ 404: {
27232
+ headers: {
27233
+ [name: string]: unknown;
27234
+ };
27235
+ content: {
27236
+ "application/json": components["schemas"]["error.NOT_FOUND"];
27237
+ };
27238
+ };
27239
+ /** @description Internal server error */
27240
+ 500: {
27241
+ headers: {
27242
+ [name: string]: unknown;
27243
+ };
27244
+ content: {
27245
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
27246
+ };
27247
+ };
27248
+ };
27249
+ };
24669
27250
  }