@flowio/api-internal-mock-generator 5.26.17 → 5.26.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.json +1175 -625
- package/package.json +2 -2
- package/src/api-internal.json +1175 -625
package/src/api-internal.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key" : "api-internal"
|
|
11
11
|
},
|
|
12
12
|
"namespace" : "io.flow.internal.v0",
|
|
13
|
-
"version" : "0.14.
|
|
13
|
+
"version" : "0.14.17",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
"application" : {
|
|
587
587
|
"key" : "pricing-indicator-internal-event"
|
|
588
588
|
},
|
|
589
|
-
"version" : "0.14.
|
|
589
|
+
"version" : "0.14.17",
|
|
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/
|
|
612
|
-
"namespace" : "io.flow.
|
|
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" : "
|
|
617
|
+
"key" : "order-management"
|
|
618
618
|
},
|
|
619
619
|
"version" : "0.10.97",
|
|
620
|
-
"enums" : [ "
|
|
620
|
+
"enums" : [ "cancel_reason", "fulfillment_item_quantity_status", "order_change_source" ],
|
|
621
621
|
"interfaces" : [ ],
|
|
622
622
|
"unions" : [ ],
|
|
623
|
-
"models" : [ "
|
|
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-
|
|
627
|
-
"namespace" : "io.flow.catalog.
|
|
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-
|
|
632
|
+
"key" : "catalog-exclusion"
|
|
633
633
|
},
|
|
634
634
|
"version" : "0.10.97",
|
|
635
|
-
"enums" : [ "
|
|
635
|
+
"enums" : [ "exclusion_rule_state" ],
|
|
636
636
|
"interfaces" : [ ],
|
|
637
637
|
"unions" : [ ],
|
|
638
|
-
"models" : [ "
|
|
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/
|
|
642
|
-
"namespace" : "io.flow.
|
|
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" : "
|
|
647
|
+
"key" : "catalog-return"
|
|
648
648
|
},
|
|
649
649
|
"version" : "0.10.97",
|
|
650
|
-
"enums" : [ "
|
|
650
|
+
"enums" : [ "return_policy_state" ],
|
|
651
651
|
"interfaces" : [ ],
|
|
652
652
|
"unions" : [ ],
|
|
653
|
-
"models" : [ "
|
|
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",
|
|
@@ -1425,6 +1425,9 @@
|
|
|
1425
1425
|
}, {
|
|
1426
1426
|
"name" : "shipping_postal",
|
|
1427
1427
|
"attributes" : [ ]
|
|
1428
|
+
}, {
|
|
1429
|
+
"name" : "discount",
|
|
1430
|
+
"attributes" : [ ]
|
|
1428
1431
|
} ],
|
|
1429
1432
|
"attributes" : [ ]
|
|
1430
1433
|
}, {
|
|
@@ -1461,6 +1464,9 @@
|
|
|
1461
1464
|
}, {
|
|
1462
1465
|
"name" : "currency",
|
|
1463
1466
|
"attributes" : [ ]
|
|
1467
|
+
}, {
|
|
1468
|
+
"name" : "balance",
|
|
1469
|
+
"attributes" : [ ]
|
|
1464
1470
|
}, {
|
|
1465
1471
|
"name" : "payment_method_id",
|
|
1466
1472
|
"attributes" : [ ]
|
|
@@ -1475,6 +1481,9 @@
|
|
|
1475
1481
|
}, {
|
|
1476
1482
|
"name" : "currency",
|
|
1477
1483
|
"attributes" : [ ]
|
|
1484
|
+
}, {
|
|
1485
|
+
"name" : "balance",
|
|
1486
|
+
"attributes" : [ ]
|
|
1478
1487
|
}, {
|
|
1479
1488
|
"name" : "shipping_country",
|
|
1480
1489
|
"attributes" : [ ]
|
|
@@ -2536,10 +2545,16 @@
|
|
|
2536
2545
|
"name" : "rate_upserted_v2",
|
|
2537
2546
|
"attributes" : [ ]
|
|
2538
2547
|
}, {
|
|
2539
|
-
"name" : "
|
|
2548
|
+
"name" : "organization_currency_setting_upserted",
|
|
2549
|
+
"attributes" : [ ]
|
|
2550
|
+
}, {
|
|
2551
|
+
"name" : "organization_currency_setting_deleted",
|
|
2540
2552
|
"attributes" : [ ]
|
|
2541
2553
|
}, {
|
|
2542
|
-
"name" : "
|
|
2554
|
+
"name" : "channel_currency_setting_upserted",
|
|
2555
|
+
"attributes" : [ ]
|
|
2556
|
+
}, {
|
|
2557
|
+
"name" : "channel_currency_setting_deleted",
|
|
2543
2558
|
"attributes" : [ ]
|
|
2544
2559
|
}, {
|
|
2545
2560
|
"name" : "customer_purge_upserted",
|
|
@@ -4819,6 +4834,79 @@
|
|
|
4819
4834
|
"description" : "Globally unique identifier"
|
|
4820
4835
|
} ],
|
|
4821
4836
|
"attributes" : [ ]
|
|
4837
|
+
}, {
|
|
4838
|
+
"name" : "currency_setting",
|
|
4839
|
+
"plural" : "currency_settings",
|
|
4840
|
+
"fields" : [ {
|
|
4841
|
+
"name" : "id",
|
|
4842
|
+
"type" : "string",
|
|
4843
|
+
"required" : true,
|
|
4844
|
+
"attributes" : [ ],
|
|
4845
|
+
"annotations" : [ ],
|
|
4846
|
+
"description" : "Globally unique identifier"
|
|
4847
|
+
}, {
|
|
4848
|
+
"name" : "base",
|
|
4849
|
+
"type" : "string",
|
|
4850
|
+
"required" : true,
|
|
4851
|
+
"attributes" : [ ],
|
|
4852
|
+
"annotations" : [ ],
|
|
4853
|
+
"description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
4854
|
+
}, {
|
|
4855
|
+
"name" : "target",
|
|
4856
|
+
"type" : "string",
|
|
4857
|
+
"required" : true,
|
|
4858
|
+
"attributes" : [ ],
|
|
4859
|
+
"annotations" : [ ],
|
|
4860
|
+
"description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
4861
|
+
}, {
|
|
4862
|
+
"name" : "margin",
|
|
4863
|
+
"type" : "decimal",
|
|
4864
|
+
"required" : true,
|
|
4865
|
+
"attributes" : [ ],
|
|
4866
|
+
"annotations" : [ ],
|
|
4867
|
+
"description" : "A percent of the base currency value added to the base currency before conversion."
|
|
4868
|
+
}, {
|
|
4869
|
+
"name" : "rate_lock",
|
|
4870
|
+
"type" : "io.flow.common.v0.models.duration",
|
|
4871
|
+
"required" : true,
|
|
4872
|
+
"attributes" : [ ],
|
|
4873
|
+
"annotations" : [ ],
|
|
4874
|
+
"description" : "The duration for which a rate is valid after an order is placed."
|
|
4875
|
+
} ],
|
|
4876
|
+
"attributes" : [ ]
|
|
4877
|
+
}, {
|
|
4878
|
+
"name" : "currency_setting_form",
|
|
4879
|
+
"plural" : "currency_setting_forms",
|
|
4880
|
+
"fields" : [ {
|
|
4881
|
+
"name" : "base",
|
|
4882
|
+
"type" : "string",
|
|
4883
|
+
"required" : true,
|
|
4884
|
+
"attributes" : [ ],
|
|
4885
|
+
"annotations" : [ ],
|
|
4886
|
+
"description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
4887
|
+
}, {
|
|
4888
|
+
"name" : "target",
|
|
4889
|
+
"type" : "string",
|
|
4890
|
+
"required" : true,
|
|
4891
|
+
"attributes" : [ ],
|
|
4892
|
+
"annotations" : [ ],
|
|
4893
|
+
"description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
4894
|
+
}, {
|
|
4895
|
+
"name" : "margin",
|
|
4896
|
+
"type" : "decimal",
|
|
4897
|
+
"required" : true,
|
|
4898
|
+
"attributes" : [ ],
|
|
4899
|
+
"annotations" : [ ],
|
|
4900
|
+
"description" : "A percent of the base currency value added to the base currency before conversion."
|
|
4901
|
+
}, {
|
|
4902
|
+
"name" : "rate_lock",
|
|
4903
|
+
"type" : "io.flow.common.v0.models.duration",
|
|
4904
|
+
"required" : true,
|
|
4905
|
+
"attributes" : [ ],
|
|
4906
|
+
"annotations" : [ ],
|
|
4907
|
+
"description" : "The duration for which a rate is valid after an order is placed."
|
|
4908
|
+
} ],
|
|
4909
|
+
"attributes" : [ ]
|
|
4822
4910
|
}, {
|
|
4823
4911
|
"name" : "experiment",
|
|
4824
4912
|
"plural" : "experiments",
|
|
@@ -7353,13 +7441,21 @@
|
|
|
7353
7441
|
"attributes" : [ ],
|
|
7354
7442
|
"discriminator_value" : "rate_upserted_v2"
|
|
7355
7443
|
}, {
|
|
7356
|
-
"type" : "
|
|
7444
|
+
"type" : "organization_currency_setting_upserted",
|
|
7445
|
+
"attributes" : [ ],
|
|
7446
|
+
"discriminator_value" : "organization_currency_setting_upserted"
|
|
7447
|
+
}, {
|
|
7448
|
+
"type" : "organization_currency_setting_deleted",
|
|
7449
|
+
"attributes" : [ ],
|
|
7450
|
+
"discriminator_value" : "organization_currency_setting_deleted"
|
|
7451
|
+
}, {
|
|
7452
|
+
"type" : "channel_currency_setting_upserted",
|
|
7357
7453
|
"attributes" : [ ],
|
|
7358
|
-
"discriminator_value" : "
|
|
7454
|
+
"discriminator_value" : "channel_currency_setting_upserted"
|
|
7359
7455
|
}, {
|
|
7360
|
-
"type" : "
|
|
7456
|
+
"type" : "channel_currency_setting_deleted",
|
|
7361
7457
|
"attributes" : [ ],
|
|
7362
|
-
"discriminator_value" : "
|
|
7458
|
+
"discriminator_value" : "channel_currency_setting_deleted"
|
|
7363
7459
|
}, {
|
|
7364
7460
|
"type" : "customer_purge_upserted",
|
|
7365
7461
|
"attributes" : [ ],
|
|
@@ -12472,6 +12568,12 @@
|
|
|
12472
12568
|
"attributes" : [ ],
|
|
12473
12569
|
"annotations" : [ ],
|
|
12474
12570
|
"description" : "Globally unique identifier"
|
|
12571
|
+
}, {
|
|
12572
|
+
"name" : "period",
|
|
12573
|
+
"type" : "io.flow.common.v0.models.datetime_range",
|
|
12574
|
+
"required" : true,
|
|
12575
|
+
"attributes" : [ ],
|
|
12576
|
+
"annotations" : [ ]
|
|
12475
12577
|
} ],
|
|
12476
12578
|
"attributes" : [ ],
|
|
12477
12579
|
"interfaces" : [ ]
|
|
@@ -13939,6 +14041,142 @@
|
|
|
13939
14041
|
"attributes" : [ ],
|
|
13940
14042
|
"interfaces" : [ ],
|
|
13941
14043
|
"description" : "Details associated with changing index settings"
|
|
14044
|
+
}, {
|
|
14045
|
+
"name" : "channel_currency_setting",
|
|
14046
|
+
"plural" : "channel_currency_settings",
|
|
14047
|
+
"fields" : [ {
|
|
14048
|
+
"name" : "id",
|
|
14049
|
+
"type" : "string",
|
|
14050
|
+
"required" : true,
|
|
14051
|
+
"attributes" : [ ],
|
|
14052
|
+
"annotations" : [ ],
|
|
14053
|
+
"description" : "Globally unique identifier"
|
|
14054
|
+
}, {
|
|
14055
|
+
"name" : "channel_id",
|
|
14056
|
+
"type" : "string",
|
|
14057
|
+
"required" : true,
|
|
14058
|
+
"attributes" : [ ],
|
|
14059
|
+
"annotations" : [ ]
|
|
14060
|
+
}, {
|
|
14061
|
+
"name" : "base",
|
|
14062
|
+
"type" : "string",
|
|
14063
|
+
"required" : true,
|
|
14064
|
+
"attributes" : [ ],
|
|
14065
|
+
"annotations" : [ ],
|
|
14066
|
+
"description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
14067
|
+
}, {
|
|
14068
|
+
"name" : "target",
|
|
14069
|
+
"type" : "string",
|
|
14070
|
+
"required" : true,
|
|
14071
|
+
"attributes" : [ ],
|
|
14072
|
+
"annotations" : [ ],
|
|
14073
|
+
"description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
14074
|
+
}, {
|
|
14075
|
+
"name" : "margin",
|
|
14076
|
+
"type" : "decimal",
|
|
14077
|
+
"required" : true,
|
|
14078
|
+
"attributes" : [ ],
|
|
14079
|
+
"annotations" : [ ],
|
|
14080
|
+
"description" : "A percent of the base currency value added to the base currency before conversion."
|
|
14081
|
+
}, {
|
|
14082
|
+
"name" : "rate_lock",
|
|
14083
|
+
"type" : "io.flow.common.v0.models.duration",
|
|
14084
|
+
"required" : true,
|
|
14085
|
+
"attributes" : [ ],
|
|
14086
|
+
"annotations" : [ ],
|
|
14087
|
+
"description" : "The duration for which a rate is valid after an order is placed."
|
|
14088
|
+
} ],
|
|
14089
|
+
"attributes" : [ ],
|
|
14090
|
+
"interfaces" : [ "currency_setting" ]
|
|
14091
|
+
}, {
|
|
14092
|
+
"name" : "channel_currency_setting_deleted",
|
|
14093
|
+
"plural" : "channel_currency_setting_deleteds",
|
|
14094
|
+
"fields" : [ {
|
|
14095
|
+
"name" : "event_id",
|
|
14096
|
+
"type" : "string",
|
|
14097
|
+
"required" : true,
|
|
14098
|
+
"attributes" : [ ],
|
|
14099
|
+
"annotations" : [ ]
|
|
14100
|
+
}, {
|
|
14101
|
+
"name" : "timestamp",
|
|
14102
|
+
"type" : "date-time-iso8601",
|
|
14103
|
+
"required" : true,
|
|
14104
|
+
"attributes" : [ ],
|
|
14105
|
+
"annotations" : [ ]
|
|
14106
|
+
}, {
|
|
14107
|
+
"name" : "id",
|
|
14108
|
+
"type" : "string",
|
|
14109
|
+
"required" : true,
|
|
14110
|
+
"attributes" : [ ],
|
|
14111
|
+
"annotations" : [ ],
|
|
14112
|
+
"description" : "Globally unique identifier"
|
|
14113
|
+
} ],
|
|
14114
|
+
"attributes" : [ ],
|
|
14115
|
+
"interfaces" : [ ]
|
|
14116
|
+
}, {
|
|
14117
|
+
"name" : "channel_currency_setting_form",
|
|
14118
|
+
"plural" : "channel_currency_setting_forms",
|
|
14119
|
+
"fields" : [ {
|
|
14120
|
+
"name" : "channel_id",
|
|
14121
|
+
"type" : "string",
|
|
14122
|
+
"required" : true,
|
|
14123
|
+
"attributes" : [ ],
|
|
14124
|
+
"annotations" : [ ]
|
|
14125
|
+
}, {
|
|
14126
|
+
"name" : "base",
|
|
14127
|
+
"type" : "string",
|
|
14128
|
+
"required" : true,
|
|
14129
|
+
"attributes" : [ ],
|
|
14130
|
+
"annotations" : [ ],
|
|
14131
|
+
"description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
14132
|
+
}, {
|
|
14133
|
+
"name" : "target",
|
|
14134
|
+
"type" : "string",
|
|
14135
|
+
"required" : true,
|
|
14136
|
+
"attributes" : [ ],
|
|
14137
|
+
"annotations" : [ ],
|
|
14138
|
+
"description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
14139
|
+
}, {
|
|
14140
|
+
"name" : "margin",
|
|
14141
|
+
"type" : "decimal",
|
|
14142
|
+
"required" : true,
|
|
14143
|
+
"attributes" : [ ],
|
|
14144
|
+
"annotations" : [ ],
|
|
14145
|
+
"description" : "A percent of the base currency value added to the base currency before conversion."
|
|
14146
|
+
}, {
|
|
14147
|
+
"name" : "rate_lock",
|
|
14148
|
+
"type" : "io.flow.common.v0.models.duration",
|
|
14149
|
+
"required" : true,
|
|
14150
|
+
"attributes" : [ ],
|
|
14151
|
+
"annotations" : [ ],
|
|
14152
|
+
"description" : "The duration for which a rate is valid after an order is placed."
|
|
14153
|
+
} ],
|
|
14154
|
+
"attributes" : [ ],
|
|
14155
|
+
"interfaces" : [ "currency_setting_form" ]
|
|
14156
|
+
}, {
|
|
14157
|
+
"name" : "channel_currency_setting_upserted",
|
|
14158
|
+
"plural" : "channel_currency_setting_upserteds",
|
|
14159
|
+
"fields" : [ {
|
|
14160
|
+
"name" : "event_id",
|
|
14161
|
+
"type" : "string",
|
|
14162
|
+
"required" : true,
|
|
14163
|
+
"attributes" : [ ],
|
|
14164
|
+
"annotations" : [ ]
|
|
14165
|
+
}, {
|
|
14166
|
+
"name" : "timestamp",
|
|
14167
|
+
"type" : "date-time-iso8601",
|
|
14168
|
+
"required" : true,
|
|
14169
|
+
"attributes" : [ ],
|
|
14170
|
+
"annotations" : [ ]
|
|
14171
|
+
}, {
|
|
14172
|
+
"name" : "channel_currency_setting",
|
|
14173
|
+
"type" : "channel_currency_setting",
|
|
14174
|
+
"required" : true,
|
|
14175
|
+
"attributes" : [ ],
|
|
14176
|
+
"annotations" : [ ]
|
|
14177
|
+
} ],
|
|
14178
|
+
"attributes" : [ ],
|
|
14179
|
+
"interfaces" : [ ]
|
|
13942
14180
|
}, {
|
|
13943
14181
|
"name" : "channel_service_fee",
|
|
13944
14182
|
"plural" : "channel_service_fees",
|
|
@@ -25940,6 +26178,18 @@
|
|
|
25940
26178
|
"attributes" : [ ],
|
|
25941
26179
|
"annotations" : [ ],
|
|
25942
26180
|
"description" : "Fee to cover Flow's cost for FX conversion."
|
|
26181
|
+
}, {
|
|
26182
|
+
"name" : "mor",
|
|
26183
|
+
"type" : "fee",
|
|
26184
|
+
"required" : true,
|
|
26185
|
+
"attributes" : [ ],
|
|
26186
|
+
"annotations" : [ ]
|
|
26187
|
+
}, {
|
|
26188
|
+
"name" : "fx",
|
|
26189
|
+
"type" : "fee",
|
|
26190
|
+
"required" : true,
|
|
26191
|
+
"attributes" : [ ],
|
|
26192
|
+
"annotations" : [ ]
|
|
25943
26193
|
} ],
|
|
25944
26194
|
"attributes" : [ ],
|
|
25945
26195
|
"interfaces" : [ ]
|
|
@@ -26304,176 +26554,6 @@
|
|
|
26304
26554
|
"attributes" : [ ],
|
|
26305
26555
|
"interfaces" : [ ],
|
|
26306
26556
|
"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
26557
|
}, {
|
|
26478
26558
|
"name" : "flow_lab_project",
|
|
26479
26559
|
"plural" : "flow_lab_projects",
|
|
@@ -37690,6 +37770,175 @@
|
|
|
37690
37770
|
} ],
|
|
37691
37771
|
"attributes" : [ ],
|
|
37692
37772
|
"interfaces" : [ ]
|
|
37773
|
+
}, {
|
|
37774
|
+
"name" : "organization_currency_setting",
|
|
37775
|
+
"plural" : "organization_currency_settings",
|
|
37776
|
+
"fields" : [ {
|
|
37777
|
+
"name" : "id",
|
|
37778
|
+
"type" : "string",
|
|
37779
|
+
"required" : true,
|
|
37780
|
+
"attributes" : [ ],
|
|
37781
|
+
"annotations" : [ ],
|
|
37782
|
+
"description" : "Globally unique identifier"
|
|
37783
|
+
}, {
|
|
37784
|
+
"name" : "organization",
|
|
37785
|
+
"type" : "string",
|
|
37786
|
+
"required" : true,
|
|
37787
|
+
"attributes" : [ ],
|
|
37788
|
+
"annotations" : [ ],
|
|
37789
|
+
"description" : "Refers to your organization's account identifier"
|
|
37790
|
+
}, {
|
|
37791
|
+
"name" : "base",
|
|
37792
|
+
"type" : "string",
|
|
37793
|
+
"required" : true,
|
|
37794
|
+
"attributes" : [ ],
|
|
37795
|
+
"annotations" : [ ],
|
|
37796
|
+
"description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
37797
|
+
}, {
|
|
37798
|
+
"name" : "target",
|
|
37799
|
+
"type" : "string",
|
|
37800
|
+
"required" : true,
|
|
37801
|
+
"attributes" : [ ],
|
|
37802
|
+
"annotations" : [ ],
|
|
37803
|
+
"description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
37804
|
+
}, {
|
|
37805
|
+
"name" : "margin",
|
|
37806
|
+
"type" : "decimal",
|
|
37807
|
+
"required" : true,
|
|
37808
|
+
"attributes" : [ ],
|
|
37809
|
+
"annotations" : [ ],
|
|
37810
|
+
"description" : "A percent of the base currency value added to the base currency before conversion."
|
|
37811
|
+
}, {
|
|
37812
|
+
"name" : "rate_lock",
|
|
37813
|
+
"type" : "io.flow.common.v0.models.duration",
|
|
37814
|
+
"required" : true,
|
|
37815
|
+
"attributes" : [ ],
|
|
37816
|
+
"annotations" : [ ],
|
|
37817
|
+
"description" : "The duration for which a rate is valid after an order is placed."
|
|
37818
|
+
} ],
|
|
37819
|
+
"attributes" : [ ],
|
|
37820
|
+
"interfaces" : [ "currency_setting" ]
|
|
37821
|
+
}, {
|
|
37822
|
+
"name" : "organization_currency_setting_deleted",
|
|
37823
|
+
"plural" : "organization_currency_setting_deleteds",
|
|
37824
|
+
"fields" : [ {
|
|
37825
|
+
"name" : "event_id",
|
|
37826
|
+
"type" : "string",
|
|
37827
|
+
"required" : true,
|
|
37828
|
+
"attributes" : [ ],
|
|
37829
|
+
"annotations" : [ ]
|
|
37830
|
+
}, {
|
|
37831
|
+
"name" : "timestamp",
|
|
37832
|
+
"type" : "date-time-iso8601",
|
|
37833
|
+
"required" : true,
|
|
37834
|
+
"attributes" : [ ],
|
|
37835
|
+
"annotations" : [ ]
|
|
37836
|
+
}, {
|
|
37837
|
+
"name" : "id",
|
|
37838
|
+
"type" : "string",
|
|
37839
|
+
"required" : true,
|
|
37840
|
+
"attributes" : [ ],
|
|
37841
|
+
"annotations" : [ ],
|
|
37842
|
+
"description" : "Globally unique identifier"
|
|
37843
|
+
} ],
|
|
37844
|
+
"attributes" : [ ],
|
|
37845
|
+
"interfaces" : [ ]
|
|
37846
|
+
}, {
|
|
37847
|
+
"name" : "organization_currency_setting_form",
|
|
37848
|
+
"plural" : "organization_currency_setting_forms",
|
|
37849
|
+
"fields" : [ {
|
|
37850
|
+
"name" : "organization",
|
|
37851
|
+
"type" : "string",
|
|
37852
|
+
"required" : true,
|
|
37853
|
+
"attributes" : [ ],
|
|
37854
|
+
"annotations" : [ ],
|
|
37855
|
+
"description" : "Refers to your organization's account identifier"
|
|
37856
|
+
}, {
|
|
37857
|
+
"name" : "base",
|
|
37858
|
+
"type" : "string",
|
|
37859
|
+
"required" : true,
|
|
37860
|
+
"attributes" : [ ],
|
|
37861
|
+
"annotations" : [ ],
|
|
37862
|
+
"description" : "The base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
37863
|
+
}, {
|
|
37864
|
+
"name" : "target",
|
|
37865
|
+
"type" : "string",
|
|
37866
|
+
"required" : true,
|
|
37867
|
+
"attributes" : [ ],
|
|
37868
|
+
"annotations" : [ ],
|
|
37869
|
+
"description" : "The target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
37870
|
+
}, {
|
|
37871
|
+
"name" : "margin",
|
|
37872
|
+
"type" : "decimal",
|
|
37873
|
+
"required" : true,
|
|
37874
|
+
"attributes" : [ ],
|
|
37875
|
+
"annotations" : [ ],
|
|
37876
|
+
"description" : "A percent of the base currency value added to the base currency before conversion."
|
|
37877
|
+
}, {
|
|
37878
|
+
"name" : "rate_lock",
|
|
37879
|
+
"type" : "io.flow.common.v0.models.duration",
|
|
37880
|
+
"required" : true,
|
|
37881
|
+
"attributes" : [ ],
|
|
37882
|
+
"annotations" : [ ],
|
|
37883
|
+
"description" : "The duration for which a rate is valid after an order is placed."
|
|
37884
|
+
} ],
|
|
37885
|
+
"attributes" : [ ],
|
|
37886
|
+
"interfaces" : [ "currency_setting_form" ]
|
|
37887
|
+
}, {
|
|
37888
|
+
"name" : "organization_currency_setting_upserted",
|
|
37889
|
+
"plural" : "organization_currency_setting_upserteds",
|
|
37890
|
+
"fields" : [ {
|
|
37891
|
+
"name" : "event_id",
|
|
37892
|
+
"type" : "string",
|
|
37893
|
+
"required" : true,
|
|
37894
|
+
"attributes" : [ ],
|
|
37895
|
+
"annotations" : [ ]
|
|
37896
|
+
}, {
|
|
37897
|
+
"name" : "timestamp",
|
|
37898
|
+
"type" : "date-time-iso8601",
|
|
37899
|
+
"required" : true,
|
|
37900
|
+
"attributes" : [ ],
|
|
37901
|
+
"annotations" : [ ]
|
|
37902
|
+
}, {
|
|
37903
|
+
"name" : "organization_currency_setting",
|
|
37904
|
+
"type" : "organization_currency_setting",
|
|
37905
|
+
"required" : true,
|
|
37906
|
+
"attributes" : [ ],
|
|
37907
|
+
"annotations" : [ ]
|
|
37908
|
+
} ],
|
|
37909
|
+
"attributes" : [ ],
|
|
37910
|
+
"interfaces" : [ ]
|
|
37911
|
+
}, {
|
|
37912
|
+
"name" : "organization_currency_setting_version",
|
|
37913
|
+
"plural" : "organization_currency_setting_versions",
|
|
37914
|
+
"fields" : [ {
|
|
37915
|
+
"name" : "id",
|
|
37916
|
+
"type" : "string",
|
|
37917
|
+
"required" : true,
|
|
37918
|
+
"attributes" : [ ],
|
|
37919
|
+
"annotations" : [ ],
|
|
37920
|
+
"description" : "Globally unique identifier"
|
|
37921
|
+
}, {
|
|
37922
|
+
"name" : "timestamp",
|
|
37923
|
+
"type" : "date-time-iso8601",
|
|
37924
|
+
"required" : true,
|
|
37925
|
+
"attributes" : [ ],
|
|
37926
|
+
"annotations" : [ ]
|
|
37927
|
+
}, {
|
|
37928
|
+
"name" : "type",
|
|
37929
|
+
"type" : "io.flow.common.v0.enums.change_type",
|
|
37930
|
+
"required" : true,
|
|
37931
|
+
"attributes" : [ ],
|
|
37932
|
+
"annotations" : [ ]
|
|
37933
|
+
}, {
|
|
37934
|
+
"name" : "organization_currency_setting",
|
|
37935
|
+
"type" : "organization_currency_setting",
|
|
37936
|
+
"required" : true,
|
|
37937
|
+
"attributes" : [ ],
|
|
37938
|
+
"annotations" : [ ]
|
|
37939
|
+
} ],
|
|
37940
|
+
"attributes" : [ ],
|
|
37941
|
+
"interfaces" : [ ]
|
|
37693
37942
|
}, {
|
|
37694
37943
|
"name" : "organization_membership_copy",
|
|
37695
37944
|
"plural" : "organization_membership_copies",
|
|
@@ -51548,6 +51797,307 @@
|
|
|
51548
51797
|
}
|
|
51549
51798
|
} ],
|
|
51550
51799
|
"path" : "/:organization/center/query/builders"
|
|
51800
|
+
}, {
|
|
51801
|
+
"type" : "channel_currency_setting",
|
|
51802
|
+
"plural" : "channel_currency_settings",
|
|
51803
|
+
"operations" : [ {
|
|
51804
|
+
"method" : "GET",
|
|
51805
|
+
"path" : "/internal/channel/currency/settings",
|
|
51806
|
+
"parameters" : [ {
|
|
51807
|
+
"name" : "id",
|
|
51808
|
+
"type" : "[string]",
|
|
51809
|
+
"location" : "Query",
|
|
51810
|
+
"required" : false,
|
|
51811
|
+
"description" : "Filter by one or more IDs of this resource",
|
|
51812
|
+
"maximum" : 100
|
|
51813
|
+
}, {
|
|
51814
|
+
"name" : "channel",
|
|
51815
|
+
"type" : "string",
|
|
51816
|
+
"location" : "Query",
|
|
51817
|
+
"required" : false
|
|
51818
|
+
}, {
|
|
51819
|
+
"name" : "base",
|
|
51820
|
+
"type" : "string",
|
|
51821
|
+
"location" : "Query",
|
|
51822
|
+
"required" : false,
|
|
51823
|
+
"description" : "Filter by the (case-insensitive) base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
51824
|
+
}, {
|
|
51825
|
+
"name" : "target",
|
|
51826
|
+
"type" : "string",
|
|
51827
|
+
"location" : "Query",
|
|
51828
|
+
"required" : false,
|
|
51829
|
+
"description" : "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
51830
|
+
}, {
|
|
51831
|
+
"name" : "limit",
|
|
51832
|
+
"type" : "long",
|
|
51833
|
+
"location" : "Query",
|
|
51834
|
+
"required" : true,
|
|
51835
|
+
"description" : "The maximum number of results to return",
|
|
51836
|
+
"default" : "25",
|
|
51837
|
+
"minimum" : 1,
|
|
51838
|
+
"maximum" : 100
|
|
51839
|
+
}, {
|
|
51840
|
+
"name" : "offset",
|
|
51841
|
+
"type" : "long",
|
|
51842
|
+
"location" : "Query",
|
|
51843
|
+
"required" : true,
|
|
51844
|
+
"description" : "The number of results to skip before returning results",
|
|
51845
|
+
"default" : "0",
|
|
51846
|
+
"minimum" : 0
|
|
51847
|
+
}, {
|
|
51848
|
+
"name" : "sort",
|
|
51849
|
+
"type" : "string",
|
|
51850
|
+
"location" : "Query",
|
|
51851
|
+
"required" : true,
|
|
51852
|
+
"default" : "-created_at"
|
|
51853
|
+
} ],
|
|
51854
|
+
"responses" : [ {
|
|
51855
|
+
"code" : {
|
|
51856
|
+
"integer" : {
|
|
51857
|
+
"value" : 200
|
|
51858
|
+
}
|
|
51859
|
+
},
|
|
51860
|
+
"type" : "[channel_currency_setting]",
|
|
51861
|
+
"description" : "Successful response",
|
|
51862
|
+
"attributes" : [ ]
|
|
51863
|
+
}, {
|
|
51864
|
+
"code" : {
|
|
51865
|
+
"integer" : {
|
|
51866
|
+
"value" : 401
|
|
51867
|
+
}
|
|
51868
|
+
},
|
|
51869
|
+
"type" : "unit",
|
|
51870
|
+
"description" : "Authorization failed",
|
|
51871
|
+
"attributes" : [ ]
|
|
51872
|
+
}, {
|
|
51873
|
+
"code" : {
|
|
51874
|
+
"integer" : {
|
|
51875
|
+
"value" : 403
|
|
51876
|
+
}
|
|
51877
|
+
},
|
|
51878
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
51879
|
+
"attributes" : [ ]
|
|
51880
|
+
}, {
|
|
51881
|
+
"code" : {
|
|
51882
|
+
"integer" : {
|
|
51883
|
+
"value" : 422
|
|
51884
|
+
}
|
|
51885
|
+
},
|
|
51886
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
51887
|
+
"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.",
|
|
51888
|
+
"attributes" : [ ]
|
|
51889
|
+
} ],
|
|
51890
|
+
"attributes" : [ {
|
|
51891
|
+
"name" : "sort",
|
|
51892
|
+
"value" : {
|
|
51893
|
+
"values" : [ {
|
|
51894
|
+
"value" : "id"
|
|
51895
|
+
}, {
|
|
51896
|
+
"value" : "base"
|
|
51897
|
+
}, {
|
|
51898
|
+
"value" : "target"
|
|
51899
|
+
}, {
|
|
51900
|
+
"value" : "created_at"
|
|
51901
|
+
} ]
|
|
51902
|
+
}
|
|
51903
|
+
}, {
|
|
51904
|
+
"name" : "auth",
|
|
51905
|
+
"value" : {
|
|
51906
|
+
"techniques" : [ "user", "token" ],
|
|
51907
|
+
"roles" : [ "flow_operations" ]
|
|
51908
|
+
}
|
|
51909
|
+
} ],
|
|
51910
|
+
"description" : "Search channel currency settings. Always paginated."
|
|
51911
|
+
}, {
|
|
51912
|
+
"method" : "POST",
|
|
51913
|
+
"path" : "/internal/channel/currency/settings",
|
|
51914
|
+
"parameters" : [ ],
|
|
51915
|
+
"responses" : [ {
|
|
51916
|
+
"code" : {
|
|
51917
|
+
"integer" : {
|
|
51918
|
+
"value" : 201
|
|
51919
|
+
}
|
|
51920
|
+
},
|
|
51921
|
+
"type" : "channel_currency_setting",
|
|
51922
|
+
"description" : "Operation succeeded and the resource was created",
|
|
51923
|
+
"attributes" : [ ]
|
|
51924
|
+
}, {
|
|
51925
|
+
"code" : {
|
|
51926
|
+
"integer" : {
|
|
51927
|
+
"value" : 401
|
|
51928
|
+
}
|
|
51929
|
+
},
|
|
51930
|
+
"type" : "unit",
|
|
51931
|
+
"description" : "Authorization failed",
|
|
51932
|
+
"attributes" : [ ]
|
|
51933
|
+
}, {
|
|
51934
|
+
"code" : {
|
|
51935
|
+
"integer" : {
|
|
51936
|
+
"value" : 403
|
|
51937
|
+
}
|
|
51938
|
+
},
|
|
51939
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
51940
|
+
"attributes" : [ ]
|
|
51941
|
+
}, {
|
|
51942
|
+
"code" : {
|
|
51943
|
+
"integer" : {
|
|
51944
|
+
"value" : 404
|
|
51945
|
+
}
|
|
51946
|
+
},
|
|
51947
|
+
"type" : "unit",
|
|
51948
|
+
"description" : "Resource was not found",
|
|
51949
|
+
"attributes" : [ ]
|
|
51950
|
+
}, {
|
|
51951
|
+
"code" : {
|
|
51952
|
+
"integer" : {
|
|
51953
|
+
"value" : 422
|
|
51954
|
+
}
|
|
51955
|
+
},
|
|
51956
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
51957
|
+
"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.",
|
|
51958
|
+
"attributes" : [ ]
|
|
51959
|
+
} ],
|
|
51960
|
+
"attributes" : [ {
|
|
51961
|
+
"name" : "auth",
|
|
51962
|
+
"value" : {
|
|
51963
|
+
"techniques" : [ "user", "token" ],
|
|
51964
|
+
"roles" : [ "flow_operations" ]
|
|
51965
|
+
}
|
|
51966
|
+
} ],
|
|
51967
|
+
"description" : "Create channel currency settings.",
|
|
51968
|
+
"body" : {
|
|
51969
|
+
"type" : "channel_currency_setting_form",
|
|
51970
|
+
"attributes" : [ ]
|
|
51971
|
+
}
|
|
51972
|
+
}, {
|
|
51973
|
+
"method" : "GET",
|
|
51974
|
+
"path" : "/internal/channel/currency/settings/:id",
|
|
51975
|
+
"parameters" : [ {
|
|
51976
|
+
"name" : "id",
|
|
51977
|
+
"type" : "string",
|
|
51978
|
+
"location" : "Path",
|
|
51979
|
+
"required" : true,
|
|
51980
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
51981
|
+
} ],
|
|
51982
|
+
"responses" : [ {
|
|
51983
|
+
"code" : {
|
|
51984
|
+
"integer" : {
|
|
51985
|
+
"value" : 200
|
|
51986
|
+
}
|
|
51987
|
+
},
|
|
51988
|
+
"type" : "channel_currency_setting",
|
|
51989
|
+
"description" : "Successful response",
|
|
51990
|
+
"attributes" : [ ]
|
|
51991
|
+
}, {
|
|
51992
|
+
"code" : {
|
|
51993
|
+
"integer" : {
|
|
51994
|
+
"value" : 401
|
|
51995
|
+
}
|
|
51996
|
+
},
|
|
51997
|
+
"type" : "unit",
|
|
51998
|
+
"description" : "Authorization failed",
|
|
51999
|
+
"attributes" : [ ]
|
|
52000
|
+
}, {
|
|
52001
|
+
"code" : {
|
|
52002
|
+
"integer" : {
|
|
52003
|
+
"value" : 403
|
|
52004
|
+
}
|
|
52005
|
+
},
|
|
52006
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
52007
|
+
"attributes" : [ ]
|
|
52008
|
+
}, {
|
|
52009
|
+
"code" : {
|
|
52010
|
+
"integer" : {
|
|
52011
|
+
"value" : 404
|
|
52012
|
+
}
|
|
52013
|
+
},
|
|
52014
|
+
"type" : "unit",
|
|
52015
|
+
"description" : "Resource was not found",
|
|
52016
|
+
"attributes" : [ ]
|
|
52017
|
+
} ],
|
|
52018
|
+
"attributes" : [ {
|
|
52019
|
+
"name" : "auth",
|
|
52020
|
+
"value" : {
|
|
52021
|
+
"techniques" : [ "user", "token" ],
|
|
52022
|
+
"roles" : [ "flow_operations" ]
|
|
52023
|
+
}
|
|
52024
|
+
} ],
|
|
52025
|
+
"description" : "Get channel currency settings."
|
|
52026
|
+
}, {
|
|
52027
|
+
"method" : "PUT",
|
|
52028
|
+
"path" : "/internal/channel/currency/settings/:id",
|
|
52029
|
+
"parameters" : [ {
|
|
52030
|
+
"name" : "id",
|
|
52031
|
+
"type" : "string",
|
|
52032
|
+
"location" : "Path",
|
|
52033
|
+
"required" : true,
|
|
52034
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
52035
|
+
} ],
|
|
52036
|
+
"responses" : [ {
|
|
52037
|
+
"code" : {
|
|
52038
|
+
"integer" : {
|
|
52039
|
+
"value" : 200
|
|
52040
|
+
}
|
|
52041
|
+
},
|
|
52042
|
+
"type" : "channel_currency_setting",
|
|
52043
|
+
"description" : "Successful response",
|
|
52044
|
+
"attributes" : [ ]
|
|
52045
|
+
}, {
|
|
52046
|
+
"code" : {
|
|
52047
|
+
"integer" : {
|
|
52048
|
+
"value" : 401
|
|
52049
|
+
}
|
|
52050
|
+
},
|
|
52051
|
+
"type" : "unit",
|
|
52052
|
+
"description" : "Authorization failed",
|
|
52053
|
+
"attributes" : [ ]
|
|
52054
|
+
}, {
|
|
52055
|
+
"code" : {
|
|
52056
|
+
"integer" : {
|
|
52057
|
+
"value" : 403
|
|
52058
|
+
}
|
|
52059
|
+
},
|
|
52060
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
52061
|
+
"attributes" : [ ]
|
|
52062
|
+
}, {
|
|
52063
|
+
"code" : {
|
|
52064
|
+
"integer" : {
|
|
52065
|
+
"value" : 404
|
|
52066
|
+
}
|
|
52067
|
+
},
|
|
52068
|
+
"type" : "unit",
|
|
52069
|
+
"description" : "Resource was not found",
|
|
52070
|
+
"attributes" : [ ]
|
|
52071
|
+
}, {
|
|
52072
|
+
"code" : {
|
|
52073
|
+
"integer" : {
|
|
52074
|
+
"value" : 422
|
|
52075
|
+
}
|
|
52076
|
+
},
|
|
52077
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
52078
|
+
"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.",
|
|
52079
|
+
"attributes" : [ ]
|
|
52080
|
+
} ],
|
|
52081
|
+
"attributes" : [ {
|
|
52082
|
+
"name" : "auth",
|
|
52083
|
+
"value" : {
|
|
52084
|
+
"techniques" : [ "user", "token" ],
|
|
52085
|
+
"roles" : [ "flow_operations" ]
|
|
52086
|
+
}
|
|
52087
|
+
} ],
|
|
52088
|
+
"description" : "Update an existing channel currency settings.",
|
|
52089
|
+
"body" : {
|
|
52090
|
+
"type" : "channel_currency_setting_form",
|
|
52091
|
+
"attributes" : [ ]
|
|
52092
|
+
}
|
|
52093
|
+
} ],
|
|
52094
|
+
"attributes" : [ {
|
|
52095
|
+
"name" : "docs",
|
|
52096
|
+
"value" : {
|
|
52097
|
+
"module" : "general"
|
|
52098
|
+
}
|
|
52099
|
+
} ],
|
|
52100
|
+
"path" : "/internal/channel/currency/settings"
|
|
51551
52101
|
}, {
|
|
51552
52102
|
"type" : "chargeback",
|
|
51553
52103
|
"plural" : "chargebacks",
|
|
@@ -56231,300 +56781,12 @@
|
|
|
56231
56781
|
}
|
|
56232
56782
|
} ],
|
|
56233
56783
|
"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",
|
|
56784
|
+
"type" : "feature_form",
|
|
56523
56785
|
"attributes" : [ ]
|
|
56524
56786
|
}
|
|
56525
56787
|
}, {
|
|
56526
56788
|
"method" : "DELETE",
|
|
56527
|
-
"path" : "/:organization/features/:key
|
|
56789
|
+
"path" : "/:organization/features/:key",
|
|
56528
56790
|
"parameters" : [ {
|
|
56529
56791
|
"name" : "organization",
|
|
56530
56792
|
"type" : "string",
|
|
@@ -56536,12 +56798,6 @@
|
|
|
56536
56798
|
"type" : "string",
|
|
56537
56799
|
"location" : "Path",
|
|
56538
56800
|
"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
56801
|
} ],
|
|
56546
56802
|
"responses" : [ {
|
|
56547
56803
|
"code" : {
|
|
@@ -56594,11 +56850,10 @@
|
|
|
56594
56850
|
"techniques" : [ "user", "token" ],
|
|
56595
56851
|
"roles" : [ "organization_admin" ]
|
|
56596
56852
|
}
|
|
56597
|
-
} ]
|
|
56598
|
-
"description" : "Deletes the rule with the specified ID"
|
|
56853
|
+
} ]
|
|
56599
56854
|
}, {
|
|
56600
56855
|
"method" : "PUT",
|
|
56601
|
-
"path" : "/:organization/features/:key/
|
|
56856
|
+
"path" : "/:organization/features/:key/release",
|
|
56602
56857
|
"parameters" : [ {
|
|
56603
56858
|
"name" : "organization",
|
|
56604
56859
|
"type" : "string",
|
|
@@ -56664,30 +56919,23 @@
|
|
|
56664
56919
|
}
|
|
56665
56920
|
} ],
|
|
56666
56921
|
"body" : {
|
|
56667
|
-
"type" : "
|
|
56922
|
+
"type" : "feature_release_form",
|
|
56668
56923
|
"attributes" : [ ]
|
|
56669
56924
|
}
|
|
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" : [ {
|
|
56925
|
+
}, {
|
|
56683
56926
|
"method" : "POST",
|
|
56684
|
-
"path" : "/:organization/
|
|
56927
|
+
"path" : "/:organization/features/:key/rules",
|
|
56685
56928
|
"parameters" : [ {
|
|
56686
56929
|
"name" : "organization",
|
|
56687
56930
|
"type" : "string",
|
|
56688
56931
|
"location" : "Path",
|
|
56689
56932
|
"required" : true,
|
|
56690
56933
|
"description" : "Refers to your organization's account identifier"
|
|
56934
|
+
}, {
|
|
56935
|
+
"name" : "key",
|
|
56936
|
+
"type" : "string",
|
|
56937
|
+
"location" : "Path",
|
|
56938
|
+
"required" : true
|
|
56691
56939
|
} ],
|
|
56692
56940
|
"responses" : [ {
|
|
56693
56941
|
"code" : {
|
|
@@ -56695,7 +56943,7 @@
|
|
|
56695
56943
|
"value" : 201
|
|
56696
56944
|
}
|
|
56697
56945
|
},
|
|
56698
|
-
"type" : "
|
|
56946
|
+
"type" : "feature",
|
|
56699
56947
|
"description" : "Operation succeeded and the resource was created",
|
|
56700
56948
|
"attributes" : [ ]
|
|
56701
56949
|
}, {
|
|
@@ -56707,6 +56955,14 @@
|
|
|
56707
56955
|
"type" : "unit",
|
|
56708
56956
|
"description" : "Authorization failed",
|
|
56709
56957
|
"attributes" : [ ]
|
|
56958
|
+
}, {
|
|
56959
|
+
"code" : {
|
|
56960
|
+
"integer" : {
|
|
56961
|
+
"value" : 403
|
|
56962
|
+
}
|
|
56963
|
+
},
|
|
56964
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
56965
|
+
"attributes" : [ ]
|
|
56710
56966
|
}, {
|
|
56711
56967
|
"code" : {
|
|
56712
56968
|
"integer" : {
|
|
@@ -56726,74 +56982,38 @@
|
|
|
56726
56982
|
"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
56983
|
"attributes" : [ ]
|
|
56728
56984
|
} ],
|
|
56729
|
-
"attributes" : [
|
|
56985
|
+
"attributes" : [ {
|
|
56986
|
+
"name" : "auth",
|
|
56987
|
+
"value" : {
|
|
56988
|
+
"techniques" : [ "user", "token" ],
|
|
56989
|
+
"roles" : [ "organization_admin" ]
|
|
56990
|
+
}
|
|
56991
|
+
} ],
|
|
56992
|
+
"description" : "Adds a rule to this feature. Position of rule will be last",
|
|
56730
56993
|
"body" : {
|
|
56731
|
-
"type" : "
|
|
56994
|
+
"type" : "feature_rule_form",
|
|
56732
56995
|
"attributes" : [ ]
|
|
56733
56996
|
}
|
|
56734
|
-
}
|
|
56735
|
-
|
|
56736
|
-
"
|
|
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",
|
|
56997
|
+
}, {
|
|
56998
|
+
"method" : "PUT",
|
|
56999
|
+
"path" : "/:organization/features/:key/rules/:id",
|
|
56749
57000
|
"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
57001
|
"name" : "organization",
|
|
56758
57002
|
"type" : "string",
|
|
56759
|
-
"location" : "
|
|
56760
|
-
"required" :
|
|
57003
|
+
"location" : "Path",
|
|
57004
|
+
"required" : true,
|
|
56761
57005
|
"description" : "Refers to your organization's account identifier"
|
|
56762
57006
|
}, {
|
|
56763
|
-
"name" : "
|
|
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",
|
|
57007
|
+
"name" : "key",
|
|
56770
57008
|
"type" : "string",
|
|
56771
|
-
"location" : "
|
|
56772
|
-
"required" :
|
|
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
|
|
57009
|
+
"location" : "Path",
|
|
57010
|
+
"required" : true
|
|
56791
57011
|
}, {
|
|
56792
|
-
"name" : "
|
|
57012
|
+
"name" : "id",
|
|
56793
57013
|
"type" : "string",
|
|
56794
|
-
"location" : "
|
|
57014
|
+
"location" : "Path",
|
|
56795
57015
|
"required" : true,
|
|
56796
|
-
"
|
|
57016
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
56797
57017
|
} ],
|
|
56798
57018
|
"responses" : [ {
|
|
56799
57019
|
"code" : {
|
|
@@ -56801,7 +57021,7 @@
|
|
|
56801
57021
|
"value" : 200
|
|
56802
57022
|
}
|
|
56803
57023
|
},
|
|
56804
|
-
"type" : "
|
|
57024
|
+
"type" : "feature",
|
|
56805
57025
|
"description" : "Successful response",
|
|
56806
57026
|
"attributes" : [ ]
|
|
56807
57027
|
}, {
|
|
@@ -56821,6 +57041,15 @@
|
|
|
56821
57041
|
},
|
|
56822
57042
|
"type" : "io.flow.permission.v0.models.permission_error",
|
|
56823
57043
|
"attributes" : [ ]
|
|
57044
|
+
}, {
|
|
57045
|
+
"code" : {
|
|
57046
|
+
"integer" : {
|
|
57047
|
+
"value" : 404
|
|
57048
|
+
}
|
|
57049
|
+
},
|
|
57050
|
+
"type" : "unit",
|
|
57051
|
+
"description" : "Resource was not found",
|
|
57052
|
+
"attributes" : [ ]
|
|
56824
57053
|
}, {
|
|
56825
57054
|
"code" : {
|
|
56826
57055
|
"integer" : {
|
|
@@ -56832,38 +57061,46 @@
|
|
|
56832
57061
|
"attributes" : [ ]
|
|
56833
57062
|
} ],
|
|
56834
57063
|
"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
57064
|
"name" : "auth",
|
|
56849
57065
|
"value" : {
|
|
56850
57066
|
"techniques" : [ "user", "token" ],
|
|
56851
|
-
"roles" : [ "
|
|
57067
|
+
"roles" : [ "organization_admin" ]
|
|
56852
57068
|
}
|
|
56853
57069
|
} ],
|
|
56854
|
-
"description" : "
|
|
57070
|
+
"description" : "Updates a rule",
|
|
57071
|
+
"body" : {
|
|
57072
|
+
"type" : "feature_rule_form",
|
|
57073
|
+
"attributes" : [ ]
|
|
57074
|
+
}
|
|
56855
57075
|
}, {
|
|
56856
|
-
"method" : "
|
|
56857
|
-
"path" : "/
|
|
56858
|
-
"parameters" : [
|
|
57076
|
+
"method" : "DELETE",
|
|
57077
|
+
"path" : "/:organization/features/:key/rules/:id",
|
|
57078
|
+
"parameters" : [ {
|
|
57079
|
+
"name" : "organization",
|
|
57080
|
+
"type" : "string",
|
|
57081
|
+
"location" : "Path",
|
|
57082
|
+
"required" : true,
|
|
57083
|
+
"description" : "Refers to your organization's account identifier"
|
|
57084
|
+
}, {
|
|
57085
|
+
"name" : "key",
|
|
57086
|
+
"type" : "string",
|
|
57087
|
+
"location" : "Path",
|
|
57088
|
+
"required" : true
|
|
57089
|
+
}, {
|
|
57090
|
+
"name" : "id",
|
|
57091
|
+
"type" : "string",
|
|
57092
|
+
"location" : "Path",
|
|
57093
|
+
"required" : true,
|
|
57094
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
57095
|
+
} ],
|
|
56859
57096
|
"responses" : [ {
|
|
56860
57097
|
"code" : {
|
|
56861
57098
|
"integer" : {
|
|
56862
|
-
"value" :
|
|
57099
|
+
"value" : 204
|
|
56863
57100
|
}
|
|
56864
57101
|
},
|
|
56865
|
-
"type" : "
|
|
56866
|
-
"description" : "Operation succeeded
|
|
57102
|
+
"type" : "unit",
|
|
57103
|
+
"description" : "Operation succeeded. No content is returned",
|
|
56867
57104
|
"attributes" : [ ]
|
|
56868
57105
|
}, {
|
|
56869
57106
|
"code" : {
|
|
@@ -56905,23 +57142,24 @@
|
|
|
56905
57142
|
"name" : "auth",
|
|
56906
57143
|
"value" : {
|
|
56907
57144
|
"techniques" : [ "user", "token" ],
|
|
56908
|
-
"roles" : [ "
|
|
57145
|
+
"roles" : [ "organization_admin" ]
|
|
56909
57146
|
}
|
|
56910
57147
|
} ],
|
|
56911
|
-
"description" : "
|
|
56912
|
-
"body" : {
|
|
56913
|
-
"type" : "flow_currency_setting_form",
|
|
56914
|
-
"attributes" : [ ]
|
|
56915
|
-
}
|
|
57148
|
+
"description" : "Deletes the rule with the specified ID"
|
|
56916
57149
|
}, {
|
|
56917
|
-
"method" : "
|
|
56918
|
-
"path" : "/
|
|
57150
|
+
"method" : "PUT",
|
|
57151
|
+
"path" : "/:organization/features/:key/status",
|
|
56919
57152
|
"parameters" : [ {
|
|
56920
|
-
"name" : "
|
|
57153
|
+
"name" : "organization",
|
|
56921
57154
|
"type" : "string",
|
|
56922
57155
|
"location" : "Path",
|
|
56923
57156
|
"required" : true,
|
|
56924
|
-
"description" : "
|
|
57157
|
+
"description" : "Refers to your organization's account identifier"
|
|
57158
|
+
}, {
|
|
57159
|
+
"name" : "key",
|
|
57160
|
+
"type" : "string",
|
|
57161
|
+
"location" : "Path",
|
|
57162
|
+
"required" : true
|
|
56925
57163
|
} ],
|
|
56926
57164
|
"responses" : [ {
|
|
56927
57165
|
"code" : {
|
|
@@ -56929,7 +57167,7 @@
|
|
|
56929
57167
|
"value" : 200
|
|
56930
57168
|
}
|
|
56931
57169
|
},
|
|
56932
|
-
"type" : "
|
|
57170
|
+
"type" : "feature",
|
|
56933
57171
|
"description" : "Successful response",
|
|
56934
57172
|
"attributes" : [ ]
|
|
56935
57173
|
}, {
|
|
@@ -56958,33 +57196,57 @@
|
|
|
56958
57196
|
"type" : "unit",
|
|
56959
57197
|
"description" : "Resource was not found",
|
|
56960
57198
|
"attributes" : [ ]
|
|
57199
|
+
}, {
|
|
57200
|
+
"code" : {
|
|
57201
|
+
"integer" : {
|
|
57202
|
+
"value" : 422
|
|
57203
|
+
}
|
|
57204
|
+
},
|
|
57205
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
57206
|
+
"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.",
|
|
57207
|
+
"attributes" : [ ]
|
|
56961
57208
|
} ],
|
|
56962
57209
|
"attributes" : [ {
|
|
56963
57210
|
"name" : "auth",
|
|
56964
57211
|
"value" : {
|
|
56965
57212
|
"techniques" : [ "user", "token" ],
|
|
56966
|
-
"roles" : [ "
|
|
57213
|
+
"roles" : [ "organization_admin" ]
|
|
56967
57214
|
}
|
|
56968
57215
|
} ],
|
|
56969
|
-
"
|
|
56970
|
-
|
|
56971
|
-
|
|
56972
|
-
|
|
57216
|
+
"body" : {
|
|
57217
|
+
"type" : "feature_status_form",
|
|
57218
|
+
"attributes" : [ ]
|
|
57219
|
+
}
|
|
57220
|
+
} ],
|
|
57221
|
+
"attributes" : [ {
|
|
57222
|
+
"name" : "docs",
|
|
57223
|
+
"value" : {
|
|
57224
|
+
"module" : "general"
|
|
57225
|
+
}
|
|
57226
|
+
} ],
|
|
57227
|
+
"path" : "/:organization/features",
|
|
57228
|
+
"description" : "Feature flags represent specific individual product features"
|
|
57229
|
+
}, {
|
|
57230
|
+
"type" : "feature_value",
|
|
57231
|
+
"plural" : "feature_values",
|
|
57232
|
+
"operations" : [ {
|
|
57233
|
+
"method" : "POST",
|
|
57234
|
+
"path" : "/:organization/feature/values",
|
|
56973
57235
|
"parameters" : [ {
|
|
56974
|
-
"name" : "
|
|
57236
|
+
"name" : "organization",
|
|
56975
57237
|
"type" : "string",
|
|
56976
57238
|
"location" : "Path",
|
|
56977
57239
|
"required" : true,
|
|
56978
|
-
"description" : "
|
|
57240
|
+
"description" : "Refers to your organization's account identifier"
|
|
56979
57241
|
} ],
|
|
56980
57242
|
"responses" : [ {
|
|
56981
57243
|
"code" : {
|
|
56982
57244
|
"integer" : {
|
|
56983
|
-
"value" :
|
|
57245
|
+
"value" : 201
|
|
56984
57246
|
}
|
|
56985
57247
|
},
|
|
56986
|
-
"type" : "
|
|
56987
|
-
"description" : "
|
|
57248
|
+
"type" : "feature_value_result",
|
|
57249
|
+
"description" : "Operation succeeded and the resource was created",
|
|
56988
57250
|
"attributes" : [ ]
|
|
56989
57251
|
}, {
|
|
56990
57252
|
"code" : {
|
|
@@ -56995,14 +57257,6 @@
|
|
|
56995
57257
|
"type" : "unit",
|
|
56996
57258
|
"description" : "Authorization failed",
|
|
56997
57259
|
"attributes" : [ ]
|
|
56998
|
-
}, {
|
|
56999
|
-
"code" : {
|
|
57000
|
-
"integer" : {
|
|
57001
|
-
"value" : 403
|
|
57002
|
-
}
|
|
57003
|
-
},
|
|
57004
|
-
"type" : "io.flow.permission.v0.models.permission_error",
|
|
57005
|
-
"attributes" : [ ]
|
|
57006
57260
|
}, {
|
|
57007
57261
|
"code" : {
|
|
57008
57262
|
"integer" : {
|
|
@@ -57022,16 +57276,9 @@
|
|
|
57022
57276
|
"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
57277
|
"attributes" : [ ]
|
|
57024
57278
|
} ],
|
|
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.",
|
|
57279
|
+
"attributes" : [ ],
|
|
57033
57280
|
"body" : {
|
|
57034
|
-
"type" : "
|
|
57281
|
+
"type" : "feature_value_form",
|
|
57035
57282
|
"attributes" : [ ]
|
|
57036
57283
|
}
|
|
57037
57284
|
} ],
|
|
@@ -57041,7 +57288,8 @@
|
|
|
57041
57288
|
"module" : "general"
|
|
57042
57289
|
}
|
|
57043
57290
|
} ],
|
|
57044
|
-
"path" : "/
|
|
57291
|
+
"path" : "/:organization/feature/values",
|
|
57292
|
+
"description" : "Represents the value of a given set of features given an evaluation context"
|
|
57045
57293
|
}, {
|
|
57046
57294
|
"type" : "flow_lab_project",
|
|
57047
57295
|
"plural" : "flow_lab_projects",
|
|
@@ -70228,6 +70476,308 @@
|
|
|
70228
70476
|
}
|
|
70229
70477
|
} ],
|
|
70230
70478
|
"path" : "/:organization/reports/revenue/timeline"
|
|
70479
|
+
}, {
|
|
70480
|
+
"type" : "organization_currency_setting",
|
|
70481
|
+
"plural" : "organization_currency_settings",
|
|
70482
|
+
"operations" : [ {
|
|
70483
|
+
"method" : "GET",
|
|
70484
|
+
"path" : "/internal/currency/settings",
|
|
70485
|
+
"parameters" : [ {
|
|
70486
|
+
"name" : "id",
|
|
70487
|
+
"type" : "[string]",
|
|
70488
|
+
"location" : "Query",
|
|
70489
|
+
"required" : false,
|
|
70490
|
+
"description" : "Filter by one or more IDs of this resource",
|
|
70491
|
+
"maximum" : 100
|
|
70492
|
+
}, {
|
|
70493
|
+
"name" : "organization",
|
|
70494
|
+
"type" : "string",
|
|
70495
|
+
"location" : "Query",
|
|
70496
|
+
"required" : false,
|
|
70497
|
+
"description" : "Refers to your organization's account identifier"
|
|
70498
|
+
}, {
|
|
70499
|
+
"name" : "base",
|
|
70500
|
+
"type" : "string",
|
|
70501
|
+
"location" : "Query",
|
|
70502
|
+
"required" : false,
|
|
70503
|
+
"description" : "Filter by the (case-insensitive) base currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
70504
|
+
}, {
|
|
70505
|
+
"name" : "target",
|
|
70506
|
+
"type" : "string",
|
|
70507
|
+
"location" : "Query",
|
|
70508
|
+
"required" : false,
|
|
70509
|
+
"description" : "Filter by the (case-insensitive) target currency's ISO 4217 3-character code as defined in https://api.flow.io/reference/currencies"
|
|
70510
|
+
}, {
|
|
70511
|
+
"name" : "limit",
|
|
70512
|
+
"type" : "long",
|
|
70513
|
+
"location" : "Query",
|
|
70514
|
+
"required" : true,
|
|
70515
|
+
"description" : "The maximum number of results to return",
|
|
70516
|
+
"default" : "25",
|
|
70517
|
+
"minimum" : 1,
|
|
70518
|
+
"maximum" : 100
|
|
70519
|
+
}, {
|
|
70520
|
+
"name" : "offset",
|
|
70521
|
+
"type" : "long",
|
|
70522
|
+
"location" : "Query",
|
|
70523
|
+
"required" : true,
|
|
70524
|
+
"description" : "The number of results to skip before returning results",
|
|
70525
|
+
"default" : "0",
|
|
70526
|
+
"minimum" : 0
|
|
70527
|
+
}, {
|
|
70528
|
+
"name" : "sort",
|
|
70529
|
+
"type" : "string",
|
|
70530
|
+
"location" : "Query",
|
|
70531
|
+
"required" : true,
|
|
70532
|
+
"default" : "-created_at"
|
|
70533
|
+
} ],
|
|
70534
|
+
"responses" : [ {
|
|
70535
|
+
"code" : {
|
|
70536
|
+
"integer" : {
|
|
70537
|
+
"value" : 200
|
|
70538
|
+
}
|
|
70539
|
+
},
|
|
70540
|
+
"type" : "[organization_currency_setting]",
|
|
70541
|
+
"description" : "Successful response",
|
|
70542
|
+
"attributes" : [ ]
|
|
70543
|
+
}, {
|
|
70544
|
+
"code" : {
|
|
70545
|
+
"integer" : {
|
|
70546
|
+
"value" : 401
|
|
70547
|
+
}
|
|
70548
|
+
},
|
|
70549
|
+
"type" : "unit",
|
|
70550
|
+
"description" : "Authorization failed",
|
|
70551
|
+
"attributes" : [ ]
|
|
70552
|
+
}, {
|
|
70553
|
+
"code" : {
|
|
70554
|
+
"integer" : {
|
|
70555
|
+
"value" : 403
|
|
70556
|
+
}
|
|
70557
|
+
},
|
|
70558
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
70559
|
+
"attributes" : [ ]
|
|
70560
|
+
}, {
|
|
70561
|
+
"code" : {
|
|
70562
|
+
"integer" : {
|
|
70563
|
+
"value" : 422
|
|
70564
|
+
}
|
|
70565
|
+
},
|
|
70566
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
70567
|
+
"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.",
|
|
70568
|
+
"attributes" : [ ]
|
|
70569
|
+
} ],
|
|
70570
|
+
"attributes" : [ {
|
|
70571
|
+
"name" : "sort",
|
|
70572
|
+
"value" : {
|
|
70573
|
+
"values" : [ {
|
|
70574
|
+
"value" : "id"
|
|
70575
|
+
}, {
|
|
70576
|
+
"value" : "base"
|
|
70577
|
+
}, {
|
|
70578
|
+
"value" : "target"
|
|
70579
|
+
}, {
|
|
70580
|
+
"value" : "created_at"
|
|
70581
|
+
} ]
|
|
70582
|
+
}
|
|
70583
|
+
}, {
|
|
70584
|
+
"name" : "auth",
|
|
70585
|
+
"value" : {
|
|
70586
|
+
"techniques" : [ "user", "token" ],
|
|
70587
|
+
"roles" : [ "flow_operations" ]
|
|
70588
|
+
}
|
|
70589
|
+
} ],
|
|
70590
|
+
"description" : "Search organization currency settings. Always paginated."
|
|
70591
|
+
}, {
|
|
70592
|
+
"method" : "POST",
|
|
70593
|
+
"path" : "/internal/currency/settings",
|
|
70594
|
+
"parameters" : [ ],
|
|
70595
|
+
"responses" : [ {
|
|
70596
|
+
"code" : {
|
|
70597
|
+
"integer" : {
|
|
70598
|
+
"value" : 201
|
|
70599
|
+
}
|
|
70600
|
+
},
|
|
70601
|
+
"type" : "organization_currency_setting",
|
|
70602
|
+
"description" : "Operation succeeded and the resource was created",
|
|
70603
|
+
"attributes" : [ ]
|
|
70604
|
+
}, {
|
|
70605
|
+
"code" : {
|
|
70606
|
+
"integer" : {
|
|
70607
|
+
"value" : 401
|
|
70608
|
+
}
|
|
70609
|
+
},
|
|
70610
|
+
"type" : "unit",
|
|
70611
|
+
"description" : "Authorization failed",
|
|
70612
|
+
"attributes" : [ ]
|
|
70613
|
+
}, {
|
|
70614
|
+
"code" : {
|
|
70615
|
+
"integer" : {
|
|
70616
|
+
"value" : 403
|
|
70617
|
+
}
|
|
70618
|
+
},
|
|
70619
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
70620
|
+
"attributes" : [ ]
|
|
70621
|
+
}, {
|
|
70622
|
+
"code" : {
|
|
70623
|
+
"integer" : {
|
|
70624
|
+
"value" : 404
|
|
70625
|
+
}
|
|
70626
|
+
},
|
|
70627
|
+
"type" : "unit",
|
|
70628
|
+
"description" : "Resource was not found",
|
|
70629
|
+
"attributes" : [ ]
|
|
70630
|
+
}, {
|
|
70631
|
+
"code" : {
|
|
70632
|
+
"integer" : {
|
|
70633
|
+
"value" : 422
|
|
70634
|
+
}
|
|
70635
|
+
},
|
|
70636
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
70637
|
+
"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.",
|
|
70638
|
+
"attributes" : [ ]
|
|
70639
|
+
} ],
|
|
70640
|
+
"attributes" : [ {
|
|
70641
|
+
"name" : "auth",
|
|
70642
|
+
"value" : {
|
|
70643
|
+
"techniques" : [ "user", "token" ],
|
|
70644
|
+
"roles" : [ "flow_operations" ]
|
|
70645
|
+
}
|
|
70646
|
+
} ],
|
|
70647
|
+
"description" : "Create organization currency settings.",
|
|
70648
|
+
"body" : {
|
|
70649
|
+
"type" : "organization_currency_setting_form",
|
|
70650
|
+
"attributes" : [ ]
|
|
70651
|
+
}
|
|
70652
|
+
}, {
|
|
70653
|
+
"method" : "GET",
|
|
70654
|
+
"path" : "/internal/currency/settings/:id",
|
|
70655
|
+
"parameters" : [ {
|
|
70656
|
+
"name" : "id",
|
|
70657
|
+
"type" : "string",
|
|
70658
|
+
"location" : "Path",
|
|
70659
|
+
"required" : true,
|
|
70660
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
70661
|
+
} ],
|
|
70662
|
+
"responses" : [ {
|
|
70663
|
+
"code" : {
|
|
70664
|
+
"integer" : {
|
|
70665
|
+
"value" : 200
|
|
70666
|
+
}
|
|
70667
|
+
},
|
|
70668
|
+
"type" : "organization_currency_setting",
|
|
70669
|
+
"description" : "Successful response",
|
|
70670
|
+
"attributes" : [ ]
|
|
70671
|
+
}, {
|
|
70672
|
+
"code" : {
|
|
70673
|
+
"integer" : {
|
|
70674
|
+
"value" : 401
|
|
70675
|
+
}
|
|
70676
|
+
},
|
|
70677
|
+
"type" : "unit",
|
|
70678
|
+
"description" : "Authorization failed",
|
|
70679
|
+
"attributes" : [ ]
|
|
70680
|
+
}, {
|
|
70681
|
+
"code" : {
|
|
70682
|
+
"integer" : {
|
|
70683
|
+
"value" : 403
|
|
70684
|
+
}
|
|
70685
|
+
},
|
|
70686
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
70687
|
+
"attributes" : [ ]
|
|
70688
|
+
}, {
|
|
70689
|
+
"code" : {
|
|
70690
|
+
"integer" : {
|
|
70691
|
+
"value" : 404
|
|
70692
|
+
}
|
|
70693
|
+
},
|
|
70694
|
+
"type" : "unit",
|
|
70695
|
+
"description" : "Resource was not found",
|
|
70696
|
+
"attributes" : [ ]
|
|
70697
|
+
} ],
|
|
70698
|
+
"attributes" : [ {
|
|
70699
|
+
"name" : "auth",
|
|
70700
|
+
"value" : {
|
|
70701
|
+
"techniques" : [ "user", "token" ],
|
|
70702
|
+
"roles" : [ "flow_operations" ]
|
|
70703
|
+
}
|
|
70704
|
+
} ],
|
|
70705
|
+
"description" : "Get organization currency settings."
|
|
70706
|
+
}, {
|
|
70707
|
+
"method" : "PUT",
|
|
70708
|
+
"path" : "/internal/currency/settings/:id",
|
|
70709
|
+
"parameters" : [ {
|
|
70710
|
+
"name" : "id",
|
|
70711
|
+
"type" : "string",
|
|
70712
|
+
"location" : "Path",
|
|
70713
|
+
"required" : true,
|
|
70714
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
70715
|
+
} ],
|
|
70716
|
+
"responses" : [ {
|
|
70717
|
+
"code" : {
|
|
70718
|
+
"integer" : {
|
|
70719
|
+
"value" : 200
|
|
70720
|
+
}
|
|
70721
|
+
},
|
|
70722
|
+
"type" : "organization_currency_setting",
|
|
70723
|
+
"description" : "Successful response",
|
|
70724
|
+
"attributes" : [ ]
|
|
70725
|
+
}, {
|
|
70726
|
+
"code" : {
|
|
70727
|
+
"integer" : {
|
|
70728
|
+
"value" : 401
|
|
70729
|
+
}
|
|
70730
|
+
},
|
|
70731
|
+
"type" : "unit",
|
|
70732
|
+
"description" : "Authorization failed",
|
|
70733
|
+
"attributes" : [ ]
|
|
70734
|
+
}, {
|
|
70735
|
+
"code" : {
|
|
70736
|
+
"integer" : {
|
|
70737
|
+
"value" : 403
|
|
70738
|
+
}
|
|
70739
|
+
},
|
|
70740
|
+
"type" : "io.flow.permission.v0.models.permission_error",
|
|
70741
|
+
"attributes" : [ ]
|
|
70742
|
+
}, {
|
|
70743
|
+
"code" : {
|
|
70744
|
+
"integer" : {
|
|
70745
|
+
"value" : 404
|
|
70746
|
+
}
|
|
70747
|
+
},
|
|
70748
|
+
"type" : "unit",
|
|
70749
|
+
"description" : "Resource was not found",
|
|
70750
|
+
"attributes" : [ ]
|
|
70751
|
+
}, {
|
|
70752
|
+
"code" : {
|
|
70753
|
+
"integer" : {
|
|
70754
|
+
"value" : 422
|
|
70755
|
+
}
|
|
70756
|
+
},
|
|
70757
|
+
"type" : "io.flow.error.v0.models.generic_error",
|
|
70758
|
+
"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.",
|
|
70759
|
+
"attributes" : [ ]
|
|
70760
|
+
} ],
|
|
70761
|
+
"attributes" : [ {
|
|
70762
|
+
"name" : "auth",
|
|
70763
|
+
"value" : {
|
|
70764
|
+
"techniques" : [ "user", "token" ],
|
|
70765
|
+
"roles" : [ "flow_operations" ]
|
|
70766
|
+
}
|
|
70767
|
+
} ],
|
|
70768
|
+
"description" : "Update an existing organization currency settings.",
|
|
70769
|
+
"body" : {
|
|
70770
|
+
"type" : "organization_currency_setting_form",
|
|
70771
|
+
"attributes" : [ ]
|
|
70772
|
+
}
|
|
70773
|
+
} ],
|
|
70774
|
+
"attributes" : [ {
|
|
70775
|
+
"name" : "docs",
|
|
70776
|
+
"value" : {
|
|
70777
|
+
"module" : "general"
|
|
70778
|
+
}
|
|
70779
|
+
} ],
|
|
70780
|
+
"path" : "/internal/currency/settings"
|
|
70231
70781
|
}, {
|
|
70232
70782
|
"type" : "organization_membership_copy",
|
|
70233
70783
|
"plural" : "organization_membership_copies",
|