@or-sdk/library-types-v2 7.0.0 → 7.0.2
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/CHANGELOG.md +12 -0
- package/dist/browser/cjs/index.js +252 -154
- package/dist/browser/cjs/index.js.map +4 -4
- package/dist/browser/esm/index.js +252 -154
- package/dist/browser/esm/index.js.map +4 -4
- package/dist/browser/types/index.d.ts +79 -51
- package/package.json +2 -2
|
@@ -43,7 +43,7 @@ export declare enum PackageStatusDetailsLevelEnum {
|
|
|
43
43
|
PDE = "PDE"
|
|
44
44
|
}
|
|
45
45
|
export declare const PackageMeta: z.ZodObject<{
|
|
46
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
46
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
47
47
|
description: z.ZodString;
|
|
48
48
|
version: z.ZodString;
|
|
49
49
|
id: z.ZodString;
|
|
@@ -54,7 +54,7 @@ export declare const PackageMeta: z.ZodObject<{
|
|
|
54
54
|
shape: z.ZodOptional<z.ZodString>;
|
|
55
55
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
56
56
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
57
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
57
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
58
58
|
description: z.ZodString;
|
|
59
59
|
version: z.ZodString;
|
|
60
60
|
id: z.ZodString;
|
|
@@ -65,7 +65,7 @@ export declare const PackageMeta: z.ZodObject<{
|
|
|
65
65
|
shape: z.ZodOptional<z.ZodString>;
|
|
66
66
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
67
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
68
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
68
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
69
69
|
description: z.ZodString;
|
|
70
70
|
version: z.ZodString;
|
|
71
71
|
id: z.ZodString;
|
|
@@ -89,7 +89,7 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
89
89
|
schemaType: z.ZodNativeEnum<typeof PackageSchemaTypeEnum>;
|
|
90
90
|
data: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
91
91
|
meta: z.ZodObject<{
|
|
92
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
92
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
93
93
|
description: z.ZodString;
|
|
94
94
|
version: z.ZodString;
|
|
95
95
|
id: z.ZodString;
|
|
@@ -100,7 +100,7 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
100
100
|
shape: z.ZodOptional<z.ZodString>;
|
|
101
101
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
102
102
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
103
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
103
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
104
104
|
description: z.ZodString;
|
|
105
105
|
version: z.ZodString;
|
|
106
106
|
id: z.ZodString;
|
|
@@ -111,7 +111,7 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
111
111
|
shape: z.ZodOptional<z.ZodString>;
|
|
112
112
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
113
113
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
114
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
114
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
115
115
|
description: z.ZodString;
|
|
116
116
|
version: z.ZodString;
|
|
117
117
|
id: z.ZodString;
|
|
@@ -123,7 +123,7 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
123
123
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
124
|
}, z.ZodTypeAny, "passthrough">>;
|
|
125
125
|
fileNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
126
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
126
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
127
127
|
statusDetailsSystem: z.ZodOptional<z.ZodObject<Pick<{
|
|
128
128
|
id: z.ZodNumber;
|
|
129
129
|
status: z.ZodNativeEnum<typeof PackageStatusDetailsStatusEnum>;
|
|
@@ -166,8 +166,8 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
166
166
|
level: PackageStatusDetailsLevelEnum;
|
|
167
167
|
}>;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
categories: string[];
|
|
170
169
|
type: PackageTypeEnum;
|
|
170
|
+
categories: string[];
|
|
171
171
|
version: string;
|
|
172
172
|
id: string;
|
|
173
173
|
label: string;
|
|
@@ -201,18 +201,17 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
201
201
|
status: PackageStatusDetailsStatusEnum;
|
|
202
202
|
} | undefined;
|
|
203
203
|
}, {
|
|
204
|
-
categories: string[];
|
|
205
204
|
type: PackageTypeEnum;
|
|
206
205
|
version: string;
|
|
207
206
|
id: string;
|
|
208
207
|
label: string;
|
|
209
208
|
revisionId: string;
|
|
210
209
|
meta: {
|
|
211
|
-
categories: string[];
|
|
212
210
|
description: string;
|
|
213
211
|
version: string;
|
|
214
212
|
id: string;
|
|
215
213
|
label: string;
|
|
214
|
+
categories?: string[] | undefined;
|
|
216
215
|
icon?: string | undefined;
|
|
217
216
|
iconType?: string | undefined;
|
|
218
217
|
recommendedSteps?: string[] | undefined;
|
|
@@ -232,12 +231,13 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
232
231
|
releaseNotesMarkdown?: string | null | undefined;
|
|
233
232
|
data?: any;
|
|
234
233
|
fileNames?: string[] | undefined;
|
|
234
|
+
categories?: string[] | undefined;
|
|
235
235
|
statusDetailsSystem?: {
|
|
236
236
|
status: PackageStatusDetailsStatusEnum;
|
|
237
237
|
} | undefined;
|
|
238
238
|
}>, {
|
|
239
|
-
categories: string[];
|
|
240
239
|
type: PackageTypeEnum;
|
|
240
|
+
categories: string[];
|
|
241
241
|
version: string;
|
|
242
242
|
id: string;
|
|
243
243
|
label: string;
|
|
@@ -271,18 +271,17 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
271
271
|
status: PackageStatusDetailsStatusEnum;
|
|
272
272
|
} | undefined;
|
|
273
273
|
}, {
|
|
274
|
-
categories: string[];
|
|
275
274
|
type: PackageTypeEnum;
|
|
276
275
|
version: string;
|
|
277
276
|
id: string;
|
|
278
277
|
label: string;
|
|
279
278
|
revisionId: string;
|
|
280
279
|
meta: {
|
|
281
|
-
categories: string[];
|
|
282
280
|
description: string;
|
|
283
281
|
version: string;
|
|
284
282
|
id: string;
|
|
285
283
|
label: string;
|
|
284
|
+
categories?: string[] | undefined;
|
|
286
285
|
icon?: string | undefined;
|
|
287
286
|
iconType?: string | undefined;
|
|
288
287
|
recommendedSteps?: string[] | undefined;
|
|
@@ -302,18 +301,19 @@ export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
|
302
301
|
releaseNotesMarkdown?: string | null | undefined;
|
|
303
302
|
data?: any;
|
|
304
303
|
fileNames?: string[] | undefined;
|
|
304
|
+
categories?: string[] | undefined;
|
|
305
305
|
statusDetailsSystem?: {
|
|
306
306
|
status: PackageStatusDetailsStatusEnum;
|
|
307
307
|
} | undefined;
|
|
308
308
|
}>;
|
|
309
309
|
export declare const UpdatePackageByRevisionBody: z.ZodObject<{
|
|
310
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
310
|
+
categories: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
311
311
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
312
312
|
label: z.ZodOptional<z.ZodString>;
|
|
313
313
|
membersAccountIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
314
314
|
membersUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
315
315
|
meta: z.ZodOptional<z.ZodObject<{
|
|
316
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
316
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
317
317
|
description: z.ZodString;
|
|
318
318
|
version: z.ZodString;
|
|
319
319
|
id: z.ZodString;
|
|
@@ -324,7 +324,7 @@ export declare const UpdatePackageByRevisionBody: z.ZodObject<{
|
|
|
324
324
|
shape: z.ZodOptional<z.ZodString>;
|
|
325
325
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
326
326
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
327
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
327
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
328
328
|
description: z.ZodString;
|
|
329
329
|
version: z.ZodString;
|
|
330
330
|
id: z.ZodString;
|
|
@@ -335,7 +335,7 @@ export declare const UpdatePackageByRevisionBody: z.ZodObject<{
|
|
|
335
335
|
shape: z.ZodOptional<z.ZodString>;
|
|
336
336
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
337
337
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
338
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
338
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
339
339
|
description: z.ZodString;
|
|
340
340
|
version: z.ZodString;
|
|
341
341
|
id: z.ZodString;
|
|
@@ -354,7 +354,7 @@ export declare const UpdatePackageByRevisionBody: z.ZodObject<{
|
|
|
354
354
|
membersAccountIds?: string[] | undefined;
|
|
355
355
|
membersUserIds?: string[] | undefined;
|
|
356
356
|
meta?: z.objectOutputType<{
|
|
357
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
357
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
358
358
|
description: z.ZodString;
|
|
359
359
|
version: z.ZodString;
|
|
360
360
|
id: z.ZodString;
|
|
@@ -373,7 +373,7 @@ export declare const UpdatePackageByRevisionBody: z.ZodObject<{
|
|
|
373
373
|
membersAccountIds?: string[] | undefined;
|
|
374
374
|
membersUserIds?: string[] | undefined;
|
|
375
375
|
meta?: z.objectInputType<{
|
|
376
|
-
categories: z.ZodArray<z.ZodString, "many"
|
|
376
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
377
377
|
description: z.ZodString;
|
|
378
378
|
version: z.ZodString;
|
|
379
379
|
id: z.ZodString;
|
|
@@ -405,14 +405,40 @@ export declare const AddPackageDependenciesBody: z.ZodObject<{
|
|
|
405
405
|
value: z.ZodString;
|
|
406
406
|
id: z.ZodOptional<z.ZodString>;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
value: string;
|
|
409
408
|
type: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
409
|
+
value: string;
|
|
410
410
|
id?: string | undefined;
|
|
411
411
|
}, {
|
|
412
|
-
value: string;
|
|
413
412
|
type: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
413
|
+
value: string;
|
|
414
414
|
id?: string | undefined;
|
|
415
415
|
}>;
|
|
416
|
+
export declare const AddSuggestionBody: z.ZodObject<{
|
|
417
|
+
id: z.ZodString;
|
|
418
|
+
text: z.ZodString;
|
|
419
|
+
type: z.ZodString;
|
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
type: string;
|
|
422
|
+
id: string;
|
|
423
|
+
text: string;
|
|
424
|
+
}, {
|
|
425
|
+
type: string;
|
|
426
|
+
id: string;
|
|
427
|
+
text: string;
|
|
428
|
+
}>;
|
|
429
|
+
export declare const SearchableEntityParam: z.ZodObject<{
|
|
430
|
+
id: z.ZodString;
|
|
431
|
+
text: z.ZodString;
|
|
432
|
+
type: z.ZodString;
|
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
|
434
|
+
type: string;
|
|
435
|
+
id: string;
|
|
436
|
+
text: string;
|
|
437
|
+
}, {
|
|
438
|
+
type: string;
|
|
439
|
+
id: string;
|
|
440
|
+
text: string;
|
|
441
|
+
}>;
|
|
416
442
|
export declare enum PackageSchemaServingType {
|
|
417
443
|
JSON = "JSON",
|
|
418
444
|
STATIC = "STATIC"
|
|
@@ -606,11 +632,11 @@ export declare const PackageReleaseModelResponse: z.ZodEffects<z.ZodObject<{
|
|
|
606
632
|
isPlayground: z.ZodOptional<z.ZodBoolean>;
|
|
607
633
|
baseUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
608
634
|
}, "strip", z.ZodTypeAny, {
|
|
635
|
+
type: PackageTypeEnum;
|
|
609
636
|
categories: {
|
|
610
637
|
id: string;
|
|
611
638
|
name: string;
|
|
612
639
|
}[];
|
|
613
|
-
type: PackageTypeEnum;
|
|
614
640
|
version: string;
|
|
615
641
|
id: string;
|
|
616
642
|
label: string;
|
|
@@ -645,11 +671,11 @@ export declare const PackageReleaseModelResponse: z.ZodEffects<z.ZodObject<{
|
|
|
645
671
|
isPlayground?: boolean | undefined;
|
|
646
672
|
baseUrl?: string | null | undefined;
|
|
647
673
|
}, {
|
|
674
|
+
type: PackageTypeEnum;
|
|
648
675
|
categories: {
|
|
649
676
|
id: string;
|
|
650
677
|
name: string;
|
|
651
678
|
}[];
|
|
652
|
-
type: PackageTypeEnum;
|
|
653
679
|
version: string;
|
|
654
680
|
id: string;
|
|
655
681
|
label: string;
|
|
@@ -684,11 +710,11 @@ export declare const PackageReleaseModelResponse: z.ZodEffects<z.ZodObject<{
|
|
|
684
710
|
isPlayground?: boolean | undefined;
|
|
685
711
|
baseUrl?: string | null | undefined;
|
|
686
712
|
}>, {
|
|
713
|
+
type: PackageTypeEnum;
|
|
687
714
|
categories: {
|
|
688
715
|
id: string;
|
|
689
716
|
name: string;
|
|
690
717
|
}[];
|
|
691
|
-
type: PackageTypeEnum;
|
|
692
718
|
version: string;
|
|
693
719
|
id: string;
|
|
694
720
|
label: string;
|
|
@@ -723,11 +749,11 @@ export declare const PackageReleaseModelResponse: z.ZodEffects<z.ZodObject<{
|
|
|
723
749
|
isPlayground?: boolean | undefined;
|
|
724
750
|
baseUrl?: string | null | undefined;
|
|
725
751
|
}, {
|
|
752
|
+
type: PackageTypeEnum;
|
|
726
753
|
categories: {
|
|
727
754
|
id: string;
|
|
728
755
|
name: string;
|
|
729
756
|
}[];
|
|
730
|
-
type: PackageTypeEnum;
|
|
731
757
|
version: string;
|
|
732
758
|
id: string;
|
|
733
759
|
label: string;
|
|
@@ -906,11 +932,11 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
906
932
|
isPlayground: z.ZodOptional<z.ZodBoolean>;
|
|
907
933
|
baseUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
908
934
|
}, "strip", z.ZodTypeAny, {
|
|
935
|
+
type: PackageTypeEnum;
|
|
909
936
|
categories: {
|
|
910
937
|
id: string;
|
|
911
938
|
name: string;
|
|
912
939
|
}[];
|
|
913
|
-
type: PackageTypeEnum;
|
|
914
940
|
version: string;
|
|
915
941
|
id: string;
|
|
916
942
|
label: string;
|
|
@@ -945,11 +971,11 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
945
971
|
isPlayground?: boolean | undefined;
|
|
946
972
|
baseUrl?: string | null | undefined;
|
|
947
973
|
}, {
|
|
974
|
+
type: PackageTypeEnum;
|
|
948
975
|
categories: {
|
|
949
976
|
id: string;
|
|
950
977
|
name: string;
|
|
951
978
|
}[];
|
|
952
|
-
type: PackageTypeEnum;
|
|
953
979
|
version: string;
|
|
954
980
|
id: string;
|
|
955
981
|
label: string;
|
|
@@ -984,11 +1010,11 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
984
1010
|
isPlayground?: boolean | undefined;
|
|
985
1011
|
baseUrl?: string | null | undefined;
|
|
986
1012
|
}>, {
|
|
1013
|
+
type: PackageTypeEnum;
|
|
987
1014
|
categories: {
|
|
988
1015
|
id: string;
|
|
989
1016
|
name: string;
|
|
990
1017
|
}[];
|
|
991
|
-
type: PackageTypeEnum;
|
|
992
1018
|
version: string;
|
|
993
1019
|
id: string;
|
|
994
1020
|
label: string;
|
|
@@ -1023,11 +1049,11 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
1023
1049
|
isPlayground?: boolean | undefined;
|
|
1024
1050
|
baseUrl?: string | null | undefined;
|
|
1025
1051
|
}, {
|
|
1052
|
+
type: PackageTypeEnum;
|
|
1026
1053
|
categories: {
|
|
1027
1054
|
id: string;
|
|
1028
1055
|
name: string;
|
|
1029
1056
|
}[];
|
|
1030
|
-
type: PackageTypeEnum;
|
|
1031
1057
|
version: string;
|
|
1032
1058
|
id: string;
|
|
1033
1059
|
label: string;
|
|
@@ -1077,11 +1103,11 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
1077
1103
|
}>, "many">;
|
|
1078
1104
|
}, "strip", z.ZodTypeAny, {
|
|
1079
1105
|
packageRelease: {
|
|
1106
|
+
type: PackageTypeEnum;
|
|
1080
1107
|
categories: {
|
|
1081
1108
|
id: string;
|
|
1082
1109
|
name: string;
|
|
1083
1110
|
}[];
|
|
1084
|
-
type: PackageTypeEnum;
|
|
1085
1111
|
version: string;
|
|
1086
1112
|
id: string;
|
|
1087
1113
|
label: string;
|
|
@@ -1123,11 +1149,11 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
1123
1149
|
}[];
|
|
1124
1150
|
}, {
|
|
1125
1151
|
packageRelease: {
|
|
1152
|
+
type: PackageTypeEnum;
|
|
1126
1153
|
categories: {
|
|
1127
1154
|
id: string;
|
|
1128
1155
|
name: string;
|
|
1129
1156
|
}[];
|
|
1130
|
-
type: PackageTypeEnum;
|
|
1131
1157
|
version: string;
|
|
1132
1158
|
id: string;
|
|
1133
1159
|
label: string;
|
|
@@ -1343,11 +1369,11 @@ export declare const GetPackagesListResponse: z.ZodObject<{
|
|
|
1343
1369
|
isPlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1344
1370
|
baseUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1345
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
+
type: PackageTypeEnum;
|
|
1346
1373
|
categories: {
|
|
1347
1374
|
id: string;
|
|
1348
1375
|
name: string;
|
|
1349
1376
|
}[];
|
|
1350
|
-
type: PackageTypeEnum;
|
|
1351
1377
|
version: string;
|
|
1352
1378
|
id: string;
|
|
1353
1379
|
label: string;
|
|
@@ -1382,11 +1408,11 @@ export declare const GetPackagesListResponse: z.ZodObject<{
|
|
|
1382
1408
|
isPlayground?: boolean | undefined;
|
|
1383
1409
|
baseUrl?: string | null | undefined;
|
|
1384
1410
|
}, {
|
|
1411
|
+
type: PackageTypeEnum;
|
|
1385
1412
|
categories: {
|
|
1386
1413
|
id: string;
|
|
1387
1414
|
name: string;
|
|
1388
1415
|
}[];
|
|
1389
|
-
type: PackageTypeEnum;
|
|
1390
1416
|
version: string;
|
|
1391
1417
|
id: string;
|
|
1392
1418
|
label: string;
|
|
@@ -1421,11 +1447,11 @@ export declare const GetPackagesListResponse: z.ZodObject<{
|
|
|
1421
1447
|
isPlayground?: boolean | undefined;
|
|
1422
1448
|
baseUrl?: string | null | undefined;
|
|
1423
1449
|
}>, {
|
|
1450
|
+
type: PackageTypeEnum;
|
|
1424
1451
|
categories: {
|
|
1425
1452
|
id: string;
|
|
1426
1453
|
name: string;
|
|
1427
1454
|
}[];
|
|
1428
|
-
type: PackageTypeEnum;
|
|
1429
1455
|
version: string;
|
|
1430
1456
|
id: string;
|
|
1431
1457
|
label: string;
|
|
@@ -1460,11 +1486,11 @@ export declare const GetPackagesListResponse: z.ZodObject<{
|
|
|
1460
1486
|
isPlayground?: boolean | undefined;
|
|
1461
1487
|
baseUrl?: string | null | undefined;
|
|
1462
1488
|
}, {
|
|
1489
|
+
type: PackageTypeEnum;
|
|
1463
1490
|
categories: {
|
|
1464
1491
|
id: string;
|
|
1465
1492
|
name: string;
|
|
1466
1493
|
}[];
|
|
1467
|
-
type: PackageTypeEnum;
|
|
1468
1494
|
version: string;
|
|
1469
1495
|
id: string;
|
|
1470
1496
|
label: string;
|
|
@@ -1506,11 +1532,11 @@ export declare const GetPackagesListResponse: z.ZodObject<{
|
|
|
1506
1532
|
name: string;
|
|
1507
1533
|
}[];
|
|
1508
1534
|
items: {
|
|
1535
|
+
type: PackageTypeEnum;
|
|
1509
1536
|
categories: {
|
|
1510
1537
|
id: string;
|
|
1511
1538
|
name: string;
|
|
1512
1539
|
}[];
|
|
1513
|
-
type: PackageTypeEnum;
|
|
1514
1540
|
version: string;
|
|
1515
1541
|
id: string;
|
|
1516
1542
|
label: string;
|
|
@@ -1562,11 +1588,11 @@ export declare const GetPackagesListResponse: z.ZodObject<{
|
|
|
1562
1588
|
name: string;
|
|
1563
1589
|
}[];
|
|
1564
1590
|
items: {
|
|
1591
|
+
type: PackageTypeEnum;
|
|
1565
1592
|
categories: {
|
|
1566
1593
|
id: string;
|
|
1567
1594
|
name: string;
|
|
1568
1595
|
}[];
|
|
1569
|
-
type: PackageTypeEnum;
|
|
1570
1596
|
version: string;
|
|
1571
1597
|
id: string;
|
|
1572
1598
|
label: string;
|
|
@@ -1784,11 +1810,11 @@ export declare const GetPackageResponse: z.ZodObject<{
|
|
|
1784
1810
|
isPlayground: z.ZodOptional<z.ZodBoolean>;
|
|
1785
1811
|
baseUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1786
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1813
|
+
type: PackageTypeEnum;
|
|
1787
1814
|
categories: {
|
|
1788
1815
|
id: string;
|
|
1789
1816
|
name: string;
|
|
1790
1817
|
}[];
|
|
1791
|
-
type: PackageTypeEnum;
|
|
1792
1818
|
version: string;
|
|
1793
1819
|
id: string;
|
|
1794
1820
|
label: string;
|
|
@@ -1823,11 +1849,11 @@ export declare const GetPackageResponse: z.ZodObject<{
|
|
|
1823
1849
|
isPlayground?: boolean | undefined;
|
|
1824
1850
|
baseUrl?: string | null | undefined;
|
|
1825
1851
|
}, {
|
|
1852
|
+
type: PackageTypeEnum;
|
|
1826
1853
|
categories: {
|
|
1827
1854
|
id: string;
|
|
1828
1855
|
name: string;
|
|
1829
1856
|
}[];
|
|
1830
|
-
type: PackageTypeEnum;
|
|
1831
1857
|
version: string;
|
|
1832
1858
|
id: string;
|
|
1833
1859
|
label: string;
|
|
@@ -1862,11 +1888,11 @@ export declare const GetPackageResponse: z.ZodObject<{
|
|
|
1862
1888
|
isPlayground?: boolean | undefined;
|
|
1863
1889
|
baseUrl?: string | null | undefined;
|
|
1864
1890
|
}>, {
|
|
1891
|
+
type: PackageTypeEnum;
|
|
1865
1892
|
categories: {
|
|
1866
1893
|
id: string;
|
|
1867
1894
|
name: string;
|
|
1868
1895
|
}[];
|
|
1869
|
-
type: PackageTypeEnum;
|
|
1870
1896
|
version: string;
|
|
1871
1897
|
id: string;
|
|
1872
1898
|
label: string;
|
|
@@ -1901,11 +1927,11 @@ export declare const GetPackageResponse: z.ZodObject<{
|
|
|
1901
1927
|
isPlayground?: boolean | undefined;
|
|
1902
1928
|
baseUrl?: string | null | undefined;
|
|
1903
1929
|
}, {
|
|
1930
|
+
type: PackageTypeEnum;
|
|
1904
1931
|
categories: {
|
|
1905
1932
|
id: string;
|
|
1906
1933
|
name: string;
|
|
1907
1934
|
}[];
|
|
1908
|
-
type: PackageTypeEnum;
|
|
1909
1935
|
version: string;
|
|
1910
1936
|
id: string;
|
|
1911
1937
|
label: string;
|
|
@@ -1946,11 +1972,11 @@ export declare const GetPackageResponse: z.ZodObject<{
|
|
|
1946
1972
|
createdAt: (string | Date) & (string | Date | undefined);
|
|
1947
1973
|
updatedAt: (string | Date) & (string | Date | undefined);
|
|
1948
1974
|
releases: {
|
|
1975
|
+
type: PackageTypeEnum;
|
|
1949
1976
|
categories: {
|
|
1950
1977
|
id: string;
|
|
1951
1978
|
name: string;
|
|
1952
1979
|
}[];
|
|
1953
|
-
type: PackageTypeEnum;
|
|
1954
1980
|
version: string;
|
|
1955
1981
|
id: string;
|
|
1956
1982
|
label: string;
|
|
@@ -1992,11 +2018,11 @@ export declare const GetPackageResponse: z.ZodObject<{
|
|
|
1992
2018
|
createdAt: (string | Date) & (string | Date | undefined);
|
|
1993
2019
|
updatedAt: (string | Date) & (string | Date | undefined);
|
|
1994
2020
|
releases: {
|
|
2021
|
+
type: PackageTypeEnum;
|
|
1995
2022
|
categories: {
|
|
1996
2023
|
id: string;
|
|
1997
2024
|
name: string;
|
|
1998
2025
|
}[];
|
|
1999
|
-
type: PackageTypeEnum;
|
|
2000
2026
|
version: string;
|
|
2001
2027
|
id: string;
|
|
2002
2028
|
label: string;
|
|
@@ -2176,11 +2202,11 @@ export declare const GetPackageReleaseResponse: z.ZodEffects<z.ZodObject<{
|
|
|
2176
2202
|
isPlayground: z.ZodOptional<z.ZodBoolean>;
|
|
2177
2203
|
baseUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2178
2204
|
}, "strip", z.ZodTypeAny, {
|
|
2205
|
+
type: PackageTypeEnum;
|
|
2179
2206
|
categories: {
|
|
2180
2207
|
id: string;
|
|
2181
2208
|
name: string;
|
|
2182
2209
|
}[];
|
|
2183
|
-
type: PackageTypeEnum;
|
|
2184
2210
|
version: string;
|
|
2185
2211
|
id: string;
|
|
2186
2212
|
label: string;
|
|
@@ -2215,11 +2241,11 @@ export declare const GetPackageReleaseResponse: z.ZodEffects<z.ZodObject<{
|
|
|
2215
2241
|
isPlayground?: boolean | undefined;
|
|
2216
2242
|
baseUrl?: string | null | undefined;
|
|
2217
2243
|
}, {
|
|
2244
|
+
type: PackageTypeEnum;
|
|
2218
2245
|
categories: {
|
|
2219
2246
|
id: string;
|
|
2220
2247
|
name: string;
|
|
2221
2248
|
}[];
|
|
2222
|
-
type: PackageTypeEnum;
|
|
2223
2249
|
version: string;
|
|
2224
2250
|
id: string;
|
|
2225
2251
|
label: string;
|
|
@@ -2254,11 +2280,11 @@ export declare const GetPackageReleaseResponse: z.ZodEffects<z.ZodObject<{
|
|
|
2254
2280
|
isPlayground?: boolean | undefined;
|
|
2255
2281
|
baseUrl?: string | null | undefined;
|
|
2256
2282
|
}>, {
|
|
2283
|
+
type: PackageTypeEnum;
|
|
2257
2284
|
categories: {
|
|
2258
2285
|
id: string;
|
|
2259
2286
|
name: string;
|
|
2260
2287
|
}[];
|
|
2261
|
-
type: PackageTypeEnum;
|
|
2262
2288
|
version: string;
|
|
2263
2289
|
id: string;
|
|
2264
2290
|
label: string;
|
|
@@ -2293,11 +2319,11 @@ export declare const GetPackageReleaseResponse: z.ZodEffects<z.ZodObject<{
|
|
|
2293
2319
|
isPlayground?: boolean | undefined;
|
|
2294
2320
|
baseUrl?: string | null | undefined;
|
|
2295
2321
|
}, {
|
|
2322
|
+
type: PackageTypeEnum;
|
|
2296
2323
|
categories: {
|
|
2297
2324
|
id: string;
|
|
2298
2325
|
name: string;
|
|
2299
2326
|
}[];
|
|
2300
|
-
type: PackageTypeEnum;
|
|
2301
2327
|
version: string;
|
|
2302
2328
|
id: string;
|
|
2303
2329
|
label: string;
|
|
@@ -2473,14 +2499,14 @@ export declare const AddPackageReleaseSystemStatusParams: z.ZodObject<{
|
|
|
2473
2499
|
DEPRECATED: "DEPRECATED";
|
|
2474
2500
|
}>;
|
|
2475
2501
|
}, "strip", z.ZodTypeAny, {
|
|
2476
|
-
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2477
2502
|
type: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
2503
|
+
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2478
2504
|
id: string;
|
|
2479
2505
|
version?: string | undefined;
|
|
2480
2506
|
revisionId?: string | undefined;
|
|
2481
2507
|
}, {
|
|
2482
|
-
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2483
2508
|
type: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
2509
|
+
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2484
2510
|
id: string;
|
|
2485
2511
|
version?: string | undefined;
|
|
2486
2512
|
revisionId?: string | undefined;
|
|
@@ -2520,15 +2546,15 @@ export declare const AddPackageReleaseReleaseStatusParams: z.ZodObject<{
|
|
|
2520
2546
|
PDE: "PDE";
|
|
2521
2547
|
}>;
|
|
2522
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2523
|
-
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2524
2549
|
type: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
2550
|
+
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2525
2551
|
id: string;
|
|
2526
2552
|
level: "USER" | "ACCOUNT" | "PDE";
|
|
2527
2553
|
version?: string | undefined;
|
|
2528
2554
|
revisionId?: string | undefined;
|
|
2529
2555
|
}, {
|
|
2530
|
-
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2531
2556
|
type: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
2557
|
+
status: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
|
|
2532
2558
|
id: string;
|
|
2533
2559
|
level: "USER" | "ACCOUNT" | "PDE";
|
|
2534
2560
|
version?: string | undefined;
|
|
@@ -3895,6 +3921,8 @@ export type PackageMetaDTO = z.infer<typeof PackageMeta>;
|
|
|
3895
3921
|
export type AddPackageBodyDTO = z.infer<typeof AddPackageBody>;
|
|
3896
3922
|
export type UpdatePackageByRevisionBodyDTO = z.infer<typeof UpdatePackageByRevisionBody>;
|
|
3897
3923
|
export type AddPackageDependenciesBodyDTO = z.infer<typeof AddPackageDependenciesBody>;
|
|
3924
|
+
export type AddSuggestionBodyDTO = z.infer<typeof AddSuggestionBody>;
|
|
3925
|
+
export type SearchableEntityParamDTO = z.infer<typeof SearchableEntityParam>;
|
|
3898
3926
|
export type PackageModelResponseDTO = z.infer<typeof PackageModelResponse>;
|
|
3899
3927
|
export type PackageReleaseModelResponseDTO = z.infer<typeof PackageReleaseModelResponse>;
|
|
3900
3928
|
export type AddPackageResponseDTO = z.infer<typeof AddPackageResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/library-types-v2",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Request/response v2 types for the OR SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/browser",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"zod": "3.22.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@or-sdk/library-prisma": "7.0.
|
|
38
|
+
"@or-sdk/library-prisma": "7.0.5"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "pnpm run build:nest && pnpm run build:browser",
|