@flowio/api-mock-generator 6.17.64 → 6.17.66

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 +169 -13
  2. package/package.json +2 -2
  3. package/src/api.json +169 -13
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.88",
13
+ "version": "0.17.96",
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.54",
79
+ "version": "0.20.79",
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",
@@ -4126,6 +4140,11 @@
4126
4140
  "attributes": [],
4127
4141
  "description": "Oversized and heavy items have specific limits.",
4128
4142
  "value": "Oversized"
4143
+ }, {
4144
+ "name": "restrict_by_default",
4145
+ "attributes": [],
4146
+ "description": "Used to restrict all new products in a catalog by default",
4147
+ "value": "Restrict by Default"
4129
4148
  }, {
4130
4149
  "name": "supplements",
4131
4150
  "attributes": [],
@@ -4141,10 +4160,6 @@
4141
4160
  "attributes": [],
4142
4161
  "description": "Items made from or containing wood may be subject to restrictions in select markets",
4143
4162
  "value": "Wood"
4144
- }, {
4145
- "name": "unknown",
4146
- "attributes": [],
4147
- "description": "No restriction rule could be associated."
4148
4163
  }],
4149
4164
  "attributes": []
4150
4165
  }, {
@@ -5110,6 +5125,9 @@
5110
5125
  }, {
5111
5126
  "name": "trueup",
5112
5127
  "attributes": []
5128
+ }, {
5129
+ "name": "carrier_charge",
5130
+ "attributes": []
5113
5131
  }, {
5114
5132
  "name": "shipping_label_revenue_share",
5115
5133
  "attributes": []
@@ -9491,6 +9509,11 @@
9491
9509
  "attributes": [],
9492
9510
  "default": false,
9493
9511
  "discriminator_value": "trueup"
9512
+ }, {
9513
+ "type": "transaction_metadata_carrier_charge",
9514
+ "attributes": [],
9515
+ "default": false,
9516
+ "discriminator_value": "carrier_charge"
9494
9517
  }, {
9495
9518
  "type": "transaction_metadata_manual",
9496
9519
  "attributes": [],
@@ -37478,6 +37501,22 @@
37478
37501
  "annotations": [],
37479
37502
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37480
37503
  "example": "CAD"
37504
+ }, {
37505
+ "name": "base_amount",
37506
+ "type": "decimal",
37507
+ "required": false,
37508
+ "attributes": [],
37509
+ "annotations": [],
37510
+ "description": "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations.",
37511
+ "example": "120.38"
37512
+ }, {
37513
+ "name": "base_currency",
37514
+ "type": "string",
37515
+ "required": false,
37516
+ "attributes": [],
37517
+ "annotations": [],
37518
+ "description": "The ISO 4217-3 code for the base currency.",
37519
+ "example": "CAD"
37481
37520
  }],
37482
37521
  "attributes": [],
37483
37522
  "interfaces": [],
@@ -37526,6 +37565,22 @@
37526
37565
  "annotations": [],
37527
37566
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37528
37567
  "example": "CAD"
37568
+ }, {
37569
+ "name": "base_amount",
37570
+ "type": "decimal",
37571
+ "required": false,
37572
+ "attributes": [],
37573
+ "annotations": [],
37574
+ "description": "The base amount captured. Used for financial reconciliation for currency conversion, not for payment operations.",
37575
+ "example": "120.38"
37576
+ }, {
37577
+ "name": "base_currency",
37578
+ "type": "string",
37579
+ "required": false,
37580
+ "attributes": [],
37581
+ "annotations": [],
37582
+ "description": "The ISO 4217-3 code for the base currency.",
37583
+ "example": "CAD"
37529
37584
  }, {
37530
37585
  "name": "created_at",
37531
37586
  "type": "date-time-iso8601",
@@ -39174,6 +39229,22 @@
39174
39229
  "annotations": [],
39175
39230
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39176
39231
  "example": "CAD"
39232
+ }, {
39233
+ "name": "base_amount",
39234
+ "type": "decimal",
39235
+ "required": false,
39236
+ "attributes": [],
39237
+ "annotations": [],
39238
+ "description": "The base amount refunded. Used for financial reconciliation for currency conversion, not for payment operations.",
39239
+ "example": "120.38"
39240
+ }, {
39241
+ "name": "base_currency",
39242
+ "type": "string",
39243
+ "required": false,
39244
+ "attributes": [],
39245
+ "annotations": [],
39246
+ "description": "The ISO 4217-3 code for the base currency.",
39247
+ "example": "CAD"
39177
39248
  }, {
39178
39249
  "name": "created_at",
39179
39250
  "type": "date-time-iso8601",
@@ -39304,6 +39375,22 @@
39304
39375
  "annotations": [],
39305
39376
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39306
39377
  "example": "CAD"
39378
+ }, {
39379
+ "name": "base_amount",
39380
+ "type": "decimal",
39381
+ "required": false,
39382
+ "attributes": [],
39383
+ "annotations": [],
39384
+ "description": "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations",
39385
+ "example": "120.38"
39386
+ }, {
39387
+ "name": "base_currency",
39388
+ "type": "string",
39389
+ "required": false,
39390
+ "attributes": [],
39391
+ "annotations": [],
39392
+ "description": "The ISO 4217-3 code for the base currency.",
39393
+ "example": "CAD"
39307
39394
  }, {
39308
39395
  "name": "order_information",
39309
39396
  "type": "order_information",
@@ -39388,6 +39475,35 @@
39388
39475
  "required": true,
39389
39476
  "attributes": [],
39390
39477
  "annotations": []
39478
+ }, {
39479
+ "name": "currency_rate",
39480
+ "type": "payment_request_billing_currency_rate",
39481
+ "required": false,
39482
+ "attributes": [],
39483
+ "annotations": [],
39484
+ "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."
39485
+ }],
39486
+ "attributes": [],
39487
+ "interfaces": []
39488
+ }, {
39489
+ "name": "payment_request_billing_currency_rate",
39490
+ "plural": "payment_request_billing_currency_rates",
39491
+ "fields": [{
39492
+ "name": "base_amount",
39493
+ "type": "decimal",
39494
+ "required": true,
39495
+ "attributes": [],
39496
+ "annotations": [],
39497
+ "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.",
39498
+ "example": "120.38"
39499
+ }, {
39500
+ "name": "base_currency",
39501
+ "type": "string",
39502
+ "required": true,
39503
+ "attributes": [],
39504
+ "annotations": [],
39505
+ "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",
39506
+ "example": "CAD"
39391
39507
  }],
39392
39508
  "attributes": [],
39393
39509
  "interfaces": []
@@ -39683,6 +39799,22 @@
39683
39799
  "annotations": [],
39684
39800
  "description": "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39685
39801
  "example": "CAD"
39802
+ }, {
39803
+ "name": "base_amount",
39804
+ "type": "decimal",
39805
+ "required": false,
39806
+ "attributes": [],
39807
+ "annotations": [],
39808
+ "description": "The base amount reversed. Used for financial reconciliation for currency conversion, not for payment operations.",
39809
+ "example": "120.38"
39810
+ }, {
39811
+ "name": "base_currency",
39812
+ "type": "string",
39813
+ "required": false,
39814
+ "attributes": [],
39815
+ "annotations": [],
39816
+ "description": "The ISO 4217-3 code for the base currency.",
39817
+ "example": "CAD"
39686
39818
  }, {
39687
39819
  "name": "created_at",
39688
39820
  "type": "date-time-iso8601",
@@ -41699,21 +41831,21 @@
41699
41831
  }, {
41700
41832
  "name": "review_status",
41701
41833
  "type": "review_status",
41702
- "required": true,
41834
+ "required": false,
41703
41835
  "attributes": [],
41704
41836
  "annotations": [],
41705
41837
  "description": "Indicates whether the product has been reviewed, and its restriction status is unlikely to change."
41706
41838
  }, {
41707
41839
  "name": "rules",
41708
41840
  "type": "[product_restriction_rule]",
41709
- "required": true,
41841
+ "required": false,
41710
41842
  "attributes": [],
41711
41843
  "annotations": [],
41712
41844
  "description": "The reasons why item was restricted."
41713
41845
  }, {
41714
- "name": "updated_by_user_id",
41846
+ "name": "updated_by",
41715
41847
  "type": "string",
41716
- "required": true,
41848
+ "required": false,
41717
41849
  "attributes": [],
41718
41850
  "annotations": [],
41719
41851
  "description": "User reference id."
@@ -53307,6 +53439,30 @@
53307
53439
  }],
53308
53440
  "attributes": [],
53309
53441
  "interfaces": []
53442
+ }, {
53443
+ "name": "transaction_metadata_carrier_charge",
53444
+ "plural": "transaction_metadata_carrier_charges",
53445
+ "fields": [{
53446
+ "name": "reason",
53447
+ "type": "carrier_charge_reason",
53448
+ "required": true,
53449
+ "attributes": [],
53450
+ "annotations": []
53451
+ }, {
53452
+ "name": "carrier_id",
53453
+ "type": "string",
53454
+ "required": true,
53455
+ "attributes": [],
53456
+ "annotations": []
53457
+ }, {
53458
+ "name": "carrier_tracking_number",
53459
+ "type": "string",
53460
+ "required": true,
53461
+ "attributes": [],
53462
+ "annotations": []
53463
+ }],
53464
+ "attributes": [],
53465
+ "interfaces": []
53310
53466
  }, {
53311
53467
  "name": "transaction_metadata_channel",
53312
53468
  "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.64",
3
+ "version": "6.17.66",
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": "1855db886db2701e6ba2ae9ede907ce6abbcaa38"
31
+ "gitHead": "2430172d05199bd940ad6b8a39eaf47a9efcea8c"
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.88",
13
+ "version" : "0.17.96",
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.54",
79
+ "version" : "0.20.79",
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",
@@ -4126,6 +4140,11 @@
4126
4140
  "attributes" : [ ],
4127
4141
  "description" : "Oversized and heavy items have specific limits.",
4128
4142
  "value" : "Oversized"
4143
+ }, {
4144
+ "name" : "restrict_by_default",
4145
+ "attributes" : [ ],
4146
+ "description" : "Used to restrict all new products in a catalog by default",
4147
+ "value" : "Restrict by Default"
4129
4148
  }, {
4130
4149
  "name" : "supplements",
4131
4150
  "attributes" : [ ],
@@ -4141,10 +4160,6 @@
4141
4160
  "attributes" : [ ],
4142
4161
  "description" : "Items made from or containing wood may be subject to restrictions in select markets",
4143
4162
  "value" : "Wood"
4144
- }, {
4145
- "name" : "unknown",
4146
- "attributes" : [ ],
4147
- "description" : "No restriction rule could be associated."
4148
4163
  } ],
4149
4164
  "attributes" : [ ]
4150
4165
  }, {
@@ -5110,6 +5125,9 @@
5110
5125
  }, {
5111
5126
  "name" : "trueup",
5112
5127
  "attributes" : [ ]
5128
+ }, {
5129
+ "name" : "carrier_charge",
5130
+ "attributes" : [ ]
5113
5131
  }, {
5114
5132
  "name" : "shipping_label_revenue_share",
5115
5133
  "attributes" : [ ]
@@ -9491,6 +9509,11 @@
9491
9509
  "attributes" : [ ],
9492
9510
  "default" : false,
9493
9511
  "discriminator_value" : "trueup"
9512
+ }, {
9513
+ "type" : "transaction_metadata_carrier_charge",
9514
+ "attributes" : [ ],
9515
+ "default" : false,
9516
+ "discriminator_value" : "carrier_charge"
9494
9517
  }, {
9495
9518
  "type" : "transaction_metadata_manual",
9496
9519
  "attributes" : [ ],
@@ -37478,6 +37501,22 @@
37478
37501
  "annotations" : [ ],
37479
37502
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37480
37503
  "example" : "CAD"
37504
+ }, {
37505
+ "name" : "base_amount",
37506
+ "type" : "decimal",
37507
+ "required" : false,
37508
+ "attributes" : [ ],
37509
+ "annotations" : [ ],
37510
+ "description" : "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations.",
37511
+ "example" : "120.38"
37512
+ }, {
37513
+ "name" : "base_currency",
37514
+ "type" : "string",
37515
+ "required" : false,
37516
+ "attributes" : [ ],
37517
+ "annotations" : [ ],
37518
+ "description" : "The ISO 4217-3 code for the base currency.",
37519
+ "example" : "CAD"
37481
37520
  } ],
37482
37521
  "attributes" : [ ],
37483
37522
  "interfaces" : [ ],
@@ -37526,6 +37565,22 @@
37526
37565
  "annotations" : [ ],
37527
37566
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
37528
37567
  "example" : "CAD"
37568
+ }, {
37569
+ "name" : "base_amount",
37570
+ "type" : "decimal",
37571
+ "required" : false,
37572
+ "attributes" : [ ],
37573
+ "annotations" : [ ],
37574
+ "description" : "The base amount captured. Used for financial reconciliation for currency conversion, not for payment operations.",
37575
+ "example" : "120.38"
37576
+ }, {
37577
+ "name" : "base_currency",
37578
+ "type" : "string",
37579
+ "required" : false,
37580
+ "attributes" : [ ],
37581
+ "annotations" : [ ],
37582
+ "description" : "The ISO 4217-3 code for the base currency.",
37583
+ "example" : "CAD"
37529
37584
  }, {
37530
37585
  "name" : "created_at",
37531
37586
  "type" : "date-time-iso8601",
@@ -39174,6 +39229,22 @@
39174
39229
  "annotations" : [ ],
39175
39230
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39176
39231
  "example" : "CAD"
39232
+ }, {
39233
+ "name" : "base_amount",
39234
+ "type" : "decimal",
39235
+ "required" : false,
39236
+ "attributes" : [ ],
39237
+ "annotations" : [ ],
39238
+ "description" : "The base amount refunded. Used for financial reconciliation for currency conversion, not for payment operations.",
39239
+ "example" : "120.38"
39240
+ }, {
39241
+ "name" : "base_currency",
39242
+ "type" : "string",
39243
+ "required" : false,
39244
+ "attributes" : [ ],
39245
+ "annotations" : [ ],
39246
+ "description" : "The ISO 4217-3 code for the base currency.",
39247
+ "example" : "CAD"
39177
39248
  }, {
39178
39249
  "name" : "created_at",
39179
39250
  "type" : "date-time-iso8601",
@@ -39304,6 +39375,22 @@
39304
39375
  "annotations" : [ ],
39305
39376
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39306
39377
  "example" : "CAD"
39378
+ }, {
39379
+ "name" : "base_amount",
39380
+ "type" : "decimal",
39381
+ "required" : false,
39382
+ "attributes" : [ ],
39383
+ "annotations" : [ ],
39384
+ "description" : "The base amount to authorize. Used for financial reconciliation for currency conversion, not for payment operations",
39385
+ "example" : "120.38"
39386
+ }, {
39387
+ "name" : "base_currency",
39388
+ "type" : "string",
39389
+ "required" : false,
39390
+ "attributes" : [ ],
39391
+ "annotations" : [ ],
39392
+ "description" : "The ISO 4217-3 code for the base currency.",
39393
+ "example" : "CAD"
39307
39394
  }, {
39308
39395
  "name" : "order_information",
39309
39396
  "type" : "order_information",
@@ -39388,6 +39475,35 @@
39388
39475
  "required" : true,
39389
39476
  "attributes" : [ ],
39390
39477
  "annotations" : [ ]
39478
+ }, {
39479
+ "name" : "currency_rate",
39480
+ "type" : "payment_request_billing_currency_rate",
39481
+ "required" : false,
39482
+ "attributes" : [ ],
39483
+ "annotations" : [ ],
39484
+ "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."
39485
+ } ],
39486
+ "attributes" : [ ],
39487
+ "interfaces" : [ ]
39488
+ }, {
39489
+ "name" : "payment_request_billing_currency_rate",
39490
+ "plural" : "payment_request_billing_currency_rates",
39491
+ "fields" : [ {
39492
+ "name" : "base_amount",
39493
+ "type" : "decimal",
39494
+ "required" : true,
39495
+ "attributes" : [ ],
39496
+ "annotations" : [ ],
39497
+ "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.",
39498
+ "example" : "120.38"
39499
+ }, {
39500
+ "name" : "base_currency",
39501
+ "type" : "string",
39502
+ "required" : true,
39503
+ "attributes" : [ ],
39504
+ "annotations" : [ ],
39505
+ "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",
39506
+ "example" : "CAD"
39391
39507
  } ],
39392
39508
  "attributes" : [ ],
39393
39509
  "interfaces" : [ ]
@@ -39683,6 +39799,22 @@
39683
39799
  "annotations" : [ ],
39684
39800
  "description" : "The ISO 4217-3 code for the currency. Case insensitive. See https://api.flow.io/reference/currencies",
39685
39801
  "example" : "CAD"
39802
+ }, {
39803
+ "name" : "base_amount",
39804
+ "type" : "decimal",
39805
+ "required" : false,
39806
+ "attributes" : [ ],
39807
+ "annotations" : [ ],
39808
+ "description" : "The base amount reversed. Used for financial reconciliation for currency conversion, not for payment operations.",
39809
+ "example" : "120.38"
39810
+ }, {
39811
+ "name" : "base_currency",
39812
+ "type" : "string",
39813
+ "required" : false,
39814
+ "attributes" : [ ],
39815
+ "annotations" : [ ],
39816
+ "description" : "The ISO 4217-3 code for the base currency.",
39817
+ "example" : "CAD"
39686
39818
  }, {
39687
39819
  "name" : "created_at",
39688
39820
  "type" : "date-time-iso8601",
@@ -41699,21 +41831,21 @@
41699
41831
  }, {
41700
41832
  "name" : "review_status",
41701
41833
  "type" : "review_status",
41702
- "required" : true,
41834
+ "required" : false,
41703
41835
  "attributes" : [ ],
41704
41836
  "annotations" : [ ],
41705
41837
  "description" : "Indicates whether the product has been reviewed, and its restriction status is unlikely to change."
41706
41838
  }, {
41707
41839
  "name" : "rules",
41708
41840
  "type" : "[product_restriction_rule]",
41709
- "required" : true,
41841
+ "required" : false,
41710
41842
  "attributes" : [ ],
41711
41843
  "annotations" : [ ],
41712
41844
  "description" : "The reasons why item was restricted."
41713
41845
  }, {
41714
- "name" : "updated_by_user_id",
41846
+ "name" : "updated_by",
41715
41847
  "type" : "string",
41716
- "required" : true,
41848
+ "required" : false,
41717
41849
  "attributes" : [ ],
41718
41850
  "annotations" : [ ],
41719
41851
  "description" : "User reference id."
@@ -53307,6 +53439,30 @@
53307
53439
  } ],
53308
53440
  "attributes" : [ ],
53309
53441
  "interfaces" : [ ]
53442
+ }, {
53443
+ "name" : "transaction_metadata_carrier_charge",
53444
+ "plural" : "transaction_metadata_carrier_charges",
53445
+ "fields" : [ {
53446
+ "name" : "reason",
53447
+ "type" : "carrier_charge_reason",
53448
+ "required" : true,
53449
+ "attributes" : [ ],
53450
+ "annotations" : [ ]
53451
+ }, {
53452
+ "name" : "carrier_id",
53453
+ "type" : "string",
53454
+ "required" : true,
53455
+ "attributes" : [ ],
53456
+ "annotations" : [ ]
53457
+ }, {
53458
+ "name" : "carrier_tracking_number",
53459
+ "type" : "string",
53460
+ "required" : true,
53461
+ "attributes" : [ ],
53462
+ "annotations" : [ ]
53463
+ } ],
53464
+ "attributes" : [ ],
53465
+ "interfaces" : [ ]
53310
53466
  }, {
53311
53467
  "name" : "transaction_metadata_channel",
53312
53468
  "plural" : "transaction_metadata_channels",