@socotra/ec-react-schemas 2.14.1-next.3 → 2.14.2-next.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.
- package/dist/index.d.ts +7 -7
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1635,7 +1635,7 @@ export declare const AssignmentParamsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1635
1635
|
assignmentLocator: string;
|
|
1636
1636
|
}>;
|
|
1637
1637
|
|
|
1638
|
-
export declare type
|
|
1638
|
+
export declare type AssignmentResponse = z.infer<typeof AssignmentResponseSchema>;
|
|
1639
1639
|
|
|
1640
1640
|
export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1641
1641
|
locator: z.ZodString;
|
|
@@ -11036,7 +11036,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
11036
11036
|
dueTime: z.ZodString;
|
|
11037
11037
|
generatedTime: z.ZodString;
|
|
11038
11038
|
timezone: z.ZodString;
|
|
11039
|
-
invoiceItems: z.ZodArray<z.ZodObject<{
|
|
11039
|
+
invoiceItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11040
11040
|
locator: z.ZodString;
|
|
11041
11041
|
elementStaticLocator: z.ZodString;
|
|
11042
11042
|
invoiceLocator: z.ZodString;
|
|
@@ -11084,7 +11084,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
11084
11084
|
remainingAmount?: number | undefined;
|
|
11085
11085
|
settlementTime?: string | undefined;
|
|
11086
11086
|
transactionLocators?: string[] | undefined;
|
|
11087
|
-
}>, "many"
|
|
11087
|
+
}>, "many">>;
|
|
11088
11088
|
totalAmount: z.ZodOptional<z.ZodNumber>;
|
|
11089
11089
|
totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
|
|
11090
11090
|
unsettledTime: z.ZodOptional<z.ZodString>;
|
|
@@ -11099,7 +11099,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
11099
11099
|
invoiceState: "open" | "settled";
|
|
11100
11100
|
dueTime: string;
|
|
11101
11101
|
generatedTime: string;
|
|
11102
|
-
invoiceItems
|
|
11102
|
+
invoiceItems?: {
|
|
11103
11103
|
locator: string;
|
|
11104
11104
|
timezone: string;
|
|
11105
11105
|
chargeType: string;
|
|
@@ -11115,7 +11115,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
11115
11115
|
remainingAmount?: number | undefined;
|
|
11116
11116
|
settlementTime?: string | undefined;
|
|
11117
11117
|
transactionLocators?: string[] | undefined;
|
|
11118
|
-
}[];
|
|
11118
|
+
}[] | undefined;
|
|
11119
11119
|
totalAmount?: number | undefined;
|
|
11120
11120
|
totalRemainingAmount?: number | undefined;
|
|
11121
11121
|
unsettledTime?: string | undefined;
|
|
@@ -11130,7 +11130,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
11130
11130
|
invoiceState: "open" | "settled";
|
|
11131
11131
|
dueTime: string;
|
|
11132
11132
|
generatedTime: string;
|
|
11133
|
-
invoiceItems
|
|
11133
|
+
invoiceItems?: {
|
|
11134
11134
|
locator: string;
|
|
11135
11135
|
timezone: string;
|
|
11136
11136
|
chargeType: string;
|
|
@@ -11146,7 +11146,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
11146
11146
|
remainingAmount?: number | undefined;
|
|
11147
11147
|
settlementTime?: string | undefined;
|
|
11148
11148
|
transactionLocators?: string[] | undefined;
|
|
11149
|
-
}[];
|
|
11149
|
+
}[] | undefined;
|
|
11150
11150
|
totalAmount?: number | undefined;
|
|
11151
11151
|
totalRemainingAmount?: number | undefined;
|
|
11152
11152
|
unsettledTime?: string | undefined;
|
package/dist/index.es.js
CHANGED
|
@@ -7648,7 +7648,7 @@ const zl = rn.merge(
|
|
|
7648
7648
|
dueTime: e.string(),
|
|
7649
7649
|
generatedTime: e.string(),
|
|
7650
7650
|
timezone: e.string(),
|
|
7651
|
-
invoiceItems: ss.array(),
|
|
7651
|
+
invoiceItems: ss.array().optional(),
|
|
7652
7652
|
totalAmount: e.number().optional(),
|
|
7653
7653
|
totalRemainingAmount: e.number().optional(),
|
|
7654
7654
|
unsettledTime: e.string().optional(),
|