@socotra/ec-react-schemas 2.5.1-next.9 → 2.6.1

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
@@ -479,6 +479,7 @@ export declare const autoRenewalPlanSchema: z.ZodObject<{
479
479
 
480
480
  declare const baseElementCreateRequestSchema: z.ZodObject<{
481
481
  type: z.ZodString;
482
+ staticLocator: z.ZodOptional<z.ZodString>;
482
483
  parentLocator: z.ZodOptional<z.ZodString>;
483
484
  coverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
484
485
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -486,11 +487,13 @@ declare const baseElementCreateRequestSchema: z.ZodObject<{
486
487
  type: string;
487
488
  data?: Record<string, any> | undefined;
488
489
  coverageTerms?: Record<string, string> | undefined;
490
+ staticLocator?: string | undefined;
489
491
  parentLocator?: string | undefined;
490
492
  }, {
491
493
  type: string;
492
494
  data?: Record<string, any> | undefined;
493
495
  coverageTerms?: Record<string, string> | undefined;
496
+ staticLocator?: string | undefined;
494
497
  parentLocator?: string | undefined;
495
498
  }>;
496
499
 
@@ -4346,9 +4349,9 @@ export declare const policyTermResponseSchema: z.ZodObject<z.objectUtil.extendSh
4346
4349
  }>, "strip", z.ZodTypeAny, {
4347
4350
  number: number;
4348
4351
  locator: string;
4352
+ staticLocator: string;
4349
4353
  startTime: string;
4350
4354
  endTime: string;
4351
- staticLocator: string;
4352
4355
  policyLocator: string;
4353
4356
  autoRenewalLocator?: string | undefined;
4354
4357
  previousTermLocator?: string | undefined;
@@ -4356,9 +4359,9 @@ export declare const policyTermResponseSchema: z.ZodObject<z.objectUtil.extendSh
4356
4359
  }, {
4357
4360
  number: number;
4358
4361
  locator: string;
4362
+ staticLocator: string;
4359
4363
  startTime: string;
4360
4364
  endTime: string;
4361
- staticLocator: string;
4362
4365
  policyLocator: string;
4363
4366
  autoRenewalLocator?: string | undefined;
4364
4367
  previousTermLocator?: string | undefined;
@@ -4467,10 +4470,10 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
4467
4470
  }>, "many">;
4468
4471
  }>, "strip", z.ZodTypeAny, {
4469
4472
  locator: string;
4473
+ staticLocator: string;
4470
4474
  startTime: string;
4471
4475
  endTime: string;
4472
4476
  durationBasis: "years" | "months" | "weeks" | "days" | "hours";
4473
- staticLocator: string;
4474
4477
  duration: number;
4475
4478
  policyLocator: string;
4476
4479
  termNumber: number;
@@ -4498,10 +4501,10 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
4498
4501
  }[];
4499
4502
  }, {
4500
4503
  locator: string;
4504
+ staticLocator: string;
4501
4505
  startTime: string;
4502
4506
  endTime: string;
4503
4507
  durationBasis: "years" | "months" | "weeks" | "days" | "hours";
4504
- staticLocator: string;
4505
4508
  duration: number;
4506
4509
  policyLocator: string;
4507
4510
  termNumber: number;
@@ -4631,7 +4634,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4631
4634
  maxInstallmentsPerTerm?: number | undefined;
4632
4635
  } | undefined;
4633
4636
  }>>;
4634
- underwritingStatus: z.ZodOptional<z.ZodString>;
4637
+ underwritingStatus: z.ZodOptional<z.ZodEnum<["none", "blocked", "declined", "rejected", "approved"]>>;
4635
4638
  validationResult: z.ZodOptional<z.ZodObject<{
4636
4639
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
4637
4640
  elementType: z.ZodOptional<z.ZodString>;
@@ -4763,7 +4766,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4763
4766
  maxInstallmentsPerTerm?: number | undefined;
4764
4767
  } | undefined;
4765
4768
  }>>;
4766
- underwritingStatus: z.ZodOptional<z.ZodString>;
4769
+ underwritingStatus: z.ZodOptional<z.ZodEnum<["none", "blocked", "declined", "rejected", "approved"]>>;
4767
4770
  validationResult: z.ZodOptional<z.ZodObject<{
4768
4771
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
4769
4772
  elementType: z.ZodOptional<z.ZodString>;
@@ -4803,7 +4806,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4803
4806
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4804
4807
  transactionType: string;
4805
4808
  termLocator: string;
4806
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4809
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4807
4810
  preferences?: {
4808
4811
  billingPreferences?: {
4809
4812
  billingPlanName?: string | undefined;
@@ -4823,7 +4826,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4823
4826
  maxInstallmentsPerTerm?: number | undefined;
4824
4827
  } | undefined;
4825
4828
  } | undefined;
4826
- underwritingStatus?: string | undefined;
4829
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
4827
4830
  issuedTime?: string | undefined;
4828
4831
  validationResult?: {
4829
4832
  validationItems?: {
@@ -4846,7 +4849,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4846
4849
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4847
4850
  transactionType: string;
4848
4851
  termLocator: string;
4849
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4852
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4850
4853
  preferences?: {
4851
4854
  billingPreferences?: {
4852
4855
  billingPlanName?: string | undefined;
@@ -4866,7 +4869,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4866
4869
  maxInstallmentsPerTerm?: number | undefined;
4867
4870
  } | undefined;
4868
4871
  } | undefined;
4869
- underwritingStatus?: string | undefined;
4872
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
4870
4873
  issuedTime?: string | undefined;
4871
4874
  validationResult?: {
4872
4875
  validationItems?: {
@@ -4890,7 +4893,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4890
4893
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4891
4894
  transactionType: string;
4892
4895
  termLocator: string;
4893
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4896
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4894
4897
  preferences?: {
4895
4898
  billingPreferences?: {
4896
4899
  billingPlanName?: string | undefined;
@@ -4910,7 +4913,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4910
4913
  maxInstallmentsPerTerm?: number | undefined;
4911
4914
  } | undefined;
4912
4915
  } | undefined;
4913
- underwritingStatus?: string | undefined;
4916
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
4914
4917
  issuedTime?: string | undefined;
4915
4918
  validationResult?: {
4916
4919
  validationItems?: {
@@ -4933,7 +4936,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4933
4936
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4934
4937
  transactionType: string;
4935
4938
  termLocator: string;
4936
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4939
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4937
4940
  preferences?: {
4938
4941
  billingPreferences?: {
4939
4942
  billingPlanName?: string | undefined;
@@ -4953,7 +4956,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4953
4956
  maxInstallmentsPerTerm?: number | undefined;
4954
4957
  } | undefined;
4955
4958
  } | undefined;
4956
- underwritingStatus?: string | undefined;
4959
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
4957
4960
  issuedTime?: string | undefined;
4958
4961
  validationResult?: {
4959
4962
  validationItems?: {
@@ -4977,7 +4980,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4977
4980
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4978
4981
  transactionType: string;
4979
4982
  termLocator: string;
4980
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4983
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4981
4984
  preferences?: {
4982
4985
  billingPreferences?: {
4983
4986
  billingPlanName?: string | undefined;
@@ -4997,7 +5000,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4997
5000
  maxInstallmentsPerTerm?: number | undefined;
4998
5001
  } | undefined;
4999
5002
  } | undefined;
5000
- underwritingStatus?: string | undefined;
5003
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
5001
5004
  issuedTime?: string | undefined;
5002
5005
  validationResult?: {
5003
5006
  validationItems?: {
@@ -5020,7 +5023,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
5020
5023
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
5021
5024
  transactionType: string;
5022
5025
  termLocator: string;
5023
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
5026
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
5024
5027
  preferences?: {
5025
5028
  billingPreferences?: {
5026
5029
  billingPlanName?: string | undefined;
@@ -5040,7 +5043,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
5040
5043
  maxInstallmentsPerTerm?: number | undefined;
5041
5044
  } | undefined;
5042
5045
  } | undefined;
5043
- underwritingStatus?: string | undefined;
5046
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
5044
5047
  issuedTime?: string | undefined;
5045
5048
  validationResult?: {
5046
5049
  validationItems?: {
@@ -5777,7 +5780,7 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
5777
5780
  productName: string;
5778
5781
  startTime: string;
5779
5782
  endTime: string;
5780
- quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
5783
+ quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
5781
5784
  accountLocator: string;
5782
5785
  quoteLocator: string;
5783
5786
  durationBasis?: "years" | "months" | "weeks" | "days" | "hours" | undefined;
@@ -5799,7 +5802,7 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
5799
5802
  productName: string;
5800
5803
  startTime: string;
5801
5804
  endTime: string;
5802
- quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
5805
+ quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
5803
5806
  accountLocator: string;
5804
5807
  quoteLocator: string;
5805
5808
  durationBasis?: "years" | "months" | "weeks" | "days" | "hours" | undefined;
@@ -6039,7 +6042,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
6039
6042
  endTime: z.ZodOptional<z.ZodString>;
6040
6043
  timezone: z.ZodOptional<z.ZodString>;
6041
6044
  currency: z.ZodOptional<z.ZodString>;
6042
- underwritingStatus: z.ZodOptional<z.ZodString>;
6045
+ underwritingStatus: z.ZodOptional<z.ZodEnum<["none", "blocked", "declined", "rejected", "approved"]>>;
6043
6046
  expirationTime: z.ZodOptional<z.ZodString>;
6044
6047
  element: z.ZodOptional<z.ZodType<{
6045
6048
  locator: string;
@@ -6132,7 +6135,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
6132
6135
  }, "strip", z.ZodTypeAny, {
6133
6136
  locator: string;
6134
6137
  productName: string;
6135
- quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
6138
+ quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
6136
6139
  accountLocator: string;
6137
6140
  type?: string | undefined;
6138
6141
  billingLevel?: "account" | "inherit" | "policy" | undefined;
@@ -6145,7 +6148,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
6145
6148
  timezone?: string | undefined;
6146
6149
  durationBasis?: "years" | "months" | "weeks" | "days" | "hours" | undefined;
6147
6150
  preferences?: any;
6148
- underwritingStatus?: string | undefined;
6151
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
6149
6152
  element?: ({
6150
6153
  locator: string;
6151
6154
  type: string;
@@ -6187,7 +6190,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
6187
6190
  }, {
6188
6191
  locator: string;
6189
6192
  productName: string;
6190
- quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
6193
+ quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
6191
6194
  accountLocator: string;
6192
6195
  type?: string | undefined;
6193
6196
  billingLevel?: "account" | "inherit" | "policy" | undefined;
@@ -6200,7 +6203,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
6200
6203
  timezone?: string | undefined;
6201
6204
  durationBasis?: "years" | "months" | "weeks" | "days" | "hours" | undefined;
6202
6205
  preferences?: any;
6203
- underwritingStatus?: string | undefined;
6206
+ underwritingStatus?: "none" | "blocked" | "declined" | "rejected" | "approved" | undefined;
6204
6207
  element?: ({
6205
6208
  locator: string;
6206
6209
  type: string;
@@ -6780,10 +6783,10 @@ export declare const termSummarySchema: z.ZodObject<{
6780
6783
  }>, "many">>;
6781
6784
  }, "strip", z.ZodTypeAny, {
6782
6785
  locator: string;
6786
+ staticLocator: string;
6783
6787
  startTime: string;
6784
6788
  endTime: string;
6785
6789
  durationBasis: "years" | "months" | "weeks" | "days" | "hours";
6786
- staticLocator: string;
6787
6790
  duration: number;
6788
6791
  policyLocator: string;
6789
6792
  termNumber: number;
@@ -6818,10 +6821,10 @@ export declare const termSummarySchema: z.ZodObject<{
6818
6821
  }[] | undefined;
6819
6822
  }, {
6820
6823
  locator: string;
6824
+ staticLocator: string;
6821
6825
  startTime: string;
6822
6826
  endTime: string;
6823
6827
  durationBasis: "years" | "months" | "weeks" | "days" | "hours";
6824
- staticLocator: string;
6825
6828
  duration: number;
6826
6829
  policyLocator: string;
6827
6830
  termNumber: number;
@@ -6958,7 +6961,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
6958
6961
  policyLocator: string;
6959
6962
  effectiveTime: string;
6960
6963
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6961
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
6964
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
6962
6965
  createdBy?: string | undefined;
6963
6966
  charges?: {
6964
6967
  locator: string;
@@ -6979,7 +6982,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
6979
6982
  policyLocator: string;
6980
6983
  effectiveTime: string;
6981
6984
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6982
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
6985
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
6983
6986
  createdBy?: string | undefined;
6984
6987
  charges?: {
6985
6988
  locator: string;
@@ -7001,7 +7004,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
7001
7004
  policyLocator: string;
7002
7005
  effectiveTime: string;
7003
7006
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7004
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7007
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7005
7008
  createdBy?: string | undefined;
7006
7009
  charges?: {
7007
7010
  locator: string;
@@ -7022,7 +7025,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
7022
7025
  policyLocator: string;
7023
7026
  effectiveTime: string;
7024
7027
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7025
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7028
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7026
7029
  createdBy?: string | undefined;
7027
7030
  charges?: {
7028
7031
  locator: string;
@@ -7044,7 +7047,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
7044
7047
  policyLocator: string;
7045
7048
  effectiveTime: string;
7046
7049
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7047
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7050
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7048
7051
  createdBy?: string | undefined;
7049
7052
  charges?: {
7050
7053
  locator: string;
@@ -7065,7 +7068,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
7065
7068
  policyLocator: string;
7066
7069
  effectiveTime: string;
7067
7070
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7068
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7071
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7069
7072
  createdBy?: string | undefined;
7070
7073
  charges?: {
7071
7074
  locator: string;
@@ -7438,6 +7441,112 @@ export declare const transactionTypesRecordsSchema: z.ZodRecord<z.ZodString, z.Z
7438
7441
  costBearing: boolean;
7439
7442
  }>>;
7440
7443
 
7444
+ export declare type TransactionUnderwritingFlagsResponse = z.infer<typeof transactionUnderwritingFlagsResponse>;
7445
+
7446
+ export declare const transactionUnderwritingFlagsResponse: z.ZodObject<{
7447
+ transactionLocator: z.ZodString;
7448
+ clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
7449
+ locator: z.ZodString;
7450
+ elementLocator: z.ZodOptional<z.ZodString>;
7451
+ clearedBy: z.ZodOptional<z.ZodString>;
7452
+ clearedTime: z.ZodOptional<z.ZodString>;
7453
+ createdBy: z.ZodOptional<z.ZodString>;
7454
+ createdTime: z.ZodOptional<z.ZodString>;
7455
+ level: z.ZodOptional<z.ZodEnum<["info", "block", "decline", "reject", "approve"]>>;
7456
+ note: z.ZodOptional<z.ZodString>;
7457
+ }, "strip", z.ZodTypeAny, {
7458
+ locator: string;
7459
+ elementLocator?: string | undefined;
7460
+ clearedBy?: string | undefined;
7461
+ clearedTime?: string | undefined;
7462
+ createdBy?: string | undefined;
7463
+ createdTime?: string | undefined;
7464
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7465
+ note?: string | undefined;
7466
+ }, {
7467
+ locator: string;
7468
+ elementLocator?: string | undefined;
7469
+ clearedBy?: string | undefined;
7470
+ clearedTime?: string | undefined;
7471
+ createdBy?: string | undefined;
7472
+ createdTime?: string | undefined;
7473
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7474
+ note?: string | undefined;
7475
+ }>, "many">>;
7476
+ flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
7477
+ locator: z.ZodString;
7478
+ elementLocator: z.ZodOptional<z.ZodString>;
7479
+ clearedBy: z.ZodOptional<z.ZodString>;
7480
+ clearedTime: z.ZodOptional<z.ZodString>;
7481
+ createdBy: z.ZodOptional<z.ZodString>;
7482
+ createdTime: z.ZodOptional<z.ZodString>;
7483
+ level: z.ZodOptional<z.ZodEnum<["info", "block", "decline", "reject", "approve"]>>;
7484
+ note: z.ZodOptional<z.ZodString>;
7485
+ }, "strip", z.ZodTypeAny, {
7486
+ locator: string;
7487
+ elementLocator?: string | undefined;
7488
+ clearedBy?: string | undefined;
7489
+ clearedTime?: string | undefined;
7490
+ createdBy?: string | undefined;
7491
+ createdTime?: string | undefined;
7492
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7493
+ note?: string | undefined;
7494
+ }, {
7495
+ locator: string;
7496
+ elementLocator?: string | undefined;
7497
+ clearedBy?: string | undefined;
7498
+ clearedTime?: string | undefined;
7499
+ createdBy?: string | undefined;
7500
+ createdTime?: string | undefined;
7501
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7502
+ note?: string | undefined;
7503
+ }>, "many">>;
7504
+ }, "strip", z.ZodTypeAny, {
7505
+ transactionLocator: string;
7506
+ clearedFlags?: {
7507
+ locator: string;
7508
+ elementLocator?: string | undefined;
7509
+ clearedBy?: string | undefined;
7510
+ clearedTime?: string | undefined;
7511
+ createdBy?: string | undefined;
7512
+ createdTime?: string | undefined;
7513
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7514
+ note?: string | undefined;
7515
+ }[] | undefined;
7516
+ flags?: {
7517
+ locator: string;
7518
+ elementLocator?: string | undefined;
7519
+ clearedBy?: string | undefined;
7520
+ clearedTime?: string | undefined;
7521
+ createdBy?: string | undefined;
7522
+ createdTime?: string | undefined;
7523
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7524
+ note?: string | undefined;
7525
+ }[] | undefined;
7526
+ }, {
7527
+ transactionLocator: string;
7528
+ clearedFlags?: {
7529
+ locator: string;
7530
+ elementLocator?: string | undefined;
7531
+ clearedBy?: string | undefined;
7532
+ clearedTime?: string | undefined;
7533
+ createdBy?: string | undefined;
7534
+ createdTime?: string | undefined;
7535
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7536
+ note?: string | undefined;
7537
+ }[] | undefined;
7538
+ flags?: {
7539
+ locator: string;
7540
+ elementLocator?: string | undefined;
7541
+ clearedBy?: string | undefined;
7542
+ clearedTime?: string | undefined;
7543
+ createdBy?: string | undefined;
7544
+ createdTime?: string | undefined;
7545
+ level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
7546
+ note?: string | undefined;
7547
+ }[] | undefined;
7548
+ }>;
7549
+
7441
7550
  export declare type TransactionUnderwritingResponse = z.infer<typeof transactionUnderwritingResponseSchema>;
7442
7551
 
7443
7552
  export declare const transactionUnderwritingResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -7516,7 +7625,7 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<z.object
7516
7625
  policyLocator: string;
7517
7626
  effectiveTime: string;
7518
7627
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7519
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7628
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7520
7629
  underwritingStatus?: string | undefined;
7521
7630
  underwritingFlags?: {
7522
7631
  locator: string;
@@ -7533,7 +7642,7 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<z.object
7533
7642
  policyLocator: string;
7534
7643
  effectiveTime: string;
7535
7644
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7536
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7645
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7537
7646
  underwritingStatus?: string | undefined;
7538
7647
  underwritingFlags?: {
7539
7648
  locator: string;
@@ -7551,14 +7660,14 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<z.object
7551
7660
  policyLocator: string;
7552
7661
  effectiveTime: string;
7553
7662
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7554
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7663
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7555
7664
  underwritingStatus?: string | undefined;
7556
7665
  aggregatedTransactions?: {
7557
7666
  locator: string;
7558
7667
  policyLocator: string;
7559
7668
  effectiveTime: string;
7560
7669
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7561
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7670
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7562
7671
  underwritingStatus?: string | undefined;
7563
7672
  underwritingFlags?: {
7564
7673
  locator: string;
@@ -7586,14 +7695,14 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<z.object
7586
7695
  policyLocator: string;
7587
7696
  effectiveTime: string;
7588
7697
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7589
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7698
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7590
7699
  underwritingStatus?: string | undefined;
7591
7700
  aggregatedTransactions?: {
7592
7701
  locator: string;
7593
7702
  policyLocator: string;
7594
7703
  effectiveTime: string;
7595
7704
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
7596
- transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7705
+ transactionState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
7597
7706
  underwritingStatus?: string | undefined;
7598
7707
  underwritingFlags?: {
7599
7708
  locator: string;
@@ -7702,6 +7811,10 @@ export declare const underwritingFlagsUpdateRequestSchema: z.ZodObject<{
7702
7811
  clearFlags: string[];
7703
7812
  }>;
7704
7813
 
7814
+ export declare type UnderwritingStatusEnum = z.infer<typeof underwritingStatusEnumSchema>;
7815
+
7816
+ export declare const underwritingStatusEnumSchema: z.ZodEnum<["none", "blocked", "declined", "rejected", "approved"]>;
7817
+
7705
7818
  export declare type ValidationItem = z.infer<typeof validationItemSchema>;
7706
7819
 
7707
7820
  declare const validationItemSchema: z.ZodObject<{