@flowio/api-internal-factories 0.0.116 → 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 +278 -318
- package/dist/esm/api-internal.js +222 -278
- package/dist/types/api-internal.d.ts +19 -3
- package/package.json +2 -2
- package/src/api-internal.ts +254 -330
package/src/api-internal.ts
CHANGED
|
@@ -142,6 +142,58 @@ const factories = {
|
|
|
142
142
|
'unknowncard',
|
|
143
143
|
]),
|
|
144
144
|
|
|
145
|
+
'io.flow.adyen.v0.enums.payment_record_type': (): io.flow.adyen.v0.enums.PaymentRecordType => faker.helpers.arrayElement([
|
|
146
|
+
'Authorised',
|
|
147
|
+
'AuthorisedPending',
|
|
148
|
+
'Cancelled',
|
|
149
|
+
'CaptureFailed',
|
|
150
|
+
'Chargeback',
|
|
151
|
+
'SecondChargeback',
|
|
152
|
+
'ChargebackExternally',
|
|
153
|
+
'ChargebackExternallyWithInfo',
|
|
154
|
+
'ChargebackReversed',
|
|
155
|
+
'ChargebackReversedExternallyWithInfo',
|
|
156
|
+
'Error',
|
|
157
|
+
'Expired',
|
|
158
|
+
'PaidOut',
|
|
159
|
+
'PaidOutExternally',
|
|
160
|
+
'PaidOutExternallyWithInfo',
|
|
161
|
+
'PaidOutReversed',
|
|
162
|
+
'PayoutAuthorised',
|
|
163
|
+
'PayoutError',
|
|
164
|
+
'PayoutFailed',
|
|
165
|
+
'Received',
|
|
166
|
+
'ReceivedPayout',
|
|
167
|
+
'RefundAuthorised',
|
|
168
|
+
'Refunded',
|
|
169
|
+
'RefundedBulk',
|
|
170
|
+
'RefundedExternally',
|
|
171
|
+
'RefundedExternallyWithInfo',
|
|
172
|
+
'RefundFailed',
|
|
173
|
+
'RefundedInInstallments',
|
|
174
|
+
'RefundedInstallment',
|
|
175
|
+
'RefundedReversed',
|
|
176
|
+
'RefundNotProcessed',
|
|
177
|
+
'Refused',
|
|
178
|
+
'RefusedPayout',
|
|
179
|
+
'Retried',
|
|
180
|
+
'SentForPayout',
|
|
181
|
+
'SentForRefund',
|
|
182
|
+
'SentForSettle',
|
|
183
|
+
'Settled',
|
|
184
|
+
'SettledBulk',
|
|
185
|
+
'SettledExternally',
|
|
186
|
+
'SettledExternallyWithInfo',
|
|
187
|
+
'SettledInInstallments',
|
|
188
|
+
'SettledInstallment',
|
|
189
|
+
'SettledReversed',
|
|
190
|
+
'SuspendInstallment',
|
|
191
|
+
'AdvancedInstallment',
|
|
192
|
+
'AdvancedInstallmentCancelled',
|
|
193
|
+
'OpenInstallment',
|
|
194
|
+
'CloseInstallment',
|
|
195
|
+
]),
|
|
196
|
+
|
|
145
197
|
'io.flow.adyen.v0.enums.recurring_processing_model': (): io.flow.adyen.v0.enums.RecurringProcessingModel => faker.helpers.arrayElement(['Subscription', 'CardOnFile', 'UnscheduledCardOnFile']),
|
|
146
198
|
|
|
147
199
|
'io.flow.adyen.v0.enums.result_code': (): io.flow.adyen.v0.enums.ResultCode => faker.helpers.arrayElement([
|
|
@@ -4838,6 +4890,19 @@ const factories = {
|
|
|
4838
4890
|
|
|
4839
4891
|
'io.flow.external.paypal.v1.enums.product_received': (): io.flow.external.paypal.v1.enums.ProductReceived => faker.helpers.arrayElement(['YES', 'NO', 'RETURNED']),
|
|
4840
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']),
|
|
4841
4906
|
|
|
4842
4907
|
'io.flow.external.paypal.v1.enums.return_acknowledgement_type': (): io.flow.external.paypal.v1.enums.ReturnAcknowledgementType => faker.helpers.arrayElement([
|
|
4843
4908
|
'ITEM_RECEIVED',
|
|
@@ -5258,6 +5323,34 @@ const factories = {
|
|
|
5258
5323
|
invoice_number: factories.string(),
|
|
5259
5324
|
}),
|
|
5260
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
|
+
|
|
5261
5354
|
'io.flow.external.paypal.v1.models.return_details': (): io.flow.external.paypal.v1.models.ReturnDetails => ({
|
|
5262
5355
|
return_time: factories.date_time_iso_8601(),
|
|
5263
5356
|
mode: factories['io.flow.external.paypal.v1.enums.return_mode'](),
|
|
@@ -5436,314 +5529,6 @@ const factories = {
|
|
|
5436
5529
|
return f();
|
|
5437
5530
|
},
|
|
5438
5531
|
|
|
5439
|
-
'io.flow.flexe.v0.enums.flexe_attachment_type': (): io.flow.flexe.v0.enums.FlexeAttachmentType => faker.helpers.arrayElement(['shipping_label', 'packing_slip', 'packing_slip_letter']),
|
|
5440
|
-
'io.flow.flexe.v0.enums.flexe_notification': (): io.flow.flexe.v0.enums.FlexeNotification => faker.helpers.arrayElement(['receipt', 'shipment']),
|
|
5441
|
-
|
|
5442
|
-
'io.flow.flexe.v0.enums.flexe_shipment_type': (): io.flow.flexe.v0.enums.FlexeShipmentType => faker.helpers.arrayElement([
|
|
5443
|
-
'fulfillment_order',
|
|
5444
|
-
'retail_fulfillment_order',
|
|
5445
|
-
'carton_pick_delivery',
|
|
5446
|
-
'delivery',
|
|
5447
|
-
'container_delivery',
|
|
5448
|
-
]),
|
|
5449
|
-
|
|
5450
|
-
'io.flow.flexe.v0.enums.flexe_status': (): io.flow.flexe.v0.enums.FlexeStatus => faker.helpers.arrayElement(['in_transit', 'completed']),
|
|
5451
|
-
|
|
5452
|
-
'io.flow.flexe.v0.models.bill_of_lading': (): io.flow.flexe.v0.models.BillOfLading => ({
|
|
5453
|
-
type: factories.string(),
|
|
5454
|
-
gs1us: factories['io.flow.flexe.v0.models.gs1us'](),
|
|
5455
|
-
}),
|
|
5456
|
-
|
|
5457
|
-
'io.flow.flexe.v0.models.bill_to': (): io.flow.flexe.v0.models.BillTo => ({
|
|
5458
|
-
name: factories.string(),
|
|
5459
|
-
address_1: factories.string(),
|
|
5460
|
-
locality: factories.string(),
|
|
5461
|
-
region: factories.string(),
|
|
5462
|
-
postal_code: factories.string(),
|
|
5463
|
-
country: factories.string(),
|
|
5464
|
-
address_2: factories.string(),
|
|
5465
|
-
address_3: factories.string(),
|
|
5466
|
-
}),
|
|
5467
|
-
|
|
5468
|
-
'io.flow.flexe.v0.models.carton_pick_delivery_details': (): io.flow.flexe.v0.models.CartonPickDeliveryDetails => ({
|
|
5469
|
-
shipment_uuid: factories.string(),
|
|
5470
|
-
carrier: factories.string(),
|
|
5471
|
-
carrier_id: factories.string(),
|
|
5472
|
-
}),
|
|
5473
|
-
|
|
5474
|
-
'io.flow.flexe.v0.models.container_delivery_details': (): io.flow.flexe.v0.models.ContainerDeliveryDetails => ({
|
|
5475
|
-
purchase_order: factories.string(),
|
|
5476
|
-
container_number: factories.string(),
|
|
5477
|
-
seal_number: factories.string(),
|
|
5478
|
-
vendor: factories.string(),
|
|
5479
|
-
expected_inventory: arrayOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5480
|
-
received_inventory: arrayOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5481
|
-
damaged_inventory: arrayOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5482
|
-
quantities_by_inventory: objectOf(() => factories['io.flow.flexe.v0.models.quantity_by_inventory']()),
|
|
5483
|
-
}),
|
|
5484
|
-
|
|
5485
|
-
'io.flow.flexe.v0.models.delivery_details': (): io.flow.flexe.v0.models.DeliveryDetails => ({
|
|
5486
|
-
shipment_uuid: factories.string(),
|
|
5487
|
-
trailer_number: factories.string(),
|
|
5488
|
-
pallets: arrayOf(() => factories['io.flow.flexe.v0.models.pallet']()),
|
|
5489
|
-
quantities_by_inventory: objectOf(() => factories['io.flow.flexe.v0.models.quantity_by_inventory']()),
|
|
5490
|
-
}),
|
|
5491
|
-
|
|
5492
|
-
'io.flow.flexe.v0.models.error': (): io.flow.flexe.v0.models.Error => ({
|
|
5493
|
-
url: factories.string(),
|
|
5494
|
-
client_request_id: factories.string(),
|
|
5495
|
-
generated_at: factories.string(),
|
|
5496
|
-
error: factories.string(),
|
|
5497
|
-
}),
|
|
5498
|
-
|
|
5499
|
-
'io.flow.flexe.v0.models.flexe_attachment': (): io.flow.flexe.v0.models.FlexeAttachment => ({
|
|
5500
|
-
type: factories['io.flow.flexe.v0.enums.flexe_attachment_type'](),
|
|
5501
|
-
display_name: factories.string(),
|
|
5502
|
-
url: factories.string(),
|
|
5503
|
-
}),
|
|
5504
|
-
|
|
5505
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillment => ({
|
|
5506
|
-
url: factories.string(),
|
|
5507
|
-
client_request_id: factories.string(),
|
|
5508
|
-
generated_at: factories.date_time_iso_8601(),
|
|
5509
|
-
data: factories['io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_data'](),
|
|
5510
|
-
|
|
5511
|
-
errors: arrayOf(
|
|
5512
|
-
() => factories['io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_errors'](),
|
|
5513
|
-
),
|
|
5514
|
-
}),
|
|
5515
|
-
|
|
5516
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_data': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData => ({
|
|
5517
|
-
import_id: factories.string(),
|
|
5518
|
-
succeeded_uuids: arrayOf(() => factories.string()),
|
|
5519
|
-
failed_uuids: arrayOf(() => factories.string()),
|
|
5520
|
-
errors: arrayOf(() => factories.string()),
|
|
5521
|
-
}),
|
|
5522
|
-
|
|
5523
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_errors': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors => ({
|
|
5524
|
-
status: factories.string(),
|
|
5525
|
-
title: factories.string(),
|
|
5526
|
-
detail: factories.string(),
|
|
5527
|
-
source: factories.string(),
|
|
5528
|
-
}),
|
|
5529
|
-
|
|
5530
|
-
'io.flow.flexe.v0.models.flexe_ecommerce_fulfillment_form': (): io.flow.flexe.v0.models.FlexeEcommerceFulfillmentForm => ({
|
|
5531
|
-
reservation_id: factories.integer(),
|
|
5532
|
-
client_request_id: factories.string(),
|
|
5533
|
-
request: factories['io.flow.flexe.v0.models.orders'](),
|
|
5534
|
-
}),
|
|
5535
|
-
|
|
5536
|
-
'io.flow.flexe.v0.models.flexe_inventory_data': (): io.flow.flexe.v0.models.FlexeInventoryData => ({
|
|
5537
|
-
sku: factories.string(),
|
|
5538
|
-
quantity: factories.string(),
|
|
5539
|
-
unit: factories.string(),
|
|
5540
|
-
}),
|
|
5541
|
-
|
|
5542
|
-
'io.flow.flexe.v0.models.flexe_retail_attachment': (): io.flow.flexe.v0.models.FlexeRetailAttachment => ({
|
|
5543
|
-
display_name: factories.string(),
|
|
5544
|
-
url: factories.string(),
|
|
5545
|
-
}),
|
|
5546
|
-
|
|
5547
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment': (): io.flow.flexe.v0.models.FlexeRetailFulfillment => ({
|
|
5548
|
-
url: factories.string(),
|
|
5549
|
-
client_request_id: factories.string(),
|
|
5550
|
-
generated_at: factories.date_time_iso_8601(),
|
|
5551
|
-
data: factories['io.flow.flexe.v0.models.flexe_retail_fulfillment_data'](),
|
|
5552
|
-
|
|
5553
|
-
errors: arrayOf(
|
|
5554
|
-
() => factories['io.flow.flexe.v0.models.flexe_retail_fulfillment_errors'](),
|
|
5555
|
-
),
|
|
5556
|
-
}),
|
|
5557
|
-
|
|
5558
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment_data': (): io.flow.flexe.v0.models.FlexeRetailFulfillmentData => ({
|
|
5559
|
-
id: factories.string(),
|
|
5560
|
-
purchase_order_uuid: factories.string(),
|
|
5561
|
-
status: factories.string(),
|
|
5562
|
-
}),
|
|
5563
|
-
|
|
5564
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment_errors': (): io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors => ({
|
|
5565
|
-
type: factories.string(),
|
|
5566
|
-
message: factories.string(),
|
|
5567
|
-
}),
|
|
5568
|
-
|
|
5569
|
-
'io.flow.flexe.v0.models.flexe_retail_fulfillment_form': (): io.flow.flexe.v0.models.FlexeRetailFulfillmentForm => ({
|
|
5570
|
-
reservation_id: factories.integer(),
|
|
5571
|
-
client_request_id: factories.string(),
|
|
5572
|
-
request: factories['io.flow.flexe.v0.models.retail_order'](),
|
|
5573
|
-
}),
|
|
5574
|
-
|
|
5575
|
-
'io.flow.flexe.v0.models.fulfillment_order_details': (): io.flow.flexe.v0.models.FulfillmentOrderDetails => ({
|
|
5576
|
-
shipment_uuid: factories.string(),
|
|
5577
|
-
carrier: factories.string(),
|
|
5578
|
-
carrier_id: factories.string(),
|
|
5579
|
-
}),
|
|
5580
|
-
|
|
5581
|
-
'io.flow.flexe.v0.models.gs1us': (): io.flow.flexe.v0.models.Gs1Us => ({
|
|
5582
|
-
number: factories.string(),
|
|
5583
|
-
ship_to: factories['io.flow.flexe.v0.models.gs1us_ship_to'](),
|
|
5584
|
-
bill_to: factories['io.flow.flexe.v0.models.bill_to'](),
|
|
5585
|
-
}),
|
|
5586
|
-
|
|
5587
|
-
'io.flow.flexe.v0.models.gs1us_ship_to': (): io.flow.flexe.v0.models.Gs1UsShipTo => ({
|
|
5588
|
-
cid_number: factories.string(),
|
|
5589
|
-
location_number: factories.string(),
|
|
5590
|
-
free_on_board: factories.boolean(),
|
|
5591
|
-
}),
|
|
5592
|
-
|
|
5593
|
-
'io.flow.flexe.v0.models.inventory': (): io.flow.flexe.v0.models.Inventory => ({
|
|
5594
|
-
url: factories.string(),
|
|
5595
|
-
client_request_id: factories.string(),
|
|
5596
|
-
generated_at: factories.date_time_iso_8601(),
|
|
5597
|
-
data: objectOf(() => factories['io.flow.flexe.v0.models.inventory_details']()),
|
|
5598
|
-
}),
|
|
5599
|
-
|
|
5600
|
-
'io.flow.flexe.v0.models.inventory_count': (): io.flow.flexe.v0.models.InventoryCount => ({
|
|
5601
|
-
amount: factories.integer(),
|
|
5602
|
-
unit: factories.string(),
|
|
5603
|
-
}),
|
|
5604
|
-
|
|
5605
|
-
'io.flow.flexe.v0.models.inventory_data': (): io.flow.flexe.v0.models.InventoryData => ({
|
|
5606
|
-
pallet: factories['io.flow.flexe.v0.models.inventory_count'](),
|
|
5607
|
-
carton: factories['io.flow.flexe.v0.models.inventory_count'](),
|
|
5608
|
-
each: factories['io.flow.flexe.v0.models.inventory_count'](),
|
|
5609
|
-
}),
|
|
5610
|
-
|
|
5611
|
-
'io.flow.flexe.v0.models.inventory_details': (): io.flow.flexe.v0.models.InventoryDetails => ({
|
|
5612
|
-
key: objectOf(() => factories['io.flow.flexe.v0.models.sku']()),
|
|
5613
|
-
}),
|
|
5614
|
-
|
|
5615
|
-
'io.flow.flexe.v0.models.lading_quantity': (): io.flow.flexe.v0.models.LadingQuantity => ({
|
|
5616
|
-
num_pallets: factories.integer(),
|
|
5617
|
-
}),
|
|
5618
|
-
|
|
5619
|
-
'io.flow.flexe.v0.models.order': (): io.flow.flexe.v0.models.Order => ({
|
|
5620
|
-
shipment_uuid: factories.string(),
|
|
5621
|
-
purchase_order: factories.string(),
|
|
5622
|
-
carrier: factories.string(),
|
|
5623
|
-
service_type: factories.string(),
|
|
5624
|
-
carrier_assigned_id: factories.string(),
|
|
5625
|
-
name: factories.string(),
|
|
5626
|
-
address_1: factories.string(),
|
|
5627
|
-
address_2: factories.string(),
|
|
5628
|
-
address_3: factories.string(),
|
|
5629
|
-
city: factories.string(),
|
|
5630
|
-
state: factories.string(),
|
|
5631
|
-
postal_code: factories.string(),
|
|
5632
|
-
phone: factories.string(),
|
|
5633
|
-
instructions: factories.string(),
|
|
5634
|
-
inventory_data: arrayOf(() => factories['io.flow.flexe.v0.models.flexe_inventory_data']()),
|
|
5635
|
-
attachments: arrayOf(() => factories['io.flow.flexe.v0.models.flexe_attachment']()),
|
|
5636
|
-
}),
|
|
5637
|
-
|
|
5638
|
-
'io.flow.flexe.v0.models.orders': (): io.flow.flexe.v0.models.Orders => ({
|
|
5639
|
-
orders: arrayOf(() => factories['io.flow.flexe.v0.models.order']()),
|
|
5640
|
-
}),
|
|
5641
|
-
|
|
5642
|
-
'io.flow.flexe.v0.models.pallet': (): io.flow.flexe.v0.models.Pallet => ({
|
|
5643
|
-
pallet_id: factories.string(),
|
|
5644
|
-
sku: factories.string(),
|
|
5645
|
-
quantity: factories.integer(),
|
|
5646
|
-
packaging: factories.string(),
|
|
5647
|
-
}),
|
|
5648
|
-
|
|
5649
|
-
'io.flow.flexe.v0.models.purchase_order': (): io.flow.flexe.v0.models.PurchaseOrder => ({
|
|
5650
|
-
retail_fulfillment_order_id: factories.string(),
|
|
5651
|
-
bill_of_lading_number: factories.string(),
|
|
5652
|
-
purchase_order_uuid: factories.string(),
|
|
5653
|
-
pickup_window_start: factories.date_time_iso_8601(),
|
|
5654
|
-
pickup_window_end: factories.date_time_iso_8601(),
|
|
5655
|
-
tags: arrayOf(() => factories.string()),
|
|
5656
|
-
}),
|
|
5657
|
-
|
|
5658
|
-
'io.flow.flexe.v0.models.quantity_by_inventory': (): io.flow.flexe.v0.models.QuantityByInventory => ({
|
|
5659
|
-
received: factories['io.flow.flexe.v0.models.inventory_data'](),
|
|
5660
|
-
expected: factories['io.flow.flexe.v0.models.inventory_data'](),
|
|
5661
|
-
damaged: factories['io.flow.flexe.v0.models.inventory_data'](),
|
|
5662
|
-
}),
|
|
5663
|
-
|
|
5664
|
-
'io.flow.flexe.v0.models.receipt_notification': (): io.flow.flexe.v0.models.ReceiptNotification => ({
|
|
5665
|
-
shipment_id: factories.string(),
|
|
5666
|
-
shipment_type: factories['io.flow.flexe.v0.enums.flexe_shipment_type'](),
|
|
5667
|
-
reservation_id: factories.string(),
|
|
5668
|
-
status: factories['io.flow.flexe.v0.enums.flexe_status'](),
|
|
5669
|
-
delivery_details: factories['io.flow.flexe.v0.models.delivery_details'](),
|
|
5670
|
-
container_delivery_details: factories['io.flow.flexe.v0.models.container_delivery_details'](),
|
|
5671
|
-
}),
|
|
5672
|
-
|
|
5673
|
-
'io.flow.flexe.v0.models.retail_fulfillment_order_details': (): io.flow.flexe.v0.models.RetailFulfillmentOrderDetails => ({
|
|
5674
|
-
master_bill_of_lading_number: factories.string(),
|
|
5675
|
-
scac: factories.string(),
|
|
5676
|
-
pro_number: factories.string(),
|
|
5677
|
-
purchase_orders: arrayOf(() => factories['io.flow.flexe.v0.models.purchase_order']()),
|
|
5678
|
-
lading_quantity: factories['io.flow.flexe.v0.models.lading_quantity'](),
|
|
5679
|
-
}),
|
|
5680
|
-
|
|
5681
|
-
'io.flow.flexe.v0.models.retail_inventory_data': (): io.flow.flexe.v0.models.RetailInventoryData => ({
|
|
5682
|
-
sku: factories.string(),
|
|
5683
|
-
quantity: factories.integer(),
|
|
5684
|
-
unit: factories.string(),
|
|
5685
|
-
attachments: arrayOf(() => factories['io.flow.flexe.v0.models.flexe_retail_attachment']()),
|
|
5686
|
-
}),
|
|
5687
|
-
|
|
5688
|
-
'io.flow.flexe.v0.models.retail_order': (): io.flow.flexe.v0.models.RetailOrder => ({
|
|
5689
|
-
order: factories['io.flow.flexe.v0.models.retail_order_data'](),
|
|
5690
|
-
}),
|
|
5691
|
-
|
|
5692
|
-
'io.flow.flexe.v0.models.retail_order_data': (): io.flow.flexe.v0.models.RetailOrderData => ({
|
|
5693
|
-
purchase_order_uuid: factories.string(),
|
|
5694
|
-
bill_of_lading: factories['io.flow.flexe.v0.models.bill_of_lading'](),
|
|
5695
|
-
inventory_data: arrayOf(() => factories['io.flow.flexe.v0.models.retail_inventory_data']()),
|
|
5696
|
-
ship_within: factories['io.flow.flexe.v0.models.ship_within'](),
|
|
5697
|
-
ship_to: factories['io.flow.flexe.v0.models.ship_to'](),
|
|
5698
|
-
build_by: factories.string(),
|
|
5699
|
-
instrunctions: factories.string(),
|
|
5700
|
-
routing_details_id: factories.string(),
|
|
5701
|
-
destination_type: factories.string(),
|
|
5702
|
-
}),
|
|
5703
|
-
|
|
5704
|
-
'io.flow.flexe.v0.models.ship_to': (): io.flow.flexe.v0.models.ShipTo => ({
|
|
5705
|
-
name: factories.string(),
|
|
5706
|
-
address_1: factories.string(),
|
|
5707
|
-
locality: factories.string(),
|
|
5708
|
-
region: factories.string(),
|
|
5709
|
-
postal_code: factories.string(),
|
|
5710
|
-
country: factories.string(),
|
|
5711
|
-
address_2: factories.string(),
|
|
5712
|
-
address_3: factories.string(),
|
|
5713
|
-
}),
|
|
5714
|
-
|
|
5715
|
-
'io.flow.flexe.v0.models.ship_within': (): io.flow.flexe.v0.models.ShipWithin => ({
|
|
5716
|
-
start: factories.string(),
|
|
5717
|
-
end: factories.string(),
|
|
5718
|
-
}),
|
|
5719
|
-
|
|
5720
|
-
'io.flow.flexe.v0.models.shipment_delivery_details': (): io.flow.flexe.v0.models.ShipmentDeliveryDetails => ({
|
|
5721
|
-
shipment_uuid: factories.string(),
|
|
5722
|
-
}),
|
|
5723
|
-
|
|
5724
|
-
'io.flow.flexe.v0.models.shipment_notification': (): io.flow.flexe.v0.models.ShipmentNotification => ({
|
|
5725
|
-
shipment_id: factories.string(),
|
|
5726
|
-
shipment_type: factories['io.flow.flexe.v0.enums.flexe_shipment_type'](),
|
|
5727
|
-
reservation_id: factories.string(),
|
|
5728
|
-
status: factories['io.flow.flexe.v0.enums.flexe_status'](),
|
|
5729
|
-
fulfillment_order_details: factories['io.flow.flexe.v0.models.fulfillment_order_details'](),
|
|
5730
|
-
retail_fulfillment_order_details: factories['io.flow.flexe.v0.models.retail_fulfillment_order_details'](),
|
|
5731
|
-
delivery_details: factories['io.flow.flexe.v0.models.shipment_delivery_details'](),
|
|
5732
|
-
carton_pick_delivery_details: factories['io.flow.flexe.v0.models.carton_pick_delivery_details'](),
|
|
5733
|
-
}),
|
|
5734
|
-
|
|
5735
|
-
'io.flow.flexe.v0.models.sku': (): io.flow.flexe.v0.models.Sku => ({
|
|
5736
|
-
sku: factories.string(),
|
|
5737
|
-
description: factories.string(),
|
|
5738
|
-
summary: objectOf(() => factories['io.flow.flexe.v0.models.sku_summary']()),
|
|
5739
|
-
}),
|
|
5740
|
-
|
|
5741
|
-
'io.flow.flexe.v0.models.sku_summary': (): io.flow.flexe.v0.models.SkuSummary => ({
|
|
5742
|
-
key: factories.string(),
|
|
5743
|
-
quantity: factories.integer(),
|
|
5744
|
-
unit: factories.string(),
|
|
5745
|
-
}),
|
|
5746
|
-
|
|
5747
5532
|
'io.flow.fraud.v0.enums.fraud_email_rule_decision': (): io.flow.fraud.v0.enums.FraudEmailRuleDecision => faker.helpers.arrayElement(['approved', 'declined']),
|
|
5748
5533
|
'io.flow.fraud.v0.enums.fraud_liability': (): io.flow.fraud.v0.enums.FraudLiability => faker.helpers.arrayElement(['flow', 'organization']),
|
|
5749
5534
|
'io.flow.fraud.v0.enums.fraud_status': (): io.flow.fraud.v0.enums.FraudStatus => faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']),
|
|
@@ -6858,6 +6643,7 @@ const factories = {
|
|
|
6858
6643
|
'io.flow.internal.v0.enums.address_configuration_setting_province_code': (): io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode => faker.helpers.arrayElement(['iso_3166_2', 'name']),
|
|
6859
6644
|
'io.flow.internal.v0.enums.adjustment_transaction_type': (): io.flow.internal.v0.enums.AdjustmentTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal']),
|
|
6860
6645
|
'io.flow.internal.v0.enums.adyen_integration_type': (): io.flow.internal.v0.enums.AdyenIntegrationType => faker.helpers.arrayElement(['hosted_payment_page', 'checkout_payments_api', 'classic_authorise_api']),
|
|
6646
|
+
'io.flow.internal.v0.enums.aldo_item_type': (): io.flow.internal.v0.enums.AldoItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6861
6647
|
'io.flow.internal.v0.enums.any_dangerous_goods': (): io.flow.internal.v0.enums.AnyDangerousGoods => faker.helpers.arrayElement(['yes', 'no', 'i_dont_know']),
|
|
6862
6648
|
'io.flow.internal.v0.enums.api_call_reference_id': (): io.flow.internal.v0.enums.ApiCallReferenceId => faker.helpers.arrayElement(['duty_rates_data_event', 'integration_test', 'unit_test']),
|
|
6863
6649
|
|
|
@@ -7207,7 +6993,6 @@ const factories = {
|
|
|
7207
6993
|
'io.flow.internal.v0.enums.classification_platform': (): io.flow.internal.v0.enums.ClassificationPlatform => faker.helpers.arrayElement(['GlobalE', 'Flow', 'Borderfree']),
|
|
7208
6994
|
'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML']),
|
|
7209
6995
|
'io.flow.internal.v0.enums.clothing_age_classification': (): io.flow.internal.v0.enums.ClothingAgeClassification => faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']),
|
|
7210
|
-
'io.flow.internal.v0.enums.colm_item_type': (): io.flow.internal.v0.enums.ColmItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7211
6996
|
'io.flow.internal.v0.enums.company': (): io.flow.internal.v0.enums.Company => faker.helpers.arrayElement(['globale', 'flow']),
|
|
7212
6997
|
'io.flow.internal.v0.enums.compliance_type': (): io.flow.internal.v0.enums.ComplianceType => faker.helpers.arrayElement(['weee']),
|
|
7213
6998
|
'io.flow.internal.v0.enums.content_element_type': (): io.flow.internal.v0.enums.ContentElementType => faker.helpers.arrayElement(['markdown', 'html', 'plain_text', 'href']),
|
|
@@ -7259,6 +7044,8 @@ const factories = {
|
|
|
7259
7044
|
'io.flow.internal.v0.enums.event_type': (): io.flow.internal.v0.enums.EventType => faker.helpers.arrayElement([
|
|
7260
7045
|
'adjusted_estimates_upserted',
|
|
7261
7046
|
'adjusted_estimates_deleted',
|
|
7047
|
+
'final_estimate_upserted',
|
|
7048
|
+
'final_estimate_deleted',
|
|
7262
7049
|
'adyen_authorization_deleted',
|
|
7263
7050
|
'adyen_authorization_upserted',
|
|
7264
7051
|
'adyen_cancel_deleted',
|
|
@@ -7269,6 +7056,8 @@ const factories = {
|
|
|
7269
7056
|
'adyen_refund_upserted',
|
|
7270
7057
|
'adyen_dispute_upserted',
|
|
7271
7058
|
'adyen_dispute_deleted',
|
|
7059
|
+
'aldo_item_upserted',
|
|
7060
|
+
'aldo_item_deleted',
|
|
7272
7061
|
'fulfillment_upserted',
|
|
7273
7062
|
'fulfillment_deleted',
|
|
7274
7063
|
'merchant_upserted',
|
|
@@ -7503,6 +7292,8 @@ const factories = {
|
|
|
7503
7292
|
'unassigned_merchant_guid_deleted',
|
|
7504
7293
|
'partner_tracking_subscription_upserted',
|
|
7505
7294
|
'partner_tracking_subscription_deleted',
|
|
7295
|
+
'spp_tracker_update_request_upserted',
|
|
7296
|
+
'spp_tracker_update_request_deleted',
|
|
7506
7297
|
'internal_authorization_upserted',
|
|
7507
7298
|
'internal_authorization_deleted',
|
|
7508
7299
|
'afterpay_authorization_upserted',
|
|
@@ -8835,6 +8626,41 @@ const factories = {
|
|
|
8835
8626
|
afterpay_refund: factories['io.flow.internal.v0.models.afterpay_refund'](),
|
|
8836
8627
|
}),
|
|
8837
8628
|
|
|
8629
|
+
'io.flow.internal.v0.models.aftership_webhook': (): io.flow.internal.v0.models.AftershipWebhook => ({
|
|
8630
|
+
placeholder: factories.boolean(),
|
|
8631
|
+
}),
|
|
8632
|
+
|
|
8633
|
+
'io.flow.internal.v0.models.aldo_item': (): io.flow.internal.v0.models.AldoItem => ({
|
|
8634
|
+
id: factories.string(),
|
|
8635
|
+
number: factories.string(),
|
|
8636
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
8637
|
+
description: factories.string(),
|
|
8638
|
+
type: factories['io.flow.internal.v0.enums.aldo_item_type'](),
|
|
8639
|
+
added_on: factories.date_iso_8601(),
|
|
8640
|
+
}),
|
|
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
|
+
|
|
8649
|
+
'io.flow.internal.v0.models.aldo_item_form': (): io.flow.internal.v0.models.AldoItemForm => ({
|
|
8650
|
+
number: factories.string(),
|
|
8651
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
8652
|
+
description: factories.string(),
|
|
8653
|
+
type: factories['io.flow.internal.v0.enums.aldo_item_type'](),
|
|
8654
|
+
added_on: factories.date_iso_8601(),
|
|
8655
|
+
}),
|
|
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
|
+
|
|
8838
8664
|
'io.flow.internal.v0.models.alert_error_summary': (): io.flow.internal.v0.models.AlertErrorSummary => ({
|
|
8839
8665
|
event_id: factories.long(),
|
|
8840
8666
|
error: factories.string(),
|
|
@@ -10741,23 +10567,6 @@ const factories = {
|
|
|
10741
10567
|
task: factories.string(),
|
|
10742
10568
|
}),
|
|
10743
10569
|
|
|
10744
|
-
'io.flow.internal.v0.models.colm_item': (): io.flow.internal.v0.models.ColmItem => ({
|
|
10745
|
-
id: factories.string(),
|
|
10746
|
-
number: factories.string(),
|
|
10747
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
10748
|
-
description: factories.string(),
|
|
10749
|
-
type: factories['io.flow.internal.v0.enums.colm_item_type'](),
|
|
10750
|
-
added_on: factories.date_iso_8601(),
|
|
10751
|
-
}),
|
|
10752
|
-
|
|
10753
|
-
'io.flow.internal.v0.models.colm_item_form': (): io.flow.internal.v0.models.ColmItemForm => ({
|
|
10754
|
-
number: factories.string(),
|
|
10755
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
10756
|
-
description: factories.string(),
|
|
10757
|
-
type: factories['io.flow.internal.v0.enums.colm_item_type'](),
|
|
10758
|
-
added_on: factories.date_iso_8601(),
|
|
10759
|
-
}),
|
|
10760
|
-
|
|
10761
10570
|
'io.flow.internal.v0.models.commercial_invoice_comparison': (): io.flow.internal.v0.models.CommercialInvoiceComparison => ({
|
|
10762
10571
|
urls: arrayOf(() => factories.string()),
|
|
10763
10572
|
}),
|
|
@@ -11155,6 +10964,12 @@ const factories = {
|
|
|
11155
10964
|
transaction_id: factories.string(),
|
|
11156
10965
|
}),
|
|
11157
10966
|
|
|
10967
|
+
'io.flow.internal.v0.models.debug_adjustment': (): io.flow.internal.v0.models.DebugAdjustment => ({
|
|
10968
|
+
transaction_id: factories.string(),
|
|
10969
|
+
original_transaction: factories['io.flow.internal.v0.models.debug_original_transaction_summary'](),
|
|
10970
|
+
description: factories.string(),
|
|
10971
|
+
}),
|
|
10972
|
+
|
|
11158
10973
|
'io.flow.internal.v0.models.debug_banking_details': (): io.flow.internal.v0.models.DebugBankingDetails => ({
|
|
11159
10974
|
merchant: factories['io.flow.internal.v0.models.merchant_details'](),
|
|
11160
10975
|
account: factories['io.flow.internal.v0.models.bank_account'](),
|
|
@@ -11172,6 +10987,7 @@ const factories = {
|
|
|
11172
10987
|
),
|
|
11173
10988
|
|
|
11174
10989
|
allocation: factories['io.flow.experience.v0.models.allocation_v2'](),
|
|
10990
|
+
adjustments: arrayOf(() => factories['io.flow.internal.v0.models.debug_adjustment']()),
|
|
11175
10991
|
}),
|
|
11176
10992
|
|
|
11177
10993
|
'io.flow.internal.v0.models.debug_fulfillment_delta': (): io.flow.internal.v0.models.DebugFulfillmentDelta => ({
|
|
@@ -11186,6 +11002,7 @@ const factories = {
|
|
|
11186
11002
|
carrier_tracking_number: factories.string(),
|
|
11187
11003
|
label_tracking_summary_id: factories.string(),
|
|
11188
11004
|
label_id: factories.string(),
|
|
11005
|
+
cost_estimate: factories['io.flow.label.v0.models.shipping_label_hop_summary'](),
|
|
11189
11006
|
|
|
11190
11007
|
transactions: arrayOf(
|
|
11191
11008
|
() => factories['io.flow.internal.v0.models.debug_label_transaction_summary'](),
|
|
@@ -11209,11 +11026,20 @@ const factories = {
|
|
|
11209
11026
|
'io.flow.internal.v0.models.debug_order_transaction': (): io.flow.internal.v0.models.DebugOrderTransaction => ({
|
|
11210
11027
|
order: factories['io.flow.internal.v0.models.debug_order'](),
|
|
11211
11028
|
debug: factories['io.flow.internal.v0.models.debug_details'](),
|
|
11212
|
-
|
|
11029
|
+
|
|
11030
|
+
transactions: arrayOf(
|
|
11031
|
+
() => factories['io.flow.internal.v0.models.debug_order_transaction_details'](),
|
|
11032
|
+
),
|
|
11033
|
+
|
|
11213
11034
|
reporting: factories['io.flow.internal.v0.models.reporting_details'](),
|
|
11214
11035
|
banking: factories['io.flow.internal.v0.models.debug_banking_details'](),
|
|
11215
11036
|
}),
|
|
11216
11037
|
|
|
11038
|
+
'io.flow.internal.v0.models.debug_order_transaction_details': (): io.flow.internal.v0.models.DebugOrderTransactionDetails => ({
|
|
11039
|
+
transaction: factories['io.flow.billing.v0.models.transaction'](),
|
|
11040
|
+
payout_details: factories['io.flow.billing.v0.unions.payout_status'](),
|
|
11041
|
+
}),
|
|
11042
|
+
|
|
11217
11043
|
'io.flow.internal.v0.models.debug_order_transaction_form': (): io.flow.internal.v0.models.DebugOrderTransactionForm => ({
|
|
11218
11044
|
order_id: factories.string(),
|
|
11219
11045
|
organization_id: factories.string(),
|
|
@@ -11235,6 +11061,11 @@ const factories = {
|
|
|
11235
11061
|
value: factories.string(),
|
|
11236
11062
|
}),
|
|
11237
11063
|
|
|
11064
|
+
'io.flow.internal.v0.models.debug_original_transaction_summary': (): io.flow.internal.v0.models.DebugOriginalTransactionSummary => ({
|
|
11065
|
+
id: factories.string(),
|
|
11066
|
+
source: factories['io.flow.billing.v0.enums.transaction_source'](),
|
|
11067
|
+
}),
|
|
11068
|
+
|
|
11238
11069
|
'io.flow.internal.v0.models.debug_payment_transaction_summary': (): io.flow.internal.v0.models.DebugPaymentTransactionSummary => ({
|
|
11239
11070
|
id: factories.string(),
|
|
11240
11071
|
type: factories.string(),
|
|
@@ -11521,6 +11352,8 @@ const factories = {
|
|
|
11521
11352
|
reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
|
|
11522
11353
|
category: factories['io.flow.internal.v0.enums.dispute_category'](),
|
|
11523
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(),
|
|
11524
11357
|
}),
|
|
11525
11358
|
|
|
11526
11359
|
'io.flow.internal.v0.models.dispute_record': (): io.flow.internal.v0.models.DisputeRecord => ({
|
|
@@ -12221,6 +12054,29 @@ const factories = {
|
|
|
12221
12054
|
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
12222
12055
|
}),
|
|
12223
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
|
+
|
|
12224
12080
|
'io.flow.internal.v0.models.finance_bank_account': (): io.flow.internal.v0.models.FinanceBankAccount => ({
|
|
12225
12081
|
id: factories.string(),
|
|
12226
12082
|
accounts: arrayOf(() => factories['io.flow.internal.v0.models.account_summary']()),
|
|
@@ -12357,6 +12213,10 @@ const factories = {
|
|
|
12357
12213
|
organization_capability: factories['io.flow.internal.v0.enums.organization_capability'](),
|
|
12358
12214
|
}),
|
|
12359
12215
|
|
|
12216
|
+
'io.flow.internal.v0.models.flexe_webhook': (): io.flow.internal.v0.models.FlexeWebhook => ({
|
|
12217
|
+
placeholder: factories.boolean(),
|
|
12218
|
+
}),
|
|
12219
|
+
|
|
12360
12220
|
'io.flow.internal.v0.models.flow_account': (): io.flow.internal.v0.models.FlowAccount => ({
|
|
12361
12221
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
12362
12222
|
id: factories.string(),
|
|
@@ -16835,6 +16695,12 @@ const factories = {
|
|
|
16835
16695
|
updated_at: factories.date_time_iso_8601(),
|
|
16836
16696
|
}),
|
|
16837
16697
|
|
|
16698
|
+
'io.flow.internal.v0.models.psp_routing_distribution_revision_form': (): io.flow.internal.v0.models.PspRoutingDistributionRevisionForm => ({
|
|
16699
|
+
previous_revision: factories.string(),
|
|
16700
|
+
description: factories.string(),
|
|
16701
|
+
psp_routing_distributions: arrayOf(() => factories['io.flow.internal.v0.models.psp_routing_distribution']()),
|
|
16702
|
+
}),
|
|
16703
|
+
|
|
16838
16704
|
'io.flow.internal.v0.models.public_hub': (): io.flow.internal.v0.models.PublicHub => ({
|
|
16839
16705
|
id: factories.string(),
|
|
16840
16706
|
code: factories.string(),
|
|
@@ -19127,6 +18993,26 @@ const factories = {
|
|
|
19127
18993
|
spot_rate: factories['io.flow.internal.v0.models.spot_rate'](),
|
|
19128
18994
|
}),
|
|
19129
18995
|
|
|
18996
|
+
'io.flow.internal.v0.models.spp_tracker_update_request': (): io.flow.internal.v0.models.SppTrackerUpdateRequest => ({
|
|
18997
|
+
id: factories.string(),
|
|
18998
|
+
tracking_subscription: factories['io.flow.internal.v0.models.tracking_subscription'](),
|
|
18999
|
+
created_at: factories.date_time_iso_8601(),
|
|
19000
|
+
}),
|
|
19001
|
+
|
|
19002
|
+
'io.flow.internal.v0.models.spp_tracker_update_request_deleted': (): io.flow.internal.v0.models.SppTrackerUpdateRequestDeleted => ({
|
|
19003
|
+
discriminator: 'spp_tracker_update_request_deleted',
|
|
19004
|
+
event_id: factories.string(),
|
|
19005
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19006
|
+
id: factories.string(),
|
|
19007
|
+
}),
|
|
19008
|
+
|
|
19009
|
+
'io.flow.internal.v0.models.spp_tracker_update_request_upserted': (): io.flow.internal.v0.models.SppTrackerUpdateRequestUpserted => ({
|
|
19010
|
+
discriminator: 'spp_tracker_update_request_upserted',
|
|
19011
|
+
event_id: factories.string(),
|
|
19012
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19013
|
+
spp_tracker_update_request: factories['io.flow.internal.v0.models.spp_tracker_update_request'](),
|
|
19014
|
+
}),
|
|
19015
|
+
|
|
19130
19016
|
'io.flow.internal.v0.models.standalone_attachment': (): io.flow.internal.v0.models.StandaloneAttachment => ({
|
|
19131
19017
|
id: factories.string(),
|
|
19132
19018
|
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
@@ -19952,6 +19838,10 @@ const factories = {
|
|
|
19952
19838
|
tracking_events: arrayOf(() => factories['io.flow.internal.v0.models.tracking_event']()),
|
|
19953
19839
|
}),
|
|
19954
19840
|
|
|
19841
|
+
'io.flow.internal.v0.models.tracking_resync': (): io.flow.internal.v0.models.TrackingResync => ({
|
|
19842
|
+
placeholder: factories.boolean(),
|
|
19843
|
+
}),
|
|
19844
|
+
|
|
19955
19845
|
'io.flow.internal.v0.models.tracking_subscription': (): io.flow.internal.v0.models.TrackingSubscription => ({
|
|
19956
19846
|
id: factories.string(),
|
|
19957
19847
|
organization_id: factories.string(),
|
|
@@ -19988,6 +19878,10 @@ const factories = {
|
|
|
19988
19878
|
tracking: factories['io.flow.tracking.v0.models.tracking'](),
|
|
19989
19879
|
}),
|
|
19990
19880
|
|
|
19881
|
+
'io.flow.internal.v0.models.tracking_webhook': (): io.flow.internal.v0.models.TrackingWebhook => ({
|
|
19882
|
+
placeholder: factories.boolean(),
|
|
19883
|
+
}),
|
|
19884
|
+
|
|
19991
19885
|
'io.flow.internal.v0.models.transaction_adjustment': (): io.flow.internal.v0.models.TransactionAdjustment => ({
|
|
19992
19886
|
id: factories.string(),
|
|
19993
19887
|
original_transaction: factories['io.flow.internal.v0.models.transaction_reference'](),
|
|
@@ -20529,6 +20423,8 @@ const factories = {
|
|
|
20529
20423
|
const f = faker.helpers.arrayElement([
|
|
20530
20424
|
() => factories['io.flow.internal.v0.models.adjusted_estimates_upserted'](),
|
|
20531
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'](),
|
|
20532
20428
|
() => factories['io.flow.internal.v0.models.adyen_authorization_deleted'](),
|
|
20533
20429
|
() => factories['io.flow.internal.v0.models.adyen_authorization_upserted'](),
|
|
20534
20430
|
() => factories['io.flow.internal.v0.models.adyen_cancel_deleted'](),
|
|
@@ -20539,6 +20435,8 @@ const factories = {
|
|
|
20539
20435
|
() => factories['io.flow.internal.v0.models.adyen_refund_upserted'](),
|
|
20540
20436
|
() => factories['io.flow.internal.v0.models.adyen_dispute_upserted'](),
|
|
20541
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'](),
|
|
20542
20440
|
() => factories['io.flow.internal.v0.models.fulfillment_upserted'](),
|
|
20543
20441
|
() => factories['io.flow.internal.v0.models.fulfillment_deleted'](),
|
|
20544
20442
|
() => factories['io.flow.internal.v0.models.merchant_upserted'](),
|
|
@@ -20773,6 +20671,8 @@ const factories = {
|
|
|
20773
20671
|
() => factories['io.flow.internal.v0.models.unassigned_merchant_guid_deleted'](),
|
|
20774
20672
|
() => factories['io.flow.internal.v0.models.partner_tracking_subscription_upserted'](),
|
|
20775
20673
|
() => factories['io.flow.internal.v0.models.partner_tracking_subscription_deleted'](),
|
|
20674
|
+
() => factories['io.flow.internal.v0.models.spp_tracker_update_request_upserted'](),
|
|
20675
|
+
() => factories['io.flow.internal.v0.models.spp_tracker_update_request_deleted'](),
|
|
20776
20676
|
() => factories['io.flow.internal.v0.models.internal_authorization_upserted'](),
|
|
20777
20677
|
() => factories['io.flow.internal.v0.models.internal_authorization_deleted'](),
|
|
20778
20678
|
() => factories['io.flow.internal.v0.models.afterpay_authorization_upserted'](),
|
|
@@ -30502,6 +30402,13 @@ const factories = {
|
|
|
30502
30402
|
transfer_group: factories.string(),
|
|
30503
30403
|
}),
|
|
30504
30404
|
|
|
30405
|
+
'io.flow.stripe.v0.models.payment_intents': (): io.flow.stripe.v0.models.PaymentIntents => ({
|
|
30406
|
+
object: factories.string(),
|
|
30407
|
+
data: arrayOf(() => factories['io.flow.stripe.v0.models.payment_intent']()),
|
|
30408
|
+
has_more: factories.boolean(),
|
|
30409
|
+
url: factories.string(),
|
|
30410
|
+
}),
|
|
30411
|
+
|
|
30505
30412
|
'io.flow.stripe.v0.models.payment_method': (): io.flow.stripe.v0.models.PaymentMethod => ({
|
|
30506
30413
|
id: factories.string(),
|
|
30507
30414
|
object: factories.string(),
|
|
@@ -31299,6 +31206,7 @@ const factories = {
|
|
|
31299
31206
|
timestamp: factories.date_time_iso_8601(),
|
|
31300
31207
|
description: factories.string(),
|
|
31301
31208
|
aggregator_status_code: factories.string(),
|
|
31209
|
+
created_at: factories.date_time_iso_8601(),
|
|
31302
31210
|
}),
|
|
31303
31211
|
|
|
31304
31212
|
'io.flow.tracking.v0.models.tracking_event_form': (): io.flow.tracking.v0.models.TrackingEventForm => ({
|
|
@@ -31559,6 +31467,12 @@ export const makeAfterpayCaptureUpserted = () => factories['io.flow.internal.v0.
|
|
|
31559
31467
|
export const makeAfterpayRefund = () => factories['io.flow.internal.v0.models.afterpay_refund']();
|
|
31560
31468
|
export const makeAfterpayRefundDeleted = () => factories['io.flow.internal.v0.models.afterpay_refund_deleted']();
|
|
31561
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']();
|
|
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']();
|
|
31473
|
+
export const makeAldoItemForm = () => factories['io.flow.internal.v0.models.aldo_item_form']();
|
|
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']();
|
|
31562
31476
|
export const makeAlertErrorSummary = () => factories['io.flow.internal.v0.models.alert_error_summary']();
|
|
31563
31477
|
export const makeAlertFailureSummary = () => factories['io.flow.internal.v0.models.alert_failure_summary']();
|
|
31564
31478
|
export const makeAlertFailureSummaryDetail = () => factories['io.flow.internal.v0.models.alert_failure_summary_detail']();
|
|
@@ -31870,9 +31784,6 @@ export const makeClassifiedProductDetail = () => factories['io.flow.internal.v0.
|
|
|
31870
31784
|
export const makeCliLogEntry = () => factories['io.flow.internal.v0.models.cli_log_entry']();
|
|
31871
31785
|
export const makeCliLogEntryForm = () => factories['io.flow.internal.v0.models.cli_log_entry_form']();
|
|
31872
31786
|
export const makeClothingAgeClassification = () => factories['io.flow.internal.v0.enums.clothing_age_classification']();
|
|
31873
|
-
export const makeColmItem = () => factories['io.flow.internal.v0.models.colm_item']();
|
|
31874
|
-
export const makeColmItemForm = () => factories['io.flow.internal.v0.models.colm_item_form']();
|
|
31875
|
-
export const makeColmItemType = () => factories['io.flow.internal.v0.enums.colm_item_type']();
|
|
31876
31787
|
export const makeCommercialInvoiceComparison = () => factories['io.flow.internal.v0.models.commercial_invoice_comparison']();
|
|
31877
31788
|
export const makeCommercialInvoiceInternal = () => factories['io.flow.internal.v0.models.commercial_invoice_internal']();
|
|
31878
31789
|
export const makeCommercialInvoiceInternalDeleted = () => factories['io.flow.internal.v0.models.commercial_invoice_internal_deleted']();
|
|
@@ -31932,6 +31843,7 @@ export const makeDailyValueDeleted = () => factories['io.flow.internal.v0.models
|
|
|
31932
31843
|
export const makeDailyValueUpserted = () => factories['io.flow.internal.v0.models.daily_value_upserted']();
|
|
31933
31844
|
export const makeDebugAccountingTransaction = () => factories['io.flow.internal.v0.models.debug_accounting_transaction']();
|
|
31934
31845
|
export const makeDebugAccountingTransactionType = () => factories['io.flow.internal.v0.enums.debug_accounting_transaction_type']();
|
|
31846
|
+
export const makeDebugAdjustment = () => factories['io.flow.internal.v0.models.debug_adjustment']();
|
|
31935
31847
|
export const makeDebugBankingDetails = () => factories['io.flow.internal.v0.models.debug_banking_details']();
|
|
31936
31848
|
export const makeDebugDetails = () => factories['io.flow.internal.v0.models.debug_details']();
|
|
31937
31849
|
export const makeDebugFulfillmentDelta = () => factories['io.flow.internal.v0.models.debug_fulfillment_delta']();
|
|
@@ -31939,8 +31851,10 @@ export const makeDebugLabel = () => factories['io.flow.internal.v0.models.debug_
|
|
|
31939
31851
|
export const makeDebugLabelTransactionSummary = () => factories['io.flow.internal.v0.models.debug_label_transaction_summary']();
|
|
31940
31852
|
export const makeDebugOrder = () => factories['io.flow.internal.v0.models.debug_order']();
|
|
31941
31853
|
export const makeDebugOrderTransaction = () => factories['io.flow.internal.v0.models.debug_order_transaction']();
|
|
31854
|
+
export const makeDebugOrderTransactionDetails = () => factories['io.flow.internal.v0.models.debug_order_transaction_details']();
|
|
31942
31855
|
export const makeDebugOrderTransactionForm = () => factories['io.flow.internal.v0.models.debug_order_transaction_form']();
|
|
31943
31856
|
export const makeDebugOrderTransactionFormOrderIdentifier = () => factories['io.flow.internal.v0.models.debug_order_transaction_form_order_identifier']();
|
|
31857
|
+
export const makeDebugOriginalTransactionSummary = () => factories['io.flow.internal.v0.models.debug_original_transaction_summary']();
|
|
31944
31858
|
export const makeDebugPaymentTransactionSummary = () => factories['io.flow.internal.v0.models.debug_payment_transaction_summary']();
|
|
31945
31859
|
export const makeDebugTransactionDetails = () => factories['io.flow.internal.v0.models.debug_transaction_details']();
|
|
31946
31860
|
export const makeDebugTransactionDetailsStatus = () => factories['io.flow.internal.v0.models.debug_transaction_details_status']();
|
|
@@ -32109,6 +32023,9 @@ export const makeFeedUpserted = () => factories['io.flow.internal.v0.models.feed
|
|
|
32109
32023
|
export const makeFeedsExport = () => factories['io.flow.internal.v0.models.feeds_export']();
|
|
32110
32024
|
export const makeFees = () => factories['io.flow.internal.v0.models.fees']();
|
|
32111
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']();
|
|
32112
32029
|
export const makeFinanceBankAccount = () => factories['io.flow.internal.v0.models.finance_bank_account']();
|
|
32113
32030
|
export const makeFinanceBankAccountOwner = () => factories['io.flow.internal.v0.models.finance_bank_account_owner']();
|
|
32114
32031
|
export const makeFinanceBankPayment = () => factories['io.flow.internal.v0.models.finance_bank_payment']();
|
|
@@ -32125,6 +32042,7 @@ export const makeFiservAuthenticationForm = () => factories['io.flow.internal.v0
|
|
|
32125
32042
|
export const makeFiservMerchant = () => factories['io.flow.internal.v0.models.fiserv_merchant']();
|
|
32126
32043
|
export const makeFiservMerchantModificationForm = () => factories['io.flow.internal.v0.models.fiserv_merchant_modification_form']();
|
|
32127
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']();
|
|
32128
32046
|
export const makeFlowAccount = () => factories['io.flow.internal.v0.models.flow_account']();
|
|
32129
32047
|
export const makeFlowApp = () => factories['io.flow.internal.v0.enums.flow_app']();
|
|
32130
32048
|
export const makeFlowBillingStatement = () => factories['io.flow.internal.v0.models.flow_billing_statement']();
|
|
@@ -32808,6 +32726,7 @@ export const makeProofOfPostingTimeElapsed = () => factories['io.flow.internal.v
|
|
|
32808
32726
|
export const makePspDistribution = () => factories['io.flow.internal.v0.models.psp_distribution']();
|
|
32809
32727
|
export const makePspRoutingDistribution = () => factories['io.flow.internal.v0.models.psp_routing_distribution']();
|
|
32810
32728
|
export const makePspRoutingDistributionRevision = () => factories['io.flow.internal.v0.models.psp_routing_distribution_revision']();
|
|
32729
|
+
export const makePspRoutingDistributionRevisionForm = () => factories['io.flow.internal.v0.models.psp_routing_distribution_revision_form']();
|
|
32811
32730
|
export const makePublicHub = () => factories['io.flow.internal.v0.models.public_hub']();
|
|
32812
32731
|
export const makePublicHubForm = () => factories['io.flow.internal.v0.models.public_hub_form']();
|
|
32813
32732
|
export const makeQuote = () => factories['io.flow.internal.v0.models.quote']();
|
|
@@ -33167,6 +33086,9 @@ export const makeSpotRateMetadataIdentity = () => factories['io.flow.internal.v0
|
|
|
33167
33086
|
export const makeSpotRateMetadataRate = () => factories['io.flow.internal.v0.models.spot_rate_metadata_rate']();
|
|
33168
33087
|
export const makeSpotRateUpserted = () => factories['io.flow.internal.v0.models.spot_rate_upserted']();
|
|
33169
33088
|
export const makeSpotRateVersion = () => factories['io.flow.internal.v0.models.spot_rate_version']();
|
|
33089
|
+
export const makeSppTrackerUpdateRequest = () => factories['io.flow.internal.v0.models.spp_tracker_update_request']();
|
|
33090
|
+
export const makeSppTrackerUpdateRequestDeleted = () => factories['io.flow.internal.v0.models.spp_tracker_update_request_deleted']();
|
|
33091
|
+
export const makeSppTrackerUpdateRequestUpserted = () => factories['io.flow.internal.v0.models.spp_tracker_update_request_upserted']();
|
|
33170
33092
|
export const makeStandaloneAttachment = () => factories['io.flow.internal.v0.models.standalone_attachment']();
|
|
33171
33093
|
export const makeStandaloneAttachmentDeleted = () => factories['io.flow.internal.v0.models.standalone_attachment_deleted']();
|
|
33172
33094
|
export const makeStandaloneAttachmentUpserted = () => factories['io.flow.internal.v0.models.standalone_attachment_upserted']();
|
|
@@ -33290,10 +33212,12 @@ export const makeTrackingProcessingErrorUpserted = () => factories['io.flow.inte
|
|
|
33290
33212
|
export const makeTrackingProcessingFailureClassification = () => factories['io.flow.internal.v0.enums.tracking_processing_failure_classification']();
|
|
33291
33213
|
export const makeTrackingRequest = () => factories['io.flow.internal.v0.models.tracking_request']();
|
|
33292
33214
|
export const makeTrackingResponse = () => factories['io.flow.internal.v0.models.tracking_response']();
|
|
33215
|
+
export const makeTrackingResync = () => factories['io.flow.internal.v0.models.tracking_resync']();
|
|
33293
33216
|
export const makeTrackingSubscription = () => factories['io.flow.internal.v0.models.tracking_subscription']();
|
|
33294
33217
|
export const makeTrackingSubscriptionDeleted = () => factories['io.flow.internal.v0.models.tracking_subscription_deleted']();
|
|
33295
33218
|
export const makeTrackingSubscriptionUpserted = () => factories['io.flow.internal.v0.models.tracking_subscription_upserted']();
|
|
33296
33219
|
export const makeTrackingUpserted = () => factories['io.flow.internal.v0.models.tracking_upserted']();
|
|
33220
|
+
export const makeTrackingWebhook = () => factories['io.flow.internal.v0.models.tracking_webhook']();
|
|
33297
33221
|
export const makeTransaction = () => factories['io.flow.internal.v0.unions.transaction']();
|
|
33298
33222
|
export const makeTransactionAdjustment = () => factories['io.flow.internal.v0.models.transaction_adjustment']();
|
|
33299
33223
|
export const makeTransactionAdjustmentForm = () => factories['io.flow.internal.v0.models.transaction_adjustment_form']();
|