@socotra/ec-react-schemas 2.25.3-next.2 → 2.25.3-next.4
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 +17 -25
- package/dist/index.es.js +7803 -7356
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { z as z_2 } from 'zod';
|
|
|
3
3
|
|
|
4
4
|
export declare const AbsoluteEnum: z.ZodEnum<{
|
|
5
5
|
none: "none";
|
|
6
|
-
required: "required";
|
|
7
6
|
excluded: "excluded";
|
|
7
|
+
required: "required";
|
|
8
8
|
}>;
|
|
9
9
|
|
|
10
10
|
export declare type AccountConfig = z.infer<typeof accountConfigSchema>;
|
|
@@ -4309,8 +4309,8 @@ export declare const DisbursementUpdateRequestSchema: z.ZodObject<{
|
|
|
4309
4309
|
containerType: z.ZodEnum<{
|
|
4310
4310
|
account: "account";
|
|
4311
4311
|
invoice: "invoice";
|
|
4312
|
-
invoiceItem: "invoiceItem";
|
|
4313
4312
|
subpayment: "subpayment";
|
|
4313
|
+
invoiceItem: "invoiceItem";
|
|
4314
4314
|
}>;
|
|
4315
4315
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
4316
4316
|
}, z.core.$strip>>;
|
|
@@ -4967,6 +4967,12 @@ export declare type EvaluateConstraintsResponse = z.infer<typeof evaluateConstra
|
|
|
4967
4967
|
|
|
4968
4968
|
export declare const evaluateConstraintsResponseSchema: z.ZodRecord<z.ZodULID, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
4969
4969
|
|
|
4970
|
+
export declare type EventsEnum = z.infer<typeof EventsEnumSchema>;
|
|
4971
|
+
|
|
4972
|
+
export declare const EventsEnumSchema: z.ZodEnum<{
|
|
4973
|
+
[x: string]: string;
|
|
4974
|
+
}>;
|
|
4975
|
+
|
|
4970
4976
|
export declare const FetchUserAssociationsParamsSchema: z.ZodObject<{
|
|
4971
4977
|
tenantLocator: z.ZodUUID;
|
|
4972
4978
|
userLocator: z.ZodGUID;
|
|
@@ -5044,8 +5050,8 @@ export declare const FnolCreateRequestSchema: z.ZodObject<{
|
|
|
5044
5050
|
locator: z.ZodULID;
|
|
5045
5051
|
fnolLossState: z.ZodEnum<{
|
|
5046
5052
|
pending: "pending";
|
|
5047
|
-
excluded: "excluded";
|
|
5048
5053
|
valid: "valid";
|
|
5054
|
+
excluded: "excluded";
|
|
5049
5055
|
}>;
|
|
5050
5056
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5051
5057
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
@@ -5077,20 +5083,6 @@ export declare const FnolCreateRequestSchema: z.ZodObject<{
|
|
|
5077
5083
|
autoValidate: z.ZodBoolean;
|
|
5078
5084
|
}, z.core.$strip>;
|
|
5079
5085
|
|
|
5080
|
-
export declare type FnolEventsEnum = z.infer<typeof FnolEventsEnumSchema>;
|
|
5081
|
-
|
|
5082
|
-
export declare const FnolEventsEnumSchema: z.ZodEnum<{
|
|
5083
|
-
fnolNumberingAssigmentFailed: "fnolNumberingAssigmentFailed";
|
|
5084
|
-
fnolCreateEvent: "fnolCreateEvent";
|
|
5085
|
-
fnolValidateEvent: "fnolValidateEvent";
|
|
5086
|
-
fnolUpdateEvent: "fnolUpdateEvent";
|
|
5087
|
-
fnolCompleteEvent: "fnolCompleteEvent";
|
|
5088
|
-
fnolClaimEvent: "fnolClaimEvent";
|
|
5089
|
-
fnolRejectEvent: "fnolRejectEvent";
|
|
5090
|
-
fnolDiscardEvent: "fnolDiscardEvent";
|
|
5091
|
-
fnolAnonymizeEvent: "fnolAnonymizeEvent";
|
|
5092
|
-
}>;
|
|
5093
|
-
|
|
5094
5086
|
export declare type FnolId = z.infer<typeof FnolIdSchema>;
|
|
5095
5087
|
|
|
5096
5088
|
export declare const FnolIdSchema: z.ZodULID;
|
|
@@ -5114,8 +5106,8 @@ export declare const FnolListResponseSchema: z.ZodObject<{
|
|
|
5114
5106
|
locator: z.ZodULID;
|
|
5115
5107
|
fnolLossState: z.ZodEnum<{
|
|
5116
5108
|
pending: "pending";
|
|
5117
|
-
excluded: "excluded";
|
|
5118
5109
|
valid: "valid";
|
|
5110
|
+
excluded: "excluded";
|
|
5119
5111
|
}>;
|
|
5120
5112
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5121
5113
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
@@ -5169,8 +5161,8 @@ export declare const FnolLossSchema: z.ZodObject<{
|
|
|
5169
5161
|
locator: z.ZodULID;
|
|
5170
5162
|
fnolLossState: z.ZodEnum<{
|
|
5171
5163
|
pending: "pending";
|
|
5172
|
-
excluded: "excluded";
|
|
5173
5164
|
valid: "valid";
|
|
5165
|
+
excluded: "excluded";
|
|
5174
5166
|
}>;
|
|
5175
5167
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5176
5168
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
@@ -5192,8 +5184,8 @@ export declare type FnolLossStateEnum = z.infer<typeof FnolLossStateEnumSchema>;
|
|
|
5192
5184
|
|
|
5193
5185
|
export declare const FnolLossStateEnumSchema: z.ZodEnum<{
|
|
5194
5186
|
pending: "pending";
|
|
5195
|
-
excluded: "excluded";
|
|
5196
5187
|
valid: "valid";
|
|
5188
|
+
excluded: "excluded";
|
|
5197
5189
|
}>;
|
|
5198
5190
|
|
|
5199
5191
|
export declare type FnolPatchRequest = z.infer<typeof FnolPatchRequestSchema>;
|
|
@@ -5302,8 +5294,8 @@ export declare const FnolResponseSchema: z.ZodObject<{
|
|
|
5302
5294
|
locator: z.ZodULID;
|
|
5303
5295
|
fnolLossState: z.ZodEnum<{
|
|
5304
5296
|
pending: "pending";
|
|
5305
|
-
excluded: "excluded";
|
|
5306
5297
|
valid: "valid";
|
|
5298
|
+
excluded: "excluded";
|
|
5307
5299
|
}>;
|
|
5308
5300
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5309
5301
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
@@ -5852,11 +5844,11 @@ export declare const ledgerAccountReferenceTypeEnumSchema: z.ZodEnum<{
|
|
|
5852
5844
|
quote: "quote";
|
|
5853
5845
|
transaction: "transaction";
|
|
5854
5846
|
credit: "credit";
|
|
5847
|
+
invoiceItem: "invoiceItem";
|
|
5855
5848
|
cash: "cash";
|
|
5856
5849
|
accountCreditBalance: "accountCreditBalance";
|
|
5857
5850
|
charge: "charge";
|
|
5858
5851
|
installmentItem: "installmentItem";
|
|
5859
|
-
invoiceItem: "invoiceItem";
|
|
5860
5852
|
accountExpenseBalance: "accountExpenseBalance";
|
|
5861
5853
|
}>;
|
|
5862
5854
|
|
|
@@ -6051,11 +6043,11 @@ export declare const ledgerAccountResponseSchema: z.ZodObject<{
|
|
|
6051
6043
|
quote: "quote";
|
|
6052
6044
|
transaction: "transaction";
|
|
6053
6045
|
credit: "credit";
|
|
6046
|
+
invoiceItem: "invoiceItem";
|
|
6054
6047
|
cash: "cash";
|
|
6055
6048
|
accountCreditBalance: "accountCreditBalance";
|
|
6056
6049
|
charge: "charge";
|
|
6057
6050
|
installmentItem: "installmentItem";
|
|
6058
|
-
invoiceItem: "invoiceItem";
|
|
6059
6051
|
accountExpenseBalance: "accountExpenseBalance";
|
|
6060
6052
|
}>;
|
|
6061
6053
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
@@ -11582,8 +11574,8 @@ export declare const SearchRequestSchema: z.ZodObject<{
|
|
|
11582
11574
|
}>;
|
|
11583
11575
|
absolute: z.ZodEnum<{
|
|
11584
11576
|
none: "none";
|
|
11585
|
-
required: "required";
|
|
11586
11577
|
excluded: "excluded";
|
|
11578
|
+
required: "required";
|
|
11587
11579
|
}>;
|
|
11588
11580
|
}, z.core.$strip>>>;
|
|
11589
11581
|
}, z.core.$strip>;
|
|
@@ -11645,8 +11637,8 @@ export declare const SearchTermRequestSchema: z.ZodObject<{
|
|
|
11645
11637
|
}>;
|
|
11646
11638
|
absolute: z.ZodEnum<{
|
|
11647
11639
|
none: "none";
|
|
11648
|
-
required: "required";
|
|
11649
11640
|
excluded: "excluded";
|
|
11641
|
+
required: "required";
|
|
11650
11642
|
}>;
|
|
11651
11643
|
}, z.core.$strip>;
|
|
11652
11644
|
|