@flowio/api-factories 0.0.37 → 0.0.39

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/esm/api.js CHANGED
@@ -2068,11 +2068,13 @@ var factories = {
2068
2068
  'io.flow.v0.enums.environment': function () { return faker.random.arrayElement(['sandbox', 'production']); },
2069
2069
  'io.flow.v0.enums.event_type': function () { return faker.random.arrayElement([
2070
2070
  'transaction_upserted',
2071
- 'transaction_deleted',
2071
+ 'organization_transaction_upserted',
2072
+ 'organization_transaction_deleted',
2072
2073
  'statement_upserted',
2073
2074
  'statement_deleted',
2074
2075
  'channel_transaction_upserted',
2075
2076
  'channel_transaction_deleted',
2077
+ 'channel_transaction_deleted_v2',
2076
2078
  'channel_statement_upserted',
2077
2079
  'channel_statement_deleted',
2078
2080
  'attribute_upserted',
@@ -2350,8 +2352,19 @@ var factories = {
2350
2352
  'unsupported_currency',
2351
2353
  ]); },
2352
2354
  'io.flow.v0.enums.merchant_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
2355
+ 'io.flow.v0.enums.merchant_rejected_reason': function () { return faker.random.arrayElement([
2356
+ 'merchant_ubo_is_pep',
2357
+ 'merchant_catalog_is_unsupportable',
2358
+ 'merchant_failed_kyb_review',
2359
+ ]); },
2353
2360
  'io.flow.v0.enums.method': function () { return faker.random.arrayElement(['post']); },
2354
2361
  'io.flow.v0.enums.onboarding_application_status': function () { return faker.random.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']); },
2362
+ 'io.flow.v0.enums.onboarding_blocked_reason': function () { return faker.random.arrayElement([
2363
+ 'street_address_is_blank_3pl',
2364
+ 'street_address_is_po_box_3pl',
2365
+ 'business_street_address_is_blank',
2366
+ 'business_street_address_is_po_box',
2367
+ ]); },
2355
2368
  'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.random.arrayElement([
2356
2369
  'accessories',
2357
2370
  'animals_and_pet_supplies',
@@ -2729,6 +2742,7 @@ var factories = {
2729
2742
  'other_adjustment',
2730
2743
  'tax_adjustment',
2731
2744
  'channel',
2745
+ 'channel_billed',
2732
2746
  'order_service',
2733
2747
  'virtual_card_capture',
2734
2748
  'virtual_card_refund',
@@ -3123,6 +3137,10 @@ var factories = {
3123
3137
  validation_url: factories.string(),
3124
3138
  display_name: factories.string(),
3125
3139
  }); },
3140
+ 'io.flow.v0.models.application_received': function () { return ({
3141
+ discriminator: 'application_received',
3142
+ placeholder: factories.boolean(),
3143
+ }); },
3126
3144
  'io.flow.v0.models.at_cost': function () { return ({
3127
3145
  discriminator: 'at_cost',
3128
3146
  ignore: factories.string(),
@@ -3426,6 +3444,9 @@ var factories = {
3426
3444
  routing_number: factories.string(),
3427
3445
  account_number: factories.string(),
3428
3446
  }); },
3447
+ 'io.flow.v0.models.bank_account_reference': function () { return ({
3448
+ id: factories.string(),
3449
+ }); },
3429
3450
  'io.flow.v0.models.behavior_audit': function () { return ({
3430
3451
  behavior: factories['io.flow.v0.enums.flow_behavior'](),
3431
3452
  authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
@@ -4041,6 +4062,7 @@ var factories = {
4041
4062
  withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
4042
4063
  discounts: arrayOf(function () { return factories['io.flow.v0.models.billing_discount'](); }),
4043
4064
  net: factories.decimal(),
4065
+ identifiers: objectOf(function () { return factories.string(); }),
4044
4066
  created_at: factories.date_time_iso_8601(),
4045
4067
  }); },
4046
4068
  'io.flow.v0.models.channel_transaction_deleted': function () { return ({
@@ -4050,6 +4072,13 @@ var factories = {
4050
4072
  channel_id: factories.string(),
4051
4073
  channel_transaction: factories['io.flow.v0.models.channel_transaction'](),
4052
4074
  }); },
4075
+ 'io.flow.v0.models.channel_transaction_deleted_v2': function () { return ({
4076
+ discriminator: 'channel_transaction_deleted_v2',
4077
+ event_id: factories.string(),
4078
+ timestamp: factories.date_time_iso_8601(),
4079
+ channel_id: factories.string(),
4080
+ id: factories.string(),
4081
+ }); },
4053
4082
  'io.flow.v0.models.channel_transaction_upserted': function () { return ({
4054
4083
  discriminator: 'channel_transaction_upserted',
4055
4084
  event_id: factories.string(),
@@ -4613,6 +4642,9 @@ var factories = {
4613
4642
  discriminator: 'ddp_ratecard_fee',
4614
4643
  amount: factories.decimal(),
4615
4644
  }); },
4645
+ 'io.flow.v0.models.default_bank_account_form': function () { return ({
4646
+ bank_account_id: factories.string(),
4647
+ }); },
4616
4648
  'io.flow.v0.models.delivered_duty_setting': function () { return ({
4617
4649
  'default': factories['io.flow.v0.enums.delivered_duty'](),
4618
4650
  available: arrayOf(function () { return factories['io.flow.v0.enums.delivered_duty'](); }),
@@ -5871,6 +5903,10 @@ var factories = {
5871
5903
  type: factories['io.flow.v0.enums.change_type'](),
5872
5904
  'import': factories['io.flow.v0.models.import'](),
5873
5905
  }); },
5906
+ 'io.flow.v0.models.in_compliance_review': function () { return ({
5907
+ discriminator: 'in_compliance_review',
5908
+ placeholder: factories.boolean(),
5909
+ }); },
5874
5910
  'io.flow.v0.models.inbound_carton_fee': function () { return ({
5875
5911
  discriminator: 'inbound_carton_fee',
5876
5912
  amount: factories['io.flow.v0.models.money'](),
@@ -6653,6 +6689,10 @@ var factories = {
6653
6689
  type: factories['io.flow.v0.enums.change_type'](),
6654
6690
  membership: factories['io.flow.v0.models.membership'](),
6655
6691
  }); },
6692
+ 'io.flow.v0.models.merchant_activated': function () { return ({
6693
+ discriminator: 'merchant_activated',
6694
+ placeholder: factories.boolean(),
6695
+ }); },
6656
6696
  'io.flow.v0.models.merchant_application_deleted': function () { return ({
6657
6697
  discriminator: 'merchant_application_deleted',
6658
6698
  event_id: factories.string(),
@@ -6746,6 +6786,11 @@ var factories = {
6746
6786
  postal: factories.string(),
6747
6787
  country: factories.string(),
6748
6788
  }); },
6789
+ 'io.flow.v0.models.merchant_rejected': function () { return ({
6790
+ discriminator: 'merchant_rejected',
6791
+ reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
6792
+ description: factories.string(),
6793
+ }); },
6749
6794
  'io.flow.v0.models.money': function () { return ({
6750
6795
  amount: factories.double(),
6751
6796
  currency: factories.string(),
@@ -6826,6 +6871,10 @@ var factories = {
6826
6871
  id: factories.string(),
6827
6872
  status: factories['io.flow.v0.enums.organization_status'](),
6828
6873
  }); },
6874
+ 'io.flow.v0.models.onboarding_state_transition': function () { return ({
6875
+ state: factories['io.flow.v0.unions.onboarding_state'](),
6876
+ started_at: factories.date_time_iso_8601(),
6877
+ }); },
6829
6878
  'io.flow.v0.models.online_authorization': function () { return ({
6830
6879
  discriminator: 'online_authorization',
6831
6880
  id: factories.string(),
@@ -7565,6 +7614,10 @@ var factories = {
7565
7614
  'io.flow.v0.models.organization_configuration_reference': function () { return ({
7566
7615
  id: factories.string(),
7567
7616
  }); },
7617
+ 'io.flow.v0.models.organization_default_bank_account': function () { return ({
7618
+ id: factories.string(),
7619
+ bank_account: factories['io.flow.v0.models.bank_account_reference'](),
7620
+ }); },
7568
7621
  'io.flow.v0.models.organization_default_configurations': function () { return ({
7569
7622
  id: factories.string(),
7570
7623
  checkout_configuration: factories['io.flow.v0.models.organization_configuration_reference'](),
@@ -7614,6 +7667,11 @@ var factories = {
7614
7667
  status: factories['io.flow.v0.enums.organization_status'](),
7615
7668
  type: factories['io.flow.v0.enums.organization_type'](),
7616
7669
  }); },
7670
+ 'io.flow.v0.models.organization_onboarding_state': function () { return ({
7671
+ organization: factories['io.flow.v0.models.organization_reference'](),
7672
+ transitions: arrayOf(function () { return factories['io.flow.v0.models.onboarding_state_transition'](); }),
7673
+ current_state: factories['io.flow.v0.unions.onboarding_state'](),
7674
+ }); },
7617
7675
  'io.flow.v0.models.organization_put_form': function () { return ({
7618
7676
  name: factories.string(),
7619
7677
  environment: factories['io.flow.v0.enums.environment'](),
@@ -7701,6 +7759,20 @@ var factories = {
7701
7759
  id: factories.string(),
7702
7760
  organization: factories['io.flow.v0.models.organization_reference'](),
7703
7761
  }); },
7762
+ 'io.flow.v0.models.organization_transaction_deleted': function () { return ({
7763
+ discriminator: 'organization_transaction_deleted',
7764
+ event_id: factories.string(),
7765
+ timestamp: factories.date_time_iso_8601(),
7766
+ organization: factories.string(),
7767
+ id: factories.string(),
7768
+ }); },
7769
+ 'io.flow.v0.models.organization_transaction_upserted': function () { return ({
7770
+ discriminator: 'organization_transaction_upserted',
7771
+ event_id: factories.string(),
7772
+ timestamp: factories.date_time_iso_8601(),
7773
+ organization: factories.string(),
7774
+ transaction: factories['io.flow.v0.models.transaction'](),
7775
+ }); },
7704
7776
  'io.flow.v0.models.organization_upserted': function () { return ({
7705
7777
  discriminator: 'organization_upserted',
7706
7778
  event_id: factories.string(),
@@ -9480,6 +9552,18 @@ var factories = {
9480
9552
  'io.flow.v0.models.session_visitor': function () { return ({
9481
9553
  id: factories.string(),
9482
9554
  }); },
9555
+ 'io.flow.v0.models.setup_blocked': function () { return ({
9556
+ discriminator: 'setup_blocked',
9557
+ reasons: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_blocked_reason'](); }),
9558
+ }); },
9559
+ 'io.flow.v0.models.setup_completed': function () { return ({
9560
+ discriminator: 'setup_completed',
9561
+ placeholder: factories.boolean(),
9562
+ }); },
9563
+ 'io.flow.v0.models.setup_in_progress': function () { return ({
9564
+ discriminator: 'setup_in_progress',
9565
+ placeholder: factories.boolean(),
9566
+ }); },
9483
9567
  'io.flow.v0.models.shipment_window': function () { return ({
9484
9568
  from: factories.long(),
9485
9569
  to: factories.long(),
@@ -10670,15 +10754,9 @@ var factories = {
10670
10754
  withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
10671
10755
  discounts: arrayOf(function () { return factories['io.flow.v0.models.billing_discount'](); }),
10672
10756
  net: factories.decimal(),
10757
+ identifiers: objectOf(function () { return factories.string(); }),
10673
10758
  created_at: factories.date_time_iso_8601(),
10674
10759
  }); },
10675
- 'io.flow.v0.models.transaction_deleted': function () { return ({
10676
- discriminator: 'transaction_deleted',
10677
- event_id: factories.string(),
10678
- timestamp: factories.date_time_iso_8601(),
10679
- organization: factories.string(),
10680
- transaction: factories['io.flow.v0.models.transaction'](),
10681
- }); },
10682
10760
  'io.flow.v0.models.transaction_upserted': function () { return ({
10683
10761
  discriminator: 'transaction_upserted',
10684
10762
  event_id: factories.string(),
@@ -11087,11 +11165,13 @@ var factories = {
11087
11165
  'io.flow.v0.unions.event': function () {
11088
11166
  var f = faker.random.arrayElement([
11089
11167
  function () { return factories['io.flow.v0.models.transaction_upserted'](); },
11090
- function () { return factories['io.flow.v0.models.transaction_deleted'](); },
11168
+ function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
11169
+ function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
11091
11170
  function () { return factories['io.flow.v0.models.statement_upserted'](); },
11092
11171
  function () { return factories['io.flow.v0.models.statement_deleted'](); },
11093
11172
  function () { return factories['io.flow.v0.models.channel_transaction_upserted'](); },
11094
11173
  function () { return factories['io.flow.v0.models.channel_transaction_deleted'](); },
11174
+ function () { return factories['io.flow.v0.models.channel_transaction_deleted_v2'](); },
11095
11175
  function () { return factories['io.flow.v0.models.channel_statement_upserted'](); },
11096
11176
  function () { return factories['io.flow.v0.models.channel_statement_deleted'](); },
11097
11177
  function () { return factories['io.flow.v0.models.attribute_upserted'](); },
@@ -11435,6 +11515,18 @@ var factories = {
11435
11515
  ]);
11436
11516
  return f();
11437
11517
  },
11518
+ 'io.flow.v0.unions.onboarding_state': function () {
11519
+ var f = faker.random.arrayElement([
11520
+ function () { return factories['io.flow.v0.models.application_received'](); },
11521
+ function () { return factories['io.flow.v0.models.in_compliance_review'](); },
11522
+ function () { return factories['io.flow.v0.models.setup_in_progress'](); },
11523
+ function () { return factories['io.flow.v0.models.merchant_rejected'](); },
11524
+ function () { return factories['io.flow.v0.models.setup_blocked'](); },
11525
+ function () { return factories['io.flow.v0.models.setup_completed'](); },
11526
+ function () { return factories['io.flow.v0.models.merchant_activated'](); },
11527
+ ]);
11528
+ return f();
11529
+ },
11438
11530
  'io.flow.v0.unions.online_authorization_details': function () {
11439
11531
  var f = faker.random.arrayElement([
11440
11532
  function () { return factories['io.flow.v0.models.cryptopay_authorization_details'](); },
@@ -11851,6 +11943,7 @@ export var makeAmountMargin = function () { return factories['io.flow.v0.models.
11851
11943
  export var makeAmountMarginForm = function () { return factories['io.flow.v0.models.amount_margin_form'](); };
11852
11944
  export var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
11853
11945
  export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
11946
+ export var makeApplicationReceived = function () { return factories['io.flow.v0.models.application_received'](); };
11854
11947
  export var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
11855
11948
  export var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
11856
11949
  export var makeAttachmentType = function () { return factories['io.flow.v0.enums.attachment_type'](); };
@@ -11917,6 +12010,7 @@ export var makeB2BInvoiceUpserted = function () { return factories['io.flow.v0.m
11917
12010
  export var makeBankAccountForm = function () { return factories['io.flow.v0.models.bank_account_form'](); };
11918
12011
  export var makeBankAccountInfo = function () { return factories['io.flow.v0.unions.bank_account_info'](); };
11919
12012
  export var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.bank_account_info_usa'](); };
12013
+ export var makeBankAccountReference = function () { return factories['io.flow.v0.models.bank_account_reference'](); };
11920
12014
  export var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
11921
12015
  export var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
11922
12016
  export var makeBillingChannelOrderSummary = function () { return factories['io.flow.v0.models.billing_channel_order_summary'](); };
@@ -12027,6 +12121,7 @@ export var makeChannelTokenForm = function () { return factories['io.flow.v0.mod
12027
12121
  export var makeChannelTokenReference = function () { return factories['io.flow.v0.models.channel_token_reference'](); };
12028
12122
  export var makeChannelTransaction = function () { return factories['io.flow.v0.models.channel_transaction'](); };
12029
12123
  export var makeChannelTransactionDeleted = function () { return factories['io.flow.v0.models.channel_transaction_deleted'](); };
12124
+ export var makeChannelTransactionDeletedV2 = function () { return factories['io.flow.v0.models.channel_transaction_deleted_v2'](); };
12030
12125
  export var makeChannelTransactionUpserted = function () { return factories['io.flow.v0.models.channel_transaction_upserted'](); };
12031
12126
  export var makeChannelUpserted = function () { return factories['io.flow.v0.models.channel_upserted'](); };
12032
12127
  export var makeChannelViesRegistration = function () { return factories['io.flow.v0.models.channel_vies_registration'](); };
@@ -12138,6 +12233,7 @@ export var makeDatetimeRange = function () { return factories['io.flow.v0.models
12138
12233
  export var makeDatetimeWithTimezone = function () { return factories['io.flow.v0.models.datetime_with_timezone'](); };
12139
12234
  export var makeDayOfWeek = function () { return factories['io.flow.v0.enums.day_of_week'](); };
12140
12235
  export var makeDdpRatecardFee = function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); };
12236
+ export var makeDefaultBankAccountForm = function () { return factories['io.flow.v0.models.default_bank_account_form'](); };
12141
12237
  export var makeDeliveredDuty = function () { return factories['io.flow.v0.enums.delivered_duty'](); };
12142
12238
  export var makeDeliveredDutyDisplayType = function () { return factories['io.flow.v0.enums.delivered_duty_display_type'](); };
12143
12239
  export var makeDeliveredDutySetting = function () { return factories['io.flow.v0.models.delivered_duty_setting'](); };
@@ -12414,6 +12510,7 @@ export var makeImportTemplateExample = function () { return factories['io.flow.v
12414
12510
  export var makeImportTemplateForm = function () { return factories['io.flow.v0.models.import_template_form'](); };
12415
12511
  export var makeImportType = function () { return factories['io.flow.v0.enums.import_type'](); };
12416
12512
  export var makeImportVersion = function () { return factories['io.flow.v0.models.import_version'](); };
12513
+ export var makeInComplianceReview = function () { return factories['io.flow.v0.models.in_compliance_review'](); };
12417
12514
  export var makeInboundCartonFee = function () { return factories['io.flow.v0.models.inbound_carton_fee'](); };
12418
12515
  export var makeIncludedLevies = function () { return factories['io.flow.v0.models.included_levies'](); };
12419
12516
  export var makeIncludedLevyKey = function () { return factories['io.flow.v0.enums.included_levy_key'](); };
@@ -12563,6 +12660,7 @@ export var makeMembershipForm = function () { return factories['io.flow.v0.model
12563
12660
  export var makeMembershipPutForm = function () { return factories['io.flow.v0.models.membership_put_form'](); };
12564
12661
  export var makeMembershipUpsertedV2 = function () { return factories['io.flow.v0.models.membership_upserted_v2'](); };
12565
12662
  export var makeMembershipVersion = function () { return factories['io.flow.v0.models.membership_version'](); };
12663
+ export var makeMerchantActivated = function () { return factories['io.flow.v0.models.merchant_activated'](); };
12566
12664
  export var makeMerchantApplication = function () { return factories['io.flow.v0.unions.merchant_application'](); };
12567
12665
  export var makeMerchantApplicationDeleted = function () { return factories['io.flow.v0.models.merchant_application_deleted'](); };
12568
12666
  export var makeMerchantApplicationForm = function () { return factories['io.flow.v0.unions.merchant_application_form'](); };
@@ -12584,6 +12682,8 @@ export var makeMerchantOfRecordEntity = function () { return factories['io.flow.
12584
12682
  export var makeMerchantOfRecordEntityRegistration = function () { return factories['io.flow.v0.models.merchant_of_record_entity_registration'](); };
12585
12683
  export var makeMerchantOfRecordPaymentForm = function () { return factories['io.flow.v0.models.merchant_of_record_payment_form'](); };
12586
12684
  export var makeMerchantOnboardingAddress = function () { return factories['io.flow.v0.models.merchant_onboarding_address'](); };
12685
+ export var makeMerchantRejected = function () { return factories['io.flow.v0.models.merchant_rejected'](); };
12686
+ export var makeMerchantRejectedReason = function () { return factories['io.flow.v0.enums.merchant_rejected_reason'](); };
12587
12687
  export var makeMethod = function () { return factories['io.flow.v0.enums.method'](); };
12588
12688
  export var makeMoney = function () { return factories['io.flow.v0.models.money'](); };
12589
12689
  export var makeMoneyWithBase = function () { return factories['io.flow.v0.models.money_with_base'](); };
@@ -12599,10 +12699,13 @@ export var makeNotificationDeletedV2 = function () { return factories['io.flow.v
12599
12699
  export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
12600
12700
  export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
12601
12701
  export var makeOnboardingApplicationStatus = function () { return factories['io.flow.v0.enums.onboarding_application_status'](); };
12702
+ export var makeOnboardingBlockedReason = function () { return factories['io.flow.v0.enums.onboarding_blocked_reason'](); };
12602
12703
  export var makeOnboardingMerchantPickupWindow = function () { return factories['io.flow.v0.models.onboarding_merchant_pickup_window'](); };
12603
12704
  export var makeOnboardingMerchantScheduledPickup = function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); };
12604
12705
  export var makeOnboardingMerchantTime = function () { return factories['io.flow.v0.models.onboarding_merchant_time'](); };
12605
12706
  export var makeOnboardingOrganizationReference = function () { return factories['io.flow.v0.models.onboarding_organization_reference'](); };
12707
+ export var makeOnboardingState = function () { return factories['io.flow.v0.unions.onboarding_state'](); };
12708
+ export var makeOnboardingStateTransition = function () { return factories['io.flow.v0.models.onboarding_state_transition'](); };
12606
12709
  export var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
12607
12710
  export var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
12608
12711
  export var makeOnlineAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.online_authorization_deleted_v2'](); };
@@ -12742,6 +12845,7 @@ export var makeOrganizationAuthorization = function () { return factories['io.fl
12742
12845
  export var makeOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.organization_authorization_form'](); };
12743
12846
  export var makeOrganizationBankAccount = function () { return factories['io.flow.v0.models.organization_bank_account'](); };
12744
12847
  export var makeOrganizationConfigurationReference = function () { return factories['io.flow.v0.models.organization_configuration_reference'](); };
12848
+ export var makeOrganizationDefaultBankAccount = function () { return factories['io.flow.v0.models.organization_default_bank_account'](); };
12745
12849
  export var makeOrganizationDefaultConfigurations = function () { return factories['io.flow.v0.models.organization_default_configurations'](); };
12746
12850
  export var makeOrganizationDefaultConfigurationsDeleted = function () { return factories['io.flow.v0.models.organization_default_configurations_deleted'](); };
12747
12851
  export var makeOrganizationDefaultConfigurationsForm = function () { return factories['io.flow.v0.models.organization_default_configurations_form'](); };
@@ -12750,6 +12854,7 @@ export var makeOrganizationDefaults = function () { return factories['io.flow.v0
12750
12854
  export var makeOrganizationDeleted = function () { return factories['io.flow.v0.models.organization_deleted'](); };
12751
12855
  export var makeOrganizationDeletedV2 = function () { return factories['io.flow.v0.models.organization_deleted_v2'](); };
12752
12856
  export var makeOrganizationForm = function () { return factories['io.flow.v0.models.organization_form'](); };
12857
+ export var makeOrganizationOnboardingState = function () { return factories['io.flow.v0.models.organization_onboarding_state'](); };
12753
12858
  export var makeOrganizationPaymentMethodTag = function () { return factories['io.flow.v0.enums.organization_payment_method_tag'](); };
12754
12859
  export var makeOrganizationPutForm = function () { return factories['io.flow.v0.models.organization_put_form'](); };
12755
12860
  export var makeOrganizationRatesData = function () { return factories['io.flow.v0.models.organization_rates_data'](); };
@@ -12765,6 +12870,8 @@ export var makeOrganizationTokenFormV2 = function () { return factories['io.flow
12765
12870
  export var makeOrganizationTokenReference = function () { return factories['io.flow.v0.models.organization_token_reference'](); };
12766
12871
  export var makeOrganizationTokenV2 = function () { return factories['io.flow.v0.models.organization_token_v2'](); };
12767
12872
  export var makeOrganizationTokenV2Reference = function () { return factories['io.flow.v0.models.organization_token_v2_reference'](); };
12873
+ export var makeOrganizationTransactionDeleted = function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); };
12874
+ export var makeOrganizationTransactionUpserted = function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); };
12768
12875
  export var makeOrganizationType = function () { return factories['io.flow.v0.enums.organization_type'](); };
12769
12876
  export var makeOrganizationUpserted = function () { return factories['io.flow.v0.models.organization_upserted'](); };
12770
12877
  export var makeOrganizationUpsertedV2 = function () { return factories['io.flow.v0.models.organization_upserted_v2'](); };
@@ -13129,6 +13236,9 @@ export var makeSessionReference = function () { return factories['io.flow.v0.mod
13129
13236
  export var makeSessionVisit = function () { return factories['io.flow.v0.models.session_visit'](); };
13130
13237
  export var makeSessionVisitor = function () { return factories['io.flow.v0.models.session_visitor'](); };
13131
13238
  export var makeSettlement = function () { return factories['io.flow.v0.unions.settlement'](); };
13239
+ export var makeSetupBlocked = function () { return factories['io.flow.v0.models.setup_blocked'](); };
13240
+ export var makeSetupCompleted = function () { return factories['io.flow.v0.models.setup_completed'](); };
13241
+ export var makeSetupInProgress = function () { return factories['io.flow.v0.models.setup_in_progress'](); };
13132
13242
  export var makeShipmentIntegrationType = function () { return factories['io.flow.v0.enums.shipment_integration_type'](); };
13133
13243
  export var makeShipmentRecipient = function () { return factories['io.flow.v0.enums.shipment_recipient'](); };
13134
13244
  export var makeShipmentWindow = function () { return factories['io.flow.v0.models.shipment_window'](); };
@@ -13347,7 +13457,6 @@ export var makeTradeAgreementDuty = function () { return factories['io.flow.v0.m
13347
13457
  export var makeTradeAgreementName = function () { return factories['io.flow.v0.enums.trade_agreement_name'](); };
13348
13458
  export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
13349
13459
  export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
13350
- export var makeTransactionDeleted = function () { return factories['io.flow.v0.models.transaction_deleted'](); };
13351
13460
  export var makeTransactionSource = function () { return factories['io.flow.v0.enums.transaction_source'](); };
13352
13461
  export var makeTransactionUpserted = function () { return factories['io.flow.v0.models.transaction_upserted'](); };
13353
13462
  export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
@@ -63,6 +63,7 @@ export declare const makeAmountMargin: () => io.flow.v0.models.AmountMargin;
63
63
  export declare const makeAmountMarginForm: () => io.flow.v0.models.AmountMarginForm;
64
64
  export declare const makeAnalyticsExportType: () => io.flow.v0.models.AnalyticsExportType;
65
65
  export declare const makeApplePayMerchantValidationPayload: () => io.flow.v0.models.ApplePayMerchantValidationPayload;
66
+ export declare const makeApplicationReceived: () => io.flow.v0.models.ApplicationReceived;
66
67
  export declare const makeAtCost: () => io.flow.v0.models.AtCost;
67
68
  export declare const makeAttachment: () => io.flow.v0.models.Attachment;
68
69
  export declare const makeAttachmentType: () => "csv";
@@ -129,6 +130,7 @@ export declare const makeB2BInvoiceUpserted: () => io.flow.v0.models.B2BInvoiceU
129
130
  export declare const makeBankAccountForm: () => io.flow.v0.models.BankAccountForm;
130
131
  export declare const makeBankAccountInfo: () => io.flow.v0.models.BankAccountInfoUsa;
131
132
  export declare const makeBankAccountInfoUsa: () => io.flow.v0.models.BankAccountInfoUsa;
133
+ export declare const makeBankAccountReference: () => io.flow.v0.models.BankAccountReference;
132
134
  export declare const makeBehaviorAudit: () => io.flow.v0.models.BehaviorAudit;
133
135
  export declare const makeBillingAddress: () => io.flow.v0.models.BillingAddress;
134
136
  export declare const makeBillingChannelOrderSummary: () => io.flow.v0.models.BillingChannelOrderSummary;
@@ -239,6 +241,7 @@ export declare const makeChannelTokenForm: () => io.flow.v0.models.ChannelTokenF
239
241
  export declare const makeChannelTokenReference: () => io.flow.v0.models.ChannelTokenReference;
240
242
  export declare const makeChannelTransaction: () => io.flow.v0.models.ChannelTransaction;
241
243
  export declare const makeChannelTransactionDeleted: () => io.flow.v0.models.ChannelTransactionDeleted;
244
+ export declare const makeChannelTransactionDeletedV2: () => io.flow.v0.models.ChannelTransactionDeletedV2;
242
245
  export declare const makeChannelTransactionUpserted: () => io.flow.v0.models.ChannelTransactionUpserted;
243
246
  export declare const makeChannelUpserted: () => io.flow.v0.models.ChannelUpserted;
244
247
  export declare const makeChannelViesRegistration: () => io.flow.v0.models.ChannelViesRegistration;
@@ -350,6 +353,7 @@ export declare const makeDatetimeRange: () => io.flow.v0.models.DatetimeRange;
350
353
  export declare const makeDatetimeWithTimezone: () => io.flow.v0.models.DatetimeWithTimezone;
351
354
  export declare const makeDayOfWeek: () => io.flow.v0.enums.DayOfWeek;
352
355
  export declare const makeDdpRatecardFee: () => io.flow.v0.models.DdpRatecardFee;
356
+ export declare const makeDefaultBankAccountForm: () => io.flow.v0.models.DefaultBankAccountForm;
353
357
  export declare const makeDeliveredDuty: () => io.flow.v0.enums.DeliveredDuty;
354
358
  export declare const makeDeliveredDutyDisplayType: () => io.flow.v0.enums.DeliveredDutyDisplayType;
355
359
  export declare const makeDeliveredDutySetting: () => io.flow.v0.models.DeliveredDutySetting;
@@ -626,6 +630,7 @@ export declare const makeImportTemplateExample: () => io.flow.v0.models.ImportTe
626
630
  export declare const makeImportTemplateForm: () => io.flow.v0.models.ImportTemplateForm;
627
631
  export declare const makeImportType: () => io.flow.v0.enums.ImportType;
628
632
  export declare const makeImportVersion: () => io.flow.v0.models.ImportVersion;
633
+ export declare const makeInComplianceReview: () => io.flow.v0.models.InComplianceReview;
629
634
  export declare const makeInboundCartonFee: () => io.flow.v0.models.InboundCartonFee;
630
635
  export declare const makeIncludedLevies: () => io.flow.v0.models.IncludedLevies;
631
636
  export declare const makeIncludedLevyKey: () => io.flow.v0.enums.IncludedLevyKey;
@@ -775,6 +780,7 @@ export declare const makeMembershipForm: () => io.flow.v0.models.MembershipForm;
775
780
  export declare const makeMembershipPutForm: () => io.flow.v0.models.MembershipPutForm;
776
781
  export declare const makeMembershipUpsertedV2: () => io.flow.v0.models.MembershipUpsertedV2;
777
782
  export declare const makeMembershipVersion: () => io.flow.v0.models.MembershipVersion;
783
+ export declare const makeMerchantActivated: () => io.flow.v0.models.MerchantActivated;
778
784
  export declare const makeMerchantApplication: () => io.flow.v0.models.ShopifyMerchantApplication;
779
785
  export declare const makeMerchantApplicationDeleted: () => io.flow.v0.models.MerchantApplicationDeleted;
780
786
  export declare const makeMerchantApplicationForm: () => io.flow.v0.models.ShopifyMerchantApplicationForm;
@@ -796,6 +802,8 @@ export declare const makeMerchantOfRecordEntity: () => io.flow.v0.models.Merchan
796
802
  export declare const makeMerchantOfRecordEntityRegistration: () => io.flow.v0.models.MerchantOfRecordEntityRegistration;
797
803
  export declare const makeMerchantOfRecordPaymentForm: () => io.flow.v0.models.MerchantOfRecordPaymentForm;
798
804
  export declare const makeMerchantOnboardingAddress: () => io.flow.v0.models.MerchantOnboardingAddress;
805
+ export declare const makeMerchantRejected: () => io.flow.v0.models.MerchantRejected;
806
+ export declare const makeMerchantRejectedReason: () => io.flow.v0.enums.MerchantRejectedReason;
799
807
  export declare const makeMethod: () => "post";
800
808
  export declare const makeMoney: () => io.flow.v0.models.Money;
801
809
  export declare const makeMoneyWithBase: () => io.flow.v0.models.MoneyWithBase;
@@ -811,10 +819,13 @@ export declare const makeNotificationDeletedV2: () => io.flow.v0.models.Notifica
811
819
  export declare const makeNotificationUpsertedV2: () => io.flow.v0.models.NotificationUpsertedV2;
812
820
  export declare const makeNumberRange: () => io.flow.v0.models.NumberRange;
813
821
  export declare const makeOnboardingApplicationStatus: () => io.flow.v0.enums.OnboardingApplicationStatus;
822
+ export declare const makeOnboardingBlockedReason: () => io.flow.v0.enums.OnboardingBlockedReason;
814
823
  export declare const makeOnboardingMerchantPickupWindow: () => io.flow.v0.models.OnboardingMerchantPickupWindow;
815
824
  export declare const makeOnboardingMerchantScheduledPickup: () => io.flow.v0.models.OnboardingMerchantScheduledPickup;
816
825
  export declare const makeOnboardingMerchantTime: () => io.flow.v0.models.OnboardingMerchantTime;
817
826
  export declare const makeOnboardingOrganizationReference: () => io.flow.v0.models.OnboardingOrganizationReference;
827
+ export declare const makeOnboardingState: () => io.flow.v0.unions.OnboardingState;
828
+ export declare const makeOnboardingStateTransition: () => io.flow.v0.models.OnboardingStateTransition;
818
829
  export declare const makeOnboardingTradeSector: () => io.flow.v0.enums.OnboardingTradeSector;
819
830
  export declare const makeOnlineAuthorization: () => io.flow.v0.models.OnlineAuthorization;
820
831
  export declare const makeOnlineAuthorizationDeletedV2: () => io.flow.v0.models.OnlineAuthorizationDeletedV2;
@@ -954,6 +965,7 @@ export declare const makeOrganizationAuthorization: () => io.flow.v0.models.Orga
954
965
  export declare const makeOrganizationAuthorizationForm: () => io.flow.v0.models.OrganizationAuthorizationForm;
955
966
  export declare const makeOrganizationBankAccount: () => io.flow.v0.models.OrganizationBankAccount;
956
967
  export declare const makeOrganizationConfigurationReference: () => io.flow.v0.models.OrganizationConfigurationReference;
968
+ export declare const makeOrganizationDefaultBankAccount: () => io.flow.v0.models.OrganizationDefaultBankAccount;
957
969
  export declare const makeOrganizationDefaultConfigurations: () => io.flow.v0.models.OrganizationDefaultConfigurations;
958
970
  export declare const makeOrganizationDefaultConfigurationsDeleted: () => io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
959
971
  export declare const makeOrganizationDefaultConfigurationsForm: () => io.flow.v0.models.OrganizationDefaultConfigurationsForm;
@@ -962,6 +974,7 @@ export declare const makeOrganizationDefaults: () => io.flow.v0.models.Organizat
962
974
  export declare const makeOrganizationDeleted: () => io.flow.v0.models.OrganizationDeleted;
963
975
  export declare const makeOrganizationDeletedV2: () => io.flow.v0.models.OrganizationDeletedV2;
964
976
  export declare const makeOrganizationForm: () => io.flow.v0.models.OrganizationForm;
977
+ export declare const makeOrganizationOnboardingState: () => io.flow.v0.models.OrganizationOnboardingState;
965
978
  export declare const makeOrganizationPaymentMethodTag: () => "deny";
966
979
  export declare const makeOrganizationPutForm: () => io.flow.v0.models.OrganizationPutForm;
967
980
  export declare const makeOrganizationRatesData: () => io.flow.v0.models.OrganizationRatesData;
@@ -977,6 +990,8 @@ export declare const makeOrganizationTokenFormV2: () => io.flow.v0.models.Organi
977
990
  export declare const makeOrganizationTokenReference: () => io.flow.v0.models.OrganizationTokenReference;
978
991
  export declare const makeOrganizationTokenV2: () => io.flow.v0.models.OrganizationTokenV2;
979
992
  export declare const makeOrganizationTokenV2Reference: () => io.flow.v0.models.OrganizationTokenV2Reference;
993
+ export declare const makeOrganizationTransactionDeleted: () => io.flow.v0.models.OrganizationTransactionDeleted;
994
+ export declare const makeOrganizationTransactionUpserted: () => io.flow.v0.models.OrganizationTransactionUpserted;
980
995
  export declare const makeOrganizationType: () => io.flow.v0.enums.OrganizationType;
981
996
  export declare const makeOrganizationUpserted: () => io.flow.v0.models.OrganizationUpserted;
982
997
  export declare const makeOrganizationUpsertedV2: () => io.flow.v0.models.OrganizationUpsertedV2;
@@ -1341,6 +1356,9 @@ export declare const makeSessionReference: () => io.flow.v0.models.SessionRefere
1341
1356
  export declare const makeSessionVisit: () => io.flow.v0.models.SessionVisit;
1342
1357
  export declare const makeSessionVisitor: () => io.flow.v0.models.SessionVisitor;
1343
1358
  export declare const makeSettlement: () => io.flow.v0.unions.Settlement;
1359
+ export declare const makeSetupBlocked: () => io.flow.v0.models.SetupBlocked;
1360
+ export declare const makeSetupCompleted: () => io.flow.v0.models.SetupCompleted;
1361
+ export declare const makeSetupInProgress: () => io.flow.v0.models.SetupInProgress;
1344
1362
  export declare const makeShipmentIntegrationType: () => io.flow.v0.enums.ShipmentIntegrationType;
1345
1363
  export declare const makeShipmentRecipient: () => io.flow.v0.enums.ShipmentRecipient;
1346
1364
  export declare const makeShipmentWindow: () => io.flow.v0.models.ShipmentWindow;
@@ -1559,7 +1577,6 @@ export declare const makeTradeAgreementDuty: () => io.flow.v0.models.TradeAgreem
1559
1577
  export declare const makeTradeAgreementName: () => io.flow.v0.enums.TradeAgreementName;
1560
1578
  export declare const makeTradeAgreementStatus: () => io.flow.v0.enums.TradeAgreementStatus;
1561
1579
  export declare const makeTransaction: () => io.flow.v0.models.Transaction;
1562
- export declare const makeTransactionDeleted: () => io.flow.v0.models.TransactionDeleted;
1563
1580
  export declare const makeTransactionSource: () => io.flow.v0.enums.TransactionSource;
1564
1581
  export declare const makeTransactionUpserted: () => io.flow.v0.models.TransactionUpserted;
1565
1582
  export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "Flow API mock data factories",
5
5
  "keywords": [
6
6
  "flow",
@@ -36,5 +36,5 @@
36
36
  "@faker-js/faker": "^6.2.0",
37
37
  "@flowio/api-types": "*"
38
38
  },
39
- "gitHead": "8da9deb769d2ef8206130a68406e58109e9e5635"
39
+ "gitHead": "475458c8e90ba7ef707144894938180f4237ff3f"
40
40
  }