@or-sdk/library-types-v1 6.0.13 → 6.0.14

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.
@@ -60,6 +60,14 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
60
60
  PDE: "PDE";
61
61
  }>>>;
62
62
  data: z.ZodDefault<z.ZodOptional<z.ZodAny>>;
63
+ schemaType: z.ZodOptional<z.ZodNativeEnum<{
64
+ LEGACY: "LEGACY";
65
+ LEGACY_MULTI: "LEGACY_MULTI";
66
+ EXTERNAL: "EXTERNAL";
67
+ VUE2_V1: "VUE2_V1";
68
+ VUE3_V1: "VUE3_V1";
69
+ UNKNOWN: "UNKNOWN";
70
+ }>>;
63
71
  }, "strip", z.ZodTypeAny, {
64
72
  fileName?: string;
65
73
  fileNames?: string[];
@@ -84,6 +92,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
84
92
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
85
93
  level?: "USER" | "ACCOUNT" | "PDE";
86
94
  data?: any;
95
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
87
96
  }, {
88
97
  fileName?: string;
89
98
  fileNames?: string[];
@@ -108,6 +117,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
108
117
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
109
118
  level?: "USER" | "ACCOUNT" | "PDE";
110
119
  data?: any;
120
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
111
121
  }>, {
112
122
  fileName?: string;
113
123
  fileNames?: string[];
@@ -132,6 +142,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
132
142
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
133
143
  level?: "USER" | "ACCOUNT" | "PDE";
134
144
  data?: any;
145
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
135
146
  }, {
136
147
  fileName?: string;
137
148
  fileNames?: string[];
@@ -156,6 +167,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
156
167
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
157
168
  level?: "USER" | "ACCOUNT" | "PDE";
158
169
  data?: any;
170
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
159
171
  }>;
160
172
  export declare const CreatePackageReleaseBody: z.ZodEffects<z.ZodObject<{
161
173
  status: z.ZodOptional<z.ZodEffects<z.ZodString, any, string>>;
@@ -1632,3 +1632,13 @@ export declare const GetPackageSystemStatusResponse: z.ZodObject<{
1632
1632
  type?: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
1633
1633
  version?: string;
1634
1634
  }>;
1635
+ export declare const CreatePackageFromJsonResponse: z.ZodObject<{
1636
+ success: z.ZodBoolean;
1637
+ debug: z.ZodOptional<z.ZodAny>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ success?: boolean;
1640
+ debug?: any;
1641
+ }, {
1642
+ success?: boolean;
1643
+ debug?: any;
1644
+ }>;
@@ -353,6 +353,14 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
353
353
  PDE: "PDE";
354
354
  }>>>;
355
355
  data: z.ZodDefault<z.ZodOptional<z.ZodAny>>;
356
+ schemaType: z.ZodOptional<z.ZodNativeEnum<{
357
+ LEGACY: "LEGACY";
358
+ LEGACY_MULTI: "LEGACY_MULTI";
359
+ EXTERNAL: "EXTERNAL";
360
+ VUE2_V1: "VUE2_V1";
361
+ VUE3_V1: "VUE3_V1";
362
+ UNKNOWN: "UNKNOWN";
363
+ }>>;
356
364
  }, "strip", z.ZodTypeAny, {
357
365
  fileName?: string;
358
366
  fileNames?: string[];
@@ -377,6 +385,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
377
385
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
378
386
  level?: "USER" | "ACCOUNT" | "PDE";
379
387
  data?: any;
388
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
380
389
  }, {
381
390
  fileName?: string;
382
391
  fileNames?: string[];
@@ -401,6 +410,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
401
410
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
402
411
  level?: "USER" | "ACCOUNT" | "PDE";
403
412
  data?: any;
413
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
404
414
  }>, {
405
415
  fileName?: string;
406
416
  fileNames?: string[];
@@ -425,6 +435,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
425
435
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
426
436
  level?: "USER" | "ACCOUNT" | "PDE";
427
437
  data?: any;
438
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
428
439
  }, {
429
440
  fileName?: string;
430
441
  fileNames?: string[];
@@ -449,6 +460,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
449
460
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
450
461
  level?: "USER" | "ACCOUNT" | "PDE";
451
462
  data?: any;
463
+ schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1";
452
464
  }>>, z.ZodObject<{
453
465
  statusDetailsReleaseData: z.ZodObject<{
454
466
  status: z.ZodEffects<z.ZodString, any, string>;
@@ -1,21 +1,7 @@
1
1
  import { z } from 'zod';
2
- export declare const SyncLegacyResponse: z.ZodObject<{
2
+ export declare const SyncResponse: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  version: z.ZodString;
5
- created: z.ZodBoolean;
6
- }, "strip", z.ZodTypeAny, {
7
- id?: string;
8
- version?: string;
9
- created?: boolean;
10
- }, {
11
- id?: string;
12
- version?: string;
13
- created?: boolean;
14
- }>;
15
- export declare const PutLegacyVersionResponse: z.ZodObject<{
16
- id: z.ZodString;
17
- version: z.ZodString;
18
- revisionId: z.ZodString;
19
5
  type: z.ZodNativeEnum<{
20
6
  BOT_TEMPLATE: "BOT_TEMPLATE";
21
7
  CONTENT: "CONTENT";
@@ -31,20 +17,21 @@ export declare const PutLegacyVersionResponse: z.ZodObject<{
31
17
  TICKET_INPUT: "TICKET_INPUT";
32
18
  UNKNOWN: "UNKNOWN";
33
19
  }>;
34
- fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created: z.ZodBoolean;
21
+ key: z.ZodOptional<z.ZodString>;
22
+ debug: z.ZodAny;
36
23
  }, "strip", z.ZodTypeAny, {
37
24
  id?: string;
38
25
  version?: string;
39
- revisionId?: string;
40
26
  type?: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
41
- fileName?: string;
27
+ created?: boolean;
42
28
  key?: string;
29
+ debug?: any;
43
30
  }, {
44
31
  id?: string;
45
32
  version?: string;
46
- revisionId?: string;
47
33
  type?: "BOT_TEMPLATE" | "CONTENT" | "CONTENT_INPUT" | "FLOW_TEMPLATE" | "NPM_UNPACKED" | "RWC_INPUT" | "S3_BUCKET" | "STEP" | "STEP_INPUT" | "STEP_TEMPLATE" | "TEST_ONLY" | "TICKET_INPUT" | "UNKNOWN";
48
- fileName?: string;
34
+ created?: boolean;
49
35
  key?: string;
36
+ debug?: any;
50
37
  }>;
@@ -33,6 +33,7 @@ export type GetPackageArchiveSignedUrlDTO = z.infer<typeof allZodSchemas.GetPack
33
33
  export type CreatePackageByVersionFileNamesResponseDTO = z.infer<typeof allZodSchemas.CreatePackageByVersionFileNamesResponse>;
34
34
  export type CreatePackageByVersionResponseDTO = z.infer<typeof allZodSchemas.CreatePackageByVersionResponse>;
35
35
  export type GetPackageSystemStatusResponseDTO = z.infer<typeof allZodSchemas.GetPackageSystemStatusResponse>;
36
+ export type CreatePackageFromJsonResponseDTO = z.infer<typeof allZodSchemas.CreatePackageFromJsonResponse>;
36
37
  export type SourcesParamUniversalDTO = z.infer<typeof allZodSchemas.SourcesParamUniversal>;
37
38
  export type SourceDataBodyDTO = z.infer<typeof allZodSchemas.SourceDataBody>;
38
39
  export type SourceMetaMocksBodyDTO = z.infer<typeof allZodSchemas.SourceMetaMocksBody>;
@@ -47,8 +48,7 @@ export type GetSourceItemResponseDTO = z.infer<typeof allZodSchemas.GetSourceIte
47
48
  export type GetSourcesResponseDTO = z.infer<typeof allZodSchemas.GetSourcesResponse>;
48
49
  export type GetSourceRevisionResponseDTO = z.infer<typeof allZodSchemas.GetSourceRevisionResponse>;
49
50
  export type ForkSourceBranchResponseDTO = z.infer<typeof allZodSchemas.ForkSourceBranchResponse>;
50
- export type SyncLegacyResponseDTO = z.infer<typeof allZodSchemas.SyncLegacyResponse>;
51
- export type PutLegacyVersionResponseDTO = z.infer<typeof allZodSchemas.PutLegacyVersionResponse>;
51
+ export type SyncResponseDTO = z.infer<typeof allZodSchemas.SyncResponse>;
52
52
  export type UploadUrlSchemaDTO = z.infer<typeof allZodSchemas.UploadUrlSchema>;
53
53
  export type UploadUrlSchemaRequiredDTO = z.infer<typeof allZodSchemas.UploadUrlSchemaRequired>;
54
54
  export type PackageMetaDTO = z.infer<typeof allZodSchemas.PackageMeta>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/library-types-v1",
3
- "version": "6.0.13",
3
+ "version": "6.0.14",
4
4
  "description": "Request/response v1 legacy types for the OR SDK",
5
5
  "files": [
6
6
  "./dist",
@@ -20,7 +20,7 @@
20
20
  "devDependencies": {
21
21
  "nestjs-zod": "3.0.0",
22
22
  "zod": "3.22.4",
23
- "@or-sdk/library-prisma": "6.0.9"
23
+ "@or-sdk/library-prisma": "6.0.16"
24
24
  },
25
25
  "scripts": {
26
26
  "build:nest": "npx ts-node ./esbuild.nest.ts",