@flowio/types 11.24.22 → 11.24.24
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 +257 -93
- package/dist/api.d.ts +79 -4
- package/package.json +2 -2
- package/src/api-internal.ts +343 -117
- package/src/api.ts +94 -2
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';
|
|
@@ -1788,6 +1698,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1788
1698
|
readonly discriminator: 'direct_debit';
|
|
1789
1699
|
readonly routing_number: string;
|
|
1790
1700
|
readonly last4: string;
|
|
1701
|
+
readonly additional_data?: Record<string, string>;
|
|
1791
1702
|
}
|
|
1792
1703
|
interface Expiration {
|
|
1793
1704
|
readonly month: number;
|
|
@@ -2132,6 +2043,9 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2132
2043
|
interface ThreeDSecure {
|
|
2133
2044
|
readonly code: io.flow.payment.v0.enums.ThreeDSecureCode;
|
|
2134
2045
|
readonly description?: string;
|
|
2046
|
+
readonly eci?: string;
|
|
2047
|
+
readonly liability_sift?: boolean;
|
|
2048
|
+
readonly version?: string;
|
|
2135
2049
|
}
|
|
2136
2050
|
interface ThreedsChallengeActionDetails {
|
|
2137
2051
|
readonly discriminator: 'threeds_challenge_action_details';
|
|
@@ -2990,6 +2904,15 @@ declare namespace io.flow.label.v0.enums {
|
|
|
2990
2904
|
type TrackingNumberType = 'flow' | 'carrier';
|
|
2991
2905
|
}
|
|
2992
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
|
+
}
|
|
2993
2916
|
interface CrossdockShipment {
|
|
2994
2917
|
readonly partner_id: string;
|
|
2995
2918
|
readonly center_id: string;
|
|
@@ -3072,7 +2995,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3072
2995
|
readonly cost: io.flow.common.v0.models.Money;
|
|
3073
2996
|
}
|
|
3074
2997
|
interface ShippingLabelLaneSummary {
|
|
3075
|
-
readonly id
|
|
2998
|
+
readonly id?: string;
|
|
3076
2999
|
readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
3077
3000
|
}
|
|
3078
3001
|
interface ShippingLabelPackage {
|
|
@@ -3081,7 +3004,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3081
3004
|
readonly reference_number?: string;
|
|
3082
3005
|
}
|
|
3083
3006
|
interface ShippingLabelRatecardSummary {
|
|
3084
|
-
readonly id
|
|
3007
|
+
readonly id?: string;
|
|
3085
3008
|
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3086
3009
|
}
|
|
3087
3010
|
interface ShippingLabelSummary {
|
|
@@ -7865,6 +7788,240 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7865
7788
|
readonly object: io.flow.crypto.v0.models.Refund;
|
|
7866
7789
|
}
|
|
7867
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 IndirectTax {
|
|
7888
|
+
readonly number?: string;
|
|
7889
|
+
readonly id?: string;
|
|
7890
|
+
}
|
|
7891
|
+
interface MerchantInfo {
|
|
7892
|
+
readonly legal_name?: string;
|
|
7893
|
+
readonly country: string;
|
|
7894
|
+
readonly region?: io.flow.merchant.onboarding.v0.enums.RegionType;
|
|
7895
|
+
readonly region_value?: string;
|
|
7896
|
+
}
|
|
7897
|
+
interface MerchantOnboardingAddress {
|
|
7898
|
+
readonly full_name?: string;
|
|
7899
|
+
readonly streets?: string[];
|
|
7900
|
+
readonly city?: string;
|
|
7901
|
+
readonly province?: string;
|
|
7902
|
+
readonly postal?: string;
|
|
7903
|
+
readonly country?: string;
|
|
7904
|
+
}
|
|
7905
|
+
interface MonthlyAverage {
|
|
7906
|
+
readonly volume?: io.flow.merchant.onboarding.v0.models.MonthlyAverageVolume;
|
|
7907
|
+
readonly number_transactions?: number;
|
|
7908
|
+
}
|
|
7909
|
+
interface MonthlyAverageVolume {
|
|
7910
|
+
readonly amount?: number;
|
|
7911
|
+
readonly currency?: string;
|
|
7912
|
+
}
|
|
7913
|
+
interface OnboardingMerchantPickupWindow {
|
|
7914
|
+
readonly from: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
7915
|
+
readonly to: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
7916
|
+
}
|
|
7917
|
+
interface OnboardingMerchantScheduledPickup {
|
|
7918
|
+
readonly day_of_week: io.flow.common.v0.enums.DayOfWeek;
|
|
7919
|
+
readonly window: io.flow.merchant.onboarding.v0.models.OnboardingMerchantPickupWindow;
|
|
7920
|
+
readonly instructions?: string;
|
|
7921
|
+
}
|
|
7922
|
+
interface OnboardingMerchantTime {
|
|
7923
|
+
readonly hour_of_day: string;
|
|
7924
|
+
readonly minute_of_hour: string;
|
|
7925
|
+
readonly timezone?: string;
|
|
7926
|
+
}
|
|
7927
|
+
interface OnboardingOrganizationReference {
|
|
7928
|
+
readonly id: string;
|
|
7929
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
7930
|
+
}
|
|
7931
|
+
interface OperationsContact {
|
|
7932
|
+
readonly full_name?: string;
|
|
7933
|
+
readonly company?: string;
|
|
7934
|
+
readonly email?: string;
|
|
7935
|
+
readonly phone?: string;
|
|
7936
|
+
}
|
|
7937
|
+
interface ShopifyMerchantApplication {
|
|
7938
|
+
readonly discriminator: 'shopify_merchant_application';
|
|
7939
|
+
readonly id: string;
|
|
7940
|
+
readonly organization_id: string;
|
|
7941
|
+
readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
|
|
7942
|
+
readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
7943
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7944
|
+
readonly indirect_tax_number?: string;
|
|
7945
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
7946
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7947
|
+
readonly beneficiary?: string;
|
|
7948
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
7949
|
+
readonly business_url?: string;
|
|
7950
|
+
readonly business_description?: string;
|
|
7951
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
7952
|
+
readonly refund_percentage?: number;
|
|
7953
|
+
readonly chargeback_percentage?: number;
|
|
7954
|
+
readonly bank_account_number?: string;
|
|
7955
|
+
readonly aba_routing_transit_number?: string;
|
|
7956
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
7957
|
+
readonly other_trade_sector?: string;
|
|
7958
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
7959
|
+
readonly average_order_weight?: number;
|
|
7960
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
7961
|
+
readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
|
|
7962
|
+
readonly dangerous_goods?: boolean;
|
|
7963
|
+
readonly default_country_of_origin?: string;
|
|
7964
|
+
readonly ratecard?: io.flow.ratecard.v0.models.RatecardReference;
|
|
7965
|
+
readonly rate_card: string;
|
|
7966
|
+
readonly created_at: string;
|
|
7967
|
+
readonly activated_at?: string;
|
|
7968
|
+
readonly status_updated_at?: string;
|
|
7969
|
+
}
|
|
7970
|
+
interface ShopifyMerchantApplicationForm {
|
|
7971
|
+
readonly discriminator: 'shopify_merchant_application_form';
|
|
7972
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7973
|
+
readonly indirect_tax_number?: string;
|
|
7974
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
7975
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7976
|
+
readonly beneficiary?: string;
|
|
7977
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
7978
|
+
readonly business_url?: string;
|
|
7979
|
+
readonly business_description?: string;
|
|
7980
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
7981
|
+
readonly refund_percentage?: number;
|
|
7982
|
+
readonly chargeback_percentage?: number;
|
|
7983
|
+
readonly bank_account_number?: string;
|
|
7984
|
+
readonly aba_routing_transit_number?: string;
|
|
7985
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
7986
|
+
readonly other_trade_sector?: string;
|
|
7987
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
7988
|
+
readonly average_order_weight?: number;
|
|
7989
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
7990
|
+
readonly monthly_average_volume_amount?: number;
|
|
7991
|
+
readonly monthly_average_volume_currency?: string;
|
|
7992
|
+
readonly monthly_average_number_transactions?: number;
|
|
7993
|
+
readonly dangerous_goods?: boolean;
|
|
7994
|
+
readonly default_country_of_origin?: string;
|
|
7995
|
+
readonly ratecard_id?: string;
|
|
7996
|
+
readonly rate_card: string;
|
|
7997
|
+
}
|
|
7998
|
+
interface ShopifyMerchantApplicationPutForm {
|
|
7999
|
+
readonly discriminator: 'shopify_merchant_application_put_form';
|
|
8000
|
+
readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
8001
|
+
}
|
|
8002
|
+
interface ShopifyMerchantApplicationsSummary {
|
|
8003
|
+
readonly discriminator: 'shopify_merchant_applications_summary';
|
|
8004
|
+
readonly total: number;
|
|
8005
|
+
}
|
|
8006
|
+
interface ThirdPartyLogisticsPartner {
|
|
8007
|
+
readonly warehouse_address: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
8008
|
+
readonly warehouse_url?: string;
|
|
8009
|
+
readonly location?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
8010
|
+
readonly scheduled_pickups?: io.flow.merchant.onboarding.v0.models.OnboardingMerchantScheduledPickup[];
|
|
8011
|
+
readonly operations_contact: io.flow.merchant.onboarding.v0.models.OperationsContact;
|
|
8012
|
+
readonly center_id?: string;
|
|
8013
|
+
}
|
|
8014
|
+
interface UltimateBeneficiaryOwner {
|
|
8015
|
+
readonly name: string;
|
|
8016
|
+
readonly dob: string;
|
|
8017
|
+
}
|
|
8018
|
+
}
|
|
8019
|
+
declare namespace io.flow.merchant.onboarding.v0.unions {
|
|
8020
|
+
type MerchantApplication = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication;
|
|
8021
|
+
type MerchantApplicationForm = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm;
|
|
8022
|
+
type MerchantApplicationPutForm = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm;
|
|
8023
|
+
type MerchantApplicationsSummary = io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary;
|
|
8024
|
+
}
|
|
7868
8025
|
declare namespace io.flow.catalog.v0.enums {
|
|
7869
8026
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
7870
8027
|
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';
|
|
@@ -9871,7 +10028,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9871
10028
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
9872
10029
|
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
9873
10030
|
type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
|
|
9874
|
-
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner';
|
|
10031
|
+
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
|
|
9875
10032
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
9876
10033
|
type OrderAttributeIntent = 'discount_code';
|
|
9877
10034
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
@@ -10785,6 +10942,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10785
10942
|
readonly adjustment: io.flow.common.v0.models.Price;
|
|
10786
10943
|
readonly capture: io.flow.common.v0.models.Price;
|
|
10787
10944
|
readonly refund: io.flow.common.v0.models.Price;
|
|
10945
|
+
readonly credit_payment: io.flow.common.v0.models.Price;
|
|
10946
|
+
readonly fully_subsidized_order: io.flow.common.v0.models.Price;
|
|
10788
10947
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
10789
10948
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
10790
10949
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
@@ -16418,6 +16577,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16418
16577
|
readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
|
|
16419
16578
|
readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
|
|
16420
16579
|
}
|
|
16580
|
+
interface MerchantApplicationSummary {
|
|
16581
|
+
readonly merchant_application: io.flow.merchant.onboarding.v0.unions.MerchantApplication;
|
|
16582
|
+
readonly organization_reference: io.flow.common.v0.models.Organization;
|
|
16583
|
+
}
|
|
16421
16584
|
interface MerchantOfRecordEntitySettings {
|
|
16422
16585
|
readonly id: string;
|
|
16423
16586
|
readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
@@ -20640,6 +20803,7 @@ export declare type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.M
|
|
|
20640
20803
|
export declare type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
|
|
20641
20804
|
export declare type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
20642
20805
|
export declare type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
20806
|
+
export declare type MerchantApplicationSummary = io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
20643
20807
|
export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
20644
20808
|
export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
|
|
20645
20809
|
export declare type MerchantOnboardingProcessKey = io.flow.internal.v0.enums.MerchantOnboardingProcessKey;
|