@flowio/api-internal-mock-generator 3.2.1 → 3.2.2
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 +83 -4
- package/package.json +2 -2
- package/src/api-internal.json +83 -4
package/dist/api-internal.json
CHANGED
|
@@ -8138,6 +8138,13 @@
|
|
|
8138
8138
|
"attributes": [],
|
|
8139
8139
|
"type": "map[string]",
|
|
8140
8140
|
"required": false
|
|
8141
|
+
}, {
|
|
8142
|
+
"name": "provider",
|
|
8143
|
+
"annotations": [],
|
|
8144
|
+
"description": "The provider that made the fraud decision.",
|
|
8145
|
+
"attributes": [],
|
|
8146
|
+
"type": "fraud_provider",
|
|
8147
|
+
"required": false
|
|
8141
8148
|
}]
|
|
8142
8149
|
}, {
|
|
8143
8150
|
"plural": "fraud_review_decisions",
|
|
@@ -12738,12 +12745,22 @@
|
|
|
12738
12745
|
"attributes": [],
|
|
12739
12746
|
"type": "marketing_gateway_google_feed_parent",
|
|
12740
12747
|
"required": true
|
|
12748
|
+
}, {
|
|
12749
|
+
"name": "feed_state",
|
|
12750
|
+
"annotations": [],
|
|
12751
|
+
"description": "The known state of the feed",
|
|
12752
|
+
"attributes": [],
|
|
12753
|
+
"type": "marketing_gateway_feed_state",
|
|
12754
|
+
"required": true
|
|
12741
12755
|
}, {
|
|
12742
12756
|
"name": "processing_status",
|
|
12743
12757
|
"annotations": [],
|
|
12744
12758
|
"description": "The processing status Google reports for the feed",
|
|
12745
12759
|
"attributes": [],
|
|
12746
12760
|
"type": "marketing_gateway_google_feed_processing_status",
|
|
12761
|
+
"deprecation": {
|
|
12762
|
+
"description": "Use feed_state instead"
|
|
12763
|
+
},
|
|
12747
12764
|
"required": false
|
|
12748
12765
|
}, {
|
|
12749
12766
|
"name": "last_uploaded",
|
|
@@ -12825,12 +12842,22 @@
|
|
|
12825
12842
|
"attributes": [],
|
|
12826
12843
|
"type": "string",
|
|
12827
12844
|
"required": true
|
|
12845
|
+
}, {
|
|
12846
|
+
"name": "feed_state",
|
|
12847
|
+
"annotations": [],
|
|
12848
|
+
"description": "The known state of the feed",
|
|
12849
|
+
"attributes": [],
|
|
12850
|
+
"type": "marketing_gateway_feed_state",
|
|
12851
|
+
"required": true
|
|
12828
12852
|
}, {
|
|
12829
12853
|
"name": "processing_status",
|
|
12830
12854
|
"annotations": [],
|
|
12831
12855
|
"description": "The processing status Google reports for the feed",
|
|
12832
12856
|
"attributes": [],
|
|
12833
12857
|
"type": "marketing_gateway_google_feed_processing_status",
|
|
12858
|
+
"deprecation": {
|
|
12859
|
+
"description": "Use feed_state instead"
|
|
12860
|
+
},
|
|
12834
12861
|
"required": false
|
|
12835
12862
|
}, {
|
|
12836
12863
|
"name": "last_uploaded",
|
|
@@ -24419,7 +24446,7 @@
|
|
|
24419
24446
|
"application": {
|
|
24420
24447
|
"key": "experience"
|
|
24421
24448
|
},
|
|
24422
|
-
"version": "0.8.
|
|
24449
|
+
"version": "0.8.82",
|
|
24423
24450
|
"enums": ["credit_payment_error_code", "delivered_duty_display_type", "experience_clone_status", "experience_payment_method_tag", "experience_status", "order_error_code", "order_payment_type", "order_status", "order_storage", "organization_payment_method_tag", "payment_method_rule_content_key", "price_facet_boundary", "promotion_trigger_type"],
|
|
24424
24451
|
"unions": ["allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion"],
|
|
24425
24452
|
"models": ["address_configuration", "address_configuration_province", "address_configuration_province_translation", "address_configuration_province_translation_locale", "address_field_validation", "allocation", "allocation_detail_component", "allocation_levy_component", "allocation_line_detail", "allocation_order_detail", "allocation_order_summary", "allocation_v2", "available_promotion", "checkout_attribute", "checkout_attribute_form", "checkout_item_content", "checkout_item_content_attribute", "checkout_settings", "credit_payment", "credit_payment_error", "credit_payment_form", "credit_payment_version", "delivered_duty_setting", "discount", "experience", "experience_checkout_settings", "experience_checkout_settings_form", "experience_clone", "experience_clone_form", "experience_configuration_reference", "experience_currency_format", "experience_currency_format_form", "experience_defaults", "experience_form", "experience_geo", "experience_logistics_settings", "experience_logistics_settings_put_form", "experience_logistics_summary", "experience_logistics_tier_summary", "experience_logistics_tier_summary_prices", "experience_overview", "experience_payment_method_rule_form", "experience_price_book_mapping", "experience_price_book_mapping_form", "experience_price_book_mapping_put_form", "experience_price_conversion", "experience_price_conversion_request", "experience_price_conversion_response", "experience_price_facet_conversion", "experience_price_facet_conversion_request", "experience_price_facet_conversion_response", "experience_reference", "experience_settings", "experience_status_form", "experience_version", "free_shipping", "free_shipping_order_promotion", "free_shipping_order_promotion_form", "item_margin", "item_margin_post_form", "item_margin_put_form", "item_margin_version", "line", "localized_line_item", "localized_line_item_discount", "logistics_settings", "order", "order_address", "order_builder", "order_builder_attributes_form", "order_builder_customer_invoice_address_form", "order_builder_delivered_duty_form", "order_builder_destination_country_form", "order_builder_destination_form", "order_destination_put_form", "order_error", "order_estimate", "order_estimate_form", "order_form", "order_geo", "order_identifier", "order_identifier_form", "order_identifier_put_form", "order_identifier_version", "order_number_generator_defaults", "order_number_generator_fixed_length", "order_number_generator_hexadecimal", "order_number_generator_prefix_suffix", "order_number_generator_uuid", "order_number_reference", "order_options", "order_payment", "order_promotion_trigger", "order_put_form", "order_reference", "order_rule_reference", "order_rules_summary", "order_service_change", "order_service_change_form", "order_service_change_request_data", "order_submission_form", "order_submission_identifier_form", "order_summary", "order_summary_image", "order_summary_item", "order_summary_levy", "order_summary_line_item", "order_summary_price_detail", "order_version", "order_with_discounts_form", "original_prices", "payment_method_issuer", "payment_method_rule", "payment_method_rule_content", "pricing_settings", "promotion_trigger", "promotion_trigger_form", "promotions", "region_reference", "value_threshold_exceeded_details"],
|
|
@@ -51048,6 +51075,30 @@
|
|
|
51048
51075
|
}],
|
|
51049
51076
|
"name": "format",
|
|
51050
51077
|
"attributes": []
|
|
51078
|
+
}, {
|
|
51079
|
+
"plural": "fraud_providers",
|
|
51080
|
+
"values": [{
|
|
51081
|
+
"name": "flow",
|
|
51082
|
+
"description": "A flow internal rule.",
|
|
51083
|
+
"attributes": []
|
|
51084
|
+
}, {
|
|
51085
|
+
"name": "riskified",
|
|
51086
|
+
"attributes": []
|
|
51087
|
+
}, {
|
|
51088
|
+
"name": "rps",
|
|
51089
|
+
"description": "Restricted Party Screen.",
|
|
51090
|
+
"attributes": []
|
|
51091
|
+
}, {
|
|
51092
|
+
"name": "other",
|
|
51093
|
+
"attributes": []
|
|
51094
|
+
}, {
|
|
51095
|
+
"name": "none",
|
|
51096
|
+
"description": "No provider was used.",
|
|
51097
|
+
"attributes": []
|
|
51098
|
+
}],
|
|
51099
|
+
"name": "fraud_provider",
|
|
51100
|
+
"description": "The fraud provider used to make a decision.",
|
|
51101
|
+
"attributes": []
|
|
51051
51102
|
}, {
|
|
51052
51103
|
"plural": "fraud_review_responsible_parties",
|
|
51053
51104
|
"values": [{
|
|
@@ -51230,6 +51281,31 @@
|
|
|
51230
51281
|
}],
|
|
51231
51282
|
"name": "marketing_gateway_feed_download_format",
|
|
51232
51283
|
"attributes": []
|
|
51284
|
+
}, {
|
|
51285
|
+
"plural": "marketing_gateway_feed_states",
|
|
51286
|
+
"values": [{
|
|
51287
|
+
"name": "initialized",
|
|
51288
|
+
"description": "The feed has been created, but not yet generated or processed in any way.",
|
|
51289
|
+
"attributes": []
|
|
51290
|
+
}, {
|
|
51291
|
+
"name": "generated",
|
|
51292
|
+
"description": "The feed has generated successfully, however has not been seen yet by a third party (Facebook, Google).",
|
|
51293
|
+
"attributes": []
|
|
51294
|
+
}, {
|
|
51295
|
+
"name": "in_review",
|
|
51296
|
+
"description": "The feed has been observed by a third party, but not yet accepted or rejected by any validation or verification process they might run.",
|
|
51297
|
+
"attributes": []
|
|
51298
|
+
}, {
|
|
51299
|
+
"name": "rejected",
|
|
51300
|
+
"description": "The feed was rejected by a third party.",
|
|
51301
|
+
"attributes": []
|
|
51302
|
+
}, {
|
|
51303
|
+
"name": "active",
|
|
51304
|
+
"description": "The feed is considered live and in use by a third party platform.",
|
|
51305
|
+
"attributes": []
|
|
51306
|
+
}],
|
|
51307
|
+
"name": "marketing_gateway_feed_state",
|
|
51308
|
+
"attributes": []
|
|
51233
51309
|
}, {
|
|
51234
51310
|
"plural": "marketing_gateway_google_connection_statuses",
|
|
51235
51311
|
"values": [{
|
|
@@ -51262,7 +51338,10 @@
|
|
|
51262
51338
|
"attributes": []
|
|
51263
51339
|
}],
|
|
51264
51340
|
"name": "marketing_gateway_google_feed_processing_status",
|
|
51265
|
-
"attributes": []
|
|
51341
|
+
"attributes": [],
|
|
51342
|
+
"deprecation": {
|
|
51343
|
+
"description": "Use marketing_gateway_feed_state instead"
|
|
51344
|
+
}
|
|
51266
51345
|
}, {
|
|
51267
51346
|
"plural": "marketing_gateway_google_product_destination_approval_statuses",
|
|
51268
51347
|
"values": [{
|
|
@@ -51737,12 +51816,12 @@
|
|
|
51737
51816
|
"value": "Low-Risk"
|
|
51738
51817
|
}, {
|
|
51739
51818
|
"name": "restricted",
|
|
51740
|
-
"description": "Denied by restricted party screen",
|
|
51819
|
+
"description": "Denied by restricted party screen.",
|
|
51741
51820
|
"attributes": [],
|
|
51742
51821
|
"value": "Restricted-Party"
|
|
51743
51822
|
}, {
|
|
51744
51823
|
"name": "none",
|
|
51745
|
-
"description": "Evaluation not run by Flow",
|
|
51824
|
+
"description": "Evaluation not run by Flow.",
|
|
51746
51825
|
"attributes": []
|
|
51747
51826
|
}],
|
|
51748
51827
|
"name": "risk_evaluation",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
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": "6027ff71f4e88f7cf21a1f28b1a80070dbf866a8"
|
|
38
38
|
}
|
package/src/api-internal.json
CHANGED
|
@@ -8138,6 +8138,13 @@
|
|
|
8138
8138
|
"attributes" : [ ],
|
|
8139
8139
|
"type" : "map[string]",
|
|
8140
8140
|
"required" : false
|
|
8141
|
+
}, {
|
|
8142
|
+
"name" : "provider",
|
|
8143
|
+
"annotations" : [ ],
|
|
8144
|
+
"description" : "The provider that made the fraud decision.",
|
|
8145
|
+
"attributes" : [ ],
|
|
8146
|
+
"type" : "fraud_provider",
|
|
8147
|
+
"required" : false
|
|
8141
8148
|
} ]
|
|
8142
8149
|
}, {
|
|
8143
8150
|
"plural" : "fraud_review_decisions",
|
|
@@ -12738,12 +12745,22 @@
|
|
|
12738
12745
|
"attributes" : [ ],
|
|
12739
12746
|
"type" : "marketing_gateway_google_feed_parent",
|
|
12740
12747
|
"required" : true
|
|
12748
|
+
}, {
|
|
12749
|
+
"name" : "feed_state",
|
|
12750
|
+
"annotations" : [ ],
|
|
12751
|
+
"description" : "The known state of the feed",
|
|
12752
|
+
"attributes" : [ ],
|
|
12753
|
+
"type" : "marketing_gateway_feed_state",
|
|
12754
|
+
"required" : true
|
|
12741
12755
|
}, {
|
|
12742
12756
|
"name" : "processing_status",
|
|
12743
12757
|
"annotations" : [ ],
|
|
12744
12758
|
"description" : "The processing status Google reports for the feed",
|
|
12745
12759
|
"attributes" : [ ],
|
|
12746
12760
|
"type" : "marketing_gateway_google_feed_processing_status",
|
|
12761
|
+
"deprecation" : {
|
|
12762
|
+
"description" : "Use feed_state instead"
|
|
12763
|
+
},
|
|
12747
12764
|
"required" : false
|
|
12748
12765
|
}, {
|
|
12749
12766
|
"name" : "last_uploaded",
|
|
@@ -12825,12 +12842,22 @@
|
|
|
12825
12842
|
"attributes" : [ ],
|
|
12826
12843
|
"type" : "string",
|
|
12827
12844
|
"required" : true
|
|
12845
|
+
}, {
|
|
12846
|
+
"name" : "feed_state",
|
|
12847
|
+
"annotations" : [ ],
|
|
12848
|
+
"description" : "The known state of the feed",
|
|
12849
|
+
"attributes" : [ ],
|
|
12850
|
+
"type" : "marketing_gateway_feed_state",
|
|
12851
|
+
"required" : true
|
|
12828
12852
|
}, {
|
|
12829
12853
|
"name" : "processing_status",
|
|
12830
12854
|
"annotations" : [ ],
|
|
12831
12855
|
"description" : "The processing status Google reports for the feed",
|
|
12832
12856
|
"attributes" : [ ],
|
|
12833
12857
|
"type" : "marketing_gateway_google_feed_processing_status",
|
|
12858
|
+
"deprecation" : {
|
|
12859
|
+
"description" : "Use feed_state instead"
|
|
12860
|
+
},
|
|
12834
12861
|
"required" : false
|
|
12835
12862
|
}, {
|
|
12836
12863
|
"name" : "last_uploaded",
|
|
@@ -24419,7 +24446,7 @@
|
|
|
24419
24446
|
"application" : {
|
|
24420
24447
|
"key" : "experience"
|
|
24421
24448
|
},
|
|
24422
|
-
"version" : "0.8.
|
|
24449
|
+
"version" : "0.8.82",
|
|
24423
24450
|
"enums" : [ "credit_payment_error_code", "delivered_duty_display_type", "experience_clone_status", "experience_payment_method_tag", "experience_status", "order_error_code", "order_payment_type", "order_status", "order_storage", "organization_payment_method_tag", "payment_method_rule_content_key", "price_facet_boundary", "promotion_trigger_type" ],
|
|
24424
24451
|
"unions" : [ "allocation_component", "allocation_detail", "expandable_experience", "expandable_order", "order_number_generator", "order_promotion", "order_promotion_form", "payment_method_tag", "promotion" ],
|
|
24425
24452
|
"models" : [ "address_configuration", "address_configuration_province", "address_configuration_province_translation", "address_configuration_province_translation_locale", "address_field_validation", "allocation", "allocation_detail_component", "allocation_levy_component", "allocation_line_detail", "allocation_order_detail", "allocation_order_summary", "allocation_v2", "available_promotion", "checkout_attribute", "checkout_attribute_form", "checkout_item_content", "checkout_item_content_attribute", "checkout_settings", "credit_payment", "credit_payment_error", "credit_payment_form", "credit_payment_version", "delivered_duty_setting", "discount", "experience", "experience_checkout_settings", "experience_checkout_settings_form", "experience_clone", "experience_clone_form", "experience_configuration_reference", "experience_currency_format", "experience_currency_format_form", "experience_defaults", "experience_form", "experience_geo", "experience_logistics_settings", "experience_logistics_settings_put_form", "experience_logistics_summary", "experience_logistics_tier_summary", "experience_logistics_tier_summary_prices", "experience_overview", "experience_payment_method_rule_form", "experience_price_book_mapping", "experience_price_book_mapping_form", "experience_price_book_mapping_put_form", "experience_price_conversion", "experience_price_conversion_request", "experience_price_conversion_response", "experience_price_facet_conversion", "experience_price_facet_conversion_request", "experience_price_facet_conversion_response", "experience_reference", "experience_settings", "experience_status_form", "experience_version", "free_shipping", "free_shipping_order_promotion", "free_shipping_order_promotion_form", "item_margin", "item_margin_post_form", "item_margin_put_form", "item_margin_version", "line", "localized_line_item", "localized_line_item_discount", "logistics_settings", "order", "order_address", "order_builder", "order_builder_attributes_form", "order_builder_customer_invoice_address_form", "order_builder_delivered_duty_form", "order_builder_destination_country_form", "order_builder_destination_form", "order_destination_put_form", "order_error", "order_estimate", "order_estimate_form", "order_form", "order_geo", "order_identifier", "order_identifier_form", "order_identifier_put_form", "order_identifier_version", "order_number_generator_defaults", "order_number_generator_fixed_length", "order_number_generator_hexadecimal", "order_number_generator_prefix_suffix", "order_number_generator_uuid", "order_number_reference", "order_options", "order_payment", "order_promotion_trigger", "order_put_form", "order_reference", "order_rule_reference", "order_rules_summary", "order_service_change", "order_service_change_form", "order_service_change_request_data", "order_submission_form", "order_submission_identifier_form", "order_summary", "order_summary_image", "order_summary_item", "order_summary_levy", "order_summary_line_item", "order_summary_price_detail", "order_version", "order_with_discounts_form", "original_prices", "payment_method_issuer", "payment_method_rule", "payment_method_rule_content", "pricing_settings", "promotion_trigger", "promotion_trigger_form", "promotions", "region_reference", "value_threshold_exceeded_details" ],
|
|
@@ -51048,6 +51075,30 @@
|
|
|
51048
51075
|
} ],
|
|
51049
51076
|
"name" : "format",
|
|
51050
51077
|
"attributes" : [ ]
|
|
51078
|
+
}, {
|
|
51079
|
+
"plural" : "fraud_providers",
|
|
51080
|
+
"values" : [ {
|
|
51081
|
+
"name" : "flow",
|
|
51082
|
+
"description" : "A flow internal rule.",
|
|
51083
|
+
"attributes" : [ ]
|
|
51084
|
+
}, {
|
|
51085
|
+
"name" : "riskified",
|
|
51086
|
+
"attributes" : [ ]
|
|
51087
|
+
}, {
|
|
51088
|
+
"name" : "rps",
|
|
51089
|
+
"description" : "Restricted Party Screen.",
|
|
51090
|
+
"attributes" : [ ]
|
|
51091
|
+
}, {
|
|
51092
|
+
"name" : "other",
|
|
51093
|
+
"attributes" : [ ]
|
|
51094
|
+
}, {
|
|
51095
|
+
"name" : "none",
|
|
51096
|
+
"description" : "No provider was used.",
|
|
51097
|
+
"attributes" : [ ]
|
|
51098
|
+
} ],
|
|
51099
|
+
"name" : "fraud_provider",
|
|
51100
|
+
"description" : "The fraud provider used to make a decision.",
|
|
51101
|
+
"attributes" : [ ]
|
|
51051
51102
|
}, {
|
|
51052
51103
|
"plural" : "fraud_review_responsible_parties",
|
|
51053
51104
|
"values" : [ {
|
|
@@ -51230,6 +51281,31 @@
|
|
|
51230
51281
|
} ],
|
|
51231
51282
|
"name" : "marketing_gateway_feed_download_format",
|
|
51232
51283
|
"attributes" : [ ]
|
|
51284
|
+
}, {
|
|
51285
|
+
"plural" : "marketing_gateway_feed_states",
|
|
51286
|
+
"values" : [ {
|
|
51287
|
+
"name" : "initialized",
|
|
51288
|
+
"description" : "The feed has been created, but not yet generated or processed in any way.",
|
|
51289
|
+
"attributes" : [ ]
|
|
51290
|
+
}, {
|
|
51291
|
+
"name" : "generated",
|
|
51292
|
+
"description" : "The feed has generated successfully, however has not been seen yet by a third party (Facebook, Google).",
|
|
51293
|
+
"attributes" : [ ]
|
|
51294
|
+
}, {
|
|
51295
|
+
"name" : "in_review",
|
|
51296
|
+
"description" : "The feed has been observed by a third party, but not yet accepted or rejected by any validation or verification process they might run.",
|
|
51297
|
+
"attributes" : [ ]
|
|
51298
|
+
}, {
|
|
51299
|
+
"name" : "rejected",
|
|
51300
|
+
"description" : "The feed was rejected by a third party.",
|
|
51301
|
+
"attributes" : [ ]
|
|
51302
|
+
}, {
|
|
51303
|
+
"name" : "active",
|
|
51304
|
+
"description" : "The feed is considered live and in use by a third party platform.",
|
|
51305
|
+
"attributes" : [ ]
|
|
51306
|
+
} ],
|
|
51307
|
+
"name" : "marketing_gateway_feed_state",
|
|
51308
|
+
"attributes" : [ ]
|
|
51233
51309
|
}, {
|
|
51234
51310
|
"plural" : "marketing_gateway_google_connection_statuses",
|
|
51235
51311
|
"values" : [ {
|
|
@@ -51262,7 +51338,10 @@
|
|
|
51262
51338
|
"attributes" : [ ]
|
|
51263
51339
|
} ],
|
|
51264
51340
|
"name" : "marketing_gateway_google_feed_processing_status",
|
|
51265
|
-
"attributes" : [ ]
|
|
51341
|
+
"attributes" : [ ],
|
|
51342
|
+
"deprecation" : {
|
|
51343
|
+
"description" : "Use marketing_gateway_feed_state instead"
|
|
51344
|
+
}
|
|
51266
51345
|
}, {
|
|
51267
51346
|
"plural" : "marketing_gateway_google_product_destination_approval_statuses",
|
|
51268
51347
|
"values" : [ {
|
|
@@ -51737,12 +51816,12 @@
|
|
|
51737
51816
|
"value" : "Low-Risk"
|
|
51738
51817
|
}, {
|
|
51739
51818
|
"name" : "restricted",
|
|
51740
|
-
"description" : "Denied by restricted party screen",
|
|
51819
|
+
"description" : "Denied by restricted party screen.",
|
|
51741
51820
|
"attributes" : [ ],
|
|
51742
51821
|
"value" : "Restricted-Party"
|
|
51743
51822
|
}, {
|
|
51744
51823
|
"name" : "none",
|
|
51745
|
-
"description" : "Evaluation not run by Flow",
|
|
51824
|
+
"description" : "Evaluation not run by Flow.",
|
|
51746
51825
|
"attributes" : [ ]
|
|
51747
51826
|
} ],
|
|
51748
51827
|
"name" : "risk_evaluation",
|