@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.
- package/dist/cjs/api-internal.js +142 -300
- package/dist/esm/api-internal.js +96 -262
- package/dist/types/api-internal.d.ts +9 -1
- package/package.json +2 -2
- package/src/api-internal.ts +113 -313
package/src/api-internal.ts
CHANGED
|
@@ -4890,6 +4890,19 @@ const factories = {
|
|
|
4890
4890
|
|
|
4891
4891
|
'io.flow.external.paypal.v1.enums.product_received': (): io.flow.external.paypal.v1.enums.ProductReceived => faker.helpers.arrayElement(['YES', 'NO', 'RETURNED']),
|
|
4892
4892
|
'io.flow.external.paypal.v1.enums.refund_state': (): io.flow.external.paypal.v1.enums.RefundState => faker.helpers.arrayElement(['pending', 'completed', 'cancelled', 'failed']),
|
|
4893
|
+
'io.flow.external.paypal.v1.enums.reporting_balance_affecting_records_only': (): io.flow.external.paypal.v1.enums.ReportingBalanceAffectingRecordsOnly => faker.helpers.arrayElement(['Y', 'N']),
|
|
4894
|
+
|
|
4895
|
+
'io.flow.external.paypal.v1.enums.reporting_transaction_field': (): io.flow.external.paypal.v1.enums.ReportingTransactionField => faker.helpers.arrayElement([
|
|
4896
|
+
'transaction_info',
|
|
4897
|
+
'payer_info',
|
|
4898
|
+
'shipping_info',
|
|
4899
|
+
'auction_info',
|
|
4900
|
+
'cart_info',
|
|
4901
|
+
'incentive_info',
|
|
4902
|
+
'store_info',
|
|
4903
|
+
]),
|
|
4904
|
+
|
|
4905
|
+
'io.flow.external.paypal.v1.enums.reporting_transaction_status': (): io.flow.external.paypal.v1.enums.ReportingTransactionStatus => faker.helpers.arrayElement(['D', 'P', 'S', 'V']),
|
|
4893
4906
|
|
|
4894
4907
|
'io.flow.external.paypal.v1.enums.return_acknowledgement_type': (): io.flow.external.paypal.v1.enums.ReturnAcknowledgementType => faker.helpers.arrayElement([
|
|
4895
4908
|
'ITEM_RECEIVED',
|
|
@@ -5310,6 +5323,34 @@ const factories = {
|
|
|
5310
5323
|
invoice_number: factories.string(),
|
|
5311
5324
|
}),
|
|
5312
5325
|
|
|
5326
|
+
'io.flow.external.paypal.v1.models.reporting_transaction': (): io.flow.external.paypal.v1.models.ReportingTransaction => ({
|
|
5327
|
+
transaction_details: arrayOf(
|
|
5328
|
+
() => factories['io.flow.external.paypal.v1.models.reporting_transaction_details'](),
|
|
5329
|
+
),
|
|
5330
|
+
|
|
5331
|
+
links: arrayOf(() => factories['io.flow.external.paypal.v1.models.link']()),
|
|
5332
|
+
}),
|
|
5333
|
+
|
|
5334
|
+
'io.flow.external.paypal.v1.models.reporting_transaction_details': (): io.flow.external.paypal.v1.models.ReportingTransactionDetails => ({
|
|
5335
|
+
transaction_info: factories['io.flow.external.paypal.v1.models.reporting_transaction_info'](),
|
|
5336
|
+
}),
|
|
5337
|
+
|
|
5338
|
+
'io.flow.external.paypal.v1.models.reporting_transaction_info': (): io.flow.external.paypal.v1.models.ReportingTransactionInfo => ({
|
|
5339
|
+
paypal_account_id: factories.string(),
|
|
5340
|
+
transaction_id: factories.string(),
|
|
5341
|
+
paypal_reference_id: factories.string(),
|
|
5342
|
+
paypal_reference_id_type: factories.string(),
|
|
5343
|
+
transaction_event_code: factories.string(),
|
|
5344
|
+
transaction_initiation_date: factories.date_time_iso_8601(),
|
|
5345
|
+
transaction_updated_date: factories.date_time_iso_8601(),
|
|
5346
|
+
transaction_status: factories['io.flow.external.paypal.v1.enums.reporting_transaction_status'](),
|
|
5347
|
+
transaction_subject: factories.string(),
|
|
5348
|
+
invoice_id: factories.string(),
|
|
5349
|
+
custom_field: factories.string(),
|
|
5350
|
+
protection_eligibility: factories.string(),
|
|
5351
|
+
instrument_type: factories.string(),
|
|
5352
|
+
}),
|
|
5353
|
+
|
|
5313
5354
|
'io.flow.external.paypal.v1.models.return_details': (): io.flow.external.paypal.v1.models.ReturnDetails => ({
|
|
5314
5355
|
return_time: factories.date_time_iso_8601(),
|
|
5315
5356
|
mode: factories['io.flow.external.paypal.v1.enums.return_mode'](),
|
|
@@ -5488,314 +5529,6 @@ const factories = {
|
|
|
5488
5529
|
return f();
|
|
5489
5530
|
},
|
|
5490
5531
|
|
|
5491
|
-
'io.flow.flexe.v0.enums.flexe_attachment_type': (): io.flow.flexe.v0.enums.FlexeAttachmentType => faker.helpers.arrayElement(['shipping_label', 'packing_slip', 'packing_slip_letter']),
|
|
5492
|
-
'io.flow.flexe.v0.enums.flexe_notification': (): io.flow.flexe.v0.enums.FlexeNotification => faker.helpers.arrayElement(['receipt', 'shipment']),
|
|
5493
|
-
|
|
5494
|
-
'io.flow.flexe.v0.enums.flexe_shipment_type': (): io.flow.flexe.v0.enums.FlexeShipmentType => faker.helpers.arrayElement([
|
|
5495
|
-
'fulfillment_order',
|
|
5496
|
-
'retail_fulfillment_order',
|
|
5497
|
-
'carton_pick_delivery',
|
|
5498
|
-
'delivery',
|
|
5499
|
-
'container_delivery',
|
|
5500
|
-
]),
|
|
5501
|
-
|
|
5502
|
-
'io.flow.flexe.v0.enums.flexe_status': (): io.flow.flexe.v0.enums.FlexeStatus => faker.helpers.arrayElement(['in_transit', 'completed']),
|
|
5503
|
-
|
|
5504
|
-
'io.flow.flexe.v0.models.bill_of_lading': (): io.flow.flexe.v0.models.BillOfLading => ({
|
|
5505
|
-
type: factories.string(),
|
|
5506
|
-
gs1us: factories['io.flow.flexe.v0.models.gs1us'](),
|
|
5507
|
-
}),
|
|
5508
|
-
|
|
5509
|
-
'io.flow.flexe.v0.models.bill_to': (): io.flow.flexe.v0.models.BillTo => ({
|
|
5510
|
-
name: factories.string(),
|
|
5511
|
-
address_1: factories.string(),
|
|
5512
|
-
locality: factories.string(),
|
|
5513
|
-
region: factories.string(),
|
|
5514
|
-
postal_code: factories.string(),
|
|
5515
|
-
country: factories.string(),
|
|
5516
|
-
address_2: factories.string(),
|
|
5517
|
-
address_3: factories.string(),
|
|
5518
|
-
}),
|
|
5519
|
-
|
|
5520
|
-
'io.flow.flexe.v0.models.carton_pick_delivery_details': (): io.flow.flexe.v0.models.CartonPickDeliveryDetails => ({
|
|
5521
|
-
shipment_uuid: factories.string(),
|
|
5522
|
-
carrier: factories.string(),
|
|
5523
|
-
carrier_id: factories.string(),
|
|
5524
|
-
}),
|
|
5525
|
-
|
|
5526
|
-
'io.flow.flexe.v0.models.container_delivery_details': (): io.flow.flexe.v0.models.ContainerDeliveryDetails => ({
|
|
5527
|
-
purchase_order: factories.string(),
|
|
5528
|
-
container_number: factories.string(),
|
|
5529
|
-
seal_number: factories.string(),
|
|
5530
|
-
vendor: factories.string(),
|
|
5531
|
-
expected_inventory: arrayOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5532
|
-
received_inventory: arrayOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5533
|
-
damaged_inventory: arrayOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5534
|
-
quantities_by_inventory: objectOf(() => factories['io.flow.flexe.v0.models.quantity_by_inventory']()),
|
|
5535
|
-
}),
|
|
5536
|
-
|
|
5537
|
-
'io.flow.flexe.v0.models.delivery_details': (): io.flow.flexe.v0.models.DeliveryDetails => ({
|
|
5538
|
-
shipment_uuid: factories.string(),
|
|
5539
|
-
trailer_number: factories.string(),
|
|
5540
|
-
pallets: arrayOf(() => factories['io.flow.flexe.v0.models.pallet']()),
|
|
5541
|
-
quantities_by_inventory: objectOf(() => factories['io.flow.flexe.v0.models.quantity_by_inventory']()),
|
|
5542
|
-
}),
|
|
5543
|
-
|
|
5544
|
-
'io.flow.flexe.v0.models.error': (): io.flow.flexe.v0.models.Error => ({
|
|
5545
|
-
url: factories.string(),
|
|
5546
|
-
client_request_id: factories.string(),
|
|
5547
|
-
generated_at: factories.string(),
|
|
5548
|
-
error: factories.string(),
|
|
5549
|
-
}),
|
|
5550
|
-
|
|
5551
|
-
'io.flow.flexe.v0.models.flexe_attachment': (): io.flow.flexe.v0.models.FlexeAttachment => ({
|
|
5552
|
-
type: factories['io.flow.flexe.v0.enums.flexe_attachment_type'](),
|
|
5553
|
-
display_name: factories.string(),
|
|
5554
|
-
url: factories.string(),
|
|
5555
|
-
}),
|
|
5556
|
-
|
|
5557
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillment => ({
|
|
5558
|
-
url: factories.string(),
|
|
5559
|
-
client_request_id: factories.string(),
|
|
5560
|
-
generated_at: factories.date_time_iso_8601(),
|
|
5561
|
-
data: factories['io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_data'](),
|
|
5562
|
-
|
|
5563
|
-
errors: arrayOf(
|
|
5564
|
-
() => factories['io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_errors'](),
|
|
5565
|
-
),
|
|
5566
|
-
}),
|
|
5567
|
-
|
|
5568
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_data': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData => ({
|
|
5569
|
-
import_id: factories.string(),
|
|
5570
|
-
succeeded_uuids: arrayOf(() => factories.string()),
|
|
5571
|
-
failed_uuids: arrayOf(() => factories.string()),
|
|
5572
|
-
errors: arrayOf(() => factories.string()),
|
|
5573
|
-
}),
|
|
5574
|
-
|
|
5575
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_errors': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors => ({
|
|
5576
|
-
status: factories.string(),
|
|
5577
|
-
title: factories.string(),
|
|
5578
|
-
detail: factories.string(),
|
|
5579
|
-
source: factories.string(),
|
|
5580
|
-
}),
|
|
5581
|
-
|
|
5582
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_form': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillmentForm => ({
|
|
5583
|
-
reservation_id: factories.integer(),
|
|
5584
|
-
client_request_id: factories.string(),
|
|
5585
|
-
request: factories['io.flow.flexe.v0.models.orders'](),
|
|
5586
|
-
}),
|
|
5587
|
-
|
|
5588
|
-
'io.flow.flexe.v0.models.flexe_inventory_data': (): io.flow.flexe.v0.models.FlexeInventoryData => ({
|
|
5589
|
-
sku: factories.string(),
|
|
5590
|
-
quantity: factories.string(),
|
|
5591
|
-
unit: factories.string(),
|
|
5592
|
-
}),
|
|
5593
|
-
|
|
5594
|
-
'io.flow.flexe.v0.models.flexe_retail_attachment': (): io.flow.flexe.v0.models.FlexeRetailAttachment => ({
|
|
5595
|
-
display_name: factories.string(),
|
|
5596
|
-
url: factories.string(),
|
|
5597
|
-
}),
|
|
5598
|
-
|
|
5599
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment': (): io.flow.flexe.v0.models.FlexeRetailFulfillment => ({
|
|
5600
|
-
url: factories.string(),
|
|
5601
|
-
client_request_id: factories.string(),
|
|
5602
|
-
generated_at: factories.date_time_iso_8601(),
|
|
5603
|
-
data: factories['io.flow.flexe.v0.models.flexe_retail_fulfillment_data'](),
|
|
5604
|
-
|
|
5605
|
-
errors: arrayOf(
|
|
5606
|
-
() => factories['io.flow.flexe.v0.models.flexe_retail_fulfillment_errors'](),
|
|
5607
|
-
),
|
|
5608
|
-
}),
|
|
5609
|
-
|
|
5610
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment_data': (): io.flow.flexe.v0.models.FlexeRetailFulfillmentData => ({
|
|
5611
|
-
id: factories.string(),
|
|
5612
|
-
purchase_order_uuid: factories.string(),
|
|
5613
|
-
status: factories.string(),
|
|
5614
|
-
}),
|
|
5615
|
-
|
|
5616
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment_errors': (): io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors => ({
|
|
5617
|
-
type: factories.string(),
|
|
5618
|
-
message: factories.string(),
|
|
5619
|
-
}),
|
|
5620
|
-
|
|
5621
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment_form': (): io.flow.flexe.v0.models.FlexeRetailFulfillmentForm => ({
|
|
5622
|
-
reservation_id: factories.integer(),
|
|
5623
|
-
client_request_id: factories.string(),
|
|
5624
|
-
request: factories['io.flow.flexe.v0.models.retail_order'](),
|
|
5625
|
-
}),
|
|
5626
|
-
|
|
5627
|
-
'io.flow.flexe.v0.models.fulfillment_order_details': (): io.flow.flexe.v0.models.FulfillmentOrderDetails => ({
|
|
5628
|
-
shipment_uuid: factories.string(),
|
|
5629
|
-
carrier: factories.string(),
|
|
5630
|
-
carrier_id: factories.string(),
|
|
5631
|
-
}),
|
|
5632
|
-
|
|
5633
|
-
'io.flow.flexe.v0.models.gs1us': (): io.flow.flexe.v0.models.Gs1Us => ({
|
|
5634
|
-
number: factories.string(),
|
|
5635
|
-
ship_to: factories['io.flow.flexe.v0.models.gs1us_ship_to'](),
|
|
5636
|
-
bill_to: factories['io.flow.flexe.v0.models.bill_to'](),
|
|
5637
|
-
}),
|
|
5638
|
-
|
|
5639
|
-
'io.flow.flexe.v0.models.gs1us_ship_to': (): io.flow.flexe.v0.models.Gs1UsShipTo => ({
|
|
5640
|
-
cid_number: factories.string(),
|
|
5641
|
-
location_number: factories.string(),
|
|
5642
|
-
free_on_board: factories.boolean(),
|
|
5643
|
-
}),
|
|
5644
|
-
|
|
5645
|
-
'io.flow.flexe.v0.models.inventory': (): io.flow.flexe.v0.models.Inventory => ({
|
|
5646
|
-
url: factories.string(),
|
|
5647
|
-
client_request_id: factories.string(),
|
|
5648
|
-
generated_at: factories.date_time_iso_8601(),
|
|
5649
|
-
data: objectOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5650
|
-
}),
|
|
5651
|
-
|
|
5652
|
-
'io.flow.flexe.v0.models.inventory_count': (): io.flow.flexe.v0.models.InventoryCount => ({
|
|
5653
|
-
amount: factories.integer(),
|
|
5654
|
-
unit: factories.string(),
|
|
5655
|
-
}),
|
|
5656
|
-
|
|
5657
|
-
'io.flow.flexe.v0.models.inventory_data': (): io.flow.flexe.v0.models.InventoryData => ({
|
|
5658
|
-
pallet: factories['io.flow.flexe.v0.models.inventory_count'](),
|
|
5659
|
-
carton: factories['io.flow.flexe.v0.models.inventory_count'](),
|
|
5660
|
-
each: factories['io.flow.flexe.v0.models.inventory_count'](),
|
|
5661
|
-
}),
|
|
5662
|
-
|
|
5663
|
-
'io.flow.flexe.v0.models.inventory_details': (): io.flow.flexe.v0.models.InventoryDetails => ({
|
|
5664
|
-
key: objectOf(() => factories['io.flow.flexe.v0.models.sku']()),
|
|
5665
|
-
}),
|
|
5666
|
-
|
|
5667
|
-
'io.flow.flexe.v0.models.lading_quantity': (): io.flow.flexe.v0.models.LadingQuantity => ({
|
|
5668
|
-
num_pallets: factories.integer(),
|
|
5669
|
-
}),
|
|
5670
|
-
|
|
5671
|
-
'io.flow.flexe.v0.models.order': (): io.flow.flexe.v0.models.Order => ({
|
|
5672
|
-
shipment_uuid: factories.string(),
|
|
5673
|
-
purchase_order: factories.string(),
|
|
5674
|
-
carrier: factories.string(),
|
|
5675
|
-
service_type: factories.string(),
|
|
5676
|
-
carrier_assigned_id: factories.string(),
|
|
5677
|
-
name: factories.string(),
|
|
5678
|
-
address_1: factories.string(),
|
|
5679
|
-
address_2: factories.string(),
|
|
5680
|
-
address_3: factories.string(),
|
|
5681
|
-
city: factories.string(),
|
|
5682
|
-
state: factories.string(),
|
|
5683
|
-
postal_code: factories.string(),
|
|
5684
|
-
phone: factories.string(),
|
|
5685
|
-
instructions: factories.string(),
|
|
5686
|
-
inventory_data: arrayOf(() => factories['io.flow.flexe.v0.models.flexe_inventory_data']()),
|
|
5687
|
-
attachments: arrayOf(() => factories['io.flow.flexe.v0.models.flexe_attachment']()),
|
|
5688
|
-
}),
|
|
5689
|
-
|
|
5690
|
-
'io.flow.flexe.v0.models.orders': (): io.flow.flexe.v0.models.Orders => ({
|
|
5691
|
-
orders: arrayOf(() => factories['io.flow.flexe.v0.models.order']()),
|
|
5692
|
-
}),
|
|
5693
|
-
|
|
5694
|
-
'io.flow.flexe.v0.models.pallet': (): io.flow.flexe.v0.models.Pallet => ({
|
|
5695
|
-
pallet_id: factories.string(),
|
|
5696
|
-
sku: factories.string(),
|
|
5697
|
-
quantity: factories.integer(),
|
|
5698
|
-
packaging: factories.string(),
|
|
5699
|
-
}),
|
|
5700
|
-
|
|
5701
|
-
'io.flow.flexe.v0.models.purchase_order': (): io.flow.flexe.v0.models.PurchaseOrder => ({
|
|
5702
|
-
retail_fulfillment_order_id: factories.string(),
|
|
5703
|
-
bill_of_lading_number: factories.string(),
|
|
5704
|
-
purchase_order_uuid: factories.string(),
|
|
5705
|
-
pickup_window_start: factories.date_time_iso_8601(),
|
|
5706
|
-
pickup_window_end: factories.date_time_iso_8601(),
|
|
5707
|
-
tags: arrayOf(() => factories.string()),
|
|
5708
|
-
}),
|
|
5709
|
-
|
|
5710
|
-
'io.flow.flexe.v0.models.quantity_by_inventory': (): io.flow.flexe.v0.models.QuantityByInventory => ({
|
|
5711
|
-
received: factories['io.flow.flexe.v0.models.inventory_data'](),
|
|
5712
|
-
expected: factories['io.flow.flexe.v0.models.inventory_data'](),
|
|
5713
|
-
damaged: factories['io.flow.flexe.v0.models.inventory_data'](),
|
|
5714
|
-
}),
|
|
5715
|
-
|
|
5716
|
-
'io.flow.flexe.v0.models.receipt_notification': (): io.flow.flexe.v0.models.ReceiptNotification => ({
|
|
5717
|
-
shipment_id: factories.string(),
|
|
5718
|
-
shipment_type: factories['io.flow.flexe.v0.enums.flexe_shipment_type'](),
|
|
5719
|
-
reservation_id: factories.string(),
|
|
5720
|
-
status: factories['io.flow.flexe.v0.enums.flexe_status'](),
|
|
5721
|
-
delivery_details: factories['io.flow.flexe.v0.models.delivery_details'](),
|
|
5722
|
-
container_delivery_details: factories['io.flow.flexe.v0.models.container_delivery_details'](),
|
|
5723
|
-
}),
|
|
5724
|
-
|
|
5725
|
-
'io.flow.flexe.v0.models.retail_fulfillment_order_details': (): io.flow.flexe.v0.models.RetailFulfillmentOrderDetails => ({
|
|
5726
|
-
master_bill_of_lading_number: factories.string(),
|
|
5727
|
-
scac: factories.string(),
|
|
5728
|
-
pro_number: factories.string(),
|
|
5729
|
-
purchase_orders: arrayOf(() => factories['io.flow.flexe.v0.models.purchase_order']()),
|
|
5730
|
-
lading_quantity: factories['io.flow.flexe.v0.models.lading_quantity'](),
|
|
5731
|
-
}),
|
|
5732
|
-
|
|
5733
|
-
'io.flow.flexe.v0.models.retail_inventory_data': (): io.flow.flexe.v0.models.RetailInventoryData => ({
|
|
5734
|
-
sku: factories.string(),
|
|
5735
|
-
quantity: factories.integer(),
|
|
5736
|
-
unit: factories.string(),
|
|
5737
|
-
attachments: arrayOf(() => factories['io.flow.flexe.v0.models.flexe_retail_attachment']()),
|
|
5738
|
-
}),
|
|
5739
|
-
|
|
5740
|
-
'io.flow.flexe.v0.models.retail_order': (): io.flow.flexe.v0.models.RetailOrder => ({
|
|
5741
|
-
order: factories['io.flow.flexe.v0.models.retail_order_data'](),
|
|
5742
|
-
}),
|
|
5743
|
-
|
|
5744
|
-
'io.flow.flexe.v0.models.retail_order_data': (): io.flow.flexe.v0.models.RetailOrderData => ({
|
|
5745
|
-
purchase_order_uuid: factories.string(),
|
|
5746
|
-
bill_of_lading: factories['io.flow.flexe.v0.models.bill_of_lading'](),
|
|
5747
|
-
inventory_data: arrayOf(() => factories['io.flow.flexe.v0.models.retail_inventory_data']()),
|
|
5748
|
-
ship_within: factories['io.flow.flexe.v0.models.ship_within'](),
|
|
5749
|
-
ship_to: factories['io.flow.flexe.v0.models.ship_to'](),
|
|
5750
|
-
build_by: factories.string(),
|
|
5751
|
-
instrunctions: factories.string(),
|
|
5752
|
-
routing_details_id: factories.string(),
|
|
5753
|
-
destination_type: factories.string(),
|
|
5754
|
-
}),
|
|
5755
|
-
|
|
5756
|
-
'io.flow.flexe.v0.models.ship_to': (): io.flow.flexe.v0.models.ShipTo => ({
|
|
5757
|
-
name: factories.string(),
|
|
5758
|
-
address_1: factories.string(),
|
|
5759
|
-
locality: factories.string(),
|
|
5760
|
-
region: factories.string(),
|
|
5761
|
-
postal_code: factories.string(),
|
|
5762
|
-
country: factories.string(),
|
|
5763
|
-
address_2: factories.string(),
|
|
5764
|
-
address_3: factories.string(),
|
|
5765
|
-
}),
|
|
5766
|
-
|
|
5767
|
-
'io.flow.flexe.v0.models.ship_within': (): io.flow.flexe.v0.models.ShipWithin => ({
|
|
5768
|
-
start: factories.string(),
|
|
5769
|
-
end: factories.string(),
|
|
5770
|
-
}),
|
|
5771
|
-
|
|
5772
|
-
'io.flow.flexe.v0.models.shipment_delivery_details': (): io.flow.flexe.v0.models.ShipmentDeliveryDetails => ({
|
|
5773
|
-
shipment_uuid: factories.string(),
|
|
5774
|
-
}),
|
|
5775
|
-
|
|
5776
|
-
'io.flow.flexe.v0.models.shipment_notification': (): io.flow.flexe.v0.models.ShipmentNotification => ({
|
|
5777
|
-
shipment_id: factories.string(),
|
|
5778
|
-
shipment_type: factories['io.flow.flexe.v0.enums.flexe_shipment_type'](),
|
|
5779
|
-
reservation_id: factories.string(),
|
|
5780
|
-
status: factories['io.flow.flexe.v0.enums.flexe_status'](),
|
|
5781
|
-
fulfillment_order_details: factories['io.flow.flexe.v0.models.fulfillment_order_details'](),
|
|
5782
|
-
retail_fulfillment_order_details: factories['io.flow.flexe.v0.models.retail_fulfillment_order_details'](),
|
|
5783
|
-
delivery_details: factories['io.flow.flexe.v0.models.shipment_delivery_details'](),
|
|
5784
|
-
carton_pick_delivery_details: factories['io.flow.flexe.v0.models.carton_pick_delivery_details'](),
|
|
5785
|
-
}),
|
|
5786
|
-
|
|
5787
|
-
'io.flow.flexe.v0.models.sku': (): io.flow.flexe.v0.models.Sku => ({
|
|
5788
|
-
sku: factories.string(),
|
|
5789
|
-
description: factories.string(),
|
|
5790
|
-
summary: objectOf(() => factories['io.flow.flexe.v0.models.sku_summary']()),
|
|
5791
|
-
}),
|
|
5792
|
-
|
|
5793
|
-
'io.flow.flexe.v0.models.sku_summary': (): io.flow.flexe.v0.models.SkuSummary => ({
|
|
5794
|
-
key: factories.string(),
|
|
5795
|
-
quantity: factories.integer(),
|
|
5796
|
-
unit: factories.string(),
|
|
5797
|
-
}),
|
|
5798
|
-
|
|
5799
5532
|
'io.flow.fraud.v0.enums.fraud_email_rule_decision': (): io.flow.fraud.v0.enums.FraudEmailRuleDecision => faker.helpers.arrayElement(['approved', 'declined']),
|
|
5800
5533
|
'io.flow.fraud.v0.enums.fraud_liability': (): io.flow.fraud.v0.enums.FraudLiability => faker.helpers.arrayElement(['flow', 'organization']),
|
|
5801
5534
|
'io.flow.fraud.v0.enums.fraud_status': (): io.flow.fraud.v0.enums.FraudStatus => faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']),
|
|
@@ -7311,6 +7044,8 @@ const factories = {
|
|
|
7311
7044
|
'io.flow.internal.v0.enums.event_type': (): io.flow.internal.v0.enums.EventType => faker.helpers.arrayElement([
|
|
7312
7045
|
'adjusted_estimates_upserted',
|
|
7313
7046
|
'adjusted_estimates_deleted',
|
|
7047
|
+
'final_estimate_upserted',
|
|
7048
|
+
'final_estimate_deleted',
|
|
7314
7049
|
'adyen_authorization_deleted',
|
|
7315
7050
|
'adyen_authorization_upserted',
|
|
7316
7051
|
'adyen_cancel_deleted',
|
|
@@ -7321,6 +7056,8 @@ const factories = {
|
|
|
7321
7056
|
'adyen_refund_upserted',
|
|
7322
7057
|
'adyen_dispute_upserted',
|
|
7323
7058
|
'adyen_dispute_deleted',
|
|
7059
|
+
'aldo_item_upserted',
|
|
7060
|
+
'aldo_item_deleted',
|
|
7324
7061
|
'fulfillment_upserted',
|
|
7325
7062
|
'fulfillment_deleted',
|
|
7326
7063
|
'merchant_upserted',
|
|
@@ -8889,6 +8626,10 @@ const factories = {
|
|
|
8889
8626
|
afterpay_refund: factories['io.flow.internal.v0.models.afterpay_refund'](),
|
|
8890
8627
|
}),
|
|
8891
8628
|
|
|
8629
|
+
'io.flow.internal.v0.models.aftership_webhook': (): io.flow.internal.v0.models.AftershipWebhook => ({
|
|
8630
|
+
placeholder: factories.boolean(),
|
|
8631
|
+
}),
|
|
8632
|
+
|
|
8892
8633
|
'io.flow.internal.v0.models.aldo_item': (): io.flow.internal.v0.models.AldoItem => ({
|
|
8893
8634
|
id: factories.string(),
|
|
8894
8635
|
number: factories.string(),
|
|
@@ -8898,6 +8639,13 @@ const factories = {
|
|
|
8898
8639
|
added_on: factories.date_iso_8601(),
|
|
8899
8640
|
}),
|
|
8900
8641
|
|
|
8642
|
+
'io.flow.internal.v0.models.aldo_item_deleted': (): io.flow.internal.v0.models.AldoItemDeleted => ({
|
|
8643
|
+
discriminator: 'aldo_item_deleted',
|
|
8644
|
+
event_id: factories.string(),
|
|
8645
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8646
|
+
id: factories.string(),
|
|
8647
|
+
}),
|
|
8648
|
+
|
|
8901
8649
|
'io.flow.internal.v0.models.aldo_item_form': (): io.flow.internal.v0.models.AldoItemForm => ({
|
|
8902
8650
|
number: factories.string(),
|
|
8903
8651
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8906,6 +8654,13 @@ const factories = {
|
|
|
8906
8654
|
added_on: factories.date_iso_8601(),
|
|
8907
8655
|
}),
|
|
8908
8656
|
|
|
8657
|
+
'io.flow.internal.v0.models.aldo_item_upserted': (): io.flow.internal.v0.models.AldoItemUpserted => ({
|
|
8658
|
+
discriminator: 'aldo_item_upserted',
|
|
8659
|
+
event_id: factories.string(),
|
|
8660
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8661
|
+
item: factories['io.flow.internal.v0.models.aldo_item'](),
|
|
8662
|
+
}),
|
|
8663
|
+
|
|
8909
8664
|
'io.flow.internal.v0.models.alert_error_summary': (): io.flow.internal.v0.models.AlertErrorSummary => ({
|
|
8910
8665
|
event_id: factories.long(),
|
|
8911
8666
|
error: factories.string(),
|
|
@@ -11449,10 +11204,6 @@ const factories = {
|
|
|
11449
11204
|
pickup_name: factories.string(),
|
|
11450
11205
|
}),
|
|
11451
11206
|
|
|
11452
|
-
'io.flow.internal.v0.models.dhl_ecommerce_webhook': (): io.flow.internal.v0.models.DhlEcommerceWebhook => ({
|
|
11453
|
-
placeholder: factories.boolean(),
|
|
11454
|
-
}),
|
|
11455
|
-
|
|
11456
11207
|
'io.flow.internal.v0.models.dict': (): io.flow.internal.v0.models.Dict => ({
|
|
11457
11208
|
discriminator: 'dict',
|
|
11458
11209
|
label: factories['io.flow.internal.v0.models.content_label'](),
|
|
@@ -11601,6 +11352,8 @@ const factories = {
|
|
|
11601
11352
|
reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
|
|
11602
11353
|
category: factories['io.flow.internal.v0.enums.dispute_category'](),
|
|
11603
11354
|
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
11355
|
+
defense_outcome: factories['io.flow.internal.v0.enums.dispute_defense_outcome'](),
|
|
11356
|
+
defended_at: factories.date_time_iso_8601(),
|
|
11604
11357
|
}),
|
|
11605
11358
|
|
|
11606
11359
|
'io.flow.internal.v0.models.dispute_record': (): io.flow.internal.v0.models.DisputeRecord => ({
|
|
@@ -12301,6 +12054,29 @@ const factories = {
|
|
|
12301
12054
|
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
12302
12055
|
}),
|
|
12303
12056
|
|
|
12057
|
+
'io.flow.internal.v0.models.final_estimate': (): io.flow.internal.v0.models.FinalEstimate => ({
|
|
12058
|
+
id: factories.string(),
|
|
12059
|
+
organization_id: factories.string(),
|
|
12060
|
+
label_id: factories.string(),
|
|
12061
|
+
estimate: factories['io.flow.label.v0.models.shipping_label_hop_summary'](),
|
|
12062
|
+
}),
|
|
12063
|
+
|
|
12064
|
+
'io.flow.internal.v0.models.final_estimate_deleted': (): io.flow.internal.v0.models.FinalEstimateDeleted => ({
|
|
12065
|
+
discriminator: 'final_estimate_deleted',
|
|
12066
|
+
event_id: factories.string(),
|
|
12067
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12068
|
+
organization: factories.string(),
|
|
12069
|
+
id: factories.string(),
|
|
12070
|
+
}),
|
|
12071
|
+
|
|
12072
|
+
'io.flow.internal.v0.models.final_estimate_upserted': (): io.flow.internal.v0.models.FinalEstimateUpserted => ({
|
|
12073
|
+
discriminator: 'final_estimate_upserted',
|
|
12074
|
+
event_id: factories.string(),
|
|
12075
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12076
|
+
organization: factories.string(),
|
|
12077
|
+
final_estimate: factories['io.flow.internal.v0.models.final_estimate'](),
|
|
12078
|
+
}),
|
|
12079
|
+
|
|
12304
12080
|
'io.flow.internal.v0.models.finance_bank_account': (): io.flow.internal.v0.models.FinanceBankAccount => ({
|
|
12305
12081
|
id: factories.string(),
|
|
12306
12082
|
accounts: arrayOf(() => factories['io.flow.internal.v0.models.account_summary']()),
|
|
@@ -12437,6 +12213,10 @@ const factories = {
|
|
|
12437
12213
|
organization_capability: factories['io.flow.internal.v0.enums.organization_capability'](),
|
|
12438
12214
|
}),
|
|
12439
12215
|
|
|
12216
|
+
'io.flow.internal.v0.models.flexe_webhook': (): io.flow.internal.v0.models.FlexeWebhook => ({
|
|
12217
|
+
placeholder: factories.boolean(),
|
|
12218
|
+
}),
|
|
12219
|
+
|
|
12440
12220
|
'io.flow.internal.v0.models.flow_account': (): io.flow.internal.v0.models.FlowAccount => ({
|
|
12441
12221
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
12442
12222
|
id: factories.string(),
|
|
@@ -20058,6 +19838,10 @@ const factories = {
|
|
|
20058
19838
|
tracking_events: arrayOf(() => factories['io.flow.internal.v0.models.tracking_event']()),
|
|
20059
19839
|
}),
|
|
20060
19840
|
|
|
19841
|
+
'io.flow.internal.v0.models.tracking_resync': (): io.flow.internal.v0.models.TrackingResync => ({
|
|
19842
|
+
placeholder: factories.boolean(),
|
|
19843
|
+
}),
|
|
19844
|
+
|
|
20061
19845
|
'io.flow.internal.v0.models.tracking_subscription': (): io.flow.internal.v0.models.TrackingSubscription => ({
|
|
20062
19846
|
id: factories.string(),
|
|
20063
19847
|
organization_id: factories.string(),
|
|
@@ -20094,6 +19878,10 @@ const factories = {
|
|
|
20094
19878
|
tracking: factories['io.flow.tracking.v0.models.tracking'](),
|
|
20095
19879
|
}),
|
|
20096
19880
|
|
|
19881
|
+
'io.flow.internal.v0.models.tracking_webhook': (): io.flow.internal.v0.models.TrackingWebhook => ({
|
|
19882
|
+
placeholder: factories.boolean(),
|
|
19883
|
+
}),
|
|
19884
|
+
|
|
20097
19885
|
'io.flow.internal.v0.models.transaction_adjustment': (): io.flow.internal.v0.models.TransactionAdjustment => ({
|
|
20098
19886
|
id: factories.string(),
|
|
20099
19887
|
original_transaction: factories['io.flow.internal.v0.models.transaction_reference'](),
|
|
@@ -20635,6 +20423,8 @@ const factories = {
|
|
|
20635
20423
|
const f = faker.helpers.arrayElement([
|
|
20636
20424
|
() => factories['io.flow.internal.v0.models.adjusted_estimates_upserted'](),
|
|
20637
20425
|
() => factories['io.flow.internal.v0.models.adjusted_estimates_deleted'](),
|
|
20426
|
+
() => factories['io.flow.internal.v0.models.final_estimate_upserted'](),
|
|
20427
|
+
() => factories['io.flow.internal.v0.models.final_estimate_deleted'](),
|
|
20638
20428
|
() => factories['io.flow.internal.v0.models.adyen_authorization_deleted'](),
|
|
20639
20429
|
() => factories['io.flow.internal.v0.models.adyen_authorization_upserted'](),
|
|
20640
20430
|
() => factories['io.flow.internal.v0.models.adyen_cancel_deleted'](),
|
|
@@ -20645,6 +20435,8 @@ const factories = {
|
|
|
20645
20435
|
() => factories['io.flow.internal.v0.models.adyen_refund_upserted'](),
|
|
20646
20436
|
() => factories['io.flow.internal.v0.models.adyen_dispute_upserted'](),
|
|
20647
20437
|
() => factories['io.flow.internal.v0.models.adyen_dispute_deleted'](),
|
|
20438
|
+
() => factories['io.flow.internal.v0.models.aldo_item_upserted'](),
|
|
20439
|
+
() => factories['io.flow.internal.v0.models.aldo_item_deleted'](),
|
|
20648
20440
|
() => factories['io.flow.internal.v0.models.fulfillment_upserted'](),
|
|
20649
20441
|
() => factories['io.flow.internal.v0.models.fulfillment_deleted'](),
|
|
20650
20442
|
() => factories['io.flow.internal.v0.models.merchant_upserted'](),
|
|
@@ -31675,9 +31467,12 @@ export const makeAfterpayCaptureUpserted = () => factories['io.flow.internal.v0.
|
|
|
31675
31467
|
export const makeAfterpayRefund = () => factories['io.flow.internal.v0.models.afterpay_refund']();
|
|
31676
31468
|
export const makeAfterpayRefundDeleted = () => factories['io.flow.internal.v0.models.afterpay_refund_deleted']();
|
|
31677
31469
|
export const makeAfterpayRefundUpserted = () => factories['io.flow.internal.v0.models.afterpay_refund_upserted']();
|
|
31470
|
+
export const makeAftershipWebhook = () => factories['io.flow.internal.v0.models.aftership_webhook']();
|
|
31678
31471
|
export const makeAldoItem = () => factories['io.flow.internal.v0.models.aldo_item']();
|
|
31472
|
+
export const makeAldoItemDeleted = () => factories['io.flow.internal.v0.models.aldo_item_deleted']();
|
|
31679
31473
|
export const makeAldoItemForm = () => factories['io.flow.internal.v0.models.aldo_item_form']();
|
|
31680
31474
|
export const makeAldoItemType = () => factories['io.flow.internal.v0.enums.aldo_item_type']();
|
|
31475
|
+
export const makeAldoItemUpserted = () => factories['io.flow.internal.v0.models.aldo_item_upserted']();
|
|
31681
31476
|
export const makeAlertErrorSummary = () => factories['io.flow.internal.v0.models.alert_error_summary']();
|
|
31682
31477
|
export const makeAlertFailureSummary = () => factories['io.flow.internal.v0.models.alert_failure_summary']();
|
|
31683
31478
|
export const makeAlertFailureSummaryDetail = () => factories['io.flow.internal.v0.models.alert_failure_summary_detail']();
|
|
@@ -32085,7 +31880,6 @@ export const makeDeminimisAdjustmentType = () => factories['io.flow.internal.v0.
|
|
|
32085
31880
|
export const makeDestinationError = () => factories['io.flow.internal.v0.models.destination_error']();
|
|
32086
31881
|
export const makeDhl = () => factories['io.flow.internal.v0.models.dhl']();
|
|
32087
31882
|
export const makeDhlEcommerce = () => factories['io.flow.internal.v0.models.dhl_ecommerce']();
|
|
32088
|
-
export const makeDhlEcommerceWebhook = () => factories['io.flow.internal.v0.models.dhl_ecommerce_webhook']();
|
|
32089
31883
|
export const makeDict = () => factories['io.flow.internal.v0.models.dict']();
|
|
32090
31884
|
export const makeDimensionEstimateOpsInput = () => factories['io.flow.internal.v0.models.dimension_estimate_ops_input']();
|
|
32091
31885
|
export const makeDiscount = () => factories['io.flow.internal.v0.models.discount']();
|
|
@@ -32229,6 +32023,9 @@ export const makeFeedUpserted = () => factories['io.flow.internal.v0.models.feed
|
|
|
32229
32023
|
export const makeFeedsExport = () => factories['io.flow.internal.v0.models.feeds_export']();
|
|
32230
32024
|
export const makeFees = () => factories['io.flow.internal.v0.models.fees']();
|
|
32231
32025
|
export const makeFeesSource = () => factories['io.flow.internal.v0.enums.fees_source']();
|
|
32026
|
+
export const makeFinalEstimate = () => factories['io.flow.internal.v0.models.final_estimate']();
|
|
32027
|
+
export const makeFinalEstimateDeleted = () => factories['io.flow.internal.v0.models.final_estimate_deleted']();
|
|
32028
|
+
export const makeFinalEstimateUpserted = () => factories['io.flow.internal.v0.models.final_estimate_upserted']();
|
|
32232
32029
|
export const makeFinanceBankAccount = () => factories['io.flow.internal.v0.models.finance_bank_account']();
|
|
32233
32030
|
export const makeFinanceBankAccountOwner = () => factories['io.flow.internal.v0.models.finance_bank_account_owner']();
|
|
32234
32031
|
export const makeFinanceBankPayment = () => factories['io.flow.internal.v0.models.finance_bank_payment']();
|
|
@@ -32245,6 +32042,7 @@ export const makeFiservAuthenticationForm = () => factories['io.flow.internal.v0
|
|
|
32245
32042
|
export const makeFiservMerchant = () => factories['io.flow.internal.v0.models.fiserv_merchant']();
|
|
32246
32043
|
export const makeFiservMerchantModificationForm = () => factories['io.flow.internal.v0.models.fiserv_merchant_modification_form']();
|
|
32247
32044
|
export const makeFiservMerchantPutForm = () => factories['io.flow.internal.v0.models.fiserv_merchant_put_form']();
|
|
32045
|
+
export const makeFlexeWebhook = () => factories['io.flow.internal.v0.models.flexe_webhook']();
|
|
32248
32046
|
export const makeFlowAccount = () => factories['io.flow.internal.v0.models.flow_account']();
|
|
32249
32047
|
export const makeFlowApp = () => factories['io.flow.internal.v0.enums.flow_app']();
|
|
32250
32048
|
export const makeFlowBillingStatement = () => factories['io.flow.internal.v0.models.flow_billing_statement']();
|
|
@@ -33414,10 +33212,12 @@ export const makeTrackingProcessingErrorUpserted = () => factories['io.flow.inte
|
|
|
33414
33212
|
export const makeTrackingProcessingFailureClassification = () => factories['io.flow.internal.v0.enums.tracking_processing_failure_classification']();
|
|
33415
33213
|
export const makeTrackingRequest = () => factories['io.flow.internal.v0.models.tracking_request']();
|
|
33416
33214
|
export const makeTrackingResponse = () => factories['io.flow.internal.v0.models.tracking_response']();
|
|
33215
|
+
export const makeTrackingResync = () => factories['io.flow.internal.v0.models.tracking_resync']();
|
|
33417
33216
|
export const makeTrackingSubscription = () => factories['io.flow.internal.v0.models.tracking_subscription']();
|
|
33418
33217
|
export const makeTrackingSubscriptionDeleted = () => factories['io.flow.internal.v0.models.tracking_subscription_deleted']();
|
|
33419
33218
|
export const makeTrackingSubscriptionUpserted = () => factories['io.flow.internal.v0.models.tracking_subscription_upserted']();
|
|
33420
33219
|
export const makeTrackingUpserted = () => factories['io.flow.internal.v0.models.tracking_upserted']();
|
|
33220
|
+
export const makeTrackingWebhook = () => factories['io.flow.internal.v0.models.tracking_webhook']();
|
|
33421
33221
|
export const makeTransaction = () => factories['io.flow.internal.v0.unions.transaction']();
|
|
33422
33222
|
export const makeTransactionAdjustment = () => factories['io.flow.internal.v0.models.transaction_adjustment']();
|
|
33423
33223
|
export const makeTransactionAdjustmentForm = () => factories['io.flow.internal.v0.models.transaction_adjustment_form']();
|