@flowio/api-types 0.0.241 → 0.0.242

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.
@@ -155,6 +155,17 @@ declare namespace io.flow.payment.v0.models {
155
155
  readonly 'display': string;
156
156
  }
157
157
 
158
+ interface AuthorizationRetry {
159
+ readonly 'id': string;
160
+ readonly 'authorization_request_id': string;
161
+ readonly 'authorization_id': string;
162
+ readonly 'organization_id': string;
163
+ readonly 'attempt': number;
164
+ readonly 'last_failure_code': string;
165
+ readonly 'created_at': string;
166
+ readonly 'updated_at': string;
167
+ }
168
+
158
169
  interface AuthorizationVersion {
159
170
  readonly 'id': string;
160
171
  readonly 'timestamp': string;
@@ -272,6 +283,7 @@ declare namespace io.flow.payment.v0.models {
272
283
  readonly 'processor'?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
273
284
  readonly 'stored_method_usage_step'?: io.flow.payment.v0.enums.StoredMethodUsageStep;
274
285
  readonly 'authorized_at'?: string;
286
+ readonly 'authorization_request_id'?: string;
275
287
  }
276
288
 
277
289
  interface CardBrowserActionConfiguration {
@@ -553,6 +565,7 @@ declare namespace io.flow.payment.v0.models {
553
565
  readonly 'processor'?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
554
566
  readonly 'confirmation_details'?: io.flow.payment.v0.unions.ConfirmationDetails;
555
567
  readonly 'authorized_at'?: string;
568
+ readonly 'authorization_request_id'?: string;
556
569
  }
557
570
 
558
571
  interface OnlinePaymentAuthorizationForm {
@@ -1,20 +1,21 @@
1
1
  declare namespace io.flow.sellability.v0.enums {
2
2
  type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
3
+ type SellabilityErrorCode = 'insufficient_details' | 'ineligible_category';
3
4
  }
4
5
 
5
6
  declare namespace io.flow.sellability.v0.models {
6
7
  interface ProductSellability {
7
- readonly 'organization_id': string;
8
+ readonly 'shop_id': string;
8
9
  readonly 'product_id'?: string;
9
- readonly 'product_correlation_id': string;
10
+ readonly 'request_id': string;
11
+ readonly 'hs6_code': string;
10
12
  readonly 'restricted_regions': io.flow.sellability.v0.models.SellablilityRegionResult[];
11
- readonly 'in_review_regions': io.flow.sellability.v0.models.SellablilityRegionResult[];
12
13
  }
13
14
 
14
15
  interface ProductSellabilityForm {
15
- readonly 'organization_id': string;
16
+ readonly 'shop_id': string;
16
17
  readonly 'product_id'?: string;
17
- readonly 'product_correlation_id': string;
18
+ readonly 'request_id': string;
18
19
  readonly 'name': string;
19
20
  readonly 'price': io.flow.sellability.v0.models.ProductSellabilityPrice;
20
21
  readonly 'description': string;
@@ -26,6 +27,11 @@ declare namespace io.flow.sellability.v0.models {
26
27
  readonly 'amount': number;
27
28
  }
28
29
 
30
+ interface SellabilityError {
31
+ readonly 'code': io.flow.sellability.v0.enums.SellabilityErrorCode;
32
+ readonly 'messages': string[];
33
+ }
34
+
29
35
  interface SellablilityRegionResult {
30
36
  readonly 'type': io.flow.sellability.v0.enums.RuleEffectType;
31
37
  readonly 'regions': string[];
@@ -69,8 +69,15 @@ declare namespace io.flow.shopify.external.v0.models {
69
69
  }
70
70
 
71
71
  interface GraphqlMetafield {
72
+ readonly 'id': string;
72
73
  readonly 'key': string;
73
74
  readonly 'value': string;
75
+ readonly 'type'?: string;
76
+ }
77
+
78
+ interface GraphqlMetaobject {
79
+ readonly 'id': string;
80
+ readonly 'displayName': string;
74
81
  }
75
82
 
76
83
  interface GraphqlOption {
@@ -246,6 +253,7 @@ declare namespace io.flow.shopify.external.v0.models {
246
253
  readonly 'updated_at': string;
247
254
  readonly 'has_variants_that_requires_components'?: boolean;
248
255
  readonly 'category'?: io.flow.product.v0.models.ProductTaxonomyCategory;
256
+ readonly 'metafields'?: io.flow.shopify.external.v0.models.ProductMetafield[];
249
257
  }
250
258
 
251
259
  interface ProductDelete {
@@ -263,6 +271,17 @@ declare namespace io.flow.shopify.external.v0.models {
263
271
  readonly 'alt'?: string;
264
272
  }
265
273
 
274
+ interface ProductMetafield {
275
+ readonly 'id': number;
276
+ readonly 'namespace': string;
277
+ readonly 'key': string;
278
+ readonly 'value': string;
279
+ readonly 'created_at': string;
280
+ readonly 'updated_at': string;
281
+ readonly 'type': string;
282
+ readonly 'admin_graphql_api_id': string;
283
+ }
284
+
266
285
  interface ProductVariant {
267
286
  readonly 'id': number;
268
287
  readonly 'sku'?: string;
@@ -40,9 +40,12 @@ declare namespace io.flow.stripe.v0.enums {
40
40
  type RefundFailureReason = 'charge_for_pending_refund_disputed' | 'declined' | 'expired_or_canceled_card' | 'insufficient_funds' | 'lost_or_stolen_card' | 'merchant_request' | 'unknown';
41
41
  type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
42
42
  type RefundStatus = 'succeeded' | 'failed' | 'pending' | 'canceled';
43
+ type ReportingReportRunStatus = 'pending' | 'succeeded' | 'failed';
44
+ type ReportingReportType = 'ending_balance_reconciliation.itemized.1' | 'ending_balance_reconciliation.itemized.2' | 'ending_balance_reconciliation.itemized.3' | 'ending_balance_reconciliation.itemized.4' | 'payout_reconciliation.itemized.5' | 'payout_reconciliation.by_id.itemized.1' | 'payout_reconciliation.by_id.itemized.2' | 'payout_reconciliation.by_id.itemized.3' | 'payout_reconciliation.by_id.itemized.4' | 'payout_reconciliation.by_id.summary.1' | 'ending_balance_reconciliation.summary.1' | 'payout_reconciliation.itemized.1' | 'payout_reconciliation.itemized.2' | 'payout_reconciliation.itemized.3' | 'payout_reconciliation.itemized.4' | 'payout_reconciliation.summary.1';
43
45
  type RequestThreeDSecureType = 'automatic' | 'any';
44
46
  type RequestedCapabilities = 'card_payments' | 'legacy_payments' | 'transfers';
45
47
  type SetupFutureUsage = 'on_session' | 'off_session';
48
+ type ShopifyPaymentStripeEventType = 'charge.captured' | 'charge.dispute.created' | 'charge.dispute.closed' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated' | 'charge.expired' | 'charge.failed' | 'charge.pending' | 'charge.refund.updated' | 'charge.refunded' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.canceled' | 'payment_intent.created' | 'payment_intent.partially_funded' | 'payment_intent.payment_failed' | 'payment_intent.processing' | 'payment_intent.requires_action' | 'payment_intent.succeeded' | 'transfer.created' | 'transfer.reversed' | 'transfer.updated' | 'reporting.report_run.succeeded' | 'reporting.report_type.updated' | 'reporting.report_type.failed';
46
49
  type SourceFlow = 'redirect' | 'receiver' | 'code_verification' | 'none';
47
50
  type SourceStatus = 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending';
48
51
  type SourceType = 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure';
@@ -936,12 +939,76 @@ declare namespace io.flow.stripe.v0.models {
936
939
  readonly 'url': string;
937
940
  }
938
941
 
942
+ interface ReportRunParameters {
943
+ readonly 'interval_start': number;
944
+ readonly 'interval_end': number;
945
+ readonly 'columns'?: string[];
946
+ readonly 'payout'?: string;
947
+ readonly 'connected_account'?: string;
948
+ readonly 'reporting_category'?: string;
949
+ }
950
+
951
+ interface ReportingReportRun {
952
+ readonly 'id': string;
953
+ readonly 'object': string;
954
+ readonly 'created': number;
955
+ readonly 'error'?: string;
956
+ readonly 'livemode': boolean;
957
+ readonly 'status': io.flow.stripe.v0.enums.ReportingReportRunStatus;
958
+ readonly 'result'?: io.flow.stripe.v0.models.ReportingReportRunResult;
959
+ readonly 'succeeded_at'?: number;
960
+ }
961
+
962
+ interface ReportingReportRunForm {
963
+ readonly 'report_type': io.flow.stripe.v0.enums.ReportingReportType;
964
+ readonly 'parameters': io.flow.stripe.v0.models.ReportRunParameters;
965
+ }
966
+
967
+ interface ReportingReportRunResult {
968
+ readonly 'id': string;
969
+ readonly 'object': string;
970
+ readonly 'created': number;
971
+ readonly 'expires_at': number;
972
+ readonly 'filename': string;
973
+ readonly 'links': any/*object*/;
974
+ readonly 'purpose': string;
975
+ readonly 'size': number;
976
+ readonly 'title': string;
977
+ readonly 'type': string;
978
+ readonly 'url': string;
979
+ }
980
+
981
+ interface ReportingReportRuns {
982
+ readonly 'object': string;
983
+ readonly 'data': io.flow.stripe.v0.models.ReportingReportRun[];
984
+ readonly 'has_more': boolean;
985
+ readonly 'url'?: string;
986
+ }
987
+
939
988
  interface Shipping {
940
989
  readonly 'address': io.flow.stripe.v0.models.Address;
941
990
  readonly 'name'?: string;
942
991
  readonly 'phone'?: string;
943
992
  }
944
993
 
994
+ interface ShopifyPaymentStripeEvent {
995
+ readonly 'id': string;
996
+ readonly 'api_version'?: string;
997
+ readonly 'data': io.flow.stripe.v0.models.ShopifyPaymentStripeEventData;
998
+ readonly 'request'?: any/*object*/;
999
+ readonly 'type': io.flow.stripe.v0.enums.ShopifyPaymentStripeEventType;
1000
+ readonly 'object': string;
1001
+ readonly 'account'?: string;
1002
+ readonly 'created': number;
1003
+ readonly 'livemode': boolean;
1004
+ readonly 'pending_webhooks': number;
1005
+ }
1006
+
1007
+ interface ShopifyPaymentStripeEventData {
1008
+ readonly 'object'?: any/*object*/;
1009
+ readonly 'previous_attributes'?: any/*object*/;
1010
+ }
1011
+
945
1012
  interface Source {
946
1013
  readonly 'id': string;
947
1014
  readonly 'object': string;
@@ -43,13 +43,6 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
43
43
  readonly 'name': string;
44
44
  }
45
45
 
46
- interface ShawnRoundtableWorkshopRate {
47
- readonly 'origin_country': string;
48
- readonly 'destination_country': string;
49
- readonly 'weight': number;
50
- readonly 'amount': number;
51
- }
52
-
53
46
  interface TechOnboardingDescription {
54
47
  readonly 'description': string;
55
48
  }
@@ -1,6 +1,6 @@
1
1
  declare namespace io.flow.tracking.v0.enums {
2
2
  type SubstatusCode = 'Delivered_001' | 'Delivered_002' | 'Delivered_003' | 'Delivered_004' | 'AvailableForPickup_001' | 'Exception_001' | 'Exception_002' | 'Exception_003' | 'Exception_004' | 'Exception_005' | 'Exception_006' | 'Exception_007' | 'Exception_008' | 'Exception_009' | 'Exception_010' | 'Exception_011' | 'Exception_012' | 'Exception_013' | 'AttemptFail_001' | 'AttemptFail_002' | 'AttemptFail_003' | 'InTransit_001' | 'InTransit_002' | 'InTransit_003' | 'InTransit_004' | 'InTransit_005' | 'InTransit_006' | 'InTransit_007' | 'InTransit_008' | 'InTransit_009' | 'InfoReceived_001' | 'OutForDelivery_001' | 'OutForDelivery_003' | 'OutForDelivery_004' | 'Pending_001' | 'Pending_002' | 'Pending_003' | 'Pending_004' | 'Pending_005' | 'Pending_006' | 'Expired_001';
3
- type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
3
+ type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
4
4
  }
5
5
 
6
6
  declare namespace io.flow.tracking.v0.models {