@flowio/api-types 0.0.228 → 0.0.231

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.
@@ -2,10 +2,10 @@ declare namespace io.flow.adyen.v0.enums {
2
2
  type Channel = 'web';
3
3
  type Contract = 'RECURRING';
4
4
  type DeviceChannel = 'app' | 'browser';
5
- type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
5
+ type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST' | 'INFORMATION_SUPPLIED' | 'DISPUTE_DEFENSE_PERIOD_ENDED' | 'ISSUER_RESPONSE_TIMEFRAME_EXPIRED';
6
6
  type HttpRedirectMethod = 'GET' | 'POST';
7
7
  type Operation = 'cancel' | 'capture' | 'refund';
8
- type PaymentMethod = 'ach' | 'alipay' | 'alipay_hk' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'blik' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'gcash' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kakaopay' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mbway' | 'mc' | 'mobilepay' | 'molpay_points' | 'multibanco' | 'onlineBanking_PL' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'twint' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
8
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_hk' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'blik' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'gcash' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kakaopay' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mbway' | 'mc' | 'mobilepay' | 'molpay_points' | 'multibanco' | 'onlineBanking_PL' | 'paywithgoogle' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'twint' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
9
9
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
10
10
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
11
11
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -22,6 +22,11 @@ declare namespace io.flow.adyen.v0.models {
22
22
  readonly 'country'?: string;
23
23
  }
24
24
 
25
+ interface AdyenDisputeEvent {
26
+ readonly 'live': string;
27
+ readonly 'notificationItems': io.flow.adyen.v0.models.OuterNotificationRequestItem[];
28
+ }
29
+
25
30
  interface Amount {
26
31
  readonly 'value': number;
27
32
  readonly 'currency': string;
@@ -154,6 +159,7 @@ declare namespace io.flow.adyen.v0.models {
154
159
  readonly 'chargebackReasonCode': string;
155
160
  readonly 'modificationMerchantReferences': string;
156
161
  readonly 'chargebackSchemeCode': string;
162
+ readonly 'defensePeriodEndsAt'?: string;
157
163
  }
158
164
 
159
165
  interface Error {
@@ -288,8 +288,8 @@ declare namespace io.flow.external.paypal.v1.models {
288
288
  }
289
289
 
290
290
  interface Money {
291
- readonly 'currency_code'?: string;
292
- readonly 'value'?: string;
291
+ readonly 'currency_code': string;
292
+ readonly 'value': string;
293
293
  }
294
294
 
295
295
  interface MoneyMovement {
@@ -356,6 +356,16 @@ declare namespace io.flow.external.paypal.v1.models {
356
356
  readonly 'application_context'?: io.flow.external.paypal.v1.models.ApplicationContext;
357
357
  }
358
358
 
359
+ interface PaypalDisputeEvent {
360
+ readonly 'id': string;
361
+ readonly 'resource_type': string;
362
+ readonly 'event_type': string;
363
+ readonly 'summary': string;
364
+ readonly 'event_version': string;
365
+ readonly 'create_time': string;
366
+ readonly 'resource': io.flow.external.paypal.v1.models.Dispute;
367
+ }
368
+
359
369
  interface ProductDetails {
360
370
  readonly 'description'?: string;
361
371
  readonly 'product_received'?: io.flow.external.paypal.v1.enums.ProductReceived;
@@ -527,12 +537,12 @@ declare namespace io.flow.external.paypal.v1.models {
527
537
 
528
538
  interface TransactionInfo {
529
539
  readonly 'buyer_transaction_id'?: string;
530
- readonly 'seller_transaction_id'?: string;
540
+ readonly 'seller_transaction_id': string;
531
541
  readonly 'reference_id'?: string;
532
542
  readonly 'create_time'?: string;
533
543
  readonly 'transaction_status'?: io.flow.external.paypal.v1.enums.TransactionStatus;
534
544
  readonly 'gross_amount'?: io.flow.external.paypal.v1.models.Money;
535
- readonly 'invoice_number'?: string;
545
+ readonly 'invoice_number': string;
536
546
  readonly 'custom'?: string;
537
547
  readonly 'buyer'?: io.flow.external.paypal.v1.models.Buyer;
538
548
  readonly 'seller': io.flow.external.paypal.v1.models.Seller;