@flowio/api-internal-factories 0.0.117 → 0.0.118

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.
@@ -4134,6 +4134,17 @@ var factories = {
4134
4134
  ]); },
4135
4135
  'io.flow.external.paypal.v1.enums.product_received': function () { return faker.helpers.arrayElement(['YES', 'NO', 'RETURNED']); },
4136
4136
  'io.flow.external.paypal.v1.enums.refund_state': function () { return faker.helpers.arrayElement(['pending', 'completed', 'cancelled', 'failed']); },
4137
+ 'io.flow.external.paypal.v1.enums.reporting_balance_affecting_records_only': function () { return faker.helpers.arrayElement(['Y', 'N']); },
4138
+ 'io.flow.external.paypal.v1.enums.reporting_transaction_field': function () { return faker.helpers.arrayElement([
4139
+ 'transaction_info',
4140
+ 'payer_info',
4141
+ 'shipping_info',
4142
+ 'auction_info',
4143
+ 'cart_info',
4144
+ 'incentive_info',
4145
+ 'store_info',
4146
+ ]); },
4147
+ 'io.flow.external.paypal.v1.enums.reporting_transaction_status': function () { return faker.helpers.arrayElement(['D', 'P', 'S', 'V']); },
4137
4148
  'io.flow.external.paypal.v1.enums.return_acknowledgement_type': function () { return faker.helpers.arrayElement([
4138
4149
  'ITEM_RECEIVED',
4139
4150
  'ITEM_NOT_RECEIVED',
@@ -4492,6 +4503,28 @@ var factories = {
4492
4503
  amount: factories['io.flow.external.paypal.v1.models.simple_amount'](),
4493
4504
  invoice_number: factories.string(),
4494
4505
  }); },
4506
+ 'io.flow.external.paypal.v1.models.reporting_transaction': function () { return ({
4507
+ transaction_details: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.reporting_transaction_details'](); }),
4508
+ links: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.link'](); }),
4509
+ }); },
4510
+ 'io.flow.external.paypal.v1.models.reporting_transaction_details': function () { return ({
4511
+ transaction_info: factories['io.flow.external.paypal.v1.models.reporting_transaction_info'](),
4512
+ }); },
4513
+ 'io.flow.external.paypal.v1.models.reporting_transaction_info': function () { return ({
4514
+ paypal_account_id: factories.string(),
4515
+ transaction_id: factories.string(),
4516
+ paypal_reference_id: factories.string(),
4517
+ paypal_reference_id_type: factories.string(),
4518
+ transaction_event_code: factories.string(),
4519
+ transaction_initiation_date: factories.date_time_iso_8601(),
4520
+ transaction_updated_date: factories.date_time_iso_8601(),
4521
+ transaction_status: factories['io.flow.external.paypal.v1.enums.reporting_transaction_status'](),
4522
+ transaction_subject: factories.string(),
4523
+ invoice_id: factories.string(),
4524
+ custom_field: factories.string(),
4525
+ protection_eligibility: factories.string(),
4526
+ instrument_type: factories.string(),
4527
+ }); },
4495
4528
  'io.flow.external.paypal.v1.models.return_details': function () { return ({
4496
4529
  return_time: factories.date_time_iso_8601(),
4497
4530
  mode: factories['io.flow.external.paypal.v1.enums.return_mode'](),
@@ -4647,264 +4680,6 @@ var factories = {
4647
4680
  ]);
4648
4681
  return f();
4649
4682
  },
4650
- 'io.flow.flexe.v0.enums.flexe_attachment_type': function () { return faker.helpers.arrayElement(['shipping_label', 'packing_slip', 'packing_slip_letter']); },
4651
- 'io.flow.flexe.v0.enums.flexe_notification': function () { return faker.helpers.arrayElement(['receipt', 'shipment']); },
4652
- 'io.flow.flexe.v0.enums.flexe_shipment_type': function () { return faker.helpers.arrayElement([
4653
- 'fulfillment_order',
4654
- 'retail_fulfillment_order',
4655
- 'carton_pick_delivery',
4656
- 'delivery',
4657
- 'container_delivery',
4658
- ]); },
4659
- 'io.flow.flexe.v0.enums.flexe_status': function () { return faker.helpers.arrayElement(['in_transit', 'completed']); },
4660
- 'io.flow.flexe.v0.models.bill_of_lading': function () { return ({
4661
- type: factories.string(),
4662
- gs1us: factories['io.flow.flexe.v0.models.gs1us'](),
4663
- }); },
4664
- 'io.flow.flexe.v0.models.bill_to': function () { return ({
4665
- name: factories.string(),
4666
- address_1: factories.string(),
4667
- locality: factories.string(),
4668
- region: factories.string(),
4669
- postal_code: factories.string(),
4670
- country: factories.string(),
4671
- address_2: factories.string(),
4672
- address_3: factories.string(),
4673
- }); },
4674
- 'io.flow.flexe.v0.models.carton_pick_delivery_details': function () { return ({
4675
- shipment_uuid: factories.string(),
4676
- carrier: factories.string(),
4677
- carrier_id: factories.string(),
4678
- }); },
4679
- 'io.flow.flexe.v0.models.container_delivery_details': function () { return ({
4680
- purchase_order: factories.string(),
4681
- container_number: factories.string(),
4682
- seal_number: factories.string(),
4683
- vendor: factories.string(),
4684
- expected_inventory: arrayOf(function () { return factories['io.flow.flexe.v0.models.inventory_details'](); }),
4685
- received_inventory: arrayOf(function () { return factories['io.flow.flexe.v0.models.inventory_details'](); }),
4686
- damaged_inventory: arrayOf(function () { return factories['io.flow.flexe.v0.models.inventory_details'](); }),
4687
- quantities_by_inventory: objectOf(function () { return factories['io.flow.flexe.v0.models.quantity_by_inventory'](); }),
4688
- }); },
4689
- 'io.flow.flexe.v0.models.delivery_details': function () { return ({
4690
- shipment_uuid: factories.string(),
4691
- trailer_number: factories.string(),
4692
- pallets: arrayOf(function () { return factories['io.flow.flexe.v0.models.pallet'](); }),
4693
- quantities_by_inventory: objectOf(function () { return factories['io.flow.flexe.v0.models.quantity_by_inventory'](); }),
4694
- }); },
4695
- 'io.flow.flexe.v0.models.error': function () { return ({
4696
- url: factories.string(),
4697
- client_request_id: factories.string(),
4698
- generated_at: factories.string(),
4699
- error: factories.string(),
4700
- }); },
4701
- 'io.flow.flexe.v0.models.flexe_attachment': function () { return ({
4702
- type: factories['io.flow.flexe.v0.enums.flexe_attachment_type'](),
4703
- display_name: factories.string(),
4704
- url: factories.string(),
4705
- }); },
4706
- 'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment': function () { return ({
4707
- url: factories.string(),
4708
- client_request_id: factories.string(),
4709
- generated_at: factories.date_time_iso_8601(),
4710
- data: factories['io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_data'](),
4711
- errors: arrayOf(function () { return factories['io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_errors'](); }),
4712
- }); },
4713
- 'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_data': function () { return ({
4714
- import_id: factories.string(),
4715
- succeeded_uuids: arrayOf(function () { return factories.string(); }),
4716
- failed_uuids: arrayOf(function () { return factories.string(); }),
4717
- errors: arrayOf(function () { return factories.string(); }),
4718
- }); },
4719
- 'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_errors': function () { return ({
4720
- status: factories.string(),
4721
- title: factories.string(),
4722
- detail: factories.string(),
4723
- source: factories.string(),
4724
- }); },
4725
- 'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_form': function () { return ({
4726
- reservation_id: factories.integer(),
4727
- client_request_id: factories.string(),
4728
- request: factories['io.flow.flexe.v0.models.orders'](),
4729
- }); },
4730
- 'io.flow.flexe.v0.models.flexe_inventory_data': function () { return ({
4731
- sku: factories.string(),
4732
- quantity: factories.string(),
4733
- unit: factories.string(),
4734
- }); },
4735
- 'io.flow.flexe.v0.models.flexe_retail_attachment': function () { return ({
4736
- display_name: factories.string(),
4737
- url: factories.string(),
4738
- }); },
4739
- 'io.flow.flexe.v0.models.flexe_retail_fulfillment': function () { return ({
4740
- url: factories.string(),
4741
- client_request_id: factories.string(),
4742
- generated_at: factories.date_time_iso_8601(),
4743
- data: factories['io.flow.flexe.v0.models.flexe_retail_fulfillment_data'](),
4744
- errors: arrayOf(function () { return factories['io.flow.flexe.v0.models.flexe_retail_fulfillment_errors'](); }),
4745
- }); },
4746
- 'io.flow.flexe.v0.models.flexe_retail_fulfillment_data': function () { return ({
4747
- id: factories.string(),
4748
- purchase_order_uuid: factories.string(),
4749
- status: factories.string(),
4750
- }); },
4751
- 'io.flow.flexe.v0.models.flexe_retail_fulfillment_errors': function () { return ({
4752
- type: factories.string(),
4753
- message: factories.string(),
4754
- }); },
4755
- 'io.flow.flexe.v0.models.flexe_retail_fulfillment_form': function () { return ({
4756
- reservation_id: factories.integer(),
4757
- client_request_id: factories.string(),
4758
- request: factories['io.flow.flexe.v0.models.retail_order'](),
4759
- }); },
4760
- 'io.flow.flexe.v0.models.fulfillment_order_details': function () { return ({
4761
- shipment_uuid: factories.string(),
4762
- carrier: factories.string(),
4763
- carrier_id: factories.string(),
4764
- }); },
4765
- 'io.flow.flexe.v0.models.gs1us': function () { return ({
4766
- number: factories.string(),
4767
- ship_to: factories['io.flow.flexe.v0.models.gs1us_ship_to'](),
4768
- bill_to: factories['io.flow.flexe.v0.models.bill_to'](),
4769
- }); },
4770
- 'io.flow.flexe.v0.models.gs1us_ship_to': function () { return ({
4771
- cid_number: factories.string(),
4772
- location_number: factories.string(),
4773
- free_on_board: factories.boolean(),
4774
- }); },
4775
- 'io.flow.flexe.v0.models.inventory': function () { return ({
4776
- url: factories.string(),
4777
- client_request_id: factories.string(),
4778
- generated_at: factories.date_time_iso_8601(),
4779
- data: objectOf(function () { return factories['io.flow.flexe.v0.models.inventory_details'](); }),
4780
- }); },
4781
- 'io.flow.flexe.v0.models.inventory_count': function () { return ({
4782
- amount: factories.integer(),
4783
- unit: factories.string(),
4784
- }); },
4785
- 'io.flow.flexe.v0.models.inventory_data': function () { return ({
4786
- pallet: factories['io.flow.flexe.v0.models.inventory_count'](),
4787
- carton: factories['io.flow.flexe.v0.models.inventory_count'](),
4788
- each: factories['io.flow.flexe.v0.models.inventory_count'](),
4789
- }); },
4790
- 'io.flow.flexe.v0.models.inventory_details': function () { return ({
4791
- key: objectOf(function () { return factories['io.flow.flexe.v0.models.sku'](); }),
4792
- }); },
4793
- 'io.flow.flexe.v0.models.lading_quantity': function () { return ({
4794
- num_pallets: factories.integer(),
4795
- }); },
4796
- 'io.flow.flexe.v0.models.order': function () { return ({
4797
- shipment_uuid: factories.string(),
4798
- purchase_order: factories.string(),
4799
- carrier: factories.string(),
4800
- service_type: factories.string(),
4801
- carrier_assigned_id: factories.string(),
4802
- name: factories.string(),
4803
- address_1: factories.string(),
4804
- address_2: factories.string(),
4805
- address_3: factories.string(),
4806
- city: factories.string(),
4807
- state: factories.string(),
4808
- postal_code: factories.string(),
4809
- phone: factories.string(),
4810
- instructions: factories.string(),
4811
- inventory_data: arrayOf(function () { return factories['io.flow.flexe.v0.models.flexe_inventory_data'](); }),
4812
- attachments: arrayOf(function () { return factories['io.flow.flexe.v0.models.flexe_attachment'](); }),
4813
- }); },
4814
- 'io.flow.flexe.v0.models.orders': function () { return ({
4815
- orders: arrayOf(function () { return factories['io.flow.flexe.v0.models.order'](); }),
4816
- }); },
4817
- 'io.flow.flexe.v0.models.pallet': function () { return ({
4818
- pallet_id: factories.string(),
4819
- sku: factories.string(),
4820
- quantity: factories.integer(),
4821
- packaging: factories.string(),
4822
- }); },
4823
- 'io.flow.flexe.v0.models.purchase_order': function () { return ({
4824
- retail_fulfillment_order_id: factories.string(),
4825
- bill_of_lading_number: factories.string(),
4826
- purchase_order_uuid: factories.string(),
4827
- pickup_window_start: factories.date_time_iso_8601(),
4828
- pickup_window_end: factories.date_time_iso_8601(),
4829
- tags: arrayOf(function () { return factories.string(); }),
4830
- }); },
4831
- 'io.flow.flexe.v0.models.quantity_by_inventory': function () { return ({
4832
- received: factories['io.flow.flexe.v0.models.inventory_data'](),
4833
- expected: factories['io.flow.flexe.v0.models.inventory_data'](),
4834
- damaged: factories['io.flow.flexe.v0.models.inventory_data'](),
4835
- }); },
4836
- 'io.flow.flexe.v0.models.receipt_notification': function () { return ({
4837
- shipment_id: factories.string(),
4838
- shipment_type: factories['io.flow.flexe.v0.enums.flexe_shipment_type'](),
4839
- reservation_id: factories.string(),
4840
- status: factories['io.flow.flexe.v0.enums.flexe_status'](),
4841
- delivery_details: factories['io.flow.flexe.v0.models.delivery_details'](),
4842
- container_delivery_details: factories['io.flow.flexe.v0.models.container_delivery_details'](),
4843
- }); },
4844
- 'io.flow.flexe.v0.models.retail_fulfillment_order_details': function () { return ({
4845
- master_bill_of_lading_number: factories.string(),
4846
- scac: factories.string(),
4847
- pro_number: factories.string(),
4848
- purchase_orders: arrayOf(function () { return factories['io.flow.flexe.v0.models.purchase_order'](); }),
4849
- lading_quantity: factories['io.flow.flexe.v0.models.lading_quantity'](),
4850
- }); },
4851
- 'io.flow.flexe.v0.models.retail_inventory_data': function () { return ({
4852
- sku: factories.string(),
4853
- quantity: factories.integer(),
4854
- unit: factories.string(),
4855
- attachments: arrayOf(function () { return factories['io.flow.flexe.v0.models.flexe_retail_attachment'](); }),
4856
- }); },
4857
- 'io.flow.flexe.v0.models.retail_order': function () { return ({
4858
- order: factories['io.flow.flexe.v0.models.retail_order_data'](),
4859
- }); },
4860
- 'io.flow.flexe.v0.models.retail_order_data': function () { return ({
4861
- purchase_order_uuid: factories.string(),
4862
- bill_of_lading: factories['io.flow.flexe.v0.models.bill_of_lading'](),
4863
- inventory_data: arrayOf(function () { return factories['io.flow.flexe.v0.models.retail_inventory_data'](); }),
4864
- ship_within: factories['io.flow.flexe.v0.models.ship_within'](),
4865
- ship_to: factories['io.flow.flexe.v0.models.ship_to'](),
4866
- build_by: factories.string(),
4867
- instrunctions: factories.string(),
4868
- routing_details_id: factories.string(),
4869
- destination_type: factories.string(),
4870
- }); },
4871
- 'io.flow.flexe.v0.models.ship_to': function () { return ({
4872
- name: factories.string(),
4873
- address_1: factories.string(),
4874
- locality: factories.string(),
4875
- region: factories.string(),
4876
- postal_code: factories.string(),
4877
- country: factories.string(),
4878
- address_2: factories.string(),
4879
- address_3: factories.string(),
4880
- }); },
4881
- 'io.flow.flexe.v0.models.ship_within': function () { return ({
4882
- start: factories.string(),
4883
- end: factories.string(),
4884
- }); },
4885
- 'io.flow.flexe.v0.models.shipment_delivery_details': function () { return ({
4886
- shipment_uuid: factories.string(),
4887
- }); },
4888
- 'io.flow.flexe.v0.models.shipment_notification': function () { return ({
4889
- shipment_id: factories.string(),
4890
- shipment_type: factories['io.flow.flexe.v0.enums.flexe_shipment_type'](),
4891
- reservation_id: factories.string(),
4892
- status: factories['io.flow.flexe.v0.enums.flexe_status'](),
4893
- fulfillment_order_details: factories['io.flow.flexe.v0.models.fulfillment_order_details'](),
4894
- retail_fulfillment_order_details: factories['io.flow.flexe.v0.models.retail_fulfillment_order_details'](),
4895
- delivery_details: factories['io.flow.flexe.v0.models.shipment_delivery_details'](),
4896
- carton_pick_delivery_details: factories['io.flow.flexe.v0.models.carton_pick_delivery_details'](),
4897
- }); },
4898
- 'io.flow.flexe.v0.models.sku': function () { return ({
4899
- sku: factories.string(),
4900
- description: factories.string(),
4901
- summary: objectOf(function () { return factories['io.flow.flexe.v0.models.sku_summary'](); }),
4902
- }); },
4903
- 'io.flow.flexe.v0.models.sku_summary': function () { return ({
4904
- key: factories.string(),
4905
- quantity: factories.integer(),
4906
- unit: factories.string(),
4907
- }); },
4908
4683
  'io.flow.fraud.v0.enums.fraud_email_rule_decision': function () { return faker.helpers.arrayElement(['approved', 'declined']); },
4909
4684
  'io.flow.fraud.v0.enums.fraud_liability': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
4910
4685
  'io.flow.fraud.v0.enums.fraud_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']); },
@@ -6211,6 +5986,8 @@ var factories = {
6211
5986
  'io.flow.internal.v0.enums.event_type': function () { return faker.helpers.arrayElement([
6212
5987
  'adjusted_estimates_upserted',
6213
5988
  'adjusted_estimates_deleted',
5989
+ 'final_estimate_upserted',
5990
+ 'final_estimate_deleted',
6214
5991
  'adyen_authorization_deleted',
6215
5992
  'adyen_authorization_upserted',
6216
5993
  'adyen_cancel_deleted',
@@ -6221,6 +5998,8 @@ var factories = {
6221
5998
  'adyen_refund_upserted',
6222
5999
  'adyen_dispute_upserted',
6223
6000
  'adyen_dispute_deleted',
6001
+ 'aldo_item_upserted',
6002
+ 'aldo_item_deleted',
6224
6003
  'fulfillment_upserted',
6225
6004
  'fulfillment_deleted',
6226
6005
  'merchant_upserted',
@@ -7623,6 +7402,9 @@ var factories = {
7623
7402
  timestamp: factories.date_time_iso_8601(),
7624
7403
  afterpay_refund: factories['io.flow.internal.v0.models.afterpay_refund'](),
7625
7404
  }); },
7405
+ 'io.flow.internal.v0.models.aftership_webhook': function () { return ({
7406
+ placeholder: factories.boolean(),
7407
+ }); },
7626
7408
  'io.flow.internal.v0.models.aldo_item': function () { return ({
7627
7409
  id: factories.string(),
7628
7410
  number: factories.string(),
@@ -7631,6 +7413,12 @@ var factories = {
7631
7413
  type: factories['io.flow.internal.v0.enums.aldo_item_type'](),
7632
7414
  added_on: factories.date_iso_8601(),
7633
7415
  }); },
7416
+ 'io.flow.internal.v0.models.aldo_item_deleted': function () { return ({
7417
+ discriminator: 'aldo_item_deleted',
7418
+ event_id: factories.string(),
7419
+ timestamp: factories.date_time_iso_8601(),
7420
+ id: factories.string(),
7421
+ }); },
7634
7422
  'io.flow.internal.v0.models.aldo_item_form': function () { return ({
7635
7423
  number: factories.string(),
7636
7424
  amount: factories['io.flow.common.v0.models.price'](),
@@ -7638,6 +7426,12 @@ var factories = {
7638
7426
  type: factories['io.flow.internal.v0.enums.aldo_item_type'](),
7639
7427
  added_on: factories.date_iso_8601(),
7640
7428
  }); },
7429
+ 'io.flow.internal.v0.models.aldo_item_upserted': function () { return ({
7430
+ discriminator: 'aldo_item_upserted',
7431
+ event_id: factories.string(),
7432
+ timestamp: factories.date_time_iso_8601(),
7433
+ item: factories['io.flow.internal.v0.models.aldo_item'](),
7434
+ }); },
7641
7435
  'io.flow.internal.v0.models.alert_error_summary': function () { return ({
7642
7436
  event_id: factories.long(),
7643
7437
  error: factories.string(),
@@ -9768,9 +9562,6 @@ var factories = {
9768
9562
  pickup_account_number: factories.string(),
9769
9563
  pickup_name: factories.string(),
9770
9564
  }); },
9771
- 'io.flow.internal.v0.models.dhl_ecommerce_webhook': function () { return ({
9772
- placeholder: factories.boolean(),
9773
- }); },
9774
9565
  'io.flow.internal.v0.models.dict': function () { return ({
9775
9566
  discriminator: 'dict',
9776
9567
  label: factories['io.flow.internal.v0.models.content_label'](),
@@ -9896,6 +9687,8 @@ var factories = {
9896
9687
  reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
9897
9688
  category: factories['io.flow.internal.v0.enums.dispute_category'](),
9898
9689
  status: factories['io.flow.internal.v0.enums.dispute_status'](),
9690
+ defense_outcome: factories['io.flow.internal.v0.enums.dispute_defense_outcome'](),
9691
+ defended_at: factories.date_time_iso_8601(),
9899
9692
  }); },
9900
9693
  'io.flow.internal.v0.models.dispute_record': function () { return ({
9901
9694
  id: factories.string(),
@@ -10510,6 +10303,26 @@ var factories = {
10510
10303
  transfer: factories['io.flow.internal.v0.models.fee'](),
10511
10304
  negative_balance: factories['io.flow.internal.v0.models.fee'](),
10512
10305
  }); },
10306
+ 'io.flow.internal.v0.models.final_estimate': function () { return ({
10307
+ id: factories.string(),
10308
+ organization_id: factories.string(),
10309
+ label_id: factories.string(),
10310
+ estimate: factories['io.flow.label.v0.models.shipping_label_hop_summary'](),
10311
+ }); },
10312
+ 'io.flow.internal.v0.models.final_estimate_deleted': function () { return ({
10313
+ discriminator: 'final_estimate_deleted',
10314
+ event_id: factories.string(),
10315
+ timestamp: factories.date_time_iso_8601(),
10316
+ organization: factories.string(),
10317
+ id: factories.string(),
10318
+ }); },
10319
+ 'io.flow.internal.v0.models.final_estimate_upserted': function () { return ({
10320
+ discriminator: 'final_estimate_upserted',
10321
+ event_id: factories.string(),
10322
+ timestamp: factories.date_time_iso_8601(),
10323
+ organization: factories.string(),
10324
+ final_estimate: factories['io.flow.internal.v0.models.final_estimate'](),
10325
+ }); },
10513
10326
  'io.flow.internal.v0.models.finance_bank_account': function () { return ({
10514
10327
  id: factories.string(),
10515
10328
  accounts: arrayOf(function () { return factories['io.flow.internal.v0.models.account_summary'](); }),
@@ -10631,6 +10444,9 @@ var factories = {
10631
10444
  status: factories['io.flow.internal.v0.enums.processor_entity_status'](),
10632
10445
  organization_capability: factories['io.flow.internal.v0.enums.organization_capability'](),
10633
10446
  }); },
10447
+ 'io.flow.internal.v0.models.flexe_webhook': function () { return ({
10448
+ placeholder: factories.boolean(),
10449
+ }); },
10634
10450
  'io.flow.internal.v0.models.flow_account': function () { return ({
10635
10451
  source: factories['io.flow.internal.v0.models.account_source'](),
10636
10452
  id: factories.string(),
@@ -17100,6 +16916,9 @@ var factories = {
17100
16916
  flow_tracking_number: factories.string(),
17101
16917
  tracking_events: arrayOf(function () { return factories['io.flow.internal.v0.models.tracking_event'](); }),
17102
16918
  }); },
16919
+ 'io.flow.internal.v0.models.tracking_resync': function () { return ({
16920
+ placeholder: factories.boolean(),
16921
+ }); },
17103
16922
  'io.flow.internal.v0.models.tracking_subscription': function () { return ({
17104
16923
  id: factories.string(),
17105
16924
  organization_id: factories.string(),
@@ -17132,6 +16951,9 @@ var factories = {
17132
16951
  organization: factories.string(),
17133
16952
  tracking: factories['io.flow.tracking.v0.models.tracking'](),
17134
16953
  }); },
16954
+ 'io.flow.internal.v0.models.tracking_webhook': function () { return ({
16955
+ placeholder: factories.boolean(),
16956
+ }); },
17135
16957
  'io.flow.internal.v0.models.transaction_adjustment': function () { return ({
17136
16958
  id: factories.string(),
17137
16959
  original_transaction: factories['io.flow.internal.v0.models.transaction_reference'](),
@@ -17573,6 +17395,8 @@ var factories = {
17573
17395
  var f = faker.helpers.arrayElement([
17574
17396
  function () { return factories['io.flow.internal.v0.models.adjusted_estimates_upserted'](); },
17575
17397
  function () { return factories['io.flow.internal.v0.models.adjusted_estimates_deleted'](); },
17398
+ function () { return factories['io.flow.internal.v0.models.final_estimate_upserted'](); },
17399
+ function () { return factories['io.flow.internal.v0.models.final_estimate_deleted'](); },
17576
17400
  function () { return factories['io.flow.internal.v0.models.adyen_authorization_deleted'](); },
17577
17401
  function () { return factories['io.flow.internal.v0.models.adyen_authorization_upserted'](); },
17578
17402
  function () { return factories['io.flow.internal.v0.models.adyen_cancel_deleted'](); },
@@ -17583,6 +17407,8 @@ var factories = {
17583
17407
  function () { return factories['io.flow.internal.v0.models.adyen_refund_upserted'](); },
17584
17408
  function () { return factories['io.flow.internal.v0.models.adyen_dispute_upserted'](); },
17585
17409
  function () { return factories['io.flow.internal.v0.models.adyen_dispute_deleted'](); },
17410
+ function () { return factories['io.flow.internal.v0.models.aldo_item_upserted'](); },
17411
+ function () { return factories['io.flow.internal.v0.models.aldo_item_deleted'](); },
17586
17412
  function () { return factories['io.flow.internal.v0.models.fulfillment_upserted'](); },
17587
17413
  function () { return factories['io.flow.internal.v0.models.fulfillment_deleted'](); },
17588
17414
  function () { return factories['io.flow.internal.v0.models.merchant_upserted'](); },
@@ -26943,9 +26769,12 @@ export var makeAfterpayCaptureUpserted = function () { return factories['io.flow
26943
26769
  export var makeAfterpayRefund = function () { return factories['io.flow.internal.v0.models.afterpay_refund'](); };
26944
26770
  export var makeAfterpayRefundDeleted = function () { return factories['io.flow.internal.v0.models.afterpay_refund_deleted'](); };
26945
26771
  export var makeAfterpayRefundUpserted = function () { return factories['io.flow.internal.v0.models.afterpay_refund_upserted'](); };
26772
+ export var makeAftershipWebhook = function () { return factories['io.flow.internal.v0.models.aftership_webhook'](); };
26946
26773
  export var makeAldoItem = function () { return factories['io.flow.internal.v0.models.aldo_item'](); };
26774
+ export var makeAldoItemDeleted = function () { return factories['io.flow.internal.v0.models.aldo_item_deleted'](); };
26947
26775
  export var makeAldoItemForm = function () { return factories['io.flow.internal.v0.models.aldo_item_form'](); };
26948
26776
  export var makeAldoItemType = function () { return factories['io.flow.internal.v0.enums.aldo_item_type'](); };
26777
+ export var makeAldoItemUpserted = function () { return factories['io.flow.internal.v0.models.aldo_item_upserted'](); };
26949
26778
  export var makeAlertErrorSummary = function () { return factories['io.flow.internal.v0.models.alert_error_summary'](); };
26950
26779
  export var makeAlertFailureSummary = function () { return factories['io.flow.internal.v0.models.alert_failure_summary'](); };
26951
26780
  export var makeAlertFailureSummaryDetail = function () { return factories['io.flow.internal.v0.models.alert_failure_summary_detail'](); };
@@ -27353,7 +27182,6 @@ export var makeDeminimisAdjustmentType = function () { return factories['io.flow
27353
27182
  export var makeDestinationError = function () { return factories['io.flow.internal.v0.models.destination_error'](); };
27354
27183
  export var makeDhl = function () { return factories['io.flow.internal.v0.models.dhl'](); };
27355
27184
  export var makeDhlEcommerce = function () { return factories['io.flow.internal.v0.models.dhl_ecommerce'](); };
27356
- export var makeDhlEcommerceWebhook = function () { return factories['io.flow.internal.v0.models.dhl_ecommerce_webhook'](); };
27357
27185
  export var makeDict = function () { return factories['io.flow.internal.v0.models.dict'](); };
27358
27186
  export var makeDimensionEstimateOpsInput = function () { return factories['io.flow.internal.v0.models.dimension_estimate_ops_input'](); };
27359
27187
  export var makeDiscount = function () { return factories['io.flow.internal.v0.models.discount'](); };
@@ -27497,6 +27325,9 @@ export var makeFeedUpserted = function () { return factories['io.flow.internal.v
27497
27325
  export var makeFeedsExport = function () { return factories['io.flow.internal.v0.models.feeds_export'](); };
27498
27326
  export var makeFees = function () { return factories['io.flow.internal.v0.models.fees'](); };
27499
27327
  export var makeFeesSource = function () { return factories['io.flow.internal.v0.enums.fees_source'](); };
27328
+ export var makeFinalEstimate = function () { return factories['io.flow.internal.v0.models.final_estimate'](); };
27329
+ export var makeFinalEstimateDeleted = function () { return factories['io.flow.internal.v0.models.final_estimate_deleted'](); };
27330
+ export var makeFinalEstimateUpserted = function () { return factories['io.flow.internal.v0.models.final_estimate_upserted'](); };
27500
27331
  export var makeFinanceBankAccount = function () { return factories['io.flow.internal.v0.models.finance_bank_account'](); };
27501
27332
  export var makeFinanceBankAccountOwner = function () { return factories['io.flow.internal.v0.models.finance_bank_account_owner'](); };
27502
27333
  export var makeFinanceBankPayment = function () { return factories['io.flow.internal.v0.models.finance_bank_payment'](); };
@@ -27513,6 +27344,7 @@ export var makeFiservAuthenticationForm = function () { return factories['io.flo
27513
27344
  export var makeFiservMerchant = function () { return factories['io.flow.internal.v0.models.fiserv_merchant'](); };
27514
27345
  export var makeFiservMerchantModificationForm = function () { return factories['io.flow.internal.v0.models.fiserv_merchant_modification_form'](); };
27515
27346
  export var makeFiservMerchantPutForm = function () { return factories['io.flow.internal.v0.models.fiserv_merchant_put_form'](); };
27347
+ export var makeFlexeWebhook = function () { return factories['io.flow.internal.v0.models.flexe_webhook'](); };
27516
27348
  export var makeFlowAccount = function () { return factories['io.flow.internal.v0.models.flow_account'](); };
27517
27349
  export var makeFlowApp = function () { return factories['io.flow.internal.v0.enums.flow_app'](); };
27518
27350
  export var makeFlowBillingStatement = function () { return factories['io.flow.internal.v0.models.flow_billing_statement'](); };
@@ -28682,10 +28514,12 @@ export var makeTrackingProcessingErrorUpserted = function () { return factories[
28682
28514
  export var makeTrackingProcessingFailureClassification = function () { return factories['io.flow.internal.v0.enums.tracking_processing_failure_classification'](); };
28683
28515
  export var makeTrackingRequest = function () { return factories['io.flow.internal.v0.models.tracking_request'](); };
28684
28516
  export var makeTrackingResponse = function () { return factories['io.flow.internal.v0.models.tracking_response'](); };
28517
+ export var makeTrackingResync = function () { return factories['io.flow.internal.v0.models.tracking_resync'](); };
28685
28518
  export var makeTrackingSubscription = function () { return factories['io.flow.internal.v0.models.tracking_subscription'](); };
28686
28519
  export var makeTrackingSubscriptionDeleted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_deleted'](); };
28687
28520
  export var makeTrackingSubscriptionUpserted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_upserted'](); };
28688
28521
  export var makeTrackingUpserted = function () { return factories['io.flow.internal.v0.models.tracking_upserted'](); };
28522
+ export var makeTrackingWebhook = function () { return factories['io.flow.internal.v0.models.tracking_webhook'](); };
28689
28523
  export var makeTransaction = function () { return factories['io.flow.internal.v0.unions.transaction'](); };
28690
28524
  export var makeTransactionAdjustment = function () { return factories['io.flow.internal.v0.models.transaction_adjustment'](); };
28691
28525
  export var makeTransactionAdjustmentForm = function () { return factories['io.flow.internal.v0.models.transaction_adjustment_form'](); };
@@ -96,9 +96,12 @@ export declare const makeAfterpayCaptureUpserted: () => io.flow.internal.v0.mode
96
96
  export declare const makeAfterpayRefund: () => io.flow.internal.v0.models.AfterpayRefund;
97
97
  export declare const makeAfterpayRefundDeleted: () => io.flow.internal.v0.models.AfterpayRefundDeleted;
98
98
  export declare const makeAfterpayRefundUpserted: () => io.flow.internal.v0.models.AfterpayRefundUpserted;
99
+ export declare const makeAftershipWebhook: () => io.flow.internal.v0.models.AftershipWebhook;
99
100
  export declare const makeAldoItem: () => io.flow.internal.v0.models.AldoItem;
101
+ export declare const makeAldoItemDeleted: () => io.flow.internal.v0.models.AldoItemDeleted;
100
102
  export declare const makeAldoItemForm: () => io.flow.internal.v0.models.AldoItemForm;
101
103
  export declare const makeAldoItemType: () => io.flow.internal.v0.enums.AldoItemType;
104
+ export declare const makeAldoItemUpserted: () => io.flow.internal.v0.models.AldoItemUpserted;
102
105
  export declare const makeAlertErrorSummary: () => io.flow.internal.v0.models.AlertErrorSummary;
103
106
  export declare const makeAlertFailureSummary: () => io.flow.internal.v0.models.AlertFailureSummary;
104
107
  export declare const makeAlertFailureSummaryDetail: () => io.flow.internal.v0.models.AlertFailureSummaryDetail;
@@ -506,7 +509,6 @@ export declare const makeDeminimisAdjustmentType: () => io.flow.internal.v0.enum
506
509
  export declare const makeDestinationError: () => io.flow.internal.v0.models.DestinationError;
507
510
  export declare const makeDhl: () => io.flow.internal.v0.models.Dhl;
508
511
  export declare const makeDhlEcommerce: () => io.flow.internal.v0.models.DhlEcommerce;
509
- export declare const makeDhlEcommerceWebhook: () => io.flow.internal.v0.models.DhlEcommerceWebhook;
510
512
  export declare const makeDict: () => io.flow.internal.v0.models.Dict;
511
513
  export declare const makeDimensionEstimateOpsInput: () => io.flow.internal.v0.models.DimensionEstimateOpsInput;
512
514
  export declare const makeDiscount: () => io.flow.internal.v0.models.Discount;
@@ -650,6 +652,9 @@ export declare const makeFeedUpserted: () => io.flow.internal.v0.models.FeedUpse
650
652
  export declare const makeFeedsExport: () => io.flow.internal.v0.models.FeedsExport;
651
653
  export declare const makeFees: () => io.flow.internal.v0.models.Fees;
652
654
  export declare const makeFeesSource: () => io.flow.internal.v0.enums.FeesSource;
655
+ export declare const makeFinalEstimate: () => io.flow.internal.v0.models.FinalEstimate;
656
+ export declare const makeFinalEstimateDeleted: () => io.flow.internal.v0.models.FinalEstimateDeleted;
657
+ export declare const makeFinalEstimateUpserted: () => io.flow.internal.v0.models.FinalEstimateUpserted;
653
658
  export declare const makeFinanceBankAccount: () => io.flow.internal.v0.models.FinanceBankAccount;
654
659
  export declare const makeFinanceBankAccountOwner: () => io.flow.internal.v0.models.FinanceBankAccountOwner;
655
660
  export declare const makeFinanceBankPayment: () => io.flow.internal.v0.models.FinanceBankPayment;
@@ -666,6 +671,7 @@ export declare const makeFiservAuthenticationForm: () => io.flow.internal.v0.mod
666
671
  export declare const makeFiservMerchant: () => io.flow.internal.v0.models.FiservMerchant;
667
672
  export declare const makeFiservMerchantModificationForm: () => io.flow.internal.v0.models.FiservMerchantModificationForm;
668
673
  export declare const makeFiservMerchantPutForm: () => io.flow.internal.v0.models.FiservMerchantPutForm;
674
+ export declare const makeFlexeWebhook: () => io.flow.internal.v0.models.FlexeWebhook;
669
675
  export declare const makeFlowAccount: () => io.flow.internal.v0.models.FlowAccount;
670
676
  export declare const makeFlowApp: () => "console";
671
677
  export declare const makeFlowBillingStatement: () => io.flow.internal.v0.models.FlowBillingStatement;
@@ -1835,10 +1841,12 @@ export declare const makeTrackingProcessingErrorUpserted: () => io.flow.internal
1835
1841
  export declare const makeTrackingProcessingFailureClassification: () => io.flow.internal.v0.enums.TrackingProcessingFailureClassification;
1836
1842
  export declare const makeTrackingRequest: () => io.flow.internal.v0.models.TrackingRequest;
1837
1843
  export declare const makeTrackingResponse: () => io.flow.internal.v0.models.TrackingResponse;
1844
+ export declare const makeTrackingResync: () => io.flow.internal.v0.models.TrackingResync;
1838
1845
  export declare const makeTrackingSubscription: () => io.flow.internal.v0.models.TrackingSubscription;
1839
1846
  export declare const makeTrackingSubscriptionDeleted: () => io.flow.internal.v0.models.TrackingSubscriptionDeleted;
1840
1847
  export declare const makeTrackingSubscriptionUpserted: () => io.flow.internal.v0.models.TrackingSubscriptionUpserted;
1841
1848
  export declare const makeTrackingUpserted: () => io.flow.internal.v0.models.TrackingUpserted;
1849
+ export declare const makeTrackingWebhook: () => io.flow.internal.v0.models.TrackingWebhook;
1842
1850
  export declare const makeTransaction: () => io.flow.internal.v0.unions.Transaction;
1843
1851
  export declare const makeTransactionAdjustment: () => io.flow.internal.v0.models.TransactionAdjustment;
1844
1852
  export declare const makeTransactionAdjustmentForm: () => io.flow.internal.v0.models.TransactionAdjustmentForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-factories",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "description": "Flow API internal mock data factories",
5
5
  "keywords": [
6
6
  "flow",
@@ -37,5 +37,5 @@
37
37
  "@faker-js/faker": "^6.2.0",
38
38
  "@flowio/api-types": "*"
39
39
  },
40
- "gitHead": "5a525b0a21aca779c3ca5bb3f4a759c144095fd5"
40
+ "gitHead": "13edc138093b0ffde7bb465d676930ec320158dc"
41
41
  }