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

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.83",
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.83",
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": []
@@ -3852,6 +3840,17 @@
3852
3840
  }],
3853
3841
  "attributes": [],
3854
3842
  "description": "Describes the scope of liability."
3843
+ }, {
3844
+ "name": "main_transaction_status",
3845
+ "plural": "main_transaction_statuses",
3846
+ "values": [{
3847
+ "name": "scheduled",
3848
+ "attributes": []
3849
+ }, {
3850
+ "name": "pending_fulfillment_proof",
3851
+ "attributes": []
3852
+ }],
3853
+ "attributes": []
3855
3854
  }, {
3856
3855
  "name": "manual_review_rule_status",
3857
3856
  "plural": "manual_review_rule_statuses",
@@ -4112,6 +4111,95 @@
4112
4111
  "attributes": []
4113
4112
  }],
4114
4113
  "attributes": []
4114
+ }, {
4115
+ "name": "merchant_onboarding_process_key",
4116
+ "plural": "merchant_onboarding_process_keys",
4117
+ "values": [{
4118
+ "name": "shopify_merchant_onboarding_v1",
4119
+ "attributes": []
4120
+ }],
4121
+ "attributes": [],
4122
+ "description": "Enumerates all onboarding process definitions that exist."
4123
+ }, {
4124
+ "name": "merchant_onboarding_process_state",
4125
+ "plural": "merchant_onboarding_process_states",
4126
+ "values": [{
4127
+ "name": "created",
4128
+ "attributes": [],
4129
+ "description": "Start state for a process."
4130
+ }, {
4131
+ "name": "active",
4132
+ "attributes": []
4133
+ }, {
4134
+ "name": "completed",
4135
+ "attributes": [],
4136
+ "description": "Terminal state indicating success."
4137
+ }, {
4138
+ "name": "terminated",
4139
+ "attributes": [],
4140
+ "description": "Terminal state indicating failure."
4141
+ }],
4142
+ "attributes": []
4143
+ }, {
4144
+ "name": "merchant_onboarding_task_key",
4145
+ "plural": "merchant_onboarding_task_keys",
4146
+ "values": [{
4147
+ "name": "channel_organization_created",
4148
+ "attributes": []
4149
+ }, {
4150
+ "name": "invite_organization_members",
4151
+ "attributes": [],
4152
+ "description": "Invite stakeholders to join a newly created organization."
4153
+ }, {
4154
+ "name": "synchronize_product_catalog",
4155
+ "attributes": []
4156
+ }, {
4157
+ "name": "classify_product_catalog",
4158
+ "attributes": []
4159
+ }, {
4160
+ "name": "synchronize_fulfillment_centers",
4161
+ "attributes": []
4162
+ }, {
4163
+ "name": "verify_gateway_setup",
4164
+ "attributes": []
4165
+ }, {
4166
+ "name": "application_form_submitted",
4167
+ "attributes": []
4168
+ }, {
4169
+ "name": "perform_fulfillment_configuration",
4170
+ "attributes": []
4171
+ }, {
4172
+ "name": "perform_kyc_review",
4173
+ "attributes": []
4174
+ }, {
4175
+ "name": "notify_kyc_review_failed",
4176
+ "attributes": []
4177
+ }, {
4178
+ "name": "notify_onboarding_completed",
4179
+ "attributes": []
4180
+ }],
4181
+ "attributes": [],
4182
+ "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."
4183
+ }, {
4184
+ "name": "merchant_onboarding_task_state",
4185
+ "plural": "merchant_onboarding_task_states",
4186
+ "values": [{
4187
+ "name": "created",
4188
+ "attributes": [],
4189
+ "description": "Start state for a task."
4190
+ }, {
4191
+ "name": "in_progress",
4192
+ "attributes": []
4193
+ }, {
4194
+ "name": "completed",
4195
+ "attributes": [],
4196
+ "description": "Terminal state indicating success."
4197
+ }, {
4198
+ "name": "terminated",
4199
+ "attributes": [],
4200
+ "description": "Terminal state indicating failure."
4201
+ }],
4202
+ "attributes": []
4115
4203
  }, {
4116
4204
  "name": "nature_of_sale",
4117
4205
  "plural": "nature_of_sales",
@@ -4502,17 +4590,6 @@
4502
4590
  }],
4503
4591
  "attributes": [],
4504
4592
  "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
4593
  }, {
4517
4594
  "name": "product_restriction_status",
4518
4595
  "plural": "product_restriction_statuses",
@@ -4706,6 +4783,19 @@
4706
4783
  "description": "Item permitted for sale if additional regulatory documentation is supplied, e.g. cosmetics"
4707
4784
  }],
4708
4785
  "attributes": []
4786
+ }, {
4787
+ "name": "restriction_decision",
4788
+ "plural": "restriction_decisions",
4789
+ "values": [{
4790
+ "name": "accept",
4791
+ "attributes": [],
4792
+ "description": "A product should always be acceptable under a rule."
4793
+ }, {
4794
+ "name": "reject",
4795
+ "attributes": [],
4796
+ "description": "A product may be rejected due to a rule."
4797
+ }],
4798
+ "attributes": []
4709
4799
  }, {
4710
4800
  "name": "risk_check",
4711
4801
  "plural": "risk_checks",
@@ -5040,6 +5130,19 @@
5040
5130
  "attributes": []
5041
5131
  }],
5042
5132
  "attributes": []
5133
+ }, {
5134
+ "name": "statement_transfer_transaction_location",
5135
+ "plural": "statement_transfer_transaction_locations",
5136
+ "values": [{
5137
+ "name": "transactions_file",
5138
+ "attributes": [],
5139
+ "description": "Transfer transactions will be included as part of the transactions file in a given statement"
5140
+ }, {
5141
+ "name": "summary",
5142
+ "attributes": [],
5143
+ "description": "Transfer transactions will be itemized as a separate line item on the billing statement summary"
5144
+ }],
5145
+ "attributes": []
5043
5146
  }, {
5044
5147
  "name": "statistic_type",
5045
5148
  "plural": "statistic_types",
@@ -5182,6 +5285,19 @@
5182
5285
  }],
5183
5286
  "attributes": [],
5184
5287
  "description": "This specifies the way in which we fetch tracking updates for a specific carrier."
5288
+ }, {
5289
+ "name": "transaction_posting_method",
5290
+ "plural": "transaction_posting_methods",
5291
+ "values": [{
5292
+ "name": "time",
5293
+ "attributes": [],
5294
+ "description": "Transactions will post to the account after a period of time (eg 7 days)"
5295
+ }, {
5296
+ "name": "fulfillment_proof",
5297
+ "attributes": [],
5298
+ "description": "Transactions will post to the account following proof of fulfillment"
5299
+ }],
5300
+ "attributes": []
5185
5301
  }, {
5186
5302
  "name": "transfer_method",
5187
5303
  "plural": "transfer_methods",
@@ -5257,10 +5373,16 @@
5257
5373
  "required": true,
5258
5374
  "attributes": [],
5259
5375
  "annotations": []
5376
+ }, {
5377
+ "name": "status",
5378
+ "type": "billing_transaction_status",
5379
+ "required": true,
5380
+ "attributes": [],
5381
+ "annotations": []
5260
5382
  }, {
5261
5383
  "name": "posted_at",
5262
5384
  "type": "date-time-iso8601",
5263
- "required": true,
5385
+ "required": false,
5264
5386
  "attributes": [],
5265
5387
  "annotations": []
5266
5388
  }, {
@@ -8442,14 +8564,6 @@
8442
8564
  "type": "transfer_transaction_deleted_v2",
8443
8565
  "attributes": [],
8444
8566
  "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
8567
  }, {
8454
8568
  "type": "processing_transaction_upserted",
8455
8569
  "attributes": [],
@@ -9089,6 +9203,14 @@
9089
9203
  "type": "virtual_card_provider_deleted",
9090
9204
  "attributes": [],
9091
9205
  "discriminator_value": "virtual_card_provider_deleted"
9206
+ }, {
9207
+ "type": "authorization_bundle_upserted",
9208
+ "attributes": [],
9209
+ "discriminator_value": "authorization_bundle_upserted"
9210
+ }, {
9211
+ "type": "authorization_bundle_deleted",
9212
+ "attributes": [],
9213
+ "discriminator_value": "authorization_bundle_deleted"
9092
9214
  }, {
9093
9215
  "type": "paypal_payment_deleted",
9094
9216
  "attributes": [],
@@ -10365,10 +10487,6 @@
10365
10487
  "type": "tax_remittance_transaction",
10366
10488
  "attributes": [],
10367
10489
  "discriminator_value": "tax_remittance_transaction"
10368
- }, {
10369
- "type": "transfer_fee_transaction",
10370
- "attributes": [],
10371
- "discriminator_value": "transfer_fee_transaction"
10372
10490
  }, {
10373
10491
  "type": "transfer_transaction",
10374
10492
  "attributes": [],
@@ -10666,7 +10784,7 @@
10666
10784
  "annotations": []
10667
10785
  }, {
10668
10786
  "name": "account_contact",
10669
- "type": "io.flow.billing.v0.models.account_contact",
10787
+ "type": "account_contact",
10670
10788
  "required": true,
10671
10789
  "attributes": [],
10672
10790
  "annotations": []
@@ -10827,13 +10945,13 @@
10827
10945
  "annotations": []
10828
10946
  }, {
10829
10947
  "name": "transaction_type",
10830
- "type": "io.flow.billing.v0.enums.billing_transaction_type",
10948
+ "type": "billing_transaction_type",
10831
10949
  "required": false,
10832
10950
  "attributes": [],
10833
10951
  "annotations": []
10834
10952
  }, {
10835
10953
  "name": "transaction_status",
10836
- "type": "io.flow.billing.v0.enums.billing_transaction_status",
10954
+ "type": "billing_transaction_status",
10837
10955
  "required": false,
10838
10956
  "attributes": [],
10839
10957
  "annotations": []
@@ -11172,7 +11290,7 @@
11172
11290
  "minimum": 0
11173
11291
  }, {
11174
11292
  "name": "transfer_fee",
11175
- "type": "io.flow.common.v0.models.money",
11293
+ "type": "decimal",
11176
11294
  "required": false,
11177
11295
  "attributes": [],
11178
11296
  "annotations": []
@@ -11201,6 +11319,18 @@
11201
11319
  "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
11320
  "default": "false",
11203
11321
  "minimum": 0
11322
+ }, {
11323
+ "name": "transaction_posting_method",
11324
+ "type": "transaction_posting_method",
11325
+ "required": false,
11326
+ "attributes": [],
11327
+ "annotations": []
11328
+ }, {
11329
+ "name": "statement_transfer_transaction_location",
11330
+ "type": "statement_transfer_transaction_location",
11331
+ "required": false,
11332
+ "attributes": [],
11333
+ "annotations": []
11204
11334
  }],
11205
11335
  "attributes": [],
11206
11336
  "interfaces": []
@@ -11343,7 +11473,7 @@
11343
11473
  "annotations": []
11344
11474
  }, {
11345
11475
  "name": "status",
11346
- "type": "io.flow.billing.v0.enums.billing_transaction_status",
11476
+ "type": "billing_transaction_status",
11347
11477
  "required": false,
11348
11478
  "attributes": [],
11349
11479
  "annotations": []
@@ -11446,7 +11576,7 @@
11446
11576
  "description": "Refers to your organization's account identifier"
11447
11577
  }, {
11448
11578
  "name": "account",
11449
- "type": "io.flow.billing.v0.models.account",
11579
+ "type": "account",
11450
11580
  "required": true,
11451
11581
  "attributes": [],
11452
11582
  "annotations": []
@@ -11470,7 +11600,7 @@
11470
11600
  "annotations": []
11471
11601
  }, {
11472
11602
  "name": "account",
11473
- "type": "io.flow.billing.v0.models.account",
11603
+ "type": "account",
11474
11604
  "required": true,
11475
11605
  "attributes": [],
11476
11606
  "annotations": []
@@ -13352,7 +13482,7 @@
13352
13482
  }, {
13353
13483
  "name": "billing",
13354
13484
  "type": "io.flow.payment.request.bundle.v0.models.payment_request_billing",
13355
- "required": true,
13485
+ "required": false,
13356
13486
  "attributes": [],
13357
13487
  "annotations": []
13358
13488
  }],
@@ -14686,13 +14816,6 @@
14686
14816
  "attributes": [],
14687
14817
  "annotations": [],
14688
14818
  "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
14819
  }, {
14697
14820
  "name": "invoice",
14698
14821
  "type": "io.flow.common.v0.models.price",
@@ -14804,7 +14927,7 @@
14804
14927
  "annotations": []
14805
14928
  }, {
14806
14929
  "name": "statement",
14807
- "type": "io.flow.billing.v0.models.billing_statement",
14930
+ "type": "billing_statement",
14808
14931
  "required": true,
14809
14932
  "attributes": [],
14810
14933
  "annotations": []
@@ -16363,7 +16486,7 @@
16363
16486
  "annotations": []
16364
16487
  }, {
16365
16488
  "name": "channel_account",
16366
- "type": "io.flow.billing.v0.models.channel_account",
16489
+ "type": "channel_account",
16367
16490
  "required": true,
16368
16491
  "attributes": [],
16369
16492
  "annotations": []
@@ -16962,10 +17085,16 @@
16962
17085
  "required": true,
16963
17086
  "attributes": [],
16964
17087
  "annotations": []
17088
+ }, {
17089
+ "name": "status",
17090
+ "type": "billing_transaction_status",
17091
+ "required": true,
17092
+ "attributes": [],
17093
+ "annotations": []
16965
17094
  }, {
16966
17095
  "name": "posted_at",
16967
17096
  "type": "date-time-iso8601",
16968
- "required": true,
17097
+ "required": false,
16969
17098
  "attributes": [],
16970
17099
  "annotations": []
16971
17100
  }, {
@@ -27051,10 +27180,16 @@
27051
27180
  "required": true,
27052
27181
  "attributes": [],
27053
27182
  "annotations": []
27183
+ }, {
27184
+ "name": "status",
27185
+ "type": "billing_transaction_status",
27186
+ "required": true,
27187
+ "attributes": [],
27188
+ "annotations": []
27054
27189
  }, {
27055
27190
  "name": "posted_at",
27056
27191
  "type": "date-time-iso8601",
27057
- "required": true,
27192
+ "required": false,
27058
27193
  "attributes": [],
27059
27194
  "annotations": []
27060
27195
  }, {
@@ -29836,6 +29971,12 @@
29836
29971
  "required": false,
29837
29972
  "attributes": [],
29838
29973
  "annotations": []
29974
+ }, {
29975
+ "name": "transfer",
29976
+ "type": "fee",
29977
+ "required": false,
29978
+ "attributes": [],
29979
+ "annotations": []
29839
29980
  }],
29840
29981
  "attributes": [],
29841
29982
  "interfaces": []
@@ -36352,10 +36493,16 @@
36352
36493
  "required": true,
36353
36494
  "attributes": [],
36354
36495
  "annotations": []
36496
+ }, {
36497
+ "name": "status",
36498
+ "type": "billing_transaction_status",
36499
+ "required": true,
36500
+ "attributes": [],
36501
+ "annotations": []
36355
36502
  }, {
36356
36503
  "name": "posted_at",
36357
36504
  "type": "date-time-iso8601",
36358
- "required": true,
36505
+ "required": false,
36359
36506
  "attributes": [],
36360
36507
  "annotations": []
36361
36508
  }, {
@@ -38188,10 +38335,22 @@
38188
38335
  "required": true,
38189
38336
  "attributes": [],
38190
38337
  "annotations": []
38338
+ }, {
38339
+ "name": "order",
38340
+ "type": "billing_order_transaction_order_reference",
38341
+ "required": false,
38342
+ "attributes": [],
38343
+ "annotations": []
38344
+ }, {
38345
+ "name": "status",
38346
+ "type": "billing_transaction_status",
38347
+ "required": true,
38348
+ "attributes": [],
38349
+ "annotations": []
38191
38350
  }, {
38192
38351
  "name": "posted_at",
38193
38352
  "type": "date-time-iso8601",
38194
- "required": true,
38353
+ "required": false,
38195
38354
  "attributes": [],
38196
38355
  "annotations": []
38197
38356
  }, {
@@ -39632,10 +39791,16 @@
39632
39791
  "required": true,
39633
39792
  "attributes": [],
39634
39793
  "annotations": []
39794
+ }, {
39795
+ "name": "status",
39796
+ "type": "billing_transaction_status",
39797
+ "required": true,
39798
+ "attributes": [],
39799
+ "annotations": []
39635
39800
  }, {
39636
39801
  "name": "posted_at",
39637
39802
  "type": "date-time-iso8601",
39638
- "required": true,
39803
+ "required": false,
39639
39804
  "attributes": [],
39640
39805
  "annotations": []
39641
39806
  }, {
@@ -39858,10 +40023,16 @@
39858
40023
  "required": true,
39859
40024
  "attributes": [],
39860
40025
  "annotations": []
40026
+ }, {
40027
+ "name": "status",
40028
+ "type": "billing_transaction_status",
40029
+ "required": true,
40030
+ "attributes": [],
40031
+ "annotations": []
39861
40032
  }, {
39862
40033
  "name": "posted_at",
39863
40034
  "type": "date-time-iso8601",
39864
- "required": true,
40035
+ "required": false,
39865
40036
  "attributes": [],
39866
40037
  "annotations": []
39867
40038
  }, {
@@ -42374,10 +42545,16 @@
42374
42545
  "required": true,
42375
42546
  "attributes": [],
42376
42547
  "annotations": []
42548
+ }, {
42549
+ "name": "status",
42550
+ "type": "billing_transaction_status",
42551
+ "required": true,
42552
+ "attributes": [],
42553
+ "annotations": []
42377
42554
  }, {
42378
42555
  "name": "posted_at",
42379
42556
  "type": "date-time-iso8601",
42380
- "required": true,
42557
+ "required": false,
42381
42558
  "attributes": [],
42382
42559
  "annotations": []
42383
42560
  }, {
@@ -42476,7 +42653,7 @@
42476
42653
  "annotations": []
42477
42654
  }, {
42478
42655
  "name": "organization_account",
42479
- "type": "io.flow.billing.v0.models.organization_account",
42656
+ "type": "organization_account",
42480
42657
  "required": true,
42481
42658
  "attributes": [],
42482
42659
  "annotations": []
@@ -42925,6 +43102,39 @@
42925
43102
  }],
42926
43103
  "attributes": [],
42927
43104
  "interfaces": []
43105
+ }, {
43106
+ "name": "organization_restriction_summary",
43107
+ "plural": "organization_restriction_summaries",
43108
+ "fields": [{
43109
+ "name": "organization",
43110
+ "type": "io.flow.common.v0.models.organization_summary",
43111
+ "required": true,
43112
+ "attributes": [],
43113
+ "annotations": [],
43114
+ "description": "Refers to your organization's account identifier"
43115
+ }, {
43116
+ "name": "date",
43117
+ "type": "date-time-iso8601",
43118
+ "required": true,
43119
+ "attributes": [],
43120
+ "annotations": [],
43121
+ "description": "Earliest date that a product was added to the catalog"
43122
+ }, {
43123
+ "name": "pending",
43124
+ "type": "[restriction_pending]",
43125
+ "required": true,
43126
+ "attributes": [],
43127
+ "annotations": []
43128
+ }, {
43129
+ "name": "total",
43130
+ "type": "long",
43131
+ "required": true,
43132
+ "attributes": [],
43133
+ "annotations": [],
43134
+ "description": "Total count of all products waiting for a restriction review"
43135
+ }],
43136
+ "attributes": [],
43137
+ "interfaces": []
42928
43138
  }, {
42929
43139
  "name": "organization_settings",
42930
43140
  "plural": "organization_settings",
@@ -45129,10 +45339,16 @@
45129
45339
  "attributes": [],
45130
45340
  "annotations": [],
45131
45341
  "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."
45342
+ }, {
45343
+ "name": "status",
45344
+ "type": "billing_transaction_status",
45345
+ "required": true,
45346
+ "attributes": [],
45347
+ "annotations": []
45132
45348
  }, {
45133
45349
  "name": "posted_at",
45134
45350
  "type": "date-time-iso8601",
45135
- "required": true,
45351
+ "required": false,
45136
45352
  "attributes": [],
45137
45353
  "annotations": []
45138
45354
  }, {
@@ -45768,14 +45984,8 @@
45768
45984
  "attributes": [],
45769
45985
  "annotations": []
45770
45986
  }, {
45771
- "name": "status",
45772
- "type": "product_restriction_status",
45773
- "required": true,
45774
- "attributes": [],
45775
- "annotations": []
45776
- }, {
45777
- "name": "restrictions",
45778
- "type": "[restriction]",
45987
+ "name": "restriction_decisions",
45988
+ "type": "[product_restriction_decision]",
45779
45989
  "required": true,
45780
45990
  "attributes": [],
45781
45991
  "annotations": [],
@@ -45785,15 +45995,39 @@
45785
45995
  "attributes": [],
45786
45996
  "interfaces": []
45787
45997
  }, {
45788
- "name": "product_restriction_decision_form",
45789
- "plural": "product_restriction_decision_forms",
45998
+ "name": "product_restriction_decision",
45999
+ "plural": "product_restriction_decisions",
45790
46000
  "fields": [{
45791
- "name": "product_id",
46001
+ "name": "rule_id",
45792
46002
  "type": "string",
45793
46003
  "required": true,
45794
46004
  "attributes": [],
45795
46005
  "annotations": []
45796
46006
  }, {
46007
+ "name": "status",
46008
+ "type": "product_restriction_status",
46009
+ "required": true,
46010
+ "attributes": [],
46011
+ "annotations": []
46012
+ }, {
46013
+ "name": "matching_positive_keywords",
46014
+ "type": "[string]",
46015
+ "required": true,
46016
+ "attributes": [],
46017
+ "annotations": []
46018
+ }, {
46019
+ "name": "matching_negative_keywords",
46020
+ "type": "[string]",
46021
+ "required": true,
46022
+ "attributes": [],
46023
+ "annotations": []
46024
+ }],
46025
+ "attributes": [],
46026
+ "interfaces": []
46027
+ }, {
46028
+ "name": "product_restriction_decision_form",
46029
+ "plural": "product_restriction_decision_forms",
46030
+ "fields": [{
45797
46031
  "name": "rule_id",
45798
46032
  "type": "string",
45799
46033
  "required": true,
@@ -45801,7 +46035,7 @@
45801
46035
  "annotations": []
45802
46036
  }, {
45803
46037
  "name": "decision",
45804
- "type": "product_restriction_decision",
46038
+ "type": "restriction_decision",
45805
46039
  "required": true,
45806
46040
  "attributes": [],
45807
46041
  "annotations": []
@@ -47483,16 +47717,207 @@
47483
47717
  "attributes": [],
47484
47718
  "interfaces": []
47485
47719
  }, {
47486
- "name": "restriction",
47487
- "plural": "restrictions",
47720
+ "name": "restriction_item",
47721
+ "plural": "restriction_items",
47722
+ "fields": [{
47723
+ "name": "organization_id",
47724
+ "type": "string",
47725
+ "required": true,
47726
+ "attributes": [],
47727
+ "annotations": []
47728
+ }, {
47729
+ "name": "product",
47730
+ "type": "restriction_product",
47731
+ "required": true,
47732
+ "attributes": [],
47733
+ "annotations": []
47734
+ }],
47735
+ "attributes": [],
47736
+ "interfaces": []
47737
+ }, {
47738
+ "name": "restriction_keywords",
47739
+ "plural": "restriction_keywordses",
47488
47740
  "fields": [{
47741
+ "name": "positive_keywords",
47742
+ "type": "[string]",
47743
+ "required": true,
47744
+ "attributes": [],
47745
+ "annotations": [],
47746
+ "description": "Matching positive keywords"
47747
+ }, {
47748
+ "name": "negative_keywords",
47749
+ "type": "[string]",
47750
+ "required": true,
47751
+ "attributes": [],
47752
+ "annotations": [],
47753
+ "description": "Matching negative keywords indicating possible false positives"
47754
+ }],
47755
+ "attributes": [],
47756
+ "interfaces": []
47757
+ }, {
47758
+ "name": "restriction_pending",
47759
+ "plural": "restriction_pendings",
47760
+ "fields": [{
47761
+ "name": "rule",
47762
+ "type": "restriction_rule_summary",
47763
+ "required": true,
47764
+ "attributes": [],
47765
+ "annotations": []
47766
+ }, {
47767
+ "name": "count",
47768
+ "type": "long",
47769
+ "required": true,
47770
+ "attributes": [],
47771
+ "annotations": []
47772
+ }],
47773
+ "attributes": [],
47774
+ "interfaces": []
47775
+ }, {
47776
+ "name": "restriction_product",
47777
+ "plural": "restriction_products",
47778
+ "fields": [{
47779
+ "name": "id",
47780
+ "type": "string",
47781
+ "required": true,
47782
+ "attributes": [],
47783
+ "annotations": [],
47784
+ "description": "Globally unique identifier"
47785
+ }, {
47489
47786
  "name": "name",
47490
47787
  "type": "string",
47491
47788
  "required": true,
47492
47789
  "attributes": [],
47493
47790
  "annotations": []
47494
47791
  }, {
47495
- "name": "rule_id",
47792
+ "name": "description",
47793
+ "type": "string",
47794
+ "required": true,
47795
+ "attributes": [],
47796
+ "annotations": []
47797
+ }, {
47798
+ "name": "images",
47799
+ "type": "[string]",
47800
+ "required": true,
47801
+ "attributes": [],
47802
+ "annotations": []
47803
+ }, {
47804
+ "name": "categories",
47805
+ "type": "[string]",
47806
+ "required": true,
47807
+ "attributes": [],
47808
+ "annotations": [],
47809
+ "default": "[]"
47810
+ }, {
47811
+ "name": "updated_at",
47812
+ "type": "date-time-iso8601",
47813
+ "required": true,
47814
+ "attributes": [],
47815
+ "annotations": [],
47816
+ "description": "Date the product was last updated in the catalog"
47817
+ }, {
47818
+ "name": "restrictions",
47819
+ "type": "[restriction_review]",
47820
+ "required": true,
47821
+ "attributes": [],
47822
+ "annotations": []
47823
+ }],
47824
+ "attributes": [],
47825
+ "interfaces": []
47826
+ }, {
47827
+ "name": "restriction_review",
47828
+ "plural": "restriction_reviews",
47829
+ "fields": [{
47830
+ "name": "rule",
47831
+ "type": "restriction_rule_summary",
47832
+ "required": true,
47833
+ "attributes": [],
47834
+ "annotations": []
47835
+ }, {
47836
+ "name": "keywords",
47837
+ "type": "restriction_keywords",
47838
+ "required": true,
47839
+ "attributes": [],
47840
+ "annotations": [],
47841
+ "description": "Matching positive and negative keywords matching a rule"
47842
+ }, {
47843
+ "name": "date",
47844
+ "type": "date-time-iso8601",
47845
+ "required": false,
47846
+ "attributes": [],
47847
+ "annotations": [],
47848
+ "description": "Date of review"
47849
+ }],
47850
+ "attributes": [],
47851
+ "interfaces": []
47852
+ }, {
47853
+ "name": "restriction_rule",
47854
+ "plural": "restriction_rules",
47855
+ "fields": [{
47856
+ "name": "id",
47857
+ "type": "string",
47858
+ "required": true,
47859
+ "attributes": [],
47860
+ "annotations": [],
47861
+ "description": "Globally unique identifier"
47862
+ }, {
47863
+ "name": "name",
47864
+ "type": "string",
47865
+ "required": true,
47866
+ "attributes": [],
47867
+ "annotations": [],
47868
+ "minimum": 1,
47869
+ "maximum": 20
47870
+ }, {
47871
+ "name": "description",
47872
+ "type": "string",
47873
+ "required": true,
47874
+ "attributes": [],
47875
+ "annotations": [],
47876
+ "description": "A rule identifying products that have similar restriction action, similar restriction regions or are identified by similar chat"
47877
+ }, {
47878
+ "name": "action",
47879
+ "type": "restriction_action",
47880
+ "required": true,
47881
+ "attributes": [],
47882
+ "annotations": [],
47883
+ "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."
47884
+ }, {
47885
+ "name": "regions",
47886
+ "type": "[string]",
47887
+ "required": true,
47888
+ "attributes": [],
47889
+ "annotations": [],
47890
+ "description": "The region id(s) in which a product should be restricted."
47891
+ }, {
47892
+ "name": "positive_keywords",
47893
+ "type": "[string]",
47894
+ "required": true,
47895
+ "attributes": [],
47896
+ "annotations": [],
47897
+ "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."
47898
+ }, {
47899
+ "name": "negative_keywords",
47900
+ "type": "[string]",
47901
+ "required": true,
47902
+ "attributes": [],
47903
+ "annotations": [],
47904
+ "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."
47905
+ }],
47906
+ "attributes": [],
47907
+ "interfaces": []
47908
+ }, {
47909
+ "name": "restriction_rule_form",
47910
+ "plural": "restriction_rule_forms",
47911
+ "fields": [{
47912
+ "name": "name",
47913
+ "type": "string",
47914
+ "required": true,
47915
+ "attributes": [],
47916
+ "annotations": [],
47917
+ "minimum": 1,
47918
+ "maximum": 20
47919
+ }, {
47920
+ "name": "description",
47496
47921
  "type": "string",
47497
47922
  "required": true,
47498
47923
  "attributes": [],
@@ -47505,11 +47930,50 @@
47505
47930
  "annotations": []
47506
47931
  }, {
47507
47932
  "name": "regions",
47508
- "type": "[io.flow.reference.v0.models.region]",
47933
+ "type": "[string]",
47509
47934
  "required": true,
47510
47935
  "attributes": [],
47511
47936
  "annotations": [],
47512
- "description": "The regions in which the item is restricted."
47937
+ "description": "The region id(s) in which a product would be restricted."
47938
+ }, {
47939
+ "name": "positive_keywords",
47940
+ "type": "[string]",
47941
+ "required": true,
47942
+ "attributes": [],
47943
+ "annotations": [],
47944
+ "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."
47945
+ }, {
47946
+ "name": "negative_keywords",
47947
+ "type": "[string]",
47948
+ "required": true,
47949
+ "attributes": [],
47950
+ "annotations": [],
47951
+ "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."
47952
+ }],
47953
+ "attributes": [],
47954
+ "interfaces": []
47955
+ }, {
47956
+ "name": "restriction_rule_summary",
47957
+ "plural": "restriction_rule_summaries",
47958
+ "fields": [{
47959
+ "name": "id",
47960
+ "type": "string",
47961
+ "required": true,
47962
+ "attributes": [],
47963
+ "annotations": [],
47964
+ "description": "Globally unique identifier"
47965
+ }, {
47966
+ "name": "name",
47967
+ "type": "string",
47968
+ "required": true,
47969
+ "attributes": [],
47970
+ "annotations": []
47971
+ }, {
47972
+ "name": "description",
47973
+ "type": "string",
47974
+ "required": true,
47975
+ "attributes": [],
47976
+ "annotations": []
47513
47977
  }],
47514
47978
  "attributes": [],
47515
47979
  "interfaces": []
@@ -48867,6 +49331,12 @@
48867
49331
  "attributes": [],
48868
49332
  "annotations": [],
48869
49333
  "description": "Globally unique identifier"
49334
+ }, {
49335
+ "name": "channel",
49336
+ "type": "io.flow.common.v0.models.channel_reference",
49337
+ "required": true,
49338
+ "attributes": [],
49339
+ "annotations": []
48870
49340
  }, {
48871
49341
  "name": "domain",
48872
49342
  "type": "string",
@@ -48982,6 +49452,12 @@
48982
49452
  "attributes": [],
48983
49453
  "annotations": [],
48984
49454
  "description": "Refers to your organization's account identifier"
49455
+ }, {
49456
+ "name": "channel",
49457
+ "type": "io.flow.common.v0.models.channel_reference",
49458
+ "required": true,
49459
+ "attributes": [],
49460
+ "annotations": []
48985
49461
  }],
48986
49462
  "attributes": [],
48987
49463
  "interfaces": []
@@ -51203,10 +51679,16 @@
51203
51679
  "required": true,
51204
51680
  "attributes": [],
51205
51681
  "annotations": []
51682
+ }, {
51683
+ "name": "status",
51684
+ "type": "billing_transaction_status",
51685
+ "required": true,
51686
+ "attributes": [],
51687
+ "annotations": []
51206
51688
  }, {
51207
51689
  "name": "posted_at",
51208
51690
  "type": "date-time-iso8601",
51209
- "required": true,
51691
+ "required": false,
51210
51692
  "attributes": [],
51211
51693
  "annotations": []
51212
51694
  }, {
@@ -51867,10 +52349,16 @@
51867
52349
  "required": true,
51868
52350
  "attributes": [],
51869
52351
  "annotations": []
52352
+ }, {
52353
+ "name": "status",
52354
+ "type": "billing_transaction_status",
52355
+ "required": true,
52356
+ "attributes": [],
52357
+ "annotations": []
51870
52358
  }, {
51871
52359
  "name": "posted_at",
51872
52360
  "type": "date-time-iso8601",
51873
- "required": true,
52361
+ "required": false,
51874
52362
  "attributes": [],
51875
52363
  "annotations": []
51876
52364
  }, {
@@ -52707,8 +53195,8 @@
52707
53195
  "attributes": [],
52708
53196
  "interfaces": []
52709
53197
  }, {
52710
- "name": "transfer_fee_transaction",
52711
- "plural": "transfer_fee_transactions",
53198
+ "name": "transfer_transaction",
53199
+ "plural": "transfer_transactions",
52712
53200
  "fields": [{
52713
53201
  "name": "id",
52714
53202
  "type": "string",
@@ -52723,108 +53211,15 @@
52723
53211
  "attributes": [],
52724
53212
  "annotations": []
52725
53213
  }, {
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",
53214
+ "name": "status",
53215
+ "type": "billing_transaction_status",
52821
53216
  "required": true,
52822
53217
  "attributes": [],
52823
53218
  "annotations": []
52824
53219
  }, {
52825
53220
  "name": "posted_at",
52826
53221
  "type": "date-time-iso8601",
52827
- "required": true,
53222
+ "required": false,
52828
53223
  "attributes": [],
52829
53224
  "annotations": []
52830
53225
  }, {
@@ -53905,10 +54300,16 @@
53905
54300
  "required": true,
53906
54301
  "attributes": [],
53907
54302
  "annotations": []
54303
+ }, {
54304
+ "name": "status",
54305
+ "type": "billing_transaction_status",
54306
+ "required": true,
54307
+ "attributes": [],
54308
+ "annotations": []
53908
54309
  }, {
53909
54310
  "name": "posted_at",
53910
54311
  "type": "date-time-iso8601",
53911
- "required": true,
54312
+ "required": false,
53912
54313
  "attributes": [],
53913
54314
  "annotations": []
53914
54315
  }, {
@@ -77344,61 +77745,52 @@
77344
77745
  }],
77345
77746
  "path": "/internal/:organization/payment/settings"
77346
77747
  }, {
77347
- "type": "organization_settings",
77348
- "plural": "organization_settings",
77748
+ "type": "organization_restriction_summary",
77749
+ "plural": "organization_restriction_summaries",
77349
77750
  "operations": [{
77350
77751
  "method": "GET",
77351
- "path": "/:organization/experience/settings",
77752
+ "path": "/internal/organization/restriction/summaries",
77352
77753
  "parameters": [{
77353
- "name": "organization",
77754
+ "name": "id",
77755
+ "type": "[string]",
77756
+ "location": "Query",
77757
+ "required": false,
77758
+ "description": "Filter by one or more IDs of this resource",
77759
+ "maximum": 100
77760
+ }, {
77761
+ "name": "organization_id",
77354
77762
  "type": "string",
77355
- "location": "Path",
77763
+ "location": "Query",
77764
+ "required": false
77765
+ }, {
77766
+ "name": "rule_ids",
77767
+ "type": "[string]",
77768
+ "location": "Query",
77769
+ "required": false,
77770
+ "maximum": 100
77771
+ }, {
77772
+ "name": "limit",
77773
+ "type": "long",
77774
+ "location": "Query",
77356
77775
  "required": true,
77357
- "description": "Refers to your organization's account identifier"
77358
- }],
77359
- "responses": [{
77360
- "code": {
77361
- "integer": {
77362
- "value": 200
77363
- }
77364
- },
77365
- "type": "organization_settings",
77366
- "description": "Successful response",
77367
- "attributes": []
77776
+ "description": "The maximum number of results to return",
77777
+ "default": "25",
77778
+ "minimum": 1,
77779
+ "maximum": 100
77368
77780
  }, {
77369
- "code": {
77370
- "integer": {
77371
- "value": 401
77372
- }
77373
- },
77374
- "type": "unit",
77375
- "description": "Authorization failed",
77376
- "attributes": []
77781
+ "name": "offset",
77782
+ "type": "long",
77783
+ "location": "Query",
77784
+ "required": true,
77785
+ "description": "The number of results to skip before returning results",
77786
+ "default": "0",
77787
+ "minimum": 0
77377
77788
  }, {
77378
- "code": {
77379
- "integer": {
77380
- "value": 404
77381
- }
77382
- },
77383
- "type": "unit",
77384
- "description": "Resource was not found",
77385
- "attributes": []
77386
- }],
77387
- "attributes": [{
77388
- "name": "linter",
77389
- "value": {
77390
- "ignore": ["get", "id", "limit", "offset", "sort", "versions"]
77391
- }
77392
- }]
77393
- }, {
77394
- "method": "PUT",
77395
- "path": "/:organization/experience/settings",
77396
- "parameters": [{
77397
- "name": "organization",
77789
+ "name": "sort",
77398
77790
  "type": "string",
77399
- "location": "Path",
77791
+ "location": "Query",
77400
77792
  "required": true,
77401
- "description": "Refers to your organization's account identifier"
77793
+ "default": "-created_at"
77402
77794
  }],
77403
77795
  "responses": [{
77404
77796
  "code": {
@@ -77406,7 +77798,7 @@
77406
77798
  "value": 200
77407
77799
  }
77408
77800
  },
77409
- "type": "organization_settings",
77801
+ "type": "[organization_restriction_summary]",
77410
77802
  "description": "Successful response",
77411
77803
  "attributes": []
77412
77804
  }, {
@@ -77418,15 +77810,6 @@
77418
77810
  "type": "unit",
77419
77811
  "description": "Authorization failed",
77420
77812
  "attributes": []
77421
- }, {
77422
- "code": {
77423
- "integer": {
77424
- "value": 404
77425
- }
77426
- },
77427
- "type": "unit",
77428
- "description": "Resource was not found",
77429
- "attributes": []
77430
77813
  }, {
77431
77814
  "code": {
77432
77815
  "integer": {
@@ -77437,11 +77820,17 @@
77437
77820
  "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.",
77438
77821
  "attributes": []
77439
77822
  }],
77440
- "attributes": [],
77441
- "body": {
77442
- "type": "organization_settings_form",
77443
- "attributes": []
77444
- }
77823
+ "attributes": [{
77824
+ "name": "sort",
77825
+ "value": {
77826
+ "values": [{
77827
+ "value": "organization_id"
77828
+ }, {
77829
+ "value": "date"
77830
+ }]
77831
+ }
77832
+ }],
77833
+ "description": "Returns a summary list of organizations with pending restriction reviews"
77445
77834
  }],
77446
77835
  "attributes": [{
77447
77836
  "name": "docs",
@@ -77449,56 +77838,19 @@
77449
77838
  "module": "general"
77450
77839
  }
77451
77840
  }],
77452
- "path": "/:organization/experience/settings"
77841
+ "path": "/internal/organization/restriction/summaries"
77453
77842
  }, {
77454
- "type": "partner",
77455
- "plural": "partners",
77843
+ "type": "organization_settings",
77844
+ "plural": "organization_settings",
77456
77845
  "operations": [{
77457
- "method": "POST",
77458
- "path": "/internal/partners",
77459
- "parameters": [],
77460
- "responses": [{
77461
- "code": {
77462
- "integer": {
77463
- "value": 201
77464
- }
77465
- },
77466
- "type": "partner",
77467
- "description": "Operation succeeded and the resource was created",
77468
- "attributes": []
77469
- }, {
77470
- "code": {
77471
- "integer": {
77472
- "value": 401
77473
- }
77474
- },
77475
- "type": "unit",
77476
- "description": "Authorization failed",
77477
- "attributes": []
77478
- }, {
77479
- "code": {
77480
- "integer": {
77481
- "value": 422
77482
- }
77483
- },
77484
- "type": "io.flow.error.v0.models.generic_error",
77485
- "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.",
77486
- "attributes": []
77487
- }],
77488
- "attributes": [],
77489
- "body": {
77490
- "type": "partner_form",
77491
- "attributes": []
77492
- }
77493
- }, {
77494
77846
  "method": "GET",
77495
- "path": "/internal/partners/:id",
77847
+ "path": "/:organization/experience/settings",
77496
77848
  "parameters": [{
77497
- "name": "id",
77849
+ "name": "organization",
77498
77850
  "type": "string",
77499
77851
  "location": "Path",
77500
77852
  "required": true,
77501
- "description": "Filter by one or more IDs of this resource"
77853
+ "description": "Refers to your organization's account identifier"
77502
77854
  }],
77503
77855
  "responses": [{
77504
77856
  "code": {
@@ -77506,7 +77858,151 @@
77506
77858
  "value": 200
77507
77859
  }
77508
77860
  },
77509
- "type": "partner",
77861
+ "type": "organization_settings",
77862
+ "description": "Successful response",
77863
+ "attributes": []
77864
+ }, {
77865
+ "code": {
77866
+ "integer": {
77867
+ "value": 401
77868
+ }
77869
+ },
77870
+ "type": "unit",
77871
+ "description": "Authorization failed",
77872
+ "attributes": []
77873
+ }, {
77874
+ "code": {
77875
+ "integer": {
77876
+ "value": 404
77877
+ }
77878
+ },
77879
+ "type": "unit",
77880
+ "description": "Resource was not found",
77881
+ "attributes": []
77882
+ }],
77883
+ "attributes": [{
77884
+ "name": "linter",
77885
+ "value": {
77886
+ "ignore": ["get", "id", "limit", "offset", "sort", "versions"]
77887
+ }
77888
+ }]
77889
+ }, {
77890
+ "method": "PUT",
77891
+ "path": "/:organization/experience/settings",
77892
+ "parameters": [{
77893
+ "name": "organization",
77894
+ "type": "string",
77895
+ "location": "Path",
77896
+ "required": true,
77897
+ "description": "Refers to your organization's account identifier"
77898
+ }],
77899
+ "responses": [{
77900
+ "code": {
77901
+ "integer": {
77902
+ "value": 200
77903
+ }
77904
+ },
77905
+ "type": "organization_settings",
77906
+ "description": "Successful response",
77907
+ "attributes": []
77908
+ }, {
77909
+ "code": {
77910
+ "integer": {
77911
+ "value": 401
77912
+ }
77913
+ },
77914
+ "type": "unit",
77915
+ "description": "Authorization failed",
77916
+ "attributes": []
77917
+ }, {
77918
+ "code": {
77919
+ "integer": {
77920
+ "value": 404
77921
+ }
77922
+ },
77923
+ "type": "unit",
77924
+ "description": "Resource was not found",
77925
+ "attributes": []
77926
+ }, {
77927
+ "code": {
77928
+ "integer": {
77929
+ "value": 422
77930
+ }
77931
+ },
77932
+ "type": "io.flow.error.v0.models.generic_error",
77933
+ "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.",
77934
+ "attributes": []
77935
+ }],
77936
+ "attributes": [],
77937
+ "body": {
77938
+ "type": "organization_settings_form",
77939
+ "attributes": []
77940
+ }
77941
+ }],
77942
+ "attributes": [{
77943
+ "name": "docs",
77944
+ "value": {
77945
+ "module": "general"
77946
+ }
77947
+ }],
77948
+ "path": "/:organization/experience/settings"
77949
+ }, {
77950
+ "type": "partner",
77951
+ "plural": "partners",
77952
+ "operations": [{
77953
+ "method": "POST",
77954
+ "path": "/internal/partners",
77955
+ "parameters": [],
77956
+ "responses": [{
77957
+ "code": {
77958
+ "integer": {
77959
+ "value": 201
77960
+ }
77961
+ },
77962
+ "type": "partner",
77963
+ "description": "Operation succeeded and the resource was created",
77964
+ "attributes": []
77965
+ }, {
77966
+ "code": {
77967
+ "integer": {
77968
+ "value": 401
77969
+ }
77970
+ },
77971
+ "type": "unit",
77972
+ "description": "Authorization failed",
77973
+ "attributes": []
77974
+ }, {
77975
+ "code": {
77976
+ "integer": {
77977
+ "value": 422
77978
+ }
77979
+ },
77980
+ "type": "io.flow.error.v0.models.generic_error",
77981
+ "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.",
77982
+ "attributes": []
77983
+ }],
77984
+ "attributes": [],
77985
+ "body": {
77986
+ "type": "partner_form",
77987
+ "attributes": []
77988
+ }
77989
+ }, {
77990
+ "method": "GET",
77991
+ "path": "/internal/partners/:id",
77992
+ "parameters": [{
77993
+ "name": "id",
77994
+ "type": "string",
77995
+ "location": "Path",
77996
+ "required": true,
77997
+ "description": "Filter by one or more IDs of this resource"
77998
+ }],
77999
+ "responses": [{
78000
+ "code": {
78001
+ "integer": {
78002
+ "value": 200
78003
+ }
78004
+ },
78005
+ "type": "partner",
77510
78006
  "description": "Successful response",
77511
78007
  "attributes": []
77512
78008
  }, {
@@ -80104,11 +80600,6 @@
80104
80600
  "type": "string",
80105
80601
  "location": "Query",
80106
80602
  "required": false
80107
- }, {
80108
- "name": "status",
80109
- "type": "product_restriction_status",
80110
- "location": "Query",
80111
- "required": false
80112
80603
  }, {
80113
80604
  "name": "restriction_name",
80114
80605
  "type": "string",
@@ -80176,7 +80667,10 @@
80176
80667
  }]
80177
80668
  }
80178
80669
  }],
80179
- "description": "Returns the list of product restrictions"
80670
+ "description": "Returns the list of product restrictions",
80671
+ "deprecation": {
80672
+ "description": "to be replaced by new UI resources"
80673
+ }
80180
80674
  }, {
80181
80675
  "method": "POST",
80182
80676
  "path": "/internal/product/restrictions",
@@ -80833,6 +81327,446 @@
80833
81327
  }
80834
81328
  }],
80835
81329
  "path": "/:organization/rebound/configuration"
81330
+ }, {
81331
+ "type": "restriction_item",
81332
+ "plural": "restriction_items",
81333
+ "operations": [{
81334
+ "method": "GET",
81335
+ "path": "/internal/restriction/:organization/items",
81336
+ "parameters": [{
81337
+ "name": "organization",
81338
+ "type": "string",
81339
+ "location": "Path",
81340
+ "required": true,
81341
+ "description": "Refers to your organization's account identifier"
81342
+ }, {
81343
+ "name": "id",
81344
+ "type": "[string]",
81345
+ "location": "Query",
81346
+ "required": false,
81347
+ "description": "Filter by one or more IDs of this resource",
81348
+ "maximum": 100
81349
+ }, {
81350
+ "name": "rule_ids",
81351
+ "type": "[string]",
81352
+ "location": "Query",
81353
+ "required": false,
81354
+ "maximum": 100
81355
+ }, {
81356
+ "name": "limit",
81357
+ "type": "long",
81358
+ "location": "Query",
81359
+ "required": true,
81360
+ "description": "The maximum number of results to return",
81361
+ "default": "25",
81362
+ "minimum": 1,
81363
+ "maximum": 100
81364
+ }, {
81365
+ "name": "offset",
81366
+ "type": "long",
81367
+ "location": "Query",
81368
+ "required": true,
81369
+ "description": "The number of results to skip before returning results",
81370
+ "default": "0",
81371
+ "minimum": 0
81372
+ }, {
81373
+ "name": "sort",
81374
+ "type": "string",
81375
+ "location": "Query",
81376
+ "required": true,
81377
+ "default": "-created_at"
81378
+ }],
81379
+ "responses": [{
81380
+ "code": {
81381
+ "integer": {
81382
+ "value": 200
81383
+ }
81384
+ },
81385
+ "type": "[restriction_item]",
81386
+ "description": "Successful response",
81387
+ "attributes": []
81388
+ }, {
81389
+ "code": {
81390
+ "integer": {
81391
+ "value": 401
81392
+ }
81393
+ },
81394
+ "type": "unit",
81395
+ "description": "Authorization failed",
81396
+ "attributes": []
81397
+ }, {
81398
+ "code": {
81399
+ "integer": {
81400
+ "value": 422
81401
+ }
81402
+ },
81403
+ "type": "io.flow.error.v0.models.generic_error",
81404
+ "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.",
81405
+ "attributes": []
81406
+ }],
81407
+ "attributes": [{
81408
+ "name": "sort",
81409
+ "value": {
81410
+ "values": [{
81411
+ "value": "date"
81412
+ }, {
81413
+ "value": "product"
81414
+ }]
81415
+ }
81416
+ }],
81417
+ "description": "Returns a list of products to be reviewed for an organization"
81418
+ }, {
81419
+ "method": "GET",
81420
+ "path": "/internal/restriction/:organization/items/rules",
81421
+ "parameters": [{
81422
+ "name": "organization",
81423
+ "type": "string",
81424
+ "location": "Path",
81425
+ "required": true,
81426
+ "description": "Refers to your organization's account identifier"
81427
+ }, {
81428
+ "name": "id",
81429
+ "type": "[string]",
81430
+ "location": "Query",
81431
+ "required": false,
81432
+ "description": "Filter by one or more IDs of this resource",
81433
+ "maximum": 100
81434
+ }, {
81435
+ "name": "limit",
81436
+ "type": "long",
81437
+ "location": "Query",
81438
+ "required": true,
81439
+ "description": "The maximum number of results to return",
81440
+ "default": "25",
81441
+ "minimum": 1,
81442
+ "maximum": 100
81443
+ }, {
81444
+ "name": "offset",
81445
+ "type": "long",
81446
+ "location": "Query",
81447
+ "required": true,
81448
+ "description": "The number of results to skip before returning results",
81449
+ "default": "0",
81450
+ "minimum": 0
81451
+ }, {
81452
+ "name": "sort",
81453
+ "type": "string",
81454
+ "location": "Query",
81455
+ "required": true,
81456
+ "default": "name"
81457
+ }],
81458
+ "responses": [{
81459
+ "code": {
81460
+ "integer": {
81461
+ "value": 200
81462
+ }
81463
+ },
81464
+ "type": "[restriction_rule_summary]",
81465
+ "description": "Successful response",
81466
+ "attributes": []
81467
+ }, {
81468
+ "code": {
81469
+ "integer": {
81470
+ "value": 401
81471
+ }
81472
+ },
81473
+ "type": "unit",
81474
+ "description": "Authorization failed",
81475
+ "attributes": []
81476
+ }],
81477
+ "attributes": [{
81478
+ "name": "sort",
81479
+ "value": {
81480
+ "values": [{
81481
+ "value": "name"
81482
+ }]
81483
+ }
81484
+ }],
81485
+ "description": "Returns the list of restriction rules"
81486
+ }],
81487
+ "attributes": [{
81488
+ "name": "docs",
81489
+ "value": {
81490
+ "module": "general"
81491
+ }
81492
+ }],
81493
+ "path": "/internal/restriction/:organization/items"
81494
+ }, {
81495
+ "type": "restriction_product",
81496
+ "plural": "restriction_products",
81497
+ "operations": [{
81498
+ "method": "GET",
81499
+ "path": "/internal/restriction/product/:id",
81500
+ "parameters": [{
81501
+ "name": "id",
81502
+ "type": "string",
81503
+ "location": "Path",
81504
+ "required": true,
81505
+ "description": "Filter by one or more IDs of this resource"
81506
+ }],
81507
+ "responses": [{
81508
+ "code": {
81509
+ "integer": {
81510
+ "value": 200
81511
+ }
81512
+ },
81513
+ "type": "restriction_product",
81514
+ "description": "Successful response",
81515
+ "attributes": []
81516
+ }, {
81517
+ "code": {
81518
+ "integer": {
81519
+ "value": 401
81520
+ }
81521
+ },
81522
+ "type": "unit",
81523
+ "description": "Authorization failed",
81524
+ "attributes": []
81525
+ }, {
81526
+ "code": {
81527
+ "integer": {
81528
+ "value": 404
81529
+ }
81530
+ },
81531
+ "type": "unit",
81532
+ "description": "Resource was not found",
81533
+ "attributes": []
81534
+ }],
81535
+ "attributes": [],
81536
+ "description": "Returns a restriction product by product id"
81537
+ }],
81538
+ "attributes": [{
81539
+ "name": "docs",
81540
+ "value": {
81541
+ "module": "general"
81542
+ }
81543
+ }],
81544
+ "path": "/internal/restriction/product"
81545
+ }, {
81546
+ "type": "restriction_rule",
81547
+ "plural": "restriction_rules",
81548
+ "operations": [{
81549
+ "method": "GET",
81550
+ "path": "/internal/restriction/rules",
81551
+ "parameters": [{
81552
+ "name": "id",
81553
+ "type": "[string]",
81554
+ "location": "Query",
81555
+ "required": false,
81556
+ "description": "Filter by one or more IDs of this resource",
81557
+ "maximum": 100
81558
+ }, {
81559
+ "name": "name",
81560
+ "type": "string",
81561
+ "location": "Query",
81562
+ "required": false
81563
+ }, {
81564
+ "name": "limit",
81565
+ "type": "long",
81566
+ "location": "Query",
81567
+ "required": true,
81568
+ "description": "The maximum number of results to return",
81569
+ "default": "25",
81570
+ "minimum": 1,
81571
+ "maximum": 100
81572
+ }, {
81573
+ "name": "offset",
81574
+ "type": "long",
81575
+ "location": "Query",
81576
+ "required": true,
81577
+ "description": "The number of results to skip before returning results",
81578
+ "default": "0",
81579
+ "minimum": 0
81580
+ }, {
81581
+ "name": "sort",
81582
+ "type": "string",
81583
+ "location": "Query",
81584
+ "required": true,
81585
+ "default": "name"
81586
+ }],
81587
+ "responses": [{
81588
+ "code": {
81589
+ "integer": {
81590
+ "value": 200
81591
+ }
81592
+ },
81593
+ "type": "[restriction_rule]",
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": 422
81609
+ }
81610
+ },
81611
+ "type": "io.flow.error.v0.models.generic_error",
81612
+ "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.",
81613
+ "attributes": []
81614
+ }],
81615
+ "attributes": [{
81616
+ "name": "sort",
81617
+ "value": {
81618
+ "values": [{
81619
+ "value": "name"
81620
+ }, {
81621
+ "value": "created_at"
81622
+ }]
81623
+ }
81624
+ }]
81625
+ }, {
81626
+ "method": "POST",
81627
+ "path": "/internal/restriction/rules",
81628
+ "parameters": [],
81629
+ "responses": [{
81630
+ "code": {
81631
+ "integer": {
81632
+ "value": 201
81633
+ }
81634
+ },
81635
+ "type": "restriction_rule",
81636
+ "description": "Operation succeeded and the resource was created",
81637
+ "attributes": []
81638
+ }, {
81639
+ "code": {
81640
+ "integer": {
81641
+ "value": 401
81642
+ }
81643
+ },
81644
+ "type": "unit",
81645
+ "description": "Authorization failed",
81646
+ "attributes": []
81647
+ }, {
81648
+ "code": {
81649
+ "integer": {
81650
+ "value": 422
81651
+ }
81652
+ },
81653
+ "type": "io.flow.error.v0.models.generic_error",
81654
+ "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.",
81655
+ "attributes": []
81656
+ }],
81657
+ "attributes": [],
81658
+ "body": {
81659
+ "type": "restriction_rule_form",
81660
+ "attributes": []
81661
+ }
81662
+ }, {
81663
+ "method": "GET",
81664
+ "path": "/internal/restriction/rules/:id",
81665
+ "parameters": [{
81666
+ "name": "id",
81667
+ "type": "string",
81668
+ "location": "Path",
81669
+ "required": true,
81670
+ "description": "Filter by one or more IDs of this resource"
81671
+ }],
81672
+ "responses": [{
81673
+ "code": {
81674
+ "integer": {
81675
+ "value": 200
81676
+ }
81677
+ },
81678
+ "type": "restriction_rule",
81679
+ "description": "Successful response",
81680
+ "attributes": []
81681
+ }, {
81682
+ "code": {
81683
+ "integer": {
81684
+ "value": 401
81685
+ }
81686
+ },
81687
+ "type": "unit",
81688
+ "description": "Authorization failed",
81689
+ "attributes": []
81690
+ }, {
81691
+ "code": {
81692
+ "integer": {
81693
+ "value": 404
81694
+ }
81695
+ },
81696
+ "type": "unit",
81697
+ "description": "Resource was not found",
81698
+ "attributes": []
81699
+ }],
81700
+ "attributes": []
81701
+ }, {
81702
+ "method": "PUT",
81703
+ "path": "/internal/restriction/rules/:id",
81704
+ "parameters": [{
81705
+ "name": "id",
81706
+ "type": "string",
81707
+ "location": "Path",
81708
+ "required": true,
81709
+ "description": "Filter by one or more IDs of this resource"
81710
+ }],
81711
+ "responses": [{
81712
+ "code": {
81713
+ "integer": {
81714
+ "value": 200
81715
+ }
81716
+ },
81717
+ "type": "restriction_rule",
81718
+ "description": "Successful response",
81719
+ "attributes": []
81720
+ }, {
81721
+ "code": {
81722
+ "integer": {
81723
+ "value": 201
81724
+ }
81725
+ },
81726
+ "type": "restriction_rule",
81727
+ "description": "Operation succeeded and the resource was created",
81728
+ "attributes": []
81729
+ }, {
81730
+ "code": {
81731
+ "integer": {
81732
+ "value": 401
81733
+ }
81734
+ },
81735
+ "type": "unit",
81736
+ "description": "Authorization failed",
81737
+ "attributes": []
81738
+ }, {
81739
+ "code": {
81740
+ "integer": {
81741
+ "value": 404
81742
+ }
81743
+ },
81744
+ "type": "unit",
81745
+ "description": "Resource was not found",
81746
+ "attributes": []
81747
+ }, {
81748
+ "code": {
81749
+ "integer": {
81750
+ "value": 422
81751
+ }
81752
+ },
81753
+ "type": "io.flow.error.v0.models.generic_error",
81754
+ "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.",
81755
+ "attributes": []
81756
+ }],
81757
+ "attributes": [],
81758
+ "body": {
81759
+ "type": "restriction_rule_form",
81760
+ "attributes": []
81761
+ }
81762
+ }],
81763
+ "attributes": [{
81764
+ "name": "docs",
81765
+ "value": {
81766
+ "module": "general"
81767
+ }
81768
+ }],
81769
+ "path": "/internal/restriction/rules"
80836
81770
  }, {
80837
81771
  "type": "routing_entity",
80838
81772
  "plural": "routing_entities",