@voyantjs/pricing-react 0.28.0 → 0.28.3
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.
|
@@ -24,7 +24,7 @@ export declare function usePriceCatalogMutation(): {
|
|
|
24
24
|
id: string;
|
|
25
25
|
code: string;
|
|
26
26
|
name: string;
|
|
27
|
-
currencyCode: string;
|
|
27
|
+
currencyCode: string | null;
|
|
28
28
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
29
29
|
isDefault: boolean;
|
|
30
30
|
active: boolean;
|
|
@@ -43,7 +43,7 @@ export declare function usePriceCatalogMutation(): {
|
|
|
43
43
|
id: string;
|
|
44
44
|
code: string;
|
|
45
45
|
name: string;
|
|
46
|
-
currencyCode: string;
|
|
46
|
+
currencyCode: string | null;
|
|
47
47
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
48
48
|
isDefault: boolean;
|
|
49
49
|
active: boolean;
|
|
@@ -5,7 +5,7 @@ export declare function usePriceCatalog(id: string | null | undefined, options?:
|
|
|
5
5
|
id: string;
|
|
6
6
|
code: string;
|
|
7
7
|
name: string;
|
|
8
|
-
currencyCode: string;
|
|
8
|
+
currencyCode: string | null;
|
|
9
9
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
10
10
|
isDefault: boolean;
|
|
11
11
|
active: boolean;
|
|
@@ -7,7 +7,7 @@ export declare function usePriceCatalogs(options?: UsePriceCatalogsOptions): imp
|
|
|
7
7
|
id: string;
|
|
8
8
|
code: string;
|
|
9
9
|
name: string;
|
|
10
|
-
currencyCode: string;
|
|
10
|
+
currencyCode: string | null;
|
|
11
11
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
12
12
|
isDefault: boolean;
|
|
13
13
|
active: boolean;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -278,7 +278,7 @@ export declare function getPriceCatalogsQueryOptions(client: FetchWithValidation
|
|
|
278
278
|
id: string;
|
|
279
279
|
code: string;
|
|
280
280
|
name: string;
|
|
281
|
-
currencyCode: string;
|
|
281
|
+
currencyCode: string | null;
|
|
282
282
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
283
283
|
isDefault: boolean;
|
|
284
284
|
active: boolean;
|
|
@@ -292,7 +292,7 @@ export declare function getPriceCatalogsQueryOptions(client: FetchWithValidation
|
|
|
292
292
|
id: string;
|
|
293
293
|
code: string;
|
|
294
294
|
name: string;
|
|
295
|
-
currencyCode: string;
|
|
295
|
+
currencyCode: string | null;
|
|
296
296
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
297
297
|
isDefault: boolean;
|
|
298
298
|
active: boolean;
|
|
@@ -307,7 +307,7 @@ export declare function getPriceCatalogsQueryOptions(client: FetchWithValidation
|
|
|
307
307
|
id: string;
|
|
308
308
|
code: string;
|
|
309
309
|
name: string;
|
|
310
|
-
currencyCode: string;
|
|
310
|
+
currencyCode: string | null;
|
|
311
311
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
312
312
|
isDefault: boolean;
|
|
313
313
|
active: boolean;
|
|
@@ -324,7 +324,7 @@ export declare function getPriceCatalogsQueryOptions(client: FetchWithValidation
|
|
|
324
324
|
id: string;
|
|
325
325
|
code: string;
|
|
326
326
|
name: string;
|
|
327
|
-
currencyCode: string;
|
|
327
|
+
currencyCode: string | null;
|
|
328
328
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
329
329
|
isDefault: boolean;
|
|
330
330
|
active: boolean;
|
|
@@ -341,7 +341,7 @@ export declare function getPriceCatalogQueryOptions(client: FetchWithValidationO
|
|
|
341
341
|
id: string;
|
|
342
342
|
code: string;
|
|
343
343
|
name: string;
|
|
344
|
-
currencyCode: string;
|
|
344
|
+
currencyCode: string | null;
|
|
345
345
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
346
346
|
isDefault: boolean;
|
|
347
347
|
active: boolean;
|
|
@@ -350,7 +350,7 @@ export declare function getPriceCatalogQueryOptions(client: FetchWithValidationO
|
|
|
350
350
|
id: string;
|
|
351
351
|
code: string;
|
|
352
352
|
name: string;
|
|
353
|
-
currencyCode: string;
|
|
353
|
+
currencyCode: string | null;
|
|
354
354
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
355
355
|
isDefault: boolean;
|
|
356
356
|
active: boolean;
|
|
@@ -360,7 +360,7 @@ export declare function getPriceCatalogQueryOptions(client: FetchWithValidationO
|
|
|
360
360
|
id: string;
|
|
361
361
|
code: string;
|
|
362
362
|
name: string;
|
|
363
|
-
currencyCode: string;
|
|
363
|
+
currencyCode: string | null;
|
|
364
364
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
365
365
|
isDefault: boolean;
|
|
366
366
|
active: boolean;
|
|
@@ -372,7 +372,7 @@ export declare function getPriceCatalogQueryOptions(client: FetchWithValidationO
|
|
|
372
372
|
id: string;
|
|
373
373
|
code: string;
|
|
374
374
|
name: string;
|
|
375
|
-
currencyCode: string;
|
|
375
|
+
currencyCode: string | null;
|
|
376
376
|
catalogType: "public" | "contract" | "net" | "gross" | "promo" | "internal" | "other";
|
|
377
377
|
isDefault: boolean;
|
|
378
378
|
active: boolean;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export declare const priceCatalogRecordSchema: z.ZodObject<{
|
|
|
64
64
|
id: z.ZodString;
|
|
65
65
|
code: z.ZodString;
|
|
66
66
|
name: z.ZodString;
|
|
67
|
-
currencyCode: z.ZodString
|
|
67
|
+
currencyCode: z.ZodNullable<z.ZodString>;
|
|
68
68
|
catalogType: z.ZodEnum<{
|
|
69
69
|
public: "public";
|
|
70
70
|
contract: "contract";
|
|
@@ -396,7 +396,7 @@ export declare const priceCatalogListResponse: z.ZodObject<{
|
|
|
396
396
|
id: z.ZodString;
|
|
397
397
|
code: z.ZodString;
|
|
398
398
|
name: z.ZodString;
|
|
399
|
-
currencyCode: z.ZodString
|
|
399
|
+
currencyCode: z.ZodNullable<z.ZodString>;
|
|
400
400
|
catalogType: z.ZodEnum<{
|
|
401
401
|
public: "public";
|
|
402
402
|
contract: "contract";
|
|
@@ -419,7 +419,7 @@ export declare const priceCatalogSingleResponse: z.ZodObject<{
|
|
|
419
419
|
id: z.ZodString;
|
|
420
420
|
code: z.ZodString;
|
|
421
421
|
name: z.ZodString;
|
|
422
|
-
currencyCode: z.ZodString
|
|
422
|
+
currencyCode: z.ZodNullable<z.ZodString>;
|
|
423
423
|
catalogType: z.ZodEnum<{
|
|
424
424
|
public: "public";
|
|
425
425
|
contract: "contract";
|
package/dist/schemas.js
CHANGED
|
@@ -53,7 +53,7 @@ export const priceCatalogRecordSchema = z.object({
|
|
|
53
53
|
id: z.string(),
|
|
54
54
|
code: z.string(),
|
|
55
55
|
name: z.string(),
|
|
56
|
-
currencyCode: z.string(),
|
|
56
|
+
currencyCode: z.string().nullable(),
|
|
57
57
|
catalogType: z.enum(["public", "contract", "net", "gross", "promo", "internal", "other"]),
|
|
58
58
|
isDefault: z.boolean(),
|
|
59
59
|
active: z.boolean(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/pricing-react",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.3",
|
|
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/pricing": "0.28.
|
|
44
|
+
"@voyantjs/pricing": "0.28.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"typescript": "^6.0.2",
|
|
53
53
|
"vitest": "^4.1.2",
|
|
54
54
|
"zod": "^4.3.6",
|
|
55
|
-
"@voyantjs/pricing": "0.28.
|
|
56
|
-
"@voyantjs/react": "0.28.
|
|
55
|
+
"@voyantjs/pricing": "0.28.3",
|
|
56
|
+
"@voyantjs/react": "0.28.3",
|
|
57
57
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@voyantjs/react": "0.28.
|
|
60
|
+
"@voyantjs/react": "0.28.3"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|