@flowio/types 11.24.35 → 11.24.37
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 +145 -21
- package/dist/api.d.ts +58 -0
- package/package.json +2 -2
- package/src/api-internal.ts +188 -22
- package/src/api.ts +68 -0
package/src/api.ts
CHANGED
|
@@ -3826,6 +3826,11 @@ declare namespace io.flow.v0.models {
|
|
|
3826
3826
|
readonly id: string;
|
|
3827
3827
|
}
|
|
3828
3828
|
|
|
3829
|
+
interface BillingDiscount {
|
|
3830
|
+
readonly amount: number;
|
|
3831
|
+
readonly description?: string;
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3829
3834
|
interface BridgeManifest {
|
|
3830
3835
|
readonly id: string;
|
|
3831
3836
|
readonly service: io.flow.v0.models.ServiceSummary;
|
|
@@ -4494,6 +4499,7 @@ declare namespace io.flow.v0.models {
|
|
|
4494
4499
|
readonly gross: number;
|
|
4495
4500
|
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
4496
4501
|
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
4502
|
+
readonly discounts: io.flow.v0.models.BillingDiscount[];
|
|
4497
4503
|
readonly net: number;
|
|
4498
4504
|
readonly created_at: string;
|
|
4499
4505
|
}
|
|
@@ -7137,6 +7143,29 @@ declare namespace io.flow.v0.models {
|
|
|
7137
7143
|
readonly number: string;
|
|
7138
7144
|
}
|
|
7139
7145
|
|
|
7146
|
+
interface LabelReference {
|
|
7147
|
+
readonly id: string;
|
|
7148
|
+
}
|
|
7149
|
+
|
|
7150
|
+
interface LabelTrackingCarrierService {
|
|
7151
|
+
readonly carrier_id: string;
|
|
7152
|
+
readonly service_id?: string;
|
|
7153
|
+
}
|
|
7154
|
+
|
|
7155
|
+
interface LabelTrackingSummary {
|
|
7156
|
+
readonly id: string;
|
|
7157
|
+
readonly carrier_service: io.flow.v0.models.LabelTrackingCarrierService;
|
|
7158
|
+
readonly carrier_tracking_number: string;
|
|
7159
|
+
readonly order_number?: string;
|
|
7160
|
+
readonly label?: io.flow.v0.models.LabelReference;
|
|
7161
|
+
readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7162
|
+
readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
7163
|
+
}
|
|
7164
|
+
|
|
7165
|
+
interface LabelTrackingSummaryUpdate {
|
|
7166
|
+
readonly timestamp: string;
|
|
7167
|
+
}
|
|
7168
|
+
|
|
7140
7169
|
interface LabelUpserted {
|
|
7141
7170
|
readonly discriminator: 'label_upserted';
|
|
7142
7171
|
readonly event_id: string;
|
|
@@ -7406,6 +7435,11 @@ declare namespace io.flow.v0.models {
|
|
|
7406
7435
|
readonly messages: string[];
|
|
7407
7436
|
}
|
|
7408
7437
|
|
|
7438
|
+
interface LogisticsFormat {
|
|
7439
|
+
readonly preference?: string;
|
|
7440
|
+
readonly description?: string;
|
|
7441
|
+
}
|
|
7442
|
+
|
|
7409
7443
|
interface LogisticsSettings {
|
|
7410
7444
|
readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
|
|
7411
7445
|
}
|
|
@@ -11091,6 +11125,11 @@ declare namespace io.flow.v0.models {
|
|
|
11091
11125
|
readonly shipping_notification: io.flow.v0.models.ShippingNotification;
|
|
11092
11126
|
}
|
|
11093
11127
|
|
|
11128
|
+
interface Shop {
|
|
11129
|
+
readonly name: string;
|
|
11130
|
+
readonly id: string;
|
|
11131
|
+
}
|
|
11132
|
+
|
|
11094
11133
|
interface ShopifyCart {
|
|
11095
11134
|
readonly id: string;
|
|
11096
11135
|
readonly items: io.flow.v0.models.ShopifyCartItem[];
|
|
@@ -11308,6 +11347,12 @@ declare namespace io.flow.v0.models {
|
|
|
11308
11347
|
readonly created_at: string;
|
|
11309
11348
|
readonly activated_at?: string;
|
|
11310
11349
|
readonly status_updated_at?: string;
|
|
11350
|
+
readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
|
|
11351
|
+
readonly shop?: io.flow.v0.models.Shop;
|
|
11352
|
+
readonly annual_xborder_gmv?: io.flow.v0.models.Money;
|
|
11353
|
+
readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
|
|
11354
|
+
readonly average_order_value?: io.flow.v0.models.Money;
|
|
11355
|
+
readonly total_order?: io.flow.v0.models.TotalOrder;
|
|
11311
11356
|
}
|
|
11312
11357
|
|
|
11313
11358
|
interface ShopifyMerchantApplicationForm {
|
|
@@ -11336,6 +11381,12 @@ declare namespace io.flow.v0.models {
|
|
|
11336
11381
|
readonly default_country_of_origin?: string;
|
|
11337
11382
|
readonly ratecard_id?: string;
|
|
11338
11383
|
readonly rate_card: string;
|
|
11384
|
+
readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
|
|
11385
|
+
readonly shop?: io.flow.v0.models.Shop;
|
|
11386
|
+
readonly annual_xborder_gmv?: io.flow.v0.models.Money;
|
|
11387
|
+
readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
|
|
11388
|
+
readonly average_order_value?: io.flow.v0.models.Money;
|
|
11389
|
+
readonly total_order?: io.flow.v0.models.TotalOrder;
|
|
11339
11390
|
}
|
|
11340
11391
|
|
|
11341
11392
|
interface ShopifyMerchantApplicationPutForm {
|
|
@@ -12020,6 +12071,11 @@ declare namespace io.flow.v0.models {
|
|
|
12020
12071
|
readonly token: string;
|
|
12021
12072
|
}
|
|
12022
12073
|
|
|
12074
|
+
interface TotalOrder {
|
|
12075
|
+
readonly value?: io.flow.v0.models.Money;
|
|
12076
|
+
readonly count?: number;
|
|
12077
|
+
}
|
|
12078
|
+
|
|
12023
12079
|
interface Tracking {
|
|
12024
12080
|
readonly id: string;
|
|
12025
12081
|
readonly labels: io.flow.v0.models.TrackingLabel[];
|
|
@@ -12097,6 +12153,7 @@ declare namespace io.flow.v0.models {
|
|
|
12097
12153
|
readonly tracking_id: string;
|
|
12098
12154
|
readonly status: io.flow.v0.enums.TrackingStatus;
|
|
12099
12155
|
readonly carrier: string;
|
|
12156
|
+
readonly service_id?: string;
|
|
12100
12157
|
readonly carrier_tracking_number: string;
|
|
12101
12158
|
readonly delivery_estimate?: string;
|
|
12102
12159
|
readonly description?: string;
|
|
@@ -12167,6 +12224,7 @@ declare namespace io.flow.v0.models {
|
|
|
12167
12224
|
readonly gross: number;
|
|
12168
12225
|
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
12169
12226
|
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
12227
|
+
readonly discounts: io.flow.v0.models.BillingDiscount[];
|
|
12170
12228
|
readonly net: number;
|
|
12171
12229
|
readonly created_at: string;
|
|
12172
12230
|
}
|
|
@@ -13150,6 +13208,7 @@ export type BillingChannelPaymentRequestReference =
|
|
|
13150
13208
|
io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
13151
13209
|
export type BillingChannelStatementReference =
|
|
13152
13210
|
io.flow.v0.models.BillingChannelStatementReference;
|
|
13211
|
+
export type BillingDiscount = io.flow.v0.models.BillingDiscount;
|
|
13153
13212
|
export type BridgeManifest = io.flow.v0.models.BridgeManifest;
|
|
13154
13213
|
export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
|
|
13155
13214
|
export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
@@ -13870,6 +13929,12 @@ export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
|
|
|
13870
13929
|
export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
|
|
13871
13930
|
export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
|
|
13872
13931
|
export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
|
|
13932
|
+
export type LabelReference = io.flow.v0.models.LabelReference;
|
|
13933
|
+
export type LabelTrackingCarrierService =
|
|
13934
|
+
io.flow.v0.models.LabelTrackingCarrierService;
|
|
13935
|
+
export type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
|
|
13936
|
+
export type LabelTrackingSummaryUpdate =
|
|
13937
|
+
io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
13873
13938
|
export type LabelUpserted = io.flow.v0.models.LabelUpserted;
|
|
13874
13939
|
export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
|
|
13875
13940
|
export type LandedCostItem = io.flow.v0.models.LandedCostItem;
|
|
@@ -13913,6 +13978,7 @@ export type LocalizedTotal = io.flow.v0.models.LocalizedTotal;
|
|
|
13913
13978
|
export type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
|
|
13914
13979
|
export type LocationError = io.flow.v0.models.LocationError;
|
|
13915
13980
|
export type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
|
|
13981
|
+
export type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
|
|
13916
13982
|
export type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
|
|
13917
13983
|
export type LogoImage = io.flow.v0.unions.LogoImage;
|
|
13918
13984
|
export type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
|
|
@@ -14710,6 +14776,7 @@ export type ShippingNotificationForm =
|
|
|
14710
14776
|
io.flow.v0.unions.ShippingNotificationForm;
|
|
14711
14777
|
export type ShippingNotificationVersion =
|
|
14712
14778
|
io.flow.v0.models.ShippingNotificationVersion;
|
|
14779
|
+
export type Shop = io.flow.v0.models.Shop;
|
|
14713
14780
|
export type ShopifyCart = io.flow.v0.models.ShopifyCart;
|
|
14714
14781
|
export type ShopifyCartAddForm = io.flow.v0.unions.ShopifyCartAddForm;
|
|
14715
14782
|
export type ShopifyCartAddMultipleForm =
|
|
@@ -14915,6 +14982,7 @@ export type TokenReference = io.flow.v0.unions.TokenReference;
|
|
|
14915
14982
|
export type TokenType = io.flow.v0.enums.TokenType;
|
|
14916
14983
|
export type TokenValidation = io.flow.v0.models.TokenValidation;
|
|
14917
14984
|
export type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
|
|
14985
|
+
export type TotalOrder = io.flow.v0.models.TotalOrder;
|
|
14918
14986
|
export type Tracking = io.flow.v0.models.Tracking;
|
|
14919
14987
|
export type TrackingEvent = io.flow.v0.models.TrackingEvent;
|
|
14920
14988
|
export type TrackingEventForm = io.flow.v0.models.TrackingEventForm;
|