@flowio/api-internal-mock-generator 0.1.22 → 0.1.23
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/LICENSE +21 -0
- package/dist/api-internal.json +0 -558
- package/package.json +3 -2
- package/src/api-internal.json +0 -558
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Flow Commerce
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/api-internal.json
CHANGED
|
@@ -6158,132 +6158,6 @@
|
|
|
6158
6158
|
"type": "[string]",
|
|
6159
6159
|
"required": true
|
|
6160
6160
|
}]
|
|
6161
|
-
}, {
|
|
6162
|
-
"plural": "exclusion_rules",
|
|
6163
|
-
"name": "exclusion_rule",
|
|
6164
|
-
"description": "A global exclusion rule allows the user to select 1 or more items by query and to globally exclude those items from sale in one or more regions.",
|
|
6165
|
-
"attributes": [],
|
|
6166
|
-
"fields": [{
|
|
6167
|
-
"name": "id",
|
|
6168
|
-
"annotations": [],
|
|
6169
|
-
"description": "Globally unique identifier",
|
|
6170
|
-
"attributes": [],
|
|
6171
|
-
"type": "string",
|
|
6172
|
-
"required": true
|
|
6173
|
-
}, {
|
|
6174
|
-
"name": "q",
|
|
6175
|
-
"annotations": [],
|
|
6176
|
-
"description": "The query to identify the items to which this exclusion rule applies",
|
|
6177
|
-
"attributes": [],
|
|
6178
|
-
"type": "string",
|
|
6179
|
-
"required": true,
|
|
6180
|
-
"example": "number:123"
|
|
6181
|
-
}, {
|
|
6182
|
-
"name": "query",
|
|
6183
|
-
"annotations": [],
|
|
6184
|
-
"attributes": [],
|
|
6185
|
-
"type": "io.flow.query.builder.v0.models.query",
|
|
6186
|
-
"required": true
|
|
6187
|
-
}, {
|
|
6188
|
-
"name": "regions",
|
|
6189
|
-
"annotations": [],
|
|
6190
|
-
"description": "The regions in which the item is restricted.",
|
|
6191
|
-
"attributes": [],
|
|
6192
|
-
"type": "[io.flow.reference.v0.models.region]",
|
|
6193
|
-
"required": true
|
|
6194
|
-
}, {
|
|
6195
|
-
"name": "status",
|
|
6196
|
-
"annotations": [],
|
|
6197
|
-
"attributes": [],
|
|
6198
|
-
"type": "io.flow.catalog.v0.enums.subcatalog_item_status",
|
|
6199
|
-
"required": true
|
|
6200
|
-
}, {
|
|
6201
|
-
"name": "description",
|
|
6202
|
-
"annotations": [],
|
|
6203
|
-
"attributes": [],
|
|
6204
|
-
"type": "string",
|
|
6205
|
-
"required": false
|
|
6206
|
-
}, {
|
|
6207
|
-
"name": "statistics",
|
|
6208
|
-
"annotations": [],
|
|
6209
|
-
"attributes": [],
|
|
6210
|
-
"type": "exclusion_rule_statistic",
|
|
6211
|
-
"required": true
|
|
6212
|
-
}]
|
|
6213
|
-
}, {
|
|
6214
|
-
"plural": "exclusion_rule_forms",
|
|
6215
|
-
"name": "exclusion_rule_form",
|
|
6216
|
-
"attributes": [],
|
|
6217
|
-
"fields": [{
|
|
6218
|
-
"name": "q",
|
|
6219
|
-
"annotations": [],
|
|
6220
|
-
"description": "The query to identify the items to which this exclusion rule applies",
|
|
6221
|
-
"attributes": [],
|
|
6222
|
-
"type": "string",
|
|
6223
|
-
"required": true,
|
|
6224
|
-
"example": "number:123"
|
|
6225
|
-
}, {
|
|
6226
|
-
"name": "regions",
|
|
6227
|
-
"annotations": [],
|
|
6228
|
-
"description": "The ids of the regions in which to restrict the items.",
|
|
6229
|
-
"attributes": [],
|
|
6230
|
-
"type": "[string]",
|
|
6231
|
-
"minimum": 1,
|
|
6232
|
-
"required": true
|
|
6233
|
-
}, {
|
|
6234
|
-
"name": "description",
|
|
6235
|
-
"annotations": [],
|
|
6236
|
-
"attributes": [],
|
|
6237
|
-
"type": "string",
|
|
6238
|
-
"required": false
|
|
6239
|
-
}]
|
|
6240
|
-
}, {
|
|
6241
|
-
"plural": "exclusion_rule_statistics",
|
|
6242
|
-
"name": "exclusion_rule_statistic",
|
|
6243
|
-
"attributes": [],
|
|
6244
|
-
"fields": [{
|
|
6245
|
-
"name": "state",
|
|
6246
|
-
"annotations": [],
|
|
6247
|
-
"attributes": [],
|
|
6248
|
-
"type": "exclusion_rule_state",
|
|
6249
|
-
"required": true
|
|
6250
|
-
}, {
|
|
6251
|
-
"name": "number_items",
|
|
6252
|
-
"annotations": [],
|
|
6253
|
-
"attributes": [],
|
|
6254
|
-
"type": "long",
|
|
6255
|
-
"required": true
|
|
6256
|
-
}]
|
|
6257
|
-
}, {
|
|
6258
|
-
"plural": "exclusion_rule_versions",
|
|
6259
|
-
"name": "exclusion_rule_version",
|
|
6260
|
-
"attributes": [],
|
|
6261
|
-
"fields": [{
|
|
6262
|
-
"name": "id",
|
|
6263
|
-
"annotations": [],
|
|
6264
|
-
"description": "Globally unique identifier",
|
|
6265
|
-
"attributes": [],
|
|
6266
|
-
"type": "string",
|
|
6267
|
-
"required": true
|
|
6268
|
-
}, {
|
|
6269
|
-
"name": "timestamp",
|
|
6270
|
-
"annotations": [],
|
|
6271
|
-
"attributes": [],
|
|
6272
|
-
"type": "date-time-iso8601",
|
|
6273
|
-
"required": true
|
|
6274
|
-
}, {
|
|
6275
|
-
"name": "type",
|
|
6276
|
-
"annotations": [],
|
|
6277
|
-
"attributes": [],
|
|
6278
|
-
"type": "io.flow.common.v0.enums.change_type",
|
|
6279
|
-
"required": true
|
|
6280
|
-
}, {
|
|
6281
|
-
"name": "exclusion_rule",
|
|
6282
|
-
"annotations": [],
|
|
6283
|
-
"attributes": [],
|
|
6284
|
-
"type": "exclusion_rule",
|
|
6285
|
-
"required": true
|
|
6286
|
-
}]
|
|
6287
6161
|
}, {
|
|
6288
6162
|
"plural": "expected_order_summaries",
|
|
6289
6163
|
"name": "expected_order_summary",
|
|
@@ -29364,423 +29238,6 @@
|
|
|
29364
29238
|
}
|
|
29365
29239
|
}],
|
|
29366
29240
|
"type": "duty_raw"
|
|
29367
|
-
}, {
|
|
29368
|
-
"path": "/:organization/exclusion/rules",
|
|
29369
|
-
"plural": "exclusion_rules",
|
|
29370
|
-
"operations": [{
|
|
29371
|
-
"path": "/:organization/exclusion/rules",
|
|
29372
|
-
"method": "GET",
|
|
29373
|
-
"responses": [{
|
|
29374
|
-
"code": {
|
|
29375
|
-
"integer": {
|
|
29376
|
-
"value": 200
|
|
29377
|
-
}
|
|
29378
|
-
},
|
|
29379
|
-
"description": "Successful response",
|
|
29380
|
-
"attributes": [],
|
|
29381
|
-
"type": "[exclusion_rule]"
|
|
29382
|
-
}, {
|
|
29383
|
-
"code": {
|
|
29384
|
-
"integer": {
|
|
29385
|
-
"value": 401
|
|
29386
|
-
}
|
|
29387
|
-
},
|
|
29388
|
-
"description": "Authorization failed",
|
|
29389
|
-
"attributes": [],
|
|
29390
|
-
"type": "unit"
|
|
29391
|
-
}, {
|
|
29392
|
-
"code": {
|
|
29393
|
-
"integer": {
|
|
29394
|
-
"value": 403
|
|
29395
|
-
}
|
|
29396
|
-
},
|
|
29397
|
-
"attributes": [],
|
|
29398
|
-
"type": "io.flow.permission.v0.models.permission_error"
|
|
29399
|
-
}, {
|
|
29400
|
-
"code": {
|
|
29401
|
-
"integer": {
|
|
29402
|
-
"value": 404
|
|
29403
|
-
}
|
|
29404
|
-
},
|
|
29405
|
-
"description": "Resource was not found",
|
|
29406
|
-
"attributes": [],
|
|
29407
|
-
"type": "unit"
|
|
29408
|
-
}, {
|
|
29409
|
-
"code": {
|
|
29410
|
-
"integer": {
|
|
29411
|
-
"value": 422
|
|
29412
|
-
}
|
|
29413
|
-
},
|
|
29414
|
-
"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.",
|
|
29415
|
-
"attributes": [],
|
|
29416
|
-
"type": "io.flow.error.v0.models.generic_error"
|
|
29417
|
-
}],
|
|
29418
|
-
"description": "Returns a list of exclusions rules.",
|
|
29419
|
-
"attributes": [{
|
|
29420
|
-
"name": "sort",
|
|
29421
|
-
"value": {
|
|
29422
|
-
"values": [{
|
|
29423
|
-
"value": "id"
|
|
29424
|
-
}, {
|
|
29425
|
-
"value": "created_at"
|
|
29426
|
-
}]
|
|
29427
|
-
}
|
|
29428
|
-
}, {
|
|
29429
|
-
"name": "linter",
|
|
29430
|
-
"value": {
|
|
29431
|
-
"ignore": ["sort", "get"]
|
|
29432
|
-
}
|
|
29433
|
-
}, {
|
|
29434
|
-
"name": "auth",
|
|
29435
|
-
"value": {
|
|
29436
|
-
"techniques": ["user", "token"],
|
|
29437
|
-
"roles": ["organization_admin", "organization_merchant", "organization_operations", "organization_fulfillment", "organization_marketing"]
|
|
29438
|
-
}
|
|
29439
|
-
}],
|
|
29440
|
-
"parameters": [{
|
|
29441
|
-
"name": "organization",
|
|
29442
|
-
"description": "Refers to your organization's account identifier",
|
|
29443
|
-
"location": "Path",
|
|
29444
|
-
"type": "string",
|
|
29445
|
-
"required": true
|
|
29446
|
-
}, {
|
|
29447
|
-
"name": "id",
|
|
29448
|
-
"description": "Filter by one or more IDs of this resource",
|
|
29449
|
-
"maximum": 100,
|
|
29450
|
-
"location": "Query",
|
|
29451
|
-
"type": "[string]",
|
|
29452
|
-
"required": false
|
|
29453
|
-
}, {
|
|
29454
|
-
"default": "25",
|
|
29455
|
-
"name": "limit",
|
|
29456
|
-
"description": "The maximum number of results to return",
|
|
29457
|
-
"maximum": 100,
|
|
29458
|
-
"location": "Query",
|
|
29459
|
-
"type": "long",
|
|
29460
|
-
"minimum": 1,
|
|
29461
|
-
"required": true
|
|
29462
|
-
}, {
|
|
29463
|
-
"default": "0",
|
|
29464
|
-
"name": "offset",
|
|
29465
|
-
"description": "The number of results to skip before returning results",
|
|
29466
|
-
"location": "Query",
|
|
29467
|
-
"type": "long",
|
|
29468
|
-
"minimum": 0,
|
|
29469
|
-
"required": true
|
|
29470
|
-
}, {
|
|
29471
|
-
"default": "-created_at",
|
|
29472
|
-
"name": "sort",
|
|
29473
|
-
"location": "Query",
|
|
29474
|
-
"type": "string",
|
|
29475
|
-
"required": true
|
|
29476
|
-
}]
|
|
29477
|
-
}, {
|
|
29478
|
-
"path": "/:organization/exclusion/rules",
|
|
29479
|
-
"method": "POST",
|
|
29480
|
-
"responses": [{
|
|
29481
|
-
"code": {
|
|
29482
|
-
"integer": {
|
|
29483
|
-
"value": 201
|
|
29484
|
-
}
|
|
29485
|
-
},
|
|
29486
|
-
"description": "Operation succeeded and the resource was created",
|
|
29487
|
-
"attributes": [],
|
|
29488
|
-
"type": "exclusion_rule"
|
|
29489
|
-
}, {
|
|
29490
|
-
"code": {
|
|
29491
|
-
"integer": {
|
|
29492
|
-
"value": 401
|
|
29493
|
-
}
|
|
29494
|
-
},
|
|
29495
|
-
"description": "Authorization failed",
|
|
29496
|
-
"attributes": [],
|
|
29497
|
-
"type": "unit"
|
|
29498
|
-
}, {
|
|
29499
|
-
"code": {
|
|
29500
|
-
"integer": {
|
|
29501
|
-
"value": 403
|
|
29502
|
-
}
|
|
29503
|
-
},
|
|
29504
|
-
"attributes": [],
|
|
29505
|
-
"type": "io.flow.permission.v0.models.permission_error"
|
|
29506
|
-
}, {
|
|
29507
|
-
"code": {
|
|
29508
|
-
"integer": {
|
|
29509
|
-
"value": 404
|
|
29510
|
-
}
|
|
29511
|
-
},
|
|
29512
|
-
"description": "Resource was not found",
|
|
29513
|
-
"attributes": [],
|
|
29514
|
-
"type": "unit"
|
|
29515
|
-
}, {
|
|
29516
|
-
"code": {
|
|
29517
|
-
"integer": {
|
|
29518
|
-
"value": 422
|
|
29519
|
-
}
|
|
29520
|
-
},
|
|
29521
|
-
"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.",
|
|
29522
|
-
"attributes": [],
|
|
29523
|
-
"type": "io.flow.error.v0.models.generic_error"
|
|
29524
|
-
}],
|
|
29525
|
-
"attributes": [{
|
|
29526
|
-
"name": "auth",
|
|
29527
|
-
"value": {
|
|
29528
|
-
"techniques": ["user", "token"],
|
|
29529
|
-
"roles": ["organization_admin", "organization_merchant"]
|
|
29530
|
-
}
|
|
29531
|
-
}],
|
|
29532
|
-
"body": {
|
|
29533
|
-
"attributes": [],
|
|
29534
|
-
"type": "exclusion_rule_form"
|
|
29535
|
-
},
|
|
29536
|
-
"parameters": [{
|
|
29537
|
-
"name": "organization",
|
|
29538
|
-
"description": "Refers to your organization's account identifier",
|
|
29539
|
-
"location": "Path",
|
|
29540
|
-
"type": "string",
|
|
29541
|
-
"required": true
|
|
29542
|
-
}]
|
|
29543
|
-
}, {
|
|
29544
|
-
"path": "/:organization/exclusion/rules/versions",
|
|
29545
|
-
"method": "GET",
|
|
29546
|
-
"responses": [{
|
|
29547
|
-
"code": {
|
|
29548
|
-
"integer": {
|
|
29549
|
-
"value": 200
|
|
29550
|
-
}
|
|
29551
|
-
},
|
|
29552
|
-
"description": "Successful response",
|
|
29553
|
-
"attributes": [],
|
|
29554
|
-
"type": "[exclusion_rule_version]"
|
|
29555
|
-
}, {
|
|
29556
|
-
"code": {
|
|
29557
|
-
"integer": {
|
|
29558
|
-
"value": 401
|
|
29559
|
-
}
|
|
29560
|
-
},
|
|
29561
|
-
"description": "Authorization failed",
|
|
29562
|
-
"attributes": [],
|
|
29563
|
-
"type": "unit"
|
|
29564
|
-
}, {
|
|
29565
|
-
"code": {
|
|
29566
|
-
"integer": {
|
|
29567
|
-
"value": 403
|
|
29568
|
-
}
|
|
29569
|
-
},
|
|
29570
|
-
"attributes": [],
|
|
29571
|
-
"type": "io.flow.permission.v0.models.permission_error"
|
|
29572
|
-
}],
|
|
29573
|
-
"attributes": [{
|
|
29574
|
-
"name": "sort",
|
|
29575
|
-
"value": {
|
|
29576
|
-
"values": [{
|
|
29577
|
-
"value": "id"
|
|
29578
|
-
}, {
|
|
29579
|
-
"value": "journal_timestamp"
|
|
29580
|
-
}]
|
|
29581
|
-
}
|
|
29582
|
-
}, {
|
|
29583
|
-
"name": "auth",
|
|
29584
|
-
"value": {
|
|
29585
|
-
"techniques": ["user", "token"],
|
|
29586
|
-
"roles": ["organization_admin", "organization_merchant", "organization_operations", "organization_fulfillment", "organization_marketing"]
|
|
29587
|
-
}
|
|
29588
|
-
}],
|
|
29589
|
-
"parameters": [{
|
|
29590
|
-
"name": "organization",
|
|
29591
|
-
"description": "Refers to your organization's account identifier",
|
|
29592
|
-
"location": "Path",
|
|
29593
|
-
"type": "string",
|
|
29594
|
-
"required": true
|
|
29595
|
-
}, {
|
|
29596
|
-
"name": "id",
|
|
29597
|
-
"description": "Filter by one or more IDs of this resource",
|
|
29598
|
-
"maximum": 100,
|
|
29599
|
-
"location": "Query",
|
|
29600
|
-
"type": "[string]",
|
|
29601
|
-
"required": false
|
|
29602
|
-
}, {
|
|
29603
|
-
"name": "exclusion_rule_id",
|
|
29604
|
-
"description": "Filter to exclusion rules with any one of these ids.",
|
|
29605
|
-
"maximum": 100,
|
|
29606
|
-
"location": "Query",
|
|
29607
|
-
"type": "[string]",
|
|
29608
|
-
"required": false
|
|
29609
|
-
}, {
|
|
29610
|
-
"default": "25",
|
|
29611
|
-
"name": "limit",
|
|
29612
|
-
"description": "The maximum number of results to return",
|
|
29613
|
-
"maximum": 100,
|
|
29614
|
-
"location": "Query",
|
|
29615
|
-
"type": "long",
|
|
29616
|
-
"minimum": 1,
|
|
29617
|
-
"required": true
|
|
29618
|
-
}, {
|
|
29619
|
-
"default": "0",
|
|
29620
|
-
"name": "offset",
|
|
29621
|
-
"description": "The number of results to skip before returning results",
|
|
29622
|
-
"location": "Query",
|
|
29623
|
-
"type": "long",
|
|
29624
|
-
"minimum": 0,
|
|
29625
|
-
"required": true
|
|
29626
|
-
}, {
|
|
29627
|
-
"default": "journal_timestamp",
|
|
29628
|
-
"name": "sort",
|
|
29629
|
-
"location": "Query",
|
|
29630
|
-
"type": "string",
|
|
29631
|
-
"required": true
|
|
29632
|
-
}]
|
|
29633
|
-
}, {
|
|
29634
|
-
"path": "/:organization/exclusion/rules/:id",
|
|
29635
|
-
"method": "PUT",
|
|
29636
|
-
"responses": [{
|
|
29637
|
-
"code": {
|
|
29638
|
-
"integer": {
|
|
29639
|
-
"value": 200
|
|
29640
|
-
}
|
|
29641
|
-
},
|
|
29642
|
-
"description": "Successful response",
|
|
29643
|
-
"attributes": [],
|
|
29644
|
-
"type": "exclusion_rule"
|
|
29645
|
-
}, {
|
|
29646
|
-
"code": {
|
|
29647
|
-
"integer": {
|
|
29648
|
-
"value": 401
|
|
29649
|
-
}
|
|
29650
|
-
},
|
|
29651
|
-
"description": "Authorization failed",
|
|
29652
|
-
"attributes": [],
|
|
29653
|
-
"type": "unit"
|
|
29654
|
-
}, {
|
|
29655
|
-
"code": {
|
|
29656
|
-
"integer": {
|
|
29657
|
-
"value": 403
|
|
29658
|
-
}
|
|
29659
|
-
},
|
|
29660
|
-
"attributes": [],
|
|
29661
|
-
"type": "io.flow.permission.v0.models.permission_error"
|
|
29662
|
-
}, {
|
|
29663
|
-
"code": {
|
|
29664
|
-
"integer": {
|
|
29665
|
-
"value": 404
|
|
29666
|
-
}
|
|
29667
|
-
},
|
|
29668
|
-
"description": "Resource was not found",
|
|
29669
|
-
"attributes": [],
|
|
29670
|
-
"type": "unit"
|
|
29671
|
-
}, {
|
|
29672
|
-
"code": {
|
|
29673
|
-
"integer": {
|
|
29674
|
-
"value": 422
|
|
29675
|
-
}
|
|
29676
|
-
},
|
|
29677
|
-
"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.",
|
|
29678
|
-
"attributes": [],
|
|
29679
|
-
"type": "io.flow.error.v0.models.generic_error"
|
|
29680
|
-
}],
|
|
29681
|
-
"description": "Updates the specified exclusion rule.",
|
|
29682
|
-
"attributes": [{
|
|
29683
|
-
"name": "auth",
|
|
29684
|
-
"value": {
|
|
29685
|
-
"techniques": ["user", "token"],
|
|
29686
|
-
"roles": ["organization_admin", "organization_merchant"]
|
|
29687
|
-
}
|
|
29688
|
-
}],
|
|
29689
|
-
"body": {
|
|
29690
|
-
"attributes": [],
|
|
29691
|
-
"type": "exclusion_rule_form"
|
|
29692
|
-
},
|
|
29693
|
-
"parameters": [{
|
|
29694
|
-
"name": "organization",
|
|
29695
|
-
"description": "Refers to your organization's account identifier",
|
|
29696
|
-
"location": "Path",
|
|
29697
|
-
"type": "string",
|
|
29698
|
-
"required": true
|
|
29699
|
-
}, {
|
|
29700
|
-
"name": "id",
|
|
29701
|
-
"description": "Filter by one or more IDs of this resource",
|
|
29702
|
-
"location": "Path",
|
|
29703
|
-
"type": "string",
|
|
29704
|
-
"required": true
|
|
29705
|
-
}]
|
|
29706
|
-
}, {
|
|
29707
|
-
"path": "/:organization/exclusion/rules/:id/deletion",
|
|
29708
|
-
"method": "PUT",
|
|
29709
|
-
"responses": [{
|
|
29710
|
-
"code": {
|
|
29711
|
-
"integer": {
|
|
29712
|
-
"value": 200
|
|
29713
|
-
}
|
|
29714
|
-
},
|
|
29715
|
-
"description": "Successful response",
|
|
29716
|
-
"attributes": [],
|
|
29717
|
-
"type": "exclusion_rule"
|
|
29718
|
-
}, {
|
|
29719
|
-
"code": {
|
|
29720
|
-
"integer": {
|
|
29721
|
-
"value": 401
|
|
29722
|
-
}
|
|
29723
|
-
},
|
|
29724
|
-
"description": "Authorization failed",
|
|
29725
|
-
"attributes": [],
|
|
29726
|
-
"type": "unit"
|
|
29727
|
-
}, {
|
|
29728
|
-
"code": {
|
|
29729
|
-
"integer": {
|
|
29730
|
-
"value": 403
|
|
29731
|
-
}
|
|
29732
|
-
},
|
|
29733
|
-
"attributes": [],
|
|
29734
|
-
"type": "io.flow.permission.v0.models.permission_error"
|
|
29735
|
-
}, {
|
|
29736
|
-
"code": {
|
|
29737
|
-
"integer": {
|
|
29738
|
-
"value": 404
|
|
29739
|
-
}
|
|
29740
|
-
},
|
|
29741
|
-
"description": "Resource was not found",
|
|
29742
|
-
"attributes": [],
|
|
29743
|
-
"type": "unit"
|
|
29744
|
-
}, {
|
|
29745
|
-
"code": {
|
|
29746
|
-
"integer": {
|
|
29747
|
-
"value": 422
|
|
29748
|
-
}
|
|
29749
|
-
},
|
|
29750
|
-
"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.",
|
|
29751
|
-
"attributes": [],
|
|
29752
|
-
"type": "io.flow.error.v0.models.generic_error"
|
|
29753
|
-
}],
|
|
29754
|
-
"description": "Marks the exclusion rule deleted. Once updated, the rule itself will be deleted.",
|
|
29755
|
-
"attributes": [{
|
|
29756
|
-
"name": "auth",
|
|
29757
|
-
"value": {
|
|
29758
|
-
"techniques": ["user", "token"],
|
|
29759
|
-
"roles": ["organization_admin", "organization_merchant"]
|
|
29760
|
-
}
|
|
29761
|
-
}],
|
|
29762
|
-
"parameters": [{
|
|
29763
|
-
"name": "organization",
|
|
29764
|
-
"description": "Refers to your organization's account identifier",
|
|
29765
|
-
"location": "Path",
|
|
29766
|
-
"type": "string",
|
|
29767
|
-
"required": true
|
|
29768
|
-
}, {
|
|
29769
|
-
"name": "id",
|
|
29770
|
-
"description": "Filter by one or more IDs of this resource",
|
|
29771
|
-
"location": "Path",
|
|
29772
|
-
"type": "string",
|
|
29773
|
-
"required": true
|
|
29774
|
-
}]
|
|
29775
|
-
}],
|
|
29776
|
-
"description": "A global exclusion rule allows the user to select 1 or more items by query and to globally exclude those items from sale in one or more regions.",
|
|
29777
|
-
"attributes": [{
|
|
29778
|
-
"name": "docs",
|
|
29779
|
-
"value": {
|
|
29780
|
-
"module": "general"
|
|
29781
|
-
}
|
|
29782
|
-
}],
|
|
29783
|
-
"type": "exclusion_rule"
|
|
29784
29241
|
}, {
|
|
29785
29242
|
"path": "/:organization/experiments",
|
|
29786
29243
|
"plural": "experiments",
|
|
@@ -48087,21 +47544,6 @@
|
|
|
48087
47544
|
"module": "webhook"
|
|
48088
47545
|
}
|
|
48089
47546
|
}]
|
|
48090
|
-
}, {
|
|
48091
|
-
"plural": "exclusion_rule_states",
|
|
48092
|
-
"values": [{
|
|
48093
|
-
"name": "current",
|
|
48094
|
-
"attributes": []
|
|
48095
|
-
}, {
|
|
48096
|
-
"name": "deleting",
|
|
48097
|
-
"attributes": []
|
|
48098
|
-
}, {
|
|
48099
|
-
"name": "updating",
|
|
48100
|
-
"attributes": []
|
|
48101
|
-
}],
|
|
48102
|
-
"name": "exclusion_rule_state",
|
|
48103
|
-
"description": "The exclusion rule state highlights if an exclusion rule is currently processing as some updates take some time to apply to large catalogs.",
|
|
48104
|
-
"attributes": []
|
|
48105
47547
|
}, {
|
|
48106
47548
|
"plural": "experience_import_types",
|
|
48107
47549
|
"values": [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "A mock data generator based on our internal API specifications for JavaScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,5 +33,6 @@
|
|
|
33
33
|
"tslint": "^5.11.0",
|
|
34
34
|
"tslint-config-airbnb": "^5.11.1",
|
|
35
35
|
"typescript": "^3.2.2"
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"gitHead": "69ce722b812cec7074f4d84a86a141720713b775"
|
|
37
38
|
}
|
package/src/api-internal.json
CHANGED
|
@@ -6158,132 +6158,6 @@
|
|
|
6158
6158
|
"type" : "[string]",
|
|
6159
6159
|
"required" : true
|
|
6160
6160
|
} ]
|
|
6161
|
-
}, {
|
|
6162
|
-
"plural" : "exclusion_rules",
|
|
6163
|
-
"name" : "exclusion_rule",
|
|
6164
|
-
"description" : "A global exclusion rule allows the user to select 1 or more items by query and to globally exclude those items from sale in one or more regions.",
|
|
6165
|
-
"attributes" : [ ],
|
|
6166
|
-
"fields" : [ {
|
|
6167
|
-
"name" : "id",
|
|
6168
|
-
"annotations" : [ ],
|
|
6169
|
-
"description" : "Globally unique identifier",
|
|
6170
|
-
"attributes" : [ ],
|
|
6171
|
-
"type" : "string",
|
|
6172
|
-
"required" : true
|
|
6173
|
-
}, {
|
|
6174
|
-
"name" : "q",
|
|
6175
|
-
"annotations" : [ ],
|
|
6176
|
-
"description" : "The query to identify the items to which this exclusion rule applies",
|
|
6177
|
-
"attributes" : [ ],
|
|
6178
|
-
"type" : "string",
|
|
6179
|
-
"required" : true,
|
|
6180
|
-
"example" : "number:123"
|
|
6181
|
-
}, {
|
|
6182
|
-
"name" : "query",
|
|
6183
|
-
"annotations" : [ ],
|
|
6184
|
-
"attributes" : [ ],
|
|
6185
|
-
"type" : "io.flow.query.builder.v0.models.query",
|
|
6186
|
-
"required" : true
|
|
6187
|
-
}, {
|
|
6188
|
-
"name" : "regions",
|
|
6189
|
-
"annotations" : [ ],
|
|
6190
|
-
"description" : "The regions in which the item is restricted.",
|
|
6191
|
-
"attributes" : [ ],
|
|
6192
|
-
"type" : "[io.flow.reference.v0.models.region]",
|
|
6193
|
-
"required" : true
|
|
6194
|
-
}, {
|
|
6195
|
-
"name" : "status",
|
|
6196
|
-
"annotations" : [ ],
|
|
6197
|
-
"attributes" : [ ],
|
|
6198
|
-
"type" : "io.flow.catalog.v0.enums.subcatalog_item_status",
|
|
6199
|
-
"required" : true
|
|
6200
|
-
}, {
|
|
6201
|
-
"name" : "description",
|
|
6202
|
-
"annotations" : [ ],
|
|
6203
|
-
"attributes" : [ ],
|
|
6204
|
-
"type" : "string",
|
|
6205
|
-
"required" : false
|
|
6206
|
-
}, {
|
|
6207
|
-
"name" : "statistics",
|
|
6208
|
-
"annotations" : [ ],
|
|
6209
|
-
"attributes" : [ ],
|
|
6210
|
-
"type" : "exclusion_rule_statistic",
|
|
6211
|
-
"required" : true
|
|
6212
|
-
} ]
|
|
6213
|
-
}, {
|
|
6214
|
-
"plural" : "exclusion_rule_forms",
|
|
6215
|
-
"name" : "exclusion_rule_form",
|
|
6216
|
-
"attributes" : [ ],
|
|
6217
|
-
"fields" : [ {
|
|
6218
|
-
"name" : "q",
|
|
6219
|
-
"annotations" : [ ],
|
|
6220
|
-
"description" : "The query to identify the items to which this exclusion rule applies",
|
|
6221
|
-
"attributes" : [ ],
|
|
6222
|
-
"type" : "string",
|
|
6223
|
-
"required" : true,
|
|
6224
|
-
"example" : "number:123"
|
|
6225
|
-
}, {
|
|
6226
|
-
"name" : "regions",
|
|
6227
|
-
"annotations" : [ ],
|
|
6228
|
-
"description" : "The ids of the regions in which to restrict the items.",
|
|
6229
|
-
"attributes" : [ ],
|
|
6230
|
-
"type" : "[string]",
|
|
6231
|
-
"minimum" : 1,
|
|
6232
|
-
"required" : true
|
|
6233
|
-
}, {
|
|
6234
|
-
"name" : "description",
|
|
6235
|
-
"annotations" : [ ],
|
|
6236
|
-
"attributes" : [ ],
|
|
6237
|
-
"type" : "string",
|
|
6238
|
-
"required" : false
|
|
6239
|
-
} ]
|
|
6240
|
-
}, {
|
|
6241
|
-
"plural" : "exclusion_rule_statistics",
|
|
6242
|
-
"name" : "exclusion_rule_statistic",
|
|
6243
|
-
"attributes" : [ ],
|
|
6244
|
-
"fields" : [ {
|
|
6245
|
-
"name" : "state",
|
|
6246
|
-
"annotations" : [ ],
|
|
6247
|
-
"attributes" : [ ],
|
|
6248
|
-
"type" : "exclusion_rule_state",
|
|
6249
|
-
"required" : true
|
|
6250
|
-
}, {
|
|
6251
|
-
"name" : "number_items",
|
|
6252
|
-
"annotations" : [ ],
|
|
6253
|
-
"attributes" : [ ],
|
|
6254
|
-
"type" : "long",
|
|
6255
|
-
"required" : true
|
|
6256
|
-
} ]
|
|
6257
|
-
}, {
|
|
6258
|
-
"plural" : "exclusion_rule_versions",
|
|
6259
|
-
"name" : "exclusion_rule_version",
|
|
6260
|
-
"attributes" : [ ],
|
|
6261
|
-
"fields" : [ {
|
|
6262
|
-
"name" : "id",
|
|
6263
|
-
"annotations" : [ ],
|
|
6264
|
-
"description" : "Globally unique identifier",
|
|
6265
|
-
"attributes" : [ ],
|
|
6266
|
-
"type" : "string",
|
|
6267
|
-
"required" : true
|
|
6268
|
-
}, {
|
|
6269
|
-
"name" : "timestamp",
|
|
6270
|
-
"annotations" : [ ],
|
|
6271
|
-
"attributes" : [ ],
|
|
6272
|
-
"type" : "date-time-iso8601",
|
|
6273
|
-
"required" : true
|
|
6274
|
-
}, {
|
|
6275
|
-
"name" : "type",
|
|
6276
|
-
"annotations" : [ ],
|
|
6277
|
-
"attributes" : [ ],
|
|
6278
|
-
"type" : "io.flow.common.v0.enums.change_type",
|
|
6279
|
-
"required" : true
|
|
6280
|
-
}, {
|
|
6281
|
-
"name" : "exclusion_rule",
|
|
6282
|
-
"annotations" : [ ],
|
|
6283
|
-
"attributes" : [ ],
|
|
6284
|
-
"type" : "exclusion_rule",
|
|
6285
|
-
"required" : true
|
|
6286
|
-
} ]
|
|
6287
6161
|
}, {
|
|
6288
6162
|
"plural" : "expected_order_summaries",
|
|
6289
6163
|
"name" : "expected_order_summary",
|
|
@@ -29364,423 +29238,6 @@
|
|
|
29364
29238
|
}
|
|
29365
29239
|
} ],
|
|
29366
29240
|
"type" : "duty_raw"
|
|
29367
|
-
}, {
|
|
29368
|
-
"path" : "/:organization/exclusion/rules",
|
|
29369
|
-
"plural" : "exclusion_rules",
|
|
29370
|
-
"operations" : [ {
|
|
29371
|
-
"path" : "/:organization/exclusion/rules",
|
|
29372
|
-
"method" : "GET",
|
|
29373
|
-
"responses" : [ {
|
|
29374
|
-
"code" : {
|
|
29375
|
-
"integer" : {
|
|
29376
|
-
"value" : 200
|
|
29377
|
-
}
|
|
29378
|
-
},
|
|
29379
|
-
"description" : "Successful response",
|
|
29380
|
-
"attributes" : [ ],
|
|
29381
|
-
"type" : "[exclusion_rule]"
|
|
29382
|
-
}, {
|
|
29383
|
-
"code" : {
|
|
29384
|
-
"integer" : {
|
|
29385
|
-
"value" : 401
|
|
29386
|
-
}
|
|
29387
|
-
},
|
|
29388
|
-
"description" : "Authorization failed",
|
|
29389
|
-
"attributes" : [ ],
|
|
29390
|
-
"type" : "unit"
|
|
29391
|
-
}, {
|
|
29392
|
-
"code" : {
|
|
29393
|
-
"integer" : {
|
|
29394
|
-
"value" : 403
|
|
29395
|
-
}
|
|
29396
|
-
},
|
|
29397
|
-
"attributes" : [ ],
|
|
29398
|
-
"type" : "io.flow.permission.v0.models.permission_error"
|
|
29399
|
-
}, {
|
|
29400
|
-
"code" : {
|
|
29401
|
-
"integer" : {
|
|
29402
|
-
"value" : 404
|
|
29403
|
-
}
|
|
29404
|
-
},
|
|
29405
|
-
"description" : "Resource was not found",
|
|
29406
|
-
"attributes" : [ ],
|
|
29407
|
-
"type" : "unit"
|
|
29408
|
-
}, {
|
|
29409
|
-
"code" : {
|
|
29410
|
-
"integer" : {
|
|
29411
|
-
"value" : 422
|
|
29412
|
-
}
|
|
29413
|
-
},
|
|
29414
|
-
"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.",
|
|
29415
|
-
"attributes" : [ ],
|
|
29416
|
-
"type" : "io.flow.error.v0.models.generic_error"
|
|
29417
|
-
} ],
|
|
29418
|
-
"description" : "Returns a list of exclusions rules.",
|
|
29419
|
-
"attributes" : [ {
|
|
29420
|
-
"name" : "sort",
|
|
29421
|
-
"value" : {
|
|
29422
|
-
"values" : [ {
|
|
29423
|
-
"value" : "id"
|
|
29424
|
-
}, {
|
|
29425
|
-
"value" : "created_at"
|
|
29426
|
-
} ]
|
|
29427
|
-
}
|
|
29428
|
-
}, {
|
|
29429
|
-
"name" : "linter",
|
|
29430
|
-
"value" : {
|
|
29431
|
-
"ignore" : [ "sort", "get" ]
|
|
29432
|
-
}
|
|
29433
|
-
}, {
|
|
29434
|
-
"name" : "auth",
|
|
29435
|
-
"value" : {
|
|
29436
|
-
"techniques" : [ "user", "token" ],
|
|
29437
|
-
"roles" : [ "organization_admin", "organization_merchant", "organization_operations", "organization_fulfillment", "organization_marketing" ]
|
|
29438
|
-
}
|
|
29439
|
-
} ],
|
|
29440
|
-
"parameters" : [ {
|
|
29441
|
-
"name" : "organization",
|
|
29442
|
-
"description" : "Refers to your organization's account identifier",
|
|
29443
|
-
"location" : "Path",
|
|
29444
|
-
"type" : "string",
|
|
29445
|
-
"required" : true
|
|
29446
|
-
}, {
|
|
29447
|
-
"name" : "id",
|
|
29448
|
-
"description" : "Filter by one or more IDs of this resource",
|
|
29449
|
-
"maximum" : 100,
|
|
29450
|
-
"location" : "Query",
|
|
29451
|
-
"type" : "[string]",
|
|
29452
|
-
"required" : false
|
|
29453
|
-
}, {
|
|
29454
|
-
"default" : "25",
|
|
29455
|
-
"name" : "limit",
|
|
29456
|
-
"description" : "The maximum number of results to return",
|
|
29457
|
-
"maximum" : 100,
|
|
29458
|
-
"location" : "Query",
|
|
29459
|
-
"type" : "long",
|
|
29460
|
-
"minimum" : 1,
|
|
29461
|
-
"required" : true
|
|
29462
|
-
}, {
|
|
29463
|
-
"default" : "0",
|
|
29464
|
-
"name" : "offset",
|
|
29465
|
-
"description" : "The number of results to skip before returning results",
|
|
29466
|
-
"location" : "Query",
|
|
29467
|
-
"type" : "long",
|
|
29468
|
-
"minimum" : 0,
|
|
29469
|
-
"required" : true
|
|
29470
|
-
}, {
|
|
29471
|
-
"default" : "-created_at",
|
|
29472
|
-
"name" : "sort",
|
|
29473
|
-
"location" : "Query",
|
|
29474
|
-
"type" : "string",
|
|
29475
|
-
"required" : true
|
|
29476
|
-
} ]
|
|
29477
|
-
}, {
|
|
29478
|
-
"path" : "/:organization/exclusion/rules",
|
|
29479
|
-
"method" : "POST",
|
|
29480
|
-
"responses" : [ {
|
|
29481
|
-
"code" : {
|
|
29482
|
-
"integer" : {
|
|
29483
|
-
"value" : 201
|
|
29484
|
-
}
|
|
29485
|
-
},
|
|
29486
|
-
"description" : "Operation succeeded and the resource was created",
|
|
29487
|
-
"attributes" : [ ],
|
|
29488
|
-
"type" : "exclusion_rule"
|
|
29489
|
-
}, {
|
|
29490
|
-
"code" : {
|
|
29491
|
-
"integer" : {
|
|
29492
|
-
"value" : 401
|
|
29493
|
-
}
|
|
29494
|
-
},
|
|
29495
|
-
"description" : "Authorization failed",
|
|
29496
|
-
"attributes" : [ ],
|
|
29497
|
-
"type" : "unit"
|
|
29498
|
-
}, {
|
|
29499
|
-
"code" : {
|
|
29500
|
-
"integer" : {
|
|
29501
|
-
"value" : 403
|
|
29502
|
-
}
|
|
29503
|
-
},
|
|
29504
|
-
"attributes" : [ ],
|
|
29505
|
-
"type" : "io.flow.permission.v0.models.permission_error"
|
|
29506
|
-
}, {
|
|
29507
|
-
"code" : {
|
|
29508
|
-
"integer" : {
|
|
29509
|
-
"value" : 404
|
|
29510
|
-
}
|
|
29511
|
-
},
|
|
29512
|
-
"description" : "Resource was not found",
|
|
29513
|
-
"attributes" : [ ],
|
|
29514
|
-
"type" : "unit"
|
|
29515
|
-
}, {
|
|
29516
|
-
"code" : {
|
|
29517
|
-
"integer" : {
|
|
29518
|
-
"value" : 422
|
|
29519
|
-
}
|
|
29520
|
-
},
|
|
29521
|
-
"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.",
|
|
29522
|
-
"attributes" : [ ],
|
|
29523
|
-
"type" : "io.flow.error.v0.models.generic_error"
|
|
29524
|
-
} ],
|
|
29525
|
-
"attributes" : [ {
|
|
29526
|
-
"name" : "auth",
|
|
29527
|
-
"value" : {
|
|
29528
|
-
"techniques" : [ "user", "token" ],
|
|
29529
|
-
"roles" : [ "organization_admin", "organization_merchant" ]
|
|
29530
|
-
}
|
|
29531
|
-
} ],
|
|
29532
|
-
"body" : {
|
|
29533
|
-
"attributes" : [ ],
|
|
29534
|
-
"type" : "exclusion_rule_form"
|
|
29535
|
-
},
|
|
29536
|
-
"parameters" : [ {
|
|
29537
|
-
"name" : "organization",
|
|
29538
|
-
"description" : "Refers to your organization's account identifier",
|
|
29539
|
-
"location" : "Path",
|
|
29540
|
-
"type" : "string",
|
|
29541
|
-
"required" : true
|
|
29542
|
-
} ]
|
|
29543
|
-
}, {
|
|
29544
|
-
"path" : "/:organization/exclusion/rules/versions",
|
|
29545
|
-
"method" : "GET",
|
|
29546
|
-
"responses" : [ {
|
|
29547
|
-
"code" : {
|
|
29548
|
-
"integer" : {
|
|
29549
|
-
"value" : 200
|
|
29550
|
-
}
|
|
29551
|
-
},
|
|
29552
|
-
"description" : "Successful response",
|
|
29553
|
-
"attributes" : [ ],
|
|
29554
|
-
"type" : "[exclusion_rule_version]"
|
|
29555
|
-
}, {
|
|
29556
|
-
"code" : {
|
|
29557
|
-
"integer" : {
|
|
29558
|
-
"value" : 401
|
|
29559
|
-
}
|
|
29560
|
-
},
|
|
29561
|
-
"description" : "Authorization failed",
|
|
29562
|
-
"attributes" : [ ],
|
|
29563
|
-
"type" : "unit"
|
|
29564
|
-
}, {
|
|
29565
|
-
"code" : {
|
|
29566
|
-
"integer" : {
|
|
29567
|
-
"value" : 403
|
|
29568
|
-
}
|
|
29569
|
-
},
|
|
29570
|
-
"attributes" : [ ],
|
|
29571
|
-
"type" : "io.flow.permission.v0.models.permission_error"
|
|
29572
|
-
} ],
|
|
29573
|
-
"attributes" : [ {
|
|
29574
|
-
"name" : "sort",
|
|
29575
|
-
"value" : {
|
|
29576
|
-
"values" : [ {
|
|
29577
|
-
"value" : "id"
|
|
29578
|
-
}, {
|
|
29579
|
-
"value" : "journal_timestamp"
|
|
29580
|
-
} ]
|
|
29581
|
-
}
|
|
29582
|
-
}, {
|
|
29583
|
-
"name" : "auth",
|
|
29584
|
-
"value" : {
|
|
29585
|
-
"techniques" : [ "user", "token" ],
|
|
29586
|
-
"roles" : [ "organization_admin", "organization_merchant", "organization_operations", "organization_fulfillment", "organization_marketing" ]
|
|
29587
|
-
}
|
|
29588
|
-
} ],
|
|
29589
|
-
"parameters" : [ {
|
|
29590
|
-
"name" : "organization",
|
|
29591
|
-
"description" : "Refers to your organization's account identifier",
|
|
29592
|
-
"location" : "Path",
|
|
29593
|
-
"type" : "string",
|
|
29594
|
-
"required" : true
|
|
29595
|
-
}, {
|
|
29596
|
-
"name" : "id",
|
|
29597
|
-
"description" : "Filter by one or more IDs of this resource",
|
|
29598
|
-
"maximum" : 100,
|
|
29599
|
-
"location" : "Query",
|
|
29600
|
-
"type" : "[string]",
|
|
29601
|
-
"required" : false
|
|
29602
|
-
}, {
|
|
29603
|
-
"name" : "exclusion_rule_id",
|
|
29604
|
-
"description" : "Filter to exclusion rules with any one of these ids.",
|
|
29605
|
-
"maximum" : 100,
|
|
29606
|
-
"location" : "Query",
|
|
29607
|
-
"type" : "[string]",
|
|
29608
|
-
"required" : false
|
|
29609
|
-
}, {
|
|
29610
|
-
"default" : "25",
|
|
29611
|
-
"name" : "limit",
|
|
29612
|
-
"description" : "The maximum number of results to return",
|
|
29613
|
-
"maximum" : 100,
|
|
29614
|
-
"location" : "Query",
|
|
29615
|
-
"type" : "long",
|
|
29616
|
-
"minimum" : 1,
|
|
29617
|
-
"required" : true
|
|
29618
|
-
}, {
|
|
29619
|
-
"default" : "0",
|
|
29620
|
-
"name" : "offset",
|
|
29621
|
-
"description" : "The number of results to skip before returning results",
|
|
29622
|
-
"location" : "Query",
|
|
29623
|
-
"type" : "long",
|
|
29624
|
-
"minimum" : 0,
|
|
29625
|
-
"required" : true
|
|
29626
|
-
}, {
|
|
29627
|
-
"default" : "journal_timestamp",
|
|
29628
|
-
"name" : "sort",
|
|
29629
|
-
"location" : "Query",
|
|
29630
|
-
"type" : "string",
|
|
29631
|
-
"required" : true
|
|
29632
|
-
} ]
|
|
29633
|
-
}, {
|
|
29634
|
-
"path" : "/:organization/exclusion/rules/:id",
|
|
29635
|
-
"method" : "PUT",
|
|
29636
|
-
"responses" : [ {
|
|
29637
|
-
"code" : {
|
|
29638
|
-
"integer" : {
|
|
29639
|
-
"value" : 200
|
|
29640
|
-
}
|
|
29641
|
-
},
|
|
29642
|
-
"description" : "Successful response",
|
|
29643
|
-
"attributes" : [ ],
|
|
29644
|
-
"type" : "exclusion_rule"
|
|
29645
|
-
}, {
|
|
29646
|
-
"code" : {
|
|
29647
|
-
"integer" : {
|
|
29648
|
-
"value" : 401
|
|
29649
|
-
}
|
|
29650
|
-
},
|
|
29651
|
-
"description" : "Authorization failed",
|
|
29652
|
-
"attributes" : [ ],
|
|
29653
|
-
"type" : "unit"
|
|
29654
|
-
}, {
|
|
29655
|
-
"code" : {
|
|
29656
|
-
"integer" : {
|
|
29657
|
-
"value" : 403
|
|
29658
|
-
}
|
|
29659
|
-
},
|
|
29660
|
-
"attributes" : [ ],
|
|
29661
|
-
"type" : "io.flow.permission.v0.models.permission_error"
|
|
29662
|
-
}, {
|
|
29663
|
-
"code" : {
|
|
29664
|
-
"integer" : {
|
|
29665
|
-
"value" : 404
|
|
29666
|
-
}
|
|
29667
|
-
},
|
|
29668
|
-
"description" : "Resource was not found",
|
|
29669
|
-
"attributes" : [ ],
|
|
29670
|
-
"type" : "unit"
|
|
29671
|
-
}, {
|
|
29672
|
-
"code" : {
|
|
29673
|
-
"integer" : {
|
|
29674
|
-
"value" : 422
|
|
29675
|
-
}
|
|
29676
|
-
},
|
|
29677
|
-
"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.",
|
|
29678
|
-
"attributes" : [ ],
|
|
29679
|
-
"type" : "io.flow.error.v0.models.generic_error"
|
|
29680
|
-
} ],
|
|
29681
|
-
"description" : "Updates the specified exclusion rule.",
|
|
29682
|
-
"attributes" : [ {
|
|
29683
|
-
"name" : "auth",
|
|
29684
|
-
"value" : {
|
|
29685
|
-
"techniques" : [ "user", "token" ],
|
|
29686
|
-
"roles" : [ "organization_admin", "organization_merchant" ]
|
|
29687
|
-
}
|
|
29688
|
-
} ],
|
|
29689
|
-
"body" : {
|
|
29690
|
-
"attributes" : [ ],
|
|
29691
|
-
"type" : "exclusion_rule_form"
|
|
29692
|
-
},
|
|
29693
|
-
"parameters" : [ {
|
|
29694
|
-
"name" : "organization",
|
|
29695
|
-
"description" : "Refers to your organization's account identifier",
|
|
29696
|
-
"location" : "Path",
|
|
29697
|
-
"type" : "string",
|
|
29698
|
-
"required" : true
|
|
29699
|
-
}, {
|
|
29700
|
-
"name" : "id",
|
|
29701
|
-
"description" : "Filter by one or more IDs of this resource",
|
|
29702
|
-
"location" : "Path",
|
|
29703
|
-
"type" : "string",
|
|
29704
|
-
"required" : true
|
|
29705
|
-
} ]
|
|
29706
|
-
}, {
|
|
29707
|
-
"path" : "/:organization/exclusion/rules/:id/deletion",
|
|
29708
|
-
"method" : "PUT",
|
|
29709
|
-
"responses" : [ {
|
|
29710
|
-
"code" : {
|
|
29711
|
-
"integer" : {
|
|
29712
|
-
"value" : 200
|
|
29713
|
-
}
|
|
29714
|
-
},
|
|
29715
|
-
"description" : "Successful response",
|
|
29716
|
-
"attributes" : [ ],
|
|
29717
|
-
"type" : "exclusion_rule"
|
|
29718
|
-
}, {
|
|
29719
|
-
"code" : {
|
|
29720
|
-
"integer" : {
|
|
29721
|
-
"value" : 401
|
|
29722
|
-
}
|
|
29723
|
-
},
|
|
29724
|
-
"description" : "Authorization failed",
|
|
29725
|
-
"attributes" : [ ],
|
|
29726
|
-
"type" : "unit"
|
|
29727
|
-
}, {
|
|
29728
|
-
"code" : {
|
|
29729
|
-
"integer" : {
|
|
29730
|
-
"value" : 403
|
|
29731
|
-
}
|
|
29732
|
-
},
|
|
29733
|
-
"attributes" : [ ],
|
|
29734
|
-
"type" : "io.flow.permission.v0.models.permission_error"
|
|
29735
|
-
}, {
|
|
29736
|
-
"code" : {
|
|
29737
|
-
"integer" : {
|
|
29738
|
-
"value" : 404
|
|
29739
|
-
}
|
|
29740
|
-
},
|
|
29741
|
-
"description" : "Resource was not found",
|
|
29742
|
-
"attributes" : [ ],
|
|
29743
|
-
"type" : "unit"
|
|
29744
|
-
}, {
|
|
29745
|
-
"code" : {
|
|
29746
|
-
"integer" : {
|
|
29747
|
-
"value" : 422
|
|
29748
|
-
}
|
|
29749
|
-
},
|
|
29750
|
-
"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.",
|
|
29751
|
-
"attributes" : [ ],
|
|
29752
|
-
"type" : "io.flow.error.v0.models.generic_error"
|
|
29753
|
-
} ],
|
|
29754
|
-
"description" : "Marks the exclusion rule deleted. Once updated, the rule itself will be deleted.",
|
|
29755
|
-
"attributes" : [ {
|
|
29756
|
-
"name" : "auth",
|
|
29757
|
-
"value" : {
|
|
29758
|
-
"techniques" : [ "user", "token" ],
|
|
29759
|
-
"roles" : [ "organization_admin", "organization_merchant" ]
|
|
29760
|
-
}
|
|
29761
|
-
} ],
|
|
29762
|
-
"parameters" : [ {
|
|
29763
|
-
"name" : "organization",
|
|
29764
|
-
"description" : "Refers to your organization's account identifier",
|
|
29765
|
-
"location" : "Path",
|
|
29766
|
-
"type" : "string",
|
|
29767
|
-
"required" : true
|
|
29768
|
-
}, {
|
|
29769
|
-
"name" : "id",
|
|
29770
|
-
"description" : "Filter by one or more IDs of this resource",
|
|
29771
|
-
"location" : "Path",
|
|
29772
|
-
"type" : "string",
|
|
29773
|
-
"required" : true
|
|
29774
|
-
} ]
|
|
29775
|
-
} ],
|
|
29776
|
-
"description" : "A global exclusion rule allows the user to select 1 or more items by query and to globally exclude those items from sale in one or more regions.",
|
|
29777
|
-
"attributes" : [ {
|
|
29778
|
-
"name" : "docs",
|
|
29779
|
-
"value" : {
|
|
29780
|
-
"module" : "general"
|
|
29781
|
-
}
|
|
29782
|
-
} ],
|
|
29783
|
-
"type" : "exclusion_rule"
|
|
29784
29241
|
}, {
|
|
29785
29242
|
"path" : "/:organization/experiments",
|
|
29786
29243
|
"plural" : "experiments",
|
|
@@ -48087,21 +47544,6 @@
|
|
|
48087
47544
|
"module" : "webhook"
|
|
48088
47545
|
}
|
|
48089
47546
|
} ]
|
|
48090
|
-
}, {
|
|
48091
|
-
"plural" : "exclusion_rule_states",
|
|
48092
|
-
"values" : [ {
|
|
48093
|
-
"name" : "current",
|
|
48094
|
-
"attributes" : [ ]
|
|
48095
|
-
}, {
|
|
48096
|
-
"name" : "deleting",
|
|
48097
|
-
"attributes" : [ ]
|
|
48098
|
-
}, {
|
|
48099
|
-
"name" : "updating",
|
|
48100
|
-
"attributes" : [ ]
|
|
48101
|
-
} ],
|
|
48102
|
-
"name" : "exclusion_rule_state",
|
|
48103
|
-
"description" : "The exclusion rule state highlights if an exclusion rule is currently processing as some updates take some time to apply to large catalogs.",
|
|
48104
|
-
"attributes" : [ ]
|
|
48105
47547
|
}, {
|
|
48106
47548
|
"plural" : "experience_import_types",
|
|
48107
47549
|
"values" : [ {
|