@flowio/api-internal-mock-generator 5.31.5 → 5.31.7

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.75",
13
+ "version": "0.15.88",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -31,7 +31,7 @@
31
31
  "application": {
32
32
  "key": "error"
33
33
  },
34
- "version": "0.11.87",
34
+ "version": "0.16.2",
35
35
  "enums": ["generic_error_code"],
36
36
  "interfaces": [],
37
37
  "unions": [],
@@ -46,7 +46,7 @@
46
46
  "application": {
47
47
  "key": "common"
48
48
  },
49
- "version": "0.11.87",
49
+ "version": "0.16.2",
50
50
  "enums": ["attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "entity_identifier_type", "environment", "exception_type", "goods_supply", "holiday_calendar", "included_levy_key", "incoterm", "input_specification_type", "margin_type", "measurement_system", "merchant_of_record", "order_merchant_of_record", "organization_status", "price_book_status", "role", "rounding_method", "rounding_type", "schedule_exception_status", "sort_direction", "unit_of_measurement", "unit_of_time", "user_status", "value_added_service", "visibility"],
51
51
  "interfaces": ["id_reference"],
52
52
  "unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
@@ -61,7 +61,7 @@
61
61
  "application": {
62
62
  "key": "session"
63
63
  },
64
- "version": "0.11.87",
64
+ "version": "0.16.2",
65
65
  "enums": [],
66
66
  "interfaces": [],
67
67
  "unions": ["session", "session_authorization"],
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "reference"
78
78
  },
79
- "version": "0.11.87",
79
+ "version": "0.16.2",
80
80
  "enums": ["payment_method_capability", "payment_method_type", "postal_type", "province_type"],
81
81
  "interfaces": [],
82
82
  "unions": [],
@@ -91,7 +91,7 @@
91
91
  "application": {
92
92
  "key": "query-builder"
93
93
  },
94
- "version": "0.11.87",
94
+ "version": "0.16.2",
95
95
  "enums": ["available_filter_format"],
96
96
  "interfaces": [],
97
97
  "unions": ["available_filter", "query_builder_form", "query_filter", "query_filter_form"],
@@ -106,7 +106,7 @@
106
106
  "application": {
107
107
  "key": "experience"
108
108
  },
109
- "version": "0.11.87",
109
+ "version": "0.16.2",
110
110
  "enums": ["address_field_name", "credit_payment_error_code", "delivered_duty_display_type", "discount_rule_status", "discount_rule_subsidy_target", "experience_clone_status", "experience_country_status", "experience_payment_method_tag", "experience_status", "order_error_code", "order_payment_type", "order_refund_summary_includes", "order_refund_summary_partial_charged", "order_status", "order_storage", "order_type", "organization_payment_method_tag", "payment_method_rule_content_key", "price_facet_boundary", "promotion_trigger_type"],
111
111
  "interfaces": ["allocation_component", "allocation_detail", "allocation_line_summary_fields", "expandable_experience", "expandable_order"],
112
112
  "unions": ["allocation_component", "allocation_detail", "discount_rule_entitlement", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "order_refund_summary_form", "payment_method_tag", "promotion"],
@@ -121,7 +121,7 @@
121
121
  "application": {
122
122
  "key": "field-validation"
123
123
  },
124
- "version": "0.11.87",
124
+ "version": "0.16.2",
125
125
  "enums": [],
126
126
  "interfaces": [],
127
127
  "unions": ["field_validation_rule"],
@@ -136,7 +136,7 @@
136
136
  "application": {
137
137
  "key": "fulfillment"
138
138
  },
139
- "version": "0.11.87",
139
+ "version": "0.16.2",
140
140
  "enums": ["center_capability", "delivery_option_cost_detail_component_key", "delivery_option_cost_detail_source", "delivery_window_component_source", "delivery_window_location", "item_availability_status", "lane_direction", "lane_preselect_preference", "lane_strategy", "physical_delivery_special_serivce", "quote_error_code", "ratecard_owner", "shipment_integration_type", "shipping_configuration_type", "strategy", "surcharge_responsible_party", "tier_availability", "tier_estimate_type", "tier_strategy", "zero_amount_indicator"],
141
141
  "interfaces": ["delivery"],
142
142
  "unions": ["delivery", "expandable_center", "partner_center_fee", "tier_rule_outcome", "tier_rule_outcome_form"],
@@ -151,7 +151,7 @@
151
151
  "application": {
152
152
  "key": "payment"
153
153
  },
154
- "version": "0.11.87",
154
+ "version": "0.16.2",
155
155
  "enums": ["authorization_decline_code", "authorization_option", "authorization_result_action_type", "authorization_status", "avs_code", "capture_decline_code", "capture_status", "card_error_code", "card_type", "cvv_code", "payment_error_code", "payment_source_confirmation_action_type", "refund_decline_code", "refund_status", "reversal_error_code", "reversal_status", "three_d_secure_code", "threeds_two_challenge_viewport", "token_type"],
156
156
  "interfaces": ["authorization", "payment"],
157
157
  "unions": ["adyen_native_data", "authorization", "authorization_form", "authorization_payload_parameters", "authorization_result_action", "authorization_result_action_details", "browser_action_configuration", "confirmation_details", "expandable_card", "expandable_payment_processor", "gateway_authentication_data", "gateway_authentication_data_form", "inline_action_configuration", "online_authorization_details", "payment", "payment_form", "payment_order_reference", "payment_source", "payment_source_form", "threeds_challenge_action", "threeds_identify_action"],
@@ -166,7 +166,7 @@
166
166
  "application": {
167
167
  "key": "inventory"
168
168
  },
169
- "version": "0.11.87",
169
+ "version": "0.16.2",
170
170
  "enums": ["aggregate", "inventory_status", "update_type"],
171
171
  "interfaces": [],
172
172
  "unions": ["inventory_strategy", "reservation_error"],
@@ -181,7 +181,7 @@
181
181
  "application": {
182
182
  "key": "token"
183
183
  },
184
- "version": "0.11.87",
184
+ "version": "0.16.2",
185
185
  "enums": [],
186
186
  "interfaces": ["token_detail_interface"],
187
187
  "unions": ["token", "token_reference"],
@@ -196,7 +196,7 @@
196
196
  "application": {
197
197
  "key": "price"
198
198
  },
199
- "version": "0.11.87",
199
+ "version": "0.16.2",
200
200
  "enums": ["levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting"],
201
201
  "interfaces": [],
202
202
  "unions": ["deminimis"],
@@ -211,7 +211,7 @@
211
211
  "application": {
212
212
  "key": "session-context"
213
213
  },
214
- "version": "0.11.87",
214
+ "version": "0.16.2",
215
215
  "enums": [],
216
216
  "interfaces": [],
217
217
  "unions": [],
@@ -226,7 +226,7 @@
226
226
  "application": {
227
227
  "key": "checkout"
228
228
  },
229
- "version": "0.11.87",
229
+ "version": "0.16.2",
230
230
  "enums": [],
231
231
  "interfaces": [],
232
232
  "unions": ["checkout_token_form"],
@@ -241,7 +241,7 @@
241
241
  "application": {
242
242
  "key": "customer"
243
243
  },
244
- "version": "0.11.87",
244
+ "version": "0.16.2",
245
245
  "enums": ["customer_address_type"],
246
246
  "interfaces": [],
247
247
  "unions": [],
@@ -256,7 +256,7 @@
256
256
  "application": {
257
257
  "key": "shopify"
258
258
  },
259
- "version": "0.11.87",
259
+ "version": "0.16.2",
260
260
  "enums": ["shopify_grant", "shopify_localization_method", "shopify_sync_check"],
261
261
  "interfaces": [],
262
262
  "unions": ["shopify_cart_add_form", "shopify_event_bucket"],
@@ -271,7 +271,7 @@
271
271
  "application": {
272
272
  "key": "harmonization"
273
273
  },
274
- "version": "0.11.87",
274
+ "version": "0.16.2",
275
275
  "enums": ["tax_applicability", "tax_verification_result"],
276
276
  "interfaces": [],
277
277
  "unions": [],
@@ -316,7 +316,7 @@
316
316
  "application": {
317
317
  "key": "catalog"
318
318
  },
319
- "version": "0.11.87",
319
+ "version": "0.16.2",
320
320
  "enums": ["adjustment_reason_key", "attribute_intent", "fulfillment_method_type", "fulfillment_method_value", "image_tag", "return_item_status", "subcatalog_item_status", "taxability_type", "taxability_value", "update_policy"],
321
321
  "interfaces": ["localized_price"],
322
322
  "unions": ["expandable_subcatalog", "localized_price"],
@@ -376,7 +376,7 @@
376
376
  "application": {
377
377
  "key": "payment-gateway"
378
378
  },
379
- "version": "0.11.87",
379
+ "version": "0.16.2",
380
380
  "enums": ["inline_window_viewport_size", "payment_action_type", "payment_failure_code", "payment_method_data_option_type", "payment_status", "payment_type"],
381
381
  "interfaces": ["action", "device_details", "payment_method_summary"],
382
382
  "unions": ["action", "card_authorization_action_result", "card_number", "device_details", "device_fingerprint_details", "order_information", "payment_capture_option", "payment_method_card", "payment_method_data", "payment_method_data_authorize_klarna_result", "payment_method_data_option_logo", "payment_method_summary", "sdk_adyen_v3_authentication_token"],
@@ -391,7 +391,7 @@
391
391
  "application": {
392
392
  "key": "payment-request-bundle"
393
393
  },
394
- "version": "0.11.87",
394
+ "version": "0.16.2",
395
395
  "enums": [],
396
396
  "interfaces": [],
397
397
  "unions": [],
@@ -451,7 +451,7 @@
451
451
  "application": {
452
452
  "key": "channel"
453
453
  },
454
- "version": "0.16.1",
454
+ "version": "0.16.2",
455
455
  "enums": [],
456
456
  "interfaces": [],
457
457
  "unions": [],
@@ -481,7 +481,7 @@
481
481
  "application": {
482
482
  "key": "fraud"
483
483
  },
484
- "version": "0.11.87",
484
+ "version": "0.16.2",
485
485
  "enums": ["fraud_email_rule_decision", "fraud_liability", "fraud_status"],
486
486
  "interfaces": [],
487
487
  "unions": ["fraud_order_reference"],
@@ -496,7 +496,7 @@
496
496
  "application": {
497
497
  "key": "permission"
498
498
  },
499
- "version": "0.11.87",
499
+ "version": "0.16.2",
500
500
  "enums": ["authentication_technique", "flow_behavior", "flow_role", "permitted_http_method"],
501
501
  "interfaces": [],
502
502
  "unions": [],
@@ -511,7 +511,7 @@
511
511
  "application": {
512
512
  "key": "ratecard"
513
513
  },
514
- "version": "0.11.87",
514
+ "version": "0.16.2",
515
515
  "enums": [],
516
516
  "interfaces": ["common_hop_estimate", "ratecard_estimate"],
517
517
  "unions": ["ratecard_estimate", "ratecard_fee", "service_fee"],
@@ -526,7 +526,7 @@
526
526
  "application": {
527
527
  "key": "order-management-event"
528
528
  },
529
- "version": "0.11.87",
529
+ "version": "0.16.2",
530
530
  "enums": [],
531
531
  "interfaces": [],
532
532
  "unions": ["order_management_event"],
@@ -541,7 +541,7 @@
541
541
  "application": {
542
542
  "key": "organization"
543
543
  },
544
- "version": "0.11.87",
544
+ "version": "0.16.2",
545
545
  "enums": ["country_picker_source", "ecommerce_platform_type", "invitation_error_code"],
546
546
  "interfaces": [],
547
547
  "unions": [],
@@ -556,7 +556,7 @@
556
556
  "application": {
557
557
  "key": "label"
558
558
  },
559
- "version": "0.11.87",
559
+ "version": "0.16.2",
560
560
  "enums": ["direction", "shipment_recipient", "tracking_number_type"],
561
561
  "interfaces": [],
562
562
  "unions": ["shipping_label_form", "shipping_notification_form"],
@@ -571,7 +571,7 @@
571
571
  "application": {
572
572
  "key": "return"
573
573
  },
574
- "version": "0.11.87",
574
+ "version": "0.16.2",
575
575
  "enums": ["return_status", "return_tracking_status"],
576
576
  "interfaces": [],
577
577
  "unions": ["return_source"],
@@ -586,7 +586,7 @@
586
586
  "application": {
587
587
  "key": "tracking"
588
588
  },
589
- "version": "0.11.87",
589
+ "version": "0.16.2",
590
590
  "enums": ["tracking_status"],
591
591
  "interfaces": [],
592
592
  "unions": [],
@@ -601,7 +601,7 @@
601
601
  "application": {
602
602
  "key": "export"
603
603
  },
604
- "version": "0.11.87",
604
+ "version": "0.16.2",
605
605
  "enums": ["export_status", "item_identifier"],
606
606
  "interfaces": ["csv_price_book_item_export_row"],
607
607
  "unions": ["export_delivery", "export_type"],
@@ -616,7 +616,7 @@
616
616
  "application": {
617
617
  "key": "pricing-indicator-internal-event"
618
618
  },
619
- "version": "0.15.75",
619
+ "version": "0.15.88",
620
620
  "enums": ["pricing_indicator_status", "service_name"],
621
621
  "interfaces": [],
622
622
  "unions": ["pricing_indicator_event"],
@@ -646,7 +646,7 @@
646
646
  "application": {
647
647
  "key": "order-management"
648
648
  },
649
- "version": "0.11.87",
649
+ "version": "0.16.2",
650
650
  "enums": ["cancel_reason", "fulfillment_item_quantity_status", "order_change_source"],
651
651
  "interfaces": [],
652
652
  "unions": [],
@@ -661,7 +661,7 @@
661
661
  "application": {
662
662
  "key": "catalog-exclusion"
663
663
  },
664
- "version": "0.11.87",
664
+ "version": "0.16.2",
665
665
  "enums": ["exclusion_rule_state"],
666
666
  "interfaces": [],
667
667
  "unions": [],
@@ -676,7 +676,7 @@
676
676
  "application": {
677
677
  "key": "catalog-return"
678
678
  },
679
- "version": "0.11.87",
679
+ "version": "0.16.2",
680
680
  "enums": ["return_policy_state"],
681
681
  "interfaces": [],
682
682
  "unions": [],
@@ -691,27 +691,12 @@
691
691
  "application": {
692
692
  "key": "ftp"
693
693
  },
694
- "version": "0.11.87",
694
+ "version": "0.16.2",
695
695
  "enums": ["ftp_file_source"],
696
696
  "interfaces": [],
697
697
  "unions": [],
698
698
  "models": ["ftp_account", "ftp_file", "ftp_file_form", "ftp_folder", "ftp_folder_form", "ftp_organization_settings", "ftp_organization_settings_form", "ftp_server", "ftp_user"],
699
699
  "annotations": []
700
- }, {
701
- "uri": "https://app.apibuilder.io/flow/billing/latest/service.json",
702
- "namespace": "io.flow.billing.v0",
703
- "organization": {
704
- "key": "flow"
705
- },
706
- "application": {
707
- "key": "billing"
708
- },
709
- "version": "0.15.75",
710
- "enums": ["billing_statement_attachment_key", "billing_transaction_status", "billing_transaction_type", "subscription_frequency"],
711
- "interfaces": ["account_mapping"],
712
- "unions": [],
713
- "models": ["account", "account_contact", "account_contact_form", "account_deposit_rule", "account_deposit_rule_form", "account_reference", "account_statistics", "billing_statement", "billing_statement_attachment", "billing_statement_reference", "billing_statement_totals", "billing_transaction", "channel_account", "email_form", "next_billing_statement", "organization_account", "simple_account_reference", "subscription"],
714
- "annotations": []
715
700
  }],
716
701
  "enums": [{
717
702
  "name": "account_type",
@@ -928,10 +913,16 @@
928
913
  "plural": "billing_transaction_statuses",
929
914
  "values": [{
930
915
  "name": "pending",
931
- "attributes": []
916
+ "attributes": [],
917
+ "description": "Indicates transaction is waiting for a certain period of time for funds to settle and post to the account."
918
+ }, {
919
+ "name": "pending_fulfillment_proof",
920
+ "attributes": [],
921
+ "description": "Indicates transaction has not been posted as we are waiting for proof of fulfillment."
932
922
  }, {
933
923
  "name": "posted",
934
- "attributes": []
924
+ "attributes": [],
925
+ "description": "Transaction has posted to the account."
935
926
  }],
936
927
  "attributes": []
937
928
  }, {
@@ -949,9 +940,6 @@
949
940
  }, {
950
941
  "name": "transfer",
951
942
  "attributes": []
952
- }, {
953
- "name": "transfer_fee",
954
- "attributes": []
955
943
  }, {
956
944
  "name": "adjustment",
957
945
  "attributes": []
@@ -2793,12 +2781,6 @@
2793
2781
  }, {
2794
2782
  "name": "transfer_transaction_deleted_v2",
2795
2783
  "attributes": []
2796
- }, {
2797
- "name": "transfer_fee_transaction_upserted",
2798
- "attributes": []
2799
- }, {
2800
- "name": "transfer_fee_transaction_deleted",
2801
- "attributes": []
2802
2784
  }, {
2803
2785
  "name": "processing_transaction_upserted",
2804
2786
  "attributes": []
@@ -3276,6 +3258,12 @@
3276
3258
  }, {
3277
3259
  "name": "virtual_card_provider_deleted",
3278
3260
  "attributes": []
3261
+ }, {
3262
+ "name": "authorization_bundle_upserted",
3263
+ "attributes": []
3264
+ }, {
3265
+ "name": "authorization_bundle_deleted",
3266
+ "attributes": []
3279
3267
  }, {
3280
3268
  "name": "paypal_payment_deleted",
3281
3269
  "attributes": []
@@ -3518,6 +3506,20 @@
3518
3506
  "description": "Unvalidated string of characters."
3519
3507
  }],
3520
3508
  "attributes": []
3509
+ }, {
3510
+ "name": "fees_source",
3511
+ "plural": "fees_sources",
3512
+ "values": [{
3513
+ "name": "settings",
3514
+ "attributes": [],
3515
+ "description": "Fees are defined in account_settings and should be used directly"
3516
+ }, {
3517
+ "name": "authorization_bundle",
3518
+ "attributes": [],
3519
+ "description": "Fees are provided in the API as part of the 'authorization_bundle' resource"
3520
+ }],
3521
+ "attributes": [],
3522
+ "description": "Determines where billing should look to find the fees to apply to a given order"
3521
3523
  }, {
3522
3524
  "name": "financial_reporting_responsible_party",
3523
3525
  "plural": "financial_reporting_responsible_parties",
@@ -3852,6 +3854,17 @@
3852
3854
  }],
3853
3855
  "attributes": [],
3854
3856
  "description": "Describes the scope of liability."
3857
+ }, {
3858
+ "name": "main_transaction_status",
3859
+ "plural": "main_transaction_statuses",
3860
+ "values": [{
3861
+ "name": "scheduled",
3862
+ "attributes": []
3863
+ }, {
3864
+ "name": "pending_fulfillment_proof",
3865
+ "attributes": []
3866
+ }],
3867
+ "attributes": []
3855
3868
  }, {
3856
3869
  "name": "manual_review_rule_status",
3857
3870
  "plural": "manual_review_rule_statuses",
@@ -4112,6 +4125,95 @@
4112
4125
  "attributes": []
4113
4126
  }],
4114
4127
  "attributes": []
4128
+ }, {
4129
+ "name": "merchant_onboarding_process_key",
4130
+ "plural": "merchant_onboarding_process_keys",
4131
+ "values": [{
4132
+ "name": "shopify_merchant_onboarding_v1",
4133
+ "attributes": []
4134
+ }],
4135
+ "attributes": [],
4136
+ "description": "Enumerates all onboarding process definitions that exist."
4137
+ }, {
4138
+ "name": "merchant_onboarding_process_state",
4139
+ "plural": "merchant_onboarding_process_states",
4140
+ "values": [{
4141
+ "name": "created",
4142
+ "attributes": [],
4143
+ "description": "Start state for a process."
4144
+ }, {
4145
+ "name": "active",
4146
+ "attributes": []
4147
+ }, {
4148
+ "name": "completed",
4149
+ "attributes": [],
4150
+ "description": "Terminal state indicating success."
4151
+ }, {
4152
+ "name": "terminated",
4153
+ "attributes": [],
4154
+ "description": "Terminal state indicating failure."
4155
+ }],
4156
+ "attributes": []
4157
+ }, {
4158
+ "name": "merchant_onboarding_task_key",
4159
+ "plural": "merchant_onboarding_task_keys",
4160
+ "values": [{
4161
+ "name": "channel_organization_created",
4162
+ "attributes": []
4163
+ }, {
4164
+ "name": "invite_organization_members",
4165
+ "attributes": [],
4166
+ "description": "Invite stakeholders to join a newly created organization."
4167
+ }, {
4168
+ "name": "synchronize_product_catalog",
4169
+ "attributes": []
4170
+ }, {
4171
+ "name": "classify_product_catalog",
4172
+ "attributes": []
4173
+ }, {
4174
+ "name": "synchronize_fulfillment_centers",
4175
+ "attributes": []
4176
+ }, {
4177
+ "name": "verify_gateway_setup",
4178
+ "attributes": []
4179
+ }, {
4180
+ "name": "application_form_submitted",
4181
+ "attributes": []
4182
+ }, {
4183
+ "name": "perform_fulfillment_configuration",
4184
+ "attributes": []
4185
+ }, {
4186
+ "name": "perform_kyc_review",
4187
+ "attributes": []
4188
+ }, {
4189
+ "name": "notify_kyc_review_failed",
4190
+ "attributes": []
4191
+ }, {
4192
+ "name": "notify_onboarding_completed",
4193
+ "attributes": []
4194
+ }],
4195
+ "attributes": [],
4196
+ "description": "Enumerates known tasks that may be performed during on-boarding. Channel specific keys are prefixed with the channel id. Unique within an on-boarding process instance."
4197
+ }, {
4198
+ "name": "merchant_onboarding_task_state",
4199
+ "plural": "merchant_onboarding_task_states",
4200
+ "values": [{
4201
+ "name": "created",
4202
+ "attributes": [],
4203
+ "description": "Start state for a task."
4204
+ }, {
4205
+ "name": "in_progress",
4206
+ "attributes": []
4207
+ }, {
4208
+ "name": "completed",
4209
+ "attributes": [],
4210
+ "description": "Terminal state indicating success."
4211
+ }, {
4212
+ "name": "terminated",
4213
+ "attributes": [],
4214
+ "description": "Terminal state indicating failure."
4215
+ }],
4216
+ "attributes": []
4115
4217
  }, {
4116
4218
  "name": "nature_of_sale",
4117
4219
  "plural": "nature_of_sales",
@@ -4502,17 +4604,6 @@
4502
4604
  }],
4503
4605
  "attributes": [],
4504
4606
  "description": "Whether a processor account or merchant is active and able to receive traffic."
4505
- }, {
4506
- "name": "product_restriction_decision",
4507
- "plural": "product_restriction_decisions",
4508
- "values": [{
4509
- "name": "accept_restriction",
4510
- "attributes": []
4511
- }, {
4512
- "name": "reject_restriction",
4513
- "attributes": []
4514
- }],
4515
- "attributes": []
4516
4607
  }, {
4517
4608
  "name": "product_restriction_status",
4518
4609
  "plural": "product_restriction_statuses",
@@ -4706,6 +4797,19 @@
4706
4797
  "description": "Item permitted for sale if additional regulatory documentation is supplied, e.g. cosmetics"
4707
4798
  }],
4708
4799
  "attributes": []
4800
+ }, {
4801
+ "name": "restriction_decision",
4802
+ "plural": "restriction_decisions",
4803
+ "values": [{
4804
+ "name": "accept",
4805
+ "attributes": [],
4806
+ "description": "A product should always be acceptable under a rule."
4807
+ }, {
4808
+ "name": "reject",
4809
+ "attributes": [],
4810
+ "description": "A product may be rejected due to a rule."
4811
+ }],
4812
+ "attributes": []
4709
4813
  }, {
4710
4814
  "name": "risk_check",
4711
4815
  "plural": "risk_checks",
@@ -5040,6 +5144,19 @@
5040
5144
  "attributes": []
5041
5145
  }],
5042
5146
  "attributes": []
5147
+ }, {
5148
+ "name": "statement_transfer_transaction_location",
5149
+ "plural": "statement_transfer_transaction_locations",
5150
+ "values": [{
5151
+ "name": "transactions_file",
5152
+ "attributes": [],
5153
+ "description": "Transfer transactions will be included as part of the transactions file in a given statement"
5154
+ }, {
5155
+ "name": "summary",
5156
+ "attributes": [],
5157
+ "description": "Transfer transactions will be itemized as a separate line item on the billing statement summary"
5158
+ }],
5159
+ "attributes": []
5043
5160
  }, {
5044
5161
  "name": "statistic_type",
5045
5162
  "plural": "statistic_types",
@@ -5182,6 +5299,19 @@
5182
5299
  }],
5183
5300
  "attributes": [],
5184
5301
  "description": "This specifies the way in which we fetch tracking updates for a specific carrier."
5302
+ }, {
5303
+ "name": "transaction_posting_method",
5304
+ "plural": "transaction_posting_methods",
5305
+ "values": [{
5306
+ "name": "time",
5307
+ "attributes": [],
5308
+ "description": "Transactions will post to the account after a period of time (eg 7 days)"
5309
+ }, {
5310
+ "name": "fulfillment_proof",
5311
+ "attributes": [],
5312
+ "description": "Transactions will post to the account following proof of fulfillment"
5313
+ }],
5314
+ "attributes": []
5185
5315
  }, {
5186
5316
  "name": "transfer_method",
5187
5317
  "plural": "transfer_methods",
@@ -5257,10 +5387,16 @@
5257
5387
  "required": true,
5258
5388
  "attributes": [],
5259
5389
  "annotations": []
5390
+ }, {
5391
+ "name": "status",
5392
+ "type": "billing_transaction_status",
5393
+ "required": true,
5394
+ "attributes": [],
5395
+ "annotations": []
5260
5396
  }, {
5261
5397
  "name": "posted_at",
5262
5398
  "type": "date-time-iso8601",
5263
- "required": true,
5399
+ "required": false,
5264
5400
  "attributes": [],
5265
5401
  "annotations": []
5266
5402
  }, {
@@ -8442,14 +8578,6 @@
8442
8578
  "type": "transfer_transaction_deleted_v2",
8443
8579
  "attributes": [],
8444
8580
  "discriminator_value": "transfer_transaction_deleted_v2"
8445
- }, {
8446
- "type": "transfer_fee_transaction_upserted",
8447
- "attributes": [],
8448
- "discriminator_value": "transfer_fee_transaction_upserted"
8449
- }, {
8450
- "type": "transfer_fee_transaction_deleted",
8451
- "attributes": [],
8452
- "discriminator_value": "transfer_fee_transaction_deleted"
8453
8581
  }, {
8454
8582
  "type": "processing_transaction_upserted",
8455
8583
  "attributes": [],
@@ -9089,6 +9217,14 @@
9089
9217
  "type": "virtual_card_provider_deleted",
9090
9218
  "attributes": [],
9091
9219
  "discriminator_value": "virtual_card_provider_deleted"
9220
+ }, {
9221
+ "type": "authorization_bundle_upserted",
9222
+ "attributes": [],
9223
+ "discriminator_value": "authorization_bundle_upserted"
9224
+ }, {
9225
+ "type": "authorization_bundle_deleted",
9226
+ "attributes": [],
9227
+ "discriminator_value": "authorization_bundle_deleted"
9092
9228
  }, {
9093
9229
  "type": "paypal_payment_deleted",
9094
9230
  "attributes": [],
@@ -10365,10 +10501,6 @@
10365
10501
  "type": "tax_remittance_transaction",
10366
10502
  "attributes": [],
10367
10503
  "discriminator_value": "tax_remittance_transaction"
10368
- }, {
10369
- "type": "transfer_fee_transaction",
10370
- "attributes": [],
10371
- "discriminator_value": "transfer_fee_transaction"
10372
10504
  }, {
10373
10505
  "type": "transfer_transaction",
10374
10506
  "attributes": [],
@@ -10666,7 +10798,7 @@
10666
10798
  "annotations": []
10667
10799
  }, {
10668
10800
  "name": "account_contact",
10669
- "type": "io.flow.billing.v0.models.account_contact",
10801
+ "type": "account_contact",
10670
10802
  "required": true,
10671
10803
  "attributes": [],
10672
10804
  "annotations": []
@@ -10827,13 +10959,13 @@
10827
10959
  "annotations": []
10828
10960
  }, {
10829
10961
  "name": "transaction_type",
10830
- "type": "io.flow.billing.v0.enums.billing_transaction_type",
10962
+ "type": "billing_transaction_type",
10831
10963
  "required": false,
10832
10964
  "attributes": [],
10833
10965
  "annotations": []
10834
10966
  }, {
10835
10967
  "name": "transaction_status",
10836
- "type": "io.flow.billing.v0.enums.billing_transaction_status",
10968
+ "type": "billing_transaction_status",
10837
10969
  "required": false,
10838
10970
  "attributes": [],
10839
10971
  "annotations": []
@@ -11172,7 +11304,7 @@
11172
11304
  "minimum": 0
11173
11305
  }, {
11174
11306
  "name": "transfer_fee",
11175
- "type": "io.flow.common.v0.models.money",
11307
+ "type": "decimal",
11176
11308
  "required": false,
11177
11309
  "attributes": [],
11178
11310
  "annotations": []
@@ -11201,6 +11333,24 @@
11201
11333
  "description": "If specified and true, we withhold freight based on the estimated cost of each label used. Otherwise we withhold freight based on the order.",
11202
11334
  "default": "false",
11203
11335
  "minimum": 0
11336
+ }, {
11337
+ "name": "transaction_posting_method",
11338
+ "type": "transaction_posting_method",
11339
+ "required": false,
11340
+ "attributes": [],
11341
+ "annotations": []
11342
+ }, {
11343
+ "name": "statement_transfer_transaction_location",
11344
+ "type": "statement_transfer_transaction_location",
11345
+ "required": false,
11346
+ "attributes": [],
11347
+ "annotations": []
11348
+ }, {
11349
+ "name": "fees_source",
11350
+ "type": "fees_source",
11351
+ "required": false,
11352
+ "attributes": [],
11353
+ "annotations": []
11204
11354
  }],
11205
11355
  "attributes": [],
11206
11356
  "interfaces": []
@@ -11343,7 +11493,7 @@
11343
11493
  "annotations": []
11344
11494
  }, {
11345
11495
  "name": "status",
11346
- "type": "io.flow.billing.v0.enums.billing_transaction_status",
11496
+ "type": "billing_transaction_status",
11347
11497
  "required": false,
11348
11498
  "attributes": [],
11349
11499
  "annotations": []
@@ -11446,7 +11596,7 @@
11446
11596
  "description": "Refers to your organization's account identifier"
11447
11597
  }, {
11448
11598
  "name": "account",
11449
- "type": "io.flow.billing.v0.models.account",
11599
+ "type": "account",
11450
11600
  "required": true,
11451
11601
  "attributes": [],
11452
11602
  "annotations": []
@@ -11470,7 +11620,7 @@
11470
11620
  "annotations": []
11471
11621
  }, {
11472
11622
  "name": "account",
11473
- "type": "io.flow.billing.v0.models.account",
11623
+ "type": "account",
11474
11624
  "required": true,
11475
11625
  "attributes": [],
11476
11626
  "annotations": []
@@ -13352,7 +13502,7 @@
13352
13502
  }, {
13353
13503
  "name": "billing",
13354
13504
  "type": "io.flow.payment.request.bundle.v0.models.payment_request_billing",
13355
- "required": true,
13505
+ "required": false,
13356
13506
  "attributes": [],
13357
13507
  "annotations": []
13358
13508
  }],
@@ -14686,13 +14836,6 @@
14686
14836
  "attributes": [],
14687
14837
  "annotations": [],
14688
14838
  "description": "Represents the sum of all transfer transactions included in this billing statement"
14689
- }, {
14690
- "name": "transfer_fee",
14691
- "type": "io.flow.common.v0.models.price",
14692
- "required": true,
14693
- "attributes": [],
14694
- "annotations": [],
14695
- "description": "Represents the sum of all transfer fee transactions included in this billing statement"
14696
14839
  }, {
14697
14840
  "name": "invoice",
14698
14841
  "type": "io.flow.common.v0.models.price",
@@ -14804,7 +14947,7 @@
14804
14947
  "annotations": []
14805
14948
  }, {
14806
14949
  "name": "statement",
14807
- "type": "io.flow.billing.v0.models.billing_statement",
14950
+ "type": "billing_statement",
14808
14951
  "required": true,
14809
14952
  "attributes": [],
14810
14953
  "annotations": []
@@ -16363,7 +16506,7 @@
16363
16506
  "annotations": []
16364
16507
  }, {
16365
16508
  "name": "channel_account",
16366
- "type": "io.flow.billing.v0.models.channel_account",
16509
+ "type": "channel_account",
16367
16510
  "required": true,
16368
16511
  "attributes": [],
16369
16512
  "annotations": []
@@ -16962,10 +17105,16 @@
16962
17105
  "required": true,
16963
17106
  "attributes": [],
16964
17107
  "annotations": []
17108
+ }, {
17109
+ "name": "status",
17110
+ "type": "billing_transaction_status",
17111
+ "required": true,
17112
+ "attributes": [],
17113
+ "annotations": []
16965
17114
  }, {
16966
17115
  "name": "posted_at",
16967
17116
  "type": "date-time-iso8601",
16968
- "required": true,
17117
+ "required": false,
16969
17118
  "attributes": [],
16970
17119
  "annotations": []
16971
17120
  }, {
@@ -27051,10 +27200,16 @@
27051
27200
  "required": true,
27052
27201
  "attributes": [],
27053
27202
  "annotations": []
27203
+ }, {
27204
+ "name": "status",
27205
+ "type": "billing_transaction_status",
27206
+ "required": true,
27207
+ "attributes": [],
27208
+ "annotations": []
27054
27209
  }, {
27055
27210
  "name": "posted_at",
27056
27211
  "type": "date-time-iso8601",
27057
- "required": true,
27212
+ "required": false,
27058
27213
  "attributes": [],
27059
27214
  "annotations": []
27060
27215
  }, {
@@ -29836,6 +29991,12 @@
29836
29991
  "required": false,
29837
29992
  "attributes": [],
29838
29993
  "annotations": []
29994
+ }, {
29995
+ "name": "transfer",
29996
+ "type": "fee",
29997
+ "required": false,
29998
+ "attributes": [],
29999
+ "annotations": []
29839
30000
  }],
29840
30001
  "attributes": [],
29841
30002
  "interfaces": []
@@ -36352,10 +36513,16 @@
36352
36513
  "required": true,
36353
36514
  "attributes": [],
36354
36515
  "annotations": []
36516
+ }, {
36517
+ "name": "status",
36518
+ "type": "billing_transaction_status",
36519
+ "required": true,
36520
+ "attributes": [],
36521
+ "annotations": []
36355
36522
  }, {
36356
36523
  "name": "posted_at",
36357
36524
  "type": "date-time-iso8601",
36358
- "required": true,
36525
+ "required": false,
36359
36526
  "attributes": [],
36360
36527
  "annotations": []
36361
36528
  }, {
@@ -38188,10 +38355,22 @@
38188
38355
  "required": true,
38189
38356
  "attributes": [],
38190
38357
  "annotations": []
38358
+ }, {
38359
+ "name": "order",
38360
+ "type": "billing_order_transaction_order_reference",
38361
+ "required": false,
38362
+ "attributes": [],
38363
+ "annotations": []
38364
+ }, {
38365
+ "name": "status",
38366
+ "type": "billing_transaction_status",
38367
+ "required": true,
38368
+ "attributes": [],
38369
+ "annotations": []
38191
38370
  }, {
38192
38371
  "name": "posted_at",
38193
38372
  "type": "date-time-iso8601",
38194
- "required": true,
38373
+ "required": false,
38195
38374
  "attributes": [],
38196
38375
  "annotations": []
38197
38376
  }, {
@@ -39632,10 +39811,16 @@
39632
39811
  "required": true,
39633
39812
  "attributes": [],
39634
39813
  "annotations": []
39814
+ }, {
39815
+ "name": "status",
39816
+ "type": "billing_transaction_status",
39817
+ "required": true,
39818
+ "attributes": [],
39819
+ "annotations": []
39635
39820
  }, {
39636
39821
  "name": "posted_at",
39637
39822
  "type": "date-time-iso8601",
39638
- "required": true,
39823
+ "required": false,
39639
39824
  "attributes": [],
39640
39825
  "annotations": []
39641
39826
  }, {
@@ -39858,10 +40043,16 @@
39858
40043
  "required": true,
39859
40044
  "attributes": [],
39860
40045
  "annotations": []
40046
+ }, {
40047
+ "name": "status",
40048
+ "type": "billing_transaction_status",
40049
+ "required": true,
40050
+ "attributes": [],
40051
+ "annotations": []
39861
40052
  }, {
39862
40053
  "name": "posted_at",
39863
40054
  "type": "date-time-iso8601",
39864
- "required": true,
40055
+ "required": false,
39865
40056
  "attributes": [],
39866
40057
  "annotations": []
39867
40058
  }, {
@@ -42374,10 +42565,16 @@
42374
42565
  "required": true,
42375
42566
  "attributes": [],
42376
42567
  "annotations": []
42568
+ }, {
42569
+ "name": "status",
42570
+ "type": "billing_transaction_status",
42571
+ "required": true,
42572
+ "attributes": [],
42573
+ "annotations": []
42377
42574
  }, {
42378
42575
  "name": "posted_at",
42379
42576
  "type": "date-time-iso8601",
42380
- "required": true,
42577
+ "required": false,
42381
42578
  "attributes": [],
42382
42579
  "annotations": []
42383
42580
  }, {
@@ -42476,7 +42673,7 @@
42476
42673
  "annotations": []
42477
42674
  }, {
42478
42675
  "name": "organization_account",
42479
- "type": "io.flow.billing.v0.models.organization_account",
42676
+ "type": "organization_account",
42480
42677
  "required": true,
42481
42678
  "attributes": [],
42482
42679
  "annotations": []
@@ -42925,6 +43122,39 @@
42925
43122
  }],
42926
43123
  "attributes": [],
42927
43124
  "interfaces": []
43125
+ }, {
43126
+ "name": "organization_restriction_summary",
43127
+ "plural": "organization_restriction_summaries",
43128
+ "fields": [{
43129
+ "name": "organization",
43130
+ "type": "io.flow.common.v0.models.organization_summary",
43131
+ "required": true,
43132
+ "attributes": [],
43133
+ "annotations": [],
43134
+ "description": "Refers to your organization's account identifier"
43135
+ }, {
43136
+ "name": "earliest_date",
43137
+ "type": "date-time-iso8601",
43138
+ "required": true,
43139
+ "attributes": [],
43140
+ "annotations": [],
43141
+ "description": "Earliest date that a product was added to the catalog"
43142
+ }, {
43143
+ "name": "pending",
43144
+ "type": "[restriction_pending]",
43145
+ "required": true,
43146
+ "attributes": [],
43147
+ "annotations": []
43148
+ }, {
43149
+ "name": "total",
43150
+ "type": "long",
43151
+ "required": true,
43152
+ "attributes": [],
43153
+ "annotations": [],
43154
+ "description": "Total count of all products waiting for a restriction review"
43155
+ }],
43156
+ "attributes": [],
43157
+ "interfaces": []
42928
43158
  }, {
42929
43159
  "name": "organization_settings",
42930
43160
  "plural": "organization_settings",
@@ -45129,10 +45359,16 @@
45129
45359
  "attributes": [],
45130
45360
  "annotations": [],
45131
45361
  "description": "Defines who is responsible for the logistics for this transaction. Follows the rate card owner. An order with multiple deliveries may have multiple parties responsible."
45362
+ }, {
45363
+ "name": "status",
45364
+ "type": "billing_transaction_status",
45365
+ "required": true,
45366
+ "attributes": [],
45367
+ "annotations": []
45132
45368
  }, {
45133
45369
  "name": "posted_at",
45134
45370
  "type": "date-time-iso8601",
45135
- "required": true,
45371
+ "required": false,
45136
45372
  "attributes": [],
45137
45373
  "annotations": []
45138
45374
  }, {
@@ -45768,14 +46004,8 @@
45768
46004
  "attributes": [],
45769
46005
  "annotations": []
45770
46006
  }, {
45771
- "name": "status",
45772
- "type": "product_restriction_status",
45773
- "required": true,
45774
- "attributes": [],
45775
- "annotations": []
45776
- }, {
45777
- "name": "restrictions",
45778
- "type": "[restriction]",
46007
+ "name": "restriction_decisions",
46008
+ "type": "[product_restriction_decision]",
45779
46009
  "required": true,
45780
46010
  "attributes": [],
45781
46011
  "annotations": [],
@@ -45785,15 +46015,39 @@
45785
46015
  "attributes": [],
45786
46016
  "interfaces": []
45787
46017
  }, {
45788
- "name": "product_restriction_decision_form",
45789
- "plural": "product_restriction_decision_forms",
46018
+ "name": "product_restriction_decision",
46019
+ "plural": "product_restriction_decisions",
45790
46020
  "fields": [{
45791
- "name": "product_id",
46021
+ "name": "rule_id",
45792
46022
  "type": "string",
45793
46023
  "required": true,
45794
46024
  "attributes": [],
45795
46025
  "annotations": []
45796
46026
  }, {
46027
+ "name": "status",
46028
+ "type": "product_restriction_status",
46029
+ "required": true,
46030
+ "attributes": [],
46031
+ "annotations": []
46032
+ }, {
46033
+ "name": "matching_positive_keywords",
46034
+ "type": "[string]",
46035
+ "required": true,
46036
+ "attributes": [],
46037
+ "annotations": []
46038
+ }, {
46039
+ "name": "matching_negative_keywords",
46040
+ "type": "[string]",
46041
+ "required": true,
46042
+ "attributes": [],
46043
+ "annotations": []
46044
+ }],
46045
+ "attributes": [],
46046
+ "interfaces": []
46047
+ }, {
46048
+ "name": "product_restriction_decision_form",
46049
+ "plural": "product_restriction_decision_forms",
46050
+ "fields": [{
45797
46051
  "name": "rule_id",
45798
46052
  "type": "string",
45799
46053
  "required": true,
@@ -45801,7 +46055,7 @@
45801
46055
  "annotations": []
45802
46056
  }, {
45803
46057
  "name": "decision",
45804
- "type": "product_restriction_decision",
46058
+ "type": "restriction_decision",
45805
46059
  "required": true,
45806
46060
  "attributes": [],
45807
46061
  "annotations": []
@@ -47295,53 +47549,6 @@
47295
47549
  }],
47296
47550
  "attributes": [],
47297
47551
  "interfaces": []
47298
- }, {
47299
- "name": "redacted_secret",
47300
- "plural": "redacted_secrets",
47301
- "fields": [{
47302
- "name": "id",
47303
- "type": "string",
47304
- "required": true,
47305
- "attributes": [],
47306
- "annotations": [],
47307
- "description": "Globally unique identifier",
47308
- "example": "sec-201804-1"
47309
- }, {
47310
- "name": "key",
47311
- "type": "string",
47312
- "required": true,
47313
- "attributes": [],
47314
- "annotations": [],
47315
- "default": "[redacted]"
47316
- }, {
47317
- "name": "created_at",
47318
- "type": "date-time-iso8601",
47319
- "required": true,
47320
- "attributes": [],
47321
- "annotations": []
47322
- }],
47323
- "attributes": [],
47324
- "interfaces": []
47325
- }, {
47326
- "name": "redacted_secret_config",
47327
- "plural": "redacted_secret_configs",
47328
- "fields": [{
47329
- "name": "secrets",
47330
- "type": "[redacted_secret]",
47331
- "required": true,
47332
- "attributes": [],
47333
- "annotations": [],
47334
- "description": "The list of all active secrets. When decoding data, you should consider the value valid if it is successfully decoded using any of these secrets."
47335
- }, {
47336
- "name": "preferred_secret_id",
47337
- "type": "string",
47338
- "required": true,
47339
- "attributes": [],
47340
- "annotations": [],
47341
- "description": "This is the ID of the secret that should be used when encoding values. This ID is guaranteed to appear in the list of secrets. In general you should expect the most recent secret to be the one with which we prefer to encode."
47342
- }],
47343
- "attributes": [],
47344
- "interfaces": []
47345
47552
  }, {
47346
47553
  "name": "redirect",
47347
47554
  "plural": "redirects",
@@ -47483,16 +47690,270 @@
47483
47690
  "attributes": [],
47484
47691
  "interfaces": []
47485
47692
  }, {
47486
- "name": "restriction",
47487
- "plural": "restrictions",
47693
+ "name": "restriction_item",
47694
+ "plural": "restriction_items",
47488
47695
  "fields": [{
47696
+ "name": "id",
47697
+ "type": "string",
47698
+ "required": true,
47699
+ "attributes": [],
47700
+ "annotations": [],
47701
+ "description": "The product ID"
47702
+ }, {
47703
+ "name": "organization_id",
47704
+ "type": "string",
47705
+ "required": true,
47706
+ "attributes": [],
47707
+ "annotations": []
47708
+ }, {
47489
47709
  "name": "name",
47490
47710
  "type": "string",
47491
47711
  "required": true,
47492
47712
  "attributes": [],
47713
+ "annotations": [],
47714
+ "description": "The product name"
47715
+ }, {
47716
+ "name": "thumbnail",
47717
+ "type": "io.flow.catalog.v0.models.image",
47718
+ "required": true,
47719
+ "attributes": [],
47493
47720
  "annotations": []
47494
47721
  }, {
47495
- "name": "rule_id",
47722
+ "name": "keywords",
47723
+ "type": "restriction_keywords",
47724
+ "required": true,
47725
+ "attributes": [],
47726
+ "annotations": [],
47727
+ "description": "Matching positive and negative keywords matching a rule"
47728
+ }, {
47729
+ "name": "rule",
47730
+ "type": "restriction_rule_summary",
47731
+ "required": true,
47732
+ "attributes": [],
47733
+ "annotations": [],
47734
+ "description": "The restriction rule applied to this product item"
47735
+ }, {
47736
+ "name": "status",
47737
+ "type": "product_restriction_status",
47738
+ "required": true,
47739
+ "attributes": [],
47740
+ "annotations": []
47741
+ }, {
47742
+ "name": "updated_at",
47743
+ "type": "date-time-iso8601",
47744
+ "required": true,
47745
+ "attributes": [],
47746
+ "annotations": [],
47747
+ "description": "Date the product was last updated in the catalog"
47748
+ }],
47749
+ "attributes": [],
47750
+ "interfaces": []
47751
+ }, {
47752
+ "name": "restriction_keywords",
47753
+ "plural": "restriction_keywordses",
47754
+ "fields": [{
47755
+ "name": "positive_keywords",
47756
+ "type": "[string]",
47757
+ "required": true,
47758
+ "attributes": [],
47759
+ "annotations": [],
47760
+ "description": "Matching positive keywords"
47761
+ }, {
47762
+ "name": "negative_keywords",
47763
+ "type": "[string]",
47764
+ "required": true,
47765
+ "attributes": [],
47766
+ "annotations": [],
47767
+ "description": "Matching negative keywords indicating possible false positives"
47768
+ }],
47769
+ "attributes": [],
47770
+ "interfaces": []
47771
+ }, {
47772
+ "name": "restriction_pending",
47773
+ "plural": "restriction_pendings",
47774
+ "fields": [{
47775
+ "name": "rule",
47776
+ "type": "restriction_rule_summary",
47777
+ "required": true,
47778
+ "attributes": [],
47779
+ "annotations": []
47780
+ }, {
47781
+ "name": "count",
47782
+ "type": "long",
47783
+ "required": true,
47784
+ "attributes": [],
47785
+ "annotations": []
47786
+ }],
47787
+ "attributes": [],
47788
+ "interfaces": []
47789
+ }, {
47790
+ "name": "restriction_product",
47791
+ "plural": "restriction_products",
47792
+ "fields": [{
47793
+ "name": "id",
47794
+ "type": "string",
47795
+ "required": true,
47796
+ "attributes": [],
47797
+ "annotations": [],
47798
+ "description": "The product ID"
47799
+ }, {
47800
+ "name": "organization_id",
47801
+ "type": "string",
47802
+ "required": true,
47803
+ "attributes": [],
47804
+ "annotations": []
47805
+ }, {
47806
+ "name": "name",
47807
+ "type": "string",
47808
+ "required": true,
47809
+ "attributes": [],
47810
+ "annotations": [],
47811
+ "description": "The product name"
47812
+ }, {
47813
+ "name": "description",
47814
+ "type": "string",
47815
+ "required": true,
47816
+ "attributes": [],
47817
+ "annotations": [],
47818
+ "description": "The complete raw product description including formatting tags"
47819
+ }, {
47820
+ "name": "images",
47821
+ "type": "[io.flow.catalog.v0.models.image]",
47822
+ "required": true,
47823
+ "attributes": [],
47824
+ "annotations": [],
47825
+ "default": "[]"
47826
+ }, {
47827
+ "name": "thumbnails",
47828
+ "type": "[io.flow.catalog.v0.models.image]",
47829
+ "required": true,
47830
+ "attributes": [],
47831
+ "annotations": [],
47832
+ "default": "[]"
47833
+ }, {
47834
+ "name": "categories",
47835
+ "type": "[string]",
47836
+ "required": true,
47837
+ "attributes": [],
47838
+ "annotations": [],
47839
+ "default": "[]"
47840
+ }, {
47841
+ "name": "updated_at",
47842
+ "type": "date-time-iso8601",
47843
+ "required": true,
47844
+ "attributes": [],
47845
+ "annotations": [],
47846
+ "description": "Date the product was last updated in the catalog"
47847
+ }, {
47848
+ "name": "restrictions",
47849
+ "type": "[restriction_review]",
47850
+ "required": true,
47851
+ "attributes": [],
47852
+ "annotations": []
47853
+ }],
47854
+ "attributes": [],
47855
+ "interfaces": []
47856
+ }, {
47857
+ "name": "restriction_review",
47858
+ "plural": "restriction_reviews",
47859
+ "fields": [{
47860
+ "name": "rule",
47861
+ "type": "restriction_rule_summary",
47862
+ "required": true,
47863
+ "attributes": [],
47864
+ "annotations": []
47865
+ }, {
47866
+ "name": "status",
47867
+ "type": "product_restriction_status",
47868
+ "required": true,
47869
+ "attributes": [],
47870
+ "annotations": []
47871
+ }, {
47872
+ "name": "keywords",
47873
+ "type": "restriction_keywords",
47874
+ "required": true,
47875
+ "attributes": [],
47876
+ "annotations": [],
47877
+ "description": "Matching positive and negative keywords matching a rule"
47878
+ }, {
47879
+ "name": "date",
47880
+ "type": "date-time-iso8601",
47881
+ "required": false,
47882
+ "attributes": [],
47883
+ "annotations": [],
47884
+ "description": "Date of review"
47885
+ }],
47886
+ "attributes": [],
47887
+ "interfaces": []
47888
+ }, {
47889
+ "name": "restriction_rule",
47890
+ "plural": "restriction_rules",
47891
+ "fields": [{
47892
+ "name": "id",
47893
+ "type": "string",
47894
+ "required": true,
47895
+ "attributes": [],
47896
+ "annotations": [],
47897
+ "description": "Globally unique identifier"
47898
+ }, {
47899
+ "name": "name",
47900
+ "type": "string",
47901
+ "required": true,
47902
+ "attributes": [],
47903
+ "annotations": [],
47904
+ "minimum": 1,
47905
+ "maximum": 20
47906
+ }, {
47907
+ "name": "description",
47908
+ "type": "string",
47909
+ "required": true,
47910
+ "attributes": [],
47911
+ "annotations": [],
47912
+ "description": "A rule identifying products that have similar restriction action, similar restriction regions or are identified by similar chat"
47913
+ }, {
47914
+ "name": "action",
47915
+ "type": "restriction_action",
47916
+ "required": true,
47917
+ "attributes": [],
47918
+ "annotations": [],
47919
+ "description": "Describes how a restriction should be handled. Prohibited products should never be shipped; restricted products should only be shipped if all partner DCs can prove the ability to ship products in a compliant manner."
47920
+ }, {
47921
+ "name": "regions",
47922
+ "type": "[string]",
47923
+ "required": true,
47924
+ "attributes": [],
47925
+ "annotations": [],
47926
+ "description": "The region id(s) in which a product should be restricted."
47927
+ }, {
47928
+ "name": "positive_keywords",
47929
+ "type": "[string]",
47930
+ "required": true,
47931
+ "attributes": [],
47932
+ "annotations": [],
47933
+ "description": "These are keywords or short phrases that make us suspect a product might be covered by a rule, e.g. 'leather' for animal goods."
47934
+ }, {
47935
+ "name": "negative_keywords",
47936
+ "type": "[string]",
47937
+ "required": true,
47938
+ "attributes": [],
47939
+ "annotations": [],
47940
+ "description": "These are keywords or short phrases that decrease our certainty a product might be covered by a rule, e.g. 'synthetic leather' for animal goods."
47941
+ }],
47942
+ "attributes": [],
47943
+ "interfaces": []
47944
+ }, {
47945
+ "name": "restriction_rule_form",
47946
+ "plural": "restriction_rule_forms",
47947
+ "fields": [{
47948
+ "name": "name",
47949
+ "type": "string",
47950
+ "required": true,
47951
+ "attributes": [],
47952
+ "annotations": [],
47953
+ "minimum": 1,
47954
+ "maximum": 20
47955
+ }, {
47956
+ "name": "description",
47496
47957
  "type": "string",
47497
47958
  "required": true,
47498
47959
  "attributes": [],
@@ -47505,11 +47966,50 @@
47505
47966
  "annotations": []
47506
47967
  }, {
47507
47968
  "name": "regions",
47508
- "type": "[io.flow.reference.v0.models.region]",
47969
+ "type": "[string]",
47509
47970
  "required": true,
47510
47971
  "attributes": [],
47511
47972
  "annotations": [],
47512
- "description": "The regions in which the item is restricted."
47973
+ "description": "The region id(s) in which a product would be restricted."
47974
+ }, {
47975
+ "name": "positive_keywords",
47976
+ "type": "[string]",
47977
+ "required": true,
47978
+ "attributes": [],
47979
+ "annotations": [],
47980
+ "description": "These are keywords or short phrases that make us suspect a product might be covered by a rule, e.g. 'leather' for animal goods."
47981
+ }, {
47982
+ "name": "negative_keywords",
47983
+ "type": "[string]",
47984
+ "required": true,
47985
+ "attributes": [],
47986
+ "annotations": [],
47987
+ "description": "These are keywords or short phrases that decrease our certainty a product might be covered by a rule, e.g. 'synthetic leather' for animal goods."
47988
+ }],
47989
+ "attributes": [],
47990
+ "interfaces": []
47991
+ }, {
47992
+ "name": "restriction_rule_summary",
47993
+ "plural": "restriction_rule_summaries",
47994
+ "fields": [{
47995
+ "name": "id",
47996
+ "type": "string",
47997
+ "required": true,
47998
+ "attributes": [],
47999
+ "annotations": [],
48000
+ "description": "Globally unique identifier"
48001
+ }, {
48002
+ "name": "name",
48003
+ "type": "string",
48004
+ "required": true,
48005
+ "attributes": [],
48006
+ "annotations": []
48007
+ }, {
48008
+ "name": "description",
48009
+ "type": "string",
48010
+ "required": true,
48011
+ "attributes": [],
48012
+ "annotations": []
47513
48013
  }],
47514
48014
  "attributes": [],
47515
48015
  "interfaces": []
@@ -48076,53 +48576,6 @@
48076
48576
  "attributes": [],
48077
48577
  "interfaces": [],
48078
48578
  "description": "Snapshot of relevant information about a tracking number and label for an order"
48079
- }, {
48080
- "name": "secret",
48081
- "plural": "secrets",
48082
- "fields": [{
48083
- "name": "id",
48084
- "type": "string",
48085
- "required": true,
48086
- "attributes": [],
48087
- "annotations": [],
48088
- "description": "Globally unique identifier",
48089
- "example": "sec-201804-1"
48090
- }, {
48091
- "name": "key",
48092
- "type": "string",
48093
- "required": true,
48094
- "attributes": [],
48095
- "annotations": [],
48096
- "description": "The actual secret key, eg the actual salt to use when hashing with JWT"
48097
- }, {
48098
- "name": "created_at",
48099
- "type": "date-time-iso8601",
48100
- "required": true,
48101
- "attributes": [],
48102
- "annotations": []
48103
- }],
48104
- "attributes": [],
48105
- "interfaces": []
48106
- }, {
48107
- "name": "secret_config",
48108
- "plural": "secret_configs",
48109
- "fields": [{
48110
- "name": "secrets",
48111
- "type": "[secret]",
48112
- "required": true,
48113
- "attributes": [],
48114
- "annotations": [],
48115
- "description": "The list of all active secrets. When decoding data, you should consider the value valid if it is successfully decoded using any of these secrets."
48116
- }, {
48117
- "name": "preferred_secret_id",
48118
- "type": "string",
48119
- "required": true,
48120
- "attributes": [],
48121
- "annotations": [],
48122
- "description": "This is the ID of the secret that should be used when encoding values. This ID is guaranteed to appear in the list of secrets. In general you should expect the most recent secret to be the one with which we prefer to encode."
48123
- }],
48124
- "attributes": [],
48125
- "interfaces": []
48126
48579
  }, {
48127
48580
  "name": "session_countries",
48128
48581
  "plural": "session_countries",
@@ -48867,6 +49320,12 @@
48867
49320
  "attributes": [],
48868
49321
  "annotations": [],
48869
49322
  "description": "Globally unique identifier"
49323
+ }, {
49324
+ "name": "channel",
49325
+ "type": "io.flow.common.v0.models.channel_reference",
49326
+ "required": true,
49327
+ "attributes": [],
49328
+ "annotations": []
48870
49329
  }, {
48871
49330
  "name": "domain",
48872
49331
  "type": "string",
@@ -48982,6 +49441,12 @@
48982
49441
  "attributes": [],
48983
49442
  "annotations": [],
48984
49443
  "description": "Refers to your organization's account identifier"
49444
+ }, {
49445
+ "name": "channel",
49446
+ "type": "io.flow.common.v0.models.channel_reference",
49447
+ "required": true,
49448
+ "attributes": [],
49449
+ "annotations": []
48985
49450
  }],
48986
49451
  "attributes": [],
48987
49452
  "interfaces": []
@@ -51203,10 +51668,16 @@
51203
51668
  "required": true,
51204
51669
  "attributes": [],
51205
51670
  "annotations": []
51671
+ }, {
51672
+ "name": "status",
51673
+ "type": "billing_transaction_status",
51674
+ "required": true,
51675
+ "attributes": [],
51676
+ "annotations": []
51206
51677
  }, {
51207
51678
  "name": "posted_at",
51208
51679
  "type": "date-time-iso8601",
51209
- "required": true,
51680
+ "required": false,
51210
51681
  "attributes": [],
51211
51682
  "annotations": []
51212
51683
  }, {
@@ -51867,10 +52338,16 @@
51867
52338
  "required": true,
51868
52339
  "attributes": [],
51869
52340
  "annotations": []
52341
+ }, {
52342
+ "name": "status",
52343
+ "type": "billing_transaction_status",
52344
+ "required": true,
52345
+ "attributes": [],
52346
+ "annotations": []
51870
52347
  }, {
51871
52348
  "name": "posted_at",
51872
52349
  "type": "date-time-iso8601",
51873
- "required": true,
52350
+ "required": false,
51874
52351
  "attributes": [],
51875
52352
  "annotations": []
51876
52353
  }, {
@@ -52707,8 +53184,8 @@
52707
53184
  "attributes": [],
52708
53185
  "interfaces": []
52709
53186
  }, {
52710
- "name": "transfer_fee_transaction",
52711
- "plural": "transfer_fee_transactions",
53187
+ "name": "transfer_transaction",
53188
+ "plural": "transfer_transactions",
52712
53189
  "fields": [{
52713
53190
  "name": "id",
52714
53191
  "type": "string",
@@ -52723,108 +53200,15 @@
52723
53200
  "attributes": [],
52724
53201
  "annotations": []
52725
53202
  }, {
52726
- "name": "posted_at",
52727
- "type": "date-time-iso8601",
52728
- "required": true,
52729
- "attributes": [],
52730
- "annotations": []
52731
- }, {
52732
- "name": "value",
52733
- "type": "io.flow.common.v0.models.price",
52734
- "required": true,
52735
- "attributes": [],
52736
- "annotations": []
52737
- }, {
52738
- "name": "description",
52739
- "type": "string",
52740
- "required": true,
52741
- "attributes": [],
52742
- "annotations": []
52743
- }, {
52744
- "name": "statement",
52745
- "type": "billing_statement_reference",
52746
- "required": false,
52747
- "attributes": [],
52748
- "annotations": []
52749
- }, {
52750
- "name": "created_at",
52751
- "type": "date-time-iso8601",
52752
- "required": true,
52753
- "attributes": [],
52754
- "annotations": []
52755
- }],
52756
- "attributes": [],
52757
- "interfaces": ["base_transaction"],
52758
- "description": "Represents a fee charged for the transfer itself (eg a wire service fee)."
52759
- }, {
52760
- "name": "transfer_fee_transaction_deleted",
52761
- "plural": "transfer_fee_transaction_deleteds",
52762
- "fields": [{
52763
- "name": "event_id",
52764
- "type": "string",
52765
- "required": true,
52766
- "attributes": [],
52767
- "annotations": []
52768
- }, {
52769
- "name": "timestamp",
52770
- "type": "date-time-iso8601",
52771
- "required": true,
52772
- "attributes": [],
52773
- "annotations": []
52774
- }, {
52775
- "name": "id",
52776
- "type": "string",
52777
- "required": true,
52778
- "attributes": [],
52779
- "annotations": [],
52780
- "description": "Globally unique identifier"
52781
- }],
52782
- "attributes": [],
52783
- "interfaces": []
52784
- }, {
52785
- "name": "transfer_fee_transaction_upserted",
52786
- "plural": "transfer_fee_transaction_upserteds",
52787
- "fields": [{
52788
- "name": "event_id",
52789
- "type": "string",
52790
- "required": true,
52791
- "attributes": [],
52792
- "annotations": []
52793
- }, {
52794
- "name": "timestamp",
52795
- "type": "date-time-iso8601",
52796
- "required": true,
52797
- "attributes": [],
52798
- "annotations": []
52799
- }, {
52800
- "name": "transfer_fee_transaction",
52801
- "type": "transfer_fee_transaction",
52802
- "required": true,
52803
- "attributes": [],
52804
- "annotations": []
52805
- }],
52806
- "attributes": [],
52807
- "interfaces": []
52808
- }, {
52809
- "name": "transfer_transaction",
52810
- "plural": "transfer_transactions",
52811
- "fields": [{
52812
- "name": "id",
52813
- "type": "string",
52814
- "required": true,
52815
- "attributes": [],
52816
- "annotations": [],
52817
- "description": "Globally unique identifier"
52818
- }, {
52819
- "name": "type",
52820
- "type": "billing_transaction_type",
53203
+ "name": "status",
53204
+ "type": "billing_transaction_status",
52821
53205
  "required": true,
52822
53206
  "attributes": [],
52823
53207
  "annotations": []
52824
53208
  }, {
52825
53209
  "name": "posted_at",
52826
53210
  "type": "date-time-iso8601",
52827
- "required": true,
53211
+ "required": false,
52828
53212
  "attributes": [],
52829
53213
  "annotations": []
52830
53214
  }, {
@@ -53905,10 +54289,16 @@
53905
54289
  "required": true,
53906
54290
  "attributes": [],
53907
54291
  "annotations": []
54292
+ }, {
54293
+ "name": "status",
54294
+ "type": "billing_transaction_status",
54295
+ "required": true,
54296
+ "attributes": [],
54297
+ "annotations": []
53908
54298
  }, {
53909
54299
  "name": "posted_at",
53910
54300
  "type": "date-time-iso8601",
53911
- "required": true,
54301
+ "required": false,
53912
54302
  "attributes": [],
53913
54303
  "annotations": []
53914
54304
  }, {
@@ -77343,6 +77733,84 @@
77343
77733
  }
77344
77734
  }],
77345
77735
  "path": "/internal/:organization/payment/settings"
77736
+ }, {
77737
+ "type": "organization_restriction_summary",
77738
+ "plural": "organization_restriction_summaries",
77739
+ "operations": [{
77740
+ "method": "GET",
77741
+ "path": "/internal/organization/restriction/summaries",
77742
+ "parameters": [{
77743
+ "name": "organization_id",
77744
+ "type": "string",
77745
+ "location": "Query",
77746
+ "required": false
77747
+ }, {
77748
+ "name": "rule_ids",
77749
+ "type": "[string]",
77750
+ "location": "Query",
77751
+ "required": false,
77752
+ "maximum": 100
77753
+ }, {
77754
+ "name": "limit",
77755
+ "type": "long",
77756
+ "location": "Query",
77757
+ "required": true,
77758
+ "description": "The maximum number of results to return",
77759
+ "default": "25",
77760
+ "minimum": 1,
77761
+ "maximum": 100
77762
+ }, {
77763
+ "name": "offset",
77764
+ "type": "long",
77765
+ "location": "Query",
77766
+ "required": true,
77767
+ "description": "The number of results to skip before returning results",
77768
+ "default": "0",
77769
+ "minimum": 0
77770
+ }],
77771
+ "responses": [{
77772
+ "code": {
77773
+ "integer": {
77774
+ "value": 200
77775
+ }
77776
+ },
77777
+ "type": "[organization_restriction_summary]",
77778
+ "description": "Successful response",
77779
+ "attributes": []
77780
+ }, {
77781
+ "code": {
77782
+ "integer": {
77783
+ "value": 401
77784
+ }
77785
+ },
77786
+ "type": "unit",
77787
+ "description": "Authorization failed",
77788
+ "attributes": []
77789
+ }, {
77790
+ "code": {
77791
+ "integer": {
77792
+ "value": 422
77793
+ }
77794
+ },
77795
+ "type": "io.flow.error.v0.models.generic_error",
77796
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
77797
+ "attributes": []
77798
+ }],
77799
+ "attributes": [{
77800
+ "name": "linter",
77801
+ "value": {
77802
+ "ignore": ["get", "id", "sort"]
77803
+ }
77804
+ }],
77805
+ "description": "Returns a summary list of organizations with pending restriction reviews"
77806
+ }],
77807
+ "attributes": [{
77808
+ "name": "docs",
77809
+ "value": {
77810
+ "module": "general"
77811
+ }
77812
+ }],
77813
+ "path": "/internal/organization/restriction/summaries"
77346
77814
  }, {
77347
77815
  "type": "organization_settings",
77348
77816
  "plural": "organization_settings",
@@ -80104,11 +80572,6 @@
80104
80572
  "type": "string",
80105
80573
  "location": "Query",
80106
80574
  "required": false
80107
- }, {
80108
- "name": "status",
80109
- "type": "product_restriction_status",
80110
- "location": "Query",
80111
- "required": false
80112
80575
  }, {
80113
80576
  "name": "restriction_name",
80114
80577
  "type": "string",
@@ -80176,7 +80639,10 @@
80176
80639
  }]
80177
80640
  }
80178
80641
  }],
80179
- "description": "Returns the list of product restrictions"
80642
+ "description": "Returns the list of product restrictions",
80643
+ "deprecation": {
80644
+ "description": "to be replaced by new UI resources"
80645
+ }
80180
80646
  }, {
80181
80647
  "method": "POST",
80182
80648
  "path": "/internal/product/restrictions",
@@ -80834,45 +81300,32 @@
80834
81300
  }],
80835
81301
  "path": "/:organization/rebound/configuration"
80836
81302
  }, {
80837
- "type": "routing_entity",
80838
- "plural": "routing_entities",
81303
+ "type": "restriction_item",
81304
+ "plural": "restriction_items",
80839
81305
  "operations": [{
80840
81306
  "method": "GET",
80841
- "path": "/routing/entities",
81307
+ "path": "/internal/restriction/:organization/items",
80842
81308
  "parameters": [{
81309
+ "name": "organization",
81310
+ "type": "string",
81311
+ "location": "Path",
81312
+ "required": true,
81313
+ "description": "Refers to your organization's account identifier"
81314
+ }, {
80843
81315
  "name": "id",
80844
81316
  "type": "[string]",
80845
81317
  "location": "Query",
80846
81318
  "required": false,
80847
81319
  "description": "Filter by one or more IDs of this resource",
80848
81320
  "maximum": 100
80849
- }, {
80850
- "name": "processor",
80851
- "type": "[processor]",
80852
- "location": "Query",
80853
- "required": false,
80854
- "maximum": 8
80855
- }, {
80856
- "name": "organization",
80857
- "type": "[string]",
80858
- "location": "Query",
80859
- "required": false,
80860
- "description": "Refers to your organization's account identifier",
80861
- "maximum": 100
80862
- }, {
80863
- "name": "owner",
80864
- "type": "[owner]",
80865
- "location": "Query",
80866
- "required": false,
80867
- "maximum": 2
80868
81321
  }, {
80869
81322
  "name": "status",
80870
- "type": "[processor_entity_status]",
81323
+ "type": "product_restriction_status",
80871
81324
  "location": "Query",
80872
- "required": false,
80873
- "maximum": 3
81325
+ "required": true,
81326
+ "default": "in_review"
80874
81327
  }, {
80875
- "name": "country",
81328
+ "name": "rule_ids",
80876
81329
  "type": "[string]",
80877
81330
  "location": "Query",
80878
81331
  "required": false,
@@ -80899,7 +81352,7 @@
80899
81352
  "type": "string",
80900
81353
  "location": "Query",
80901
81354
  "required": true,
80902
- "default": "-created_at"
81355
+ "default": "name"
80903
81356
  }],
80904
81357
  "responses": [{
80905
81358
  "code": {
@@ -80907,7 +81360,7 @@
80907
81360
  "value": 200
80908
81361
  }
80909
81362
  },
80910
- "type": "[routing_entity]",
81363
+ "type": "[restriction_item]",
80911
81364
  "description": "Successful response",
80912
81365
  "attributes": []
80913
81366
  }, {
@@ -80922,11 +81375,83 @@
80922
81375
  }, {
80923
81376
  "code": {
80924
81377
  "integer": {
80925
- "value": 404
81378
+ "value": 422
81379
+ }
81380
+ },
81381
+ "type": "io.flow.error.v0.models.generic_error",
81382
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81383
+ "attributes": []
81384
+ }],
81385
+ "attributes": [{
81386
+ "name": "sort",
81387
+ "value": {
81388
+ "values": [{
81389
+ "value": "organization_id"
81390
+ }, {
81391
+ "value": "name"
81392
+ }, {
81393
+ "value": "updated_at"
81394
+ }]
81395
+ }
81396
+ }],
81397
+ "description": "Returns a list of product items for an organization"
81398
+ }, {
81399
+ "method": "GET",
81400
+ "path": "/internal/restriction/:organization/items/rules",
81401
+ "parameters": [{
81402
+ "name": "organization",
81403
+ "type": "string",
81404
+ "location": "Path",
81405
+ "required": true,
81406
+ "description": "Refers to your organization's account identifier"
81407
+ }, {
81408
+ "name": "id",
81409
+ "type": "[string]",
81410
+ "location": "Query",
81411
+ "required": false,
81412
+ "description": "Filter by one or more IDs of this resource",
81413
+ "maximum": 100
81414
+ }, {
81415
+ "name": "limit",
81416
+ "type": "long",
81417
+ "location": "Query",
81418
+ "required": true,
81419
+ "description": "The maximum number of results to return",
81420
+ "default": "25",
81421
+ "minimum": 1,
81422
+ "maximum": 100
81423
+ }, {
81424
+ "name": "offset",
81425
+ "type": "long",
81426
+ "location": "Query",
81427
+ "required": true,
81428
+ "description": "The number of results to skip before returning results",
81429
+ "default": "0",
81430
+ "minimum": 0
81431
+ }, {
81432
+ "name": "sort",
81433
+ "type": "string",
81434
+ "location": "Query",
81435
+ "required": true,
81436
+ "default": "name"
81437
+ }],
81438
+ "responses": [{
81439
+ "code": {
81440
+ "integer": {
81441
+ "value": 200
81442
+ }
81443
+ },
81444
+ "type": "[restriction_rule_summary]",
81445
+ "description": "Successful response",
81446
+ "attributes": []
81447
+ }, {
81448
+ "code": {
81449
+ "integer": {
81450
+ "value": 401
80926
81451
  }
80927
81452
  },
80928
81453
  "type": "unit",
80929
- "description": "Resource was not found",
81454
+ "description": "Authorization failed",
80930
81455
  "attributes": []
80931
81456
  }, {
80932
81457
  "code": {
@@ -80942,13 +81467,11 @@
80942
81467
  "name": "sort",
80943
81468
  "value": {
80944
81469
  "values": [{
80945
- "value": "updated_at"
80946
- }, {
80947
- "value": "created_at"
81470
+ "value": "name"
80948
81471
  }]
80949
81472
  }
80950
81473
  }],
80951
- "description": "Retrieves details about all potential payment routing options based on the provided parameters. This will exclude top level accounts that cannot process transactions without a valid merchant - they would be included if any of their merchants are eligible. All querystrings will be processed at the lowest available level for a given processor."
81474
+ "description": "Returns the list of restriction rules currently applicable for an organizations products in review"
80952
81475
  }],
80953
81476
  "attributes": [{
80954
81477
  "name": "docs",
@@ -80956,28 +81479,68 @@
80956
81479
  "module": "general"
80957
81480
  }
80958
81481
  }],
80959
- "path": "/routing/entities",
80960
- "description": "Each entity is a different payment routing option. It can be anything from just a processor reference to a merchant account under a payment processor account."
81482
+ "path": "/internal/restriction/:organization/items"
80961
81483
  }, {
80962
- "type": "screen",
80963
- "plural": "screens",
81484
+ "type": "restriction_product",
81485
+ "plural": "restriction_products",
80964
81486
  "operations": [{
80965
- "method": "PUT",
80966
- "path": "/screens/:key",
81487
+ "method": "GET",
81488
+ "path": "/internal/restriction/products",
80967
81489
  "parameters": [{
80968
- "name": "key",
81490
+ "name": "id",
81491
+ "type": "[string]",
81492
+ "location": "Query",
81493
+ "required": false,
81494
+ "description": "Filter by one or more IDs of this resource",
81495
+ "maximum": 100
81496
+ }, {
81497
+ "name": "organization_id",
80969
81498
  "type": "string",
80970
- "location": "Path",
80971
- "required": true
81499
+ "location": "Query",
81500
+ "required": false
81501
+ }, {
81502
+ "name": "rule_ids",
81503
+ "type": "[string]",
81504
+ "location": "Query",
81505
+ "required": false,
81506
+ "maximum": 100
81507
+ }, {
81508
+ "name": "status",
81509
+ "type": "product_restriction_status",
81510
+ "location": "Query",
81511
+ "required": false
81512
+ }, {
81513
+ "name": "limit",
81514
+ "type": "long",
81515
+ "location": "Query",
81516
+ "required": true,
81517
+ "description": "The maximum number of results to return",
81518
+ "default": "25",
81519
+ "minimum": 1,
81520
+ "maximum": 100
81521
+ }, {
81522
+ "name": "offset",
81523
+ "type": "long",
81524
+ "location": "Query",
81525
+ "required": true,
81526
+ "description": "The number of results to skip before returning results",
81527
+ "default": "0",
81528
+ "minimum": 0
81529
+ }, {
81530
+ "name": "sort",
81531
+ "type": "string",
81532
+ "location": "Query",
81533
+ "required": true,
81534
+ "default": "name"
80972
81535
  }],
80973
81536
  "responses": [{
80974
81537
  "code": {
80975
81538
  "integer": {
80976
- "value": 201
81539
+ "value": 200
80977
81540
  }
80978
81541
  },
80979
- "type": "[screen]",
80980
- "description": "Operation succeeded and the resource was created",
81542
+ "type": "[restriction_product]",
81543
+ "description": "Successful response",
80981
81544
  "attributes": []
80982
81545
  }, {
80983
81546
  "code": {
@@ -80988,15 +81551,6 @@
80988
81551
  "type": "unit",
80989
81552
  "description": "Authorization failed",
80990
81553
  "attributes": []
80991
- }, {
80992
- "code": {
80993
- "integer": {
80994
- "value": 404
80995
- }
80996
- },
80997
- "type": "unit",
80998
- "description": "Resource was not found",
80999
- "attributes": []
81000
81554
  }, {
81001
81555
  "code": {
81002
81556
  "integer": {
@@ -81008,16 +81562,58 @@
81008
81562
  "attributes": []
81009
81563
  }],
81010
81564
  "attributes": [{
81011
- "name": "linter",
81565
+ "name": "sort",
81012
81566
  "value": {
81013
- "ignore": ["get", "versions"]
81567
+ "values": [{
81568
+ "value": "organization_id"
81569
+ }, {
81570
+ "value": "updated_at"
81571
+ }, {
81572
+ "value": "name"
81573
+ }]
81014
81574
  }
81015
81575
  }],
81016
- "description": "Provides a list of screens given a query 'q' and optional countries parameter to search on a specified list of countries.",
81017
- "body": {
81018
- "type": "screen_form",
81019
- "attributes": []
81020
- }
81576
+ "description": "Returns a list of products for an organization"
81577
+ }, {
81578
+ "method": "GET",
81579
+ "path": "/internal/restriction/products/:id",
81580
+ "parameters": [{
81581
+ "name": "id",
81582
+ "type": "string",
81583
+ "location": "Path",
81584
+ "required": true,
81585
+ "description": "Filter by one or more IDs of this resource"
81586
+ }],
81587
+ "responses": [{
81588
+ "code": {
81589
+ "integer": {
81590
+ "value": 200
81591
+ }
81592
+ },
81593
+ "type": "restriction_product",
81594
+ "description": "Successful response",
81595
+ "attributes": []
81596
+ }, {
81597
+ "code": {
81598
+ "integer": {
81599
+ "value": 401
81600
+ }
81601
+ },
81602
+ "type": "unit",
81603
+ "description": "Authorization failed",
81604
+ "attributes": []
81605
+ }, {
81606
+ "code": {
81607
+ "integer": {
81608
+ "value": 404
81609
+ }
81610
+ },
81611
+ "type": "unit",
81612
+ "description": "Resource was not found",
81613
+ "attributes": []
81614
+ }],
81615
+ "attributes": [],
81616
+ "description": "Returns a restriction product by product id"
81021
81617
  }],
81022
81618
  "attributes": [{
81023
81619
  "name": "docs",
@@ -81025,27 +81621,57 @@
81025
81621
  "module": "general"
81026
81622
  }
81027
81623
  }],
81028
- "path": "/screens"
81624
+ "path": "/internal/restriction/products"
81029
81625
  }, {
81030
- "type": "search_provider_export",
81031
- "plural": "search_provider_exports",
81626
+ "type": "restriction_rule",
81627
+ "plural": "restriction_rules",
81032
81628
  "operations": [{
81033
- "method": "POST",
81034
- "path": "/:organization/search_provider_export",
81629
+ "method": "GET",
81630
+ "path": "/internal/restriction/rules",
81035
81631
  "parameters": [{
81036
- "name": "organization",
81632
+ "name": "id",
81633
+ "type": "[string]",
81634
+ "location": "Query",
81635
+ "required": false,
81636
+ "description": "Filter by one or more IDs of this resource",
81637
+ "maximum": 100
81638
+ }, {
81639
+ "name": "name",
81037
81640
  "type": "string",
81038
- "location": "Path",
81641
+ "location": "Query",
81642
+ "required": false
81643
+ }, {
81644
+ "name": "limit",
81645
+ "type": "long",
81646
+ "location": "Query",
81039
81647
  "required": true,
81040
- "description": "Refers to your organization's account identifier"
81648
+ "description": "The maximum number of results to return",
81649
+ "default": "25",
81650
+ "minimum": 1,
81651
+ "maximum": 100
81652
+ }, {
81653
+ "name": "offset",
81654
+ "type": "long",
81655
+ "location": "Query",
81656
+ "required": true,
81657
+ "description": "The number of results to skip before returning results",
81658
+ "default": "0",
81659
+ "minimum": 0
81660
+ }, {
81661
+ "name": "sort",
81662
+ "type": "string",
81663
+ "location": "Query",
81664
+ "required": true,
81665
+ "default": "name"
81041
81666
  }],
81042
81667
  "responses": [{
81043
81668
  "code": {
81044
81669
  "integer": {
81045
- "value": 202
81670
+ "value": 200
81046
81671
  }
81047
81672
  },
81048
- "type": "unit",
81673
+ "type": "[restriction_rule]",
81674
+ "description": "Successful response",
81049
81675
  "attributes": []
81050
81676
  }, {
81051
81677
  "code": {
@@ -81059,11 +81685,44 @@
81059
81685
  }, {
81060
81686
  "code": {
81061
81687
  "integer": {
81062
- "value": 404
81688
+ "value": 422
81689
+ }
81690
+ },
81691
+ "type": "io.flow.error.v0.models.generic_error",
81692
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81693
+ "attributes": []
81694
+ }],
81695
+ "attributes": [{
81696
+ "name": "sort",
81697
+ "value": {
81698
+ "values": [{
81699
+ "value": "name"
81700
+ }, {
81701
+ "value": "created_at"
81702
+ }]
81703
+ }
81704
+ }]
81705
+ }, {
81706
+ "method": "POST",
81707
+ "path": "/internal/restriction/rules",
81708
+ "parameters": [],
81709
+ "responses": [{
81710
+ "code": {
81711
+ "integer": {
81712
+ "value": 201
81713
+ }
81714
+ },
81715
+ "type": "restriction_rule",
81716
+ "description": "Operation succeeded and the resource was created",
81717
+ "attributes": []
81718
+ }, {
81719
+ "code": {
81720
+ "integer": {
81721
+ "value": 401
81063
81722
  }
81064
81723
  },
81065
81724
  "type": "unit",
81066
- "description": "Resource was not found",
81725
+ "description": "Authorization failed",
81067
81726
  "attributes": []
81068
81727
  }, {
81069
81728
  "code": {
@@ -81075,29 +81734,77 @@
81075
81734
  "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81076
81735
  "attributes": []
81077
81736
  }],
81078
- "attributes": []
81737
+ "attributes": [],
81738
+ "body": {
81739
+ "type": "restriction_rule_form",
81740
+ "attributes": []
81741
+ }
81079
81742
  }, {
81080
- "method": "POST",
81081
- "path": "/:organization/search_provider_export/experience/:experience_key",
81743
+ "method": "GET",
81744
+ "path": "/internal/restriction/rules/:id",
81082
81745
  "parameters": [{
81083
- "name": "organization",
81746
+ "name": "id",
81084
81747
  "type": "string",
81085
81748
  "location": "Path",
81086
81749
  "required": true,
81087
- "description": "Refers to your organization's account identifier"
81750
+ "description": "Filter by one or more IDs of this resource"
81751
+ }],
81752
+ "responses": [{
81753
+ "code": {
81754
+ "integer": {
81755
+ "value": 200
81756
+ }
81757
+ },
81758
+ "type": "restriction_rule",
81759
+ "description": "Successful response",
81760
+ "attributes": []
81088
81761
  }, {
81089
- "name": "experience_key",
81762
+ "code": {
81763
+ "integer": {
81764
+ "value": 401
81765
+ }
81766
+ },
81767
+ "type": "unit",
81768
+ "description": "Authorization failed",
81769
+ "attributes": []
81770
+ }, {
81771
+ "code": {
81772
+ "integer": {
81773
+ "value": 404
81774
+ }
81775
+ },
81776
+ "type": "unit",
81777
+ "description": "Resource was not found",
81778
+ "attributes": []
81779
+ }],
81780
+ "attributes": []
81781
+ }, {
81782
+ "method": "PUT",
81783
+ "path": "/internal/restriction/rules/:id",
81784
+ "parameters": [{
81785
+ "name": "id",
81090
81786
  "type": "string",
81091
81787
  "location": "Path",
81092
- "required": true
81788
+ "required": true,
81789
+ "description": "Filter by one or more IDs of this resource"
81093
81790
  }],
81094
81791
  "responses": [{
81095
81792
  "code": {
81096
81793
  "integer": {
81097
- "value": 202
81794
+ "value": 200
81098
81795
  }
81099
81796
  },
81100
- "type": "unit",
81797
+ "type": "restriction_rule",
81798
+ "description": "Successful response",
81799
+ "attributes": []
81800
+ }, {
81801
+ "code": {
81802
+ "integer": {
81803
+ "value": 201
81804
+ }
81805
+ },
81806
+ "type": "restriction_rule",
81807
+ "description": "Operation succeeded and the resource was created",
81101
81808
  "attributes": []
81102
81809
  }, {
81103
81810
  "code": {
@@ -81127,7 +81834,11 @@
81127
81834
  "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81128
81835
  "attributes": []
81129
81836
  }],
81130
- "attributes": []
81837
+ "attributes": [],
81838
+ "body": {
81839
+ "type": "restriction_rule_form",
81840
+ "attributes": []
81841
+ }
81131
81842
  }],
81132
81843
  "attributes": [{
81133
81844
  "name": "docs",
@@ -81135,13 +81846,13 @@
81135
81846
  "module": "general"
81136
81847
  }
81137
81848
  }],
81138
- "path": "/:organization/search_provider_export"
81849
+ "path": "/internal/restriction/rules"
81139
81850
  }, {
81140
- "type": "secret",
81141
- "plural": "secrets",
81851
+ "type": "routing_entity",
81852
+ "plural": "routing_entities",
81142
81853
  "operations": [{
81143
81854
  "method": "GET",
81144
- "path": "/internal/secrets",
81855
+ "path": "/routing/entities",
81145
81856
  "parameters": [{
81146
81857
  "name": "id",
81147
81858
  "type": "[string]",
@@ -81149,6 +81860,37 @@
81149
81860
  "required": false,
81150
81861
  "description": "Filter by one or more IDs of this resource",
81151
81862
  "maximum": 100
81863
+ }, {
81864
+ "name": "processor",
81865
+ "type": "[processor]",
81866
+ "location": "Query",
81867
+ "required": false,
81868
+ "maximum": 8
81869
+ }, {
81870
+ "name": "organization",
81871
+ "type": "[string]",
81872
+ "location": "Query",
81873
+ "required": false,
81874
+ "description": "Refers to your organization's account identifier",
81875
+ "maximum": 100
81876
+ }, {
81877
+ "name": "owner",
81878
+ "type": "[owner]",
81879
+ "location": "Query",
81880
+ "required": false,
81881
+ "maximum": 2
81882
+ }, {
81883
+ "name": "status",
81884
+ "type": "[processor_entity_status]",
81885
+ "location": "Query",
81886
+ "required": false,
81887
+ "maximum": 3
81888
+ }, {
81889
+ "name": "country",
81890
+ "type": "[string]",
81891
+ "location": "Query",
81892
+ "required": false,
81893
+ "maximum": 100
81152
81894
  }, {
81153
81895
  "name": "limit",
81154
81896
  "type": "long",
@@ -81179,7 +81921,7 @@
81179
81921
  "value": 200
81180
81922
  }
81181
81923
  },
81182
- "type": "[redacted_secret]",
81924
+ "type": "[routing_entity]",
81183
81925
  "description": "Successful response",
81184
81926
  "attributes": []
81185
81927
  }, {
@@ -81200,34 +81942,55 @@
81200
81942
  "type": "unit",
81201
81943
  "description": "Resource was not found",
81202
81944
  "attributes": []
81945
+ }, {
81946
+ "code": {
81947
+ "integer": {
81948
+ "value": 422
81949
+ }
81950
+ },
81951
+ "type": "io.flow.error.v0.models.generic_error",
81952
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81953
+ "attributes": []
81203
81954
  }],
81204
81955
  "attributes": [{
81205
- "name": "linter",
81206
- "value": {
81207
- "ignore": ["versions"]
81208
- }
81209
- }, {
81210
81956
  "name": "sort",
81211
81957
  "value": {
81212
81958
  "values": [{
81213
- "value": "id"
81959
+ "value": "updated_at"
81214
81960
  }, {
81215
81961
  "value": "created_at"
81216
81962
  }]
81217
81963
  }
81218
81964
  }],
81219
- "description": "Update the status of this particular user"
81220
- }, {
81221
- "method": "POST",
81222
- "path": "/internal/secrets",
81223
- "parameters": [],
81965
+ "description": "Retrieves details about all potential payment routing options based on the provided parameters. This will exclude top level accounts that cannot process transactions without a valid merchant - they would be included if any of their merchants are eligible. All querystrings will be processed at the lowest available level for a given processor."
81966
+ }],
81967
+ "attributes": [{
81968
+ "name": "docs",
81969
+ "value": {
81970
+ "module": "general"
81971
+ }
81972
+ }],
81973
+ "path": "/routing/entities",
81974
+ "description": "Each entity is a different payment routing option. It can be anything from just a processor reference to a merchant account under a payment processor account."
81975
+ }, {
81976
+ "type": "screen",
81977
+ "plural": "screens",
81978
+ "operations": [{
81979
+ "method": "PUT",
81980
+ "path": "/screens/:key",
81981
+ "parameters": [{
81982
+ "name": "key",
81983
+ "type": "string",
81984
+ "location": "Path",
81985
+ "required": true
81986
+ }],
81224
81987
  "responses": [{
81225
81988
  "code": {
81226
81989
  "integer": {
81227
81990
  "value": 201
81228
81991
  }
81229
81992
  },
81230
- "type": "redacted_secret",
81993
+ "type": "[screen]",
81231
81994
  "description": "Operation succeeded and the resource was created",
81232
81995
  "attributes": []
81233
81996
  }, {
@@ -81258,8 +82021,17 @@
81258
82021
  "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81259
82022
  "attributes": []
81260
82023
  }],
81261
- "attributes": [],
81262
- "description": "Create and publish a new secret"
82024
+ "attributes": [{
82025
+ "name": "linter",
82026
+ "value": {
82027
+ "ignore": ["get", "versions"]
82028
+ }
82029
+ }],
82030
+ "description": "Provides a list of screens given a query 'q' and optional countries parameter to search on a specified list of countries.",
82031
+ "body": {
82032
+ "type": "screen_form",
82033
+ "attributes": []
82034
+ }
81263
82035
  }],
81264
82036
  "attributes": [{
81265
82037
  "name": "docs",
@@ -81267,22 +82039,27 @@
81267
82039
  "module": "general"
81268
82040
  }
81269
82041
  }],
81270
- "path": "/internal/secrets"
82042
+ "path": "/screens"
81271
82043
  }, {
81272
- "type": "secret_config",
81273
- "plural": "secret_configs",
82044
+ "type": "search_provider_export",
82045
+ "plural": "search_provider_exports",
81274
82046
  "operations": [{
81275
- "method": "GET",
81276
- "path": "/internal/secret/config",
81277
- "parameters": [],
82047
+ "method": "POST",
82048
+ "path": "/:organization/search_provider_export",
82049
+ "parameters": [{
82050
+ "name": "organization",
82051
+ "type": "string",
82052
+ "location": "Path",
82053
+ "required": true,
82054
+ "description": "Refers to your organization's account identifier"
82055
+ }],
81278
82056
  "responses": [{
81279
82057
  "code": {
81280
82058
  "integer": {
81281
- "value": 200
82059
+ "value": 202
81282
82060
  }
81283
82061
  },
81284
- "type": "redacted_secret_config",
81285
- "description": "Successful response",
82062
+ "type": "unit",
81286
82063
  "attributes": []
81287
82064
  }, {
81288
82065
  "code": {
@@ -81302,13 +82079,28 @@
81302
82079
  "type": "unit",
81303
82080
  "description": "Resource was not found",
81304
82081
  "attributes": []
82082
+ }, {
82083
+ "code": {
82084
+ "integer": {
82085
+ "value": 422
82086
+ }
82087
+ },
82088
+ "type": "io.flow.error.v0.models.generic_error",
82089
+ "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
82090
+ "attributes": []
81305
82091
  }],
81306
82092
  "attributes": []
81307
82093
  }, {
81308
- "method": "PUT",
81309
- "path": "/internal/secret/config/preferred/:secret_id",
82094
+ "method": "POST",
82095
+ "path": "/:organization/search_provider_export/experience/:experience_key",
81310
82096
  "parameters": [{
81311
- "name": "secret_id",
82097
+ "name": "organization",
82098
+ "type": "string",
82099
+ "location": "Path",
82100
+ "required": true,
82101
+ "description": "Refers to your organization's account identifier"
82102
+ }, {
82103
+ "name": "experience_key",
81312
82104
  "type": "string",
81313
82105
  "location": "Path",
81314
82106
  "required": true
@@ -81316,11 +82108,10 @@
81316
82108
  "responses": [{
81317
82109
  "code": {
81318
82110
  "integer": {
81319
- "value": 200
82111
+ "value": 202
81320
82112
  }
81321
82113
  },
81322
- "type": "redacted_secret_config",
81323
- "description": "Successful response",
82114
+ "type": "unit",
81324
82115
  "attributes": []
81325
82116
  }, {
81326
82117
  "code": {
@@ -81350,8 +82141,7 @@
81350
82141
  "description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
81351
82142
  "attributes": []
81352
82143
  }],
81353
- "attributes": [],
81354
- "description": "Update the config to set the preferred secret to the one specified"
82144
+ "attributes": []
81355
82145
  }],
81356
82146
  "attributes": [{
81357
82147
  "name": "docs",
@@ -81359,7 +82149,7 @@
81359
82149
  "module": "general"
81360
82150
  }
81361
82151
  }],
81362
- "path": "/internal/secret/config"
82152
+ "path": "/:organization/search_provider_export"
81363
82153
  }, {
81364
82154
  "type": "session_countries",
81365
82155
  "plural": "session_countries",