@flowio/types 11.16.0 → 11.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +35 -4
- package/package.json +2 -2
- package/src/api-internal.ts +38 -4
package/dist/api-internal.d.ts
CHANGED
|
@@ -313,6 +313,37 @@ declare namespace io.flow.experience.v0.models {
|
|
|
313
313
|
readonly included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
314
314
|
readonly not_included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
315
315
|
}
|
|
316
|
+
interface AllocationLineSummary {
|
|
317
|
+
readonly line_items: io.flow.experience.v0.models.AllocationLineSummaryLineItem[];
|
|
318
|
+
readonly shipping: io.flow.experience.v0.models.AllocationLineSummaryShipping;
|
|
319
|
+
readonly subtotal: io.flow.common.v0.models.MoneyWithBase;
|
|
320
|
+
readonly discount: io.flow.common.v0.models.MoneyWithBase;
|
|
321
|
+
readonly duties: io.flow.common.v0.models.MoneyWithBase;
|
|
322
|
+
readonly tax: io.flow.common.v0.models.MoneyWithBase;
|
|
323
|
+
readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
324
|
+
readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
325
|
+
readonly total: io.flow.common.v0.models.MoneyWithBase;
|
|
326
|
+
}
|
|
327
|
+
interface AllocationLineSummaryLineItem {
|
|
328
|
+
readonly item_number: string;
|
|
329
|
+
readonly line_number: string;
|
|
330
|
+
readonly subtotal: io.flow.common.v0.models.MoneyWithBase;
|
|
331
|
+
readonly discount: io.flow.common.v0.models.MoneyWithBase;
|
|
332
|
+
readonly duties: io.flow.common.v0.models.MoneyWithBase;
|
|
333
|
+
readonly tax: io.flow.common.v0.models.MoneyWithBase;
|
|
334
|
+
readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
335
|
+
readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
336
|
+
readonly total: io.flow.common.v0.models.MoneyWithBase;
|
|
337
|
+
}
|
|
338
|
+
interface AllocationLineSummaryShipping {
|
|
339
|
+
readonly subtotal: io.flow.common.v0.models.MoneyWithBase;
|
|
340
|
+
readonly discount: io.flow.common.v0.models.MoneyWithBase;
|
|
341
|
+
readonly duties: io.flow.common.v0.models.MoneyWithBase;
|
|
342
|
+
readonly tax: io.flow.common.v0.models.MoneyWithBase;
|
|
343
|
+
readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
344
|
+
readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
345
|
+
readonly total: io.flow.common.v0.models.MoneyWithBase;
|
|
346
|
+
}
|
|
316
347
|
interface AllocationOrderDetail {
|
|
317
348
|
readonly discriminator: 'allocation_order_detail';
|
|
318
349
|
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
@@ -8314,13 +8345,13 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
8314
8345
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
8315
8346
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8316
8347
|
readonly q?: string;
|
|
8317
|
-
readonly position
|
|
8348
|
+
readonly position: number;
|
|
8318
8349
|
}
|
|
8319
8350
|
interface CarrierAccountForm {
|
|
8320
8351
|
readonly carrier_id: string;
|
|
8321
8352
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
8322
8353
|
readonly q?: string;
|
|
8323
|
-
readonly position
|
|
8354
|
+
readonly position: number;
|
|
8324
8355
|
}
|
|
8325
8356
|
interface CarrierInvoice {
|
|
8326
8357
|
readonly number: string;
|
|
@@ -10683,7 +10714,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
10683
10714
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
10684
10715
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
10685
10716
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
10686
|
-
type CheckoutInfoTranslationsKeyField = '
|
|
10717
|
+
type CheckoutInfoTranslationsKeyField = 'language';
|
|
10687
10718
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
10688
10719
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
10689
10720
|
type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
|
|
@@ -14021,7 +14052,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14021
14052
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
14022
14053
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
14023
14054
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
14024
|
-
type CheckoutInfoTranslationsKeyField = '
|
|
14055
|
+
type CheckoutInfoTranslationsKeyField = 'language';
|
|
14025
14056
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
14026
14057
|
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
14027
14058
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.16.
|
|
3
|
+
"version": "11.16.1",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "fbd4b0964f2c1283e416a565a6ca2966a727ef63"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -448,6 +448,40 @@ declare namespace io.flow.experience.v0.models {
|
|
|
448
448
|
readonly not_included: io.flow.experience.v0.unions.AllocationComponent[];
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
+
interface AllocationLineSummary {
|
|
452
|
+
readonly line_items: io.flow.experience.v0.models.AllocationLineSummaryLineItem[];
|
|
453
|
+
readonly shipping: io.flow.experience.v0.models.AllocationLineSummaryShipping;
|
|
454
|
+
readonly subtotal: io.flow.common.v0.models.MoneyWithBase;
|
|
455
|
+
readonly discount: io.flow.common.v0.models.MoneyWithBase;
|
|
456
|
+
readonly duties: io.flow.common.v0.models.MoneyWithBase;
|
|
457
|
+
readonly tax: io.flow.common.v0.models.MoneyWithBase;
|
|
458
|
+
readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
459
|
+
readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
460
|
+
readonly total: io.flow.common.v0.models.MoneyWithBase;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
interface AllocationLineSummaryLineItem {
|
|
464
|
+
readonly item_number: string;
|
|
465
|
+
readonly line_number: string;
|
|
466
|
+
readonly subtotal: io.flow.common.v0.models.MoneyWithBase;
|
|
467
|
+
readonly discount: io.flow.common.v0.models.MoneyWithBase;
|
|
468
|
+
readonly duties: io.flow.common.v0.models.MoneyWithBase;
|
|
469
|
+
readonly tax: io.flow.common.v0.models.MoneyWithBase;
|
|
470
|
+
readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
471
|
+
readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
472
|
+
readonly total: io.flow.common.v0.models.MoneyWithBase;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
interface AllocationLineSummaryShipping {
|
|
476
|
+
readonly subtotal: io.flow.common.v0.models.MoneyWithBase;
|
|
477
|
+
readonly discount: io.flow.common.v0.models.MoneyWithBase;
|
|
478
|
+
readonly duties: io.flow.common.v0.models.MoneyWithBase;
|
|
479
|
+
readonly tax: io.flow.common.v0.models.MoneyWithBase;
|
|
480
|
+
readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
481
|
+
readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase;
|
|
482
|
+
readonly total: io.flow.common.v0.models.MoneyWithBase;
|
|
483
|
+
}
|
|
484
|
+
|
|
451
485
|
interface AllocationOrderDetail {
|
|
452
486
|
readonly discriminator: 'allocation_order_detail';
|
|
453
487
|
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
@@ -10791,14 +10825,14 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
10791
10825
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
10792
10826
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10793
10827
|
readonly q?: string;
|
|
10794
|
-
readonly position
|
|
10828
|
+
readonly position: number;
|
|
10795
10829
|
}
|
|
10796
10830
|
|
|
10797
10831
|
interface CarrierAccountForm {
|
|
10798
10832
|
readonly carrier_id: string;
|
|
10799
10833
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
10800
10834
|
readonly q?: string;
|
|
10801
|
-
readonly position
|
|
10835
|
+
readonly position: number;
|
|
10802
10836
|
}
|
|
10803
10837
|
|
|
10804
10838
|
interface CarrierInvoice {
|
|
@@ -13821,7 +13855,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
13821
13855
|
| 'value'
|
|
13822
13856
|
| 'currency'
|
|
13823
13857
|
| 'shipping_country';
|
|
13824
|
-
type CheckoutInfoTranslationsKeyField = '
|
|
13858
|
+
type CheckoutInfoTranslationsKeyField = 'language';
|
|
13825
13859
|
type CheckoutInitiatePaymentErrorCode =
|
|
13826
13860
|
| 'payment_failed'
|
|
13827
13861
|
| 'authorization_form_not_supported'
|
|
@@ -18345,7 +18379,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18345
18379
|
| 'value'
|
|
18346
18380
|
| 'currency'
|
|
18347
18381
|
| 'shipping_country';
|
|
18348
|
-
type CheckoutInfoTranslationsKeyField = '
|
|
18382
|
+
type CheckoutInfoTranslationsKeyField = 'language';
|
|
18349
18383
|
type CheckoutInitiatePaymentErrorCode =
|
|
18350
18384
|
| 'payment_failed'
|
|
18351
18385
|
| 'authorization_form_not_supported'
|