@flowio/types 11.24.71 → 11.24.72

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.
@@ -4733,6 +4733,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
4733
4733
  type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
4734
4734
  type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
4735
4735
  type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
4736
+ type ShopifyOrderPaymentGatewayNames = 'flow_commerce' | 'gift_card' | 'manual' | 'shopify_payments';
4736
4737
  type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
4737
4738
  type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
4738
4739
  type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
@@ -9516,6 +9517,19 @@ declare namespace io.flow.billing.v0.models {
9516
9517
  readonly created_at: string;
9517
9518
  readonly updated_at: string;
9518
9519
  }
9520
+ interface TransactionMetadataChannel {
9521
+ readonly discriminator: 'channel';
9522
+ readonly method: string;
9523
+ readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
9524
+ }
9525
+ interface TransactionMetadataChannelCardMetadata {
9526
+ readonly type: io.flow.payment.v0.enums.CardType;
9527
+ readonly issuer: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
9528
+ }
9529
+ interface TransactionMetadataChannelCardMetadataIssuerSummary {
9530
+ readonly iin: string;
9531
+ readonly country: string;
9532
+ }
9519
9533
  interface TransactionMetadataShippingLabel {
9520
9534
  readonly discriminator: 'shipping_label';
9521
9535
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
@@ -9559,7 +9573,7 @@ declare namespace io.flow.billing.v0.unions {
9559
9573
  type BankAccountForm = io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple;
9560
9574
  type PayoutStatus = io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed;
9561
9575
  type Settlement = io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout;
9562
- type TransactionMetadata = io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataTrueup;
9576
+ type TransactionMetadata = io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup;
9563
9577
  }
9564
9578
  declare namespace io.flow.harmonization.v0.enums {
9565
9579
  type TaxApplicability = 'none' | 'all';
@@ -11193,7 +11207,7 @@ declare namespace io.flow.internal.v0.enums {
11193
11207
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
11194
11208
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
11195
11209
  type PromptTarget = 'browse' | 'checkout';
11196
- type QueuedRecordType = 'capture' | 'capture_deletion' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'label_tracking_summary' | 'label_invoice_request' | 'label_invoice_response' | 'label_invoice_response_file' | 'label_origin' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'refund' | 'refund_deletion' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email';
11210
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_cancellation' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'label_origin' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email';
11197
11211
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
11198
11212
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
11199
11213
  type RateSource = 'calculated' | 'market';
@@ -12480,6 +12494,47 @@ declare namespace io.flow.internal.v0.models {
12480
12494
  readonly status: io.flow.internal.v0.enums.CarrierValidationStatus;
12481
12495
  readonly error_message?: string;
12482
12496
  }
12497
+ interface CarrierChargeFile {
12498
+ readonly id: string;
12499
+ readonly url: string;
12500
+ readonly created_at: string;
12501
+ readonly result?: io.flow.internal.v0.models.CarrierChargeFileResult;
12502
+ }
12503
+ interface CarrierChargeFileForm {
12504
+ readonly url: string;
12505
+ }
12506
+ interface CarrierChargeFileResult {
12507
+ readonly processed_at: string;
12508
+ readonly number_lines_successful: number;
12509
+ readonly number_lines_with_errors: number;
12510
+ readonly errors_url?: string;
12511
+ }
12512
+ interface CarrierChargeFormLabel {
12513
+ readonly discriminator: 'label';
12514
+ readonly id: string;
12515
+ readonly label_invoice_request_id: string;
12516
+ readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
12517
+ readonly base: io.flow.internal.v0.models.LabelBase;
12518
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
12519
+ readonly total: number;
12520
+ readonly attributes?: Record<string, string>;
12521
+ }
12522
+ interface CarrierChargeFormReturnToOrigin {
12523
+ readonly discriminator: 'return_to_origin';
12524
+ readonly id: string;
12525
+ readonly carrier_id: string;
12526
+ readonly carrier_tracking_number: string;
12527
+ readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
12528
+ readonly base: io.flow.internal.v0.models.LabelBase;
12529
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
12530
+ readonly total: number;
12531
+ readonly attributes?: Record<string, string>;
12532
+ }
12533
+ interface CarrierChargeUnits {
12534
+ readonly currency: string;
12535
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
12536
+ readonly length?: io.flow.units.v0.enums.UnitOfLength;
12537
+ }
12483
12538
  interface CarrierInvoice {
12484
12539
  readonly number: string;
12485
12540
  readonly timestamp: string;
@@ -16479,14 +16534,26 @@ declare namespace io.flow.internal.v0.models {
16479
16534
  interface FulfillmentProofExternalFulfillmentProofReference {
16480
16535
  readonly discriminator: 'external_fulfillment';
16481
16536
  readonly id: string;
16537
+ readonly carrier_id?: string;
16538
+ readonly carrier_service_id?: string;
16539
+ readonly carrier_tracking_number?: string;
16540
+ readonly label_id?: string;
16482
16541
  }
16483
16542
  interface FulfillmentProofLabelTrackingReference {
16484
16543
  readonly discriminator: 'label_tracking';
16485
16544
  readonly id: string;
16545
+ readonly carrier_id?: string;
16546
+ readonly carrier_service_id?: string;
16547
+ readonly carrier_tracking_number?: string;
16548
+ readonly label_id?: string;
16486
16549
  }
16487
16550
  interface FulfillmentProofShippingNotificationReference {
16488
16551
  readonly discriminator: 'shipping_notification';
16489
16552
  readonly id: string;
16553
+ readonly carrier_id?: string;
16554
+ readonly carrier_service_id?: string;
16555
+ readonly carrier_tracking_number?: string;
16556
+ readonly label_id?: string;
16490
16557
  }
16491
16558
  interface FulfillmentReference {
16492
16559
  readonly id: string;
@@ -17928,29 +17995,6 @@ declare namespace io.flow.internal.v0.models {
17928
17995
  readonly organization: string;
17929
17996
  readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
17930
17997
  }
17931
- interface LabelInvoiceResponseFile {
17932
- readonly id: string;
17933
- readonly url: string;
17934
- readonly created_at: string;
17935
- readonly result?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
17936
- }
17937
- interface LabelInvoiceResponseFileForm {
17938
- readonly url: string;
17939
- }
17940
- interface LabelInvoiceResponseFileResult {
17941
- readonly processed_at: string;
17942
- readonly number_lines_successful: number;
17943
- readonly number_lines_with_errors: number;
17944
- readonly errors_url?: string;
17945
- }
17946
- interface LabelInvoiceResponseForm {
17947
- readonly id: string;
17948
- readonly label_invoice_request_id: string;
17949
- readonly units: io.flow.internal.v0.models.LabelResponseUnits;
17950
- readonly base: io.flow.internal.v0.models.LabelBase;
17951
- readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
17952
- readonly total: number;
17953
- }
17954
17998
  interface LabelMetadata {
17955
17999
  readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
17956
18000
  readonly weights: io.flow.internal.v0.models.MetadataWeights;
@@ -17982,11 +18026,6 @@ declare namespace io.flow.internal.v0.models {
17982
18026
  readonly organization: string;
17983
18027
  readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
17984
18028
  }
17985
- interface LabelResponseUnits {
17986
- readonly currency: string;
17987
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
17988
- readonly length?: io.flow.units.v0.enums.UnitOfLength;
17989
- }
17990
18029
  interface LabelSummary {
17991
18030
  readonly id: string;
17992
18031
  readonly commercial_invoice?: string;
@@ -18681,6 +18720,10 @@ declare namespace io.flow.internal.v0.models {
18681
18720
  readonly organization_reference: io.flow.common.v0.models.Organization;
18682
18721
  }
18683
18722
  interface MerchantCharges {
18723
+ readonly adjustment: number;
18724
+ readonly reversal: number;
18725
+ readonly tax: number;
18726
+ readonly duty: number;
18684
18727
  readonly labels: number;
18685
18728
  readonly total: number;
18686
18729
  }
@@ -19248,6 +19291,7 @@ declare namespace io.flow.internal.v0.models {
19248
19291
  readonly id: string;
19249
19292
  readonly deactivate_at: string;
19250
19293
  readonly created_at: string;
19294
+ readonly reason?: string;
19251
19295
  }
19252
19296
  interface OrganizationDeactivationDeleted {
19253
19297
  readonly discriminator: 'organization_deactivation_deleted';
@@ -19258,6 +19302,7 @@ declare namespace io.flow.internal.v0.models {
19258
19302
  }
19259
19303
  interface OrganizationDeactivationForm {
19260
19304
  readonly deactivate_at: string;
19305
+ readonly reason?: string;
19261
19306
  }
19262
19307
  interface OrganizationDeactivationUpserted {
19263
19308
  readonly discriminator: 'organization_deactivation_upserted';
@@ -22344,6 +22389,7 @@ declare namespace io.flow.internal.v0.unions {
22344
22389
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
22345
22390
  type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeCreateByCartToken | io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage | io.flow.internal.v0.models.BlazeInitializeBySessionMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeSetCheckoutIdMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
22346
22391
  type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
22392
+ type CarrierChargeForm = io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
22347
22393
  type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
22348
22394
  type ChannelRateMetadata = io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate;
22349
22395
  type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
@@ -22721,6 +22767,13 @@ export declare type CarrierAccountDeleted = io.flow.internal.v0.models.CarrierAc
22721
22767
  export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
22722
22768
  export declare type CarrierAccountUpsertedV2 = io.flow.internal.v0.models.CarrierAccountUpsertedV2;
22723
22769
  export declare type CarrierAccountValidation = io.flow.internal.v0.models.CarrierAccountValidation;
22770
+ export declare type CarrierChargeFile = io.flow.internal.v0.models.CarrierChargeFile;
22771
+ export declare type CarrierChargeFileForm = io.flow.internal.v0.models.CarrierChargeFileForm;
22772
+ export declare type CarrierChargeFileResult = io.flow.internal.v0.models.CarrierChargeFileResult;
22773
+ export declare type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
22774
+ export declare type CarrierChargeFormLabel = io.flow.internal.v0.models.CarrierChargeFormLabel;
22775
+ export declare type CarrierChargeFormReturnToOrigin = io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
22776
+ export declare type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
22724
22777
  export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
22725
22778
  export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
22726
22779
  export declare type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
@@ -23887,16 +23940,11 @@ export declare type LabelGenerationSettingsUpserted = io.flow.internal.v0.models
23887
23940
  export declare type LabelInvoiceRequest = io.flow.internal.v0.models.LabelInvoiceRequest;
23888
23941
  export declare type LabelInvoiceRequestDeleted = io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
23889
23942
  export declare type LabelInvoiceRequestUpserted = io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
23890
- export declare type LabelInvoiceResponseFile = io.flow.internal.v0.models.LabelInvoiceResponseFile;
23891
- export declare type LabelInvoiceResponseFileForm = io.flow.internal.v0.models.LabelInvoiceResponseFileForm;
23892
- export declare type LabelInvoiceResponseFileResult = io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
23893
- export declare type LabelInvoiceResponseForm = io.flow.internal.v0.models.LabelInvoiceResponseForm;
23894
23943
  export declare type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
23895
23944
  export declare type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
23896
23945
  export declare type LabelRequestErrorDeleted = io.flow.internal.v0.models.LabelRequestErrorDeleted;
23897
23946
  export declare type LabelRequestErrorHandlingResponsibility = io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
23898
23947
  export declare type LabelRequestErrorUpserted = io.flow.internal.v0.models.LabelRequestErrorUpserted;
23899
- export declare type LabelResponseUnits = io.flow.internal.v0.models.LabelResponseUnits;
23900
23948
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
23901
23949
  export declare type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
23902
23950
  export declare type LabelSurchargeDetail = io.flow.internal.v0.unions.LabelSurchargeDetail;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.71",
3
+ "version": "11.24.72",
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": "cc45ff4a674f1a129166e04d6910cb7a1a2f0da1"
28
+ "gitHead": "2eaa54ec47aea1e42dad859077feb3852172583c"
29
29
  }
@@ -6468,6 +6468,11 @@ declare namespace io.flow.shopify.markets.v0.enums {
6468
6468
  | 'sale'
6469
6469
  | 'void'
6470
6470
  | 'refund';
6471
+ type ShopifyOrderPaymentGatewayNames =
6472
+ | 'flow_commerce'
6473
+ | 'gift_card'
6474
+ | 'manual'
6475
+ | 'shopify_payments';
6471
6476
  type ShopifyOrderProcessingMethodType =
6472
6477
  | 'checkout'
6473
6478
  | 'direct'
@@ -12592,6 +12597,22 @@ declare namespace io.flow.billing.v0.models {
12592
12597
  readonly updated_at: string;
12593
12598
  }
12594
12599
 
12600
+ interface TransactionMetadataChannel {
12601
+ readonly discriminator: 'channel';
12602
+ readonly method: string;
12603
+ readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
12604
+ }
12605
+
12606
+ interface TransactionMetadataChannelCardMetadata {
12607
+ readonly type: io.flow.payment.v0.enums.CardType;
12608
+ readonly issuer: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
12609
+ }
12610
+
12611
+ interface TransactionMetadataChannelCardMetadataIssuerSummary {
12612
+ readonly iin: string;
12613
+ readonly country: string;
12614
+ }
12615
+
12595
12616
  interface TransactionMetadataShippingLabel {
12596
12617
  readonly discriminator: 'shipping_label';
12597
12618
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
@@ -12652,6 +12673,7 @@ declare namespace io.flow.billing.v0.unions {
12652
12673
  | io.flow.billing.v0.models.SettlementPayout;
12653
12674
  type TransactionMetadata =
12654
12675
  | io.flow.billing.v0.models.TransactionMetadataShippingLabel
12676
+ | io.flow.billing.v0.models.TransactionMetadataChannel
12655
12677
  | io.flow.billing.v0.models.TransactionMetadataTrueup;
12656
12678
  }
12657
12679
 
@@ -15559,22 +15581,21 @@ declare namespace io.flow.internal.v0.enums {
15559
15581
  type PromptTarget = 'browse' | 'checkout';
15560
15582
  type QueuedRecordType =
15561
15583
  | 'capture'
15562
- | 'capture_deletion'
15563
15584
  | 'channel_transaction'
15564
15585
  | 'consumer_invoice'
15565
15586
  | 'fulfillment_in_transit'
15566
15587
  | 'fulfillment_shipping_notification'
15567
15588
  | 'fulfillment_external'
15589
+ | 'fulfillment_order_cancellation'
15568
15590
  | 'label_tracking_summary'
15569
15591
  | 'label_invoice_request'
15570
- | 'label_invoice_response'
15571
- | 'label_invoice_response_file'
15592
+ | 'carrier_charge'
15593
+ | 'carrier_charge_file'
15572
15594
  | 'label_origin'
15573
15595
  | 'order'
15574
15596
  | 'order_identifier'
15575
15597
  | 'organization_onboarding_state'
15576
15598
  | 'refund'
15577
- | 'refund_deletion'
15578
15599
  | 'refund_over_capture'
15579
15600
  | 'sales_record'
15580
15601
  | 'statement_batch'
@@ -17177,6 +17198,53 @@ declare namespace io.flow.internal.v0.models {
17177
17198
  readonly error_message?: string;
17178
17199
  }
17179
17200
 
17201
+ interface CarrierChargeFile {
17202
+ readonly id: string;
17203
+ readonly url: string;
17204
+ readonly created_at: string;
17205
+ readonly result?: io.flow.internal.v0.models.CarrierChargeFileResult;
17206
+ }
17207
+
17208
+ interface CarrierChargeFileForm {
17209
+ readonly url: string;
17210
+ }
17211
+
17212
+ interface CarrierChargeFileResult {
17213
+ readonly processed_at: string;
17214
+ readonly number_lines_successful: number;
17215
+ readonly number_lines_with_errors: number;
17216
+ readonly errors_url?: string;
17217
+ }
17218
+
17219
+ interface CarrierChargeFormLabel {
17220
+ readonly discriminator: 'label';
17221
+ readonly id: string;
17222
+ readonly label_invoice_request_id: string;
17223
+ readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
17224
+ readonly base: io.flow.internal.v0.models.LabelBase;
17225
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
17226
+ readonly total: number;
17227
+ readonly attributes?: Record<string, string>;
17228
+ }
17229
+
17230
+ interface CarrierChargeFormReturnToOrigin {
17231
+ readonly discriminator: 'return_to_origin';
17232
+ readonly id: string;
17233
+ readonly carrier_id: string;
17234
+ readonly carrier_tracking_number: string;
17235
+ readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
17236
+ readonly base: io.flow.internal.v0.models.LabelBase;
17237
+ readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
17238
+ readonly total: number;
17239
+ readonly attributes?: Record<string, string>;
17240
+ }
17241
+
17242
+ interface CarrierChargeUnits {
17243
+ readonly currency: string;
17244
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
17245
+ readonly length?: io.flow.units.v0.enums.UnitOfLength;
17246
+ }
17247
+
17180
17248
  interface CarrierInvoice {
17181
17249
  readonly number: string;
17182
17250
  readonly timestamp: string;
@@ -21910,16 +21978,28 @@ declare namespace io.flow.internal.v0.models {
21910
21978
  interface FulfillmentProofExternalFulfillmentProofReference {
21911
21979
  readonly discriminator: 'external_fulfillment';
21912
21980
  readonly id: string;
21981
+ readonly carrier_id?: string;
21982
+ readonly carrier_service_id?: string;
21983
+ readonly carrier_tracking_number?: string;
21984
+ readonly label_id?: string;
21913
21985
  }
21914
21986
 
21915
21987
  interface FulfillmentProofLabelTrackingReference {
21916
21988
  readonly discriminator: 'label_tracking';
21917
21989
  readonly id: string;
21990
+ readonly carrier_id?: string;
21991
+ readonly carrier_service_id?: string;
21992
+ readonly carrier_tracking_number?: string;
21993
+ readonly label_id?: string;
21918
21994
  }
21919
21995
 
21920
21996
  interface FulfillmentProofShippingNotificationReference {
21921
21997
  readonly discriminator: 'shipping_notification';
21922
21998
  readonly id: string;
21999
+ readonly carrier_id?: string;
22000
+ readonly carrier_service_id?: string;
22001
+ readonly carrier_tracking_number?: string;
22002
+ readonly label_id?: string;
21923
22003
  }
21924
22004
 
21925
22005
  interface FulfillmentReference {
@@ -23551,33 +23631,6 @@ declare namespace io.flow.internal.v0.models {
23551
23631
  readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
23552
23632
  }
23553
23633
 
23554
- interface LabelInvoiceResponseFile {
23555
- readonly id: string;
23556
- readonly url: string;
23557
- readonly created_at: string;
23558
- readonly result?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
23559
- }
23560
-
23561
- interface LabelInvoiceResponseFileForm {
23562
- readonly url: string;
23563
- }
23564
-
23565
- interface LabelInvoiceResponseFileResult {
23566
- readonly processed_at: string;
23567
- readonly number_lines_successful: number;
23568
- readonly number_lines_with_errors: number;
23569
- readonly errors_url?: string;
23570
- }
23571
-
23572
- interface LabelInvoiceResponseForm {
23573
- readonly id: string;
23574
- readonly label_invoice_request_id: string;
23575
- readonly units: io.flow.internal.v0.models.LabelResponseUnits;
23576
- readonly base: io.flow.internal.v0.models.LabelBase;
23577
- readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
23578
- readonly total: number;
23579
- }
23580
-
23581
23634
  interface LabelMetadata {
23582
23635
  readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
23583
23636
  readonly weights: io.flow.internal.v0.models.MetadataWeights;
@@ -23613,12 +23666,6 @@ declare namespace io.flow.internal.v0.models {
23613
23666
  readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
23614
23667
  }
23615
23668
 
23616
- interface LabelResponseUnits {
23617
- readonly currency: string;
23618
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
23619
- readonly length?: io.flow.units.v0.enums.UnitOfLength;
23620
- }
23621
-
23622
23669
  interface LabelSummary {
23623
23670
  readonly id: string;
23624
23671
  readonly commercial_invoice?: string;
@@ -24427,6 +24474,10 @@ declare namespace io.flow.internal.v0.models {
24427
24474
  }
24428
24475
 
24429
24476
  interface MerchantCharges {
24477
+ readonly adjustment: number;
24478
+ readonly reversal: number;
24479
+ readonly tax: number;
24480
+ readonly duty: number;
24430
24481
  readonly labels: number;
24431
24482
  readonly total: number;
24432
24483
  }
@@ -25081,6 +25132,7 @@ declare namespace io.flow.internal.v0.models {
25081
25132
  readonly id: string;
25082
25133
  readonly deactivate_at: string;
25083
25134
  readonly created_at: string;
25135
+ readonly reason?: string;
25084
25136
  }
25085
25137
 
25086
25138
  interface OrganizationDeactivationDeleted {
@@ -25093,6 +25145,7 @@ declare namespace io.flow.internal.v0.models {
25093
25145
 
25094
25146
  interface OrganizationDeactivationForm {
25095
25147
  readonly deactivate_at: string;
25148
+ readonly reason?: string;
25096
25149
  }
25097
25150
 
25098
25151
  interface OrganizationDeactivationUpserted {
@@ -28698,6 +28751,9 @@ declare namespace io.flow.internal.v0.unions {
28698
28751
  | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
28699
28752
  | io.flow.internal.v0.models.BlazePaymentAuthStartMessage
28700
28753
  | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
28754
+ type CarrierChargeForm =
28755
+ | io.flow.internal.v0.models.CarrierChargeFormLabel
28756
+ | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
28701
28757
  type CarrierCredentials =
28702
28758
  | io.flow.internal.v0.models.SfExpress
28703
28759
  | io.flow.internal.v0.models.DhlEcommerce
@@ -30091,6 +30147,17 @@ export type CarrierAccountUpsertedV2 =
30091
30147
  io.flow.internal.v0.models.CarrierAccountUpsertedV2;
30092
30148
  export type CarrierAccountValidation =
30093
30149
  io.flow.internal.v0.models.CarrierAccountValidation;
30150
+ export type CarrierChargeFile = io.flow.internal.v0.models.CarrierChargeFile;
30151
+ export type CarrierChargeFileForm =
30152
+ io.flow.internal.v0.models.CarrierChargeFileForm;
30153
+ export type CarrierChargeFileResult =
30154
+ io.flow.internal.v0.models.CarrierChargeFileResult;
30155
+ export type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
30156
+ export type CarrierChargeFormLabel =
30157
+ io.flow.internal.v0.models.CarrierChargeFormLabel;
30158
+ export type CarrierChargeFormReturnToOrigin =
30159
+ io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
30160
+ export type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
30094
30161
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
30095
30162
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
30096
30163
  export type CarrierLabelGenerationMethod =
@@ -32132,14 +32199,6 @@ export type LabelInvoiceRequestDeleted =
32132
32199
  io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
32133
32200
  export type LabelInvoiceRequestUpserted =
32134
32201
  io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
32135
- export type LabelInvoiceResponseFile =
32136
- io.flow.internal.v0.models.LabelInvoiceResponseFile;
32137
- export type LabelInvoiceResponseFileForm =
32138
- io.flow.internal.v0.models.LabelInvoiceResponseFileForm;
32139
- export type LabelInvoiceResponseFileResult =
32140
- io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
32141
- export type LabelInvoiceResponseForm =
32142
- io.flow.internal.v0.models.LabelInvoiceResponseForm;
32143
32202
  export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
32144
32203
  export type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
32145
32204
  export type LabelRequestErrorDeleted =
@@ -32148,7 +32207,6 @@ export type LabelRequestErrorHandlingResponsibility =
32148
32207
  io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
32149
32208
  export type LabelRequestErrorUpserted =
32150
32209
  io.flow.internal.v0.models.LabelRequestErrorUpserted;
32151
- export type LabelResponseUnits = io.flow.internal.v0.models.LabelResponseUnits;
32152
32210
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
32153
32211
  export type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
32154
32212
  export type LabelSurchargeDetail =