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

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