@flowio/api-factories 0.0.100 → 0.0.102
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.js +599 -209
- package/dist/esm/api.js +543 -154
- package/dist/types/api.d.ts +22 -21
- package/package.json +2 -2
- package/src/api.ts +614 -172
package/src/api.ts
CHANGED
|
@@ -467,6 +467,181 @@ const factories = {
|
|
|
467
467
|
return f();
|
|
468
468
|
},
|
|
469
469
|
|
|
470
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction => faker.helpers.arrayElement(['auto_reject', 'auto_accept']),
|
|
471
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode => faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']),
|
|
472
|
+
|
|
473
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom => faker.helpers.arrayElement([
|
|
474
|
+
'cx_team',
|
|
475
|
+
'core_team',
|
|
476
|
+
'core_team_investigate',
|
|
477
|
+
'mex_team',
|
|
478
|
+
'payments_team',
|
|
479
|
+
'tc_team',
|
|
480
|
+
'logistics_team',
|
|
481
|
+
]),
|
|
482
|
+
|
|
483
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason => faker.helpers.arrayElement([
|
|
484
|
+
'unsupported_origin_country',
|
|
485
|
+
'unsupported_destination_country',
|
|
486
|
+
'domestic_order',
|
|
487
|
+
'order_contains_gift_card',
|
|
488
|
+
'order_contains_restricted_goods',
|
|
489
|
+
'missing_order_information',
|
|
490
|
+
'missing_classification_information',
|
|
491
|
+
'unsupported_payment_information',
|
|
492
|
+
'unsupported_shop_currency',
|
|
493
|
+
'unsupported_free_order',
|
|
494
|
+
'extracting_distribution_info_failed',
|
|
495
|
+
'shipping_estimation_failed',
|
|
496
|
+
'payment_authorization_failed',
|
|
497
|
+
'unsupported_subsidized_order',
|
|
498
|
+
'unsupported_virtual_goods',
|
|
499
|
+
'non_matching_currencies',
|
|
500
|
+
'unsupported_order_edit',
|
|
501
|
+
'order_missing',
|
|
502
|
+
]),
|
|
503
|
+
|
|
504
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
505
|
+
|
|
506
|
+
'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
|
|
507
|
+
currency: factories.string(),
|
|
508
|
+
channel_id: factories.string(),
|
|
509
|
+
capabilities: arrayOf(() => factories['io.flow.channel.v0.enums.channel_currency_capability']()),
|
|
510
|
+
}),
|
|
511
|
+
|
|
512
|
+
'io.flow.channel.internal.v0.models.channel_form': (): io.flow.channel.internal.v0.models.ChannelForm => ({
|
|
513
|
+
name: factories.string(),
|
|
514
|
+
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
515
|
+
organization_id_prefix: factories.string(),
|
|
516
|
+
}),
|
|
517
|
+
|
|
518
|
+
'io.flow.channel.internal.v0.models.channel_membership': (): io.flow.channel.internal.v0.models.ChannelMembership => ({
|
|
519
|
+
id: factories.string(),
|
|
520
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
521
|
+
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
522
|
+
role: factories['io.flow.common.v0.enums.role'](),
|
|
523
|
+
}),
|
|
524
|
+
|
|
525
|
+
'io.flow.channel.internal.v0.models.channel_membership_form': (): io.flow.channel.internal.v0.models.ChannelMembershipForm => ({
|
|
526
|
+
channel_id: factories.string(),
|
|
527
|
+
user_id: factories.string(),
|
|
528
|
+
role: factories['io.flow.common.v0.enums.role'](),
|
|
529
|
+
}),
|
|
530
|
+
|
|
531
|
+
'io.flow.channel.internal.v0.models.channel_membership_put_form': (): io.flow.channel.internal.v0.models.ChannelMembershipPutForm => ({
|
|
532
|
+
role: factories['io.flow.common.v0.enums.role'](),
|
|
533
|
+
}),
|
|
534
|
+
|
|
535
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptance => ({
|
|
536
|
+
id: factories.string(),
|
|
537
|
+
organization_id: factories.string(),
|
|
538
|
+
order_number: factories.string(),
|
|
539
|
+
channel_id: factories.string(),
|
|
540
|
+
external_order_reference: factories.string(),
|
|
541
|
+
payment_request_id: factories.string(),
|
|
542
|
+
order_edit_payment_request_ids: arrayOf(() => factories.string()),
|
|
543
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
544
|
+
|
|
545
|
+
reasons: arrayOf(
|
|
546
|
+
() => factories['io.flow.channel.internal.v0.models.channel_order_acceptance_reason'](),
|
|
547
|
+
),
|
|
548
|
+
|
|
549
|
+
next_action_from: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
550
|
+
order_created_at: factories.date_time_iso_8601(),
|
|
551
|
+
order_updated_at: factories.date_time_iso_8601(),
|
|
552
|
+
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
553
|
+
}),
|
|
554
|
+
|
|
555
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
|
|
556
|
+
order_acceptance: factories['io.flow.channel.internal.v0.models.channel_order_acceptance'](),
|
|
557
|
+
external_order: factories.object(),
|
|
558
|
+
}),
|
|
559
|
+
|
|
560
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance_failure': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceFailure => ({
|
|
561
|
+
id: factories.string(),
|
|
562
|
+
organization_id: factories.string(),
|
|
563
|
+
channel_id: factories.string(),
|
|
564
|
+
payment_request_id: factories.string(),
|
|
565
|
+
code: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code'](),
|
|
566
|
+
reason: factories.string(),
|
|
567
|
+
}),
|
|
568
|
+
|
|
569
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance_form': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceForm => ({
|
|
570
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
571
|
+
}),
|
|
572
|
+
|
|
573
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance_reason': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason => ({
|
|
574
|
+
description: factories.string(),
|
|
575
|
+
rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
|
|
576
|
+
}),
|
|
577
|
+
|
|
578
|
+
'io.flow.channel.internal.v0.models.flow_channel_organization': (): io.flow.channel.internal.v0.models.FlowChannelOrganization => ({
|
|
579
|
+
placeholder: factories.string(),
|
|
580
|
+
}),
|
|
581
|
+
|
|
582
|
+
'io.flow.channel.internal.v0.models.order_edit_summary': (): io.flow.channel.internal.v0.models.OrderEditSummary => ({
|
|
583
|
+
edited_at: factories.date_time_iso_8601(),
|
|
584
|
+
}),
|
|
585
|
+
|
|
586
|
+
'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
587
|
+
|
|
588
|
+
'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
|
|
589
|
+
id: factories.string(),
|
|
590
|
+
name: factories.string(),
|
|
591
|
+
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
592
|
+
organization_id_prefix: factories.string(),
|
|
593
|
+
}),
|
|
594
|
+
|
|
595
|
+
'io.flow.channel.v0.models.channel_authorization': (): io.flow.channel.v0.models.ChannelAuthorization => ({
|
|
596
|
+
placeholder: factories.string(),
|
|
597
|
+
}),
|
|
598
|
+
|
|
599
|
+
'io.flow.channel.v0.models.channel_authorization_form': (): io.flow.channel.v0.models.ChannelAuthorizationForm => ({
|
|
600
|
+
channel_id: factories.string(),
|
|
601
|
+
}),
|
|
602
|
+
|
|
603
|
+
'io.flow.channel.v0.models.channel_currency': (): io.flow.channel.v0.models.ChannelCurrency => ({
|
|
604
|
+
id: factories.string(),
|
|
605
|
+
currency: factories.string(),
|
|
606
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
607
|
+
capabilities: arrayOf(() => factories['io.flow.channel.v0.enums.channel_currency_capability']()),
|
|
608
|
+
}),
|
|
609
|
+
|
|
610
|
+
'io.flow.channel.v0.models.channel_organization': (): io.flow.channel.v0.models.ChannelOrganization => ({
|
|
611
|
+
id: factories.string(),
|
|
612
|
+
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
613
|
+
key: factories.string(),
|
|
614
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
615
|
+
name: factories.string(),
|
|
616
|
+
slug: factories.string(),
|
|
617
|
+
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
618
|
+
attributes: objectOf(() => factories.string()),
|
|
619
|
+
}),
|
|
620
|
+
|
|
621
|
+
'io.flow.channel.v0.models.channel_organization_authorization': (): io.flow.channel.v0.models.ChannelOrganizationAuthorization => ({
|
|
622
|
+
placeholder: factories.string(),
|
|
623
|
+
}),
|
|
624
|
+
|
|
625
|
+
'io.flow.channel.v0.models.channel_organization_authorization_form': (): io.flow.channel.v0.models.ChannelOrganizationAuthorizationForm => ({
|
|
626
|
+
channel_id: factories.string(),
|
|
627
|
+
organization_id: factories.string(),
|
|
628
|
+
}),
|
|
629
|
+
|
|
630
|
+
'io.flow.channel.v0.models.channel_organization_form': (): io.flow.channel.v0.models.ChannelOrganizationForm => ({
|
|
631
|
+
key: factories.string(),
|
|
632
|
+
name: factories.string(),
|
|
633
|
+
slug: factories.string(),
|
|
634
|
+
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
635
|
+
attributes: objectOf(() => factories.string()),
|
|
636
|
+
}),
|
|
637
|
+
|
|
638
|
+
'io.flow.channel.v0.models.channel_organization_put_form': (): io.flow.channel.v0.models.ChannelOrganizationPutForm => ({
|
|
639
|
+
name: factories.string(),
|
|
640
|
+
slug: factories.string(),
|
|
641
|
+
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
642
|
+
attributes: objectOf(() => factories.string()),
|
|
643
|
+
}),
|
|
644
|
+
|
|
470
645
|
'io.flow.common.v0.enums.attribute_data_type': (): io.flow.common.v0.enums.AttributeDataType => faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']),
|
|
471
646
|
'io.flow.common.v0.enums.availability_status': (): io.flow.common.v0.enums.AvailabilityStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
|
|
472
647
|
'io.flow.common.v0.enums.calendar': (): io.flow.common.v0.enums.Calendar => faker.helpers.arrayElement(['weekdays', 'everyday']),
|
|
@@ -2599,6 +2774,26 @@ const factories = {
|
|
|
2599
2774
|
return f();
|
|
2600
2775
|
},
|
|
2601
2776
|
|
|
2777
|
+
'io.flow.product.v0.models.product': (): io.flow.product.v0.models.Product => ({
|
|
2778
|
+
organization_id: factories.string(),
|
|
2779
|
+
number: factories.string(),
|
|
2780
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
2781
|
+
taxonomy_data: arrayOf(() => factories['io.flow.product.v0.models.product_taxonomy_data']()),
|
|
2782
|
+
item_numbers: arrayOf(() => factories.string()),
|
|
2783
|
+
updated_at: factories.date_time_iso_8601(),
|
|
2784
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
2785
|
+
}),
|
|
2786
|
+
|
|
2787
|
+
'io.flow.product.v0.models.product_taxonomy_category': (): io.flow.product.v0.models.ProductTaxonomyCategory => ({
|
|
2788
|
+
name: factories.string(),
|
|
2789
|
+
full_name: factories.string(),
|
|
2790
|
+
}),
|
|
2791
|
+
|
|
2792
|
+
'io.flow.product.v0.models.product_taxonomy_data': (): io.flow.product.v0.models.ProductTaxonomyData => ({
|
|
2793
|
+
key: factories.string(),
|
|
2794
|
+
value: arrayOf(() => factories.string()),
|
|
2795
|
+
}),
|
|
2796
|
+
|
|
2602
2797
|
'io.flow.query.builder.v0.enums.available_filter_format': (): io.flow.query.builder.v0.enums.AvailableFilterFormat => faker.helpers.arrayElement([
|
|
2603
2798
|
'boolean',
|
|
2604
2799
|
'date',
|
|
@@ -3027,6 +3222,18 @@ const factories = {
|
|
|
3027
3222
|
weight: factories['io.flow.shopify.external.v0.models.graphql_weight'](),
|
|
3028
3223
|
}),
|
|
3029
3224
|
|
|
3225
|
+
'io.flow.shopify.external.v0.models.graphql_metafield': (): io.flow.shopify.external.v0.models.GraphqlMetafield => ({
|
|
3226
|
+
id: factories.string(),
|
|
3227
|
+
key: factories.string(),
|
|
3228
|
+
value: factories.string(),
|
|
3229
|
+
type: factories.string(),
|
|
3230
|
+
}),
|
|
3231
|
+
|
|
3232
|
+
'io.flow.shopify.external.v0.models.graphql_metaobject': (): io.flow.shopify.external.v0.models.GraphqlMetaobject => ({
|
|
3233
|
+
id: factories.string(),
|
|
3234
|
+
displayName: factories.string(),
|
|
3235
|
+
}),
|
|
3236
|
+
|
|
3030
3237
|
'io.flow.shopify.external.v0.models.graphql_option': (): io.flow.shopify.external.v0.models.GraphqlOption => ({
|
|
3031
3238
|
id: factories.string(),
|
|
3032
3239
|
values: arrayOf(() => factories.string()),
|
|
@@ -3059,6 +3266,8 @@ const factories = {
|
|
|
3059
3266
|
createdAt: factories.date_time_iso_8601(),
|
|
3060
3267
|
updatedAt: factories.date_time_iso_8601(),
|
|
3061
3268
|
hasVariantsThatRequiresComponents: factories.boolean(),
|
|
3269
|
+
category: factories['io.flow.shopify.external.v0.models.graphql_taxonomy_category'](),
|
|
3270
|
+
metafields: arrayOf(() => factories['io.flow.shopify.external.v0.models.graphql_metafield']()),
|
|
3062
3271
|
}),
|
|
3063
3272
|
|
|
3064
3273
|
'io.flow.shopify.external.v0.models.graphql_product_image': (): io.flow.shopify.external.v0.models.GraphqlProductImage => ({
|
|
@@ -3082,6 +3291,11 @@ const factories = {
|
|
|
3082
3291
|
inventoryItem: factories['io.flow.shopify.external.v0.models.graphql_inventory_item'](),
|
|
3083
3292
|
}),
|
|
3084
3293
|
|
|
3294
|
+
'io.flow.shopify.external.v0.models.graphql_taxonomy_category': (): io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory => ({
|
|
3295
|
+
name: factories.string(),
|
|
3296
|
+
fullName: factories.string(),
|
|
3297
|
+
}),
|
|
3298
|
+
|
|
3085
3299
|
'io.flow.shopify.external.v0.models.graphql_variant_image': (): io.flow.shopify.external.v0.models.GraphqlVariantImage => ({
|
|
3086
3300
|
id: factories.string(),
|
|
3087
3301
|
}),
|
|
@@ -3199,6 +3413,8 @@ const factories = {
|
|
|
3199
3413
|
created_at: factories.date_time_iso_8601(),
|
|
3200
3414
|
updated_at: factories.date_time_iso_8601(),
|
|
3201
3415
|
has_variants_that_requires_components: factories.boolean(),
|
|
3416
|
+
category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
3417
|
+
metafields: arrayOf(() => factories['io.flow.shopify.external.v0.models.product_metafield']()),
|
|
3202
3418
|
}),
|
|
3203
3419
|
|
|
3204
3420
|
'io.flow.shopify.external.v0.models.product_delete': (): io.flow.shopify.external.v0.models.ProductDelete => ({
|
|
@@ -3216,6 +3432,17 @@ const factories = {
|
|
|
3216
3432
|
alt: factories.string(),
|
|
3217
3433
|
}),
|
|
3218
3434
|
|
|
3435
|
+
'io.flow.shopify.external.v0.models.product_metafield': (): io.flow.shopify.external.v0.models.ProductMetafield => ({
|
|
3436
|
+
id: factories.long(),
|
|
3437
|
+
namespace: factories.string(),
|
|
3438
|
+
key: factories.string(),
|
|
3439
|
+
value: factories.string(),
|
|
3440
|
+
created_at: factories.date_time_iso_8601(),
|
|
3441
|
+
updated_at: factories.date_time_iso_8601(),
|
|
3442
|
+
type: factories.string(),
|
|
3443
|
+
admin_graphql_api_id: factories.string(),
|
|
3444
|
+
}),
|
|
3445
|
+
|
|
3219
3446
|
'io.flow.shopify.external.v0.models.product_variant': (): io.flow.shopify.external.v0.models.ProductVariant => ({
|
|
3220
3447
|
id: factories.long(),
|
|
3221
3448
|
sku: factories.string(),
|
|
@@ -4458,9 +4685,61 @@ const factories = {
|
|
|
4458
4685
|
|
|
4459
4686
|
'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
|
|
4460
4687
|
'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']),
|
|
4688
|
+
'io.flow.stripe.v0.enums.reporting_report_run_status': (): io.flow.stripe.v0.enums.ReportingReportRunStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed']),
|
|
4689
|
+
|
|
4690
|
+
'io.flow.stripe.v0.enums.reporting_report_type': (): io.flow.stripe.v0.enums.ReportingReportType => faker.helpers.arrayElement([
|
|
4691
|
+
'ending_balance_reconciliation.itemized.1',
|
|
4692
|
+
'ending_balance_reconciliation.itemized.2',
|
|
4693
|
+
'ending_balance_reconciliation.itemized.3',
|
|
4694
|
+
'ending_balance_reconciliation.itemized.4',
|
|
4695
|
+
'payout_reconciliation.itemized.5',
|
|
4696
|
+
'payout_reconciliation.by_id.itemized.1',
|
|
4697
|
+
'payout_reconciliation.by_id.itemized.2',
|
|
4698
|
+
'payout_reconciliation.by_id.itemized.3',
|
|
4699
|
+
'payout_reconciliation.by_id.itemized.4',
|
|
4700
|
+
'payout_reconciliation.by_id.summary.1',
|
|
4701
|
+
'ending_balance_reconciliation.summary.1',
|
|
4702
|
+
'payout_reconciliation.itemized.1',
|
|
4703
|
+
'payout_reconciliation.itemized.2',
|
|
4704
|
+
'payout_reconciliation.itemized.3',
|
|
4705
|
+
'payout_reconciliation.itemized.4',
|
|
4706
|
+
'payout_reconciliation.summary.1',
|
|
4707
|
+
]),
|
|
4708
|
+
|
|
4461
4709
|
'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.helpers.arrayElement(['automatic', 'any']),
|
|
4462
4710
|
'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.helpers.arrayElement(['card_payments', 'legacy_payments', 'transfers']),
|
|
4463
4711
|
'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.helpers.arrayElement(['on_session', 'off_session']),
|
|
4712
|
+
|
|
4713
|
+
'io.flow.stripe.v0.enums.shopify_payment_stripe_event_type': (): io.flow.stripe.v0.enums.ShopifyPaymentStripeEventType => faker.helpers.arrayElement([
|
|
4714
|
+
'charge.captured',
|
|
4715
|
+
'charge.dispute.created',
|
|
4716
|
+
'charge.dispute.closed',
|
|
4717
|
+
'charge.dispute.funds_reinstated',
|
|
4718
|
+
'charge.dispute.funds_withdrawn',
|
|
4719
|
+
'charge.dispute.updated',
|
|
4720
|
+
'charge.expired',
|
|
4721
|
+
'charge.failed',
|
|
4722
|
+
'charge.pending',
|
|
4723
|
+
'charge.refund.updated',
|
|
4724
|
+
'charge.refunded',
|
|
4725
|
+
'charge.succeeded',
|
|
4726
|
+
'charge.updated',
|
|
4727
|
+
'payment_intent.amount_capturable_updated',
|
|
4728
|
+
'payment_intent.canceled',
|
|
4729
|
+
'payment_intent.created',
|
|
4730
|
+
'payment_intent.partially_funded',
|
|
4731
|
+
'payment_intent.payment_failed',
|
|
4732
|
+
'payment_intent.processing',
|
|
4733
|
+
'payment_intent.requires_action',
|
|
4734
|
+
'payment_intent.succeeded',
|
|
4735
|
+
'transfer.created',
|
|
4736
|
+
'transfer.reversed',
|
|
4737
|
+
'transfer.updated',
|
|
4738
|
+
'reporting.report_run.succeeded',
|
|
4739
|
+
'reporting.report_type.updated',
|
|
4740
|
+
'reporting.report_type.failed',
|
|
4741
|
+
]),
|
|
4742
|
+
|
|
4464
4743
|
'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.helpers.arrayElement(['redirect', 'receiver', 'code_verification', 'none']),
|
|
4465
4744
|
'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.helpers.arrayElement(['canceled', 'chargeable', 'consumed', 'failed', 'pending']),
|
|
4466
4745
|
|
|
@@ -5403,12 +5682,76 @@ const factories = {
|
|
|
5403
5682
|
url: factories.string(),
|
|
5404
5683
|
}),
|
|
5405
5684
|
|
|
5685
|
+
'io.flow.stripe.v0.models.report_run_parameters': (): io.flow.stripe.v0.models.ReportRunParameters => ({
|
|
5686
|
+
interval_start: factories.long(),
|
|
5687
|
+
interval_end: factories.long(),
|
|
5688
|
+
columns: arrayOf(() => factories.string()),
|
|
5689
|
+
payout: factories.string(),
|
|
5690
|
+
connected_account: factories.string(),
|
|
5691
|
+
reporting_category: factories.string(),
|
|
5692
|
+
}),
|
|
5693
|
+
|
|
5694
|
+
'io.flow.stripe.v0.models.reporting_report_run': (): io.flow.stripe.v0.models.ReportingReportRun => ({
|
|
5695
|
+
id: factories.string(),
|
|
5696
|
+
object: factories.string(),
|
|
5697
|
+
created: factories.long(),
|
|
5698
|
+
error: factories.string(),
|
|
5699
|
+
livemode: factories.boolean(),
|
|
5700
|
+
status: factories['io.flow.stripe.v0.enums.reporting_report_run_status'](),
|
|
5701
|
+
result: factories['io.flow.stripe.v0.models.reporting_report_run_result'](),
|
|
5702
|
+
succeeded_at: factories.long(),
|
|
5703
|
+
}),
|
|
5704
|
+
|
|
5705
|
+
'io.flow.stripe.v0.models.reporting_report_run_form': (): io.flow.stripe.v0.models.ReportingReportRunForm => ({
|
|
5706
|
+
report_type: factories['io.flow.stripe.v0.enums.reporting_report_type'](),
|
|
5707
|
+
parameters: factories['io.flow.stripe.v0.models.report_run_parameters'](),
|
|
5708
|
+
}),
|
|
5709
|
+
|
|
5710
|
+
'io.flow.stripe.v0.models.reporting_report_run_result': (): io.flow.stripe.v0.models.ReportingReportRunResult => ({
|
|
5711
|
+
id: factories.string(),
|
|
5712
|
+
object: factories.string(),
|
|
5713
|
+
created: factories.long(),
|
|
5714
|
+
expires_at: factories.long(),
|
|
5715
|
+
filename: factories.string(),
|
|
5716
|
+
links: factories.object(),
|
|
5717
|
+
purpose: factories.string(),
|
|
5718
|
+
size: factories.long(),
|
|
5719
|
+
title: factories.string(),
|
|
5720
|
+
type: factories.string(),
|
|
5721
|
+
url: factories.string(),
|
|
5722
|
+
}),
|
|
5723
|
+
|
|
5724
|
+
'io.flow.stripe.v0.models.reporting_report_runs': (): io.flow.stripe.v0.models.ReportingReportRuns => ({
|
|
5725
|
+
object: factories.string(),
|
|
5726
|
+
data: arrayOf(() => factories['io.flow.stripe.v0.models.reporting_report_run']()),
|
|
5727
|
+
has_more: factories.boolean(),
|
|
5728
|
+
url: factories.string(),
|
|
5729
|
+
}),
|
|
5730
|
+
|
|
5406
5731
|
'io.flow.stripe.v0.models.shipping': (): io.flow.stripe.v0.models.Shipping => ({
|
|
5407
5732
|
address: factories['io.flow.stripe.v0.models.address'](),
|
|
5408
5733
|
name: factories.string(),
|
|
5409
5734
|
phone: factories.string(),
|
|
5410
5735
|
}),
|
|
5411
5736
|
|
|
5737
|
+
'io.flow.stripe.v0.models.shopify_payment_stripe_event': (): io.flow.stripe.v0.models.ShopifyPaymentStripeEvent => ({
|
|
5738
|
+
id: factories.string(),
|
|
5739
|
+
api_version: factories.string(),
|
|
5740
|
+
data: factories['io.flow.stripe.v0.models.shopify_payment_stripe_event_data'](),
|
|
5741
|
+
request: factories.object(),
|
|
5742
|
+
type: factories['io.flow.stripe.v0.enums.shopify_payment_stripe_event_type'](),
|
|
5743
|
+
object: factories.string(),
|
|
5744
|
+
account: factories.string(),
|
|
5745
|
+
created: factories.long(),
|
|
5746
|
+
livemode: factories.boolean(),
|
|
5747
|
+
pending_webhooks: factories.integer(),
|
|
5748
|
+
}),
|
|
5749
|
+
|
|
5750
|
+
'io.flow.stripe.v0.models.shopify_payment_stripe_event_data': (): io.flow.stripe.v0.models.ShopifyPaymentStripeEventData => ({
|
|
5751
|
+
object: factories.object(),
|
|
5752
|
+
previous_attributes: factories.object(),
|
|
5753
|
+
}),
|
|
5754
|
+
|
|
5412
5755
|
'io.flow.stripe.v0.models.source': (): io.flow.stripe.v0.models.Source => ({
|
|
5413
5756
|
id: factories.string(),
|
|
5414
5757
|
object: factories.string(),
|
|
@@ -5701,6 +6044,7 @@ const factories = {
|
|
|
5701
6044
|
},
|
|
5702
6045
|
|
|
5703
6046
|
'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AldoItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6047
|
+
'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AnshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
5704
6048
|
|
|
5705
6049
|
'io.flow.tech.onboarding.playground.v0.models.aldo_item': (): io.flow.tech.onboarding.playground.v0.models.AldoItem => ({
|
|
5706
6050
|
id: factories.string(),
|
|
@@ -5719,6 +6063,23 @@ const factories = {
|
|
|
5719
6063
|
added_on: factories.date_iso_8601(),
|
|
5720
6064
|
}),
|
|
5721
6065
|
|
|
6066
|
+
'io.flow.tech.onboarding.playground.v0.models.ansh_item': (): io.flow.tech.onboarding.playground.v0.models.AnshItem => ({
|
|
6067
|
+
id: factories.string(),
|
|
6068
|
+
number: factories.string(),
|
|
6069
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
6070
|
+
description: factories.string(),
|
|
6071
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
|
|
6072
|
+
added_on: factories.date_iso_8601(),
|
|
6073
|
+
}),
|
|
6074
|
+
|
|
6075
|
+
'io.flow.tech.onboarding.playground.v0.models.ansh_item_form': (): io.flow.tech.onboarding.playground.v0.models.AnshItemForm => ({
|
|
6076
|
+
number: factories.string(),
|
|
6077
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
6078
|
+
description: factories.string(),
|
|
6079
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
|
|
6080
|
+
added_on: factories.date_iso_8601(),
|
|
6081
|
+
}),
|
|
6082
|
+
|
|
5722
6083
|
'io.flow.tech.onboarding.playground.v0.models.jean_demo_item': (): io.flow.tech.onboarding.playground.v0.models.JeanDemoItem => ({
|
|
5723
6084
|
id: factories.string(),
|
|
5724
6085
|
name: factories.string(),
|
|
@@ -5999,6 +6360,7 @@ const factories = {
|
|
|
5999
6360
|
'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']),
|
|
6000
6361
|
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.helpers.arrayElement(['insert', 'update', 'delete']),
|
|
6001
6362
|
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
6363
|
+
'io.flow.v0.enums.channel_shopify_order_state_reason_code': (): io.flow.v0.enums.ChannelShopifyOrderStateReasonCode => faker.helpers.arrayElement(['placeholder_reason_code']),
|
|
6002
6364
|
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
|
|
6003
6365
|
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
|
|
6004
6366
|
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
|
|
@@ -6075,10 +6437,14 @@ const factories = {
|
|
|
6075
6437
|
'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
|
|
6076
6438
|
|
|
6077
6439
|
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
6440
|
+
'authorization_retry_upserted',
|
|
6441
|
+
'authorization_retry_deleted',
|
|
6078
6442
|
'test_upserted',
|
|
6079
6443
|
'generate_load',
|
|
6080
6444
|
'aldo_item_upserted',
|
|
6081
6445
|
'aldo_item_deleted',
|
|
6446
|
+
'ansh_item_upserted',
|
|
6447
|
+
'ansh_item_deleted',
|
|
6082
6448
|
'transaction_upserted',
|
|
6083
6449
|
'organization_transaction_upserted',
|
|
6084
6450
|
'organization_transaction_deleted',
|
|
@@ -6105,10 +6471,6 @@ const factories = {
|
|
|
6105
6471
|
'catalog_deleted',
|
|
6106
6472
|
'subcatalog_upserted',
|
|
6107
6473
|
'subcatalog_deleted',
|
|
6108
|
-
'catalog_item_upserted',
|
|
6109
|
-
'catalog_item_deleted',
|
|
6110
|
-
'catalog_item_upserted_v2',
|
|
6111
|
-
'catalog_item_deleted_v2',
|
|
6112
6474
|
'subcatalog_item_upserted',
|
|
6113
6475
|
'subcatalog_item_deleted',
|
|
6114
6476
|
'catalog_statistics_upserted',
|
|
@@ -6116,6 +6478,8 @@ const factories = {
|
|
|
6116
6478
|
'item_inserted',
|
|
6117
6479
|
'item_updated',
|
|
6118
6480
|
'item_deleted',
|
|
6481
|
+
'channel_shopify_order_state_upserted',
|
|
6482
|
+
'channel_shopify_order_state_deleted',
|
|
6119
6483
|
'channel_upserted',
|
|
6120
6484
|
'channel_deleted',
|
|
6121
6485
|
'channel_currency_upserted',
|
|
@@ -6190,6 +6554,11 @@ const factories = {
|
|
|
6190
6554
|
'shipping_configuration_item_availability_deleted',
|
|
6191
6555
|
'shipping_configuration_item_shipping_pricing_upserted',
|
|
6192
6556
|
'shipping_configuration_item_shipping_pricing_deleted',
|
|
6557
|
+
'ge_item_inserted',
|
|
6558
|
+
'ge_item_updated',
|
|
6559
|
+
'ge_item_deleted',
|
|
6560
|
+
'ge_product_restriction_result_upserted',
|
|
6561
|
+
'ge_product_restriction_result_deleted',
|
|
6193
6562
|
'hs6_code_upserted',
|
|
6194
6563
|
'hs6_code_deleted',
|
|
6195
6564
|
'hs10_code_upserted',
|
|
@@ -6209,8 +6578,6 @@ const factories = {
|
|
|
6209
6578
|
'manifested_label_deleted',
|
|
6210
6579
|
'label_processing_modification_upserted',
|
|
6211
6580
|
'label_processing_modification_deleted',
|
|
6212
|
-
'local_item_upserted',
|
|
6213
|
-
'local_item_deleted',
|
|
6214
6581
|
'merchant_application_upserted',
|
|
6215
6582
|
'merchant_application_deleted',
|
|
6216
6583
|
'checkout_optin_responses_upserted',
|
|
@@ -6264,6 +6631,9 @@ const factories = {
|
|
|
6264
6631
|
'price_book_deleted',
|
|
6265
6632
|
'price_book_item_upserted',
|
|
6266
6633
|
'price_book_item_deleted',
|
|
6634
|
+
'product_inserted',
|
|
6635
|
+
'product_updated',
|
|
6636
|
+
'product_deleted',
|
|
6267
6637
|
'organization_rates_published',
|
|
6268
6638
|
'ratecard_lane_upserted',
|
|
6269
6639
|
'ratecard_lane_deleted',
|
|
@@ -6477,6 +6847,7 @@ const factories = {
|
|
|
6477
6847
|
]),
|
|
6478
6848
|
|
|
6479
6849
|
'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization', 'mixed']),
|
|
6850
|
+
'io.flow.v0.enums.order_payment_source_type': (): io.flow.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
6480
6851
|
|
|
6481
6852
|
'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.helpers.arrayElement([
|
|
6482
6853
|
'card',
|
|
@@ -6849,10 +7220,52 @@ const factories = {
|
|
|
6849
7220
|
'io.flow.v0.enums.stored_method_usage_step': (): io.flow.v0.enums.StoredMethodUsageStep => faker.helpers.arrayElement(['initial', 'subsequent']),
|
|
6850
7221
|
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
|
|
6851
7222
|
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
|
|
7223
|
+
|
|
7224
|
+
'io.flow.v0.enums.substatus_code': (): io.flow.v0.enums.SubstatusCode => faker.helpers.arrayElement([
|
|
7225
|
+
'Delivered_001',
|
|
7226
|
+
'Delivered_002',
|
|
7227
|
+
'Delivered_003',
|
|
7228
|
+
'Delivered_004',
|
|
7229
|
+
'AvailableForPickup_001',
|
|
7230
|
+
'Exception_001',
|
|
7231
|
+
'Exception_002',
|
|
7232
|
+
'Exception_003',
|
|
7233
|
+
'Exception_004',
|
|
7234
|
+
'Exception_005',
|
|
7235
|
+
'Exception_006',
|
|
7236
|
+
'Exception_007',
|
|
7237
|
+
'Exception_008',
|
|
7238
|
+
'Exception_009',
|
|
7239
|
+
'Exception_010',
|
|
7240
|
+
'Exception_011',
|
|
7241
|
+
'Exception_012',
|
|
7242
|
+
'Exception_013',
|
|
7243
|
+
'AttemptFail_001',
|
|
7244
|
+
'AttemptFail_002',
|
|
7245
|
+
'AttemptFail_003',
|
|
7246
|
+
'InTransit_001',
|
|
7247
|
+
'InTransit_002',
|
|
7248
|
+
'InTransit_003',
|
|
7249
|
+
'InTransit_004',
|
|
7250
|
+
'InTransit_005',
|
|
7251
|
+
'InTransit_006',
|
|
7252
|
+
'InTransit_007',
|
|
7253
|
+
'InTransit_008',
|
|
7254
|
+
'InTransit_009',
|
|
7255
|
+
'InfoReceived_001',
|
|
7256
|
+
'OutForDelivery_001',
|
|
7257
|
+
'OutForDelivery_003',
|
|
7258
|
+
'OutForDelivery_004',
|
|
7259
|
+
'Pending_001',
|
|
7260
|
+
'Pending_002',
|
|
7261
|
+
'Pending_003',
|
|
7262
|
+
'Pending_004',
|
|
7263
|
+
'Pending_005',
|
|
7264
|
+
'Pending_006',
|
|
7265
|
+
'Expired_001',
|
|
7266
|
+
]),
|
|
7267
|
+
|
|
6852
7268
|
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
6853
|
-
'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']),
|
|
6854
|
-
'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.helpers.arrayElement(['submitted_order', 'placed_order']),
|
|
6855
|
-
'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']),
|
|
6856
7269
|
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
6857
7270
|
'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.helpers.arrayElement(['consumer', 'b2b']),
|
|
6858
7271
|
'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']),
|
|
@@ -6878,6 +7291,8 @@ const factories = {
|
|
|
6878
7291
|
'exception',
|
|
6879
7292
|
'returned',
|
|
6880
7293
|
'expired',
|
|
7294
|
+
'unknown',
|
|
7295
|
+
'unmapped',
|
|
6881
7296
|
]),
|
|
6882
7297
|
|
|
6883
7298
|
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
|
|
@@ -6910,6 +7325,9 @@ const factories = {
|
|
|
6910
7325
|
'virtual_card_refund',
|
|
6911
7326
|
'failed_payout',
|
|
6912
7327
|
'tax_refund',
|
|
7328
|
+
'non_l4l_tax_duty_fx',
|
|
7329
|
+
'ge_revenue_share',
|
|
7330
|
+
'tax_duty_delta',
|
|
6913
7331
|
]),
|
|
6914
7332
|
|
|
6915
7333
|
'io.flow.v0.enums.trueup_source': (): io.flow.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
|
|
@@ -7416,6 +7834,20 @@ const factories = {
|
|
|
7416
7834
|
interval: factories['io.flow.v0.enums.unit_of_time'](),
|
|
7417
7835
|
}),
|
|
7418
7836
|
|
|
7837
|
+
'io.flow.v0.models.ansh_item_deleted': (): io.flow.v0.models.AnshItemDeleted => ({
|
|
7838
|
+
discriminator: 'ansh_item_deleted',
|
|
7839
|
+
event_id: factories.string(),
|
|
7840
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7841
|
+
id: factories.string(),
|
|
7842
|
+
}),
|
|
7843
|
+
|
|
7844
|
+
'io.flow.v0.models.ansh_item_upserted': (): io.flow.v0.models.AnshItemUpserted => ({
|
|
7845
|
+
discriminator: 'ansh_item_upserted',
|
|
7846
|
+
event_id: factories.string(),
|
|
7847
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7848
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.ansh_item'](),
|
|
7849
|
+
}),
|
|
7850
|
+
|
|
7419
7851
|
'io.flow.v0.models.apple_pay_merchant_validation_payload': (): io.flow.v0.models.ApplePayMerchantValidationPayload => ({
|
|
7420
7852
|
discriminator: 'apple_pay_merchant_validation_payload',
|
|
7421
7853
|
validation_url: factories.string(),
|
|
@@ -7603,6 +8035,33 @@ const factories = {
|
|
|
7603
8035
|
display: factories.string(),
|
|
7604
8036
|
}),
|
|
7605
8037
|
|
|
8038
|
+
'io.flow.v0.models.authorization_retry': (): io.flow.v0.models.AuthorizationRetry => ({
|
|
8039
|
+
id: factories.string(),
|
|
8040
|
+
authorization_request_id: factories.string(),
|
|
8041
|
+
authorization_id: factories.string(),
|
|
8042
|
+
organization_id: factories.string(),
|
|
8043
|
+
attempt: factories.integer(),
|
|
8044
|
+
last_failure_code: factories.string(),
|
|
8045
|
+
created_at: factories.date_time_iso_8601(),
|
|
8046
|
+
updated_at: factories.date_time_iso_8601(),
|
|
8047
|
+
}),
|
|
8048
|
+
|
|
8049
|
+
'io.flow.v0.models.authorization_retry_deleted': (): io.flow.v0.models.AuthorizationRetryDeleted => ({
|
|
8050
|
+
discriminator: 'authorization_retry_deleted',
|
|
8051
|
+
event_id: factories.string(),
|
|
8052
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8053
|
+
organization: factories.string(),
|
|
8054
|
+
id: factories.string(),
|
|
8055
|
+
}),
|
|
8056
|
+
|
|
8057
|
+
'io.flow.v0.models.authorization_retry_upserted': (): io.flow.v0.models.AuthorizationRetryUpserted => ({
|
|
8058
|
+
discriminator: 'authorization_retry_upserted',
|
|
8059
|
+
event_id: factories.string(),
|
|
8060
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8061
|
+
organization: factories.string(),
|
|
8062
|
+
authorization_retry: factories['io.flow.v0.models.authorization_retry'](),
|
|
8063
|
+
}),
|
|
8064
|
+
|
|
7606
8065
|
'io.flow.v0.models.authorization_status_changed': (): io.flow.v0.models.AuthorizationStatusChanged => ({
|
|
7607
8066
|
discriminator: 'authorization_status_changed',
|
|
7608
8067
|
event_id: factories.string(),
|
|
@@ -8041,6 +8500,7 @@ const factories = {
|
|
|
8041
8500
|
processor: factories['io.flow.v0.unions.expandable_payment_processor'](),
|
|
8042
8501
|
stored_method_usage_step: factories['io.flow.v0.enums.stored_method_usage_step'](),
|
|
8043
8502
|
authorized_at: factories.date_time_iso_8601(),
|
|
8503
|
+
authorization_request_id: factories.string(),
|
|
8044
8504
|
}),
|
|
8045
8505
|
|
|
8046
8506
|
'io.flow.v0.models.card_authorization_deleted_v2': (): io.flow.v0.models.CardAuthorizationDeletedV2 => ({
|
|
@@ -8198,6 +8658,11 @@ const factories = {
|
|
|
8198
8658
|
id: factories.string(),
|
|
8199
8659
|
}),
|
|
8200
8660
|
|
|
8661
|
+
'io.flow.v0.models.carrier_restrictions': (): io.flow.v0.models.CarrierRestrictions => ({
|
|
8662
|
+
carrier: factories.string(),
|
|
8663
|
+
regions: arrayOf(() => factories.string()),
|
|
8664
|
+
}),
|
|
8665
|
+
|
|
8201
8666
|
'io.flow.v0.models.carrier_service': (): io.flow.v0.models.CarrierService => ({
|
|
8202
8667
|
id: factories.string(),
|
|
8203
8668
|
carrier: factories['io.flow.v0.models.carrier'](),
|
|
@@ -8219,22 +8684,6 @@ const factories = {
|
|
|
8219
8684
|
organization: factories.string(),
|
|
8220
8685
|
}),
|
|
8221
8686
|
|
|
8222
|
-
'io.flow.v0.models.catalog_item_deleted': (): io.flow.v0.models.CatalogItemDeleted => ({
|
|
8223
|
-
discriminator: 'catalog_item_deleted',
|
|
8224
|
-
event_id: factories.string(),
|
|
8225
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8226
|
-
organization: factories.string(),
|
|
8227
|
-
number: factories.string(),
|
|
8228
|
-
}),
|
|
8229
|
-
|
|
8230
|
-
'io.flow.v0.models.catalog_item_deleted_v2': (): io.flow.v0.models.CatalogItemDeletedV2 => ({
|
|
8231
|
-
discriminator: 'catalog_item_deleted_v2',
|
|
8232
|
-
event_id: factories.string(),
|
|
8233
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8234
|
-
organization: factories.string(),
|
|
8235
|
-
item: factories['io.flow.v0.models.item'](),
|
|
8236
|
-
}),
|
|
8237
|
-
|
|
8238
8687
|
'io.flow.v0.models.catalog_item_document': (): io.flow.v0.models.CatalogItemDocument => ({
|
|
8239
8688
|
discriminator: 'catalog_item_document',
|
|
8240
8689
|
number: factories.string(),
|
|
@@ -8267,31 +8716,6 @@ const factories = {
|
|
|
8267
8716
|
attributes: objectOf(() => factories.string()),
|
|
8268
8717
|
}),
|
|
8269
8718
|
|
|
8270
|
-
'io.flow.v0.models.catalog_item_upserted': (): io.flow.v0.models.CatalogItemUpserted => ({
|
|
8271
|
-
discriminator: 'catalog_item_upserted',
|
|
8272
|
-
event_id: factories.string(),
|
|
8273
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8274
|
-
organization: factories.string(),
|
|
8275
|
-
number: factories.string(),
|
|
8276
|
-
locale: factories.string(),
|
|
8277
|
-
name: factories.string(),
|
|
8278
|
-
currency: factories.string(),
|
|
8279
|
-
price: factories.double(),
|
|
8280
|
-
categories: arrayOf(() => factories.string()),
|
|
8281
|
-
description: factories.string(),
|
|
8282
|
-
attributes: objectOf(() => factories.string()),
|
|
8283
|
-
dimensions: factories.object(),
|
|
8284
|
-
images: arrayOf(() => factories.object()),
|
|
8285
|
-
}),
|
|
8286
|
-
|
|
8287
|
-
'io.flow.v0.models.catalog_item_upserted_v2': (): io.flow.v0.models.CatalogItemUpsertedV2 => ({
|
|
8288
|
-
discriminator: 'catalog_item_upserted_v2',
|
|
8289
|
-
event_id: factories.string(),
|
|
8290
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8291
|
-
organization: factories.string(),
|
|
8292
|
-
item: factories['io.flow.v0.models.item'](),
|
|
8293
|
-
}),
|
|
8294
|
-
|
|
8295
8719
|
'io.flow.v0.models.catalog_price_book_item_document': (): io.flow.v0.models.CatalogPriceBookItemDocument => ({
|
|
8296
8720
|
price_book_key: factories.string(),
|
|
8297
8721
|
price_book_item_key: factories.string(),
|
|
@@ -8587,6 +9011,39 @@ const factories = {
|
|
|
8587
9011
|
id: factories.string(),
|
|
8588
9012
|
}),
|
|
8589
9013
|
|
|
9014
|
+
'io.flow.v0.models.channel_shopify_order_state': (): io.flow.v0.models.ChannelShopifyOrderState => ({
|
|
9015
|
+
id: factories.string(),
|
|
9016
|
+
shopify_order_summary: factories['io.flow.v0.models.channel_shopify_order_summary'](),
|
|
9017
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
9018
|
+
reasons: arrayOf(() => factories['io.flow.v0.models.channel_shopify_order_state_reason']()),
|
|
9019
|
+
}),
|
|
9020
|
+
|
|
9021
|
+
'io.flow.v0.models.channel_shopify_order_state_deleted': (): io.flow.v0.models.ChannelShopifyOrderStateDeleted => ({
|
|
9022
|
+
discriminator: 'channel_shopify_order_state_deleted',
|
|
9023
|
+
event_id: factories.string(),
|
|
9024
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9025
|
+
organization: factories.string(),
|
|
9026
|
+
id: factories.string(),
|
|
9027
|
+
}),
|
|
9028
|
+
|
|
9029
|
+
'io.flow.v0.models.channel_shopify_order_state_reason': (): io.flow.v0.models.ChannelShopifyOrderStateReason => ({
|
|
9030
|
+
code: factories['io.flow.v0.enums.channel_shopify_order_state_reason_code'](),
|
|
9031
|
+
message: factories.string(),
|
|
9032
|
+
}),
|
|
9033
|
+
|
|
9034
|
+
'io.flow.v0.models.channel_shopify_order_state_upserted': (): io.flow.v0.models.ChannelShopifyOrderStateUpserted => ({
|
|
9035
|
+
discriminator: 'channel_shopify_order_state_upserted',
|
|
9036
|
+
event_id: factories.string(),
|
|
9037
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9038
|
+
organization: factories.string(),
|
|
9039
|
+
channel_shopify_order_state: factories['io.flow.v0.models.channel_shopify_order_state'](),
|
|
9040
|
+
}),
|
|
9041
|
+
|
|
9042
|
+
'io.flow.v0.models.channel_shopify_order_summary': (): io.flow.v0.models.ChannelShopifyOrderSummary => ({
|
|
9043
|
+
order_id: factories.long(),
|
|
9044
|
+
shop_id: factories.long(),
|
|
9045
|
+
}),
|
|
9046
|
+
|
|
8590
9047
|
'io.flow.v0.models.channel_statement': (): io.flow.v0.models.ChannelStatement => ({
|
|
8591
9048
|
id: factories.string(),
|
|
8592
9049
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
@@ -9584,12 +10041,14 @@ const factories = {
|
|
|
9584
10041
|
q: factories.string(),
|
|
9585
10042
|
dimensions: factories['io.flow.v0.models.estimated_dimensions'](),
|
|
9586
10043
|
position: factories.long(),
|
|
10044
|
+
block_bulk_update: factories.boolean(),
|
|
9587
10045
|
}),
|
|
9588
10046
|
|
|
9589
10047
|
'io.flow.v0.models.dimension_estimate_form': (): io.flow.v0.models.DimensionEstimateForm => ({
|
|
9590
10048
|
q: factories.string(),
|
|
9591
10049
|
dimensions: factories['io.flow.v0.models.estimated_dimensions'](),
|
|
9592
10050
|
position: factories.long(),
|
|
10051
|
+
block_bulk_update: factories.boolean(),
|
|
9593
10052
|
}),
|
|
9594
10053
|
|
|
9595
10054
|
'io.flow.v0.models.dimension_estimate_version': (): io.flow.v0.models.DimensionEstimateVersion => ({
|
|
@@ -10565,6 +11024,46 @@ const factories = {
|
|
|
10565
11024
|
landed_costs: arrayOf(() => factories['io.flow.v0.models.lane_landed_cost']()),
|
|
10566
11025
|
}),
|
|
10567
11026
|
|
|
11027
|
+
'io.flow.v0.models.ge_item_deleted': (): io.flow.v0.models.GeItemDeleted => ({
|
|
11028
|
+
discriminator: 'ge_item_deleted',
|
|
11029
|
+
event_id: factories.string(),
|
|
11030
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11031
|
+
organization: factories.string(),
|
|
11032
|
+
item: factories['io.flow.v0.models.item'](),
|
|
11033
|
+
}),
|
|
11034
|
+
|
|
11035
|
+
'io.flow.v0.models.ge_item_inserted': (): io.flow.v0.models.GeItemInserted => ({
|
|
11036
|
+
discriminator: 'ge_item_inserted',
|
|
11037
|
+
event_id: factories.string(),
|
|
11038
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11039
|
+
organization: factories.string(),
|
|
11040
|
+
item: factories['io.flow.v0.models.item'](),
|
|
11041
|
+
}),
|
|
11042
|
+
|
|
11043
|
+
'io.flow.v0.models.ge_item_updated': (): io.flow.v0.models.GeItemUpdated => ({
|
|
11044
|
+
discriminator: 'ge_item_updated',
|
|
11045
|
+
event_id: factories.string(),
|
|
11046
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11047
|
+
organization: factories.string(),
|
|
11048
|
+
item: factories['io.flow.v0.models.item'](),
|
|
11049
|
+
}),
|
|
11050
|
+
|
|
11051
|
+
'io.flow.v0.models.ge_product_restriction_result_deleted': (): io.flow.v0.models.GeProductRestrictionResultDeleted => ({
|
|
11052
|
+
discriminator: 'ge_product_restriction_result_deleted',
|
|
11053
|
+
event_id: factories.string(),
|
|
11054
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11055
|
+
organization: factories.string(),
|
|
11056
|
+
id: factories.string(),
|
|
11057
|
+
}),
|
|
11058
|
+
|
|
11059
|
+
'io.flow.v0.models.ge_product_restriction_result_upserted': (): io.flow.v0.models.GeProductRestrictionResultUpserted => ({
|
|
11060
|
+
discriminator: 'ge_product_restriction_result_upserted',
|
|
11061
|
+
event_id: factories.string(),
|
|
11062
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11063
|
+
organization: factories.string(),
|
|
11064
|
+
ge_product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
|
|
11065
|
+
}),
|
|
11066
|
+
|
|
10568
11067
|
'io.flow.v0.models.generate_load': (): io.flow.v0.models.GenerateLoad => ({
|
|
10569
11068
|
discriminator: 'generate_load',
|
|
10570
11069
|
event_id: factories.string(),
|
|
@@ -11577,14 +12076,6 @@ const factories = {
|
|
|
11577
12076
|
price: factories['io.flow.v0.models.localized_item_price'](),
|
|
11578
12077
|
}),
|
|
11579
12078
|
|
|
11580
|
-
'io.flow.v0.models.local_item_deleted': (): io.flow.v0.models.LocalItemDeleted => ({
|
|
11581
|
-
discriminator: 'local_item_deleted',
|
|
11582
|
-
event_id: factories.string(),
|
|
11583
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11584
|
-
organization: factories.string(),
|
|
11585
|
-
local_item: factories['io.flow.v0.models.local_item'](),
|
|
11586
|
-
}),
|
|
11587
|
-
|
|
11588
12079
|
'io.flow.v0.models.local_item_pricing': (): io.flow.v0.models.LocalItemPricing => ({
|
|
11589
12080
|
price: factories['io.flow.v0.models.localized_item_price'](),
|
|
11590
12081
|
vat: factories['io.flow.v0.models.localized_item_vat'](),
|
|
@@ -11594,14 +12085,6 @@ const factories = {
|
|
|
11594
12085
|
price_attributes: objectOf(() => factories['io.flow.v0.models.local_item_attribute_pricing']()),
|
|
11595
12086
|
}),
|
|
11596
12087
|
|
|
11597
|
-
'io.flow.v0.models.local_item_upserted': (): io.flow.v0.models.LocalItemUpserted => ({
|
|
11598
|
-
discriminator: 'local_item_upserted',
|
|
11599
|
-
event_id: factories.string(),
|
|
11600
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11601
|
-
organization: factories.string(),
|
|
11602
|
-
local_item: factories['io.flow.v0.models.local_item'](),
|
|
11603
|
-
}),
|
|
11604
|
-
|
|
11605
12088
|
'io.flow.v0.models.local_price_details': (): io.flow.v0.models.LocalPriceDetails => ({
|
|
11606
12089
|
base: factories['io.flow.v0.models.price_details'](),
|
|
11607
12090
|
local: factories['io.flow.v0.models.price_details'](),
|
|
@@ -12077,6 +12560,7 @@ const factories = {
|
|
|
12077
12560
|
processor: factories['io.flow.v0.unions.expandable_payment_processor'](),
|
|
12078
12561
|
confirmation_details: factories['io.flow.v0.unions.confirmation_details'](),
|
|
12079
12562
|
authorized_at: factories.date_time_iso_8601(),
|
|
12563
|
+
authorization_request_id: factories.string(),
|
|
12080
12564
|
}),
|
|
12081
12565
|
|
|
12082
12566
|
'io.flow.v0.models.online_authorization_deleted_v2': (): io.flow.v0.models.OnlineAuthorizationDeletedV2 => ({
|
|
@@ -12153,6 +12637,7 @@ const factories = {
|
|
|
12153
12637
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
12154
12638
|
destination_contact_details: arrayOf(() => factories['io.flow.v0.models.destination_contact_detail']()),
|
|
12155
12639
|
incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
|
|
12640
|
+
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
12156
12641
|
}),
|
|
12157
12642
|
|
|
12158
12643
|
'io.flow.v0.models.order_address': (): io.flow.v0.models.OrderAddress => ({
|
|
@@ -12296,6 +12781,7 @@ const factories = {
|
|
|
12296
12781
|
authorization_keys: arrayOf(() => factories.string()),
|
|
12297
12782
|
options: factories['io.flow.v0.models.order_options'](),
|
|
12298
12783
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
12784
|
+
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
12299
12785
|
}),
|
|
12300
12786
|
|
|
12301
12787
|
'io.flow.v0.models.order_fraud_status': (): io.flow.v0.models.OrderFraudStatus => ({
|
|
@@ -12515,6 +13001,7 @@ const factories = {
|
|
|
12515
13001
|
authorization_keys: arrayOf(() => factories.string()),
|
|
12516
13002
|
options: factories['io.flow.v0.models.order_options'](),
|
|
12517
13003
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
13004
|
+
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
12518
13005
|
}),
|
|
12519
13006
|
|
|
12520
13007
|
'io.flow.v0.models.order_reference': (): io.flow.v0.models.OrderReference => ({
|
|
@@ -14073,10 +14560,6 @@ const factories = {
|
|
|
14073
14560
|
id: factories.string(),
|
|
14074
14561
|
}),
|
|
14075
14562
|
|
|
14076
|
-
'io.flow.v0.models.price_book_item_export_options': (): io.flow.v0.models.PriceBookItemExportOptions => ({
|
|
14077
|
-
available_identifiers: arrayOf(() => factories['io.flow.v0.enums.item_identifier']()),
|
|
14078
|
-
}),
|
|
14079
|
-
|
|
14080
14563
|
'io.flow.v0.models.price_book_item_export_type': (): io.flow.v0.models.PriceBookItemExportType => ({
|
|
14081
14564
|
discriminator: 'price_book_item_export_type',
|
|
14082
14565
|
price_book_key: factories.string(),
|
|
@@ -14266,7 +14749,6 @@ const factories = {
|
|
|
14266
14749
|
}),
|
|
14267
14750
|
|
|
14268
14751
|
'io.flow.v0.models.product': (): io.flow.v0.models.Product => ({
|
|
14269
|
-
id: factories.string(),
|
|
14270
14752
|
organization_id: factories.string(),
|
|
14271
14753
|
number: factories.string(),
|
|
14272
14754
|
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
@@ -14276,6 +14758,22 @@ const factories = {
|
|
|
14276
14758
|
deleted_at: factories.date_time_iso_8601(),
|
|
14277
14759
|
}),
|
|
14278
14760
|
|
|
14761
|
+
'io.flow.v0.models.product_deleted': (): io.flow.v0.models.ProductDeleted => ({
|
|
14762
|
+
discriminator: 'product_deleted',
|
|
14763
|
+
event_id: factories.string(),
|
|
14764
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14765
|
+
organization: factories.string(),
|
|
14766
|
+
product: factories['io.flow.v0.models.product'](),
|
|
14767
|
+
}),
|
|
14768
|
+
|
|
14769
|
+
'io.flow.v0.models.product_inserted': (): io.flow.v0.models.ProductInserted => ({
|
|
14770
|
+
discriminator: 'product_inserted',
|
|
14771
|
+
event_id: factories.string(),
|
|
14772
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14773
|
+
organization: factories.string(),
|
|
14774
|
+
product: factories['io.flow.v0.models.product'](),
|
|
14775
|
+
}),
|
|
14776
|
+
|
|
14279
14777
|
'io.flow.v0.models.product_restriction_result': (): io.flow.v0.models.ProductRestrictionResult => ({
|
|
14280
14778
|
id: factories.string(),
|
|
14281
14779
|
product_id: factories.string(),
|
|
@@ -14307,7 +14805,7 @@ const factories = {
|
|
|
14307
14805
|
|
|
14308
14806
|
'io.flow.v0.models.product_taxonomy_category': (): io.flow.v0.models.ProductTaxonomyCategory => ({
|
|
14309
14807
|
name: factories.string(),
|
|
14310
|
-
|
|
14808
|
+
full_name: factories.string(),
|
|
14311
14809
|
}),
|
|
14312
14810
|
|
|
14313
14811
|
'io.flow.v0.models.product_taxonomy_data': (): io.flow.v0.models.ProductTaxonomyData => ({
|
|
@@ -14315,6 +14813,14 @@ const factories = {
|
|
|
14315
14813
|
value: arrayOf(() => factories.string()),
|
|
14316
14814
|
}),
|
|
14317
14815
|
|
|
14816
|
+
'io.flow.v0.models.product_updated': (): io.flow.v0.models.ProductUpdated => ({
|
|
14817
|
+
discriminator: 'product_updated',
|
|
14818
|
+
event_id: factories.string(),
|
|
14819
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14820
|
+
organization: factories.string(),
|
|
14821
|
+
product: factories['io.flow.v0.models.product'](),
|
|
14822
|
+
}),
|
|
14823
|
+
|
|
14318
14824
|
'io.flow.v0.models.promotion_trigger': (): io.flow.v0.models.PromotionTrigger => ({
|
|
14319
14825
|
type: factories['io.flow.v0.enums.promotion_trigger_type'](),
|
|
14320
14826
|
min: factories['io.flow.v0.models.price'](),
|
|
@@ -16212,79 +16718,6 @@ const factories = {
|
|
|
16212
16718
|
available: arrayOf(() => factories['io.flow.v0.models.surcharge_responsible_party_display']()),
|
|
16213
16719
|
}),
|
|
16214
16720
|
|
|
16215
|
-
'io.flow.v0.models.sync_duration': (): io.flow.v0.models.SyncDuration => ({
|
|
16216
|
-
unit: factories['io.flow.v0.enums.sync_unit_of_time'](),
|
|
16217
|
-
value: factories.long(),
|
|
16218
|
-
}),
|
|
16219
|
-
|
|
16220
|
-
'io.flow.v0.models.sync_pending_record': (): io.flow.v0.models.SyncPendingRecord => ({
|
|
16221
|
-
id: factories.string(),
|
|
16222
|
-
stream: factories['io.flow.v0.models.sync_stream_reference'](),
|
|
16223
|
-
value: factories.string(),
|
|
16224
|
-
system: factories.string(),
|
|
16225
|
-
}),
|
|
16226
|
-
|
|
16227
|
-
'io.flow.v0.models.sync_record': (): io.flow.v0.models.SyncRecord => ({
|
|
16228
|
-
id: factories.string(),
|
|
16229
|
-
system: factories.string(),
|
|
16230
|
-
value: factories.string(),
|
|
16231
|
-
stream: factories['io.flow.v0.models.sync_stream_reference'](),
|
|
16232
|
-
}),
|
|
16233
|
-
|
|
16234
|
-
'io.flow.v0.models.sync_record_failure': (): io.flow.v0.models.SyncRecordFailure => ({
|
|
16235
|
-
id: factories.string(),
|
|
16236
|
-
stream: factories['io.flow.v0.models.sync_stream_reference'](),
|
|
16237
|
-
value: factories.string(),
|
|
16238
|
-
system: factories.string(),
|
|
16239
|
-
reason: factories['io.flow.v0.enums.sync_record_failure_reason'](),
|
|
16240
|
-
attributes: objectOf(() => factories.string()),
|
|
16241
|
-
}),
|
|
16242
|
-
|
|
16243
|
-
'io.flow.v0.models.sync_record_failure_form': (): io.flow.v0.models.SyncRecordFailureForm => ({
|
|
16244
|
-
stream_key: factories.string(),
|
|
16245
|
-
value: factories.string(),
|
|
16246
|
-
system: factories.string(),
|
|
16247
|
-
reason: factories['io.flow.v0.enums.sync_record_failure_reason'](),
|
|
16248
|
-
attributes: objectOf(() => factories.string()),
|
|
16249
|
-
}),
|
|
16250
|
-
|
|
16251
|
-
'io.flow.v0.models.sync_record_form': (): io.flow.v0.models.SyncRecordForm => ({
|
|
16252
|
-
stream_key: factories.string(),
|
|
16253
|
-
system: factories.string(),
|
|
16254
|
-
value: factories.string(),
|
|
16255
|
-
}),
|
|
16256
|
-
|
|
16257
|
-
'io.flow.v0.models.sync_stream': (): io.flow.v0.models.SyncStream => ({
|
|
16258
|
-
id: factories.string(),
|
|
16259
|
-
key: factories.string(),
|
|
16260
|
-
type: factories['io.flow.v0.enums.sync_stream_type'](),
|
|
16261
|
-
systems: arrayOf(() => factories.string()),
|
|
16262
|
-
settings: factories['io.flow.v0.models.sync_stream_settings'](),
|
|
16263
|
-
}),
|
|
16264
|
-
|
|
16265
|
-
'io.flow.v0.models.sync_stream_form': (): io.flow.v0.models.SyncStreamForm => ({
|
|
16266
|
-
type: factories['io.flow.v0.enums.sync_stream_type'](),
|
|
16267
|
-
systems: arrayOf(() => factories.string()),
|
|
16268
|
-
settings: factories['io.flow.v0.models.sync_stream_settings_form'](),
|
|
16269
|
-
}),
|
|
16270
|
-
|
|
16271
|
-
'io.flow.v0.models.sync_stream_reference': (): io.flow.v0.models.SyncStreamReference => ({
|
|
16272
|
-
id: factories.string(),
|
|
16273
|
-
key: factories.string(),
|
|
16274
|
-
}),
|
|
16275
|
-
|
|
16276
|
-
'io.flow.v0.models.sync_stream_settings': (): io.flow.v0.models.SyncStreamSettings => ({
|
|
16277
|
-
pending_record_after: factories['io.flow.v0.models.sync_duration'](),
|
|
16278
|
-
warn_after: factories['io.flow.v0.models.sync_duration'](),
|
|
16279
|
-
error_after: factories['io.flow.v0.models.sync_duration'](),
|
|
16280
|
-
}),
|
|
16281
|
-
|
|
16282
|
-
'io.flow.v0.models.sync_stream_settings_form': (): io.flow.v0.models.SyncStreamSettingsForm => ({
|
|
16283
|
-
pending_record_after: factories['io.flow.v0.models.sync_duration'](),
|
|
16284
|
-
warn_after: factories['io.flow.v0.models.sync_duration'](),
|
|
16285
|
-
error_after: factories['io.flow.v0.models.sync_duration'](),
|
|
16286
|
-
}),
|
|
16287
|
-
|
|
16288
16721
|
'io.flow.v0.models.tax': (): io.flow.v0.models.Tax => ({
|
|
16289
16722
|
name: factories.string(),
|
|
16290
16723
|
rate: factories.decimal(),
|
|
@@ -17366,10 +17799,14 @@ const factories = {
|
|
|
17366
17799
|
|
|
17367
17800
|
'io.flow.v0.unions.event': (): io.flow.v0.unions.Event => {
|
|
17368
17801
|
const f = faker.helpers.arrayElement([
|
|
17802
|
+
() => factories['io.flow.v0.models.authorization_retry_upserted'](),
|
|
17803
|
+
() => factories['io.flow.v0.models.authorization_retry_deleted'](),
|
|
17369
17804
|
() => factories['io.flow.v0.models.test_upserted'](),
|
|
17370
17805
|
() => factories['io.flow.v0.models.generate_load'](),
|
|
17371
17806
|
() => factories['io.flow.v0.models.aldo_item_upserted'](),
|
|
17372
17807
|
() => factories['io.flow.v0.models.aldo_item_deleted'](),
|
|
17808
|
+
() => factories['io.flow.v0.models.ansh_item_upserted'](),
|
|
17809
|
+
() => factories['io.flow.v0.models.ansh_item_deleted'](),
|
|
17373
17810
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
17374
17811
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
17375
17812
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -17396,10 +17833,6 @@ const factories = {
|
|
|
17396
17833
|
() => factories['io.flow.v0.models.catalog_deleted'](),
|
|
17397
17834
|
() => factories['io.flow.v0.models.subcatalog_upserted'](),
|
|
17398
17835
|
() => factories['io.flow.v0.models.subcatalog_deleted'](),
|
|
17399
|
-
() => factories['io.flow.v0.models.catalog_item_upserted'](),
|
|
17400
|
-
() => factories['io.flow.v0.models.catalog_item_deleted'](),
|
|
17401
|
-
() => factories['io.flow.v0.models.catalog_item_upserted_v2'](),
|
|
17402
|
-
() => factories['io.flow.v0.models.catalog_item_deleted_v2'](),
|
|
17403
17836
|
() => factories['io.flow.v0.models.subcatalog_item_upserted'](),
|
|
17404
17837
|
() => factories['io.flow.v0.models.subcatalog_item_deleted'](),
|
|
17405
17838
|
() => factories['io.flow.v0.models.catalog_statistics_upserted'](),
|
|
@@ -17407,6 +17840,8 @@ const factories = {
|
|
|
17407
17840
|
() => factories['io.flow.v0.models.item_inserted'](),
|
|
17408
17841
|
() => factories['io.flow.v0.models.item_updated'](),
|
|
17409
17842
|
() => factories['io.flow.v0.models.item_deleted'](),
|
|
17843
|
+
() => factories['io.flow.v0.models.channel_shopify_order_state_upserted'](),
|
|
17844
|
+
() => factories['io.flow.v0.models.channel_shopify_order_state_deleted'](),
|
|
17410
17845
|
() => factories['io.flow.v0.models.channel_upserted'](),
|
|
17411
17846
|
() => factories['io.flow.v0.models.channel_deleted'](),
|
|
17412
17847
|
() => factories['io.flow.v0.models.channel_currency_upserted'](),
|
|
@@ -17481,6 +17916,11 @@ const factories = {
|
|
|
17481
17916
|
() => factories['io.flow.v0.models.shipping_configuration_item_availability_deleted'](),
|
|
17482
17917
|
() => factories['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'](),
|
|
17483
17918
|
() => factories['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'](),
|
|
17919
|
+
() => factories['io.flow.v0.models.ge_item_inserted'](),
|
|
17920
|
+
() => factories['io.flow.v0.models.ge_item_updated'](),
|
|
17921
|
+
() => factories['io.flow.v0.models.ge_item_deleted'](),
|
|
17922
|
+
() => factories['io.flow.v0.models.ge_product_restriction_result_upserted'](),
|
|
17923
|
+
() => factories['io.flow.v0.models.ge_product_restriction_result_deleted'](),
|
|
17484
17924
|
() => factories['io.flow.v0.models.hs6_code_upserted'](),
|
|
17485
17925
|
() => factories['io.flow.v0.models.hs6_code_deleted'](),
|
|
17486
17926
|
() => factories['io.flow.v0.models.hs10_code_upserted'](),
|
|
@@ -17500,8 +17940,6 @@ const factories = {
|
|
|
17500
17940
|
() => factories['io.flow.v0.models.manifested_label_deleted'](),
|
|
17501
17941
|
() => factories['io.flow.v0.models.label_processing_modification_upserted'](),
|
|
17502
17942
|
() => factories['io.flow.v0.models.label_processing_modification_deleted'](),
|
|
17503
|
-
() => factories['io.flow.v0.models.local_item_upserted'](),
|
|
17504
|
-
() => factories['io.flow.v0.models.local_item_deleted'](),
|
|
17505
17943
|
() => factories['io.flow.v0.models.merchant_application_upserted'](),
|
|
17506
17944
|
() => factories['io.flow.v0.models.merchant_application_deleted'](),
|
|
17507
17945
|
() => factories['io.flow.v0.models.checkout_optin_responses_upserted'](),
|
|
@@ -17555,6 +17993,9 @@ const factories = {
|
|
|
17555
17993
|
() => factories['io.flow.v0.models.price_book_deleted'](),
|
|
17556
17994
|
() => factories['io.flow.v0.models.price_book_item_upserted'](),
|
|
17557
17995
|
() => factories['io.flow.v0.models.price_book_item_deleted'](),
|
|
17996
|
+
() => factories['io.flow.v0.models.product_inserted'](),
|
|
17997
|
+
() => factories['io.flow.v0.models.product_updated'](),
|
|
17998
|
+
() => factories['io.flow.v0.models.product_deleted'](),
|
|
17558
17999
|
() => factories['io.flow.v0.models.organization_rates_published'](),
|
|
17559
18000
|
() => factories['io.flow.v0.models.ratecard_lane_upserted'](),
|
|
17560
18001
|
() => factories['io.flow.v0.models.ratecard_lane_deleted'](),
|
|
@@ -18399,6 +18840,8 @@ export const makeAllocationV2 = () => factories['io.flow.v0.models.allocation_v2
|
|
|
18399
18840
|
export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin']();
|
|
18400
18841
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
18401
18842
|
export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
|
|
18843
|
+
export const makeAnshItemDeleted = () => factories['io.flow.v0.models.ansh_item_deleted']();
|
|
18844
|
+
export const makeAnshItemUpserted = () => factories['io.flow.v0.models.ansh_item_upserted']();
|
|
18402
18845
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
18403
18846
|
export const makeApplepaySdkCreateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_create_result_action_details']();
|
|
18404
18847
|
export const makeApplepaySdkValidateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_validate_result_action_details']();
|
|
@@ -18438,6 +18881,9 @@ export const makeAuthorizationResultActionPost = () => factories['io.flow.v0.mod
|
|
|
18438
18881
|
export const makeAuthorizationResultActionType = () => factories['io.flow.v0.enums.authorization_result_action_type']();
|
|
18439
18882
|
export const makeAuthorizationResultActionWait = () => factories['io.flow.v0.models.authorization_result_action_wait']();
|
|
18440
18883
|
export const makeAuthorizationResultDescription = () => factories['io.flow.v0.models.authorization_result_description']();
|
|
18884
|
+
export const makeAuthorizationRetry = () => factories['io.flow.v0.models.authorization_retry']();
|
|
18885
|
+
export const makeAuthorizationRetryDeleted = () => factories['io.flow.v0.models.authorization_retry_deleted']();
|
|
18886
|
+
export const makeAuthorizationRetryUpserted = () => factories['io.flow.v0.models.authorization_retry_upserted']();
|
|
18441
18887
|
export const makeAuthorizationStatus = () => factories['io.flow.v0.enums.authorization_status']();
|
|
18442
18888
|
export const makeAuthorizationStatusChanged = () => factories['io.flow.v0.models.authorization_status_changed']();
|
|
18443
18889
|
export const makeAuthorizationVersion = () => factories['io.flow.v0.models.authorization_version']();
|
|
@@ -18534,19 +18980,16 @@ export const makeCardVersion = () => factories['io.flow.v0.models.card_version']
|
|
|
18534
18980
|
export const makeCarrier = () => factories['io.flow.v0.models.carrier']();
|
|
18535
18981
|
export const makeCarrierChargeReason = () => factories['io.flow.v0.enums.carrier_charge_reason']();
|
|
18536
18982
|
export const makeCarrierReference = () => factories['io.flow.v0.models.carrier_reference']();
|
|
18983
|
+
export const makeCarrierRestrictions = () => factories['io.flow.v0.models.carrier_restrictions']();
|
|
18537
18984
|
export const makeCarrierService = () => factories['io.flow.v0.models.carrier_service']();
|
|
18538
18985
|
export const makeCartReference = () => factories['io.flow.v0.models.cart_reference']();
|
|
18539
18986
|
export const makeCatalog = () => factories['io.flow.v0.models.catalog']();
|
|
18540
18987
|
export const makeCatalogDeleted = () => factories['io.flow.v0.models.catalog_deleted']();
|
|
18541
|
-
export const makeCatalogItemDeleted = () => factories['io.flow.v0.models.catalog_item_deleted']();
|
|
18542
|
-
export const makeCatalogItemDeletedV2 = () => factories['io.flow.v0.models.catalog_item_deleted_v2']();
|
|
18543
18988
|
export const makeCatalogItemDocument = () => factories['io.flow.v0.models.catalog_item_document']();
|
|
18544
18989
|
export const makeCatalogItemDocumentImages = () => factories['io.flow.v0.models.catalog_item_document_images']();
|
|
18545
18990
|
export const makeCatalogItemExportType = () => factories['io.flow.v0.models.catalog_item_export_type']();
|
|
18546
18991
|
export const makeCatalogItemReference = () => factories['io.flow.v0.models.catalog_item_reference']();
|
|
18547
18992
|
export const makeCatalogItemSummary = () => factories['io.flow.v0.models.catalog_item_summary']();
|
|
18548
|
-
export const makeCatalogItemUpserted = () => factories['io.flow.v0.models.catalog_item_upserted']();
|
|
18549
|
-
export const makeCatalogItemUpsertedV2 = () => factories['io.flow.v0.models.catalog_item_upserted_v2']();
|
|
18550
18993
|
export const makeCatalogPriceBookItemDocument = () => factories['io.flow.v0.models.catalog_price_book_item_document']();
|
|
18551
18994
|
export const makeCatalogReference = () => factories['io.flow.v0.models.catalog_reference']();
|
|
18552
18995
|
export const makeCatalogStatistics = () => factories['io.flow.v0.models.catalog_statistics']();
|
|
@@ -18592,6 +19035,12 @@ export const makeChannelPendingPayoutTransactionDeleted = () => factories['io.fl
|
|
|
18592
19035
|
export const makeChannelPendingPayoutTransactionUpserted = () => factories['io.flow.v0.models.channel_pending_payout_transaction_upserted']();
|
|
18593
19036
|
export const makeChannelRate = () => factories['io.flow.v0.models.channel_rate']();
|
|
18594
19037
|
export const makeChannelReference = () => factories['io.flow.v0.models.channel_reference']();
|
|
19038
|
+
export const makeChannelShopifyOrderState = () => factories['io.flow.v0.models.channel_shopify_order_state']();
|
|
19039
|
+
export const makeChannelShopifyOrderStateDeleted = () => factories['io.flow.v0.models.channel_shopify_order_state_deleted']();
|
|
19040
|
+
export const makeChannelShopifyOrderStateReason = () => factories['io.flow.v0.models.channel_shopify_order_state_reason']();
|
|
19041
|
+
export const makeChannelShopifyOrderStateReasonCode = () => factories['io.flow.v0.enums.channel_shopify_order_state_reason_code']();
|
|
19042
|
+
export const makeChannelShopifyOrderStateUpserted = () => factories['io.flow.v0.models.channel_shopify_order_state_upserted']();
|
|
19043
|
+
export const makeChannelShopifyOrderSummary = () => factories['io.flow.v0.models.channel_shopify_order_summary']();
|
|
18595
19044
|
export const makeChannelStatement = () => factories['io.flow.v0.models.channel_statement']();
|
|
18596
19045
|
export const makeChannelStatementDeleted = () => factories['io.flow.v0.models.channel_statement_deleted']();
|
|
18597
19046
|
export const makeChannelStatementUpserted = () => factories['io.flow.v0.models.channel_statement_upserted']();
|
|
@@ -18954,6 +19403,11 @@ export const makeFulfillmentRouting = () => factories['io.flow.v0.enums.fulfillm
|
|
|
18954
19403
|
export const makeFullyHarmonizedItemUpserted = () => factories['io.flow.v0.models.fully_harmonized_item_upserted']();
|
|
18955
19404
|
export const makeGatewayAuthenticationData = () => factories['io.flow.v0.unions.gateway_authentication_data']();
|
|
18956
19405
|
export const makeGatewayAuthenticationDataForm = () => factories['io.flow.v0.unions.gateway_authentication_data_form']();
|
|
19406
|
+
export const makeGeItemDeleted = () => factories['io.flow.v0.models.ge_item_deleted']();
|
|
19407
|
+
export const makeGeItemInserted = () => factories['io.flow.v0.models.ge_item_inserted']();
|
|
19408
|
+
export const makeGeItemUpdated = () => factories['io.flow.v0.models.ge_item_updated']();
|
|
19409
|
+
export const makeGeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.ge_product_restriction_result_deleted']();
|
|
19410
|
+
export const makeGeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.ge_product_restriction_result_upserted']();
|
|
18957
19411
|
export const makeGenerateLoad = () => factories['io.flow.v0.models.generate_load']();
|
|
18958
19412
|
export const makeGenericError = () => factories['io.flow.v0.models.generic_error']();
|
|
18959
19413
|
export const makeGenericErrorCode = () => factories['io.flow.v0.enums.generic_error_code']();
|
|
@@ -19115,9 +19569,7 @@ export const makeLink = () => factories['io.flow.v0.models.link']();
|
|
|
19115
19569
|
export const makeLocal = () => factories['io.flow.v0.models.local']();
|
|
19116
19570
|
export const makeLocalItem = () => factories['io.flow.v0.models.local_item']();
|
|
19117
19571
|
export const makeLocalItemAttributePricing = () => factories['io.flow.v0.models.local_item_attribute_pricing']();
|
|
19118
|
-
export const makeLocalItemDeleted = () => factories['io.flow.v0.models.local_item_deleted']();
|
|
19119
19572
|
export const makeLocalItemPricing = () => factories['io.flow.v0.models.local_item_pricing']();
|
|
19120
|
-
export const makeLocalItemUpserted = () => factories['io.flow.v0.models.local_item_upserted']();
|
|
19121
19573
|
export const makeLocalPriceDetails = () => factories['io.flow.v0.models.local_price_details']();
|
|
19122
19574
|
export const makeLocalSession = () => factories['io.flow.v0.models.local_session']();
|
|
19123
19575
|
export const makeLocale = () => factories['io.flow.v0.models.locale']();
|
|
@@ -19261,6 +19713,7 @@ export const makeOrderNumberGeneratorUuid = () => factories['io.flow.v0.models.o
|
|
|
19261
19713
|
export const makeOrderNumberReference = () => factories['io.flow.v0.models.order_number_reference']();
|
|
19262
19714
|
export const makeOrderOptions = () => factories['io.flow.v0.models.order_options']();
|
|
19263
19715
|
export const makeOrderPayment = () => factories['io.flow.v0.models.order_payment']();
|
|
19716
|
+
export const makeOrderPaymentSourceType = () => factories['io.flow.v0.enums.order_payment_source_type']();
|
|
19264
19717
|
export const makeOrderPaymentType = () => factories['io.flow.v0.enums.order_payment_type']();
|
|
19265
19718
|
export const makeOrderPlaced = () => factories['io.flow.v0.models.order_placed']();
|
|
19266
19719
|
export const makeOrderPlacedDetails = () => factories['io.flow.v0.models.order_placed_details']();
|
|
@@ -19547,7 +20000,6 @@ export const makePriceBookDeleted = () => factories['io.flow.v0.models.price_boo
|
|
|
19547
20000
|
export const makePriceBookForm = () => factories['io.flow.v0.models.price_book_form']();
|
|
19548
20001
|
export const makePriceBookItem = () => factories['io.flow.v0.models.price_book_item']();
|
|
19549
20002
|
export const makePriceBookItemDeleted = () => factories['io.flow.v0.models.price_book_item_deleted']();
|
|
19550
|
-
export const makePriceBookItemExportOptions = () => factories['io.flow.v0.models.price_book_item_export_options']();
|
|
19551
20003
|
export const makePriceBookItemExportType = () => factories['io.flow.v0.models.price_book_item_export_type']();
|
|
19552
20004
|
export const makePriceBookItemForm = () => factories['io.flow.v0.models.price_book_item_form']();
|
|
19553
20005
|
export const makePriceBookItemQueryForm = () => factories['io.flow.v0.models.price_book_item_query_form']();
|
|
@@ -19580,12 +20032,15 @@ export const makePricingUpserted = () => factories['io.flow.v0.models.pricing_up
|
|
|
19580
20032
|
export const makePricingVersion = () => factories['io.flow.v0.models.pricing_version']();
|
|
19581
20033
|
export const makeProcessingEstimate = () => factories['io.flow.v0.models.processing_estimate']();
|
|
19582
20034
|
export const makeProduct = () => factories['io.flow.v0.models.product']();
|
|
20035
|
+
export const makeProductDeleted = () => factories['io.flow.v0.models.product_deleted']();
|
|
20036
|
+
export const makeProductInserted = () => factories['io.flow.v0.models.product_inserted']();
|
|
19583
20037
|
export const makeProductRestrictionResult = () => factories['io.flow.v0.models.product_restriction_result']();
|
|
19584
20038
|
export const makeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.product_restriction_result_deleted']();
|
|
19585
20039
|
export const makeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.product_restriction_result_upserted']();
|
|
19586
20040
|
export const makeProductRestrictionRule = () => factories['io.flow.v0.enums.product_restriction_rule']();
|
|
19587
20041
|
export const makeProductTaxonomyCategory = () => factories['io.flow.v0.models.product_taxonomy_category']();
|
|
19588
20042
|
export const makeProductTaxonomyData = () => factories['io.flow.v0.models.product_taxonomy_data']();
|
|
20043
|
+
export const makeProductUpdated = () => factories['io.flow.v0.models.product_updated']();
|
|
19589
20044
|
export const makePromotion = () => factories['io.flow.v0.unions.promotion']();
|
|
19590
20045
|
export const makePromotionTrigger = () => factories['io.flow.v0.models.promotion_trigger']();
|
|
19591
20046
|
export const makePromotionTriggerForm = () => factories['io.flow.v0.models.promotion_trigger_form']();
|
|
@@ -19880,6 +20335,7 @@ export const makeSubcatalogSettingsForm = () => factories['io.flow.v0.models.sub
|
|
|
19880
20335
|
export const makeSubcatalogStatistics = () => factories['io.flow.v0.models.subcatalog_statistics']();
|
|
19881
20336
|
export const makeSubcatalogUpserted = () => factories['io.flow.v0.models.subcatalog_upserted']();
|
|
19882
20337
|
export const makeSubcatalogVersion = () => factories['io.flow.v0.models.subcatalog_version']();
|
|
20338
|
+
export const makeSubstatusCode = () => factories['io.flow.v0.enums.substatus_code']();
|
|
19883
20339
|
export const makeSuggestion = () => factories['io.flow.v0.models.suggestion']();
|
|
19884
20340
|
export const makeSummaryShippingLabelForm = () => factories['io.flow.v0.models.summary_shipping_label_form']();
|
|
19885
20341
|
export const makeSummaryShippingNotificationForm = () => factories['io.flow.v0.models.summary_shipping_notification_form']();
|
|
@@ -19887,20 +20343,6 @@ export const makeSurchargeResponsibleParty = () => factories['io.flow.v0.enums.s
|
|
|
19887
20343
|
export const makeSurchargeResponsiblePartyDisplay = () => factories['io.flow.v0.models.surcharge_responsible_party_display']();
|
|
19888
20344
|
export const makeSurchargeSetting = () => factories['io.flow.v0.models.surcharge_setting']();
|
|
19889
20345
|
export const makeSurchargeSettingDisplay = () => factories['io.flow.v0.models.surcharge_setting_display']();
|
|
19890
|
-
export const makeSyncDuration = () => factories['io.flow.v0.models.sync_duration']();
|
|
19891
|
-
export const makeSyncPendingRecord = () => factories['io.flow.v0.models.sync_pending_record']();
|
|
19892
|
-
export const makeSyncRecord = () => factories['io.flow.v0.models.sync_record']();
|
|
19893
|
-
export const makeSyncRecordFailure = () => factories['io.flow.v0.models.sync_record_failure']();
|
|
19894
|
-
export const makeSyncRecordFailureForm = () => factories['io.flow.v0.models.sync_record_failure_form']();
|
|
19895
|
-
export const makeSyncRecordFailureReason = () => factories['io.flow.v0.enums.sync_record_failure_reason']();
|
|
19896
|
-
export const makeSyncRecordForm = () => factories['io.flow.v0.models.sync_record_form']();
|
|
19897
|
-
export const makeSyncStream = () => factories['io.flow.v0.models.sync_stream']();
|
|
19898
|
-
export const makeSyncStreamForm = () => factories['io.flow.v0.models.sync_stream_form']();
|
|
19899
|
-
export const makeSyncStreamReference = () => factories['io.flow.v0.models.sync_stream_reference']();
|
|
19900
|
-
export const makeSyncStreamSettings = () => factories['io.flow.v0.models.sync_stream_settings']();
|
|
19901
|
-
export const makeSyncStreamSettingsForm = () => factories['io.flow.v0.models.sync_stream_settings_form']();
|
|
19902
|
-
export const makeSyncStreamType = () => factories['io.flow.v0.enums.sync_stream_type']();
|
|
19903
|
-
export const makeSyncUnitOfTime = () => factories['io.flow.v0.enums.sync_unit_of_time']();
|
|
19904
20346
|
export const makeTax = () => factories['io.flow.v0.models.tax']();
|
|
19905
20347
|
export const makeTaxApplicability = () => factories['io.flow.v0.enums.tax_applicability']();
|
|
19906
20348
|
export const makeTaxRegistration = () => factories['io.flow.v0.models.tax_registration']();
|