@or-sdk/library-types-v2 6.0.9 → 6.0.10
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 +6 -0
- package/dist/cjs/index.js +60 -33
- package/dist/cjs/index.js.map +3 -3
- package/dist/esm/index.js +60 -33
- package/dist/esm/index.js.map +3 -3
- package/dist/types/List.d.ts +9 -4
- package/dist/types/Packages/params.d.ts +42 -3
- package/dist/types/Packages/response.d.ts +10 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/types/List.d.ts
CHANGED
|
@@ -35,12 +35,17 @@ export declare const ListView: z.ZodObject<{
|
|
|
35
35
|
filter?: any;
|
|
36
36
|
scope?: any;
|
|
37
37
|
}>;
|
|
38
|
+
export declare enum OrderByEnum {
|
|
39
|
+
createdAt = "createdAt",
|
|
40
|
+
updatedAt = "updatedAt",
|
|
41
|
+
label = "label"
|
|
42
|
+
}
|
|
38
43
|
export declare const PaginationParamsFunc: ({ orderByEnum, orderByDefault, orderDefault, }: {
|
|
39
|
-
orderByEnum?:
|
|
44
|
+
orderByEnum?: z.EnumLike;
|
|
40
45
|
orderByDefault?: string;
|
|
41
46
|
orderDefault?: Prisma.SortOrder;
|
|
42
47
|
}) => z.ZodObject<{
|
|
43
|
-
orderBy: z.ZodDefault<z.
|
|
48
|
+
orderBy: z.ZodDefault<z.ZodNativeEnum<z.EnumLike>>;
|
|
44
49
|
order: z.ZodDefault<z.ZodNativeEnum<{
|
|
45
50
|
asc: "asc";
|
|
46
51
|
desc: "desc";
|
|
@@ -48,12 +53,12 @@ export declare const PaginationParamsFunc: ({ orderByEnum, orderByDefault, order
|
|
|
48
53
|
skip: z.ZodDefault<z.ZodEffects<z.ZodAny, number, any>>;
|
|
49
54
|
take: z.ZodDefault<z.ZodEffects<z.ZodAny, number, any>>;
|
|
50
55
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
orderBy?: string;
|
|
56
|
+
orderBy?: string | number;
|
|
52
57
|
order?: "asc" | "desc";
|
|
53
58
|
skip?: number;
|
|
54
59
|
take?: number;
|
|
55
60
|
}, {
|
|
56
|
-
orderBy?: string;
|
|
61
|
+
orderBy?: string | number;
|
|
57
62
|
order?: "asc" | "desc";
|
|
58
63
|
skip?: any;
|
|
59
64
|
take?: any;
|
|
@@ -291,10 +291,15 @@ export declare const GetPackagesParamsFilter: z.ZodObject<{
|
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
}>;
|
|
294
|
+
export declare enum GetPackagesParamsOrderByEnum {
|
|
295
|
+
label = "label",
|
|
296
|
+
updatedAt = "updatedAt",
|
|
297
|
+
createdAt = "createdAt"
|
|
298
|
+
}
|
|
294
299
|
export declare const GetPackagesParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
295
300
|
take: z.ZodDefault<z.ZodEffects<z.ZodAny, number, any>>;
|
|
296
301
|
skip: z.ZodDefault<z.ZodEffects<z.ZodAny, number, any>>;
|
|
297
|
-
orderBy: z.ZodDefault<z.
|
|
302
|
+
orderBy: z.ZodDefault<z.ZodNativeEnum<z.EnumLike>>;
|
|
298
303
|
order: z.ZodDefault<z.ZodNativeEnum<{
|
|
299
304
|
asc: "asc";
|
|
300
305
|
desc: "desc";
|
|
@@ -603,7 +608,7 @@ export declare const GetPackagesParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
603
608
|
}, "strip", z.ZodTypeAny, {
|
|
604
609
|
take?: number;
|
|
605
610
|
skip?: number;
|
|
606
|
-
orderBy?: string;
|
|
611
|
+
orderBy?: string | number;
|
|
607
612
|
order?: "asc" | "desc";
|
|
608
613
|
filter?: {
|
|
609
614
|
prerelease?: boolean;
|
|
@@ -654,7 +659,7 @@ export declare const GetPackagesParams: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
|
654
659
|
}, {
|
|
655
660
|
take?: any;
|
|
656
661
|
skip?: any;
|
|
657
|
-
orderBy?: string;
|
|
662
|
+
orderBy?: string | number;
|
|
658
663
|
order?: "asc" | "desc";
|
|
659
664
|
filter?: {
|
|
660
665
|
prerelease?: any;
|
|
@@ -1052,3 +1057,37 @@ export declare const DeletePackageParams: z.ZodObject<{
|
|
|
1052
1057
|
};
|
|
1053
1058
|
};
|
|
1054
1059
|
}>;
|
|
1060
|
+
export declare const PackageDependencyDeleteParams: z.ZodIntersection<z.ZodObject<Pick<{
|
|
1061
|
+
id: z.ZodString;
|
|
1062
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
type: z.ZodNativeEnum<{
|
|
1065
|
+
BOT_TEMPLATE: "BOT_TEMPLATE";
|
|
1066
|
+
CONTENT: "CONTENT";
|
|
1067
|
+
CONTENT_INPUT: "CONTENT_INPUT";
|
|
1068
|
+
FLOW_TEMPLATE: "FLOW_TEMPLATE";
|
|
1069
|
+
NPM_UNPACKED: "NPM_UNPACKED";
|
|
1070
|
+
RWC_INPUT: "RWC_INPUT";
|
|
1071
|
+
S3_BUCKET: "S3_BUCKET";
|
|
1072
|
+
STEP: "STEP";
|
|
1073
|
+
STEP_INPUT: "STEP_INPUT";
|
|
1074
|
+
STEP_TEMPLATE: "STEP_TEMPLATE";
|
|
1075
|
+
TEST_ONLY: "TEST_ONLY";
|
|
1076
|
+
TICKET_INPUT: "TICKET_INPUT";
|
|
1077
|
+
UNKNOWN: "UNKNOWN";
|
|
1078
|
+
}>;
|
|
1079
|
+
}, "type" | "id" | "revisionId">, "strip", z.ZodTypeAny, {
|
|
1080
|
+
type?: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
1081
|
+
id?: string;
|
|
1082
|
+
revisionId?: string;
|
|
1083
|
+
}, {
|
|
1084
|
+
type?: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
|
|
1085
|
+
id?: string;
|
|
1086
|
+
revisionId?: string;
|
|
1087
|
+
}>, z.ZodObject<{
|
|
1088
|
+
dependencyId: z.ZodString;
|
|
1089
|
+
}, "strip", z.ZodTypeAny, {
|
|
1090
|
+
dependencyId?: string;
|
|
1091
|
+
}, {
|
|
1092
|
+
dependencyId?: string;
|
|
1093
|
+
}>>;
|
|
@@ -1407,3 +1407,13 @@ export declare const GetPackageReleaseResponse: z.ZodIntersection<z.ZodEffects<z
|
|
|
1407
1407
|
}, {
|
|
1408
1408
|
baseUrl?: string;
|
|
1409
1409
|
}>>;
|
|
1410
|
+
export declare const GetPackageArchiveSignedUrl: z.ZodObject<{
|
|
1411
|
+
key: z.ZodString;
|
|
1412
|
+
url: z.ZodString;
|
|
1413
|
+
}, "strip", z.ZodTypeAny, {
|
|
1414
|
+
key?: string;
|
|
1415
|
+
url?: string;
|
|
1416
|
+
}, {
|
|
1417
|
+
key?: string;
|
|
1418
|
+
url?: string;
|
|
1419
|
+
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type AddPackageResponseDTO = z.infer<typeof allZodSchemas.AddPackageRespo
|
|
|
9
9
|
export type GetPackagesListResponseDTO = z.infer<typeof allZodSchemas.GetPackagesListResponse>;
|
|
10
10
|
export type GetPackageResponseDTO = z.infer<typeof allZodSchemas.GetPackageResponse>;
|
|
11
11
|
export type GetPackageReleaseResponseDTO = z.infer<typeof allZodSchemas.GetPackageReleaseResponse>;
|
|
12
|
+
export type GetPackageArchiveSignedUrlDTO = z.infer<typeof allZodSchemas.GetPackageArchiveSignedUrl>;
|
|
12
13
|
export type UniversalPackageParamsDTO = z.infer<typeof allZodSchemas.UniversalPackageParams>;
|
|
13
14
|
export type AddPackageReleaseSystemStatusParamsDTO = z.infer<typeof allZodSchemas.AddPackageReleaseSystemStatusParams>;
|
|
14
15
|
export type AddPackageReleaseReleaseStatusParamsDTO = z.infer<typeof allZodSchemas.AddPackageReleaseReleaseStatusParams>;
|
|
@@ -16,6 +17,7 @@ export type GetPackagesParamsFilterDTO = z.infer<typeof allZodSchemas.GetPackage
|
|
|
16
17
|
export type GetPackagesParamsDTO = z.infer<typeof allZodSchemas.GetPackagesParams>;
|
|
17
18
|
export type GetPackageParamsDTO = z.infer<typeof allZodSchemas.GetPackageParams>;
|
|
18
19
|
export type DeletePackageParamsDTO = z.infer<typeof allZodSchemas.DeletePackageParams>;
|
|
20
|
+
export type PackageDependencyDeleteParamsDTO = z.infer<typeof allZodSchemas.PackageDependencyDeleteParams>;
|
|
19
21
|
export type CreatedByDTO = z.infer<typeof allZodSchemas.CreatedBy>;
|
|
20
22
|
export type ListViewDTO = z.infer<typeof allZodSchemas.ListView>;
|
|
21
23
|
export * from './index.public';
|