@flowio/types 11.24.34 → 11.24.36

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/src/api.ts CHANGED
@@ -2227,6 +2227,7 @@ declare namespace io.flow.v0.enums {
2227
2227
  | 'individual';
2228
2228
  type ConsumerInvoiceDocumentType = 'pdf';
2229
2229
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
2230
+ type CostEstimateSource = 'flow' | 'channel';
2230
2231
  type CountryPickerSource = 'experience' | 'destination';
2231
2232
  type CreditPaymentErrorCode =
2232
2233
  | 'generic_error'
@@ -3825,6 +3826,11 @@ declare namespace io.flow.v0.models {
3825
3826
  readonly id: string;
3826
3827
  }
3827
3828
 
3829
+ interface BillingDiscount {
3830
+ readonly amount: number;
3831
+ readonly description?: string;
3832
+ }
3833
+
3828
3834
  interface BridgeManifest {
3829
3835
  readonly id: string;
3830
3836
  readonly service: io.flow.v0.models.ServiceSummary;
@@ -4493,6 +4499,7 @@ declare namespace io.flow.v0.models {
4493
4499
  readonly gross: number;
4494
4500
  readonly fees: io.flow.v0.models.FeeDeduction[];
4495
4501
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
4502
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
4496
4503
  readonly net: number;
4497
4504
  readonly created_at: string;
4498
4505
  }
@@ -7136,6 +7143,29 @@ declare namespace io.flow.v0.models {
7136
7143
  readonly number: string;
7137
7144
  }
7138
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
+
7139
7169
  interface LabelUpserted {
7140
7170
  readonly discriminator: 'label_upserted';
7141
7171
  readonly event_id: string;
@@ -7405,6 +7435,11 @@ declare namespace io.flow.v0.models {
7405
7435
  readonly messages: string[];
7406
7436
  }
7407
7437
 
7438
+ interface LogisticsFormat {
7439
+ readonly preference?: string;
7440
+ readonly description?: string;
7441
+ }
7442
+
7408
7443
  interface LogisticsSettings {
7409
7444
  readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
7410
7445
  }
@@ -8635,6 +8670,7 @@ declare namespace io.flow.v0.models {
8635
8670
  readonly parent_id?: string;
8636
8671
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
8637
8672
  readonly status?: io.flow.v0.enums.OrganizationStatus;
8673
+ readonly type?: io.flow.v0.enums.OrganizationType;
8638
8674
  }
8639
8675
 
8640
8676
  interface OrganizationPutForm {
@@ -10942,9 +10978,11 @@ declare namespace io.flow.v0.models {
10942
10978
  interface ShippingLabel {
10943
10979
  readonly id: string;
10944
10980
  readonly hop?: io.flow.v0.models.ShippingLabelHopSummary;
10981
+ readonly reference_id?: string;
10945
10982
  readonly attributes: Record<string, string>;
10946
10983
  readonly carrier_tracking_number: string;
10947
10984
  readonly carrier_tracking_number_url: string;
10985
+ readonly cost_estimate_source?: io.flow.v0.enums.CostEstimateSource;
10948
10986
  readonly cost?: io.flow.v0.models.Price;
10949
10987
  readonly destination: io.flow.v0.models.ShippingAddress;
10950
10988
  readonly flow_tracking_number: string;
@@ -11087,6 +11125,11 @@ declare namespace io.flow.v0.models {
11087
11125
  readonly shipping_notification: io.flow.v0.models.ShippingNotification;
11088
11126
  }
11089
11127
 
11128
+ interface Shop {
11129
+ readonly name: string;
11130
+ readonly id: string;
11131
+ }
11132
+
11090
11133
  interface ShopifyCart {
11091
11134
  readonly id: string;
11092
11135
  readonly items: io.flow.v0.models.ShopifyCartItem[];
@@ -11304,6 +11347,12 @@ declare namespace io.flow.v0.models {
11304
11347
  readonly created_at: string;
11305
11348
  readonly activated_at?: string;
11306
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;
11307
11356
  }
11308
11357
 
11309
11358
  interface ShopifyMerchantApplicationForm {
@@ -11332,6 +11381,12 @@ declare namespace io.flow.v0.models {
11332
11381
  readonly default_country_of_origin?: string;
11333
11382
  readonly ratecard_id?: string;
11334
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;
11335
11390
  }
11336
11391
 
11337
11392
  interface ShopifyMerchantApplicationPutForm {
@@ -12016,6 +12071,11 @@ declare namespace io.flow.v0.models {
12016
12071
  readonly token: string;
12017
12072
  }
12018
12073
 
12074
+ interface TotalOrder {
12075
+ readonly value?: io.flow.v0.models.Money;
12076
+ readonly count?: number;
12077
+ }
12078
+
12019
12079
  interface Tracking {
12020
12080
  readonly id: string;
12021
12081
  readonly labels: io.flow.v0.models.TrackingLabel[];
@@ -12093,6 +12153,7 @@ declare namespace io.flow.v0.models {
12093
12153
  readonly tracking_id: string;
12094
12154
  readonly status: io.flow.v0.enums.TrackingStatus;
12095
12155
  readonly carrier: string;
12156
+ readonly service_id?: string;
12096
12157
  readonly carrier_tracking_number: string;
12097
12158
  readonly delivery_estimate?: string;
12098
12159
  readonly description?: string;
@@ -12163,6 +12224,7 @@ declare namespace io.flow.v0.models {
12163
12224
  readonly gross: number;
12164
12225
  readonly fees: io.flow.v0.models.FeeDeduction[];
12165
12226
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
12227
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
12166
12228
  readonly net: number;
12167
12229
  readonly created_at: string;
12168
12230
  }
@@ -13146,6 +13208,7 @@ export type BillingChannelPaymentRequestReference =
13146
13208
  io.flow.v0.models.BillingChannelPaymentRequestReference;
13147
13209
  export type BillingChannelStatementReference =
13148
13210
  io.flow.v0.models.BillingChannelStatementReference;
13211
+ export type BillingDiscount = io.flow.v0.models.BillingDiscount;
13149
13212
  export type BridgeManifest = io.flow.v0.models.BridgeManifest;
13150
13213
  export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
13151
13214
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
@@ -13337,6 +13400,7 @@ export type Contact = io.flow.v0.models.Contact;
13337
13400
  export type Context = io.flow.v0.models.Context;
13338
13401
  export type ContextForm = io.flow.v0.models.ContextForm;
13339
13402
  export type ContextReference = io.flow.v0.models.ContextReference;
13403
+ export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
13340
13404
  export type Country = io.flow.v0.models.Country;
13341
13405
  export type CountryAvailability = io.flow.v0.models.CountryAvailability;
13342
13406
  export type CountryDefaults = io.flow.v0.models.CountryDefaults;
@@ -13865,6 +13929,12 @@ export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
13865
13929
  export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
13866
13930
  export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
13867
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;
13868
13938
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
13869
13939
  export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
13870
13940
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
@@ -13908,6 +13978,7 @@ export type LocalizedTotal = io.flow.v0.models.LocalizedTotal;
13908
13978
  export type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
13909
13979
  export type LocationError = io.flow.v0.models.LocationError;
13910
13980
  export type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
13981
+ export type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
13911
13982
  export type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
13912
13983
  export type LogoImage = io.flow.v0.unions.LogoImage;
13913
13984
  export type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
@@ -14705,6 +14776,7 @@ export type ShippingNotificationForm =
14705
14776
  io.flow.v0.unions.ShippingNotificationForm;
14706
14777
  export type ShippingNotificationVersion =
14707
14778
  io.flow.v0.models.ShippingNotificationVersion;
14779
+ export type Shop = io.flow.v0.models.Shop;
14708
14780
  export type ShopifyCart = io.flow.v0.models.ShopifyCart;
14709
14781
  export type ShopifyCartAddForm = io.flow.v0.unions.ShopifyCartAddForm;
14710
14782
  export type ShopifyCartAddMultipleForm =
@@ -14910,6 +14982,7 @@ export type TokenReference = io.flow.v0.unions.TokenReference;
14910
14982
  export type TokenType = io.flow.v0.enums.TokenType;
14911
14983
  export type TokenValidation = io.flow.v0.models.TokenValidation;
14912
14984
  export type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
14985
+ export type TotalOrder = io.flow.v0.models.TotalOrder;
14913
14986
  export type Tracking = io.flow.v0.models.Tracking;
14914
14987
  export type TrackingEvent = io.flow.v0.models.TrackingEvent;
14915
14988
  export type TrackingEventForm = io.flow.v0.models.TrackingEventForm;