@socotra/ec-react-schemas 2.15.3-next.2 → 2.15.4-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 CHANGED
@@ -3108,14 +3108,14 @@ export declare type AssignmentRoleRef = z.infer<typeof AssignmentRoleRefSchema>;
3108
3108
  export declare const AssignmentRoleRefSchema: z.ZodObject<{
3109
3109
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
3110
3110
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3111
- exclusive: z.ZodBoolean;
3111
+ exclusive: z.ZodOptional<z.ZodBoolean>;
3112
3112
  }, "strip", z.ZodTypeAny, {
3113
3113
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
3114
- exclusive: boolean;
3114
+ exclusive?: boolean | undefined;
3115
3115
  qualification?: Record<string, string> | undefined;
3116
3116
  }, {
3117
3117
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
3118
- exclusive: boolean;
3118
+ exclusive?: boolean | undefined;
3119
3119
  qualification?: Record<string, string> | undefined;
3120
3120
  }>;
3121
3121
 
@@ -7693,14 +7693,14 @@ export declare const dataModelSchema: z.ZodObject<{
7693
7693
  assignmentRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7694
7694
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
7695
7695
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7696
- exclusive: z.ZodBoolean;
7696
+ exclusive: z.ZodOptional<z.ZodBoolean>;
7697
7697
  }, "strip", z.ZodTypeAny, {
7698
7698
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
7699
- exclusive: boolean;
7699
+ exclusive?: boolean | undefined;
7700
7700
  qualification?: Record<string, string> | undefined;
7701
7701
  }, {
7702
7702
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
7703
- exclusive: boolean;
7703
+ exclusive?: boolean | undefined;
7704
7704
  qualification?: Record<string, string> | undefined;
7705
7705
  }>>>;
7706
7706
  qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
@@ -7711,7 +7711,7 @@ export declare const dataModelSchema: z.ZodObject<{
7711
7711
  }>> | undefined;
7712
7712
  assignmentRoles?: Record<string, {
7713
7713
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
7714
- exclusive: boolean;
7714
+ exclusive?: boolean | undefined;
7715
7715
  qualification?: Record<string, string> | undefined;
7716
7716
  }> | undefined;
7717
7717
  qualifications?: Record<string, string[]> | undefined;
@@ -7722,7 +7722,7 @@ export declare const dataModelSchema: z.ZodObject<{
7722
7722
  }>> | undefined;
7723
7723
  assignmentRoles?: Record<string, {
7724
7724
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
7725
- exclusive: boolean;
7725
+ exclusive?: boolean | undefined;
7726
7726
  qualification?: Record<string, string> | undefined;
7727
7727
  }> | undefined;
7728
7728
  qualifications?: Record<string, string[]> | undefined;
@@ -8878,7 +8878,7 @@ export declare const dataModelSchema: z.ZodObject<{
8878
8878
  }>> | undefined;
8879
8879
  assignmentRoles?: Record<string, {
8880
8880
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
8881
- exclusive: boolean;
8881
+ exclusive?: boolean | undefined;
8882
8882
  qualification?: Record<string, string> | undefined;
8883
8883
  }> | undefined;
8884
8884
  qualifications?: Record<string, string[]> | undefined;
@@ -9326,7 +9326,7 @@ export declare const dataModelSchema: z.ZodObject<{
9326
9326
  }>> | undefined;
9327
9327
  assignmentRoles?: Record<string, {
9328
9328
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
9329
- exclusive: boolean;
9329
+ exclusive?: boolean | undefined;
9330
9330
  qualification?: Record<string, string> | undefined;
9331
9331
  }> | undefined;
9332
9332
  qualifications?: Record<string, string[]> | undefined;
@@ -28485,54 +28485,54 @@ export declare const UserListResponseSchema: z.ZodObject<{
28485
28485
  listCompleted: z.ZodBoolean;
28486
28486
  items: z.ZodArray<z.ZodObject<{
28487
28487
  locator: z.ZodString;
28488
+ firstName: z.ZodOptional<z.ZodString>;
28489
+ lastName: z.ZodOptional<z.ZodString>;
28490
+ email: z.ZodOptional<z.ZodString>;
28491
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28488
28492
  tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28489
28493
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28490
28494
  userName: z.ZodString;
28491
- firstName: z.ZodString;
28492
- lastName: z.ZodString;
28493
- email: z.ZodString;
28494
- roles: z.ZodArray<z.ZodString, "many">;
28495
28495
  }, "strip", z.ZodTypeAny, {
28496
28496
  locator: string;
28497
- roles: string[];
28498
- email: string;
28499
28497
  userName: string;
28500
- firstName: string;
28501
- lastName: string;
28498
+ roles?: string[] | undefined;
28499
+ email?: string | undefined;
28502
28500
  tenants?: string[] | undefined;
28503
28501
  permissions?: string[] | undefined;
28502
+ firstName?: string | undefined;
28503
+ lastName?: string | undefined;
28504
28504
  }, {
28505
28505
  locator: string;
28506
- roles: string[];
28507
- email: string;
28508
28506
  userName: string;
28509
- firstName: string;
28510
- lastName: string;
28507
+ roles?: string[] | undefined;
28508
+ email?: string | undefined;
28511
28509
  tenants?: string[] | undefined;
28512
28510
  permissions?: string[] | undefined;
28511
+ firstName?: string | undefined;
28512
+ lastName?: string | undefined;
28513
28513
  }>, "many">;
28514
28514
  }, "strip", z.ZodTypeAny, {
28515
28515
  items: {
28516
28516
  locator: string;
28517
- roles: string[];
28518
- email: string;
28519
28517
  userName: string;
28520
- firstName: string;
28521
- lastName: string;
28518
+ roles?: string[] | undefined;
28519
+ email?: string | undefined;
28522
28520
  tenants?: string[] | undefined;
28523
28521
  permissions?: string[] | undefined;
28522
+ firstName?: string | undefined;
28523
+ lastName?: string | undefined;
28524
28524
  }[];
28525
28525
  listCompleted: boolean;
28526
28526
  }, {
28527
28527
  items: {
28528
28528
  locator: string;
28529
- roles: string[];
28530
- email: string;
28531
28529
  userName: string;
28532
- firstName: string;
28533
- lastName: string;
28530
+ roles?: string[] | undefined;
28531
+ email?: string | undefined;
28534
28532
  tenants?: string[] | undefined;
28535
28533
  permissions?: string[] | undefined;
28534
+ firstName?: string | undefined;
28535
+ lastName?: string | undefined;
28536
28536
  }[];
28537
28537
  listCompleted: boolean;
28538
28538
  }>;
@@ -28570,31 +28570,31 @@ export declare type UserResponse = z.infer<typeof UserResponseSchema>;
28570
28570
 
28571
28571
  export declare const UserResponseSchema: z.ZodObject<{
28572
28572
  locator: z.ZodString;
28573
+ firstName: z.ZodOptional<z.ZodString>;
28574
+ lastName: z.ZodOptional<z.ZodString>;
28575
+ email: z.ZodOptional<z.ZodString>;
28576
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28573
28577
  tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28574
28578
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28575
28579
  userName: z.ZodString;
28576
- firstName: z.ZodString;
28577
- lastName: z.ZodString;
28578
- email: z.ZodString;
28579
- roles: z.ZodArray<z.ZodString, "many">;
28580
28580
  }, "strip", z.ZodTypeAny, {
28581
28581
  locator: string;
28582
- roles: string[];
28583
- email: string;
28584
28582
  userName: string;
28585
- firstName: string;
28586
- lastName: string;
28583
+ roles?: string[] | undefined;
28584
+ email?: string | undefined;
28587
28585
  tenants?: string[] | undefined;
28588
28586
  permissions?: string[] | undefined;
28587
+ firstName?: string | undefined;
28588
+ lastName?: string | undefined;
28589
28589
  }, {
28590
28590
  locator: string;
28591
- roles: string[];
28592
- email: string;
28593
28591
  userName: string;
28594
- firstName: string;
28595
- lastName: string;
28592
+ roles?: string[] | undefined;
28593
+ email?: string | undefined;
28596
28594
  tenants?: string[] | undefined;
28597
28595
  permissions?: string[] | undefined;
28596
+ firstName?: string | undefined;
28597
+ lastName?: string | undefined;
28598
28598
  }>;
28599
28599
 
28600
28600
  export declare type UserRolesUpdateRequest = z.infer<typeof UserRolesUpdateRequestSchema>;
@@ -28650,33 +28650,33 @@ export declare type UserWithQualsBff = z.infer<typeof UserWithQualsBffSchema>;
28650
28650
  export declare const UserWithQualsBffSchema: z.ZodObject<{
28651
28651
  qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28652
28652
  locator: z.ZodString;
28653
+ firstName: z.ZodOptional<z.ZodString>;
28654
+ lastName: z.ZodOptional<z.ZodString>;
28655
+ email: z.ZodOptional<z.ZodString>;
28656
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28653
28657
  tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28654
28658
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28655
28659
  userName: z.ZodString;
28656
- firstName: z.ZodString;
28657
- lastName: z.ZodString;
28658
- email: z.ZodString;
28659
- roles: z.ZodArray<z.ZodString, "many">;
28660
28660
  }, "strip", z.ZodTypeAny, {
28661
28661
  locator: string;
28662
- roles: string[];
28663
- email: string;
28664
28662
  userName: string;
28665
- firstName: string;
28666
- lastName: string;
28667
28663
  qualifications?: Record<string, string> | undefined;
28664
+ roles?: string[] | undefined;
28665
+ email?: string | undefined;
28668
28666
  tenants?: string[] | undefined;
28669
28667
  permissions?: string[] | undefined;
28668
+ firstName?: string | undefined;
28669
+ lastName?: string | undefined;
28670
28670
  }, {
28671
28671
  locator: string;
28672
- roles: string[];
28673
- email: string;
28674
28672
  userName: string;
28675
- firstName: string;
28676
- lastName: string;
28677
28673
  qualifications?: Record<string, string> | undefined;
28674
+ roles?: string[] | undefined;
28675
+ email?: string | undefined;
28678
28676
  tenants?: string[] | undefined;
28679
28677
  permissions?: string[] | undefined;
28678
+ firstName?: string | undefined;
28679
+ lastName?: string | undefined;
28680
28680
  }>;
28681
28681
 
28682
28682
  export declare type UserWithQualsListResponseBff = z.infer<typeof UserWithQualsListResponseBffSchema>;
@@ -28687,59 +28687,59 @@ export declare const UserWithQualsListResponseBffSchema: z.ZodObject<{
28687
28687
  items: z.ZodArray<z.ZodObject<{
28688
28688
  qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28689
28689
  locator: z.ZodString;
28690
+ firstName: z.ZodOptional<z.ZodString>;
28691
+ lastName: z.ZodOptional<z.ZodString>;
28692
+ email: z.ZodOptional<z.ZodString>;
28693
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28690
28694
  tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28691
28695
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28692
28696
  userName: z.ZodString;
28693
- firstName: z.ZodString;
28694
- lastName: z.ZodString;
28695
- email: z.ZodString;
28696
- roles: z.ZodArray<z.ZodString, "many">;
28697
28697
  }, "strip", z.ZodTypeAny, {
28698
28698
  locator: string;
28699
- roles: string[];
28700
- email: string;
28701
28699
  userName: string;
28702
- firstName: string;
28703
- lastName: string;
28704
28700
  qualifications?: Record<string, string> | undefined;
28701
+ roles?: string[] | undefined;
28702
+ email?: string | undefined;
28705
28703
  tenants?: string[] | undefined;
28706
28704
  permissions?: string[] | undefined;
28705
+ firstName?: string | undefined;
28706
+ lastName?: string | undefined;
28707
28707
  }, {
28708
28708
  locator: string;
28709
- roles: string[];
28710
- email: string;
28711
28709
  userName: string;
28712
- firstName: string;
28713
- lastName: string;
28714
28710
  qualifications?: Record<string, string> | undefined;
28711
+ roles?: string[] | undefined;
28712
+ email?: string | undefined;
28715
28713
  tenants?: string[] | undefined;
28716
28714
  permissions?: string[] | undefined;
28715
+ firstName?: string | undefined;
28716
+ lastName?: string | undefined;
28717
28717
  }>, "many">;
28718
28718
  }, "strip", z.ZodTypeAny, {
28719
28719
  items: {
28720
28720
  locator: string;
28721
- roles: string[];
28722
- email: string;
28723
28721
  userName: string;
28724
- firstName: string;
28725
- lastName: string;
28726
28722
  qualifications?: Record<string, string> | undefined;
28723
+ roles?: string[] | undefined;
28724
+ email?: string | undefined;
28727
28725
  tenants?: string[] | undefined;
28728
28726
  permissions?: string[] | undefined;
28727
+ firstName?: string | undefined;
28728
+ lastName?: string | undefined;
28729
28729
  }[];
28730
28730
  listCompleted: boolean;
28731
28731
  count: number;
28732
28732
  }, {
28733
28733
  items: {
28734
28734
  locator: string;
28735
- roles: string[];
28736
- email: string;
28737
28735
  userName: string;
28738
- firstName: string;
28739
- lastName: string;
28740
28736
  qualifications?: Record<string, string> | undefined;
28737
+ roles?: string[] | undefined;
28738
+ email?: string | undefined;
28741
28739
  tenants?: string[] | undefined;
28742
28740
  permissions?: string[] | undefined;
28741
+ firstName?: string | undefined;
28742
+ lastName?: string | undefined;
28743
28743
  }[];
28744
28744
  listCompleted: boolean;
28745
28745
  count: number;
@@ -28871,14 +28871,14 @@ export declare const WorkManagementRefSchema: z.ZodObject<{
28871
28871
  assignmentRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
28872
28872
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
28873
28873
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28874
- exclusive: z.ZodBoolean;
28874
+ exclusive: z.ZodOptional<z.ZodBoolean>;
28875
28875
  }, "strip", z.ZodTypeAny, {
28876
28876
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
28877
- exclusive: boolean;
28877
+ exclusive?: boolean | undefined;
28878
28878
  qualification?: Record<string, string> | undefined;
28879
28879
  }, {
28880
28880
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
28881
- exclusive: boolean;
28881
+ exclusive?: boolean | undefined;
28882
28882
  qualification?: Record<string, string> | undefined;
28883
28883
  }>>>;
28884
28884
  qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
@@ -28889,7 +28889,7 @@ export declare const WorkManagementRefSchema: z.ZodObject<{
28889
28889
  }>> | undefined;
28890
28890
  assignmentRoles?: Record<string, {
28891
28891
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
28892
- exclusive: boolean;
28892
+ exclusive?: boolean | undefined;
28893
28893
  qualification?: Record<string, string> | undefined;
28894
28894
  }> | undefined;
28895
28895
  qualifications?: Record<string, string[]> | undefined;
@@ -28900,7 +28900,7 @@ export declare const WorkManagementRefSchema: z.ZodObject<{
28900
28900
  }>> | undefined;
28901
28901
  assignmentRoles?: Record<string, {
28902
28902
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
28903
- exclusive: boolean;
28903
+ exclusive?: boolean | undefined;
28904
28904
  qualification?: Record<string, string> | undefined;
28905
28905
  }> | undefined;
28906
28906
  qualifications?: Record<string, string[]> | undefined;
package/dist/index.es.js CHANGED
@@ -7153,7 +7153,8 @@ const fs = bn.merge(
7153
7153
  }), Md = x(Rn), js = e.object({
7154
7154
  ...Va.shape,
7155
7155
  appliesTo: e.array(aa),
7156
- qualification: e.record(e.string()).optional()
7156
+ qualification: e.record(e.string()).optional(),
7157
+ exclusive: e.boolean().optional()
7157
7158
  }), Ts = Ka.merge(
7158
7159
  e.object({
7159
7160
  displayName: e.string().optional(),
@@ -8568,6 +8569,10 @@ const Zu = e.object({
8568
8569
  }), Hn = e.object({
8569
8570
  ...ha.shape,
8570
8571
  locator: _,
8572
+ firstName: e.string().optional(),
8573
+ lastName: e.string().optional(),
8574
+ email: e.string().email().optional(),
8575
+ roles: e.array(e.string()).optional(),
8571
8576
  tenants: e.array(e.string()).optional(),
8572
8577
  permissions: e.array(e.string()).optional()
8573
8578
  }), Jn = e.object({