@flowio/types 0.0.12 → 0.0.13
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 +743 -138
- package/dist/api.d.ts +204 -4
- package/package.json +2 -3
- package/src/api-internal.ts +897 -174
- package/src/api.ts +246 -3
- package/LICENSE +0 -21
package/src/api.ts
CHANGED
|
@@ -1053,7 +1053,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1053
1053
|
| 'not_supported'
|
|
1054
1054
|
| 'unknown';
|
|
1055
1055
|
type AuthorizationOption = 'store_card';
|
|
1056
|
-
type AuthorizationResultActionType = 'redirect' | 'wait';
|
|
1056
|
+
type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
|
|
1057
1057
|
type AuthorizationStatus =
|
|
1058
1058
|
| 'pending'
|
|
1059
1059
|
| 'expired'
|
|
@@ -1178,6 +1178,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1178
1178
|
| 'subcatalog_item_deleted'
|
|
1179
1179
|
| 'b2b_invoice_upserted'
|
|
1180
1180
|
| 'b2b_invoice_deleted'
|
|
1181
|
+
| 'b2b_credit_memo_upserted'
|
|
1182
|
+
| 'b2b_credit_memo_deleted'
|
|
1181
1183
|
| 'consumer_invoice_upserted'
|
|
1182
1184
|
| 'consumer_invoice_deleted'
|
|
1183
1185
|
| 'credit_memo_upserted'
|
|
@@ -1224,6 +1226,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1224
1226
|
| 'order_identifier_upserted_v3'
|
|
1225
1227
|
| 'pricing_deleted'
|
|
1226
1228
|
| 'pricing_upserted'
|
|
1229
|
+
| 'order_service_change_request'
|
|
1227
1230
|
| 'fraud_status_changed'
|
|
1228
1231
|
| 'center_upserted'
|
|
1229
1232
|
| 'center_deleted'
|
|
@@ -1312,6 +1315,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1312
1315
|
| 'organization_countries_published'
|
|
1313
1316
|
| 'ratecard_lane_upserted'
|
|
1314
1317
|
| 'ratecard_lane_deleted'
|
|
1318
|
+
| 'ratecard_upserted'
|
|
1319
|
+
| 'ratecard_deleted'
|
|
1315
1320
|
| 'return_upserted'
|
|
1316
1321
|
| 'return_deleted'
|
|
1317
1322
|
| 'shopify_localization_setting_upserted'
|
|
@@ -1356,7 +1361,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1356
1361
|
| 'item_form_overlays'
|
|
1357
1362
|
| 'price_book_items'
|
|
1358
1363
|
| 'price_book_items_query'
|
|
1359
|
-
| 'ratecard_lanes'
|
|
1364
|
+
| 'ratecard_lanes'
|
|
1365
|
+
| 'order_service_changes';
|
|
1360
1366
|
type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
|
|
1361
1367
|
type Incoterm =
|
|
1362
1368
|
| 'EXW'
|
|
@@ -1534,6 +1540,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1534
1540
|
| 'items_not_available'
|
|
1535
1541
|
| 'shipping_unavailable';
|
|
1536
1542
|
type RateType = 'flow' | 'organization';
|
|
1543
|
+
type RatecardOwner = 'flow' | 'organization';
|
|
1537
1544
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
1538
1545
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
1539
1546
|
type ReturnStatus = 'open' | 'refunded';
|
|
@@ -1712,6 +1719,18 @@ declare namespace io.flow.v0.models {
|
|
|
1712
1719
|
readonly label: string;
|
|
1713
1720
|
}
|
|
1714
1721
|
|
|
1722
|
+
interface AdyenChallengeShopperData {
|
|
1723
|
+
readonly challenge_token: string;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
interface AdyenIdentifyShopperData {
|
|
1727
|
+
readonly fingerprint_token: string;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
interface AdyenNativeActionDetails {
|
|
1731
|
+
readonly data?: io.flow.v0.unions.AdyenNativeData;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1715
1734
|
interface Allocation {
|
|
1716
1735
|
readonly order: io.flow.v0.models.AllocationOrderSummary;
|
|
1717
1736
|
readonly details: io.flow.v0.unions.AllocationDetail[];
|
|
@@ -1913,6 +1932,12 @@ declare namespace io.flow.v0.models {
|
|
|
1913
1932
|
interface AuthorizationResultActionGet {
|
|
1914
1933
|
readonly type: io.flow.v0.enums.AuthorizationResultActionType;
|
|
1915
1934
|
readonly url?: string;
|
|
1935
|
+
readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
interface AuthorizationResultActionNative {
|
|
1939
|
+
readonly type: io.flow.v0.enums.AuthorizationResultActionType;
|
|
1940
|
+
readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
|
|
1916
1941
|
}
|
|
1917
1942
|
|
|
1918
1943
|
interface AuthorizationResultActionPost {
|
|
@@ -2022,6 +2047,36 @@ declare namespace io.flow.v0.models {
|
|
|
2022
2047
|
readonly description?: string;
|
|
2023
2048
|
}
|
|
2024
2049
|
|
|
2050
|
+
interface B2BCreditMemo {
|
|
2051
|
+
readonly id: string;
|
|
2052
|
+
readonly number: string;
|
|
2053
|
+
readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
|
|
2054
|
+
readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
|
|
2055
|
+
readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
|
|
2056
|
+
readonly date: string;
|
|
2057
|
+
readonly key: string;
|
|
2058
|
+
readonly invoice: io.flow.v0.models.B2BInvoiceReference;
|
|
2059
|
+
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
2060
|
+
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
2061
|
+
readonly attributes: {
|
|
2062
|
+
[key: string]: string;
|
|
2063
|
+
};
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
interface B2BCreditMemoDeleted {
|
|
2067
|
+
readonly event_id: string;
|
|
2068
|
+
readonly timestamp: string;
|
|
2069
|
+
readonly organization: string;
|
|
2070
|
+
readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
interface B2BCreditMemoUpserted {
|
|
2074
|
+
readonly event_id: string;
|
|
2075
|
+
readonly timestamp: string;
|
|
2076
|
+
readonly organization: string;
|
|
2077
|
+
readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2025
2080
|
interface B2BInvoice {
|
|
2026
2081
|
readonly id: string;
|
|
2027
2082
|
readonly number: string;
|
|
@@ -2049,6 +2104,12 @@ declare namespace io.flow.v0.models {
|
|
|
2049
2104
|
readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
|
|
2050
2105
|
}
|
|
2051
2106
|
|
|
2107
|
+
interface B2BInvoiceReference {
|
|
2108
|
+
readonly id: string;
|
|
2109
|
+
readonly key: string;
|
|
2110
|
+
readonly number: string;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2052
2113
|
interface B2BInvoiceUpserted {
|
|
2053
2114
|
readonly event_id: string;
|
|
2054
2115
|
readonly timestamp: string;
|
|
@@ -2092,6 +2153,15 @@ declare namespace io.flow.v0.models {
|
|
|
2092
2153
|
readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
|
|
2093
2154
|
}
|
|
2094
2155
|
|
|
2156
|
+
interface BrowserInfo {
|
|
2157
|
+
readonly language?: string;
|
|
2158
|
+
readonly java_enabled?: boolean;
|
|
2159
|
+
readonly color_depth?: number;
|
|
2160
|
+
readonly screen_height?: number;
|
|
2161
|
+
readonly screen_width?: number;
|
|
2162
|
+
readonly time_zone_offset?: number;
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2095
2165
|
interface Capture {
|
|
2096
2166
|
readonly id: string;
|
|
2097
2167
|
readonly key: string;
|
|
@@ -2429,6 +2499,15 @@ declare namespace io.flow.v0.models {
|
|
|
2429
2499
|
readonly item: io.flow.v0.models.Item;
|
|
2430
2500
|
}
|
|
2431
2501
|
|
|
2502
|
+
interface CatalogPriceBookItemDocument {
|
|
2503
|
+
readonly price_book_key: string;
|
|
2504
|
+
readonly price_book_item_key: string;
|
|
2505
|
+
readonly catalog: io.flow.v0.models.CatalogItemSummary;
|
|
2506
|
+
readonly amount: number;
|
|
2507
|
+
readonly starts_at: string;
|
|
2508
|
+
readonly ends_at?: string;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2432
2511
|
interface CatalogReference {
|
|
2433
2512
|
readonly id: string;
|
|
2434
2513
|
}
|
|
@@ -2882,6 +2961,19 @@ declare namespace io.flow.v0.models {
|
|
|
2882
2961
|
readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
|
|
2883
2962
|
}
|
|
2884
2963
|
|
|
2964
|
+
interface CsvPriceBookItemExportRow {
|
|
2965
|
+
readonly price_book_key: string;
|
|
2966
|
+
readonly price_book_item_key: string;
|
|
2967
|
+
readonly item_number: string;
|
|
2968
|
+
readonly item_name: string;
|
|
2969
|
+
readonly amount: number;
|
|
2970
|
+
readonly item_attributes?: {
|
|
2971
|
+
[key: string]: string;
|
|
2972
|
+
};
|
|
2973
|
+
readonly starts_at: string;
|
|
2974
|
+
readonly ends_at?: string;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2885
2977
|
interface Currency {
|
|
2886
2978
|
readonly name: string;
|
|
2887
2979
|
readonly iso_4217_3: string;
|
|
@@ -2964,6 +3056,11 @@ declare namespace io.flow.v0.models {
|
|
|
2964
3056
|
readonly type: io.flow.v0.enums.CustomerAddressType;
|
|
2965
3057
|
}
|
|
2966
3058
|
|
|
3059
|
+
interface CustomerBundle {
|
|
3060
|
+
readonly customer: io.flow.v0.models.Customer;
|
|
3061
|
+
readonly last_used?: io.flow.v0.models.CustomerLastUsed;
|
|
3062
|
+
}
|
|
3063
|
+
|
|
2967
3064
|
interface CustomerDeleted {
|
|
2968
3065
|
readonly event_id: string;
|
|
2969
3066
|
readonly timestamp: string;
|
|
@@ -2982,6 +3079,22 @@ declare namespace io.flow.v0.models {
|
|
|
2982
3079
|
readonly address?: io.flow.v0.models.BillingAddress;
|
|
2983
3080
|
}
|
|
2984
3081
|
|
|
3082
|
+
interface CustomerLastUsed {
|
|
3083
|
+
readonly order: io.flow.v0.models.CustomerOrder;
|
|
3084
|
+
readonly payment: io.flow.v0.models.CustomerPayment;
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
interface CustomerOrder {
|
|
3088
|
+
readonly number: string;
|
|
3089
|
+
readonly destination: io.flow.v0.models.OrderAddress;
|
|
3090
|
+
readonly payments?: io.flow.v0.models.OrderPayment[];
|
|
3091
|
+
readonly submitted_at?: string;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
interface CustomerPayment {
|
|
3095
|
+
readonly payment_methods: io.flow.v0.models.PaymentMethod[];
|
|
3096
|
+
}
|
|
3097
|
+
|
|
2985
3098
|
interface CustomerPutForm {
|
|
2986
3099
|
readonly email?: string;
|
|
2987
3100
|
readonly name?: io.flow.v0.models.Name;
|
|
@@ -3050,6 +3163,7 @@ declare namespace io.flow.v0.models {
|
|
|
3050
3163
|
readonly weight?: io.flow.v0.models.OptionWeightEstimates;
|
|
3051
3164
|
readonly send_to?: io.flow.v0.models.ShippingAddress;
|
|
3052
3165
|
readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
|
|
3166
|
+
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
3053
3167
|
}
|
|
3054
3168
|
|
|
3055
3169
|
interface DeliveryOptionCostComponent {
|
|
@@ -3228,6 +3342,7 @@ declare namespace io.flow.v0.models {
|
|
|
3228
3342
|
readonly ip?: string;
|
|
3229
3343
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
3230
3344
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
3345
|
+
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
3231
3346
|
}
|
|
3232
3347
|
|
|
3233
3348
|
interface DirectDebit {
|
|
@@ -4976,6 +5091,7 @@ declare namespace io.flow.v0.models {
|
|
|
4976
5091
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
4977
5092
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
4978
5093
|
readonly installment_program_id?: string;
|
|
5094
|
+
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
4979
5095
|
}
|
|
4980
5096
|
|
|
4981
5097
|
interface MerchantOfRecordEntity {
|
|
@@ -5486,6 +5602,30 @@ declare namespace io.flow.v0.models {
|
|
|
5486
5602
|
readonly applied: io.flow.v0.models.OrderRuleReference[];
|
|
5487
5603
|
}
|
|
5488
5604
|
|
|
5605
|
+
interface OrderServiceChange {
|
|
5606
|
+
readonly id: string;
|
|
5607
|
+
readonly from: io.flow.v0.models.CarrierService;
|
|
5608
|
+
readonly to: io.flow.v0.models.CarrierService;
|
|
5609
|
+
}
|
|
5610
|
+
|
|
5611
|
+
interface OrderServiceChangeForm {
|
|
5612
|
+
readonly from_service_id: string;
|
|
5613
|
+
readonly to_service_id: string;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
interface OrderServiceChangeRequest {
|
|
5617
|
+
readonly event_id: string;
|
|
5618
|
+
readonly timestamp: string;
|
|
5619
|
+
readonly organization: string;
|
|
5620
|
+
readonly request: io.flow.v0.models.OrderServiceChangeRequestData;
|
|
5621
|
+
}
|
|
5622
|
+
|
|
5623
|
+
interface OrderServiceChangeRequestData {
|
|
5624
|
+
readonly id: string;
|
|
5625
|
+
readonly source_url: string;
|
|
5626
|
+
readonly filename?: string;
|
|
5627
|
+
}
|
|
5628
|
+
|
|
5489
5629
|
interface OrderSubmissionForm {
|
|
5490
5630
|
readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
|
|
5491
5631
|
}
|
|
@@ -6046,6 +6186,13 @@ declare namespace io.flow.v0.models {
|
|
|
6046
6186
|
readonly id: string;
|
|
6047
6187
|
}
|
|
6048
6188
|
|
|
6189
|
+
interface PriceBookItemExportType {
|
|
6190
|
+
readonly price_book_key?: string;
|
|
6191
|
+
readonly item_numbers?: string[];
|
|
6192
|
+
readonly start_date?: string;
|
|
6193
|
+
readonly end_date?: string;
|
|
6194
|
+
}
|
|
6195
|
+
|
|
6049
6196
|
interface PriceBookItemForm {
|
|
6050
6197
|
readonly price_book_key: string;
|
|
6051
6198
|
readonly item_number: string;
|
|
@@ -6393,6 +6540,7 @@ declare namespace io.flow.v0.models {
|
|
|
6393
6540
|
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
6394
6541
|
readonly number?: string;
|
|
6395
6542
|
readonly published_at?: string;
|
|
6543
|
+
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
6396
6544
|
}
|
|
6397
6545
|
|
|
6398
6546
|
interface RatecardCarrierSummary {
|
|
@@ -6400,6 +6548,13 @@ declare namespace io.flow.v0.models {
|
|
|
6400
6548
|
readonly name: string;
|
|
6401
6549
|
}
|
|
6402
6550
|
|
|
6551
|
+
interface RatecardDeleted {
|
|
6552
|
+
readonly event_id: string;
|
|
6553
|
+
readonly timestamp: string;
|
|
6554
|
+
readonly organization: string;
|
|
6555
|
+
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
6556
|
+
}
|
|
6557
|
+
|
|
6403
6558
|
interface RatecardEstimateFormV1 {
|
|
6404
6559
|
readonly origin?: string;
|
|
6405
6560
|
readonly destination?: string;
|
|
@@ -6455,6 +6610,7 @@ declare namespace io.flow.v0.models {
|
|
|
6455
6610
|
readonly dimensional_weight?: io.flow.v0.models.Measurement;
|
|
6456
6611
|
readonly gravitational_weight?: io.flow.v0.models.Measurement;
|
|
6457
6612
|
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
6613
|
+
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
6458
6614
|
}
|
|
6459
6615
|
|
|
6460
6616
|
interface RatecardForm {
|
|
@@ -6463,6 +6619,7 @@ declare namespace io.flow.v0.models {
|
|
|
6463
6619
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
6464
6620
|
readonly service: string;
|
|
6465
6621
|
readonly number?: string;
|
|
6622
|
+
readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
|
|
6466
6623
|
}
|
|
6467
6624
|
|
|
6468
6625
|
interface RatecardLane {
|
|
@@ -6505,6 +6662,7 @@ declare namespace io.flow.v0.models {
|
|
|
6505
6662
|
}
|
|
6506
6663
|
|
|
6507
6664
|
interface RatecardLaneImportForm {
|
|
6665
|
+
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
6508
6666
|
readonly service: string;
|
|
6509
6667
|
readonly currency: string;
|
|
6510
6668
|
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
@@ -6565,6 +6723,13 @@ declare namespace io.flow.v0.models {
|
|
|
6565
6723
|
readonly carrier: io.flow.v0.models.RatecardCarrierSummary;
|
|
6566
6724
|
}
|
|
6567
6725
|
|
|
6726
|
+
interface RatecardUpserted {
|
|
6727
|
+
readonly event_id: string;
|
|
6728
|
+
readonly timestamp: string;
|
|
6729
|
+
readonly organization: string;
|
|
6730
|
+
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
6731
|
+
}
|
|
6732
|
+
|
|
6568
6733
|
interface RatecardVersion {
|
|
6569
6734
|
readonly id: string;
|
|
6570
6735
|
readonly timestamp: string;
|
|
@@ -6819,6 +6984,7 @@ declare namespace io.flow.v0.models {
|
|
|
6819
6984
|
readonly destination?: io.flow.v0.models.ShippingAddress;
|
|
6820
6985
|
readonly key?: string;
|
|
6821
6986
|
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
6987
|
+
readonly center_key?: string;
|
|
6822
6988
|
}
|
|
6823
6989
|
|
|
6824
6990
|
interface ReturnItemReference {
|
|
@@ -7316,6 +7482,12 @@ declare namespace io.flow.v0.models {
|
|
|
7316
7482
|
readonly strategy?: io.flow.v0.enums.LaneStrategy;
|
|
7317
7483
|
}
|
|
7318
7484
|
|
|
7485
|
+
interface ShippingLaneSummary {
|
|
7486
|
+
readonly shipping_lane_id: string;
|
|
7487
|
+
readonly region: string;
|
|
7488
|
+
readonly centers: io.flow.v0.unions.ExpandableCenter[];
|
|
7489
|
+
}
|
|
7490
|
+
|
|
7319
7491
|
interface ShippingLaneUpserted {
|
|
7320
7492
|
readonly event_id: string;
|
|
7321
7493
|
readonly timestamp: string;
|
|
@@ -7513,6 +7685,7 @@ declare namespace io.flow.v0.models {
|
|
|
7513
7685
|
readonly incoterm?: io.flow.v0.enums.Incoterm;
|
|
7514
7686
|
readonly flow_order_id?: string;
|
|
7515
7687
|
readonly tax_registration?: io.flow.v0.models.TaxRegistration;
|
|
7688
|
+
readonly geo?: io.flow.v0.models.OrderGeo;
|
|
7516
7689
|
}
|
|
7517
7690
|
|
|
7518
7691
|
interface ShopifyLocalizedVariant {
|
|
@@ -7674,6 +7847,11 @@ declare namespace io.flow.v0.models {
|
|
|
7674
7847
|
readonly key?: string;
|
|
7675
7848
|
}
|
|
7676
7849
|
|
|
7850
|
+
interface StripeAuthorizationResultActionDetails {
|
|
7851
|
+
readonly client_secret?: string;
|
|
7852
|
+
readonly payment_method_id?: string;
|
|
7853
|
+
}
|
|
7854
|
+
|
|
7677
7855
|
interface Subcatalog {
|
|
7678
7856
|
readonly id: string;
|
|
7679
7857
|
readonly catalog: io.flow.v0.models.Catalog;
|
|
@@ -7927,6 +8105,7 @@ declare namespace io.flow.v0.models {
|
|
|
7927
8105
|
readonly display?: io.flow.v0.models.TierDisplay;
|
|
7928
8106
|
readonly shipping_lane?: string;
|
|
7929
8107
|
readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[];
|
|
8108
|
+
readonly lane?: io.flow.v0.models.ShippingLaneSummary;
|
|
7930
8109
|
}
|
|
7931
8110
|
|
|
7932
8111
|
interface TierDeletedV2 {
|
|
@@ -8376,6 +8555,14 @@ declare namespace io.flow.v0.models {
|
|
|
8376
8555
|
}
|
|
8377
8556
|
|
|
8378
8557
|
declare namespace io.flow.v0.unions {
|
|
8558
|
+
type AdyenNativeData =
|
|
8559
|
+
| {
|
|
8560
|
+
discriminator: 'adyen_identify_shopper_data';
|
|
8561
|
+
} & io.flow.v0.models.AdyenIdentifyShopperData
|
|
8562
|
+
| {
|
|
8563
|
+
discriminator: 'adyen_challenge_shopper_data';
|
|
8564
|
+
} & io.flow.v0.models.AdyenChallengeShopperData;
|
|
8565
|
+
|
|
8379
8566
|
type AllocationComponent =
|
|
8380
8567
|
| {
|
|
8381
8568
|
discriminator: 'allocation_detail_component';
|
|
@@ -8443,7 +8630,18 @@ declare namespace io.flow.v0.unions {
|
|
|
8443
8630
|
} & io.flow.v0.models.AuthorizationResultActionPost
|
|
8444
8631
|
| {
|
|
8445
8632
|
discriminator: 'authorization_result_action_wait';
|
|
8446
|
-
} & io.flow.v0.models.AuthorizationResultActionWait
|
|
8633
|
+
} & io.flow.v0.models.AuthorizationResultActionWait
|
|
8634
|
+
| {
|
|
8635
|
+
discriminator: 'authorization_result_action_native';
|
|
8636
|
+
} & io.flow.v0.models.AuthorizationResultActionNative;
|
|
8637
|
+
|
|
8638
|
+
type AuthorizationResultActionDetails =
|
|
8639
|
+
| {
|
|
8640
|
+
discriminator: 'adyen_native_action_details';
|
|
8641
|
+
} & io.flow.v0.models.AdyenNativeActionDetails
|
|
8642
|
+
| {
|
|
8643
|
+
discriminator: 'stripe_authorization_result_action_details';
|
|
8644
|
+
} & io.flow.v0.models.StripeAuthorizationResultActionDetails;
|
|
8447
8645
|
|
|
8448
8646
|
type AvailableFilter =
|
|
8449
8647
|
| {
|
|
@@ -8568,6 +8766,12 @@ declare namespace io.flow.v0.unions {
|
|
|
8568
8766
|
| {
|
|
8569
8767
|
discriminator: 'b2b_invoice_deleted';
|
|
8570
8768
|
} & io.flow.v0.models.B2BInvoiceDeleted
|
|
8769
|
+
| {
|
|
8770
|
+
discriminator: 'b2b_credit_memo_upserted';
|
|
8771
|
+
} & io.flow.v0.models.B2BCreditMemoUpserted
|
|
8772
|
+
| {
|
|
8773
|
+
discriminator: 'b2b_credit_memo_deleted';
|
|
8774
|
+
} & io.flow.v0.models.B2BCreditMemoDeleted
|
|
8571
8775
|
| {
|
|
8572
8776
|
discriminator: 'consumer_invoice_upserted';
|
|
8573
8777
|
} & io.flow.v0.models.ConsumerInvoiceUpserted
|
|
@@ -8706,6 +8910,9 @@ declare namespace io.flow.v0.unions {
|
|
|
8706
8910
|
| {
|
|
8707
8911
|
discriminator: 'pricing_upserted';
|
|
8708
8912
|
} & io.flow.v0.models.PricingUpserted
|
|
8913
|
+
| {
|
|
8914
|
+
discriminator: 'order_service_change_request';
|
|
8915
|
+
} & io.flow.v0.models.OrderServiceChangeRequest
|
|
8709
8916
|
| {
|
|
8710
8917
|
discriminator: 'fraud_status_changed';
|
|
8711
8918
|
} & io.flow.v0.models.FraudStatusChanged
|
|
@@ -8970,6 +9177,12 @@ declare namespace io.flow.v0.unions {
|
|
|
8970
9177
|
| {
|
|
8971
9178
|
discriminator: 'ratecard_lane_deleted';
|
|
8972
9179
|
} & io.flow.v0.models.RatecardLaneDeleted
|
|
9180
|
+
| {
|
|
9181
|
+
discriminator: 'ratecard_upserted';
|
|
9182
|
+
} & io.flow.v0.models.RatecardUpserted
|
|
9183
|
+
| {
|
|
9184
|
+
discriminator: 'ratecard_deleted';
|
|
9185
|
+
} & io.flow.v0.models.RatecardDeleted
|
|
8973
9186
|
| {
|
|
8974
9187
|
discriminator: 'return_upserted';
|
|
8975
9188
|
} & io.flow.v0.models.ReturnUpserted
|
|
@@ -9095,6 +9308,9 @@ declare namespace io.flow.v0.unions {
|
|
|
9095
9308
|
| {
|
|
9096
9309
|
discriminator: 'order_export_type';
|
|
9097
9310
|
} & io.flow.v0.models.OrderExportType
|
|
9311
|
+
| {
|
|
9312
|
+
discriminator: 'price_book_item_export_type';
|
|
9313
|
+
} & io.flow.v0.models.PriceBookItemExportType
|
|
9098
9314
|
| {
|
|
9099
9315
|
discriminator: 'solidus_product_export_type';
|
|
9100
9316
|
} & io.flow.v0.models.SolidusProductExportType
|
|
@@ -9441,6 +9657,10 @@ export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
|
9441
9657
|
export type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
9442
9658
|
export type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
|
|
9443
9659
|
export type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
|
|
9660
|
+
export type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperData;
|
|
9661
|
+
export type AdyenIdentifyShopperData = io.flow.v0.models.AdyenIdentifyShopperData;
|
|
9662
|
+
export type AdyenNativeActionDetails = io.flow.v0.models.AdyenNativeActionDetails;
|
|
9663
|
+
export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
|
|
9444
9664
|
export type Aggregate = io.flow.v0.enums.Aggregate;
|
|
9445
9665
|
export type Allocation = io.flow.v0.models.Allocation;
|
|
9446
9666
|
export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
|
|
@@ -9482,7 +9702,9 @@ export type AuthorizationPayloadParameters = io.flow.v0.unions.AuthorizationPayl
|
|
|
9482
9702
|
export type AuthorizationReference = io.flow.v0.models.AuthorizationReference;
|
|
9483
9703
|
export type AuthorizationResult = io.flow.v0.models.AuthorizationResult;
|
|
9484
9704
|
export type AuthorizationResultAction = io.flow.v0.unions.AuthorizationResultAction;
|
|
9705
|
+
export type AuthorizationResultActionDetails = io.flow.v0.unions.AuthorizationResultActionDetails;
|
|
9485
9706
|
export type AuthorizationResultActionGet = io.flow.v0.models.AuthorizationResultActionGet;
|
|
9707
|
+
export type AuthorizationResultActionNative = io.flow.v0.models.AuthorizationResultActionNative;
|
|
9486
9708
|
export type AuthorizationResultActionPost = io.flow.v0.models.AuthorizationResultActionPost;
|
|
9487
9709
|
export type AuthorizationResultActionType = io.flow.v0.enums.AuthorizationResultActionType;
|
|
9488
9710
|
export type AuthorizationResultActionWait = io.flow.v0.models.AuthorizationResultActionWait;
|
|
@@ -9505,14 +9727,19 @@ export type AvalaraTaxCsvSetting = io.flow.v0.models.AvalaraTaxCsvSetting;
|
|
|
9505
9727
|
export type AvalaraTaxSetting = io.flow.v0.models.AvalaraTaxSetting;
|
|
9506
9728
|
export type Avs = io.flow.v0.models.Avs;
|
|
9507
9729
|
export type AvsCode = io.flow.v0.enums.AvsCode;
|
|
9730
|
+
export type B2BCreditMemo = io.flow.v0.models.B2BCreditMemo;
|
|
9731
|
+
export type B2BCreditMemoDeleted = io.flow.v0.models.B2BCreditMemoDeleted;
|
|
9732
|
+
export type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
|
|
9508
9733
|
export type B2BInvoice = io.flow.v0.models.B2BInvoice;
|
|
9509
9734
|
export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
|
|
9735
|
+
export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
|
|
9510
9736
|
export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
|
|
9511
9737
|
export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
|
|
9512
9738
|
export type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
9513
9739
|
export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
9514
9740
|
export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
9515
9741
|
export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
9742
|
+
export type BrowserInfo = io.flow.v0.models.BrowserInfo;
|
|
9516
9743
|
export type Calendar = io.flow.v0.enums.Calendar;
|
|
9517
9744
|
export type CancelReason = io.flow.v0.enums.CancelReason;
|
|
9518
9745
|
export type Capability = io.flow.v0.enums.Capability;
|
|
@@ -9563,6 +9790,7 @@ export type CatalogItemReference = io.flow.v0.models.CatalogItemReference;
|
|
|
9563
9790
|
export type CatalogItemSummary = io.flow.v0.models.CatalogItemSummary;
|
|
9564
9791
|
export type CatalogItemUpserted = io.flow.v0.models.CatalogItemUpserted;
|
|
9565
9792
|
export type CatalogItemUpsertedV2 = io.flow.v0.models.CatalogItemUpsertedV2;
|
|
9793
|
+
export type CatalogPriceBookItemDocument = io.flow.v0.models.CatalogPriceBookItemDocument;
|
|
9566
9794
|
export type CatalogReference = io.flow.v0.models.CatalogReference;
|
|
9567
9795
|
export type CatalogStatistics = io.flow.v0.models.CatalogStatistics;
|
|
9568
9796
|
export type CatalogUpserted = io.flow.v0.models.CatalogUpserted;
|
|
@@ -9636,6 +9864,7 @@ export type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersion;
|
|
|
9636
9864
|
export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
|
|
9637
9865
|
export type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
|
|
9638
9866
|
export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
|
|
9867
|
+
export type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
|
|
9639
9868
|
export type Currency = io.flow.v0.models.Currency;
|
|
9640
9869
|
export type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
|
|
9641
9870
|
export type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
|
|
@@ -9652,9 +9881,13 @@ export type CustomerAddressBookContactUpserted = io.flow.v0.models.CustomerAddre
|
|
|
9652
9881
|
export type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressBookForm;
|
|
9653
9882
|
export type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
|
|
9654
9883
|
export type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
|
|
9884
|
+
export type CustomerBundle = io.flow.v0.models.CustomerBundle;
|
|
9655
9885
|
export type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
|
|
9656
9886
|
export type CustomerForm = io.flow.v0.models.CustomerForm;
|
|
9657
9887
|
export type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
|
|
9888
|
+
export type CustomerLastUsed = io.flow.v0.models.CustomerLastUsed;
|
|
9889
|
+
export type CustomerOrder = io.flow.v0.models.CustomerOrder;
|
|
9890
|
+
export type CustomerPayment = io.flow.v0.models.CustomerPayment;
|
|
9658
9891
|
export type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
|
|
9659
9892
|
export type CustomerReference = io.flow.v0.models.CustomerReference;
|
|
9660
9893
|
export type CustomerToken = io.flow.v0.models.CustomerToken;
|
|
@@ -10086,6 +10319,10 @@ export type OrderPutForm = io.flow.v0.models.OrderPutForm;
|
|
|
10086
10319
|
export type OrderReference = io.flow.v0.models.OrderReference;
|
|
10087
10320
|
export type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
|
|
10088
10321
|
export type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
|
|
10322
|
+
export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
|
|
10323
|
+
export type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm;
|
|
10324
|
+
export type OrderServiceChangeRequest = io.flow.v0.models.OrderServiceChangeRequest;
|
|
10325
|
+
export type OrderServiceChangeRequestData = io.flow.v0.models.OrderServiceChangeRequestData;
|
|
10089
10326
|
export type OrderStatus = io.flow.v0.enums.OrderStatus;
|
|
10090
10327
|
export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
|
|
10091
10328
|
export type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
|
|
@@ -10184,6 +10421,7 @@ export type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
|
|
|
10184
10421
|
export type PriceBookForm = io.flow.v0.models.PriceBookForm;
|
|
10185
10422
|
export type PriceBookItem = io.flow.v0.models.PriceBookItem;
|
|
10186
10423
|
export type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
|
|
10424
|
+
export type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
|
|
10187
10425
|
export type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
|
|
10188
10426
|
export type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;
|
|
10189
10427
|
export type PriceBookItemSchedule = io.flow.v0.models.PriceBookItemSchedule;
|
|
@@ -10249,6 +10487,7 @@ export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
|
|
|
10249
10487
|
export type RateVersion = io.flow.v0.models.RateVersion;
|
|
10250
10488
|
export type Ratecard = io.flow.v0.models.Ratecard;
|
|
10251
10489
|
export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
10490
|
+
export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
10252
10491
|
export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
10253
10492
|
export type RatecardEstimateForm = io.flow.v0.unions.RatecardEstimateForm;
|
|
10254
10493
|
export type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
|
|
@@ -10265,11 +10504,13 @@ export type RatecardLaneImportForm = io.flow.v0.models.RatecardLaneImportForm;
|
|
|
10265
10504
|
export type RatecardLaneUpserted = io.flow.v0.models.RatecardLaneUpserted;
|
|
10266
10505
|
export type RatecardLaneVersion = io.flow.v0.models.RatecardLaneVersion;
|
|
10267
10506
|
export type RatecardLanesImportRequestData = io.flow.v0.models.RatecardLanesImportRequestData;
|
|
10507
|
+
export type RatecardOwner = io.flow.v0.enums.RatecardOwner;
|
|
10268
10508
|
export type RatecardRate = io.flow.v0.models.RatecardRate;
|
|
10269
10509
|
export type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
|
|
10270
10510
|
export type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
|
|
10271
10511
|
export type RatecardReference = io.flow.v0.models.RatecardReference;
|
|
10272
10512
|
export type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
|
|
10513
|
+
export type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
|
|
10273
10514
|
export type RatecardVersion = io.flow.v0.models.RatecardVersion;
|
|
10274
10515
|
export type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
|
|
10275
10516
|
export type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails;
|
|
@@ -10396,6 +10637,7 @@ export type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersion;
|
|
|
10396
10637
|
export type ShippingLane = io.flow.v0.models.ShippingLane;
|
|
10397
10638
|
export type ShippingLaneDeleted = io.flow.v0.models.ShippingLaneDeleted;
|
|
10398
10639
|
export type ShippingLaneForm = io.flow.v0.models.ShippingLaneForm;
|
|
10640
|
+
export type ShippingLaneSummary = io.flow.v0.models.ShippingLaneSummary;
|
|
10399
10641
|
export type ShippingLaneUpserted = io.flow.v0.models.ShippingLaneUpserted;
|
|
10400
10642
|
export type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion;
|
|
10401
10643
|
export type ShippingNotification = io.flow.v0.models.ShippingNotification;
|
|
@@ -10452,6 +10694,7 @@ export type SortDirection = io.flow.v0.enums.SortDirection;
|
|
|
10452
10694
|
export type Strategy = io.flow.v0.enums.Strategy;
|
|
10453
10695
|
export type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
10454
10696
|
export type StripeAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
10697
|
+
export type StripeAuthorizationResultActionDetails = io.flow.v0.models.StripeAuthorizationResultActionDetails;
|
|
10455
10698
|
export type Subcatalog = io.flow.v0.models.Subcatalog;
|
|
10456
10699
|
export type SubcatalogDeleted = io.flow.v0.models.SubcatalogDeleted;
|
|
10457
10700
|
export type SubcatalogForm = io.flow.v0.models.SubcatalogForm;
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Flow Commerce
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|