@vrplatform/api 1.3.0-stage.1261 → 1.3.0-stage.1263

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.
@@ -3,6 +3,40 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export interface paths {
6
+ "/apps/{id}": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** @description Get app by ID */
14
+ get: operations["getApp"];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ "/apps": {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ /** @description Get apps */
31
+ get: operations["getApps"];
32
+ put?: never;
33
+ post?: never;
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
6
40
  "/bank-accounts/batch": {
7
41
  parameters: {
8
42
  query?: never;
@@ -2197,23 +2231,23 @@ export interface components {
2197
2231
  }[];
2198
2232
  };
2199
2233
  /**
2200
- * Internal server error error (500)
2234
+ * Not found error (404)
2201
2235
  * @description The error information
2202
2236
  * @example {
2203
- * "code": "INTERNAL_SERVER_ERROR",
2204
- * "message": "Internal server error",
2237
+ * "code": "NOT_FOUND",
2238
+ * "message": "Not found",
2205
2239
  * "issues": []
2206
2240
  * }
2207
2241
  */
2208
- "error.INTERNAL_SERVER_ERROR": {
2242
+ "error.NOT_FOUND": {
2209
2243
  /**
2210
2244
  * @description The error message
2211
- * @example Internal server error
2245
+ * @example Not found
2212
2246
  */
2213
2247
  message: string;
2214
2248
  /**
2215
2249
  * @description The error code
2216
- * @example INTERNAL_SERVER_ERROR
2250
+ * @example NOT_FOUND
2217
2251
  */
2218
2252
  code: string;
2219
2253
  /**
@@ -2225,23 +2259,23 @@ export interface components {
2225
2259
  }[];
2226
2260
  };
2227
2261
  /**
2228
- * Not found error (404)
2262
+ * Internal server error error (500)
2229
2263
  * @description The error information
2230
2264
  * @example {
2231
- * "code": "NOT_FOUND",
2232
- * "message": "Not found",
2265
+ * "code": "INTERNAL_SERVER_ERROR",
2266
+ * "message": "Internal server error",
2233
2267
  * "issues": []
2234
2268
  * }
2235
2269
  */
2236
- "error.NOT_FOUND": {
2270
+ "error.INTERNAL_SERVER_ERROR": {
2237
2271
  /**
2238
2272
  * @description The error message
2239
- * @example Not found
2273
+ * @example Internal server error
2240
2274
  */
2241
2275
  message: string;
2242
2276
  /**
2243
2277
  * @description The error code
2244
- * @example NOT_FOUND
2278
+ * @example INTERNAL_SERVER_ERROR
2245
2279
  */
2246
2280
  code: string;
2247
2281
  /**
@@ -2491,6 +2525,197 @@ export interface components {
2491
2525
  }
2492
2526
  export type $defs = Record<string, never>;
2493
2527
  export interface operations {
2528
+ getApp: {
2529
+ parameters: {
2530
+ query?: never;
2531
+ header?: {
2532
+ "X-Team-Id"?: string;
2533
+ };
2534
+ path: {
2535
+ id: string;
2536
+ };
2537
+ cookie?: never;
2538
+ };
2539
+ requestBody?: never;
2540
+ responses: {
2541
+ /** @description Successful response */
2542
+ 200: {
2543
+ headers: {
2544
+ [name: string]: unknown;
2545
+ };
2546
+ content: {
2547
+ "application/json": {
2548
+ /** Format: uuid */
2549
+ id: string;
2550
+ name: string;
2551
+ icon?: string;
2552
+ type: string;
2553
+ category: string;
2554
+ description?: string | null;
2555
+ flows: {
2556
+ /** Format: uuid */
2557
+ id: string;
2558
+ name: string;
2559
+ /** @enum {string} */
2560
+ type: "push" | "pull";
2561
+ left: string;
2562
+ right: string;
2563
+ }[];
2564
+ extractors: string[];
2565
+ importers: string[];
2566
+ };
2567
+ };
2568
+ };
2569
+ /** @description Invalid input data */
2570
+ 400: {
2571
+ headers: {
2572
+ [name: string]: unknown;
2573
+ };
2574
+ content: {
2575
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
2576
+ };
2577
+ };
2578
+ /** @description Authorization not provided */
2579
+ 401: {
2580
+ headers: {
2581
+ [name: string]: unknown;
2582
+ };
2583
+ content: {
2584
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
2585
+ };
2586
+ };
2587
+ /** @description Insufficient access */
2588
+ 403: {
2589
+ headers: {
2590
+ [name: string]: unknown;
2591
+ };
2592
+ content: {
2593
+ "application/json": components["schemas"]["error.FORBIDDEN"];
2594
+ };
2595
+ };
2596
+ /** @description Not found */
2597
+ 404: {
2598
+ headers: {
2599
+ [name: string]: unknown;
2600
+ };
2601
+ content: {
2602
+ "application/json": components["schemas"]["error.NOT_FOUND"];
2603
+ };
2604
+ };
2605
+ /** @description Internal server error */
2606
+ 500: {
2607
+ headers: {
2608
+ [name: string]: unknown;
2609
+ };
2610
+ content: {
2611
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
2612
+ };
2613
+ };
2614
+ };
2615
+ };
2616
+ getApps: {
2617
+ parameters: {
2618
+ query?: {
2619
+ search?: string;
2620
+ category?: string;
2621
+ type?: string;
2622
+ limit?: number;
2623
+ page?: number;
2624
+ };
2625
+ header?: {
2626
+ "X-Team-Id"?: string;
2627
+ };
2628
+ path?: never;
2629
+ cookie?: never;
2630
+ };
2631
+ requestBody?: never;
2632
+ responses: {
2633
+ /** @description Successful response */
2634
+ 200: {
2635
+ headers: {
2636
+ [name: string]: unknown;
2637
+ };
2638
+ content: {
2639
+ "application/json": {
2640
+ data: {
2641
+ /** Format: uuid */
2642
+ id: string;
2643
+ name: string;
2644
+ icon?: string;
2645
+ type: string;
2646
+ category: string;
2647
+ description?: string | null;
2648
+ flows: {
2649
+ /** Format: uuid */
2650
+ id: string;
2651
+ name: string;
2652
+ /** @enum {string} */
2653
+ type: "push" | "pull";
2654
+ left: string;
2655
+ right: string;
2656
+ }[];
2657
+ extractors: string[];
2658
+ importers: string[];
2659
+ }[];
2660
+ pagination: {
2661
+ /** @default 100 */
2662
+ limit: number;
2663
+ /** @default 1 */
2664
+ page: number;
2665
+ total: number;
2666
+ totalPage: number;
2667
+ nextPage?: number;
2668
+ };
2669
+ };
2670
+ };
2671
+ };
2672
+ /** @description Invalid input data */
2673
+ 400: {
2674
+ headers: {
2675
+ [name: string]: unknown;
2676
+ };
2677
+ content: {
2678
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
2679
+ };
2680
+ };
2681
+ /** @description Authorization not provided */
2682
+ 401: {
2683
+ headers: {
2684
+ [name: string]: unknown;
2685
+ };
2686
+ content: {
2687
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
2688
+ };
2689
+ };
2690
+ /** @description Insufficient access */
2691
+ 403: {
2692
+ headers: {
2693
+ [name: string]: unknown;
2694
+ };
2695
+ content: {
2696
+ "application/json": components["schemas"]["error.FORBIDDEN"];
2697
+ };
2698
+ };
2699
+ /** @description Not found */
2700
+ 404: {
2701
+ headers: {
2702
+ [name: string]: unknown;
2703
+ };
2704
+ content: {
2705
+ "application/json": components["schemas"]["error.NOT_FOUND"];
2706
+ };
2707
+ };
2708
+ /** @description Internal server error */
2709
+ 500: {
2710
+ headers: {
2711
+ [name: string]: unknown;
2712
+ };
2713
+ content: {
2714
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
2715
+ };
2716
+ };
2717
+ };
2718
+ };
2494
2719
  batchBankAccounts: {
2495
2720
  parameters: {
2496
2721
  query?: never;