@flowio/api-internal-mock-generator 5.26.17 → 5.26.18

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.14.8",
13
+ "version" : "0.14.16",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -528,9 +528,9 @@
528
528
  },
529
529
  "version" : "0.10.97",
530
530
  "enums" : [ "direction", "shipment_recipient", "tracking_number_type" ],
531
- "interfaces" : [ ],
532
- "unions" : [ "shipping_label_form", "shipping_notification_form" ],
533
- "models" : [ "crossdock_shipment", "detailed_shipping_label_form", "detailed_shipping_notification_form", "label_order_summary", "manifest", "manifest_form", "shipping_label", "shipping_label_document", "shipping_label_package", "shipping_label_summary", "shipping_label_version", "shipping_notification", "shipping_notification_version", "single_package_shipping_notification_form", "summary_shipping_label_form", "summary_shipping_notification_form" ],
531
+ "interfaces" : [ "shipping_label_ratecard_summary" ],
532
+ "unions" : [ "shipping_label_form", "shipping_label_ratecard_summary", "shipping_notification_form" ],
533
+ "models" : [ "crossdock_shipment", "detailed_shipping_label_form", "detailed_shipping_notification_form", "flow_shipping_label_ratecard_summary", "label_order_summary", "manifest", "manifest_form", "organization_shipping_label_ratecard_summary", "shipping_label", "shipping_label_document", "shipping_label_package", "shipping_label_summary", "shipping_label_version", "shipping_notification", "shipping_notification_version", "single_package_shipping_notification_form", "summary_shipping_label_form", "summary_shipping_notification_form" ],
534
534
  "annotations" : [ ]
535
535
  }, {
536
536
  "uri" : "https://app.apibuilder.io/flow/return/latest/service.json",
@@ -586,7 +586,7 @@
586
586
  "application" : {
587
587
  "key" : "pricing-indicator-internal-event"
588
588
  },
589
- "version" : "0.14.8",
589
+ "version" : "0.14.16",
590
590
  "enums" : [ "pricing_indicator_status", "service_name" ],
591
591
  "interfaces" : [ ],
592
592
  "unions" : [ "pricing_indicator_event" ],
@@ -608,49 +608,49 @@
608
608
  "models" : [ "bill_of_lading", "bill_to", "carton_pick_delivery_details", "container_delivery_details", "delivery_details", "error", "flexe_attachment", "flexe_ecommerce_fulfillment", "flexe_ecommerce_fulfillment_data", "flexe_ecommerce_fulfillment_errors", "flexe_ecommerce_fulfillment_form", "flexe_inventory_data", "flexe_retail_attachment", "flexe_retail_fulfillment", "flexe_retail_fulfillment_data", "flexe_retail_fulfillment_errors", "flexe_retail_fulfillment_form", "fulfillment_order_details", "gs1us", "gs1us_ship_to", "inventory", "inventory_count", "inventory_data", "inventory_details", "lading_quantity", "order", "orders", "pallet", "purchase_order", "quantity_by_inventory", "receipt_notification", "retail_fulfillment_order_details", "retail_inventory_data", "retail_order", "retail_order_data", "ship_to", "ship_within", "shipment_delivery_details", "shipment_notification", "sku", "sku_summary" ],
609
609
  "annotations" : [ ]
610
610
  }, {
611
- "uri" : "https://app.apibuilder.io/flow/catalog-exclusion/latest/service.json",
612
- "namespace" : "io.flow.catalog.exclusion.v0",
611
+ "uri" : "https://app.apibuilder.io/flow/order-management/latest/service.json",
612
+ "namespace" : "io.flow.order.management.v0",
613
613
  "organization" : {
614
614
  "key" : "flow"
615
615
  },
616
616
  "application" : {
617
- "key" : "catalog-exclusion"
617
+ "key" : "order-management"
618
618
  },
619
619
  "version" : "0.10.97",
620
- "enums" : [ "exclusion_rule_state" ],
620
+ "enums" : [ "cancel_reason", "fulfillment_item_quantity_status", "order_change_source" ],
621
621
  "interfaces" : [ ],
622
622
  "unions" : [ ],
623
- "models" : [ "exclusion_rule", "exclusion_rule_form", "exclusion_rule_statistic", "exclusion_rule_version" ],
623
+ "models" : [ "fulfillment", "fulfillment_cancellation_form", "fulfillment_complete_cancellation_form", "fulfillment_item", "fulfillment_item_quantity", "fulfillment_line_cancel_form", "order_placed_details" ],
624
624
  "annotations" : [ ]
625
625
  }, {
626
- "uri" : "https://app.apibuilder.io/flow/catalog-return/latest/service.json",
627
- "namespace" : "io.flow.catalog.return.v0",
626
+ "uri" : "https://app.apibuilder.io/flow/catalog-exclusion/latest/service.json",
627
+ "namespace" : "io.flow.catalog.exclusion.v0",
628
628
  "organization" : {
629
629
  "key" : "flow"
630
630
  },
631
631
  "application" : {
632
- "key" : "catalog-return"
632
+ "key" : "catalog-exclusion"
633
633
  },
634
634
  "version" : "0.10.97",
635
- "enums" : [ "return_policy_state" ],
635
+ "enums" : [ "exclusion_rule_state" ],
636
636
  "interfaces" : [ ],
637
637
  "unions" : [ ],
638
- "models" : [ "return_policy", "return_policy_form", "return_policy_item_result", "return_policy_statistic", "return_policy_version" ],
638
+ "models" : [ "exclusion_rule", "exclusion_rule_form", "exclusion_rule_statistic", "exclusion_rule_version" ],
639
639
  "annotations" : [ ]
640
640
  }, {
641
- "uri" : "https://app.apibuilder.io/flow/order-management/latest/service.json",
642
- "namespace" : "io.flow.order.management.v0",
641
+ "uri" : "https://app.apibuilder.io/flow/catalog-return/latest/service.json",
642
+ "namespace" : "io.flow.catalog.return.v0",
643
643
  "organization" : {
644
644
  "key" : "flow"
645
645
  },
646
646
  "application" : {
647
- "key" : "order-management"
647
+ "key" : "catalog-return"
648
648
  },
649
649
  "version" : "0.10.97",
650
- "enums" : [ "cancel_reason", "fulfillment_item_quantity_status", "order_change_source" ],
650
+ "enums" : [ "return_policy_state" ],
651
651
  "interfaces" : [ ],
652
652
  "unions" : [ ],
653
- "models" : [ "fulfillment", "fulfillment_cancellation_form", "fulfillment_complete_cancellation_form", "fulfillment_item", "fulfillment_item_quantity", "fulfillment_line_cancel_form", "order_placed_details" ],
653
+ "models" : [ "return_policy", "return_policy_form", "return_policy_item_result", "return_policy_statistic", "return_policy_version" ],
654
654
  "annotations" : [ ]
655
655
  }, {
656
656
  "uri" : "https://app.apibuilder.io/flow/ftp/latest/service.json",
@@ -1405,15 +1405,6 @@
1405
1405
  "name" : "checkout_info_deliveries_form_data_key_field",
1406
1406
  "plural" : "checkout_info_deliveries_form_data_key_fields",
1407
1407
  "values" : [ {
1408
- "name" : "value",
1409
- "attributes" : [ ]
1410
- }, {
1411
- "name" : "currency",
1412
- "attributes" : [ ]
1413
- }, {
1414
- "name" : "country",
1415
- "attributes" : [ ]
1416
- }, {
1417
1408
  "name" : "lines",
1418
1409
  "attributes" : [ ]
1419
1410
  }, {
@@ -1425,6 +1416,9 @@
1425
1416
  }, {
1426
1417
  "name" : "shipping_postal",
1427
1418
  "attributes" : [ ]
1419
+ }, {
1420
+ "name" : "discount",
1421
+ "attributes" : [ ]
1428
1422
  } ],
1429
1423
  "attributes" : [ ]
1430
1424
  }, {
@@ -1456,10 +1450,7 @@
1456
1450
  "name" : "checkout_info_payment_details_key_field",
1457
1451
  "plural" : "checkout_info_payment_details_key_fields",
1458
1452
  "values" : [ {
1459
- "name" : "value",
1460
- "attributes" : [ ]
1461
- }, {
1462
- "name" : "currency",
1453
+ "name" : "balance",
1463
1454
  "attributes" : [ ]
1464
1455
  }, {
1465
1456
  "name" : "payment_method_id",
@@ -1470,10 +1461,7 @@
1470
1461
  "name" : "checkout_info_payments_form_data_key_field",
1471
1462
  "plural" : "checkout_info_payments_form_data_key_fields",
1472
1463
  "values" : [ {
1473
- "name" : "value",
1474
- "attributes" : [ ]
1475
- }, {
1476
- "name" : "currency",
1464
+ "name" : "balance",
1477
1465
  "attributes" : [ ]
1478
1466
  }, {
1479
1467
  "name" : "shipping_country",
@@ -2536,10 +2524,16 @@
2536
2524
  "name" : "rate_upserted_v2",
2537
2525
  "attributes" : [ ]
2538
2526
  }, {
2539
- "name" : "flow_currency_setting_upserted",
2527
+ "name" : "organization_currency_setting_upserted",
2528
+ "attributes" : [ ]
2529
+ }, {
2530
+ "name" : "organization_currency_setting_deleted",
2531
+ "attributes" : [ ]
2532
+ }, {
2533
+ "name" : "channel_currency_setting_upserted",
2540
2534
  "attributes" : [ ]
2541
2535
  }, {
2542
- "name" : "flow_currency_setting_deleted",
2536
+ "name" : "channel_currency_setting_deleted",
2543
2537
  "attributes" : [ ]
2544
2538
  }, {
2545
2539
  "name" : "customer_purge_upserted",
@@ -4819,6 +4813,79 @@
4819
4813
  "description" : "Globally unique identifier"
4820
4814
  } ],
4821
4815
  "attributes" : [ ]
4816
+ }, {
4817
+ "name" : "currency_setting",
4818
+ "plural" : "currency_settings",
4819
+ "fields" : [ {
4820
+ "name" : "id",
4821
+ "type" : "string",
4822
+ "required" : true,
4823
+ "attributes" : [ ],
4824
+ "annotations" : [ ],
4825
+ "description" : "Globally unique identifier"
4826
+ }, {
4827
+ "name" : "base",
4828
+ "type" : "string",
4829
+ "required" : true,
4830
+ "attributes" : [ ],
4831
+ "annotations" : [ ],
4832
+ "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
4833
+ }, {
4834
+ "name" : "target",
4835
+ "type" : "string",
4836
+ "required" : true,
4837
+ "attributes" : [ ],
4838
+ "annotations" : [ ],
4839
+ "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
4840
+ }, {
4841
+ "name" : "margin",
4842
+ "type" : "decimal",
4843
+ "required" : true,
4844
+ "attributes" : [ ],
4845
+ "annotations" : [ ],
4846
+ "description" : "A percent of the base currency value added to the base currency before conversion."
4847
+ }, {
4848
+ "name" : "rate_lock",
4849
+ "type" : "io.flow.common.v0.models.duration",
4850
+ "required" : true,
4851
+ "attributes" : [ ],
4852
+ "annotations" : [ ],
4853
+ "description" : "The duration for which a rate is valid after an order is placed."
4854
+ } ],
4855
+ "attributes" : [ ]
4856
+ }, {
4857
+ "name" : "currency_setting_form",
4858
+ "plural" : "currency_setting_forms",
4859
+ "fields" : [ {
4860
+ "name" : "base",
4861
+ "type" : "string",
4862
+ "required" : true,
4863
+ "attributes" : [ ],
4864
+ "annotations" : [ ],
4865
+ "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
4866
+ }, {
4867
+ "name" : "target",
4868
+ "type" : "string",
4869
+ "required" : true,
4870
+ "attributes" : [ ],
4871
+ "annotations" : [ ],
4872
+ "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
4873
+ }, {
4874
+ "name" : "margin",
4875
+ "type" : "decimal",
4876
+ "required" : true,
4877
+ "attributes" : [ ],
4878
+ "annotations" : [ ],
4879
+ "description" : "A percent of the base currency value added to the base currency before conversion."
4880
+ }, {
4881
+ "name" : "rate_lock",
4882
+ "type" : "io.flow.common.v0.models.duration",
4883
+ "required" : true,
4884
+ "attributes" : [ ],
4885
+ "annotations" : [ ],
4886
+ "description" : "The duration for which a rate is valid after an order is placed."
4887
+ } ],
4888
+ "attributes" : [ ]
4822
4889
  }, {
4823
4890
  "name" : "experiment",
4824
4891
  "plural" : "experiments",
@@ -7353,13 +7420,21 @@
7353
7420
  "attributes" : [ ],
7354
7421
  "discriminator_value" : "rate_upserted_v2"
7355
7422
  }, {
7356
- "type" : "flow_currency_setting_upserted",
7423
+ "type" : "organization_currency_setting_upserted",
7424
+ "attributes" : [ ],
7425
+ "discriminator_value" : "organization_currency_setting_upserted"
7426
+ }, {
7427
+ "type" : "organization_currency_setting_deleted",
7428
+ "attributes" : [ ],
7429
+ "discriminator_value" : "organization_currency_setting_deleted"
7430
+ }, {
7431
+ "type" : "channel_currency_setting_upserted",
7357
7432
  "attributes" : [ ],
7358
- "discriminator_value" : "flow_currency_setting_upserted"
7433
+ "discriminator_value" : "channel_currency_setting_upserted"
7359
7434
  }, {
7360
- "type" : "flow_currency_setting_deleted",
7435
+ "type" : "channel_currency_setting_deleted",
7361
7436
  "attributes" : [ ],
7362
- "discriminator_value" : "flow_currency_setting_deleted"
7437
+ "discriminator_value" : "channel_currency_setting_deleted"
7363
7438
  }, {
7364
7439
  "type" : "customer_purge_upserted",
7365
7440
  "attributes" : [ ],
@@ -12472,6 +12547,12 @@
12472
12547
  "attributes" : [ ],
12473
12548
  "annotations" : [ ],
12474
12549
  "description" : "Globally unique identifier"
12550
+ }, {
12551
+ "name" : "period",
12552
+ "type" : "io.flow.common.v0.models.datetime_range",
12553
+ "required" : true,
12554
+ "attributes" : [ ],
12555
+ "annotations" : [ ]
12475
12556
  } ],
12476
12557
  "attributes" : [ ],
12477
12558
  "interfaces" : [ ]
@@ -13939,6 +14020,142 @@
13939
14020
  "attributes" : [ ],
13940
14021
  "interfaces" : [ ],
13941
14022
  "description" : "Details associated with changing index settings"
14023
+ }, {
14024
+ "name" : "channel_currency_setting",
14025
+ "plural" : "channel_currency_settings",
14026
+ "fields" : [ {
14027
+ "name" : "id",
14028
+ "type" : "string",
14029
+ "required" : true,
14030
+ "attributes" : [ ],
14031
+ "annotations" : [ ],
14032
+ "description" : "Globally unique identifier"
14033
+ }, {
14034
+ "name" : "channel_id",
14035
+ "type" : "string",
14036
+ "required" : true,
14037
+ "attributes" : [ ],
14038
+ "annotations" : [ ]
14039
+ }, {
14040
+ "name" : "base",
14041
+ "type" : "string",
14042
+ "required" : true,
14043
+ "attributes" : [ ],
14044
+ "annotations" : [ ],
14045
+ "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
14046
+ }, {
14047
+ "name" : "target",
14048
+ "type" : "string",
14049
+ "required" : true,
14050
+ "attributes" : [ ],
14051
+ "annotations" : [ ],
14052
+ "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
14053
+ }, {
14054
+ "name" : "margin",
14055
+ "type" : "decimal",
14056
+ "required" : true,
14057
+ "attributes" : [ ],
14058
+ "annotations" : [ ],
14059
+ "description" : "A percent of the base currency value added to the base currency before conversion."
14060
+ }, {
14061
+ "name" : "rate_lock",
14062
+ "type" : "io.flow.common.v0.models.duration",
14063
+ "required" : true,
14064
+ "attributes" : [ ],
14065
+ "annotations" : [ ],
14066
+ "description" : "The duration for which a rate is valid after an order is placed."
14067
+ } ],
14068
+ "attributes" : [ ],
14069
+ "interfaces" : [ "currency_setting" ]
14070
+ }, {
14071
+ "name" : "channel_currency_setting_deleted",
14072
+ "plural" : "channel_currency_setting_deleteds",
14073
+ "fields" : [ {
14074
+ "name" : "event_id",
14075
+ "type" : "string",
14076
+ "required" : true,
14077
+ "attributes" : [ ],
14078
+ "annotations" : [ ]
14079
+ }, {
14080
+ "name" : "timestamp",
14081
+ "type" : "date-time-iso8601",
14082
+ "required" : true,
14083
+ "attributes" : [ ],
14084
+ "annotations" : [ ]
14085
+ }, {
14086
+ "name" : "id",
14087
+ "type" : "string",
14088
+ "required" : true,
14089
+ "attributes" : [ ],
14090
+ "annotations" : [ ],
14091
+ "description" : "Globally unique identifier"
14092
+ } ],
14093
+ "attributes" : [ ],
14094
+ "interfaces" : [ ]
14095
+ }, {
14096
+ "name" : "channel_currency_setting_form",
14097
+ "plural" : "channel_currency_setting_forms",
14098
+ "fields" : [ {
14099
+ "name" : "channel_id",
14100
+ "type" : "string",
14101
+ "required" : true,
14102
+ "attributes" : [ ],
14103
+ "annotations" : [ ]
14104
+ }, {
14105
+ "name" : "base",
14106
+ "type" : "string",
14107
+ "required" : true,
14108
+ "attributes" : [ ],
14109
+ "annotations" : [ ],
14110
+ "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
14111
+ }, {
14112
+ "name" : "target",
14113
+ "type" : "string",
14114
+ "required" : true,
14115
+ "attributes" : [ ],
14116
+ "annotations" : [ ],
14117
+ "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
14118
+ }, {
14119
+ "name" : "margin",
14120
+ "type" : "decimal",
14121
+ "required" : true,
14122
+ "attributes" : [ ],
14123
+ "annotations" : [ ],
14124
+ "description" : "A percent of the base currency value added to the base currency before conversion."
14125
+ }, {
14126
+ "name" : "rate_lock",
14127
+ "type" : "io.flow.common.v0.models.duration",
14128
+ "required" : true,
14129
+ "attributes" : [ ],
14130
+ "annotations" : [ ],
14131
+ "description" : "The duration for which a rate is valid after an order is placed."
14132
+ } ],
14133
+ "attributes" : [ ],
14134
+ "interfaces" : [ "currency_setting_form" ]
14135
+ }, {
14136
+ "name" : "channel_currency_setting_upserted",
14137
+ "plural" : "channel_currency_setting_upserteds",
14138
+ "fields" : [ {
14139
+ "name" : "event_id",
14140
+ "type" : "string",
14141
+ "required" : true,
14142
+ "attributes" : [ ],
14143
+ "annotations" : [ ]
14144
+ }, {
14145
+ "name" : "timestamp",
14146
+ "type" : "date-time-iso8601",
14147
+ "required" : true,
14148
+ "attributes" : [ ],
14149
+ "annotations" : [ ]
14150
+ }, {
14151
+ "name" : "channel_currency_setting",
14152
+ "type" : "channel_currency_setting",
14153
+ "required" : true,
14154
+ "attributes" : [ ],
14155
+ "annotations" : [ ]
14156
+ } ],
14157
+ "attributes" : [ ],
14158
+ "interfaces" : [ ]
13942
14159
  }, {
13943
14160
  "name" : "channel_service_fee",
13944
14161
  "plural" : "channel_service_fees",
@@ -26304,176 +26521,6 @@
26304
26521
  "attributes" : [ ],
26305
26522
  "interfaces" : [ ],
26306
26523
  "description" : "Used to onboard a Fiserv Store / MID."
26307
- }, {
26308
- "name" : "flow_currency_setting",
26309
- "plural" : "flow_currency_settings",
26310
- "fields" : [ {
26311
- "name" : "id",
26312
- "type" : "string",
26313
- "required" : true,
26314
- "attributes" : [ ],
26315
- "annotations" : [ ],
26316
- "description" : "Globally unique identifier"
26317
- }, {
26318
- "name" : "organization",
26319
- "type" : "string",
26320
- "required" : true,
26321
- "attributes" : [ ],
26322
- "annotations" : [ ],
26323
- "description" : "Refers to your organization's account identifier"
26324
- }, {
26325
- "name" : "base",
26326
- "type" : "string",
26327
- "required" : true,
26328
- "attributes" : [ ],
26329
- "annotations" : [ ],
26330
- "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
26331
- }, {
26332
- "name" : "target",
26333
- "type" : "string",
26334
- "required" : true,
26335
- "attributes" : [ ],
26336
- "annotations" : [ ],
26337
- "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
26338
- }, {
26339
- "name" : "margin",
26340
- "type" : "decimal",
26341
- "required" : true,
26342
- "attributes" : [ ],
26343
- "annotations" : [ ],
26344
- "description" : "A percent of the base currency value added to the base currency before conversion."
26345
- }, {
26346
- "name" : "rate_lock",
26347
- "type" : "io.flow.common.v0.models.duration",
26348
- "required" : true,
26349
- "attributes" : [ ],
26350
- "annotations" : [ ],
26351
- "description" : "The duration for which a rate is valid after an order is placed."
26352
- } ],
26353
- "attributes" : [ ],
26354
- "interfaces" : [ ]
26355
- }, {
26356
- "name" : "flow_currency_setting_deleted",
26357
- "plural" : "flow_currency_setting_deleteds",
26358
- "fields" : [ {
26359
- "name" : "event_id",
26360
- "type" : "string",
26361
- "required" : true,
26362
- "attributes" : [ ],
26363
- "annotations" : [ ]
26364
- }, {
26365
- "name" : "timestamp",
26366
- "type" : "date-time-iso8601",
26367
- "required" : true,
26368
- "attributes" : [ ],
26369
- "annotations" : [ ],
26370
- "description" : "The date/time of the request"
26371
- }, {
26372
- "name" : "flow_currency_setting",
26373
- "type" : "flow_currency_setting",
26374
- "required" : true,
26375
- "attributes" : [ ],
26376
- "annotations" : [ ]
26377
- } ],
26378
- "attributes" : [ ],
26379
- "interfaces" : [ ]
26380
- }, {
26381
- "name" : "flow_currency_setting_form",
26382
- "plural" : "flow_currency_setting_forms",
26383
- "fields" : [ {
26384
- "name" : "organization",
26385
- "type" : "string",
26386
- "required" : true,
26387
- "attributes" : [ ],
26388
- "annotations" : [ ],
26389
- "description" : "Refers to your organization's account identifier"
26390
- }, {
26391
- "name" : "base",
26392
- "type" : "string",
26393
- "required" : true,
26394
- "attributes" : [ ],
26395
- "annotations" : [ ],
26396
- "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
26397
- }, {
26398
- "name" : "target",
26399
- "type" : "string",
26400
- "required" : true,
26401
- "attributes" : [ ],
26402
- "annotations" : [ ],
26403
- "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
26404
- }, {
26405
- "name" : "margin",
26406
- "type" : "decimal",
26407
- "required" : true,
26408
- "attributes" : [ ],
26409
- "annotations" : [ ],
26410
- "description" : "A percent of the base currency value added to the base currency before conversion."
26411
- }, {
26412
- "name" : "rate_lock",
26413
- "type" : "io.flow.common.v0.models.duration",
26414
- "required" : true,
26415
- "attributes" : [ ],
26416
- "annotations" : [ ],
26417
- "description" : "The duration for which a rate is valid after an order is placed."
26418
- } ],
26419
- "attributes" : [ ],
26420
- "interfaces" : [ ]
26421
- }, {
26422
- "name" : "flow_currency_setting_upserted",
26423
- "plural" : "flow_currency_setting_upserteds",
26424
- "fields" : [ {
26425
- "name" : "event_id",
26426
- "type" : "string",
26427
- "required" : true,
26428
- "attributes" : [ ],
26429
- "annotations" : [ ]
26430
- }, {
26431
- "name" : "timestamp",
26432
- "type" : "date-time-iso8601",
26433
- "required" : true,
26434
- "attributes" : [ ],
26435
- "annotations" : [ ],
26436
- "description" : "The date/time of the request"
26437
- }, {
26438
- "name" : "flow_currency_setting",
26439
- "type" : "flow_currency_setting",
26440
- "required" : true,
26441
- "attributes" : [ ],
26442
- "annotations" : [ ]
26443
- } ],
26444
- "attributes" : [ ],
26445
- "interfaces" : [ ]
26446
- }, {
26447
- "name" : "flow_currency_setting_version",
26448
- "plural" : "flow_currency_setting_versions",
26449
- "fields" : [ {
26450
- "name" : "id",
26451
- "type" : "string",
26452
- "required" : true,
26453
- "attributes" : [ ],
26454
- "annotations" : [ ],
26455
- "description" : "Globally unique identifier"
26456
- }, {
26457
- "name" : "timestamp",
26458
- "type" : "date-time-iso8601",
26459
- "required" : true,
26460
- "attributes" : [ ],
26461
- "annotations" : [ ]
26462
- }, {
26463
- "name" : "type",
26464
- "type" : "io.flow.common.v0.enums.change_type",
26465
- "required" : true,
26466
- "attributes" : [ ],
26467
- "annotations" : [ ]
26468
- }, {
26469
- "name" : "flow_currency_setting",
26470
- "type" : "flow_currency_setting",
26471
- "required" : true,
26472
- "attributes" : [ ],
26473
- "annotations" : [ ]
26474
- } ],
26475
- "attributes" : [ ],
26476
- "interfaces" : [ ]
26477
26524
  }, {
26478
26525
  "name" : "flow_lab_project",
26479
26526
  "plural" : "flow_lab_projects",
@@ -37690,6 +37737,175 @@
37690
37737
  } ],
37691
37738
  "attributes" : [ ],
37692
37739
  "interfaces" : [ ]
37740
+ }, {
37741
+ "name" : "organization_currency_setting",
37742
+ "plural" : "organization_currency_settings",
37743
+ "fields" : [ {
37744
+ "name" : "id",
37745
+ "type" : "string",
37746
+ "required" : true,
37747
+ "attributes" : [ ],
37748
+ "annotations" : [ ],
37749
+ "description" : "Globally unique identifier"
37750
+ }, {
37751
+ "name" : "organization",
37752
+ "type" : "string",
37753
+ "required" : true,
37754
+ "attributes" : [ ],
37755
+ "annotations" : [ ],
37756
+ "description" : "Refers to your organization's account identifier"
37757
+ }, {
37758
+ "name" : "base",
37759
+ "type" : "string",
37760
+ "required" : true,
37761
+ "attributes" : [ ],
37762
+ "annotations" : [ ],
37763
+ "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
37764
+ }, {
37765
+ "name" : "target",
37766
+ "type" : "string",
37767
+ "required" : true,
37768
+ "attributes" : [ ],
37769
+ "annotations" : [ ],
37770
+ "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
37771
+ }, {
37772
+ "name" : "margin",
37773
+ "type" : "decimal",
37774
+ "required" : true,
37775
+ "attributes" : [ ],
37776
+ "annotations" : [ ],
37777
+ "description" : "A percent of the base currency value added to the base currency before conversion."
37778
+ }, {
37779
+ "name" : "rate_lock",
37780
+ "type" : "io.flow.common.v0.models.duration",
37781
+ "required" : true,
37782
+ "attributes" : [ ],
37783
+ "annotations" : [ ],
37784
+ "description" : "The duration for which a rate is valid after an order is placed."
37785
+ } ],
37786
+ "attributes" : [ ],
37787
+ "interfaces" : [ "currency_setting" ]
37788
+ }, {
37789
+ "name" : "organization_currency_setting_deleted",
37790
+ "plural" : "organization_currency_setting_deleteds",
37791
+ "fields" : [ {
37792
+ "name" : "event_id",
37793
+ "type" : "string",
37794
+ "required" : true,
37795
+ "attributes" : [ ],
37796
+ "annotations" : [ ]
37797
+ }, {
37798
+ "name" : "timestamp",
37799
+ "type" : "date-time-iso8601",
37800
+ "required" : true,
37801
+ "attributes" : [ ],
37802
+ "annotations" : [ ]
37803
+ }, {
37804
+ "name" : "id",
37805
+ "type" : "string",
37806
+ "required" : true,
37807
+ "attributes" : [ ],
37808
+ "annotations" : [ ],
37809
+ "description" : "Globally unique identifier"
37810
+ } ],
37811
+ "attributes" : [ ],
37812
+ "interfaces" : [ ]
37813
+ }, {
37814
+ "name" : "organization_currency_setting_form",
37815
+ "plural" : "organization_currency_setting_forms",
37816
+ "fields" : [ {
37817
+ "name" : "organization",
37818
+ "type" : "string",
37819
+ "required" : true,
37820
+ "attributes" : [ ],
37821
+ "annotations" : [ ],
37822
+ "description" : "Refers to your organization's account identifier"
37823
+ }, {
37824
+ "name" : "base",
37825
+ "type" : "string",
37826
+ "required" : true,
37827
+ "attributes" : [ ],
37828
+ "annotations" : [ ],
37829
+ "description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
37830
+ }, {
37831
+ "name" : "target",
37832
+ "type" : "string",
37833
+ "required" : true,
37834
+ "attributes" : [ ],
37835
+ "annotations" : [ ],
37836
+ "description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
37837
+ }, {
37838
+ "name" : "margin",
37839
+ "type" : "decimal",
37840
+ "required" : true,
37841
+ "attributes" : [ ],
37842
+ "annotations" : [ ],
37843
+ "description" : "A percent of the base currency value added to the base currency before conversion."
37844
+ }, {
37845
+ "name" : "rate_lock",
37846
+ "type" : "io.flow.common.v0.models.duration",
37847
+ "required" : true,
37848
+ "attributes" : [ ],
37849
+ "annotations" : [ ],
37850
+ "description" : "The duration for which a rate is valid after an order is placed."
37851
+ } ],
37852
+ "attributes" : [ ],
37853
+ "interfaces" : [ "currency_setting_form" ]
37854
+ }, {
37855
+ "name" : "organization_currency_setting_upserted",
37856
+ "plural" : "organization_currency_setting_upserteds",
37857
+ "fields" : [ {
37858
+ "name" : "event_id",
37859
+ "type" : "string",
37860
+ "required" : true,
37861
+ "attributes" : [ ],
37862
+ "annotations" : [ ]
37863
+ }, {
37864
+ "name" : "timestamp",
37865
+ "type" : "date-time-iso8601",
37866
+ "required" : true,
37867
+ "attributes" : [ ],
37868
+ "annotations" : [ ]
37869
+ }, {
37870
+ "name" : "organization_currency_setting",
37871
+ "type" : "organization_currency_setting",
37872
+ "required" : true,
37873
+ "attributes" : [ ],
37874
+ "annotations" : [ ]
37875
+ } ],
37876
+ "attributes" : [ ],
37877
+ "interfaces" : [ ]
37878
+ }, {
37879
+ "name" : "organization_currency_setting_version",
37880
+ "plural" : "organization_currency_setting_versions",
37881
+ "fields" : [ {
37882
+ "name" : "id",
37883
+ "type" : "string",
37884
+ "required" : true,
37885
+ "attributes" : [ ],
37886
+ "annotations" : [ ],
37887
+ "description" : "Globally unique identifier"
37888
+ }, {
37889
+ "name" : "timestamp",
37890
+ "type" : "date-time-iso8601",
37891
+ "required" : true,
37892
+ "attributes" : [ ],
37893
+ "annotations" : [ ]
37894
+ }, {
37895
+ "name" : "type",
37896
+ "type" : "io.flow.common.v0.enums.change_type",
37897
+ "required" : true,
37898
+ "attributes" : [ ],
37899
+ "annotations" : [ ]
37900
+ }, {
37901
+ "name" : "organization_currency_setting",
37902
+ "type" : "organization_currency_setting",
37903
+ "required" : true,
37904
+ "attributes" : [ ],
37905
+ "annotations" : [ ]
37906
+ } ],
37907
+ "attributes" : [ ],
37908
+ "interfaces" : [ ]
37693
37909
  }, {
37694
37910
  "name" : "organization_membership_copy",
37695
37911
  "plural" : "organization_membership_copies",
@@ -51548,6 +51764,307 @@
51548
51764
  }
51549
51765
  } ],
51550
51766
  "path" : "/:organization/center/query/builders"
51767
+ }, {
51768
+ "type" : "channel_currency_setting",
51769
+ "plural" : "channel_currency_settings",
51770
+ "operations" : [ {
51771
+ "method" : "GET",
51772
+ "path" : "/internal/channel/currency/settings",
51773
+ "parameters" : [ {
51774
+ "name" : "id",
51775
+ "type" : "[string]",
51776
+ "location" : "Query",
51777
+ "required" : false,
51778
+ "description" : "Filter by one or more IDs of this resource",
51779
+ "maximum" : 100
51780
+ }, {
51781
+ "name" : "channel",
51782
+ "type" : "string",
51783
+ "location" : "Query",
51784
+ "required" : false
51785
+ }, {
51786
+ "name" : "base",
51787
+ "type" : "string",
51788
+ "location" : "Query",
51789
+ "required" : false,
51790
+ "description" : "Filter by the (case-insensitive) base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
51791
+ }, {
51792
+ "name" : "target",
51793
+ "type" : "string",
51794
+ "location" : "Query",
51795
+ "required" : false,
51796
+ "description" : "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
51797
+ }, {
51798
+ "name" : "limit",
51799
+ "type" : "long",
51800
+ "location" : "Query",
51801
+ "required" : true,
51802
+ "description" : "The maximum number of results to return",
51803
+ "default" : "25",
51804
+ "minimum" : 1,
51805
+ "maximum" : 100
51806
+ }, {
51807
+ "name" : "offset",
51808
+ "type" : "long",
51809
+ "location" : "Query",
51810
+ "required" : true,
51811
+ "description" : "The number of results to skip before returning results",
51812
+ "default" : "0",
51813
+ "minimum" : 0
51814
+ }, {
51815
+ "name" : "sort",
51816
+ "type" : "string",
51817
+ "location" : "Query",
51818
+ "required" : true,
51819
+ "default" : "-created_at"
51820
+ } ],
51821
+ "responses" : [ {
51822
+ "code" : {
51823
+ "integer" : {
51824
+ "value" : 200
51825
+ }
51826
+ },
51827
+ "type" : "[channel_currency_setting]",
51828
+ "description" : "Successful response",
51829
+ "attributes" : [ ]
51830
+ }, {
51831
+ "code" : {
51832
+ "integer" : {
51833
+ "value" : 401
51834
+ }
51835
+ },
51836
+ "type" : "unit",
51837
+ "description" : "Authorization failed",
51838
+ "attributes" : [ ]
51839
+ }, {
51840
+ "code" : {
51841
+ "integer" : {
51842
+ "value" : 403
51843
+ }
51844
+ },
51845
+ "type" : "io.flow.permission.v0.models.permission_error",
51846
+ "attributes" : [ ]
51847
+ }, {
51848
+ "code" : {
51849
+ "integer" : {
51850
+ "value" : 422
51851
+ }
51852
+ },
51853
+ "type" : "io.flow.error.v0.models.generic_error",
51854
+ "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.",
51855
+ "attributes" : [ ]
51856
+ } ],
51857
+ "attributes" : [ {
51858
+ "name" : "sort",
51859
+ "value" : {
51860
+ "values" : [ {
51861
+ "value" : "id"
51862
+ }, {
51863
+ "value" : "base"
51864
+ }, {
51865
+ "value" : "target"
51866
+ }, {
51867
+ "value" : "created_at"
51868
+ } ]
51869
+ }
51870
+ }, {
51871
+ "name" : "auth",
51872
+ "value" : {
51873
+ "techniques" : [ "user", "token" ],
51874
+ "roles" : [ "flow_operations" ]
51875
+ }
51876
+ } ],
51877
+ "description" : "Search channel currency settings. Always paginated."
51878
+ }, {
51879
+ "method" : "POST",
51880
+ "path" : "/internal/channel/currency/settings",
51881
+ "parameters" : [ ],
51882
+ "responses" : [ {
51883
+ "code" : {
51884
+ "integer" : {
51885
+ "value" : 201
51886
+ }
51887
+ },
51888
+ "type" : "channel_currency_setting",
51889
+ "description" : "Operation succeeded and the resource was created",
51890
+ "attributes" : [ ]
51891
+ }, {
51892
+ "code" : {
51893
+ "integer" : {
51894
+ "value" : 401
51895
+ }
51896
+ },
51897
+ "type" : "unit",
51898
+ "description" : "Authorization failed",
51899
+ "attributes" : [ ]
51900
+ }, {
51901
+ "code" : {
51902
+ "integer" : {
51903
+ "value" : 403
51904
+ }
51905
+ },
51906
+ "type" : "io.flow.permission.v0.models.permission_error",
51907
+ "attributes" : [ ]
51908
+ }, {
51909
+ "code" : {
51910
+ "integer" : {
51911
+ "value" : 404
51912
+ }
51913
+ },
51914
+ "type" : "unit",
51915
+ "description" : "Resource was not found",
51916
+ "attributes" : [ ]
51917
+ }, {
51918
+ "code" : {
51919
+ "integer" : {
51920
+ "value" : 422
51921
+ }
51922
+ },
51923
+ "type" : "io.flow.error.v0.models.generic_error",
51924
+ "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.",
51925
+ "attributes" : [ ]
51926
+ } ],
51927
+ "attributes" : [ {
51928
+ "name" : "auth",
51929
+ "value" : {
51930
+ "techniques" : [ "user", "token" ],
51931
+ "roles" : [ "flow_operations" ]
51932
+ }
51933
+ } ],
51934
+ "description" : "Create channel currency settings.",
51935
+ "body" : {
51936
+ "type" : "channel_currency_setting_form",
51937
+ "attributes" : [ ]
51938
+ }
51939
+ }, {
51940
+ "method" : "GET",
51941
+ "path" : "/internal/channel/currency/settings/:id",
51942
+ "parameters" : [ {
51943
+ "name" : "id",
51944
+ "type" : "string",
51945
+ "location" : "Path",
51946
+ "required" : true,
51947
+ "description" : "Filter by one or more IDs of this resource"
51948
+ } ],
51949
+ "responses" : [ {
51950
+ "code" : {
51951
+ "integer" : {
51952
+ "value" : 200
51953
+ }
51954
+ },
51955
+ "type" : "channel_currency_setting",
51956
+ "description" : "Successful response",
51957
+ "attributes" : [ ]
51958
+ }, {
51959
+ "code" : {
51960
+ "integer" : {
51961
+ "value" : 401
51962
+ }
51963
+ },
51964
+ "type" : "unit",
51965
+ "description" : "Authorization failed",
51966
+ "attributes" : [ ]
51967
+ }, {
51968
+ "code" : {
51969
+ "integer" : {
51970
+ "value" : 403
51971
+ }
51972
+ },
51973
+ "type" : "io.flow.permission.v0.models.permission_error",
51974
+ "attributes" : [ ]
51975
+ }, {
51976
+ "code" : {
51977
+ "integer" : {
51978
+ "value" : 404
51979
+ }
51980
+ },
51981
+ "type" : "unit",
51982
+ "description" : "Resource was not found",
51983
+ "attributes" : [ ]
51984
+ } ],
51985
+ "attributes" : [ {
51986
+ "name" : "auth",
51987
+ "value" : {
51988
+ "techniques" : [ "user", "token" ],
51989
+ "roles" : [ "flow_operations" ]
51990
+ }
51991
+ } ],
51992
+ "description" : "Get channel currency settings."
51993
+ }, {
51994
+ "method" : "PUT",
51995
+ "path" : "/internal/channel/currency/settings/:id",
51996
+ "parameters" : [ {
51997
+ "name" : "id",
51998
+ "type" : "string",
51999
+ "location" : "Path",
52000
+ "required" : true,
52001
+ "description" : "Filter by one or more IDs of this resource"
52002
+ } ],
52003
+ "responses" : [ {
52004
+ "code" : {
52005
+ "integer" : {
52006
+ "value" : 200
52007
+ }
52008
+ },
52009
+ "type" : "channel_currency_setting",
52010
+ "description" : "Successful response",
52011
+ "attributes" : [ ]
52012
+ }, {
52013
+ "code" : {
52014
+ "integer" : {
52015
+ "value" : 401
52016
+ }
52017
+ },
52018
+ "type" : "unit",
52019
+ "description" : "Authorization failed",
52020
+ "attributes" : [ ]
52021
+ }, {
52022
+ "code" : {
52023
+ "integer" : {
52024
+ "value" : 403
52025
+ }
52026
+ },
52027
+ "type" : "io.flow.permission.v0.models.permission_error",
52028
+ "attributes" : [ ]
52029
+ }, {
52030
+ "code" : {
52031
+ "integer" : {
52032
+ "value" : 404
52033
+ }
52034
+ },
52035
+ "type" : "unit",
52036
+ "description" : "Resource was not found",
52037
+ "attributes" : [ ]
52038
+ }, {
52039
+ "code" : {
52040
+ "integer" : {
52041
+ "value" : 422
52042
+ }
52043
+ },
52044
+ "type" : "io.flow.error.v0.models.generic_error",
52045
+ "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.",
52046
+ "attributes" : [ ]
52047
+ } ],
52048
+ "attributes" : [ {
52049
+ "name" : "auth",
52050
+ "value" : {
52051
+ "techniques" : [ "user", "token" ],
52052
+ "roles" : [ "flow_operations" ]
52053
+ }
52054
+ } ],
52055
+ "description" : "Update an existing channel currency settings.",
52056
+ "body" : {
52057
+ "type" : "channel_currency_setting_form",
52058
+ "attributes" : [ ]
52059
+ }
52060
+ } ],
52061
+ "attributes" : [ {
52062
+ "name" : "docs",
52063
+ "value" : {
52064
+ "module" : "general"
52065
+ }
52066
+ } ],
52067
+ "path" : "/internal/channel/currency/settings"
51551
52068
  }, {
51552
52069
  "type" : "chargeback",
51553
52070
  "plural" : "chargebacks",
@@ -56231,300 +56748,12 @@
56231
56748
  }
56232
56749
  } ],
56233
56750
  "body" : {
56234
- "type" : "feature_form",
56235
- "attributes" : [ ]
56236
- }
56237
- }, {
56238
- "method" : "DELETE",
56239
- "path" : "/:organization/features/:key",
56240
- "parameters" : [ {
56241
- "name" : "organization",
56242
- "type" : "string",
56243
- "location" : "Path",
56244
- "required" : true,
56245
- "description" : "Refers to your organization's account identifier"
56246
- }, {
56247
- "name" : "key",
56248
- "type" : "string",
56249
- "location" : "Path",
56250
- "required" : true
56251
- } ],
56252
- "responses" : [ {
56253
- "code" : {
56254
- "integer" : {
56255
- "value" : 204
56256
- }
56257
- },
56258
- "type" : "unit",
56259
- "description" : "Operation succeeded. No content is returned",
56260
- "attributes" : [ ]
56261
- }, {
56262
- "code" : {
56263
- "integer" : {
56264
- "value" : 401
56265
- }
56266
- },
56267
- "type" : "unit",
56268
- "description" : "Authorization failed",
56269
- "attributes" : [ ]
56270
- }, {
56271
- "code" : {
56272
- "integer" : {
56273
- "value" : 403
56274
- }
56275
- },
56276
- "type" : "io.flow.permission.v0.models.permission_error",
56277
- "attributes" : [ ]
56278
- }, {
56279
- "code" : {
56280
- "integer" : {
56281
- "value" : 404
56282
- }
56283
- },
56284
- "type" : "unit",
56285
- "description" : "Resource was not found",
56286
- "attributes" : [ ]
56287
- }, {
56288
- "code" : {
56289
- "integer" : {
56290
- "value" : 422
56291
- }
56292
- },
56293
- "type" : "io.flow.error.v0.models.generic_error",
56294
- "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.",
56295
- "attributes" : [ ]
56296
- } ],
56297
- "attributes" : [ {
56298
- "name" : "auth",
56299
- "value" : {
56300
- "techniques" : [ "user", "token" ],
56301
- "roles" : [ "organization_admin" ]
56302
- }
56303
- } ]
56304
- }, {
56305
- "method" : "PUT",
56306
- "path" : "/:organization/features/:key/release",
56307
- "parameters" : [ {
56308
- "name" : "organization",
56309
- "type" : "string",
56310
- "location" : "Path",
56311
- "required" : true,
56312
- "description" : "Refers to your organization's account identifier"
56313
- }, {
56314
- "name" : "key",
56315
- "type" : "string",
56316
- "location" : "Path",
56317
- "required" : true
56318
- } ],
56319
- "responses" : [ {
56320
- "code" : {
56321
- "integer" : {
56322
- "value" : 200
56323
- }
56324
- },
56325
- "type" : "feature",
56326
- "description" : "Successful response",
56327
- "attributes" : [ ]
56328
- }, {
56329
- "code" : {
56330
- "integer" : {
56331
- "value" : 401
56332
- }
56333
- },
56334
- "type" : "unit",
56335
- "description" : "Authorization failed",
56336
- "attributes" : [ ]
56337
- }, {
56338
- "code" : {
56339
- "integer" : {
56340
- "value" : 403
56341
- }
56342
- },
56343
- "type" : "io.flow.permission.v0.models.permission_error",
56344
- "attributes" : [ ]
56345
- }, {
56346
- "code" : {
56347
- "integer" : {
56348
- "value" : 404
56349
- }
56350
- },
56351
- "type" : "unit",
56352
- "description" : "Resource was not found",
56353
- "attributes" : [ ]
56354
- }, {
56355
- "code" : {
56356
- "integer" : {
56357
- "value" : 422
56358
- }
56359
- },
56360
- "type" : "io.flow.error.v0.models.generic_error",
56361
- "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.",
56362
- "attributes" : [ ]
56363
- } ],
56364
- "attributes" : [ {
56365
- "name" : "auth",
56366
- "value" : {
56367
- "techniques" : [ "user", "token" ],
56368
- "roles" : [ "organization_admin" ]
56369
- }
56370
- } ],
56371
- "body" : {
56372
- "type" : "feature_release_form",
56373
- "attributes" : [ ]
56374
- }
56375
- }, {
56376
- "method" : "POST",
56377
- "path" : "/:organization/features/:key/rules",
56378
- "parameters" : [ {
56379
- "name" : "organization",
56380
- "type" : "string",
56381
- "location" : "Path",
56382
- "required" : true,
56383
- "description" : "Refers to your organization's account identifier"
56384
- }, {
56385
- "name" : "key",
56386
- "type" : "string",
56387
- "location" : "Path",
56388
- "required" : true
56389
- } ],
56390
- "responses" : [ {
56391
- "code" : {
56392
- "integer" : {
56393
- "value" : 201
56394
- }
56395
- },
56396
- "type" : "feature",
56397
- "description" : "Operation succeeded and the resource was created",
56398
- "attributes" : [ ]
56399
- }, {
56400
- "code" : {
56401
- "integer" : {
56402
- "value" : 401
56403
- }
56404
- },
56405
- "type" : "unit",
56406
- "description" : "Authorization failed",
56407
- "attributes" : [ ]
56408
- }, {
56409
- "code" : {
56410
- "integer" : {
56411
- "value" : 403
56412
- }
56413
- },
56414
- "type" : "io.flow.permission.v0.models.permission_error",
56415
- "attributes" : [ ]
56416
- }, {
56417
- "code" : {
56418
- "integer" : {
56419
- "value" : 404
56420
- }
56421
- },
56422
- "type" : "unit",
56423
- "description" : "Resource was not found",
56424
- "attributes" : [ ]
56425
- }, {
56426
- "code" : {
56427
- "integer" : {
56428
- "value" : 422
56429
- }
56430
- },
56431
- "type" : "io.flow.error.v0.models.generic_error",
56432
- "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.",
56433
- "attributes" : [ ]
56434
- } ],
56435
- "attributes" : [ {
56436
- "name" : "auth",
56437
- "value" : {
56438
- "techniques" : [ "user", "token" ],
56439
- "roles" : [ "organization_admin" ]
56440
- }
56441
- } ],
56442
- "description" : "Adds a rule to this feature. Position of rule will be last",
56443
- "body" : {
56444
- "type" : "feature_rule_form",
56445
- "attributes" : [ ]
56446
- }
56447
- }, {
56448
- "method" : "PUT",
56449
- "path" : "/:organization/features/:key/rules/:id",
56450
- "parameters" : [ {
56451
- "name" : "organization",
56452
- "type" : "string",
56453
- "location" : "Path",
56454
- "required" : true,
56455
- "description" : "Refers to your organization's account identifier"
56456
- }, {
56457
- "name" : "key",
56458
- "type" : "string",
56459
- "location" : "Path",
56460
- "required" : true
56461
- }, {
56462
- "name" : "id",
56463
- "type" : "string",
56464
- "location" : "Path",
56465
- "required" : true,
56466
- "description" : "Filter by one or more IDs of this resource"
56467
- } ],
56468
- "responses" : [ {
56469
- "code" : {
56470
- "integer" : {
56471
- "value" : 200
56472
- }
56473
- },
56474
- "type" : "feature",
56475
- "description" : "Successful response",
56476
- "attributes" : [ ]
56477
- }, {
56478
- "code" : {
56479
- "integer" : {
56480
- "value" : 401
56481
- }
56482
- },
56483
- "type" : "unit",
56484
- "description" : "Authorization failed",
56485
- "attributes" : [ ]
56486
- }, {
56487
- "code" : {
56488
- "integer" : {
56489
- "value" : 403
56490
- }
56491
- },
56492
- "type" : "io.flow.permission.v0.models.permission_error",
56493
- "attributes" : [ ]
56494
- }, {
56495
- "code" : {
56496
- "integer" : {
56497
- "value" : 404
56498
- }
56499
- },
56500
- "type" : "unit",
56501
- "description" : "Resource was not found",
56502
- "attributes" : [ ]
56503
- }, {
56504
- "code" : {
56505
- "integer" : {
56506
- "value" : 422
56507
- }
56508
- },
56509
- "type" : "io.flow.error.v0.models.generic_error",
56510
- "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.",
56511
- "attributes" : [ ]
56512
- } ],
56513
- "attributes" : [ {
56514
- "name" : "auth",
56515
- "value" : {
56516
- "techniques" : [ "user", "token" ],
56517
- "roles" : [ "organization_admin" ]
56518
- }
56519
- } ],
56520
- "description" : "Updates a rule",
56521
- "body" : {
56522
- "type" : "feature_rule_form",
56751
+ "type" : "feature_form",
56523
56752
  "attributes" : [ ]
56524
56753
  }
56525
56754
  }, {
56526
56755
  "method" : "DELETE",
56527
- "path" : "/:organization/features/:key/rules/:id",
56756
+ "path" : "/:organization/features/:key",
56528
56757
  "parameters" : [ {
56529
56758
  "name" : "organization",
56530
56759
  "type" : "string",
@@ -56536,12 +56765,6 @@
56536
56765
  "type" : "string",
56537
56766
  "location" : "Path",
56538
56767
  "required" : true
56539
- }, {
56540
- "name" : "id",
56541
- "type" : "string",
56542
- "location" : "Path",
56543
- "required" : true,
56544
- "description" : "Filter by one or more IDs of this resource"
56545
56768
  } ],
56546
56769
  "responses" : [ {
56547
56770
  "code" : {
@@ -56594,11 +56817,10 @@
56594
56817
  "techniques" : [ "user", "token" ],
56595
56818
  "roles" : [ "organization_admin" ]
56596
56819
  }
56597
- } ],
56598
- "description" : "Deletes the rule with the specified ID"
56820
+ } ]
56599
56821
  }, {
56600
56822
  "method" : "PUT",
56601
- "path" : "/:organization/features/:key/status",
56823
+ "path" : "/:organization/features/:key/release",
56602
56824
  "parameters" : [ {
56603
56825
  "name" : "organization",
56604
56826
  "type" : "string",
@@ -56664,30 +56886,23 @@
56664
56886
  }
56665
56887
  } ],
56666
56888
  "body" : {
56667
- "type" : "feature_status_form",
56889
+ "type" : "feature_release_form",
56668
56890
  "attributes" : [ ]
56669
56891
  }
56670
- } ],
56671
- "attributes" : [ {
56672
- "name" : "docs",
56673
- "value" : {
56674
- "module" : "general"
56675
- }
56676
- } ],
56677
- "path" : "/:organization/features",
56678
- "description" : "Feature flags represent specific individual product features"
56679
- }, {
56680
- "type" : "feature_value",
56681
- "plural" : "feature_values",
56682
- "operations" : [ {
56892
+ }, {
56683
56893
  "method" : "POST",
56684
- "path" : "/:organization/feature/values",
56894
+ "path" : "/:organization/features/:key/rules",
56685
56895
  "parameters" : [ {
56686
56896
  "name" : "organization",
56687
56897
  "type" : "string",
56688
56898
  "location" : "Path",
56689
56899
  "required" : true,
56690
56900
  "description" : "Refers to your organization's account identifier"
56901
+ }, {
56902
+ "name" : "key",
56903
+ "type" : "string",
56904
+ "location" : "Path",
56905
+ "required" : true
56691
56906
  } ],
56692
56907
  "responses" : [ {
56693
56908
  "code" : {
@@ -56695,7 +56910,7 @@
56695
56910
  "value" : 201
56696
56911
  }
56697
56912
  },
56698
- "type" : "feature_value_result",
56913
+ "type" : "feature",
56699
56914
  "description" : "Operation succeeded and the resource was created",
56700
56915
  "attributes" : [ ]
56701
56916
  }, {
@@ -56707,6 +56922,14 @@
56707
56922
  "type" : "unit",
56708
56923
  "description" : "Authorization failed",
56709
56924
  "attributes" : [ ]
56925
+ }, {
56926
+ "code" : {
56927
+ "integer" : {
56928
+ "value" : 403
56929
+ }
56930
+ },
56931
+ "type" : "io.flow.permission.v0.models.permission_error",
56932
+ "attributes" : [ ]
56710
56933
  }, {
56711
56934
  "code" : {
56712
56935
  "integer" : {
@@ -56726,74 +56949,38 @@
56726
56949
  "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.",
56727
56950
  "attributes" : [ ]
56728
56951
  } ],
56729
- "attributes" : [ ],
56952
+ "attributes" : [ {
56953
+ "name" : "auth",
56954
+ "value" : {
56955
+ "techniques" : [ "user", "token" ],
56956
+ "roles" : [ "organization_admin" ]
56957
+ }
56958
+ } ],
56959
+ "description" : "Adds a rule to this feature. Position of rule will be last",
56730
56960
  "body" : {
56731
- "type" : "feature_value_form",
56961
+ "type" : "feature_rule_form",
56732
56962
  "attributes" : [ ]
56733
56963
  }
56734
- } ],
56735
- "attributes" : [ {
56736
- "name" : "docs",
56737
- "value" : {
56738
- "module" : "general"
56739
- }
56740
- } ],
56741
- "path" : "/:organization/feature/values",
56742
- "description" : "Represents the value of a given set of features given an evaluation context"
56743
- }, {
56744
- "type" : "flow_currency_setting",
56745
- "plural" : "flow_currency_settings",
56746
- "operations" : [ {
56747
- "method" : "GET",
56748
- "path" : "/internal/currency/settings",
56964
+ }, {
56965
+ "method" : "PUT",
56966
+ "path" : "/:organization/features/:key/rules/:id",
56749
56967
  "parameters" : [ {
56750
- "name" : "id",
56751
- "type" : "[string]",
56752
- "location" : "Query",
56753
- "required" : false,
56754
- "description" : "Filter by one or more IDs of this resource",
56755
- "maximum" : 100
56756
- }, {
56757
56968
  "name" : "organization",
56758
56969
  "type" : "string",
56759
- "location" : "Query",
56760
- "required" : false,
56970
+ "location" : "Path",
56971
+ "required" : true,
56761
56972
  "description" : "Refers to your organization's account identifier"
56762
56973
  }, {
56763
- "name" : "base",
56764
- "type" : "string",
56765
- "location" : "Query",
56766
- "required" : false,
56767
- "description" : "Filter by the (case-insensitive) base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
56768
- }, {
56769
- "name" : "target",
56974
+ "name" : "key",
56770
56975
  "type" : "string",
56771
- "location" : "Query",
56772
- "required" : false,
56773
- "description" : "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
56774
- }, {
56775
- "name" : "limit",
56776
- "type" : "long",
56777
- "location" : "Query",
56778
- "required" : true,
56779
- "description" : "The maximum number of results to return",
56780
- "default" : "25",
56781
- "minimum" : 1,
56782
- "maximum" : 100
56783
- }, {
56784
- "name" : "offset",
56785
- "type" : "long",
56786
- "location" : "Query",
56787
- "required" : true,
56788
- "description" : "The number of results to skip before returning results",
56789
- "default" : "0",
56790
- "minimum" : 0
56976
+ "location" : "Path",
56977
+ "required" : true
56791
56978
  }, {
56792
- "name" : "sort",
56979
+ "name" : "id",
56793
56980
  "type" : "string",
56794
- "location" : "Query",
56981
+ "location" : "Path",
56795
56982
  "required" : true,
56796
- "default" : "-created_at"
56983
+ "description" : "Filter by one or more IDs of this resource"
56797
56984
  } ],
56798
56985
  "responses" : [ {
56799
56986
  "code" : {
@@ -56801,7 +56988,7 @@
56801
56988
  "value" : 200
56802
56989
  }
56803
56990
  },
56804
- "type" : "[flow_currency_setting]",
56991
+ "type" : "feature",
56805
56992
  "description" : "Successful response",
56806
56993
  "attributes" : [ ]
56807
56994
  }, {
@@ -56821,6 +57008,15 @@
56821
57008
  },
56822
57009
  "type" : "io.flow.permission.v0.models.permission_error",
56823
57010
  "attributes" : [ ]
57011
+ }, {
57012
+ "code" : {
57013
+ "integer" : {
57014
+ "value" : 404
57015
+ }
57016
+ },
57017
+ "type" : "unit",
57018
+ "description" : "Resource was not found",
57019
+ "attributes" : [ ]
56824
57020
  }, {
56825
57021
  "code" : {
56826
57022
  "integer" : {
@@ -56832,38 +57028,46 @@
56832
57028
  "attributes" : [ ]
56833
57029
  } ],
56834
57030
  "attributes" : [ {
56835
- "name" : "sort",
56836
- "value" : {
56837
- "values" : [ {
56838
- "value" : "id"
56839
- }, {
56840
- "value" : "base"
56841
- }, {
56842
- "value" : "target"
56843
- }, {
56844
- "value" : "created_at"
56845
- } ]
56846
- }
56847
- }, {
56848
57031
  "name" : "auth",
56849
57032
  "value" : {
56850
57033
  "techniques" : [ "user", "token" ],
56851
- "roles" : [ "flow_operations" ]
57034
+ "roles" : [ "organization_admin" ]
56852
57035
  }
56853
57036
  } ],
56854
- "description" : "Search Flow currency settings. Always paginated."
57037
+ "description" : "Updates a rule",
57038
+ "body" : {
57039
+ "type" : "feature_rule_form",
57040
+ "attributes" : [ ]
57041
+ }
56855
57042
  }, {
56856
- "method" : "POST",
56857
- "path" : "/internal/currency/settings",
56858
- "parameters" : [ ],
57043
+ "method" : "DELETE",
57044
+ "path" : "/:organization/features/:key/rules/:id",
57045
+ "parameters" : [ {
57046
+ "name" : "organization",
57047
+ "type" : "string",
57048
+ "location" : "Path",
57049
+ "required" : true,
57050
+ "description" : "Refers to your organization's account identifier"
57051
+ }, {
57052
+ "name" : "key",
57053
+ "type" : "string",
57054
+ "location" : "Path",
57055
+ "required" : true
57056
+ }, {
57057
+ "name" : "id",
57058
+ "type" : "string",
57059
+ "location" : "Path",
57060
+ "required" : true,
57061
+ "description" : "Filter by one or more IDs of this resource"
57062
+ } ],
56859
57063
  "responses" : [ {
56860
57064
  "code" : {
56861
57065
  "integer" : {
56862
- "value" : 201
57066
+ "value" : 204
56863
57067
  }
56864
57068
  },
56865
- "type" : "flow_currency_setting",
56866
- "description" : "Operation succeeded and the resource was created",
57069
+ "type" : "unit",
57070
+ "description" : "Operation succeeded. No content is returned",
56867
57071
  "attributes" : [ ]
56868
57072
  }, {
56869
57073
  "code" : {
@@ -56905,23 +57109,24 @@
56905
57109
  "name" : "auth",
56906
57110
  "value" : {
56907
57111
  "techniques" : [ "user", "token" ],
56908
- "roles" : [ "flow_operations" ]
57112
+ "roles" : [ "organization_admin" ]
56909
57113
  }
56910
57114
  } ],
56911
- "description" : "Create Flow currency settings for an organization.",
56912
- "body" : {
56913
- "type" : "flow_currency_setting_form",
56914
- "attributes" : [ ]
56915
- }
57115
+ "description" : "Deletes the rule with the specified ID"
56916
57116
  }, {
56917
- "method" : "GET",
56918
- "path" : "/internal/currency/settings/:id",
57117
+ "method" : "PUT",
57118
+ "path" : "/:organization/features/:key/status",
56919
57119
  "parameters" : [ {
56920
- "name" : "id",
57120
+ "name" : "organization",
56921
57121
  "type" : "string",
56922
57122
  "location" : "Path",
56923
57123
  "required" : true,
56924
- "description" : "Filter by one or more IDs of this resource"
57124
+ "description" : "Refers to your organization's account identifier"
57125
+ }, {
57126
+ "name" : "key",
57127
+ "type" : "string",
57128
+ "location" : "Path",
57129
+ "required" : true
56925
57130
  } ],
56926
57131
  "responses" : [ {
56927
57132
  "code" : {
@@ -56929,7 +57134,7 @@
56929
57134
  "value" : 200
56930
57135
  }
56931
57136
  },
56932
- "type" : "flow_currency_setting",
57137
+ "type" : "feature",
56933
57138
  "description" : "Successful response",
56934
57139
  "attributes" : [ ]
56935
57140
  }, {
@@ -56958,33 +57163,57 @@
56958
57163
  "type" : "unit",
56959
57164
  "description" : "Resource was not found",
56960
57165
  "attributes" : [ ]
57166
+ }, {
57167
+ "code" : {
57168
+ "integer" : {
57169
+ "value" : 422
57170
+ }
57171
+ },
57172
+ "type" : "io.flow.error.v0.models.generic_error",
57173
+ "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.",
57174
+ "attributes" : [ ]
56961
57175
  } ],
56962
57176
  "attributes" : [ {
56963
57177
  "name" : "auth",
56964
57178
  "value" : {
56965
57179
  "techniques" : [ "user", "token" ],
56966
- "roles" : [ "flow_operations" ]
57180
+ "roles" : [ "organization_admin" ]
56967
57181
  }
56968
57182
  } ],
56969
- "description" : "Get Flow currency settings."
56970
- }, {
56971
- "method" : "PUT",
56972
- "path" : "/internal/currency/settings/:id",
57183
+ "body" : {
57184
+ "type" : "feature_status_form",
57185
+ "attributes" : [ ]
57186
+ }
57187
+ } ],
57188
+ "attributes" : [ {
57189
+ "name" : "docs",
57190
+ "value" : {
57191
+ "module" : "general"
57192
+ }
57193
+ } ],
57194
+ "path" : "/:organization/features",
57195
+ "description" : "Feature flags represent specific individual product features"
57196
+ }, {
57197
+ "type" : "feature_value",
57198
+ "plural" : "feature_values",
57199
+ "operations" : [ {
57200
+ "method" : "POST",
57201
+ "path" : "/:organization/feature/values",
56973
57202
  "parameters" : [ {
56974
- "name" : "id",
57203
+ "name" : "organization",
56975
57204
  "type" : "string",
56976
57205
  "location" : "Path",
56977
57206
  "required" : true,
56978
- "description" : "Filter by one or more IDs of this resource"
57207
+ "description" : "Refers to your organization's account identifier"
56979
57208
  } ],
56980
57209
  "responses" : [ {
56981
57210
  "code" : {
56982
57211
  "integer" : {
56983
- "value" : 200
57212
+ "value" : 201
56984
57213
  }
56985
57214
  },
56986
- "type" : "flow_currency_setting",
56987
- "description" : "Successful response",
57215
+ "type" : "feature_value_result",
57216
+ "description" : "Operation succeeded and the resource was created",
56988
57217
  "attributes" : [ ]
56989
57218
  }, {
56990
57219
  "code" : {
@@ -56995,14 +57224,6 @@
56995
57224
  "type" : "unit",
56996
57225
  "description" : "Authorization failed",
56997
57226
  "attributes" : [ ]
56998
- }, {
56999
- "code" : {
57000
- "integer" : {
57001
- "value" : 403
57002
- }
57003
- },
57004
- "type" : "io.flow.permission.v0.models.permission_error",
57005
- "attributes" : [ ]
57006
57227
  }, {
57007
57228
  "code" : {
57008
57229
  "integer" : {
@@ -57022,16 +57243,9 @@
57022
57243
  "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.",
57023
57244
  "attributes" : [ ]
57024
57245
  } ],
57025
- "attributes" : [ {
57026
- "name" : "auth",
57027
- "value" : {
57028
- "techniques" : [ "user", "token" ],
57029
- "roles" : [ "flow_operations" ]
57030
- }
57031
- } ],
57032
- "description" : "Update an existing Flow currency setting by id.",
57246
+ "attributes" : [ ],
57033
57247
  "body" : {
57034
- "type" : "flow_currency_setting_form",
57248
+ "type" : "feature_value_form",
57035
57249
  "attributes" : [ ]
57036
57250
  }
57037
57251
  } ],
@@ -57041,7 +57255,8 @@
57041
57255
  "module" : "general"
57042
57256
  }
57043
57257
  } ],
57044
- "path" : "/internal/currency/settings"
57258
+ "path" : "/:organization/feature/values",
57259
+ "description" : "Represents the value of a given set of features given an evaluation context"
57045
57260
  }, {
57046
57261
  "type" : "flow_lab_project",
57047
57262
  "plural" : "flow_lab_projects",
@@ -70228,6 +70443,308 @@
70228
70443
  }
70229
70444
  } ],
70230
70445
  "path" : "/:organization/reports/revenue/timeline"
70446
+ }, {
70447
+ "type" : "organization_currency_setting",
70448
+ "plural" : "organization_currency_settings",
70449
+ "operations" : [ {
70450
+ "method" : "GET",
70451
+ "path" : "/internal/currency/settings",
70452
+ "parameters" : [ {
70453
+ "name" : "id",
70454
+ "type" : "[string]",
70455
+ "location" : "Query",
70456
+ "required" : false,
70457
+ "description" : "Filter by one or more IDs of this resource",
70458
+ "maximum" : 100
70459
+ }, {
70460
+ "name" : "organization",
70461
+ "type" : "string",
70462
+ "location" : "Query",
70463
+ "required" : false,
70464
+ "description" : "Refers to your organization's account identifier"
70465
+ }, {
70466
+ "name" : "base",
70467
+ "type" : "string",
70468
+ "location" : "Query",
70469
+ "required" : false,
70470
+ "description" : "Filter by the (case-insensitive) base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
70471
+ }, {
70472
+ "name" : "target",
70473
+ "type" : "string",
70474
+ "location" : "Query",
70475
+ "required" : false,
70476
+ "description" : "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
70477
+ }, {
70478
+ "name" : "limit",
70479
+ "type" : "long",
70480
+ "location" : "Query",
70481
+ "required" : true,
70482
+ "description" : "The maximum number of results to return",
70483
+ "default" : "25",
70484
+ "minimum" : 1,
70485
+ "maximum" : 100
70486
+ }, {
70487
+ "name" : "offset",
70488
+ "type" : "long",
70489
+ "location" : "Query",
70490
+ "required" : true,
70491
+ "description" : "The number of results to skip before returning results",
70492
+ "default" : "0",
70493
+ "minimum" : 0
70494
+ }, {
70495
+ "name" : "sort",
70496
+ "type" : "string",
70497
+ "location" : "Query",
70498
+ "required" : true,
70499
+ "default" : "-created_at"
70500
+ } ],
70501
+ "responses" : [ {
70502
+ "code" : {
70503
+ "integer" : {
70504
+ "value" : 200
70505
+ }
70506
+ },
70507
+ "type" : "[organization_currency_setting]",
70508
+ "description" : "Successful response",
70509
+ "attributes" : [ ]
70510
+ }, {
70511
+ "code" : {
70512
+ "integer" : {
70513
+ "value" : 401
70514
+ }
70515
+ },
70516
+ "type" : "unit",
70517
+ "description" : "Authorization failed",
70518
+ "attributes" : [ ]
70519
+ }, {
70520
+ "code" : {
70521
+ "integer" : {
70522
+ "value" : 403
70523
+ }
70524
+ },
70525
+ "type" : "io.flow.permission.v0.models.permission_error",
70526
+ "attributes" : [ ]
70527
+ }, {
70528
+ "code" : {
70529
+ "integer" : {
70530
+ "value" : 422
70531
+ }
70532
+ },
70533
+ "type" : "io.flow.error.v0.models.generic_error",
70534
+ "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.",
70535
+ "attributes" : [ ]
70536
+ } ],
70537
+ "attributes" : [ {
70538
+ "name" : "sort",
70539
+ "value" : {
70540
+ "values" : [ {
70541
+ "value" : "id"
70542
+ }, {
70543
+ "value" : "base"
70544
+ }, {
70545
+ "value" : "target"
70546
+ }, {
70547
+ "value" : "created_at"
70548
+ } ]
70549
+ }
70550
+ }, {
70551
+ "name" : "auth",
70552
+ "value" : {
70553
+ "techniques" : [ "user", "token" ],
70554
+ "roles" : [ "flow_operations" ]
70555
+ }
70556
+ } ],
70557
+ "description" : "Search organization currency settings. Always paginated."
70558
+ }, {
70559
+ "method" : "POST",
70560
+ "path" : "/internal/currency/settings",
70561
+ "parameters" : [ ],
70562
+ "responses" : [ {
70563
+ "code" : {
70564
+ "integer" : {
70565
+ "value" : 201
70566
+ }
70567
+ },
70568
+ "type" : "organization_currency_setting",
70569
+ "description" : "Operation succeeded and the resource was created",
70570
+ "attributes" : [ ]
70571
+ }, {
70572
+ "code" : {
70573
+ "integer" : {
70574
+ "value" : 401
70575
+ }
70576
+ },
70577
+ "type" : "unit",
70578
+ "description" : "Authorization failed",
70579
+ "attributes" : [ ]
70580
+ }, {
70581
+ "code" : {
70582
+ "integer" : {
70583
+ "value" : 403
70584
+ }
70585
+ },
70586
+ "type" : "io.flow.permission.v0.models.permission_error",
70587
+ "attributes" : [ ]
70588
+ }, {
70589
+ "code" : {
70590
+ "integer" : {
70591
+ "value" : 404
70592
+ }
70593
+ },
70594
+ "type" : "unit",
70595
+ "description" : "Resource was not found",
70596
+ "attributes" : [ ]
70597
+ }, {
70598
+ "code" : {
70599
+ "integer" : {
70600
+ "value" : 422
70601
+ }
70602
+ },
70603
+ "type" : "io.flow.error.v0.models.generic_error",
70604
+ "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.",
70605
+ "attributes" : [ ]
70606
+ } ],
70607
+ "attributes" : [ {
70608
+ "name" : "auth",
70609
+ "value" : {
70610
+ "techniques" : [ "user", "token" ],
70611
+ "roles" : [ "flow_operations" ]
70612
+ }
70613
+ } ],
70614
+ "description" : "Create organization currency settings.",
70615
+ "body" : {
70616
+ "type" : "organization_currency_setting_form",
70617
+ "attributes" : [ ]
70618
+ }
70619
+ }, {
70620
+ "method" : "GET",
70621
+ "path" : "/internal/currency/settings/:id",
70622
+ "parameters" : [ {
70623
+ "name" : "id",
70624
+ "type" : "string",
70625
+ "location" : "Path",
70626
+ "required" : true,
70627
+ "description" : "Filter by one or more IDs of this resource"
70628
+ } ],
70629
+ "responses" : [ {
70630
+ "code" : {
70631
+ "integer" : {
70632
+ "value" : 200
70633
+ }
70634
+ },
70635
+ "type" : "organization_currency_setting",
70636
+ "description" : "Successful response",
70637
+ "attributes" : [ ]
70638
+ }, {
70639
+ "code" : {
70640
+ "integer" : {
70641
+ "value" : 401
70642
+ }
70643
+ },
70644
+ "type" : "unit",
70645
+ "description" : "Authorization failed",
70646
+ "attributes" : [ ]
70647
+ }, {
70648
+ "code" : {
70649
+ "integer" : {
70650
+ "value" : 403
70651
+ }
70652
+ },
70653
+ "type" : "io.flow.permission.v0.models.permission_error",
70654
+ "attributes" : [ ]
70655
+ }, {
70656
+ "code" : {
70657
+ "integer" : {
70658
+ "value" : 404
70659
+ }
70660
+ },
70661
+ "type" : "unit",
70662
+ "description" : "Resource was not found",
70663
+ "attributes" : [ ]
70664
+ } ],
70665
+ "attributes" : [ {
70666
+ "name" : "auth",
70667
+ "value" : {
70668
+ "techniques" : [ "user", "token" ],
70669
+ "roles" : [ "flow_operations" ]
70670
+ }
70671
+ } ],
70672
+ "description" : "Get organization currency settings."
70673
+ }, {
70674
+ "method" : "PUT",
70675
+ "path" : "/internal/currency/settings/:id",
70676
+ "parameters" : [ {
70677
+ "name" : "id",
70678
+ "type" : "string",
70679
+ "location" : "Path",
70680
+ "required" : true,
70681
+ "description" : "Filter by one or more IDs of this resource"
70682
+ } ],
70683
+ "responses" : [ {
70684
+ "code" : {
70685
+ "integer" : {
70686
+ "value" : 200
70687
+ }
70688
+ },
70689
+ "type" : "organization_currency_setting",
70690
+ "description" : "Successful response",
70691
+ "attributes" : [ ]
70692
+ }, {
70693
+ "code" : {
70694
+ "integer" : {
70695
+ "value" : 401
70696
+ }
70697
+ },
70698
+ "type" : "unit",
70699
+ "description" : "Authorization failed",
70700
+ "attributes" : [ ]
70701
+ }, {
70702
+ "code" : {
70703
+ "integer" : {
70704
+ "value" : 403
70705
+ }
70706
+ },
70707
+ "type" : "io.flow.permission.v0.models.permission_error",
70708
+ "attributes" : [ ]
70709
+ }, {
70710
+ "code" : {
70711
+ "integer" : {
70712
+ "value" : 404
70713
+ }
70714
+ },
70715
+ "type" : "unit",
70716
+ "description" : "Resource was not found",
70717
+ "attributes" : [ ]
70718
+ }, {
70719
+ "code" : {
70720
+ "integer" : {
70721
+ "value" : 422
70722
+ }
70723
+ },
70724
+ "type" : "io.flow.error.v0.models.generic_error",
70725
+ "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.",
70726
+ "attributes" : [ ]
70727
+ } ],
70728
+ "attributes" : [ {
70729
+ "name" : "auth",
70730
+ "value" : {
70731
+ "techniques" : [ "user", "token" ],
70732
+ "roles" : [ "flow_operations" ]
70733
+ }
70734
+ } ],
70735
+ "description" : "Update an existing organization currency settings.",
70736
+ "body" : {
70737
+ "type" : "organization_currency_setting_form",
70738
+ "attributes" : [ ]
70739
+ }
70740
+ } ],
70741
+ "attributes" : [ {
70742
+ "name" : "docs",
70743
+ "value" : {
70744
+ "module" : "general"
70745
+ }
70746
+ } ],
70747
+ "path" : "/internal/currency/settings"
70231
70748
  }, {
70232
70749
  "type" : "organization_membership_copy",
70233
70750
  "plural" : "organization_membership_copies",