@delopay/sdk 0.176.0 → 0.177.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.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Field names match the JSON wire format (snake_case).
|
|
4
4
|
*/
|
|
5
5
|
type Currency = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL' | string;
|
|
6
|
-
type IntentStatus = 'succeeded' | 'failed' | 'cancelled' | 'cancelled_post_capture' | 'processing' | 'requires_customer_action' | 'requires_merchant_action' | 'requires_payment_method' | 'requires_confirmation' | 'requires_capture' | 'partially_captured' | 'partially_captured_and_capturable' | 'partially_authorized_and_requires_capture' | 'partially_captured_and_processing' | 'conflicted' | 'expired';
|
|
6
|
+
type IntentStatus = 'succeeded' | 'failed' | 'declined' | 'cancelled' | 'cancelled_post_capture' | 'processing' | 'requires_customer_action' | 'requires_merchant_action' | 'requires_payment_method' | 'requires_confirmation' | 'requires_capture' | 'partially_captured' | 'partially_captured_and_capturable' | 'partially_authorized_and_requires_capture' | 'partially_captured_and_processing' | 'conflicted' | 'expired';
|
|
7
7
|
type CaptureMethod = 'automatic' | 'manual' | 'manual_multiple' | 'scheduled' | 'sequential_automatic';
|
|
8
8
|
type AuthenticationType = 'three_ds' | 'no_three_ds';
|
|
9
9
|
type RefundStatus = 'succeeded' | 'failed' | 'pending' | 'review';
|
|
@@ -559,7 +559,7 @@ interface PaymentListResponse {
|
|
|
559
559
|
* enum, and is distinct from a payment intent's status: one intent can carry
|
|
560
560
|
* several attempts (retries across connectors), each with its own status.
|
|
561
561
|
*/
|
|
562
|
-
type AttemptStatus = 'started' | 'authentication_failed' | 'router_declined' | 'authentication_pending' | 'authentication_successful' | 'authorized' | 'authorization_failed' | 'charged' | 'authorizing' | 'cod_initiated' | 'voided' | 'voided_post_charge' | 'void_initiated' | 'capture_initiated' | 'capture_failed' | 'void_failed' | 'auto_refunded' | 'partial_charged' | 'partially_authorized' | 'partial_charged_and_chargeable' | 'unresolved' | 'pending' | 'failure' | 'payment_method_awaited' | 'confirmation_awaited' | 'device_data_collection_pending' | 'integrity_failure' | 'expired';
|
|
562
|
+
type AttemptStatus = 'started' | 'authentication_failed' | 'router_declined' | 'declined' | 'authentication_pending' | 'authentication_successful' | 'authorized' | 'authorization_failed' | 'charged' | 'authorizing' | 'cod_initiated' | 'voided' | 'voided_post_charge' | 'void_initiated' | 'capture_initiated' | 'capture_failed' | 'void_failed' | 'auto_refunded' | 'partial_charged' | 'partially_authorized' | 'partial_charged_and_chargeable' | 'unresolved' | 'pending' | 'failure' | 'payment_method_awaited' | 'confirmation_awaited' | 'device_data_collection_pending' | 'integrity_failure' | 'expired';
|
|
563
563
|
/** How the customer is expected to complete the payment (redirect, SDK invoke, QR, etc.). */
|
|
564
564
|
type PaymentExperience = 'redirect_to_url' | 'invoke_sdk_client' | 'display_qr_code' | 'one_click' | 'link_wallet' | 'invoke_payment_app' | 'display_wait_screen' | 'collect_otp';
|
|
565
565
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Field names match the JSON wire format (snake_case).
|
|
4
4
|
*/
|
|
5
5
|
type Currency = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL' | string;
|
|
6
|
-
type IntentStatus = 'succeeded' | 'failed' | 'cancelled' | 'cancelled_post_capture' | 'processing' | 'requires_customer_action' | 'requires_merchant_action' | 'requires_payment_method' | 'requires_confirmation' | 'requires_capture' | 'partially_captured' | 'partially_captured_and_capturable' | 'partially_authorized_and_requires_capture' | 'partially_captured_and_processing' | 'conflicted' | 'expired';
|
|
6
|
+
type IntentStatus = 'succeeded' | 'failed' | 'declined' | 'cancelled' | 'cancelled_post_capture' | 'processing' | 'requires_customer_action' | 'requires_merchant_action' | 'requires_payment_method' | 'requires_confirmation' | 'requires_capture' | 'partially_captured' | 'partially_captured_and_capturable' | 'partially_authorized_and_requires_capture' | 'partially_captured_and_processing' | 'conflicted' | 'expired';
|
|
7
7
|
type CaptureMethod = 'automatic' | 'manual' | 'manual_multiple' | 'scheduled' | 'sequential_automatic';
|
|
8
8
|
type AuthenticationType = 'three_ds' | 'no_three_ds';
|
|
9
9
|
type RefundStatus = 'succeeded' | 'failed' | 'pending' | 'review';
|
|
@@ -559,7 +559,7 @@ interface PaymentListResponse {
|
|
|
559
559
|
* enum, and is distinct from a payment intent's status: one intent can carry
|
|
560
560
|
* several attempts (retries across connectors), each with its own status.
|
|
561
561
|
*/
|
|
562
|
-
type AttemptStatus = 'started' | 'authentication_failed' | 'router_declined' | 'authentication_pending' | 'authentication_successful' | 'authorized' | 'authorization_failed' | 'charged' | 'authorizing' | 'cod_initiated' | 'voided' | 'voided_post_charge' | 'void_initiated' | 'capture_initiated' | 'capture_failed' | 'void_failed' | 'auto_refunded' | 'partial_charged' | 'partially_authorized' | 'partial_charged_and_chargeable' | 'unresolved' | 'pending' | 'failure' | 'payment_method_awaited' | 'confirmation_awaited' | 'device_data_collection_pending' | 'integrity_failure' | 'expired';
|
|
562
|
+
type AttemptStatus = 'started' | 'authentication_failed' | 'router_declined' | 'declined' | 'authentication_pending' | 'authentication_successful' | 'authorized' | 'authorization_failed' | 'charged' | 'authorizing' | 'cod_initiated' | 'voided' | 'voided_post_charge' | 'void_initiated' | 'capture_initiated' | 'capture_failed' | 'void_failed' | 'auto_refunded' | 'partial_charged' | 'partially_authorized' | 'partial_charged_and_chargeable' | 'unresolved' | 'pending' | 'failure' | 'payment_method_awaited' | 'confirmation_awaited' | 'device_data_collection_pending' | 'integrity_failure' | 'expired';
|
|
563
563
|
/** How the customer is expected to complete the payment (redirect, SDK invoke, QR, etc.). */
|
|
564
564
|
type PaymentExperience = 'redirect_to_url' | 'invoke_sdk_client' | 'display_qr_code' | 'one_click' | 'link_wallet' | 'invoke_payment_app' | 'display_wait_screen' | 'collect_otp';
|
|
565
565
|
/**
|