@vrplatform/api 1.3.0-stage.1125 → 1.3.0-stage.1126

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.
@@ -1895,8 +1895,7 @@ export interface paths {
1895
1895
  /** @description List flows */
1896
1896
  get: operations["getFlows"];
1897
1897
  put?: never;
1898
- /** @description Create a new flow */
1899
- post: operations["createFlow"];
1898
+ post?: never;
1900
1899
  delete?: never;
1901
1900
  options?: never;
1902
1901
  head?: never;
@@ -1912,11 +1911,9 @@ export interface paths {
1912
1911
  };
1913
1912
  /** @description Get flow by ID */
1914
1913
  get: operations["getFlow"];
1915
- /** @description Update flow by ID */
1916
- put: operations["updateFlow"];
1914
+ put?: never;
1917
1915
  post?: never;
1918
- /** @description Delete flow by ID */
1919
- delete: operations["deleteFlow"];
1916
+ delete?: never;
1920
1917
  options?: never;
1921
1918
  head?: never;
1922
1919
  patch?: never;
@@ -1957,41 +1954,6 @@ export interface paths {
1957
1954
  patch?: never;
1958
1955
  trace?: never;
1959
1956
  };
1960
- "/flows/{id}/{connectionId}/settings": {
1961
- parameters: {
1962
- query?: never;
1963
- header?: never;
1964
- path?: never;
1965
- cookie?: never;
1966
- };
1967
- /** @description List flow settings for a connection */
1968
- get: operations["getFlowSettings"];
1969
- put?: never;
1970
- post?: never;
1971
- delete?: never;
1972
- options?: never;
1973
- head?: never;
1974
- patch?: never;
1975
- trace?: never;
1976
- };
1977
- "/flows/{id}/{connectionId}/settings/{settingKey}": {
1978
- parameters: {
1979
- query?: never;
1980
- header?: never;
1981
- path?: never;
1982
- cookie?: never;
1983
- };
1984
- /** @description List available values/options for a flow setting */
1985
- get: operations["listFlowSettingOptions"];
1986
- put?: never;
1987
- /** @description Create, update or delete a flow setting entry */
1988
- post: operations["setFlowSetting"];
1989
- delete?: never;
1990
- options?: never;
1991
- head?: never;
1992
- patch?: never;
1993
- trace?: never;
1994
- };
1995
1957
  "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1996
1958
  parameters: {
1997
1959
  query?: never;
@@ -2010,15 +1972,15 @@ export interface paths {
2010
1972
  patch?: never;
2011
1973
  trace?: never;
2012
1974
  };
2013
- "/flows/{id}/{connectionId}/mappings": {
1975
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
2014
1976
  parameters: {
2015
1977
  query?: never;
2016
1978
  header?: never;
2017
1979
  path?: never;
2018
1980
  cookie?: never;
2019
1981
  };
2020
- /** @description List flow mappings for a connection */
2021
- get: operations["getFlowMappings"];
1982
+ /** @description List available source entities for a flow mapping */
1983
+ get: operations["getFlowMappingSources"];
2022
1984
  put?: never;
2023
1985
  post?: never;
2024
1986
  delete?: never;
@@ -2027,15 +1989,15 @@ export interface paths {
2027
1989
  patch?: never;
2028
1990
  trace?: never;
2029
1991
  };
2030
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
1992
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
2031
1993
  parameters: {
2032
1994
  query?: never;
2033
1995
  header?: never;
2034
1996
  path?: never;
2035
1997
  cookie?: never;
2036
1998
  };
2037
- /** @description List available source entities for a flow mapping */
2038
- get: operations["listFlowMappingSources"];
1999
+ /** @description List available destination entities for a flow mapping */
2000
+ get: operations["getFlowMappingDestinations"];
2039
2001
  put?: never;
2040
2002
  post?: never;
2041
2003
  delete?: never;
@@ -2044,17 +2006,18 @@ export interface paths {
2044
2006
  patch?: never;
2045
2007
  trace?: never;
2046
2008
  };
2047
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
2009
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
2048
2010
  parameters: {
2049
2011
  query?: never;
2050
2012
  header?: never;
2051
2013
  path?: never;
2052
2014
  cookie?: never;
2053
2015
  };
2054
- /** @description List available destination entities for a flow mapping */
2055
- get: operations["listFlowMappingDestinations"];
2016
+ /** @description List available values/options for a flow setting */
2017
+ get: operations["getFlowSetting"];
2056
2018
  put?: never;
2057
- post?: never;
2019
+ /** @description Create, update or delete a flow setting entry */
2020
+ post: operations["setFlowSetting"];
2058
2021
  delete?: never;
2059
2022
  options?: never;
2060
2023
  head?: never;
@@ -2382,27 +2345,6 @@ export interface components {
2382
2345
  */
2383
2346
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2384
2347
  };
2385
- /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2386
- FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2387
- /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2388
- FlowSettingItemPost: {
2389
- /** Format: uuid */
2390
- id: string;
2391
- /** Format: uuid */
2392
- flowId: string;
2393
- /** Format: uuid */
2394
- connectionId: string;
2395
- settingKey: string;
2396
- title: string | null;
2397
- description: string | null;
2398
- /**
2399
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2400
- * @enum {string|null}
2401
- */
2402
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2403
- filter: string | null;
2404
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2405
- };
2406
2348
  /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2407
2349
  FlowMappingItemGet: {
2408
2350
  /** Format: uuid */
@@ -2453,6 +2395,27 @@ export interface components {
2453
2395
  type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2454
2396
  };
2455
2397
  };
2398
+ /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2399
+ FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2400
+ /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2401
+ FlowSettingItemPost: {
2402
+ /** Format: uuid */
2403
+ id: string;
2404
+ /** Format: uuid */
2405
+ flowId: string;
2406
+ /** Format: uuid */
2407
+ connectionId: string;
2408
+ settingKey: string;
2409
+ title: string | null;
2410
+ description: string | null;
2411
+ /**
2412
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2413
+ * @enum {string|null}
2414
+ */
2415
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2416
+ filter: string | null;
2417
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2418
+ };
2456
2419
  };
2457
2420
  responses: never;
2458
2421
  parameters: never;
@@ -24288,119 +24251,6 @@ export interface operations {
24288
24251
  };
24289
24252
  };
24290
24253
  };
24291
- createFlow: {
24292
- parameters: {
24293
- query?: never;
24294
- header?: {
24295
- "X-Team-Id"?: string;
24296
- };
24297
- path?: never;
24298
- cookie?: never;
24299
- };
24300
- requestBody: {
24301
- content: {
24302
- "application/json": {
24303
- uniqueRef: string;
24304
- title: string;
24305
- appId: string;
24306
- description?: string | null;
24307
- /** @enum {string} */
24308
- type?: "push" | "pull";
24309
- /** @description Dictionary of mapping entries by mapping_key */
24310
- mappingSchema?: {
24311
- [key: string]: {
24312
- /** @description Title for UI/display */
24313
- title: string;
24314
- /** @description Description for UI/display */
24315
- description: string;
24316
- /** @description Internal system mapping configuration */
24317
- internal: {
24318
- /**
24319
- * @description Internal semantic type
24320
- * @enum {string}
24321
- */
24322
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24323
- /** @description Optional JSONB filter for internal data */
24324
- filter?: string;
24325
- };
24326
- /** @description External system mapping configuration */
24327
- external: {
24328
- /** @description External type identifier (vendor/system specific) */
24329
- type: string;
24330
- /** @description Optional JSONB filter for external data */
24331
- filter?: string;
24332
- };
24333
- };
24334
- };
24335
- /** @description Dictionary of setting entries by setting_key */
24336
- settingSchema?: {
24337
- [key: string]: {
24338
- /** @description Title for UI/display */
24339
- title: string;
24340
- /** @description Description for UI/display */
24341
- description: string;
24342
- /**
24343
- * @description Semantic type of the setting value
24344
- * @enum {string}
24345
- */
24346
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24347
- /** @description Optional JSONB filter for available values */
24348
- filter?: string;
24349
- };
24350
- };
24351
- };
24352
- };
24353
- };
24354
- responses: {
24355
- /** @description Successful response */
24356
- 200: {
24357
- headers: {
24358
- [name: string]: unknown;
24359
- };
24360
- content: {
24361
- "application/json": {
24362
- id: string;
24363
- };
24364
- };
24365
- };
24366
- /** @description Invalid input data */
24367
- 400: {
24368
- headers: {
24369
- [name: string]: unknown;
24370
- };
24371
- content: {
24372
- "application/json": components["schemas"]["error.BAD_REQUEST"];
24373
- };
24374
- };
24375
- /** @description Authorization not provided */
24376
- 401: {
24377
- headers: {
24378
- [name: string]: unknown;
24379
- };
24380
- content: {
24381
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24382
- };
24383
- };
24384
- /** @description Insufficient access */
24385
- 403: {
24386
- headers: {
24387
- [name: string]: unknown;
24388
- };
24389
- content: {
24390
- "application/json": components["schemas"]["error.FORBIDDEN"];
24391
- };
24392
- };
24393
- /** @description Internal server error */
24394
- 500: {
24395
- headers: {
24396
- [name: string]: unknown;
24397
- };
24398
- content: {
24399
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24400
- };
24401
- };
24402
- };
24403
- };
24404
24254
  getFlow: {
24405
24255
  parameters: {
24406
24256
  query?: never;
@@ -24524,7 +24374,7 @@ export interface operations {
24524
24374
  };
24525
24375
  };
24526
24376
  };
24527
- updateFlow: {
24377
+ getFlowConnection: {
24528
24378
  parameters: {
24529
24379
  query?: never;
24530
24380
  header?: {
@@ -24532,62 +24382,11 @@ export interface operations {
24532
24382
  };
24533
24383
  path: {
24534
24384
  id: string;
24385
+ connectionId: string;
24535
24386
  };
24536
24387
  cookie?: never;
24537
24388
  };
24538
- requestBody: {
24539
- content: {
24540
- "application/json": {
24541
- title?: string;
24542
- appId?: string;
24543
- description?: string | null;
24544
- /** @description Dictionary of mapping entries by mapping_key */
24545
- mappingSchema?: {
24546
- [key: string]: {
24547
- /** @description Title for UI/display */
24548
- title: string;
24549
- /** @description Description for UI/display */
24550
- description: string;
24551
- /** @description Internal system mapping configuration */
24552
- internal: {
24553
- /**
24554
- * @description Internal semantic type
24555
- * @enum {string}
24556
- */
24557
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24558
- /** @description Optional JSONB filter for internal data */
24559
- filter?: string;
24560
- };
24561
- /** @description External system mapping configuration */
24562
- external: {
24563
- /** @description External type identifier (vendor/system specific) */
24564
- type: string;
24565
- /** @description Optional JSONB filter for external data */
24566
- filter?: string;
24567
- };
24568
- };
24569
- };
24570
- /** @description Dictionary of setting entries by setting_key */
24571
- settingSchema?: {
24572
- [key: string]: {
24573
- /** @description Title for UI/display */
24574
- title: string;
24575
- /** @description Description for UI/display */
24576
- description: string;
24577
- /**
24578
- * @description Semantic type of the setting value
24579
- * @enum {string}
24580
- */
24581
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24582
- /** @description Optional JSONB filter for available values */
24583
- filter?: string;
24584
- };
24585
- };
24586
- /** @enum {string} */
24587
- type?: "push" | "pull";
24588
- };
24589
- };
24590
- };
24389
+ requestBody?: never;
24591
24390
  responses: {
24592
24391
  /** @description Successful response */
24593
24392
  200: {
@@ -24598,204 +24397,8 @@ export interface operations {
24598
24397
  "application/json": {
24599
24398
  /** Format: uuid */
24600
24399
  id: string;
24601
- title: string;
24602
- app: {
24603
- id: string;
24604
- name: string;
24605
- icon?: string | null;
24606
- };
24607
- description?: string | null;
24608
- /** @description Mapping schema configuration for this flow */
24609
- mappingSchema: {
24610
- [key: string]: {
24611
- /** @description Title for UI/display */
24612
- title: string;
24613
- /** @description Description for UI/display */
24614
- description: string;
24615
- /** @description Internal system mapping configuration */
24616
- internal: {
24617
- /**
24618
- * @description Internal semantic type
24619
- * @enum {string}
24620
- */
24621
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24622
- /** @description Optional JSONB filter for internal data */
24623
- filter?: string;
24624
- };
24625
- /** @description External system mapping configuration */
24626
- external: {
24627
- /** @description External type identifier (vendor/system specific) */
24628
- type: string;
24629
- /** @description Optional JSONB filter for external data */
24630
- filter?: string;
24631
- };
24632
- };
24633
- };
24634
- /** @description Setting schema configuration for this flow */
24635
- settingSchema: {
24636
- [key: string]: {
24637
- /** @description Title for UI/display */
24638
- title: string;
24639
- /** @description Description for UI/display */
24640
- description: string;
24641
- /**
24642
- * @description Semantic type of the setting value
24643
- * @enum {string}
24644
- */
24645
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24646
- /** @description Optional JSONB filter for available values */
24647
- filter?: string;
24648
- };
24649
- };
24650
- /** @enum {string} */
24651
- type?: "push" | "pull";
24652
- };
24653
- };
24654
- };
24655
- /** @description Invalid input data */
24656
- 400: {
24657
- headers: {
24658
- [name: string]: unknown;
24659
- };
24660
- content: {
24661
- "application/json": components["schemas"]["error.BAD_REQUEST"];
24662
- };
24663
- };
24664
- /** @description Authorization not provided */
24665
- 401: {
24666
- headers: {
24667
- [name: string]: unknown;
24668
- };
24669
- content: {
24670
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24671
- };
24672
- };
24673
- /** @description Insufficient access */
24674
- 403: {
24675
- headers: {
24676
- [name: string]: unknown;
24677
- };
24678
- content: {
24679
- "application/json": components["schemas"]["error.FORBIDDEN"];
24680
- };
24681
- };
24682
- /** @description Not found */
24683
- 404: {
24684
- headers: {
24685
- [name: string]: unknown;
24686
- };
24687
- content: {
24688
- "application/json": components["schemas"]["error.NOT_FOUND"];
24689
- };
24690
- };
24691
- /** @description Internal server error */
24692
- 500: {
24693
- headers: {
24694
- [name: string]: unknown;
24695
- };
24696
- content: {
24697
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24698
- };
24699
- };
24700
- };
24701
- };
24702
- deleteFlow: {
24703
- parameters: {
24704
- query?: never;
24705
- header?: {
24706
- "X-Team-Id"?: string;
24707
- };
24708
- path: {
24709
- id: string;
24710
- };
24711
- cookie?: never;
24712
- };
24713
- requestBody?: never;
24714
- responses: {
24715
- /** @description Successful response */
24716
- 200: {
24717
- headers: {
24718
- [name: string]: unknown;
24719
- };
24720
- content: {
24721
- "application/json": {
24722
- /** @enum {string} */
24723
- status: "deleted";
24724
- };
24725
- };
24726
- };
24727
- /** @description Invalid input data */
24728
- 400: {
24729
- headers: {
24730
- [name: string]: unknown;
24731
- };
24732
- content: {
24733
- "application/json": components["schemas"]["error.BAD_REQUEST"];
24734
- };
24735
- };
24736
- /** @description Authorization not provided */
24737
- 401: {
24738
- headers: {
24739
- [name: string]: unknown;
24740
- };
24741
- content: {
24742
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24743
- };
24744
- };
24745
- /** @description Insufficient access */
24746
- 403: {
24747
- headers: {
24748
- [name: string]: unknown;
24749
- };
24750
- content: {
24751
- "application/json": components["schemas"]["error.FORBIDDEN"];
24752
- };
24753
- };
24754
- /** @description Not found */
24755
- 404: {
24756
- headers: {
24757
- [name: string]: unknown;
24758
- };
24759
- content: {
24760
- "application/json": components["schemas"]["error.NOT_FOUND"];
24761
- };
24762
- };
24763
- /** @description Internal server error */
24764
- 500: {
24765
- headers: {
24766
- [name: string]: unknown;
24767
- };
24768
- content: {
24769
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24770
- };
24771
- };
24772
- };
24773
- };
24774
- getFlowConnection: {
24775
- parameters: {
24776
- query?: never;
24777
- header?: {
24778
- "X-Team-Id"?: string;
24779
- };
24780
- path: {
24781
- id: string;
24782
- connectionId: string;
24783
- };
24784
- cookie?: never;
24785
- };
24786
- requestBody?: never;
24787
- responses: {
24788
- /** @description Successful response */
24789
- 200: {
24790
- headers: {
24791
- [name: string]: unknown;
24792
- };
24793
- content: {
24794
- "application/json": {
24795
- /** Format: uuid */
24796
- id: string;
24797
- /** Format: uuid */
24798
- connectionId: string;
24400
+ /** Format: uuid */
24401
+ connectionId: string;
24799
24402
  title: string;
24800
24403
  description: string | null;
24801
24404
  /** @enum {string} */
@@ -25011,9 +24614,10 @@ export interface operations {
25011
24614
  };
25012
24615
  };
25013
24616
  };
25014
- getFlowSettings: {
24617
+ getFlowMapping: {
25015
24618
  parameters: {
25016
24619
  query?: {
24620
+ sourceId?: string;
25017
24621
  limit?: number;
25018
24622
  page?: number;
25019
24623
  };
@@ -25023,6 +24627,7 @@ export interface operations {
25023
24627
  path: {
25024
24628
  id: string;
25025
24629
  connectionId: string;
24630
+ mappingKey: string;
25026
24631
  };
25027
24632
  cookie?: never;
25028
24633
  };
@@ -25035,7 +24640,7 @@ export interface operations {
25035
24640
  };
25036
24641
  content: {
25037
24642
  "application/json": {
25038
- data: components["schemas"]["FlowSettingItemGet"][];
24643
+ data: components["schemas"]["FlowMappingItemGet"][];
25039
24644
  pagination: {
25040
24645
  /** @default 100 */
25041
24646
  limit: number;
@@ -25095,24 +24700,32 @@ export interface operations {
25095
24700
  };
25096
24701
  };
25097
24702
  };
25098
- listFlowSettingOptions: {
24703
+ setFlowMapping: {
25099
24704
  parameters: {
25100
- query?: {
25101
- search?: string;
25102
- limit?: number;
25103
- page?: number;
25104
- };
24705
+ query?: never;
25105
24706
  header?: {
25106
24707
  "X-Team-Id"?: string;
25107
24708
  };
25108
24709
  path: {
25109
24710
  id: string;
25110
24711
  connectionId: string;
25111
- settingKey: string;
24712
+ mappingKey: string;
25112
24713
  };
25113
24714
  cookie?: never;
25114
24715
  };
25115
- requestBody?: never;
24716
+ requestBody: {
24717
+ content: {
24718
+ "application/json": {
24719
+ /** Format: uuid */
24720
+ sourceId: string;
24721
+ value?: unknown;
24722
+ /** @default 100 */
24723
+ limit?: number;
24724
+ /** @default 1 */
24725
+ page?: number;
24726
+ };
24727
+ };
24728
+ };
25116
24729
  responses: {
25117
24730
  /** @description Successful response */
25118
24731
  200: {
@@ -25121,12 +24734,7 @@ export interface operations {
25121
24734
  };
25122
24735
  content: {
25123
24736
  "application/json": {
25124
- data: {
25125
- id: string;
25126
- name: string;
25127
- description: string | null;
25128
- value?: unknown;
25129
- }[];
24737
+ data: components["schemas"]["FlowMappingItemPost"][];
25130
24738
  pagination: {
25131
24739
  /** @default 100 */
25132
24740
  limit: number;
@@ -25166,93 +24774,6 @@ export interface operations {
25166
24774
  "application/json": components["schemas"]["error.FORBIDDEN"];
25167
24775
  };
25168
24776
  };
25169
- /** @description Not found */
25170
- 404: {
25171
- headers: {
25172
- [name: string]: unknown;
25173
- };
25174
- content: {
25175
- "application/json": components["schemas"]["error.NOT_FOUND"];
25176
- };
25177
- };
25178
- /** @description Internal server error */
25179
- 500: {
25180
- headers: {
25181
- [name: string]: unknown;
25182
- };
25183
- content: {
25184
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25185
- };
25186
- };
25187
- };
25188
- };
25189
- setFlowSetting: {
25190
- parameters: {
25191
- query?: never;
25192
- header?: {
25193
- "X-Team-Id"?: string;
25194
- };
25195
- path: {
25196
- id: string;
25197
- connectionId: string;
25198
- settingKey: string;
25199
- };
25200
- cookie?: never;
25201
- };
25202
- requestBody: {
25203
- content: {
25204
- "application/json": {
25205
- value?: unknown;
25206
- };
25207
- };
25208
- };
25209
- responses: {
25210
- /** @description Successful response */
25211
- 200: {
25212
- headers: {
25213
- [name: string]: unknown;
25214
- };
25215
- content: {
25216
- "application/json": {
25217
- /** Format: uuid */
25218
- id: string;
25219
- /** Format: uuid */
25220
- connectionId: string;
25221
- title: string;
25222
- description: string | null;
25223
- /** @enum {string} */
25224
- status: "active" | "inactive";
25225
- settings: components["schemas"]["FlowSettingItemsPost"];
25226
- };
25227
- };
25228
- };
25229
- /** @description Invalid input data */
25230
- 400: {
25231
- headers: {
25232
- [name: string]: unknown;
25233
- };
25234
- content: {
25235
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25236
- };
25237
- };
25238
- /** @description Authorization not provided */
25239
- 401: {
25240
- headers: {
25241
- [name: string]: unknown;
25242
- };
25243
- content: {
25244
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25245
- };
25246
- };
25247
- /** @description Insufficient access */
25248
- 403: {
25249
- headers: {
25250
- [name: string]: unknown;
25251
- };
25252
- content: {
25253
- "application/json": components["schemas"]["error.FORBIDDEN"];
25254
- };
25255
- };
25256
24777
  /** @description Internal server error */
25257
24778
  500: {
25258
24779
  headers: {
@@ -25264,10 +24785,10 @@ export interface operations {
25264
24785
  };
25265
24786
  };
25266
24787
  };
25267
- getFlowMapping: {
24788
+ getFlowMappingSources: {
25268
24789
  parameters: {
25269
24790
  query?: {
25270
- sourceId?: string;
24791
+ search?: string;
25271
24792
  limit?: number;
25272
24793
  page?: number;
25273
24794
  };
@@ -25290,7 +24811,12 @@ export interface operations {
25290
24811
  };
25291
24812
  content: {
25292
24813
  "application/json": {
25293
- data: components["schemas"]["FlowMappingItemGet"][];
24814
+ data: {
24815
+ id: string;
24816
+ name: string;
24817
+ /** @enum {string} */
24818
+ status: "mapped" | "unmapped";
24819
+ }[];
25294
24820
  pagination: {
25295
24821
  /** @default 100 */
25296
24822
  limit: number;
@@ -25350,95 +24876,10 @@ export interface operations {
25350
24876
  };
25351
24877
  };
25352
24878
  };
25353
- setFlowMapping: {
25354
- parameters: {
25355
- query?: never;
25356
- header?: {
25357
- "X-Team-Id"?: string;
25358
- };
25359
- path: {
25360
- id: string;
25361
- connectionId: string;
25362
- mappingKey: string;
25363
- };
25364
- cookie?: never;
25365
- };
25366
- requestBody: {
25367
- content: {
25368
- "application/json": {
25369
- /** Format: uuid */
25370
- sourceId: string;
25371
- value?: unknown;
25372
- /** @default 100 */
25373
- limit?: number;
25374
- /** @default 1 */
25375
- page?: number;
25376
- };
25377
- };
25378
- };
25379
- responses: {
25380
- /** @description Successful response */
25381
- 200: {
25382
- headers: {
25383
- [name: string]: unknown;
25384
- };
25385
- content: {
25386
- "application/json": {
25387
- data: components["schemas"]["FlowMappingItemPost"][];
25388
- pagination: {
25389
- /** @default 100 */
25390
- limit: number;
25391
- /** @default 1 */
25392
- page: number;
25393
- total: number;
25394
- totalPage: number;
25395
- nextPage?: number;
25396
- };
25397
- };
25398
- };
25399
- };
25400
- /** @description Invalid input data */
25401
- 400: {
25402
- headers: {
25403
- [name: string]: unknown;
25404
- };
25405
- content: {
25406
- "application/json": components["schemas"]["error.BAD_REQUEST"];
25407
- };
25408
- };
25409
- /** @description Authorization not provided */
25410
- 401: {
25411
- headers: {
25412
- [name: string]: unknown;
25413
- };
25414
- content: {
25415
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
25416
- };
25417
- };
25418
- /** @description Insufficient access */
25419
- 403: {
25420
- headers: {
25421
- [name: string]: unknown;
25422
- };
25423
- content: {
25424
- "application/json": components["schemas"]["error.FORBIDDEN"];
25425
- };
25426
- };
25427
- /** @description Internal server error */
25428
- 500: {
25429
- headers: {
25430
- [name: string]: unknown;
25431
- };
25432
- content: {
25433
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25434
- };
25435
- };
25436
- };
25437
- };
25438
- getFlowMappings: {
24879
+ getFlowMappingDestinations: {
25439
24880
  parameters: {
25440
24881
  query?: {
25441
- sourceId?: string;
24882
+ search?: string;
25442
24883
  limit?: number;
25443
24884
  page?: number;
25444
24885
  };
@@ -25448,6 +24889,7 @@ export interface operations {
25448
24889
  path: {
25449
24890
  id: string;
25450
24891
  connectionId: string;
24892
+ mappingKey: string;
25451
24893
  };
25452
24894
  cookie?: never;
25453
24895
  };
@@ -25460,7 +24902,10 @@ export interface operations {
25460
24902
  };
25461
24903
  content: {
25462
24904
  "application/json": {
25463
- data: components["schemas"]["FlowMappingItemGet"][];
24905
+ data: {
24906
+ id: string;
24907
+ name: string;
24908
+ }[];
25464
24909
  pagination: {
25465
24910
  /** @default 100 */
25466
24911
  limit: number;
@@ -25520,7 +24965,7 @@ export interface operations {
25520
24965
  };
25521
24966
  };
25522
24967
  };
25523
- listFlowMappingSources: {
24968
+ getFlowSetting: {
25524
24969
  parameters: {
25525
24970
  query?: {
25526
24971
  search?: string;
@@ -25533,7 +24978,7 @@ export interface operations {
25533
24978
  path: {
25534
24979
  id: string;
25535
24980
  connectionId: string;
25536
- mappingKey: string;
24981
+ settingKey: string;
25537
24982
  };
25538
24983
  cookie?: never;
25539
24984
  };
@@ -25549,8 +24994,8 @@ export interface operations {
25549
24994
  data: {
25550
24995
  id: string;
25551
24996
  name: string;
25552
- /** @enum {string} */
25553
- status: "mapped" | "unmapped";
24997
+ description: string | null;
24998
+ value?: unknown;
25554
24999
  }[];
25555
25000
  pagination: {
25556
25001
  /** @default 100 */
@@ -25611,24 +25056,26 @@ export interface operations {
25611
25056
  };
25612
25057
  };
25613
25058
  };
25614
- listFlowMappingDestinations: {
25059
+ setFlowSetting: {
25615
25060
  parameters: {
25616
- query?: {
25617
- search?: string;
25618
- limit?: number;
25619
- page?: number;
25620
- };
25061
+ query?: never;
25621
25062
  header?: {
25622
25063
  "X-Team-Id"?: string;
25623
25064
  };
25624
25065
  path: {
25625
25066
  id: string;
25626
25067
  connectionId: string;
25627
- mappingKey: string;
25068
+ settingKey: string;
25628
25069
  };
25629
25070
  cookie?: never;
25630
25071
  };
25631
- requestBody?: never;
25072
+ requestBody: {
25073
+ content: {
25074
+ "application/json": {
25075
+ value?: unknown;
25076
+ };
25077
+ };
25078
+ };
25632
25079
  responses: {
25633
25080
  /** @description Successful response */
25634
25081
  200: {
@@ -25637,19 +25084,15 @@ export interface operations {
25637
25084
  };
25638
25085
  content: {
25639
25086
  "application/json": {
25640
- data: {
25641
- id: string;
25642
- name: string;
25643
- }[];
25644
- pagination: {
25645
- /** @default 100 */
25646
- limit: number;
25647
- /** @default 1 */
25648
- page: number;
25649
- total: number;
25650
- totalPage: number;
25651
- nextPage?: number;
25652
- };
25087
+ /** Format: uuid */
25088
+ id: string;
25089
+ /** Format: uuid */
25090
+ connectionId: string;
25091
+ title: string;
25092
+ description: string | null;
25093
+ /** @enum {string} */
25094
+ status: "active" | "inactive";
25095
+ settings: components["schemas"]["FlowSettingItemsPost"];
25653
25096
  };
25654
25097
  };
25655
25098
  };
@@ -25680,15 +25123,6 @@ export interface operations {
25680
25123
  "application/json": components["schemas"]["error.FORBIDDEN"];
25681
25124
  };
25682
25125
  };
25683
- /** @description Not found */
25684
- 404: {
25685
- headers: {
25686
- [name: string]: unknown;
25687
- };
25688
- content: {
25689
- "application/json": components["schemas"]["error.NOT_FOUND"];
25690
- };
25691
- };
25692
25126
  /** @description Internal server error */
25693
25127
  500: {
25694
25128
  headers: {