@socotra/ec-react-schemas 2.26.1-next.6 → 2.26.1-next.7

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
@@ -13921,6 +13921,15 @@ export declare type TransactionUnderwritingResponse = z.infer<typeof Transaction
13921
13921
  export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
13922
13922
  locator: z.ZodString;
13923
13923
  policyLocator: z.ZodString;
13924
+ transactionCategory: z.ZodEnum<{
13925
+ issuance: "issuance";
13926
+ change: "change";
13927
+ renewal: "renewal";
13928
+ cancellation: "cancellation";
13929
+ reinstatement: "reinstatement";
13930
+ reversal: "reversal";
13931
+ aggregate: "aggregate";
13932
+ }>;
13924
13933
  transactionState: z.ZodEnum<{
13925
13934
  draft: "draft";
13926
13935
  validated: "validated";
@@ -13938,19 +13947,9 @@ export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
13938
13947
  invalidated: "invalidated";
13939
13948
  reversed: "reversed";
13940
13949
  }>;
13941
- effectiveTime: z.ZodString;
13942
- transactionCategory: z.ZodEnum<{
13943
- issuance: "issuance";
13944
- change: "change";
13945
- renewal: "renewal";
13946
- cancellation: "cancellation";
13947
- reinstatement: "reinstatement";
13948
- reversal: "reversal";
13949
- aggregate: "aggregate";
13950
- }>;
13951
- underwritingStatus: z.ZodString;
13950
+ effectiveTime: z.ZodISODateTime;
13952
13951
  underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13953
- locator: z.ZodULID;
13952
+ locator: z.ZodString;
13954
13953
  level: z.ZodEnum<{
13955
13954
  none: "none";
13956
13955
  info: "info";
@@ -13959,37 +13958,45 @@ export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
13959
13958
  reject: "reject";
13960
13959
  approve: "approve";
13961
13960
  }>;
13962
- referenceType: z.ZodOptional<z.ZodEnum<{
13961
+ referenceType: z.ZodEnum<{
13963
13962
  quote: "quote";
13964
13963
  transaction: "transaction";
13965
- }>>;
13966
- referenceLocator: z.ZodOptional<z.ZodULID>;
13967
- note: z.ZodOptional<z.ZodString>;
13968
- tag: z.ZodOptional<z.ZodString>;
13969
- elementLocator: z.ZodOptional<z.ZodULID>;
13970
- createdBy: z.ZodOptional<z.ZodUUID>;
13971
- createdTime: z.ZodOptional<z.ZodISODateTime>;
13972
- clearedBy: z.ZodOptional<z.ZodUUID>;
13973
- clearedTime: z.ZodOptional<z.ZodISODateTime>;
13974
- taskCreationResponse: z.ZodOptional<z.ZodObject<{
13964
+ }>;
13965
+ referenceLocator: z.ZodString;
13966
+ note: z.ZodString;
13967
+ tag: z.ZodString;
13968
+ elementLocator: z.ZodOptional<z.ZodString>;
13969
+ createdBy: z.ZodUUID;
13970
+ createdTime: z.ZodISODateTime;
13971
+ clearedBy: z.ZodUUID;
13972
+ clearedTime: z.ZodISODateTime;
13973
+ taskCreationResponse: z.ZodObject<{
13975
13974
  taskLocator: z.ZodString;
13976
13975
  status: z.ZodEnum<{
13977
13976
  succeeded: "succeeded";
13978
13977
  failed: "failed";
13979
13978
  }>;
13980
- }, z.core.$strip>>;
13979
+ }, z.core.$strip>;
13981
13980
  }, z.core.$strip>>>;
13982
- validationResult: z.ZodOptional<z.ZodObject<{
13983
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
13984
- locator: z.ZodOptional<z.ZodULID>;
13985
- elementType: z.ZodOptional<z.ZodString>;
13986
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
13987
- }, z.core.$strip>>>;
13988
- success: z.ZodOptional<z.ZodBoolean>;
13989
- }, z.core.$strip>>;
13981
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
13982
+ none: "none";
13983
+ declined: "declined";
13984
+ rejected: "rejected";
13985
+ approved: "approved";
13986
+ blocked: "blocked";
13987
+ }>>;
13990
13988
  aggregatedTransactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
13991
13989
  locator: z.ZodString;
13992
13990
  policyLocator: z.ZodString;
13991
+ transactionCategory: z.ZodEnum<{
13992
+ issuance: "issuance";
13993
+ change: "change";
13994
+ renewal: "renewal";
13995
+ cancellation: "cancellation";
13996
+ reinstatement: "reinstatement";
13997
+ reversal: "reversal";
13998
+ aggregate: "aggregate";
13999
+ }>;
13993
14000
  transactionState: z.ZodEnum<{
13994
14001
  draft: "draft";
13995
14002
  validated: "validated";
@@ -14007,19 +14014,9 @@ export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
14007
14014
  invalidated: "invalidated";
14008
14015
  reversed: "reversed";
14009
14016
  }>;
14010
- effectiveTime: z.ZodString;
14011
- transactionCategory: z.ZodEnum<{
14012
- issuance: "issuance";
14013
- change: "change";
14014
- renewal: "renewal";
14015
- cancellation: "cancellation";
14016
- reinstatement: "reinstatement";
14017
- reversal: "reversal";
14018
- aggregate: "aggregate";
14019
- }>;
14020
- underwritingStatus: z.ZodString;
14017
+ effectiveTime: z.ZodISODateTime;
14021
14018
  underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14022
- locator: z.ZodULID;
14019
+ locator: z.ZodString;
14023
14020
  level: z.ZodEnum<{
14024
14021
  none: "none";
14025
14022
  info: "info";
@@ -14028,35 +14025,35 @@ export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
14028
14025
  reject: "reject";
14029
14026
  approve: "approve";
14030
14027
  }>;
14031
- referenceType: z.ZodOptional<z.ZodEnum<{
14028
+ referenceType: z.ZodEnum<{
14032
14029
  quote: "quote";
14033
14030
  transaction: "transaction";
14034
- }>>;
14035
- referenceLocator: z.ZodOptional<z.ZodULID>;
14036
- note: z.ZodOptional<z.ZodString>;
14037
- tag: z.ZodOptional<z.ZodString>;
14038
- elementLocator: z.ZodOptional<z.ZodULID>;
14039
- createdBy: z.ZodOptional<z.ZodUUID>;
14040
- createdTime: z.ZodOptional<z.ZodISODateTime>;
14041
- clearedBy: z.ZodOptional<z.ZodUUID>;
14042
- clearedTime: z.ZodOptional<z.ZodISODateTime>;
14043
- taskCreationResponse: z.ZodOptional<z.ZodObject<{
14031
+ }>;
14032
+ referenceLocator: z.ZodString;
14033
+ note: z.ZodString;
14034
+ tag: z.ZodString;
14035
+ elementLocator: z.ZodOptional<z.ZodString>;
14036
+ createdBy: z.ZodUUID;
14037
+ createdTime: z.ZodISODateTime;
14038
+ clearedBy: z.ZodUUID;
14039
+ clearedTime: z.ZodISODateTime;
14040
+ taskCreationResponse: z.ZodObject<{
14044
14041
  taskLocator: z.ZodString;
14045
14042
  status: z.ZodEnum<{
14046
14043
  succeeded: "succeeded";
14047
14044
  failed: "failed";
14048
14045
  }>;
14049
- }, z.core.$strip>>;
14046
+ }, z.core.$strip>;
14050
14047
  }, z.core.$strip>>>;
14051
- validationResult: z.ZodOptional<z.ZodObject<{
14052
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
14053
- locator: z.ZodOptional<z.ZodULID>;
14054
- elementType: z.ZodOptional<z.ZodString>;
14055
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
14056
- }, z.core.$strip>>>;
14057
- success: z.ZodOptional<z.ZodBoolean>;
14058
- }, z.core.$strip>>;
14059
14048
  }, z.core.$strip>>>;
14049
+ validationResult: z.ZodOptional<z.ZodObject<{
14050
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
14051
+ locator: z.ZodOptional<z.ZodULID>;
14052
+ elementType: z.ZodOptional<z.ZodString>;
14053
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
14054
+ }, z.core.$strip>>>;
14055
+ success: z.ZodOptional<z.ZodBoolean>;
14056
+ }, z.core.$strip>>;
14060
14057
  }, z.core.$strip>;
14061
14058
 
14062
14059
  /** @deprecated - use TransactionUnderwritingResponseSchema */
@@ -14090,7 +14087,13 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14090
14087
  reversal: "reversal";
14091
14088
  aggregate: "aggregate";
14092
14089
  }>;
14093
- underwritingStatus: z.ZodString;
14090
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
14091
+ none: "none";
14092
+ declined: "declined";
14093
+ rejected: "rejected";
14094
+ approved: "approved";
14095
+ blocked: "blocked";
14096
+ }>>;
14094
14097
  underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14095
14098
  locator: z.ZodULID;
14096
14099
  level: z.ZodEnum<{
@@ -14159,7 +14162,13 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14159
14162
  reversal: "reversal";
14160
14163
  aggregate: "aggregate";
14161
14164
  }>;
14162
- underwritingStatus: z.ZodString;
14165
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
14166
+ none: "none";
14167
+ declined: "declined";
14168
+ rejected: "rejected";
14169
+ approved: "approved";
14170
+ blocked: "blocked";
14171
+ }>>;
14163
14172
  underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14164
14173
  locator: z.ZodULID;
14165
14174
  level: z.ZodEnum<{