@flowio/api-types 0.0.231 → 0.0.233
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/generated/io.flow.adyen.v0.adyen.d.ts +4 -1
- package/generated/io.flow.billing.v0.billing.d.ts +2 -2
- package/generated/io.flow.catalog.v0.catalog.d.ts +4 -0
- package/generated/io.flow.experience.v0.experience.d.ts +7 -0
- package/generated/io.flow.external.paypal.v1.paypal.d.ts +20 -14
- package/generated/io.flow.internal.v0.api-internal.d.ts +210 -8
- package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +33 -3
- package/generated/io.flow.payment.v0.payment.d.ts +3 -0
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +6 -0
- package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +10 -1
- package/generated/io.flow.stripe.v0.stripe.d.ts +1 -1
- package/generated/io.flow.tracking.v0.tracking.d.ts +1 -0
- package/generated/io.flow.v0.api.d.ts +78 -7
- package/package.json +2 -2
|
@@ -2,10 +2,11 @@ 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 DisputeStatus = 'Accepted' | 'Expired' | 'Lost' | 'Pending' | 'Responded' | 'Undefended' | 'Unresponded' | 'Won';
|
|
5
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';
|
|
6
7
|
type HttpRedirectMethod = 'GET' | 'POST';
|
|
7
8
|
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' | 'paywithgoogle' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'twint' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
|
|
9
|
+
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';
|
|
9
10
|
type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
|
|
10
11
|
type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
|
|
11
12
|
type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
|
|
@@ -160,6 +161,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
160
161
|
readonly 'modificationMerchantReferences': string;
|
|
161
162
|
readonly 'chargebackSchemeCode': string;
|
|
162
163
|
readonly 'defensePeriodEndsAt'?: string;
|
|
164
|
+
readonly 'disputeStatus'?: io.flow.adyen.v0.enums.DisputeStatus;
|
|
165
|
+
readonly 'defendable'?: string;
|
|
163
166
|
}
|
|
164
167
|
|
|
165
168
|
interface Error {
|
|
@@ -2,9 +2,9 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
2
2
|
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
3
3
|
type PayoutAttachmentType = 'transactions';
|
|
4
4
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
5
|
-
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
|
|
5
|
+
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance' | 'unfulfilled_amount_greater_than_negative_balance' | 'account_payment_hold';
|
|
6
6
|
type StatementAttachmentType = 'csv';
|
|
7
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout';
|
|
7
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund';
|
|
8
8
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
9
9
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
10
10
|
}
|
|
@@ -94,6 +94,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
94
94
|
readonly 'local'?: io.flow.catalog.v0.models.Local;
|
|
95
95
|
readonly 'created_at'?: string;
|
|
96
96
|
readonly 'updated_at'?: string;
|
|
97
|
+
readonly 'deleted_at'?: string;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
interface ItemAttributesPatchForm {
|
|
@@ -111,6 +112,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
111
112
|
readonly 'attributes'?: Record<string, string>;
|
|
112
113
|
readonly 'dimensions'?: io.flow.common.v0.models.Dimensions;
|
|
113
114
|
readonly 'images'?: io.flow.catalog.v0.models.ImageForm[];
|
|
115
|
+
readonly 'deleted_at'?: string;
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
interface ItemFormOverlay {
|
|
@@ -124,6 +126,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
124
126
|
readonly 'attributes'?: Record<string, string>;
|
|
125
127
|
readonly 'dimensions'?: io.flow.common.v0.models.Dimensions;
|
|
126
128
|
readonly 'images'?: io.flow.catalog.v0.models.ImageForm[];
|
|
129
|
+
readonly 'deleted_at'?: string;
|
|
127
130
|
}
|
|
128
131
|
|
|
129
132
|
interface ItemFormOverlayForm {
|
|
@@ -136,6 +139,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
136
139
|
readonly 'attributes'?: Record<string, string>;
|
|
137
140
|
readonly 'dimensions'?: io.flow.common.v0.models.Dimensions;
|
|
138
141
|
readonly 'images'?: io.flow.catalog.v0.models.ImageForm[];
|
|
142
|
+
readonly 'deleted_at'?: string;
|
|
139
143
|
}
|
|
140
144
|
|
|
141
145
|
interface ItemPriceUpdateForm {
|
|
@@ -249,6 +249,12 @@ declare namespace io.flow.experience.v0.models {
|
|
|
249
249
|
readonly 'display'?: io.flow.experience.v0.enums.DeliveredDutyDisplayType;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
+
interface DestinationContactDetail {
|
|
253
|
+
readonly 'title': string;
|
|
254
|
+
readonly 'country': string;
|
|
255
|
+
readonly 'import_identifier': string;
|
|
256
|
+
}
|
|
257
|
+
|
|
252
258
|
interface Discount {
|
|
253
259
|
readonly 'discriminator': 'discount';
|
|
254
260
|
readonly 'id': string;
|
|
@@ -611,6 +617,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
611
617
|
readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
612
618
|
readonly 'geo'?: io.flow.experience.v0.models.OrderGeo;
|
|
613
619
|
readonly 'device_details'?: io.flow.payment.v0.unions.DeviceDetails;
|
|
620
|
+
readonly 'destination_contact_details'?: io.flow.experience.v0.models.DestinationContactDetail[];
|
|
614
621
|
}
|
|
615
622
|
|
|
616
623
|
interface OrderAddress {
|
|
@@ -108,7 +108,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
interface CanceledRecurringBilling {
|
|
111
|
-
readonly 'expected_refund'?: io.flow.external.paypal.v1.models.
|
|
111
|
+
readonly 'expected_refund'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
112
112
|
readonly 'cancellation_details'?: io.flow.external.paypal.v1.models.CancellationDetails;
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -127,7 +127,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
127
127
|
|
|
128
128
|
interface CreditNotProcessed {
|
|
129
129
|
readonly 'issue_type'?: io.flow.external.paypal.v1.enums.IssueType;
|
|
130
|
-
readonly 'expected_refund'?: io.flow.external.paypal.v1.models.
|
|
130
|
+
readonly 'expected_refund'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
131
131
|
readonly 'cancellation_details'?: io.flow.external.paypal.v1.models.CancellationDetails;
|
|
132
132
|
readonly 'product_details'?: io.flow.external.paypal.v1.models.ProductDetails;
|
|
133
133
|
readonly 'service_details'?: io.flow.external.paypal.v1.models.ServiceDetails;
|
|
@@ -141,7 +141,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
141
141
|
readonly 'disputed_transactions': io.flow.external.paypal.v1.models.TransactionInfo[];
|
|
142
142
|
readonly 'reason': io.flow.external.paypal.v1.enums.DisputeReason;
|
|
143
143
|
readonly 'status': io.flow.external.paypal.v1.enums.DisputeStatus;
|
|
144
|
-
readonly 'dispute_amount': io.flow.external.paypal.v1.models.
|
|
144
|
+
readonly 'dispute_amount': io.flow.external.paypal.v1.models.DisputeMoney;
|
|
145
145
|
readonly 'fee_policy'?: any/*object*/;
|
|
146
146
|
readonly 'external_reason_code'?: string;
|
|
147
147
|
readonly 'dispute_outcome'?: io.flow.external.paypal.v1.models.DisputeOutcome;
|
|
@@ -160,6 +160,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
160
160
|
readonly 'supporting_info'?: io.flow.external.paypal.v1.models.SupportingInfo;
|
|
161
161
|
readonly 'allowed_response_options'?: io.flow.external.paypal.v1.models.AllowedResponseOptions;
|
|
162
162
|
readonly 'links'?: io.flow.external.paypal.v1.models.Link[];
|
|
163
|
+
readonly 'previous_status'?: io.flow.external.paypal.v1.enums.DisputeStatus;
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
interface DisputeExtension {
|
|
@@ -178,9 +179,14 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
178
179
|
readonly 'links': io.flow.external.paypal.v1.models.Link[];
|
|
179
180
|
}
|
|
180
181
|
|
|
182
|
+
interface DisputeMoney {
|
|
183
|
+
readonly 'currency_code': string;
|
|
184
|
+
readonly 'value': string;
|
|
185
|
+
}
|
|
186
|
+
|
|
181
187
|
interface DisputeOutcome {
|
|
182
188
|
readonly 'outcome_code'?: io.flow.external.paypal.v1.enums.DisputeOutcomeCode;
|
|
183
|
-
readonly 'amount_refunded'?: io.flow.external.paypal.v1.models.
|
|
189
|
+
readonly 'amount_refunded'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
184
190
|
}
|
|
185
191
|
|
|
186
192
|
interface DisputeSummary {
|
|
@@ -189,7 +195,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
189
195
|
readonly 'update_time': string;
|
|
190
196
|
readonly 'reason': io.flow.external.paypal.v1.enums.DisputeReason;
|
|
191
197
|
readonly 'status': io.flow.external.paypal.v1.enums.DisputeStatus;
|
|
192
|
-
readonly 'dispute_amount': io.flow.external.paypal.v1.models.
|
|
198
|
+
readonly 'dispute_amount': io.flow.external.paypal.v1.models.DisputeMoney;
|
|
193
199
|
readonly 'dispute_life_cycle_stage': io.flow.external.paypal.v1.enums.DisputeLifeCycleStage;
|
|
194
200
|
readonly 'links': io.flow.external.paypal.v1.models.Link[];
|
|
195
201
|
}
|
|
@@ -235,7 +241,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
235
241
|
}
|
|
236
242
|
|
|
237
243
|
interface IncorrectTransactionAmount {
|
|
238
|
-
readonly 'correct_transaction_amount'?: io.flow.external.paypal.v1.models.
|
|
244
|
+
readonly 'correct_transaction_amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
239
245
|
readonly 'correct_transaction_time'?: string;
|
|
240
246
|
}
|
|
241
247
|
|
|
@@ -255,7 +261,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
255
261
|
readonly 'item_quantity'?: string;
|
|
256
262
|
readonly 'partner_transaction_id'?: string;
|
|
257
263
|
readonly 'reason'?: io.flow.external.paypal.v1.enums.DisputeReason;
|
|
258
|
-
readonly 'dispute_amount'?: io.flow.external.paypal.v1.models.
|
|
264
|
+
readonly 'dispute_amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
259
265
|
readonly 'notes'?: string;
|
|
260
266
|
}
|
|
261
267
|
|
|
@@ -288,21 +294,21 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
288
294
|
}
|
|
289
295
|
|
|
290
296
|
interface Money {
|
|
291
|
-
readonly 'currency_code'
|
|
292
|
-
readonly 'value'
|
|
297
|
+
readonly 'currency_code'?: string;
|
|
298
|
+
readonly 'value'?: string;
|
|
293
299
|
}
|
|
294
300
|
|
|
295
301
|
interface MoneyMovement {
|
|
296
302
|
readonly 'affected_party'?: io.flow.external.paypal.v1.enums.AffectedParty;
|
|
297
|
-
readonly 'amount'?: io.flow.external.paypal.v1.models.
|
|
303
|
+
readonly 'amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
298
304
|
readonly 'initiated_time'?: string;
|
|
299
305
|
readonly 'type'?: io.flow.external.paypal.v1.enums.MoneyMovementType;
|
|
300
306
|
readonly 'reason'?: io.flow.external.paypal.v1.enums.MoneyMovementReason;
|
|
301
307
|
}
|
|
302
308
|
|
|
303
309
|
interface Offer {
|
|
304
|
-
readonly 'buyer_requested_amount'?: io.flow.external.paypal.v1.models.
|
|
305
|
-
readonly 'seller_offered_amount'?: io.flow.external.paypal.v1.models.
|
|
310
|
+
readonly 'buyer_requested_amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
311
|
+
readonly 'seller_offered_amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
306
312
|
readonly 'offer_type'?: io.flow.external.paypal.v1.enums.OfferType;
|
|
307
313
|
}
|
|
308
314
|
|
|
@@ -406,7 +412,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
406
412
|
}
|
|
407
413
|
|
|
408
414
|
interface RefundDetails {
|
|
409
|
-
readonly 'allowed_refund_amount'?: io.flow.external.paypal.v1.models.
|
|
415
|
+
readonly 'allowed_refund_amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
410
416
|
}
|
|
411
417
|
|
|
412
418
|
interface RefundId {
|
|
@@ -541,7 +547,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
541
547
|
readonly 'reference_id'?: string;
|
|
542
548
|
readonly 'create_time'?: string;
|
|
543
549
|
readonly 'transaction_status'?: io.flow.external.paypal.v1.enums.TransactionStatus;
|
|
544
|
-
readonly 'gross_amount'?: io.flow.external.paypal.v1.models.
|
|
550
|
+
readonly 'gross_amount'?: io.flow.external.paypal.v1.models.DisputeMoney;
|
|
545
551
|
readonly 'invoice_number': string;
|
|
546
552
|
readonly 'custom'?: string;
|
|
547
553
|
readonly 'buyer'?: io.flow.external.paypal.v1.models.Buyer;
|