@flowio/api-types 0.0.209 → 0.0.210
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.
|
@@ -204,6 +204,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
204
204
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
205
205
|
type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
|
|
206
206
|
type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason' | 'additional_rejection_info';
|
|
207
|
+
type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
|
|
207
208
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
208
209
|
type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
|
|
209
210
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
@@ -2045,6 +2046,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
2045
2046
|
readonly 'flow_tracking_status'?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
2046
2047
|
readonly 'order_items': io.flow.experience.v0.models.LocalizedLineItem[];
|
|
2047
2048
|
readonly 'label_items': io.flow.experience.v0.models.LocalizedLineItem[];
|
|
2049
|
+
readonly 'carrier'?: io.flow.reference.v0.models.CarrierService;
|
|
2048
2050
|
readonly 'tracking_numbers'?: string[];
|
|
2049
2051
|
}
|
|
2050
2052
|
|
|
@@ -9893,6 +9895,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9893
9895
|
readonly 'organization_id': string;
|
|
9894
9896
|
readonly 'approval_status': io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
9895
9897
|
readonly 'screening_status': io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
9898
|
+
readonly 'review_type'?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
9896
9899
|
readonly 'risk_level'?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
9897
9900
|
readonly 'hs_code'?: string;
|
|
9898
9901
|
readonly 'merchant_category_code'?: string;
|
|
@@ -11343,6 +11346,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11343
11346
|
readonly 'url'?: string;
|
|
11344
11347
|
readonly 'approval_status'?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
11345
11348
|
readonly 'screening_status'?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
11349
|
+
readonly 'review_type'?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
|
|
11346
11350
|
readonly 'risk_level'?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
11347
11351
|
readonly 'hs_code'?: string;
|
|
11348
11352
|
readonly 'merchant_category_code'?: string;
|
|
@@ -9,10 +9,12 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
9
9
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
10
10
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
11
11
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
12
|
-
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
12
|
+
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
13
13
|
type ErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state';
|
|
14
14
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
15
15
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
16
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
17
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
16
18
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
17
19
|
type KlarnaProduct = 'payment';
|
|
18
20
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -160,6 +162,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
160
162
|
readonly 'currency': string;
|
|
161
163
|
readonly 'customer'?: string;
|
|
162
164
|
readonly 'outcome'?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
165
|
+
readonly 'disputed'?: boolean;
|
|
163
166
|
readonly 'paid': boolean;
|
|
164
167
|
readonly 'refunded': boolean;
|
|
165
168
|
readonly 'refunds'?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -179,6 +182,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
179
182
|
readonly 'calculated_statement_descriptor'?: string;
|
|
180
183
|
readonly 'statement_descriptor'?: string;
|
|
181
184
|
readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
185
|
+
readonly 'payment_method'?: string;
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
interface ChargeDestination {
|
|
@@ -207,6 +211,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
207
211
|
readonly 'amount_refunded': number;
|
|
208
212
|
readonly 'authorization_code'?: string;
|
|
209
213
|
readonly 'captured': boolean;
|
|
214
|
+
readonly 'disputed'?: boolean;
|
|
210
215
|
readonly 'created': number;
|
|
211
216
|
readonly 'currency': string;
|
|
212
217
|
readonly 'customer'?: string;
|
|
@@ -230,6 +235,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
230
235
|
readonly 'calculated_statement_descriptor'?: string;
|
|
231
236
|
readonly 'statement_descriptor'?: string;
|
|
232
237
|
readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
238
|
+
readonly 'payment_method'?: string;
|
|
233
239
|
}
|
|
234
240
|
|
|
235
241
|
interface CodeVerification {
|
|
@@ -257,6 +263,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
257
263
|
readonly 'error': io.flow.stripe.v0.models.StripeError;
|
|
258
264
|
}
|
|
259
265
|
|
|
266
|
+
interface ExtendedAuthorization {
|
|
267
|
+
readonly 'status'?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
interface IncrementalAuthorization {
|
|
271
|
+
readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
272
|
+
}
|
|
273
|
+
|
|
260
274
|
interface Keys {
|
|
261
275
|
readonly 'secret'?: string;
|
|
262
276
|
readonly 'publishable'?: string;
|
|
@@ -296,6 +310,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
296
310
|
readonly 'payment_request_order_reference'?: string;
|
|
297
311
|
}
|
|
298
312
|
|
|
313
|
+
interface Multicapture {
|
|
314
|
+
readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
315
|
+
}
|
|
316
|
+
|
|
299
317
|
interface NetworkTokenUsed {
|
|
300
318
|
readonly 'used'?: boolean;
|
|
301
319
|
}
|
|
@@ -343,6 +361,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
343
361
|
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
344
362
|
}
|
|
345
363
|
|
|
364
|
+
interface Overcapture {
|
|
365
|
+
readonly 'maximum_amount_capturable'?: number;
|
|
366
|
+
readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
367
|
+
}
|
|
368
|
+
|
|
346
369
|
interface Owner {
|
|
347
370
|
readonly 'address'?: io.flow.stripe.v0.models.Address;
|
|
348
371
|
readonly 'email'?: string;
|
|
@@ -416,7 +439,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
416
439
|
readonly 'off_session'?: boolean;
|
|
417
440
|
readonly 'payment_method'?: string;
|
|
418
441
|
readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
419
|
-
readonly 'payment_method_options'?: io.flow.stripe.v0.models.
|
|
442
|
+
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
420
443
|
readonly 'payment_method_types'?: string[];
|
|
421
444
|
readonly 'receipt_email'?: string;
|
|
422
445
|
readonly 'save_payment_method'?: boolean;
|
|
@@ -437,7 +460,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
437
460
|
readonly 'on_behalf_of'?: string;
|
|
438
461
|
readonly 'payment_method'?: string;
|
|
439
462
|
readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
440
|
-
readonly 'payment_method_options'?: io.flow.stripe.v0.models.
|
|
463
|
+
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
441
464
|
readonly 'payment_method_types'?: string[];
|
|
442
465
|
readonly 'receipt_email'?: string;
|
|
443
466
|
readonly 'return_url'?: string;
|
|
@@ -543,6 +566,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
543
566
|
readonly 'issuer'?: string;
|
|
544
567
|
readonly 'wallet'?: io.flow.stripe.v0.unions.CardWallet;
|
|
545
568
|
readonly 'network_transaction_id'?: string;
|
|
569
|
+
readonly 'extended_authorization'?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
570
|
+
readonly 'incremental_authorization'?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
571
|
+
readonly 'multicapture'?: io.flow.stripe.v0.models.Multicapture;
|
|
572
|
+
readonly 'overcapture'?: io.flow.stripe.v0.models.Overcapture;
|
|
546
573
|
}
|
|
547
574
|
|
|
548
575
|
interface PaymentMethodDetailsKlarna {
|
|
@@ -571,6 +598,18 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
571
598
|
readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
572
599
|
readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
573
600
|
readonly 'mcc'?: string;
|
|
601
|
+
readonly 'capture_before'?: number;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
interface PaymentMethodOptionsCardForm {
|
|
605
|
+
readonly 'network'?: string;
|
|
606
|
+
readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
607
|
+
readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
608
|
+
readonly 'mcc'?: string;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
interface PaymentMethodOptionsForm {
|
|
612
|
+
readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
574
613
|
}
|
|
575
614
|
|
|
576
615
|
interface PaymentOutcome {
|
|
@@ -399,6 +399,11 @@ declare namespace io.flow.v0.models {
|
|
|
399
399
|
readonly 'placeholder'?: boolean;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
+
interface AdditionalServicesRequested {
|
|
403
|
+
readonly 'name': string;
|
|
404
|
+
readonly 'description'?: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
402
407
|
interface Address {
|
|
403
408
|
readonly 'text'?: string;
|
|
404
409
|
readonly 'streets'?: string[];
|
|
@@ -8810,6 +8815,7 @@ declare namespace io.flow.v0.models {
|
|
|
8810
8815
|
readonly 'shipment_recipient': io.flow.v0.enums.ShipmentRecipient;
|
|
8811
8816
|
readonly 'label_request_method'?: io.flow.v0.enums.LabelRequestMethod;
|
|
8812
8817
|
readonly 'label_trigger_method'?: io.flow.v0.enums.LabelTriggerMethod;
|
|
8818
|
+
readonly 'additional_services_requested'?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
8813
8819
|
readonly 'created_at'?: string;
|
|
8814
8820
|
readonly 'updated_at'?: string;
|
|
8815
8821
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.210",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"generate": "apibuilder update && node scripts/generate-index.js"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "fc644e9ba6f842b12316085c5adbfeaa86923d6b"
|
|
18
18
|
}
|