@flowio/types 11.9.4 → 11.9.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/dist/api-internal.d.ts +8177 -8036
- package/dist/api.d.ts +47 -1
- package/package.json +2 -2
- package/src/api-internal.ts +9866 -9681
- package/src/api.ts +53 -0
package/src/api.ts
CHANGED
|
@@ -1475,6 +1475,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1475
1475
|
| 'rounding'
|
|
1476
1476
|
| 'insurance'
|
|
1477
1477
|
| 'shipping'
|
|
1478
|
+
| 'shipping_discount'
|
|
1478
1479
|
| 'order_discount'
|
|
1479
1480
|
| 'subtotal_percent_sales_margin'
|
|
1480
1481
|
| 'subtotal_vat_percent_sales_margin'
|
|
@@ -1573,6 +1574,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1573
1574
|
type RatecardOwner = 'flow' | 'organization';
|
|
1574
1575
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
1575
1576
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
1577
|
+
type ReturnItemStatus = 'returnable' | 'non-returnable';
|
|
1578
|
+
type ReturnPolicyState = 'current' | 'deleting' | 'updating';
|
|
1576
1579
|
type ReturnStatus = 'open' | 'refunded';
|
|
1577
1580
|
type ReturnTrackingStatus =
|
|
1578
1581
|
| 'awaiting_customs_clearance'
|
|
@@ -3802,6 +3805,7 @@ declare namespace io.flow.v0.models {
|
|
|
3802
3805
|
interface EntityIdentifier {
|
|
3803
3806
|
readonly name: io.flow.v0.enums.EntityIdentifierType;
|
|
3804
3807
|
readonly number: string;
|
|
3808
|
+
readonly issuing_country?: string;
|
|
3805
3809
|
}
|
|
3806
3810
|
|
|
3807
3811
|
interface EstimatedDimensions {
|
|
@@ -6981,6 +6985,13 @@ declare namespace io.flow.v0.models {
|
|
|
6981
6985
|
readonly rounding_value?: number;
|
|
6982
6986
|
}
|
|
6983
6987
|
|
|
6988
|
+
interface PricingVersion {
|
|
6989
|
+
readonly id: string;
|
|
6990
|
+
readonly timestamp: string;
|
|
6991
|
+
readonly type: io.flow.v0.enums.ChangeType;
|
|
6992
|
+
readonly pricing: io.flow.v0.models.Pricing;
|
|
6993
|
+
}
|
|
6994
|
+
|
|
6984
6995
|
interface ProcessingEstimate {
|
|
6985
6996
|
readonly location: io.flow.v0.enums.DeliveryWindowLocation;
|
|
6986
6997
|
readonly min_date: string;
|
|
@@ -7710,6 +7721,40 @@ declare namespace io.flow.v0.models {
|
|
|
7710
7721
|
readonly amount: number;
|
|
7711
7722
|
}
|
|
7712
7723
|
|
|
7724
|
+
interface ReturnPolicy {
|
|
7725
|
+
readonly id: string;
|
|
7726
|
+
readonly q: string;
|
|
7727
|
+
readonly query: io.flow.v0.models.Query;
|
|
7728
|
+
readonly status: io.flow.v0.enums.ReturnItemStatus;
|
|
7729
|
+
readonly description?: string;
|
|
7730
|
+
readonly statistics: io.flow.v0.models.ReturnPolicyStatistic;
|
|
7731
|
+
}
|
|
7732
|
+
|
|
7733
|
+
interface ReturnPolicyForm {
|
|
7734
|
+
readonly q: string;
|
|
7735
|
+
readonly description?: string;
|
|
7736
|
+
}
|
|
7737
|
+
|
|
7738
|
+
interface ReturnPolicyItemResult {
|
|
7739
|
+
readonly id: string;
|
|
7740
|
+
readonly organization_id: string;
|
|
7741
|
+
readonly catalog_item_id: string;
|
|
7742
|
+
readonly return_policy_id: string;
|
|
7743
|
+
readonly status: io.flow.v0.enums.ReturnItemStatus;
|
|
7744
|
+
}
|
|
7745
|
+
|
|
7746
|
+
interface ReturnPolicyStatistic {
|
|
7747
|
+
readonly state: io.flow.v0.enums.ReturnPolicyState;
|
|
7748
|
+
readonly number_items: number;
|
|
7749
|
+
}
|
|
7750
|
+
|
|
7751
|
+
interface ReturnPolicyVersion {
|
|
7752
|
+
readonly id: string;
|
|
7753
|
+
readonly timestamp: string;
|
|
7754
|
+
readonly type: io.flow.v0.enums.ChangeType;
|
|
7755
|
+
readonly return_policy: io.flow.v0.models.ReturnPolicy;
|
|
7756
|
+
}
|
|
7757
|
+
|
|
7713
7758
|
interface ReturnReason {
|
|
7714
7759
|
readonly name: string;
|
|
7715
7760
|
}
|
|
@@ -10578,6 +10623,7 @@ export type PricingDeleted = io.flow.v0.models.PricingDeleted;
|
|
|
10578
10623
|
export type PricingLevySetting = io.flow.v0.enums.PricingLevySetting;
|
|
10579
10624
|
export type PricingSettings = io.flow.v0.models.PricingSettings;
|
|
10580
10625
|
export type PricingUpserted = io.flow.v0.models.PricingUpserted;
|
|
10626
|
+
export type PricingVersion = io.flow.v0.models.PricingVersion;
|
|
10581
10627
|
export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
|
|
10582
10628
|
export type Promotion = io.flow.v0.unions.Promotion;
|
|
10583
10629
|
export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
|
@@ -10686,9 +10732,16 @@ export type ReturnDeleted = io.flow.v0.models.ReturnDeleted;
|
|
|
10686
10732
|
export type ReturnDeletedV2 = io.flow.v0.models.ReturnDeletedV2;
|
|
10687
10733
|
export type ReturnForm = io.flow.v0.models.ReturnForm;
|
|
10688
10734
|
export type ReturnItemReference = io.flow.v0.models.ReturnItemReference;
|
|
10735
|
+
export type ReturnItemStatus = io.flow.v0.enums.ReturnItemStatus;
|
|
10689
10736
|
export type ReturnLineItem = io.flow.v0.models.ReturnLineItem;
|
|
10690
10737
|
export type ReturnOrderReference = io.flow.v0.models.ReturnOrderReference;
|
|
10691
10738
|
export type ReturnPackageRatecardFee = io.flow.v0.models.ReturnPackageRatecardFee;
|
|
10739
|
+
export type ReturnPolicy = io.flow.v0.models.ReturnPolicy;
|
|
10740
|
+
export type ReturnPolicyForm = io.flow.v0.models.ReturnPolicyForm;
|
|
10741
|
+
export type ReturnPolicyItemResult = io.flow.v0.models.ReturnPolicyItemResult;
|
|
10742
|
+
export type ReturnPolicyState = io.flow.v0.enums.ReturnPolicyState;
|
|
10743
|
+
export type ReturnPolicyStatistic = io.flow.v0.models.ReturnPolicyStatistic;
|
|
10744
|
+
export type ReturnPolicyVersion = io.flow.v0.models.ReturnPolicyVersion;
|
|
10692
10745
|
export type ReturnReason = io.flow.v0.models.ReturnReason;
|
|
10693
10746
|
export type ReturnReasonForm = io.flow.v0.models.ReturnReasonForm;
|
|
10694
10747
|
export type ReturnReasonPutForm = io.flow.v0.models.ReturnReasonPutForm;
|