@botpress/api 1.47.0 → 1.48.1

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.
@@ -1,5 +1,5 @@
1
1
  import * as opapi from '@bpinternal/opapi';
2
- export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
2
+ export type State = opapi.State<'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag'>;
3
3
  export declare const state: {
4
4
  operations: {
5
5
  createConversation: {
@@ -2425,6 +2425,10 @@ export declare const state: {
2425
2425
  status: 409;
2426
2426
  type: string;
2427
2427
  description: string;
2428
+ } | {
2429
+ status: 410;
2430
+ type: string;
2431
+ description: string;
2428
2432
  } | {
2429
2433
  status: 429;
2430
2434
  type: string;
@@ -2508,2065 +2512,17 @@ export declare const state: {
2508
2512
  listTagValuesResponse: true;
2509
2513
  trackAnalyticsResponse: true;
2510
2514
  };
2511
- schemas: {
2512
- Bot: true;
2513
- Integration: true;
2514
- Interface: true;
2515
- Plugin: true;
2516
- Workspace: true;
2517
- WorkspaceMember: true;
2518
- Account: true;
2519
- Usage: true;
2520
- Issue: true;
2521
- IssueEvent: true;
2522
- Activity: true;
2523
- Version: true;
2524
- User: true;
2525
- Conversation: true;
2526
- Event: true;
2527
- Message: true;
2528
- State: true;
2529
- Task: true;
2530
- Workflow: true;
2531
- Table: true;
2532
- Column: true;
2533
- Row: true;
2534
- File: true;
2535
- };
2536
- };
2537
- schemas: {
2538
- Bot: {
2539
- section: "bot";
2540
- schema: {
2541
- type: "object";
2542
- properties: {
2543
- id: {
2544
- type: "string";
2545
- minLength: number;
2546
- maxLength: number;
2547
- description: string;
2548
- };
2549
- createdAt: {
2550
- type: "string";
2551
- format: string;
2552
- description: string;
2553
- };
2554
- updatedAt: {
2555
- type: "string";
2556
- format: string;
2557
- description: string;
2558
- };
2559
- signingSecret: {
2560
- type: "string";
2561
- maxLength: number;
2562
- description: string;
2563
- };
2564
- integrations: {
2565
- type: "object";
2566
- additionalProperties: {
2567
- type: "object";
2568
- properties: {
2569
- enabled: {
2570
- type: "boolean";
2571
- };
2572
- name: {
2573
- type: "string";
2574
- maxLength: number;
2575
- description: string;
2576
- };
2577
- version: {
2578
- type: "string";
2579
- maxLength: number;
2580
- description: string;
2581
- };
2582
- webhookUrl: {
2583
- type: "string";
2584
- maxLength: number;
2585
- };
2586
- webhookId: {
2587
- type: "string";
2588
- maxLength: number;
2589
- };
2590
- identifier: {
2591
- type: "string";
2592
- maxLength: number;
2593
- };
2594
- configurationType: {
2595
- type: "string";
2596
- maxLength: number;
2597
- nullable: true;
2598
- };
2599
- configuration: {
2600
- type: "object";
2601
- additionalProperties: true;
2602
- };
2603
- status: {
2604
- type: "string";
2605
- enum: string[];
2606
- };
2607
- statusReason: {
2608
- type: "string";
2609
- maxLength: number;
2610
- nullable: true;
2611
- };
2612
- disabledChannels: {
2613
- type: "array";
2614
- items: {
2615
- type: "string";
2616
- description: string;
2617
- };
2618
- description: string;
2619
- };
2620
- id: {
2621
- type: "string";
2622
- minLength: number;
2623
- maxLength: number;
2624
- description: string;
2625
- };
2626
- createdAt: {
2627
- type: "string";
2628
- format: string;
2629
- description: string;
2630
- };
2631
- updatedAt: {
2632
- type: "string";
2633
- format: string;
2634
- description: string;
2635
- };
2636
- title: {
2637
- type: "string";
2638
- minLength: number;
2639
- maxLength: number;
2640
- description: string;
2641
- };
2642
- description: {
2643
- type: "string";
2644
- maxLength: number;
2645
- description: string;
2646
- };
2647
- iconUrl: {
2648
- type: "string";
2649
- description: string;
2650
- };
2651
- public: {
2652
- type: "boolean";
2653
- description: string;
2654
- deprecated: true;
2655
- };
2656
- visibility: {
2657
- type: "string";
2658
- enum: string[];
2659
- description: string;
2660
- };
2661
- verificationStatus: {
2662
- type: "string";
2663
- enum: string[];
2664
- description: string;
2665
- };
2666
- };
2667
- required: string[];
2668
- additionalProperties: false;
2669
- };
2670
- description: string;
2671
- };
2672
- plugins: {
2673
- type: "object";
2674
- additionalProperties: {
2675
- type: "object";
2676
- properties: {
2677
- enabled: {
2678
- type: "boolean";
2679
- };
2680
- name: {
2681
- type: "string";
2682
- maxLength: number;
2683
- description: string;
2684
- };
2685
- version: {
2686
- type: "string";
2687
- maxLength: number;
2688
- description: string;
2689
- };
2690
- configuration: {
2691
- type: "object";
2692
- additionalProperties: true;
2693
- };
2694
- interfaces: {
2695
- type: "object";
2696
- additionalProperties: {
2697
- type: "object";
2698
- properties: {
2699
- integrationId: {
2700
- type: "string";
2701
- minLength: number;
2702
- maxLength: number;
2703
- };
2704
- integrationAlias: {
2705
- type: "string";
2706
- maxLength: number;
2707
- };
2708
- integrationInterfaceAlias: {
2709
- type: "string";
2710
- maxLength: number;
2711
- };
2712
- interfaceId: {
2713
- type: "string";
2714
- minLength: number;
2715
- maxLength: number;
2716
- };
2717
- };
2718
- required: string[];
2719
- additionalProperties: false;
2720
- };
2721
- description: string;
2722
- };
2723
- integrations: {
2724
- type: "object";
2725
- additionalProperties: {
2726
- type: "object";
2727
- properties: {
2728
- integrationId: {
2729
- type: "string";
2730
- minLength: number;
2731
- maxLength: number;
2732
- };
2733
- integrationAlias: {
2734
- type: "string";
2735
- maxLength: number;
2736
- };
2737
- };
2738
- required: string[];
2739
- additionalProperties: false;
2740
- };
2741
- description: string;
2742
- };
2743
- id: {
2744
- type: "string";
2745
- minLength: number;
2746
- maxLength: number;
2747
- description: string;
2748
- };
2749
- createdAt: {
2750
- type: "string";
2751
- format: string;
2752
- description: string;
2753
- };
2754
- updatedAt: {
2755
- type: "string";
2756
- format: string;
2757
- description: string;
2758
- };
2759
- title: {
2760
- type: "string";
2761
- minLength: number;
2762
- maxLength: number;
2763
- description: string;
2764
- };
2765
- description: {
2766
- type: "string";
2767
- maxLength: number;
2768
- description: string;
2769
- };
2770
- iconUrl: {
2771
- type: "string";
2772
- description: string;
2773
- };
2774
- readmeUrl: {
2775
- type: "string";
2776
- description: string;
2777
- };
2778
- public: {
2779
- type: "boolean";
2780
- description: string;
2781
- };
2782
- };
2783
- required: string[];
2784
- additionalProperties: false;
2785
- };
2786
- description: string;
2787
- };
2788
- maxExecutionTime: {
2789
- type: "number";
2790
- description: string;
2791
- };
2792
- user: {
2793
- type: "object";
2794
- properties: {
2795
- tags: {
2796
- type: "object";
2797
- additionalProperties: {
2798
- type: "object";
2799
- properties: {
2800
- title: {
2801
- type: "string";
2802
- maxLength: number;
2803
- description: string;
2804
- };
2805
- description: {
2806
- type: "string";
2807
- maxLength: number;
2808
- description: string;
2809
- };
2810
- };
2811
- description: string;
2812
- additionalProperties: false;
2813
- };
2814
- };
2815
- };
2816
- required: string[];
2817
- description: string;
2818
- additionalProperties: false;
2819
- };
2820
- conversation: {
2821
- type: "object";
2822
- properties: {
2823
- tags: {
2824
- type: "object";
2825
- additionalProperties: {
2826
- type: "object";
2827
- properties: {
2828
- title: {
2829
- type: "string";
2830
- maxLength: number;
2831
- description: string;
2832
- };
2833
- description: {
2834
- type: "string";
2835
- maxLength: number;
2836
- description: string;
2837
- };
2838
- };
2839
- description: string;
2840
- additionalProperties: false;
2841
- };
2842
- };
2843
- };
2844
- required: string[];
2845
- description: string;
2846
- additionalProperties: false;
2847
- };
2848
- message: {
2849
- type: "object";
2850
- properties: {
2851
- tags: {
2852
- type: "object";
2853
- additionalProperties: {
2854
- type: "object";
2855
- properties: {
2856
- title: {
2857
- type: "string";
2858
- maxLength: number;
2859
- description: string;
2860
- };
2861
- description: {
2862
- type: "string";
2863
- maxLength: number;
2864
- description: string;
2865
- };
2866
- };
2867
- description: string;
2868
- additionalProperties: false;
2869
- };
2870
- };
2871
- };
2872
- required: string[];
2873
- description: string;
2874
- additionalProperties: false;
2875
- };
2876
- states: {
2877
- type: "object";
2878
- additionalProperties: {
2879
- type: "object";
2880
- properties: {
2881
- type: {
2882
- type: "string";
2883
- enum: string[];
2884
- description: string;
2885
- };
2886
- schema: {
2887
- type: "object";
2888
- additionalProperties: true;
2889
- description: string;
2890
- };
2891
- expiry: {
2892
- type: "number";
2893
- minimum: number;
2894
- description: string;
2895
- };
2896
- };
2897
- required: string[];
2898
- additionalProperties: false;
2899
- };
2900
- description: string;
2901
- };
2902
- configuration: {
2903
- type: "object";
2904
- properties: {
2905
- data: {
2906
- type: "object";
2907
- additionalProperties: true;
2908
- description: string;
2909
- };
2910
- schema: {
2911
- type: "object";
2912
- additionalProperties: true;
2913
- description: string;
2914
- };
2915
- };
2916
- required: string[];
2917
- description: string;
2918
- additionalProperties: false;
2919
- };
2920
- events: {
2921
- type: "object";
2922
- additionalProperties: {
2923
- type: "object";
2924
- properties: {
2925
- title: {
2926
- type: "string";
2927
- maxLength: number;
2928
- description: string;
2929
- };
2930
- description: {
2931
- type: "string";
2932
- maxLength: number;
2933
- description: string;
2934
- };
2935
- schema: {
2936
- type: "object";
2937
- additionalProperties: true;
2938
- };
2939
- attributes: {
2940
- type: "object";
2941
- additionalProperties: {
2942
- type: "string";
2943
- maxLength: number;
2944
- };
2945
- description: string;
2946
- };
2947
- };
2948
- required: string[];
2949
- description: string;
2950
- additionalProperties: false;
2951
- };
2952
- description: string;
2953
- };
2954
- recurringEvents: {
2955
- type: "object";
2956
- additionalProperties: {
2957
- type: "object";
2958
- properties: {
2959
- schedule: {
2960
- type: "object";
2961
- properties: {
2962
- cron: {
2963
- type: "string";
2964
- maxLength: number;
2965
- };
2966
- };
2967
- required: string[];
2968
- additionalProperties: false;
2969
- };
2970
- type: {
2971
- type: "string";
2972
- maxLength: number;
2973
- };
2974
- payload: {
2975
- type: "object";
2976
- additionalProperties: true;
2977
- };
2978
- failedAttempts: {
2979
- type: "number";
2980
- description: string;
2981
- };
2982
- lastFailureReason: {
2983
- type: "string";
2984
- maxLength: number;
2985
- description: string;
2986
- nullable: true;
2987
- };
2988
- };
2989
- required: string[];
2990
- additionalProperties: false;
2991
- };
2992
- description: string;
2993
- };
2994
- subscriptions: {
2995
- type: "object";
2996
- properties: {
2997
- events: {
2998
- type: "object";
2999
- additionalProperties: {
3000
- type: "object";
3001
- additionalProperties: false;
3002
- };
3003
- nullable: true;
3004
- description: string;
3005
- };
3006
- };
3007
- required: string[];
3008
- description: string;
3009
- additionalProperties: false;
3010
- };
3011
- actions: {
3012
- type: "object";
3013
- additionalProperties: {
3014
- type: "object";
3015
- properties: {
3016
- title: {
3017
- type: "string";
3018
- maxLength: number;
3019
- description: string;
3020
- };
3021
- description: {
3022
- type: "string";
3023
- maxLength: number;
3024
- description: string;
3025
- };
3026
- billable: {
3027
- type: "boolean";
3028
- };
3029
- cacheable: {
3030
- type: "boolean";
3031
- };
3032
- input: {
3033
- type: "object";
3034
- properties: {
3035
- schema: {
3036
- type: "object";
3037
- additionalProperties: true;
3038
- };
3039
- };
3040
- required: string[];
3041
- additionalProperties: false;
3042
- };
3043
- output: {
3044
- type: "object";
3045
- properties: {
3046
- schema: {
3047
- type: "object";
3048
- additionalProperties: true;
3049
- };
3050
- };
3051
- required: string[];
3052
- additionalProperties: false;
3053
- };
3054
- attributes: {
3055
- type: "object";
3056
- additionalProperties: {
3057
- type: "string";
3058
- maxLength: number;
3059
- };
3060
- description: string;
3061
- };
3062
- };
3063
- required: string[];
3064
- description: string;
3065
- additionalProperties: false;
3066
- };
3067
- description: string;
3068
- };
3069
- tags: {
3070
- type: "object";
3071
- additionalProperties: {
3072
- type: "string";
3073
- };
3074
- description: string;
3075
- };
3076
- name: {
3077
- type: "string";
3078
- description: string;
3079
- };
3080
- deployedAt: {
3081
- type: "string";
3082
- format: string;
3083
- description: string;
3084
- };
3085
- dev: {
3086
- type: "boolean";
3087
- description: string;
3088
- };
3089
- createdBy: {
3090
- type: "string";
3091
- description: string;
3092
- };
3093
- alwaysAlive: {
3094
- type: "boolean";
3095
- description: string;
3096
- };
3097
- status: {
3098
- type: "string";
3099
- enum: string[];
3100
- description: string;
3101
- };
3102
- medias: {
3103
- type: "array";
3104
- items: {
3105
- type: "object";
3106
- properties: {
3107
- url: {
3108
- type: "string";
3109
- description: string;
3110
- };
3111
- name: {
3112
- type: "string";
3113
- description: string;
3114
- };
3115
- };
3116
- required: string[];
3117
- };
3118
- description: string;
3119
- };
3120
- };
3121
- required: string[];
3122
- additionalProperties: false;
3123
- };
3124
- };
3125
- Integration: {
3126
- section: "integration";
3127
- schema: {
3128
- type: "object";
3129
- properties: {
3130
- id: {
3131
- type: "string";
3132
- minLength: number;
3133
- maxLength: number;
3134
- description: string;
3135
- };
3136
- createdAt: {
3137
- type: "string";
3138
- format: string;
3139
- description: string;
3140
- };
3141
- updatedAt: {
3142
- type: "string";
3143
- format: string;
3144
- description: string;
3145
- };
3146
- identifier: {
3147
- type: "object";
3148
- properties: {
3149
- fallbackHandlerScript: {
3150
- type: "string";
3151
- maxLength: number;
3152
- description: string;
3153
- };
3154
- extractScript: {
3155
- type: "string";
3156
- maxLength: number;
3157
- description: string;
3158
- };
3159
- };
3160
- description: string;
3161
- additionalProperties: false;
3162
- };
3163
- sandbox: {
3164
- type: "object";
3165
- properties: {
3166
- identifierExtractScript: {
3167
- type: "string";
3168
- maxLength: number;
3169
- description: string;
3170
- };
3171
- messageExtractScript: {
3172
- type: "string";
3173
- maxLength: number;
3174
- description: string;
3175
- };
3176
- };
3177
- additionalProperties: false;
3178
- };
3179
- maxExecutionTime: {
3180
- type: "number";
3181
- description: string;
3182
- };
3183
- url: {
3184
- type: "string";
3185
- maxLength: number;
3186
- description: string;
3187
- };
3188
- name: {
3189
- type: "string";
3190
- maxLength: number;
3191
- description: string;
3192
- };
3193
- version: {
3194
- type: "string";
3195
- maxLength: number;
3196
- description: string;
3197
- };
3198
- interfaces: {
3199
- type: "object";
3200
- additionalProperties: {
3201
- type: "object";
3202
- properties: {
3203
- id: {
3204
- type: "string";
3205
- minLength: number;
3206
- maxLength: number;
3207
- description: string;
3208
- };
3209
- name: {
3210
- type: "string";
3211
- maxLength: number;
3212
- description: string;
3213
- };
3214
- version: {
3215
- type: "string";
3216
- maxLength: number;
3217
- description: string;
3218
- };
3219
- entities: {
3220
- type: "object";
3221
- additionalProperties: {
3222
- type: "object";
3223
- properties: {
3224
- name: {
3225
- type: "string";
3226
- maxLength: number;
3227
- };
3228
- };
3229
- required: string[];
3230
- additionalProperties: false;
3231
- };
3232
- };
3233
- actions: {
3234
- type: "object";
3235
- additionalProperties: {
3236
- type: "object";
3237
- properties: {
3238
- name: {
3239
- type: "string";
3240
- maxLength: number;
3241
- };
3242
- };
3243
- required: string[];
3244
- additionalProperties: false;
3245
- };
3246
- };
3247
- events: {
3248
- type: "object";
3249
- additionalProperties: {
3250
- type: "object";
3251
- properties: {
3252
- name: {
3253
- type: "string";
3254
- maxLength: number;
3255
- };
3256
- };
3257
- required: string[];
3258
- additionalProperties: false;
3259
- };
3260
- };
3261
- channels: {
3262
- type: "object";
3263
- additionalProperties: {
3264
- type: "object";
3265
- properties: {
3266
- name: {
3267
- type: "string";
3268
- maxLength: number;
3269
- };
3270
- };
3271
- required: string[];
3272
- additionalProperties: false;
3273
- };
3274
- };
3275
- };
3276
- required: string[];
3277
- additionalProperties: false;
3278
- };
3279
- };
3280
- configuration: {
3281
- type: "object";
3282
- properties: {
3283
- title: {
3284
- type: "string";
3285
- maxLength: number;
3286
- description: string;
3287
- };
3288
- description: {
3289
- type: "string";
3290
- maxLength: number;
3291
- description: string;
3292
- };
3293
- identifier: {
3294
- type: "object";
3295
- properties: {
3296
- linkTemplateScript: {
3297
- type: "string";
3298
- maxLength: number;
3299
- };
3300
- required: {
3301
- type: "boolean";
3302
- };
3303
- };
3304
- required: string[];
3305
- description: string;
3306
- additionalProperties: false;
3307
- };
3308
- schema: {
3309
- type: "object";
3310
- additionalProperties: true;
3311
- description: string;
3312
- };
3313
- };
3314
- required: string[];
3315
- description: string;
3316
- additionalProperties: false;
3317
- };
3318
- configurations: {
3319
- type: "object";
3320
- additionalProperties: {
3321
- type: "object";
3322
- properties: {
3323
- title: {
3324
- type: "string";
3325
- maxLength: number;
3326
- description: string;
3327
- };
3328
- description: {
3329
- type: "string";
3330
- maxLength: number;
3331
- description: string;
3332
- };
3333
- identifier: {
3334
- type: "object";
3335
- properties: {
3336
- linkTemplateScript: {
3337
- type: "string";
3338
- maxLength: number;
3339
- };
3340
- required: {
3341
- type: "boolean";
3342
- };
3343
- };
3344
- required: string[];
3345
- description: string;
3346
- additionalProperties: false;
3347
- };
3348
- schema: {
3349
- type: "object";
3350
- additionalProperties: true;
3351
- description: string;
3352
- };
3353
- };
3354
- required: string[];
3355
- description: string;
3356
- additionalProperties: false;
3357
- };
3358
- };
3359
- channels: {
3360
- type: "object";
3361
- additionalProperties: {
3362
- type: "object";
3363
- properties: {
3364
- title: {
3365
- type: "string";
3366
- maxLength: number;
3367
- description: string;
3368
- };
3369
- description: {
3370
- type: "string";
3371
- maxLength: number;
3372
- description: string;
3373
- };
3374
- messages: {
3375
- type: "object";
3376
- additionalProperties: {
3377
- type: "object";
3378
- properties: {
3379
- schema: {
3380
- type: "object";
3381
- additionalProperties: true;
3382
- };
3383
- };
3384
- required: string[];
3385
- description: string;
3386
- additionalProperties: false;
3387
- };
3388
- };
3389
- conversation: {
3390
- type: "object";
3391
- properties: {
3392
- tags: {
3393
- type: "object";
3394
- additionalProperties: {
3395
- type: "object";
3396
- properties: {
3397
- title: {
3398
- type: "string";
3399
- maxLength: number;
3400
- description: string;
3401
- };
3402
- description: {
3403
- type: "string";
3404
- maxLength: number;
3405
- description: string;
3406
- };
3407
- };
3408
- description: string;
3409
- additionalProperties: false;
3410
- };
3411
- };
3412
- creation: {
3413
- type: "object";
3414
- properties: {
3415
- enabled: {
3416
- type: "boolean";
3417
- description: string;
3418
- };
3419
- requiredTags: {
3420
- type: "array";
3421
- items: {
3422
- type: "string";
3423
- };
3424
- description: string;
3425
- };
3426
- };
3427
- required: string[];
3428
- description: string;
3429
- additionalProperties: false;
3430
- };
3431
- };
3432
- required: string[];
3433
- description: string;
3434
- additionalProperties: false;
3435
- };
3436
- message: {
3437
- type: "object";
3438
- properties: {
3439
- tags: {
3440
- type: "object";
3441
- additionalProperties: {
3442
- type: "object";
3443
- properties: {
3444
- title: {
3445
- type: "string";
3446
- maxLength: number;
3447
- description: string;
3448
- };
3449
- description: {
3450
- type: "string";
3451
- maxLength: number;
3452
- description: string;
3453
- };
3454
- };
3455
- description: string;
3456
- additionalProperties: false;
3457
- };
3458
- };
3459
- };
3460
- required: string[];
3461
- description: string;
3462
- additionalProperties: false;
3463
- };
3464
- };
3465
- required: string[];
3466
- description: string;
3467
- additionalProperties: false;
3468
- };
3469
- };
3470
- states: {
3471
- type: "object";
3472
- additionalProperties: {
3473
- type: "object";
3474
- properties: {
3475
- type: {
3476
- type: "string";
3477
- enum: string[];
3478
- description: string;
3479
- };
3480
- schema: {
3481
- type: "object";
3482
- additionalProperties: true;
3483
- description: string;
3484
- };
3485
- };
3486
- required: string[];
3487
- description: string;
3488
- additionalProperties: false;
3489
- };
3490
- };
3491
- events: {
3492
- type: "object";
3493
- additionalProperties: {
3494
- type: "object";
3495
- properties: {
3496
- title: {
3497
- type: "string";
3498
- maxLength: number;
3499
- description: string;
3500
- };
3501
- description: {
3502
- type: "string";
3503
- maxLength: number;
3504
- description: string;
3505
- };
3506
- schema: {
3507
- type: "object";
3508
- additionalProperties: true;
3509
- };
3510
- attributes: {
3511
- type: "object";
3512
- additionalProperties: {
3513
- type: "string";
3514
- maxLength: number;
3515
- };
3516
- description: string;
3517
- };
3518
- };
3519
- required: string[];
3520
- description: string;
3521
- additionalProperties: false;
3522
- };
3523
- };
3524
- actions: {
3525
- type: "object";
3526
- additionalProperties: {
3527
- type: "object";
3528
- properties: {
3529
- title: {
3530
- type: "string";
3531
- maxLength: number;
3532
- description: string;
3533
- };
3534
- description: {
3535
- type: "string";
3536
- maxLength: number;
3537
- description: string;
3538
- };
3539
- billable: {
3540
- type: "boolean";
3541
- };
3542
- cacheable: {
3543
- type: "boolean";
3544
- };
3545
- input: {
3546
- type: "object";
3547
- properties: {
3548
- schema: {
3549
- type: "object";
3550
- additionalProperties: true;
3551
- };
3552
- };
3553
- required: string[];
3554
- additionalProperties: false;
3555
- };
3556
- output: {
3557
- type: "object";
3558
- properties: {
3559
- schema: {
3560
- type: "object";
3561
- additionalProperties: true;
3562
- };
3563
- };
3564
- required: string[];
3565
- additionalProperties: false;
3566
- };
3567
- attributes: {
3568
- type: "object";
3569
- additionalProperties: {
3570
- type: "string";
3571
- maxLength: number;
3572
- };
3573
- description: string;
3574
- };
3575
- };
3576
- required: string[];
3577
- description: string;
3578
- additionalProperties: false;
3579
- };
3580
- };
3581
- user: {
3582
- type: "object";
3583
- properties: {
3584
- tags: {
3585
- type: "object";
3586
- additionalProperties: {
3587
- type: "object";
3588
- properties: {
3589
- title: {
3590
- type: "string";
3591
- maxLength: number;
3592
- description: string;
3593
- };
3594
- description: {
3595
- type: "string";
3596
- maxLength: number;
3597
- description: string;
3598
- };
3599
- };
3600
- description: string;
3601
- additionalProperties: false;
3602
- };
3603
- };
3604
- creation: {
3605
- type: "object";
3606
- properties: {
3607
- enabled: {
3608
- type: "boolean";
3609
- description: string;
3610
- };
3611
- requiredTags: {
3612
- type: "array";
3613
- items: {
3614
- type: "string";
3615
- };
3616
- description: string;
3617
- };
3618
- };
3619
- required: string[];
3620
- description: string;
3621
- additionalProperties: false;
3622
- };
3623
- };
3624
- required: string[];
3625
- description: string;
3626
- additionalProperties: false;
3627
- };
3628
- entities: {
3629
- type: "object";
3630
- additionalProperties: {
3631
- type: "object";
3632
- properties: {
3633
- title: {
3634
- type: "string";
3635
- maxLength: number;
3636
- description: string;
3637
- };
3638
- description: {
3639
- type: "string";
3640
- maxLength: number;
3641
- description: string;
3642
- };
3643
- schema: {
3644
- type: "object";
3645
- additionalProperties: true;
3646
- };
3647
- };
3648
- required: string[];
3649
- description: string;
3650
- additionalProperties: false;
3651
- };
3652
- };
3653
- attributes: {
3654
- type: "object";
3655
- additionalProperties: {
3656
- type: "string";
3657
- maxLength: number;
3658
- };
3659
- description: string;
3660
- };
3661
- dev: {
3662
- type: "boolean";
3663
- description: string;
3664
- };
3665
- title: {
3666
- type: "string";
3667
- minLength: number;
3668
- maxLength: number;
3669
- description: string;
3670
- };
3671
- description: {
3672
- type: "string";
3673
- maxLength: number;
3674
- description: string;
3675
- };
3676
- iconUrl: {
3677
- type: "string";
3678
- description: string;
3679
- };
3680
- readmeUrl: {
3681
- type: "string";
3682
- description: string;
3683
- };
3684
- public: {
3685
- type: "boolean";
3686
- description: string;
3687
- deprecated: true;
3688
- };
3689
- visibility: {
3690
- type: "string";
3691
- enum: string[];
3692
- description: string;
3693
- };
3694
- verificationStatus: {
3695
- type: "string";
3696
- enum: string[];
3697
- description: string;
3698
- };
3699
- secrets: {
3700
- type: "array";
3701
- items: {
3702
- type: "string";
3703
- };
3704
- description: string;
3705
- };
3706
- };
3707
- required: string[];
3708
- additionalProperties: false;
3709
- };
3710
- };
3711
- Interface: {
3712
- section: "interface";
3713
- schema: {
3714
- type: "object";
3715
- properties: {
3716
- id: {
3717
- type: "string";
3718
- minLength: number;
3719
- maxLength: number;
3720
- description: string;
3721
- };
3722
- createdAt: {
3723
- type: "string";
3724
- format: string;
3725
- description: string;
3726
- };
3727
- updatedAt: {
3728
- type: "string";
3729
- format: string;
3730
- description: string;
3731
- };
3732
- name: {
3733
- type: "string";
3734
- maxLength: number;
3735
- description: string;
3736
- };
3737
- version: {
3738
- type: "string";
3739
- maxLength: number;
3740
- description: string;
3741
- };
3742
- entities: {
3743
- type: "object";
3744
- additionalProperties: {
3745
- type: "object";
3746
- properties: {
3747
- title: {
3748
- type: "string";
3749
- maxLength: number;
3750
- description: string;
3751
- };
3752
- description: {
3753
- type: "string";
3754
- maxLength: number;
3755
- description: string;
3756
- };
3757
- schema: {
3758
- type: "object";
3759
- additionalProperties: true;
3760
- };
3761
- };
3762
- required: string[];
3763
- description: string;
3764
- additionalProperties: false;
3765
- };
3766
- };
3767
- events: {
3768
- type: "object";
3769
- additionalProperties: {
3770
- type: "object";
3771
- properties: {
3772
- title: {
3773
- type: "string";
3774
- maxLength: number;
3775
- description: string;
3776
- };
3777
- description: {
3778
- type: "string";
3779
- maxLength: number;
3780
- description: string;
3781
- };
3782
- schema: {
3783
- type: "object";
3784
- additionalProperties: true;
3785
- };
3786
- attributes: {
3787
- type: "object";
3788
- additionalProperties: {
3789
- type: "string";
3790
- maxLength: number;
3791
- };
3792
- description: string;
3793
- };
3794
- };
3795
- required: string[];
3796
- description: string;
3797
- additionalProperties: false;
3798
- };
3799
- };
3800
- actions: {
3801
- type: "object";
3802
- additionalProperties: {
3803
- type: "object";
3804
- properties: {
3805
- title: {
3806
- type: "string";
3807
- maxLength: number;
3808
- description: string;
3809
- };
3810
- description: {
3811
- type: "string";
3812
- maxLength: number;
3813
- description: string;
3814
- };
3815
- billable: {
3816
- type: "boolean";
3817
- };
3818
- cacheable: {
3819
- type: "boolean";
3820
- };
3821
- input: {
3822
- type: "object";
3823
- properties: {
3824
- schema: {
3825
- type: "object";
3826
- additionalProperties: true;
3827
- };
3828
- };
3829
- required: string[];
3830
- additionalProperties: false;
3831
- };
3832
- output: {
3833
- type: "object";
3834
- properties: {
3835
- schema: {
3836
- type: "object";
3837
- additionalProperties: true;
3838
- };
3839
- };
3840
- required: string[];
3841
- additionalProperties: false;
3842
- };
3843
- attributes: {
3844
- type: "object";
3845
- additionalProperties: {
3846
- type: "string";
3847
- maxLength: number;
3848
- };
3849
- description: string;
3850
- };
3851
- };
3852
- required: string[];
3853
- description: string;
3854
- additionalProperties: false;
3855
- };
3856
- };
3857
- channels: {
3858
- type: "object";
3859
- additionalProperties: {
3860
- type: "object";
3861
- properties: {
3862
- title: {
3863
- type: "string";
3864
- maxLength: number;
3865
- description: string;
3866
- };
3867
- description: {
3868
- type: "string";
3869
- maxLength: number;
3870
- description: string;
3871
- };
3872
- messages: {
3873
- type: "object";
3874
- additionalProperties: {
3875
- type: "object";
3876
- properties: {
3877
- schema: {
3878
- type: "object";
3879
- additionalProperties: true;
3880
- };
3881
- };
3882
- required: string[];
3883
- description: string;
3884
- additionalProperties: false;
3885
- };
3886
- };
3887
- };
3888
- required: string[];
3889
- additionalProperties: false;
3890
- };
3891
- };
3892
- nameTemplate: {
3893
- type: "object";
3894
- properties: {
3895
- script: {
3896
- type: "string";
3897
- maxLength: number;
3898
- };
3899
- language: {
3900
- type: "string";
3901
- maxLength: number;
3902
- };
3903
- };
3904
- required: string[];
3905
- description: string;
3906
- additionalProperties: false;
3907
- };
3908
- attributes: {
3909
- type: "object";
3910
- additionalProperties: {
3911
- type: "string";
3912
- maxLength: number;
3913
- };
3914
- description: string;
3915
- };
3916
- title: {
3917
- type: "string";
3918
- minLength: number;
3919
- maxLength: number;
3920
- description: string;
3921
- };
3922
- description: {
3923
- type: "string";
3924
- maxLength: number;
3925
- description: string;
3926
- };
3927
- iconUrl: {
3928
- type: "string";
3929
- description: string;
3930
- };
3931
- readmeUrl: {
3932
- type: "string";
3933
- description: string;
3934
- };
3935
- public: {
3936
- type: "boolean";
3937
- description: string;
3938
- };
3939
- };
3940
- required: string[];
3941
- additionalProperties: false;
3942
- };
3943
- };
3944
- Plugin: {
3945
- section: "plugin";
3946
- schema: {
3947
- type: "object";
3948
- properties: {
3949
- id: {
3950
- type: "string";
3951
- minLength: number;
3952
- maxLength: number;
3953
- description: string;
3954
- };
3955
- name: {
3956
- type: "string";
3957
- maxLength: number;
3958
- description: string;
3959
- };
3960
- version: {
3961
- type: "string";
3962
- maxLength: number;
3963
- description: string;
3964
- };
3965
- createdAt: {
3966
- type: "string";
3967
- format: string;
3968
- description: string;
3969
- };
3970
- updatedAt: {
3971
- type: "string";
3972
- format: string;
3973
- description: string;
3974
- };
3975
- configuration: {
3976
- type: "object";
3977
- properties: {
3978
- title: {
3979
- type: "string";
3980
- maxLength: number;
3981
- description: string;
3982
- };
3983
- description: {
3984
- type: "string";
3985
- maxLength: number;
3986
- description: string;
3987
- };
3988
- schema: {
3989
- type: "object";
3990
- additionalProperties: true;
3991
- description: string;
3992
- };
3993
- };
3994
- required: string[];
3995
- description: string;
3996
- additionalProperties: false;
3997
- };
3998
- states: {
3999
- type: "object";
4000
- additionalProperties: {
4001
- type: "object";
4002
- properties: {
4003
- type: {
4004
- type: "string";
4005
- enum: string[];
4006
- description: string;
4007
- };
4008
- schema: {
4009
- type: "object";
4010
- additionalProperties: true;
4011
- description: string;
4012
- };
4013
- expiry: {
4014
- type: "number";
4015
- minimum: number;
4016
- description: string;
4017
- };
4018
- };
4019
- required: string[];
4020
- additionalProperties: false;
4021
- };
4022
- };
4023
- events: {
4024
- type: "object";
4025
- additionalProperties: {
4026
- type: "object";
4027
- properties: {
4028
- title: {
4029
- type: "string";
4030
- maxLength: number;
4031
- description: string;
4032
- };
4033
- description: {
4034
- type: "string";
4035
- maxLength: number;
4036
- description: string;
4037
- };
4038
- schema: {
4039
- type: "object";
4040
- additionalProperties: true;
4041
- };
4042
- attributes: {
4043
- type: "object";
4044
- additionalProperties: {
4045
- type: "string";
4046
- maxLength: number;
4047
- };
4048
- description: string;
4049
- };
4050
- };
4051
- required: string[];
4052
- description: string;
4053
- additionalProperties: false;
4054
- };
4055
- };
4056
- actions: {
4057
- type: "object";
4058
- additionalProperties: {
4059
- type: "object";
4060
- properties: {
4061
- title: {
4062
- type: "string";
4063
- maxLength: number;
4064
- description: string;
4065
- };
4066
- description: {
4067
- type: "string";
4068
- maxLength: number;
4069
- description: string;
4070
- };
4071
- billable: {
4072
- type: "boolean";
4073
- };
4074
- cacheable: {
4075
- type: "boolean";
4076
- };
4077
- input: {
4078
- type: "object";
4079
- properties: {
4080
- schema: {
4081
- type: "object";
4082
- additionalProperties: true;
4083
- };
4084
- };
4085
- required: string[];
4086
- additionalProperties: false;
4087
- };
4088
- output: {
4089
- type: "object";
4090
- properties: {
4091
- schema: {
4092
- type: "object";
4093
- additionalProperties: true;
4094
- };
4095
- };
4096
- required: string[];
4097
- additionalProperties: false;
4098
- };
4099
- attributes: {
4100
- type: "object";
4101
- additionalProperties: {
4102
- type: "string";
4103
- maxLength: number;
4104
- };
4105
- description: string;
4106
- };
4107
- };
4108
- required: string[];
4109
- description: string;
4110
- additionalProperties: false;
4111
- };
4112
- };
4113
- dependencies: {
4114
- type: "object";
4115
- properties: {
4116
- interfaces: {
4117
- type: "object";
4118
- additionalProperties: {
4119
- type: "object";
4120
- properties: {
4121
- id: {
4122
- type: "string";
4123
- minLength: number;
4124
- maxLength: number;
4125
- };
4126
- name: {
4127
- type: "string";
4128
- maxLength: number;
4129
- };
4130
- version: {
4131
- type: "string";
4132
- maxLength: number;
4133
- };
4134
- };
4135
- required: string[];
4136
- additionalProperties: false;
4137
- };
4138
- };
4139
- integrations: {
4140
- type: "object";
4141
- additionalProperties: {
4142
- type: "object";
4143
- properties: {
4144
- id: {
4145
- type: "string";
4146
- minLength: number;
4147
- maxLength: number;
4148
- };
4149
- name: {
4150
- type: "string";
4151
- maxLength: number;
4152
- };
4153
- version: {
4154
- type: "string";
4155
- maxLength: number;
4156
- };
4157
- };
4158
- required: string[];
4159
- additionalProperties: false;
4160
- };
4161
- };
4162
- };
4163
- required: string[];
4164
- additionalProperties: false;
4165
- };
4166
- user: {
4167
- type: "object";
4168
- properties: {
4169
- tags: {
4170
- type: "object";
4171
- additionalProperties: {
4172
- type: "object";
4173
- properties: {
4174
- title: {
4175
- type: "string";
4176
- maxLength: number;
4177
- description: string;
4178
- };
4179
- description: {
4180
- type: "string";
4181
- maxLength: number;
4182
- description: string;
4183
- };
4184
- };
4185
- description: string;
4186
- additionalProperties: false;
4187
- };
4188
- };
4189
- };
4190
- required: string[];
4191
- description: string;
4192
- additionalProperties: false;
4193
- };
4194
- conversation: {
4195
- type: "object";
4196
- properties: {
4197
- tags: {
4198
- type: "object";
4199
- additionalProperties: {
4200
- type: "object";
4201
- properties: {
4202
- title: {
4203
- type: "string";
4204
- maxLength: number;
4205
- description: string;
4206
- };
4207
- description: {
4208
- type: "string";
4209
- maxLength: number;
4210
- description: string;
4211
- };
4212
- };
4213
- description: string;
4214
- additionalProperties: false;
4215
- };
4216
- };
4217
- };
4218
- required: string[];
4219
- description: string;
4220
- additionalProperties: false;
4221
- };
4222
- attributes: {
4223
- type: "object";
4224
- additionalProperties: {
4225
- type: "string";
4226
- maxLength: number;
4227
- };
4228
- description: string;
4229
- };
4230
- title: {
4231
- type: "string";
4232
- minLength: number;
4233
- maxLength: number;
4234
- description: string;
4235
- };
4236
- description: {
4237
- type: "string";
4238
- maxLength: number;
4239
- description: string;
4240
- };
4241
- iconUrl: {
4242
- type: "string";
4243
- description: string;
4244
- };
4245
- readmeUrl: {
4246
- type: "string";
4247
- description: string;
4248
- };
4249
- public: {
4250
- type: "boolean";
4251
- description: string;
4252
- };
4253
- };
4254
- required: string[];
4255
- additionalProperties: false;
4256
- };
4257
- };
4258
- Workspace: {
4259
- section: "workspace";
4260
- schema: {
4261
- type: "object";
4262
- properties: {
4263
- id: {
4264
- type: "string";
4265
- };
4266
- name: {
4267
- type: "string";
4268
- };
4269
- ownerId: {
4270
- type: "string";
4271
- };
4272
- createdAt: {
4273
- type: "string";
4274
- };
4275
- updatedAt: {
4276
- type: "string";
4277
- };
4278
- botCount: {
4279
- type: "number";
4280
- };
4281
- billingVersion: {
4282
- type: "string";
4283
- enum: string[];
4284
- };
4285
- plan: {
4286
- type: "string";
4287
- enum: string[];
4288
- };
4289
- blocked: {
4290
- type: "boolean";
4291
- };
4292
- spendingLimit: {
4293
- type: "number";
4294
- };
4295
- about: {
4296
- default: string;
4297
- type: "string";
4298
- };
4299
- profilePicture: {
4300
- default: string;
4301
- type: "string";
4302
- };
4303
- contactEmail: {
4304
- default: string;
4305
- type: "string";
4306
- };
4307
- website: {
4308
- default: string;
4309
- type: "string";
4310
- };
4311
- socialAccounts: {
4312
- default: never[];
4313
- type: "array";
4314
- items: {
4315
- type: "string";
4316
- };
4317
- };
4318
- isPublic: {
4319
- type: "boolean";
4320
- };
4321
- handle: {
4322
- type: "string";
4323
- };
4324
- activeTrialId: {
4325
- type: "string";
4326
- nullable: true;
4327
- };
4328
- };
4329
- required: string[];
4330
- additionalProperties: false;
4331
- };
4332
- };
4333
- WorkspaceMember: {
4334
- section: "workspaceMember";
4335
- schema: {
4336
- type: "object";
4337
- properties: {
4338
- id: {
4339
- type: "string";
4340
- };
4341
- userId: {
4342
- type: "string";
4343
- format: string;
4344
- };
4345
- email: {
4346
- type: "string";
4347
- };
4348
- createdAt: {
4349
- type: "string";
4350
- };
4351
- role: {
4352
- type: "string";
4353
- enum: string[];
4354
- };
4355
- profilePicture: {
4356
- type: "string";
4357
- };
4358
- displayName: {
4359
- type: "string";
4360
- maxLength: number;
4361
- };
4362
- };
4363
- required: string[];
4364
- additionalProperties: false;
4365
- };
4366
- };
4367
- Account: {
4368
- section: "account";
4369
- schema: {
4370
- type: "object";
4371
- properties: {
4372
- id: {
4373
- type: "string";
4374
- };
4375
- email: {
4376
- type: "string";
4377
- };
4378
- displayName: {
4379
- type: "string";
4380
- maxLength: number;
4381
- };
4382
- emailVerified: {
4383
- type: "boolean";
4384
- };
4385
- profilePicture: {
4386
- type: "string";
4387
- };
4388
- createdAt: {
4389
- type: "string";
4390
- format: string;
4391
- description: string;
4392
- };
4393
- };
4394
- required: string[];
4395
- additionalProperties: false;
4396
- };
4397
- };
4398
- Usage: {
4399
- section: "usage";
4400
- schema: {
4401
- type: "object";
4402
- properties: {
4403
- id: {
4404
- type: "string";
4405
- description: string;
4406
- };
4407
- period: {
4408
- type: "string";
4409
- description: string;
4410
- };
4411
- value: {
4412
- type: "number";
4413
- description: string;
4414
- };
4415
- quota: {
4416
- type: "number";
4417
- description: string;
4418
- };
4419
- type: {
4420
- type: "string";
4421
- enum: string[];
4422
- description: string;
4423
- };
4424
- };
4425
- required: string[];
4426
- additionalProperties: false;
4427
- };
4428
- };
4429
- Issue: {
4430
- section: "bot";
4431
- schema: {
4432
- type: "object";
4433
- properties: {
4434
- id: {
4435
- type: "string";
4436
- };
4437
- code: {
4438
- type: "string";
4439
- };
4440
- createdAt: {
4441
- type: "string";
4442
- format: string;
4443
- };
4444
- lastSeenAt: {
4445
- type: "string";
4446
- format: string;
4447
- };
4448
- title: {
4449
- type: "string";
4450
- };
4451
- description: {
4452
- type: "string";
4453
- };
4454
- groupedData: {
4455
- type: "object";
4456
- additionalProperties: {
4457
- type: "object";
4458
- properties: {
4459
- raw: {
4460
- type: "string";
4461
- };
4462
- pretty: {
4463
- type: "string";
4464
- };
4465
- };
4466
- required: string[];
4467
- additionalProperties: false;
4468
- };
4469
- };
4470
- eventsCount: {
4471
- type: "number";
4472
- };
4473
- category: {
4474
- type: "string";
4475
- enum: string[];
4476
- };
4477
- resolutionLink: {
4478
- type: "string";
4479
- nullable: true;
4480
- };
4481
- };
4482
- required: string[];
4483
- additionalProperties: false;
4484
- };
4485
- };
4486
- IssueEvent: {
4487
- section: "bot";
4488
- schema: {
4489
- type: "object";
4490
- properties: {
4491
- id: {
4492
- type: "string";
4493
- };
4494
- createdAt: {
4495
- type: "string";
4496
- format: string;
4497
- };
4498
- data: {
4499
- type: "object";
4500
- additionalProperties: {
4501
- type: "object";
4502
- properties: {
4503
- raw: {
4504
- type: "string";
4505
- };
4506
- pretty: {
4507
- type: "string";
4508
- };
4509
- };
4510
- required: string[];
4511
- additionalProperties: false;
4512
- };
4513
- };
4514
- };
4515
- required: string[];
4516
- additionalProperties: false;
4517
- };
4518
- };
4519
- Activity: {
4520
- section: "activity";
4521
- schema: {
4522
- type: "object";
4523
- properties: {
4524
- id: {
4525
- type: "string";
4526
- };
4527
- description: {
4528
- type: "string";
4529
- };
4530
- taskId: {
4531
- type: "string";
4532
- };
4533
- category: {
4534
- type: "string";
4535
- enum: string[];
4536
- };
4537
- data: {
4538
- type: "object";
4539
- additionalProperties: true;
4540
- };
4541
- createdAt: {
4542
- type: "string";
4543
- format: string;
4544
- description: string;
4545
- };
4546
- };
4547
- required: string[];
4548
- additionalProperties: false;
4549
- };
4550
- };
4551
- Version: {
4552
- section: "bot";
4553
- schema: {
4554
- type: "object";
4555
- properties: {
4556
- id: {
4557
- type: "string";
4558
- };
4559
- name: {
4560
- type: "string";
4561
- };
4562
- description: {
4563
- type: "string";
4564
- };
4565
- };
4566
- required: string[];
4567
- additionalProperties: false;
4568
- };
2515
+ schemas: {
2516
+ User: true;
2517
+ Conversation: true;
2518
+ Event: true;
2519
+ Message: true;
2520
+ State: true;
2521
+ Task: true;
2522
+ Workflow: true;
4569
2523
  };
2524
+ };
2525
+ schemas: {
4570
2526
  User: {
4571
2527
  section: "user";
4572
2528
  schema: {
@@ -4812,524 +2768,101 @@ export declare const state: {
4812
2768
  format: string;
4813
2769
  description: string;
4814
2770
  };
4815
- botId: {
4816
- type: "string";
4817
- minLength: number;
4818
- maxLength: number;
4819
- description: string;
4820
- };
4821
- conversationId: {
4822
- type: "string";
4823
- minLength: number;
4824
- maxLength: number;
4825
- description: string;
4826
- };
4827
- userId: {
4828
- type: "string";
4829
- minLength: number;
4830
- maxLength: number;
4831
- description: string;
4832
- };
4833
- name: {
4834
- type: "string";
4835
- maxLength: number;
4836
- description: string;
4837
- };
4838
- type: {
4839
- type: "string";
4840
- enum: string[];
4841
- description: string;
4842
- };
4843
- payload: {
4844
- type: "object";
4845
- additionalProperties: true;
4846
- description: string;
4847
- };
4848
- };
4849
- required: string[];
4850
- description: string;
4851
- additionalProperties: false;
4852
- };
4853
- };
4854
- Task: {
4855
- section: "task";
4856
- schema: {
4857
- type: "object";
4858
- properties: {
4859
- id: {
4860
- type: "string";
4861
- minLength: number;
4862
- maxLength: number;
4863
- description: string;
4864
- };
4865
- title: {
4866
- type: "string";
4867
- maxLength: number;
4868
- description: string;
4869
- };
4870
- description: {
4871
- type: "string";
4872
- maxLength: number;
4873
- description: string;
4874
- };
4875
- type: {
4876
- type: "string";
4877
- description: string;
4878
- };
4879
- data: {
4880
- type: "object";
4881
- additionalProperties: true;
4882
- description: string;
4883
- };
4884
- status: {
4885
- type: "string";
4886
- enum: string[];
4887
- description: string;
4888
- };
4889
- parentTaskId: {
4890
- type: "string";
4891
- minLength: number;
4892
- maxLength: number;
4893
- description: string;
4894
- };
4895
- conversationId: {
4896
- type: "string";
4897
- minLength: number;
4898
- maxLength: number;
4899
- description: string;
4900
- };
4901
- userId: {
4902
- type: "string";
4903
- minLength: number;
4904
- maxLength: number;
4905
- description: string;
4906
- };
4907
- timeoutAt: {
4908
- type: "string";
4909
- format: string;
4910
- description: string;
4911
- };
4912
- createdAt: {
4913
- type: "string";
4914
- format: string;
4915
- description: string;
4916
- };
4917
- updatedAt: {
4918
- type: "string";
4919
- format: string;
4920
- description: string;
4921
- };
4922
- failureReason: {
4923
- type: "string";
4924
- maxLength: number;
4925
- description: string;
4926
- };
4927
- tags: {
4928
- type: "object";
4929
- additionalProperties: {
4930
- type: "string";
4931
- };
4932
- description: string;
4933
- };
4934
- };
4935
- required: string[];
4936
- description: string;
4937
- additionalProperties: false;
4938
- };
4939
- };
4940
- Workflow: {
4941
- section: "workflow";
4942
- schema: {
4943
- type: "object";
4944
- properties: {
4945
- id: {
4946
- type: "string";
4947
- minLength: number;
4948
- maxLength: number;
4949
- description: string;
4950
- };
4951
- name: {
4952
- type: "string";
4953
- maxLength: number;
4954
- description: string;
4955
- };
4956
- status: {
4957
- type: "string";
4958
- enum: string[];
4959
- description: string;
4960
- };
4961
- input: {
4962
- type: "object";
4963
- additionalProperties: true;
4964
- description: string;
4965
- };
4966
- output: {
4967
- type: "object";
4968
- additionalProperties: true;
4969
- description: string;
4970
- };
4971
- parentWorkflowId: {
4972
- type: "string";
4973
- minLength: number;
4974
- maxLength: number;
4975
- description: string;
4976
- };
4977
- conversationId: {
4978
- type: "string";
4979
- minLength: number;
4980
- maxLength: number;
4981
- description: string;
4982
- };
4983
- userId: {
4984
- type: "string";
4985
- minLength: number;
4986
- maxLength: number;
4987
- description: string;
4988
- };
4989
- createdAt: {
4990
- type: "string";
4991
- format: string;
4992
- description: string;
4993
- };
4994
- updatedAt: {
4995
- type: "string";
4996
- format: string;
4997
- description: string;
4998
- };
4999
- completedAt: {
5000
- type: "string";
5001
- format: string;
5002
- description: string;
5003
- };
5004
- failureReason: {
5005
- type: "string";
5006
- maxLength: number;
5007
- description: string;
5008
- };
5009
- timeoutAt: {
5010
- type: "string";
5011
- format: string;
5012
- description: string;
5013
- };
5014
- tags: {
5015
- type: "object";
5016
- additionalProperties: {
5017
- type: "string";
5018
- };
5019
- description: string;
5020
- };
5021
- };
5022
- required: string[];
5023
- description: string;
5024
- additionalProperties: false;
5025
- };
5026
- };
5027
- Table: {
5028
- section: "tables";
5029
- schema: {
5030
- type: "object";
5031
- properties: {
5032
- id: {
5033
- type: "string";
5034
- description: string;
5035
- };
5036
- name: {
5037
- description: string;
5038
- type: "string";
5039
- minLength: number;
5040
- };
5041
- factor: {
5042
- default: number;
5043
- type: "number";
5044
- minimum: number;
5045
- maximum: number;
5046
- description: string;
5047
- };
5048
- frozen: {
5049
- type: "boolean";
5050
- description: string;
5051
- };
5052
- schema: {
5053
- type: "object";
5054
- properties: {
5055
- $schema: {
5056
- type: "string";
5057
- };
5058
- properties: {
5059
- type: "object";
5060
- additionalProperties: {
5061
- type: "object";
5062
- properties: {
5063
- type: {
5064
- type: "string";
5065
- enum: string[];
5066
- };
5067
- format: {
5068
- type: "string";
5069
- enum: string[];
5070
- };
5071
- description: {
5072
- type: "string";
5073
- };
5074
- pattern: {
5075
- type: "string";
5076
- description: string;
5077
- };
5078
- enum: {
5079
- type: "array";
5080
- items: {
5081
- type: "string";
5082
- };
5083
- description: string;
5084
- };
5085
- items: {
5086
- type: "object";
5087
- properties: {
5088
- type: {
5089
- type: "string";
5090
- enum: string[];
5091
- };
5092
- };
5093
- required: string[];
5094
- additionalProperties: true;
5095
- description: string;
5096
- };
5097
- nullable: {
5098
- default: boolean;
5099
- type: "boolean";
5100
- };
5101
- properties: {
5102
- type: "object";
5103
- additionalProperties: {
5104
- type: "object";
5105
- properties: {
5106
- type: {
5107
- type: "string";
5108
- enum: string[];
5109
- };
5110
- };
5111
- required: string[];
5112
- additionalProperties: true;
5113
- };
5114
- };
5115
- "x-zui": {
5116
- type: "object";
5117
- properties: {
5118
- index: {
5119
- type: "integer";
5120
- };
5121
- id: {
5122
- type: "string";
5123
- description: string;
5124
- };
5125
- searchable: {
5126
- type: "boolean";
5127
- description: string;
5128
- };
5129
- hidden: {
5130
- type: "boolean";
5131
- description: string;
5132
- };
5133
- order: {
5134
- type: "number";
5135
- description: string;
5136
- };
5137
- width: {
5138
- type: "number";
5139
- description: string;
5140
- };
5141
- schemaId: {
5142
- type: "string";
5143
- description: string;
5144
- };
5145
- computed: {
5146
- type: "object";
5147
- properties: {
5148
- action: {
5149
- type: "string";
5150
- enum: string[];
5151
- };
5152
- dependencies: {
5153
- default: never[];
5154
- type: "array";
5155
- items: {
5156
- type: "string";
5157
- };
5158
- };
5159
- prompt: {
5160
- type: "string";
5161
- description: string;
5162
- };
5163
- code: {
5164
- type: "string";
5165
- description: string;
5166
- };
5167
- model: {
5168
- default: string;
5169
- type: "string";
5170
- maxLength: number;
5171
- description: string;
5172
- };
5173
- workflowId: {
5174
- type: "string";
5175
- maxLength: number;
5176
- description: string;
5177
- };
5178
- enabled: {
5179
- type: "boolean";
5180
- };
5181
- };
5182
- required: string[];
5183
- additionalProperties: false;
5184
- };
5185
- typings: {
5186
- type: "string";
5187
- description: string;
5188
- };
5189
- };
5190
- required: string[];
5191
- additionalProperties: false;
5192
- };
5193
- };
5194
- required: string[];
5195
- additionalProperties: false;
5196
- };
5197
- description: string;
5198
- };
5199
- additionalProperties: {
5200
- type: "boolean";
5201
- enum: boolean[];
5202
- description: string;
5203
- };
5204
- required: {
5205
- type: "array";
5206
- items: {
5207
- type: "string";
5208
- };
5209
- description: string;
5210
- };
5211
- type: {
5212
- type: "string";
5213
- enum: string[];
5214
- };
5215
- };
5216
- required: string[];
5217
- additionalProperties: false;
5218
- };
5219
- tags: {
5220
- type: "object";
5221
- additionalProperties: {
5222
- type: "string";
5223
- };
2771
+ botId: {
2772
+ type: "string";
2773
+ minLength: number;
2774
+ maxLength: number;
5224
2775
  description: string;
5225
2776
  };
5226
- isComputeEnabled: {
5227
- type: "boolean";
2777
+ conversationId: {
2778
+ type: "string";
2779
+ minLength: number;
2780
+ maxLength: number;
5228
2781
  description: string;
5229
2782
  };
5230
- createdAt: {
2783
+ userId: {
5231
2784
  type: "string";
5232
- format: string;
2785
+ minLength: number;
2786
+ maxLength: number;
5233
2787
  description: string;
5234
2788
  };
5235
- updatedAt: {
2789
+ name: {
5236
2790
  type: "string";
5237
- format: string;
2791
+ maxLength: number;
2792
+ description: string;
2793
+ };
2794
+ type: {
2795
+ type: "string";
2796
+ enum: string[];
2797
+ description: string;
2798
+ };
2799
+ payload: {
2800
+ type: "object";
2801
+ additionalProperties: true;
5238
2802
  description: string;
5239
2803
  };
5240
2804
  };
5241
2805
  required: string[];
2806
+ description: string;
5242
2807
  additionalProperties: false;
5243
2808
  };
5244
2809
  };
5245
- Column: {
5246
- section: "tables";
2810
+ Task: {
2811
+ section: "task";
5247
2812
  schema: {
5248
2813
  type: "object";
5249
2814
  properties: {
5250
2815
  id: {
5251
2816
  type: "string";
2817
+ minLength: number;
2818
+ maxLength: number;
5252
2819
  description: string;
5253
2820
  };
5254
- name: {
2821
+ title: {
5255
2822
  type: "string";
5256
- minLength: number;
5257
2823
  maxLength: number;
5258
2824
  description: string;
5259
2825
  };
5260
2826
  description: {
5261
2827
  type: "string";
2828
+ maxLength: number;
5262
2829
  description: string;
5263
2830
  };
5264
- searchable: {
5265
- type: "boolean";
2831
+ type: {
2832
+ type: "string";
5266
2833
  description: string;
5267
2834
  };
5268
- type: {
2835
+ data: {
2836
+ type: "object";
2837
+ additionalProperties: true;
2838
+ description: string;
2839
+ };
2840
+ status: {
5269
2841
  type: "string";
5270
2842
  enum: string[];
5271
2843
  description: string;
5272
2844
  };
5273
- typings: {
2845
+ parentTaskId: {
5274
2846
  type: "string";
2847
+ minLength: number;
2848
+ maxLength: number;
5275
2849
  description: string;
5276
2850
  };
5277
- computed: {
5278
- type: "object";
5279
- properties: {
5280
- action: {
5281
- type: "string";
5282
- enum: string[];
5283
- };
5284
- dependencies: {
5285
- default: never[];
5286
- type: "array";
5287
- items: {
5288
- type: "string";
5289
- };
5290
- };
5291
- prompt: {
5292
- type: "string";
5293
- description: string;
5294
- };
5295
- code: {
5296
- type: "string";
5297
- description: string;
5298
- };
5299
- model: {
5300
- default: string;
5301
- type: "string";
5302
- maxLength: number;
5303
- description: string;
5304
- };
5305
- workflowId: {
5306
- type: "string";
5307
- maxLength: number;
5308
- description: string;
5309
- };
5310
- enabled: {
5311
- type: "boolean";
5312
- };
5313
- };
5314
- required: string[];
5315
- additionalProperties: false;
2851
+ conversationId: {
2852
+ type: "string";
2853
+ minLength: number;
2854
+ maxLength: number;
2855
+ description: string;
5316
2856
  };
5317
- schema: {
5318
- type: "object";
5319
- additionalProperties: true;
2857
+ userId: {
2858
+ type: "string";
2859
+ minLength: number;
2860
+ maxLength: number;
2861
+ description: string;
5320
2862
  };
5321
- };
5322
- required: string[];
5323
- additionalProperties: false;
5324
- };
5325
- };
5326
- Row: {
5327
- section: "tables";
5328
- schema: {
5329
- type: "object";
5330
- properties: {
5331
- id: {
5332
- type: "number";
2863
+ timeoutAt: {
2864
+ type: "string";
2865
+ format: string;
5333
2866
  description: string;
5334
2867
  };
5335
2868
  createdAt: {
@@ -5342,148 +2875,108 @@ export declare const state: {
5342
2875
  format: string;
5343
2876
  description: string;
5344
2877
  };
5345
- computed: {
2878
+ failureReason: {
2879
+ type: "string";
2880
+ maxLength: number;
2881
+ description: string;
2882
+ };
2883
+ tags: {
5346
2884
  type: "object";
5347
2885
  additionalProperties: {
5348
- type: "object";
5349
- properties: {
5350
- status: {
5351
- type: "string";
5352
- };
5353
- error: {
5354
- type: "string";
5355
- };
5356
- updatedBy: {
5357
- type: "string";
5358
- };
5359
- updatedAt: {
5360
- type: "string";
5361
- };
5362
- };
5363
- required: string[];
5364
- additionalProperties: false;
5365
- };
5366
- };
5367
- stale: {
5368
- type: "array";
5369
- items: {
5370
2886
  type: "string";
5371
2887
  };
5372
2888
  description: string;
5373
2889
  };
5374
- similarity: {
5375
- type: "number";
5376
- description: string;
5377
- };
5378
2890
  };
5379
2891
  required: string[];
5380
- additionalProperties: true;
2892
+ description: string;
2893
+ additionalProperties: false;
5381
2894
  };
5382
2895
  };
5383
- File: {
5384
- section: "files";
2896
+ Workflow: {
2897
+ section: "workflow";
5385
2898
  schema: {
5386
2899
  type: "object";
5387
2900
  properties: {
5388
2901
  id: {
5389
2902
  type: "string";
2903
+ minLength: number;
2904
+ maxLength: number;
5390
2905
  description: string;
5391
2906
  };
5392
- botId: {
2907
+ name: {
5393
2908
  type: "string";
2909
+ maxLength: number;
5394
2910
  description: string;
5395
2911
  };
5396
- key: {
2912
+ status: {
5397
2913
  type: "string";
2914
+ enum: string[];
5398
2915
  description: string;
5399
2916
  };
5400
- url: {
5401
- type: "string";
2917
+ input: {
2918
+ type: "object";
2919
+ additionalProperties: true;
5402
2920
  description: string;
5403
2921
  };
5404
- size: {
5405
- type: "number";
2922
+ output: {
2923
+ type: "object";
2924
+ additionalProperties: true;
5406
2925
  description: string;
5407
- nullable: true;
5408
2926
  };
5409
- contentType: {
2927
+ parentWorkflowId: {
5410
2928
  type: "string";
2929
+ minLength: number;
2930
+ maxLength: number;
5411
2931
  description: string;
5412
2932
  };
5413
- tags: {
5414
- type: "object";
5415
- additionalProperties: {
5416
- type: "string";
5417
- maxLength: number;
5418
- };
2933
+ conversationId: {
2934
+ type: "string";
2935
+ minLength: number;
2936
+ maxLength: number;
5419
2937
  description: string;
5420
2938
  };
5421
- metadata: {
5422
- type: "object";
5423
- additionalProperties: {
5424
- nullable: true;
5425
- };
2939
+ userId: {
2940
+ type: "string";
2941
+ minLength: number;
2942
+ maxLength: number;
5426
2943
  description: string;
5427
2944
  };
5428
2945
  createdAt: {
5429
2946
  type: "string";
2947
+ format: string;
5430
2948
  description: string;
5431
2949
  };
5432
2950
  updatedAt: {
5433
2951
  type: "string";
2952
+ format: string;
5434
2953
  description: string;
5435
2954
  };
5436
- accessPolicies: {
5437
- type: "array";
5438
- items: {
5439
- type: "string";
5440
- enum: string[];
5441
- };
5442
- description: string;
5443
- };
5444
- index: {
5445
- type: "boolean";
5446
- description: string;
5447
- };
5448
- status: {
2955
+ completedAt: {
5449
2956
  type: "string";
5450
- enum: string[];
2957
+ format: string;
5451
2958
  description: string;
5452
2959
  };
5453
- failedStatusReason: {
2960
+ failureReason: {
5454
2961
  type: "string";
2962
+ maxLength: number;
5455
2963
  description: string;
5456
2964
  };
5457
- expiresAt: {
2965
+ timeoutAt: {
5458
2966
  type: "string";
2967
+ format: string;
5459
2968
  description: string;
5460
2969
  };
5461
- owner: {
2970
+ tags: {
5462
2971
  type: "object";
5463
- properties: {
5464
- type: {
5465
- type: "string";
5466
- enum: string[];
5467
- };
5468
- id: {
5469
- type: "string";
5470
- description: string;
5471
- };
5472
- name: {
5473
- type: "string";
5474
- description: string;
5475
- };
2972
+ additionalProperties: {
2973
+ type: "string";
5476
2974
  };
5477
- required: string[];
5478
- additionalProperties: false;
5479
- };
5480
- indexingStack: {
5481
- type: "string";
5482
- enum: string[];
5483
2975
  description: string;
5484
2976
  };
5485
2977
  };
5486
2978
  required: string[];
2979
+ description: string;
5487
2980
  additionalProperties: false;
5488
2981
  };
5489
2982
  };
@@ -5519,8 +3012,8 @@ export declare const state: {
5519
3012
  operations: string[];
5520
3013
  schema: string;
5521
3014
  } | {
5522
- title: string;
5523
3015
  description: string;
3016
+ title: string;
5524
3017
  name: "hub";
5525
3018
  operations: never[];
5526
3019
  schema?: undefined;
@@ -5548,84 +3041,6 @@ export declare const state: {
5548
3041
  name: "tag";
5549
3042
  operations: string[];
5550
3043
  schema?: undefined;
5551
- } | {
5552
- title: string;
5553
- description: string;
5554
- name: "bot";
5555
- operations: never[];
5556
- schema: string;
5557
- } | {
5558
- title: string;
5559
- description: string;
5560
- name: "integration";
5561
- operations: never[];
5562
- schema: string;
5563
- } | {
5564
- title: string;
5565
- description: string;
5566
- name: "interface";
5567
- operations: never[];
5568
- schema: string;
5569
- } | {
5570
- title: string;
5571
- description: string;
5572
- name: "plugin";
5573
- operations: never[];
5574
- schema: string;
5575
- } | {
5576
- title: string;
5577
- description: string;
5578
- name: "workspace";
5579
- operations: never[];
5580
- schema: string;
5581
- } | {
5582
- title: string;
5583
- description: string;
5584
- name: "workspaceMember";
5585
- operations: never[];
5586
- schema: string;
5587
- } | {
5588
- title: string;
5589
- description: string;
5590
- name: "account";
5591
- operations: never[];
5592
- schema: string;
5593
- } | {
5594
- title: string;
5595
- description: string;
5596
- name: "usage";
5597
- operations: never[];
5598
- schema: string;
5599
- } | {
5600
- title: string;
5601
- description: string;
5602
- name: "quotas";
5603
- operations: never[];
5604
- schema?: undefined;
5605
- } | {
5606
- title: string;
5607
- description: string;
5608
- name: "helper";
5609
- operations: never[];
5610
- schema?: undefined;
5611
- } | {
5612
- title: string;
5613
- description: string;
5614
- name: "activity";
5615
- operations: never[];
5616
- schema: string;
5617
- } | {
5618
- title: string;
5619
- description: string;
5620
- name: "tables";
5621
- operations: never[];
5622
- schema: string;
5623
- } | {
5624
- title: string;
5625
- description: string;
5626
- name: "files";
5627
- operations: never[];
5628
- schema: string;
5629
3044
  })[];
5630
3045
  options: {
5631
3046
  allowUnions: false;