@voyantjs/products-react 0.83.0 → 0.84.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.
@@ -6,7 +6,7 @@ export declare function useProductActionLedger(productId: string | null | undefi
6
6
  actionName: string;
7
7
  actionVersion: string;
8
8
  actionKind: "reverse" | "read" | "delete" | "execute" | "update" | "create" | "approve" | "reject" | "compensate" | "duplicate";
9
- status: "failed" | "cancelled" | "compensated" | "succeeded" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "expired" | "superseded";
9
+ status: "failed" | "cancelled" | "compensated" | "succeeded" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "superseded";
10
10
  evaluatedRisk: "high" | "low" | "medium" | "critical";
11
11
  actorType: string | null;
12
12
  principalType: "api_key" | "workflow" | "system" | "user" | "agent";
@@ -4,7 +4,7 @@ export declare function useProductMediaMutation(): {
4
4
  id: string;
5
5
  productId: string;
6
6
  dayId: string | null;
7
- mediaType: "image" | "video" | "document";
7
+ mediaType: "image" | "document" | "video";
8
8
  name: string;
9
9
  url: string;
10
10
  storageKey: string | null;
@@ -16,7 +16,7 @@ export declare function useProductMediaMutation(): {
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
18
  }, Error, {
19
- mediaType: "image" | "video" | "document";
19
+ mediaType: "image" | "document" | "video";
20
20
  name: string;
21
21
  url: string;
22
22
  storageKey?: string | null | undefined;
@@ -36,7 +36,7 @@ export declare function useProductMediaMutation(): {
36
36
  id: string;
37
37
  productId: string;
38
38
  dayId: string | null;
39
- mediaType: "image" | "video" | "document";
39
+ mediaType: "image" | "document" | "video";
40
40
  name: string;
41
41
  url: string;
42
42
  storageKey: string | null;
@@ -56,7 +56,7 @@ export declare function useProductMediaMutation(): {
56
56
  id: string;
57
57
  productId: string;
58
58
  dayId: string | null;
59
- mediaType: "image" | "video" | "document";
59
+ mediaType: "image" | "document" | "video";
60
60
  name: string;
61
61
  url: string;
62
62
  storageKey: string | null;
@@ -85,7 +85,7 @@ export declare function useProductMediaMutation(): {
85
85
  id: string;
86
86
  productId: string;
87
87
  dayId: string | null;
88
- mediaType: "image" | "video" | "document";
88
+ mediaType: "image" | "document" | "video";
89
89
  name: string;
90
90
  url: string;
91
91
  storageKey: string | null;
@@ -7,7 +7,7 @@ export declare function useProductMedia(productId: string | null | undefined, op
7
7
  id: string;
8
8
  productId: string;
9
9
  dayId: string | null;
10
- mediaType: "image" | "video" | "document";
10
+ mediaType: "image" | "document" | "video";
11
11
  name: string;
12
12
  url: string;
13
13
  storageKey: string | null;
@@ -11,7 +11,7 @@ export declare function listProductActionLedger(client: FetchWithValidationOptio
11
11
  actionName: string;
12
12
  actionVersion: string;
13
13
  actionKind: "reverse" | "read" | "delete" | "execute" | "update" | "create" | "approve" | "reject" | "compensate" | "duplicate";
14
- status: "failed" | "cancelled" | "compensated" | "succeeded" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "expired" | "superseded";
14
+ status: "failed" | "cancelled" | "compensated" | "succeeded" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "superseded";
15
15
  evaluatedRisk: "high" | "low" | "medium" | "critical";
16
16
  actorType: string | null;
17
17
  principalType: "api_key" | "workflow" | "system" | "user" | "agent";
@@ -10,7 +10,7 @@ export declare function getProductActionLedgerQueryOptions(client: FetchWithVali
10
10
  actionName: string;
11
11
  actionVersion: string;
12
12
  actionKind: "reverse" | "read" | "delete" | "execute" | "update" | "create" | "approve" | "reject" | "compensate" | "duplicate";
13
- status: "failed" | "cancelled" | "compensated" | "succeeded" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "expired" | "superseded";
13
+ status: "failed" | "cancelled" | "compensated" | "succeeded" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "superseded";
14
14
  evaluatedRisk: "high" | "low" | "medium" | "critical";
15
15
  actorType: string | null;
16
16
  principalType: "api_key" | "workflow" | "system" | "user" | "agent";
@@ -55,7 +55,7 @@ export declare function getProductActionLedgerQueryOptions(client: FetchWithVali
55
55
  actionName: string;
56
56
  actionVersion: string;
57
57
  actionKind: "reverse" | "read" | "delete" | "execute" | "update" | "create" | "approve" | "reject" | "compensate" | "duplicate";
58
- status: "failed" | "cancelled" | "compensated" | "succeeded" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "expired" | "superseded";
58
+ status: "failed" | "cancelled" | "compensated" | "succeeded" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "superseded";
59
59
  evaluatedRisk: "high" | "low" | "medium" | "critical";
60
60
  actorType: string | null;
61
61
  principalType: "api_key" | "workflow" | "system" | "user" | "agent";
@@ -101,7 +101,7 @@ export declare function getProductActionLedgerQueryOptions(client: FetchWithVali
101
101
  actionName: string;
102
102
  actionVersion: string;
103
103
  actionKind: "reverse" | "read" | "delete" | "execute" | "update" | "create" | "approve" | "reject" | "compensate" | "duplicate";
104
- status: "failed" | "cancelled" | "compensated" | "succeeded" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "expired" | "superseded";
104
+ status: "failed" | "cancelled" | "compensated" | "succeeded" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "superseded";
105
105
  evaluatedRisk: "high" | "low" | "medium" | "critical";
106
106
  actorType: string | null;
107
107
  principalType: "api_key" | "workflow" | "system" | "user" | "agent";
@@ -149,7 +149,7 @@ export declare function getProductActionLedgerQueryOptions(client: FetchWithVali
149
149
  actionName: string;
150
150
  actionVersion: string;
151
151
  actionKind: "reverse" | "read" | "delete" | "execute" | "update" | "create" | "approve" | "reject" | "compensate" | "duplicate";
152
- status: "failed" | "cancelled" | "compensated" | "succeeded" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "expired" | "superseded";
152
+ status: "failed" | "cancelled" | "compensated" | "succeeded" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "reversed" | "superseded";
153
153
  evaluatedRisk: "high" | "low" | "medium" | "critical";
154
154
  actorType: string | null;
155
155
  principalType: "api_key" | "workflow" | "system" | "user" | "agent";
@@ -1219,7 +1219,7 @@ export declare function getProductMediaQueryOptions(client: FetchWithValidationO
1219
1219
  id: string;
1220
1220
  productId: string;
1221
1221
  dayId: string | null;
1222
- mediaType: "image" | "video" | "document";
1222
+ mediaType: "image" | "document" | "video";
1223
1223
  name: string;
1224
1224
  url: string;
1225
1225
  storageKey: string | null;
@@ -1239,7 +1239,7 @@ export declare function getProductMediaQueryOptions(client: FetchWithValidationO
1239
1239
  id: string;
1240
1240
  productId: string;
1241
1241
  dayId: string | null;
1242
- mediaType: "image" | "video" | "document";
1242
+ mediaType: "image" | "document" | "video";
1243
1243
  name: string;
1244
1244
  url: string;
1245
1245
  storageKey: string | null;
@@ -1260,7 +1260,7 @@ export declare function getProductMediaQueryOptions(client: FetchWithValidationO
1260
1260
  id: string;
1261
1261
  productId: string;
1262
1262
  dayId: string | null;
1263
- mediaType: "image" | "video" | "document";
1263
+ mediaType: "image" | "document" | "video";
1264
1264
  name: string;
1265
1265
  url: string;
1266
1266
  storageKey: string | null;
@@ -1283,7 +1283,7 @@ export declare function getProductMediaQueryOptions(client: FetchWithValidationO
1283
1283
  id: string;
1284
1284
  productId: string;
1285
1285
  dayId: string | null;
1286
- mediaType: "image" | "video" | "document";
1286
+ mediaType: "image" | "document" | "video";
1287
1287
  name: string;
1288
1288
  url: string;
1289
1289
  storageKey: string | null;
package/dist/schemas.d.ts CHANGED
@@ -277,8 +277,8 @@ export declare const productMediaRecordSchema: z.ZodObject<{
277
277
  dayId: z.ZodNullable<z.ZodString>;
278
278
  mediaType: z.ZodEnum<{
279
279
  image: "image";
280
- video: "video";
281
280
  document: "document";
281
+ video: "video";
282
282
  }>;
283
283
  name: z.ZodString;
284
284
  url: z.ZodString;
@@ -794,8 +794,8 @@ export declare const productMediaListResponse: z.ZodObject<{
794
794
  dayId: z.ZodNullable<z.ZodString>;
795
795
  mediaType: z.ZodEnum<{
796
796
  image: "image";
797
- video: "video";
798
797
  document: "document";
798
+ video: "video";
799
799
  }>;
800
800
  name: z.ZodString;
801
801
  url: z.ZodString;
@@ -819,8 +819,8 @@ export declare const productMediaResponse: z.ZodObject<{
819
819
  dayId: z.ZodNullable<z.ZodString>;
820
820
  mediaType: z.ZodEnum<{
821
821
  image: "image";
822
- video: "video";
823
822
  document: "document";
823
+ video: "video";
824
824
  }>;
825
825
  name: z.ZodString;
826
826
  url: z.ZodString;
@@ -851,12 +851,12 @@ export declare const productActionLedgerStatusSchema: z.ZodEnum<{
851
851
  cancelled: "cancelled";
852
852
  compensated: "compensated";
853
853
  succeeded: "succeeded";
854
+ expired: "expired";
854
855
  requested: "requested";
855
856
  awaiting_approval: "awaiting_approval";
856
857
  approved: "approved";
857
858
  denied: "denied";
858
859
  reversed: "reversed";
859
- expired: "expired";
860
860
  superseded: "superseded";
861
861
  }>;
862
862
  export declare const productActionLedgerRiskSchema: z.ZodEnum<{
@@ -894,12 +894,12 @@ export declare const productActionLedgerEntrySchema: z.ZodObject<{
894
894
  cancelled: "cancelled";
895
895
  compensated: "compensated";
896
896
  succeeded: "succeeded";
897
+ expired: "expired";
897
898
  requested: "requested";
898
899
  awaiting_approval: "awaiting_approval";
899
900
  approved: "approved";
900
901
  denied: "denied";
901
902
  reversed: "reversed";
902
- expired: "expired";
903
903
  superseded: "superseded";
904
904
  }>;
905
905
  evaluatedRisk: z.ZodEnum<{
@@ -974,12 +974,12 @@ export declare const productActionLedgerListResponse: z.ZodObject<{
974
974
  cancelled: "cancelled";
975
975
  compensated: "compensated";
976
976
  succeeded: "succeeded";
977
+ expired: "expired";
977
978
  requested: "requested";
978
979
  awaiting_approval: "awaiting_approval";
979
980
  approved: "approved";
980
981
  denied: "denied";
981
982
  reversed: "reversed";
982
- expired: "expired";
983
983
  superseded: "superseded";
984
984
  }>;
985
985
  evaluatedRisk: z.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/products-react",
3
- "version": "0.83.0",
3
+ "version": "0.84.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "react": "^19.0.0",
42
42
  "react-dom": "^19.0.0",
43
43
  "zod": "^4.0.0",
44
- "@voyantjs/products": "0.83.0"
44
+ "@voyantjs/products": "0.84.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@tanstack/react-query": "^5.100.11",
@@ -52,12 +52,12 @@
52
52
  "typescript": "^6.0.2",
53
53
  "vitest": "^4.1.2",
54
54
  "zod": "^4.3.6",
55
- "@voyantjs/products": "0.83.0",
56
- "@voyantjs/react": "0.83.0",
55
+ "@voyantjs/products": "0.84.0",
56
+ "@voyantjs/react": "0.84.0",
57
57
  "@voyantjs/voyant-typescript-config": "0.1.0"
58
58
  },
59
59
  "dependencies": {
60
- "@voyantjs/react": "0.83.0"
60
+ "@voyantjs/react": "0.84.0"
61
61
  },
62
62
  "files": [
63
63
  "dist"