@flowio/types 0.0.4 → 0.0.6
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/LICENSE +21 -0
- package/dist/api-internal.d.ts +196 -970
- package/dist/api.d.ts +156 -634
- package/dist/index.d.ts +1 -1
- package/package.json +9 -2
- package/src/api-internal.ts +197 -1344
- package/src/api.ts +176 -887
- package/src/index.ts +1 -4
package/dist/api-internal.d.ts
CHANGED
|
@@ -46,19 +46,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
46
46
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
47
47
|
readonly currency: string;
|
|
48
48
|
readonly amount: number;
|
|
49
|
-
readonly fees:
|
|
50
|
-
discriminator: 'ddp_ratecard_fee';
|
|
51
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
52
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
53
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
54
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
55
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
56
|
-
discriminator: 'return_package_ratecard_fee';
|
|
57
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
58
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
59
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
60
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
61
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
49
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
62
50
|
readonly total: number;
|
|
63
51
|
}
|
|
64
52
|
interface OversizedShipmentRatecardFee {
|
|
@@ -118,19 +106,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
118
106
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
119
107
|
readonly currency: string;
|
|
120
108
|
readonly amount: number;
|
|
121
|
-
readonly fees:
|
|
122
|
-
discriminator: 'ddp_ratecard_fee';
|
|
123
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
124
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
125
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
126
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
127
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
128
|
-
discriminator: 'return_package_ratecard_fee';
|
|
129
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
130
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
131
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
132
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
133
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
109
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
134
110
|
readonly total: number;
|
|
135
111
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
136
112
|
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
@@ -159,19 +135,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
159
135
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
160
136
|
readonly destination: io.flow.common.v0.models.Zone;
|
|
161
137
|
readonly dim_factor: number;
|
|
162
|
-
readonly fees:
|
|
163
|
-
discriminator: 'ddp_ratecard_fee';
|
|
164
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
165
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
166
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
167
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
168
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
169
|
-
discriminator: 'return_package_ratecard_fee';
|
|
170
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
171
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
172
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
173
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
174
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
138
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
175
139
|
readonly origin: io.flow.common.v0.models.Zone;
|
|
176
140
|
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
177
141
|
readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
|
|
@@ -186,19 +150,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
186
150
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
187
151
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
188
152
|
readonly dim_factor: number;
|
|
189
|
-
readonly fees:
|
|
190
|
-
discriminator: 'ddp_ratecard_fee';
|
|
191
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee | {
|
|
192
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
193
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | {
|
|
194
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
195
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | {
|
|
196
|
-
discriminator: 'return_package_ratecard_fee';
|
|
197
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee | {
|
|
198
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
199
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee | {
|
|
200
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
201
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
153
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
202
154
|
readonly origin: io.flow.common.v0.models.Zone;
|
|
203
155
|
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
204
156
|
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
@@ -322,12 +274,10 @@ declare namespace io.flow.optin.internal.v0.models {
|
|
|
322
274
|
readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
|
|
323
275
|
readonly region: string;
|
|
324
276
|
readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
|
|
325
|
-
readonly content:
|
|
277
|
+
readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
|
|
326
278
|
readonly position: number;
|
|
327
279
|
readonly enforce_on: string;
|
|
328
|
-
readonly display?:
|
|
329
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
330
|
-
} & io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
280
|
+
readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
|
|
331
281
|
}
|
|
332
282
|
interface OptinPromptCheckoutDisplay {
|
|
333
283
|
readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
@@ -348,9 +298,7 @@ declare namespace io.flow.optin.internal.v0.models {
|
|
|
348
298
|
readonly content: io.flow.content.internal.v0.models.LocalizationForm;
|
|
349
299
|
readonly position: number;
|
|
350
300
|
readonly enforce_on?: string;
|
|
351
|
-
readonly display?:
|
|
352
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
353
|
-
} & io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
301
|
+
readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
|
|
354
302
|
}
|
|
355
303
|
}
|
|
356
304
|
declare namespace io.flow.optin.internal.v0.unions {
|
|
@@ -600,11 +548,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
600
548
|
declare namespace io.flow.experience.v0.models {
|
|
601
549
|
interface Allocation {
|
|
602
550
|
readonly order: io.flow.experience.v0.models.AllocationOrderSummary;
|
|
603
|
-
readonly details:
|
|
604
|
-
discriminator: 'allocation_line_detail';
|
|
605
|
-
} & io.flow.experience.v0.models.AllocationLineDetail | {
|
|
606
|
-
discriminator: 'allocation_order_detail';
|
|
607
|
-
} & io.flow.experience.v0.models.AllocationOrderDetail)[];
|
|
551
|
+
readonly details: io.flow.experience.v0.unions.AllocationDetail[];
|
|
608
552
|
}
|
|
609
553
|
interface AllocationDetailComponent {
|
|
610
554
|
readonly key: io.flow.experience.v0.enums.OrderPriceDetailComponentKey;
|
|
@@ -624,30 +568,14 @@ declare namespace io.flow.experience.v0.models {
|
|
|
624
568
|
readonly key: io.flow.experience.v0.enums.OrderPriceDetailKey;
|
|
625
569
|
readonly price: io.flow.common.v0.models.PriceWithBase;
|
|
626
570
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
627
|
-
readonly included:
|
|
628
|
-
|
|
629
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent | {
|
|
630
|
-
discriminator: 'allocation_levy_component';
|
|
631
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
632
|
-
readonly not_included: ({
|
|
633
|
-
discriminator: 'allocation_detail_component';
|
|
634
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent | {
|
|
635
|
-
discriminator: 'allocation_levy_component';
|
|
636
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
571
|
+
readonly included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
572
|
+
readonly not_included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
637
573
|
}
|
|
638
574
|
interface AllocationOrderDetail {
|
|
639
575
|
readonly key: io.flow.experience.v0.enums.OrderPriceDetailKey;
|
|
640
576
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
641
|
-
readonly included:
|
|
642
|
-
|
|
643
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent | {
|
|
644
|
-
discriminator: 'allocation_levy_component';
|
|
645
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
646
|
-
readonly not_included: ({
|
|
647
|
-
discriminator: 'allocation_detail_component';
|
|
648
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent | {
|
|
649
|
-
discriminator: 'allocation_levy_component';
|
|
650
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
577
|
+
readonly included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
578
|
+
readonly not_included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
651
579
|
}
|
|
652
580
|
interface AllocationOrderSummary {
|
|
653
581
|
readonly id: string;
|
|
@@ -657,22 +585,14 @@ declare namespace io.flow.experience.v0.models {
|
|
|
657
585
|
interface AllocationV2 {
|
|
658
586
|
readonly id: string;
|
|
659
587
|
readonly order: io.flow.experience.v0.models.AllocationOrderSummary;
|
|
660
|
-
readonly details:
|
|
661
|
-
discriminator: 'allocation_line_detail';
|
|
662
|
-
} & io.flow.experience.v0.models.AllocationLineDetail | {
|
|
663
|
-
discriminator: 'allocation_order_detail';
|
|
664
|
-
} & io.flow.experience.v0.models.AllocationOrderDetail)[];
|
|
588
|
+
readonly details: io.flow.experience.v0.unions.AllocationDetail[];
|
|
665
589
|
readonly total: io.flow.catalog.v0.models.LocalizedTotal;
|
|
666
590
|
}
|
|
667
591
|
interface AvailablePromotion {
|
|
668
592
|
readonly id: string;
|
|
669
593
|
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
670
594
|
readonly region: io.flow.experience.v0.models.RegionReference;
|
|
671
|
-
readonly promotions:
|
|
672
|
-
discriminator: 'free_shipping';
|
|
673
|
-
} & io.flow.experience.v0.models.FreeShipping | {
|
|
674
|
-
discriminator: 'discount';
|
|
675
|
-
} & io.flow.experience.v0.models.Discount)[];
|
|
595
|
+
readonly promotions: io.flow.experience.v0.unions.Promotion[];
|
|
676
596
|
}
|
|
677
597
|
interface CheckoutAttribute {
|
|
678
598
|
readonly id: string;
|
|
@@ -703,11 +623,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
703
623
|
}
|
|
704
624
|
interface CreditPayment {
|
|
705
625
|
readonly id: string;
|
|
706
|
-
readonly order:
|
|
707
|
-
discriminator: 'order';
|
|
708
|
-
} & io.flow.experience.v0.models.Order | {
|
|
709
|
-
discriminator: 'order_reference';
|
|
710
|
-
} & io.flow.experience.v0.models.OrderReference;
|
|
626
|
+
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
711
627
|
readonly key: string;
|
|
712
628
|
readonly description: string;
|
|
713
629
|
readonly value: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -886,11 +802,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
886
802
|
}
|
|
887
803
|
interface FreeShippingOrderPromotion {
|
|
888
804
|
readonly id: string;
|
|
889
|
-
readonly order:
|
|
890
|
-
discriminator: 'order';
|
|
891
|
-
} & io.flow.experience.v0.models.Order | {
|
|
892
|
-
discriminator: 'order_reference';
|
|
893
|
-
} & io.flow.experience.v0.models.OrderReference;
|
|
805
|
+
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
894
806
|
readonly key: string;
|
|
895
807
|
readonly trigger: io.flow.experience.v0.models.OrderPromotionTrigger;
|
|
896
808
|
readonly max?: io.flow.common.v0.models.Price;
|
|
@@ -971,7 +883,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
971
883
|
};
|
|
972
884
|
readonly local: io.flow.catalog.v0.models.Local;
|
|
973
885
|
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
974
|
-
readonly price_source?:
|
|
886
|
+
readonly price_source?: io.flow.common.v0.unions.PriceSource;
|
|
975
887
|
}
|
|
976
888
|
interface LocalizedLineItemDiscount {
|
|
977
889
|
readonly amount: number;
|
|
@@ -988,17 +900,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
988
900
|
readonly id: string;
|
|
989
901
|
readonly number: string;
|
|
990
902
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
991
|
-
readonly experience?:
|
|
992
|
-
discriminator: 'experience';
|
|
993
|
-
} & io.flow.experience.v0.models.Experience | {
|
|
994
|
-
discriminator: 'experience_reference';
|
|
995
|
-
} & io.flow.experience.v0.models.ExperienceReference;
|
|
903
|
+
readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
996
904
|
readonly customer: io.flow.common.v0.models.OrderCustomer;
|
|
997
905
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
998
906
|
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
999
907
|
readonly expires_at: string;
|
|
1000
908
|
readonly items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
1001
|
-
readonly deliveries:
|
|
909
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
1002
910
|
readonly selections: string[];
|
|
1003
911
|
readonly prices: io.flow.experience.v0.models.OrderPriceDetail[];
|
|
1004
912
|
readonly total: io.flow.catalog.v0.models.LocalizedTotal;
|
|
@@ -1061,7 +969,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
1061
969
|
readonly id: string;
|
|
1062
970
|
readonly items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
1063
971
|
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
1064
|
-
readonly deliveries:
|
|
972
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
1065
973
|
readonly prices: io.flow.experience.v0.models.OrderPriceDetail[];
|
|
1066
974
|
readonly selections: string[];
|
|
1067
975
|
readonly total: io.flow.catalog.v0.models.LocalizedTotal;
|
|
@@ -1213,13 +1121,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
1213
1121
|
readonly name: string;
|
|
1214
1122
|
}
|
|
1215
1123
|
interface PaymentMethodRule {
|
|
1216
|
-
readonly tags:
|
|
1217
|
-
discriminator: 'organization_payment_method_tag';
|
|
1218
|
-
value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag;
|
|
1219
|
-
} | {
|
|
1220
|
-
discriminator: 'experience_payment_method_tag';
|
|
1221
|
-
value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag;
|
|
1222
|
-
})[];
|
|
1124
|
+
readonly tags: io.flow.experience.v0.unions.PaymentMethodTag[];
|
|
1223
1125
|
readonly payment_method: io.flow.reference.v0.models.PaymentMethod;
|
|
1224
1126
|
readonly display_position: number;
|
|
1225
1127
|
readonly content?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
|
|
@@ -1245,16 +1147,8 @@ declare namespace io.flow.experience.v0.models {
|
|
|
1245
1147
|
readonly min?: io.flow.common.v0.models.PriceForm;
|
|
1246
1148
|
}
|
|
1247
1149
|
interface Promotions {
|
|
1248
|
-
readonly applied:
|
|
1249
|
-
|
|
1250
|
-
} & io.flow.experience.v0.models.FreeShipping | {
|
|
1251
|
-
discriminator: 'discount';
|
|
1252
|
-
} & io.flow.experience.v0.models.Discount)[];
|
|
1253
|
-
readonly available: ({
|
|
1254
|
-
discriminator: 'free_shipping';
|
|
1255
|
-
} & io.flow.experience.v0.models.FreeShipping | {
|
|
1256
|
-
discriminator: 'discount';
|
|
1257
|
-
} & io.flow.experience.v0.models.Discount)[];
|
|
1150
|
+
readonly applied: io.flow.experience.v0.unions.Promotion[];
|
|
1151
|
+
readonly available: io.flow.experience.v0.unions.Promotion[];
|
|
1258
1152
|
}
|
|
1259
1153
|
interface RegionReference {
|
|
1260
1154
|
readonly id: string;
|
|
@@ -1734,9 +1628,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1734
1628
|
}
|
|
1735
1629
|
interface ShopifyCustomer {
|
|
1736
1630
|
readonly id: number;
|
|
1737
|
-
readonly addresses:
|
|
1738
|
-
[key: string]: string;
|
|
1739
|
-
}[];
|
|
1631
|
+
readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
1740
1632
|
readonly created_at: string;
|
|
1741
1633
|
readonly tags: string;
|
|
1742
1634
|
readonly tax_exempt: boolean;
|
|
@@ -1757,6 +1649,25 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1757
1649
|
readonly total_spent?: string;
|
|
1758
1650
|
readonly updated_at?: string;
|
|
1759
1651
|
}
|
|
1652
|
+
interface ShopifyCustomerAddress {
|
|
1653
|
+
readonly id: number;
|
|
1654
|
+
readonly customer_id: number;
|
|
1655
|
+
readonly default: boolean;
|
|
1656
|
+
readonly address1?: string;
|
|
1657
|
+
readonly address2?: string;
|
|
1658
|
+
readonly city?: string;
|
|
1659
|
+
readonly company?: string;
|
|
1660
|
+
readonly first_name?: string;
|
|
1661
|
+
readonly last_name?: string;
|
|
1662
|
+
readonly name?: string;
|
|
1663
|
+
readonly phone?: string;
|
|
1664
|
+
readonly country?: string;
|
|
1665
|
+
readonly country_code?: string;
|
|
1666
|
+
readonly country_name?: string;
|
|
1667
|
+
readonly province?: string;
|
|
1668
|
+
readonly province_code?: string;
|
|
1669
|
+
readonly zip?: string;
|
|
1670
|
+
}
|
|
1760
1671
|
interface ShopifyCustomerDelete {
|
|
1761
1672
|
readonly id: number;
|
|
1762
1673
|
}
|
|
@@ -1863,6 +1774,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1863
1774
|
readonly sku: string;
|
|
1864
1775
|
readonly tracked: boolean;
|
|
1865
1776
|
readonly cost?: string;
|
|
1777
|
+
readonly country_code_of_origin?: string;
|
|
1866
1778
|
readonly created_at: string;
|
|
1867
1779
|
readonly updated_at?: string;
|
|
1868
1780
|
}
|
|
@@ -2635,16 +2547,8 @@ declare namespace io.flow.feature.v0.models {
|
|
|
2635
2547
|
readonly released_at?: string;
|
|
2636
2548
|
readonly status: io.flow.feature.v0.enums.FeatureStatus;
|
|
2637
2549
|
readonly type: io.flow.feature.v0.enums.FeatureType;
|
|
2638
|
-
readonly rules:
|
|
2639
|
-
|
|
2640
|
-
} & io.flow.feature.v0.models.BooleanFeatureRule | {
|
|
2641
|
-
discriminator: 'string';
|
|
2642
|
-
} & io.flow.feature.v0.models.StringFeatureRule)[];
|
|
2643
|
-
readonly default?: {
|
|
2644
|
-
discriminator: 'boolean';
|
|
2645
|
-
} & io.flow.feature.v0.models.BooleanFeatureDefaultValue | {
|
|
2646
|
-
discriminator: 'string';
|
|
2647
|
-
} & io.flow.feature.v0.models.StringFeatureDefaultValue;
|
|
2550
|
+
readonly rules: io.flow.feature.v0.unions.FeatureRule[];
|
|
2551
|
+
readonly default?: io.flow.feature.v0.unions.FeatureDefaultValue;
|
|
2648
2552
|
}
|
|
2649
2553
|
interface FeatureContextForm {
|
|
2650
2554
|
readonly experience_key?: string;
|
|
@@ -2655,16 +2559,8 @@ declare namespace io.flow.feature.v0.models {
|
|
|
2655
2559
|
readonly description?: string;
|
|
2656
2560
|
readonly status?: io.flow.feature.v0.enums.FeatureStatus;
|
|
2657
2561
|
readonly type: io.flow.feature.v0.enums.FeatureType;
|
|
2658
|
-
readonly rules:
|
|
2659
|
-
|
|
2660
|
-
} & io.flow.feature.v0.models.BooleanFeatureRuleForm | {
|
|
2661
|
-
discriminator: 'string';
|
|
2662
|
-
} & io.flow.feature.v0.models.StringFeatureRuleForm)[];
|
|
2663
|
-
readonly default?: {
|
|
2664
|
-
discriminator: 'boolean';
|
|
2665
|
-
} & io.flow.feature.v0.models.BooleanFeatureDefaultValue | {
|
|
2666
|
-
discriminator: 'string';
|
|
2667
|
-
} & io.flow.feature.v0.models.StringFeatureDefaultValue;
|
|
2562
|
+
readonly rules: io.flow.feature.v0.unions.FeatureRuleForm[];
|
|
2563
|
+
readonly default?: io.flow.feature.v0.unions.FeatureDefaultValue;
|
|
2668
2564
|
}
|
|
2669
2565
|
interface FeatureGeoForm {
|
|
2670
2566
|
readonly country?: string;
|
|
@@ -2688,11 +2584,7 @@ declare namespace io.flow.feature.v0.models {
|
|
|
2688
2584
|
readonly context: io.flow.feature.v0.models.FeatureContextForm;
|
|
2689
2585
|
}
|
|
2690
2586
|
interface FeatureValueResult {
|
|
2691
|
-
readonly values:
|
|
2692
|
-
discriminator: 'boolean';
|
|
2693
|
-
} & io.flow.feature.v0.models.BooleanFeatureValue | {
|
|
2694
|
-
discriminator: 'string';
|
|
2695
|
-
} & io.flow.feature.v0.models.StringFeatureValue)[];
|
|
2587
|
+
readonly values: io.flow.feature.v0.unions.FeatureValue[];
|
|
2696
2588
|
}
|
|
2697
2589
|
interface StringFeatureDefaultValue {
|
|
2698
2590
|
readonly value: string;
|
|
@@ -2841,15 +2733,7 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
2841
2733
|
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
2842
2734
|
readonly tier: io.flow.fulfillment.v0.models.TierSummary;
|
|
2843
2735
|
readonly window: io.flow.fulfillment.v0.models.DeliveryWindow;
|
|
2844
|
-
readonly rule_outcome?:
|
|
2845
|
-
discriminator: 'amount_margin';
|
|
2846
|
-
} & io.flow.fulfillment.v0.models.AmountMargin | {
|
|
2847
|
-
discriminator: 'at_cost';
|
|
2848
|
-
} & io.flow.fulfillment.v0.models.AtCost | {
|
|
2849
|
-
discriminator: 'flat_rate';
|
|
2850
|
-
} & io.flow.fulfillment.v0.models.FlatRate | {
|
|
2851
|
-
discriminator: 'percent_margin';
|
|
2852
|
-
} & io.flow.fulfillment.v0.models.PercentMargin;
|
|
2736
|
+
readonly rule_outcome?: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
2853
2737
|
readonly weight?: io.flow.fulfillment.v0.models.OptionWeightEstimates;
|
|
2854
2738
|
readonly send_to?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2855
2739
|
readonly surcharge?: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
@@ -2968,24 +2852,12 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
2968
2852
|
interface PartnerCenter {
|
|
2969
2853
|
readonly partner_reference: io.flow.common.v0.models.PartnerReference;
|
|
2970
2854
|
readonly number?: string;
|
|
2971
|
-
readonly fees?:
|
|
2972
|
-
discriminator: 'commercial_invoice_fee';
|
|
2973
|
-
} & io.flow.fulfillment.v0.models.CommercialInvoiceFee | {
|
|
2974
|
-
discriminator: 'inbound_carton_fee';
|
|
2975
|
-
} & io.flow.fulfillment.v0.models.InboundCartonFee | {
|
|
2976
|
-
discriminator: 'outbound_carton_fee';
|
|
2977
|
-
} & io.flow.fulfillment.v0.models.OutboundCartonFee)[];
|
|
2855
|
+
readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
2978
2856
|
}
|
|
2979
2857
|
interface PartnerCenterForm {
|
|
2980
2858
|
readonly partner_id: string;
|
|
2981
2859
|
readonly number?: string;
|
|
2982
|
-
readonly fees?:
|
|
2983
|
-
discriminator: 'commercial_invoice_fee';
|
|
2984
|
-
} & io.flow.fulfillment.v0.models.CommercialInvoiceFee | {
|
|
2985
|
-
discriminator: 'inbound_carton_fee';
|
|
2986
|
-
} & io.flow.fulfillment.v0.models.InboundCartonFee | {
|
|
2987
|
-
discriminator: 'outbound_carton_fee';
|
|
2988
|
-
} & io.flow.fulfillment.v0.models.OutboundCartonFee)[];
|
|
2860
|
+
readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
2989
2861
|
}
|
|
2990
2862
|
interface PercentMargin {
|
|
2991
2863
|
readonly percentage: number;
|
|
@@ -3013,11 +2885,7 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
3013
2885
|
interface Quote {
|
|
3014
2886
|
readonly id: string;
|
|
3015
2887
|
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3016
|
-
readonly deliveries:
|
|
3017
|
-
discriminator: 'digital_delivery';
|
|
3018
|
-
} & io.flow.fulfillment.v0.models.DigitalDelivery | {
|
|
3019
|
-
discriminator: 'physical_delivery';
|
|
3020
|
-
} & io.flow.fulfillment.v0.models.PhysicalDelivery)[];
|
|
2888
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
3021
2889
|
readonly selections: io.flow.fulfillment.v0.models.DeliveryOptionReference[];
|
|
3022
2890
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
3023
2891
|
readonly delivered_duties: io.flow.common.v0.enums.DeliveredDuty[];
|
|
@@ -3114,11 +2982,7 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
3114
2982
|
readonly id: string;
|
|
3115
2983
|
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
3116
2984
|
readonly region: string;
|
|
3117
|
-
readonly centers:
|
|
3118
|
-
discriminator: 'center';
|
|
3119
|
-
} & io.flow.fulfillment.v0.models.Center | {
|
|
3120
|
-
discriminator: 'center_reference';
|
|
3121
|
-
} & io.flow.fulfillment.v0.models.CenterReference)[];
|
|
2985
|
+
readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[];
|
|
3122
2986
|
readonly tiers: io.flow.fulfillment.v0.models.Tier[];
|
|
3123
2987
|
readonly query: io.flow.query.builder.v0.models.Query;
|
|
3124
2988
|
readonly strategy: io.flow.fulfillment.v0.enums.LaneStrategy;
|
|
@@ -3198,28 +3062,12 @@ declare namespace io.flow.fulfillment.v0.models {
|
|
|
3198
3062
|
readonly id: string;
|
|
3199
3063
|
readonly position: number;
|
|
3200
3064
|
readonly query: string;
|
|
3201
|
-
readonly outcome:
|
|
3202
|
-
discriminator: 'amount_margin';
|
|
3203
|
-
} & io.flow.fulfillment.v0.models.AmountMargin | {
|
|
3204
|
-
discriminator: 'at_cost';
|
|
3205
|
-
} & io.flow.fulfillment.v0.models.AtCost | {
|
|
3206
|
-
discriminator: 'flat_rate';
|
|
3207
|
-
} & io.flow.fulfillment.v0.models.FlatRate | {
|
|
3208
|
-
discriminator: 'percent_margin';
|
|
3209
|
-
} & io.flow.fulfillment.v0.models.PercentMargin;
|
|
3065
|
+
readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
3210
3066
|
}
|
|
3211
3067
|
interface TierRuleForm {
|
|
3212
3068
|
readonly position?: number;
|
|
3213
3069
|
readonly query: string;
|
|
3214
|
-
readonly outcome:
|
|
3215
|
-
discriminator: 'amount_margin_form';
|
|
3216
|
-
} & io.flow.fulfillment.v0.models.AmountMarginForm | {
|
|
3217
|
-
discriminator: 'flat_rate_form';
|
|
3218
|
-
} & io.flow.fulfillment.v0.models.FlatRateForm | {
|
|
3219
|
-
discriminator: 'at_cost';
|
|
3220
|
-
} & io.flow.fulfillment.v0.models.AtCost | {
|
|
3221
|
-
discriminator: 'percent_margin';
|
|
3222
|
-
} & io.flow.fulfillment.v0.models.PercentMargin;
|
|
3070
|
+
readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcomeForm;
|
|
3223
3071
|
}
|
|
3224
3072
|
interface TierRuleVersion {
|
|
3225
3073
|
readonly id: string;
|
|
@@ -3297,11 +3145,11 @@ declare namespace io.flow.organization.v0.enums {
|
|
|
3297
3145
|
declare namespace io.flow.organization.v0.models {
|
|
3298
3146
|
interface Invitation {
|
|
3299
3147
|
readonly id: string;
|
|
3300
|
-
readonly organization:
|
|
3148
|
+
readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
|
|
3301
3149
|
readonly email: string;
|
|
3302
3150
|
readonly name: io.flow.common.v0.models.Name;
|
|
3303
3151
|
readonly role?: io.flow.common.v0.enums.Role;
|
|
3304
|
-
readonly roles?:
|
|
3152
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
3305
3153
|
readonly expiration: string;
|
|
3306
3154
|
}
|
|
3307
3155
|
interface InvitationError {
|
|
@@ -3313,7 +3161,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
3313
3161
|
readonly email: string;
|
|
3314
3162
|
readonly name?: io.flow.common.v0.models.Name;
|
|
3315
3163
|
readonly role: io.flow.common.v0.enums.Role;
|
|
3316
|
-
readonly roles?:
|
|
3164
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
3317
3165
|
}
|
|
3318
3166
|
interface InvitationVersion {
|
|
3319
3167
|
readonly id: string;
|
|
@@ -3323,20 +3171,20 @@ declare namespace io.flow.organization.v0.models {
|
|
|
3323
3171
|
}
|
|
3324
3172
|
interface Membership {
|
|
3325
3173
|
readonly id: string;
|
|
3326
|
-
readonly organization:
|
|
3327
|
-
readonly user:
|
|
3174
|
+
readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
|
|
3175
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
3328
3176
|
readonly role?: io.flow.common.v0.enums.Role;
|
|
3329
|
-
readonly roles:
|
|
3177
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
3330
3178
|
}
|
|
3331
3179
|
interface MembershipForm {
|
|
3332
3180
|
readonly organization: string;
|
|
3333
3181
|
readonly user: string;
|
|
3334
3182
|
readonly role: io.flow.common.v0.enums.Role;
|
|
3335
|
-
readonly roles:
|
|
3183
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
3336
3184
|
}
|
|
3337
3185
|
interface MembershipPutForm {
|
|
3338
3186
|
readonly role: io.flow.common.v0.enums.Role;
|
|
3339
|
-
readonly roles:
|
|
3187
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
3340
3188
|
}
|
|
3341
3189
|
interface MembershipVersion {
|
|
3342
3190
|
readonly id: string;
|
|
@@ -3601,9 +3449,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
3601
3449
|
}
|
|
3602
3450
|
interface ClassificationFeatureSetDefault {
|
|
3603
3451
|
readonly organization_id: string;
|
|
3604
|
-
readonly default:
|
|
3605
|
-
discriminator: 'classification_features_category_apparel';
|
|
3606
|
-
} & io.flow.harmonization.internal.v0.models.ClassificationFeaturesCategoryApparel;
|
|
3452
|
+
readonly default: io.flow.harmonization.internal.v0.unions.ClassificationFeatureSet;
|
|
3607
3453
|
}
|
|
3608
3454
|
interface ClassificationFeaturesCategoryApparel {
|
|
3609
3455
|
readonly item_identity?: string;
|
|
@@ -4225,7 +4071,7 @@ declare namespace io.flow.shopify.v0.models {
|
|
|
4225
4071
|
readonly quantity: number;
|
|
4226
4072
|
readonly price: io.flow.shopify.v0.models.ShopifyPrice;
|
|
4227
4073
|
readonly total: io.flow.shopify.v0.models.ShopifyPrice;
|
|
4228
|
-
readonly price_source?:
|
|
4074
|
+
readonly price_source?: io.flow.common.v0.unions.PriceSource;
|
|
4229
4075
|
}
|
|
4230
4076
|
interface ShopifyLocalCartItemMetadata {
|
|
4231
4077
|
readonly line_price: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -4257,7 +4103,7 @@ declare namespace io.flow.shopify.v0.models {
|
|
|
4257
4103
|
readonly lines: io.flow.shopify.v0.models.ShopifyLine[];
|
|
4258
4104
|
readonly prices: io.flow.shopify.v0.models.ShopifyPrice[];
|
|
4259
4105
|
readonly total: io.flow.shopify.v0.models.ShopifyPrice;
|
|
4260
|
-
readonly allocation_details:
|
|
4106
|
+
readonly allocation_details: io.flow.experience.v0.unions.AllocationDetail[];
|
|
4261
4107
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
4262
4108
|
readonly merchant_of_record_entity?: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
4263
4109
|
readonly incoterm?: io.flow.common.v0.enums.Incoterm;
|
|
@@ -4337,9 +4183,7 @@ declare namespace io.flow.shopify.v0.models {
|
|
|
4337
4183
|
readonly range: io.flow.common.v0.models.DatetimeRange;
|
|
4338
4184
|
readonly interval_seconds: number;
|
|
4339
4185
|
readonly total: number;
|
|
4340
|
-
readonly buckets:
|
|
4341
|
-
discriminator: 'shopify_item_event_bucket';
|
|
4342
|
-
} & io.flow.shopify.v0.models.ShopifyItemEventBucket)[];
|
|
4186
|
+
readonly buckets: io.flow.shopify.v0.unions.ShopifyEventBucket[];
|
|
4343
4187
|
}
|
|
4344
4188
|
interface ShopifyVariantFlowMetafield {
|
|
4345
4189
|
readonly prices_item: string;
|
|
@@ -4461,34 +4305,14 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
4461
4305
|
}
|
|
4462
4306
|
interface InternalCardAuthorizationDetails {
|
|
4463
4307
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
4464
|
-
readonly internal?:
|
|
4465
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
4466
|
-
} & io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | {
|
|
4467
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
4468
|
-
} & io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | {
|
|
4469
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
4470
|
-
} & io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | {
|
|
4471
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
4472
|
-
} & io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | {
|
|
4473
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
4474
|
-
} & io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
4308
|
+
readonly internal?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
|
|
4475
4309
|
}
|
|
4476
4310
|
interface InternalPaypalAuthorizationDetails {
|
|
4477
4311
|
readonly paypal_authentication_data: io.flow.payment.internal.v0.models.PaypalAuthenticationDataReference;
|
|
4478
4312
|
}
|
|
4479
4313
|
interface InternalRedirectAuthorizationDetails {
|
|
4480
4314
|
readonly details: io.flow.payment.v0.models.RedirectAuthorizationDetails;
|
|
4481
|
-
readonly internal?:
|
|
4482
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
4483
|
-
} & io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | {
|
|
4484
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
4485
|
-
} & io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | {
|
|
4486
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
4487
|
-
} & io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | {
|
|
4488
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
4489
|
-
} & io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | {
|
|
4490
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
4491
|
-
} & io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
4315
|
+
readonly internal?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
|
|
4492
4316
|
}
|
|
4493
4317
|
interface InternalStripeAuthorizationDetails {
|
|
4494
4318
|
readonly stripe_authentication_data: io.flow.payment.internal.v0.models.StripeAuthenticationDataReference;
|
|
@@ -4911,15 +4735,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
4911
4735
|
}
|
|
4912
4736
|
interface Local {
|
|
4913
4737
|
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
4914
|
-
readonly prices:
|
|
4915
|
-
key: 'localized_item_price';
|
|
4916
|
-
} & io.flow.catalog.v0.models.LocalizedItemPrice | {
|
|
4917
|
-
key: 'localized_item_vat';
|
|
4918
|
-
} & io.flow.catalog.v0.models.LocalizedItemVat | {
|
|
4919
|
-
key: 'localized_item_duty';
|
|
4920
|
-
} & io.flow.catalog.v0.models.LocalizedItemDuty | {
|
|
4921
|
-
key: 'localized_total';
|
|
4922
|
-
} & io.flow.catalog.v0.models.LocalizedTotal)[];
|
|
4738
|
+
readonly prices: io.flow.catalog.v0.unions.LocalizedPrice[];
|
|
4923
4739
|
readonly rates: io.flow.currency.v0.models.Rate[];
|
|
4924
4740
|
readonly spot_rates: {
|
|
4925
4741
|
[key: string]: string;
|
|
@@ -5173,11 +4989,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
5173
4989
|
readonly packaging?: io.flow.common.v0.models.Dimension;
|
|
5174
4990
|
}
|
|
5175
4991
|
interface DiscountForm {
|
|
5176
|
-
readonly offer:
|
|
5177
|
-
discriminator: 'discount_offer_fixed';
|
|
5178
|
-
} & io.flow.common.v0.models.DiscountOfferFixed | {
|
|
5179
|
-
discriminator: 'discount_offer_percent';
|
|
5180
|
-
} & io.flow.common.v0.models.DiscountOfferPercent;
|
|
4992
|
+
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
5181
4993
|
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
5182
4994
|
readonly label?: string;
|
|
5183
4995
|
}
|
|
@@ -5228,9 +5040,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
5228
5040
|
readonly max: number;
|
|
5229
5041
|
}
|
|
5230
5042
|
interface InputSpecificationLimitations {
|
|
5231
|
-
readonly limitations?:
|
|
5232
|
-
discriminator: 'input_specification_limitation_max';
|
|
5233
|
-
} & io.flow.common.v0.models.InputSpecificationLimitationMax)[];
|
|
5043
|
+
readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
|
|
5234
5044
|
}
|
|
5235
5045
|
interface ItemReference {
|
|
5236
5046
|
readonly number: string;
|
|
@@ -5632,9 +5442,7 @@ declare namespace io.flow.experience.internal.v0.models {
|
|
|
5632
5442
|
}
|
|
5633
5443
|
interface DiscountRequestOrderEntitlementForm {
|
|
5634
5444
|
readonly entitlement_key: io.flow.experience.internal.v0.enums.DiscountRequestOrderEntitlementKey;
|
|
5635
|
-
readonly offer_form:
|
|
5636
|
-
discriminator: 'discount_request_offer_fixed_amount_form';
|
|
5637
|
-
} & io.flow.experience.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
5445
|
+
readonly offer_form: io.flow.experience.internal.v0.unions.DiscountRequestOfferForm;
|
|
5638
5446
|
}
|
|
5639
5447
|
interface DiscountRequestOrderForm {
|
|
5640
5448
|
readonly order_entitlement_forms: io.flow.experience.internal.v0.models.DiscountRequestOrderEntitlementForm[];
|
|
@@ -5777,16 +5585,8 @@ declare namespace io.flow.duty.internal.v0.enums {
|
|
|
5777
5585
|
declare namespace io.flow.duty.internal.v0.models {
|
|
5778
5586
|
interface DutyCompoundExpression {
|
|
5779
5587
|
readonly type: io.flow.duty.internal.v0.enums.DutyCompoundExpressionType;
|
|
5780
|
-
readonly left:
|
|
5781
|
-
|
|
5782
|
-
} & io.flow.duty.internal.v0.models.DutyCompoundExpression | {
|
|
5783
|
-
discriminator: 'duty_simple_expression';
|
|
5784
|
-
} & io.flow.duty.internal.v0.models.DutySimpleExpression;
|
|
5785
|
-
readonly right: {
|
|
5786
|
-
discriminator: 'duty_compound_expression';
|
|
5787
|
-
} & io.flow.duty.internal.v0.models.DutyCompoundExpression | {
|
|
5788
|
-
discriminator: 'duty_simple_expression';
|
|
5789
|
-
} & io.flow.duty.internal.v0.models.DutySimpleExpression;
|
|
5588
|
+
readonly left: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
5589
|
+
readonly right: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
5790
5590
|
}
|
|
5791
5591
|
interface DutyRate {
|
|
5792
5592
|
readonly id: string;
|
|
@@ -5794,11 +5594,7 @@ declare namespace io.flow.duty.internal.v0.models {
|
|
|
5794
5594
|
readonly destination: string;
|
|
5795
5595
|
readonly origin: string;
|
|
5796
5596
|
readonly tariff_code: string;
|
|
5797
|
-
readonly expression:
|
|
5798
|
-
discriminator: 'duty_compound_expression';
|
|
5799
|
-
} & io.flow.duty.internal.v0.models.DutyCompoundExpression | {
|
|
5800
|
-
discriminator: 'duty_simple_expression';
|
|
5801
|
-
} & io.flow.duty.internal.v0.models.DutySimpleExpression;
|
|
5597
|
+
readonly expression: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
5802
5598
|
readonly parser_version: string;
|
|
5803
5599
|
readonly created_at: string;
|
|
5804
5600
|
}
|
|
@@ -5865,15 +5661,7 @@ declare namespace io.flow.tracking.internal.v0.models {
|
|
|
5865
5661
|
readonly carrier: string;
|
|
5866
5662
|
readonly carrier_tracking_number: string;
|
|
5867
5663
|
readonly flow_tracking_number: string;
|
|
5868
|
-
readonly credentials:
|
|
5869
|
-
discriminator: 'sf_express';
|
|
5870
|
-
} & io.flow.tracking.internal.v0.models.SfExpress | {
|
|
5871
|
-
discriminator: 'dhl_ecommerce';
|
|
5872
|
-
} & io.flow.tracking.internal.v0.models.DhlEcommerce | {
|
|
5873
|
-
discriminator: 'landmark';
|
|
5874
|
-
} & io.flow.tracking.internal.v0.models.Landmark | {
|
|
5875
|
-
discriminator: 'dhl';
|
|
5876
|
-
} & io.flow.tracking.internal.v0.models.Dhl;
|
|
5664
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
5877
5665
|
}
|
|
5878
5666
|
interface TrackingResponse {
|
|
5879
5667
|
readonly carrier: string;
|
|
@@ -6338,78 +6126,20 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
6338
6126
|
}
|
|
6339
6127
|
interface Export {
|
|
6340
6128
|
readonly id: string;
|
|
6341
|
-
readonly type:
|
|
6342
|
-
discriminator: 'account_transactions_export_type';
|
|
6343
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | {
|
|
6344
|
-
discriminator: 'account_orders_export_type';
|
|
6345
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | {
|
|
6346
|
-
discriminator: 'analytics_export_type';
|
|
6347
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | {
|
|
6348
|
-
discriminator: 'catalog_item_export_type';
|
|
6349
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | {
|
|
6350
|
-
discriminator: 'experience_export_type';
|
|
6351
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | {
|
|
6352
|
-
discriminator: 'harmonization_overview_export_type';
|
|
6353
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | {
|
|
6354
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
6355
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | {
|
|
6356
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
6357
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | {
|
|
6358
|
-
discriminator: 'unharmonized_item_export_type';
|
|
6359
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | {
|
|
6360
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
6361
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | {
|
|
6362
|
-
discriminator: 'order_export_type';
|
|
6363
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType | {
|
|
6364
|
-
discriminator: 'solidus_product_export_type';
|
|
6365
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | {
|
|
6366
|
-
discriminator: 'solidus_variant_export_type';
|
|
6367
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | {
|
|
6368
|
-
discriminator: 'localized_item_prices_export_type';
|
|
6369
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
|
|
6129
|
+
readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
|
|
6370
6130
|
readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
|
|
6371
6131
|
readonly organization_q: string;
|
|
6372
6132
|
readonly created_at: string;
|
|
6373
6133
|
readonly started_at?: string;
|
|
6374
6134
|
readonly completed_at?: string;
|
|
6375
6135
|
readonly url?: string;
|
|
6376
|
-
readonly deliveries:
|
|
6377
|
-
discriminator: 'export_delivery_email';
|
|
6378
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail)[];
|
|
6136
|
+
readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
|
|
6379
6137
|
}
|
|
6380
6138
|
interface ExportDeliveryEmail {
|
|
6381
6139
|
readonly email: string;
|
|
6382
6140
|
}
|
|
6383
6141
|
interface ExportForm {
|
|
6384
|
-
readonly type:
|
|
6385
|
-
discriminator: 'account_transactions_export_type';
|
|
6386
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | {
|
|
6387
|
-
discriminator: 'account_orders_export_type';
|
|
6388
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | {
|
|
6389
|
-
discriminator: 'analytics_export_type';
|
|
6390
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | {
|
|
6391
|
-
discriminator: 'catalog_item_export_type';
|
|
6392
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | {
|
|
6393
|
-
discriminator: 'experience_export_type';
|
|
6394
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | {
|
|
6395
|
-
discriminator: 'harmonization_overview_export_type';
|
|
6396
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | {
|
|
6397
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
6398
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | {
|
|
6399
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
6400
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | {
|
|
6401
|
-
discriminator: 'unharmonized_item_export_type';
|
|
6402
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | {
|
|
6403
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
6404
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | {
|
|
6405
|
-
discriminator: 'order_export_type';
|
|
6406
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType | {
|
|
6407
|
-
discriminator: 'solidus_product_export_type';
|
|
6408
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | {
|
|
6409
|
-
discriminator: 'solidus_variant_export_type';
|
|
6410
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | {
|
|
6411
|
-
discriminator: 'localized_item_prices_export_type';
|
|
6412
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
|
|
6142
|
+
readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
|
|
6413
6143
|
readonly emails?: string[];
|
|
6414
6144
|
readonly organization_q?: string;
|
|
6415
6145
|
}
|
|
@@ -6479,35 +6209,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
6479
6209
|
readonly hour: number;
|
|
6480
6210
|
readonly minute: number;
|
|
6481
6211
|
readonly timezone: string;
|
|
6482
|
-
readonly types:
|
|
6483
|
-
discriminator: 'account_transactions_export_type';
|
|
6484
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | {
|
|
6485
|
-
discriminator: 'account_orders_export_type';
|
|
6486
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | {
|
|
6487
|
-
discriminator: 'analytics_export_type';
|
|
6488
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | {
|
|
6489
|
-
discriminator: 'catalog_item_export_type';
|
|
6490
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | {
|
|
6491
|
-
discriminator: 'experience_export_type';
|
|
6492
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | {
|
|
6493
|
-
discriminator: 'harmonization_overview_export_type';
|
|
6494
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | {
|
|
6495
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
6496
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | {
|
|
6497
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
6498
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | {
|
|
6499
|
-
discriminator: 'unharmonized_item_export_type';
|
|
6500
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | {
|
|
6501
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
6502
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | {
|
|
6503
|
-
discriminator: 'order_export_type';
|
|
6504
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType | {
|
|
6505
|
-
discriminator: 'solidus_product_export_type';
|
|
6506
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | {
|
|
6507
|
-
discriminator: 'solidus_variant_export_type';
|
|
6508
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | {
|
|
6509
|
-
discriminator: 'localized_item_prices_export_type';
|
|
6510
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType)[];
|
|
6212
|
+
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
6511
6213
|
readonly last_sent_at?: string;
|
|
6512
6214
|
}
|
|
6513
6215
|
interface ScheduledExportForm {
|
|
@@ -6516,35 +6218,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
6516
6218
|
readonly hour: number;
|
|
6517
6219
|
readonly minute: number;
|
|
6518
6220
|
readonly timezone: string;
|
|
6519
|
-
readonly types:
|
|
6520
|
-
discriminator: 'account_transactions_export_type';
|
|
6521
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | {
|
|
6522
|
-
discriminator: 'account_orders_export_type';
|
|
6523
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | {
|
|
6524
|
-
discriminator: 'analytics_export_type';
|
|
6525
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | {
|
|
6526
|
-
discriminator: 'catalog_item_export_type';
|
|
6527
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | {
|
|
6528
|
-
discriminator: 'experience_export_type';
|
|
6529
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | {
|
|
6530
|
-
discriminator: 'harmonization_overview_export_type';
|
|
6531
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | {
|
|
6532
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
6533
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | {
|
|
6534
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
6535
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | {
|
|
6536
|
-
discriminator: 'unharmonized_item_export_type';
|
|
6537
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | {
|
|
6538
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
6539
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | {
|
|
6540
|
-
discriminator: 'order_export_type';
|
|
6541
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType | {
|
|
6542
|
-
discriminator: 'solidus_product_export_type';
|
|
6543
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | {
|
|
6544
|
-
discriminator: 'solidus_variant_export_type';
|
|
6545
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | {
|
|
6546
|
-
discriminator: 'localized_item_prices_export_type';
|
|
6547
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType)[];
|
|
6221
|
+
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
6548
6222
|
}
|
|
6549
6223
|
interface SolidusProductExportType {
|
|
6550
6224
|
readonly numbers?: string[];
|
|
@@ -6608,7 +6282,7 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
6608
6282
|
readonly token: string;
|
|
6609
6283
|
}
|
|
6610
6284
|
interface OrderSubmissionForm {
|
|
6611
|
-
readonly authorization?:
|
|
6285
|
+
readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
6612
6286
|
}
|
|
6613
6287
|
interface Shop {
|
|
6614
6288
|
readonly id: string;
|
|
@@ -6730,21 +6404,9 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
6730
6404
|
readonly limit: number;
|
|
6731
6405
|
}
|
|
6732
6406
|
interface ShopifyPromotionOffer {
|
|
6733
|
-
readonly discount:
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
discriminator: 'shopify_promotion_percent';
|
|
6737
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionPercent;
|
|
6738
|
-
readonly entitlement: {
|
|
6739
|
-
discriminator: 'shopify_promotion_item_entitlement';
|
|
6740
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | {
|
|
6741
|
-
discriminator: 'shopify_promotion_order_entitlement';
|
|
6742
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement;
|
|
6743
|
-
readonly max?: ({
|
|
6744
|
-
discriminator: 'shopify_promotion_max_limit';
|
|
6745
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | {
|
|
6746
|
-
discriminator: 'shopify_promotion_max_amount';
|
|
6747
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount)[];
|
|
6407
|
+
readonly discount: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
|
|
6408
|
+
readonly entitlement: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
|
|
6409
|
+
readonly max?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
|
|
6748
6410
|
}
|
|
6749
6411
|
interface ShopifyPromotionOrderEntitlement {
|
|
6750
6412
|
readonly components: io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
|
|
@@ -6757,11 +6419,7 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
6757
6419
|
readonly percent: number;
|
|
6758
6420
|
}
|
|
6759
6421
|
interface ShopifyPromotionRule {
|
|
6760
|
-
readonly prerequisites:
|
|
6761
|
-
discriminator: 'shopify_promotion_item_prerequisite';
|
|
6762
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | {
|
|
6763
|
-
discriminator: 'shopify_promotion_order_prerequisite';
|
|
6764
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite)[];
|
|
6422
|
+
readonly prerequisites: io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
|
|
6765
6423
|
readonly offers: io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
|
|
6766
6424
|
}
|
|
6767
6425
|
interface ShopifyWebhook {
|
|
@@ -7228,11 +6886,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7228
6886
|
readonly number: string;
|
|
7229
6887
|
}
|
|
7230
6888
|
interface AuthorizationPayload {
|
|
7231
|
-
readonly parameters:
|
|
7232
|
-
discriminator: 'google_pay_authorization_payload';
|
|
7233
|
-
} & io.flow.payment.v0.models.GooglePayAuthorizationPayload | {
|
|
7234
|
-
discriminator: 'apple_pay_merchant_validation_payload';
|
|
7235
|
-
} & io.flow.payment.v0.models.ApplePayMerchantValidationPayload;
|
|
6889
|
+
readonly parameters: io.flow.payment.v0.unions.AuthorizationPayloadParameters;
|
|
7236
6890
|
}
|
|
7237
6891
|
interface AuthorizationReference {
|
|
7238
6892
|
readonly id: string;
|
|
@@ -7241,13 +6895,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7241
6895
|
}
|
|
7242
6896
|
interface AuthorizationResult {
|
|
7243
6897
|
readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
|
|
7244
|
-
readonly action?:
|
|
7245
|
-
discriminator: 'authorization_result_action_get';
|
|
7246
|
-
} & io.flow.payment.v0.models.AuthorizationResultActionGet | {
|
|
7247
|
-
discriminator: 'authorization_result_action_post';
|
|
7248
|
-
} & io.flow.payment.v0.models.AuthorizationResultActionPost | {
|
|
7249
|
-
discriminator: 'authorization_result_action_wait';
|
|
7250
|
-
} & io.flow.payment.v0.models.AuthorizationResultActionWait;
|
|
6898
|
+
readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
7251
6899
|
readonly decline_code?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
|
|
7252
6900
|
readonly avs?: io.flow.payment.v0.models.Avs;
|
|
7253
6901
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
@@ -7275,11 +6923,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7275
6923
|
readonly id: string;
|
|
7276
6924
|
readonly timestamp: string;
|
|
7277
6925
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
7278
|
-
readonly authorization:
|
|
7279
|
-
discriminator: 'card_authorization';
|
|
7280
|
-
} & io.flow.payment.v0.models.CardAuthorization | {
|
|
7281
|
-
discriminator: 'online_authorization';
|
|
7282
|
-
} & io.flow.payment.v0.models.OnlineAuthorization;
|
|
6926
|
+
readonly authorization: io.flow.payment.v0.unions.Authorization;
|
|
7283
6927
|
}
|
|
7284
6928
|
interface Avs {
|
|
7285
6929
|
readonly code: io.flow.payment.v0.enums.AvsCode;
|
|
@@ -7348,13 +6992,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7348
6992
|
readonly key: string;
|
|
7349
6993
|
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
7350
6994
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
7351
|
-
readonly card:
|
|
7352
|
-
discriminator: 'card';
|
|
7353
|
-
} & io.flow.payment.v0.models.Card | {
|
|
7354
|
-
discriminator: 'card_reference';
|
|
7355
|
-
} & io.flow.payment.v0.models.CardReference | {
|
|
7356
|
-
discriminator: 'card_summary';
|
|
7357
|
-
} & io.flow.payment.v0.models.CardSummary;
|
|
6995
|
+
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
7358
6996
|
readonly amount: number;
|
|
7359
6997
|
readonly currency: string;
|
|
7360
6998
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
@@ -7514,13 +7152,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7514
7152
|
readonly key: string;
|
|
7515
7153
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
7516
7154
|
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
7517
|
-
readonly details?:
|
|
7518
|
-
discriminator: 'paypal_authorization_details';
|
|
7519
|
-
} & io.flow.payment.v0.models.PaypalAuthorizationDetails | {
|
|
7520
|
-
discriminator: 'redirect_authorization_details';
|
|
7521
|
-
} & io.flow.payment.v0.models.RedirectAuthorizationDetails | {
|
|
7522
|
-
discriminator: 'inline_authorization_details';
|
|
7523
|
-
} & io.flow.payment.v0.models.InlineAuthorizationDetails;
|
|
7155
|
+
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
7524
7156
|
readonly payment?: {
|
|
7525
7157
|
[key: string]: string;
|
|
7526
7158
|
};
|
|
@@ -7562,9 +7194,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7562
7194
|
readonly id: string;
|
|
7563
7195
|
readonly timestamp: string;
|
|
7564
7196
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
7565
|
-
readonly payment:
|
|
7566
|
-
discriminator: 'payment_paypal';
|
|
7567
|
-
} & io.flow.payment.v0.models.PaymentPaypal;
|
|
7197
|
+
readonly payment: io.flow.payment.v0.unions.Payment;
|
|
7568
7198
|
}
|
|
7569
7199
|
interface PaypalAuthorizationDetails {
|
|
7570
7200
|
readonly payment_id: string;
|
|
@@ -7588,9 +7218,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
7588
7218
|
interface RedirectAuthorizationDetails {
|
|
7589
7219
|
readonly id: string;
|
|
7590
7220
|
readonly payment_redirect_url: string;
|
|
7591
|
-
readonly confirmation_details?:
|
|
7592
|
-
discriminator: 'direct_debit';
|
|
7593
|
-
} & io.flow.payment.v0.models.DirectDebit;
|
|
7221
|
+
readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
|
|
7594
7222
|
}
|
|
7595
7223
|
interface RedirectAuthorizationForm {
|
|
7596
7224
|
readonly method: string;
|
|
@@ -7919,24 +7547,12 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
7919
7547
|
readonly id: string;
|
|
7920
7548
|
readonly position: number;
|
|
7921
7549
|
readonly query: string;
|
|
7922
|
-
readonly strategy:
|
|
7923
|
-
discriminator: 'inventory_backorder';
|
|
7924
|
-
} & io.flow.inventory.v0.models.InventoryBackorder | {
|
|
7925
|
-
discriminator: 'inventory_stock';
|
|
7926
|
-
} & io.flow.inventory.v0.models.InventoryStock | {
|
|
7927
|
-
discriminator: 'inventory_unlimited';
|
|
7928
|
-
} & io.flow.inventory.v0.models.InventoryUnlimited;
|
|
7550
|
+
readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
|
|
7929
7551
|
}
|
|
7930
7552
|
interface InventoryRuleForm {
|
|
7931
7553
|
readonly position: number;
|
|
7932
7554
|
readonly query: string;
|
|
7933
|
-
readonly strategy:
|
|
7934
|
-
discriminator: 'inventory_backorder';
|
|
7935
|
-
} & io.flow.inventory.v0.models.InventoryBackorder | {
|
|
7936
|
-
discriminator: 'inventory_stock';
|
|
7937
|
-
} & io.flow.inventory.v0.models.InventoryStock | {
|
|
7938
|
-
discriminator: 'inventory_unlimited';
|
|
7939
|
-
} & io.flow.inventory.v0.models.InventoryUnlimited;
|
|
7555
|
+
readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
|
|
7940
7556
|
}
|
|
7941
7557
|
interface InventoryRuleVersion {
|
|
7942
7558
|
readonly id: string;
|
|
@@ -8090,53 +7706,29 @@ declare namespace io.flow.installment.v0.enums {
|
|
|
8090
7706
|
}
|
|
8091
7707
|
declare namespace io.flow.installment.v0.models {
|
|
8092
7708
|
interface BalanceInstallmentStep {
|
|
8093
|
-
readonly condition:
|
|
8094
|
-
discriminator: 'time_condition';
|
|
8095
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8096
|
-
discriminator: 'order_event_condition';
|
|
8097
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7709
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8098
7710
|
}
|
|
8099
7711
|
interface BalanceInstallmentStepForm {
|
|
8100
|
-
readonly condition:
|
|
8101
|
-
discriminator: 'time_condition';
|
|
8102
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8103
|
-
discriminator: 'order_event_condition';
|
|
8104
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7712
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8105
7713
|
}
|
|
8106
7714
|
interface FixedAmountInstallmentStep {
|
|
8107
7715
|
readonly value: io.flow.common.v0.models.Price;
|
|
8108
|
-
readonly condition:
|
|
8109
|
-
discriminator: 'time_condition';
|
|
8110
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8111
|
-
discriminator: 'order_event_condition';
|
|
8112
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7716
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8113
7717
|
readonly limit?: number;
|
|
8114
7718
|
}
|
|
8115
7719
|
interface FixedAmountInstallmentStepForm {
|
|
8116
7720
|
readonly value: io.flow.common.v0.models.Money;
|
|
8117
|
-
readonly condition:
|
|
8118
|
-
discriminator: 'time_condition';
|
|
8119
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8120
|
-
discriminator: 'order_event_condition';
|
|
8121
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7721
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8122
7722
|
readonly limit?: number;
|
|
8123
7723
|
}
|
|
8124
7724
|
interface FractionInstallmentStep {
|
|
8125
7725
|
readonly fraction: string;
|
|
8126
|
-
readonly condition:
|
|
8127
|
-
discriminator: 'time_condition';
|
|
8128
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8129
|
-
discriminator: 'order_event_condition';
|
|
8130
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7726
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8131
7727
|
readonly limit?: number;
|
|
8132
7728
|
}
|
|
8133
7729
|
interface FractionInstallmentStepForm {
|
|
8134
7730
|
readonly fraction: string;
|
|
8135
|
-
readonly condition:
|
|
8136
|
-
discriminator: 'time_condition';
|
|
8137
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8138
|
-
discriminator: 'order_event_condition';
|
|
8139
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7731
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8140
7732
|
readonly limit?: number;
|
|
8141
7733
|
}
|
|
8142
7734
|
interface Installment {
|
|
@@ -8147,7 +7739,7 @@ declare namespace io.flow.installment.v0.models {
|
|
|
8147
7739
|
readonly plan: io.flow.installment.v0.models.InstallmentPlanReference;
|
|
8148
7740
|
readonly requested: io.flow.common.v0.models.Price;
|
|
8149
7741
|
readonly value: io.flow.common.v0.models.PriceWithBase;
|
|
8150
|
-
readonly authorizations:
|
|
7742
|
+
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
8151
7743
|
}
|
|
8152
7744
|
interface InstallmentAuthorizationReference {
|
|
8153
7745
|
readonly id: string;
|
|
@@ -8190,28 +7782,12 @@ declare namespace io.flow.installment.v0.models {
|
|
|
8190
7782
|
readonly id: string;
|
|
8191
7783
|
readonly status: io.flow.installment.v0.enums.InstallmentProgramStatus;
|
|
8192
7784
|
readonly name: string;
|
|
8193
|
-
readonly steps:
|
|
8194
|
-
discriminator: 'balance_installment_step';
|
|
8195
|
-
} & io.flow.installment.v0.models.BalanceInstallmentStep | {
|
|
8196
|
-
discriminator: 'fixed_amount_installment_step';
|
|
8197
|
-
} & io.flow.installment.v0.models.FixedAmountInstallmentStep | {
|
|
8198
|
-
discriminator: 'percentage_installment_step';
|
|
8199
|
-
} & io.flow.installment.v0.models.PercentageInstallmentStep | {
|
|
8200
|
-
discriminator: 'fraction_installment_step';
|
|
8201
|
-
} & io.flow.installment.v0.models.FractionInstallmentStep)[];
|
|
7785
|
+
readonly steps: io.flow.installment.v0.unions.InstallmentStep[];
|
|
8202
7786
|
}
|
|
8203
7787
|
interface InstallmentProgramForm {
|
|
8204
7788
|
readonly name: string;
|
|
8205
7789
|
readonly status: io.flow.installment.v0.enums.InstallmentProgramStatus;
|
|
8206
|
-
readonly steps:
|
|
8207
|
-
discriminator: 'balance_installment_step_form';
|
|
8208
|
-
} & io.flow.installment.v0.models.BalanceInstallmentStepForm | {
|
|
8209
|
-
discriminator: 'fixed_amount_installment_step_form';
|
|
8210
|
-
} & io.flow.installment.v0.models.FixedAmountInstallmentStepForm | {
|
|
8211
|
-
discriminator: 'percentage_installment_step_form';
|
|
8212
|
-
} & io.flow.installment.v0.models.PercentageInstallmentStepForm | {
|
|
8213
|
-
discriminator: 'fraction_installment_step_form';
|
|
8214
|
-
} & io.flow.installment.v0.models.FractionInstallmentStepForm)[];
|
|
7790
|
+
readonly steps: io.flow.installment.v0.unions.InstallmentStepForm[];
|
|
8215
7791
|
}
|
|
8216
7792
|
interface InstallmentProgramReference {
|
|
8217
7793
|
readonly id: string;
|
|
@@ -8230,20 +7806,12 @@ declare namespace io.flow.installment.v0.models {
|
|
|
8230
7806
|
}
|
|
8231
7807
|
interface PercentageInstallmentStep {
|
|
8232
7808
|
readonly percentage: number;
|
|
8233
|
-
readonly condition:
|
|
8234
|
-
discriminator: 'time_condition';
|
|
8235
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8236
|
-
discriminator: 'order_event_condition';
|
|
8237
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7809
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8238
7810
|
readonly limit?: number;
|
|
8239
7811
|
}
|
|
8240
7812
|
interface PercentageInstallmentStepForm {
|
|
8241
7813
|
readonly percentage: number;
|
|
8242
|
-
readonly condition:
|
|
8243
|
-
discriminator: 'time_condition';
|
|
8244
|
-
} & io.flow.installment.v0.models.TimeCondition | {
|
|
8245
|
-
discriminator: 'order_event_condition';
|
|
8246
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
7814
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
8247
7815
|
readonly limit?: number;
|
|
8248
7816
|
}
|
|
8249
7817
|
interface TimeCondition {
|
|
@@ -8286,7 +7854,7 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
8286
7854
|
readonly id: string;
|
|
8287
7855
|
readonly organization_id: string;
|
|
8288
7856
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
8289
|
-
readonly credentials:
|
|
7857
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8290
7858
|
}
|
|
8291
7859
|
interface CarrierInvoice {
|
|
8292
7860
|
readonly number: string;
|
|
@@ -8353,19 +7921,11 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
8353
7921
|
readonly status: io.flow.experiment.internal.v0.enums.Status;
|
|
8354
7922
|
readonly started_at?: string;
|
|
8355
7923
|
readonly ended_at?: string;
|
|
8356
|
-
readonly variants:
|
|
8357
|
-
discriminator: 'experience_variant';
|
|
8358
|
-
} & io.flow.experiment.internal.v0.models.ExperienceVariant | {
|
|
8359
|
-
discriminator: 'external_variant';
|
|
8360
|
-
} & io.flow.experiment.internal.v0.models.ExternalVariant)[];
|
|
7924
|
+
readonly variants: io.flow.experiment.internal.v0.unions.Variant[];
|
|
8361
7925
|
}
|
|
8362
7926
|
interface ExperimentForm {
|
|
8363
7927
|
readonly name: string;
|
|
8364
|
-
readonly variants:
|
|
8365
|
-
discriminator: 'experience_variant';
|
|
8366
|
-
} & io.flow.experiment.internal.v0.models.ExperienceVariant | {
|
|
8367
|
-
discriminator: 'external_variant';
|
|
8368
|
-
} & io.flow.experiment.internal.v0.models.ExternalVariant)[];
|
|
7928
|
+
readonly variants: io.flow.experiment.internal.v0.unions.Variant[];
|
|
8369
7929
|
}
|
|
8370
7930
|
interface ExperimentResults {
|
|
8371
7931
|
readonly experiment_variant_key: string;
|
|
@@ -8704,15 +8264,7 @@ declare namespace io.flow.content.internal.v0.enums {
|
|
|
8704
8264
|
}
|
|
8705
8265
|
declare namespace io.flow.content.internal.v0.models {
|
|
8706
8266
|
interface ApmContent {
|
|
8707
|
-
readonly processor_description:
|
|
8708
|
-
discriminator: 'dict';
|
|
8709
|
-
} & io.flow.content.internal.v0.models.Dict | {
|
|
8710
|
-
discriminator: 'href';
|
|
8711
|
-
} & io.flow.content.internal.v0.models.Href | {
|
|
8712
|
-
discriminator: 'label';
|
|
8713
|
-
} & io.flow.content.internal.v0.models.Label | {
|
|
8714
|
-
discriminator: 'load';
|
|
8715
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
8267
|
+
readonly processor_description: io.flow.content.internal.v0.unions.ContentItem;
|
|
8716
8268
|
}
|
|
8717
8269
|
interface Checkbox {
|
|
8718
8270
|
readonly name: string;
|
|
@@ -8726,45 +8278,13 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
8726
8278
|
readonly checkout: io.flow.content.internal.v0.models.CheckoutContent;
|
|
8727
8279
|
readonly payments: io.flow.content.internal.v0.models.CheckoutPaymentContent;
|
|
8728
8280
|
readonly marketing: io.flow.content.internal.v0.models.CheckoutMarketingContent;
|
|
8729
|
-
readonly footer:
|
|
8730
|
-
discriminator: 'dict';
|
|
8731
|
-
} & io.flow.content.internal.v0.models.Dict | {
|
|
8732
|
-
discriminator: 'href';
|
|
8733
|
-
} & io.flow.content.internal.v0.models.Href | {
|
|
8734
|
-
discriminator: 'label';
|
|
8735
|
-
} & io.flow.content.internal.v0.models.Label | {
|
|
8736
|
-
discriminator: 'load';
|
|
8737
|
-
} & io.flow.content.internal.v0.models.Load)[];
|
|
8281
|
+
readonly footer: io.flow.content.internal.v0.unions.ContentItem[];
|
|
8738
8282
|
}
|
|
8739
8283
|
interface CheckoutContent {
|
|
8740
|
-
readonly contact_us:
|
|
8741
|
-
discriminator: 'dict';
|
|
8742
|
-
} & io.flow.content.internal.v0.models.Dict | {
|
|
8743
|
-
discriminator: 'href';
|
|
8744
|
-
} & io.flow.content.internal.v0.models.Href | {
|
|
8745
|
-
discriminator: 'label';
|
|
8746
|
-
} & io.flow.content.internal.v0.models.Label | {
|
|
8747
|
-
discriminator: 'load';
|
|
8748
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
8284
|
+
readonly contact_us: io.flow.content.internal.v0.unions.ContentItem;
|
|
8749
8285
|
readonly logo: io.flow.content.internal.v0.models.Logo;
|
|
8750
|
-
readonly privacy_policy?:
|
|
8751
|
-
|
|
8752
|
-
} & io.flow.content.internal.v0.models.Dict | {
|
|
8753
|
-
discriminator: 'href';
|
|
8754
|
-
} & io.flow.content.internal.v0.models.Href | {
|
|
8755
|
-
discriminator: 'label';
|
|
8756
|
-
} & io.flow.content.internal.v0.models.Label | {
|
|
8757
|
-
discriminator: 'load';
|
|
8758
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
8759
|
-
readonly terms?: {
|
|
8760
|
-
discriminator: 'dict';
|
|
8761
|
-
} & io.flow.content.internal.v0.models.Dict | {
|
|
8762
|
-
discriminator: 'href';
|
|
8763
|
-
} & io.flow.content.internal.v0.models.Href | {
|
|
8764
|
-
discriminator: 'label';
|
|
8765
|
-
} & io.flow.content.internal.v0.models.Label | {
|
|
8766
|
-
discriminator: 'load';
|
|
8767
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
8286
|
+
readonly privacy_policy?: io.flow.content.internal.v0.unions.ContentItem;
|
|
8287
|
+
readonly terms?: io.flow.content.internal.v0.unions.ContentItem;
|
|
8768
8288
|
readonly order_summary_message?: io.flow.content.internal.v0.models.Label;
|
|
8769
8289
|
}
|
|
8770
8290
|
interface CheckoutMarketingContent {
|
|
@@ -8787,9 +8307,7 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
8787
8307
|
readonly description?: string;
|
|
8788
8308
|
readonly example?: string;
|
|
8789
8309
|
readonly required?: boolean;
|
|
8790
|
-
readonly validation?:
|
|
8791
|
-
discriminator: 'validation_character_length';
|
|
8792
|
-
} & io.flow.content.internal.v0.models.ValidationCharacterLength)[];
|
|
8310
|
+
readonly validation?: io.flow.content.internal.v0.unions.ValidationRule[];
|
|
8793
8311
|
}
|
|
8794
8312
|
interface ContentSchemaForm {
|
|
8795
8313
|
readonly description?: string;
|
|
@@ -8817,15 +8335,7 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
8817
8335
|
}
|
|
8818
8336
|
interface LabeledContent {
|
|
8819
8337
|
readonly label: io.flow.content.internal.v0.models.Label;
|
|
8820
|
-
readonly contents:
|
|
8821
|
-
discriminator: 'dict';
|
|
8822
|
-
} & io.flow.content.internal.v0.models.Dict | {
|
|
8823
|
-
discriminator: 'href';
|
|
8824
|
-
} & io.flow.content.internal.v0.models.Href | {
|
|
8825
|
-
discriminator: 'label';
|
|
8826
|
-
} & io.flow.content.internal.v0.models.Label | {
|
|
8827
|
-
discriminator: 'load';
|
|
8828
|
-
} & io.flow.content.internal.v0.models.Load)[];
|
|
8338
|
+
readonly contents: io.flow.content.internal.v0.unions.ContentItem[];
|
|
8829
8339
|
}
|
|
8830
8340
|
interface Load {
|
|
8831
8341
|
readonly label: io.flow.content.internal.v0.models.Label;
|
|
@@ -8918,31 +8428,15 @@ declare namespace io.flow.query.builder.v0.models {
|
|
|
8918
8428
|
}
|
|
8919
8429
|
interface Query {
|
|
8920
8430
|
readonly q: string;
|
|
8921
|
-
readonly filters:
|
|
8922
|
-
discriminator: 'structured';
|
|
8923
|
-
} & io.flow.query.builder.v0.models.QueryFilterStructured | {
|
|
8924
|
-
discriminator: 'unstructured';
|
|
8925
|
-
} & io.flow.query.builder.v0.models.QueryFilterUnstructured)[];
|
|
8431
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
8926
8432
|
}
|
|
8927
8433
|
interface QueryBuilder {
|
|
8928
8434
|
readonly q: string;
|
|
8929
|
-
readonly filters:
|
|
8930
|
-
|
|
8931
|
-
} & io.flow.query.builder.v0.models.QueryFilterStructured | {
|
|
8932
|
-
discriminator: 'unstructured';
|
|
8933
|
-
} & io.flow.query.builder.v0.models.QueryFilterUnstructured)[];
|
|
8934
|
-
readonly available: ({
|
|
8935
|
-
discriminator: 'structured';
|
|
8936
|
-
} & io.flow.query.builder.v0.models.AvailableFilterStructured | {
|
|
8937
|
-
discriminator: 'unstructured';
|
|
8938
|
-
} & io.flow.query.builder.v0.models.AvailableFilterUnstructured)[];
|
|
8435
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
8436
|
+
readonly available: io.flow.query.builder.v0.unions.AvailableFilter[];
|
|
8939
8437
|
}
|
|
8940
8438
|
interface QueryBuilderFilterForm {
|
|
8941
|
-
readonly filters:
|
|
8942
|
-
discriminator: 'structured';
|
|
8943
|
-
} & io.flow.query.builder.v0.models.QueryFilterStructuredForm | {
|
|
8944
|
-
discriminator: 'unstructured';
|
|
8945
|
-
} & io.flow.query.builder.v0.models.QueryFilterUnstructuredForm)[];
|
|
8439
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
8946
8440
|
}
|
|
8947
8441
|
interface QueryBuilderQueryForm {
|
|
8948
8442
|
readonly q: string;
|
|
@@ -9248,9 +8742,6 @@ declare namespace io.flow.customer.v0.models {
|
|
|
9248
8742
|
readonly contact?: io.flow.common.v0.models.Contact;
|
|
9249
8743
|
readonly address_preferences?: io.flow.customer.v0.models.CustomerAddressPreference[];
|
|
9250
8744
|
}
|
|
9251
|
-
interface CustomerAddressBookForm {
|
|
9252
|
-
readonly contacts: io.flow.customer.v0.models.CustomerAddressBookContactForm[];
|
|
9253
|
-
}
|
|
9254
8745
|
interface CustomerAddressPreference {
|
|
9255
8746
|
readonly type: io.flow.customer.v0.enums.CustomerAddressType;
|
|
9256
8747
|
}
|
|
@@ -9322,7 +8813,7 @@ declare namespace io.flow.RESERVED_WORD_import.v0.models {
|
|
|
9322
8813
|
readonly started_at?: string;
|
|
9323
8814
|
readonly completed_at?: string;
|
|
9324
8815
|
readonly results?: io.flow.RESERVED_WORD_import.v0.models.ImportResults;
|
|
9325
|
-
readonly deliveries:
|
|
8816
|
+
readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
|
|
9326
8817
|
}
|
|
9327
8818
|
interface ImportForm {
|
|
9328
8819
|
readonly type: io.flow.RESERVED_WORD_import.v0.enums.ImportType;
|
|
@@ -9412,11 +8903,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
9412
8903
|
interface Duty {
|
|
9413
8904
|
readonly rate: number;
|
|
9414
8905
|
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
9415
|
-
readonly deminimis?:
|
|
9416
|
-
discriminator: 'deminimis_simple';
|
|
9417
|
-
} & io.flow.price.v0.models.DeminimisSimple | {
|
|
9418
|
-
discriminator: 'deminimis_per_item';
|
|
9419
|
-
} & io.flow.price.v0.models.DeminimisPerItem;
|
|
8906
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
9420
8907
|
readonly name?: string;
|
|
9421
8908
|
}
|
|
9422
8909
|
interface LocalPriceDetails {
|
|
@@ -9527,11 +9014,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
9527
9014
|
readonly name: string;
|
|
9528
9015
|
readonly rate: number;
|
|
9529
9016
|
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
9530
|
-
readonly deminimis?:
|
|
9531
|
-
discriminator: 'deminimis_simple';
|
|
9532
|
-
} & io.flow.price.v0.models.DeminimisSimple | {
|
|
9533
|
-
discriminator: 'deminimis_per_item';
|
|
9534
|
-
} & io.flow.price.v0.models.DeminimisPerItem;
|
|
9017
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
9535
9018
|
}
|
|
9536
9019
|
}
|
|
9537
9020
|
declare namespace io.flow.price.v0.unions {
|
|
@@ -9787,13 +9270,7 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9787
9270
|
interface BehaviorAudit {
|
|
9788
9271
|
readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
|
|
9789
9272
|
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9790
|
-
readonly roles:
|
|
9791
|
-
discriminator: 'flow_user_role';
|
|
9792
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
9793
|
-
} | {
|
|
9794
|
-
discriminator: 'flow_addon_role';
|
|
9795
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
9796
|
-
})[];
|
|
9273
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
9797
9274
|
}
|
|
9798
9275
|
interface PermissionAudit {
|
|
9799
9276
|
readonly routes: io.flow.permission.v0.models.RouteAudit[];
|
|
@@ -9801,27 +9278,15 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9801
9278
|
}
|
|
9802
9279
|
interface PermissionCheck {
|
|
9803
9280
|
readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
9804
|
-
readonly user?:
|
|
9805
|
-
readonly roles:
|
|
9806
|
-
discriminator: 'flow_user_role';
|
|
9807
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
9808
|
-
} | {
|
|
9809
|
-
discriminator: 'flow_addon_role';
|
|
9810
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
9811
|
-
})[];
|
|
9281
|
+
readonly user?: io.flow.common.v0.unions.ExpandableUser;
|
|
9282
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
9812
9283
|
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
9813
9284
|
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
9814
9285
|
}
|
|
9815
9286
|
interface PermissionError {
|
|
9816
9287
|
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
9817
9288
|
readonly messages: string[];
|
|
9818
|
-
readonly granting_roles?:
|
|
9819
|
-
discriminator: 'flow_user_role';
|
|
9820
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
9821
|
-
} | {
|
|
9822
|
-
discriminator: 'flow_addon_role';
|
|
9823
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
9824
|
-
})[];
|
|
9289
|
+
readonly granting_roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
9825
9290
|
readonly admin_users?: io.flow.common.v0.models.User[];
|
|
9826
9291
|
}
|
|
9827
9292
|
interface PermittedRoute {
|
|
@@ -9832,13 +9297,7 @@ declare namespace io.flow.permission.v0.models {
|
|
|
9832
9297
|
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
9833
9298
|
readonly path: string;
|
|
9834
9299
|
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
9835
|
-
readonly roles:
|
|
9836
|
-
discriminator: 'flow_user_role';
|
|
9837
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
9838
|
-
} | {
|
|
9839
|
-
discriminator: 'flow_addon_role';
|
|
9840
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
9841
|
-
})[];
|
|
9300
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
9842
9301
|
}
|
|
9843
9302
|
interface SimplePermissionCheck {
|
|
9844
9303
|
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
@@ -9913,7 +9372,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9913
9372
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
9914
9373
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
9915
9374
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9916
|
-
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
9917
9375
|
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'product_classification_upserted' | 'product_classification_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted' | 'item_dimension_estimate_deleted' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'export_completed' | 'export_failed' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'next_installment_upserted' | 'next_installment_deleted' | 'installment_upserted' | 'installment_deleted' | 'installment_program_upserted' | 'installment_program_deleted' | 'installment_plan_upserted' | 'installment_plan_deleted' | 'installment_plan_authorization_upserted' | 'installment_plan_authorization_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'label_invoice_upserted' | 'label_invoice_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted' | 'user_deleted';
|
|
9918
9376
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
9919
9377
|
type ExperienceImportType = 'experience_with_settings';
|
|
@@ -10304,15 +9762,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10304
9762
|
readonly number: string;
|
|
10305
9763
|
}
|
|
10306
9764
|
interface ApmContent {
|
|
10307
|
-
readonly processor_description:
|
|
10308
|
-
discriminator: 'dict';
|
|
10309
|
-
} & io.flow.internal.v0.models.Dict | {
|
|
10310
|
-
discriminator: 'href';
|
|
10311
|
-
} & io.flow.internal.v0.models.Href | {
|
|
10312
|
-
discriminator: 'label';
|
|
10313
|
-
} & io.flow.internal.v0.models.Label | {
|
|
10314
|
-
discriminator: 'load';
|
|
10315
|
-
} & io.flow.internal.v0.models.Load;
|
|
9765
|
+
readonly processor_description: io.flow.internal.v0.unions.ContentItem;
|
|
10316
9766
|
}
|
|
10317
9767
|
interface ApplePaymentToken {
|
|
10318
9768
|
readonly data: string;
|
|
@@ -10354,9 +9804,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10354
9804
|
}
|
|
10355
9805
|
interface AuthorizedChargeStatus {
|
|
10356
9806
|
readonly line_item_charges: io.flow.internal.v0.models.AuthorizedLineItemCharge[];
|
|
10357
|
-
readonly order_charges:
|
|
10358
|
-
discriminator: 'authorized_shipping_charge';
|
|
10359
|
-
} & io.flow.internal.v0.models.AuthorizedShippingCharge)[];
|
|
9807
|
+
readonly order_charges: io.flow.internal.v0.unions.AuthorizedOrderCharge[];
|
|
10360
9808
|
readonly authorized: io.flow.common.v0.models.PriceWithBase;
|
|
10361
9809
|
readonly captured: io.flow.common.v0.models.PriceWithBase;
|
|
10362
9810
|
readonly cancelled: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -10383,18 +9831,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10383
9831
|
readonly experiment_key?: string;
|
|
10384
9832
|
}
|
|
10385
9833
|
interface BalanceInstallmentStep {
|
|
10386
|
-
readonly condition:
|
|
10387
|
-
discriminator: 'time_condition';
|
|
10388
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
10389
|
-
discriminator: 'order_event_condition';
|
|
10390
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
9834
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
10391
9835
|
}
|
|
10392
9836
|
interface BalanceInstallmentStepForm {
|
|
10393
|
-
readonly condition:
|
|
10394
|
-
discriminator: 'time_condition';
|
|
10395
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
10396
|
-
discriminator: 'order_event_condition';
|
|
10397
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
9837
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
10398
9838
|
}
|
|
10399
9839
|
interface BankPayment {
|
|
10400
9840
|
readonly id: string;
|
|
@@ -10588,7 +10028,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10588
10028
|
readonly id: string;
|
|
10589
10029
|
readonly organization_id: string;
|
|
10590
10030
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
10591
|
-
readonly credentials:
|
|
10031
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10592
10032
|
}
|
|
10593
10033
|
interface CarrierAccountUpserted {
|
|
10594
10034
|
readonly event_id: string;
|
|
@@ -10745,34 +10185,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10745
10185
|
readonly items: io.flow.experience.v0.models.CheckoutItemContent[];
|
|
10746
10186
|
}
|
|
10747
10187
|
interface CheckoutContentDetails {
|
|
10748
|
-
readonly contact_us:
|
|
10749
|
-
discriminator: 'dict';
|
|
10750
|
-
} & io.flow.internal.v0.models.Dict | {
|
|
10751
|
-
discriminator: 'href';
|
|
10752
|
-
} & io.flow.internal.v0.models.Href | {
|
|
10753
|
-
discriminator: 'label';
|
|
10754
|
-
} & io.flow.internal.v0.models.Label | {
|
|
10755
|
-
discriminator: 'load';
|
|
10756
|
-
} & io.flow.internal.v0.models.Load;
|
|
10188
|
+
readonly contact_us: io.flow.internal.v0.unions.ContentItem;
|
|
10757
10189
|
readonly logo: io.flow.internal.v0.models.Logo;
|
|
10758
|
-
readonly privacy_policy?:
|
|
10759
|
-
|
|
10760
|
-
} & io.flow.internal.v0.models.Dict | {
|
|
10761
|
-
discriminator: 'href';
|
|
10762
|
-
} & io.flow.internal.v0.models.Href | {
|
|
10763
|
-
discriminator: 'label';
|
|
10764
|
-
} & io.flow.internal.v0.models.Label | {
|
|
10765
|
-
discriminator: 'load';
|
|
10766
|
-
} & io.flow.internal.v0.models.Load;
|
|
10767
|
-
readonly terms?: {
|
|
10768
|
-
discriminator: 'dict';
|
|
10769
|
-
} & io.flow.internal.v0.models.Dict | {
|
|
10770
|
-
discriminator: 'href';
|
|
10771
|
-
} & io.flow.internal.v0.models.Href | {
|
|
10772
|
-
discriminator: 'label';
|
|
10773
|
-
} & io.flow.internal.v0.models.Label | {
|
|
10774
|
-
discriminator: 'load';
|
|
10775
|
-
} & io.flow.internal.v0.models.Load;
|
|
10190
|
+
readonly privacy_policy?: io.flow.internal.v0.unions.ContentItem;
|
|
10191
|
+
readonly terms?: io.flow.internal.v0.unions.ContentItem;
|
|
10776
10192
|
readonly order_summary_message?: io.flow.internal.v0.models.Label;
|
|
10777
10193
|
}
|
|
10778
10194
|
interface CheckoutContentSummary {
|
|
@@ -10780,15 +10196,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10780
10196
|
readonly checkout: io.flow.internal.v0.models.CheckoutContentDetails;
|
|
10781
10197
|
readonly payments: io.flow.internal.v0.models.CheckoutPaymentContent;
|
|
10782
10198
|
readonly marketing: io.flow.internal.v0.models.CheckoutMarketingContent;
|
|
10783
|
-
readonly footer:
|
|
10784
|
-
discriminator: 'dict';
|
|
10785
|
-
} & io.flow.internal.v0.models.Dict | {
|
|
10786
|
-
discriminator: 'href';
|
|
10787
|
-
} & io.flow.internal.v0.models.Href | {
|
|
10788
|
-
discriminator: 'label';
|
|
10789
|
-
} & io.flow.internal.v0.models.Label | {
|
|
10790
|
-
discriminator: 'load';
|
|
10791
|
-
} & io.flow.internal.v0.models.Load)[];
|
|
10199
|
+
readonly footer: io.flow.internal.v0.unions.ContentItem[];
|
|
10792
10200
|
}
|
|
10793
10201
|
interface CheckoutFinalizeOrderForm {
|
|
10794
10202
|
readonly expected_order_summary: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
@@ -10819,6 +10227,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10819
10227
|
}
|
|
10820
10228
|
interface CheckoutReferenceForm {
|
|
10821
10229
|
readonly order_number: string;
|
|
10230
|
+
readonly order_form: io.flow.experience.v0.models.OrderPutForm;
|
|
10231
|
+
readonly order_geo: io.flow.experience.v0.models.OrderGeo;
|
|
10232
|
+
readonly session_id: string;
|
|
10822
10233
|
}
|
|
10823
10234
|
interface CheckoutSettings {
|
|
10824
10235
|
readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
|
|
@@ -10830,21 +10241,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10830
10241
|
}
|
|
10831
10242
|
interface CheckoutSubmission {
|
|
10832
10243
|
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
10833
|
-
readonly action?:
|
|
10244
|
+
readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
10834
10245
|
}
|
|
10835
10246
|
interface CheckoutSubmissionForm {
|
|
10836
|
-
readonly authorization_form:
|
|
10247
|
+
readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
|
|
10837
10248
|
readonly installment_program_id?: string;
|
|
10838
10249
|
readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
10839
10250
|
readonly feature_keys?: string[];
|
|
10840
10251
|
}
|
|
10841
10252
|
interface CheckoutSubmitOrderBundle {
|
|
10842
10253
|
readonly order?: io.flow.experience.v0.models.Order;
|
|
10843
|
-
readonly redirect?:
|
|
10254
|
+
readonly redirect?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
10844
10255
|
readonly errors?: io.flow.experience.v0.models.OrderError[];
|
|
10845
10256
|
}
|
|
10846
10257
|
interface CheckoutSubmitOrderForm {
|
|
10847
|
-
readonly authorization_form:
|
|
10258
|
+
readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
|
|
10848
10259
|
readonly installment_program_id?: string;
|
|
10849
10260
|
readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
10850
10261
|
}
|
|
@@ -10997,9 +10408,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10997
10408
|
readonly description?: string;
|
|
10998
10409
|
readonly example?: string;
|
|
10999
10410
|
readonly required?: boolean;
|
|
11000
|
-
readonly validation?:
|
|
11001
|
-
discriminator: 'validation_character_length';
|
|
11002
|
-
} & io.flow.internal.v0.models.ValidationCharacterLength)[];
|
|
10411
|
+
readonly validation?: io.flow.internal.v0.unions.ValidationRule[];
|
|
11003
10412
|
}
|
|
11004
10413
|
interface ContentSchemaForm {
|
|
11005
10414
|
readonly description?: string;
|
|
@@ -11130,9 +10539,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11130
10539
|
}
|
|
11131
10540
|
interface DiscountRequestOrderEntitlementForm {
|
|
11132
10541
|
readonly entitlement_key: io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey;
|
|
11133
|
-
readonly offer_form:
|
|
11134
|
-
discriminator: 'discount_request_offer_fixed_amount_form';
|
|
11135
|
-
} & io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
10542
|
+
readonly offer_form: io.flow.internal.v0.unions.DiscountRequestOfferForm;
|
|
11136
10543
|
}
|
|
11137
10544
|
interface DiscountRequestOrderForm {
|
|
11138
10545
|
readonly order_entitlement_forms: io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm[];
|
|
@@ -11152,16 +10559,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11152
10559
|
}
|
|
11153
10560
|
interface DutyCompoundExpression {
|
|
11154
10561
|
readonly type: io.flow.internal.v0.enums.DutyCompoundExpressionType;
|
|
11155
|
-
readonly left:
|
|
11156
|
-
|
|
11157
|
-
} & io.flow.internal.v0.models.DutyCompoundExpression | {
|
|
11158
|
-
discriminator: 'duty_simple_expression';
|
|
11159
|
-
} & io.flow.internal.v0.models.DutySimpleExpression;
|
|
11160
|
-
readonly right: {
|
|
11161
|
-
discriminator: 'duty_compound_expression';
|
|
11162
|
-
} & io.flow.internal.v0.models.DutyCompoundExpression | {
|
|
11163
|
-
discriminator: 'duty_simple_expression';
|
|
11164
|
-
} & io.flow.internal.v0.models.DutySimpleExpression;
|
|
10562
|
+
readonly left: io.flow.internal.v0.unions.DutyExpression;
|
|
10563
|
+
readonly right: io.flow.internal.v0.unions.DutyExpression;
|
|
11165
10564
|
}
|
|
11166
10565
|
interface DutyRate {
|
|
11167
10566
|
readonly id: string;
|
|
@@ -11169,11 +10568,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11169
10568
|
readonly destination: string;
|
|
11170
10569
|
readonly origin: string;
|
|
11171
10570
|
readonly tariff_code: string;
|
|
11172
|
-
readonly expression:
|
|
11173
|
-
discriminator: 'duty_compound_expression';
|
|
11174
|
-
} & io.flow.internal.v0.models.DutyCompoundExpression | {
|
|
11175
|
-
discriminator: 'duty_simple_expression';
|
|
11176
|
-
} & io.flow.internal.v0.models.DutySimpleExpression;
|
|
10571
|
+
readonly expression: io.flow.internal.v0.unions.DutyExpression;
|
|
11177
10572
|
readonly parser_version: string;
|
|
11178
10573
|
readonly created_at: string;
|
|
11179
10574
|
}
|
|
@@ -11244,10 +10639,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11244
10639
|
readonly value: number;
|
|
11245
10640
|
readonly unit_of_measure?: io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
11246
10641
|
}
|
|
11247
|
-
interface EcommercePlatform {
|
|
11248
|
-
readonly type: io.flow.internal.v0.enums.EcommercePlatformType;
|
|
11249
|
-
readonly version?: string;
|
|
11250
|
-
}
|
|
11251
10642
|
interface EmailForm {
|
|
11252
10643
|
readonly to: string[];
|
|
11253
10644
|
readonly cc?: string[];
|
|
@@ -11332,11 +10723,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11332
10723
|
readonly status: io.flow.internal.v0.enums.Status;
|
|
11333
10724
|
readonly started_at?: string;
|
|
11334
10725
|
readonly ended_at?: string;
|
|
11335
|
-
readonly variants:
|
|
11336
|
-
discriminator: 'experience_variant';
|
|
11337
|
-
} & io.flow.internal.v0.models.ExperienceVariant | {
|
|
11338
|
-
discriminator: 'external_variant';
|
|
11339
|
-
} & io.flow.internal.v0.models.ExternalVariant)[];
|
|
10726
|
+
readonly variants: io.flow.internal.v0.unions.Variant[];
|
|
11340
10727
|
}
|
|
11341
10728
|
interface ExperimentDeleted {
|
|
11342
10729
|
readonly event_id: string;
|
|
@@ -11354,11 +10741,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11354
10741
|
}
|
|
11355
10742
|
interface ExperimentForm {
|
|
11356
10743
|
readonly name: string;
|
|
11357
|
-
readonly variants:
|
|
11358
|
-
discriminator: 'experience_variant';
|
|
11359
|
-
} & io.flow.internal.v0.models.ExperienceVariant | {
|
|
11360
|
-
discriminator: 'external_variant';
|
|
11361
|
-
} & io.flow.internal.v0.models.ExternalVariant)[];
|
|
10744
|
+
readonly variants: io.flow.internal.v0.unions.Variant[];
|
|
11362
10745
|
}
|
|
11363
10746
|
interface ExperimentResults {
|
|
11364
10747
|
readonly experiment_variant_key: string;
|
|
@@ -11428,16 +10811,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11428
10811
|
readonly released_at?: string;
|
|
11429
10812
|
readonly status: io.flow.internal.v0.enums.FeatureStatus;
|
|
11430
10813
|
readonly type: io.flow.internal.v0.enums.FeatureType;
|
|
11431
|
-
readonly rules:
|
|
11432
|
-
|
|
11433
|
-
} & io.flow.internal.v0.models.BooleanFeatureRule | {
|
|
11434
|
-
discriminator: 'string';
|
|
11435
|
-
} & io.flow.internal.v0.models.StringFeatureRule)[];
|
|
11436
|
-
readonly default?: {
|
|
11437
|
-
discriminator: 'boolean';
|
|
11438
|
-
} & io.flow.internal.v0.models.BooleanFeatureDefaultValue | {
|
|
11439
|
-
discriminator: 'string';
|
|
11440
|
-
} & io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
10814
|
+
readonly rules: io.flow.internal.v0.unions.FeatureRule[];
|
|
10815
|
+
readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
11441
10816
|
}
|
|
11442
10817
|
interface FeatureContextForm {
|
|
11443
10818
|
readonly experience_key?: string;
|
|
@@ -11448,16 +10823,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11448
10823
|
readonly description?: string;
|
|
11449
10824
|
readonly status?: io.flow.internal.v0.enums.FeatureStatus;
|
|
11450
10825
|
readonly type: io.flow.internal.v0.enums.FeatureType;
|
|
11451
|
-
readonly rules:
|
|
11452
|
-
|
|
11453
|
-
} & io.flow.internal.v0.models.BooleanFeatureRuleForm | {
|
|
11454
|
-
discriminator: 'string';
|
|
11455
|
-
} & io.flow.internal.v0.models.StringFeatureRuleForm)[];
|
|
11456
|
-
readonly default?: {
|
|
11457
|
-
discriminator: 'boolean';
|
|
11458
|
-
} & io.flow.internal.v0.models.BooleanFeatureDefaultValue | {
|
|
11459
|
-
discriminator: 'string';
|
|
11460
|
-
} & io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
10826
|
+
readonly rules: io.flow.internal.v0.unions.FeatureRuleForm[];
|
|
10827
|
+
readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
11461
10828
|
}
|
|
11462
10829
|
interface FeatureGeoForm {
|
|
11463
10830
|
readonly country?: string;
|
|
@@ -11481,11 +10848,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11481
10848
|
readonly context: io.flow.internal.v0.models.FeatureContextForm;
|
|
11482
10849
|
}
|
|
11483
10850
|
interface FeatureValueResult {
|
|
11484
|
-
readonly values:
|
|
11485
|
-
discriminator: 'boolean';
|
|
11486
|
-
} & io.flow.internal.v0.models.BooleanFeatureValue | {
|
|
11487
|
-
discriminator: 'string';
|
|
11488
|
-
} & io.flow.internal.v0.models.StringFeatureValue)[];
|
|
10851
|
+
readonly values: io.flow.internal.v0.unions.FeatureValue[];
|
|
11489
10852
|
}
|
|
11490
10853
|
interface Fee {
|
|
11491
10854
|
readonly value: io.flow.common.v0.models.Price;
|
|
@@ -11500,20 +10863,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11500
10863
|
}
|
|
11501
10864
|
interface FixedAmountInstallmentStep {
|
|
11502
10865
|
readonly value: io.flow.common.v0.models.Price;
|
|
11503
|
-
readonly condition:
|
|
11504
|
-
discriminator: 'time_condition';
|
|
11505
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
11506
|
-
discriminator: 'order_event_condition';
|
|
11507
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
10866
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
11508
10867
|
readonly limit?: number;
|
|
11509
10868
|
}
|
|
11510
10869
|
interface FixedAmountInstallmentStepForm {
|
|
11511
10870
|
readonly value: io.flow.common.v0.models.Money;
|
|
11512
|
-
readonly condition:
|
|
11513
|
-
discriminator: 'time_condition';
|
|
11514
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
11515
|
-
discriminator: 'order_event_condition';
|
|
11516
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
10871
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
11517
10872
|
readonly limit?: number;
|
|
11518
10873
|
}
|
|
11519
10874
|
interface FlowCurrencySetting {
|
|
@@ -11548,20 +10903,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11548
10903
|
}
|
|
11549
10904
|
interface FractionInstallmentStep {
|
|
11550
10905
|
readonly fraction: string;
|
|
11551
|
-
readonly condition:
|
|
11552
|
-
discriminator: 'time_condition';
|
|
11553
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
11554
|
-
discriminator: 'order_event_condition';
|
|
11555
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
10906
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
11556
10907
|
readonly limit?: number;
|
|
11557
10908
|
}
|
|
11558
10909
|
interface FractionInstallmentStepForm {
|
|
11559
10910
|
readonly fraction: string;
|
|
11560
|
-
readonly condition:
|
|
11561
|
-
discriminator: 'time_condition';
|
|
11562
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
11563
|
-
discriminator: 'order_event_condition';
|
|
11564
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
10911
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
11565
10912
|
readonly limit?: number;
|
|
11566
10913
|
}
|
|
11567
10914
|
interface FraudPendingReview {
|
|
@@ -11825,7 +11172,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11825
11172
|
readonly plan: io.flow.internal.v0.models.InstallmentPlanReference;
|
|
11826
11173
|
readonly requested: io.flow.common.v0.models.Price;
|
|
11827
11174
|
readonly value: io.flow.common.v0.models.PriceWithBase;
|
|
11828
|
-
readonly authorizations:
|
|
11175
|
+
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
11829
11176
|
}
|
|
11830
11177
|
interface InstallmentAuthorizationReference {
|
|
11831
11178
|
readonly id: string;
|
|
@@ -11898,15 +11245,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11898
11245
|
readonly id: string;
|
|
11899
11246
|
readonly status: io.flow.internal.v0.enums.InstallmentProgramStatus;
|
|
11900
11247
|
readonly name: string;
|
|
11901
|
-
readonly steps:
|
|
11902
|
-
discriminator: 'balance_installment_step';
|
|
11903
|
-
} & io.flow.internal.v0.models.BalanceInstallmentStep | {
|
|
11904
|
-
discriminator: 'fixed_amount_installment_step';
|
|
11905
|
-
} & io.flow.internal.v0.models.FixedAmountInstallmentStep | {
|
|
11906
|
-
discriminator: 'percentage_installment_step';
|
|
11907
|
-
} & io.flow.internal.v0.models.PercentageInstallmentStep | {
|
|
11908
|
-
discriminator: 'fraction_installment_step';
|
|
11909
|
-
} & io.flow.internal.v0.models.FractionInstallmentStep)[];
|
|
11248
|
+
readonly steps: io.flow.internal.v0.unions.InstallmentStep[];
|
|
11910
11249
|
}
|
|
11911
11250
|
interface InstallmentProgramDeleted {
|
|
11912
11251
|
readonly event_id: string;
|
|
@@ -11917,15 +11256,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11917
11256
|
interface InstallmentProgramForm {
|
|
11918
11257
|
readonly name: string;
|
|
11919
11258
|
readonly status: io.flow.internal.v0.enums.InstallmentProgramStatus;
|
|
11920
|
-
readonly steps:
|
|
11921
|
-
discriminator: 'balance_installment_step_form';
|
|
11922
|
-
} & io.flow.internal.v0.models.BalanceInstallmentStepForm | {
|
|
11923
|
-
discriminator: 'fixed_amount_installment_step_form';
|
|
11924
|
-
} & io.flow.internal.v0.models.FixedAmountInstallmentStepForm | {
|
|
11925
|
-
discriminator: 'percentage_installment_step_form';
|
|
11926
|
-
} & io.flow.internal.v0.models.PercentageInstallmentStepForm | {
|
|
11927
|
-
discriminator: 'fraction_installment_step_form';
|
|
11928
|
-
} & io.flow.internal.v0.models.FractionInstallmentStepForm)[];
|
|
11259
|
+
readonly steps: io.flow.internal.v0.unions.InstallmentStepForm[];
|
|
11929
11260
|
}
|
|
11930
11261
|
interface InstallmentProgramReference {
|
|
11931
11262
|
readonly id: string;
|
|
@@ -11975,17 +11306,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11975
11306
|
}
|
|
11976
11307
|
interface InternalCardAuthorizationDetails {
|
|
11977
11308
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
11978
|
-
readonly internal?:
|
|
11979
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
11980
|
-
} & io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | {
|
|
11981
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
11982
|
-
} & io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | {
|
|
11983
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
11984
|
-
} & io.flow.internal.v0.models.InternalStripeAuthorizationDetails | {
|
|
11985
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
11986
|
-
} & io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | {
|
|
11987
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
11988
|
-
} & io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
11309
|
+
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
11989
11310
|
}
|
|
11990
11311
|
interface InternalOrder {
|
|
11991
11312
|
readonly order: io.flow.experience.v0.models.Order;
|
|
@@ -11997,17 +11318,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11997
11318
|
}
|
|
11998
11319
|
interface InternalRedirectAuthorizationDetails {
|
|
11999
11320
|
readonly details: io.flow.payment.v0.models.RedirectAuthorizationDetails;
|
|
12000
|
-
readonly internal?:
|
|
12001
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
12002
|
-
} & io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | {
|
|
12003
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
12004
|
-
} & io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | {
|
|
12005
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
12006
|
-
} & io.flow.internal.v0.models.InternalStripeAuthorizationDetails | {
|
|
12007
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
12008
|
-
} & io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | {
|
|
12009
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
12010
|
-
} & io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
11321
|
+
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
12011
11322
|
}
|
|
12012
11323
|
interface InternalStripeAuthorizationDetails {
|
|
12013
11324
|
readonly stripe_authentication_data: io.flow.internal.v0.models.StripeAuthenticationDataReference;
|
|
@@ -12280,15 +11591,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12280
11591
|
}
|
|
12281
11592
|
interface LabeledContent {
|
|
12282
11593
|
readonly label: io.flow.internal.v0.models.Label;
|
|
12283
|
-
readonly contents:
|
|
12284
|
-
discriminator: 'dict';
|
|
12285
|
-
} & io.flow.internal.v0.models.Dict | {
|
|
12286
|
-
discriminator: 'href';
|
|
12287
|
-
} & io.flow.internal.v0.models.Href | {
|
|
12288
|
-
discriminator: 'label';
|
|
12289
|
-
} & io.flow.internal.v0.models.Label | {
|
|
12290
|
-
discriminator: 'load';
|
|
12291
|
-
} & io.flow.internal.v0.models.Load)[];
|
|
11594
|
+
readonly contents: io.flow.internal.v0.unions.ContentItem[];
|
|
12292
11595
|
}
|
|
12293
11596
|
interface LandedCostExport {
|
|
12294
11597
|
readonly event_id: string;
|
|
@@ -12409,16 +11712,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12409
11712
|
readonly catalog: string;
|
|
12410
11713
|
}
|
|
12411
11714
|
interface LocalizedItemsExportSettings {
|
|
12412
|
-
readonly full_export_schedule?:
|
|
12413
|
-
|
|
12414
|
-
} & io.flow.internal.v0.models.ExportScheduleDaily | {
|
|
12415
|
-
discriminator: 'export_schedule_repeated';
|
|
12416
|
-
} & io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
12417
|
-
readonly delta_export_schedule?: {
|
|
12418
|
-
discriminator: 'export_schedule_daily';
|
|
12419
|
-
} & io.flow.internal.v0.models.ExportScheduleDaily | {
|
|
12420
|
-
discriminator: 'export_schedule_repeated';
|
|
12421
|
-
} & io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
11715
|
+
readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
11716
|
+
readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
12422
11717
|
}
|
|
12423
11718
|
interface Location {
|
|
12424
11719
|
readonly type: io.flow.internal.v0.enums.ContentType;
|
|
@@ -12477,9 +11772,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12477
11772
|
readonly refresh_token: string;
|
|
12478
11773
|
}
|
|
12479
11774
|
interface MarketingGatewayAccountMarketLocalization {
|
|
12480
|
-
readonly market:
|
|
12481
|
-
discriminator: 'marketing_gateway_google_market';
|
|
12482
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
11775
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
12483
11776
|
readonly compatible_experiences: io.flow.internal.v0.models.MarketingGatewayExperience[];
|
|
12484
11777
|
readonly existing_markets: io.flow.internal.v0.models.MarketingGatewayExistingMarket[];
|
|
12485
11778
|
readonly configured_markets?: io.flow.internal.v0.models.MarketingGatewayConfiguredMarket;
|
|
@@ -12492,9 +11785,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12492
11785
|
}
|
|
12493
11786
|
interface MarketingGatewayConfiguredMarket {
|
|
12494
11787
|
readonly id: string;
|
|
12495
|
-
readonly market:
|
|
12496
|
-
discriminator: 'marketing_gateway_google_market';
|
|
12497
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
11788
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
12498
11789
|
readonly experience?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
12499
11790
|
readonly existing_market_id: string;
|
|
12500
11791
|
readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
@@ -12502,17 +11793,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12502
11793
|
readonly synced_at?: string;
|
|
12503
11794
|
}
|
|
12504
11795
|
interface MarketingGatewayConfiguredMarketForm {
|
|
12505
|
-
readonly market:
|
|
12506
|
-
discriminator: 'marketing_gateway_google_market';
|
|
12507
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
11796
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
12508
11797
|
readonly experience: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
12509
11798
|
readonly existing_market_id: string;
|
|
12510
11799
|
}
|
|
12511
11800
|
interface MarketingGatewayExistingMarket {
|
|
12512
11801
|
readonly id: string;
|
|
12513
|
-
readonly market:
|
|
12514
|
-
discriminator: 'marketing_gateway_google_market';
|
|
12515
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
11802
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
12516
11803
|
readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
12517
11804
|
readonly sync_status: io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
12518
11805
|
readonly synced_at?: string;
|
|
@@ -12532,7 +11819,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12532
11819
|
readonly country: string;
|
|
12533
11820
|
readonly currency: string;
|
|
12534
11821
|
readonly language: string;
|
|
12535
|
-
readonly
|
|
11822
|
+
readonly tsv_download_url: string;
|
|
12536
11823
|
}
|
|
12537
11824
|
interface MarketingGatewayFilterSummary {
|
|
12538
11825
|
readonly id: string;
|
|
@@ -12703,18 +11990,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12703
11990
|
readonly additional_image_urls?: string[];
|
|
12704
11991
|
}
|
|
12705
11992
|
interface MarketingGatewayProductResult {
|
|
12706
|
-
readonly base_product:
|
|
12707
|
-
|
|
12708
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
12709
|
-
readonly configured_product?: {
|
|
12710
|
-
discriminator: 'marketing_gateway_google_product';
|
|
12711
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
11993
|
+
readonly base_product: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
11994
|
+
readonly configured_product?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
12712
11995
|
readonly configurer_experience?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
12713
11996
|
}
|
|
12714
11997
|
interface MarketingGatewayProductsResult {
|
|
12715
|
-
readonly products:
|
|
12716
|
-
discriminator: 'marketing_gateway_google_product';
|
|
12717
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleProduct)[];
|
|
11998
|
+
readonly products: io.flow.internal.v0.unions.MarketingGatewayProduct[];
|
|
12718
11999
|
readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
12719
12000
|
readonly total_count: number;
|
|
12720
12001
|
}
|
|
@@ -12783,12 +12064,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12783
12064
|
readonly optin_attribute: io.flow.internal.v0.models.OptinAttribute;
|
|
12784
12065
|
readonly region: string;
|
|
12785
12066
|
readonly options: io.flow.internal.v0.enums.PromptOptions[];
|
|
12786
|
-
readonly content:
|
|
12067
|
+
readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
|
|
12787
12068
|
readonly position: number;
|
|
12788
12069
|
readonly enforce_on: string;
|
|
12789
|
-
readonly display?:
|
|
12790
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
12791
|
-
} & io.flow.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
12070
|
+
readonly display?: io.flow.internal.v0.unions.OptinPromptDisplay;
|
|
12792
12071
|
}
|
|
12793
12072
|
interface OptinPromptCheckoutDisplay {
|
|
12794
12073
|
readonly display_position: io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
@@ -12815,9 +12094,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12815
12094
|
readonly content: io.flow.content.internal.v0.models.LocalizationForm;
|
|
12816
12095
|
readonly position: number;
|
|
12817
12096
|
readonly enforce_on?: string;
|
|
12818
|
-
readonly display?:
|
|
12819
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
12820
|
-
} & io.flow.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
12097
|
+
readonly display?: io.flow.internal.v0.unions.OptinPromptDisplay;
|
|
12821
12098
|
}
|
|
12822
12099
|
interface OptinPromptUpserted {
|
|
12823
12100
|
readonly event_id: string;
|
|
@@ -12852,11 +12129,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12852
12129
|
interface OrderDetail {
|
|
12853
12130
|
readonly order: io.flow.experience.v0.models.Order;
|
|
12854
12131
|
readonly status: io.flow.experience.v0.enums.OrderStatus;
|
|
12855
|
-
readonly transactions:
|
|
12856
|
-
discriminator: 'payment_summary_v2';
|
|
12857
|
-
} & io.flow.internal.v0.models.PaymentSummaryV2 | {
|
|
12858
|
-
discriminator: 'fraud_summary';
|
|
12859
|
-
} & io.flow.internal.v0.models.FraudSummary)[];
|
|
12132
|
+
readonly transactions: io.flow.internal.v0.unions.TransactionSummary[];
|
|
12860
12133
|
readonly trackings: io.flow.internal.v0.models.TrackingSummary[];
|
|
12861
12134
|
readonly returns: io.flow.internal.v0.models.ReturnSummary[];
|
|
12862
12135
|
readonly installment_summary?: io.flow.internal.v0.models.InstallmentSummary;
|
|
@@ -12937,7 +12210,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12937
12210
|
readonly shipment_trackings: io.flow.internal.v0.models.FulfillmentShipmentTracking[];
|
|
12938
12211
|
}
|
|
12939
12212
|
interface OrderSubmissionForm {
|
|
12940
|
-
readonly authorization?:
|
|
12213
|
+
readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
12941
12214
|
}
|
|
12942
12215
|
interface OrganizationCurrencySettings {
|
|
12943
12216
|
readonly id: string;
|
|
@@ -13011,7 +12284,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13011
12284
|
}
|
|
13012
12285
|
interface PartnerMembership {
|
|
13013
12286
|
readonly id: string;
|
|
13014
|
-
readonly user:
|
|
12287
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
13015
12288
|
readonly role: io.flow.common.v0.enums.Role;
|
|
13016
12289
|
}
|
|
13017
12290
|
interface PartnerMembershipForm {
|
|
@@ -13064,9 +12337,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13064
12337
|
readonly timestamp: string;
|
|
13065
12338
|
readonly local: io.flow.common.v0.models.Price;
|
|
13066
12339
|
readonly requested: io.flow.common.v0.models.Price;
|
|
13067
|
-
readonly details?:
|
|
13068
|
-
discriminator: 'authorization';
|
|
13069
|
-
} & io.flow.internal.v0.models.Authorization;
|
|
12340
|
+
readonly details?: io.flow.internal.v0.unions.PaymentSummaryDetails;
|
|
13070
12341
|
readonly status?: io.flow.internal.v0.enums.PaymentSummaryStatus;
|
|
13071
12342
|
}
|
|
13072
12343
|
interface PaypalAuthenticationData {
|
|
@@ -13202,20 +12473,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13202
12473
|
}
|
|
13203
12474
|
interface PercentageInstallmentStep {
|
|
13204
12475
|
readonly percentage: number;
|
|
13205
|
-
readonly condition:
|
|
13206
|
-
discriminator: 'time_condition';
|
|
13207
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
13208
|
-
discriminator: 'order_event_condition';
|
|
13209
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
12476
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
13210
12477
|
readonly limit?: number;
|
|
13211
12478
|
}
|
|
13212
12479
|
interface PercentageInstallmentStepForm {
|
|
13213
12480
|
readonly percentage: number;
|
|
13214
|
-
readonly condition:
|
|
13215
|
-
discriminator: 'time_condition';
|
|
13216
|
-
} & io.flow.internal.v0.models.TimeCondition | {
|
|
13217
|
-
discriminator: 'order_event_condition';
|
|
13218
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
12481
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
13219
12482
|
readonly limit?: number;
|
|
13220
12483
|
}
|
|
13221
12484
|
interface PhraseClassified {
|
|
@@ -13567,21 +12830,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13567
12830
|
readonly limit: number;
|
|
13568
12831
|
}
|
|
13569
12832
|
interface ShopifyPromotionOffer {
|
|
13570
|
-
readonly discount:
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
discriminator: 'shopify_promotion_percent';
|
|
13574
|
-
} & io.flow.internal.v0.models.ShopifyPromotionPercent;
|
|
13575
|
-
readonly entitlement: {
|
|
13576
|
-
discriminator: 'shopify_promotion_item_entitlement';
|
|
13577
|
-
} & io.flow.internal.v0.models.ShopifyPromotionItemEntitlement | {
|
|
13578
|
-
discriminator: 'shopify_promotion_order_entitlement';
|
|
13579
|
-
} & io.flow.internal.v0.models.ShopifyPromotionOrderEntitlement;
|
|
13580
|
-
readonly max?: ({
|
|
13581
|
-
discriminator: 'shopify_promotion_max_limit';
|
|
13582
|
-
} & io.flow.internal.v0.models.ShopifyPromotionMaxLimit | {
|
|
13583
|
-
discriminator: 'shopify_promotion_max_amount';
|
|
13584
|
-
} & io.flow.internal.v0.models.ShopifyPromotionMaxAmount)[];
|
|
12833
|
+
readonly discount: io.flow.internal.v0.unions.ShopifyPromotionOfferDiscount;
|
|
12834
|
+
readonly entitlement: io.flow.internal.v0.unions.ShopifyPromotionOfferEntitlement;
|
|
12835
|
+
readonly max?: io.flow.internal.v0.unions.ShopifyPromotionOfferMax[];
|
|
13585
12836
|
}
|
|
13586
12837
|
interface ShopifyPromotionOrderEntitlement {
|
|
13587
12838
|
readonly components: io.flow.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
|
|
@@ -13594,11 +12845,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13594
12845
|
readonly percent: number;
|
|
13595
12846
|
}
|
|
13596
12847
|
interface ShopifyPromotionRule {
|
|
13597
|
-
readonly prerequisites:
|
|
13598
|
-
discriminator: 'shopify_promotion_item_prerequisite';
|
|
13599
|
-
} & io.flow.internal.v0.models.ShopifyPromotionItemPrerequisite | {
|
|
13600
|
-
discriminator: 'shopify_promotion_order_prerequisite';
|
|
13601
|
-
} & io.flow.internal.v0.models.ShopifyPromotionOrderPrerequisite)[];
|
|
12848
|
+
readonly prerequisites: io.flow.internal.v0.unions.ShopifyPromotionPrerequisite[];
|
|
13602
12849
|
readonly offers: io.flow.internal.v0.models.ShopifyPromotionOffer[];
|
|
13603
12850
|
}
|
|
13604
12851
|
interface ShopifyShopDeleted {
|
|
@@ -13867,18 +13114,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13867
13114
|
readonly order_number: string;
|
|
13868
13115
|
readonly target_currency_code: string;
|
|
13869
13116
|
readonly total: number;
|
|
13870
|
-
readonly tax:
|
|
13871
|
-
discriminator: 'calculated_tax_amount';
|
|
13872
|
-
} & io.flow.internal.v0.models.CalculatedTaxAmount | {
|
|
13873
|
-
discriminator: 'no_calculated_tax_amount';
|
|
13874
|
-
} & io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
13117
|
+
readonly tax: io.flow.internal.v0.unions.TaxAmount;
|
|
13875
13118
|
readonly lines: io.flow.internal.v0.models.TaxCalculationLineItem[];
|
|
13876
13119
|
readonly shipping_total: number;
|
|
13877
|
-
readonly shipping_tax:
|
|
13878
|
-
discriminator: 'calculated_tax_amount';
|
|
13879
|
-
} & io.flow.internal.v0.models.CalculatedTaxAmount | {
|
|
13880
|
-
discriminator: 'no_calculated_tax_amount';
|
|
13881
|
-
} & io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
13120
|
+
readonly shipping_tax: io.flow.internal.v0.unions.TaxAmount;
|
|
13882
13121
|
readonly customer_code?: string;
|
|
13883
13122
|
}
|
|
13884
13123
|
interface TaxCalculationError {
|
|
@@ -13900,11 +13139,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13900
13139
|
readonly ship_from?: io.flow.common.v0.models.Address;
|
|
13901
13140
|
readonly quantity: number;
|
|
13902
13141
|
readonly total: number;
|
|
13903
|
-
readonly tax:
|
|
13904
|
-
discriminator: 'calculated_tax_amount';
|
|
13905
|
-
} & io.flow.internal.v0.models.CalculatedTaxAmount | {
|
|
13906
|
-
discriminator: 'no_calculated_tax_amount';
|
|
13907
|
-
} & io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
13142
|
+
readonly tax: io.flow.internal.v0.unions.TaxAmount;
|
|
13908
13143
|
readonly sku?: string;
|
|
13909
13144
|
readonly description?: string;
|
|
13910
13145
|
}
|
|
@@ -13917,6 +13152,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13917
13152
|
readonly tax_code?: string;
|
|
13918
13153
|
readonly sku?: string;
|
|
13919
13154
|
readonly description?: string;
|
|
13155
|
+
readonly category_code?: string;
|
|
13920
13156
|
}
|
|
13921
13157
|
interface TaxRemittanceTransaction {
|
|
13922
13158
|
readonly id: string;
|
|
@@ -13959,15 +13195,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13959
13195
|
readonly carrier: string;
|
|
13960
13196
|
readonly carrier_tracking_number: string;
|
|
13961
13197
|
readonly flow_tracking_number: string;
|
|
13962
|
-
readonly credentials:
|
|
13963
|
-
discriminator: 'sf_express';
|
|
13964
|
-
} & io.flow.internal.v0.models.SfExpress | {
|
|
13965
|
-
discriminator: 'dhl_ecommerce';
|
|
13966
|
-
} & io.flow.internal.v0.models.DhlEcommerce | {
|
|
13967
|
-
discriminator: 'landmark';
|
|
13968
|
-
} & io.flow.internal.v0.models.Landmark | {
|
|
13969
|
-
discriminator: 'dhl';
|
|
13970
|
-
} & io.flow.internal.v0.models.Dhl;
|
|
13198
|
+
readonly credentials: io.flow.internal.v0.unions.CarrierCredentials;
|
|
13971
13199
|
}
|
|
13972
13200
|
interface TrackingRequestUpserted {
|
|
13973
13201
|
readonly event_id: string;
|
|
@@ -14798,8 +14026,6 @@ export declare type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulk
|
|
|
14798
14026
|
export declare type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
|
|
14799
14027
|
export declare type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpression;
|
|
14800
14028
|
export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
|
|
14801
|
-
export declare type EcommercePlatform = io.flow.internal.v0.models.EcommercePlatform;
|
|
14802
|
-
export declare type EcommercePlatformType = io.flow.internal.v0.enums.EcommercePlatformType;
|
|
14803
14029
|
export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
|
|
14804
14030
|
export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
|
|
14805
14031
|
export declare type Encryption = io.flow.internal.v0.models.Encryption;
|