@flowio/api-internal-mock-generator 4.1.2 → 4.1.3

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.
@@ -4986,7 +4986,7 @@
4986
4986
  "annotations": [],
4987
4987
  "attributes": [],
4988
4988
  "type": "item_classification_status",
4989
- "required": true
4989
+ "required": false
4990
4990
  }, {
4991
4991
  "default": "[]",
4992
4992
  "name": "customs_description_suggestions",
@@ -5098,7 +5098,7 @@
5098
5098
  "annotations": [],
5099
5099
  "attributes": [],
5100
5100
  "type": "item_classification_status",
5101
- "required": true
5101
+ "required": false
5102
5102
  }, {
5103
5103
  "name": "suggestion_count",
5104
5104
  "annotations": [],
@@ -11438,45 +11438,6 @@
11438
11438
  "type": "map[decimal]",
11439
11439
  "required": true
11440
11440
  }]
11441
- }, {
11442
- "plural": "landed_cost_exports",
11443
- "name": "landed_cost_export",
11444
- "description": "Export landed cost items.",
11445
- "attributes": [],
11446
- "fields": [{
11447
- "name": "event_id",
11448
- "annotations": [],
11449
- "attributes": [],
11450
- "type": "string",
11451
- "required": true
11452
- }, {
11453
- "name": "timestamp",
11454
- "annotations": [],
11455
- "description": "The date/time of the request",
11456
- "attributes": [],
11457
- "type": "date-time-iso8601",
11458
- "required": true
11459
- }, {
11460
- "name": "organization",
11461
- "annotations": [],
11462
- "description": "Refers to your organization's account identifier",
11463
- "attributes": [],
11464
- "type": "string",
11465
- "required": true
11466
- }, {
11467
- "name": "export_id",
11468
- "annotations": [],
11469
- "attributes": [],
11470
- "type": "string",
11471
- "required": true
11472
- }, {
11473
- "name": "items",
11474
- "annotations": [],
11475
- "description": "The list of item numbers to include in the export",
11476
- "attributes": [],
11477
- "type": "[landed_cost_item]",
11478
- "required": true
11479
- }]
11480
11441
  }, {
11481
11442
  "plural": "landed_cost_items",
11482
11443
  "name": "landed_cost_item",
@@ -17358,12 +17319,14 @@
17358
17319
  }, {
17359
17320
  "name": "current_customs_description",
17360
17321
  "annotations": [],
17322
+ "description": "the previous customs description in case the product was previously classified",
17361
17323
  "attributes": [],
17362
17324
  "type": "string",
17363
17325
  "required": false
17364
17326
  }, {
17365
17327
  "name": "customs_description",
17366
17328
  "annotations": [],
17329
+ "description": "the customs description just computed by the classification model, if any",
17367
17330
  "attributes": [],
17368
17331
  "type": "string",
17369
17332
  "required": false
@@ -22133,7 +22096,7 @@
22133
22096
  "name": "status",
22134
22097
  "annotations": [],
22135
22098
  "attributes": [],
22136
- "type": "unclassified_product_status",
22099
+ "type": "item_classification_status",
22137
22100
  "required": false
22138
22101
  }]
22139
22102
  }, {
@@ -22940,14 +22903,6 @@
22940
22903
  "discriminator_value": "unharmonized_items_export",
22941
22904
  "attributes": [],
22942
22905
  "type": "unharmonized_items_export"
22943
- }, {
22944
- "discriminator_value": "dutied_items_export",
22945
- "attributes": [],
22946
- "type": "dutied_items_export"
22947
- }, {
22948
- "discriminator_value": "landed_cost_export",
22949
- "attributes": [],
22950
- "type": "landed_cost_export"
22951
22906
  }, {
22952
22907
  "discriminator_value": "harmonization_phrase_suggestion_request_import",
22953
22908
  "attributes": [],
@@ -27271,7 +27226,7 @@
27271
27226
  "application": {
27272
27227
  "key": "harmonization-internal"
27273
27228
  },
27274
- "version": "0.8.62",
27229
+ "version": "0.8.65",
27275
27230
  "enums": ["empty_attribute", "item_classification_action", "item_classification_status", "item_type", "product_classification_action", "unclassified_product_status"],
27276
27231
  "unions": ["classification_label_attribute", "task_data"],
27277
27232
  "models": ["allowed_labels", "attribute_label", "blacklisted_item", "classification_item", "classification_product", "classification_product_id", "classification_product_summary", "classification_product_summary_page", "classified_product", "customs", "customs_description_statistics", "customs_description_suggestion", "customs_description_tariff_code_duty", "customs_description_tariff_code_duty_form", "duties", "harmonization_countries", "harmonization_statistics", "harmonization_statistics_breakout", "harmonization_summary", "item_harmonization", "item_harmonization_summary", "label_aliases", "label_association", "label_taxonomy", "levies", "levies_address", "levies_form", "levies_item", "product_classification", "product_classification_form", "product_classification_judgement_form", "product_classification_result", "product_harmonization", "product_harmonization_form", "product_labels", "search_item_hs6_code", "supported_labels", "tariff_code_duty", "task_import", "task_item_upserted", "task_process_queued_event", "task_summarize_code", "unclassified_products_form", "unphrased_products_export", "vies_result"],
@@ -27285,7 +27240,7 @@
27285
27240
  "application": {
27286
27241
  "key": "price"
27287
27242
  },
27288
- "version": "0.8.80",
27243
+ "version": "0.8.95",
27289
27244
  "enums": ["levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting"],
27290
27245
  "unions": ["deminimis"],
27291
27246
  "models": ["currency_format", "deminimis_per_item", "deminimis_simple", "duty", "local_price_details", "price_book", "price_book_form", "price_book_item", "price_book_item_form", "price_book_item_query_form", "price_book_item_schedule", "price_book_reference", "price_check", "price_detail", "price_detail_component", "price_details", "price_equation", "pricing", "tax"],
@@ -27299,7 +27254,7 @@
27299
27254
  "application": {
27300
27255
  "key": "reference"
27301
27256
  },
27302
- "version": "0.8.80",
27257
+ "version": "0.8.95",
27303
27258
  "enums": ["payment_method_type", "province_type"],
27304
27259
  "unions": [],
27305
27260
  "models": ["carrier", "carrier_service", "country", "currency", "currency_symbols", "language", "locale", "locale_numbers", "localized_translation", "payment_method", "payment_method_image", "payment_method_images", "province", "region", "timezone"],
@@ -32086,7 +32041,7 @@
32086
32041
  "name": "status",
32087
32042
  "location": "Query",
32088
32043
  "type": "item_classification_status",
32089
- "required": true
32044
+ "required": false
32090
32045
  }, {
32091
32046
  "name": "cursor",
32092
32047
  "location": "Query",
@@ -52445,12 +52400,6 @@
52445
52400
  }, {
52446
52401
  "name": "unharmonized_items_export",
52447
52402
  "attributes": []
52448
- }, {
52449
- "name": "dutied_items_export",
52450
- "attributes": []
52451
- }, {
52452
- "name": "landed_cost_export",
52453
- "attributes": []
52454
52403
  }, {
52455
52404
  "name": "harmonization_phrase_suggestion_request_import",
52456
52405
  "attributes": []
@@ -52953,13 +52902,12 @@
52953
52902
  }, {
52954
52903
  "plural": "item_classification_statuses",
52955
52904
  "values": [{
52956
- "name": "Unclassified",
52957
- "attributes": []
52958
- }, {
52959
- "name": "Suggested",
52905
+ "name": "ignored",
52906
+ "description": "some items/products like services can't be classified and have to be ignored.",
52960
52907
  "attributes": []
52961
52908
  }, {
52962
- "name": "Classified",
52909
+ "name": "escalated",
52910
+ "description": "classification escalated to product/engineering team",
52963
52911
  "attributes": []
52964
52912
  }],
52965
52913
  "name": "item_classification_status",
@@ -53792,17 +53740,6 @@
53792
53740
  }],
53793
53741
  "name": "transfer_method",
53794
53742
  "attributes": []
53795
- }, {
53796
- "plural": "unclassified_product_statuses",
53797
- "values": [{
53798
- "name": "ignored",
53799
- "attributes": []
53800
- }, {
53801
- "name": "escalated",
53802
- "attributes": []
53803
- }],
53804
- "name": "unclassified_product_status",
53805
- "attributes": []
53806
53743
  }],
53807
53744
  "application": {
53808
53745
  "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.2",
3
+ "version": "4.1.3",
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": "dcac36c3412c16e8732d9c1c53d041c30fefedcc"
37
+ "gitHead": "30131101753d93459ca9ba8c259c95a06aa11698"
38
38
  }
@@ -4986,7 +4986,7 @@
4986
4986
  "annotations" : [ ],
4987
4987
  "attributes" : [ ],
4988
4988
  "type" : "item_classification_status",
4989
- "required" : true
4989
+ "required" : false
4990
4990
  }, {
4991
4991
  "default" : "[]",
4992
4992
  "name" : "customs_description_suggestions",
@@ -5098,7 +5098,7 @@
5098
5098
  "annotations" : [ ],
5099
5099
  "attributes" : [ ],
5100
5100
  "type" : "item_classification_status",
5101
- "required" : true
5101
+ "required" : false
5102
5102
  }, {
5103
5103
  "name" : "suggestion_count",
5104
5104
  "annotations" : [ ],
@@ -11438,45 +11438,6 @@
11438
11438
  "type" : "map[decimal]",
11439
11439
  "required" : true
11440
11440
  } ]
11441
- }, {
11442
- "plural" : "landed_cost_exports",
11443
- "name" : "landed_cost_export",
11444
- "description" : "Export landed cost items.",
11445
- "attributes" : [ ],
11446
- "fields" : [ {
11447
- "name" : "event_id",
11448
- "annotations" : [ ],
11449
- "attributes" : [ ],
11450
- "type" : "string",
11451
- "required" : true
11452
- }, {
11453
- "name" : "timestamp",
11454
- "annotations" : [ ],
11455
- "description" : "The date/time of the request",
11456
- "attributes" : [ ],
11457
- "type" : "date-time-iso8601",
11458
- "required" : true
11459
- }, {
11460
- "name" : "organization",
11461
- "annotations" : [ ],
11462
- "description" : "Refers to your organization's account identifier",
11463
- "attributes" : [ ],
11464
- "type" : "string",
11465
- "required" : true
11466
- }, {
11467
- "name" : "export_id",
11468
- "annotations" : [ ],
11469
- "attributes" : [ ],
11470
- "type" : "string",
11471
- "required" : true
11472
- }, {
11473
- "name" : "items",
11474
- "annotations" : [ ],
11475
- "description" : "The list of item numbers to include in the export",
11476
- "attributes" : [ ],
11477
- "type" : "[landed_cost_item]",
11478
- "required" : true
11479
- } ]
11480
11441
  }, {
11481
11442
  "plural" : "landed_cost_items",
11482
11443
  "name" : "landed_cost_item",
@@ -17358,12 +17319,14 @@
17358
17319
  }, {
17359
17320
  "name" : "current_customs_description",
17360
17321
  "annotations" : [ ],
17322
+ "description" : "the previous customs description in case the product was previously classified",
17361
17323
  "attributes" : [ ],
17362
17324
  "type" : "string",
17363
17325
  "required" : false
17364
17326
  }, {
17365
17327
  "name" : "customs_description",
17366
17328
  "annotations" : [ ],
17329
+ "description" : "the customs description just computed by the classification model, if any",
17367
17330
  "attributes" : [ ],
17368
17331
  "type" : "string",
17369
17332
  "required" : false
@@ -22133,7 +22096,7 @@
22133
22096
  "name" : "status",
22134
22097
  "annotations" : [ ],
22135
22098
  "attributes" : [ ],
22136
- "type" : "unclassified_product_status",
22099
+ "type" : "item_classification_status",
22137
22100
  "required" : false
22138
22101
  } ]
22139
22102
  }, {
@@ -22940,14 +22903,6 @@
22940
22903
  "discriminator_value" : "unharmonized_items_export",
22941
22904
  "attributes" : [ ],
22942
22905
  "type" : "unharmonized_items_export"
22943
- }, {
22944
- "discriminator_value" : "dutied_items_export",
22945
- "attributes" : [ ],
22946
- "type" : "dutied_items_export"
22947
- }, {
22948
- "discriminator_value" : "landed_cost_export",
22949
- "attributes" : [ ],
22950
- "type" : "landed_cost_export"
22951
22906
  }, {
22952
22907
  "discriminator_value" : "harmonization_phrase_suggestion_request_import",
22953
22908
  "attributes" : [ ],
@@ -27271,7 +27226,7 @@
27271
27226
  "application" : {
27272
27227
  "key" : "harmonization-internal"
27273
27228
  },
27274
- "version" : "0.8.62",
27229
+ "version" : "0.8.65",
27275
27230
  "enums" : [ "empty_attribute", "item_classification_action", "item_classification_status", "item_type", "product_classification_action", "unclassified_product_status" ],
27276
27231
  "unions" : [ "classification_label_attribute", "task_data" ],
27277
27232
  "models" : [ "allowed_labels", "attribute_label", "blacklisted_item", "classification_item", "classification_product", "classification_product_id", "classification_product_summary", "classification_product_summary_page", "classified_product", "customs", "customs_description_statistics", "customs_description_suggestion", "customs_description_tariff_code_duty", "customs_description_tariff_code_duty_form", "duties", "harmonization_countries", "harmonization_statistics", "harmonization_statistics_breakout", "harmonization_summary", "item_harmonization", "item_harmonization_summary", "label_aliases", "label_association", "label_taxonomy", "levies", "levies_address", "levies_form", "levies_item", "product_classification", "product_classification_form", "product_classification_judgement_form", "product_classification_result", "product_harmonization", "product_harmonization_form", "product_labels", "search_item_hs6_code", "supported_labels", "tariff_code_duty", "task_import", "task_item_upserted", "task_process_queued_event", "task_summarize_code", "unclassified_products_form", "unphrased_products_export", "vies_result" ],
@@ -27285,7 +27240,7 @@
27285
27240
  "application" : {
27286
27241
  "key" : "price"
27287
27242
  },
27288
- "version" : "0.8.80",
27243
+ "version" : "0.8.95",
27289
27244
  "enums" : [ "levy_component", "levy_strategy", "price_accuracy", "price_detail_component_key", "price_detail_key", "pricing_levy_setting" ],
27290
27245
  "unions" : [ "deminimis" ],
27291
27246
  "models" : [ "currency_format", "deminimis_per_item", "deminimis_simple", "duty", "local_price_details", "price_book", "price_book_form", "price_book_item", "price_book_item_form", "price_book_item_query_form", "price_book_item_schedule", "price_book_reference", "price_check", "price_detail", "price_detail_component", "price_details", "price_equation", "pricing", "tax" ],
@@ -27299,7 +27254,7 @@
27299
27254
  "application" : {
27300
27255
  "key" : "reference"
27301
27256
  },
27302
- "version" : "0.8.80",
27257
+ "version" : "0.8.95",
27303
27258
  "enums" : [ "payment_method_type", "province_type" ],
27304
27259
  "unions" : [ ],
27305
27260
  "models" : [ "carrier", "carrier_service", "country", "currency", "currency_symbols", "language", "locale", "locale_numbers", "localized_translation", "payment_method", "payment_method_image", "payment_method_images", "province", "region", "timezone" ],
@@ -32086,7 +32041,7 @@
32086
32041
  "name" : "status",
32087
32042
  "location" : "Query",
32088
32043
  "type" : "item_classification_status",
32089
- "required" : true
32044
+ "required" : false
32090
32045
  }, {
32091
32046
  "name" : "cursor",
32092
32047
  "location" : "Query",
@@ -52445,12 +52400,6 @@
52445
52400
  }, {
52446
52401
  "name" : "unharmonized_items_export",
52447
52402
  "attributes" : [ ]
52448
- }, {
52449
- "name" : "dutied_items_export",
52450
- "attributes" : [ ]
52451
- }, {
52452
- "name" : "landed_cost_export",
52453
- "attributes" : [ ]
52454
52403
  }, {
52455
52404
  "name" : "harmonization_phrase_suggestion_request_import",
52456
52405
  "attributes" : [ ]
@@ -52953,13 +52902,12 @@
52953
52902
  }, {
52954
52903
  "plural" : "item_classification_statuses",
52955
52904
  "values" : [ {
52956
- "name" : "Unclassified",
52957
- "attributes" : [ ]
52958
- }, {
52959
- "name" : "Suggested",
52905
+ "name" : "ignored",
52906
+ "description" : "some items/products like services can't be classified and have to be ignored.",
52960
52907
  "attributes" : [ ]
52961
52908
  }, {
52962
- "name" : "Classified",
52909
+ "name" : "escalated",
52910
+ "description" : "classification escalated to product/engineering team",
52963
52911
  "attributes" : [ ]
52964
52912
  } ],
52965
52913
  "name" : "item_classification_status",
@@ -53792,17 +53740,6 @@
53792
53740
  } ],
53793
53741
  "name" : "transfer_method",
53794
53742
  "attributes" : [ ]
53795
- }, {
53796
- "plural" : "unclassified_product_statuses",
53797
- "values" : [ {
53798
- "name" : "ignored",
53799
- "attributes" : [ ]
53800
- }, {
53801
- "name" : "escalated",
53802
- "attributes" : [ ]
53803
- } ],
53804
- "name" : "unclassified_product_status",
53805
- "attributes" : [ ]
53806
53743
  } ],
53807
53744
  "application" : {
53808
53745
  "key" : "api-internal"