@socotra/ec-react-schemas 2.21.0-next.0 → 2.21.0-next.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.
package/README.md CHANGED
@@ -185,6 +185,12 @@ Follow instructions in the `packages/docs/README.md` file to build the documenta
185
185
 
186
186
  ### Config
187
187
 
188
+ **account-evaluate-constraints-request.ts**
189
+
190
+ | Zod Schema | Type |
191
+ |------------|------
192
+ | `accountEvaluateConstraintsRequestSchema` | `AccountEvaluateConstraintsRequest` |
193
+
188
194
  **account-schema.ts**
189
195
 
190
196
  | Zod Schema | Type |
@@ -262,6 +268,24 @@ Follow instructions in the `packages/docs/README.md` file to build the documenta
262
268
  | `elementConfigRecordSchema` | |
263
269
  | | `ElementConfig` |
264
270
 
271
+ **dependency-map-response.ts**
272
+
273
+ | Zod Schema | Type |
274
+ |------------|------
275
+ | `dependencyMapResponseSchema` | `DependencyMapResponse` |
276
+
277
+ **evaluate-constraint-request.ts**
278
+
279
+ | Zod Schema | Type |
280
+ |------------|------
281
+ | `evaluateConstraintsRequestSchema` | `EvaluateConstraintsRequest` |
282
+
283
+ **evaluate-constraint-response.ts**
284
+
285
+ | Zod Schema | Type |
286
+ |------------|------
287
+ | `evaluateConstraintsResponseSchema` | `EvaluateConstraintsResponse` |
288
+
265
289
  **field-schema.ts**
266
290
 
267
291
  | Zod Schema | Type |
@@ -387,24 +411,6 @@ Follow instructions in the `packages/docs/README.md` file to build the documenta
387
411
 
388
412
  ### Quotes
389
413
 
390
- **quote-dependency-map-response.ts**
391
-
392
- | Zod Schema | Type |
393
- |------------|------
394
- | `quoteDependencyMapResponseSchema` | `QuoteDependencyMapResponse` |
395
-
396
- **quote-evaluate-constraint-request.ts**
397
-
398
- | Zod Schema | Type |
399
- |------------|------
400
- | `evaluateConstraintsRequestSchema` | `EvaluateConstraintsRequest` |
401
-
402
- **quote-evaluate-constraint-response.ts**
403
-
404
- | Zod Schema | Type |
405
- |------------|------
406
- | `constraintEvaluationResponseSchema` | `ConstraintEvaluationResponse` |
407
-
408
414
  **quote-price-response.ts**
409
415
 
410
416
  | Zod Schema | Type |
package/dist/index.d.ts CHANGED
@@ -512,6 +512,10 @@ export declare const accountCreateSchema: z.ZodObject<{
512
512
  autoValidate?: boolean | undefined;
513
513
  }>;
514
514
 
515
+ export declare type AccountEvaluateConstraintsRequest = z.infer<typeof accountEvaluateConstraintsRequestSchema>;
516
+
517
+ export declare const accountEvaluateConstraintsRequestSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
518
+
515
519
  export declare type AccountId = z.infer<typeof AccountIdSchema>;
516
520
 
517
521
  export declare const AccountIdSchema: z.ZodString;
@@ -2775,10 +2779,6 @@ export declare const constraintConfigSchema: z.ZodOptional<z.ZodObject<{
2775
2779
  }> | undefined;
2776
2780
  }>>;
2777
2781
 
2778
- export declare type ConstraintEvaluationResponse = z.infer<typeof constraintEvaluationResponseSchema>;
2779
-
2780
- export declare const constraintEvaluationResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
2781
-
2782
2782
  export declare type Contact = z.infer<typeof ContactSchema>;
2783
2783
 
2784
2784
  export declare type ContactCreateRequest = z.infer<typeof ContactCreateRequestSchema>;
@@ -10505,6 +10505,42 @@ export declare type DelinquencyState = z.infer<typeof delinquencyStateEnumSchema
10505
10505
 
10506
10506
  export declare const delinquencyStateEnumSchema: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
10507
10507
 
10508
+ export declare type DependencyMapResponse = z.infer<typeof dependencyMapResponseSchema>;
10509
+
10510
+ export declare const dependencyMapResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
10511
+ column: z.ZodString;
10512
+ table: z.ZodString;
10513
+ where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10514
+ staticLocator: z.ZodOptional<z.ZodString>;
10515
+ fieldName: z.ZodOptional<z.ZodString>;
10516
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10517
+ }, "strip", z.ZodTypeAny, {
10518
+ values?: string[] | undefined;
10519
+ staticLocator?: string | undefined;
10520
+ fieldName?: string | undefined;
10521
+ }, {
10522
+ values?: string[] | undefined;
10523
+ staticLocator?: string | undefined;
10524
+ fieldName?: string | undefined;
10525
+ }>>>;
10526
+ }, "strip", z.ZodTypeAny, {
10527
+ column: string;
10528
+ table: string;
10529
+ where?: Record<string, {
10530
+ values?: string[] | undefined;
10531
+ staticLocator?: string | undefined;
10532
+ fieldName?: string | undefined;
10533
+ }> | undefined;
10534
+ }, {
10535
+ column: string;
10536
+ table: string;
10537
+ where?: Record<string, {
10538
+ values?: string[] | undefined;
10539
+ staticLocator?: string | undefined;
10540
+ fieldName?: string | undefined;
10541
+ }> | undefined;
10542
+ }>>>;
10543
+
10508
10544
  export declare type DeploymentMetadata = z.infer<typeof DeploymentMetadataSchema>;
10509
10545
 
10510
10546
  export declare const DeploymentMetadataSchema: z.ZodObject<{
@@ -12597,6 +12633,10 @@ export declare type EvaluateConstraintsRequest = z.infer<typeof evaluateConstrai
12597
12633
 
12598
12634
  export declare const evaluateConstraintsRequestSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>>;
12599
12635
 
12636
+ export declare type EvaluateConstraintsResponse = z.infer<typeof evaluateConstraintsResponseSchema>;
12637
+
12638
+ export declare const evaluateConstraintsResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
12639
+
12600
12640
  export declare const FetchUserAssociationsParamsSchema: z.ZodObject<{
12601
12641
  tenantLocator: z.ZodString;
12602
12642
  } & {
@@ -25496,42 +25536,6 @@ export declare const QuoteCreateRequestSchema: z.ZodObject<{
25496
25536
  static?: Record<string, any> | undefined;
25497
25537
  }>;
25498
25538
 
25499
- export declare type QuoteDependencyMapResponse = z.infer<typeof quoteDependencyMapResponseSchema>;
25500
-
25501
- export declare const quoteDependencyMapResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
25502
- column: z.ZodString;
25503
- table: z.ZodString;
25504
- where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25505
- staticLocator: z.ZodOptional<z.ZodString>;
25506
- fieldName: z.ZodOptional<z.ZodString>;
25507
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25508
- }, "strip", z.ZodTypeAny, {
25509
- values?: string[] | undefined;
25510
- staticLocator?: string | undefined;
25511
- fieldName?: string | undefined;
25512
- }, {
25513
- values?: string[] | undefined;
25514
- staticLocator?: string | undefined;
25515
- fieldName?: string | undefined;
25516
- }>>>;
25517
- }, "strip", z.ZodTypeAny, {
25518
- column: string;
25519
- table: string;
25520
- where?: Record<string, {
25521
- values?: string[] | undefined;
25522
- staticLocator?: string | undefined;
25523
- fieldName?: string | undefined;
25524
- }> | undefined;
25525
- }, {
25526
- column: string;
25527
- table: string;
25528
- where?: Record<string, {
25529
- values?: string[] | undefined;
25530
- staticLocator?: string | undefined;
25531
- fieldName?: string | undefined;
25532
- }> | undefined;
25533
- }>>>;
25534
-
25535
25539
  export declare type QuoteGroupAssignmentRequest = z.infer<typeof QuoteGroupAssignmentRequestSchema>;
25536
25540
 
25537
25541
  export declare const QuoteGroupAssignmentRequestSchema: z.ZodObject<{} & {