@flowio/types 11.24.21 → 11.24.23
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/dist/api-internal.d.ts +259 -91
- package/dist/api.d.ts +95 -5
- package/package.json +2 -2
- package/src/api-internal.ts +343 -115
- package/src/api.ts +117 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -894,96 +894,6 @@ declare namespace io.flow.reference.v0.models {
|
|
|
894
894
|
readonly offset: number;
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
declare namespace io.flow.tracking.v0.enums {
|
|
898
|
-
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
899
|
-
}
|
|
900
|
-
declare namespace io.flow.tracking.v0.models {
|
|
901
|
-
interface Tracking {
|
|
902
|
-
readonly id: string;
|
|
903
|
-
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
904
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
905
|
-
readonly attributes: Record<string, string>;
|
|
906
|
-
readonly url: string;
|
|
907
|
-
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
908
|
-
readonly order_number?: string;
|
|
909
|
-
}
|
|
910
|
-
interface TrackingEvent {
|
|
911
|
-
readonly id: string;
|
|
912
|
-
readonly address: io.flow.common.v0.models.Address;
|
|
913
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
914
|
-
readonly timestamp: string;
|
|
915
|
-
readonly description?: string;
|
|
916
|
-
}
|
|
917
|
-
interface TrackingEventForm {
|
|
918
|
-
readonly tracking_label_id: string;
|
|
919
|
-
readonly timestamp: string;
|
|
920
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
921
|
-
readonly description?: string;
|
|
922
|
-
readonly address?: string;
|
|
923
|
-
}
|
|
924
|
-
interface TrackingEventSummary {
|
|
925
|
-
readonly id: string;
|
|
926
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
927
|
-
readonly timestamp: string;
|
|
928
|
-
}
|
|
929
|
-
interface TrackingEventVersion {
|
|
930
|
-
readonly id: string;
|
|
931
|
-
readonly timestamp: string;
|
|
932
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
933
|
-
readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
|
|
934
|
-
}
|
|
935
|
-
interface TrackingForm {
|
|
936
|
-
readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
937
|
-
readonly order_number?: string;
|
|
938
|
-
readonly attributes?: Record<string, string>;
|
|
939
|
-
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
940
|
-
}
|
|
941
|
-
interface TrackingLabel {
|
|
942
|
-
readonly id: string;
|
|
943
|
-
readonly carrier: string;
|
|
944
|
-
readonly carrier_tracking_number: string;
|
|
945
|
-
readonly events: io.flow.tracking.v0.models.TrackingEvent[];
|
|
946
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
947
|
-
readonly timestamp: string;
|
|
948
|
-
readonly delivery_estimate?: string;
|
|
949
|
-
readonly description?: string;
|
|
950
|
-
}
|
|
951
|
-
interface TrackingLabelForm {
|
|
952
|
-
readonly tracking_id: string;
|
|
953
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
954
|
-
readonly carrier: string;
|
|
955
|
-
readonly carrier_tracking_number: string;
|
|
956
|
-
readonly delivery_estimate?: string;
|
|
957
|
-
readonly description?: string;
|
|
958
|
-
readonly timestamp?: string;
|
|
959
|
-
readonly cost?: io.flow.common.v0.models.Money;
|
|
960
|
-
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
961
|
-
}
|
|
962
|
-
interface TrackingLabelSummary {
|
|
963
|
-
readonly id: string;
|
|
964
|
-
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
965
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
966
|
-
readonly carrier: string;
|
|
967
|
-
readonly tracking_number: string;
|
|
968
|
-
}
|
|
969
|
-
interface TrackingLabelVersion {
|
|
970
|
-
readonly id: string;
|
|
971
|
-
readonly timestamp: string;
|
|
972
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
973
|
-
readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
|
|
974
|
-
}
|
|
975
|
-
interface TrackingSummary {
|
|
976
|
-
readonly id: string;
|
|
977
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
978
|
-
readonly order_number?: string;
|
|
979
|
-
}
|
|
980
|
-
interface TrackingVersion {
|
|
981
|
-
readonly id: string;
|
|
982
|
-
readonly timestamp: string;
|
|
983
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
984
|
-
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
897
|
declare namespace io.flow.RESERVED_WORD_export.v0.enums {
|
|
988
898
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
989
899
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
@@ -1509,6 +1419,10 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1509
1419
|
readonly validation_url: string;
|
|
1510
1420
|
readonly display_name?: string;
|
|
1511
1421
|
}
|
|
1422
|
+
interface AuthorizationCode {
|
|
1423
|
+
readonly result_code: string;
|
|
1424
|
+
readonly code: string;
|
|
1425
|
+
}
|
|
1512
1426
|
interface AuthorizationCopyForm {
|
|
1513
1427
|
readonly discriminator: 'authorization_copy_form';
|
|
1514
1428
|
readonly source_authorization_key: string;
|
|
@@ -1542,6 +1456,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1542
1456
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
1543
1457
|
readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure;
|
|
1544
1458
|
readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription;
|
|
1459
|
+
readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode;
|
|
1545
1460
|
}
|
|
1546
1461
|
interface AuthorizationResultActionGet {
|
|
1547
1462
|
readonly discriminator: 'authorization_result_action_get';
|
|
@@ -1783,6 +1698,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1783
1698
|
readonly discriminator: 'direct_debit';
|
|
1784
1699
|
readonly routing_number: string;
|
|
1785
1700
|
readonly last4: string;
|
|
1701
|
+
readonly additional_data?: Record<string, string>;
|
|
1786
1702
|
}
|
|
1787
1703
|
interface Expiration {
|
|
1788
1704
|
readonly month: number;
|
|
@@ -1960,6 +1876,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1960
1876
|
readonly payment_id: string;
|
|
1961
1877
|
readonly payment_method?: string;
|
|
1962
1878
|
readonly payment_state?: string;
|
|
1879
|
+
readonly payer_id?: string;
|
|
1963
1880
|
readonly payer_email?: string;
|
|
1964
1881
|
readonly payer_status?: string;
|
|
1965
1882
|
readonly approval_url?: string;
|
|
@@ -2126,6 +2043,9 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2126
2043
|
interface ThreeDSecure {
|
|
2127
2044
|
readonly code: io.flow.payment.v0.enums.ThreeDSecureCode;
|
|
2128
2045
|
readonly description?: string;
|
|
2046
|
+
readonly eci?: string;
|
|
2047
|
+
readonly liability_sift?: boolean;
|
|
2048
|
+
readonly version?: string;
|
|
2129
2049
|
}
|
|
2130
2050
|
interface ThreedsChallengeActionDetails {
|
|
2131
2051
|
readonly discriminator: 'threeds_challenge_action_details';
|
|
@@ -2984,6 +2904,15 @@ declare namespace io.flow.label.v0.enums {
|
|
|
2984
2904
|
type TrackingNumberType = 'flow' | 'carrier';
|
|
2985
2905
|
}
|
|
2986
2906
|
declare namespace io.flow.label.v0.models {
|
|
2907
|
+
interface BridgeManifest {
|
|
2908
|
+
readonly id: string;
|
|
2909
|
+
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
2910
|
+
readonly pdf: string;
|
|
2911
|
+
readonly data: string;
|
|
2912
|
+
}
|
|
2913
|
+
interface BridgeManifestForm {
|
|
2914
|
+
readonly order_numbers: string[];
|
|
2915
|
+
}
|
|
2987
2916
|
interface CrossdockShipment {
|
|
2988
2917
|
readonly partner_id: string;
|
|
2989
2918
|
readonly center_id: string;
|
|
@@ -4086,7 +4015,9 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4086
4015
|
interface PaymentResponseAdditionalData {
|
|
4087
4016
|
readonly authCode?: string;
|
|
4088
4017
|
readonly avsResultRaw?: string;
|
|
4018
|
+
readonly avsResult?: string;
|
|
4089
4019
|
readonly cvcResultRaw?: string;
|
|
4020
|
+
readonly cvcResult?: string;
|
|
4090
4021
|
readonly liabilityShift?: string;
|
|
4091
4022
|
readonly threeDAuthenticated?: string;
|
|
4092
4023
|
readonly threeDAuthenticatedResponse?: string;
|
|
@@ -7857,6 +7788,233 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7857
7788
|
readonly object: io.flow.crypto.v0.models.Refund;
|
|
7858
7789
|
}
|
|
7859
7790
|
}
|
|
7791
|
+
declare namespace io.flow.tracking.v0.enums {
|
|
7792
|
+
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
7793
|
+
}
|
|
7794
|
+
declare namespace io.flow.tracking.v0.models {
|
|
7795
|
+
interface Tracking {
|
|
7796
|
+
readonly id: string;
|
|
7797
|
+
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
7798
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7799
|
+
readonly attributes: Record<string, string>;
|
|
7800
|
+
readonly url: string;
|
|
7801
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
7802
|
+
readonly order_number?: string;
|
|
7803
|
+
}
|
|
7804
|
+
interface TrackingEvent {
|
|
7805
|
+
readonly id: string;
|
|
7806
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
7807
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7808
|
+
readonly timestamp: string;
|
|
7809
|
+
readonly description?: string;
|
|
7810
|
+
}
|
|
7811
|
+
interface TrackingEventForm {
|
|
7812
|
+
readonly tracking_label_id: string;
|
|
7813
|
+
readonly timestamp: string;
|
|
7814
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7815
|
+
readonly description?: string;
|
|
7816
|
+
readonly address?: string;
|
|
7817
|
+
}
|
|
7818
|
+
interface TrackingEventSummary {
|
|
7819
|
+
readonly id: string;
|
|
7820
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7821
|
+
readonly timestamp: string;
|
|
7822
|
+
}
|
|
7823
|
+
interface TrackingEventVersion {
|
|
7824
|
+
readonly id: string;
|
|
7825
|
+
readonly timestamp: string;
|
|
7826
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
7827
|
+
readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
|
|
7828
|
+
}
|
|
7829
|
+
interface TrackingForm {
|
|
7830
|
+
readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7831
|
+
readonly order_number?: string;
|
|
7832
|
+
readonly attributes?: Record<string, string>;
|
|
7833
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
7834
|
+
}
|
|
7835
|
+
interface TrackingLabel {
|
|
7836
|
+
readonly id: string;
|
|
7837
|
+
readonly carrier: string;
|
|
7838
|
+
readonly carrier_tracking_number: string;
|
|
7839
|
+
readonly events: io.flow.tracking.v0.models.TrackingEvent[];
|
|
7840
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7841
|
+
readonly timestamp: string;
|
|
7842
|
+
readonly delivery_estimate?: string;
|
|
7843
|
+
readonly description?: string;
|
|
7844
|
+
}
|
|
7845
|
+
interface TrackingLabelForm {
|
|
7846
|
+
readonly tracking_id: string;
|
|
7847
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7848
|
+
readonly carrier: string;
|
|
7849
|
+
readonly carrier_tracking_number: string;
|
|
7850
|
+
readonly delivery_estimate?: string;
|
|
7851
|
+
readonly description?: string;
|
|
7852
|
+
readonly timestamp?: string;
|
|
7853
|
+
readonly cost?: io.flow.common.v0.models.Money;
|
|
7854
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
7855
|
+
}
|
|
7856
|
+
interface TrackingLabelSummary {
|
|
7857
|
+
readonly id: string;
|
|
7858
|
+
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
7859
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7860
|
+
readonly carrier: string;
|
|
7861
|
+
readonly tracking_number: string;
|
|
7862
|
+
}
|
|
7863
|
+
interface TrackingLabelVersion {
|
|
7864
|
+
readonly id: string;
|
|
7865
|
+
readonly timestamp: string;
|
|
7866
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
7867
|
+
readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
|
|
7868
|
+
}
|
|
7869
|
+
interface TrackingSummary {
|
|
7870
|
+
readonly id: string;
|
|
7871
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
7872
|
+
readonly order_number?: string;
|
|
7873
|
+
}
|
|
7874
|
+
interface TrackingVersion {
|
|
7875
|
+
readonly id: string;
|
|
7876
|
+
readonly timestamp: string;
|
|
7877
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
7878
|
+
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
7879
|
+
}
|
|
7880
|
+
}
|
|
7881
|
+
declare namespace io.flow.merchant.onboarding.v0.enums {
|
|
7882
|
+
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
7883
|
+
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
7884
|
+
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
7885
|
+
}
|
|
7886
|
+
declare namespace io.flow.merchant.onboarding.v0.models {
|
|
7887
|
+
interface MerchantInfo {
|
|
7888
|
+
readonly legal_name?: string;
|
|
7889
|
+
readonly country: string;
|
|
7890
|
+
readonly region?: io.flow.merchant.onboarding.v0.enums.RegionType;
|
|
7891
|
+
readonly region_value?: string;
|
|
7892
|
+
}
|
|
7893
|
+
interface MerchantOnboardingAddress {
|
|
7894
|
+
readonly full_name?: string;
|
|
7895
|
+
readonly streets?: string[];
|
|
7896
|
+
readonly city?: string;
|
|
7897
|
+
readonly province?: string;
|
|
7898
|
+
readonly postal?: string;
|
|
7899
|
+
readonly country?: string;
|
|
7900
|
+
}
|
|
7901
|
+
interface MonthlyAverage {
|
|
7902
|
+
readonly volume?: io.flow.merchant.onboarding.v0.models.MonthlyAverageVolume;
|
|
7903
|
+
readonly number_transactions?: number;
|
|
7904
|
+
}
|
|
7905
|
+
interface MonthlyAverageVolume {
|
|
7906
|
+
readonly amount?: number;
|
|
7907
|
+
readonly currency?: string;
|
|
7908
|
+
}
|
|
7909
|
+
interface OnboardingMerchantPickupWindow {
|
|
7910
|
+
readonly from: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
7911
|
+
readonly to: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
7912
|
+
}
|
|
7913
|
+
interface OnboardingMerchantScheduledPickup {
|
|
7914
|
+
readonly day_of_week: io.flow.common.v0.enums.DayOfWeek;
|
|
7915
|
+
readonly window: io.flow.merchant.onboarding.v0.models.OnboardingMerchantPickupWindow;
|
|
7916
|
+
readonly instructions?: string;
|
|
7917
|
+
}
|
|
7918
|
+
interface OnboardingMerchantTime {
|
|
7919
|
+
readonly hour_of_day: string;
|
|
7920
|
+
readonly minute_of_hour: string;
|
|
7921
|
+
readonly timezone?: string;
|
|
7922
|
+
}
|
|
7923
|
+
interface OnboardingOrganizationReference {
|
|
7924
|
+
readonly id: string;
|
|
7925
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
7926
|
+
}
|
|
7927
|
+
interface OperationsContact {
|
|
7928
|
+
readonly full_name?: string;
|
|
7929
|
+
readonly company?: string;
|
|
7930
|
+
readonly email?: string;
|
|
7931
|
+
readonly phone?: string;
|
|
7932
|
+
}
|
|
7933
|
+
interface ShopifyMerchantApplication {
|
|
7934
|
+
readonly discriminator: 'shopify_merchant_application';
|
|
7935
|
+
readonly id: string;
|
|
7936
|
+
readonly organization_id: string;
|
|
7937
|
+
readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
|
|
7938
|
+
readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
7939
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7940
|
+
readonly indirect_tax_number?: string;
|
|
7941
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7942
|
+
readonly beneficiary?: string;
|
|
7943
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
7944
|
+
readonly business_url?: string;
|
|
7945
|
+
readonly business_description?: string;
|
|
7946
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
7947
|
+
readonly refund_percentage?: number;
|
|
7948
|
+
readonly chargeback_percentage?: number;
|
|
7949
|
+
readonly bank_account_number?: string;
|
|
7950
|
+
readonly aba_routing_transit_number?: string;
|
|
7951
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
7952
|
+
readonly other_trade_sector?: string;
|
|
7953
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
7954
|
+
readonly average_order_weight?: number;
|
|
7955
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
7956
|
+
readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
|
|
7957
|
+
readonly dangerous_goods?: boolean;
|
|
7958
|
+
readonly default_country_of_origin?: string;
|
|
7959
|
+
readonly ratecard?: io.flow.ratecard.v0.models.RatecardReference;
|
|
7960
|
+
readonly rate_card: string;
|
|
7961
|
+
readonly created_at: string;
|
|
7962
|
+
readonly activated_at?: string;
|
|
7963
|
+
}
|
|
7964
|
+
interface ShopifyMerchantApplicationForm {
|
|
7965
|
+
readonly discriminator: 'shopify_merchant_application_form';
|
|
7966
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7967
|
+
readonly indirect_tax_number?: string;
|
|
7968
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7969
|
+
readonly beneficiary?: string;
|
|
7970
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
7971
|
+
readonly business_url?: string;
|
|
7972
|
+
readonly business_description?: string;
|
|
7973
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
7974
|
+
readonly refund_percentage?: number;
|
|
7975
|
+
readonly chargeback_percentage?: number;
|
|
7976
|
+
readonly bank_account_number?: string;
|
|
7977
|
+
readonly aba_routing_transit_number?: string;
|
|
7978
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
7979
|
+
readonly other_trade_sector?: string;
|
|
7980
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
7981
|
+
readonly average_order_weight?: number;
|
|
7982
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
7983
|
+
readonly monthly_average_volume_amount?: number;
|
|
7984
|
+
readonly monthly_average_volume_currency?: string;
|
|
7985
|
+
readonly monthly_average_number_transactions?: number;
|
|
7986
|
+
readonly dangerous_goods?: boolean;
|
|
7987
|
+
readonly default_country_of_origin?: string;
|
|
7988
|
+
readonly ratecard_id?: string;
|
|
7989
|
+
readonly rate_card: string;
|
|
7990
|
+
}
|
|
7991
|
+
interface ShopifyMerchantApplicationPutForm {
|
|
7992
|
+
readonly discriminator: 'shopify_merchant_application_put_form';
|
|
7993
|
+
readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
7994
|
+
}
|
|
7995
|
+
interface ShopifyMerchantApplicationsSummary {
|
|
7996
|
+
readonly discriminator: 'shopify_merchant_applications_summary';
|
|
7997
|
+
readonly total: number;
|
|
7998
|
+
}
|
|
7999
|
+
interface ThirdPartyLogisticsPartner {
|
|
8000
|
+
readonly warehouse_address: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
8001
|
+
readonly warehouse_url?: string;
|
|
8002
|
+
readonly location?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
8003
|
+
readonly scheduled_pickups?: io.flow.merchant.onboarding.v0.models.OnboardingMerchantScheduledPickup[];
|
|
8004
|
+
readonly operations_contact: io.flow.merchant.onboarding.v0.models.OperationsContact;
|
|
8005
|
+
readonly center_id?: string;
|
|
8006
|
+
}
|
|
8007
|
+
interface UltimateBeneficiaryOwner {
|
|
8008
|
+
readonly name: string;
|
|
8009
|
+
readonly dob: string;
|
|
8010
|
+
}
|
|
8011
|
+
}
|
|
8012
|
+
declare namespace io.flow.merchant.onboarding.v0.unions {
|
|
8013
|
+
type MerchantApplication = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication;
|
|
8014
|
+
type MerchantApplicationForm = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm;
|
|
8015
|
+
type MerchantApplicationPutForm = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm;
|
|
8016
|
+
type MerchantApplicationsSummary = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary;
|
|
8017
|
+
}
|
|
7860
8018
|
declare namespace io.flow.catalog.v0.enums {
|
|
7861
8019
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
7862
8020
|
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
|
|
@@ -9840,7 +9998,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9840
9998
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
9841
9999
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
9842
10000
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
9843
|
-
type LabelTransactionType = 'billable_label' | 'fee';
|
|
10001
|
+
type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
|
|
9844
10002
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
9845
10003
|
type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
|
|
9846
10004
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
@@ -10052,6 +10210,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10052
10210
|
interface AccountSettingLabelFees {
|
|
10053
10211
|
readonly flow?: io.flow.internal.v0.models.TieredFee;
|
|
10054
10212
|
readonly organization?: io.flow.internal.v0.models.TieredFee;
|
|
10213
|
+
readonly revenue_share?: number;
|
|
10055
10214
|
}
|
|
10056
10215
|
interface AccountSettings {
|
|
10057
10216
|
readonly id: string;
|
|
@@ -10776,6 +10935,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10776
10935
|
readonly adjustment: io.flow.common.v0.models.Price;
|
|
10777
10936
|
readonly capture: io.flow.common.v0.models.Price;
|
|
10778
10937
|
readonly refund: io.flow.common.v0.models.Price;
|
|
10938
|
+
readonly credit_payment: io.flow.common.v0.models.Price;
|
|
10939
|
+
readonly fully_subsidized_order: io.flow.common.v0.models.Price;
|
|
10779
10940
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
10780
10941
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
10781
10942
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
@@ -11127,9 +11288,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11127
11288
|
}
|
|
11128
11289
|
interface CenterDefaults {
|
|
11129
11290
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
11291
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
11130
11292
|
}
|
|
11131
11293
|
interface CenterDefaultsForm {
|
|
11132
11294
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
11295
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
11133
11296
|
}
|
|
11134
11297
|
interface CenterQueryBuilder {
|
|
11135
11298
|
readonly placeholder: string;
|
|
@@ -16407,6 +16570,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16407
16570
|
readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
16408
16571
|
readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
|
|
16409
16572
|
}
|
|
16573
|
+
interface MerchantApplicationSummary {
|
|
16574
|
+
readonly merchant_application: io.flow.merchant.onboarding.v0.unions.MerchantApplication;
|
|
16575
|
+
readonly organization_reference: io.flow.common.v0.models.Organization;
|
|
16576
|
+
}
|
|
16410
16577
|
interface MerchantOfRecordEntitySettings {
|
|
16411
16578
|
readonly id: string;
|
|
16412
16579
|
readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
@@ -20629,6 +20796,7 @@ export declare type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.M
|
|
|
20629
20796
|
export declare type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
|
|
20630
20797
|
export declare type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
20631
20798
|
export declare type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
20799
|
+
export declare type MerchantApplicationSummary = io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
20632
20800
|
export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
20633
20801
|
export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
|
|
20634
20802
|
export declare type MerchantOnboardingProcessKey = io.flow.internal.v0.enums.MerchantOnboardingProcessKey;
|