@flowio/api-internal-mock-generator 5.31.6 → 5.31.8
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 +392 -432
- package/package.json +2 -2
- package/src/api-internal.json +392 -432
package/dist/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.15.
|
|
13
|
+
"version": "0.15.89",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"application": {
|
|
617
617
|
"key": "pricing-indicator-internal-event"
|
|
618
618
|
},
|
|
619
|
-
"version": "0.15.
|
|
619
|
+
"version": "0.15.89",
|
|
620
620
|
"enums": ["pricing_indicator_status", "service_name"],
|
|
621
621
|
"interfaces": [],
|
|
622
622
|
"unions": ["pricing_indicator_event"],
|
|
@@ -3506,6 +3506,20 @@
|
|
|
3506
3506
|
"description": "Unvalidated string of characters."
|
|
3507
3507
|
}],
|
|
3508
3508
|
"attributes": []
|
|
3509
|
+
}, {
|
|
3510
|
+
"name": "fees_source",
|
|
3511
|
+
"plural": "fees_sources",
|
|
3512
|
+
"values": [{
|
|
3513
|
+
"name": "settings",
|
|
3514
|
+
"attributes": [],
|
|
3515
|
+
"description": "Fees are defined in account_settings and should be used directly"
|
|
3516
|
+
}, {
|
|
3517
|
+
"name": "authorization_bundle",
|
|
3518
|
+
"attributes": [],
|
|
3519
|
+
"description": "Fees are provided in the API as part of the 'authorization_bundle' resource"
|
|
3520
|
+
}],
|
|
3521
|
+
"attributes": [],
|
|
3522
|
+
"description": "Determines where billing should look to find the fees to apply to a given order"
|
|
3509
3523
|
}, {
|
|
3510
3524
|
"name": "financial_reporting_responsible_party",
|
|
3511
3525
|
"plural": "financial_reporting_responsible_parties",
|
|
@@ -4590,23 +4604,6 @@
|
|
|
4590
4604
|
}],
|
|
4591
4605
|
"attributes": [],
|
|
4592
4606
|
"description": "Whether a processor account or merchant is active and able to receive traffic."
|
|
4593
|
-
}, {
|
|
4594
|
-
"name": "product_restriction_status",
|
|
4595
|
-
"plural": "product_restriction_statuses",
|
|
4596
|
-
"values": [{
|
|
4597
|
-
"name": "pending",
|
|
4598
|
-
"attributes": []
|
|
4599
|
-
}, {
|
|
4600
|
-
"name": "in_review",
|
|
4601
|
-
"attributes": []
|
|
4602
|
-
}, {
|
|
4603
|
-
"name": "accepted",
|
|
4604
|
-
"attributes": []
|
|
4605
|
-
}, {
|
|
4606
|
-
"name": "restricted",
|
|
4607
|
-
"attributes": []
|
|
4608
|
-
}],
|
|
4609
|
-
"attributes": []
|
|
4610
4607
|
}, {
|
|
4611
4608
|
"name": "prompt_action",
|
|
4612
4609
|
"plural": "prompt_actions",
|
|
@@ -4796,6 +4793,23 @@
|
|
|
4796
4793
|
"description": "A product may be rejected due to a rule."
|
|
4797
4794
|
}],
|
|
4798
4795
|
"attributes": []
|
|
4796
|
+
}, {
|
|
4797
|
+
"name": "restriction_status",
|
|
4798
|
+
"plural": "restriction_statuses",
|
|
4799
|
+
"values": [{
|
|
4800
|
+
"name": "pending",
|
|
4801
|
+
"attributes": []
|
|
4802
|
+
}, {
|
|
4803
|
+
"name": "in_review",
|
|
4804
|
+
"attributes": []
|
|
4805
|
+
}, {
|
|
4806
|
+
"name": "accepted",
|
|
4807
|
+
"attributes": []
|
|
4808
|
+
}, {
|
|
4809
|
+
"name": "restricted",
|
|
4810
|
+
"attributes": []
|
|
4811
|
+
}],
|
|
4812
|
+
"attributes": []
|
|
4799
4813
|
}, {
|
|
4800
4814
|
"name": "risk_check",
|
|
4801
4815
|
"plural": "risk_checks",
|
|
@@ -11317,20 +11331,45 @@
|
|
|
11317
11331
|
"attributes": [],
|
|
11318
11332
|
"annotations": [],
|
|
11319
11333
|
"description": "If specified and true, we withhold freight based on the estimated cost of each label used. Otherwise we withhold freight based on the order.",
|
|
11320
|
-
"default": "false"
|
|
11321
|
-
"minimum": 0
|
|
11334
|
+
"default": "false"
|
|
11322
11335
|
}, {
|
|
11323
11336
|
"name": "transaction_posting_method",
|
|
11324
11337
|
"type": "transaction_posting_method",
|
|
11325
|
-
"required":
|
|
11338
|
+
"required": true,
|
|
11326
11339
|
"attributes": [],
|
|
11327
|
-
"annotations": []
|
|
11340
|
+
"annotations": [],
|
|
11341
|
+
"default": "time"
|
|
11328
11342
|
}, {
|
|
11329
11343
|
"name": "statement_transfer_transaction_location",
|
|
11330
11344
|
"type": "statement_transfer_transaction_location",
|
|
11331
|
-
"required":
|
|
11345
|
+
"required": true,
|
|
11332
11346
|
"attributes": [],
|
|
11333
|
-
"annotations": []
|
|
11347
|
+
"annotations": [],
|
|
11348
|
+
"default": "transactions_file"
|
|
11349
|
+
}, {
|
|
11350
|
+
"name": "fees_source",
|
|
11351
|
+
"type": "fees_source",
|
|
11352
|
+
"required": true,
|
|
11353
|
+
"attributes": [],
|
|
11354
|
+
"annotations": [],
|
|
11355
|
+
"description": "Determines what the source of fees is for each transaction. Values are 'settings' (which mean the fees come from these settings) or 'authorization_bundle' (take the fees from the billing object in the related 'authorization_bundle')",
|
|
11356
|
+
"default": "settings"
|
|
11357
|
+
}, {
|
|
11358
|
+
"name": "require_payment_request",
|
|
11359
|
+
"type": "boolean",
|
|
11360
|
+
"required": true,
|
|
11361
|
+
"attributes": [],
|
|
11362
|
+
"annotations": [],
|
|
11363
|
+
"description": "If true, we require a payment request before creating a processing transaction. This payment request will then be written into the processing_transactions table. When enabled, we wait for the payment request id to come from the authorization_bundle from payment service",
|
|
11364
|
+
"default": "false"
|
|
11365
|
+
}, {
|
|
11366
|
+
"name": "round_individual_transactions",
|
|
11367
|
+
"type": "boolean",
|
|
11368
|
+
"required": true,
|
|
11369
|
+
"attributes": [],
|
|
11370
|
+
"annotations": [],
|
|
11371
|
+
"description": "If true, we will round each individual transaction for this account to currency precision. We added this feature to support Shopify that required transactions in cents - and thus needed rounding to ensure accuracy between the two systems. Otherwise our preference is to NOT round individual transactions - we just round the final transfers we make to organizations",
|
|
11372
|
+
"default": "false"
|
|
11334
11373
|
}],
|
|
11335
11374
|
"attributes": [],
|
|
11336
11375
|
"interfaces": []
|
|
@@ -43113,7 +43152,7 @@
|
|
|
43113
43152
|
"annotations": [],
|
|
43114
43153
|
"description": "Refers to your organization's account identifier"
|
|
43115
43154
|
}, {
|
|
43116
|
-
"name": "
|
|
43155
|
+
"name": "earliest_date",
|
|
43117
43156
|
"type": "date-time-iso8601",
|
|
43118
43157
|
"required": true,
|
|
43119
43158
|
"attributes": [],
|
|
@@ -45993,7 +46032,10 @@
|
|
|
45993
46032
|
"minimum": 0
|
|
45994
46033
|
}],
|
|
45995
46034
|
"attributes": [],
|
|
45996
|
-
"interfaces": []
|
|
46035
|
+
"interfaces": [],
|
|
46036
|
+
"deprecation": {
|
|
46037
|
+
"description": "To be removed"
|
|
46038
|
+
}
|
|
45997
46039
|
}, {
|
|
45998
46040
|
"name": "product_restriction_decision",
|
|
45999
46041
|
"plural": "product_restriction_decisions",
|
|
@@ -46005,7 +46047,7 @@
|
|
|
46005
46047
|
"annotations": []
|
|
46006
46048
|
}, {
|
|
46007
46049
|
"name": "status",
|
|
46008
|
-
"type": "
|
|
46050
|
+
"type": "restriction_status",
|
|
46009
46051
|
"required": true,
|
|
46010
46052
|
"attributes": [],
|
|
46011
46053
|
"annotations": []
|
|
@@ -47529,53 +47571,6 @@
|
|
|
47529
47571
|
}],
|
|
47530
47572
|
"attributes": [],
|
|
47531
47573
|
"interfaces": []
|
|
47532
|
-
}, {
|
|
47533
|
-
"name": "redacted_secret",
|
|
47534
|
-
"plural": "redacted_secrets",
|
|
47535
|
-
"fields": [{
|
|
47536
|
-
"name": "id",
|
|
47537
|
-
"type": "string",
|
|
47538
|
-
"required": true,
|
|
47539
|
-
"attributes": [],
|
|
47540
|
-
"annotations": [],
|
|
47541
|
-
"description": "Globally unique identifier",
|
|
47542
|
-
"example": "sec-201804-1"
|
|
47543
|
-
}, {
|
|
47544
|
-
"name": "key",
|
|
47545
|
-
"type": "string",
|
|
47546
|
-
"required": true,
|
|
47547
|
-
"attributes": [],
|
|
47548
|
-
"annotations": [],
|
|
47549
|
-
"default": "[redacted]"
|
|
47550
|
-
}, {
|
|
47551
|
-
"name": "created_at",
|
|
47552
|
-
"type": "date-time-iso8601",
|
|
47553
|
-
"required": true,
|
|
47554
|
-
"attributes": [],
|
|
47555
|
-
"annotations": []
|
|
47556
|
-
}],
|
|
47557
|
-
"attributes": [],
|
|
47558
|
-
"interfaces": []
|
|
47559
|
-
}, {
|
|
47560
|
-
"name": "redacted_secret_config",
|
|
47561
|
-
"plural": "redacted_secret_configs",
|
|
47562
|
-
"fields": [{
|
|
47563
|
-
"name": "secrets",
|
|
47564
|
-
"type": "[redacted_secret]",
|
|
47565
|
-
"required": true,
|
|
47566
|
-
"attributes": [],
|
|
47567
|
-
"annotations": [],
|
|
47568
|
-
"description": "The list of all active secrets. When decoding data, you should consider the value valid if it is successfully decoded using any of these secrets."
|
|
47569
|
-
}, {
|
|
47570
|
-
"name": "preferred_secret_id",
|
|
47571
|
-
"type": "string",
|
|
47572
|
-
"required": true,
|
|
47573
|
-
"attributes": [],
|
|
47574
|
-
"annotations": [],
|
|
47575
|
-
"description": "This is the ID of the secret that should be used when encoding values. This ID is guaranteed to appear in the list of secrets. In general you should expect the most recent secret to be the one with which we prefer to encode."
|
|
47576
|
-
}],
|
|
47577
|
-
"attributes": [],
|
|
47578
|
-
"interfaces": []
|
|
47579
47574
|
}, {
|
|
47580
47575
|
"name": "redirect",
|
|
47581
47576
|
"plural": "redirects",
|
|
@@ -47720,14 +47715,105 @@
|
|
|
47720
47715
|
"name": "restriction_item",
|
|
47721
47716
|
"plural": "restriction_items",
|
|
47722
47717
|
"fields": [{
|
|
47718
|
+
"name": "id",
|
|
47719
|
+
"type": "string",
|
|
47720
|
+
"required": true,
|
|
47721
|
+
"attributes": [],
|
|
47722
|
+
"annotations": [],
|
|
47723
|
+
"description": "Globally unique identifier"
|
|
47724
|
+
}, {
|
|
47723
47725
|
"name": "organization_id",
|
|
47724
47726
|
"type": "string",
|
|
47725
47727
|
"required": true,
|
|
47726
47728
|
"attributes": [],
|
|
47727
47729
|
"annotations": []
|
|
47728
47730
|
}, {
|
|
47729
|
-
"name": "
|
|
47730
|
-
"type": "
|
|
47731
|
+
"name": "product_id",
|
|
47732
|
+
"type": "string",
|
|
47733
|
+
"required": true,
|
|
47734
|
+
"attributes": [],
|
|
47735
|
+
"annotations": []
|
|
47736
|
+
}, {
|
|
47737
|
+
"name": "name",
|
|
47738
|
+
"type": "string",
|
|
47739
|
+
"required": true,
|
|
47740
|
+
"attributes": [],
|
|
47741
|
+
"annotations": [],
|
|
47742
|
+
"description": "The product name"
|
|
47743
|
+
}, {
|
|
47744
|
+
"name": "images",
|
|
47745
|
+
"type": "[io.flow.catalog.v0.models.image]",
|
|
47746
|
+
"required": true,
|
|
47747
|
+
"attributes": [],
|
|
47748
|
+
"annotations": [],
|
|
47749
|
+
"default": "[]"
|
|
47750
|
+
}, {
|
|
47751
|
+
"name": "thumbnails",
|
|
47752
|
+
"type": "[io.flow.catalog.v0.models.image]",
|
|
47753
|
+
"required": true,
|
|
47754
|
+
"attributes": [],
|
|
47755
|
+
"annotations": [],
|
|
47756
|
+
"default": "[]"
|
|
47757
|
+
}, {
|
|
47758
|
+
"name": "review",
|
|
47759
|
+
"type": "restriction_item_review",
|
|
47760
|
+
"required": true,
|
|
47761
|
+
"attributes": [],
|
|
47762
|
+
"annotations": []
|
|
47763
|
+
}, {
|
|
47764
|
+
"name": "updated_at",
|
|
47765
|
+
"type": "date-time-iso8601",
|
|
47766
|
+
"required": true,
|
|
47767
|
+
"attributes": [],
|
|
47768
|
+
"annotations": [],
|
|
47769
|
+
"description": "Date the product was last updated in the catalog"
|
|
47770
|
+
}],
|
|
47771
|
+
"attributes": [],
|
|
47772
|
+
"interfaces": []
|
|
47773
|
+
}, {
|
|
47774
|
+
"name": "restriction_item_review",
|
|
47775
|
+
"plural": "restriction_item_reviews",
|
|
47776
|
+
"fields": [{
|
|
47777
|
+
"name": "rule",
|
|
47778
|
+
"type": "restriction_rule_summary",
|
|
47779
|
+
"required": true,
|
|
47780
|
+
"attributes": [],
|
|
47781
|
+
"annotations": []
|
|
47782
|
+
}, {
|
|
47783
|
+
"name": "status",
|
|
47784
|
+
"type": "restriction_status",
|
|
47785
|
+
"required": true,
|
|
47786
|
+
"attributes": [],
|
|
47787
|
+
"annotations": []
|
|
47788
|
+
}, {
|
|
47789
|
+
"name": "keywords",
|
|
47790
|
+
"type": "restriction_keywords",
|
|
47791
|
+
"required": true,
|
|
47792
|
+
"attributes": [],
|
|
47793
|
+
"annotations": [],
|
|
47794
|
+
"description": "Matching positive and negative keywords matching a rule"
|
|
47795
|
+
}, {
|
|
47796
|
+
"name": "date",
|
|
47797
|
+
"type": "date-time-iso8601",
|
|
47798
|
+
"required": false,
|
|
47799
|
+
"attributes": [],
|
|
47800
|
+
"annotations": [],
|
|
47801
|
+
"description": "Date of review"
|
|
47802
|
+
}],
|
|
47803
|
+
"attributes": [],
|
|
47804
|
+
"interfaces": []
|
|
47805
|
+
}, {
|
|
47806
|
+
"name": "restriction_item_review_decision_form",
|
|
47807
|
+
"plural": "restriction_item_review_decision_forms",
|
|
47808
|
+
"fields": [{
|
|
47809
|
+
"name": "restriction_item_id",
|
|
47810
|
+
"type": "string",
|
|
47811
|
+
"required": true,
|
|
47812
|
+
"attributes": [],
|
|
47813
|
+
"annotations": []
|
|
47814
|
+
}, {
|
|
47815
|
+
"name": "decision",
|
|
47816
|
+
"type": "restriction_decision",
|
|
47731
47817
|
"required": true,
|
|
47732
47818
|
"attributes": [],
|
|
47733
47819
|
"annotations": []
|
|
@@ -47743,14 +47829,16 @@
|
|
|
47743
47829
|
"required": true,
|
|
47744
47830
|
"attributes": [],
|
|
47745
47831
|
"annotations": [],
|
|
47746
|
-
"description": "Matching positive keywords"
|
|
47832
|
+
"description": "Matching positive keywords",
|
|
47833
|
+
"default": "[]"
|
|
47747
47834
|
}, {
|
|
47748
47835
|
"name": "negative_keywords",
|
|
47749
47836
|
"type": "[string]",
|
|
47750
47837
|
"required": true,
|
|
47751
47838
|
"attributes": [],
|
|
47752
47839
|
"annotations": [],
|
|
47753
|
-
"description": "Matching negative keywords indicating possible false positives"
|
|
47840
|
+
"description": "Matching negative keywords indicating possible false positives",
|
|
47841
|
+
"default": "[]"
|
|
47754
47842
|
}],
|
|
47755
47843
|
"attributes": [],
|
|
47756
47844
|
"interfaces": []
|
|
@@ -47776,30 +47864,31 @@
|
|
|
47776
47864
|
"name": "restriction_product",
|
|
47777
47865
|
"plural": "restriction_products",
|
|
47778
47866
|
"fields": [{
|
|
47779
|
-
"name": "
|
|
47867
|
+
"name": "organization_id",
|
|
47780
47868
|
"type": "string",
|
|
47781
47869
|
"required": true,
|
|
47782
47870
|
"attributes": [],
|
|
47783
|
-
"annotations": []
|
|
47784
|
-
"description": "Globally unique identifier"
|
|
47871
|
+
"annotations": []
|
|
47785
47872
|
}, {
|
|
47786
|
-
"name": "
|
|
47873
|
+
"name": "product_id",
|
|
47787
47874
|
"type": "string",
|
|
47788
47875
|
"required": true,
|
|
47789
47876
|
"attributes": [],
|
|
47790
47877
|
"annotations": []
|
|
47791
47878
|
}, {
|
|
47792
|
-
"name": "
|
|
47879
|
+
"name": "name",
|
|
47793
47880
|
"type": "string",
|
|
47794
47881
|
"required": true,
|
|
47795
47882
|
"attributes": [],
|
|
47796
|
-
"annotations": []
|
|
47883
|
+
"annotations": [],
|
|
47884
|
+
"description": "The product name"
|
|
47797
47885
|
}, {
|
|
47798
|
-
"name": "
|
|
47799
|
-
"type": "
|
|
47886
|
+
"name": "description",
|
|
47887
|
+
"type": "string",
|
|
47800
47888
|
"required": true,
|
|
47801
47889
|
"attributes": [],
|
|
47802
|
-
"annotations": []
|
|
47890
|
+
"annotations": [],
|
|
47891
|
+
"description": "The complete raw product description including formatting tags"
|
|
47803
47892
|
}, {
|
|
47804
47893
|
"name": "categories",
|
|
47805
47894
|
"type": "[string]",
|
|
@@ -47808,47 +47897,38 @@
|
|
|
47808
47897
|
"annotations": [],
|
|
47809
47898
|
"default": "[]"
|
|
47810
47899
|
}, {
|
|
47811
|
-
"name": "
|
|
47812
|
-
"type": "
|
|
47900
|
+
"name": "images",
|
|
47901
|
+
"type": "[io.flow.catalog.v0.models.image]",
|
|
47813
47902
|
"required": true,
|
|
47814
47903
|
"attributes": [],
|
|
47815
47904
|
"annotations": [],
|
|
47816
|
-
"
|
|
47905
|
+
"default": "[]"
|
|
47817
47906
|
}, {
|
|
47818
|
-
"name": "
|
|
47819
|
-
"type": "[
|
|
47820
|
-
"required": true,
|
|
47821
|
-
"attributes": [],
|
|
47822
|
-
"annotations": []
|
|
47823
|
-
}],
|
|
47824
|
-
"attributes": [],
|
|
47825
|
-
"interfaces": []
|
|
47826
|
-
}, {
|
|
47827
|
-
"name": "restriction_review",
|
|
47828
|
-
"plural": "restriction_reviews",
|
|
47829
|
-
"fields": [{
|
|
47830
|
-
"name": "rule",
|
|
47831
|
-
"type": "restriction_rule_summary",
|
|
47907
|
+
"name": "thumbnails",
|
|
47908
|
+
"type": "[io.flow.catalog.v0.models.image]",
|
|
47832
47909
|
"required": true,
|
|
47833
47910
|
"attributes": [],
|
|
47834
|
-
"annotations": []
|
|
47911
|
+
"annotations": [],
|
|
47912
|
+
"default": "[]"
|
|
47835
47913
|
}, {
|
|
47836
|
-
"name": "
|
|
47837
|
-
"type": "
|
|
47914
|
+
"name": "updated_at",
|
|
47915
|
+
"type": "date-time-iso8601",
|
|
47838
47916
|
"required": true,
|
|
47839
47917
|
"attributes": [],
|
|
47840
47918
|
"annotations": [],
|
|
47841
|
-
"description": "
|
|
47919
|
+
"description": "Date the product was last updated in the catalog"
|
|
47842
47920
|
}, {
|
|
47843
|
-
"name": "
|
|
47844
|
-
"type": "
|
|
47845
|
-
"required":
|
|
47921
|
+
"name": "restrictions",
|
|
47922
|
+
"type": "[restriction_item_review]",
|
|
47923
|
+
"required": true,
|
|
47846
47924
|
"attributes": [],
|
|
47847
|
-
"annotations": []
|
|
47848
|
-
"description": "Date of review"
|
|
47925
|
+
"annotations": []
|
|
47849
47926
|
}],
|
|
47850
47927
|
"attributes": [],
|
|
47851
|
-
"interfaces": []
|
|
47928
|
+
"interfaces": [],
|
|
47929
|
+
"deprecation": {
|
|
47930
|
+
"description": "To be removed"
|
|
47931
|
+
}
|
|
47852
47932
|
}, {
|
|
47853
47933
|
"name": "restriction_rule",
|
|
47854
47934
|
"plural": "restriction_rules",
|
|
@@ -48540,53 +48620,6 @@
|
|
|
48540
48620
|
"attributes": [],
|
|
48541
48621
|
"interfaces": [],
|
|
48542
48622
|
"description": "Snapshot of relevant information about a tracking number and label for an order"
|
|
48543
|
-
}, {
|
|
48544
|
-
"name": "secret",
|
|
48545
|
-
"plural": "secrets",
|
|
48546
|
-
"fields": [{
|
|
48547
|
-
"name": "id",
|
|
48548
|
-
"type": "string",
|
|
48549
|
-
"required": true,
|
|
48550
|
-
"attributes": [],
|
|
48551
|
-
"annotations": [],
|
|
48552
|
-
"description": "Globally unique identifier",
|
|
48553
|
-
"example": "sec-201804-1"
|
|
48554
|
-
}, {
|
|
48555
|
-
"name": "key",
|
|
48556
|
-
"type": "string",
|
|
48557
|
-
"required": true,
|
|
48558
|
-
"attributes": [],
|
|
48559
|
-
"annotations": [],
|
|
48560
|
-
"description": "The actual secret key, eg the actual salt to use when hashing with JWT"
|
|
48561
|
-
}, {
|
|
48562
|
-
"name": "created_at",
|
|
48563
|
-
"type": "date-time-iso8601",
|
|
48564
|
-
"required": true,
|
|
48565
|
-
"attributes": [],
|
|
48566
|
-
"annotations": []
|
|
48567
|
-
}],
|
|
48568
|
-
"attributes": [],
|
|
48569
|
-
"interfaces": []
|
|
48570
|
-
}, {
|
|
48571
|
-
"name": "secret_config",
|
|
48572
|
-
"plural": "secret_configs",
|
|
48573
|
-
"fields": [{
|
|
48574
|
-
"name": "secrets",
|
|
48575
|
-
"type": "[secret]",
|
|
48576
|
-
"required": true,
|
|
48577
|
-
"attributes": [],
|
|
48578
|
-
"annotations": [],
|
|
48579
|
-
"description": "The list of all active secrets. When decoding data, you should consider the value valid if it is successfully decoded using any of these secrets."
|
|
48580
|
-
}, {
|
|
48581
|
-
"name": "preferred_secret_id",
|
|
48582
|
-
"type": "string",
|
|
48583
|
-
"required": true,
|
|
48584
|
-
"attributes": [],
|
|
48585
|
-
"annotations": [],
|
|
48586
|
-
"description": "This is the ID of the secret that should be used when encoding values. This ID is guaranteed to appear in the list of secrets. In general you should expect the most recent secret to be the one with which we prefer to encode."
|
|
48587
|
-
}],
|
|
48588
|
-
"attributes": [],
|
|
48589
|
-
"interfaces": []
|
|
48590
48623
|
}, {
|
|
48591
48624
|
"name": "session_countries",
|
|
48592
48625
|
"plural": "session_countries",
|
|
@@ -77751,13 +77784,6 @@
|
|
|
77751
77784
|
"method": "GET",
|
|
77752
77785
|
"path": "/internal/organization/restriction/summaries",
|
|
77753
77786
|
"parameters": [{
|
|
77754
|
-
"name": "id",
|
|
77755
|
-
"type": "[string]",
|
|
77756
|
-
"location": "Query",
|
|
77757
|
-
"required": false,
|
|
77758
|
-
"description": "Filter by one or more IDs of this resource",
|
|
77759
|
-
"maximum": 100
|
|
77760
|
-
}, {
|
|
77761
77787
|
"name": "organization_id",
|
|
77762
77788
|
"type": "string",
|
|
77763
77789
|
"location": "Query",
|
|
@@ -77785,12 +77811,6 @@
|
|
|
77785
77811
|
"description": "The number of results to skip before returning results",
|
|
77786
77812
|
"default": "0",
|
|
77787
77813
|
"minimum": 0
|
|
77788
|
-
}, {
|
|
77789
|
-
"name": "sort",
|
|
77790
|
-
"type": "string",
|
|
77791
|
-
"location": "Query",
|
|
77792
|
-
"required": true,
|
|
77793
|
-
"default": "-created_at"
|
|
77794
77814
|
}],
|
|
77795
77815
|
"responses": [{
|
|
77796
77816
|
"code": {
|
|
@@ -77821,13 +77841,9 @@
|
|
|
77821
77841
|
"attributes": []
|
|
77822
77842
|
}],
|
|
77823
77843
|
"attributes": [{
|
|
77824
|
-
"name": "
|
|
77844
|
+
"name": "linter",
|
|
77825
77845
|
"value": {
|
|
77826
|
-
"
|
|
77827
|
-
"value": "organization_id"
|
|
77828
|
-
}, {
|
|
77829
|
-
"value": "date"
|
|
77830
|
-
}]
|
|
77846
|
+
"ignore": ["get", "id", "sort"]
|
|
77831
77847
|
}
|
|
77832
77848
|
}],
|
|
77833
77849
|
"description": "Returns a summary list of organizations with pending restriction reviews"
|
|
@@ -80669,7 +80685,7 @@
|
|
|
80669
80685
|
}],
|
|
80670
80686
|
"description": "Returns the list of product restrictions",
|
|
80671
80687
|
"deprecation": {
|
|
80672
|
-
"description": "
|
|
80688
|
+
"description": "To be removed"
|
|
80673
80689
|
}
|
|
80674
80690
|
}, {
|
|
80675
80691
|
"method": "POST",
|
|
@@ -80747,7 +80763,10 @@
|
|
|
80747
80763
|
"attributes": []
|
|
80748
80764
|
}],
|
|
80749
80765
|
"attributes": [],
|
|
80750
|
-
"description": "Returns a restriction by product id"
|
|
80766
|
+
"description": "Returns a restriction by product id",
|
|
80767
|
+
"deprecation": {
|
|
80768
|
+
"description": "To be removed"
|
|
80769
|
+
}
|
|
80751
80770
|
}, {
|
|
80752
80771
|
"method": "PUT",
|
|
80753
80772
|
"path": "/internal/product/restrictions/:product_id",
|
|
@@ -81340,12 +81359,11 @@
|
|
|
81340
81359
|
"required": true,
|
|
81341
81360
|
"description": "Refers to your organization's account identifier"
|
|
81342
81361
|
}, {
|
|
81343
|
-
"name": "
|
|
81344
|
-
"type": "
|
|
81362
|
+
"name": "status",
|
|
81363
|
+
"type": "restriction_status",
|
|
81345
81364
|
"location": "Query",
|
|
81346
|
-
"required":
|
|
81347
|
-
"
|
|
81348
|
-
"maximum": 100
|
|
81365
|
+
"required": true,
|
|
81366
|
+
"default": "in_review"
|
|
81349
81367
|
}, {
|
|
81350
81368
|
"name": "rule_ids",
|
|
81351
81369
|
"type": "[string]",
|
|
@@ -81369,12 +81387,6 @@
|
|
|
81369
81387
|
"description": "The number of results to skip before returning results",
|
|
81370
81388
|
"default": "0",
|
|
81371
81389
|
"minimum": 0
|
|
81372
|
-
}, {
|
|
81373
|
-
"name": "sort",
|
|
81374
|
-
"type": "string",
|
|
81375
|
-
"location": "Query",
|
|
81376
|
-
"required": true,
|
|
81377
|
-
"default": "-created_at"
|
|
81378
81390
|
}],
|
|
81379
81391
|
"responses": [{
|
|
81380
81392
|
"code": {
|
|
@@ -81405,16 +81417,56 @@
|
|
|
81405
81417
|
"attributes": []
|
|
81406
81418
|
}],
|
|
81407
81419
|
"attributes": [{
|
|
81408
|
-
"name": "
|
|
81420
|
+
"name": "linter",
|
|
81409
81421
|
"value": {
|
|
81410
|
-
"
|
|
81411
|
-
"value": "date"
|
|
81412
|
-
}, {
|
|
81413
|
-
"value": "product"
|
|
81414
|
-
}]
|
|
81422
|
+
"ignore": ["get", "id", "sort"]
|
|
81415
81423
|
}
|
|
81416
81424
|
}],
|
|
81417
|
-
"description": "Returns a list of
|
|
81425
|
+
"description": "Returns a list of product items for an organization"
|
|
81426
|
+
}, {
|
|
81427
|
+
"method": "POST",
|
|
81428
|
+
"path": "/internal/restriction/:organization/items",
|
|
81429
|
+
"parameters": [{
|
|
81430
|
+
"name": "organization",
|
|
81431
|
+
"type": "string",
|
|
81432
|
+
"location": "Path",
|
|
81433
|
+
"required": true,
|
|
81434
|
+
"description": "Refers to your organization's account identifier"
|
|
81435
|
+
}],
|
|
81436
|
+
"responses": [{
|
|
81437
|
+
"code": {
|
|
81438
|
+
"integer": {
|
|
81439
|
+
"value": 201
|
|
81440
|
+
}
|
|
81441
|
+
},
|
|
81442
|
+
"type": "restriction_item",
|
|
81443
|
+
"description": "Operation succeeded and the resource was created",
|
|
81444
|
+
"attributes": []
|
|
81445
|
+
}, {
|
|
81446
|
+
"code": {
|
|
81447
|
+
"integer": {
|
|
81448
|
+
"value": 401
|
|
81449
|
+
}
|
|
81450
|
+
},
|
|
81451
|
+
"type": "unit",
|
|
81452
|
+
"description": "Authorization failed",
|
|
81453
|
+
"attributes": []
|
|
81454
|
+
}, {
|
|
81455
|
+
"code": {
|
|
81456
|
+
"integer": {
|
|
81457
|
+
"value": 422
|
|
81458
|
+
}
|
|
81459
|
+
},
|
|
81460
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
81461
|
+
"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.",
|
|
81462
|
+
"attributes": []
|
|
81463
|
+
}],
|
|
81464
|
+
"attributes": [],
|
|
81465
|
+
"description": "Set the restriction decision for a product item",
|
|
81466
|
+
"body": {
|
|
81467
|
+
"type": "restriction_item_review_decision_form",
|
|
81468
|
+
"attributes": []
|
|
81469
|
+
}
|
|
81418
81470
|
}, {
|
|
81419
81471
|
"method": "GET",
|
|
81420
81472
|
"path": "/internal/restriction/:organization/items/rules",
|
|
@@ -81473,6 +81525,15 @@
|
|
|
81473
81525
|
"type": "unit",
|
|
81474
81526
|
"description": "Authorization failed",
|
|
81475
81527
|
"attributes": []
|
|
81528
|
+
}, {
|
|
81529
|
+
"code": {
|
|
81530
|
+
"integer": {
|
|
81531
|
+
"value": 422
|
|
81532
|
+
}
|
|
81533
|
+
},
|
|
81534
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
81535
|
+
"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.",
|
|
81536
|
+
"attributes": []
|
|
81476
81537
|
}],
|
|
81477
81538
|
"attributes": [{
|
|
81478
81539
|
"name": "sort",
|
|
@@ -81482,7 +81543,53 @@
|
|
|
81482
81543
|
}]
|
|
81483
81544
|
}
|
|
81484
81545
|
}],
|
|
81485
|
-
"description": "Returns the list of restriction rules"
|
|
81546
|
+
"description": "Returns the list of restriction rules currently applicable for an organizations products in review"
|
|
81547
|
+
}, {
|
|
81548
|
+
"method": "GET",
|
|
81549
|
+
"path": "/internal/restriction/:organization/items/:id",
|
|
81550
|
+
"parameters": [{
|
|
81551
|
+
"name": "organization",
|
|
81552
|
+
"type": "string",
|
|
81553
|
+
"location": "Path",
|
|
81554
|
+
"required": true,
|
|
81555
|
+
"description": "Refers to your organization's account identifier"
|
|
81556
|
+
}, {
|
|
81557
|
+
"name": "id",
|
|
81558
|
+
"type": "string",
|
|
81559
|
+
"location": "Path",
|
|
81560
|
+
"required": true,
|
|
81561
|
+
"description": "Filter by one or more IDs of this resource"
|
|
81562
|
+
}],
|
|
81563
|
+
"responses": [{
|
|
81564
|
+
"code": {
|
|
81565
|
+
"integer": {
|
|
81566
|
+
"value": 200
|
|
81567
|
+
}
|
|
81568
|
+
},
|
|
81569
|
+
"type": "restriction_item",
|
|
81570
|
+
"description": "Successful response",
|
|
81571
|
+
"attributes": []
|
|
81572
|
+
}, {
|
|
81573
|
+
"code": {
|
|
81574
|
+
"integer": {
|
|
81575
|
+
"value": 401
|
|
81576
|
+
}
|
|
81577
|
+
},
|
|
81578
|
+
"type": "unit",
|
|
81579
|
+
"description": "Authorization failed",
|
|
81580
|
+
"attributes": []
|
|
81581
|
+
}, {
|
|
81582
|
+
"code": {
|
|
81583
|
+
"integer": {
|
|
81584
|
+
"value": 404
|
|
81585
|
+
}
|
|
81586
|
+
},
|
|
81587
|
+
"type": "unit",
|
|
81588
|
+
"description": "Resource was not found",
|
|
81589
|
+
"attributes": []
|
|
81590
|
+
}],
|
|
81591
|
+
"attributes": [],
|
|
81592
|
+
"description": "Returns a restriction product item by id"
|
|
81486
81593
|
}],
|
|
81487
81594
|
"attributes": [{
|
|
81488
81595
|
"name": "docs",
|
|
@@ -81496,13 +81603,87 @@
|
|
|
81496
81603
|
"plural": "restriction_products",
|
|
81497
81604
|
"operations": [{
|
|
81498
81605
|
"method": "GET",
|
|
81499
|
-
"path": "/internal/restriction/
|
|
81606
|
+
"path": "/internal/restriction/products",
|
|
81500
81607
|
"parameters": [{
|
|
81501
|
-
"name": "
|
|
81608
|
+
"name": "organization_id",
|
|
81502
81609
|
"type": "string",
|
|
81503
|
-
"location": "
|
|
81610
|
+
"location": "Query",
|
|
81611
|
+
"required": false
|
|
81612
|
+
}, {
|
|
81613
|
+
"name": "status",
|
|
81614
|
+
"type": "restriction_status",
|
|
81615
|
+
"location": "Query",
|
|
81616
|
+
"required": false
|
|
81617
|
+
}, {
|
|
81618
|
+
"name": "rule_ids",
|
|
81619
|
+
"type": "[string]",
|
|
81620
|
+
"location": "Query",
|
|
81621
|
+
"required": false,
|
|
81622
|
+
"maximum": 100
|
|
81623
|
+
}, {
|
|
81624
|
+
"name": "limit",
|
|
81625
|
+
"type": "long",
|
|
81626
|
+
"location": "Query",
|
|
81504
81627
|
"required": true,
|
|
81505
|
-
"description": "
|
|
81628
|
+
"description": "The maximum number of results to return",
|
|
81629
|
+
"default": "25",
|
|
81630
|
+
"minimum": 1,
|
|
81631
|
+
"maximum": 100
|
|
81632
|
+
}, {
|
|
81633
|
+
"name": "offset",
|
|
81634
|
+
"type": "long",
|
|
81635
|
+
"location": "Query",
|
|
81636
|
+
"required": true,
|
|
81637
|
+
"description": "The number of results to skip before returning results",
|
|
81638
|
+
"default": "0",
|
|
81639
|
+
"minimum": 0
|
|
81640
|
+
}],
|
|
81641
|
+
"responses": [{
|
|
81642
|
+
"code": {
|
|
81643
|
+
"integer": {
|
|
81644
|
+
"value": 200
|
|
81645
|
+
}
|
|
81646
|
+
},
|
|
81647
|
+
"type": "[restriction_product]",
|
|
81648
|
+
"description": "Successful response",
|
|
81649
|
+
"attributes": []
|
|
81650
|
+
}, {
|
|
81651
|
+
"code": {
|
|
81652
|
+
"integer": {
|
|
81653
|
+
"value": 401
|
|
81654
|
+
}
|
|
81655
|
+
},
|
|
81656
|
+
"type": "unit",
|
|
81657
|
+
"description": "Authorization failed",
|
|
81658
|
+
"attributes": []
|
|
81659
|
+
}, {
|
|
81660
|
+
"code": {
|
|
81661
|
+
"integer": {
|
|
81662
|
+
"value": 422
|
|
81663
|
+
}
|
|
81664
|
+
},
|
|
81665
|
+
"type": "io.flow.error.v0.models.generic_error",
|
|
81666
|
+
"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.",
|
|
81667
|
+
"attributes": []
|
|
81668
|
+
}],
|
|
81669
|
+
"attributes": [{
|
|
81670
|
+
"name": "linter",
|
|
81671
|
+
"value": {
|
|
81672
|
+
"ignore": ["get", "id", "sort"]
|
|
81673
|
+
}
|
|
81674
|
+
}],
|
|
81675
|
+
"description": "Returns a list of products for an organization",
|
|
81676
|
+
"deprecation": {
|
|
81677
|
+
"description": "To be removed"
|
|
81678
|
+
}
|
|
81679
|
+
}, {
|
|
81680
|
+
"method": "GET",
|
|
81681
|
+
"path": "/internal/restriction/products/:product_id",
|
|
81682
|
+
"parameters": [{
|
|
81683
|
+
"name": "product_id",
|
|
81684
|
+
"type": "string",
|
|
81685
|
+
"location": "Path",
|
|
81686
|
+
"required": true
|
|
81506
81687
|
}],
|
|
81507
81688
|
"responses": [{
|
|
81508
81689
|
"code": {
|
|
@@ -81533,7 +81714,10 @@
|
|
|
81533
81714
|
"attributes": []
|
|
81534
81715
|
}],
|
|
81535
81716
|
"attributes": [],
|
|
81536
|
-
"description": "Returns a restriction product by product id"
|
|
81717
|
+
"description": "Returns a restriction product by product id",
|
|
81718
|
+
"deprecation": {
|
|
81719
|
+
"description": "To be removed"
|
|
81720
|
+
}
|
|
81537
81721
|
}],
|
|
81538
81722
|
"attributes": [{
|
|
81539
81723
|
"name": "docs",
|
|
@@ -81541,7 +81725,7 @@
|
|
|
81541
81725
|
"module": "general"
|
|
81542
81726
|
}
|
|
81543
81727
|
}],
|
|
81544
|
-
"path": "/internal/restriction/
|
|
81728
|
+
"path": "/internal/restriction/products"
|
|
81545
81729
|
}, {
|
|
81546
81730
|
"type": "restriction_rule",
|
|
81547
81731
|
"plural": "restriction_rules",
|
|
@@ -82070,230 +82254,6 @@
|
|
|
82070
82254
|
}
|
|
82071
82255
|
}],
|
|
82072
82256
|
"path": "/:organization/search_provider_export"
|
|
82073
|
-
}, {
|
|
82074
|
-
"type": "secret",
|
|
82075
|
-
"plural": "secrets",
|
|
82076
|
-
"operations": [{
|
|
82077
|
-
"method": "GET",
|
|
82078
|
-
"path": "/internal/secrets",
|
|
82079
|
-
"parameters": [{
|
|
82080
|
-
"name": "id",
|
|
82081
|
-
"type": "[string]",
|
|
82082
|
-
"location": "Query",
|
|
82083
|
-
"required": false,
|
|
82084
|
-
"description": "Filter by one or more IDs of this resource",
|
|
82085
|
-
"maximum": 100
|
|
82086
|
-
}, {
|
|
82087
|
-
"name": "limit",
|
|
82088
|
-
"type": "long",
|
|
82089
|
-
"location": "Query",
|
|
82090
|
-
"required": true,
|
|
82091
|
-
"description": "The maximum number of results to return",
|
|
82092
|
-
"default": "25",
|
|
82093
|
-
"minimum": 1,
|
|
82094
|
-
"maximum": 100
|
|
82095
|
-
}, {
|
|
82096
|
-
"name": "offset",
|
|
82097
|
-
"type": "long",
|
|
82098
|
-
"location": "Query",
|
|
82099
|
-
"required": true,
|
|
82100
|
-
"description": "The number of results to skip before returning results",
|
|
82101
|
-
"default": "0",
|
|
82102
|
-
"minimum": 0
|
|
82103
|
-
}, {
|
|
82104
|
-
"name": "sort",
|
|
82105
|
-
"type": "string",
|
|
82106
|
-
"location": "Query",
|
|
82107
|
-
"required": true,
|
|
82108
|
-
"default": "-created_at"
|
|
82109
|
-
}],
|
|
82110
|
-
"responses": [{
|
|
82111
|
-
"code": {
|
|
82112
|
-
"integer": {
|
|
82113
|
-
"value": 200
|
|
82114
|
-
}
|
|
82115
|
-
},
|
|
82116
|
-
"type": "[redacted_secret]",
|
|
82117
|
-
"description": "Successful response",
|
|
82118
|
-
"attributes": []
|
|
82119
|
-
}, {
|
|
82120
|
-
"code": {
|
|
82121
|
-
"integer": {
|
|
82122
|
-
"value": 401
|
|
82123
|
-
}
|
|
82124
|
-
},
|
|
82125
|
-
"type": "unit",
|
|
82126
|
-
"description": "Authorization failed",
|
|
82127
|
-
"attributes": []
|
|
82128
|
-
}, {
|
|
82129
|
-
"code": {
|
|
82130
|
-
"integer": {
|
|
82131
|
-
"value": 404
|
|
82132
|
-
}
|
|
82133
|
-
},
|
|
82134
|
-
"type": "unit",
|
|
82135
|
-
"description": "Resource was not found",
|
|
82136
|
-
"attributes": []
|
|
82137
|
-
}],
|
|
82138
|
-
"attributes": [{
|
|
82139
|
-
"name": "linter",
|
|
82140
|
-
"value": {
|
|
82141
|
-
"ignore": ["versions"]
|
|
82142
|
-
}
|
|
82143
|
-
}, {
|
|
82144
|
-
"name": "sort",
|
|
82145
|
-
"value": {
|
|
82146
|
-
"values": [{
|
|
82147
|
-
"value": "id"
|
|
82148
|
-
}, {
|
|
82149
|
-
"value": "created_at"
|
|
82150
|
-
}]
|
|
82151
|
-
}
|
|
82152
|
-
}],
|
|
82153
|
-
"description": "Update the status of this particular user"
|
|
82154
|
-
}, {
|
|
82155
|
-
"method": "POST",
|
|
82156
|
-
"path": "/internal/secrets",
|
|
82157
|
-
"parameters": [],
|
|
82158
|
-
"responses": [{
|
|
82159
|
-
"code": {
|
|
82160
|
-
"integer": {
|
|
82161
|
-
"value": 201
|
|
82162
|
-
}
|
|
82163
|
-
},
|
|
82164
|
-
"type": "redacted_secret",
|
|
82165
|
-
"description": "Operation succeeded and the resource was created",
|
|
82166
|
-
"attributes": []
|
|
82167
|
-
}, {
|
|
82168
|
-
"code": {
|
|
82169
|
-
"integer": {
|
|
82170
|
-
"value": 401
|
|
82171
|
-
}
|
|
82172
|
-
},
|
|
82173
|
-
"type": "unit",
|
|
82174
|
-
"description": "Authorization failed",
|
|
82175
|
-
"attributes": []
|
|
82176
|
-
}, {
|
|
82177
|
-
"code": {
|
|
82178
|
-
"integer": {
|
|
82179
|
-
"value": 404
|
|
82180
|
-
}
|
|
82181
|
-
},
|
|
82182
|
-
"type": "unit",
|
|
82183
|
-
"description": "Resource was not found",
|
|
82184
|
-
"attributes": []
|
|
82185
|
-
}, {
|
|
82186
|
-
"code": {
|
|
82187
|
-
"integer": {
|
|
82188
|
-
"value": 422
|
|
82189
|
-
}
|
|
82190
|
-
},
|
|
82191
|
-
"type": "io.flow.error.v0.models.generic_error",
|
|
82192
|
-
"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.",
|
|
82193
|
-
"attributes": []
|
|
82194
|
-
}],
|
|
82195
|
-
"attributes": [],
|
|
82196
|
-
"description": "Create and publish a new secret"
|
|
82197
|
-
}],
|
|
82198
|
-
"attributes": [{
|
|
82199
|
-
"name": "docs",
|
|
82200
|
-
"value": {
|
|
82201
|
-
"module": "general"
|
|
82202
|
-
}
|
|
82203
|
-
}],
|
|
82204
|
-
"path": "/internal/secrets"
|
|
82205
|
-
}, {
|
|
82206
|
-
"type": "secret_config",
|
|
82207
|
-
"plural": "secret_configs",
|
|
82208
|
-
"operations": [{
|
|
82209
|
-
"method": "GET",
|
|
82210
|
-
"path": "/internal/secret/config",
|
|
82211
|
-
"parameters": [],
|
|
82212
|
-
"responses": [{
|
|
82213
|
-
"code": {
|
|
82214
|
-
"integer": {
|
|
82215
|
-
"value": 200
|
|
82216
|
-
}
|
|
82217
|
-
},
|
|
82218
|
-
"type": "redacted_secret_config",
|
|
82219
|
-
"description": "Successful response",
|
|
82220
|
-
"attributes": []
|
|
82221
|
-
}, {
|
|
82222
|
-
"code": {
|
|
82223
|
-
"integer": {
|
|
82224
|
-
"value": 401
|
|
82225
|
-
}
|
|
82226
|
-
},
|
|
82227
|
-
"type": "unit",
|
|
82228
|
-
"description": "Authorization failed",
|
|
82229
|
-
"attributes": []
|
|
82230
|
-
}, {
|
|
82231
|
-
"code": {
|
|
82232
|
-
"integer": {
|
|
82233
|
-
"value": 404
|
|
82234
|
-
}
|
|
82235
|
-
},
|
|
82236
|
-
"type": "unit",
|
|
82237
|
-
"description": "Resource was not found",
|
|
82238
|
-
"attributes": []
|
|
82239
|
-
}],
|
|
82240
|
-
"attributes": []
|
|
82241
|
-
}, {
|
|
82242
|
-
"method": "PUT",
|
|
82243
|
-
"path": "/internal/secret/config/preferred/:secret_id",
|
|
82244
|
-
"parameters": [{
|
|
82245
|
-
"name": "secret_id",
|
|
82246
|
-
"type": "string",
|
|
82247
|
-
"location": "Path",
|
|
82248
|
-
"required": true
|
|
82249
|
-
}],
|
|
82250
|
-
"responses": [{
|
|
82251
|
-
"code": {
|
|
82252
|
-
"integer": {
|
|
82253
|
-
"value": 200
|
|
82254
|
-
}
|
|
82255
|
-
},
|
|
82256
|
-
"type": "redacted_secret_config",
|
|
82257
|
-
"description": "Successful response",
|
|
82258
|
-
"attributes": []
|
|
82259
|
-
}, {
|
|
82260
|
-
"code": {
|
|
82261
|
-
"integer": {
|
|
82262
|
-
"value": 401
|
|
82263
|
-
}
|
|
82264
|
-
},
|
|
82265
|
-
"type": "unit",
|
|
82266
|
-
"description": "Authorization failed",
|
|
82267
|
-
"attributes": []
|
|
82268
|
-
}, {
|
|
82269
|
-
"code": {
|
|
82270
|
-
"integer": {
|
|
82271
|
-
"value": 404
|
|
82272
|
-
}
|
|
82273
|
-
},
|
|
82274
|
-
"type": "unit",
|
|
82275
|
-
"description": "Resource was not found",
|
|
82276
|
-
"attributes": []
|
|
82277
|
-
}, {
|
|
82278
|
-
"code": {
|
|
82279
|
-
"integer": {
|
|
82280
|
-
"value": 422
|
|
82281
|
-
}
|
|
82282
|
-
},
|
|
82283
|
-
"type": "io.flow.error.v0.models.generic_error",
|
|
82284
|
-
"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.",
|
|
82285
|
-
"attributes": []
|
|
82286
|
-
}],
|
|
82287
|
-
"attributes": [],
|
|
82288
|
-
"description": "Update the config to set the preferred secret to the one specified"
|
|
82289
|
-
}],
|
|
82290
|
-
"attributes": [{
|
|
82291
|
-
"name": "docs",
|
|
82292
|
-
"value": {
|
|
82293
|
-
"module": "general"
|
|
82294
|
-
}
|
|
82295
|
-
}],
|
|
82296
|
-
"path": "/internal/secret/config"
|
|
82297
82257
|
}, {
|
|
82298
82258
|
"type": "session_countries",
|
|
82299
82259
|
"plural": "session_countries",
|