@flowio/api-types 0.0.235 → 0.0.237

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.
@@ -5,6 +5,7 @@ declare namespace io.flow.adyen.v0.enums {
5
5
  type DisputeStatus = 'Accepted' | 'Expired' | 'Lost' | 'Pending' | 'Responded' | 'Undefended' | 'Unresponded' | 'Won';
6
6
  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';
7
7
  type HttpRedirectMethod = 'GET' | 'POST';
8
+ type LifecycleStage = 'INQUIRY' | 'CHARGEBACK';
8
9
  type Operation = 'cancel' | 'capture' | 'refund';
9
10
  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' | 'grabpay_MY' | 'grabpay_PH' | 'grabpay_SG' | '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' | 'vipps' | 'visa' | 'wechatpay' | 'unknowncard';
10
11
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
@@ -192,6 +193,7 @@ declare namespace io.flow.adyen.v0.models {
192
193
  readonly 'paymentMethod'?: io.flow.adyen.v0.enums.PaymentMethod;
193
194
  readonly 'reason'?: string;
194
195
  readonly 'success': string;
196
+ readonly 'lifecycleStage'?: io.flow.adyen.v0.enums.LifecycleStage;
195
197
  }
196
198
 
197
199
  interface ModificationRequest {
@@ -11,10 +11,6 @@ declare namespace io.flow.ben.test.internal.v0.models {
11
11
  readonly 'num_events': number;
12
12
  }
13
13
 
14
- interface SvitlanaTest {
15
- readonly 'name': string;
16
- }
17
-
18
14
  interface Test {
19
15
  readonly 'id': string;
20
16
  readonly 'name': string;
@@ -2,7 +2,7 @@ declare namespace io.flow.channel.internal.v0.enums {
2
2
  type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
3
3
  type ChannelOrderAcceptanceFailureReasonCode = 'channel_order_mor_invalid' | 'channel_order_does_not_exist';
4
4
  type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
5
- type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
5
+ type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
6
6
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
7
7
  }
8
8
 
@@ -49,6 +49,7 @@ declare namespace io.flow.channel.internal.v0.models {
49
49
  readonly 'next_action_from'?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
50
50
  readonly 'order_created_at'?: string;
51
51
  readonly 'order_updated_at'?: string;
52
+ readonly 'order_edit_summary'?: io.flow.channel.internal.v0.models.OrderEditSummary;
52
53
  }
53
54
 
54
55
  interface ChannelOrderAcceptanceDetails {
@@ -77,4 +78,9 @@ declare namespace io.flow.channel.internal.v0.models {
77
78
  interface FlowChannelOrganization {
78
79
  readonly 'placeholder'?: string;
79
80
  }
81
+
82
+ interface OrderEditSummary {
83
+ readonly 'external_order_edit_reference': string;
84
+ readonly 'edited_at': string;
85
+ }
80
86
  }
@@ -9,7 +9,7 @@ declare namespace io.flow.common.v0.enums {
9
9
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
10
10
  type DeliveredDuty = 'paid' | 'unpaid';
11
11
  type DiscountTarget = 'item' | 'shipping';
12
- type EntityIdentifierType = 'ioss' | 'voec';
12
+ type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
13
13
  type Environment = 'sandbox' | 'production';
14
14
  type ExceptionType = 'open' | 'closed';
15
15
  type GoodsSupply = 'export' | 'intra_community' | 'local';
@@ -8,6 +8,7 @@ declare namespace io.flow.experience.v0.enums {
8
8
  type ExperienceCountryStatus = 'enabled' | 'disabled';
9
9
  type ExperiencePaymentMethodTag = 'display';
10
10
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
11
+ type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
11
12
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
12
13
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
13
14
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
@@ -517,6 +518,17 @@ declare namespace io.flow.experience.v0.models {
517
518
  readonly 'attributes'?: Record<string, string>;
518
519
  }
519
520
 
521
+ interface IncotermIncludes {
522
+ readonly 'duties': boolean;
523
+ readonly 'taxes': boolean;
524
+ }
525
+
526
+ interface IncotermSummary {
527
+ readonly 'configuration': io.flow.experience.v0.enums.IncotermConfiguration;
528
+ readonly 'includes': io.flow.experience.v0.models.IncotermIncludes;
529
+ readonly 'reason'?: string;
530
+ }
531
+
520
532
  interface ItemMargin {
521
533
  readonly 'id': string;
522
534
  readonly 'key': string;
@@ -618,6 +630,7 @@ declare namespace io.flow.experience.v0.models {
618
630
  readonly 'geo'?: io.flow.experience.v0.models.OrderGeo;
619
631
  readonly 'device_details'?: io.flow.payment.v0.unions.DeviceDetails;
620
632
  readonly 'destination_contact_details'?: io.flow.experience.v0.models.DestinationContactDetail[];
633
+ readonly 'incoterm_summary'?: io.flow.experience.v0.models.IncotermSummary;
621
634
  }
622
635
 
623
636
  interface OrderAddress {