@flowio/api-internal-factories 0.0.110 → 0.0.111

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.
@@ -34,6 +34,17 @@ const factories = {
34
34
  'io.flow.adyen.v0.enums.contract': (): io.flow.adyen.v0.enums.Contract => faker.helpers.arrayElement(['RECURRING']),
35
35
  'io.flow.adyen.v0.enums.device_channel': (): io.flow.adyen.v0.enums.DeviceChannel => faker.helpers.arrayElement(['app', 'browser']),
36
36
 
37
+ 'io.flow.adyen.v0.enums.dispute_status': (): io.flow.adyen.v0.enums.DisputeStatus => faker.helpers.arrayElement([
38
+ 'Accepted',
39
+ 'Expired',
40
+ 'Lost',
41
+ 'Pending',
42
+ 'Responded',
43
+ 'Undefended',
44
+ 'Unresponded',
45
+ 'Won',
46
+ ]),
47
+
37
48
  'io.flow.adyen.v0.enums.event_code': (): io.flow.adyen.v0.enums.EventCode => faker.helpers.arrayElement([
38
49
  'AUTHORISATION',
39
50
  'CANCELLATION',
@@ -297,6 +308,8 @@ const factories = {
297
308
  modificationMerchantReferences: factories.string(),
298
309
  chargebackSchemeCode: factories.string(),
299
310
  defensePeriodEndsAt: factories.date_time_iso_8601(),
311
+ disputeStatus: factories['io.flow.adyen.v0.enums.dispute_status'](),
312
+ defendable: factories.string(),
300
313
  }),
301
314
 
302
315
  'io.flow.adyen.v0.models.error': (): io.flow.adyen.v0.models.Error => ({
@@ -702,6 +715,8 @@ const factories = {
702
715
  'waiting_for_next_payout_date',
703
716
  'waiting_for_tracking_info',
704
717
  'waiting_for_positive_account_balance',
718
+ 'unfulfilled_amount_greater_than_negative_balance',
719
+ 'account_payment_hold',
705
720
  ]),
706
721
 
707
722
  'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv']),
@@ -1723,6 +1738,7 @@ const factories = {
1723
1738
  local: factories['io.flow.catalog.v0.models.local'](),
1724
1739
  created_at: factories.date_time_iso_8601(),
1725
1740
  updated_at: factories.date_time_iso_8601(),
1741
+ deleted_at: factories.date_time_iso_8601(),
1726
1742
  }),
1727
1743
 
1728
1744
  'io.flow.catalog.v0.models.item_attributes_patch_form': (): io.flow.catalog.v0.models.ItemAttributesPatchForm => ({
@@ -1740,6 +1756,7 @@ const factories = {
1740
1756
  attributes: objectOf(() => factories.string()),
1741
1757
  dimensions: factories['io.flow.common.v0.models.dimensions'](),
1742
1758
  images: arrayOf(() => factories['io.flow.catalog.v0.models.image_form']()),
1759
+ deleted_at: factories.date_time_iso_8601(),
1743
1760
  }),
1744
1761
 
1745
1762
  'io.flow.catalog.v0.models.item_form_overlay': (): io.flow.catalog.v0.models.ItemFormOverlay => ({
@@ -1753,6 +1770,7 @@ const factories = {
1753
1770
  attributes: objectOf(() => factories.string()),
1754
1771
  dimensions: factories['io.flow.common.v0.models.dimensions'](),
1755
1772
  images: arrayOf(() => factories['io.flow.catalog.v0.models.image_form']()),
1773
+ deleted_at: factories.date_time_iso_8601(),
1756
1774
  }),
1757
1775
 
1758
1776
  'io.flow.catalog.v0.models.item_form_overlay_form': (): io.flow.catalog.v0.models.ItemFormOverlayForm => ({
@@ -1765,6 +1783,7 @@ const factories = {
1765
1783
  attributes: objectOf(() => factories.string()),
1766
1784
  dimensions: factories['io.flow.common.v0.models.dimensions'](),
1767
1785
  images: arrayOf(() => factories['io.flow.catalog.v0.models.image_form']()),
1786
+ deleted_at: factories.date_time_iso_8601(),
1768
1787
  }),
1769
1788
 
1770
1789
  'io.flow.catalog.v0.models.item_price_update_form': (): io.flow.catalog.v0.models.ItemPriceUpdateForm => ({
@@ -3249,6 +3268,12 @@ const factories = {
3249
3268
  display: factories['io.flow.experience.v0.enums.delivered_duty_display_type'](),
3250
3269
  }),
3251
3270
 
3271
+ 'io.flow.experience.v0.models.destination_contact_detail': (): io.flow.experience.v0.models.DestinationContactDetail => ({
3272
+ title: factories.string(),
3273
+ country: factories.string(),
3274
+ import_identifier: factories.string(),
3275
+ }),
3276
+
3252
3277
  'io.flow.experience.v0.models.discount': (): io.flow.experience.v0.models.Discount => ({
3253
3278
  discriminator: 'discount',
3254
3279
  id: factories.string(),
@@ -3628,6 +3653,10 @@ const factories = {
3628
3653
  tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
3629
3654
  geo: factories['io.flow.experience.v0.models.order_geo'](),
3630
3655
  device_details: factories['io.flow.payment.v0.unions.device_details'](),
3656
+
3657
+ destination_contact_details: arrayOf(
3658
+ () => factories['io.flow.experience.v0.models.destination_contact_detail'](),
3659
+ ),
3631
3660
  }),
3632
3661
 
3633
3662
  'io.flow.experience.v0.models.order_address': (): io.flow.experience.v0.models.OrderAddress => ({
@@ -5136,6 +5165,7 @@ const factories = {
5136
5165
  supporting_info: factories['io.flow.external.paypal.v1.models.supporting_info'](),
5137
5166
  allowed_response_options: factories['io.flow.external.paypal.v1.models.allowed_response_options'](),
5138
5167
  links: arrayOf(() => factories['io.flow.external.paypal.v1.models.link']()),
5168
+ previous_status: factories['io.flow.external.paypal.v1.enums.dispute_status'](),
5139
5169
  }),
5140
5170
 
5141
5171
  'io.flow.external.paypal.v1.models.dispute_extension': (): io.flow.external.paypal.v1.models.DisputeExtension => ({
@@ -7358,6 +7388,7 @@ const factories = {
7358
7388
  'io.flow.internal.v0.enums.discount_request_order_entitlement_key': (): io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey => faker.helpers.arrayElement(['subtotal']),
7359
7389
  'io.flow.internal.v0.enums.dispute_billable': (): io.flow.internal.v0.enums.DisputeBillable => faker.helpers.arrayElement(['flow', 'organization']),
7360
7390
  'io.flow.internal.v0.enums.dispute_category': (): io.flow.internal.v0.enums.DisputeCategory => faker.helpers.arrayElement(['friendly_fraud', 'true_fraud', 'processing_error']),
7391
+ 'io.flow.internal.v0.enums.dispute_defense_outcome': (): io.flow.internal.v0.enums.DisputeDefenseOutcome => faker.helpers.arrayElement(['defended', 'undefended', 'undefendable']),
7361
7392
  'io.flow.internal.v0.enums.dispute_evidence': (): io.flow.internal.v0.enums.DisputeEvidence => faker.helpers.arrayElement(['proof_of_delivery', 'proof_of_fulfillment', 'other']),
7362
7393
  'io.flow.internal.v0.enums.dispute_import_status': (): io.flow.internal.v0.enums.DisputeImportStatus => faker.helpers.arrayElement(['new', 'processing', 'completed', 'failed']),
7363
7394
  'io.flow.internal.v0.enums.dispute_import_type': (): io.flow.internal.v0.enums.DisputeImportType => faker.helpers.arrayElement(['adyen_dispute', 'paypal_dispute']),
@@ -7394,6 +7425,8 @@ const factories = {
7394
7425
  'io.flow.internal.v0.enums.erp_file_type': (): io.flow.internal.v0.enums.ErpFileType => faker.helpers.arrayElement(['vendor']),
7395
7426
 
7396
7427
  'io.flow.internal.v0.enums.event_type': (): io.flow.internal.v0.enums.EventType => faker.helpers.arrayElement([
7428
+ 'adjusted_estimates_upserted',
7429
+ 'adjusted_estimates_deleted',
7397
7430
  'adyen_authorization_deleted',
7398
7431
  'adyen_authorization_upserted',
7399
7432
  'adyen_cancel_deleted',
@@ -7567,6 +7600,8 @@ const factories = {
7567
7600
  'ftp_file_to_process_uploaded',
7568
7601
  'center_defaults_upserted',
7569
7602
  'center_defaults_deleted',
7603
+ 'fulfillment_fallbacks_upserted',
7604
+ 'fulfillment_fallbacks_deleted',
7570
7605
  'pregenerated_request_event',
7571
7606
  'quote_upserted',
7572
7607
  'quote_deleted',
@@ -7764,6 +7799,8 @@ const factories = {
7764
7799
  'tracking_assurance_analysis_deleted',
7765
7800
  'tracking_assurance_job_upserted',
7766
7801
  'tracking_assurance_job_deleted',
7802
+ 'tracking_label_dimensions_upserted',
7803
+ 'tracking_label_dimensions_deleted',
7767
7804
  'tracking_request_upserted',
7768
7805
  'tracking_response_upserted',
7769
7806
  'user_upserted_v2',
@@ -7849,6 +7886,8 @@ const factories = {
7849
7886
  'globale_system',
7850
7887
  ]),
7851
7888
 
7889
+ 'io.flow.internal.v0.enums.label_request_result_organization_type': (): io.flow.internal.v0.enums.LabelRequestResultOrganizationType => faker.helpers.arrayElement(['all', 'legacy_production', 'managed_markets_production', 'sandbox']),
7890
+ 'io.flow.internal.v0.enums.label_request_result_state': (): io.flow.internal.v0.enums.LabelRequestResultState => faker.helpers.arrayElement(['success', 'failure']),
7852
7891
  'io.flow.internal.v0.enums.label_transaction_type': (): io.flow.internal.v0.enums.LabelTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'billable_label', 'fee', 'revenue_share']),
7853
7892
 
7854
7893
  'io.flow.internal.v0.enums.liability_type': (): io.flow.internal.v0.enums.LiabilityType => faker.helpers.arrayElement(
@@ -8272,6 +8311,7 @@ const factories = {
8272
8311
  'io.flow.internal.v0.enums.tax_transaction_type': (): io.flow.internal.v0.enums.TaxTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'tax', 'refund']),
8273
8312
  'io.flow.internal.v0.enums.thiago_item_type': (): io.flow.internal.v0.enums.ThiagoItemType => faker.helpers.arrayElement(['digital', 'physical']),
8274
8313
  'io.flow.internal.v0.enums.tracking_integration_type': (): io.flow.internal.v0.enums.TrackingIntegrationType => faker.helpers.arrayElement(['api', 'bulk', 'aftership']),
8314
+ 'io.flow.internal.v0.enums.tracking_label_dimensions_source': (): io.flow.internal.v0.enums.TrackingLabelDimensionsSource => faker.helpers.arrayElement(['aftership', 'carrier_api']),
8275
8315
 
8276
8316
  'io.flow.internal.v0.enums.tracking_processing_failure_classification': (): io.flow.internal.v0.enums.TrackingProcessingFailureClassification => faker.helpers.arrayElement([
8277
8317
  'tracking_expired',
@@ -8555,6 +8595,29 @@ const factories = {
8555
8595
  province_code: factories['io.flow.internal.v0.enums.address_configuration_setting_province_code'](),
8556
8596
  }),
8557
8597
 
8598
+ 'io.flow.internal.v0.models.adjusted_estimates': (): io.flow.internal.v0.models.AdjustedEstimates => ({
8599
+ id: factories.string(),
8600
+ organization_id: factories.string(),
8601
+ label_id: factories.string(),
8602
+ estimates: arrayOf(() => factories['io.flow.label.v0.models.shipping_label_hop_summary']()),
8603
+ }),
8604
+
8605
+ 'io.flow.internal.v0.models.adjusted_estimates_deleted': (): io.flow.internal.v0.models.AdjustedEstimatesDeleted => ({
8606
+ discriminator: 'adjusted_estimates_deleted',
8607
+ event_id: factories.string(),
8608
+ timestamp: factories.date_time_iso_8601(),
8609
+ organization: factories.string(),
8610
+ id: factories.string(),
8611
+ }),
8612
+
8613
+ 'io.flow.internal.v0.models.adjusted_estimates_upserted': (): io.flow.internal.v0.models.AdjustedEstimatesUpserted => ({
8614
+ discriminator: 'adjusted_estimates_upserted',
8615
+ event_id: factories.string(),
8616
+ timestamp: factories.date_time_iso_8601(),
8617
+ organization: factories.string(),
8618
+ adjusted_estimates: factories['io.flow.internal.v0.models.adjusted_estimates'](),
8619
+ }),
8620
+
8558
8621
  'io.flow.internal.v0.models.adjustment_amount_fixed': (): io.flow.internal.v0.models.AdjustmentAmountFixed => ({
8559
8622
  discriminator: 'fixed',
8560
8623
  amount: factories['io.flow.common.v0.models.money'](),
@@ -9017,6 +9080,14 @@ const factories = {
9017
9080
  value: factories.date_time_iso_8601(),
9018
9081
  }),
9019
9082
 
9083
+ 'io.flow.internal.v0.models.attempt_statistics': (): io.flow.internal.v0.models.AttemptStatistics => ({
9084
+ merchant_count: factories.long(),
9085
+ amount: factories.decimal(),
9086
+ failed_merchant_count: factories.long(),
9087
+ failed_amount: factories.decimal(),
9088
+ success_ratio: factories.double(),
9089
+ }),
9090
+
9020
9091
  'io.flow.internal.v0.models.attribute_label': (): io.flow.internal.v0.models.AttributeLabel => ({
9021
9092
  value: factories.string(),
9022
9093
  unverified: factories.boolean(),
@@ -10673,6 +10744,19 @@ const factories = {
10673
10744
  ),
10674
10745
  }),
10675
10746
 
10747
+ 'io.flow.internal.v0.models.classification_merchant': (): io.flow.internal.v0.models.ClassificationMerchant => ({
10748
+ MerchantId: factories.string(),
10749
+ PlatformId: factories['io.flow.internal.v0.enums.classification_platform'](),
10750
+ Name: factories.string(),
10751
+ DateLastUpdated: factories.date_time_iso_8601(),
10752
+ Order: factories.integer(),
10753
+ }),
10754
+
10755
+ 'io.flow.internal.v0.models.classification_merchant_envelope': (): io.flow.internal.v0.models.ClassificationMerchantEnvelope => ({
10756
+ messageType: arrayOf(() => factories.string()),
10757
+ message: factories['io.flow.internal.v0.models.classification_merchant'](),
10758
+ }),
10759
+
10676
10760
  'io.flow.internal.v0.models.classification_product': (): io.flow.internal.v0.models.ClassificationProduct => ({
10677
10761
  organization_id: factories.string(),
10678
10762
  product_id: factories.string(),
@@ -10855,6 +10939,7 @@ const factories = {
10855
10939
  rex_number: factories.string(),
10856
10940
  wee_number: factories.string(),
10857
10941
  business_gst_numbers: arrayOf(() => factories.string()),
10942
+ destination_gst_numbers: arrayOf(() => factories.string()),
10858
10943
  vat_name: factories.string(),
10859
10944
  shipping_price: factories.string(),
10860
10945
  shipment_recipient: factories.string(),
@@ -11519,6 +11604,7 @@ const factories = {
11519
11604
  status: factories['io.flow.internal.v0.enums.dispute_status'](),
11520
11605
  liability: factories['io.flow.internal.v0.enums.dispute_liability'](),
11521
11606
  billable: factories['io.flow.internal.v0.enums.dispute_billable'](),
11607
+ defense_outcome: factories['io.flow.internal.v0.enums.dispute_defense_outcome'](),
11522
11608
  details: factories['io.flow.internal.v0.unions.dispute_details'](),
11523
11609
  issued_at: factories.date_time_iso_8601(),
11524
11610
  expires_at: factories.date_time_iso_8601(),
@@ -11538,6 +11624,11 @@ const factories = {
11538
11624
  id: factories.string(),
11539
11625
  }),
11540
11626
 
11627
+ 'io.flow.internal.v0.models.dispute_detail': (): io.flow.internal.v0.models.DisputeDetail => ({
11628
+ authorization: factories['io.flow.internal.v0.models.search_authorization'](),
11629
+ dispute: factories['io.flow.internal.v0.models.dispute'](),
11630
+ }),
11631
+
11541
11632
  'io.flow.internal.v0.models.dispute_details_adyen': (): io.flow.internal.v0.models.DisputeDetailsAdyen => ({
11542
11633
  discriminator: 'adyen',
11543
11634
  psp_reference: factories.string(),
@@ -11589,6 +11680,13 @@ const factories = {
11589
11680
  id: factories.string(),
11590
11681
  }),
11591
11682
 
11683
+ 'io.flow.internal.v0.models.dispute_override_update_form': (): io.flow.internal.v0.models.DisputeOverrideUpdateForm => ({
11684
+ billable: factories['io.flow.internal.v0.enums.dispute_billable'](),
11685
+ reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
11686
+ category: factories['io.flow.internal.v0.enums.dispute_category'](),
11687
+ status: factories['io.flow.internal.v0.enums.dispute_status'](),
11688
+ }),
11689
+
11592
11690
  'io.flow.internal.v0.models.dispute_status_form': (): io.flow.internal.v0.models.DisputeStatusForm => ({
11593
11691
  status: factories['io.flow.internal.v0.enums.dispute_status'](),
11594
11692
  }),
@@ -12173,6 +12271,7 @@ const factories = {
12173
12271
  description: factories.string(),
12174
12272
  order_number: factories.string(),
12175
12273
  raw_carrier_event_code: factories.string(),
12274
+ aggregator_status_code: factories.string(),
12176
12275
  created_at: factories.date_time_iso_8601(),
12177
12276
  }),
12178
12277
 
@@ -12942,6 +13041,29 @@ const factories = {
12942
13041
  id: factories.string(),
12943
13042
  }),
12944
13043
 
13044
+ 'io.flow.internal.v0.models.fulfillment_fallbacks': (): io.flow.internal.v0.models.FulfillmentFallbacks => ({
13045
+ id: factories.string(),
13046
+ packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
13047
+ contact: factories['io.flow.common.v0.models.contact'](),
13048
+ location: factories['io.flow.common.v0.models.address'](),
13049
+ }),
13050
+
13051
+ 'io.flow.internal.v0.models.fulfillment_fallbacks_deleted': (): io.flow.internal.v0.models.FulfillmentFallbacksDeleted => ({
13052
+ discriminator: 'fulfillment_fallbacks_deleted',
13053
+ event_id: factories.string(),
13054
+ timestamp: factories.date_time_iso_8601(),
13055
+ organization: factories.string(),
13056
+ id: factories.string(),
13057
+ }),
13058
+
13059
+ 'io.flow.internal.v0.models.fulfillment_fallbacks_upserted': (): io.flow.internal.v0.models.FulfillmentFallbacksUpserted => ({
13060
+ discriminator: 'fulfillment_fallbacks_upserted',
13061
+ event_id: factories.string(),
13062
+ timestamp: factories.date_time_iso_8601(),
13063
+ organization: factories.string(),
13064
+ fulfillment_fallbacks: factories['io.flow.internal.v0.models.fulfillment_fallbacks'](),
13065
+ }),
13066
+
12945
13067
  'io.flow.internal.v0.models.fulfillment_internal_experience_reference': (): io.flow.internal.v0.models.FulfillmentInternalExperienceReference => ({
12946
13068
  id: factories.string(),
12947
13069
  key: factories.string(),
@@ -14095,6 +14217,22 @@ const factories = {
14095
14217
  label_request_error: factories['io.flow.internal.v0.models.label_request_error'](),
14096
14218
  }),
14097
14219
 
14220
+ 'io.flow.internal.v0.models.label_request_result': (): io.flow.internal.v0.models.LabelRequestResult => ({
14221
+ id: factories.string(),
14222
+ created_at: factories.date_time_iso_8601(),
14223
+ state: factories['io.flow.internal.v0.enums.label_request_result_state'](),
14224
+ organization_id: factories.string(),
14225
+ order_number: factories.string(),
14226
+ label_request_method: factories['io.flow.label.v0.enums.label_request_method'](),
14227
+ carrier_id: factories.string(),
14228
+ carrier_tracking_number: factories.string(),
14229
+ url: factories.string(),
14230
+ error: factories.string(),
14231
+ suggested_responsibility: factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility'](),
14232
+ origin_country: factories.string(),
14233
+ destination_country: factories.string(),
14234
+ }),
14235
+
14098
14236
  'io.flow.internal.v0.models.label_summary': (): io.flow.internal.v0.models.LabelSummary => ({
14099
14237
  id: factories.string(),
14100
14238
  commercial_invoice: factories.string(),
@@ -15197,6 +15335,12 @@ const factories = {
15197
15335
  percent: factories.decimal(),
15198
15336
  }),
15199
15337
 
15338
+ 'io.flow.internal.v0.models.negative_debit_metrics': (): io.flow.internal.v0.models.NegativeDebitMetrics => ({
15339
+ current_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
15340
+ second_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
15341
+ third_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
15342
+ }),
15343
+
15200
15344
  'io.flow.internal.v0.models.next_billing_statement': (): io.flow.internal.v0.models.NextBillingStatement => ({
15201
15345
  date: factories.date_time_iso_8601(),
15202
15346
  amount: factories['io.flow.common.v0.models.price'](),
@@ -15483,6 +15627,7 @@ const factories = {
15483
15627
  created_at: factories.date_time_iso_8601(),
15484
15628
  updated_at: factories.date_time_iso_8601(),
15485
15629
  shopify_order_id: factories.string(),
15630
+ disputes: arrayOf(() => factories['io.flow.internal.v0.models.dispute_detail']()),
15486
15631
  }),
15487
15632
 
15488
15633
  'io.flow.internal.v0.models.order_fulfillment_deleted': (): io.flow.internal.v0.models.OrderFulfillmentDeleted => ({
@@ -20080,6 +20225,31 @@ const factories = {
20080
20225
  tracking_label: factories['io.flow.internal.v0.models.export_tracking_label'](),
20081
20226
  }),
20082
20227
 
20228
+ 'io.flow.internal.v0.models.tracking_label_dimensions': (): io.flow.internal.v0.models.TrackingLabelDimensions => ({
20229
+ id: factories.string(),
20230
+ organization_id: factories.string(),
20231
+ tracking_label_id: factories.string(),
20232
+ source: factories['io.flow.internal.v0.enums.tracking_label_dimensions_source'](),
20233
+ created_at: factories.date_time_iso_8601(),
20234
+ dimensions: factories['io.flow.common.v0.models.dimensions'](),
20235
+ }),
20236
+
20237
+ 'io.flow.internal.v0.models.tracking_label_dimensions_deleted': (): io.flow.internal.v0.models.TrackingLabelDimensionsDeleted => ({
20238
+ discriminator: 'tracking_label_dimensions_deleted',
20239
+ event_id: factories.string(),
20240
+ timestamp: factories.date_time_iso_8601(),
20241
+ organization: factories.string(),
20242
+ id: factories.string(),
20243
+ }),
20244
+
20245
+ 'io.flow.internal.v0.models.tracking_label_dimensions_upserted': (): io.flow.internal.v0.models.TrackingLabelDimensionsUpserted => ({
20246
+ discriminator: 'tracking_label_dimensions_upserted',
20247
+ event_id: factories.string(),
20248
+ timestamp: factories.date_time_iso_8601(),
20249
+ organization: factories.string(),
20250
+ tracking_label_dimensions: factories['io.flow.internal.v0.models.tracking_label_dimensions'](),
20251
+ }),
20252
+
20083
20253
  'io.flow.internal.v0.models.tracking_label_event_deleted_v2': (): io.flow.internal.v0.models.TrackingLabelEventDeletedV2 => ({
20084
20254
  discriminator: 'tracking_label_event_deleted_v2',
20085
20255
  event_id: factories.string(),
@@ -20706,6 +20876,8 @@ const factories = {
20706
20876
 
20707
20877
  'io.flow.internal.v0.unions.event': (): io.flow.internal.v0.unions.Event => {
20708
20878
  const f = faker.helpers.arrayElement([
20879
+ () => factories['io.flow.internal.v0.models.adjusted_estimates_upserted'](),
20880
+ () => factories['io.flow.internal.v0.models.adjusted_estimates_deleted'](),
20709
20881
  () => factories['io.flow.internal.v0.models.adyen_authorization_deleted'](),
20710
20882
  () => factories['io.flow.internal.v0.models.adyen_authorization_upserted'](),
20711
20883
  () => factories['io.flow.internal.v0.models.adyen_cancel_deleted'](),
@@ -20879,6 +21051,8 @@ const factories = {
20879
21051
  () => factories['io.flow.internal.v0.models.ftp_file_to_process_uploaded'](),
20880
21052
  () => factories['io.flow.internal.v0.models.center_defaults_upserted'](),
20881
21053
  () => factories['io.flow.internal.v0.models.center_defaults_deleted'](),
21054
+ () => factories['io.flow.internal.v0.models.fulfillment_fallbacks_upserted'](),
21055
+ () => factories['io.flow.internal.v0.models.fulfillment_fallbacks_deleted'](),
20882
21056
  () => factories['io.flow.internal.v0.models.pregenerated_request_event'](),
20883
21057
  () => factories['io.flow.internal.v0.models.quote_upserted'](),
20884
21058
  () => factories['io.flow.internal.v0.models.quote_deleted'](),
@@ -21076,6 +21250,8 @@ const factories = {
21076
21250
  () => factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](),
21077
21251
  () => factories['io.flow.internal.v0.models.tracking_assurance_job_upserted'](),
21078
21252
  () => factories['io.flow.internal.v0.models.tracking_assurance_job_deleted'](),
21253
+ () => factories['io.flow.internal.v0.models.tracking_label_dimensions_upserted'](),
21254
+ () => factories['io.flow.internal.v0.models.tracking_label_dimensions_deleted'](),
21079
21255
  () => factories['io.flow.internal.v0.models.tracking_request_upserted'](),
21080
21256
  () => factories['io.flow.internal.v0.models.tracking_response_upserted'](),
21081
21257
  () => factories['io.flow.internal.v0.models.user_upserted_v2'](),
@@ -29043,6 +29219,7 @@ const factories = {
29043
29219
  location_id: factories.long(),
29044
29220
  subtotal: factories.decimal(),
29045
29221
  total_tax: factories.decimal(),
29222
+ total_tax_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
29046
29223
  }),
29047
29224
 
29048
29225
  'io.flow.shopify.markets.v0.models.shopify_order_shipping_line': (): io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine => ({
@@ -31426,6 +31603,7 @@ const factories = {
31426
31603
  in_transit: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
31427
31604
  delivered: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
31428
31605
  rejected: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
31606
+ returned: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
31429
31607
  }),
31430
31608
 
31431
31609
  'io.flow.tracking.v0.models.label_tracking_summary_update': (): io.flow.tracking.v0.models.LabelTrackingSummaryUpdate => ({
@@ -31650,6 +31828,9 @@ export const makeAddressConfigurationProvinceSetting = () => factories['io.flow.
31650
31828
  export const makeAddressConfigurationSetting = () => factories['io.flow.internal.v0.models.address_configuration_setting']();
31651
31829
  export const makeAddressConfigurationSettingForm = () => factories['io.flow.internal.v0.models.address_configuration_setting_form']();
31652
31830
  export const makeAddressConfigurationSettingProvinceCode = () => factories['io.flow.internal.v0.enums.address_configuration_setting_province_code']();
31831
+ export const makeAdjustedEstimates = () => factories['io.flow.internal.v0.models.adjusted_estimates']();
31832
+ export const makeAdjustedEstimatesDeleted = () => factories['io.flow.internal.v0.models.adjusted_estimates_deleted']();
31833
+ export const makeAdjustedEstimatesUpserted = () => factories['io.flow.internal.v0.models.adjusted_estimates_upserted']();
31653
31834
  export const makeAdjustmentAmount = () => factories['io.flow.internal.v0.unions.adjustment_amount']();
31654
31835
  export const makeAdjustmentAmountFixed = () => factories['io.flow.internal.v0.models.adjustment_amount_fixed']();
31655
31836
  export const makeAdjustmentAmountPercentage = () => factories['io.flow.internal.v0.models.adjustment_amount_percentage']();
@@ -31717,6 +31898,7 @@ export const makeApiCallReferenceId = () => factories['io.flow.internal.v0.enums
31717
31898
  export const makeApmContent = () => factories['io.flow.internal.v0.models.apm_content']();
31718
31899
  export const makeApplePayAuthorizationPayload = () => factories['io.flow.internal.v0.models.apple_pay_authorization_payload']();
31719
31900
  export const makeApplyAtValueForm = () => factories['io.flow.internal.v0.models.apply_at_value_form']();
31901
+ export const makeAttemptStatistics = () => factories['io.flow.internal.v0.models.attempt_statistics']();
31720
31902
  export const makeAttributeLabel = () => factories['io.flow.internal.v0.models.attribute_label']();
31721
31903
  export const makeAuthenticationForm = () => factories['io.flow.internal.v0.models.authentication_form']();
31722
31904
  export const makeAuthorizationBundle = () => factories['io.flow.internal.v0.models.authorization_bundle']();
@@ -31982,6 +32164,8 @@ export const makeClassificationFormWrapper = () => factories['io.flow.internal.v
31982
32164
  export const makeClassificationItem = () => factories['io.flow.internal.v0.models.classification_item']();
31983
32165
  export const makeClassificationJudgementForm = () => factories['io.flow.internal.v0.unions.classification_judgement_form']();
31984
32166
  export const makeClassificationLabelAttribute = () => factories['io.flow.internal.v0.unions.classification_label_attribute']();
32167
+ export const makeClassificationMerchant = () => factories['io.flow.internal.v0.models.classification_merchant']();
32168
+ export const makeClassificationMerchantEnvelope = () => factories['io.flow.internal.v0.models.classification_merchant_envelope']();
31985
32169
  export const makeClassificationPlatform = () => factories['io.flow.internal.v0.enums.classification_platform']();
31986
32170
  export const makeClassificationProduct = () => factories['io.flow.internal.v0.models.classification_product']();
31987
32171
  export const makeClassificationProductHarmonization = () => factories['io.flow.internal.v0.models.classification_product_harmonization']();
@@ -32119,7 +32303,9 @@ export const makeDispute = () => factories['io.flow.internal.v0.models.dispute']
32119
32303
  export const makeDisputeAuthorizationReference = () => factories['io.flow.internal.v0.models.dispute_authorization_reference']();
32120
32304
  export const makeDisputeBillable = () => factories['io.flow.internal.v0.enums.dispute_billable']();
32121
32305
  export const makeDisputeCategory = () => factories['io.flow.internal.v0.enums.dispute_category']();
32306
+ export const makeDisputeDefenseOutcome = () => factories['io.flow.internal.v0.enums.dispute_defense_outcome']();
32122
32307
  export const makeDisputeDeleted = () => factories['io.flow.internal.v0.models.dispute_deleted']();
32308
+ export const makeDisputeDetail = () => factories['io.flow.internal.v0.models.dispute_detail']();
32123
32309
  export const makeDisputeDetails = () => factories['io.flow.internal.v0.unions.dispute_details']();
32124
32310
  export const makeDisputeDetailsAdyen = () => factories['io.flow.internal.v0.models.dispute_details_adyen']();
32125
32311
  export const makeDisputeDetailsPaypal = () => factories['io.flow.internal.v0.models.dispute_details_paypal']();
@@ -32134,6 +32320,7 @@ export const makeDisputeImportType = () => factories['io.flow.internal.v0.enums.
32134
32320
  export const makeDisputeLiability = () => factories['io.flow.internal.v0.enums.dispute_liability']();
32135
32321
  export const makeDisputeOrderReference = () => factories['io.flow.internal.v0.models.dispute_order_reference']();
32136
32322
  export const makeDisputeOrganizationReference = () => factories['io.flow.internal.v0.models.dispute_organization_reference']();
32323
+ export const makeDisputeOverrideUpdateForm = () => factories['io.flow.internal.v0.models.dispute_override_update_form']();
32137
32324
  export const makeDisputeProcessor = () => factories['io.flow.internal.v0.enums.dispute_processor']();
32138
32325
  export const makeDisputeReportingCategory = () => factories['io.flow.internal.v0.enums.dispute_reporting_category']();
32139
32326
  export const makeDisputeStatus = () => factories['io.flow.internal.v0.enums.dispute_status']();
@@ -32334,6 +32521,9 @@ export const makeFulfillmentBusiness = () => factories['io.flow.internal.v0.mode
32334
32521
  export const makeFulfillmentCancel = () => factories['io.flow.internal.v0.models.fulfillment_cancel']();
32335
32522
  export const makeFulfillmentCarrier = () => factories['io.flow.internal.v0.models.fulfillment_carrier']();
32336
32523
  export const makeFulfillmentDeleted = () => factories['io.flow.internal.v0.models.fulfillment_deleted']();
32524
+ export const makeFulfillmentFallbacks = () => factories['io.flow.internal.v0.models.fulfillment_fallbacks']();
32525
+ export const makeFulfillmentFallbacksDeleted = () => factories['io.flow.internal.v0.models.fulfillment_fallbacks_deleted']();
32526
+ export const makeFulfillmentFallbacksUpserted = () => factories['io.flow.internal.v0.models.fulfillment_fallbacks_upserted']();
32337
32527
  export const makeFulfillmentInternalExperienceReference = () => factories['io.flow.internal.v0.models.fulfillment_internal_experience_reference']();
32338
32528
  export const makeFulfillmentOrigin = () => factories['io.flow.internal.v0.models.fulfillment_origin']();
32339
32529
  export const makeFulfillmentProof = () => factories['io.flow.internal.v0.unions.fulfillment_proof']();
@@ -32519,6 +32709,9 @@ export const makeLabelRequestError = () => factories['io.flow.internal.v0.models
32519
32709
  export const makeLabelRequestErrorDeleted = () => factories['io.flow.internal.v0.models.label_request_error_deleted']();
32520
32710
  export const makeLabelRequestErrorHandlingResponsibility = () => factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility']();
32521
32711
  export const makeLabelRequestErrorUpserted = () => factories['io.flow.internal.v0.models.label_request_error_upserted']();
32712
+ export const makeLabelRequestResult = () => factories['io.flow.internal.v0.models.label_request_result']();
32713
+ export const makeLabelRequestResultOrganizationType = () => factories['io.flow.internal.v0.enums.label_request_result_organization_type']();
32714
+ export const makeLabelRequestResultState = () => factories['io.flow.internal.v0.enums.label_request_result_state']();
32522
32715
  export const makeLabelSummary = () => factories['io.flow.internal.v0.models.label_summary']();
32523
32716
  export const makeLabelSurchargeForm = () => factories['io.flow.internal.v0.models.label_surcharge_form']();
32524
32717
  export const makeLabelSurchargeSingleForm = () => factories['io.flow.internal.v0.models.label_surcharge_single_form']();
@@ -32690,6 +32883,7 @@ export const makeMixedBagWeight = () => factories['io.flow.internal.v0.enums.mix
32690
32883
  export const makeMoneyPercentage = () => factories['io.flow.internal.v0.models.money_percentage']();
32691
32884
  export const makeMoneyRule = () => factories['io.flow.internal.v0.unions.money_rule']();
32692
32885
  export const makeNatureOfSale = () => factories['io.flow.internal.v0.enums.nature_of_sale']();
32886
+ export const makeNegativeDebitMetrics = () => factories['io.flow.internal.v0.models.negative_debit_metrics']();
32693
32887
  export const makeNextBillingStatement = () => factories['io.flow.internal.v0.models.next_billing_statement']();
32694
32888
  export const makeNoCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.no_calculated_tax_amount']();
32695
32889
  export const makeNoClassificationForm = () => factories['io.flow.internal.v0.models.no_classification_form']();
@@ -33461,6 +33655,10 @@ export const makeTrackingDeleted = () => factories['io.flow.internal.v0.models.t
33461
33655
  export const makeTrackingEvent = () => factories['io.flow.internal.v0.models.tracking_event']();
33462
33656
  export const makeTrackingIntegrationType = () => factories['io.flow.internal.v0.enums.tracking_integration_type']();
33463
33657
  export const makeTrackingLabelDeleted = () => factories['io.flow.internal.v0.models.tracking_label_deleted']();
33658
+ export const makeTrackingLabelDimensions = () => factories['io.flow.internal.v0.models.tracking_label_dimensions']();
33659
+ export const makeTrackingLabelDimensionsDeleted = () => factories['io.flow.internal.v0.models.tracking_label_dimensions_deleted']();
33660
+ export const makeTrackingLabelDimensionsSource = () => factories['io.flow.internal.v0.enums.tracking_label_dimensions_source']();
33661
+ export const makeTrackingLabelDimensionsUpserted = () => factories['io.flow.internal.v0.models.tracking_label_dimensions_upserted']();
33464
33662
  export const makeTrackingLabelEventDeletedV2 = () => factories['io.flow.internal.v0.models.tracking_label_event_deleted_v2']();
33465
33663
  export const makeTrackingLabelEventUpsertedV2 = () => factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2']();
33466
33664
  export const makeTrackingLabelUpserted = () => factories['io.flow.internal.v0.models.tracking_label_upserted']();