@flowio/api-internal-mock-generator 5.28.1 → 5.29.0

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.
@@ -10,7 +10,7 @@
10
10
  "key": "api-internal"
11
11
  },
12
12
  "namespace": "io.flow.internal.v0",
13
- "version": "0.15.1",
13
+ "version": "0.15.6",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -350,7 +350,7 @@
350
350
  "enums": ["channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator"],
351
351
  "interfaces": [],
352
352
  "unions": ["browser_info", "payment_method_data"],
353
- "models": ["address", "amount", "applepay", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_details_v66_3ds2_challenge", "payment_details_v66_3ds2_fingerprint", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "sdk_v3_on_complete_data", "sdk_v3_on_complete_result", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data"],
353
+ "models": ["address", "amount", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data"],
354
354
  "annotations": []
355
355
  }, {
356
356
  "uri": "https://app.apibuilder.io/flow/bitpay/latest/service.json",
@@ -380,7 +380,7 @@
380
380
  "enums": ["error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type"],
381
381
  "interfaces": [],
382
382
  "unions": [],
383
- "models": ["crypto_event", "crypto_payment_info", "error", "error_response", "payment", "payment_request", "refund", "refund_request", "webhook_payment", "webhook_refund"],
383
+ "models": ["crypto_event", "crypto_payment_info", "error_response", "payment", "payment_request", "refund", "refund_request", "webhook_payment", "webhook_refund"],
384
384
  "annotations": []
385
385
  }, {
386
386
  "uri": "https://app.apibuilder.io/flow/payment-gateway/latest/service.json",
@@ -422,10 +422,10 @@
422
422
  "key": "stripe"
423
423
  },
424
424
  "version": "0.2.53",
425
- "enums": ["account_type", "cancellation_reason", "capture_method", "card_brand", "card_error_code", "card_funding_type", "check_outcome", "code_verification_status", "confirmation_method", "decline_code", "error_type", "event_type", "klarna_payment_method_category_type", "klarna_product", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_type", "payment_outcome_type", "payment_status", "refund_failure_reason", "refund_reason", "refund_status", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "source_flow", "source_status", "source_type", "source_usage_type", "three_d_secure_support", "token_type", "use_stripe_sdk_type"],
425
+ "enums": ["account_type", "cancellation_reason", "capture_method", "card_brand", "card_error_code", "card_funding_type", "check_outcome", "code_verification_status", "confirmation_method", "decline_code", "error_type", "event_type", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_type", "payment_outcome_type", "payment_status", "refund_failure_reason", "refund_reason", "refund_status", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "source_flow", "source_status", "source_type", "source_usage_type", "three_d_secure_support", "token_type", "use_stripe_sdk_type"],
426
426
  "interfaces": [],
427
427
  "unions": [],
428
- "models": ["account", "account_request", "address", "card", "card_request", "charge", "charge_destination", "charge_request", "charge_source_optional", "code_verification", "customer", "customer_request", "error", "keys", "klarna_attachment", "klarna_marketplace_seller_info", "last_payment_error", "legal_entity", "metadata", "next_action", "order", "order_item", "order_item_request", "order_request", "owner", "payment_intent", "payment_intent_cancellation_form", "payment_intent_capture_form", "payment_intent_charges", "payment_intent_confirmation_form", "payment_intent_form", "payment_intent_update_form", "payment_method", "payment_method_billing_details", "payment_method_form", "payment_method_options", "payment_method_options_card", "payment_outcome", "receiver", "redirect", "redirect_to_url", "refund", "refund_request", "refunds", "shipping", "source", "source_card", "source_card_request", "source_klarna", "source_klarna_request", "source_order", "source_order_request", "source_request", "stripe_3ds2_fingerprint", "stripe_error", "stripe_event", "stripe_event_data", "stripe_event_request", "three_d_secure", "three_d_secure_redirect", "token", "tos_acceptance", "transfer_data"],
428
+ "models": ["account", "account_request", "address", "card", "card_request", "charge", "charge_destination", "charge_request", "charge_source_optional", "code_verification", "customer", "customer_request", "error", "keys", "klarna_attachment", "klarna_marketplace_seller_info", "last_payment_error", "legal_entity", "metadata", "next_action", "order", "order_item", "order_item_request", "order_request", "owner", "payment_intent", "payment_intent_cancellation_form", "payment_intent_capture_form", "payment_intent_charges", "payment_intent_confirmation_form", "payment_intent_form", "payment_intent_update_form", "payment_method", "payment_method_billing_details", "payment_method_form", "payment_method_options", "payment_method_options_card", "payment_outcome", "receiver", "redirect", "redirect_to_url", "refund", "refund_request", "refunds", "shipping", "source", "source_card", "source_card_request", "source_klarna", "source_klarna_request", "source_request", "stripe_3ds2_fingerprint", "stripe_error", "stripe_event", "stripe_event_data", "stripe_event_request", "three_d_secure", "three_d_secure_redirect", "token", "tos_acceptance", "transfer_data"],
429
429
  "annotations": []
430
430
  }, {
431
431
  "uri": "https://app.apibuilder.io/flow/svb/latest/service.json",
@@ -601,7 +601,7 @@
601
601
  "application": {
602
602
  "key": "pricing-indicator-internal-event"
603
603
  },
604
- "version": "0.15.1",
604
+ "version": "0.15.6",
605
605
  "enums": ["pricing_indicator_status", "service_name"],
606
606
  "interfaces": [],
607
607
  "unions": ["pricing_indicator_event"],
@@ -682,6 +682,21 @@
682
682
  "unions": [],
683
683
  "models": ["ftp_account", "ftp_file", "ftp_file_form", "ftp_folder", "ftp_folder_form", "ftp_organization_settings", "ftp_organization_settings_form", "ftp_server", "ftp_user"],
684
684
  "annotations": []
685
+ }, {
686
+ "uri": "https://app.apibuilder.io/flow/billing-internal/latest/service.json",
687
+ "namespace": "io.flow.billing.internal.v0",
688
+ "organization": {
689
+ "key": "flow"
690
+ },
691
+ "application": {
692
+ "key": "billing-internal"
693
+ },
694
+ "version": "0.15.2",
695
+ "enums": ["billing_allocation_key", "billing_statement_batch_file_key", "billing_statement_review_status", "manual_transaction_category", "preferred_billing_schedule", "processing_transaction_type", "responsible_party", "transfer_method"],
696
+ "interfaces": [],
697
+ "unions": ["platform_fee", "transaction"],
698
+ "models": ["account_form", "bank_payment", "bank_payment_form", "billing_authorization_reference", "billing_invoice_summary", "billing_order_destination", "billing_order_summary", "billing_organization_processing_rate_form", "billing_organization_processing_rates", "billing_organization_processing_rates_form", "billing_organization_settings", "billing_statement_batch", "billing_statement_pending_review", "billing_statement_review", "billing_statement_review_form", "channel_service_fee", "channel_service_fee_tier", "channel_transaction", "components", "dispute_transaction", "fee", "fees", "fx_fee", "fx_revenue_recognition", "fx_revenue_recognition_account", "fx_revenue_recognition_account_rate", "fx_revenue_recognition_order", "fx_revenue_recognition_organization", "fx_revenue_recognition_rate", "fx_revenue_recognition_source", "invoice_transaction", "main_transaction", "manual_transaction", "manual_transaction_form", "pending_bank_payment", "pending_bank_payment_detail", "platform_fee_change", "platform_fee_change_form", "platform_fee_disabled", "platform_fee_flat", "platform_fee_pause", "platform_fee_percentage", "platform_fee_percentage_tier", "processing_transaction", "subscription_transaction", "tax_remittance_transaction", "transaction_reference", "transfer_transaction", "virtual_card_transaction"],
699
+ "annotations": []
685
700
  }],
686
701
  "enums": [{
687
702
  "name": "address_configuration_setting_province_code",
@@ -815,10 +830,6 @@
815
830
  "name": "transactions",
816
831
  "attributes": [],
817
832
  "description": "CSV export of all processing transactions on the statement"
818
- }, {
819
- "name": "channel_transactions",
820
- "attributes": [],
821
- "description": "CSV export of all channel transactions on the statement"
822
833
  }, {
823
834
  "name": "virtual_card",
824
835
  "attributes": [],
@@ -6283,6 +6294,10 @@
6283
6294
  "type": "checkout_info_address_configuration_form_data",
6284
6295
  "attributes": [],
6285
6296
  "discriminator_value": "checkout_info_address_configuration_form_data"
6297
+ }, {
6298
+ "type": "checkout_info_address_countries_form_data",
6299
+ "attributes": [],
6300
+ "discriminator_value": "checkout_info_address_countries_form_data"
6286
6301
  }, {
6287
6302
  "type": "checkout_info_address_predictions",
6288
6303
  "attributes": [],
@@ -15563,36 +15578,6 @@
15563
15578
  }],
15564
15579
  "attributes": [],
15565
15580
  "interfaces": []
15566
- }, {
15567
- "name": "channel_service_fee",
15568
- "plural": "channel_service_fees",
15569
- "fields": [{
15570
- "name": "tiers",
15571
- "type": "[channel_service_fee_tier]",
15572
- "required": true,
15573
- "attributes": [],
15574
- "annotations": []
15575
- }],
15576
- "attributes": [],
15577
- "interfaces": []
15578
- }, {
15579
- "name": "channel_service_fee_tier",
15580
- "plural": "channel_service_fee_tiers",
15581
- "fields": [{
15582
- "name": "minimum_orders",
15583
- "type": "long",
15584
- "required": true,
15585
- "attributes": [],
15586
- "annotations": []
15587
- }, {
15588
- "name": "amount",
15589
- "type": "decimal",
15590
- "required": true,
15591
- "attributes": [],
15592
- "annotations": []
15593
- }],
15594
- "attributes": [],
15595
- "interfaces": []
15596
15581
  }, {
15597
15582
  "name": "channel_token_form",
15598
15583
  "plural": "channel_token_forms",
@@ -15611,85 +15596,6 @@
15611
15596
  }],
15612
15597
  "attributes": [],
15613
15598
  "interfaces": []
15614
- }, {
15615
- "name": "channel_transaction",
15616
- "plural": "channel_transactions",
15617
- "fields": [{
15618
- "name": "id",
15619
- "type": "string",
15620
- "required": true,
15621
- "attributes": [],
15622
- "annotations": [],
15623
- "description": "Globally unique identifier"
15624
- }, {
15625
- "name": "organization_id",
15626
- "type": "string",
15627
- "required": true,
15628
- "attributes": [],
15629
- "annotations": []
15630
- }, {
15631
- "name": "processing_transaction_id",
15632
- "type": "string",
15633
- "required": true,
15634
- "attributes": [],
15635
- "annotations": []
15636
- }, {
15637
- "name": "order_number",
15638
- "type": "string",
15639
- "required": true,
15640
- "attributes": [],
15641
- "annotations": []
15642
- }, {
15643
- "name": "channel_currency",
15644
- "type": "string",
15645
- "required": true,
15646
- "attributes": [],
15647
- "annotations": []
15648
- }, {
15649
- "name": "mor_convenience_fee",
15650
- "type": "decimal",
15651
- "required": true,
15652
- "attributes": [],
15653
- "annotations": []
15654
- }, {
15655
- "name": "flow_fx_fee_on_mor",
15656
- "type": "decimal",
15657
- "required": true,
15658
- "attributes": [],
15659
- "annotations": []
15660
- }, {
15661
- "name": "flow_processing_fee",
15662
- "type": "decimal",
15663
- "required": true,
15664
- "attributes": [],
15665
- "annotations": []
15666
- }, {
15667
- "name": "flow_fraud_fee",
15668
- "type": "decimal",
15669
- "required": true,
15670
- "attributes": [],
15671
- "annotations": []
15672
- }, {
15673
- "name": "service_fee",
15674
- "type": "decimal",
15675
- "required": true,
15676
- "attributes": [],
15677
- "annotations": []
15678
- }, {
15679
- "name": "logistics_fee",
15680
- "type": "decimal",
15681
- "required": true,
15682
- "attributes": [],
15683
- "annotations": []
15684
- }, {
15685
- "name": "total",
15686
- "type": "decimal",
15687
- "required": true,
15688
- "attributes": [],
15689
- "annotations": []
15690
- }],
15691
- "attributes": [],
15692
- "interfaces": []
15693
15599
  }, {
15694
15600
  "name": "channel_transaction_deleted",
15695
15601
  "plural": "channel_transaction_deleteds",
@@ -15714,7 +15620,7 @@
15714
15620
  "description": "Refers to your organization's account identifier"
15715
15621
  }, {
15716
15622
  "name": "channel_transaction",
15717
- "type": "channel_transaction",
15623
+ "type": "io.flow.billing.internal.v0.models.channel_transaction",
15718
15624
  "required": true,
15719
15625
  "attributes": [],
15720
15626
  "annotations": []
@@ -15745,7 +15651,7 @@
15745
15651
  "description": "Refers to your organization's account identifier"
15746
15652
  }, {
15747
15653
  "name": "channel_transaction",
15748
- "type": "channel_transaction",
15654
+ "type": "io.flow.billing.internal.v0.models.channel_transaction",
15749
15655
  "required": true,
15750
15656
  "attributes": [],
15751
15657
  "annotations": []
@@ -16242,6 +16148,46 @@
16242
16148
  }],
16243
16149
  "attributes": [],
16244
16150
  "interfaces": []
16151
+ }, {
16152
+ "name": "checkout_address_countries_form_data",
16153
+ "plural": "checkout_address_countries_form_data",
16154
+ "fields": [{
16155
+ "name": "countries",
16156
+ "type": "[checkout_address_country]",
16157
+ "required": true,
16158
+ "attributes": [],
16159
+ "annotations": []
16160
+ }],
16161
+ "attributes": [],
16162
+ "interfaces": []
16163
+ }, {
16164
+ "name": "checkout_address_country",
16165
+ "plural": "checkout_address_countries",
16166
+ "fields": [{
16167
+ "name": "name",
16168
+ "type": "string",
16169
+ "required": true,
16170
+ "attributes": [],
16171
+ "annotations": [],
16172
+ "example": "United States of America"
16173
+ }, {
16174
+ "name": "code",
16175
+ "type": "string",
16176
+ "required": true,
16177
+ "attributes": [],
16178
+ "annotations": [],
16179
+ "description": "ISO 3166 3-character country code. See https://api.flow.io/reference/countries",
16180
+ "example": "USA"
16181
+ }, {
16182
+ "name": "availability",
16183
+ "type": "[checkout_address_type]",
16184
+ "required": true,
16185
+ "attributes": [],
16186
+ "annotations": [],
16187
+ "description": "Used to indicate whether a country may be presented as an option"
16188
+ }],
16189
+ "attributes": [],
16190
+ "interfaces": []
16245
16191
  }, {
16246
16192
  "name": "checkout_address_prediction",
16247
16193
  "plural": "checkout_address_predictions",
@@ -17363,7 +17309,8 @@
17363
17309
  "annotations": []
17364
17310
  }],
17365
17311
  "attributes": [],
17366
- "interfaces": []
17312
+ "interfaces": [],
17313
+ "description": "This model has been deprecated. Use checkout_address_countries_form_data instead."
17367
17314
  }, {
17368
17315
  "name": "checkout_create_authorization_details_error",
17369
17316
  "plural": "checkout_create_authorization_details_errors",
@@ -18460,6 +18407,18 @@
18460
18407
  }],
18461
18408
  "attributes": [],
18462
18409
  "interfaces": []
18410
+ }, {
18411
+ "name": "checkout_info_address_countries_form_data",
18412
+ "plural": "checkout_info_address_countries_form_data",
18413
+ "fields": [{
18414
+ "name": "data",
18415
+ "type": "checkout_address_countries_form_data",
18416
+ "required": true,
18417
+ "attributes": [],
18418
+ "annotations": []
18419
+ }],
18420
+ "attributes": [],
18421
+ "interfaces": []
18463
18422
  }, {
18464
18423
  "name": "checkout_info_address_predictions",
18465
18424
  "plural": "checkout_info_address_predictionses",
@@ -19892,7 +19851,8 @@
19892
19851
  "example": "USA"
19893
19852
  }],
19894
19853
  "attributes": [],
19895
- "interfaces": []
19854
+ "interfaces": [],
19855
+ "description": "This model has been deprecated. Use checkout_address_country instead."
19896
19856
  }, {
19897
19857
  "name": "checkout_order_form_deliveries_data",
19898
19858
  "plural": "checkout_order_form_deliveries_data",
@@ -40512,6 +40472,42 @@
40512
40472
  }],
40513
40473
  "attributes": [],
40514
40474
  "interfaces": []
40475
+ }, {
40476
+ "name": "order_service_fee",
40477
+ "plural": "order_service_fees",
40478
+ "fields": [{
40479
+ "name": "currency",
40480
+ "type": "string",
40481
+ "required": true,
40482
+ "attributes": [],
40483
+ "annotations": []
40484
+ }, {
40485
+ "name": "tiers",
40486
+ "type": "[order_service_fee_tier]",
40487
+ "required": true,
40488
+ "attributes": [],
40489
+ "annotations": []
40490
+ }],
40491
+ "attributes": [],
40492
+ "interfaces": []
40493
+ }, {
40494
+ "name": "order_service_fee_tier",
40495
+ "plural": "order_service_fee_tiers",
40496
+ "fields": [{
40497
+ "name": "minimum_orders",
40498
+ "type": "long",
40499
+ "required": true,
40500
+ "attributes": [],
40501
+ "annotations": []
40502
+ }, {
40503
+ "name": "amount",
40504
+ "type": "decimal",
40505
+ "required": true,
40506
+ "attributes": [],
40507
+ "annotations": []
40508
+ }],
40509
+ "attributes": [],
40510
+ "interfaces": []
40515
40511
  }, {
40516
40512
  "name": "order_shipped",
40517
40513
  "plural": "order_shippeds",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-mock-generator",
3
- "version": "5.28.1",
3
+ "version": "5.29.0",
4
4
  "description": "A mock data generator based on our internal API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -29,5 +29,5 @@
29
29
  "apibuilder-js": "0.0.13",
30
30
  "apibuilder-mock-generator": "0.0.13"
31
31
  },
32
- "gitHead": "260e93a00c56eaf0b2fd0e8d7ed4b0073c435eab"
32
+ "gitHead": "4548ce5f21d73b3c8f31aa926c888bc5cd8d7a0c"
33
33
  }
@@ -10,7 +10,7 @@
10
10
  "key" : "api-internal"
11
11
  },
12
12
  "namespace" : "io.flow.internal.v0",
13
- "version" : "0.15.1",
13
+ "version" : "0.15.6",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -350,7 +350,7 @@
350
350
  "enums" : [ "channel", "contract", "device_channel", "event_code", "method", "operation", "payment_method", "recurring_processing_model", "result_code", "shopper_interaction", "threeds_completion_indicator" ],
351
351
  "interfaces" : [ ],
352
352
  "unions" : [ "browser_info", "payment_method_data" ],
353
- "models" : [ "address", "amount", "applepay", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_details_v66_3ds2_challenge", "payment_details_v66_3ds2_fingerprint", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "sdk_v3_on_complete_data", "sdk_v3_on_complete_result", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data" ],
353
+ "models" : [ "address", "amount", "authentication", "authorize_request", "authorize_request_3d", "authorize_request_3ds2", "authorize_response", "bank_account", "browser_info_3ds1", "browser_info_3ds2", "cancel_request", "cancel_response", "card", "challenge_shopper_additional_data", "chargeback_notification_additional_data", "error", "identify_shopper_additional_data", "inner_notification_request_item", "modification_request", "modification_response", "notification_request", "notification_response", "origin_keys_request", "origin_keys_response", "outer_notification_request_item", "payment_details", "payment_request", "payment_response", "payment_response_additional_data", "recurring", "redirect", "redirect_data", "request_for_information_additional_data", "scheme", "three_d_secure_data", "threeds2_request_data", "threeds2_result", "threeds_additional_data" ],
354
354
  "annotations" : [ ]
355
355
  }, {
356
356
  "uri" : "https://app.apibuilder.io/flow/bitpay/latest/service.json",
@@ -380,7 +380,7 @@
380
380
  "enums" : [ "error_type", "payment_status", "reason_type", "refund_status", "webhook_event_name", "webhook_object_type" ],
381
381
  "interfaces" : [ ],
382
382
  "unions" : [ ],
383
- "models" : [ "crypto_event", "crypto_payment_info", "error", "error_response", "payment", "payment_request", "refund", "refund_request", "webhook_payment", "webhook_refund" ],
383
+ "models" : [ "crypto_event", "crypto_payment_info", "error_response", "payment", "payment_request", "refund", "refund_request", "webhook_payment", "webhook_refund" ],
384
384
  "annotations" : [ ]
385
385
  }, {
386
386
  "uri" : "https://app.apibuilder.io/flow/payment-gateway/latest/service.json",
@@ -422,10 +422,10 @@
422
422
  "key" : "stripe"
423
423
  },
424
424
  "version" : "0.2.53",
425
- "enums" : [ "account_type", "cancellation_reason", "capture_method", "card_brand", "card_error_code", "card_funding_type", "check_outcome", "code_verification_status", "confirmation_method", "decline_code", "error_type", "event_type", "klarna_payment_method_category_type", "klarna_product", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_type", "payment_outcome_type", "payment_status", "refund_failure_reason", "refund_reason", "refund_status", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "source_flow", "source_status", "source_type", "source_usage_type", "three_d_secure_support", "token_type", "use_stripe_sdk_type" ],
425
+ "enums" : [ "account_type", "cancellation_reason", "capture_method", "card_brand", "card_error_code", "card_funding_type", "check_outcome", "code_verification_status", "confirmation_method", "decline_code", "error_type", "event_type", "network_status", "next_action_type", "order_item_type", "payment_intent_status", "payment_method_type", "payment_outcome_type", "payment_status", "refund_failure_reason", "refund_reason", "refund_status", "request_three_d_secure_type", "requested_capabilities", "setup_future_usage", "source_flow", "source_status", "source_type", "source_usage_type", "three_d_secure_support", "token_type", "use_stripe_sdk_type" ],
426
426
  "interfaces" : [ ],
427
427
  "unions" : [ ],
428
- "models" : [ "account", "account_request", "address", "card", "card_request", "charge", "charge_destination", "charge_request", "charge_source_optional", "code_verification", "customer", "customer_request", "error", "keys", "klarna_attachment", "klarna_marketplace_seller_info", "last_payment_error", "legal_entity", "metadata", "next_action", "order", "order_item", "order_item_request", "order_request", "owner", "payment_intent", "payment_intent_cancellation_form", "payment_intent_capture_form", "payment_intent_charges", "payment_intent_confirmation_form", "payment_intent_form", "payment_intent_update_form", "payment_method", "payment_method_billing_details", "payment_method_form", "payment_method_options", "payment_method_options_card", "payment_outcome", "receiver", "redirect", "redirect_to_url", "refund", "refund_request", "refunds", "shipping", "source", "source_card", "source_card_request", "source_klarna", "source_klarna_request", "source_order", "source_order_request", "source_request", "stripe_3ds2_fingerprint", "stripe_error", "stripe_event", "stripe_event_data", "stripe_event_request", "three_d_secure", "three_d_secure_redirect", "token", "tos_acceptance", "transfer_data" ],
428
+ "models" : [ "account", "account_request", "address", "card", "card_request", "charge", "charge_destination", "charge_request", "charge_source_optional", "code_verification", "customer", "customer_request", "error", "keys", "klarna_attachment", "klarna_marketplace_seller_info", "last_payment_error", "legal_entity", "metadata", "next_action", "order", "order_item", "order_item_request", "order_request", "owner", "payment_intent", "payment_intent_cancellation_form", "payment_intent_capture_form", "payment_intent_charges", "payment_intent_confirmation_form", "payment_intent_form", "payment_intent_update_form", "payment_method", "payment_method_billing_details", "payment_method_form", "payment_method_options", "payment_method_options_card", "payment_outcome", "receiver", "redirect", "redirect_to_url", "refund", "refund_request", "refunds", "shipping", "source", "source_card", "source_card_request", "source_klarna", "source_klarna_request", "source_request", "stripe_3ds2_fingerprint", "stripe_error", "stripe_event", "stripe_event_data", "stripe_event_request", "three_d_secure", "three_d_secure_redirect", "token", "tos_acceptance", "transfer_data" ],
429
429
  "annotations" : [ ]
430
430
  }, {
431
431
  "uri" : "https://app.apibuilder.io/flow/svb/latest/service.json",
@@ -601,7 +601,7 @@
601
601
  "application" : {
602
602
  "key" : "pricing-indicator-internal-event"
603
603
  },
604
- "version" : "0.15.1",
604
+ "version" : "0.15.6",
605
605
  "enums" : [ "pricing_indicator_status", "service_name" ],
606
606
  "interfaces" : [ ],
607
607
  "unions" : [ "pricing_indicator_event" ],
@@ -682,6 +682,21 @@
682
682
  "unions" : [ ],
683
683
  "models" : [ "ftp_account", "ftp_file", "ftp_file_form", "ftp_folder", "ftp_folder_form", "ftp_organization_settings", "ftp_organization_settings_form", "ftp_server", "ftp_user" ],
684
684
  "annotations" : [ ]
685
+ }, {
686
+ "uri" : "https://app.apibuilder.io/flow/billing-internal/latest/service.json",
687
+ "namespace" : "io.flow.billing.internal.v0",
688
+ "organization" : {
689
+ "key" : "flow"
690
+ },
691
+ "application" : {
692
+ "key" : "billing-internal"
693
+ },
694
+ "version" : "0.15.2",
695
+ "enums" : [ "billing_allocation_key", "billing_statement_batch_file_key", "billing_statement_review_status", "manual_transaction_category", "preferred_billing_schedule", "processing_transaction_type", "responsible_party", "transfer_method" ],
696
+ "interfaces" : [ ],
697
+ "unions" : [ "platform_fee", "transaction" ],
698
+ "models" : [ "account_form", "bank_payment", "bank_payment_form", "billing_authorization_reference", "billing_invoice_summary", "billing_order_destination", "billing_order_summary", "billing_organization_processing_rate_form", "billing_organization_processing_rates", "billing_organization_processing_rates_form", "billing_organization_settings", "billing_statement_batch", "billing_statement_pending_review", "billing_statement_review", "billing_statement_review_form", "channel_service_fee", "channel_service_fee_tier", "channel_transaction", "components", "dispute_transaction", "fee", "fees", "fx_fee", "fx_revenue_recognition", "fx_revenue_recognition_account", "fx_revenue_recognition_account_rate", "fx_revenue_recognition_order", "fx_revenue_recognition_organization", "fx_revenue_recognition_rate", "fx_revenue_recognition_source", "invoice_transaction", "main_transaction", "manual_transaction", "manual_transaction_form", "pending_bank_payment", "pending_bank_payment_detail", "platform_fee_change", "platform_fee_change_form", "platform_fee_disabled", "platform_fee_flat", "platform_fee_pause", "platform_fee_percentage", "platform_fee_percentage_tier", "processing_transaction", "subscription_transaction", "tax_remittance_transaction", "transaction_reference", "transfer_transaction", "virtual_card_transaction" ],
699
+ "annotations" : [ ]
685
700
  } ],
686
701
  "enums" : [ {
687
702
  "name" : "address_configuration_setting_province_code",
@@ -815,10 +830,6 @@
815
830
  "name" : "transactions",
816
831
  "attributes" : [ ],
817
832
  "description" : "CSV export of all processing transactions on the statement"
818
- }, {
819
- "name" : "channel_transactions",
820
- "attributes" : [ ],
821
- "description" : "CSV export of all channel transactions on the statement"
822
833
  }, {
823
834
  "name" : "virtual_card",
824
835
  "attributes" : [ ],
@@ -6283,6 +6294,10 @@
6283
6294
  "type" : "checkout_info_address_configuration_form_data",
6284
6295
  "attributes" : [ ],
6285
6296
  "discriminator_value" : "checkout_info_address_configuration_form_data"
6297
+ }, {
6298
+ "type" : "checkout_info_address_countries_form_data",
6299
+ "attributes" : [ ],
6300
+ "discriminator_value" : "checkout_info_address_countries_form_data"
6286
6301
  }, {
6287
6302
  "type" : "checkout_info_address_predictions",
6288
6303
  "attributes" : [ ],
@@ -15563,36 +15578,6 @@
15563
15578
  } ],
15564
15579
  "attributes" : [ ],
15565
15580
  "interfaces" : [ ]
15566
- }, {
15567
- "name" : "channel_service_fee",
15568
- "plural" : "channel_service_fees",
15569
- "fields" : [ {
15570
- "name" : "tiers",
15571
- "type" : "[channel_service_fee_tier]",
15572
- "required" : true,
15573
- "attributes" : [ ],
15574
- "annotations" : [ ]
15575
- } ],
15576
- "attributes" : [ ],
15577
- "interfaces" : [ ]
15578
- }, {
15579
- "name" : "channel_service_fee_tier",
15580
- "plural" : "channel_service_fee_tiers",
15581
- "fields" : [ {
15582
- "name" : "minimum_orders",
15583
- "type" : "long",
15584
- "required" : true,
15585
- "attributes" : [ ],
15586
- "annotations" : [ ]
15587
- }, {
15588
- "name" : "amount",
15589
- "type" : "decimal",
15590
- "required" : true,
15591
- "attributes" : [ ],
15592
- "annotations" : [ ]
15593
- } ],
15594
- "attributes" : [ ],
15595
- "interfaces" : [ ]
15596
15581
  }, {
15597
15582
  "name" : "channel_token_form",
15598
15583
  "plural" : "channel_token_forms",
@@ -15611,85 +15596,6 @@
15611
15596
  } ],
15612
15597
  "attributes" : [ ],
15613
15598
  "interfaces" : [ ]
15614
- }, {
15615
- "name" : "channel_transaction",
15616
- "plural" : "channel_transactions",
15617
- "fields" : [ {
15618
- "name" : "id",
15619
- "type" : "string",
15620
- "required" : true,
15621
- "attributes" : [ ],
15622
- "annotations" : [ ],
15623
- "description" : "Globally unique identifier"
15624
- }, {
15625
- "name" : "organization_id",
15626
- "type" : "string",
15627
- "required" : true,
15628
- "attributes" : [ ],
15629
- "annotations" : [ ]
15630
- }, {
15631
- "name" : "processing_transaction_id",
15632
- "type" : "string",
15633
- "required" : true,
15634
- "attributes" : [ ],
15635
- "annotations" : [ ]
15636
- }, {
15637
- "name" : "order_number",
15638
- "type" : "string",
15639
- "required" : true,
15640
- "attributes" : [ ],
15641
- "annotations" : [ ]
15642
- }, {
15643
- "name" : "channel_currency",
15644
- "type" : "string",
15645
- "required" : true,
15646
- "attributes" : [ ],
15647
- "annotations" : [ ]
15648
- }, {
15649
- "name" : "mor_convenience_fee",
15650
- "type" : "decimal",
15651
- "required" : true,
15652
- "attributes" : [ ],
15653
- "annotations" : [ ]
15654
- }, {
15655
- "name" : "flow_fx_fee_on_mor",
15656
- "type" : "decimal",
15657
- "required" : true,
15658
- "attributes" : [ ],
15659
- "annotations" : [ ]
15660
- }, {
15661
- "name" : "flow_processing_fee",
15662
- "type" : "decimal",
15663
- "required" : true,
15664
- "attributes" : [ ],
15665
- "annotations" : [ ]
15666
- }, {
15667
- "name" : "flow_fraud_fee",
15668
- "type" : "decimal",
15669
- "required" : true,
15670
- "attributes" : [ ],
15671
- "annotations" : [ ]
15672
- }, {
15673
- "name" : "service_fee",
15674
- "type" : "decimal",
15675
- "required" : true,
15676
- "attributes" : [ ],
15677
- "annotations" : [ ]
15678
- }, {
15679
- "name" : "logistics_fee",
15680
- "type" : "decimal",
15681
- "required" : true,
15682
- "attributes" : [ ],
15683
- "annotations" : [ ]
15684
- }, {
15685
- "name" : "total",
15686
- "type" : "decimal",
15687
- "required" : true,
15688
- "attributes" : [ ],
15689
- "annotations" : [ ]
15690
- } ],
15691
- "attributes" : [ ],
15692
- "interfaces" : [ ]
15693
15599
  }, {
15694
15600
  "name" : "channel_transaction_deleted",
15695
15601
  "plural" : "channel_transaction_deleteds",
@@ -15714,7 +15620,7 @@
15714
15620
  "description" : "Refers to your organization's account identifier"
15715
15621
  }, {
15716
15622
  "name" : "channel_transaction",
15717
- "type" : "channel_transaction",
15623
+ "type" : "io.flow.billing.internal.v0.models.channel_transaction",
15718
15624
  "required" : true,
15719
15625
  "attributes" : [ ],
15720
15626
  "annotations" : [ ]
@@ -15745,7 +15651,7 @@
15745
15651
  "description" : "Refers to your organization's account identifier"
15746
15652
  }, {
15747
15653
  "name" : "channel_transaction",
15748
- "type" : "channel_transaction",
15654
+ "type" : "io.flow.billing.internal.v0.models.channel_transaction",
15749
15655
  "required" : true,
15750
15656
  "attributes" : [ ],
15751
15657
  "annotations" : [ ]
@@ -16242,6 +16148,46 @@
16242
16148
  } ],
16243
16149
  "attributes" : [ ],
16244
16150
  "interfaces" : [ ]
16151
+ }, {
16152
+ "name" : "checkout_address_countries_form_data",
16153
+ "plural" : "checkout_address_countries_form_data",
16154
+ "fields" : [ {
16155
+ "name" : "countries",
16156
+ "type" : "[checkout_address_country]",
16157
+ "required" : true,
16158
+ "attributes" : [ ],
16159
+ "annotations" : [ ]
16160
+ } ],
16161
+ "attributes" : [ ],
16162
+ "interfaces" : [ ]
16163
+ }, {
16164
+ "name" : "checkout_address_country",
16165
+ "plural" : "checkout_address_countries",
16166
+ "fields" : [ {
16167
+ "name" : "name",
16168
+ "type" : "string",
16169
+ "required" : true,
16170
+ "attributes" : [ ],
16171
+ "annotations" : [ ],
16172
+ "example" : "United States of America"
16173
+ }, {
16174
+ "name" : "code",
16175
+ "type" : "string",
16176
+ "required" : true,
16177
+ "attributes" : [ ],
16178
+ "annotations" : [ ],
16179
+ "description" : "ISO 3166 3-character country code. See https://api.flow.io/reference/countries",
16180
+ "example" : "USA"
16181
+ }, {
16182
+ "name" : "availability",
16183
+ "type" : "[checkout_address_type]",
16184
+ "required" : true,
16185
+ "attributes" : [ ],
16186
+ "annotations" : [ ],
16187
+ "description" : "Used to indicate whether a country may be presented as an option"
16188
+ } ],
16189
+ "attributes" : [ ],
16190
+ "interfaces" : [ ]
16245
16191
  }, {
16246
16192
  "name" : "checkout_address_prediction",
16247
16193
  "plural" : "checkout_address_predictions",
@@ -17363,7 +17309,8 @@
17363
17309
  "annotations" : [ ]
17364
17310
  } ],
17365
17311
  "attributes" : [ ],
17366
- "interfaces" : [ ]
17312
+ "interfaces" : [ ],
17313
+ "description" : "This model has been deprecated. Use checkout_address_countries_form_data instead."
17367
17314
  }, {
17368
17315
  "name" : "checkout_create_authorization_details_error",
17369
17316
  "plural" : "checkout_create_authorization_details_errors",
@@ -18460,6 +18407,18 @@
18460
18407
  } ],
18461
18408
  "attributes" : [ ],
18462
18409
  "interfaces" : [ ]
18410
+ }, {
18411
+ "name" : "checkout_info_address_countries_form_data",
18412
+ "plural" : "checkout_info_address_countries_form_data",
18413
+ "fields" : [ {
18414
+ "name" : "data",
18415
+ "type" : "checkout_address_countries_form_data",
18416
+ "required" : true,
18417
+ "attributes" : [ ],
18418
+ "annotations" : [ ]
18419
+ } ],
18420
+ "attributes" : [ ],
18421
+ "interfaces" : [ ]
18463
18422
  }, {
18464
18423
  "name" : "checkout_info_address_predictions",
18465
18424
  "plural" : "checkout_info_address_predictionses",
@@ -19892,7 +19851,8 @@
19892
19851
  "example" : "USA"
19893
19852
  } ],
19894
19853
  "attributes" : [ ],
19895
- "interfaces" : [ ]
19854
+ "interfaces" : [ ],
19855
+ "description" : "This model has been deprecated. Use checkout_address_country instead."
19896
19856
  }, {
19897
19857
  "name" : "checkout_order_form_deliveries_data",
19898
19858
  "plural" : "checkout_order_form_deliveries_data",
@@ -40512,6 +40472,42 @@
40512
40472
  } ],
40513
40473
  "attributes" : [ ],
40514
40474
  "interfaces" : [ ]
40475
+ }, {
40476
+ "name" : "order_service_fee",
40477
+ "plural" : "order_service_fees",
40478
+ "fields" : [ {
40479
+ "name" : "currency",
40480
+ "type" : "string",
40481
+ "required" : true,
40482
+ "attributes" : [ ],
40483
+ "annotations" : [ ]
40484
+ }, {
40485
+ "name" : "tiers",
40486
+ "type" : "[order_service_fee_tier]",
40487
+ "required" : true,
40488
+ "attributes" : [ ],
40489
+ "annotations" : [ ]
40490
+ } ],
40491
+ "attributes" : [ ],
40492
+ "interfaces" : [ ]
40493
+ }, {
40494
+ "name" : "order_service_fee_tier",
40495
+ "plural" : "order_service_fee_tiers",
40496
+ "fields" : [ {
40497
+ "name" : "minimum_orders",
40498
+ "type" : "long",
40499
+ "required" : true,
40500
+ "attributes" : [ ],
40501
+ "annotations" : [ ]
40502
+ }, {
40503
+ "name" : "amount",
40504
+ "type" : "decimal",
40505
+ "required" : true,
40506
+ "attributes" : [ ],
40507
+ "annotations" : [ ]
40508
+ } ],
40509
+ "attributes" : [ ],
40510
+ "interfaces" : [ ]
40515
40511
  }, {
40516
40512
  "name" : "order_shipped",
40517
40513
  "plural" : "order_shippeds",