@flowio/api-mock-generator 6.17.63 → 6.17.65

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.
Files changed (3) hide show
  1. package/dist/api.json +343 -5
  2. package/package.json +2 -2
  3. package/src/api.json +343 -5
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.17.87",
13
+ "version": "0.17.94",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -31,7 +31,7 @@
31
31
  "application": {
32
32
  "key": "apple-pay"
33
33
  },
34
- "version": "0.3.40",
34
+ "version": "0.3.41",
35
35
  "enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
36
36
  "interfaces": [],
37
37
  "unions": [],
@@ -46,7 +46,7 @@
46
46
  "application": {
47
47
  "key": "google-pay"
48
48
  },
49
- "version": "0.3.40",
49
+ "version": "0.3.41",
50
50
  "enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
51
51
  "interfaces": [],
52
52
  "unions": ["payment_method_token"],
@@ -61,7 +61,7 @@
61
61
  "application": {
62
62
  "key": "shopify-external"
63
63
  },
64
- "version": "0.3.40",
64
+ "version": "0.3.41",
65
65
  "enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
66
66
  "interfaces": [],
67
67
  "unions": [],
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "ben-test-internal"
78
78
  },
79
- "version": "0.20.53",
79
+ "version": "0.20.71",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -695,6 +695,20 @@
695
695
  "attributes": []
696
696
  }],
697
697
  "attributes": []
698
+ }, {
699
+ "name": "carrier_charge_reason",
700
+ "plural": "carrier_charge_reasons",
701
+ "values": [{
702
+ "name": "return_to_origin",
703
+ "attributes": []
704
+ }, {
705
+ "name": "rejection",
706
+ "attributes": []
707
+ }, {
708
+ "name": "other",
709
+ "attributes": []
710
+ }],
711
+ "attributes": []
698
712
  }, {
699
713
  "name": "center_capability",
700
714
  "plural": "center_capabilities",
@@ -3998,6 +4012,151 @@
3998
4012
  "attributes": []
3999
4013
  }],
4000
4014
  "attributes": []
4015
+ }, {
4016
+ "name": "product_restriction_rule",
4017
+ "plural": "product_restriction_rules",
4018
+ "values": [{
4019
+ "name": "adult_product",
4020
+ "attributes": [],
4021
+ "description": "Some countries and payment providers may not allow certain adult content and related products.",
4022
+ "value": "Adult Products"
4023
+ }, {
4024
+ "name": "alcohol",
4025
+ "attributes": [],
4026
+ "description": "Cross border regulations are strict for alcoholic beverages",
4027
+ "value": "Alcohol"
4028
+ }, {
4029
+ "name": "anti_money_laundering",
4030
+ "attributes": [],
4031
+ "description": "Valuables like currency, precious stones, and precious metals are restricted due to concerns about illegal financial activities.",
4032
+ "value": "Anti Money Laundering"
4033
+ }, {
4034
+ "name": "collagen",
4035
+ "attributes": [],
4036
+ "description": "Collagen (pure or as an ingredient) is restricted to a subset of countries.",
4037
+ "value": "Collagen"
4038
+ }, {
4039
+ "name": "consumer_safety",
4040
+ "attributes": [],
4041
+ "description": "Various safety-related items like car seats, helmets, and child chairs face strict rules.",
4042
+ "value": "Consumer Safety"
4043
+ }, {
4044
+ "name": "cosmetics",
4045
+ "attributes": [],
4046
+ "description": "Beauty and personal care products are restricted in select markets",
4047
+ "value": "Cosmetics"
4048
+ }, {
4049
+ "name": "dg_batteries",
4050
+ "attributes": [],
4051
+ "description": "Products with lithium batteries, whether rechargeable or not, may face limitations.",
4052
+ "value": "DG - Batteries"
4053
+ }, {
4054
+ "name": "dg_hazmat",
4055
+ "attributes": [],
4056
+ "description": "Some items, like pressurized containers and flammable products, pose safety concerns.",
4057
+ "value": "DG - Hazmat"
4058
+ }, {
4059
+ "name": "drugs",
4060
+ "attributes": [],
4061
+ "description": "Products containing regulated substances like CBD and nicotine are subject to restrictions.",
4062
+ "value": "Drugs"
4063
+ }, {
4064
+ "name": "dual_use",
4065
+ "attributes": [],
4066
+ "description": "Certain items, including tools and devices have strict limitations",
4067
+ "value": "Dual Use"
4068
+ }, {
4069
+ "name": "fine_art",
4070
+ "attributes": [],
4071
+ "description": "Valuable art pieces face restrictions",
4072
+ "value": "Fine Art"
4073
+ }, {
4074
+ "name": "fish_wildlife_cites",
4075
+ "attributes": [],
4076
+ "description": "Products containing materials from endangered species are restricted",
4077
+ "value": "Fish & Wildlife - CITES"
4078
+ }, {
4079
+ "name": "fish_wildlife_plant",
4080
+ "attributes": [],
4081
+ "description": "Live plants or seeds as part of a product are generally not allowed",
4082
+ "value": "Fish & Wildlife - Plant"
4083
+ }, {
4084
+ "name": "fish_wildlife_USFWS",
4085
+ "attributes": [],
4086
+ "description": "Animal protection measures managed by U.S. Fish and Wildlife Service bureau can lead to restrictions",
4087
+ "value": "Fish & Wildlife - USFWS"
4088
+ }, {
4089
+ "name": "food",
4090
+ "attributes": [],
4091
+ "description": "Consumable products and those subject to FDA or Ministry of Health equivalent permits/license are restricted",
4092
+ "value": "Food"
4093
+ }, {
4094
+ "name": "gambling",
4095
+ "attributes": [],
4096
+ "description": "Items related to gambling activities are subject to restrictions",
4097
+ "value": "Gambling"
4098
+ }, {
4099
+ "name": "health",
4100
+ "attributes": [],
4101
+ "description": "Wellness products that are ingested, beauty devices that are FDA registered, and products subject to FDA or Ministry of Health equivalent permits/license are restricted.",
4102
+ "value": "Health"
4103
+ }, {
4104
+ "name": "human_hair",
4105
+ "attributes": [],
4106
+ "description": "Some countries prohibit human hair products for hygiene reasons.",
4107
+ "value": "Human hair"
4108
+ }, {
4109
+ "name": "insufficient_details",
4110
+ "attributes": [],
4111
+ "description": "Items with insufficient information may face restrictions.",
4112
+ "value": "Insufficient Details"
4113
+ }, {
4114
+ "name": "intangible",
4115
+ "attributes": [],
4116
+ "description": "Mystery/surprise box items are restricted",
4117
+ "value": "Intangible"
4118
+ }, {
4119
+ "name": "jewelry",
4120
+ "attributes": [],
4121
+ "description": "Prohibited due to carrier and/or customs regulation in certain countries.",
4122
+ "value": "Jewelry"
4123
+ }, {
4124
+ "name": "jewelry_watches_over_limit",
4125
+ "attributes": [],
4126
+ "description": "There are limits on the value of individual jewelry and watch items sent through DHL.",
4127
+ "value": "Jewelry & Watches Over 5000"
4128
+ }, {
4129
+ "name": "knives",
4130
+ "attributes": [],
4131
+ "description": "Sharp tools and blades may have restrictions",
4132
+ "value": "Knives"
4133
+ }, {
4134
+ "name": "liquids",
4135
+ "attributes": [],
4136
+ "description": "Created for Goulet Pens, used to restrict inks, bottled liquids, etc",
4137
+ "value": "Liquids"
4138
+ }, {
4139
+ "name": "oversized",
4140
+ "attributes": [],
4141
+ "description": "Oversized and heavy items have specific limits.",
4142
+ "value": "Oversized"
4143
+ }, {
4144
+ "name": "supplements",
4145
+ "attributes": [],
4146
+ "description": "Created for Gamer Supps, used to restrict supplements, neutraceuticals, etc",
4147
+ "value": "Supplements"
4148
+ }, {
4149
+ "name": "weapon",
4150
+ "attributes": [],
4151
+ "description": "Items designed for harm or violence are generally not allowed.",
4152
+ "value": "Weapon"
4153
+ }, {
4154
+ "name": "wood",
4155
+ "attributes": [],
4156
+ "description": "Items made from or containing wood may be subject to restrictions in select markets",
4157
+ "value": "Wood"
4158
+ }],
4159
+ "attributes": []
4001
4160
  }, {
4002
4161
  "name": "promotion_trigger_type",
4003
4162
  "plural": "promotion_trigger_types",
@@ -4317,6 +4476,23 @@
4317
4476
  "description": "Reversal failed to process."
4318
4477
  }],
4319
4478
  "attributes": []
4479
+ }, {
4480
+ "name": "review_status",
4481
+ "plural": "review_statuses",
4482
+ "values": [{
4483
+ "name": "high_risk_in_review",
4484
+ "attributes": [],
4485
+ "description": "Auto restricted products, pending verification"
4486
+ }, {
4487
+ "name": "low_risk_in_review",
4488
+ "attributes": [],
4489
+ "description": "Keyword match for non-DGs that are pending verification"
4490
+ }, {
4491
+ "name": "reviewed",
4492
+ "attributes": [],
4493
+ "description": "Allow to sell Or Restricted to sell"
4494
+ }],
4495
+ "attributes": []
4320
4496
  }, {
4321
4497
  "name": "role",
4322
4498
  "plural": "roles",
@@ -4944,6 +5120,9 @@
4944
5120
  }, {
4945
5121
  "name": "trueup",
4946
5122
  "attributes": []
5123
+ }, {
5124
+ "name": "carrier_charge",
5125
+ "attributes": []
4947
5126
  }, {
4948
5127
  "name": "shipping_label_revenue_share",
4949
5128
  "attributes": []
@@ -9325,6 +9504,11 @@
9325
9504
  "attributes": [],
9326
9505
  "default": false,
9327
9506
  "discriminator_value": "trueup"
9507
+ }, {
9508
+ "type": "transaction_metadata_carrier_charge",
9509
+ "attributes": [],
9510
+ "default": false,
9511
+ "discriminator_value": "carrier_charge"
9328
9512
  }, {
9329
9513
  "type": "transaction_metadata_manual",
9330
9514
  "attributes": [],
@@ -37312,6 +37496,22 @@
37312
37496
  "annotations": [],
37313
37497
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37314
37498
  "example": "CAD"
37499
+ }, {
37500
+ "name": "base_amount",
37501
+ "type": "decimal",
37502
+ "required": false,
37503
+ "attributes": [],
37504
+ "annotations": [],
37505
+ "description": "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations.",
37506
+ "example": "120.38"
37507
+ }, {
37508
+ "name": "base_currency",
37509
+ "type": "string",
37510
+ "required": false,
37511
+ "attributes": [],
37512
+ "annotations": [],
37513
+ "description": "The ISO 4217-3 code for the base currency.",
37514
+ "example": "CAD"
37315
37515
  }],
37316
37516
  "attributes": [],
37317
37517
  "interfaces": [],
@@ -37360,6 +37560,22 @@
37360
37560
  "annotations": [],
37361
37561
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37362
37562
  "example": "CAD"
37563
+ }, {
37564
+ "name": "base_amount",
37565
+ "type": "decimal",
37566
+ "required": false,
37567
+ "attributes": [],
37568
+ "annotations": [],
37569
+ "description": "The base amount captured. Used for financial reconciliation for currency conversion, not for payment operations.",
37570
+ "example": "120.38"
37571
+ }, {
37572
+ "name": "base_currency",
37573
+ "type": "string",
37574
+ "required": false,
37575
+ "attributes": [],
37576
+ "annotations": [],
37577
+ "description": "The ISO 4217-3 code for the base currency.",
37578
+ "example": "CAD"
37363
37579
  }, {
37364
37580
  "name": "created_at",
37365
37581
  "type": "date-time-iso8601",
@@ -39008,6 +39224,22 @@
39008
39224
  "annotations": [],
39009
39225
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39010
39226
  "example": "CAD"
39227
+ }, {
39228
+ "name": "base_amount",
39229
+ "type": "decimal",
39230
+ "required": false,
39231
+ "attributes": [],
39232
+ "annotations": [],
39233
+ "description": "The base amount refunded. Used for financial reconciliation for currency conversion, not for payment operations.",
39234
+ "example": "120.38"
39235
+ }, {
39236
+ "name": "base_currency",
39237
+ "type": "string",
39238
+ "required": false,
39239
+ "attributes": [],
39240
+ "annotations": [],
39241
+ "description": "The ISO 4217-3 code for the base currency.",
39242
+ "example": "CAD"
39011
39243
  }, {
39012
39244
  "name": "created_at",
39013
39245
  "type": "date-time-iso8601",
@@ -39138,6 +39370,22 @@
39138
39370
  "annotations": [],
39139
39371
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39140
39372
  "example": "CAD"
39373
+ }, {
39374
+ "name": "base_amount",
39375
+ "type": "decimal",
39376
+ "required": false,
39377
+ "attributes": [],
39378
+ "annotations": [],
39379
+ "description": "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations",
39380
+ "example": "120.38"
39381
+ }, {
39382
+ "name": "base_currency",
39383
+ "type": "string",
39384
+ "required": false,
39385
+ "attributes": [],
39386
+ "annotations": [],
39387
+ "description": "The ISO 4217-3 code for the base currency.",
39388
+ "example": "CAD"
39141
39389
  }, {
39142
39390
  "name": "order_information",
39143
39391
  "type": "order_information",
@@ -39222,6 +39470,35 @@
39222
39470
  "required": true,
39223
39471
  "attributes": [],
39224
39472
  "annotations": []
39473
+ }, {
39474
+ "name": "currency_rate",
39475
+ "type": "payment_request_billing_currency_rate",
39476
+ "required": false,
39477
+ "attributes": [],
39478
+ "annotations": [],
39479
+ "description": "Base amount, currency, and rate information that can be provided to 'lock' currency conversion for financial reconciliation. If not passed, it will be determined automatically by our currency rates."
39480
+ }],
39481
+ "attributes": [],
39482
+ "interfaces": []
39483
+ }, {
39484
+ "name": "payment_request_billing_currency_rate",
39485
+ "plural": "payment_request_billing_currency_rates",
39486
+ "fields": [{
39487
+ "name": "base_amount",
39488
+ "type": "decimal",
39489
+ "required": true,
39490
+ "attributes": [],
39491
+ "annotations": [],
39492
+ "description": "The base amount to authorize. This will be used for financial reconciliation for currency conversion and will not be utilized for actual payment attempts. Amounts with more decimal places than allowed by the currency will be rejected: e.g. $100.001 or ¥1000.1.",
39493
+ "example": "120.38"
39494
+ }, {
39495
+ "name": "base_currency",
39496
+ "type": "string",
39497
+ "required": true,
39498
+ "attributes": [],
39499
+ "annotations": [],
39500
+ "description": "The ISO 4217-3 code for the base currency. Must match the specified base currency for the organization. Case insensitive. See https://api.flow.io/reference/currencies",
39501
+ "example": "CAD"
39225
39502
  }],
39226
39503
  "attributes": [],
39227
39504
  "interfaces": []
@@ -39517,6 +39794,22 @@
39517
39794
  "annotations": [],
39518
39795
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39519
39796
  "example": "CAD"
39797
+ }, {
39798
+ "name": "base_amount",
39799
+ "type": "decimal",
39800
+ "required": false,
39801
+ "attributes": [],
39802
+ "annotations": [],
39803
+ "description": "The base amount reversed. Used for financial reconciliation for currency conversion, not for payment operations.",
39804
+ "example": "120.38"
39805
+ }, {
39806
+ "name": "base_currency",
39807
+ "type": "string",
39808
+ "required": false,
39809
+ "attributes": [],
39810
+ "annotations": [],
39811
+ "description": "The ISO 4217-3 code for the base currency.",
39812
+ "example": "CAD"
39520
39813
  }, {
39521
39814
  "name": "created_at",
39522
39815
  "type": "date-time-iso8601",
@@ -41530,6 +41823,27 @@
41530
41823
  "attributes": [],
41531
41824
  "annotations": [],
41532
41825
  "description": "IDs of regions in which this product is prohibited, as defined in https://api.flow.io/reference/regions."
41826
+ }, {
41827
+ "name": "review_status",
41828
+ "type": "review_status",
41829
+ "required": false,
41830
+ "attributes": [],
41831
+ "annotations": [],
41832
+ "description": "Indicates whether the product has been reviewed, and its restriction status is unlikely to change."
41833
+ }, {
41834
+ "name": "rules",
41835
+ "type": "[product_restriction_rule]",
41836
+ "required": false,
41837
+ "attributes": [],
41838
+ "annotations": [],
41839
+ "description": "The reasons why item was restricted."
41840
+ }, {
41841
+ "name": "updated_by_user_id",
41842
+ "type": "string",
41843
+ "required": false,
41844
+ "attributes": [],
41845
+ "annotations": [],
41846
+ "description": "User reference id."
41533
41847
  }],
41534
41848
  "attributes": [],
41535
41849
  "interfaces": [],
@@ -53120,6 +53434,30 @@
53120
53434
  }],
53121
53435
  "attributes": [],
53122
53436
  "interfaces": []
53437
+ }, {
53438
+ "name": "transaction_metadata_carrier_charge",
53439
+ "plural": "transaction_metadata_carrier_charges",
53440
+ "fields": [{
53441
+ "name": "reason",
53442
+ "type": "carrier_charge_reason",
53443
+ "required": true,
53444
+ "attributes": [],
53445
+ "annotations": []
53446
+ }, {
53447
+ "name": "carrier_id",
53448
+ "type": "string",
53449
+ "required": true,
53450
+ "attributes": [],
53451
+ "annotations": []
53452
+ }, {
53453
+ "name": "carrier_tracking_number",
53454
+ "type": "string",
53455
+ "required": true,
53456
+ "attributes": [],
53457
+ "annotations": []
53458
+ }],
53459
+ "attributes": [],
53460
+ "interfaces": []
53123
53461
  }, {
53124
53462
  "name": "transaction_metadata_channel",
53125
53463
  "plural": "transaction_metadata_channels",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.63",
3
+ "version": "6.17.65",
4
4
  "description": "A mock data generator based on our API specifications for JavaScript",
5
5
  "keywords": [
6
6
  "flowcommerce",
@@ -28,5 +28,5 @@
28
28
  "apibuilder-js": "0.0.13",
29
29
  "apibuilder-mock-generator": "0.0.13"
30
30
  },
31
- "gitHead": "fc644e9ba6f842b12316085c5adbfeaa86923d6b"
31
+ "gitHead": "69a80797baeb34690859818e5db7ef87aa6082a5"
32
32
  }
package/src/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key" : "api"
11
11
  },
12
12
  "namespace" : "io.flow.v0",
13
- "version" : "0.17.87",
13
+ "version" : "0.17.94",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -31,7 +31,7 @@
31
31
  "application" : {
32
32
  "key" : "apple-pay"
33
33
  },
34
- "version" : "0.3.40",
34
+ "version" : "0.3.41",
35
35
  "enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
36
36
  "interfaces" : [ ],
37
37
  "unions" : [ ],
@@ -46,7 +46,7 @@
46
46
  "application" : {
47
47
  "key" : "google-pay"
48
48
  },
49
- "version" : "0.3.40",
49
+ "version" : "0.3.41",
50
50
  "enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
51
51
  "interfaces" : [ ],
52
52
  "unions" : [ "payment_method_token" ],
@@ -61,7 +61,7 @@
61
61
  "application" : {
62
62
  "key" : "shopify-external"
63
63
  },
64
- "version" : "0.3.40",
64
+ "version" : "0.3.41",
65
65
  "enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
66
66
  "interfaces" : [ ],
67
67
  "unions" : [ ],
@@ -76,7 +76,7 @@
76
76
  "application" : {
77
77
  "key" : "ben-test-internal"
78
78
  },
79
- "version" : "0.20.53",
79
+ "version" : "0.20.71",
80
80
  "enums" : [ ],
81
81
  "interfaces" : [ "generate_load" ],
82
82
  "unions" : [ "generate_load" ],
@@ -695,6 +695,20 @@
695
695
  "attributes" : [ ]
696
696
  } ],
697
697
  "attributes" : [ ]
698
+ }, {
699
+ "name" : "carrier_charge_reason",
700
+ "plural" : "carrier_charge_reasons",
701
+ "values" : [ {
702
+ "name" : "return_to_origin",
703
+ "attributes" : [ ]
704
+ }, {
705
+ "name" : "rejection",
706
+ "attributes" : [ ]
707
+ }, {
708
+ "name" : "other",
709
+ "attributes" : [ ]
710
+ } ],
711
+ "attributes" : [ ]
698
712
  }, {
699
713
  "name" : "center_capability",
700
714
  "plural" : "center_capabilities",
@@ -3998,6 +4012,151 @@
3998
4012
  "attributes" : [ ]
3999
4013
  } ],
4000
4014
  "attributes" : [ ]
4015
+ }, {
4016
+ "name" : "product_restriction_rule",
4017
+ "plural" : "product_restriction_rules",
4018
+ "values" : [ {
4019
+ "name" : "adult_product",
4020
+ "attributes" : [ ],
4021
+ "description" : "Some countries and payment providers may not allow certain adult content and related products.",
4022
+ "value" : "Adult Products"
4023
+ }, {
4024
+ "name" : "alcohol",
4025
+ "attributes" : [ ],
4026
+ "description" : "Cross border regulations are strict for alcoholic beverages",
4027
+ "value" : "Alcohol"
4028
+ }, {
4029
+ "name" : "anti_money_laundering",
4030
+ "attributes" : [ ],
4031
+ "description" : "Valuables like currency, precious stones, and precious metals are restricted due to concerns about illegal financial activities.",
4032
+ "value" : "Anti Money Laundering"
4033
+ }, {
4034
+ "name" : "collagen",
4035
+ "attributes" : [ ],
4036
+ "description" : "Collagen (pure or as an ingredient) is restricted to a subset of countries.",
4037
+ "value" : "Collagen"
4038
+ }, {
4039
+ "name" : "consumer_safety",
4040
+ "attributes" : [ ],
4041
+ "description" : "Various safety-related items like car seats, helmets, and child chairs face strict rules.",
4042
+ "value" : "Consumer Safety"
4043
+ }, {
4044
+ "name" : "cosmetics",
4045
+ "attributes" : [ ],
4046
+ "description" : "Beauty and personal care products are restricted in select markets",
4047
+ "value" : "Cosmetics"
4048
+ }, {
4049
+ "name" : "dg_batteries",
4050
+ "attributes" : [ ],
4051
+ "description" : "Products with lithium batteries, whether rechargeable or not, may face limitations.",
4052
+ "value" : "DG - Batteries"
4053
+ }, {
4054
+ "name" : "dg_hazmat",
4055
+ "attributes" : [ ],
4056
+ "description" : "Some items, like pressurized containers and flammable products, pose safety concerns.",
4057
+ "value" : "DG - Hazmat"
4058
+ }, {
4059
+ "name" : "drugs",
4060
+ "attributes" : [ ],
4061
+ "description" : "Products containing regulated substances like CBD and nicotine are subject to restrictions.",
4062
+ "value" : "Drugs"
4063
+ }, {
4064
+ "name" : "dual_use",
4065
+ "attributes" : [ ],
4066
+ "description" : "Certain items, including tools and devices have strict limitations",
4067
+ "value" : "Dual Use"
4068
+ }, {
4069
+ "name" : "fine_art",
4070
+ "attributes" : [ ],
4071
+ "description" : "Valuable art pieces face restrictions",
4072
+ "value" : "Fine Art"
4073
+ }, {
4074
+ "name" : "fish_wildlife_cites",
4075
+ "attributes" : [ ],
4076
+ "description" : "Products containing materials from endangered species are restricted",
4077
+ "value" : "Fish & Wildlife - CITES"
4078
+ }, {
4079
+ "name" : "fish_wildlife_plant",
4080
+ "attributes" : [ ],
4081
+ "description" : "Live plants or seeds as part of a product are generally not allowed",
4082
+ "value" : "Fish & Wildlife - Plant"
4083
+ }, {
4084
+ "name" : "fish_wildlife_USFWS",
4085
+ "attributes" : [ ],
4086
+ "description" : "Animal protection measures managed by U.S. Fish and Wildlife Service bureau can lead to restrictions",
4087
+ "value" : "Fish & Wildlife - USFWS"
4088
+ }, {
4089
+ "name" : "food",
4090
+ "attributes" : [ ],
4091
+ "description" : "Consumable products and those subject to FDA or Ministry of Health equivalent permits/license are restricted",
4092
+ "value" : "Food"
4093
+ }, {
4094
+ "name" : "gambling",
4095
+ "attributes" : [ ],
4096
+ "description" : "Items related to gambling activities are subject to restrictions",
4097
+ "value" : "Gambling"
4098
+ }, {
4099
+ "name" : "health",
4100
+ "attributes" : [ ],
4101
+ "description" : "Wellness products that are ingested, beauty devices that are FDA registered, and products subject to FDA or Ministry of Health equivalent permits/license are restricted.",
4102
+ "value" : "Health"
4103
+ }, {
4104
+ "name" : "human_hair",
4105
+ "attributes" : [ ],
4106
+ "description" : "Some countries prohibit human hair products for hygiene reasons.",
4107
+ "value" : "Human hair"
4108
+ }, {
4109
+ "name" : "insufficient_details",
4110
+ "attributes" : [ ],
4111
+ "description" : "Items with insufficient information may face restrictions.",
4112
+ "value" : "Insufficient Details"
4113
+ }, {
4114
+ "name" : "intangible",
4115
+ "attributes" : [ ],
4116
+ "description" : "Mystery/surprise box items are restricted",
4117
+ "value" : "Intangible"
4118
+ }, {
4119
+ "name" : "jewelry",
4120
+ "attributes" : [ ],
4121
+ "description" : "Prohibited due to carrier and/or customs regulation in certain countries.",
4122
+ "value" : "Jewelry"
4123
+ }, {
4124
+ "name" : "jewelry_watches_over_limit",
4125
+ "attributes" : [ ],
4126
+ "description" : "There are limits on the value of individual jewelry and watch items sent through DHL.",
4127
+ "value" : "Jewelry & Watches Over 5000"
4128
+ }, {
4129
+ "name" : "knives",
4130
+ "attributes" : [ ],
4131
+ "description" : "Sharp tools and blades may have restrictions",
4132
+ "value" : "Knives"
4133
+ }, {
4134
+ "name" : "liquids",
4135
+ "attributes" : [ ],
4136
+ "description" : "Created for Goulet Pens, used to restrict inks, bottled liquids, etc",
4137
+ "value" : "Liquids"
4138
+ }, {
4139
+ "name" : "oversized",
4140
+ "attributes" : [ ],
4141
+ "description" : "Oversized and heavy items have specific limits.",
4142
+ "value" : "Oversized"
4143
+ }, {
4144
+ "name" : "supplements",
4145
+ "attributes" : [ ],
4146
+ "description" : "Created for Gamer Supps, used to restrict supplements, neutraceuticals, etc",
4147
+ "value" : "Supplements"
4148
+ }, {
4149
+ "name" : "weapon",
4150
+ "attributes" : [ ],
4151
+ "description" : "Items designed for harm or violence are generally not allowed.",
4152
+ "value" : "Weapon"
4153
+ }, {
4154
+ "name" : "wood",
4155
+ "attributes" : [ ],
4156
+ "description" : "Items made from or containing wood may be subject to restrictions in select markets",
4157
+ "value" : "Wood"
4158
+ } ],
4159
+ "attributes" : [ ]
4001
4160
  }, {
4002
4161
  "name" : "promotion_trigger_type",
4003
4162
  "plural" : "promotion_trigger_types",
@@ -4317,6 +4476,23 @@
4317
4476
  "description" : "Reversal failed to process."
4318
4477
  } ],
4319
4478
  "attributes" : [ ]
4479
+ }, {
4480
+ "name" : "review_status",
4481
+ "plural" : "review_statuses",
4482
+ "values" : [ {
4483
+ "name" : "high_risk_in_review",
4484
+ "attributes" : [ ],
4485
+ "description" : "Auto restricted products, pending verification"
4486
+ }, {
4487
+ "name" : "low_risk_in_review",
4488
+ "attributes" : [ ],
4489
+ "description" : "Keyword match for non-DGs that are pending verification"
4490
+ }, {
4491
+ "name" : "reviewed",
4492
+ "attributes" : [ ],
4493
+ "description" : "Allow to sell Or Restricted to sell"
4494
+ } ],
4495
+ "attributes" : [ ]
4320
4496
  }, {
4321
4497
  "name" : "role",
4322
4498
  "plural" : "roles",
@@ -4944,6 +5120,9 @@
4944
5120
  }, {
4945
5121
  "name" : "trueup",
4946
5122
  "attributes" : [ ]
5123
+ }, {
5124
+ "name" : "carrier_charge",
5125
+ "attributes" : [ ]
4947
5126
  }, {
4948
5127
  "name" : "shipping_label_revenue_share",
4949
5128
  "attributes" : [ ]
@@ -9325,6 +9504,11 @@
9325
9504
  "attributes" : [ ],
9326
9505
  "default" : false,
9327
9506
  "discriminator_value" : "trueup"
9507
+ }, {
9508
+ "type" : "transaction_metadata_carrier_charge",
9509
+ "attributes" : [ ],
9510
+ "default" : false,
9511
+ "discriminator_value" : "carrier_charge"
9328
9512
  }, {
9329
9513
  "type" : "transaction_metadata_manual",
9330
9514
  "attributes" : [ ],
@@ -37312,6 +37496,22 @@
37312
37496
  "annotations" : [ ],
37313
37497
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37314
37498
  "example" : "CAD"
37499
+ }, {
37500
+ "name" : "base_amount",
37501
+ "type" : "decimal",
37502
+ "required" : false,
37503
+ "attributes" : [ ],
37504
+ "annotations" : [ ],
37505
+ "description" : "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations.",
37506
+ "example" : "120.38"
37507
+ }, {
37508
+ "name" : "base_currency",
37509
+ "type" : "string",
37510
+ "required" : false,
37511
+ "attributes" : [ ],
37512
+ "annotations" : [ ],
37513
+ "description" : "The ISO 4217-3 code for the base currency.",
37514
+ "example" : "CAD"
37315
37515
  } ],
37316
37516
  "attributes" : [ ],
37317
37517
  "interfaces" : [ ],
@@ -37360,6 +37560,22 @@
37360
37560
  "annotations" : [ ],
37361
37561
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37362
37562
  "example" : "CAD"
37563
+ }, {
37564
+ "name" : "base_amount",
37565
+ "type" : "decimal",
37566
+ "required" : false,
37567
+ "attributes" : [ ],
37568
+ "annotations" : [ ],
37569
+ "description" : "The base amount captured. Used for financial reconciliation for currency conversion, not for payment operations.",
37570
+ "example" : "120.38"
37571
+ }, {
37572
+ "name" : "base_currency",
37573
+ "type" : "string",
37574
+ "required" : false,
37575
+ "attributes" : [ ],
37576
+ "annotations" : [ ],
37577
+ "description" : "The ISO 4217-3 code for the base currency.",
37578
+ "example" : "CAD"
37363
37579
  }, {
37364
37580
  "name" : "created_at",
37365
37581
  "type" : "date-time-iso8601",
@@ -39008,6 +39224,22 @@
39008
39224
  "annotations" : [ ],
39009
39225
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39010
39226
  "example" : "CAD"
39227
+ }, {
39228
+ "name" : "base_amount",
39229
+ "type" : "decimal",
39230
+ "required" : false,
39231
+ "attributes" : [ ],
39232
+ "annotations" : [ ],
39233
+ "description" : "The base amount refunded. Used for financial reconciliation for currency conversion, not for payment operations.",
39234
+ "example" : "120.38"
39235
+ }, {
39236
+ "name" : "base_currency",
39237
+ "type" : "string",
39238
+ "required" : false,
39239
+ "attributes" : [ ],
39240
+ "annotations" : [ ],
39241
+ "description" : "The ISO 4217-3 code for the base currency.",
39242
+ "example" : "CAD"
39011
39243
  }, {
39012
39244
  "name" : "created_at",
39013
39245
  "type" : "date-time-iso8601",
@@ -39138,6 +39370,22 @@
39138
39370
  "annotations" : [ ],
39139
39371
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39140
39372
  "example" : "CAD"
39373
+ }, {
39374
+ "name" : "base_amount",
39375
+ "type" : "decimal",
39376
+ "required" : false,
39377
+ "attributes" : [ ],
39378
+ "annotations" : [ ],
39379
+ "description" : "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations",
39380
+ "example" : "120.38"
39381
+ }, {
39382
+ "name" : "base_currency",
39383
+ "type" : "string",
39384
+ "required" : false,
39385
+ "attributes" : [ ],
39386
+ "annotations" : [ ],
39387
+ "description" : "The ISO 4217-3 code for the base currency.",
39388
+ "example" : "CAD"
39141
39389
  }, {
39142
39390
  "name" : "order_information",
39143
39391
  "type" : "order_information",
@@ -39222,6 +39470,35 @@
39222
39470
  "required" : true,
39223
39471
  "attributes" : [ ],
39224
39472
  "annotations" : [ ]
39473
+ }, {
39474
+ "name" : "currency_rate",
39475
+ "type" : "payment_request_billing_currency_rate",
39476
+ "required" : false,
39477
+ "attributes" : [ ],
39478
+ "annotations" : [ ],
39479
+ "description" : "Base amount, currency, and rate information that can be provided to 'lock' currency conversion for financial reconciliation. If not passed, it will be determined automatically by our currency rates."
39480
+ } ],
39481
+ "attributes" : [ ],
39482
+ "interfaces" : [ ]
39483
+ }, {
39484
+ "name" : "payment_request_billing_currency_rate",
39485
+ "plural" : "payment_request_billing_currency_rates",
39486
+ "fields" : [ {
39487
+ "name" : "base_amount",
39488
+ "type" : "decimal",
39489
+ "required" : true,
39490
+ "attributes" : [ ],
39491
+ "annotations" : [ ],
39492
+ "description" : "The base amount to authorize. This will be used for financial reconciliation for currency conversion and will not be utilized for actual payment attempts. Amounts with more decimal places than allowed by the currency will be rejected: e.g. $100.001 or ¥1000.1.",
39493
+ "example" : "120.38"
39494
+ }, {
39495
+ "name" : "base_currency",
39496
+ "type" : "string",
39497
+ "required" : true,
39498
+ "attributes" : [ ],
39499
+ "annotations" : [ ],
39500
+ "description" : "The ISO 4217-3 code for the base currency. Must match the specified base currency for the organization. Case insensitive. See https://api.flow.io/reference/currencies",
39501
+ "example" : "CAD"
39225
39502
  } ],
39226
39503
  "attributes" : [ ],
39227
39504
  "interfaces" : [ ]
@@ -39517,6 +39794,22 @@
39517
39794
  "annotations" : [ ],
39518
39795
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39519
39796
  "example" : "CAD"
39797
+ }, {
39798
+ "name" : "base_amount",
39799
+ "type" : "decimal",
39800
+ "required" : false,
39801
+ "attributes" : [ ],
39802
+ "annotations" : [ ],
39803
+ "description" : "The base amount reversed. Used for financial reconciliation for currency conversion, not for payment operations.",
39804
+ "example" : "120.38"
39805
+ }, {
39806
+ "name" : "base_currency",
39807
+ "type" : "string",
39808
+ "required" : false,
39809
+ "attributes" : [ ],
39810
+ "annotations" : [ ],
39811
+ "description" : "The ISO 4217-3 code for the base currency.",
39812
+ "example" : "CAD"
39520
39813
  }, {
39521
39814
  "name" : "created_at",
39522
39815
  "type" : "date-time-iso8601",
@@ -41530,6 +41823,27 @@
41530
41823
  "attributes" : [ ],
41531
41824
  "annotations" : [ ],
41532
41825
  "description" : "IDs of regions in which this product is prohibited, as defined in https://api.flow.io/reference/regions."
41826
+ }, {
41827
+ "name" : "review_status",
41828
+ "type" : "review_status",
41829
+ "required" : false,
41830
+ "attributes" : [ ],
41831
+ "annotations" : [ ],
41832
+ "description" : "Indicates whether the product has been reviewed, and its restriction status is unlikely to change."
41833
+ }, {
41834
+ "name" : "rules",
41835
+ "type" : "[product_restriction_rule]",
41836
+ "required" : false,
41837
+ "attributes" : [ ],
41838
+ "annotations" : [ ],
41839
+ "description" : "The reasons why item was restricted."
41840
+ }, {
41841
+ "name" : "updated_by_user_id",
41842
+ "type" : "string",
41843
+ "required" : false,
41844
+ "attributes" : [ ],
41845
+ "annotations" : [ ],
41846
+ "description" : "User reference id."
41533
41847
  } ],
41534
41848
  "attributes" : [ ],
41535
41849
  "interfaces" : [ ],
@@ -53120,6 +53434,30 @@
53120
53434
  } ],
53121
53435
  "attributes" : [ ],
53122
53436
  "interfaces" : [ ]
53437
+ }, {
53438
+ "name" : "transaction_metadata_carrier_charge",
53439
+ "plural" : "transaction_metadata_carrier_charges",
53440
+ "fields" : [ {
53441
+ "name" : "reason",
53442
+ "type" : "carrier_charge_reason",
53443
+ "required" : true,
53444
+ "attributes" : [ ],
53445
+ "annotations" : [ ]
53446
+ }, {
53447
+ "name" : "carrier_id",
53448
+ "type" : "string",
53449
+ "required" : true,
53450
+ "attributes" : [ ],
53451
+ "annotations" : [ ]
53452
+ }, {
53453
+ "name" : "carrier_tracking_number",
53454
+ "type" : "string",
53455
+ "required" : true,
53456
+ "attributes" : [ ],
53457
+ "annotations" : [ ]
53458
+ } ],
53459
+ "attributes" : [ ],
53460
+ "interfaces" : [ ]
53123
53461
  }, {
53124
53462
  "name" : "transaction_metadata_channel",
53125
53463
  "plural" : "transaction_metadata_channels",