@vrplatform/api 1.3.0-stage.1153 → 1.3.0-stage.1155

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.
@@ -1995,7 +1995,7 @@ export interface paths {
1995
1995
  path?: never;
1996
1996
  cookie?: never;
1997
1997
  };
1998
- /** @description List flow mapping entry for a specific key */
1998
+ /** @description List flow mapping entry for a specific key or get a specific mapping entry by sourceId */
1999
1999
  get: operations["getFlowMapping"];
2000
2000
  put?: never;
2001
2001
  /** @description Create, update or delete a flow mapping entry */
@@ -2058,6 +2058,23 @@ export interface paths {
2058
2058
  patch?: never;
2059
2059
  trace?: never;
2060
2060
  };
2061
+ "/flows/{id}/{connectionId}/settings/{settingKey}/options": {
2062
+ parameters: {
2063
+ query?: never;
2064
+ header?: never;
2065
+ path?: never;
2066
+ cookie?: never;
2067
+ };
2068
+ /** @description List available options for a flow setting */
2069
+ get: operations["getFlowSettingOptions"];
2070
+ put?: never;
2071
+ post?: never;
2072
+ delete?: never;
2073
+ options?: never;
2074
+ head?: never;
2075
+ patch?: never;
2076
+ trace?: never;
2077
+ };
2061
2078
  }
2062
2079
  export type webhooks = Record<string, never>;
2063
2080
  export interface components {
@@ -2348,8 +2365,6 @@ export interface components {
2348
2365
  total: number;
2349
2366
  values: components["schemas"]["ProfitAndLossValueCell"][];
2350
2367
  };
2351
- /** @description Collection of settings returned by GET routes with normalized { id, name, type } value payloads. */
2352
- FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2353
2368
  /** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
2354
2369
  FlowSettingItemGet: {
2355
2370
  /** Format: uuid */
@@ -24556,7 +24571,7 @@ export interface operations {
24556
24571
  description: string | null;
24557
24572
  /** @enum {string} */
24558
24573
  status: "active" | "inactive";
24559
- settings: components["schemas"]["FlowSettingItemsGet"];
24574
+ settings: components["schemas"]["FlowSettingItemGet"][];
24560
24575
  };
24561
24576
  };
24562
24577
  };
@@ -24643,7 +24658,7 @@ export interface operations {
24643
24658
  description: string | null;
24644
24659
  /** @enum {string} */
24645
24660
  status: "active" | "inactive";
24646
- settings: components["schemas"]["FlowSettingItemsGet"];
24661
+ settings: components["schemas"]["FlowSettingItemGet"][];
24647
24662
  };
24648
24663
  };
24649
24664
  };
@@ -24769,8 +24784,8 @@ export interface operations {
24769
24784
  };
24770
24785
  getFlowMapping: {
24771
24786
  parameters: {
24772
- query: {
24773
- sourceId: string;
24787
+ query?: {
24788
+ sourceId?: string;
24774
24789
  limit?: number;
24775
24790
  page?: number;
24776
24791
  };
@@ -25130,9 +25145,7 @@ export interface operations {
25130
25145
  };
25131
25146
  getFlowSetting: {
25132
25147
  parameters: {
25133
- query?: {
25134
- search?: string;
25135
- };
25148
+ query?: never;
25136
25149
  header?: {
25137
25150
  "X-Team-Id"?: string;
25138
25151
  };
@@ -25288,4 +25301,93 @@ export interface operations {
25288
25301
  };
25289
25302
  };
25290
25303
  };
25304
+ getFlowSettingOptions: {
25305
+ parameters: {
25306
+ query?: {
25307
+ search?: string;
25308
+ limit?: number;
25309
+ page?: number;
25310
+ };
25311
+ header?: {
25312
+ "X-Team-Id"?: string;
25313
+ };
25314
+ path: {
25315
+ id: string;
25316
+ connectionId: string;
25317
+ settingKey: string;
25318
+ };
25319
+ cookie?: never;
25320
+ };
25321
+ requestBody?: never;
25322
+ responses: {
25323
+ /** @description Successful response */
25324
+ 200: {
25325
+ headers: {
25326
+ [name: string]: unknown;
25327
+ };
25328
+ content: {
25329
+ "application/json": {
25330
+ data: {
25331
+ id: string;
25332
+ name: string;
25333
+ }[];
25334
+ pagination: {
25335
+ /** @default 100 */
25336
+ limit: number;
25337
+ /** @default 1 */
25338
+ page: number;
25339
+ total: number;
25340
+ totalPage: number;
25341
+ nextPage?: number;
25342
+ };
25343
+ };
25344
+ };
25345
+ };
25346
+ /** @description Invalid input data */
25347
+ 400: {
25348
+ headers: {
25349
+ [name: string]: unknown;
25350
+ };
25351
+ content: {
25352
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25353
+ };
25354
+ };
25355
+ /** @description Authorization not provided */
25356
+ 401: {
25357
+ headers: {
25358
+ [name: string]: unknown;
25359
+ };
25360
+ content: {
25361
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
25362
+ };
25363
+ };
25364
+ /** @description Insufficient access */
25365
+ 403: {
25366
+ headers: {
25367
+ [name: string]: unknown;
25368
+ };
25369
+ content: {
25370
+ "application/json": components["schemas"]["error.FORBIDDEN"];
25371
+ };
25372
+ };
25373
+ /** @description Not found */
25374
+ 404: {
25375
+ headers: {
25376
+ [name: string]: unknown;
25377
+ };
25378
+ content: {
25379
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25380
+ };
25381
+ };
25382
+ /** @description Internal server error */
25383
+ 500: {
25384
+ headers: {
25385
+ [name: string]: unknown;
25386
+ };
25387
+ content: {
25388
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25389
+ };
25390
+ };
25391
+ };
25392
+ };
25291
25393
  }