@flowio/api-internal-mock-generator 4.1.4 → 4.1.5
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 +240 -18
- package/package.json +2 -2
- package/src/api-internal.json +240 -18
package/dist/api-internal.json
CHANGED
|
@@ -5072,7 +5072,7 @@
|
|
|
5072
5072
|
"name": "status",
|
|
5073
5073
|
"annotations": [],
|
|
5074
5074
|
"attributes": [],
|
|
5075
|
-
"type": "
|
|
5075
|
+
"type": "unclassified_product_status",
|
|
5076
5076
|
"required": false
|
|
5077
5077
|
}, {
|
|
5078
5078
|
"default": "[]",
|
|
@@ -5184,7 +5184,7 @@
|
|
|
5184
5184
|
"name": "status",
|
|
5185
5185
|
"annotations": [],
|
|
5186
5186
|
"attributes": [],
|
|
5187
|
-
"type": "
|
|
5187
|
+
"type": "unclassified_product_status",
|
|
5188
5188
|
"required": false
|
|
5189
5189
|
}, {
|
|
5190
5190
|
"name": "suggestion_count",
|
|
@@ -8224,6 +8224,45 @@
|
|
|
8224
8224
|
"type": "date-time-iso8601",
|
|
8225
8225
|
"required": false
|
|
8226
8226
|
}]
|
|
8227
|
+
}, {
|
|
8228
|
+
"plural": "feeds_exports",
|
|
8229
|
+
"name": "feeds_export",
|
|
8230
|
+
"description": "Export specified feeds.",
|
|
8231
|
+
"attributes": [],
|
|
8232
|
+
"fields": [{
|
|
8233
|
+
"name": "event_id",
|
|
8234
|
+
"annotations": [],
|
|
8235
|
+
"attributes": [],
|
|
8236
|
+
"type": "string",
|
|
8237
|
+
"required": true
|
|
8238
|
+
}, {
|
|
8239
|
+
"name": "timestamp",
|
|
8240
|
+
"annotations": [],
|
|
8241
|
+
"description": "The date/time of the request",
|
|
8242
|
+
"attributes": [],
|
|
8243
|
+
"type": "date-time-iso8601",
|
|
8244
|
+
"required": true
|
|
8245
|
+
}, {
|
|
8246
|
+
"name": "organization",
|
|
8247
|
+
"annotations": [],
|
|
8248
|
+
"description": "Refers to your organization's account identifier",
|
|
8249
|
+
"attributes": [],
|
|
8250
|
+
"type": "string",
|
|
8251
|
+
"required": true
|
|
8252
|
+
}, {
|
|
8253
|
+
"name": "export_id",
|
|
8254
|
+
"annotations": [],
|
|
8255
|
+
"attributes": [],
|
|
8256
|
+
"type": "string",
|
|
8257
|
+
"required": true
|
|
8258
|
+
}, {
|
|
8259
|
+
"name": "feed_ids",
|
|
8260
|
+
"annotations": [],
|
|
8261
|
+
"description": "The list of feeds to include in the export",
|
|
8262
|
+
"attributes": [],
|
|
8263
|
+
"type": "[string]",
|
|
8264
|
+
"required": true
|
|
8265
|
+
}]
|
|
8227
8266
|
}, {
|
|
8228
8267
|
"plural": "fees",
|
|
8229
8268
|
"name": "fees",
|
|
@@ -12747,6 +12786,25 @@
|
|
|
12747
12786
|
"type": "string",
|
|
12748
12787
|
"required": true
|
|
12749
12788
|
}]
|
|
12789
|
+
}, {
|
|
12790
|
+
"plural": "marketing_gateway_feed_export_forms",
|
|
12791
|
+
"name": "marketing_gateway_feed_export_form",
|
|
12792
|
+
"attributes": [],
|
|
12793
|
+
"fields": [{
|
|
12794
|
+
"name": "feed_ids",
|
|
12795
|
+
"annotations": [],
|
|
12796
|
+
"attributes": [],
|
|
12797
|
+
"type": "[string]",
|
|
12798
|
+
"required": true
|
|
12799
|
+
}, {
|
|
12800
|
+
"name": "emails",
|
|
12801
|
+
"annotations": [],
|
|
12802
|
+
"description": "The email address(es) to send the export to",
|
|
12803
|
+
"attributes": [],
|
|
12804
|
+
"type": "[string]",
|
|
12805
|
+
"minimum": 1,
|
|
12806
|
+
"required": true
|
|
12807
|
+
}]
|
|
12750
12808
|
}, {
|
|
12751
12809
|
"plural": "marketing_gateway_feed_forms",
|
|
12752
12810
|
"name": "marketing_gateway_feed_form",
|
|
@@ -14596,6 +14654,19 @@
|
|
|
14596
14654
|
"required": true,
|
|
14597
14655
|
"example": "0"
|
|
14598
14656
|
}]
|
|
14657
|
+
}, {
|
|
14658
|
+
"plural": "no_classification_forms",
|
|
14659
|
+
"name": "no_classification_form",
|
|
14660
|
+
"description": "Courthouse form to set status final classification status in harmonization when item does not require classification or cannot be classified",
|
|
14661
|
+
"attributes": [],
|
|
14662
|
+
"fields": [{
|
|
14663
|
+
"name": "harmonization_status",
|
|
14664
|
+
"annotations": [],
|
|
14665
|
+
"description": "status for products missing or exempt of classification",
|
|
14666
|
+
"attributes": [],
|
|
14667
|
+
"type": "item_harmonization_status",
|
|
14668
|
+
"required": true
|
|
14669
|
+
}]
|
|
14599
14670
|
}, {
|
|
14600
14671
|
"plural": "notifications",
|
|
14601
14672
|
"name": "notification",
|
|
@@ -17440,6 +17511,7 @@
|
|
|
17440
17511
|
}, {
|
|
17441
17512
|
"plural": "product_classification_forms",
|
|
17442
17513
|
"name": "product_classification_form",
|
|
17514
|
+
"description": "Courthouse form to submit a manually accepted or overriden classification",
|
|
17443
17515
|
"attributes": [],
|
|
17444
17516
|
"fields": [{
|
|
17445
17517
|
"name": "initial_customs_description",
|
|
@@ -17460,13 +17532,6 @@
|
|
|
17460
17532
|
"attributes": [],
|
|
17461
17533
|
"type": "string",
|
|
17462
17534
|
"required": true
|
|
17463
|
-
}, {
|
|
17464
|
-
"name": "user_id",
|
|
17465
|
-
"annotations": [],
|
|
17466
|
-
"description": "the user that submits the form as authenticated on Courthouse",
|
|
17467
|
-
"attributes": [],
|
|
17468
|
-
"type": "string",
|
|
17469
|
-
"required": true
|
|
17470
17535
|
}]
|
|
17471
17536
|
}, {
|
|
17472
17537
|
"plural": "product_classification_judgement_forms",
|
|
@@ -22190,7 +22255,7 @@
|
|
|
22190
22255
|
"name": "status",
|
|
22191
22256
|
"annotations": [],
|
|
22192
22257
|
"attributes": [],
|
|
22193
|
-
"type": "
|
|
22258
|
+
"type": "unclassified_product_status",
|
|
22194
22259
|
"required": false
|
|
22195
22260
|
}]
|
|
22196
22261
|
}, {
|
|
@@ -22595,6 +22660,20 @@
|
|
|
22595
22660
|
"name": "checkout_submit_order_forms",
|
|
22596
22661
|
"attributes": [],
|
|
22597
22662
|
"discriminator": "discriminator"
|
|
22663
|
+
}, {
|
|
22664
|
+
"types": [{
|
|
22665
|
+
"discriminator_value": "product_classification_form",
|
|
22666
|
+
"attributes": [],
|
|
22667
|
+
"type": "product_classification_form"
|
|
22668
|
+
}, {
|
|
22669
|
+
"discriminator_value": "no_classification_form",
|
|
22670
|
+
"attributes": [],
|
|
22671
|
+
"type": "no_classification_form"
|
|
22672
|
+
}],
|
|
22673
|
+
"plural": "classification_judgement_forms",
|
|
22674
|
+
"name": "classification_judgement_form",
|
|
22675
|
+
"attributes": [],
|
|
22676
|
+
"discriminator": "discriminator"
|
|
22598
22677
|
}, {
|
|
22599
22678
|
"types": [{
|
|
22600
22679
|
"discriminator_value": "empty_attribute",
|
|
@@ -23056,6 +23135,10 @@
|
|
|
23056
23135
|
"discriminator_value": "localized_item_snapshot",
|
|
23057
23136
|
"attributes": [],
|
|
23058
23137
|
"type": "localized_item_snapshot"
|
|
23138
|
+
}, {
|
|
23139
|
+
"discriminator_value": "feeds_export",
|
|
23140
|
+
"attributes": [],
|
|
23141
|
+
"type": "feeds_export"
|
|
23059
23142
|
}, {
|
|
23060
23143
|
"discriminator_value": "localized_item_prices_export_request",
|
|
23061
23144
|
"attributes": [],
|
|
@@ -25360,7 +25443,7 @@
|
|
|
25360
25443
|
"application": {
|
|
25361
25444
|
"key": "common"
|
|
25362
25445
|
},
|
|
25363
|
-
"version": "0.8.
|
|
25446
|
+
"version": "0.8.97",
|
|
25364
25447
|
"enums": ["attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "environment", "exception_type", "goods_supply", "holiday_calendar", "included_levy_key", "incoterm", "input_specification_type", "margin_type", "measurement_system", "merchant_of_record", "order_merchant_of_record", "price_book_status", "role", "rounding_method", "rounding_type", "schedule_exception_status", "sort_direction", "unit_of_measurement", "unit_of_time", "user_status", "value_added_service", "visibility"],
|
|
25365
25448
|
"unions": ["discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule"],
|
|
25366
25449
|
"models": ["address", "billing_address", "catalog_item_reference", "catalog_item_summary", "checkout_reference", "contact", "customer_invoice", "customer_reference", "datetime_range", "dimension", "dimensions", "discount_form", "discount_offer_fixed", "discount_offer_percent", "discounts_form", "duration", "exception", "experience_summary", "included_levies", "input_form", "input_form_specification", "input_specification", "input_specification_limitation_max", "input_specification_limitations", "item_reference", "line_item", "line_item_form", "margin", "measurement", "merchant_of_record_entity", "merchant_of_record_entity_registration", "money", "money_with_base", "money_with_optional_base", "name", "order_customer", "order_customer_form", "organization", "organization_defaults", "organization_reference", "organization_summary", "partner_reference", "price", "price_form", "price_source_catalog", "price_source_price_book", "price_source_price_book_reference", "price_source_provided", "price_with_base", "repeat_daily", "repeat_hourly", "repeat_monthly", "repeat_weekly", "rounding", "schedule", "session_reference", "user", "user_reference", "zone"],
|
|
@@ -25388,7 +25471,7 @@
|
|
|
25388
25471
|
"application": {
|
|
25389
25472
|
"key": "permission"
|
|
25390
25473
|
},
|
|
25391
|
-
"version": "0.8.
|
|
25474
|
+
"version": "0.8.97",
|
|
25392
25475
|
"enums": ["authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method"],
|
|
25393
25476
|
"unions": ["flow_role"],
|
|
25394
25477
|
"models": ["behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check"],
|
|
@@ -32346,7 +32429,7 @@
|
|
|
32346
32429
|
}, {
|
|
32347
32430
|
"name": "status",
|
|
32348
32431
|
"location": "Query",
|
|
32349
|
-
"type": "
|
|
32432
|
+
"type": "unclassified_product_status",
|
|
32350
32433
|
"required": false
|
|
32351
32434
|
}, {
|
|
32352
32435
|
"name": "cursor",
|
|
@@ -43548,6 +43631,80 @@
|
|
|
43548
43631
|
"type": "string",
|
|
43549
43632
|
"required": true
|
|
43550
43633
|
}]
|
|
43634
|
+
}, {
|
|
43635
|
+
"path": "/:organization/marketing/gateway/feeds/export",
|
|
43636
|
+
"method": "POST",
|
|
43637
|
+
"responses": [{
|
|
43638
|
+
"code": {
|
|
43639
|
+
"integer": {
|
|
43640
|
+
"value": 201
|
|
43641
|
+
}
|
|
43642
|
+
},
|
|
43643
|
+
"description": "Operation succeeded and the resource was created",
|
|
43644
|
+
"attributes": [],
|
|
43645
|
+
"type": "unit"
|
|
43646
|
+
}, {
|
|
43647
|
+
"code": {
|
|
43648
|
+
"integer": {
|
|
43649
|
+
"value": 401
|
|
43650
|
+
}
|
|
43651
|
+
},
|
|
43652
|
+
"description": "Authorization failed",
|
|
43653
|
+
"attributes": [],
|
|
43654
|
+
"type": "unit"
|
|
43655
|
+
}, {
|
|
43656
|
+
"code": {
|
|
43657
|
+
"integer": {
|
|
43658
|
+
"value": 403
|
|
43659
|
+
}
|
|
43660
|
+
},
|
|
43661
|
+
"attributes": [],
|
|
43662
|
+
"type": "io.flow.permission.v0.models.permission_error"
|
|
43663
|
+
}, {
|
|
43664
|
+
"code": {
|
|
43665
|
+
"integer": {
|
|
43666
|
+
"value": 404
|
|
43667
|
+
}
|
|
43668
|
+
},
|
|
43669
|
+
"description": "Resource was not found",
|
|
43670
|
+
"attributes": [],
|
|
43671
|
+
"type": "unit"
|
|
43672
|
+
}, {
|
|
43673
|
+
"code": {
|
|
43674
|
+
"integer": {
|
|
43675
|
+
"value": 422
|
|
43676
|
+
}
|
|
43677
|
+
},
|
|
43678
|
+
"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.",
|
|
43679
|
+
"attributes": [],
|
|
43680
|
+
"type": "io.flow.error.v0.models.generic_error"
|
|
43681
|
+
}, {
|
|
43682
|
+
"code": {
|
|
43683
|
+
"integer": {
|
|
43684
|
+
"value": 500
|
|
43685
|
+
}
|
|
43686
|
+
},
|
|
43687
|
+
"attributes": [],
|
|
43688
|
+
"type": "io.flow.error.v0.models.generic_error"
|
|
43689
|
+
}],
|
|
43690
|
+
"attributes": [{
|
|
43691
|
+
"name": "auth",
|
|
43692
|
+
"value": {
|
|
43693
|
+
"techniques": ["user", "token"],
|
|
43694
|
+
"roles": ["organization_admin", "organization_merchant", "organization_marketing"]
|
|
43695
|
+
}
|
|
43696
|
+
}],
|
|
43697
|
+
"body": {
|
|
43698
|
+
"attributes": [],
|
|
43699
|
+
"type": "marketing_gateway_feed_export_form"
|
|
43700
|
+
},
|
|
43701
|
+
"parameters": [{
|
|
43702
|
+
"name": "organization",
|
|
43703
|
+
"description": "Refers to your organization's account identifier",
|
|
43704
|
+
"location": "Path",
|
|
43705
|
+
"type": "string",
|
|
43706
|
+
"required": true
|
|
43707
|
+
}]
|
|
43551
43708
|
}, {
|
|
43552
43709
|
"path": "/:organization/marketing/gateway/feeds/:feed",
|
|
43553
43710
|
"method": "GET",
|
|
@@ -48184,7 +48341,7 @@
|
|
|
48184
48341
|
"attributes": [],
|
|
48185
48342
|
"body": {
|
|
48186
48343
|
"attributes": [],
|
|
48187
|
-
"type": "
|
|
48344
|
+
"type": "classification_judgement_form"
|
|
48188
48345
|
},
|
|
48189
48346
|
"parameters": [{
|
|
48190
48347
|
"name": "organization_id",
|
|
@@ -52773,6 +52930,9 @@
|
|
|
52773
52930
|
}, {
|
|
52774
52931
|
"name": "localized_item_snapshot",
|
|
52775
52932
|
"attributes": []
|
|
52933
|
+
}, {
|
|
52934
|
+
"name": "feeds_export",
|
|
52935
|
+
"attributes": []
|
|
52776
52936
|
}, {
|
|
52777
52937
|
"name": "localized_item_prices_export_request",
|
|
52778
52938
|
"attributes": []
|
|
@@ -53233,16 +53393,61 @@
|
|
|
53233
53393
|
}, {
|
|
53234
53394
|
"plural": "item_classification_statuses",
|
|
53235
53395
|
"values": [{
|
|
53236
|
-
"name": "
|
|
53237
|
-
"description": "
|
|
53396
|
+
"name": "unknown",
|
|
53397
|
+
"description": "for items whose classification is unknown (for legacy items)",
|
|
53238
53398
|
"attributes": []
|
|
53239
53399
|
}, {
|
|
53240
|
-
"name": "
|
|
53241
|
-
"description": "
|
|
53400
|
+
"name": "manual",
|
|
53401
|
+
"description": "for items strictly manually classified, eg CSV upload",
|
|
53402
|
+
"attributes": []
|
|
53403
|
+
}, {
|
|
53404
|
+
"name": "manually_accepted",
|
|
53405
|
+
"description": "item classified by a model and validated/accepted by a human",
|
|
53406
|
+
"attributes": []
|
|
53407
|
+
}, {
|
|
53408
|
+
"name": "manually_overridden",
|
|
53409
|
+
"description": "item wrongly classified by a model and classification manually overridden by a human",
|
|
53410
|
+
"attributes": []
|
|
53411
|
+
}, {
|
|
53412
|
+
"name": "automatically_accepted",
|
|
53413
|
+
"description": "item classified by a model with a high level of confidence, no human review",
|
|
53242
53414
|
"attributes": []
|
|
53243
53415
|
}],
|
|
53244
53416
|
"name": "item_classification_status",
|
|
53245
53417
|
"attributes": []
|
|
53418
|
+
}, {
|
|
53419
|
+
"plural": "item_harmonization_statuses",
|
|
53420
|
+
"values": [{
|
|
53421
|
+
"name": "waiting_for_classification",
|
|
53422
|
+
"description": "Item has yet to be classified",
|
|
53423
|
+
"attributes": []
|
|
53424
|
+
}, {
|
|
53425
|
+
"name": "classified",
|
|
53426
|
+
"description": "customs description and hs6 code assigned to an item",
|
|
53427
|
+
"attributes": []
|
|
53428
|
+
}, {
|
|
53429
|
+
"name": "non_classifiable_not_enough_information",
|
|
53430
|
+
"description": "item cannot be classified because of insufficient data",
|
|
53431
|
+
"attributes": []
|
|
53432
|
+
}, {
|
|
53433
|
+
"name": "non_classifiable_other",
|
|
53434
|
+
"description": "item cannot be classified for some reason",
|
|
53435
|
+
"attributes": []
|
|
53436
|
+
}, {
|
|
53437
|
+
"name": "exempt_digital_product",
|
|
53438
|
+
"description": "item is exempt from classification because it's a digital product",
|
|
53439
|
+
"attributes": []
|
|
53440
|
+
}, {
|
|
53441
|
+
"name": "exempt_service",
|
|
53442
|
+
"description": "item is exempt from classification because it's a service",
|
|
53443
|
+
"attributes": []
|
|
53444
|
+
}, {
|
|
53445
|
+
"name": "exempt_other",
|
|
53446
|
+
"description": "item is exempt from classification for some reason",
|
|
53447
|
+
"attributes": []
|
|
53448
|
+
}],
|
|
53449
|
+
"name": "item_harmonization_status",
|
|
53450
|
+
"attributes": []
|
|
53246
53451
|
}, {
|
|
53247
53452
|
"plural": "item_quantity_actions",
|
|
53248
53453
|
"values": [{
|
|
@@ -54071,6 +54276,23 @@
|
|
|
54071
54276
|
}],
|
|
54072
54277
|
"name": "transfer_method",
|
|
54073
54278
|
"attributes": []
|
|
54279
|
+
}, {
|
|
54280
|
+
"plural": "unclassified_product_statuses",
|
|
54281
|
+
"values": [{
|
|
54282
|
+
"name": "ignored",
|
|
54283
|
+
"description": "(this will be soon deprecated) some items/products like services can't be classified and have to be ignored.",
|
|
54284
|
+
"attributes": []
|
|
54285
|
+
}, {
|
|
54286
|
+
"name": "escalated",
|
|
54287
|
+
"description": "classification escalated to product/engineering team",
|
|
54288
|
+
"attributes": []
|
|
54289
|
+
}, {
|
|
54290
|
+
"name": "requeued",
|
|
54291
|
+
"description": "products previously classified but scheduled for a review to validate existing classification",
|
|
54292
|
+
"attributes": []
|
|
54293
|
+
}],
|
|
54294
|
+
"name": "unclassified_product_status",
|
|
54295
|
+
"attributes": []
|
|
54074
54296
|
}],
|
|
54075
54297
|
"application": {
|
|
54076
54298
|
"key": "api-internal"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "A mock data generator based on our internal API specifications for JavaScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"tslint-config-airbnb": "^5.11.2",
|
|
35
35
|
"typescript": "^3.6.3"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "4e9e0f325445e4bd770b3cd56dd63a6b372ae7bc"
|
|
38
38
|
}
|
package/src/api-internal.json
CHANGED
|
@@ -5072,7 +5072,7 @@
|
|
|
5072
5072
|
"name" : "status",
|
|
5073
5073
|
"annotations" : [ ],
|
|
5074
5074
|
"attributes" : [ ],
|
|
5075
|
-
"type" : "
|
|
5075
|
+
"type" : "unclassified_product_status",
|
|
5076
5076
|
"required" : false
|
|
5077
5077
|
}, {
|
|
5078
5078
|
"default" : "[]",
|
|
@@ -5184,7 +5184,7 @@
|
|
|
5184
5184
|
"name" : "status",
|
|
5185
5185
|
"annotations" : [ ],
|
|
5186
5186
|
"attributes" : [ ],
|
|
5187
|
-
"type" : "
|
|
5187
|
+
"type" : "unclassified_product_status",
|
|
5188
5188
|
"required" : false
|
|
5189
5189
|
}, {
|
|
5190
5190
|
"name" : "suggestion_count",
|
|
@@ -8224,6 +8224,45 @@
|
|
|
8224
8224
|
"type" : "date-time-iso8601",
|
|
8225
8225
|
"required" : false
|
|
8226
8226
|
} ]
|
|
8227
|
+
}, {
|
|
8228
|
+
"plural" : "feeds_exports",
|
|
8229
|
+
"name" : "feeds_export",
|
|
8230
|
+
"description" : "Export specified feeds.",
|
|
8231
|
+
"attributes" : [ ],
|
|
8232
|
+
"fields" : [ {
|
|
8233
|
+
"name" : "event_id",
|
|
8234
|
+
"annotations" : [ ],
|
|
8235
|
+
"attributes" : [ ],
|
|
8236
|
+
"type" : "string",
|
|
8237
|
+
"required" : true
|
|
8238
|
+
}, {
|
|
8239
|
+
"name" : "timestamp",
|
|
8240
|
+
"annotations" : [ ],
|
|
8241
|
+
"description" : "The date/time of the request",
|
|
8242
|
+
"attributes" : [ ],
|
|
8243
|
+
"type" : "date-time-iso8601",
|
|
8244
|
+
"required" : true
|
|
8245
|
+
}, {
|
|
8246
|
+
"name" : "organization",
|
|
8247
|
+
"annotations" : [ ],
|
|
8248
|
+
"description" : "Refers to your organization's account identifier",
|
|
8249
|
+
"attributes" : [ ],
|
|
8250
|
+
"type" : "string",
|
|
8251
|
+
"required" : true
|
|
8252
|
+
}, {
|
|
8253
|
+
"name" : "export_id",
|
|
8254
|
+
"annotations" : [ ],
|
|
8255
|
+
"attributes" : [ ],
|
|
8256
|
+
"type" : "string",
|
|
8257
|
+
"required" : true
|
|
8258
|
+
}, {
|
|
8259
|
+
"name" : "feed_ids",
|
|
8260
|
+
"annotations" : [ ],
|
|
8261
|
+
"description" : "The list of feeds to include in the export",
|
|
8262
|
+
"attributes" : [ ],
|
|
8263
|
+
"type" : "[string]",
|
|
8264
|
+
"required" : true
|
|
8265
|
+
} ]
|
|
8227
8266
|
}, {
|
|
8228
8267
|
"plural" : "fees",
|
|
8229
8268
|
"name" : "fees",
|
|
@@ -12747,6 +12786,25 @@
|
|
|
12747
12786
|
"type" : "string",
|
|
12748
12787
|
"required" : true
|
|
12749
12788
|
} ]
|
|
12789
|
+
}, {
|
|
12790
|
+
"plural" : "marketing_gateway_feed_export_forms",
|
|
12791
|
+
"name" : "marketing_gateway_feed_export_form",
|
|
12792
|
+
"attributes" : [ ],
|
|
12793
|
+
"fields" : [ {
|
|
12794
|
+
"name" : "feed_ids",
|
|
12795
|
+
"annotations" : [ ],
|
|
12796
|
+
"attributes" : [ ],
|
|
12797
|
+
"type" : "[string]",
|
|
12798
|
+
"required" : true
|
|
12799
|
+
}, {
|
|
12800
|
+
"name" : "emails",
|
|
12801
|
+
"annotations" : [ ],
|
|
12802
|
+
"description" : "The email address(es) to send the export to",
|
|
12803
|
+
"attributes" : [ ],
|
|
12804
|
+
"type" : "[string]",
|
|
12805
|
+
"minimum" : 1,
|
|
12806
|
+
"required" : true
|
|
12807
|
+
} ]
|
|
12750
12808
|
}, {
|
|
12751
12809
|
"plural" : "marketing_gateway_feed_forms",
|
|
12752
12810
|
"name" : "marketing_gateway_feed_form",
|
|
@@ -14596,6 +14654,19 @@
|
|
|
14596
14654
|
"required" : true,
|
|
14597
14655
|
"example" : "0"
|
|
14598
14656
|
} ]
|
|
14657
|
+
}, {
|
|
14658
|
+
"plural" : "no_classification_forms",
|
|
14659
|
+
"name" : "no_classification_form",
|
|
14660
|
+
"description" : "Courthouse form to set status final classification status in harmonization when item does not require classification or cannot be classified",
|
|
14661
|
+
"attributes" : [ ],
|
|
14662
|
+
"fields" : [ {
|
|
14663
|
+
"name" : "harmonization_status",
|
|
14664
|
+
"annotations" : [ ],
|
|
14665
|
+
"description" : "status for products missing or exempt of classification",
|
|
14666
|
+
"attributes" : [ ],
|
|
14667
|
+
"type" : "item_harmonization_status",
|
|
14668
|
+
"required" : true
|
|
14669
|
+
} ]
|
|
14599
14670
|
}, {
|
|
14600
14671
|
"plural" : "notifications",
|
|
14601
14672
|
"name" : "notification",
|
|
@@ -17440,6 +17511,7 @@
|
|
|
17440
17511
|
}, {
|
|
17441
17512
|
"plural" : "product_classification_forms",
|
|
17442
17513
|
"name" : "product_classification_form",
|
|
17514
|
+
"description" : "Courthouse form to submit a manually accepted or overriden classification",
|
|
17443
17515
|
"attributes" : [ ],
|
|
17444
17516
|
"fields" : [ {
|
|
17445
17517
|
"name" : "initial_customs_description",
|
|
@@ -17460,13 +17532,6 @@
|
|
|
17460
17532
|
"attributes" : [ ],
|
|
17461
17533
|
"type" : "string",
|
|
17462
17534
|
"required" : true
|
|
17463
|
-
}, {
|
|
17464
|
-
"name" : "user_id",
|
|
17465
|
-
"annotations" : [ ],
|
|
17466
|
-
"description" : "the user that submits the form as authenticated on Courthouse",
|
|
17467
|
-
"attributes" : [ ],
|
|
17468
|
-
"type" : "string",
|
|
17469
|
-
"required" : true
|
|
17470
17535
|
} ]
|
|
17471
17536
|
}, {
|
|
17472
17537
|
"plural" : "product_classification_judgement_forms",
|
|
@@ -22190,7 +22255,7 @@
|
|
|
22190
22255
|
"name" : "status",
|
|
22191
22256
|
"annotations" : [ ],
|
|
22192
22257
|
"attributes" : [ ],
|
|
22193
|
-
"type" : "
|
|
22258
|
+
"type" : "unclassified_product_status",
|
|
22194
22259
|
"required" : false
|
|
22195
22260
|
} ]
|
|
22196
22261
|
}, {
|
|
@@ -22595,6 +22660,20 @@
|
|
|
22595
22660
|
"name" : "checkout_submit_order_forms",
|
|
22596
22661
|
"attributes" : [ ],
|
|
22597
22662
|
"discriminator" : "discriminator"
|
|
22663
|
+
}, {
|
|
22664
|
+
"types" : [ {
|
|
22665
|
+
"discriminator_value" : "product_classification_form",
|
|
22666
|
+
"attributes" : [ ],
|
|
22667
|
+
"type" : "product_classification_form"
|
|
22668
|
+
}, {
|
|
22669
|
+
"discriminator_value" : "no_classification_form",
|
|
22670
|
+
"attributes" : [ ],
|
|
22671
|
+
"type" : "no_classification_form"
|
|
22672
|
+
} ],
|
|
22673
|
+
"plural" : "classification_judgement_forms",
|
|
22674
|
+
"name" : "classification_judgement_form",
|
|
22675
|
+
"attributes" : [ ],
|
|
22676
|
+
"discriminator" : "discriminator"
|
|
22598
22677
|
}, {
|
|
22599
22678
|
"types" : [ {
|
|
22600
22679
|
"discriminator_value" : "empty_attribute",
|
|
@@ -23056,6 +23135,10 @@
|
|
|
23056
23135
|
"discriminator_value" : "localized_item_snapshot",
|
|
23057
23136
|
"attributes" : [ ],
|
|
23058
23137
|
"type" : "localized_item_snapshot"
|
|
23138
|
+
}, {
|
|
23139
|
+
"discriminator_value" : "feeds_export",
|
|
23140
|
+
"attributes" : [ ],
|
|
23141
|
+
"type" : "feeds_export"
|
|
23059
23142
|
}, {
|
|
23060
23143
|
"discriminator_value" : "localized_item_prices_export_request",
|
|
23061
23144
|
"attributes" : [ ],
|
|
@@ -25360,7 +25443,7 @@
|
|
|
25360
25443
|
"application" : {
|
|
25361
25444
|
"key" : "common"
|
|
25362
25445
|
},
|
|
25363
|
-
"version" : "0.8.
|
|
25446
|
+
"version" : "0.8.97",
|
|
25364
25447
|
"enums" : [ "attribute_data_type", "availability_status", "calendar", "capability", "change_type", "currency_label_formatter", "currency_symbol_format", "day_of_week", "delivered_duty", "discount_target", "environment", "exception_type", "goods_supply", "holiday_calendar", "included_levy_key", "incoterm", "input_specification_type", "margin_type", "measurement_system", "merchant_of_record", "order_merchant_of_record", "price_book_status", "role", "rounding_method", "rounding_type", "schedule_exception_status", "sort_direction", "unit_of_measurement", "unit_of_time", "user_status", "value_added_service", "visibility" ],
|
|
25365
25448
|
"unions" : [ "discount_offer", "expandable_organization", "expandable_user", "input_specification_limitation", "price_source", "repeat_schedule" ],
|
|
25366
25449
|
"models" : [ "address", "billing_address", "catalog_item_reference", "catalog_item_summary", "checkout_reference", "contact", "customer_invoice", "customer_reference", "datetime_range", "dimension", "dimensions", "discount_form", "discount_offer_fixed", "discount_offer_percent", "discounts_form", "duration", "exception", "experience_summary", "included_levies", "input_form", "input_form_specification", "input_specification", "input_specification_limitation_max", "input_specification_limitations", "item_reference", "line_item", "line_item_form", "margin", "measurement", "merchant_of_record_entity", "merchant_of_record_entity_registration", "money", "money_with_base", "money_with_optional_base", "name", "order_customer", "order_customer_form", "organization", "organization_defaults", "organization_reference", "organization_summary", "partner_reference", "price", "price_form", "price_source_catalog", "price_source_price_book", "price_source_price_book_reference", "price_source_provided", "price_with_base", "repeat_daily", "repeat_hourly", "repeat_monthly", "repeat_weekly", "rounding", "schedule", "session_reference", "user", "user_reference", "zone" ],
|
|
@@ -25388,7 +25471,7 @@
|
|
|
25388
25471
|
"application" : {
|
|
25389
25472
|
"key" : "permission"
|
|
25390
25473
|
},
|
|
25391
|
-
"version" : "0.8.
|
|
25474
|
+
"version" : "0.8.97",
|
|
25392
25475
|
"enums" : [ "authentication_technique", "flow_addon_role", "flow_behavior", "flow_user_role", "permitted_http_method" ],
|
|
25393
25476
|
"unions" : [ "flow_role" ],
|
|
25394
25477
|
"models" : [ "behavior_audit", "permission_audit", "permission_check", "permission_error", "permitted_route", "route_audit", "simple_permission_check" ],
|
|
@@ -32346,7 +32429,7 @@
|
|
|
32346
32429
|
}, {
|
|
32347
32430
|
"name" : "status",
|
|
32348
32431
|
"location" : "Query",
|
|
32349
|
-
"type" : "
|
|
32432
|
+
"type" : "unclassified_product_status",
|
|
32350
32433
|
"required" : false
|
|
32351
32434
|
}, {
|
|
32352
32435
|
"name" : "cursor",
|
|
@@ -43548,6 +43631,80 @@
|
|
|
43548
43631
|
"type" : "string",
|
|
43549
43632
|
"required" : true
|
|
43550
43633
|
} ]
|
|
43634
|
+
}, {
|
|
43635
|
+
"path" : "/:organization/marketing/gateway/feeds/export",
|
|
43636
|
+
"method" : "POST",
|
|
43637
|
+
"responses" : [ {
|
|
43638
|
+
"code" : {
|
|
43639
|
+
"integer" : {
|
|
43640
|
+
"value" : 201
|
|
43641
|
+
}
|
|
43642
|
+
},
|
|
43643
|
+
"description" : "Operation succeeded and the resource was created",
|
|
43644
|
+
"attributes" : [ ],
|
|
43645
|
+
"type" : "unit"
|
|
43646
|
+
}, {
|
|
43647
|
+
"code" : {
|
|
43648
|
+
"integer" : {
|
|
43649
|
+
"value" : 401
|
|
43650
|
+
}
|
|
43651
|
+
},
|
|
43652
|
+
"description" : "Authorization failed",
|
|
43653
|
+
"attributes" : [ ],
|
|
43654
|
+
"type" : "unit"
|
|
43655
|
+
}, {
|
|
43656
|
+
"code" : {
|
|
43657
|
+
"integer" : {
|
|
43658
|
+
"value" : 403
|
|
43659
|
+
}
|
|
43660
|
+
},
|
|
43661
|
+
"attributes" : [ ],
|
|
43662
|
+
"type" : "io.flow.permission.v0.models.permission_error"
|
|
43663
|
+
}, {
|
|
43664
|
+
"code" : {
|
|
43665
|
+
"integer" : {
|
|
43666
|
+
"value" : 404
|
|
43667
|
+
}
|
|
43668
|
+
},
|
|
43669
|
+
"description" : "Resource was not found",
|
|
43670
|
+
"attributes" : [ ],
|
|
43671
|
+
"type" : "unit"
|
|
43672
|
+
}, {
|
|
43673
|
+
"code" : {
|
|
43674
|
+
"integer" : {
|
|
43675
|
+
"value" : 422
|
|
43676
|
+
}
|
|
43677
|
+
},
|
|
43678
|
+
"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.",
|
|
43679
|
+
"attributes" : [ ],
|
|
43680
|
+
"type" : "io.flow.error.v0.models.generic_error"
|
|
43681
|
+
}, {
|
|
43682
|
+
"code" : {
|
|
43683
|
+
"integer" : {
|
|
43684
|
+
"value" : 500
|
|
43685
|
+
}
|
|
43686
|
+
},
|
|
43687
|
+
"attributes" : [ ],
|
|
43688
|
+
"type" : "io.flow.error.v0.models.generic_error"
|
|
43689
|
+
} ],
|
|
43690
|
+
"attributes" : [ {
|
|
43691
|
+
"name" : "auth",
|
|
43692
|
+
"value" : {
|
|
43693
|
+
"techniques" : [ "user", "token" ],
|
|
43694
|
+
"roles" : [ "organization_admin", "organization_merchant", "organization_marketing" ]
|
|
43695
|
+
}
|
|
43696
|
+
} ],
|
|
43697
|
+
"body" : {
|
|
43698
|
+
"attributes" : [ ],
|
|
43699
|
+
"type" : "marketing_gateway_feed_export_form"
|
|
43700
|
+
},
|
|
43701
|
+
"parameters" : [ {
|
|
43702
|
+
"name" : "organization",
|
|
43703
|
+
"description" : "Refers to your organization's account identifier",
|
|
43704
|
+
"location" : "Path",
|
|
43705
|
+
"type" : "string",
|
|
43706
|
+
"required" : true
|
|
43707
|
+
} ]
|
|
43551
43708
|
}, {
|
|
43552
43709
|
"path" : "/:organization/marketing/gateway/feeds/:feed",
|
|
43553
43710
|
"method" : "GET",
|
|
@@ -48184,7 +48341,7 @@
|
|
|
48184
48341
|
"attributes" : [ ],
|
|
48185
48342
|
"body" : {
|
|
48186
48343
|
"attributes" : [ ],
|
|
48187
|
-
"type" : "
|
|
48344
|
+
"type" : "classification_judgement_form"
|
|
48188
48345
|
},
|
|
48189
48346
|
"parameters" : [ {
|
|
48190
48347
|
"name" : "organization_id",
|
|
@@ -52773,6 +52930,9 @@
|
|
|
52773
52930
|
}, {
|
|
52774
52931
|
"name" : "localized_item_snapshot",
|
|
52775
52932
|
"attributes" : [ ]
|
|
52933
|
+
}, {
|
|
52934
|
+
"name" : "feeds_export",
|
|
52935
|
+
"attributes" : [ ]
|
|
52776
52936
|
}, {
|
|
52777
52937
|
"name" : "localized_item_prices_export_request",
|
|
52778
52938
|
"attributes" : [ ]
|
|
@@ -53233,16 +53393,61 @@
|
|
|
53233
53393
|
}, {
|
|
53234
53394
|
"plural" : "item_classification_statuses",
|
|
53235
53395
|
"values" : [ {
|
|
53236
|
-
"name" : "
|
|
53237
|
-
"description" : "
|
|
53396
|
+
"name" : "unknown",
|
|
53397
|
+
"description" : "for items whose classification is unknown (for legacy items)",
|
|
53238
53398
|
"attributes" : [ ]
|
|
53239
53399
|
}, {
|
|
53240
|
-
"name" : "
|
|
53241
|
-
"description" : "
|
|
53400
|
+
"name" : "manual",
|
|
53401
|
+
"description" : "for items strictly manually classified, eg CSV upload",
|
|
53402
|
+
"attributes" : [ ]
|
|
53403
|
+
}, {
|
|
53404
|
+
"name" : "manually_accepted",
|
|
53405
|
+
"description" : "item classified by a model and validated/accepted by a human",
|
|
53406
|
+
"attributes" : [ ]
|
|
53407
|
+
}, {
|
|
53408
|
+
"name" : "manually_overridden",
|
|
53409
|
+
"description" : "item wrongly classified by a model and classification manually overridden by a human",
|
|
53410
|
+
"attributes" : [ ]
|
|
53411
|
+
}, {
|
|
53412
|
+
"name" : "automatically_accepted",
|
|
53413
|
+
"description" : "item classified by a model with a high level of confidence, no human review",
|
|
53242
53414
|
"attributes" : [ ]
|
|
53243
53415
|
} ],
|
|
53244
53416
|
"name" : "item_classification_status",
|
|
53245
53417
|
"attributes" : [ ]
|
|
53418
|
+
}, {
|
|
53419
|
+
"plural" : "item_harmonization_statuses",
|
|
53420
|
+
"values" : [ {
|
|
53421
|
+
"name" : "waiting_for_classification",
|
|
53422
|
+
"description" : "Item has yet to be classified",
|
|
53423
|
+
"attributes" : [ ]
|
|
53424
|
+
}, {
|
|
53425
|
+
"name" : "classified",
|
|
53426
|
+
"description" : "customs description and hs6 code assigned to an item",
|
|
53427
|
+
"attributes" : [ ]
|
|
53428
|
+
}, {
|
|
53429
|
+
"name" : "non_classifiable_not_enough_information",
|
|
53430
|
+
"description" : "item cannot be classified because of insufficient data",
|
|
53431
|
+
"attributes" : [ ]
|
|
53432
|
+
}, {
|
|
53433
|
+
"name" : "non_classifiable_other",
|
|
53434
|
+
"description" : "item cannot be classified for some reason",
|
|
53435
|
+
"attributes" : [ ]
|
|
53436
|
+
}, {
|
|
53437
|
+
"name" : "exempt_digital_product",
|
|
53438
|
+
"description" : "item is exempt from classification because it's a digital product",
|
|
53439
|
+
"attributes" : [ ]
|
|
53440
|
+
}, {
|
|
53441
|
+
"name" : "exempt_service",
|
|
53442
|
+
"description" : "item is exempt from classification because it's a service",
|
|
53443
|
+
"attributes" : [ ]
|
|
53444
|
+
}, {
|
|
53445
|
+
"name" : "exempt_other",
|
|
53446
|
+
"description" : "item is exempt from classification for some reason",
|
|
53447
|
+
"attributes" : [ ]
|
|
53448
|
+
} ],
|
|
53449
|
+
"name" : "item_harmonization_status",
|
|
53450
|
+
"attributes" : [ ]
|
|
53246
53451
|
}, {
|
|
53247
53452
|
"plural" : "item_quantity_actions",
|
|
53248
53453
|
"values" : [ {
|
|
@@ -54071,6 +54276,23 @@
|
|
|
54071
54276
|
} ],
|
|
54072
54277
|
"name" : "transfer_method",
|
|
54073
54278
|
"attributes" : [ ]
|
|
54279
|
+
}, {
|
|
54280
|
+
"plural" : "unclassified_product_statuses",
|
|
54281
|
+
"values" : [ {
|
|
54282
|
+
"name" : "ignored",
|
|
54283
|
+
"description" : "(this will be soon deprecated) some items/products like services can't be classified and have to be ignored.",
|
|
54284
|
+
"attributes" : [ ]
|
|
54285
|
+
}, {
|
|
54286
|
+
"name" : "escalated",
|
|
54287
|
+
"description" : "classification escalated to product/engineering team",
|
|
54288
|
+
"attributes" : [ ]
|
|
54289
|
+
}, {
|
|
54290
|
+
"name" : "requeued",
|
|
54291
|
+
"description" : "products previously classified but scheduled for a review to validate existing classification",
|
|
54292
|
+
"attributes" : [ ]
|
|
54293
|
+
} ],
|
|
54294
|
+
"name" : "unclassified_product_status",
|
|
54295
|
+
"attributes" : [ ]
|
|
54074
54296
|
} ],
|
|
54075
54297
|
"application" : {
|
|
54076
54298
|
"key" : "api-internal"
|