@rudderhq/shared 0.2.7-canary.0 → 0.2.7-canary.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.
Files changed (41) hide show
  1. package/dist/constants.d.ts +4 -0
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +2 -0
  4. package/dist/constants.js.map +1 -1
  5. package/dist/index.d.ts +3 -3
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +2 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/types/index.d.ts +1 -0
  10. package/dist/types/index.d.ts.map +1 -1
  11. package/dist/types/organization-intelligence-profile.d.ts +19 -0
  12. package/dist/types/organization-intelligence-profile.d.ts.map +1 -0
  13. package/dist/types/organization-intelligence-profile.js +2 -0
  14. package/dist/types/organization-intelligence-profile.js.map +1 -0
  15. package/dist/validators/adapter-skills.d.ts +6 -6
  16. package/dist/validators/agent.d.ts +12 -12
  17. package/dist/validators/automation.d.ts +54 -8
  18. package/dist/validators/automation.d.ts.map +1 -1
  19. package/dist/validators/automation.js +18 -3
  20. package/dist/validators/automation.js.map +1 -1
  21. package/dist/validators/automation.test.d.ts +2 -0
  22. package/dist/validators/automation.test.d.ts.map +1 -0
  23. package/dist/validators/automation.test.js +42 -0
  24. package/dist/validators/automation.test.js.map +1 -0
  25. package/dist/validators/finance.d.ts +4 -4
  26. package/dist/validators/index.d.ts +1 -0
  27. package/dist/validators/index.d.ts.map +1 -1
  28. package/dist/validators/index.js +1 -0
  29. package/dist/validators/index.js.map +1 -1
  30. package/dist/validators/organization-intelligence-profile.d.ts +20 -0
  31. package/dist/validators/organization-intelligence-profile.d.ts.map +1 -0
  32. package/dist/validators/organization-intelligence-profile.js +26 -0
  33. package/dist/validators/organization-intelligence-profile.js.map +1 -0
  34. package/dist/validators/organization-intelligence-profile.test.d.ts +2 -0
  35. package/dist/validators/organization-intelligence-profile.test.d.ts.map +1 -0
  36. package/dist/validators/organization-intelligence-profile.test.js +39 -0
  37. package/dist/validators/organization-intelligence-profile.test.js.map +1 -0
  38. package/dist/validators/organization-portability.d.ts +12 -12
  39. package/dist/validators/organization-skill.d.ts +28 -28
  40. package/dist/validators/plugin.d.ts +2 -2
  41. package/package.json +1 -1
@@ -54,7 +54,7 @@ export declare const organizationSkillSchema: z.ZodObject<{
54
54
  sourceLocator: string | null;
55
55
  sourceRef: string | null;
56
56
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
57
- compatibility: "unknown" | "compatible" | "invalid";
57
+ compatibility: "invalid" | "unknown" | "compatible";
58
58
  fileInventory: {
59
59
  path: string;
60
60
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -74,7 +74,7 @@ export declare const organizationSkillSchema: z.ZodObject<{
74
74
  sourceLocator: string | null;
75
75
  sourceRef: string | null;
76
76
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
77
- compatibility: "unknown" | "compatible" | "invalid";
77
+ compatibility: "invalid" | "unknown" | "compatible";
78
78
  fileInventory?: {
79
79
  path: string;
80
80
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -129,7 +129,7 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
129
129
  sourceLocator: string | null;
130
130
  sourceRef: string | null;
131
131
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
132
- compatibility: "unknown" | "compatible" | "invalid";
132
+ compatibility: "invalid" | "unknown" | "compatible";
133
133
  fileInventory: {
134
134
  path: string;
135
135
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -156,7 +156,7 @@ export declare const organizationSkillListItemSchema: z.ZodObject<{
156
156
  sourceLocator: string | null;
157
157
  sourceRef: string | null;
158
158
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
159
- compatibility: "unknown" | "compatible" | "invalid";
159
+ compatibility: "invalid" | "unknown" | "compatible";
160
160
  attachedAgentCount: number;
161
161
  editable: boolean;
162
162
  editableReason: string | null;
@@ -179,15 +179,15 @@ export declare const organizationSkillUsageAgentSchema: z.ZodObject<{
179
179
  }, "strip", z.ZodTypeAny, {
180
180
  id: string;
181
181
  name: string;
182
- urlKey: string;
183
182
  agentRuntimeType: string;
183
+ urlKey: string;
184
184
  desired: boolean;
185
185
  actualState: string | null;
186
186
  }, {
187
187
  id: string;
188
188
  name: string;
189
- urlKey: string;
190
189
  agentRuntimeType: string;
190
+ urlKey: string;
191
191
  desired: boolean;
192
192
  actualState: string | null;
193
193
  }>;
@@ -229,15 +229,15 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
229
229
  }, "strip", z.ZodTypeAny, {
230
230
  id: string;
231
231
  name: string;
232
- urlKey: string;
233
232
  agentRuntimeType: string;
233
+ urlKey: string;
234
234
  desired: boolean;
235
235
  actualState: string | null;
236
236
  }, {
237
237
  id: string;
238
238
  name: string;
239
- urlKey: string;
240
239
  agentRuntimeType: string;
240
+ urlKey: string;
241
241
  desired: boolean;
242
242
  actualState: string | null;
243
243
  }>, "many">>;
@@ -262,7 +262,7 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
262
262
  sourceLocator: string | null;
263
263
  sourceRef: string | null;
264
264
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
265
- compatibility: "unknown" | "compatible" | "invalid";
265
+ compatibility: "invalid" | "unknown" | "compatible";
266
266
  fileInventory: {
267
267
  path: string;
268
268
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -277,8 +277,8 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
277
277
  usedByAgents: {
278
278
  id: string;
279
279
  name: string;
280
- urlKey: string;
281
280
  agentRuntimeType: string;
281
+ urlKey: string;
282
282
  desired: boolean;
283
283
  actualState: string | null;
284
284
  }[];
@@ -297,7 +297,7 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
297
297
  sourceLocator: string | null;
298
298
  sourceRef: string | null;
299
299
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
300
- compatibility: "unknown" | "compatible" | "invalid";
300
+ compatibility: "invalid" | "unknown" | "compatible";
301
301
  attachedAgentCount: number;
302
302
  editable: boolean;
303
303
  editableReason: string | null;
@@ -312,8 +312,8 @@ export declare const organizationSkillDetailSchema: z.ZodObject<{
312
312
  usedByAgents?: {
313
313
  id: string;
314
314
  name: string;
315
- urlKey: string;
316
315
  agentRuntimeType: string;
316
+ urlKey: string;
317
317
  desired: boolean;
318
318
  actualState: string | null;
319
319
  }[] | undefined;
@@ -461,7 +461,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
461
461
  sourceLocator: string | null;
462
462
  sourceRef: string | null;
463
463
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
464
- compatibility: "unknown" | "compatible" | "invalid";
464
+ compatibility: "invalid" | "unknown" | "compatible";
465
465
  fileInventory: {
466
466
  path: string;
467
467
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -481,7 +481,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
481
481
  sourceLocator: string | null;
482
482
  sourceRef: string | null;
483
483
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
484
- compatibility: "unknown" | "compatible" | "invalid";
484
+ compatibility: "invalid" | "unknown" | "compatible";
485
485
  fileInventory?: {
486
486
  path: string;
487
487
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -528,7 +528,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
528
528
  sourceLocator: string | null;
529
529
  sourceRef: string | null;
530
530
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
531
- compatibility: "unknown" | "compatible" | "invalid";
531
+ compatibility: "invalid" | "unknown" | "compatible";
532
532
  fileInventory: {
533
533
  path: string;
534
534
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -548,7 +548,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
548
548
  sourceLocator: string | null;
549
549
  sourceRef: string | null;
550
550
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
551
- compatibility: "unknown" | "compatible" | "invalid";
551
+ compatibility: "invalid" | "unknown" | "compatible";
552
552
  fileInventory?: {
553
553
  path: string;
554
554
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -630,7 +630,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
630
630
  sourceLocator: string | null;
631
631
  sourceRef: string | null;
632
632
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
633
- compatibility: "unknown" | "compatible" | "invalid";
633
+ compatibility: "invalid" | "unknown" | "compatible";
634
634
  fileInventory: {
635
635
  path: string;
636
636
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -659,7 +659,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
659
659
  sourceLocator: string | null;
660
660
  sourceRef: string | null;
661
661
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
662
- compatibility: "unknown" | "compatible" | "invalid";
662
+ compatibility: "invalid" | "unknown" | "compatible";
663
663
  fileInventory: {
664
664
  path: string;
665
665
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -698,7 +698,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
698
698
  sourceLocator: string | null;
699
699
  sourceRef: string | null;
700
700
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
701
- compatibility: "unknown" | "compatible" | "invalid";
701
+ compatibility: "invalid" | "unknown" | "compatible";
702
702
  fileInventory?: {
703
703
  path: string;
704
704
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -727,7 +727,7 @@ export declare const organizationSkillProjectScanResultSchema: z.ZodObject<{
727
727
  sourceLocator: string | null;
728
728
  sourceRef: string | null;
729
729
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
730
- compatibility: "unknown" | "compatible" | "invalid";
730
+ compatibility: "invalid" | "unknown" | "compatible";
731
731
  fileInventory?: {
732
732
  path: string;
733
733
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -843,7 +843,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
843
843
  sourceLocator: string | null;
844
844
  sourceRef: string | null;
845
845
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
846
- compatibility: "unknown" | "compatible" | "invalid";
846
+ compatibility: "invalid" | "unknown" | "compatible";
847
847
  fileInventory: {
848
848
  path: string;
849
849
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -863,7 +863,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
863
863
  sourceLocator: string | null;
864
864
  sourceRef: string | null;
865
865
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
866
- compatibility: "unknown" | "compatible" | "invalid";
866
+ compatibility: "invalid" | "unknown" | "compatible";
867
867
  fileInventory?: {
868
868
  path: string;
869
869
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -910,7 +910,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
910
910
  sourceLocator: string | null;
911
911
  sourceRef: string | null;
912
912
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
913
- compatibility: "unknown" | "compatible" | "invalid";
913
+ compatibility: "invalid" | "unknown" | "compatible";
914
914
  fileInventory: {
915
915
  path: string;
916
916
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -930,7 +930,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
930
930
  sourceLocator: string | null;
931
931
  sourceRef: string | null;
932
932
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
933
- compatibility: "unknown" | "compatible" | "invalid";
933
+ compatibility: "invalid" | "unknown" | "compatible";
934
934
  fileInventory?: {
935
935
  path: string;
936
936
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -994,7 +994,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
994
994
  sourceLocator: string | null;
995
995
  sourceRef: string | null;
996
996
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
997
- compatibility: "unknown" | "compatible" | "invalid";
997
+ compatibility: "invalid" | "unknown" | "compatible";
998
998
  fileInventory: {
999
999
  path: string;
1000
1000
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -1020,7 +1020,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1020
1020
  sourceLocator: string | null;
1021
1021
  sourceRef: string | null;
1022
1022
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
1023
- compatibility: "unknown" | "compatible" | "invalid";
1023
+ compatibility: "invalid" | "unknown" | "compatible";
1024
1024
  fileInventory: {
1025
1025
  path: string;
1026
1026
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -1055,7 +1055,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1055
1055
  sourceLocator: string | null;
1056
1056
  sourceRef: string | null;
1057
1057
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
1058
- compatibility: "unknown" | "compatible" | "invalid";
1058
+ compatibility: "invalid" | "unknown" | "compatible";
1059
1059
  fileInventory?: {
1060
1060
  path: string;
1061
1061
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -1081,7 +1081,7 @@ export declare const organizationSkillLocalScanResultSchema: z.ZodObject<{
1081
1081
  sourceLocator: string | null;
1082
1082
  sourceRef: string | null;
1083
1083
  trustLevel: "markdown_only" | "assets" | "scripts_executables";
1084
- compatibility: "unknown" | "compatible" | "invalid";
1084
+ compatibility: "invalid" | "unknown" | "compatible";
1085
1085
  fileInventory?: {
1086
1086
  path: string;
1087
1087
  kind: "reference" | "skill" | "markdown" | "script" | "asset" | "other";
@@ -1088,10 +1088,10 @@ export declare const updatePluginStatusSchema: z.ZodObject<{
1088
1088
  status: z.ZodEnum<["installed", "ready", "disabled", "error", "upgrade_pending", "uninstalled"]>;
1089
1089
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1090
1090
  }, "strip", z.ZodTypeAny, {
1091
- status: "error" | "installed" | "ready" | "disabled" | "upgrade_pending" | "uninstalled";
1091
+ status: "disabled" | "error" | "installed" | "ready" | "upgrade_pending" | "uninstalled";
1092
1092
  lastError?: string | null | undefined;
1093
1093
  }, {
1094
- status: "error" | "installed" | "ready" | "disabled" | "upgrade_pending" | "uninstalled";
1094
+ status: "disabled" | "error" | "installed" | "ready" | "upgrade_pending" | "uninstalled";
1095
1095
  lastError?: string | null | undefined;
1096
1096
  }>;
1097
1097
  export type UpdatePluginStatus = z.infer<typeof updatePluginStatusSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudderhq/shared",
3
- "version": "0.2.7-canary.0",
3
+ "version": "0.2.7-canary.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "homepage": "https://github.com/Undertone0809/rudder",
6
6
  "bugs": {