@botpress/api 1.18.1 → 1.19.0
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.
- package/dist/index.js +650 -34
- package/dist/src/gen/admin/state.d.ts +121 -0
- package/dist/src/gen/files/state.d.ts +113 -0
- package/dist/src/gen/runtime/state.d.ts +19 -3
- package/dist/src/gen/state.d.ts +215 -3
- package/dist/src/gen/tables/state.d.ts +19 -0
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +149 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +162 -7
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +28 -5
- package/src/gen/state.ts +283 -14
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +28 -2
|
@@ -4520,6 +4520,107 @@ export declare const state: {
|
|
|
4520
4520
|
};
|
|
4521
4521
|
};
|
|
4522
4522
|
};
|
|
4523
|
+
listActionRuns: {
|
|
4524
|
+
name: string;
|
|
4525
|
+
description: string;
|
|
4526
|
+
method: "get";
|
|
4527
|
+
path: string;
|
|
4528
|
+
section: "bot";
|
|
4529
|
+
parameters: {
|
|
4530
|
+
id: {
|
|
4531
|
+
type: "string";
|
|
4532
|
+
description: string;
|
|
4533
|
+
in: "path";
|
|
4534
|
+
};
|
|
4535
|
+
integrationName: {
|
|
4536
|
+
in: "query";
|
|
4537
|
+
description: string;
|
|
4538
|
+
type: "string";
|
|
4539
|
+
required: true;
|
|
4540
|
+
};
|
|
4541
|
+
timestampFrom: {
|
|
4542
|
+
in: "query";
|
|
4543
|
+
description: string;
|
|
4544
|
+
type: "string";
|
|
4545
|
+
};
|
|
4546
|
+
timestampUntil: {
|
|
4547
|
+
in: "query";
|
|
4548
|
+
description: string;
|
|
4549
|
+
type: "string";
|
|
4550
|
+
};
|
|
4551
|
+
nextToken: {
|
|
4552
|
+
in: "query";
|
|
4553
|
+
description: string;
|
|
4554
|
+
type: "string";
|
|
4555
|
+
};
|
|
4556
|
+
};
|
|
4557
|
+
response: {
|
|
4558
|
+
description: string;
|
|
4559
|
+
schema: {
|
|
4560
|
+
type: "object";
|
|
4561
|
+
properties: {
|
|
4562
|
+
data: {
|
|
4563
|
+
type: "array";
|
|
4564
|
+
items: {
|
|
4565
|
+
type: "object";
|
|
4566
|
+
properties: {
|
|
4567
|
+
timestamp: {
|
|
4568
|
+
type: "string";
|
|
4569
|
+
description: string;
|
|
4570
|
+
};
|
|
4571
|
+
integrationName: {
|
|
4572
|
+
type: "string";
|
|
4573
|
+
};
|
|
4574
|
+
actionType: {
|
|
4575
|
+
type: "string";
|
|
4576
|
+
};
|
|
4577
|
+
input: {
|
|
4578
|
+
type: "object";
|
|
4579
|
+
properties: {};
|
|
4580
|
+
additionalProperties: true;
|
|
4581
|
+
description: string;
|
|
4582
|
+
};
|
|
4583
|
+
output: {
|
|
4584
|
+
type: "object";
|
|
4585
|
+
properties: {};
|
|
4586
|
+
additionalProperties: true;
|
|
4587
|
+
nullable: true;
|
|
4588
|
+
description: string;
|
|
4589
|
+
};
|
|
4590
|
+
status: {
|
|
4591
|
+
type: "string";
|
|
4592
|
+
enum: string[];
|
|
4593
|
+
};
|
|
4594
|
+
durationMs: {
|
|
4595
|
+
type: "number";
|
|
4596
|
+
};
|
|
4597
|
+
cached: {
|
|
4598
|
+
type: "boolean";
|
|
4599
|
+
};
|
|
4600
|
+
errorMessage: {
|
|
4601
|
+
type: "string";
|
|
4602
|
+
nullable: true;
|
|
4603
|
+
};
|
|
4604
|
+
};
|
|
4605
|
+
required: string[];
|
|
4606
|
+
};
|
|
4607
|
+
};
|
|
4608
|
+
meta: {
|
|
4609
|
+
type: "object";
|
|
4610
|
+
properties: {
|
|
4611
|
+
nextToken: {
|
|
4612
|
+
type: "string";
|
|
4613
|
+
};
|
|
4614
|
+
};
|
|
4615
|
+
additionalProperties: false;
|
|
4616
|
+
};
|
|
4617
|
+
};
|
|
4618
|
+
required: string[];
|
|
4619
|
+
title: string;
|
|
4620
|
+
additionalProperties: false;
|
|
4621
|
+
};
|
|
4622
|
+
};
|
|
4623
|
+
};
|
|
4523
4624
|
getBotIssue: {
|
|
4524
4625
|
name: string;
|
|
4525
4626
|
description: string;
|
|
@@ -11521,6 +11622,7 @@ export declare const state: {
|
|
|
11521
11622
|
getBotLogsResponse: true;
|
|
11522
11623
|
getBotWebchatResponse: true;
|
|
11523
11624
|
getBotAnalyticsResponse: true;
|
|
11625
|
+
listActionRunsResponse: true;
|
|
11524
11626
|
getBotIssueResponse: true;
|
|
11525
11627
|
listBotIssuesResponse: true;
|
|
11526
11628
|
deleteBotIssueResponse: true;
|
|
@@ -14465,6 +14567,25 @@ export declare const state: {
|
|
|
14465
14567
|
type: "string";
|
|
14466
14568
|
description: string;
|
|
14467
14569
|
};
|
|
14570
|
+
owner: {
|
|
14571
|
+
type: "object";
|
|
14572
|
+
properties: {
|
|
14573
|
+
type: {
|
|
14574
|
+
type: "string";
|
|
14575
|
+
enum: string[];
|
|
14576
|
+
};
|
|
14577
|
+
id: {
|
|
14578
|
+
type: "string";
|
|
14579
|
+
description: string;
|
|
14580
|
+
};
|
|
14581
|
+
name: {
|
|
14582
|
+
type: "string";
|
|
14583
|
+
description: string;
|
|
14584
|
+
};
|
|
14585
|
+
};
|
|
14586
|
+
required: string[];
|
|
14587
|
+
additionalProperties: false;
|
|
14588
|
+
};
|
|
14468
14589
|
};
|
|
14469
14590
|
required: string[];
|
|
14470
14591
|
additionalProperties: false;
|
|
@@ -248,6 +248,25 @@ export declare const state: {
|
|
|
248
248
|
type: "string";
|
|
249
249
|
description: string;
|
|
250
250
|
};
|
|
251
|
+
owner: {
|
|
252
|
+
type: "object";
|
|
253
|
+
properties: {
|
|
254
|
+
type: {
|
|
255
|
+
type: "string";
|
|
256
|
+
enum: string[];
|
|
257
|
+
};
|
|
258
|
+
id: {
|
|
259
|
+
type: "string";
|
|
260
|
+
description: string;
|
|
261
|
+
};
|
|
262
|
+
name: {
|
|
263
|
+
type: "string";
|
|
264
|
+
description: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
required: string[];
|
|
268
|
+
additionalProperties: false;
|
|
269
|
+
};
|
|
251
270
|
uploadUrl: {
|
|
252
271
|
type: "string";
|
|
253
272
|
description: string;
|
|
@@ -412,6 +431,24 @@ export declare const state: {
|
|
|
412
431
|
type: "string";
|
|
413
432
|
description: string;
|
|
414
433
|
};
|
|
434
|
+
owner: {
|
|
435
|
+
type: "object";
|
|
436
|
+
properties: {
|
|
437
|
+
type: {
|
|
438
|
+
type: "string";
|
|
439
|
+
enum: string[];
|
|
440
|
+
};
|
|
441
|
+
id: {
|
|
442
|
+
type: "string";
|
|
443
|
+
description: string;
|
|
444
|
+
};
|
|
445
|
+
name: {
|
|
446
|
+
type: "string";
|
|
447
|
+
description: string;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
required: string[];
|
|
451
|
+
};
|
|
415
452
|
};
|
|
416
453
|
required: string[];
|
|
417
454
|
};
|
|
@@ -527,6 +564,25 @@ export declare const state: {
|
|
|
527
564
|
type: "string";
|
|
528
565
|
description: string;
|
|
529
566
|
};
|
|
567
|
+
owner: {
|
|
568
|
+
type: "object";
|
|
569
|
+
properties: {
|
|
570
|
+
type: {
|
|
571
|
+
type: "string";
|
|
572
|
+
enum: string[];
|
|
573
|
+
};
|
|
574
|
+
id: {
|
|
575
|
+
type: "string";
|
|
576
|
+
description: string;
|
|
577
|
+
};
|
|
578
|
+
name: {
|
|
579
|
+
type: "string";
|
|
580
|
+
description: string;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
required: string[];
|
|
584
|
+
additionalProperties: false;
|
|
585
|
+
};
|
|
530
586
|
};
|
|
531
587
|
required: string[];
|
|
532
588
|
additionalProperties: false;
|
|
@@ -668,6 +724,25 @@ export declare const state: {
|
|
|
668
724
|
type: "string";
|
|
669
725
|
description: string;
|
|
670
726
|
};
|
|
727
|
+
owner: {
|
|
728
|
+
type: "object";
|
|
729
|
+
properties: {
|
|
730
|
+
type: {
|
|
731
|
+
type: "string";
|
|
732
|
+
enum: string[];
|
|
733
|
+
};
|
|
734
|
+
id: {
|
|
735
|
+
type: "string";
|
|
736
|
+
description: string;
|
|
737
|
+
};
|
|
738
|
+
name: {
|
|
739
|
+
type: "string";
|
|
740
|
+
description: string;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
required: string[];
|
|
744
|
+
additionalProperties: false;
|
|
745
|
+
};
|
|
671
746
|
};
|
|
672
747
|
required: string[];
|
|
673
748
|
additionalProperties: false;
|
|
@@ -797,6 +872,25 @@ export declare const state: {
|
|
|
797
872
|
type: "string";
|
|
798
873
|
description: string;
|
|
799
874
|
};
|
|
875
|
+
owner: {
|
|
876
|
+
type: "object";
|
|
877
|
+
properties: {
|
|
878
|
+
type: {
|
|
879
|
+
type: "string";
|
|
880
|
+
enum: string[];
|
|
881
|
+
};
|
|
882
|
+
id: {
|
|
883
|
+
type: "string";
|
|
884
|
+
description: string;
|
|
885
|
+
};
|
|
886
|
+
name: {
|
|
887
|
+
type: "string";
|
|
888
|
+
description: string;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
required: string[];
|
|
892
|
+
additionalProperties: false;
|
|
893
|
+
};
|
|
800
894
|
};
|
|
801
895
|
required: string[];
|
|
802
896
|
additionalProperties: false;
|
|
@@ -4338,6 +4432,25 @@ export declare const state: {
|
|
|
4338
4432
|
type: "string";
|
|
4339
4433
|
description: string;
|
|
4340
4434
|
};
|
|
4435
|
+
owner: {
|
|
4436
|
+
type: "object";
|
|
4437
|
+
properties: {
|
|
4438
|
+
type: {
|
|
4439
|
+
type: "string";
|
|
4440
|
+
enum: string[];
|
|
4441
|
+
};
|
|
4442
|
+
id: {
|
|
4443
|
+
type: "string";
|
|
4444
|
+
description: string;
|
|
4445
|
+
};
|
|
4446
|
+
name: {
|
|
4447
|
+
type: "string";
|
|
4448
|
+
description: string;
|
|
4449
|
+
};
|
|
4450
|
+
};
|
|
4451
|
+
required: string[];
|
|
4452
|
+
additionalProperties: false;
|
|
4453
|
+
};
|
|
4341
4454
|
};
|
|
4342
4455
|
required: string[];
|
|
4343
4456
|
additionalProperties: false;
|
|
@@ -2317,9 +2317,6 @@ export declare const state: {
|
|
|
2317
2317
|
description: string;
|
|
2318
2318
|
method: "post";
|
|
2319
2319
|
path: string;
|
|
2320
|
-
disableDefaultParameters: {
|
|
2321
|
-
"x-integration-id": boolean;
|
|
2322
|
-
};
|
|
2323
2320
|
requestBody: {
|
|
2324
2321
|
description: string;
|
|
2325
2322
|
schema: {
|
|
@@ -5350,6 +5347,25 @@ export declare const state: {
|
|
|
5350
5347
|
type: "string";
|
|
5351
5348
|
description: string;
|
|
5352
5349
|
};
|
|
5350
|
+
owner: {
|
|
5351
|
+
type: "object";
|
|
5352
|
+
properties: {
|
|
5353
|
+
type: {
|
|
5354
|
+
type: "string";
|
|
5355
|
+
enum: string[];
|
|
5356
|
+
};
|
|
5357
|
+
id: {
|
|
5358
|
+
type: "string";
|
|
5359
|
+
description: string;
|
|
5360
|
+
};
|
|
5361
|
+
name: {
|
|
5362
|
+
type: "string";
|
|
5363
|
+
description: string;
|
|
5364
|
+
};
|
|
5365
|
+
};
|
|
5366
|
+
required: string[];
|
|
5367
|
+
additionalProperties: false;
|
|
5368
|
+
};
|
|
5353
5369
|
};
|
|
5354
5370
|
required: string[];
|
|
5355
5371
|
additionalProperties: false;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -2317,9 +2317,6 @@ export declare const state: {
|
|
|
2317
2317
|
description: string;
|
|
2318
2318
|
method: "post";
|
|
2319
2319
|
path: string;
|
|
2320
|
-
disableDefaultParameters: {
|
|
2321
|
-
"x-integration-id": boolean;
|
|
2322
|
-
};
|
|
2323
2320
|
requestBody: {
|
|
2324
2321
|
description: string;
|
|
2325
2322
|
schema: {
|
|
@@ -6869,6 +6866,107 @@ export declare const state: {
|
|
|
6869
6866
|
};
|
|
6870
6867
|
};
|
|
6871
6868
|
};
|
|
6869
|
+
listActionRuns: {
|
|
6870
|
+
name: string;
|
|
6871
|
+
description: string;
|
|
6872
|
+
method: "get";
|
|
6873
|
+
path: string;
|
|
6874
|
+
section: "bot";
|
|
6875
|
+
parameters: {
|
|
6876
|
+
id: {
|
|
6877
|
+
type: "string";
|
|
6878
|
+
description: string;
|
|
6879
|
+
in: "path";
|
|
6880
|
+
};
|
|
6881
|
+
integrationName: {
|
|
6882
|
+
in: "query";
|
|
6883
|
+
description: string;
|
|
6884
|
+
type: "string";
|
|
6885
|
+
required: true;
|
|
6886
|
+
};
|
|
6887
|
+
timestampFrom: {
|
|
6888
|
+
in: "query";
|
|
6889
|
+
description: string;
|
|
6890
|
+
type: "string";
|
|
6891
|
+
};
|
|
6892
|
+
timestampUntil: {
|
|
6893
|
+
in: "query";
|
|
6894
|
+
description: string;
|
|
6895
|
+
type: "string";
|
|
6896
|
+
};
|
|
6897
|
+
nextToken: {
|
|
6898
|
+
in: "query";
|
|
6899
|
+
description: string;
|
|
6900
|
+
type: "string";
|
|
6901
|
+
};
|
|
6902
|
+
};
|
|
6903
|
+
response: {
|
|
6904
|
+
description: string;
|
|
6905
|
+
schema: {
|
|
6906
|
+
type: "object";
|
|
6907
|
+
properties: {
|
|
6908
|
+
data: {
|
|
6909
|
+
type: "array";
|
|
6910
|
+
items: {
|
|
6911
|
+
type: "object";
|
|
6912
|
+
properties: {
|
|
6913
|
+
timestamp: {
|
|
6914
|
+
type: "string";
|
|
6915
|
+
description: string;
|
|
6916
|
+
};
|
|
6917
|
+
integrationName: {
|
|
6918
|
+
type: "string";
|
|
6919
|
+
};
|
|
6920
|
+
actionType: {
|
|
6921
|
+
type: "string";
|
|
6922
|
+
};
|
|
6923
|
+
input: {
|
|
6924
|
+
type: "object";
|
|
6925
|
+
properties: {};
|
|
6926
|
+
additionalProperties: true;
|
|
6927
|
+
description: string;
|
|
6928
|
+
};
|
|
6929
|
+
output: {
|
|
6930
|
+
type: "object";
|
|
6931
|
+
properties: {};
|
|
6932
|
+
additionalProperties: true;
|
|
6933
|
+
nullable: true;
|
|
6934
|
+
description: string;
|
|
6935
|
+
};
|
|
6936
|
+
status: {
|
|
6937
|
+
type: "string";
|
|
6938
|
+
enum: string[];
|
|
6939
|
+
};
|
|
6940
|
+
durationMs: {
|
|
6941
|
+
type: "number";
|
|
6942
|
+
};
|
|
6943
|
+
cached: {
|
|
6944
|
+
type: "boolean";
|
|
6945
|
+
};
|
|
6946
|
+
errorMessage: {
|
|
6947
|
+
type: "string";
|
|
6948
|
+
nullable: true;
|
|
6949
|
+
};
|
|
6950
|
+
};
|
|
6951
|
+
required: string[];
|
|
6952
|
+
};
|
|
6953
|
+
};
|
|
6954
|
+
meta: {
|
|
6955
|
+
type: "object";
|
|
6956
|
+
properties: {
|
|
6957
|
+
nextToken: {
|
|
6958
|
+
type: "string";
|
|
6959
|
+
};
|
|
6960
|
+
};
|
|
6961
|
+
additionalProperties: false;
|
|
6962
|
+
};
|
|
6963
|
+
};
|
|
6964
|
+
required: string[];
|
|
6965
|
+
title: string;
|
|
6966
|
+
additionalProperties: false;
|
|
6967
|
+
};
|
|
6968
|
+
};
|
|
6969
|
+
};
|
|
6872
6970
|
getBotIssue: {
|
|
6873
6971
|
name: string;
|
|
6874
6972
|
description: string;
|
|
@@ -14003,6 +14101,25 @@ export declare const state: {
|
|
|
14003
14101
|
type: "string";
|
|
14004
14102
|
description: string;
|
|
14005
14103
|
};
|
|
14104
|
+
owner: {
|
|
14105
|
+
type: "object";
|
|
14106
|
+
properties: {
|
|
14107
|
+
type: {
|
|
14108
|
+
type: "string";
|
|
14109
|
+
enum: string[];
|
|
14110
|
+
};
|
|
14111
|
+
id: {
|
|
14112
|
+
type: "string";
|
|
14113
|
+
description: string;
|
|
14114
|
+
};
|
|
14115
|
+
name: {
|
|
14116
|
+
type: "string";
|
|
14117
|
+
description: string;
|
|
14118
|
+
};
|
|
14119
|
+
};
|
|
14120
|
+
required: string[];
|
|
14121
|
+
additionalProperties: false;
|
|
14122
|
+
};
|
|
14006
14123
|
uploadUrl: {
|
|
14007
14124
|
type: "string";
|
|
14008
14125
|
description: string;
|
|
@@ -14167,6 +14284,24 @@ export declare const state: {
|
|
|
14167
14284
|
type: "string";
|
|
14168
14285
|
description: string;
|
|
14169
14286
|
};
|
|
14287
|
+
owner: {
|
|
14288
|
+
type: "object";
|
|
14289
|
+
properties: {
|
|
14290
|
+
type: {
|
|
14291
|
+
type: "string";
|
|
14292
|
+
enum: string[];
|
|
14293
|
+
};
|
|
14294
|
+
id: {
|
|
14295
|
+
type: "string";
|
|
14296
|
+
description: string;
|
|
14297
|
+
};
|
|
14298
|
+
name: {
|
|
14299
|
+
type: "string";
|
|
14300
|
+
description: string;
|
|
14301
|
+
};
|
|
14302
|
+
};
|
|
14303
|
+
required: string[];
|
|
14304
|
+
};
|
|
14170
14305
|
};
|
|
14171
14306
|
required: string[];
|
|
14172
14307
|
};
|
|
@@ -14282,6 +14417,25 @@ export declare const state: {
|
|
|
14282
14417
|
type: "string";
|
|
14283
14418
|
description: string;
|
|
14284
14419
|
};
|
|
14420
|
+
owner: {
|
|
14421
|
+
type: "object";
|
|
14422
|
+
properties: {
|
|
14423
|
+
type: {
|
|
14424
|
+
type: "string";
|
|
14425
|
+
enum: string[];
|
|
14426
|
+
};
|
|
14427
|
+
id: {
|
|
14428
|
+
type: "string";
|
|
14429
|
+
description: string;
|
|
14430
|
+
};
|
|
14431
|
+
name: {
|
|
14432
|
+
type: "string";
|
|
14433
|
+
description: string;
|
|
14434
|
+
};
|
|
14435
|
+
};
|
|
14436
|
+
required: string[];
|
|
14437
|
+
additionalProperties: false;
|
|
14438
|
+
};
|
|
14285
14439
|
};
|
|
14286
14440
|
required: string[];
|
|
14287
14441
|
additionalProperties: false;
|
|
@@ -14423,6 +14577,25 @@ export declare const state: {
|
|
|
14423
14577
|
type: "string";
|
|
14424
14578
|
description: string;
|
|
14425
14579
|
};
|
|
14580
|
+
owner: {
|
|
14581
|
+
type: "object";
|
|
14582
|
+
properties: {
|
|
14583
|
+
type: {
|
|
14584
|
+
type: "string";
|
|
14585
|
+
enum: string[];
|
|
14586
|
+
};
|
|
14587
|
+
id: {
|
|
14588
|
+
type: "string";
|
|
14589
|
+
description: string;
|
|
14590
|
+
};
|
|
14591
|
+
name: {
|
|
14592
|
+
type: "string";
|
|
14593
|
+
description: string;
|
|
14594
|
+
};
|
|
14595
|
+
};
|
|
14596
|
+
required: string[];
|
|
14597
|
+
additionalProperties: false;
|
|
14598
|
+
};
|
|
14426
14599
|
};
|
|
14427
14600
|
required: string[];
|
|
14428
14601
|
additionalProperties: false;
|
|
@@ -14552,6 +14725,25 @@ export declare const state: {
|
|
|
14552
14725
|
type: "string";
|
|
14553
14726
|
description: string;
|
|
14554
14727
|
};
|
|
14728
|
+
owner: {
|
|
14729
|
+
type: "object";
|
|
14730
|
+
properties: {
|
|
14731
|
+
type: {
|
|
14732
|
+
type: "string";
|
|
14733
|
+
enum: string[];
|
|
14734
|
+
};
|
|
14735
|
+
id: {
|
|
14736
|
+
type: "string";
|
|
14737
|
+
description: string;
|
|
14738
|
+
};
|
|
14739
|
+
name: {
|
|
14740
|
+
type: "string";
|
|
14741
|
+
description: string;
|
|
14742
|
+
};
|
|
14743
|
+
};
|
|
14744
|
+
required: string[];
|
|
14745
|
+
additionalProperties: false;
|
|
14746
|
+
};
|
|
14555
14747
|
};
|
|
14556
14748
|
required: string[];
|
|
14557
14749
|
additionalProperties: false;
|
|
@@ -16419,6 +16611,7 @@ export declare const state: {
|
|
|
16419
16611
|
getBotLogsResponse: true;
|
|
16420
16612
|
getBotWebchatResponse: true;
|
|
16421
16613
|
getBotAnalyticsResponse: true;
|
|
16614
|
+
listActionRunsResponse: true;
|
|
16422
16615
|
getBotIssueResponse: true;
|
|
16423
16616
|
listBotIssuesResponse: true;
|
|
16424
16617
|
deleteBotIssueResponse: true;
|
|
@@ -19397,6 +19590,25 @@ export declare const state: {
|
|
|
19397
19590
|
type: "string";
|
|
19398
19591
|
description: string;
|
|
19399
19592
|
};
|
|
19593
|
+
owner: {
|
|
19594
|
+
type: "object";
|
|
19595
|
+
properties: {
|
|
19596
|
+
type: {
|
|
19597
|
+
type: "string";
|
|
19598
|
+
enum: string[];
|
|
19599
|
+
};
|
|
19600
|
+
id: {
|
|
19601
|
+
type: "string";
|
|
19602
|
+
description: string;
|
|
19603
|
+
};
|
|
19604
|
+
name: {
|
|
19605
|
+
type: "string";
|
|
19606
|
+
description: string;
|
|
19607
|
+
};
|
|
19608
|
+
};
|
|
19609
|
+
required: string[];
|
|
19610
|
+
additionalProperties: false;
|
|
19611
|
+
};
|
|
19400
19612
|
};
|
|
19401
19613
|
required: string[];
|
|
19402
19614
|
additionalProperties: false;
|
|
@@ -4044,6 +4044,25 @@ export declare const state: {
|
|
|
4044
4044
|
type: "string";
|
|
4045
4045
|
description: string;
|
|
4046
4046
|
};
|
|
4047
|
+
owner: {
|
|
4048
|
+
type: "object";
|
|
4049
|
+
properties: {
|
|
4050
|
+
type: {
|
|
4051
|
+
type: "string";
|
|
4052
|
+
enum: string[];
|
|
4053
|
+
};
|
|
4054
|
+
id: {
|
|
4055
|
+
type: "string";
|
|
4056
|
+
description: string;
|
|
4057
|
+
};
|
|
4058
|
+
name: {
|
|
4059
|
+
type: "string";
|
|
4060
|
+
description: string;
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
4063
|
+
required: string[];
|
|
4064
|
+
additionalProperties: false;
|
|
4065
|
+
};
|
|
4047
4066
|
};
|
|
4048
4067
|
required: string[];
|
|
4049
4068
|
additionalProperties: false;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './gen/state';
|
|
2
2
|
export declare const api: {
|
|
3
3
|
getModelRef: (name: "Bot" | "Integration" | "Interface" | "Plugin" | "Workspace" | "WorkspaceMember" | "Account" | "Usage" | "Issue" | "IssueEvent" | "Activity" | "Version" | "User" | "Conversation" | "Event" | "Message" | "State" | "Task" | "Workflow" | "Table" | "Column" | "Row" | "File") => import("@bpinternal/opapi").OpenApiZodAny;
|
|
4
|
-
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<"x-
|
|
4
|
+
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<"x-workspace-id", "user" | "conversation" | "event" | "message" | "state" | "hub" | "action" | "task" | "workflow" | "tag" | "bot" | "integration" | "interface" | "plugin" | "workspace" | "workspaceMember" | "account" | "usage" | "quotas" | "helper" | "activity" | "tables" | "files", Path, "zod-schema">) => void;
|
|
5
5
|
exportClient: {
|
|
6
6
|
(dir: string, openapiGeneratorEndpoint: string, postProcessors?: import("@bpinternal/opapi").OpenApiPostProcessors | undefined): Promise<void>;
|
|
7
7
|
(dir: string, props: import("@bpinternal/opapi").GenerateClientProps): Promise<void>;
|
|
@@ -18,7 +18,7 @@ export declare const api: {
|
|
|
18
18
|
export * as runtime from './gen/runtime/state';
|
|
19
19
|
export declare const runtimeApi: {
|
|
20
20
|
getModelRef: (name: "Bot" | "Integration" | "Interface" | "Plugin" | "Workspace" | "WorkspaceMember" | "Account" | "Usage" | "Issue" | "IssueEvent" | "Activity" | "Version" | "User" | "Conversation" | "Event" | "Message" | "State" | "Task" | "Workflow" | "Table" | "Column" | "Row" | "File") => import("@bpinternal/opapi").OpenApiZodAny;
|
|
21
|
-
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<
|
|
21
|
+
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<string, "user" | "conversation" | "event" | "message" | "state" | "hub" | "action" | "task" | "workflow" | "tag" | "bot" | "integration" | "interface" | "plugin" | "workspace" | "workspaceMember" | "account" | "usage" | "quotas" | "helper" | "activity" | "tables" | "files", Path, "zod-schema">) => void;
|
|
22
22
|
exportClient: {
|
|
23
23
|
(dir: string, openapiGeneratorEndpoint: string, postProcessors?: import("@bpinternal/opapi").OpenApiPostProcessors | undefined): Promise<void>;
|
|
24
24
|
(dir: string, props: import("@bpinternal/opapi").GenerateClientProps): Promise<void>;
|