@flowio/types 11.24.128 → 11.24.129

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.
@@ -7159,7 +7159,7 @@ declare namespace io.flow.channel.internal.v0.enums {
7159
7159
  type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
7160
7160
  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';
7161
7161
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
7162
- type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
7162
+ type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
7163
7163
  type OrderPaymentSourceType = 'globale' | 'third_party';
7164
7164
  }
7165
7165
  declare namespace io.flow.channel.internal.v0.models {
@@ -11745,7 +11745,7 @@ declare namespace io.flow.internal.v0.enums {
11745
11745
  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';
11746
11746
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
11747
11747
  type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
11748
- type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
11748
+ type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
11749
11749
  type ChannelTransactionTriggerType = 'capture' | 'order';
11750
11750
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing' | 'order';
11751
11751
  type ChapterCheckStatus = 'apparel_like' | 'similar' | 'does_not_match';
@@ -11869,7 +11869,7 @@ declare namespace io.flow.internal.v0.enums {
11869
11869
  type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
11870
11870
  type OrganizationRestrictionRiskLevel = '5' | '15';
11871
11871
  type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
11872
- type OrganizationSource = 'shopify' | 'enterprise';
11872
+ type OrganizationSource = 'shopify' | 'smb' | 'enterprise';
11873
11873
  type OutputStyle = 'flow' | 'shopify_p1';
11874
11874
  type Owner = 'flow' | 'organization';
11875
11875
  type PaymentShortUrlDiscriminator = 'adyen_3ds2';
@@ -11904,7 +11904,7 @@ declare namespace io.flow.internal.v0.enums {
11904
11904
  type RestrictionAttributeResult = 'pending_classification' | 'pending_verification' | 'accepted' | 'restricted';
11905
11905
  type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
11906
11906
  type RestrictionOrganizationChannel = 'shopify' | 'enterprise' | 'shopify-sandbox' | 'enterprise-sandbox';
11907
- type RestrictionOrganizationSource = 'shopify' | 'enterprise';
11907
+ type RestrictionOrganizationSource = 'shopify' | 'smb' | 'enterprise';
11908
11908
  type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
11909
11909
  type RestrictionRuleCommunityExemption = 'domestic_exemption' | 'intra_eu_exemption';
11910
11910
  type RestrictionRuleExceptionAction = 'allow' | 'deny';
@@ -17183,6 +17183,11 @@ declare namespace io.flow.internal.v0.models {
17183
17183
  readonly processing: number;
17184
17184
  readonly rate_lock: number;
17185
17185
  readonly transfer: number;
17186
+ readonly product_fee?: number;
17187
+ readonly estimated_tax?: number;
17188
+ readonly estimated_duty?: number;
17189
+ readonly estimated_duties_and_taxes?: number;
17190
+ readonly td_fx_diff?: number;
17186
17191
  readonly total: number;
17187
17192
  }
17188
17193
  interface MerchantGuidAssignment {
@@ -18745,6 +18750,10 @@ declare namespace io.flow.internal.v0.models {
18745
18750
  readonly construction?: string;
18746
18751
  readonly item: string;
18747
18752
  }
18753
+ interface PriceInclusivity {
18754
+ readonly tax?: boolean;
18755
+ readonly duty?: boolean;
18756
+ }
18748
18757
  interface PrioritizedCenterReference {
18749
18758
  readonly center_key: string;
18750
18759
  readonly position: number;
@@ -19510,6 +19519,8 @@ declare namespace io.flow.internal.v0.models {
19510
19519
  readonly destination_country?: number;
19511
19520
  readonly usd: number;
19512
19521
  readonly eur: number;
19522
+ readonly guaranteed?: number;
19523
+ readonly spot?: number;
19513
19524
  }
19514
19525
  interface ReportingCountry {
19515
19526
  readonly code: string;
@@ -19548,6 +19559,11 @@ declare namespace io.flow.internal.v0.models {
19548
19559
  readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue;
19549
19560
  readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue;
19550
19561
  readonly sp: io.flow.internal.v0.models.ReportingMonetaryValue;
19562
+ readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
19563
+ readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
19564
+ readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
19565
+ readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
19566
+ readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
19551
19567
  }
19552
19568
  interface ReportingFulfillment {
19553
19569
  readonly id: string;
@@ -19607,6 +19623,11 @@ declare namespace io.flow.internal.v0.models {
19607
19623
  readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue;
19608
19624
  readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue;
19609
19625
  readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue;
19626
+ readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
19627
+ readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
19628
+ readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
19629
+ readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
19630
+ readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
19610
19631
  readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
19611
19632
  }
19612
19633
  interface ReportingMerchantSubsidies {
@@ -20218,6 +20239,7 @@ declare namespace io.flow.internal.v0.models {
20218
20239
  readonly fees: io.flow.internal.v0.models.ReportingFees;
20219
20240
  readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
20220
20241
  readonly payment_is: io.flow.internal.v0.models.PaymentIs;
20242
+ readonly price_inclusivity?: io.flow.internal.v0.models.PriceInclusivity;
20221
20243
  readonly destination_country: string;
20222
20244
  readonly fulfilled_at?: string;
20223
20245
  }
@@ -23546,6 +23568,7 @@ export declare type PrateekItemForm = io.flow.internal.v0.models.PrateekItemForm
23546
23568
  export declare type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
23547
23569
  export declare type Prediction = io.flow.internal.v0.models.Prediction;
23548
23570
  export declare type PreferredBillingSchedule = io.flow.internal.v0.enums.PreferredBillingSchedule;
23571
+ export declare type PriceInclusivity = io.flow.internal.v0.models.PriceInclusivity;
23549
23572
  export declare type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
23550
23573
  export declare type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference;
23551
23574
  export declare type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
package/dist/api.d.ts CHANGED
@@ -2212,7 +2212,7 @@ declare namespace io.flow.channel.internal.v0.enums {
2212
2212
  type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
2213
2213
  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';
2214
2214
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
2215
- type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
2215
+ type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
2216
2216
  type OrderPaymentSourceType = 'globale' | 'third_party';
2217
2217
  }
2218
2218
  declare namespace io.flow.channel.internal.v0.models {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.128",
3
+ "version": "11.24.129",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "e6ab4a371f4a5b27785d522dc32505277757198d"
28
+ "gitHead": "942e116995931225d013428a9da8237ec64c06be"
29
29
  }
@@ -10040,7 +10040,11 @@ declare namespace io.flow.channel.internal.v0.enums {
10040
10040
  | 'review'
10041
10041
  | 'edit_review'
10042
10042
  | 'edit_accepted';
10043
- type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
10043
+ type ChannelService =
10044
+ | 'payment'
10045
+ | 'duty_tax_calculator'
10046
+ | 'sellability'
10047
+ | 'all';
10044
10048
  type OrderPaymentSourceType = 'globale' | 'third_party';
10045
10049
  }
10046
10050
 
@@ -16318,7 +16322,11 @@ declare namespace io.flow.internal.v0.enums {
16318
16322
  | 'fulfilled'
16319
16323
  | 'partial'
16320
16324
  | 'cancelled';
16321
- type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
16325
+ type ChannelService =
16326
+ | 'payment'
16327
+ | 'duty_tax_calculator'
16328
+ | 'sellability'
16329
+ | 'all';
16322
16330
  type ChannelTransactionTriggerType = 'capture' | 'order';
16323
16331
  type ChannelTransactionType =
16324
16332
  | 'adjustment'
@@ -17034,7 +17042,7 @@ declare namespace io.flow.internal.v0.enums {
17034
17042
  | 'fully_reviewed'
17035
17043
  | 'rejected'
17036
17044
  | 'unscreened';
17037
- type OrganizationSource = 'shopify' | 'enterprise';
17045
+ type OrganizationSource = 'shopify' | 'smb' | 'enterprise';
17038
17046
  type OutputStyle = 'flow' | 'shopify_p1';
17039
17047
  type Owner = 'flow' | 'organization';
17040
17048
  type PaymentShortUrlDiscriminator = 'adyen_3ds2';
@@ -17138,7 +17146,7 @@ declare namespace io.flow.internal.v0.enums {
17138
17146
  | 'enterprise'
17139
17147
  | 'shopify-sandbox'
17140
17148
  | 'enterprise-sandbox';
17141
- type RestrictionOrganizationSource = 'shopify' | 'enterprise';
17149
+ type RestrictionOrganizationSource = 'shopify' | 'smb' | 'enterprise';
17142
17150
  type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
17143
17151
  type RestrictionRuleCommunityExemption =
17144
17152
  | 'domestic_exemption'
@@ -23284,6 +23292,11 @@ declare namespace io.flow.internal.v0.models {
23284
23292
  readonly processing: number;
23285
23293
  readonly rate_lock: number;
23286
23294
  readonly transfer: number;
23295
+ readonly product_fee?: number;
23296
+ readonly estimated_tax?: number;
23297
+ readonly estimated_duty?: number;
23298
+ readonly estimated_duties_and_taxes?: number;
23299
+ readonly td_fx_diff?: number;
23287
23300
  readonly total: number;
23288
23301
  }
23289
23302
 
@@ -25075,6 +25088,11 @@ declare namespace io.flow.internal.v0.models {
25075
25088
  readonly item: string;
25076
25089
  }
25077
25090
 
25091
+ interface PriceInclusivity {
25092
+ readonly tax?: boolean;
25093
+ readonly duty?: boolean;
25094
+ }
25095
+
25078
25096
  interface PrioritizedCenterReference {
25079
25097
  readonly center_key: string;
25080
25098
  readonly position: number;
@@ -25961,6 +25979,8 @@ declare namespace io.flow.internal.v0.models {
25961
25979
  readonly destination_country?: number;
25962
25980
  readonly usd: number;
25963
25981
  readonly eur: number;
25982
+ readonly guaranteed?: number;
25983
+ readonly spot?: number;
25964
25984
  }
25965
25985
 
25966
25986
  interface ReportingCountry {
@@ -26006,6 +26026,11 @@ declare namespace io.flow.internal.v0.models {
26006
26026
  readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue;
26007
26027
  readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue;
26008
26028
  readonly sp: io.flow.internal.v0.models.ReportingMonetaryValue;
26029
+ readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
26030
+ readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
26031
+ readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
26032
+ readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
26033
+ readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
26009
26034
  }
26010
26035
 
26011
26036
  interface ReportingFulfillment {
@@ -26071,6 +26096,11 @@ declare namespace io.flow.internal.v0.models {
26071
26096
  readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue;
26072
26097
  readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue;
26073
26098
  readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue;
26099
+ readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
26100
+ readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
26101
+ readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
26102
+ readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
26103
+ readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
26074
26104
  readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
26075
26105
  }
26076
26106
 
@@ -26760,6 +26790,7 @@ declare namespace io.flow.internal.v0.models {
26760
26790
  readonly fees: io.flow.internal.v0.models.ReportingFees;
26761
26791
  readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
26762
26792
  readonly payment_is: io.flow.internal.v0.models.PaymentIs;
26793
+ readonly price_inclusivity?: io.flow.internal.v0.models.PriceInclusivity;
26763
26794
  readonly destination_country: string;
26764
26795
  readonly fulfilled_at?: string;
26765
26796
  }
@@ -31779,6 +31810,7 @@ export type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
31779
31810
  export type Prediction = io.flow.internal.v0.models.Prediction;
31780
31811
  export type PreferredBillingSchedule =
31781
31812
  io.flow.internal.v0.enums.PreferredBillingSchedule;
31813
+ export type PriceInclusivity = io.flow.internal.v0.models.PriceInclusivity;
31782
31814
  export type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
31783
31815
  export type PrioritizedCenterReference =
31784
31816
  io.flow.internal.v0.models.PrioritizedCenterReference;
package/src/api.ts CHANGED
@@ -3148,7 +3148,11 @@ declare namespace io.flow.channel.internal.v0.enums {
3148
3148
  | 'review'
3149
3149
  | 'edit_review'
3150
3150
  | 'edit_accepted';
3151
- type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
3151
+ type ChannelService =
3152
+ | 'payment'
3153
+ | 'duty_tax_calculator'
3154
+ | 'sellability'
3155
+ | 'all';
3152
3156
  type OrderPaymentSourceType = 'globale' | 'third_party';
3153
3157
  }
3154
3158