@flowio/api-factories 0.0.49 → 0.0.51

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
@@ -25,7 +25,7 @@ var factories = {
25
25
  string: function () { return faker.datatype.string(); },
26
26
  unit: function () { return undefined; },
27
27
  uuid: function () { return faker.datatype.uuid(); },
28
- 'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']); },
28
+ 'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', 'postal_address', 'phonetic_name']); },
29
29
  'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker.helpers.arrayElement(['final', 'pending']); },
30
30
  'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']); },
31
31
  'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', 'store_pickup', 'service_pickup']); },
@@ -41,7 +41,7 @@ var factories = {
41
41
  'io.flow.apple.pay.v0.models.apple_pay_line_item': function () { return ({
42
42
  label: factories.string(),
43
43
  type: factories['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'](),
44
- amount: factories.string(),
44
+ amount: factories.decimal(),
45
45
  }); },
46
46
  'io.flow.apple.pay.v0.models.apple_pay_payment_contact': function () { return ({
47
47
  email_address: factories.string(),
@@ -88,7 +88,7 @@ var factories = {
88
88
  'io.flow.apple.pay.v0.models.apple_pay_shipping_method': function () { return ({
89
89
  label: factories.string(),
90
90
  detail: factories.string(),
91
- amount: factories.string(),
91
+ amount: factories.decimal(),
92
92
  identifier: factories.string(),
93
93
  }); },
94
94
  'io.flow.google.pay.v0.enums.auth_method': function () { return faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
@@ -2064,6 +2064,7 @@ var factories = {
2064
2064
  'io.flow.v0.enums.entity_identifier_type': function () { return faker.helpers.arrayElement(['ioss', 'voec']); },
2065
2065
  'io.flow.v0.enums.environment': function () { return faker.helpers.arrayElement(['sandbox', 'production']); },
2066
2066
  'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
2067
+ 'test_upserted',
2067
2068
  'transaction_upserted',
2068
2069
  'organization_transaction_upserted',
2069
2070
  'organization_transaction_deleted',
@@ -2074,6 +2075,10 @@ var factories = {
2074
2075
  'channel_transaction_deleted_v2',
2075
2076
  'channel_statement_upserted',
2076
2077
  'channel_statement_deleted',
2078
+ 'channel_payout_upserted',
2079
+ 'channel_payout_deleted',
2080
+ 'organization_payout_upserted',
2081
+ 'organization_payout_deleted',
2077
2082
  'attribute_upserted',
2078
2083
  'attribute_deleted',
2079
2084
  'attribute_upserted_v2',
@@ -2291,6 +2296,7 @@ var factories = {
2291
2296
  'io.flow.v0.enums.fulfillment_item_quantity_status': function () { return faker.helpers.arrayElement(['new', 'shipped', 'cancelled']); },
2292
2297
  'io.flow.v0.enums.fulfillment_method_type': function () { return faker.helpers.arrayElement(['fulfillment_method']); },
2293
2298
  'io.flow.v0.enums.fulfillment_method_value': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
2299
+ 'io.flow.v0.enums.fulfillment_routing': function () { return faker.helpers.arrayElement(['fulfilled_from_center', 'fulfillment_service']); },
2294
2300
  'io.flow.v0.enums.generic_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
2295
2301
  'io.flow.v0.enums.goods_supply': function () { return faker.helpers.arrayElement(['export', 'intra_community', 'local']); },
2296
2302
  'io.flow.v0.enums.holiday_calendar': function () { return faker.helpers.arrayElement(['us_bank_holidays', 'jewish_holidays']); },
@@ -2552,6 +2558,19 @@ var factories = {
2552
2558
  'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.helpers.arrayElement(['ideal_issuer_option']); },
2553
2559
  'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.helpers.arrayElement(['description']); },
2554
2560
  'io.flow.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'online', 'offline']); },
2561
+ 'io.flow.v0.enums.payment_request_review_check_status': function () { return faker.helpers.arrayElement(['passed', 'failed']); },
2562
+ 'io.flow.v0.enums.payment_request_review_check_type': function () { return faker.helpers.arrayElement([
2563
+ 'restricted_party_screening',
2564
+ 'fraud_suspicious_behavior',
2565
+ 'fraud_suspicious_past_activity',
2566
+ 'fraud_risky_velocity',
2567
+ 'fraud_previous_chargebacks',
2568
+ 'order_restricted_goods',
2569
+ 'order_unsupported_destination',
2570
+ 'order_missing_information',
2571
+ 'order_domestic',
2572
+ ]); },
2573
+ 'io.flow.v0.enums.payment_request_review_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'rejected']); },
2555
2574
  'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
2556
2575
  'io.flow.v0.enums.payment_status': function () { return faker.helpers.arrayElement([
2557
2576
  'requires_payment_method',
@@ -3161,6 +3180,15 @@ var factories = {
3161
3180
  validation_url: factories.string(),
3162
3181
  display_name: factories.string(),
3163
3182
  }); },
3183
+ 'io.flow.v0.models.applepay_sdk_create_result_action_details': function () { return ({
3184
+ discriminator: 'applepay_sdk_create_result_action_details',
3185
+ merchant_identifier: factories.string(),
3186
+ payment_data_request: factories.object(),
3187
+ }); },
3188
+ 'io.flow.v0.models.applepay_sdk_validate_result_action_details': function () { return ({
3189
+ discriminator: 'applepay_sdk_validate_result_action_details',
3190
+ payment_session: factories.object(),
3191
+ }); },
3164
3192
  'io.flow.v0.models.at_cost': function () { return ({
3165
3193
  discriminator: 'at_cost',
3166
3194
  ignore: factories.string(),
@@ -3456,7 +3484,6 @@ var factories = {
3456
3484
  b2b_invoice: factories['io.flow.v0.models.b2b_invoice'](),
3457
3485
  }); },
3458
3486
  'io.flow.v0.models.bank_account_form': function () { return ({
3459
- last4: factories.string(),
3460
3487
  info: factories['io.flow.v0.unions.bank_account_info'](),
3461
3488
  }); },
3462
3489
  'io.flow.v0.models.bank_account_info_usa': function () { return ({
@@ -3467,6 +3494,9 @@ var factories = {
3467
3494
  'io.flow.v0.models.bank_account_reference': function () { return ({
3468
3495
  id: factories.string(),
3469
3496
  }); },
3497
+ 'io.flow.v0.models.bank_account_summary': function () { return ({
3498
+ last4: factories.string(),
3499
+ }); },
3470
3500
  'io.flow.v0.models.behavior_audit': function () { return ({
3471
3501
  behavior: factories['io.flow.v0.enums.flow_behavior'](),
3472
3502
  authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
@@ -3956,6 +3986,11 @@ var factories = {
3956
3986
  'io.flow.v0.models.channel_authorization_form': function () { return ({
3957
3987
  channel_id: factories.string(),
3958
3988
  }); },
3989
+ 'io.flow.v0.models.channel_bank_account': function () { return ({
3990
+ id: factories.string(),
3991
+ key: factories.string(),
3992
+ last4: factories.string(),
3993
+ }); },
3959
3994
  'io.flow.v0.models.channel_currency': function () { return ({
3960
3995
  id: factories.string(),
3961
3996
  currency: factories.string(),
@@ -3974,6 +4009,10 @@ var factories = {
3974
4009
  timestamp: factories.date_time_iso_8601(),
3975
4010
  channel_currency: factories['io.flow.v0.models.channel_currency'](),
3976
4011
  }); },
4012
+ 'io.flow.v0.models.channel_default_bank_account': function () { return ({
4013
+ id: factories.string(),
4014
+ bank_account: factories['io.flow.v0.models.bank_account_reference'](),
4015
+ }); },
3977
4016
  'io.flow.v0.models.channel_deleted': function () { return ({
3978
4017
  discriminator: 'channel_deleted',
3979
4018
  event_id: factories.string(),
@@ -4026,11 +4065,26 @@ var factories = {
4026
4065
  id: factories.string(),
4027
4066
  account: factories['io.flow.v0.models.account_reference'](),
4028
4067
  status: factories['io.flow.v0.unions.payout_status'](),
4068
+ bank_account: factories['io.flow.v0.models.bank_account_summary'](),
4029
4069
  amount: factories.decimal(),
4030
4070
  attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
4031
4071
  created_at: factories.date_time_iso_8601(),
4032
4072
  updated_at: factories.date_time_iso_8601(),
4033
4073
  }); },
4074
+ 'io.flow.v0.models.channel_payout_deleted': function () { return ({
4075
+ discriminator: 'channel_payout_deleted',
4076
+ event_id: factories.string(),
4077
+ timestamp: factories.date_time_iso_8601(),
4078
+ channel_id: factories.string(),
4079
+ id: factories.string(),
4080
+ }); },
4081
+ 'io.flow.v0.models.channel_payout_upserted': function () { return ({
4082
+ discriminator: 'channel_payout_upserted',
4083
+ event_id: factories.string(),
4084
+ timestamp: factories.date_time_iso_8601(),
4085
+ channel_id: factories.string(),
4086
+ payout: factories['io.flow.v0.models.channel_payout'](),
4087
+ }); },
4034
4088
  'io.flow.v0.models.channel_rate': function () { return ({
4035
4089
  placeholder: factories.string(),
4036
4090
  }); },
@@ -4080,9 +4134,9 @@ var factories = {
4080
4134
  user: factories['io.flow.v0.models.user_reference'](),
4081
4135
  }); },
4082
4136
  'io.flow.v0.models.channel_transaction': function () { return ({
4137
+ statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
4083
4138
  id: factories.string(),
4084
4139
  order: factories['io.flow.v0.models.billing_channel_order_summary'](),
4085
- statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
4086
4140
  payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
4087
4141
  currency: factories.string(),
4088
4142
  source: factories['io.flow.v0.enums.transaction_source'](),
@@ -4841,6 +4895,13 @@ var factories = {
4841
4895
  origin: factories.string(),
4842
4896
  accept_language: factories.string(),
4843
4897
  ip: factories.string(),
4898
+ time_zone_offset: factories.integer(),
4899
+ date_string: factories.string(),
4900
+ navigator_language: factories.string(),
4901
+ navigator_hardware_concurrency: factories.integer(),
4902
+ cookie_created_at: factories.integer(),
4903
+ session_duration: factories.integer(),
4904
+ fingerprint: factories.string(),
4844
4905
  }); },
4845
4906
  'io.flow.v0.models.device_fingerprint_details_browser': function () { return ({
4846
4907
  type: 'browser',
@@ -7642,6 +7703,7 @@ var factories = {
7642
7703
  }); },
7643
7704
  'io.flow.v0.models.organization_bank_account': function () { return ({
7644
7705
  id: factories.string(),
7706
+ key: factories.string(),
7645
7707
  last4: factories.string(),
7646
7708
  }); },
7647
7709
  'io.flow.v0.models.organization_configuration_reference': function () { return ({
@@ -7723,11 +7785,26 @@ var factories = {
7723
7785
  id: factories.string(),
7724
7786
  account: factories['io.flow.v0.models.account_reference'](),
7725
7787
  status: factories['io.flow.v0.unions.payout_status'](),
7788
+ bank_account: factories['io.flow.v0.models.bank_account_summary'](),
7726
7789
  amount: factories.decimal(),
7727
7790
  attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
7728
7791
  created_at: factories.date_time_iso_8601(),
7729
7792
  updated_at: factories.date_time_iso_8601(),
7730
7793
  }); },
7794
+ 'io.flow.v0.models.organization_payout_deleted': function () { return ({
7795
+ discriminator: 'organization_payout_deleted',
7796
+ event_id: factories.string(),
7797
+ timestamp: factories.date_time_iso_8601(),
7798
+ organization: factories.string(),
7799
+ id: factories.string(),
7800
+ }); },
7801
+ 'io.flow.v0.models.organization_payout_upserted': function () { return ({
7802
+ discriminator: 'organization_payout_upserted',
7803
+ event_id: factories.string(),
7804
+ timestamp: factories.date_time_iso_8601(),
7805
+ organization: factories.string(),
7806
+ payout: factories['io.flow.v0.models.organization_payout'](),
7807
+ }); },
7731
7808
  'io.flow.v0.models.organization_put_form': function () { return ({
7732
7809
  name: factories.string(),
7733
7810
  environment: factories['io.flow.v0.enums.environment'](),
@@ -8076,7 +8153,7 @@ var factories = {
8076
8153
  }); },
8077
8154
  'io.flow.v0.models.payment_method_data_authorize_applepay_result_failure': function () { return ({
8078
8155
  type: 'failure',
8079
- placeholder: factories.string(),
8156
+ message: factories.string(),
8080
8157
  }); },
8081
8158
  'io.flow.v0.models.payment_method_data_authorize_applepay_result_success': function () { return ({
8082
8159
  type: 'success',
@@ -8338,6 +8415,7 @@ var factories = {
8338
8415
  payment_information: factories['io.flow.v0.models.payment_information'](),
8339
8416
  supported_actions: arrayOf(function () { return factories['io.flow.v0.enums.payment_action_type'](); }),
8340
8417
  payment_capture_option: factories['io.flow.v0.unions.payment_capture_option'](),
8418
+ review: factories['io.flow.v0.models.payment_request_review'](),
8341
8419
  }); },
8342
8420
  'io.flow.v0.models.payment_request_billing': function () { return ({
8343
8421
  fees: factories['io.flow.v0.models.payment_request_billing_fees'](),
@@ -8371,6 +8449,14 @@ var factories = {
8371
8449
  id: factories.string(),
8372
8450
  reference: factories.string(),
8373
8451
  }); },
8452
+ 'io.flow.v0.models.payment_request_review': function () { return ({
8453
+ status: factories['io.flow.v0.enums.payment_request_review_status'](),
8454
+ checks: arrayOf(function () { return factories['io.flow.v0.models.payment_request_review_check'](); }),
8455
+ }); },
8456
+ 'io.flow.v0.models.payment_request_review_check': function () { return ({
8457
+ type: factories['io.flow.v0.enums.payment_request_review_check_type'](),
8458
+ status: factories['io.flow.v0.enums.payment_request_review_check_status'](),
8459
+ }); },
8374
8460
  'io.flow.v0.models.payment_request_upserted': function () { return ({
8375
8461
  discriminator: 'payment_request_upserted',
8376
8462
  event_id: factories.string(),
@@ -8432,6 +8518,22 @@ var factories = {
8432
8518
  code: 'sent',
8433
8519
  timestamp: factories.date_time_iso_8601(),
8434
8520
  }); },
8521
+ 'io.flow.v0.models.payout_transaction': function () { return ({
8522
+ id: factories.string(),
8523
+ order: factories['io.flow.v0.models.billing_channel_order_summary'](),
8524
+ payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
8525
+ currency: factories.string(),
8526
+ source: factories['io.flow.v0.enums.transaction_source'](),
8527
+ parent: factories['io.flow.v0.models.parent_transaction_summary'](),
8528
+ gross: factories.decimal(),
8529
+ fees: arrayOf(function () { return factories['io.flow.v0.models.fee_deduction'](); }),
8530
+ withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
8531
+ discounts: arrayOf(function () { return factories['io.flow.v0.models.billing_discount'](); }),
8532
+ net: factories.decimal(),
8533
+ identifiers: objectOf(function () { return factories.string(); }),
8534
+ created_at: factories.date_time_iso_8601(),
8535
+ updated_at: factories.date_time_iso_8601(),
8536
+ }); },
8435
8537
  'io.flow.v0.models.paypal_authorization_details': function () { return ({
8436
8538
  discriminator: 'paypal_authorization_details',
8437
8539
  payment_id: factories.string(),
@@ -8505,6 +8607,8 @@ var factories = {
8505
8607
  id: factories.string(),
8506
8608
  key: factories.string(),
8507
8609
  center: factories['io.flow.v0.models.center_summary'](),
8610
+ fulfillment_routing: factories['io.flow.v0.enums.fulfillment_routing'](),
8611
+ ship_from_country: factories.string(),
8508
8612
  items: arrayOf(function () { return factories['io.flow.v0.models.delivery_item'](); }),
8509
8613
  options: arrayOf(function () { return factories['io.flow.v0.models.delivery_option'](); }),
8510
8614
  special_services: arrayOf(function () { return factories['io.flow.v0.enums.physical_delivery_special_serivce'](); }),
@@ -9801,6 +9905,7 @@ var factories = {
9801
9905
  }); },
9802
9906
  'io.flow.v0.models.shipping_label_document': function () { return ({
9803
9907
  zpl: factories.string(),
9908
+ zpl_url: factories.string(),
9804
9909
  pdf: factories.string(),
9805
9910
  pdf_data: factories.string(),
9806
9911
  png: factories.string(),
@@ -10569,6 +10674,16 @@ var factories = {
10569
10674
  types: arrayOf(function () { return factories['io.flow.v0.enums.tax_report_type'](); }),
10570
10675
  email_recipients: arrayOf(function () { return factories.string(); }),
10571
10676
  }); },
10677
+ 'io.flow.v0.models.test': function () { return ({
10678
+ id: factories.string(),
10679
+ }); },
10680
+ 'io.flow.v0.models.test_upserted': function () { return ({
10681
+ discriminator: 'test_upserted',
10682
+ event_id: factories.string(),
10683
+ timestamp: factories.date_time_iso_8601(),
10684
+ organization: factories.string(),
10685
+ test: factories['io.flow.v0.models.test'](),
10686
+ }); },
10572
10687
  'io.flow.v0.models.third_party_logistics_partner': function () { return ({
10573
10688
  warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
10574
10689
  warehouse_url: factories.string(),
@@ -10850,9 +10965,9 @@ var factories = {
10850
10965
  duty: factories['io.flow.v0.models.duty'](),
10851
10966
  }); },
10852
10967
  'io.flow.v0.models.transaction': function () { return ({
10968
+ statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
10853
10969
  id: factories.string(),
10854
10970
  order: factories['io.flow.v0.models.billing_channel_order_summary'](),
10855
- statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
10856
10971
  payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
10857
10972
  currency: factories.string(),
10858
10973
  source: factories['io.flow.v0.enums.transaction_source'](),
@@ -11173,6 +11288,8 @@ var factories = {
11173
11288
  function () { return factories['io.flow.v0.models.stripe_authorization_result_action_details'](); },
11174
11289
  function () { return factories['io.flow.v0.models.threeds_identify_action_details'](); },
11175
11290
  function () { return factories['io.flow.v0.models.threeds_challenge_action_details'](); },
11291
+ function () { return factories['io.flow.v0.models.applepay_sdk_create_result_action_details'](); },
11292
+ function () { return factories['io.flow.v0.models.applepay_sdk_validate_result_action_details'](); },
11176
11293
  function () { return factories['io.flow.v0.models.klarna_sdk_authorization_result_action_details'](); },
11177
11294
  function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); },
11178
11295
  ]);
@@ -11283,6 +11400,7 @@ var factories = {
11283
11400
  },
11284
11401
  'io.flow.v0.unions.event': function () {
11285
11402
  var f = faker.helpers.arrayElement([
11403
+ function () { return factories['io.flow.v0.models.test_upserted'](); },
11286
11404
  function () { return factories['io.flow.v0.models.transaction_upserted'](); },
11287
11405
  function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
11288
11406
  function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
@@ -11293,6 +11411,10 @@ var factories = {
11293
11411
  function () { return factories['io.flow.v0.models.channel_transaction_deleted_v2'](); },
11294
11412
  function () { return factories['io.flow.v0.models.channel_statement_upserted'](); },
11295
11413
  function () { return factories['io.flow.v0.models.channel_statement_deleted'](); },
11414
+ function () { return factories['io.flow.v0.models.channel_payout_upserted'](); },
11415
+ function () { return factories['io.flow.v0.models.channel_payout_deleted'](); },
11416
+ function () { return factories['io.flow.v0.models.organization_payout_upserted'](); },
11417
+ function () { return factories['io.flow.v0.models.organization_payout_deleted'](); },
11296
11418
  function () { return factories['io.flow.v0.models.attribute_upserted'](); },
11297
11419
  function () { return factories['io.flow.v0.models.attribute_deleted'](); },
11298
11420
  function () { return factories['io.flow.v0.models.attribute_upserted_v2'](); },
@@ -12099,6 +12221,8 @@ export var makeAmountMargin = function () { return factories['io.flow.v0.models.
12099
12221
  export var makeAmountMarginForm = function () { return factories['io.flow.v0.models.amount_margin_form'](); };
12100
12222
  export var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
12101
12223
  export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
12224
+ export var makeApplepaySdkCreateResultActionDetails = function () { return factories['io.flow.v0.models.applepay_sdk_create_result_action_details'](); };
12225
+ export var makeApplepaySdkValidateResultActionDetails = function () { return factories['io.flow.v0.models.applepay_sdk_validate_result_action_details'](); };
12102
12226
  export var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
12103
12227
  export var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
12104
12228
  export var makeAttribute = function () { return factories['io.flow.v0.models.attribute'](); };
@@ -12165,6 +12289,7 @@ export var makeBankAccountForm = function () { return factories['io.flow.v0.mode
12165
12289
  export var makeBankAccountInfo = function () { return factories['io.flow.v0.unions.bank_account_info'](); };
12166
12290
  export var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.bank_account_info_usa'](); };
12167
12291
  export var makeBankAccountReference = function () { return factories['io.flow.v0.models.bank_account_reference'](); };
12292
+ export var makeBankAccountSummary = function () { return factories['io.flow.v0.models.bank_account_summary'](); };
12168
12293
  export var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
12169
12294
  export var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
12170
12295
  export var makeBillingChannelOrderSummary = function () { return factories['io.flow.v0.models.billing_channel_order_summary'](); };
@@ -12253,10 +12378,12 @@ export var makeChangeType = function () { return factories['io.flow.v0.enums.cha
12253
12378
  export var makeChannel = function () { return factories['io.flow.v0.models.channel'](); };
12254
12379
  export var makeChannelAuthorization = function () { return factories['io.flow.v0.models.channel_authorization'](); };
12255
12380
  export var makeChannelAuthorizationForm = function () { return factories['io.flow.v0.models.channel_authorization_form'](); };
12381
+ export var makeChannelBankAccount = function () { return factories['io.flow.v0.models.channel_bank_account'](); };
12256
12382
  export var makeChannelCurrency = function () { return factories['io.flow.v0.models.channel_currency'](); };
12257
12383
  export var makeChannelCurrencyCapability = function () { return factories['io.flow.v0.enums.channel_currency_capability'](); };
12258
12384
  export var makeChannelCurrencyDeleted = function () { return factories['io.flow.v0.models.channel_currency_deleted'](); };
12259
12385
  export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
12386
+ export var makeChannelDefaultBankAccount = function () { return factories['io.flow.v0.models.channel_default_bank_account'](); };
12260
12387
  export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
12261
12388
  export var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
12262
12389
  export var makeChannelOrganizationAuthorization = function () { return factories['io.flow.v0.models.channel_organization_authorization'](); };
@@ -12266,6 +12393,8 @@ export var makeChannelOrganizationForm = function () { return factories['io.flow
12266
12393
  export var makeChannelOrganizationPutForm = function () { return factories['io.flow.v0.models.channel_organization_put_form'](); };
12267
12394
  export var makeChannelOrganizationUpserted = function () { return factories['io.flow.v0.models.channel_organization_upserted'](); };
12268
12395
  export var makeChannelPayout = function () { return factories['io.flow.v0.models.channel_payout'](); };
12396
+ export var makeChannelPayoutDeleted = function () { return factories['io.flow.v0.models.channel_payout_deleted'](); };
12397
+ export var makeChannelPayoutUpserted = function () { return factories['io.flow.v0.models.channel_payout_upserted'](); };
12269
12398
  export var makeChannelRate = function () { return factories['io.flow.v0.models.channel_rate'](); };
12270
12399
  export var makeChannelReference = function () { return factories['io.flow.v0.models.channel_reference'](); };
12271
12400
  export var makeChannelStatement = function () { return factories['io.flow.v0.models.channel_statement'](); };
@@ -12614,6 +12743,7 @@ export var makeFulfillmentItemQuantityStatus = function () { return factories['i
12614
12743
  export var makeFulfillmentLineCancelForm = function () { return factories['io.flow.v0.models.fulfillment_line_cancel_form'](); };
12615
12744
  export var makeFulfillmentMethodType = function () { return factories['io.flow.v0.enums.fulfillment_method_type'](); };
12616
12745
  export var makeFulfillmentMethodValue = function () { return factories['io.flow.v0.enums.fulfillment_method_value'](); };
12746
+ export var makeFulfillmentRouting = function () { return factories['io.flow.v0.enums.fulfillment_routing'](); };
12617
12747
  export var makeFullyHarmonizedItemUpserted = function () { return factories['io.flow.v0.models.fully_harmonized_item_upserted'](); };
12618
12748
  export var makeGatewayAuthenticationData = function () { return factories['io.flow.v0.unions.gateway_authentication_data'](); };
12619
12749
  export var makeGatewayAuthenticationDataForm = function () { return factories['io.flow.v0.unions.gateway_authentication_data_form'](); };
@@ -13017,6 +13147,8 @@ export var makeOrganizationOnboardingStateDeleted = function () { return factori
13017
13147
  export var makeOrganizationOnboardingStateUpserted = function () { return factories['io.flow.v0.models.organization_onboarding_state_upserted'](); };
13018
13148
  export var makeOrganizationPaymentMethodTag = function () { return factories['io.flow.v0.enums.organization_payment_method_tag'](); };
13019
13149
  export var makeOrganizationPayout = function () { return factories['io.flow.v0.models.organization_payout'](); };
13150
+ export var makeOrganizationPayoutDeleted = function () { return factories['io.flow.v0.models.organization_payout_deleted'](); };
13151
+ export var makeOrganizationPayoutUpserted = function () { return factories['io.flow.v0.models.organization_payout_upserted'](); };
13020
13152
  export var makeOrganizationPutForm = function () { return factories['io.flow.v0.models.organization_put_form'](); };
13021
13153
  export var makeOrganizationRatesData = function () { return factories['io.flow.v0.models.organization_rates_data'](); };
13022
13154
  export var makeOrganizationRatesPublished = function () { return factories['io.flow.v0.models.organization_rates_published'](); };
@@ -13154,6 +13286,11 @@ export var makePaymentRequestBundle = function () { return factories['io.flow.v0
13154
13286
  export var makePaymentRequestBundleForm = function () { return factories['io.flow.v0.models.payment_request_bundle_form'](); };
13155
13287
  export var makePaymentRequestForm = function () { return factories['io.flow.v0.models.payment_request_form'](); };
13156
13288
  export var makePaymentRequestReference = function () { return factories['io.flow.v0.models.payment_request_reference'](); };
13289
+ export var makePaymentRequestReview = function () { return factories['io.flow.v0.models.payment_request_review'](); };
13290
+ export var makePaymentRequestReviewCheck = function () { return factories['io.flow.v0.models.payment_request_review_check'](); };
13291
+ export var makePaymentRequestReviewCheckStatus = function () { return factories['io.flow.v0.enums.payment_request_review_check_status'](); };
13292
+ export var makePaymentRequestReviewCheckType = function () { return factories['io.flow.v0.enums.payment_request_review_check_type'](); };
13293
+ export var makePaymentRequestReviewStatus = function () { return factories['io.flow.v0.enums.payment_request_review_status'](); };
13157
13294
  export var makePaymentRequestUpserted = function () { return factories['io.flow.v0.models.payment_request_upserted'](); };
13158
13295
  export var makePaymentReversal = function () { return factories['io.flow.v0.models.payment_reversal'](); };
13159
13296
  export var makePaymentReversalForm = function () { return factories['io.flow.v0.models.payment_reversal_form'](); };
@@ -13174,6 +13311,7 @@ export var makePayoutStatusFailed = function () { return factories['io.flow.v0.m
13174
13311
  export var makePayoutStatusFailureCode = function () { return factories['io.flow.v0.enums.payout_status_failure_code'](); };
13175
13312
  export var makePayoutStatusScheduled = function () { return factories['io.flow.v0.models.payout_status_scheduled'](); };
13176
13313
  export var makePayoutStatusSent = function () { return factories['io.flow.v0.models.payout_status_sent'](); };
13314
+ export var makePayoutTransaction = function () { return factories['io.flow.v0.models.payout_transaction'](); };
13177
13315
  export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
13178
13316
  export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
13179
13317
  export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
@@ -13575,6 +13713,8 @@ export var makeTaxSetting = function () { return factories['io.flow.v0.unions.ta
13575
13713
  export var makeTaxVerificationResult = function () { return factories['io.flow.v0.enums.tax_verification_result'](); };
13576
13714
  export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
13577
13715
  export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
13716
+ export var makeTest = function () { return factories['io.flow.v0.models.test'](); };
13717
+ export var makeTestUpserted = function () { return factories['io.flow.v0.models.test_upserted'](); };
13578
13718
  export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
13579
13719
  export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
13580
13720
  export var makeThreeDSecureCode = function () { return factories['io.flow.v0.enums.three_d_secure_code'](); };
@@ -66,6 +66,8 @@ export declare const makeAmountMargin: () => io.flow.v0.models.AmountMargin;
66
66
  export declare const makeAmountMarginForm: () => io.flow.v0.models.AmountMarginForm;
67
67
  export declare const makeAnalyticsExportType: () => io.flow.v0.models.AnalyticsExportType;
68
68
  export declare const makeApplePayMerchantValidationPayload: () => io.flow.v0.models.ApplePayMerchantValidationPayload;
69
+ export declare const makeApplepaySdkCreateResultActionDetails: () => io.flow.v0.models.ApplepaySdkCreateResultActionDetails;
70
+ export declare const makeApplepaySdkValidateResultActionDetails: () => io.flow.v0.models.ApplepaySdkValidateResultActionDetails;
69
71
  export declare const makeAtCost: () => io.flow.v0.models.AtCost;
70
72
  export declare const makeAttachment: () => io.flow.v0.models.Attachment;
71
73
  export declare const makeAttribute: () => io.flow.v0.models.Attribute;
@@ -132,6 +134,7 @@ export declare const makeBankAccountForm: () => io.flow.v0.models.BankAccountFor
132
134
  export declare const makeBankAccountInfo: () => io.flow.v0.models.BankAccountInfoUsa;
133
135
  export declare const makeBankAccountInfoUsa: () => io.flow.v0.models.BankAccountInfoUsa;
134
136
  export declare const makeBankAccountReference: () => io.flow.v0.models.BankAccountReference;
137
+ export declare const makeBankAccountSummary: () => io.flow.v0.models.BankAccountSummary;
135
138
  export declare const makeBehaviorAudit: () => io.flow.v0.models.BehaviorAudit;
136
139
  export declare const makeBillingAddress: () => io.flow.v0.models.BillingAddress;
137
140
  export declare const makeBillingChannelOrderSummary: () => io.flow.v0.models.BillingChannelOrderSummary;
@@ -220,10 +223,12 @@ export declare const makeChangeType: () => io.flow.v0.enums.ChangeType;
220
223
  export declare const makeChannel: () => io.flow.v0.models.Channel;
221
224
  export declare const makeChannelAuthorization: () => io.flow.v0.models.ChannelAuthorization;
222
225
  export declare const makeChannelAuthorizationForm: () => io.flow.v0.models.ChannelAuthorizationForm;
226
+ export declare const makeChannelBankAccount: () => io.flow.v0.models.ChannelBankAccount;
223
227
  export declare const makeChannelCurrency: () => io.flow.v0.models.ChannelCurrency;
224
228
  export declare const makeChannelCurrencyCapability: () => io.flow.v0.enums.ChannelCurrencyCapability;
225
229
  export declare const makeChannelCurrencyDeleted: () => io.flow.v0.models.ChannelCurrencyDeleted;
226
230
  export declare const makeChannelCurrencyUpserted: () => io.flow.v0.models.ChannelCurrencyUpserted;
231
+ export declare const makeChannelDefaultBankAccount: () => io.flow.v0.models.ChannelDefaultBankAccount;
227
232
  export declare const makeChannelDeleted: () => io.flow.v0.models.ChannelDeleted;
228
233
  export declare const makeChannelOrganization: () => io.flow.v0.models.ChannelOrganization;
229
234
  export declare const makeChannelOrganizationAuthorization: () => io.flow.v0.models.ChannelOrganizationAuthorization;
@@ -233,6 +238,8 @@ export declare const makeChannelOrganizationForm: () => io.flow.v0.models.Channe
233
238
  export declare const makeChannelOrganizationPutForm: () => io.flow.v0.models.ChannelOrganizationPutForm;
234
239
  export declare const makeChannelOrganizationUpserted: () => io.flow.v0.models.ChannelOrganizationUpserted;
235
240
  export declare const makeChannelPayout: () => io.flow.v0.models.ChannelPayout;
241
+ export declare const makeChannelPayoutDeleted: () => io.flow.v0.models.ChannelPayoutDeleted;
242
+ export declare const makeChannelPayoutUpserted: () => io.flow.v0.models.ChannelPayoutUpserted;
236
243
  export declare const makeChannelRate: () => io.flow.v0.models.ChannelRate;
237
244
  export declare const makeChannelReference: () => io.flow.v0.models.ChannelReference;
238
245
  export declare const makeChannelStatement: () => io.flow.v0.models.ChannelStatement;
@@ -581,6 +588,7 @@ export declare const makeFulfillmentItemQuantityStatus: () => io.flow.v0.enums.F
581
588
  export declare const makeFulfillmentLineCancelForm: () => io.flow.v0.models.FulfillmentLineCancelForm;
582
589
  export declare const makeFulfillmentMethodType: () => "fulfillment_method";
583
590
  export declare const makeFulfillmentMethodValue: () => io.flow.v0.enums.FulfillmentMethodValue;
591
+ export declare const makeFulfillmentRouting: () => io.flow.v0.enums.FulfillmentRouting;
584
592
  export declare const makeFullyHarmonizedItemUpserted: () => io.flow.v0.models.FullyHarmonizedItemUpserted;
585
593
  export declare const makeGatewayAuthenticationData: () => io.flow.v0.models.StripeAuthenticationData;
586
594
  export declare const makeGatewayAuthenticationDataForm: () => io.flow.v0.models.StripeAuthenticationDataForm;
@@ -984,6 +992,8 @@ export declare const makeOrganizationOnboardingStateDeleted: () => io.flow.v0.mo
984
992
  export declare const makeOrganizationOnboardingStateUpserted: () => io.flow.v0.models.OrganizationOnboardingStateUpserted;
985
993
  export declare const makeOrganizationPaymentMethodTag: () => "deny";
986
994
  export declare const makeOrganizationPayout: () => io.flow.v0.models.OrganizationPayout;
995
+ export declare const makeOrganizationPayoutDeleted: () => io.flow.v0.models.OrganizationPayoutDeleted;
996
+ export declare const makeOrganizationPayoutUpserted: () => io.flow.v0.models.OrganizationPayoutUpserted;
987
997
  export declare const makeOrganizationPutForm: () => io.flow.v0.models.OrganizationPutForm;
988
998
  export declare const makeOrganizationRatesData: () => io.flow.v0.models.OrganizationRatesData;
989
999
  export declare const makeOrganizationRatesPublished: () => io.flow.v0.models.OrganizationRatesPublished;
@@ -1121,6 +1131,11 @@ export declare const makePaymentRequestBundle: () => io.flow.v0.models.PaymentRe
1121
1131
  export declare const makePaymentRequestBundleForm: () => io.flow.v0.models.PaymentRequestBundleForm;
1122
1132
  export declare const makePaymentRequestForm: () => io.flow.v0.models.PaymentRequestForm;
1123
1133
  export declare const makePaymentRequestReference: () => io.flow.v0.models.PaymentRequestReference;
1134
+ export declare const makePaymentRequestReview: () => io.flow.v0.models.PaymentRequestReview;
1135
+ export declare const makePaymentRequestReviewCheck: () => io.flow.v0.models.PaymentRequestReviewCheck;
1136
+ export declare const makePaymentRequestReviewCheckStatus: () => io.flow.v0.enums.PaymentRequestReviewCheckStatus;
1137
+ export declare const makePaymentRequestReviewCheckType: () => io.flow.v0.enums.PaymentRequestReviewCheckType;
1138
+ export declare const makePaymentRequestReviewStatus: () => io.flow.v0.enums.PaymentRequestReviewStatus;
1124
1139
  export declare const makePaymentRequestUpserted: () => io.flow.v0.models.PaymentRequestUpserted;
1125
1140
  export declare const makePaymentReversal: () => io.flow.v0.models.PaymentReversal;
1126
1141
  export declare const makePaymentReversalForm: () => io.flow.v0.models.PaymentReversalForm;
@@ -1141,6 +1156,7 @@ export declare const makePayoutStatusFailed: () => io.flow.v0.models.PayoutStatu
1141
1156
  export declare const makePayoutStatusFailureCode: () => io.flow.v0.enums.PayoutStatusFailureCode;
1142
1157
  export declare const makePayoutStatusScheduled: () => io.flow.v0.models.PayoutStatusScheduled;
1143
1158
  export declare const makePayoutStatusSent: () => io.flow.v0.models.PayoutStatusSent;
1159
+ export declare const makePayoutTransaction: () => io.flow.v0.models.PayoutTransaction;
1144
1160
  export declare const makePaypalAuthorizationDetails: () => io.flow.v0.models.PaypalAuthorizationDetails;
1145
1161
  export declare const makePaypalAuthorizationForm: () => io.flow.v0.models.PaypalAuthorizationForm;
1146
1162
  export declare const makePeakSurchargeByWeightServiceFee: () => io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -1542,6 +1558,8 @@ export declare const makeTaxSetting: () => io.flow.v0.unions.TaxSetting;
1542
1558
  export declare const makeTaxVerificationResult: () => io.flow.v0.enums.TaxVerificationResult;
1543
1559
  export declare const makeTaxabilityType: () => "tax_rule";
1544
1560
  export declare const makeTaxabilityValue: () => "exempt";
1561
+ export declare const makeTest: () => io.flow.v0.models.Test;
1562
+ export declare const makeTestUpserted: () => io.flow.v0.models.TestUpserted;
1545
1563
  export declare const makeThirdPartyLogisticsPartner: () => io.flow.v0.models.ThirdPartyLogisticsPartner;
1546
1564
  export declare const makeThreeDSecure: () => io.flow.v0.models.ThreeDSecure;
1547
1565
  export declare const makeThreeDSecureCode: () => io.flow.v0.enums.ThreeDSecureCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
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": "a8ae712ba7bc25f4abe216a620860b2f43e6c513"
39
+ "gitHead": "d22c31e6e9b6f033ab7c76f36890e55d75c8e519"
40
40
  }