@flowio/types 11.18.0 → 11.19.1
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 +914 -484
- package/dist/api.d.ts +30 -16
- package/package.json +2 -2
- package/src/api-internal.ts +1075 -464
- package/src/api.ts +39 -15
package/src/api.ts
CHANGED
|
@@ -242,7 +242,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
242
242
|
interface Product {
|
|
243
243
|
readonly id: number;
|
|
244
244
|
readonly handle: string;
|
|
245
|
-
readonly variants
|
|
245
|
+
readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
|
|
246
246
|
readonly images: io.flow.shopify.external.v0.models.ProductImage[];
|
|
247
247
|
readonly title: string;
|
|
248
248
|
readonly vendor?: string;
|
|
@@ -427,7 +427,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
interface ShopifyClientDetail {
|
|
430
|
-
readonly accept_language
|
|
430
|
+
readonly accept_language?: boolean;
|
|
431
431
|
readonly browser_height?: number;
|
|
432
432
|
readonly browser_ip?: string;
|
|
433
433
|
readonly browser_width?: number;
|
|
@@ -443,7 +443,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
443
443
|
readonly tax_exempt: boolean;
|
|
444
444
|
readonly verified_email: boolean;
|
|
445
445
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
446
|
-
readonly accepts_marketing
|
|
446
|
+
readonly accepts_marketing?: boolean;
|
|
447
447
|
readonly default_address?: any /*object*/;
|
|
448
448
|
readonly email?: string;
|
|
449
449
|
readonly first_name?: string;
|
|
@@ -522,7 +522,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
522
522
|
readonly requires_shipping: boolean;
|
|
523
523
|
readonly currency?: string;
|
|
524
524
|
readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
|
|
525
|
-
readonly cart_level_discount_applications
|
|
525
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
interface ShopifyExternalCartItem {
|
|
@@ -537,7 +537,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
537
537
|
readonly original_line_price: number;
|
|
538
538
|
readonly total_discount: number;
|
|
539
539
|
readonly discounted_price: number;
|
|
540
|
-
readonly discounts
|
|
540
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
541
541
|
readonly taxable: boolean;
|
|
542
542
|
readonly quantity: number;
|
|
543
543
|
readonly sku?: string;
|
|
@@ -555,8 +555,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
555
555
|
readonly product_description?: string;
|
|
556
556
|
readonly product_type: string;
|
|
557
557
|
readonly variant_title?: string;
|
|
558
|
-
readonly variant_options
|
|
559
|
-
readonly line_level_discount_allocations
|
|
558
|
+
readonly variant_options?: string[];
|
|
559
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
interface ShopifyFulfillment {
|
|
@@ -797,11 +797,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
797
797
|
readonly updated_at?: string;
|
|
798
798
|
readonly user_id?: number;
|
|
799
799
|
readonly order_status_url?: string;
|
|
800
|
-
readonly inventory_behaviour
|
|
800
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
801
801
|
readonly gateway?: string;
|
|
802
802
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
803
803
|
readonly send_receipt?: boolean;
|
|
804
|
-
readonly metafields
|
|
804
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
interface ShopifyOrderCount {
|
|
@@ -939,7 +939,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
939
939
|
|
|
940
940
|
interface ShopifyWebhookOrder {
|
|
941
941
|
readonly id?: number;
|
|
942
|
-
readonly line_items
|
|
942
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -1040,7 +1040,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1040
1040
|
| 'searchable'
|
|
1041
1041
|
| 'barcode'
|
|
1042
1042
|
| 'min_days_to_ship'
|
|
1043
|
-
| 'max_days_to_ship'
|
|
1043
|
+
| 'max_days_to_ship'
|
|
1044
|
+
| 'commercial_invoice_item_number';
|
|
1044
1045
|
type AuthenticationTechnique =
|
|
1045
1046
|
| 'anonymous'
|
|
1046
1047
|
| 'session'
|
|
@@ -1132,7 +1133,10 @@ declare namespace io.flow.v0.enums {
|
|
|
1132
1133
|
| 'amount_must_be_positive'
|
|
1133
1134
|
| 'amount_exceeds_balance'
|
|
1134
1135
|
| 'insufficient_amount';
|
|
1135
|
-
type CurrencyLabelFormatter =
|
|
1136
|
+
type CurrencyLabelFormatter =
|
|
1137
|
+
| 'strip_trailing_zeros'
|
|
1138
|
+
| 'symbol_prefix'
|
|
1139
|
+
| 'symbol_suffix';
|
|
1136
1140
|
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
1137
1141
|
type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
|
|
1138
1142
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
@@ -1153,6 +1157,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1153
1157
|
| 'ratecard_oversized_shipment_fee'
|
|
1154
1158
|
| 'ratecard_rural_shipment_fee'
|
|
1155
1159
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
1160
|
+
| 'ratecard_peak_surcharge_fee'
|
|
1156
1161
|
| 'center_commercial_invoice_fee'
|
|
1157
1162
|
| 'center_inbound_carton_fee'
|
|
1158
1163
|
| 'center_outbound_carton_fee';
|
|
@@ -1486,7 +1491,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1486
1491
|
| 'duty_subsidy'
|
|
1487
1492
|
| 'remote_area_surcharge'
|
|
1488
1493
|
| 'fuel_surcharge'
|
|
1489
|
-
| 'emergency_situation_surcharge'
|
|
1494
|
+
| 'emergency_situation_surcharge'
|
|
1495
|
+
| 'peak_surcharge';
|
|
1490
1496
|
type OrderPriceDetailKey =
|
|
1491
1497
|
| 'adjustment'
|
|
1492
1498
|
| 'subtotal'
|
|
@@ -7245,6 +7251,20 @@ declare namespace io.flow.v0.models {
|
|
|
7245
7251
|
readonly ip?: string;
|
|
7246
7252
|
}
|
|
7247
7253
|
|
|
7254
|
+
interface PeakSurchargeRatecardFee {
|
|
7255
|
+
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
7256
|
+
readonly amount: io.flow.v0.models.Money;
|
|
7257
|
+
readonly starts_at?: string;
|
|
7258
|
+
readonly ends_at?: string;
|
|
7259
|
+
}
|
|
7260
|
+
|
|
7261
|
+
interface PeakSurchargeServiceFee {
|
|
7262
|
+
readonly discriminator: 'peak_surcharge_service_fee';
|
|
7263
|
+
readonly amount: io.flow.v0.models.Money;
|
|
7264
|
+
readonly starts_at?: string;
|
|
7265
|
+
readonly ends_at?: string;
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7248
7268
|
interface PercentMargin {
|
|
7249
7269
|
readonly discriminator: 'percent_margin';
|
|
7250
7270
|
readonly percentage: number;
|
|
@@ -10278,7 +10298,8 @@ declare namespace io.flow.v0.unions {
|
|
|
10278
10298
|
| io.flow.v0.models.ReturnPackageRatecardFee
|
|
10279
10299
|
| io.flow.v0.models.CrossdockRatecardFee
|
|
10280
10300
|
| io.flow.v0.models.RemoteAreaRatecardFee
|
|
10281
|
-
| io.flow.v0.models.EmergencySituationSurchargeRatecardFee
|
|
10301
|
+
| io.flow.v0.models.EmergencySituationSurchargeRatecardFee
|
|
10302
|
+
| io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
10282
10303
|
type RepeatSchedule =
|
|
10283
10304
|
| io.flow.v0.models.RepeatHourly
|
|
10284
10305
|
| io.flow.v0.models.RepeatDaily
|
|
@@ -10297,7 +10318,8 @@ declare namespace io.flow.v0.unions {
|
|
|
10297
10318
|
type ServiceFee =
|
|
10298
10319
|
| io.flow.v0.models.FuelSurchargeServiceFee
|
|
10299
10320
|
| io.flow.v0.models.RemoteAreaServiceFee
|
|
10300
|
-
| io.flow.v0.models.EmergencySituationSurchargeServiceFee
|
|
10321
|
+
| io.flow.v0.models.EmergencySituationSurchargeServiceFee
|
|
10322
|
+
| io.flow.v0.models.PeakSurchargeServiceFee;
|
|
10301
10323
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
10302
10324
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
10303
10325
|
type ShippingLabelForm =
|
|
@@ -11263,6 +11285,8 @@ export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
|
|
|
11263
11285
|
export type PaymentVersion = io.flow.v0.models.PaymentVersion;
|
|
11264
11286
|
export type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
|
|
11265
11287
|
export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
|
|
11288
|
+
export type PeakSurchargeRatecardFee = io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
11289
|
+
export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
|
|
11266
11290
|
export type PercentMargin = io.flow.v0.models.PercentMargin;
|
|
11267
11291
|
export type PermissionAudit = io.flow.v0.models.PermissionAudit;
|
|
11268
11292
|
export type PermissionCheck = io.flow.v0.models.PermissionCheck;
|