@insure-os/client 0.0.12 → 0.0.14
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/bundle-sizes.json +12 -12
- package/dist/index.cjs +1 -24895
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +1 -24854
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -24901
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,9 @@ declare class EnhancedHttpClient {
|
|
|
28
28
|
updateQuoteIntent(url: string, data: any): Promise<QuoteIntentResponse>;
|
|
29
29
|
deleteQuoteIntent(url: string): Promise<void>;
|
|
30
30
|
calculateQuoteIntent(url: string): Promise<CalculationResponse>;
|
|
31
|
+
deleteCalculations(deleteCalculationsUrl: string): Promise<{
|
|
32
|
+
message: string;
|
|
33
|
+
}>;
|
|
31
34
|
initiatePayment(request: PaymentInitiationRequest, gateway: PaymentGateway): Promise<any>;
|
|
32
35
|
getPaymentStatus(transactionId: string, gateway: PaymentGateway): Promise<any>;
|
|
33
36
|
createPaymentLink(request: CreatePaymentLinkRequest): Promise<CreatePaymentLinkResponse>;
|
|
@@ -644,6 +647,7 @@ type QuoteIntentState = {
|
|
|
644
647
|
org_id: string;
|
|
645
648
|
url: string;
|
|
646
649
|
calculate_url: string;
|
|
650
|
+
delete_calculations_url: string;
|
|
647
651
|
status: string;
|
|
648
652
|
reference?: string | null;
|
|
649
653
|
product_id?: string;
|
|
@@ -896,6 +900,7 @@ declare class FormStateManager {
|
|
|
896
900
|
*/
|
|
897
901
|
private filterHiddenFieldsAndSave;
|
|
898
902
|
calculateQuote(): Promise<CalculationResponse | undefined>;
|
|
903
|
+
clearCalculationResults(): Promise<void>;
|
|
899
904
|
private notify;
|
|
900
905
|
private updateFormDataInternal;
|
|
901
906
|
private createEmptyFormData;
|