@vrplatform/api 1.2.33-stage.881 → 1.2.33-stage.882

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.
@@ -1904,34 +1904,35 @@ export interface paths {
1904
1904
  patch?: never;
1905
1905
  trace?: never;
1906
1906
  };
1907
- "/flows/{id}/{connectionId}/mappings": {
1907
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1908
1908
  parameters: {
1909
1909
  query?: never;
1910
1910
  header?: never;
1911
1911
  path?: never;
1912
1912
  cookie?: never;
1913
1913
  };
1914
- /** @description List flow mappings for a connection */
1915
- get: operations["getFlowMappings"];
1914
+ /** @description List flow mapping entry for a specific key */
1915
+ get: operations["getFlowMapping"];
1916
1916
  put?: never;
1917
- post?: never;
1917
+ /** @description Create, update or delete a flow mapping entry */
1918
+ post: operations["setFlowMapping"];
1918
1919
  delete?: never;
1919
1920
  options?: never;
1920
1921
  head?: never;
1921
1922
  patch?: never;
1922
1923
  trace?: never;
1923
1924
  };
1924
- "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1925
+ "/flows/{id}/{connectionId}/mappings": {
1925
1926
  parameters: {
1926
1927
  query?: never;
1927
1928
  header?: never;
1928
1929
  path?: never;
1929
1930
  cookie?: never;
1930
1931
  };
1931
- get?: never;
1932
+ /** @description List flow mappings for a connection */
1933
+ get: operations["getFlowMappings"];
1932
1934
  put?: never;
1933
- /** @description Create, update or delete a flow mapping entry */
1934
- post: operations["setFlowMapping"];
1935
+ post?: never;
1935
1936
  delete?: never;
1936
1937
  options?: never;
1937
1938
  head?: never;
@@ -2327,8 +2328,7 @@ export interface components {
2327
2328
  /** Format: uuid */
2328
2329
  connectionId: string;
2329
2330
  mappingKey: string;
2330
- /** Format: uuid */
2331
- sourceId: string;
2331
+ sourceId: string | null;
2332
2332
  title: string | null;
2333
2333
  description: string | null;
2334
2334
  value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
@@ -2344,8 +2344,7 @@ export interface components {
2344
2344
  /** Format: uuid */
2345
2345
  connectionId: string;
2346
2346
  mappingKey: string;
2347
- /** Format: uuid */
2348
- sourceId: string;
2347
+ sourceId: string | null;
2349
2348
  title: string | null;
2350
2349
  description: string | null;
2351
2350
  value: components["schemas"]["FlowMappingPostValue"];
@@ -26732,7 +26731,7 @@ export interface operations {
26732
26731
  };
26733
26732
  };
26734
26733
  };
26735
- getFlowMappings: {
26734
+ getFlowMapping: {
26736
26735
  parameters: {
26737
26736
  query?: {
26738
26737
  sourceId?: string;
@@ -26745,6 +26744,7 @@ export interface operations {
26745
26744
  path: {
26746
26745
  id: string;
26747
26746
  connectionId: string;
26747
+ mappingKey: string;
26748
26748
  };
26749
26749
  cookie?: never;
26750
26750
  };
@@ -26902,6 +26902,91 @@ export interface operations {
26902
26902
  };
26903
26903
  };
26904
26904
  };
26905
+ getFlowMappings: {
26906
+ parameters: {
26907
+ query?: {
26908
+ sourceId?: string;
26909
+ limit?: number;
26910
+ page?: number;
26911
+ };
26912
+ header?: {
26913
+ "X-Team-Id"?: string;
26914
+ };
26915
+ path: {
26916
+ id: string;
26917
+ connectionId: string;
26918
+ };
26919
+ cookie?: never;
26920
+ };
26921
+ requestBody?: never;
26922
+ responses: {
26923
+ /** @description Successful response */
26924
+ 200: {
26925
+ headers: {
26926
+ [name: string]: unknown;
26927
+ };
26928
+ content: {
26929
+ "application/json": {
26930
+ data: components["schemas"]["FlowMappingItemGet"][];
26931
+ pagination: {
26932
+ /** @default 100 */
26933
+ limit: number;
26934
+ /** @default 1 */
26935
+ page: number;
26936
+ total: number;
26937
+ totalPage: number;
26938
+ nextPage?: number;
26939
+ };
26940
+ };
26941
+ };
26942
+ };
26943
+ /** @description Invalid input data */
26944
+ 400: {
26945
+ headers: {
26946
+ [name: string]: unknown;
26947
+ };
26948
+ content: {
26949
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
26950
+ };
26951
+ };
26952
+ /** @description Authorization not provided */
26953
+ 401: {
26954
+ headers: {
26955
+ [name: string]: unknown;
26956
+ };
26957
+ content: {
26958
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
26959
+ };
26960
+ };
26961
+ /** @description Insufficient access */
26962
+ 403: {
26963
+ headers: {
26964
+ [name: string]: unknown;
26965
+ };
26966
+ content: {
26967
+ "application/json": components["schemas"]["error.FORBIDDEN"];
26968
+ };
26969
+ };
26970
+ /** @description Not found */
26971
+ 404: {
26972
+ headers: {
26973
+ [name: string]: unknown;
26974
+ };
26975
+ content: {
26976
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26977
+ };
26978
+ };
26979
+ /** @description Internal server error */
26980
+ 500: {
26981
+ headers: {
26982
+ [name: string]: unknown;
26983
+ };
26984
+ content: {
26985
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26986
+ };
26987
+ };
26988
+ };
26989
+ };
26905
26990
  listFlowMappingSources: {
26906
26991
  parameters: {
26907
26992
  query?: {