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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@
10
10
  "key": "api-internal"
11
11
  },
12
12
  "namespace": "io.flow.internal.v0",
13
- "version": "0.15.83",
13
+ "version": "0.15.88",
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.83",
619
+ "version": "0.15.88",
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",
@@ -11331,6 +11345,12 @@
11331
11345
  "required": false,
11332
11346
  "attributes": [],
11333
11347
  "annotations": []
11348
+ }, {
11349
+ "name": "fees_source",
11350
+ "type": "fees_source",
11351
+ "required": false,
11352
+ "attributes": [],
11353
+ "annotations": []
11334
11354
  }],
11335
11355
  "attributes": [],
11336
11356
  "interfaces": []
@@ -43113,7 +43133,7 @@
43113
43133
  "annotations": [],
43114
43134
  "description": "Refers to your organization's account identifier"
43115
43135
  }, {
43116
- "name": "date",
43136
+ "name": "earliest_date",
43117
43137
  "type": "date-time-iso8601",
43118
43138
  "required": true,
43119
43139
  "attributes": [],
@@ -47529,53 +47549,6 @@
47529
47549
  }],
47530
47550
  "attributes": [],
47531
47551
  "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
47552
  }, {
47580
47553
  "name": "redirect",
47581
47554
  "plural": "redirects",
@@ -47720,17 +47693,58 @@
47720
47693
  "name": "restriction_item",
47721
47694
  "plural": "restriction_items",
47722
47695
  "fields": [{
47696
+ "name": "id",
47697
+ "type": "string",
47698
+ "required": true,
47699
+ "attributes": [],
47700
+ "annotations": [],
47701
+ "description": "The product ID"
47702
+ }, {
47723
47703
  "name": "organization_id",
47724
47704
  "type": "string",
47725
47705
  "required": true,
47726
47706
  "attributes": [],
47727
47707
  "annotations": []
47728
47708
  }, {
47729
- "name": "product",
47730
- "type": "restriction_product",
47709
+ "name": "name",
47710
+ "type": "string",
47711
+ "required": true,
47712
+ "attributes": [],
47713
+ "annotations": [],
47714
+ "description": "The product name"
47715
+ }, {
47716
+ "name": "thumbnail",
47717
+ "type": "io.flow.catalog.v0.models.image",
47718
+ "required": true,
47719
+ "attributes": [],
47720
+ "annotations": []
47721
+ }, {
47722
+ "name": "keywords",
47723
+ "type": "restriction_keywords",
47724
+ "required": true,
47725
+ "attributes": [],
47726
+ "annotations": [],
47727
+ "description": "Matching positive and negative keywords matching a rule"
47728
+ }, {
47729
+ "name": "rule",
47730
+ "type": "restriction_rule_summary",
47731
+ "required": true,
47732
+ "attributes": [],
47733
+ "annotations": [],
47734
+ "description": "The restriction rule applied to this product item"
47735
+ }, {
47736
+ "name": "status",
47737
+ "type": "product_restriction_status",
47731
47738
  "required": true,
47732
47739
  "attributes": [],
47733
47740
  "annotations": []
47741
+ }, {
47742
+ "name": "updated_at",
47743
+ "type": "date-time-iso8601",
47744
+ "required": true,
47745
+ "attributes": [],
47746
+ "annotations": [],
47747
+ "description": "Date the product was last updated in the catalog"
47734
47748
  }],
47735
47749
  "attributes": [],
47736
47750
  "interfaces": []
@@ -47781,25 +47795,41 @@
47781
47795
  "required": true,
47782
47796
  "attributes": [],
47783
47797
  "annotations": [],
47784
- "description": "Globally unique identifier"
47798
+ "description": "The product ID"
47785
47799
  }, {
47786
- "name": "name",
47800
+ "name": "organization_id",
47787
47801
  "type": "string",
47788
47802
  "required": true,
47789
47803
  "attributes": [],
47790
47804
  "annotations": []
47805
+ }, {
47806
+ "name": "name",
47807
+ "type": "string",
47808
+ "required": true,
47809
+ "attributes": [],
47810
+ "annotations": [],
47811
+ "description": "The product name"
47791
47812
  }, {
47792
47813
  "name": "description",
47793
47814
  "type": "string",
47794
47815
  "required": true,
47795
47816
  "attributes": [],
47796
- "annotations": []
47817
+ "annotations": [],
47818
+ "description": "The complete raw product description including formatting tags"
47797
47819
  }, {
47798
47820
  "name": "images",
47799
- "type": "[string]",
47821
+ "type": "[io.flow.catalog.v0.models.image]",
47800
47822
  "required": true,
47801
47823
  "attributes": [],
47802
- "annotations": []
47824
+ "annotations": [],
47825
+ "default": "[]"
47826
+ }, {
47827
+ "name": "thumbnails",
47828
+ "type": "[io.flow.catalog.v0.models.image]",
47829
+ "required": true,
47830
+ "attributes": [],
47831
+ "annotations": [],
47832
+ "default": "[]"
47803
47833
  }, {
47804
47834
  "name": "categories",
47805
47835
  "type": "[string]",
@@ -47832,6 +47862,12 @@
47832
47862
  "required": true,
47833
47863
  "attributes": [],
47834
47864
  "annotations": []
47865
+ }, {
47866
+ "name": "status",
47867
+ "type": "product_restriction_status",
47868
+ "required": true,
47869
+ "attributes": [],
47870
+ "annotations": []
47835
47871
  }, {
47836
47872
  "name": "keywords",
47837
47873
  "type": "restriction_keywords",
@@ -48540,53 +48576,6 @@
48540
48576
  "attributes": [],
48541
48577
  "interfaces": [],
48542
48578
  "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
48579
  }, {
48591
48580
  "name": "session_countries",
48592
48581
  "plural": "session_countries",
@@ -77751,13 +77740,6 @@
77751
77740
  "method": "GET",
77752
77741
  "path": "/internal/organization/restriction/summaries",
77753
77742
  "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
77743
  "name": "organization_id",
77762
77744
  "type": "string",
77763
77745
  "location": "Query",
@@ -77785,12 +77767,6 @@
77785
77767
  "description": "The number of results to skip before returning results",
77786
77768
  "default": "0",
77787
77769
  "minimum": 0
77788
- }, {
77789
- "name": "sort",
77790
- "type": "string",
77791
- "location": "Query",
77792
- "required": true,
77793
- "default": "-created_at"
77794
77770
  }],
77795
77771
  "responses": [{
77796
77772
  "code": {
@@ -77821,13 +77797,9 @@
77821
77797
  "attributes": []
77822
77798
  }],
77823
77799
  "attributes": [{
77824
- "name": "sort",
77800
+ "name": "linter",
77825
77801
  "value": {
77826
- "values": [{
77827
- "value": "organization_id"
77828
- }, {
77829
- "value": "date"
77830
- }]
77802
+ "ignore": ["get", "id", "sort"]
77831
77803
  }
77832
77804
  }],
77833
77805
  "description": "Returns a summary list of organizations with pending restriction reviews"
@@ -81346,6 +81318,12 @@
81346
81318
  "required": false,
81347
81319
  "description": "Filter by one or more IDs of this resource",
81348
81320
  "maximum": 100
81321
+ }, {
81322
+ "name": "status",
81323
+ "type": "product_restriction_status",
81324
+ "location": "Query",
81325
+ "required": true,
81326
+ "default": "in_review"
81349
81327
  }, {
81350
81328
  "name": "rule_ids",
81351
81329
  "type": "[string]",
@@ -81374,7 +81352,7 @@
81374
81352
  "type": "string",
81375
81353
  "location": "Query",
81376
81354
  "required": true,
81377
- "default": "-created_at"
81355
+ "default": "name"
81378
81356
  }],
81379
81357
  "responses": [{
81380
81358
  "code": {
@@ -81408,13 +81386,15 @@
81408
81386
  "name": "sort",
81409
81387
  "value": {
81410
81388
  "values": [{
81411
- "value": "date"
81389
+ "value": "organization_id"
81412
81390
  }, {
81413
- "value": "product"
81391
+ "value": "name"
81392
+ }, {
81393
+ "value": "updated_at"
81414
81394
  }]
81415
81395
  }
81416
81396
  }],
81417
- "description": "Returns a list of products to be reviewed for an organization"
81397
+ "description": "Returns a list of product items for an organization"
81418
81398
  }, {
81419
81399
  "method": "GET",
81420
81400
  "path": "/internal/restriction/:organization/items/rules",
@@ -81473,6 +81453,15 @@
81473
81453
  "type": "unit",
81474
81454
  "description": "Authorization failed",
81475
81455
  "attributes": []
81456
+ }, {
81457
+ "code": {
81458
+ "integer": {
81459
+ "value": 422
81460
+ }
81461
+ },
81462
+ "type": "io.flow.error.v0.models.generic_error",
81463
+ "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.",
81464
+ "attributes": []
81476
81465
  }],
81477
81466
  "attributes": [{
81478
81467
  "name": "sort",
@@ -81482,7 +81471,7 @@
81482
81471
  }]
81483
81472
  }
81484
81473
  }],
81485
- "description": "Returns the list of restriction rules"
81474
+ "description": "Returns the list of restriction rules currently applicable for an organizations products in review"
81486
81475
  }],
81487
81476
  "attributes": [{
81488
81477
  "name": "docs",
@@ -81496,7 +81485,98 @@
81496
81485
  "plural": "restriction_products",
81497
81486
  "operations": [{
81498
81487
  "method": "GET",
81499
- "path": "/internal/restriction/product/:id",
81488
+ "path": "/internal/restriction/products",
81489
+ "parameters": [{
81490
+ "name": "id",
81491
+ "type": "[string]",
81492
+ "location": "Query",
81493
+ "required": false,
81494
+ "description": "Filter by one or more IDs of this resource",
81495
+ "maximum": 100
81496
+ }, {
81497
+ "name": "organization_id",
81498
+ "type": "string",
81499
+ "location": "Query",
81500
+ "required": false
81501
+ }, {
81502
+ "name": "rule_ids",
81503
+ "type": "[string]",
81504
+ "location": "Query",
81505
+ "required": false,
81506
+ "maximum": 100
81507
+ }, {
81508
+ "name": "status",
81509
+ "type": "product_restriction_status",
81510
+ "location": "Query",
81511
+ "required": false
81512
+ }, {
81513
+ "name": "limit",
81514
+ "type": "long",
81515
+ "location": "Query",
81516
+ "required": true,
81517
+ "description": "The maximum number of results to return",
81518
+ "default": "25",
81519
+ "minimum": 1,
81520
+ "maximum": 100
81521
+ }, {
81522
+ "name": "offset",
81523
+ "type": "long",
81524
+ "location": "Query",
81525
+ "required": true,
81526
+ "description": "The number of results to skip before returning results",
81527
+ "default": "0",
81528
+ "minimum": 0
81529
+ }, {
81530
+ "name": "sort",
81531
+ "type": "string",
81532
+ "location": "Query",
81533
+ "required": true,
81534
+ "default": "name"
81535
+ }],
81536
+ "responses": [{
81537
+ "code": {
81538
+ "integer": {
81539
+ "value": 200
81540
+ }
81541
+ },
81542
+ "type": "[restriction_product]",
81543
+ "description": "Successful response",
81544
+ "attributes": []
81545
+ }, {
81546
+ "code": {
81547
+ "integer": {
81548
+ "value": 401
81549
+ }
81550
+ },
81551
+ "type": "unit",
81552
+ "description": "Authorization failed",
81553
+ "attributes": []
81554
+ }, {
81555
+ "code": {
81556
+ "integer": {
81557
+ "value": 422
81558
+ }
81559
+ },
81560
+ "type": "io.flow.error.v0.models.generic_error",
81561
+ "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.",
81562
+ "attributes": []
81563
+ }],
81564
+ "attributes": [{
81565
+ "name": "sort",
81566
+ "value": {
81567
+ "values": [{
81568
+ "value": "organization_id"
81569
+ }, {
81570
+ "value": "updated_at"
81571
+ }, {
81572
+ "value": "name"
81573
+ }]
81574
+ }
81575
+ }],
81576
+ "description": "Returns a list of products for an organization"
81577
+ }, {
81578
+ "method": "GET",
81579
+ "path": "/internal/restriction/products/:id",
81500
81580
  "parameters": [{
81501
81581
  "name": "id",
81502
81582
  "type": "string",
@@ -81541,7 +81621,7 @@
81541
81621
  "module": "general"
81542
81622
  }
81543
81623
  }],
81544
- "path": "/internal/restriction/product"
81624
+ "path": "/internal/restriction/products"
81545
81625
  }, {
81546
81626
  "type": "restriction_rule",
81547
81627
  "plural": "restriction_rules",
@@ -82070,230 +82150,6 @@
82070
82150
  }
82071
82151
  }],
82072
82152
  "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
82153
  }, {
82298
82154
  "type": "session_countries",
82299
82155
  "plural": "session_countries",