@flowio/api-types 0.0.240 → 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.
- package/generated/io.flow.billing.v0.billing.d.ts +1 -1
- package/generated/io.flow.experience.v0.experience.d.ts +4 -0
- package/generated/io.flow.external.paypal.v1.paypal.d.ts +1 -1
- package/generated/io.flow.internal.v0.api-internal.d.ts +282 -403
- package/generated/io.flow.payment.v0.payment.d.ts +13 -0
- package/generated/io.flow.product.v0.product.d.ts +21 -0
- package/generated/io.flow.ratecard.v0.ratecard.d.ts +2 -0
- package/generated/io.flow.sellability.v0.sellability.d.ts +39 -0
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +32 -0
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +1 -1
- package/generated/io.flow.stripe.v0.stripe.d.ts +67 -0
- package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +18 -0
- package/generated/io.flow.tracking.v0.tracking.d.ts +2 -1
- package/generated/io.flow.v0.api.d.ts +158 -143
- package/index.d.ts +2 -0
- package/package.json +2 -2
|
@@ -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 {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare namespace io.flow.product.v0.models {
|
|
2
|
+
interface Product {
|
|
3
|
+
readonly 'organization_id': string;
|
|
4
|
+
readonly 'number': string;
|
|
5
|
+
readonly 'taxonomy_category'?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
6
|
+
readonly 'taxonomy_data'?: io.flow.product.v0.models.ProductTaxonomyData[];
|
|
7
|
+
readonly 'item_numbers': string[];
|
|
8
|
+
readonly 'updated_at': string;
|
|
9
|
+
readonly 'deleted_at'?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface ProductTaxonomyCategory {
|
|
13
|
+
readonly 'name': string;
|
|
14
|
+
readonly 'full_name': string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface ProductTaxonomyData {
|
|
18
|
+
readonly 'key': string;
|
|
19
|
+
readonly 'value': string[];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -25,12 +25,14 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
25
25
|
readonly 'q': string;
|
|
26
26
|
readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
|
|
27
27
|
readonly 'position': number;
|
|
28
|
+
readonly 'block_bulk_update'?: boolean;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
interface DimensionEstimateForm {
|
|
31
32
|
readonly 'q': string;
|
|
32
33
|
readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
|
|
33
34
|
readonly 'position'?: number;
|
|
35
|
+
readonly 'block_bulk_update'?: boolean;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
interface DimensionEstimateVersion {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare namespace io.flow.sellability.v0.enums {
|
|
2
|
+
type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
|
|
3
|
+
type SellabilityErrorCode = 'insufficient_details' | 'ineligible_category';
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare namespace io.flow.sellability.v0.models {
|
|
7
|
+
interface ProductSellability {
|
|
8
|
+
readonly 'shop_id': string;
|
|
9
|
+
readonly 'product_id'?: string;
|
|
10
|
+
readonly 'request_id': string;
|
|
11
|
+
readonly 'hs6_code': string;
|
|
12
|
+
readonly 'restricted_regions': io.flow.sellability.v0.models.SellablilityRegionResult[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ProductSellabilityForm {
|
|
16
|
+
readonly 'shop_id': string;
|
|
17
|
+
readonly 'product_id'?: string;
|
|
18
|
+
readonly 'request_id': string;
|
|
19
|
+
readonly 'name': string;
|
|
20
|
+
readonly 'price': io.flow.sellability.v0.models.ProductSellabilityPrice;
|
|
21
|
+
readonly 'description': string;
|
|
22
|
+
readonly 'taxonomy_category': io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface ProductSellabilityPrice {
|
|
26
|
+
readonly 'currency': string;
|
|
27
|
+
readonly 'amount': number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface SellabilityError {
|
|
31
|
+
readonly 'code': io.flow.sellability.v0.enums.SellabilityErrorCode;
|
|
32
|
+
readonly 'messages': string[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface SellablilityRegionResult {
|
|
36
|
+
readonly 'type': io.flow.sellability.v0.enums.RuleEffectType;
|
|
37
|
+
readonly 'regions': string[];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -68,6 +68,18 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
68
68
|
readonly 'weight'?: io.flow.shopify.external.v0.models.GraphqlWeight;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
interface GraphqlMetafield {
|
|
72
|
+
readonly 'id': string;
|
|
73
|
+
readonly 'key': string;
|
|
74
|
+
readonly 'value': string;
|
|
75
|
+
readonly 'type'?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface GraphqlMetaobject {
|
|
79
|
+
readonly 'id': string;
|
|
80
|
+
readonly 'displayName': string;
|
|
81
|
+
}
|
|
82
|
+
|
|
71
83
|
interface GraphqlOption {
|
|
72
84
|
readonly 'id': string;
|
|
73
85
|
readonly 'values': string[];
|
|
@@ -93,6 +105,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
93
105
|
readonly 'createdAt': string;
|
|
94
106
|
readonly 'updatedAt': string;
|
|
95
107
|
readonly 'hasVariantsThatRequiresComponents'?: boolean;
|
|
108
|
+
readonly 'category'?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
|
|
109
|
+
readonly 'metafields'?: io.flow.shopify.external.v0.models.GraphqlMetafield[];
|
|
96
110
|
}
|
|
97
111
|
|
|
98
112
|
interface GraphqlProductImage {
|
|
@@ -116,6 +130,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
116
130
|
readonly 'inventoryItem': io.flow.shopify.external.v0.models.GraphqlInventoryItem;
|
|
117
131
|
}
|
|
118
132
|
|
|
133
|
+
interface GraphqlTaxonomyCategory {
|
|
134
|
+
readonly 'name': string;
|
|
135
|
+
readonly 'fullName': string;
|
|
136
|
+
}
|
|
137
|
+
|
|
119
138
|
interface GraphqlVariantImage {
|
|
120
139
|
readonly 'id': string;
|
|
121
140
|
}
|
|
@@ -233,6 +252,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
233
252
|
readonly 'created_at': string;
|
|
234
253
|
readonly 'updated_at': string;
|
|
235
254
|
readonly 'has_variants_that_requires_components'?: boolean;
|
|
255
|
+
readonly 'category'?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
256
|
+
readonly 'metafields'?: io.flow.shopify.external.v0.models.ProductMetafield[];
|
|
236
257
|
}
|
|
237
258
|
|
|
238
259
|
interface ProductDelete {
|
|
@@ -250,6 +271,17 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
250
271
|
readonly 'alt'?: string;
|
|
251
272
|
}
|
|
252
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
|
+
|
|
253
285
|
interface ProductVariant {
|
|
254
286
|
readonly 'id': number;
|
|
255
287
|
readonly 'sku'?: string;
|
|
@@ -2,7 +2,7 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
|
|
|
2
2
|
type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
|
|
3
3
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
4
4
|
type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
|
|
5
|
-
type GraphqlServiceTypes = 'order_update_mutation' | 'shipping_address_validation' | 'bulk_publication_status' | 'country_catalog_sync' | 'inventory_item' | 'product_bundle' | 'shopify_location' | 'shopify_order' | 'sync_product_catalog';
|
|
5
|
+
type GraphqlServiceTypes = 'order_update_mutation' | 'shipping_address_validation' | 'bulk_publication_status' | 'country_catalog_sync' | 'inventory_item' | 'product_bundle' | 'shopify_location' | 'shopify_order' | 'sync_product_catalog' | 'shopify_webhook';
|
|
6
6
|
type ProductStatus = 'active' | 'archived' | 'draft';
|
|
7
7
|
type ShopifyMarketsDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
8
8
|
type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
|
|
@@ -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;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare namespace io.flow.tech.onboarding.playground.v0.enums {
|
|
2
2
|
type AldoItemType = 'physical' | 'digital';
|
|
3
|
+
type AnshItemType = 'physical' | 'digital';
|
|
3
4
|
}
|
|
4
5
|
|
|
5
6
|
declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
@@ -20,6 +21,23 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
20
21
|
readonly 'added_on': string;
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
interface AnshItem {
|
|
25
|
+
readonly 'id': string;
|
|
26
|
+
readonly 'number': string;
|
|
27
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
28
|
+
readonly 'description'?: string;
|
|
29
|
+
readonly 'type': io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
|
|
30
|
+
readonly 'added_on': string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface AnshItemForm {
|
|
34
|
+
readonly 'number': string;
|
|
35
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
36
|
+
readonly 'description'?: string;
|
|
37
|
+
readonly 'type': io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
|
|
38
|
+
readonly 'added_on': string;
|
|
39
|
+
}
|
|
40
|
+
|
|
23
41
|
interface JeanDemoItem {
|
|
24
42
|
readonly 'id': string;
|
|
25
43
|
readonly 'name': string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare namespace io.flow.tracking.v0.enums {
|
|
2
|
-
type
|
|
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' | 'unknown' | 'unmapped';
|
|
3
4
|
}
|
|
4
5
|
|
|
5
6
|
declare namespace io.flow.tracking.v0.models {
|