@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/src/api-internal.ts
CHANGED
|
@@ -56,25 +56,7 @@ namespace io.flow.ratecard.v0.models {
|
|
|
56
56
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
57
57
|
readonly currency: string;
|
|
58
58
|
readonly amount: number;
|
|
59
|
-
readonly fees:
|
|
60
|
-
| {
|
|
61
|
-
discriminator: 'ddp_ratecard_fee';
|
|
62
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee
|
|
63
|
-
| {
|
|
64
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
65
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
66
|
-
| {
|
|
67
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
68
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
|
|
69
|
-
| {
|
|
70
|
-
discriminator: 'return_package_ratecard_fee';
|
|
71
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
|
|
72
|
-
| {
|
|
73
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
74
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
75
|
-
| {
|
|
76
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
77
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
59
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
78
60
|
readonly total: number;
|
|
79
61
|
}
|
|
80
62
|
|
|
@@ -141,25 +123,7 @@ namespace io.flow.ratecard.v0.models {
|
|
|
141
123
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
142
124
|
readonly currency: string;
|
|
143
125
|
readonly amount: number;
|
|
144
|
-
readonly fees:
|
|
145
|
-
| {
|
|
146
|
-
discriminator: 'ddp_ratecard_fee';
|
|
147
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee
|
|
148
|
-
| {
|
|
149
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
150
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
151
|
-
| {
|
|
152
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
153
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
|
|
154
|
-
| {
|
|
155
|
-
discriminator: 'return_package_ratecard_fee';
|
|
156
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
|
|
157
|
-
| {
|
|
158
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
159
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
160
|
-
| {
|
|
161
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
162
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
126
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
163
127
|
readonly total: number;
|
|
164
128
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
165
129
|
readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
|
|
@@ -191,25 +155,7 @@ namespace io.flow.ratecard.v0.models {
|
|
|
191
155
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
192
156
|
readonly destination: io.flow.common.v0.models.Zone;
|
|
193
157
|
readonly dim_factor: number;
|
|
194
|
-
readonly fees:
|
|
195
|
-
| {
|
|
196
|
-
discriminator: 'ddp_ratecard_fee';
|
|
197
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee
|
|
198
|
-
| {
|
|
199
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
200
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
201
|
-
| {
|
|
202
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
203
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
|
|
204
|
-
| {
|
|
205
|
-
discriminator: 'return_package_ratecard_fee';
|
|
206
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
|
|
207
|
-
| {
|
|
208
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
209
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
210
|
-
| {
|
|
211
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
212
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
158
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
213
159
|
readonly origin: io.flow.common.v0.models.Zone;
|
|
214
160
|
readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
215
161
|
readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
|
|
@@ -225,25 +171,7 @@ namespace io.flow.ratecard.v0.models {
|
|
|
225
171
|
readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
|
|
226
172
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
227
173
|
readonly dim_factor: number;
|
|
228
|
-
readonly fees:
|
|
229
|
-
| {
|
|
230
|
-
discriminator: 'ddp_ratecard_fee';
|
|
231
|
-
} & io.flow.ratecard.v0.models.DdpRatecardFee
|
|
232
|
-
| {
|
|
233
|
-
discriminator: 'fuel_surcharge_ratecard_fee';
|
|
234
|
-
} & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
235
|
-
| {
|
|
236
|
-
discriminator: 'oversized_shipment_ratecard_fee';
|
|
237
|
-
} & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
|
|
238
|
-
| {
|
|
239
|
-
discriminator: 'return_package_ratecard_fee';
|
|
240
|
-
} & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
|
|
241
|
-
| {
|
|
242
|
-
discriminator: 'crossdock_ratecard_fee';
|
|
243
|
-
} & io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
244
|
-
| {
|
|
245
|
-
discriminator: 'remote_area_ratecard_fee';
|
|
246
|
-
} & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
|
|
174
|
+
readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
|
|
247
175
|
readonly origin: io.flow.common.v0.models.Zone;
|
|
248
176
|
readonly rounding: io.flow.common.v0.models.Rounding;
|
|
249
177
|
readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
|
|
@@ -406,12 +334,10 @@ namespace io.flow.optin.internal.v0.models {
|
|
|
406
334
|
readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
|
|
407
335
|
readonly region: string;
|
|
408
336
|
readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
|
|
409
|
-
readonly content:
|
|
337
|
+
readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
|
|
410
338
|
readonly position: number;
|
|
411
339
|
readonly enforce_on: string;
|
|
412
|
-
readonly display?:
|
|
413
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
414
|
-
} & io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
340
|
+
readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
|
|
415
341
|
}
|
|
416
342
|
|
|
417
343
|
export interface OptinPromptCheckoutDisplay {
|
|
@@ -436,9 +362,7 @@ namespace io.flow.optin.internal.v0.models {
|
|
|
436
362
|
readonly content: io.flow.content.internal.v0.models.LocalizationForm;
|
|
437
363
|
readonly position: number;
|
|
438
364
|
readonly enforce_on?: string;
|
|
439
|
-
readonly display?:
|
|
440
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
441
|
-
} & io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
365
|
+
readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
|
|
442
366
|
}
|
|
443
367
|
}
|
|
444
368
|
|
|
@@ -829,13 +753,7 @@ namespace io.flow.experience.v0.enums {
|
|
|
829
753
|
namespace io.flow.experience.v0.models {
|
|
830
754
|
export interface Allocation {
|
|
831
755
|
readonly order: io.flow.experience.v0.models.AllocationOrderSummary;
|
|
832
|
-
readonly details:
|
|
833
|
-
| {
|
|
834
|
-
discriminator: 'allocation_line_detail';
|
|
835
|
-
} & io.flow.experience.v0.models.AllocationLineDetail
|
|
836
|
-
| {
|
|
837
|
-
discriminator: 'allocation_order_detail';
|
|
838
|
-
} & io.flow.experience.v0.models.AllocationOrderDetail)[];
|
|
756
|
+
readonly details: io.flow.experience.v0.unions.AllocationDetail[];
|
|
839
757
|
}
|
|
840
758
|
|
|
841
759
|
export interface AllocationDetailComponent {
|
|
@@ -858,39 +776,15 @@ namespace io.flow.experience.v0.models {
|
|
|
858
776
|
readonly key: io.flow.experience.v0.enums.OrderPriceDetailKey;
|
|
859
777
|
readonly price: io.flow.common.v0.models.PriceWithBase;
|
|
860
778
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
861
|
-
readonly included:
|
|
862
|
-
|
|
863
|
-
discriminator: 'allocation_detail_component';
|
|
864
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent
|
|
865
|
-
| {
|
|
866
|
-
discriminator: 'allocation_levy_component';
|
|
867
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
868
|
-
readonly not_included: (
|
|
869
|
-
| {
|
|
870
|
-
discriminator: 'allocation_detail_component';
|
|
871
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent
|
|
872
|
-
| {
|
|
873
|
-
discriminator: 'allocation_levy_component';
|
|
874
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
779
|
+
readonly included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
780
|
+
readonly not_included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
875
781
|
}
|
|
876
782
|
|
|
877
783
|
export interface AllocationOrderDetail {
|
|
878
784
|
readonly key: io.flow.experience.v0.enums.OrderPriceDetailKey;
|
|
879
785
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
880
|
-
readonly included:
|
|
881
|
-
|
|
882
|
-
discriminator: 'allocation_detail_component';
|
|
883
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent
|
|
884
|
-
| {
|
|
885
|
-
discriminator: 'allocation_levy_component';
|
|
886
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
887
|
-
readonly not_included: (
|
|
888
|
-
| {
|
|
889
|
-
discriminator: 'allocation_detail_component';
|
|
890
|
-
} & io.flow.experience.v0.models.AllocationDetailComponent
|
|
891
|
-
| {
|
|
892
|
-
discriminator: 'allocation_levy_component';
|
|
893
|
-
} & io.flow.experience.v0.models.AllocationLevyComponent)[];
|
|
786
|
+
readonly included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
787
|
+
readonly not_included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
894
788
|
}
|
|
895
789
|
|
|
896
790
|
export interface AllocationOrderSummary {
|
|
@@ -902,13 +796,7 @@ namespace io.flow.experience.v0.models {
|
|
|
902
796
|
export interface AllocationV2 {
|
|
903
797
|
readonly id: string;
|
|
904
798
|
readonly order: io.flow.experience.v0.models.AllocationOrderSummary;
|
|
905
|
-
readonly details:
|
|
906
|
-
| {
|
|
907
|
-
discriminator: 'allocation_line_detail';
|
|
908
|
-
} & io.flow.experience.v0.models.AllocationLineDetail
|
|
909
|
-
| {
|
|
910
|
-
discriminator: 'allocation_order_detail';
|
|
911
|
-
} & io.flow.experience.v0.models.AllocationOrderDetail)[];
|
|
799
|
+
readonly details: io.flow.experience.v0.unions.AllocationDetail[];
|
|
912
800
|
readonly total: io.flow.catalog.v0.models.LocalizedTotal;
|
|
913
801
|
}
|
|
914
802
|
|
|
@@ -916,13 +804,7 @@ namespace io.flow.experience.v0.models {
|
|
|
916
804
|
readonly id: string;
|
|
917
805
|
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
918
806
|
readonly region: io.flow.experience.v0.models.RegionReference;
|
|
919
|
-
readonly promotions:
|
|
920
|
-
| {
|
|
921
|
-
discriminator: 'free_shipping';
|
|
922
|
-
} & io.flow.experience.v0.models.FreeShipping
|
|
923
|
-
| {
|
|
924
|
-
discriminator: 'discount';
|
|
925
|
-
} & io.flow.experience.v0.models.Discount)[];
|
|
807
|
+
readonly promotions: io.flow.experience.v0.unions.Promotion[];
|
|
926
808
|
}
|
|
927
809
|
|
|
928
810
|
export interface CheckoutAttribute {
|
|
@@ -959,13 +841,7 @@ namespace io.flow.experience.v0.models {
|
|
|
959
841
|
|
|
960
842
|
export interface CreditPayment {
|
|
961
843
|
readonly id: string;
|
|
962
|
-
readonly order:
|
|
963
|
-
| {
|
|
964
|
-
discriminator: 'order';
|
|
965
|
-
} & io.flow.experience.v0.models.Order
|
|
966
|
-
| {
|
|
967
|
-
discriminator: 'order_reference';
|
|
968
|
-
} & io.flow.experience.v0.models.OrderReference;
|
|
844
|
+
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
969
845
|
readonly key: string;
|
|
970
846
|
readonly description: string;
|
|
971
847
|
readonly value: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -1176,13 +1052,7 @@ namespace io.flow.experience.v0.models {
|
|
|
1176
1052
|
|
|
1177
1053
|
export interface FreeShippingOrderPromotion {
|
|
1178
1054
|
readonly id: string;
|
|
1179
|
-
readonly order:
|
|
1180
|
-
| {
|
|
1181
|
-
discriminator: 'order';
|
|
1182
|
-
} & io.flow.experience.v0.models.Order
|
|
1183
|
-
| {
|
|
1184
|
-
discriminator: 'order_reference';
|
|
1185
|
-
} & io.flow.experience.v0.models.OrderReference;
|
|
1055
|
+
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
1186
1056
|
readonly key: string;
|
|
1187
1057
|
readonly trigger: io.flow.experience.v0.models.OrderPromotionTrigger;
|
|
1188
1058
|
readonly max?: io.flow.common.v0.models.Price;
|
|
@@ -1273,7 +1143,7 @@ namespace io.flow.experience.v0.models {
|
|
|
1273
1143
|
};
|
|
1274
1144
|
readonly local: io.flow.catalog.v0.models.Local;
|
|
1275
1145
|
readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
|
|
1276
|
-
readonly price_source?:
|
|
1146
|
+
readonly price_source?: io.flow.common.v0.unions.PriceSource;
|
|
1277
1147
|
}
|
|
1278
1148
|
|
|
1279
1149
|
export interface LocalizedLineItemDiscount {
|
|
@@ -1293,19 +1163,13 @@ namespace io.flow.experience.v0.models {
|
|
|
1293
1163
|
readonly id: string;
|
|
1294
1164
|
readonly number: string;
|
|
1295
1165
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
1296
|
-
readonly experience?:
|
|
1297
|
-
| {
|
|
1298
|
-
discriminator: 'experience';
|
|
1299
|
-
} & io.flow.experience.v0.models.Experience
|
|
1300
|
-
| {
|
|
1301
|
-
discriminator: 'experience_reference';
|
|
1302
|
-
} & io.flow.experience.v0.models.ExperienceReference;
|
|
1166
|
+
readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
1303
1167
|
readonly customer: io.flow.common.v0.models.OrderCustomer;
|
|
1304
1168
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
1305
1169
|
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
1306
1170
|
readonly expires_at: string;
|
|
1307
1171
|
readonly items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
1308
|
-
readonly deliveries:
|
|
1172
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
1309
1173
|
readonly selections: string[];
|
|
1310
1174
|
readonly prices: io.flow.experience.v0.models.OrderPriceDetail[];
|
|
1311
1175
|
readonly total: io.flow.catalog.v0.models.LocalizedTotal;
|
|
@@ -1378,7 +1242,7 @@ namespace io.flow.experience.v0.models {
|
|
|
1378
1242
|
readonly id: string;
|
|
1379
1243
|
readonly items: io.flow.experience.v0.models.LocalizedLineItem[];
|
|
1380
1244
|
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
1381
|
-
readonly deliveries:
|
|
1245
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
1382
1246
|
readonly prices: io.flow.experience.v0.models.OrderPriceDetail[];
|
|
1383
1247
|
readonly selections: string[];
|
|
1384
1248
|
readonly total: io.flow.catalog.v0.models.LocalizedTotal;
|
|
@@ -1555,15 +1419,7 @@ namespace io.flow.experience.v0.models {
|
|
|
1555
1419
|
}
|
|
1556
1420
|
|
|
1557
1421
|
export interface PaymentMethodRule {
|
|
1558
|
-
readonly tags:
|
|
1559
|
-
| {
|
|
1560
|
-
discriminator: 'organization_payment_method_tag';
|
|
1561
|
-
value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag;
|
|
1562
|
-
}
|
|
1563
|
-
| {
|
|
1564
|
-
discriminator: 'experience_payment_method_tag';
|
|
1565
|
-
value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag;
|
|
1566
|
-
})[];
|
|
1422
|
+
readonly tags: io.flow.experience.v0.unions.PaymentMethodTag[];
|
|
1567
1423
|
readonly payment_method: io.flow.reference.v0.models.PaymentMethod;
|
|
1568
1424
|
readonly display_position: number;
|
|
1569
1425
|
readonly content?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
|
|
@@ -1594,20 +1450,8 @@ namespace io.flow.experience.v0.models {
|
|
|
1594
1450
|
}
|
|
1595
1451
|
|
|
1596
1452
|
export interface Promotions {
|
|
1597
|
-
readonly applied:
|
|
1598
|
-
|
|
1599
|
-
discriminator: 'free_shipping';
|
|
1600
|
-
} & io.flow.experience.v0.models.FreeShipping
|
|
1601
|
-
| {
|
|
1602
|
-
discriminator: 'discount';
|
|
1603
|
-
} & io.flow.experience.v0.models.Discount)[];
|
|
1604
|
-
readonly available: (
|
|
1605
|
-
| {
|
|
1606
|
-
discriminator: 'free_shipping';
|
|
1607
|
-
} & io.flow.experience.v0.models.FreeShipping
|
|
1608
|
-
| {
|
|
1609
|
-
discriminator: 'discount';
|
|
1610
|
-
} & io.flow.experience.v0.models.Discount)[];
|
|
1453
|
+
readonly applied: io.flow.experience.v0.unions.Promotion[];
|
|
1454
|
+
readonly available: io.flow.experience.v0.unions.Promotion[];
|
|
1611
1455
|
}
|
|
1612
1456
|
|
|
1613
1457
|
export interface RegionReference {
|
|
@@ -2281,9 +2125,7 @@ namespace io.flow.shopify.external.v0.models {
|
|
|
2281
2125
|
|
|
2282
2126
|
export interface ShopifyCustomer {
|
|
2283
2127
|
readonly id: number;
|
|
2284
|
-
readonly addresses:
|
|
2285
|
-
[key: string]: string;
|
|
2286
|
-
}[];
|
|
2128
|
+
readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
2287
2129
|
readonly created_at: string;
|
|
2288
2130
|
readonly tags: string;
|
|
2289
2131
|
readonly tax_exempt: boolean;
|
|
@@ -2305,6 +2147,26 @@ namespace io.flow.shopify.external.v0.models {
|
|
|
2305
2147
|
readonly updated_at?: string;
|
|
2306
2148
|
}
|
|
2307
2149
|
|
|
2150
|
+
export interface ShopifyCustomerAddress {
|
|
2151
|
+
readonly id: number;
|
|
2152
|
+
readonly customer_id: number;
|
|
2153
|
+
readonly default: boolean;
|
|
2154
|
+
readonly address1?: string;
|
|
2155
|
+
readonly address2?: string;
|
|
2156
|
+
readonly city?: string;
|
|
2157
|
+
readonly company?: string;
|
|
2158
|
+
readonly first_name?: string;
|
|
2159
|
+
readonly last_name?: string;
|
|
2160
|
+
readonly name?: string;
|
|
2161
|
+
readonly phone?: string;
|
|
2162
|
+
readonly country?: string;
|
|
2163
|
+
readonly country_code?: string;
|
|
2164
|
+
readonly country_name?: string;
|
|
2165
|
+
readonly province?: string;
|
|
2166
|
+
readonly province_code?: string;
|
|
2167
|
+
readonly zip?: string;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2308
2170
|
export interface ShopifyCustomerDelete {
|
|
2309
2171
|
readonly id: number;
|
|
2310
2172
|
}
|
|
@@ -2424,6 +2286,7 @@ namespace io.flow.shopify.external.v0.models {
|
|
|
2424
2286
|
readonly sku: string;
|
|
2425
2287
|
readonly tracked: boolean;
|
|
2426
2288
|
readonly cost?: string;
|
|
2289
|
+
readonly country_code_of_origin?: string;
|
|
2427
2290
|
readonly created_at: string;
|
|
2428
2291
|
readonly updated_at?: string;
|
|
2429
2292
|
}
|
|
@@ -3345,20 +3208,8 @@ namespace io.flow.feature.v0.models {
|
|
|
3345
3208
|
readonly released_at?: string;
|
|
3346
3209
|
readonly status: io.flow.feature.v0.enums.FeatureStatus;
|
|
3347
3210
|
readonly type: io.flow.feature.v0.enums.FeatureType;
|
|
3348
|
-
readonly rules:
|
|
3349
|
-
|
|
3350
|
-
discriminator: 'boolean';
|
|
3351
|
-
} & io.flow.feature.v0.models.BooleanFeatureRule
|
|
3352
|
-
| {
|
|
3353
|
-
discriminator: 'string';
|
|
3354
|
-
} & io.flow.feature.v0.models.StringFeatureRule)[];
|
|
3355
|
-
readonly default?:
|
|
3356
|
-
| {
|
|
3357
|
-
discriminator: 'boolean';
|
|
3358
|
-
} & io.flow.feature.v0.models.BooleanFeatureDefaultValue
|
|
3359
|
-
| {
|
|
3360
|
-
discriminator: 'string';
|
|
3361
|
-
} & io.flow.feature.v0.models.StringFeatureDefaultValue;
|
|
3211
|
+
readonly rules: io.flow.feature.v0.unions.FeatureRule[];
|
|
3212
|
+
readonly default?: io.flow.feature.v0.unions.FeatureDefaultValue;
|
|
3362
3213
|
}
|
|
3363
3214
|
|
|
3364
3215
|
export interface FeatureContextForm {
|
|
@@ -3371,20 +3222,8 @@ namespace io.flow.feature.v0.models {
|
|
|
3371
3222
|
readonly description?: string;
|
|
3372
3223
|
readonly status?: io.flow.feature.v0.enums.FeatureStatus;
|
|
3373
3224
|
readonly type: io.flow.feature.v0.enums.FeatureType;
|
|
3374
|
-
readonly rules:
|
|
3375
|
-
|
|
3376
|
-
discriminator: 'boolean';
|
|
3377
|
-
} & io.flow.feature.v0.models.BooleanFeatureRuleForm
|
|
3378
|
-
| {
|
|
3379
|
-
discriminator: 'string';
|
|
3380
|
-
} & io.flow.feature.v0.models.StringFeatureRuleForm)[];
|
|
3381
|
-
readonly default?:
|
|
3382
|
-
| {
|
|
3383
|
-
discriminator: 'boolean';
|
|
3384
|
-
} & io.flow.feature.v0.models.BooleanFeatureDefaultValue
|
|
3385
|
-
| {
|
|
3386
|
-
discriminator: 'string';
|
|
3387
|
-
} & io.flow.feature.v0.models.StringFeatureDefaultValue;
|
|
3225
|
+
readonly rules: io.flow.feature.v0.unions.FeatureRuleForm[];
|
|
3226
|
+
readonly default?: io.flow.feature.v0.unions.FeatureDefaultValue;
|
|
3388
3227
|
}
|
|
3389
3228
|
|
|
3390
3229
|
export interface FeatureGeoForm {
|
|
@@ -3414,13 +3253,7 @@ namespace io.flow.feature.v0.models {
|
|
|
3414
3253
|
}
|
|
3415
3254
|
|
|
3416
3255
|
export interface FeatureValueResult {
|
|
3417
|
-
readonly values:
|
|
3418
|
-
| {
|
|
3419
|
-
discriminator: 'boolean';
|
|
3420
|
-
} & io.flow.feature.v0.models.BooleanFeatureValue
|
|
3421
|
-
| {
|
|
3422
|
-
discriminator: 'string';
|
|
3423
|
-
} & io.flow.feature.v0.models.StringFeatureValue)[];
|
|
3256
|
+
readonly values: io.flow.feature.v0.unions.FeatureValue[];
|
|
3424
3257
|
}
|
|
3425
3258
|
|
|
3426
3259
|
export interface StringFeatureDefaultValue {
|
|
@@ -3622,19 +3455,7 @@ namespace io.flow.fulfillment.v0.models {
|
|
|
3622
3455
|
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
3623
3456
|
readonly tier: io.flow.fulfillment.v0.models.TierSummary;
|
|
3624
3457
|
readonly window: io.flow.fulfillment.v0.models.DeliveryWindow;
|
|
3625
|
-
readonly rule_outcome?:
|
|
3626
|
-
| {
|
|
3627
|
-
discriminator: 'amount_margin';
|
|
3628
|
-
} & io.flow.fulfillment.v0.models.AmountMargin
|
|
3629
|
-
| {
|
|
3630
|
-
discriminator: 'at_cost';
|
|
3631
|
-
} & io.flow.fulfillment.v0.models.AtCost
|
|
3632
|
-
| {
|
|
3633
|
-
discriminator: 'flat_rate';
|
|
3634
|
-
} & io.flow.fulfillment.v0.models.FlatRate
|
|
3635
|
-
| {
|
|
3636
|
-
discriminator: 'percent_margin';
|
|
3637
|
-
} & io.flow.fulfillment.v0.models.PercentMargin;
|
|
3458
|
+
readonly rule_outcome?: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
3638
3459
|
readonly weight?: io.flow.fulfillment.v0.models.OptionWeightEstimates;
|
|
3639
3460
|
readonly send_to?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3640
3461
|
readonly surcharge?: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
@@ -3777,31 +3598,13 @@ namespace io.flow.fulfillment.v0.models {
|
|
|
3777
3598
|
export interface PartnerCenter {
|
|
3778
3599
|
readonly partner_reference: io.flow.common.v0.models.PartnerReference;
|
|
3779
3600
|
readonly number?: string;
|
|
3780
|
-
readonly fees?:
|
|
3781
|
-
| {
|
|
3782
|
-
discriminator: 'commercial_invoice_fee';
|
|
3783
|
-
} & io.flow.fulfillment.v0.models.CommercialInvoiceFee
|
|
3784
|
-
| {
|
|
3785
|
-
discriminator: 'inbound_carton_fee';
|
|
3786
|
-
} & io.flow.fulfillment.v0.models.InboundCartonFee
|
|
3787
|
-
| {
|
|
3788
|
-
discriminator: 'outbound_carton_fee';
|
|
3789
|
-
} & io.flow.fulfillment.v0.models.OutboundCartonFee)[];
|
|
3601
|
+
readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
3790
3602
|
}
|
|
3791
3603
|
|
|
3792
3604
|
export interface PartnerCenterForm {
|
|
3793
3605
|
readonly partner_id: string;
|
|
3794
3606
|
readonly number?: string;
|
|
3795
|
-
readonly fees?:
|
|
3796
|
-
| {
|
|
3797
|
-
discriminator: 'commercial_invoice_fee';
|
|
3798
|
-
} & io.flow.fulfillment.v0.models.CommercialInvoiceFee
|
|
3799
|
-
| {
|
|
3800
|
-
discriminator: 'inbound_carton_fee';
|
|
3801
|
-
} & io.flow.fulfillment.v0.models.InboundCartonFee
|
|
3802
|
-
| {
|
|
3803
|
-
discriminator: 'outbound_carton_fee';
|
|
3804
|
-
} & io.flow.fulfillment.v0.models.OutboundCartonFee)[];
|
|
3607
|
+
readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
3805
3608
|
}
|
|
3806
3609
|
|
|
3807
3610
|
export interface PercentMargin {
|
|
@@ -3834,13 +3637,7 @@ namespace io.flow.fulfillment.v0.models {
|
|
|
3834
3637
|
export interface Quote {
|
|
3835
3638
|
readonly id: string;
|
|
3836
3639
|
readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3837
|
-
readonly deliveries:
|
|
3838
|
-
| {
|
|
3839
|
-
discriminator: 'digital_delivery';
|
|
3840
|
-
} & io.flow.fulfillment.v0.models.DigitalDelivery
|
|
3841
|
-
| {
|
|
3842
|
-
discriminator: 'physical_delivery';
|
|
3843
|
-
} & io.flow.fulfillment.v0.models.PhysicalDelivery)[];
|
|
3640
|
+
readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
|
|
3844
3641
|
readonly selections: io.flow.fulfillment.v0.models.DeliveryOptionReference[];
|
|
3845
3642
|
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
3846
3643
|
readonly delivered_duties: io.flow.common.v0.enums.DeliveredDuty[];
|
|
@@ -3955,13 +3752,7 @@ namespace io.flow.fulfillment.v0.models {
|
|
|
3955
3752
|
readonly id: string;
|
|
3956
3753
|
readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
3957
3754
|
readonly region: string;
|
|
3958
|
-
readonly centers:
|
|
3959
|
-
| {
|
|
3960
|
-
discriminator: 'center';
|
|
3961
|
-
} & io.flow.fulfillment.v0.models.Center
|
|
3962
|
-
| {
|
|
3963
|
-
discriminator: 'center_reference';
|
|
3964
|
-
} & io.flow.fulfillment.v0.models.CenterReference)[];
|
|
3755
|
+
readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[];
|
|
3965
3756
|
readonly tiers: io.flow.fulfillment.v0.models.Tier[];
|
|
3966
3757
|
readonly query: io.flow.query.builder.v0.models.Query;
|
|
3967
3758
|
readonly strategy: io.flow.fulfillment.v0.enums.LaneStrategy;
|
|
@@ -4053,37 +3844,13 @@ namespace io.flow.fulfillment.v0.models {
|
|
|
4053
3844
|
readonly id: string;
|
|
4054
3845
|
readonly position: number;
|
|
4055
3846
|
readonly query: string;
|
|
4056
|
-
readonly outcome:
|
|
4057
|
-
| {
|
|
4058
|
-
discriminator: 'amount_margin';
|
|
4059
|
-
} & io.flow.fulfillment.v0.models.AmountMargin
|
|
4060
|
-
| {
|
|
4061
|
-
discriminator: 'at_cost';
|
|
4062
|
-
} & io.flow.fulfillment.v0.models.AtCost
|
|
4063
|
-
| {
|
|
4064
|
-
discriminator: 'flat_rate';
|
|
4065
|
-
} & io.flow.fulfillment.v0.models.FlatRate
|
|
4066
|
-
| {
|
|
4067
|
-
discriminator: 'percent_margin';
|
|
4068
|
-
} & io.flow.fulfillment.v0.models.PercentMargin;
|
|
3847
|
+
readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
4069
3848
|
}
|
|
4070
3849
|
|
|
4071
3850
|
export interface TierRuleForm {
|
|
4072
3851
|
readonly position?: number;
|
|
4073
3852
|
readonly query: string;
|
|
4074
|
-
readonly outcome:
|
|
4075
|
-
| {
|
|
4076
|
-
discriminator: 'amount_margin_form';
|
|
4077
|
-
} & io.flow.fulfillment.v0.models.AmountMarginForm
|
|
4078
|
-
| {
|
|
4079
|
-
discriminator: 'flat_rate_form';
|
|
4080
|
-
} & io.flow.fulfillment.v0.models.FlatRateForm
|
|
4081
|
-
| {
|
|
4082
|
-
discriminator: 'at_cost';
|
|
4083
|
-
} & io.flow.fulfillment.v0.models.AtCost
|
|
4084
|
-
| {
|
|
4085
|
-
discriminator: 'percent_margin';
|
|
4086
|
-
} & io.flow.fulfillment.v0.models.PercentMargin;
|
|
3853
|
+
readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcomeForm;
|
|
4087
3854
|
}
|
|
4088
3855
|
|
|
4089
3856
|
export interface TierRuleVersion {
|
|
@@ -4187,11 +3954,11 @@ namespace io.flow.organization.v0.enums {
|
|
|
4187
3954
|
namespace io.flow.organization.v0.models {
|
|
4188
3955
|
export interface Invitation {
|
|
4189
3956
|
readonly id: string;
|
|
4190
|
-
readonly organization:
|
|
3957
|
+
readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
|
|
4191
3958
|
readonly email: string;
|
|
4192
3959
|
readonly name: io.flow.common.v0.models.Name;
|
|
4193
3960
|
readonly role?: io.flow.common.v0.enums.Role;
|
|
4194
|
-
readonly roles?:
|
|
3961
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
4195
3962
|
readonly expiration: string;
|
|
4196
3963
|
}
|
|
4197
3964
|
|
|
@@ -4205,7 +3972,7 @@ namespace io.flow.organization.v0.models {
|
|
|
4205
3972
|
readonly email: string;
|
|
4206
3973
|
readonly name?: io.flow.common.v0.models.Name;
|
|
4207
3974
|
readonly role: io.flow.common.v0.enums.Role;
|
|
4208
|
-
readonly roles?:
|
|
3975
|
+
readonly roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
4209
3976
|
}
|
|
4210
3977
|
|
|
4211
3978
|
export interface InvitationVersion {
|
|
@@ -4217,22 +3984,22 @@ namespace io.flow.organization.v0.models {
|
|
|
4217
3984
|
|
|
4218
3985
|
export interface Membership {
|
|
4219
3986
|
readonly id: string;
|
|
4220
|
-
readonly organization:
|
|
4221
|
-
readonly user:
|
|
3987
|
+
readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
|
|
3988
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
4222
3989
|
readonly role?: io.flow.common.v0.enums.Role;
|
|
4223
|
-
readonly roles:
|
|
3990
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
4224
3991
|
}
|
|
4225
3992
|
|
|
4226
3993
|
export interface MembershipForm {
|
|
4227
3994
|
readonly organization: string;
|
|
4228
3995
|
readonly user: string;
|
|
4229
3996
|
readonly role: io.flow.common.v0.enums.Role;
|
|
4230
|
-
readonly roles:
|
|
3997
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
4231
3998
|
}
|
|
4232
3999
|
|
|
4233
4000
|
export interface MembershipPutForm {
|
|
4234
4001
|
readonly role: io.flow.common.v0.enums.Role;
|
|
4235
|
-
readonly roles:
|
|
4002
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
4236
4003
|
}
|
|
4237
4004
|
|
|
4238
4005
|
export interface MembershipVersion {
|
|
@@ -4568,9 +4335,7 @@ namespace io.flow.harmonization.internal.v0.models {
|
|
|
4568
4335
|
|
|
4569
4336
|
export interface ClassificationFeatureSetDefault {
|
|
4570
4337
|
readonly organization_id: string;
|
|
4571
|
-
readonly default:
|
|
4572
|
-
discriminator: 'classification_features_category_apparel';
|
|
4573
|
-
} & io.flow.harmonization.internal.v0.models.ClassificationFeaturesCategoryApparel;
|
|
4338
|
+
readonly default: io.flow.harmonization.internal.v0.unions.ClassificationFeatureSet;
|
|
4574
4339
|
}
|
|
4575
4340
|
|
|
4576
4341
|
export interface ClassificationFeaturesCategoryApparel {
|
|
@@ -5306,7 +5071,7 @@ namespace io.flow.shopify.v0.models {
|
|
|
5306
5071
|
readonly quantity: number;
|
|
5307
5072
|
readonly price: io.flow.shopify.v0.models.ShopifyPrice;
|
|
5308
5073
|
readonly total: io.flow.shopify.v0.models.ShopifyPrice;
|
|
5309
|
-
readonly price_source?:
|
|
5074
|
+
readonly price_source?: io.flow.common.v0.unions.PriceSource;
|
|
5310
5075
|
}
|
|
5311
5076
|
|
|
5312
5077
|
export interface ShopifyLocalCartItemMetadata {
|
|
@@ -5344,7 +5109,7 @@ namespace io.flow.shopify.v0.models {
|
|
|
5344
5109
|
readonly lines: io.flow.shopify.v0.models.ShopifyLine[];
|
|
5345
5110
|
readonly prices: io.flow.shopify.v0.models.ShopifyPrice[];
|
|
5346
5111
|
readonly total: io.flow.shopify.v0.models.ShopifyPrice;
|
|
5347
|
-
readonly allocation_details:
|
|
5112
|
+
readonly allocation_details: io.flow.experience.v0.unions.AllocationDetail[];
|
|
5348
5113
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
5349
5114
|
readonly merchant_of_record_entity?: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
5350
5115
|
readonly incoterm?: io.flow.common.v0.enums.Incoterm;
|
|
@@ -5438,9 +5203,7 @@ namespace io.flow.shopify.v0.models {
|
|
|
5438
5203
|
readonly range: io.flow.common.v0.models.DatetimeRange;
|
|
5439
5204
|
readonly interval_seconds: number;
|
|
5440
5205
|
readonly total: number;
|
|
5441
|
-
readonly buckets:
|
|
5442
|
-
discriminator: 'shopify_item_event_bucket';
|
|
5443
|
-
} & io.flow.shopify.v0.models.ShopifyItemEventBucket)[];
|
|
5206
|
+
readonly buckets: io.flow.shopify.v0.unions.ShopifyEventBucket[];
|
|
5444
5207
|
}
|
|
5445
5208
|
|
|
5446
5209
|
export interface ShopifyVariantFlowMetafield {
|
|
@@ -5594,22 +5357,7 @@ namespace io.flow.payment.internal.v0.models {
|
|
|
5594
5357
|
|
|
5595
5358
|
export interface InternalCardAuthorizationDetails {
|
|
5596
5359
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
5597
|
-
readonly internal?:
|
|
5598
|
-
| {
|
|
5599
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
5600
|
-
} & io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
5601
|
-
| {
|
|
5602
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
5603
|
-
} & io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
5604
|
-
| {
|
|
5605
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
5606
|
-
} & io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails
|
|
5607
|
-
| {
|
|
5608
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
5609
|
-
} & io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails
|
|
5610
|
-
| {
|
|
5611
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
5612
|
-
} & io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
5360
|
+
readonly internal?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
|
|
5613
5361
|
}
|
|
5614
5362
|
|
|
5615
5363
|
export interface InternalPaypalAuthorizationDetails {
|
|
@@ -5618,22 +5366,7 @@ namespace io.flow.payment.internal.v0.models {
|
|
|
5618
5366
|
|
|
5619
5367
|
export interface InternalRedirectAuthorizationDetails {
|
|
5620
5368
|
readonly details: io.flow.payment.v0.models.RedirectAuthorizationDetails;
|
|
5621
|
-
readonly internal?:
|
|
5622
|
-
| {
|
|
5623
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
5624
|
-
} & io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
5625
|
-
| {
|
|
5626
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
5627
|
-
} & io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
5628
|
-
| {
|
|
5629
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
5630
|
-
} & io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails
|
|
5631
|
-
| {
|
|
5632
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
5633
|
-
} & io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails
|
|
5634
|
-
| {
|
|
5635
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
5636
|
-
} & io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
5369
|
+
readonly internal?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
|
|
5637
5370
|
}
|
|
5638
5371
|
|
|
5639
5372
|
export interface InternalStripeAuthorizationDetails {
|
|
@@ -6151,19 +5884,7 @@ namespace io.flow.catalog.v0.models {
|
|
|
6151
5884
|
|
|
6152
5885
|
export interface Local {
|
|
6153
5886
|
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
6154
|
-
readonly prices:
|
|
6155
|
-
| {
|
|
6156
|
-
key: 'localized_item_price';
|
|
6157
|
-
} & io.flow.catalog.v0.models.LocalizedItemPrice
|
|
6158
|
-
| {
|
|
6159
|
-
key: 'localized_item_vat';
|
|
6160
|
-
} & io.flow.catalog.v0.models.LocalizedItemVat
|
|
6161
|
-
| {
|
|
6162
|
-
key: 'localized_item_duty';
|
|
6163
|
-
} & io.flow.catalog.v0.models.LocalizedItemDuty
|
|
6164
|
-
| {
|
|
6165
|
-
key: 'localized_total';
|
|
6166
|
-
} & io.flow.catalog.v0.models.LocalizedTotal)[];
|
|
5887
|
+
readonly prices: io.flow.catalog.v0.unions.LocalizedPrice[];
|
|
6167
5888
|
readonly rates: io.flow.currency.v0.models.Rate[];
|
|
6168
5889
|
readonly spot_rates: {
|
|
6169
5890
|
[key: string]: string;
|
|
@@ -6500,13 +6221,7 @@ namespace io.flow.common.v0.models {
|
|
|
6500
6221
|
}
|
|
6501
6222
|
|
|
6502
6223
|
export interface DiscountForm {
|
|
6503
|
-
readonly offer:
|
|
6504
|
-
| {
|
|
6505
|
-
discriminator: 'discount_offer_fixed';
|
|
6506
|
-
} & io.flow.common.v0.models.DiscountOfferFixed
|
|
6507
|
-
| {
|
|
6508
|
-
discriminator: 'discount_offer_percent';
|
|
6509
|
-
} & io.flow.common.v0.models.DiscountOfferPercent;
|
|
6224
|
+
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
6510
6225
|
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
6511
6226
|
readonly label?: string;
|
|
6512
6227
|
}
|
|
@@ -6569,9 +6284,7 @@ namespace io.flow.common.v0.models {
|
|
|
6569
6284
|
}
|
|
6570
6285
|
|
|
6571
6286
|
export interface InputSpecificationLimitations {
|
|
6572
|
-
readonly limitations?:
|
|
6573
|
-
discriminator: 'input_specification_limitation_max';
|
|
6574
|
-
} & io.flow.common.v0.models.InputSpecificationLimitationMax)[];
|
|
6287
|
+
readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
|
|
6575
6288
|
}
|
|
6576
6289
|
|
|
6577
6290
|
export interface ItemReference {
|
|
@@ -7073,9 +6786,7 @@ namespace io.flow.experience.internal.v0.models {
|
|
|
7073
6786
|
|
|
7074
6787
|
export interface DiscountRequestOrderEntitlementForm {
|
|
7075
6788
|
readonly entitlement_key: io.flow.experience.internal.v0.enums.DiscountRequestOrderEntitlementKey;
|
|
7076
|
-
readonly offer_form:
|
|
7077
|
-
discriminator: 'discount_request_offer_fixed_amount_form';
|
|
7078
|
-
} & io.flow.experience.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
6789
|
+
readonly offer_form: io.flow.experience.internal.v0.unions.DiscountRequestOfferForm;
|
|
7079
6790
|
}
|
|
7080
6791
|
|
|
7081
6792
|
export interface DiscountRequestOrderForm {
|
|
@@ -7250,20 +6961,8 @@ namespace io.flow.duty.internal.v0.enums {
|
|
|
7250
6961
|
namespace io.flow.duty.internal.v0.models {
|
|
7251
6962
|
export interface DutyCompoundExpression {
|
|
7252
6963
|
readonly type: io.flow.duty.internal.v0.enums.DutyCompoundExpressionType;
|
|
7253
|
-
readonly left:
|
|
7254
|
-
|
|
7255
|
-
discriminator: 'duty_compound_expression';
|
|
7256
|
-
} & io.flow.duty.internal.v0.models.DutyCompoundExpression
|
|
7257
|
-
| {
|
|
7258
|
-
discriminator: 'duty_simple_expression';
|
|
7259
|
-
} & io.flow.duty.internal.v0.models.DutySimpleExpression;
|
|
7260
|
-
readonly right:
|
|
7261
|
-
| {
|
|
7262
|
-
discriminator: 'duty_compound_expression';
|
|
7263
|
-
} & io.flow.duty.internal.v0.models.DutyCompoundExpression
|
|
7264
|
-
| {
|
|
7265
|
-
discriminator: 'duty_simple_expression';
|
|
7266
|
-
} & io.flow.duty.internal.v0.models.DutySimpleExpression;
|
|
6964
|
+
readonly left: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
6965
|
+
readonly right: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
7267
6966
|
}
|
|
7268
6967
|
|
|
7269
6968
|
export interface DutyRate {
|
|
@@ -7272,13 +6971,7 @@ namespace io.flow.duty.internal.v0.models {
|
|
|
7272
6971
|
readonly destination: string;
|
|
7273
6972
|
readonly origin: string;
|
|
7274
6973
|
readonly tariff_code: string;
|
|
7275
|
-
readonly expression:
|
|
7276
|
-
| {
|
|
7277
|
-
discriminator: 'duty_compound_expression';
|
|
7278
|
-
} & io.flow.duty.internal.v0.models.DutyCompoundExpression
|
|
7279
|
-
| {
|
|
7280
|
-
discriminator: 'duty_simple_expression';
|
|
7281
|
-
} & io.flow.duty.internal.v0.models.DutySimpleExpression;
|
|
6974
|
+
readonly expression: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
7282
6975
|
readonly parser_version: string;
|
|
7283
6976
|
readonly created_at: string;
|
|
7284
6977
|
}
|
|
@@ -7357,19 +7050,7 @@ namespace io.flow.tracking.internal.v0.models {
|
|
|
7357
7050
|
readonly carrier: string;
|
|
7358
7051
|
readonly carrier_tracking_number: string;
|
|
7359
7052
|
readonly flow_tracking_number: string;
|
|
7360
|
-
readonly credentials:
|
|
7361
|
-
| {
|
|
7362
|
-
discriminator: 'sf_express';
|
|
7363
|
-
} & io.flow.tracking.internal.v0.models.SfExpress
|
|
7364
|
-
| {
|
|
7365
|
-
discriminator: 'dhl_ecommerce';
|
|
7366
|
-
} & io.flow.tracking.internal.v0.models.DhlEcommerce
|
|
7367
|
-
| {
|
|
7368
|
-
discriminator: 'landmark';
|
|
7369
|
-
} & io.flow.tracking.internal.v0.models.Landmark
|
|
7370
|
-
| {
|
|
7371
|
-
discriminator: 'dhl';
|
|
7372
|
-
} & io.flow.tracking.internal.v0.models.Dhl;
|
|
7053
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
7373
7054
|
}
|
|
7374
7055
|
|
|
7375
7056
|
export interface TrackingResponse {
|
|
@@ -8010,58 +7691,14 @@ namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
8010
7691
|
|
|
8011
7692
|
export interface Export {
|
|
8012
7693
|
readonly id: string;
|
|
8013
|
-
readonly type:
|
|
8014
|
-
| {
|
|
8015
|
-
discriminator: 'account_transactions_export_type';
|
|
8016
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
|
|
8017
|
-
| {
|
|
8018
|
-
discriminator: 'account_orders_export_type';
|
|
8019
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
|
|
8020
|
-
| {
|
|
8021
|
-
discriminator: 'analytics_export_type';
|
|
8022
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
|
|
8023
|
-
| {
|
|
8024
|
-
discriminator: 'catalog_item_export_type';
|
|
8025
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
|
|
8026
|
-
| {
|
|
8027
|
-
discriminator: 'experience_export_type';
|
|
8028
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
|
|
8029
|
-
| {
|
|
8030
|
-
discriminator: 'harmonization_overview_export_type';
|
|
8031
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
8032
|
-
| {
|
|
8033
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
8034
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
8035
|
-
| {
|
|
8036
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
8037
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
8038
|
-
| {
|
|
8039
|
-
discriminator: 'unharmonized_item_export_type';
|
|
8040
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
8041
|
-
| {
|
|
8042
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
8043
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType
|
|
8044
|
-
| {
|
|
8045
|
-
discriminator: 'order_export_type';
|
|
8046
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
8047
|
-
| {
|
|
8048
|
-
discriminator: 'solidus_product_export_type';
|
|
8049
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
8050
|
-
| {
|
|
8051
|
-
discriminator: 'solidus_variant_export_type';
|
|
8052
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
8053
|
-
| {
|
|
8054
|
-
discriminator: 'localized_item_prices_export_type';
|
|
8055
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
|
|
7694
|
+
readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
|
|
8056
7695
|
readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
|
|
8057
7696
|
readonly organization_q: string;
|
|
8058
7697
|
readonly created_at: string;
|
|
8059
7698
|
readonly started_at?: string;
|
|
8060
7699
|
readonly completed_at?: string;
|
|
8061
7700
|
readonly url?: string;
|
|
8062
|
-
readonly deliveries:
|
|
8063
|
-
discriminator: 'export_delivery_email';
|
|
8064
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail)[];
|
|
7701
|
+
readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
|
|
8065
7702
|
}
|
|
8066
7703
|
|
|
8067
7704
|
export interface ExportDeliveryEmail {
|
|
@@ -8069,49 +7706,7 @@ namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
8069
7706
|
}
|
|
8070
7707
|
|
|
8071
7708
|
export interface ExportForm {
|
|
8072
|
-
readonly type:
|
|
8073
|
-
| {
|
|
8074
|
-
discriminator: 'account_transactions_export_type';
|
|
8075
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
|
|
8076
|
-
| {
|
|
8077
|
-
discriminator: 'account_orders_export_type';
|
|
8078
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
|
|
8079
|
-
| {
|
|
8080
|
-
discriminator: 'analytics_export_type';
|
|
8081
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
|
|
8082
|
-
| {
|
|
8083
|
-
discriminator: 'catalog_item_export_type';
|
|
8084
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
|
|
8085
|
-
| {
|
|
8086
|
-
discriminator: 'experience_export_type';
|
|
8087
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
|
|
8088
|
-
| {
|
|
8089
|
-
discriminator: 'harmonization_overview_export_type';
|
|
8090
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
8091
|
-
| {
|
|
8092
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
8093
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
8094
|
-
| {
|
|
8095
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
8096
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
8097
|
-
| {
|
|
8098
|
-
discriminator: 'unharmonized_item_export_type';
|
|
8099
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
8100
|
-
| {
|
|
8101
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
8102
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType
|
|
8103
|
-
| {
|
|
8104
|
-
discriminator: 'order_export_type';
|
|
8105
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
8106
|
-
| {
|
|
8107
|
-
discriminator: 'solidus_product_export_type';
|
|
8108
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
8109
|
-
| {
|
|
8110
|
-
discriminator: 'solidus_variant_export_type';
|
|
8111
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
8112
|
-
| {
|
|
8113
|
-
discriminator: 'localized_item_prices_export_type';
|
|
8114
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
|
|
7709
|
+
readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
|
|
8115
7710
|
readonly emails?: string[];
|
|
8116
7711
|
readonly organization_q?: string;
|
|
8117
7712
|
}
|
|
@@ -8192,49 +7787,7 @@ namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
8192
7787
|
readonly hour: number;
|
|
8193
7788
|
readonly minute: number;
|
|
8194
7789
|
readonly timezone: string;
|
|
8195
|
-
readonly types:
|
|
8196
|
-
| {
|
|
8197
|
-
discriminator: 'account_transactions_export_type';
|
|
8198
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
|
|
8199
|
-
| {
|
|
8200
|
-
discriminator: 'account_orders_export_type';
|
|
8201
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
|
|
8202
|
-
| {
|
|
8203
|
-
discriminator: 'analytics_export_type';
|
|
8204
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
|
|
8205
|
-
| {
|
|
8206
|
-
discriminator: 'catalog_item_export_type';
|
|
8207
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
|
|
8208
|
-
| {
|
|
8209
|
-
discriminator: 'experience_export_type';
|
|
8210
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
|
|
8211
|
-
| {
|
|
8212
|
-
discriminator: 'harmonization_overview_export_type';
|
|
8213
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
8214
|
-
| {
|
|
8215
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
8216
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
8217
|
-
| {
|
|
8218
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
8219
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
8220
|
-
| {
|
|
8221
|
-
discriminator: 'unharmonized_item_export_type';
|
|
8222
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
8223
|
-
| {
|
|
8224
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
8225
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType
|
|
8226
|
-
| {
|
|
8227
|
-
discriminator: 'order_export_type';
|
|
8228
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
8229
|
-
| {
|
|
8230
|
-
discriminator: 'solidus_product_export_type';
|
|
8231
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
8232
|
-
| {
|
|
8233
|
-
discriminator: 'solidus_variant_export_type';
|
|
8234
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
8235
|
-
| {
|
|
8236
|
-
discriminator: 'localized_item_prices_export_type';
|
|
8237
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType)[];
|
|
7790
|
+
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
8238
7791
|
readonly last_sent_at?: string;
|
|
8239
7792
|
}
|
|
8240
7793
|
|
|
@@ -8244,49 +7797,7 @@ namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
8244
7797
|
readonly hour: number;
|
|
8245
7798
|
readonly minute: number;
|
|
8246
7799
|
readonly timezone: string;
|
|
8247
|
-
readonly types:
|
|
8248
|
-
| {
|
|
8249
|
-
discriminator: 'account_transactions_export_type';
|
|
8250
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
|
|
8251
|
-
| {
|
|
8252
|
-
discriminator: 'account_orders_export_type';
|
|
8253
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
|
|
8254
|
-
| {
|
|
8255
|
-
discriminator: 'analytics_export_type';
|
|
8256
|
-
} & io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
|
|
8257
|
-
| {
|
|
8258
|
-
discriminator: 'catalog_item_export_type';
|
|
8259
|
-
} & io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
|
|
8260
|
-
| {
|
|
8261
|
-
discriminator: 'experience_export_type';
|
|
8262
|
-
} & io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
|
|
8263
|
-
| {
|
|
8264
|
-
discriminator: 'harmonization_overview_export_type';
|
|
8265
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
8266
|
-
| {
|
|
8267
|
-
discriminator: 'harmonization_hs6_export_type';
|
|
8268
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
8269
|
-
| {
|
|
8270
|
-
discriminator: 'harmonization_hs10_export_type';
|
|
8271
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
8272
|
-
| {
|
|
8273
|
-
discriminator: 'unharmonized_item_export_type';
|
|
8274
|
-
} & io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
8275
|
-
| {
|
|
8276
|
-
discriminator: 'harmonization_landed_cost_export_type';
|
|
8277
|
-
} & io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType
|
|
8278
|
-
| {
|
|
8279
|
-
discriminator: 'order_export_type';
|
|
8280
|
-
} & io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
8281
|
-
| {
|
|
8282
|
-
discriminator: 'solidus_product_export_type';
|
|
8283
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
|
|
8284
|
-
| {
|
|
8285
|
-
discriminator: 'solidus_variant_export_type';
|
|
8286
|
-
} & io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
|
|
8287
|
-
| {
|
|
8288
|
-
discriminator: 'localized_item_prices_export_type';
|
|
8289
|
-
} & io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType)[];
|
|
7800
|
+
readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
|
|
8290
7801
|
}
|
|
8291
7802
|
|
|
8292
7803
|
export interface SolidusProductExportType {
|
|
@@ -8377,7 +7888,7 @@ namespace io.flow.shopify.internal.v0.models {
|
|
|
8377
7888
|
}
|
|
8378
7889
|
|
|
8379
7890
|
export interface OrderSubmissionForm {
|
|
8380
|
-
readonly authorization?:
|
|
7891
|
+
readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
8381
7892
|
}
|
|
8382
7893
|
|
|
8383
7894
|
export interface Shop {
|
|
@@ -8524,27 +8035,9 @@ namespace io.flow.shopify.internal.v0.models {
|
|
|
8524
8035
|
}
|
|
8525
8036
|
|
|
8526
8037
|
export interface ShopifyPromotionOffer {
|
|
8527
|
-
readonly discount:
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount
|
|
8531
|
-
| {
|
|
8532
|
-
discriminator: 'shopify_promotion_percent';
|
|
8533
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionPercent;
|
|
8534
|
-
readonly entitlement:
|
|
8535
|
-
| {
|
|
8536
|
-
discriminator: 'shopify_promotion_item_entitlement';
|
|
8537
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement
|
|
8538
|
-
| {
|
|
8539
|
-
discriminator: 'shopify_promotion_order_entitlement';
|
|
8540
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement;
|
|
8541
|
-
readonly max?: (
|
|
8542
|
-
| {
|
|
8543
|
-
discriminator: 'shopify_promotion_max_limit';
|
|
8544
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit
|
|
8545
|
-
| {
|
|
8546
|
-
discriminator: 'shopify_promotion_max_amount';
|
|
8547
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount)[];
|
|
8038
|
+
readonly discount: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
|
|
8039
|
+
readonly entitlement: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
|
|
8040
|
+
readonly max?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
|
|
8548
8041
|
}
|
|
8549
8042
|
|
|
8550
8043
|
export interface ShopifyPromotionOrderEntitlement {
|
|
@@ -8561,13 +8054,7 @@ namespace io.flow.shopify.internal.v0.models {
|
|
|
8561
8054
|
}
|
|
8562
8055
|
|
|
8563
8056
|
export interface ShopifyPromotionRule {
|
|
8564
|
-
readonly prerequisites:
|
|
8565
|
-
| {
|
|
8566
|
-
discriminator: 'shopify_promotion_item_prerequisite';
|
|
8567
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite
|
|
8568
|
-
| {
|
|
8569
|
-
discriminator: 'shopify_promotion_order_prerequisite';
|
|
8570
|
-
} & io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite)[];
|
|
8057
|
+
readonly prerequisites: io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
|
|
8571
8058
|
readonly offers: io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
|
|
8572
8059
|
}
|
|
8573
8060
|
|
|
@@ -9190,13 +8677,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9190
8677
|
}
|
|
9191
8678
|
|
|
9192
8679
|
export interface AuthorizationPayload {
|
|
9193
|
-
readonly parameters:
|
|
9194
|
-
| {
|
|
9195
|
-
discriminator: 'google_pay_authorization_payload';
|
|
9196
|
-
} & io.flow.payment.v0.models.GooglePayAuthorizationPayload
|
|
9197
|
-
| {
|
|
9198
|
-
discriminator: 'apple_pay_merchant_validation_payload';
|
|
9199
|
-
} & io.flow.payment.v0.models.ApplePayMerchantValidationPayload;
|
|
8680
|
+
readonly parameters: io.flow.payment.v0.unions.AuthorizationPayloadParameters;
|
|
9200
8681
|
}
|
|
9201
8682
|
|
|
9202
8683
|
export interface AuthorizationReference {
|
|
@@ -9207,16 +8688,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9207
8688
|
|
|
9208
8689
|
export interface AuthorizationResult {
|
|
9209
8690
|
readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
|
|
9210
|
-
readonly action?:
|
|
9211
|
-
| {
|
|
9212
|
-
discriminator: 'authorization_result_action_get';
|
|
9213
|
-
} & io.flow.payment.v0.models.AuthorizationResultActionGet
|
|
9214
|
-
| {
|
|
9215
|
-
discriminator: 'authorization_result_action_post';
|
|
9216
|
-
} & io.flow.payment.v0.models.AuthorizationResultActionPost
|
|
9217
|
-
| {
|
|
9218
|
-
discriminator: 'authorization_result_action_wait';
|
|
9219
|
-
} & io.flow.payment.v0.models.AuthorizationResultActionWait;
|
|
8691
|
+
readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
9220
8692
|
readonly decline_code?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
|
|
9221
8693
|
readonly avs?: io.flow.payment.v0.models.Avs;
|
|
9222
8694
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
@@ -9249,13 +8721,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9249
8721
|
readonly id: string;
|
|
9250
8722
|
readonly timestamp: string;
|
|
9251
8723
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
9252
|
-
readonly authorization:
|
|
9253
|
-
| {
|
|
9254
|
-
discriminator: 'card_authorization';
|
|
9255
|
-
} & io.flow.payment.v0.models.CardAuthorization
|
|
9256
|
-
| {
|
|
9257
|
-
discriminator: 'online_authorization';
|
|
9258
|
-
} & io.flow.payment.v0.models.OnlineAuthorization;
|
|
8724
|
+
readonly authorization: io.flow.payment.v0.unions.Authorization;
|
|
9259
8725
|
}
|
|
9260
8726
|
|
|
9261
8727
|
export interface Avs {
|
|
@@ -9333,16 +8799,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9333
8799
|
readonly key: string;
|
|
9334
8800
|
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9335
8801
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
9336
|
-
readonly card:
|
|
9337
|
-
| {
|
|
9338
|
-
discriminator: 'card';
|
|
9339
|
-
} & io.flow.payment.v0.models.Card
|
|
9340
|
-
| {
|
|
9341
|
-
discriminator: 'card_reference';
|
|
9342
|
-
} & io.flow.payment.v0.models.CardReference
|
|
9343
|
-
| {
|
|
9344
|
-
discriminator: 'card_summary';
|
|
9345
|
-
} & io.flow.payment.v0.models.CardSummary;
|
|
8802
|
+
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
9346
8803
|
readonly amount: number;
|
|
9347
8804
|
readonly currency: string;
|
|
9348
8805
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
@@ -9523,16 +8980,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9523
8980
|
readonly key: string;
|
|
9524
8981
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
9525
8982
|
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9526
|
-
readonly details?:
|
|
9527
|
-
| {
|
|
9528
|
-
discriminator: 'paypal_authorization_details';
|
|
9529
|
-
} & io.flow.payment.v0.models.PaypalAuthorizationDetails
|
|
9530
|
-
| {
|
|
9531
|
-
discriminator: 'redirect_authorization_details';
|
|
9532
|
-
} & io.flow.payment.v0.models.RedirectAuthorizationDetails
|
|
9533
|
-
| {
|
|
9534
|
-
discriminator: 'inline_authorization_details';
|
|
9535
|
-
} & io.flow.payment.v0.models.InlineAuthorizationDetails;
|
|
8983
|
+
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
9536
8984
|
readonly payment?: {
|
|
9537
8985
|
[key: string]: string;
|
|
9538
8986
|
};
|
|
@@ -9579,9 +9027,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9579
9027
|
readonly id: string;
|
|
9580
9028
|
readonly timestamp: string;
|
|
9581
9029
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
9582
|
-
readonly payment:
|
|
9583
|
-
discriminator: 'payment_paypal';
|
|
9584
|
-
} & io.flow.payment.v0.models.PaymentPaypal;
|
|
9030
|
+
readonly payment: io.flow.payment.v0.unions.Payment;
|
|
9585
9031
|
}
|
|
9586
9032
|
|
|
9587
9033
|
export interface PaypalAuthorizationDetails {
|
|
@@ -9610,9 +9056,7 @@ namespace io.flow.payment.v0.models {
|
|
|
9610
9056
|
export interface RedirectAuthorizationDetails {
|
|
9611
9057
|
readonly id: string;
|
|
9612
9058
|
readonly payment_redirect_url: string;
|
|
9613
|
-
readonly confirmation_details?:
|
|
9614
|
-
discriminator: 'direct_debit';
|
|
9615
|
-
} & io.flow.payment.v0.models.DirectDebit;
|
|
9059
|
+
readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
|
|
9616
9060
|
}
|
|
9617
9061
|
|
|
9618
9062
|
export interface RedirectAuthorizationForm {
|
|
@@ -10015,31 +9459,13 @@ namespace io.flow.inventory.v0.models {
|
|
|
10015
9459
|
readonly id: string;
|
|
10016
9460
|
readonly position: number;
|
|
10017
9461
|
readonly query: string;
|
|
10018
|
-
readonly strategy:
|
|
10019
|
-
| {
|
|
10020
|
-
discriminator: 'inventory_backorder';
|
|
10021
|
-
} & io.flow.inventory.v0.models.InventoryBackorder
|
|
10022
|
-
| {
|
|
10023
|
-
discriminator: 'inventory_stock';
|
|
10024
|
-
} & io.flow.inventory.v0.models.InventoryStock
|
|
10025
|
-
| {
|
|
10026
|
-
discriminator: 'inventory_unlimited';
|
|
10027
|
-
} & io.flow.inventory.v0.models.InventoryUnlimited;
|
|
9462
|
+
readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
|
|
10028
9463
|
}
|
|
10029
9464
|
|
|
10030
9465
|
export interface InventoryRuleForm {
|
|
10031
9466
|
readonly position: number;
|
|
10032
9467
|
readonly query: string;
|
|
10033
|
-
readonly strategy:
|
|
10034
|
-
| {
|
|
10035
|
-
discriminator: 'inventory_backorder';
|
|
10036
|
-
} & io.flow.inventory.v0.models.InventoryBackorder
|
|
10037
|
-
| {
|
|
10038
|
-
discriminator: 'inventory_stock';
|
|
10039
|
-
} & io.flow.inventory.v0.models.InventoryStock
|
|
10040
|
-
| {
|
|
10041
|
-
discriminator: 'inventory_unlimited';
|
|
10042
|
-
} & io.flow.inventory.v0.models.InventoryUnlimited;
|
|
9468
|
+
readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
|
|
10043
9469
|
}
|
|
10044
9470
|
|
|
10045
9471
|
export interface InventoryRuleVersion {
|
|
@@ -10229,70 +9655,34 @@ namespace io.flow.installment.v0.enums {
|
|
|
10229
9655
|
|
|
10230
9656
|
namespace io.flow.installment.v0.models {
|
|
10231
9657
|
export interface BalanceInstallmentStep {
|
|
10232
|
-
readonly condition:
|
|
10233
|
-
| {
|
|
10234
|
-
discriminator: 'time_condition';
|
|
10235
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10236
|
-
| {
|
|
10237
|
-
discriminator: 'order_event_condition';
|
|
10238
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9658
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10239
9659
|
}
|
|
10240
9660
|
|
|
10241
9661
|
export interface BalanceInstallmentStepForm {
|
|
10242
|
-
readonly condition:
|
|
10243
|
-
| {
|
|
10244
|
-
discriminator: 'time_condition';
|
|
10245
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10246
|
-
| {
|
|
10247
|
-
discriminator: 'order_event_condition';
|
|
10248
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9662
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10249
9663
|
}
|
|
10250
9664
|
|
|
10251
9665
|
export interface FixedAmountInstallmentStep {
|
|
10252
9666
|
readonly value: io.flow.common.v0.models.Price;
|
|
10253
|
-
readonly condition:
|
|
10254
|
-
| {
|
|
10255
|
-
discriminator: 'time_condition';
|
|
10256
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10257
|
-
| {
|
|
10258
|
-
discriminator: 'order_event_condition';
|
|
10259
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9667
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10260
9668
|
readonly limit?: number;
|
|
10261
9669
|
}
|
|
10262
9670
|
|
|
10263
9671
|
export interface FixedAmountInstallmentStepForm {
|
|
10264
9672
|
readonly value: io.flow.common.v0.models.Money;
|
|
10265
|
-
readonly condition:
|
|
10266
|
-
| {
|
|
10267
|
-
discriminator: 'time_condition';
|
|
10268
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10269
|
-
| {
|
|
10270
|
-
discriminator: 'order_event_condition';
|
|
10271
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9673
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10272
9674
|
readonly limit?: number;
|
|
10273
9675
|
}
|
|
10274
9676
|
|
|
10275
9677
|
export interface FractionInstallmentStep {
|
|
10276
9678
|
readonly fraction: string;
|
|
10277
|
-
readonly condition:
|
|
10278
|
-
| {
|
|
10279
|
-
discriminator: 'time_condition';
|
|
10280
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10281
|
-
| {
|
|
10282
|
-
discriminator: 'order_event_condition';
|
|
10283
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9679
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10284
9680
|
readonly limit?: number;
|
|
10285
9681
|
}
|
|
10286
9682
|
|
|
10287
9683
|
export interface FractionInstallmentStepForm {
|
|
10288
9684
|
readonly fraction: string;
|
|
10289
|
-
readonly condition:
|
|
10290
|
-
| {
|
|
10291
|
-
discriminator: 'time_condition';
|
|
10292
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10293
|
-
| {
|
|
10294
|
-
discriminator: 'order_event_condition';
|
|
10295
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9685
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10296
9686
|
readonly limit?: number;
|
|
10297
9687
|
}
|
|
10298
9688
|
|
|
@@ -10304,7 +9694,7 @@ namespace io.flow.installment.v0.models {
|
|
|
10304
9694
|
readonly plan: io.flow.installment.v0.models.InstallmentPlanReference;
|
|
10305
9695
|
readonly requested: io.flow.common.v0.models.Price;
|
|
10306
9696
|
readonly value: io.flow.common.v0.models.PriceWithBase;
|
|
10307
|
-
readonly authorizations:
|
|
9697
|
+
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
10308
9698
|
}
|
|
10309
9699
|
|
|
10310
9700
|
export interface InstallmentAuthorizationReference {
|
|
@@ -10355,37 +9745,13 @@ namespace io.flow.installment.v0.models {
|
|
|
10355
9745
|
readonly id: string;
|
|
10356
9746
|
readonly status: io.flow.installment.v0.enums.InstallmentProgramStatus;
|
|
10357
9747
|
readonly name: string;
|
|
10358
|
-
readonly steps:
|
|
10359
|
-
| {
|
|
10360
|
-
discriminator: 'balance_installment_step';
|
|
10361
|
-
} & io.flow.installment.v0.models.BalanceInstallmentStep
|
|
10362
|
-
| {
|
|
10363
|
-
discriminator: 'fixed_amount_installment_step';
|
|
10364
|
-
} & io.flow.installment.v0.models.FixedAmountInstallmentStep
|
|
10365
|
-
| {
|
|
10366
|
-
discriminator: 'percentage_installment_step';
|
|
10367
|
-
} & io.flow.installment.v0.models.PercentageInstallmentStep
|
|
10368
|
-
| {
|
|
10369
|
-
discriminator: 'fraction_installment_step';
|
|
10370
|
-
} & io.flow.installment.v0.models.FractionInstallmentStep)[];
|
|
9748
|
+
readonly steps: io.flow.installment.v0.unions.InstallmentStep[];
|
|
10371
9749
|
}
|
|
10372
9750
|
|
|
10373
9751
|
export interface InstallmentProgramForm {
|
|
10374
9752
|
readonly name: string;
|
|
10375
9753
|
readonly status: io.flow.installment.v0.enums.InstallmentProgramStatus;
|
|
10376
|
-
readonly steps:
|
|
10377
|
-
| {
|
|
10378
|
-
discriminator: 'balance_installment_step_form';
|
|
10379
|
-
} & io.flow.installment.v0.models.BalanceInstallmentStepForm
|
|
10380
|
-
| {
|
|
10381
|
-
discriminator: 'fixed_amount_installment_step_form';
|
|
10382
|
-
} & io.flow.installment.v0.models.FixedAmountInstallmentStepForm
|
|
10383
|
-
| {
|
|
10384
|
-
discriminator: 'percentage_installment_step_form';
|
|
10385
|
-
} & io.flow.installment.v0.models.PercentageInstallmentStepForm
|
|
10386
|
-
| {
|
|
10387
|
-
discriminator: 'fraction_installment_step_form';
|
|
10388
|
-
} & io.flow.installment.v0.models.FractionInstallmentStepForm)[];
|
|
9754
|
+
readonly steps: io.flow.installment.v0.unions.InstallmentStepForm[];
|
|
10389
9755
|
}
|
|
10390
9756
|
|
|
10391
9757
|
export interface InstallmentProgramReference {
|
|
@@ -10409,25 +9775,13 @@ namespace io.flow.installment.v0.models {
|
|
|
10409
9775
|
|
|
10410
9776
|
export interface PercentageInstallmentStep {
|
|
10411
9777
|
readonly percentage: number;
|
|
10412
|
-
readonly condition:
|
|
10413
|
-
| {
|
|
10414
|
-
discriminator: 'time_condition';
|
|
10415
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10416
|
-
| {
|
|
10417
|
-
discriminator: 'order_event_condition';
|
|
10418
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9778
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10419
9779
|
readonly limit?: number;
|
|
10420
9780
|
}
|
|
10421
9781
|
|
|
10422
9782
|
export interface PercentageInstallmentStepForm {
|
|
10423
9783
|
readonly percentage: number;
|
|
10424
|
-
readonly condition:
|
|
10425
|
-
| {
|
|
10426
|
-
discriminator: 'time_condition';
|
|
10427
|
-
} & io.flow.installment.v0.models.TimeCondition
|
|
10428
|
-
| {
|
|
10429
|
-
discriminator: 'order_event_condition';
|
|
10430
|
-
} & io.flow.installment.v0.models.OrderEventCondition;
|
|
9784
|
+
readonly condition: io.flow.installment.v0.unions.InstallmentCondition;
|
|
10431
9785
|
readonly limit?: number;
|
|
10432
9786
|
}
|
|
10433
9787
|
|
|
@@ -10490,7 +9844,7 @@ namespace io.flow.label.internal.v0.models {
|
|
|
10490
9844
|
readonly id: string;
|
|
10491
9845
|
readonly organization_id: string;
|
|
10492
9846
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
10493
|
-
readonly credentials:
|
|
9847
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10494
9848
|
}
|
|
10495
9849
|
|
|
10496
9850
|
export interface CarrierInvoice {
|
|
@@ -10568,24 +9922,12 @@ namespace io.flow.experiment.internal.v0.models {
|
|
|
10568
9922
|
readonly status: io.flow.experiment.internal.v0.enums.Status;
|
|
10569
9923
|
readonly started_at?: string;
|
|
10570
9924
|
readonly ended_at?: string;
|
|
10571
|
-
readonly variants:
|
|
10572
|
-
| {
|
|
10573
|
-
discriminator: 'experience_variant';
|
|
10574
|
-
} & io.flow.experiment.internal.v0.models.ExperienceVariant
|
|
10575
|
-
| {
|
|
10576
|
-
discriminator: 'external_variant';
|
|
10577
|
-
} & io.flow.experiment.internal.v0.models.ExternalVariant)[];
|
|
9925
|
+
readonly variants: io.flow.experiment.internal.v0.unions.Variant[];
|
|
10578
9926
|
}
|
|
10579
9927
|
|
|
10580
9928
|
export interface ExperimentForm {
|
|
10581
9929
|
readonly name: string;
|
|
10582
|
-
readonly variants:
|
|
10583
|
-
| {
|
|
10584
|
-
discriminator: 'experience_variant';
|
|
10585
|
-
} & io.flow.experiment.internal.v0.models.ExperienceVariant
|
|
10586
|
-
| {
|
|
10587
|
-
discriminator: 'external_variant';
|
|
10588
|
-
} & io.flow.experiment.internal.v0.models.ExternalVariant)[];
|
|
9930
|
+
readonly variants: io.flow.experiment.internal.v0.unions.Variant[];
|
|
10589
9931
|
}
|
|
10590
9932
|
|
|
10591
9933
|
export interface ExperimentResults {
|
|
@@ -10966,19 +10308,7 @@ namespace io.flow.content.internal.v0.enums {
|
|
|
10966
10308
|
|
|
10967
10309
|
namespace io.flow.content.internal.v0.models {
|
|
10968
10310
|
export interface ApmContent {
|
|
10969
|
-
readonly processor_description:
|
|
10970
|
-
| {
|
|
10971
|
-
discriminator: 'dict';
|
|
10972
|
-
} & io.flow.content.internal.v0.models.Dict
|
|
10973
|
-
| {
|
|
10974
|
-
discriminator: 'href';
|
|
10975
|
-
} & io.flow.content.internal.v0.models.Href
|
|
10976
|
-
| {
|
|
10977
|
-
discriminator: 'label';
|
|
10978
|
-
} & io.flow.content.internal.v0.models.Label
|
|
10979
|
-
| {
|
|
10980
|
-
discriminator: 'load';
|
|
10981
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
10311
|
+
readonly processor_description: io.flow.content.internal.v0.unions.ContentItem;
|
|
10982
10312
|
}
|
|
10983
10313
|
|
|
10984
10314
|
export interface Checkbox {
|
|
@@ -10994,62 +10324,14 @@ namespace io.flow.content.internal.v0.models {
|
|
|
10994
10324
|
readonly checkout: io.flow.content.internal.v0.models.CheckoutContent;
|
|
10995
10325
|
readonly payments: io.flow.content.internal.v0.models.CheckoutPaymentContent;
|
|
10996
10326
|
readonly marketing: io.flow.content.internal.v0.models.CheckoutMarketingContent;
|
|
10997
|
-
readonly footer:
|
|
10998
|
-
| {
|
|
10999
|
-
discriminator: 'dict';
|
|
11000
|
-
} & io.flow.content.internal.v0.models.Dict
|
|
11001
|
-
| {
|
|
11002
|
-
discriminator: 'href';
|
|
11003
|
-
} & io.flow.content.internal.v0.models.Href
|
|
11004
|
-
| {
|
|
11005
|
-
discriminator: 'label';
|
|
11006
|
-
} & io.flow.content.internal.v0.models.Label
|
|
11007
|
-
| {
|
|
11008
|
-
discriminator: 'load';
|
|
11009
|
-
} & io.flow.content.internal.v0.models.Load)[];
|
|
10327
|
+
readonly footer: io.flow.content.internal.v0.unions.ContentItem[];
|
|
11010
10328
|
}
|
|
11011
10329
|
|
|
11012
10330
|
export interface CheckoutContent {
|
|
11013
|
-
readonly contact_us:
|
|
11014
|
-
| {
|
|
11015
|
-
discriminator: 'dict';
|
|
11016
|
-
} & io.flow.content.internal.v0.models.Dict
|
|
11017
|
-
| {
|
|
11018
|
-
discriminator: 'href';
|
|
11019
|
-
} & io.flow.content.internal.v0.models.Href
|
|
11020
|
-
| {
|
|
11021
|
-
discriminator: 'label';
|
|
11022
|
-
} & io.flow.content.internal.v0.models.Label
|
|
11023
|
-
| {
|
|
11024
|
-
discriminator: 'load';
|
|
11025
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
10331
|
+
readonly contact_us: io.flow.content.internal.v0.unions.ContentItem;
|
|
11026
10332
|
readonly logo: io.flow.content.internal.v0.models.Logo;
|
|
11027
|
-
readonly privacy_policy?:
|
|
11028
|
-
|
|
11029
|
-
discriminator: 'dict';
|
|
11030
|
-
} & io.flow.content.internal.v0.models.Dict
|
|
11031
|
-
| {
|
|
11032
|
-
discriminator: 'href';
|
|
11033
|
-
} & io.flow.content.internal.v0.models.Href
|
|
11034
|
-
| {
|
|
11035
|
-
discriminator: 'label';
|
|
11036
|
-
} & io.flow.content.internal.v0.models.Label
|
|
11037
|
-
| {
|
|
11038
|
-
discriminator: 'load';
|
|
11039
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
11040
|
-
readonly terms?:
|
|
11041
|
-
| {
|
|
11042
|
-
discriminator: 'dict';
|
|
11043
|
-
} & io.flow.content.internal.v0.models.Dict
|
|
11044
|
-
| {
|
|
11045
|
-
discriminator: 'href';
|
|
11046
|
-
} & io.flow.content.internal.v0.models.Href
|
|
11047
|
-
| {
|
|
11048
|
-
discriminator: 'label';
|
|
11049
|
-
} & io.flow.content.internal.v0.models.Label
|
|
11050
|
-
| {
|
|
11051
|
-
discriminator: 'load';
|
|
11052
|
-
} & io.flow.content.internal.v0.models.Load;
|
|
10333
|
+
readonly privacy_policy?: io.flow.content.internal.v0.unions.ContentItem;
|
|
10334
|
+
readonly terms?: io.flow.content.internal.v0.unions.ContentItem;
|
|
11053
10335
|
readonly order_summary_message?: io.flow.content.internal.v0.models.Label;
|
|
11054
10336
|
}
|
|
11055
10337
|
|
|
@@ -11076,9 +10358,7 @@ namespace io.flow.content.internal.v0.models {
|
|
|
11076
10358
|
readonly description?: string;
|
|
11077
10359
|
readonly example?: string;
|
|
11078
10360
|
readonly required?: boolean;
|
|
11079
|
-
readonly validation?:
|
|
11080
|
-
discriminator: 'validation_character_length';
|
|
11081
|
-
} & io.flow.content.internal.v0.models.ValidationCharacterLength)[];
|
|
10361
|
+
readonly validation?: io.flow.content.internal.v0.unions.ValidationRule[];
|
|
11082
10362
|
}
|
|
11083
10363
|
|
|
11084
10364
|
export interface ContentSchemaForm {
|
|
@@ -11112,19 +10392,7 @@ namespace io.flow.content.internal.v0.models {
|
|
|
11112
10392
|
|
|
11113
10393
|
export interface LabeledContent {
|
|
11114
10394
|
readonly label: io.flow.content.internal.v0.models.Label;
|
|
11115
|
-
readonly contents:
|
|
11116
|
-
| {
|
|
11117
|
-
discriminator: 'dict';
|
|
11118
|
-
} & io.flow.content.internal.v0.models.Dict
|
|
11119
|
-
| {
|
|
11120
|
-
discriminator: 'href';
|
|
11121
|
-
} & io.flow.content.internal.v0.models.Href
|
|
11122
|
-
| {
|
|
11123
|
-
discriminator: 'label';
|
|
11124
|
-
} & io.flow.content.internal.v0.models.Label
|
|
11125
|
-
| {
|
|
11126
|
-
discriminator: 'load';
|
|
11127
|
-
} & io.flow.content.internal.v0.models.Load)[];
|
|
10395
|
+
readonly contents: io.flow.content.internal.v0.unions.ContentItem[];
|
|
11128
10396
|
}
|
|
11129
10397
|
|
|
11130
10398
|
export interface Load {
|
|
@@ -11248,41 +10516,17 @@ namespace io.flow.query.builder.v0.models {
|
|
|
11248
10516
|
|
|
11249
10517
|
export interface Query {
|
|
11250
10518
|
readonly q: string;
|
|
11251
|
-
readonly filters:
|
|
11252
|
-
| {
|
|
11253
|
-
discriminator: 'structured';
|
|
11254
|
-
} & io.flow.query.builder.v0.models.QueryFilterStructured
|
|
11255
|
-
| {
|
|
11256
|
-
discriminator: 'unstructured';
|
|
11257
|
-
} & io.flow.query.builder.v0.models.QueryFilterUnstructured)[];
|
|
10519
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
11258
10520
|
}
|
|
11259
10521
|
|
|
11260
10522
|
export interface QueryBuilder {
|
|
11261
10523
|
readonly q: string;
|
|
11262
|
-
readonly filters:
|
|
11263
|
-
|
|
11264
|
-
discriminator: 'structured';
|
|
11265
|
-
} & io.flow.query.builder.v0.models.QueryFilterStructured
|
|
11266
|
-
| {
|
|
11267
|
-
discriminator: 'unstructured';
|
|
11268
|
-
} & io.flow.query.builder.v0.models.QueryFilterUnstructured)[];
|
|
11269
|
-
readonly available: (
|
|
11270
|
-
| {
|
|
11271
|
-
discriminator: 'structured';
|
|
11272
|
-
} & io.flow.query.builder.v0.models.AvailableFilterStructured
|
|
11273
|
-
| {
|
|
11274
|
-
discriminator: 'unstructured';
|
|
11275
|
-
} & io.flow.query.builder.v0.models.AvailableFilterUnstructured)[];
|
|
10524
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilter[];
|
|
10525
|
+
readonly available: io.flow.query.builder.v0.unions.AvailableFilter[];
|
|
11276
10526
|
}
|
|
11277
10527
|
|
|
11278
10528
|
export interface QueryBuilderFilterForm {
|
|
11279
|
-
readonly filters:
|
|
11280
|
-
| {
|
|
11281
|
-
discriminator: 'structured';
|
|
11282
|
-
} & io.flow.query.builder.v0.models.QueryFilterStructuredForm
|
|
11283
|
-
| {
|
|
11284
|
-
discriminator: 'unstructured';
|
|
11285
|
-
} & io.flow.query.builder.v0.models.QueryFilterUnstructuredForm)[];
|
|
10529
|
+
readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
11286
10530
|
}
|
|
11287
10531
|
|
|
11288
10532
|
export interface QueryBuilderQueryForm {
|
|
@@ -11715,10 +10959,6 @@ namespace io.flow.customer.v0.models {
|
|
|
11715
10959
|
readonly address_preferences?: io.flow.customer.v0.models.CustomerAddressPreference[];
|
|
11716
10960
|
}
|
|
11717
10961
|
|
|
11718
|
-
export interface CustomerAddressBookForm {
|
|
11719
|
-
readonly contacts: io.flow.customer.v0.models.CustomerAddressBookContactForm[];
|
|
11720
|
-
}
|
|
11721
|
-
|
|
11722
10962
|
export interface CustomerAddressPreference {
|
|
11723
10963
|
readonly type: io.flow.customer.v0.enums.CustomerAddressType;
|
|
11724
10964
|
}
|
|
@@ -11811,7 +11051,7 @@ namespace io.flow.RESERVED_WORD_import.v0.models {
|
|
|
11811
11051
|
readonly started_at?: string;
|
|
11812
11052
|
readonly completed_at?: string;
|
|
11813
11053
|
readonly results?: io.flow.RESERVED_WORD_import.v0.models.ImportResults;
|
|
11814
|
-
readonly deliveries:
|
|
11054
|
+
readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
|
|
11815
11055
|
}
|
|
11816
11056
|
|
|
11817
11057
|
export interface ImportForm {
|
|
@@ -11952,13 +11192,7 @@ namespace io.flow.price.v0.models {
|
|
|
11952
11192
|
export interface Duty {
|
|
11953
11193
|
readonly rate: number;
|
|
11954
11194
|
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
11955
|
-
readonly deminimis?:
|
|
11956
|
-
| {
|
|
11957
|
-
discriminator: 'deminimis_simple';
|
|
11958
|
-
} & io.flow.price.v0.models.DeminimisSimple
|
|
11959
|
-
| {
|
|
11960
|
-
discriminator: 'deminimis_per_item';
|
|
11961
|
-
} & io.flow.price.v0.models.DeminimisPerItem;
|
|
11195
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
11962
11196
|
readonly name?: string;
|
|
11963
11197
|
}
|
|
11964
11198
|
|
|
@@ -12084,13 +11318,7 @@ namespace io.flow.price.v0.models {
|
|
|
12084
11318
|
readonly name: string;
|
|
12085
11319
|
readonly rate: number;
|
|
12086
11320
|
readonly components: io.flow.price.v0.enums.LevyComponent[];
|
|
12087
|
-
readonly deminimis?:
|
|
12088
|
-
| {
|
|
12089
|
-
discriminator: 'deminimis_simple';
|
|
12090
|
-
} & io.flow.price.v0.models.DeminimisSimple
|
|
12091
|
-
| {
|
|
12092
|
-
discriminator: 'deminimis_per_item';
|
|
12093
|
-
} & io.flow.price.v0.models.DeminimisPerItem;
|
|
11321
|
+
readonly deminimis?: io.flow.price.v0.unions.Deminimis;
|
|
12094
11322
|
}
|
|
12095
11323
|
}
|
|
12096
11324
|
|
|
@@ -12432,15 +11660,7 @@ namespace io.flow.permission.v0.models {
|
|
|
12432
11660
|
export interface BehaviorAudit {
|
|
12433
11661
|
readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
|
|
12434
11662
|
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
12435
|
-
readonly roles:
|
|
12436
|
-
| {
|
|
12437
|
-
discriminator: 'flow_user_role';
|
|
12438
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
12439
|
-
}
|
|
12440
|
-
| {
|
|
12441
|
-
discriminator: 'flow_addon_role';
|
|
12442
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
12443
|
-
})[];
|
|
11663
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
12444
11664
|
}
|
|
12445
11665
|
|
|
12446
11666
|
export interface PermissionAudit {
|
|
@@ -12450,16 +11670,8 @@ namespace io.flow.permission.v0.models {
|
|
|
12450
11670
|
|
|
12451
11671
|
export interface PermissionCheck {
|
|
12452
11672
|
readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
12453
|
-
readonly user?:
|
|
12454
|
-
readonly roles:
|
|
12455
|
-
| {
|
|
12456
|
-
discriminator: 'flow_user_role';
|
|
12457
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
12458
|
-
}
|
|
12459
|
-
| {
|
|
12460
|
-
discriminator: 'flow_addon_role';
|
|
12461
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
12462
|
-
})[];
|
|
11673
|
+
readonly user?: io.flow.common.v0.unions.ExpandableUser;
|
|
11674
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
12463
11675
|
readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
|
|
12464
11676
|
readonly routes: io.flow.permission.v0.models.PermittedRoute[];
|
|
12465
11677
|
}
|
|
@@ -12467,15 +11679,7 @@ namespace io.flow.permission.v0.models {
|
|
|
12467
11679
|
export interface PermissionError {
|
|
12468
11680
|
readonly code: io.flow.error.v0.enums.GenericErrorCode;
|
|
12469
11681
|
readonly messages: string[];
|
|
12470
|
-
readonly granting_roles?:
|
|
12471
|
-
| {
|
|
12472
|
-
discriminator: 'flow_user_role';
|
|
12473
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
12474
|
-
}
|
|
12475
|
-
| {
|
|
12476
|
-
discriminator: 'flow_addon_role';
|
|
12477
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
12478
|
-
})[];
|
|
11682
|
+
readonly granting_roles?: io.flow.permission.v0.unions.FlowRole[];
|
|
12479
11683
|
readonly admin_users?: io.flow.common.v0.models.User[];
|
|
12480
11684
|
}
|
|
12481
11685
|
|
|
@@ -12488,15 +11692,7 @@ namespace io.flow.permission.v0.models {
|
|
|
12488
11692
|
readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
12489
11693
|
readonly path: string;
|
|
12490
11694
|
readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
12491
|
-
readonly roles:
|
|
12492
|
-
| {
|
|
12493
|
-
discriminator: 'flow_user_role';
|
|
12494
|
-
value: io.flow.permission.v0.enums.FlowUserRole;
|
|
12495
|
-
}
|
|
12496
|
-
| {
|
|
12497
|
-
discriminator: 'flow_addon_role';
|
|
12498
|
-
value: io.flow.permission.v0.enums.FlowAddonRole;
|
|
12499
|
-
})[];
|
|
11695
|
+
readonly roles: io.flow.permission.v0.unions.FlowRole[];
|
|
12500
11696
|
}
|
|
12501
11697
|
|
|
12502
11698
|
export interface SimplePermissionCheck {
|
|
@@ -12653,14 +11849,6 @@ namespace io.flow.internal.v0.enums {
|
|
|
12653
11849
|
| 'percent'
|
|
12654
11850
|
| 'per_uom'
|
|
12655
11851
|
| 'flat';
|
|
12656
|
-
export type EcommercePlatformType =
|
|
12657
|
-
| 'commercetools'
|
|
12658
|
-
| 'custom'
|
|
12659
|
-
| 'magento'
|
|
12660
|
-
| 'shopify'
|
|
12661
|
-
| 'sfcc'
|
|
12662
|
-
| 'solidus'
|
|
12663
|
-
| 'workarea';
|
|
12664
11852
|
export type EventType =
|
|
12665
11853
|
| 'adyen_authorization_deleted'
|
|
12666
11854
|
| 'adyen_authorization_upserted'
|
|
@@ -13335,19 +12523,7 @@ namespace io.flow.internal.v0.models {
|
|
|
13335
12523
|
}
|
|
13336
12524
|
|
|
13337
12525
|
export interface ApmContent {
|
|
13338
|
-
readonly processor_description:
|
|
13339
|
-
| {
|
|
13340
|
-
discriminator: 'dict';
|
|
13341
|
-
} & io.flow.internal.v0.models.Dict
|
|
13342
|
-
| {
|
|
13343
|
-
discriminator: 'href';
|
|
13344
|
-
} & io.flow.internal.v0.models.Href
|
|
13345
|
-
| {
|
|
13346
|
-
discriminator: 'label';
|
|
13347
|
-
} & io.flow.internal.v0.models.Label
|
|
13348
|
-
| {
|
|
13349
|
-
discriminator: 'load';
|
|
13350
|
-
} & io.flow.internal.v0.models.Load;
|
|
12526
|
+
readonly processor_description: io.flow.internal.v0.unions.ContentItem;
|
|
13351
12527
|
}
|
|
13352
12528
|
|
|
13353
12529
|
export interface ApplePaymentToken {
|
|
@@ -13397,9 +12573,7 @@ namespace io.flow.internal.v0.models {
|
|
|
13397
12573
|
|
|
13398
12574
|
export interface AuthorizedChargeStatus {
|
|
13399
12575
|
readonly line_item_charges: io.flow.internal.v0.models.AuthorizedLineItemCharge[];
|
|
13400
|
-
readonly order_charges:
|
|
13401
|
-
discriminator: 'authorized_shipping_charge';
|
|
13402
|
-
} & io.flow.internal.v0.models.AuthorizedShippingCharge)[];
|
|
12576
|
+
readonly order_charges: io.flow.internal.v0.unions.AuthorizedOrderCharge[];
|
|
13403
12577
|
readonly authorized: io.flow.common.v0.models.PriceWithBase;
|
|
13404
12578
|
readonly captured: io.flow.common.v0.models.PriceWithBase;
|
|
13405
12579
|
readonly cancelled: io.flow.common.v0.models.PriceWithBase;
|
|
@@ -13431,23 +12605,11 @@ namespace io.flow.internal.v0.models {
|
|
|
13431
12605
|
}
|
|
13432
12606
|
|
|
13433
12607
|
export interface BalanceInstallmentStep {
|
|
13434
|
-
readonly condition:
|
|
13435
|
-
| {
|
|
13436
|
-
discriminator: 'time_condition';
|
|
13437
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
13438
|
-
| {
|
|
13439
|
-
discriminator: 'order_event_condition';
|
|
13440
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
12608
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
13441
12609
|
}
|
|
13442
12610
|
|
|
13443
12611
|
export interface BalanceInstallmentStepForm {
|
|
13444
|
-
readonly condition:
|
|
13445
|
-
| {
|
|
13446
|
-
discriminator: 'time_condition';
|
|
13447
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
13448
|
-
| {
|
|
13449
|
-
discriminator: 'order_event_condition';
|
|
13450
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
12612
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
13451
12613
|
}
|
|
13452
12614
|
|
|
13453
12615
|
export interface BankPayment {
|
|
@@ -13673,7 +12835,7 @@ namespace io.flow.internal.v0.models {
|
|
|
13673
12835
|
readonly id: string;
|
|
13674
12836
|
readonly organization_id: string;
|
|
13675
12837
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
13676
|
-
readonly credentials:
|
|
12838
|
+
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
13677
12839
|
}
|
|
13678
12840
|
|
|
13679
12841
|
export interface CarrierAccountUpserted {
|
|
@@ -13859,46 +13021,10 @@ namespace io.flow.internal.v0.models {
|
|
|
13859
13021
|
}
|
|
13860
13022
|
|
|
13861
13023
|
export interface CheckoutContentDetails {
|
|
13862
|
-
readonly contact_us:
|
|
13863
|
-
| {
|
|
13864
|
-
discriminator: 'dict';
|
|
13865
|
-
} & io.flow.internal.v0.models.Dict
|
|
13866
|
-
| {
|
|
13867
|
-
discriminator: 'href';
|
|
13868
|
-
} & io.flow.internal.v0.models.Href
|
|
13869
|
-
| {
|
|
13870
|
-
discriminator: 'label';
|
|
13871
|
-
} & io.flow.internal.v0.models.Label
|
|
13872
|
-
| {
|
|
13873
|
-
discriminator: 'load';
|
|
13874
|
-
} & io.flow.internal.v0.models.Load;
|
|
13024
|
+
readonly contact_us: io.flow.internal.v0.unions.ContentItem;
|
|
13875
13025
|
readonly logo: io.flow.internal.v0.models.Logo;
|
|
13876
|
-
readonly privacy_policy?:
|
|
13877
|
-
|
|
13878
|
-
discriminator: 'dict';
|
|
13879
|
-
} & io.flow.internal.v0.models.Dict
|
|
13880
|
-
| {
|
|
13881
|
-
discriminator: 'href';
|
|
13882
|
-
} & io.flow.internal.v0.models.Href
|
|
13883
|
-
| {
|
|
13884
|
-
discriminator: 'label';
|
|
13885
|
-
} & io.flow.internal.v0.models.Label
|
|
13886
|
-
| {
|
|
13887
|
-
discriminator: 'load';
|
|
13888
|
-
} & io.flow.internal.v0.models.Load;
|
|
13889
|
-
readonly terms?:
|
|
13890
|
-
| {
|
|
13891
|
-
discriminator: 'dict';
|
|
13892
|
-
} & io.flow.internal.v0.models.Dict
|
|
13893
|
-
| {
|
|
13894
|
-
discriminator: 'href';
|
|
13895
|
-
} & io.flow.internal.v0.models.Href
|
|
13896
|
-
| {
|
|
13897
|
-
discriminator: 'label';
|
|
13898
|
-
} & io.flow.internal.v0.models.Label
|
|
13899
|
-
| {
|
|
13900
|
-
discriminator: 'load';
|
|
13901
|
-
} & io.flow.internal.v0.models.Load;
|
|
13026
|
+
readonly privacy_policy?: io.flow.internal.v0.unions.ContentItem;
|
|
13027
|
+
readonly terms?: io.flow.internal.v0.unions.ContentItem;
|
|
13902
13028
|
readonly order_summary_message?: io.flow.internal.v0.models.Label;
|
|
13903
13029
|
}
|
|
13904
13030
|
|
|
@@ -13907,19 +13033,7 @@ namespace io.flow.internal.v0.models {
|
|
|
13907
13033
|
readonly checkout: io.flow.internal.v0.models.CheckoutContentDetails;
|
|
13908
13034
|
readonly payments: io.flow.internal.v0.models.CheckoutPaymentContent;
|
|
13909
13035
|
readonly marketing: io.flow.internal.v0.models.CheckoutMarketingContent;
|
|
13910
|
-
readonly footer:
|
|
13911
|
-
| {
|
|
13912
|
-
discriminator: 'dict';
|
|
13913
|
-
} & io.flow.internal.v0.models.Dict
|
|
13914
|
-
| {
|
|
13915
|
-
discriminator: 'href';
|
|
13916
|
-
} & io.flow.internal.v0.models.Href
|
|
13917
|
-
| {
|
|
13918
|
-
discriminator: 'label';
|
|
13919
|
-
} & io.flow.internal.v0.models.Label
|
|
13920
|
-
| {
|
|
13921
|
-
discriminator: 'load';
|
|
13922
|
-
} & io.flow.internal.v0.models.Load)[];
|
|
13036
|
+
readonly footer: io.flow.internal.v0.unions.ContentItem[];
|
|
13923
13037
|
}
|
|
13924
13038
|
|
|
13925
13039
|
export interface CheckoutFinalizeOrderForm {
|
|
@@ -13957,6 +13071,9 @@ namespace io.flow.internal.v0.models {
|
|
|
13957
13071
|
|
|
13958
13072
|
export interface CheckoutReferenceForm {
|
|
13959
13073
|
readonly order_number: string;
|
|
13074
|
+
readonly order_form: io.flow.experience.v0.models.OrderPutForm;
|
|
13075
|
+
readonly order_geo: io.flow.experience.v0.models.OrderGeo;
|
|
13076
|
+
readonly session_id: string;
|
|
13960
13077
|
}
|
|
13961
13078
|
|
|
13962
13079
|
export interface CheckoutSettings {
|
|
@@ -13971,11 +13088,11 @@ namespace io.flow.internal.v0.models {
|
|
|
13971
13088
|
|
|
13972
13089
|
export interface CheckoutSubmission {
|
|
13973
13090
|
readonly builder: io.flow.experience.v0.models.OrderBuilder;
|
|
13974
|
-
readonly action?:
|
|
13091
|
+
readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
13975
13092
|
}
|
|
13976
13093
|
|
|
13977
13094
|
export interface CheckoutSubmissionForm {
|
|
13978
|
-
readonly authorization_form:
|
|
13095
|
+
readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
|
|
13979
13096
|
readonly installment_program_id?: string;
|
|
13980
13097
|
readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
13981
13098
|
readonly feature_keys?: string[];
|
|
@@ -13983,12 +13100,12 @@ namespace io.flow.internal.v0.models {
|
|
|
13983
13100
|
|
|
13984
13101
|
export interface CheckoutSubmitOrderBundle {
|
|
13985
13102
|
readonly order?: io.flow.experience.v0.models.Order;
|
|
13986
|
-
readonly redirect?:
|
|
13103
|
+
readonly redirect?: io.flow.payment.v0.unions.AuthorizationResultAction;
|
|
13987
13104
|
readonly errors?: io.flow.experience.v0.models.OrderError[];
|
|
13988
13105
|
}
|
|
13989
13106
|
|
|
13990
13107
|
export interface CheckoutSubmitOrderForm {
|
|
13991
|
-
readonly authorization_form:
|
|
13108
|
+
readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
|
|
13992
13109
|
readonly installment_program_id?: string;
|
|
13993
13110
|
readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
13994
13111
|
}
|
|
@@ -14165,9 +13282,7 @@ namespace io.flow.internal.v0.models {
|
|
|
14165
13282
|
readonly description?: string;
|
|
14166
13283
|
readonly example?: string;
|
|
14167
13284
|
readonly required?: boolean;
|
|
14168
|
-
readonly validation?:
|
|
14169
|
-
discriminator: 'validation_character_length';
|
|
14170
|
-
} & io.flow.internal.v0.models.ValidationCharacterLength)[];
|
|
13285
|
+
readonly validation?: io.flow.internal.v0.unions.ValidationRule[];
|
|
14171
13286
|
}
|
|
14172
13287
|
|
|
14173
13288
|
export interface ContentSchemaForm {
|
|
@@ -14321,9 +13436,7 @@ namespace io.flow.internal.v0.models {
|
|
|
14321
13436
|
|
|
14322
13437
|
export interface DiscountRequestOrderEntitlementForm {
|
|
14323
13438
|
readonly entitlement_key: io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey;
|
|
14324
|
-
readonly offer_form:
|
|
14325
|
-
discriminator: 'discount_request_offer_fixed_amount_form';
|
|
14326
|
-
} & io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
13439
|
+
readonly offer_form: io.flow.internal.v0.unions.DiscountRequestOfferForm;
|
|
14327
13440
|
}
|
|
14328
13441
|
|
|
14329
13442
|
export interface DiscountRequestOrderForm {
|
|
@@ -14347,20 +13460,8 @@ namespace io.flow.internal.v0.models {
|
|
|
14347
13460
|
|
|
14348
13461
|
export interface DutyCompoundExpression {
|
|
14349
13462
|
readonly type: io.flow.internal.v0.enums.DutyCompoundExpressionType;
|
|
14350
|
-
readonly left:
|
|
14351
|
-
|
|
14352
|
-
discriminator: 'duty_compound_expression';
|
|
14353
|
-
} & io.flow.internal.v0.models.DutyCompoundExpression
|
|
14354
|
-
| {
|
|
14355
|
-
discriminator: 'duty_simple_expression';
|
|
14356
|
-
} & io.flow.internal.v0.models.DutySimpleExpression;
|
|
14357
|
-
readonly right:
|
|
14358
|
-
| {
|
|
14359
|
-
discriminator: 'duty_compound_expression';
|
|
14360
|
-
} & io.flow.internal.v0.models.DutyCompoundExpression
|
|
14361
|
-
| {
|
|
14362
|
-
discriminator: 'duty_simple_expression';
|
|
14363
|
-
} & io.flow.internal.v0.models.DutySimpleExpression;
|
|
13463
|
+
readonly left: io.flow.internal.v0.unions.DutyExpression;
|
|
13464
|
+
readonly right: io.flow.internal.v0.unions.DutyExpression;
|
|
14364
13465
|
}
|
|
14365
13466
|
|
|
14366
13467
|
export interface DutyRate {
|
|
@@ -14369,13 +13470,7 @@ namespace io.flow.internal.v0.models {
|
|
|
14369
13470
|
readonly destination: string;
|
|
14370
13471
|
readonly origin: string;
|
|
14371
13472
|
readonly tariff_code: string;
|
|
14372
|
-
readonly expression:
|
|
14373
|
-
| {
|
|
14374
|
-
discriminator: 'duty_compound_expression';
|
|
14375
|
-
} & io.flow.internal.v0.models.DutyCompoundExpression
|
|
14376
|
-
| {
|
|
14377
|
-
discriminator: 'duty_simple_expression';
|
|
14378
|
-
} & io.flow.internal.v0.models.DutySimpleExpression;
|
|
13473
|
+
readonly expression: io.flow.internal.v0.unions.DutyExpression;
|
|
14379
13474
|
readonly parser_version: string;
|
|
14380
13475
|
readonly created_at: string;
|
|
14381
13476
|
}
|
|
@@ -14457,11 +13552,6 @@ namespace io.flow.internal.v0.models {
|
|
|
14457
13552
|
readonly unit_of_measure?: io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
14458
13553
|
}
|
|
14459
13554
|
|
|
14460
|
-
export interface EcommercePlatform {
|
|
14461
|
-
readonly type: io.flow.internal.v0.enums.EcommercePlatformType;
|
|
14462
|
-
readonly version?: string;
|
|
14463
|
-
}
|
|
14464
|
-
|
|
14465
13555
|
export interface EmailForm {
|
|
14466
13556
|
readonly to: string[];
|
|
14467
13557
|
readonly cc?: string[];
|
|
@@ -14560,13 +13650,7 @@ namespace io.flow.internal.v0.models {
|
|
|
14560
13650
|
readonly status: io.flow.internal.v0.enums.Status;
|
|
14561
13651
|
readonly started_at?: string;
|
|
14562
13652
|
readonly ended_at?: string;
|
|
14563
|
-
readonly variants:
|
|
14564
|
-
| {
|
|
14565
|
-
discriminator: 'experience_variant';
|
|
14566
|
-
} & io.flow.internal.v0.models.ExperienceVariant
|
|
14567
|
-
| {
|
|
14568
|
-
discriminator: 'external_variant';
|
|
14569
|
-
} & io.flow.internal.v0.models.ExternalVariant)[];
|
|
13653
|
+
readonly variants: io.flow.internal.v0.unions.Variant[];
|
|
14570
13654
|
}
|
|
14571
13655
|
|
|
14572
13656
|
export interface ExperimentDeleted {
|
|
@@ -14587,13 +13671,7 @@ namespace io.flow.internal.v0.models {
|
|
|
14587
13671
|
|
|
14588
13672
|
export interface ExperimentForm {
|
|
14589
13673
|
readonly name: string;
|
|
14590
|
-
readonly variants:
|
|
14591
|
-
| {
|
|
14592
|
-
discriminator: 'experience_variant';
|
|
14593
|
-
} & io.flow.internal.v0.models.ExperienceVariant
|
|
14594
|
-
| {
|
|
14595
|
-
discriminator: 'external_variant';
|
|
14596
|
-
} & io.flow.internal.v0.models.ExternalVariant)[];
|
|
13674
|
+
readonly variants: io.flow.internal.v0.unions.Variant[];
|
|
14597
13675
|
}
|
|
14598
13676
|
|
|
14599
13677
|
export interface ExperimentResults {
|
|
@@ -14675,20 +13753,8 @@ namespace io.flow.internal.v0.models {
|
|
|
14675
13753
|
readonly released_at?: string;
|
|
14676
13754
|
readonly status: io.flow.internal.v0.enums.FeatureStatus;
|
|
14677
13755
|
readonly type: io.flow.internal.v0.enums.FeatureType;
|
|
14678
|
-
readonly rules:
|
|
14679
|
-
|
|
14680
|
-
discriminator: 'boolean';
|
|
14681
|
-
} & io.flow.internal.v0.models.BooleanFeatureRule
|
|
14682
|
-
| {
|
|
14683
|
-
discriminator: 'string';
|
|
14684
|
-
} & io.flow.internal.v0.models.StringFeatureRule)[];
|
|
14685
|
-
readonly default?:
|
|
14686
|
-
| {
|
|
14687
|
-
discriminator: 'boolean';
|
|
14688
|
-
} & io.flow.internal.v0.models.BooleanFeatureDefaultValue
|
|
14689
|
-
| {
|
|
14690
|
-
discriminator: 'string';
|
|
14691
|
-
} & io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
13756
|
+
readonly rules: io.flow.internal.v0.unions.FeatureRule[];
|
|
13757
|
+
readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
14692
13758
|
}
|
|
14693
13759
|
|
|
14694
13760
|
export interface FeatureContextForm {
|
|
@@ -14701,20 +13767,8 @@ namespace io.flow.internal.v0.models {
|
|
|
14701
13767
|
readonly description?: string;
|
|
14702
13768
|
readonly status?: io.flow.internal.v0.enums.FeatureStatus;
|
|
14703
13769
|
readonly type: io.flow.internal.v0.enums.FeatureType;
|
|
14704
|
-
readonly rules:
|
|
14705
|
-
|
|
14706
|
-
discriminator: 'boolean';
|
|
14707
|
-
} & io.flow.internal.v0.models.BooleanFeatureRuleForm
|
|
14708
|
-
| {
|
|
14709
|
-
discriminator: 'string';
|
|
14710
|
-
} & io.flow.internal.v0.models.StringFeatureRuleForm)[];
|
|
14711
|
-
readonly default?:
|
|
14712
|
-
| {
|
|
14713
|
-
discriminator: 'boolean';
|
|
14714
|
-
} & io.flow.internal.v0.models.BooleanFeatureDefaultValue
|
|
14715
|
-
| {
|
|
14716
|
-
discriminator: 'string';
|
|
14717
|
-
} & io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
13770
|
+
readonly rules: io.flow.internal.v0.unions.FeatureRuleForm[];
|
|
13771
|
+
readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
14718
13772
|
}
|
|
14719
13773
|
|
|
14720
13774
|
export interface FeatureGeoForm {
|
|
@@ -14744,13 +13798,7 @@ namespace io.flow.internal.v0.models {
|
|
|
14744
13798
|
}
|
|
14745
13799
|
|
|
14746
13800
|
export interface FeatureValueResult {
|
|
14747
|
-
readonly values:
|
|
14748
|
-
| {
|
|
14749
|
-
discriminator: 'boolean';
|
|
14750
|
-
} & io.flow.internal.v0.models.BooleanFeatureValue
|
|
14751
|
-
| {
|
|
14752
|
-
discriminator: 'string';
|
|
14753
|
-
} & io.flow.internal.v0.models.StringFeatureValue)[];
|
|
13801
|
+
readonly values: io.flow.internal.v0.unions.FeatureValue[];
|
|
14754
13802
|
}
|
|
14755
13803
|
|
|
14756
13804
|
export interface Fee {
|
|
@@ -14769,25 +13817,13 @@ namespace io.flow.internal.v0.models {
|
|
|
14769
13817
|
|
|
14770
13818
|
export interface FixedAmountInstallmentStep {
|
|
14771
13819
|
readonly value: io.flow.common.v0.models.Price;
|
|
14772
|
-
readonly condition:
|
|
14773
|
-
| {
|
|
14774
|
-
discriminator: 'time_condition';
|
|
14775
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
14776
|
-
| {
|
|
14777
|
-
discriminator: 'order_event_condition';
|
|
14778
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
13820
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
14779
13821
|
readonly limit?: number;
|
|
14780
13822
|
}
|
|
14781
13823
|
|
|
14782
13824
|
export interface FixedAmountInstallmentStepForm {
|
|
14783
13825
|
readonly value: io.flow.common.v0.models.Money;
|
|
14784
|
-
readonly condition:
|
|
14785
|
-
| {
|
|
14786
|
-
discriminator: 'time_condition';
|
|
14787
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
14788
|
-
| {
|
|
14789
|
-
discriminator: 'order_event_condition';
|
|
14790
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
13826
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
14791
13827
|
readonly limit?: number;
|
|
14792
13828
|
}
|
|
14793
13829
|
|
|
@@ -14828,25 +13864,13 @@ namespace io.flow.internal.v0.models {
|
|
|
14828
13864
|
|
|
14829
13865
|
export interface FractionInstallmentStep {
|
|
14830
13866
|
readonly fraction: string;
|
|
14831
|
-
readonly condition:
|
|
14832
|
-
| {
|
|
14833
|
-
discriminator: 'time_condition';
|
|
14834
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
14835
|
-
| {
|
|
14836
|
-
discriminator: 'order_event_condition';
|
|
14837
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
13867
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
14838
13868
|
readonly limit?: number;
|
|
14839
13869
|
}
|
|
14840
13870
|
|
|
14841
13871
|
export interface FractionInstallmentStepForm {
|
|
14842
13872
|
readonly fraction: string;
|
|
14843
|
-
readonly condition:
|
|
14844
|
-
| {
|
|
14845
|
-
discriminator: 'time_condition';
|
|
14846
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
14847
|
-
| {
|
|
14848
|
-
discriminator: 'order_event_condition';
|
|
14849
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
13873
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
14850
13874
|
readonly limit?: number;
|
|
14851
13875
|
}
|
|
14852
13876
|
|
|
@@ -15153,7 +14177,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15153
14177
|
readonly plan: io.flow.internal.v0.models.InstallmentPlanReference;
|
|
15154
14178
|
readonly requested: io.flow.common.v0.models.Price;
|
|
15155
14179
|
readonly value: io.flow.common.v0.models.PriceWithBase;
|
|
15156
|
-
readonly authorizations:
|
|
14180
|
+
readonly authorizations: io.flow.payment.v0.unions.Authorization[];
|
|
15157
14181
|
}
|
|
15158
14182
|
|
|
15159
14183
|
export interface InstallmentAuthorizationReference {
|
|
@@ -15239,19 +14263,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15239
14263
|
readonly id: string;
|
|
15240
14264
|
readonly status: io.flow.internal.v0.enums.InstallmentProgramStatus;
|
|
15241
14265
|
readonly name: string;
|
|
15242
|
-
readonly steps:
|
|
15243
|
-
| {
|
|
15244
|
-
discriminator: 'balance_installment_step';
|
|
15245
|
-
} & io.flow.internal.v0.models.BalanceInstallmentStep
|
|
15246
|
-
| {
|
|
15247
|
-
discriminator: 'fixed_amount_installment_step';
|
|
15248
|
-
} & io.flow.internal.v0.models.FixedAmountInstallmentStep
|
|
15249
|
-
| {
|
|
15250
|
-
discriminator: 'percentage_installment_step';
|
|
15251
|
-
} & io.flow.internal.v0.models.PercentageInstallmentStep
|
|
15252
|
-
| {
|
|
15253
|
-
discriminator: 'fraction_installment_step';
|
|
15254
|
-
} & io.flow.internal.v0.models.FractionInstallmentStep)[];
|
|
14266
|
+
readonly steps: io.flow.internal.v0.unions.InstallmentStep[];
|
|
15255
14267
|
}
|
|
15256
14268
|
|
|
15257
14269
|
export interface InstallmentProgramDeleted {
|
|
@@ -15264,19 +14276,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15264
14276
|
export interface InstallmentProgramForm {
|
|
15265
14277
|
readonly name: string;
|
|
15266
14278
|
readonly status: io.flow.internal.v0.enums.InstallmentProgramStatus;
|
|
15267
|
-
readonly steps:
|
|
15268
|
-
| {
|
|
15269
|
-
discriminator: 'balance_installment_step_form';
|
|
15270
|
-
} & io.flow.internal.v0.models.BalanceInstallmentStepForm
|
|
15271
|
-
| {
|
|
15272
|
-
discriminator: 'fixed_amount_installment_step_form';
|
|
15273
|
-
} & io.flow.internal.v0.models.FixedAmountInstallmentStepForm
|
|
15274
|
-
| {
|
|
15275
|
-
discriminator: 'percentage_installment_step_form';
|
|
15276
|
-
} & io.flow.internal.v0.models.PercentageInstallmentStepForm
|
|
15277
|
-
| {
|
|
15278
|
-
discriminator: 'fraction_installment_step_form';
|
|
15279
|
-
} & io.flow.internal.v0.models.FractionInstallmentStepForm)[];
|
|
14279
|
+
readonly steps: io.flow.internal.v0.unions.InstallmentStepForm[];
|
|
15280
14280
|
}
|
|
15281
14281
|
|
|
15282
14282
|
export interface InstallmentProgramReference {
|
|
@@ -15338,22 +14338,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15338
14338
|
|
|
15339
14339
|
export interface InternalCardAuthorizationDetails {
|
|
15340
14340
|
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
15341
|
-
readonly internal?:
|
|
15342
|
-
| {
|
|
15343
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
15344
|
-
} & io.flow.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
15345
|
-
| {
|
|
15346
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
15347
|
-
} & io.flow.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
15348
|
-
| {
|
|
15349
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
15350
|
-
} & io.flow.internal.v0.models.InternalStripeAuthorizationDetails
|
|
15351
|
-
| {
|
|
15352
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
15353
|
-
} & io.flow.internal.v0.models.InternalAdyenAuthorizationDetails
|
|
15354
|
-
| {
|
|
15355
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
15356
|
-
} & io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
14341
|
+
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
15357
14342
|
}
|
|
15358
14343
|
|
|
15359
14344
|
export interface InternalOrder {
|
|
@@ -15368,22 +14353,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15368
14353
|
|
|
15369
14354
|
export interface InternalRedirectAuthorizationDetails {
|
|
15370
14355
|
readonly details: io.flow.payment.v0.models.RedirectAuthorizationDetails;
|
|
15371
|
-
readonly internal?:
|
|
15372
|
-
| {
|
|
15373
|
-
discriminator: 'internal_paypal_authorization_details';
|
|
15374
|
-
} & io.flow.internal.v0.models.InternalPaypalAuthorizationDetails
|
|
15375
|
-
| {
|
|
15376
|
-
discriminator: 'internal_bitpay_authorization_details';
|
|
15377
|
-
} & io.flow.internal.v0.models.InternalBitpayAuthorizationDetails
|
|
15378
|
-
| {
|
|
15379
|
-
discriminator: 'internal_stripe_authorization_details';
|
|
15380
|
-
} & io.flow.internal.v0.models.InternalStripeAuthorizationDetails
|
|
15381
|
-
| {
|
|
15382
|
-
discriminator: 'internal_adyen_authorization_details';
|
|
15383
|
-
} & io.flow.internal.v0.models.InternalAdyenAuthorizationDetails
|
|
15384
|
-
| {
|
|
15385
|
-
discriminator: 'internal_afterpay_authorization_details';
|
|
15386
|
-
} & io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails;
|
|
14356
|
+
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
15387
14357
|
}
|
|
15388
14358
|
|
|
15389
14359
|
export interface InternalStripeAuthorizationDetails {
|
|
@@ -15695,19 +14665,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15695
14665
|
|
|
15696
14666
|
export interface LabeledContent {
|
|
15697
14667
|
readonly label: io.flow.internal.v0.models.Label;
|
|
15698
|
-
readonly contents:
|
|
15699
|
-
| {
|
|
15700
|
-
discriminator: 'dict';
|
|
15701
|
-
} & io.flow.internal.v0.models.Dict
|
|
15702
|
-
| {
|
|
15703
|
-
discriminator: 'href';
|
|
15704
|
-
} & io.flow.internal.v0.models.Href
|
|
15705
|
-
| {
|
|
15706
|
-
discriminator: 'label';
|
|
15707
|
-
} & io.flow.internal.v0.models.Label
|
|
15708
|
-
| {
|
|
15709
|
-
discriminator: 'load';
|
|
15710
|
-
} & io.flow.internal.v0.models.Load)[];
|
|
14668
|
+
readonly contents: io.flow.internal.v0.unions.ContentItem[];
|
|
15711
14669
|
}
|
|
15712
14670
|
|
|
15713
14671
|
export interface LandedCostExport {
|
|
@@ -15849,20 +14807,8 @@ namespace io.flow.internal.v0.models {
|
|
|
15849
14807
|
}
|
|
15850
14808
|
|
|
15851
14809
|
export interface LocalizedItemsExportSettings {
|
|
15852
|
-
readonly full_export_schedule?:
|
|
15853
|
-
|
|
15854
|
-
discriminator: 'export_schedule_daily';
|
|
15855
|
-
} & io.flow.internal.v0.models.ExportScheduleDaily
|
|
15856
|
-
| {
|
|
15857
|
-
discriminator: 'export_schedule_repeated';
|
|
15858
|
-
} & io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
15859
|
-
readonly delta_export_schedule?:
|
|
15860
|
-
| {
|
|
15861
|
-
discriminator: 'export_schedule_daily';
|
|
15862
|
-
} & io.flow.internal.v0.models.ExportScheduleDaily
|
|
15863
|
-
| {
|
|
15864
|
-
discriminator: 'export_schedule_repeated';
|
|
15865
|
-
} & io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
14810
|
+
readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
14811
|
+
readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
|
|
15866
14812
|
}
|
|
15867
14813
|
|
|
15868
14814
|
export interface Location {
|
|
@@ -15934,9 +14880,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15934
14880
|
}
|
|
15935
14881
|
|
|
15936
14882
|
export interface MarketingGatewayAccountMarketLocalization {
|
|
15937
|
-
readonly market:
|
|
15938
|
-
discriminator: 'marketing_gateway_google_market';
|
|
15939
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
14883
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
15940
14884
|
readonly compatible_experiences: io.flow.internal.v0.models.MarketingGatewayExperience[];
|
|
15941
14885
|
readonly existing_markets: io.flow.internal.v0.models.MarketingGatewayExistingMarket[];
|
|
15942
14886
|
readonly configured_markets?: io.flow.internal.v0.models.MarketingGatewayConfiguredMarket;
|
|
@@ -15951,9 +14895,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15951
14895
|
|
|
15952
14896
|
export interface MarketingGatewayConfiguredMarket {
|
|
15953
14897
|
readonly id: string;
|
|
15954
|
-
readonly market:
|
|
15955
|
-
discriminator: 'marketing_gateway_google_market';
|
|
15956
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
14898
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
15957
14899
|
readonly experience?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
15958
14900
|
readonly existing_market_id: string;
|
|
15959
14901
|
readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
@@ -15962,18 +14904,14 @@ namespace io.flow.internal.v0.models {
|
|
|
15962
14904
|
}
|
|
15963
14905
|
|
|
15964
14906
|
export interface MarketingGatewayConfiguredMarketForm {
|
|
15965
|
-
readonly market:
|
|
15966
|
-
discriminator: 'marketing_gateway_google_market';
|
|
15967
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
14907
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
15968
14908
|
readonly experience: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
15969
14909
|
readonly existing_market_id: string;
|
|
15970
14910
|
}
|
|
15971
14911
|
|
|
15972
14912
|
export interface MarketingGatewayExistingMarket {
|
|
15973
14913
|
readonly id: string;
|
|
15974
|
-
readonly market:
|
|
15975
|
-
discriminator: 'marketing_gateway_google_market';
|
|
15976
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
14914
|
+
readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
15977
14915
|
readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
15978
14916
|
readonly sync_status: io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
|
|
15979
14917
|
readonly synced_at?: string;
|
|
@@ -15995,7 +14933,7 @@ namespace io.flow.internal.v0.models {
|
|
|
15995
14933
|
readonly country: string;
|
|
15996
14934
|
readonly currency: string;
|
|
15997
14935
|
readonly language: string;
|
|
15998
|
-
readonly
|
|
14936
|
+
readonly tsv_download_url: string;
|
|
15999
14937
|
}
|
|
16000
14938
|
|
|
16001
14939
|
export interface MarketingGatewayFilterSummary {
|
|
@@ -16189,19 +15127,13 @@ namespace io.flow.internal.v0.models {
|
|
|
16189
15127
|
}
|
|
16190
15128
|
|
|
16191
15129
|
export interface MarketingGatewayProductResult {
|
|
16192
|
-
readonly base_product:
|
|
16193
|
-
|
|
16194
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
16195
|
-
readonly configured_product?: {
|
|
16196
|
-
discriminator: 'marketing_gateway_google_product';
|
|
16197
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
15130
|
+
readonly base_product: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
15131
|
+
readonly configured_product?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
16198
15132
|
readonly configurer_experience?: io.flow.internal.v0.models.MarketingGatewayExperience;
|
|
16199
15133
|
}
|
|
16200
15134
|
|
|
16201
15135
|
export interface MarketingGatewayProductsResult {
|
|
16202
|
-
readonly products:
|
|
16203
|
-
discriminator: 'marketing_gateway_google_product';
|
|
16204
|
-
} & io.flow.internal.v0.models.MarketingGatewayGoogleProduct)[];
|
|
15136
|
+
readonly products: io.flow.internal.v0.unions.MarketingGatewayProduct[];
|
|
16205
15137
|
readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
|
|
16206
15138
|
readonly total_count: number;
|
|
16207
15139
|
}
|
|
@@ -16283,12 +15215,10 @@ namespace io.flow.internal.v0.models {
|
|
|
16283
15215
|
readonly optin_attribute: io.flow.internal.v0.models.OptinAttribute;
|
|
16284
15216
|
readonly region: string;
|
|
16285
15217
|
readonly options: io.flow.internal.v0.enums.PromptOptions[];
|
|
16286
|
-
readonly content:
|
|
15218
|
+
readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
|
|
16287
15219
|
readonly position: number;
|
|
16288
15220
|
readonly enforce_on: string;
|
|
16289
|
-
readonly display?:
|
|
16290
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
16291
|
-
} & io.flow.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
15221
|
+
readonly display?: io.flow.internal.v0.unions.OptinPromptDisplay;
|
|
16292
15222
|
}
|
|
16293
15223
|
|
|
16294
15224
|
export interface OptinPromptCheckoutDisplay {
|
|
@@ -16320,9 +15250,7 @@ namespace io.flow.internal.v0.models {
|
|
|
16320
15250
|
readonly content: io.flow.content.internal.v0.models.LocalizationForm;
|
|
16321
15251
|
readonly position: number;
|
|
16322
15252
|
readonly enforce_on?: string;
|
|
16323
|
-
readonly display?:
|
|
16324
|
-
discriminator: 'optin_prompt_checkout_display';
|
|
16325
|
-
} & io.flow.internal.v0.models.OptinPromptCheckoutDisplay;
|
|
15253
|
+
readonly display?: io.flow.internal.v0.unions.OptinPromptDisplay;
|
|
16326
15254
|
}
|
|
16327
15255
|
|
|
16328
15256
|
export interface OptinPromptUpserted {
|
|
@@ -16363,13 +15291,7 @@ namespace io.flow.internal.v0.models {
|
|
|
16363
15291
|
export interface OrderDetail {
|
|
16364
15292
|
readonly order: io.flow.experience.v0.models.Order;
|
|
16365
15293
|
readonly status: io.flow.experience.v0.enums.OrderStatus;
|
|
16366
|
-
readonly transactions:
|
|
16367
|
-
| {
|
|
16368
|
-
discriminator: 'payment_summary_v2';
|
|
16369
|
-
} & io.flow.internal.v0.models.PaymentSummaryV2
|
|
16370
|
-
| {
|
|
16371
|
-
discriminator: 'fraud_summary';
|
|
16372
|
-
} & io.flow.internal.v0.models.FraudSummary)[];
|
|
15294
|
+
readonly transactions: io.flow.internal.v0.unions.TransactionSummary[];
|
|
16373
15295
|
readonly trackings: io.flow.internal.v0.models.TrackingSummary[];
|
|
16374
15296
|
readonly returns: io.flow.internal.v0.models.ReturnSummary[];
|
|
16375
15297
|
readonly installment_summary?: io.flow.internal.v0.models.InstallmentSummary;
|
|
@@ -16463,7 +15385,7 @@ namespace io.flow.internal.v0.models {
|
|
|
16463
15385
|
}
|
|
16464
15386
|
|
|
16465
15387
|
export interface OrderSubmissionForm {
|
|
16466
|
-
readonly authorization?:
|
|
15388
|
+
readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
|
|
16467
15389
|
}
|
|
16468
15390
|
|
|
16469
15391
|
export interface OrganizationCurrencySettings {
|
|
@@ -16551,7 +15473,7 @@ namespace io.flow.internal.v0.models {
|
|
|
16551
15473
|
|
|
16552
15474
|
export interface PartnerMembership {
|
|
16553
15475
|
readonly id: string;
|
|
16554
|
-
readonly user:
|
|
15476
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
16555
15477
|
readonly role: io.flow.common.v0.enums.Role;
|
|
16556
15478
|
}
|
|
16557
15479
|
|
|
@@ -16614,9 +15536,7 @@ namespace io.flow.internal.v0.models {
|
|
|
16614
15536
|
readonly timestamp: string;
|
|
16615
15537
|
readonly local: io.flow.common.v0.models.Price;
|
|
16616
15538
|
readonly requested: io.flow.common.v0.models.Price;
|
|
16617
|
-
readonly details?:
|
|
16618
|
-
discriminator: 'authorization';
|
|
16619
|
-
} & io.flow.internal.v0.models.Authorization;
|
|
15539
|
+
readonly details?: io.flow.internal.v0.unions.PaymentSummaryDetails;
|
|
16620
15540
|
readonly status?: io.flow.internal.v0.enums.PaymentSummaryStatus;
|
|
16621
15541
|
}
|
|
16622
15542
|
|
|
@@ -16767,25 +15687,13 @@ namespace io.flow.internal.v0.models {
|
|
|
16767
15687
|
|
|
16768
15688
|
export interface PercentageInstallmentStep {
|
|
16769
15689
|
readonly percentage: number;
|
|
16770
|
-
readonly condition:
|
|
16771
|
-
| {
|
|
16772
|
-
discriminator: 'time_condition';
|
|
16773
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
16774
|
-
| {
|
|
16775
|
-
discriminator: 'order_event_condition';
|
|
16776
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
15690
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
16777
15691
|
readonly limit?: number;
|
|
16778
15692
|
}
|
|
16779
15693
|
|
|
16780
15694
|
export interface PercentageInstallmentStepForm {
|
|
16781
15695
|
readonly percentage: number;
|
|
16782
|
-
readonly condition:
|
|
16783
|
-
| {
|
|
16784
|
-
discriminator: 'time_condition';
|
|
16785
|
-
} & io.flow.internal.v0.models.TimeCondition
|
|
16786
|
-
| {
|
|
16787
|
-
discriminator: 'order_event_condition';
|
|
16788
|
-
} & io.flow.internal.v0.models.OrderEventCondition;
|
|
15696
|
+
readonly condition: io.flow.internal.v0.unions.InstallmentCondition;
|
|
16789
15697
|
readonly limit?: number;
|
|
16790
15698
|
}
|
|
16791
15699
|
|
|
@@ -17196,27 +16104,9 @@ namespace io.flow.internal.v0.models {
|
|
|
17196
16104
|
}
|
|
17197
16105
|
|
|
17198
16106
|
export interface ShopifyPromotionOffer {
|
|
17199
|
-
readonly discount:
|
|
17200
|
-
|
|
17201
|
-
|
|
17202
|
-
} & io.flow.internal.v0.models.ShopifyPromotionFixedAmount
|
|
17203
|
-
| {
|
|
17204
|
-
discriminator: 'shopify_promotion_percent';
|
|
17205
|
-
} & io.flow.internal.v0.models.ShopifyPromotionPercent;
|
|
17206
|
-
readonly entitlement:
|
|
17207
|
-
| {
|
|
17208
|
-
discriminator: 'shopify_promotion_item_entitlement';
|
|
17209
|
-
} & io.flow.internal.v0.models.ShopifyPromotionItemEntitlement
|
|
17210
|
-
| {
|
|
17211
|
-
discriminator: 'shopify_promotion_order_entitlement';
|
|
17212
|
-
} & io.flow.internal.v0.models.ShopifyPromotionOrderEntitlement;
|
|
17213
|
-
readonly max?: (
|
|
17214
|
-
| {
|
|
17215
|
-
discriminator: 'shopify_promotion_max_limit';
|
|
17216
|
-
} & io.flow.internal.v0.models.ShopifyPromotionMaxLimit
|
|
17217
|
-
| {
|
|
17218
|
-
discriminator: 'shopify_promotion_max_amount';
|
|
17219
|
-
} & io.flow.internal.v0.models.ShopifyPromotionMaxAmount)[];
|
|
16107
|
+
readonly discount: io.flow.internal.v0.unions.ShopifyPromotionOfferDiscount;
|
|
16108
|
+
readonly entitlement: io.flow.internal.v0.unions.ShopifyPromotionOfferEntitlement;
|
|
16109
|
+
readonly max?: io.flow.internal.v0.unions.ShopifyPromotionOfferMax[];
|
|
17220
16110
|
}
|
|
17221
16111
|
|
|
17222
16112
|
export interface ShopifyPromotionOrderEntitlement {
|
|
@@ -17233,13 +16123,7 @@ namespace io.flow.internal.v0.models {
|
|
|
17233
16123
|
}
|
|
17234
16124
|
|
|
17235
16125
|
export interface ShopifyPromotionRule {
|
|
17236
|
-
readonly prerequisites:
|
|
17237
|
-
| {
|
|
17238
|
-
discriminator: 'shopify_promotion_item_prerequisite';
|
|
17239
|
-
} & io.flow.internal.v0.models.ShopifyPromotionItemPrerequisite
|
|
17240
|
-
| {
|
|
17241
|
-
discriminator: 'shopify_promotion_order_prerequisite';
|
|
17242
|
-
} & io.flow.internal.v0.models.ShopifyPromotionOrderPrerequisite)[];
|
|
16126
|
+
readonly prerequisites: io.flow.internal.v0.unions.ShopifyPromotionPrerequisite[];
|
|
17243
16127
|
readonly offers: io.flow.internal.v0.models.ShopifyPromotionOffer[];
|
|
17244
16128
|
}
|
|
17245
16129
|
|
|
@@ -17552,22 +16436,10 @@ namespace io.flow.internal.v0.models {
|
|
|
17552
16436
|
readonly order_number: string;
|
|
17553
16437
|
readonly target_currency_code: string;
|
|
17554
16438
|
readonly total: number;
|
|
17555
|
-
readonly tax:
|
|
17556
|
-
| {
|
|
17557
|
-
discriminator: 'calculated_tax_amount';
|
|
17558
|
-
} & io.flow.internal.v0.models.CalculatedTaxAmount
|
|
17559
|
-
| {
|
|
17560
|
-
discriminator: 'no_calculated_tax_amount';
|
|
17561
|
-
} & io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
16439
|
+
readonly tax: io.flow.internal.v0.unions.TaxAmount;
|
|
17562
16440
|
readonly lines: io.flow.internal.v0.models.TaxCalculationLineItem[];
|
|
17563
16441
|
readonly shipping_total: number;
|
|
17564
|
-
readonly shipping_tax:
|
|
17565
|
-
| {
|
|
17566
|
-
discriminator: 'calculated_tax_amount';
|
|
17567
|
-
} & io.flow.internal.v0.models.CalculatedTaxAmount
|
|
17568
|
-
| {
|
|
17569
|
-
discriminator: 'no_calculated_tax_amount';
|
|
17570
|
-
} & io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
16442
|
+
readonly shipping_tax: io.flow.internal.v0.unions.TaxAmount;
|
|
17571
16443
|
readonly customer_code?: string;
|
|
17572
16444
|
}
|
|
17573
16445
|
|
|
@@ -17592,13 +16464,7 @@ namespace io.flow.internal.v0.models {
|
|
|
17592
16464
|
readonly ship_from?: io.flow.common.v0.models.Address;
|
|
17593
16465
|
readonly quantity: number;
|
|
17594
16466
|
readonly total: number;
|
|
17595
|
-
readonly tax:
|
|
17596
|
-
| {
|
|
17597
|
-
discriminator: 'calculated_tax_amount';
|
|
17598
|
-
} & io.flow.internal.v0.models.CalculatedTaxAmount
|
|
17599
|
-
| {
|
|
17600
|
-
discriminator: 'no_calculated_tax_amount';
|
|
17601
|
-
} & io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
16467
|
+
readonly tax: io.flow.internal.v0.unions.TaxAmount;
|
|
17602
16468
|
readonly sku?: string;
|
|
17603
16469
|
readonly description?: string;
|
|
17604
16470
|
}
|
|
@@ -17612,6 +16478,7 @@ namespace io.flow.internal.v0.models {
|
|
|
17612
16478
|
readonly tax_code?: string;
|
|
17613
16479
|
readonly sku?: string;
|
|
17614
16480
|
readonly description?: string;
|
|
16481
|
+
readonly category_code?: string;
|
|
17615
16482
|
}
|
|
17616
16483
|
|
|
17617
16484
|
export interface TaxRemittanceTransaction {
|
|
@@ -17661,19 +16528,7 @@ namespace io.flow.internal.v0.models {
|
|
|
17661
16528
|
readonly carrier: string;
|
|
17662
16529
|
readonly carrier_tracking_number: string;
|
|
17663
16530
|
readonly flow_tracking_number: string;
|
|
17664
|
-
readonly credentials:
|
|
17665
|
-
| {
|
|
17666
|
-
discriminator: 'sf_express';
|
|
17667
|
-
} & io.flow.internal.v0.models.SfExpress
|
|
17668
|
-
| {
|
|
17669
|
-
discriminator: 'dhl_ecommerce';
|
|
17670
|
-
} & io.flow.internal.v0.models.DhlEcommerce
|
|
17671
|
-
| {
|
|
17672
|
-
discriminator: 'landmark';
|
|
17673
|
-
} & io.flow.internal.v0.models.Landmark
|
|
17674
|
-
| {
|
|
17675
|
-
discriminator: 'dhl';
|
|
17676
|
-
} & io.flow.internal.v0.models.Dhl;
|
|
16531
|
+
readonly credentials: io.flow.internal.v0.unions.CarrierCredentials;
|
|
17677
16532
|
}
|
|
17678
16533
|
|
|
17679
16534
|
export interface TrackingRequestUpserted {
|
|
@@ -18779,8 +17634,6 @@ export type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulkUpserted
|
|
|
18779
17634
|
export type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
|
|
18780
17635
|
export type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpression;
|
|
18781
17636
|
export type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
|
|
18782
|
-
export type EcommercePlatform = io.flow.internal.v0.models.EcommercePlatform;
|
|
18783
|
-
export type EcommercePlatformType = io.flow.internal.v0.enums.EcommercePlatformType;
|
|
18784
17637
|
export type EmailForm = io.flow.internal.v0.models.EmailForm;
|
|
18785
17638
|
export type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
|
|
18786
17639
|
export type Encryption = io.flow.internal.v0.models.Encryption;
|