@flowio/api-mock-generator 6.17.96 → 6.17.97

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 +272 -13
  2. package/package.json +2 -2
  3. package/src/api.json +272 -13
package/dist/api.json CHANGED
@@ -1,7 +1,4 @@
1
1
  {
2
- "apidoc": {
3
- "version": "0.19.71"
4
- },
5
2
  "name": "API",
6
3
  "organization": {
7
4
  "key": "flow"
@@ -10,7 +7,7 @@
10
7
  "key": "api"
11
8
  },
12
9
  "namespace": "io.flow.v0",
13
- "version": "0.19.71",
10
+ "version": "0.19.77",
14
11
  "info": {
15
12
  "license": {
16
13
  "name": "MIT",
@@ -31,7 +28,7 @@
31
28
  "application": {
32
29
  "key": "channel-internal"
33
30
  },
34
- "version": "0.25.66",
31
+ "version": "0.25.73",
35
32
  "enums": ["channel_order_acceptance_error_action", "channel_order_acceptance_failure_reason_code", "channel_order_acceptance_next_action_from", "channel_order_acceptance_rejection_reason", "channel_order_acceptance_status"],
36
33
  "interfaces": [],
37
34
  "unions": [],
@@ -61,7 +58,7 @@
61
58
  "application": {
62
59
  "key": "apple-pay"
63
60
  },
64
- "version": "0.4.9",
61
+ "version": "0.4.13",
65
62
  "enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
66
63
  "interfaces": [],
67
64
  "unions": [],
@@ -76,7 +73,7 @@
76
73
  "application": {
77
74
  "key": "google-pay"
78
75
  },
79
- "version": "0.4.9",
76
+ "version": "0.4.13",
80
77
  "enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
81
78
  "interfaces": [],
82
79
  "unions": ["payment_method_token"],
@@ -91,7 +88,7 @@
91
88
  "application": {
92
89
  "key": "sellability"
93
90
  },
94
- "version": "0.19.71",
91
+ "version": "0.19.77",
95
92
  "enums": ["rule_effect_type", "sellability_error_code"],
96
93
  "interfaces": [],
97
94
  "unions": [],
@@ -106,7 +103,7 @@
106
103
  "application": {
107
104
  "key": "shopify-external"
108
105
  },
109
- "version": "0.4.9",
106
+ "version": "0.4.13",
110
107
  "enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "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_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
111
108
  "interfaces": [],
112
109
  "unions": [],
@@ -121,7 +118,7 @@
121
118
  "application": {
122
119
  "key": "ben-test-internal"
123
120
  },
124
- "version": "0.25.63",
121
+ "version": "0.25.73",
125
122
  "enums": [],
126
123
  "interfaces": ["generate_load"],
127
124
  "unions": ["generate_load"],
@@ -136,7 +133,7 @@
136
133
  "application": {
137
134
  "key": "tech-onboarding-playground"
138
135
  },
139
- "version": "0.25.63",
136
+ "version": "0.25.73",
140
137
  "enums": ["aldo_item_type", "ansh_item_type"],
141
138
  "interfaces": [],
142
139
  "unions": [],
@@ -1829,6 +1826,12 @@
1829
1826
  }, {
1830
1827
  "name": "authorization_retry_deleted",
1831
1828
  "attributes": []
1829
+ }, {
1830
+ "name": "transfer_upserted",
1831
+ "attributes": []
1832
+ }, {
1833
+ "name": "transfer_deleted",
1834
+ "attributes": []
1832
1835
  }, {
1833
1836
  "name": "payment_request_upserted",
1834
1837
  "attributes": []
@@ -2244,10 +2247,10 @@
2244
2247
  "name": "ge_catalog_item_ingestion_response",
2245
2248
  "plural": "ge_catalog_item_ingestion_responses",
2246
2249
  "values": [{
2247
- "name": "ge_catalog_item_ingestion_success",
2250
+ "name": "success",
2248
2251
  "attributes": []
2249
2252
  }, {
2250
- "name": "ge_catalog_item_ingestion_failure",
2253
+ "name": "failure",
2251
2254
  "attributes": []
2252
2255
  }],
2253
2256
  "attributes": []
@@ -5407,6 +5410,9 @@
5407
5410
  }, {
5408
5411
  "name": "tax_refund",
5409
5412
  "attributes": []
5413
+ }, {
5414
+ "name": "duty_refund",
5415
+ "attributes": []
5410
5416
  }, {
5411
5417
  "name": "non_l4l_tax_duty_fx",
5412
5418
  "attributes": []
@@ -5415,6 +5421,48 @@
5415
5421
  "attributes": []
5416
5422
  }],
5417
5423
  "attributes": []
5424
+ }, {
5425
+ "name": "transfer_status",
5426
+ "plural": "transfer_statuses",
5427
+ "values": [{
5428
+ "name": "succeeded",
5429
+ "attributes": [],
5430
+ "description": "The transfer has been processed successfully. Map to transfer record"
5431
+ }, {
5432
+ "name": "canceled",
5433
+ "attributes": [],
5434
+ "description": "The transfer was canceled. Map to transfer_reversal record"
5435
+ }],
5436
+ "attributes": []
5437
+ }, {
5438
+ "name": "transfer_type",
5439
+ "plural": "transfer_types",
5440
+ "values": [{
5441
+ "name": "payout_to_merchant",
5442
+ "attributes": [],
5443
+ "description": "Transfer from Global-e -> Merchant account after a payment from buyer. Map to ManagedMarketsChargeCredit."
5444
+ }, {
5445
+ "name": "disputed_amount_to_merchant",
5446
+ "attributes": [],
5447
+ "description": "Transfer from Global-e -> Merchant when dispute is won. Map to ManagedMarketsDisputeWonAmountCredit."
5448
+ }, {
5449
+ "name": "duties_and_taxes_adjustment_to_merchant",
5450
+ "attributes": [],
5451
+ "description": "Transfer from Global-e -> Merchant when there’s a need to withhold less D&T. Map to ManagedMarketsDutiesAndTaxesAdjustmentCredit."
5452
+ }, {
5453
+ "name": "disputed_amount_from_merchant",
5454
+ "attributes": [],
5455
+ "description": "Transfer from Merchant -> Global-e to cover chargeback amount Global-e paid to buyer. Map to ManagedMarketsDisputedAmountDebit"
5456
+ }, {
5457
+ "name": "duties_and_taxes_adjustment_from_merchant",
5458
+ "attributes": [],
5459
+ "description": "Transfer from Merchant -> Global-e when there’s a need to withhold more D&T. Map to ManagedMarketsDutiesAndTaxesAdjustmentDebit"
5460
+ }, {
5461
+ "name": "refund_from_merchant",
5462
+ "attributes": [],
5463
+ "description": "Transfer from Merchant -> Global-e when merchant refunds a buyer. This can happen voluntarily or involuntarily when an order is rejected. Map to ManagedMarketsRefundDebit"
5464
+ }],
5465
+ "attributes": []
5418
5466
  }, {
5419
5467
  "name": "trueup_source",
5420
5468
  "plural": "trueup_sources",
@@ -8189,6 +8237,14 @@
8189
8237
  "type": "authorization_retry_deleted",
8190
8238
  "attributes": [],
8191
8239
  "discriminator_value": "authorization_retry_deleted"
8240
+ }, {
8241
+ "type": "transfer_upserted",
8242
+ "attributes": [],
8243
+ "discriminator_value": "transfer_upserted"
8244
+ }, {
8245
+ "type": "transfer_deleted",
8246
+ "attributes": [],
8247
+ "discriminator_value": "transfer_deleted"
8192
8248
  }, {
8193
8249
  "type": "payment_request_upserted",
8194
8250
  "attributes": [],
@@ -9901,6 +9957,25 @@
9901
9957
  "attributes": [],
9902
9958
  "interfaces": [],
9903
9959
  "discriminator": "discriminator"
9960
+ }, {
9961
+ "name": "transfer_reference",
9962
+ "plural": "transfer_references",
9963
+ "types": [{
9964
+ "type": "capture_reference",
9965
+ "attributes": [],
9966
+ "discriminator_value": "capture_reference"
9967
+ }, {
9968
+ "type": "refund_reference",
9969
+ "attributes": [],
9970
+ "discriminator_value": "refund_reference"
9971
+ }, {
9972
+ "type": "dispute_reference",
9973
+ "attributes": [],
9974
+ "discriminator_value": "dispute_reference"
9975
+ }],
9976
+ "attributes": [],
9977
+ "interfaces": [],
9978
+ "discriminator": "discriminator"
9904
9979
  }],
9905
9980
  "models": [{
9906
9981
  "name": "abandoned_order_email_settings",
@@ -21847,6 +21922,25 @@
21847
21922
  }],
21848
21923
  "attributes": [],
21849
21924
  "interfaces": []
21925
+ }, {
21926
+ "name": "dispute_reference",
21927
+ "plural": "dispute_references",
21928
+ "fields": [{
21929
+ "name": "id",
21930
+ "type": "string",
21931
+ "required": true,
21932
+ "attributes": [],
21933
+ "annotations": [],
21934
+ "description": "Globally unique identifier"
21935
+ }, {
21936
+ "name": "key",
21937
+ "type": "string",
21938
+ "required": true,
21939
+ "attributes": [],
21940
+ "annotations": []
21941
+ }],
21942
+ "attributes": [],
21943
+ "interfaces": []
21850
21944
  }, {
21851
21945
  "name": "duration",
21852
21946
  "plural": "durations",
@@ -22631,6 +22725,26 @@
22631
22725
  "attributes": [],
22632
22726
  "interfaces": [],
22633
22727
  "description": "Represents an exception to the schedule of a center."
22728
+ }, {
22729
+ "name": "exchanged_money",
22730
+ "plural": "exchanged_moneys",
22731
+ "fields": [{
22732
+ "name": "fx_rate",
22733
+ "type": "decimal",
22734
+ "required": true,
22735
+ "attributes": [],
22736
+ "annotations": [],
22737
+ "description": "The FX rate used to convert money in a currency into the money currency of this object"
22738
+ }, {
22739
+ "name": "money",
22740
+ "type": "money",
22741
+ "required": true,
22742
+ "attributes": [],
22743
+ "annotations": [],
22744
+ "description": "The amount and currency of the exchanged money"
22745
+ }],
22746
+ "attributes": [],
22747
+ "interfaces": []
22634
22748
  }, {
22635
22749
  "name": "exclusion_rule",
22636
22750
  "plural": "exclusion_rules",
@@ -25625,6 +25739,12 @@
25625
25739
  "required": true,
25626
25740
  "attributes": [],
25627
25741
  "annotations": []
25742
+ }, {
25743
+ "name": "ge_organization_name",
25744
+ "type": "string",
25745
+ "required": true,
25746
+ "attributes": [],
25747
+ "annotations": []
25628
25748
  }],
25629
25749
  "attributes": [],
25630
25750
  "interfaces": []
@@ -43821,6 +43941,22 @@
43821
43941
  "annotations": [],
43822
43942
  "description": "Delivered duty type for the estimate. This is taken from the ratecard lane.",
43823
43943
  "example": "paid"
43944
+ }, {
43945
+ "name": "distance_unit_of_measurement",
43946
+ "type": "unit_of_measurement",
43947
+ "required": false,
43948
+ "attributes": [],
43949
+ "annotations": [],
43950
+ "description": "Unit of measurement used for distance for the estimate",
43951
+ "example": "inch"
43952
+ }, {
43953
+ "name": "weight_unit_of_measurement",
43954
+ "type": "unit_of_measurement",
43955
+ "required": false,
43956
+ "attributes": [],
43957
+ "annotations": [],
43958
+ "description": "Unit of measurement used for weight for the estimate",
43959
+ "example": "pound"
43824
43960
  }, {
43825
43961
  "name": "dimensional_weight",
43826
43962
  "type": "measurement",
@@ -53670,6 +53806,126 @@
53670
53806
  "deprecation": {
53671
53807
  "description": "Subscribe to organization_transaction_upserted instead as transaction_upserted is scheduled for removal."
53672
53808
  }
53809
+ }, {
53810
+ "name": "transfer",
53811
+ "plural": "transfers",
53812
+ "fields": [{
53813
+ "name": "id",
53814
+ "type": "string",
53815
+ "required": true,
53816
+ "attributes": [],
53817
+ "annotations": [],
53818
+ "description": "Globally unique identifier"
53819
+ }, {
53820
+ "name": "type",
53821
+ "type": "transfer_type",
53822
+ "required": true,
53823
+ "attributes": [],
53824
+ "annotations": []
53825
+ }, {
53826
+ "name": "money",
53827
+ "type": "money",
53828
+ "required": true,
53829
+ "attributes": [],
53830
+ "annotations": [],
53831
+ "description": "Represents the money credited or debited from the account. A positive amount means a credit, a negative amount means a debit."
53832
+ }, {
53833
+ "name": "transferred_money",
53834
+ "type": "exchanged_money",
53835
+ "required": true,
53836
+ "attributes": [],
53837
+ "annotations": []
53838
+ }, {
53839
+ "name": "status",
53840
+ "type": "transfer_status",
53841
+ "required": true,
53842
+ "attributes": [],
53843
+ "annotations": []
53844
+ }, {
53845
+ "name": "created_at",
53846
+ "type": "date-time-iso8601",
53847
+ "required": true,
53848
+ "attributes": [],
53849
+ "annotations": []
53850
+ }, {
53851
+ "name": "reference",
53852
+ "type": "transfer_reference",
53853
+ "required": true,
53854
+ "attributes": [],
53855
+ "annotations": [],
53856
+ "description": "The resource reference that triggers the transfer"
53857
+ }, {
53858
+ "name": "transferred_at",
53859
+ "type": "date-time-iso8601",
53860
+ "required": true,
53861
+ "attributes": [],
53862
+ "annotations": []
53863
+ }],
53864
+ "attributes": [],
53865
+ "interfaces": []
53866
+ }, {
53867
+ "name": "transfer_deleted",
53868
+ "plural": "transfer_deleteds",
53869
+ "fields": [{
53870
+ "name": "event_id",
53871
+ "type": "string",
53872
+ "required": true,
53873
+ "attributes": [],
53874
+ "annotations": []
53875
+ }, {
53876
+ "name": "timestamp",
53877
+ "type": "date-time-iso8601",
53878
+ "required": true,
53879
+ "attributes": [],
53880
+ "annotations": []
53881
+ }, {
53882
+ "name": "organization",
53883
+ "type": "string",
53884
+ "required": true,
53885
+ "attributes": [],
53886
+ "annotations": [],
53887
+ "description": "Refers to your organization's account identifier"
53888
+ }, {
53889
+ "name": "id",
53890
+ "type": "string",
53891
+ "required": true,
53892
+ "attributes": [],
53893
+ "annotations": [],
53894
+ "description": "Globally unique identifier"
53895
+ }],
53896
+ "attributes": [],
53897
+ "interfaces": []
53898
+ }, {
53899
+ "name": "transfer_upserted",
53900
+ "plural": "transfer_upserteds",
53901
+ "fields": [{
53902
+ "name": "event_id",
53903
+ "type": "string",
53904
+ "required": true,
53905
+ "attributes": [],
53906
+ "annotations": []
53907
+ }, {
53908
+ "name": "timestamp",
53909
+ "type": "date-time-iso8601",
53910
+ "required": true,
53911
+ "attributes": [],
53912
+ "annotations": []
53913
+ }, {
53914
+ "name": "organization",
53915
+ "type": "string",
53916
+ "required": true,
53917
+ "attributes": [],
53918
+ "annotations": [],
53919
+ "description": "Refers to your organization's account identifier"
53920
+ }, {
53921
+ "name": "transfer",
53922
+ "type": "transfer",
53923
+ "required": true,
53924
+ "attributes": [],
53925
+ "annotations": []
53926
+ }],
53927
+ "attributes": [],
53928
+ "interfaces": []
53673
53929
  }, {
53674
53930
  "name": "transit_estimate",
53675
53931
  "plural": "transit_estimates",
@@ -97352,6 +97608,9 @@
97352
97608
  "name": "pci",
97353
97609
  "description": "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
97354
97610
  }],
97611
+ "apidoc": {
97612
+ "version": "0.19.77"
97613
+ },
97355
97614
  "base_url": "https://api.flow.io",
97356
97615
  "description": "The Flow Commerce REST API provides full access to the global ecommerce platform."
97357
97616
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.96",
3
+ "version": "6.17.97",
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": "3e62beab3080f4977b85152f0e0626078fa26933"
31
+ "gitHead": "20eb3ad55f76873162f52f64cb42347be379f34e"
32
32
  }
package/src/api.json CHANGED
@@ -1,7 +1,4 @@
1
1
  {
2
- "apidoc" : {
3
- "version" : "0.19.71"
4
- },
5
2
  "name" : "API",
6
3
  "organization" : {
7
4
  "key" : "flow"
@@ -10,7 +7,7 @@
10
7
  "key" : "api"
11
8
  },
12
9
  "namespace" : "io.flow.v0",
13
- "version" : "0.19.71",
10
+ "version" : "0.19.77",
14
11
  "info" : {
15
12
  "license" : {
16
13
  "name" : "MIT",
@@ -31,7 +28,7 @@
31
28
  "application" : {
32
29
  "key" : "channel-internal"
33
30
  },
34
- "version" : "0.25.66",
31
+ "version" : "0.25.73",
35
32
  "enums" : [ "channel_order_acceptance_error_action", "channel_order_acceptance_failure_reason_code", "channel_order_acceptance_next_action_from", "channel_order_acceptance_rejection_reason", "channel_order_acceptance_status" ],
36
33
  "interfaces" : [ ],
37
34
  "unions" : [ ],
@@ -61,7 +58,7 @@
61
58
  "application" : {
62
59
  "key" : "apple-pay"
63
60
  },
64
- "version" : "0.4.9",
61
+ "version" : "0.4.13",
65
62
  "enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
66
63
  "interfaces" : [ ],
67
64
  "unions" : [ ],
@@ -76,7 +73,7 @@
76
73
  "application" : {
77
74
  "key" : "google-pay"
78
75
  },
79
- "version" : "0.4.9",
76
+ "version" : "0.4.13",
80
77
  "enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
81
78
  "interfaces" : [ ],
82
79
  "unions" : [ "payment_method_token" ],
@@ -91,7 +88,7 @@
91
88
  "application" : {
92
89
  "key" : "sellability"
93
90
  },
94
- "version" : "0.19.71",
91
+ "version" : "0.19.77",
95
92
  "enums" : [ "rule_effect_type", "sellability_error_code" ],
96
93
  "interfaces" : [ ],
97
94
  "unions" : [ ],
@@ -106,7 +103,7 @@
106
103
  "application" : {
107
104
  "key" : "shopify-external"
108
105
  },
109
- "version" : "0.4.9",
106
+ "version" : "0.4.13",
110
107
  "enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "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_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
111
108
  "interfaces" : [ ],
112
109
  "unions" : [ ],
@@ -121,7 +118,7 @@
121
118
  "application" : {
122
119
  "key" : "ben-test-internal"
123
120
  },
124
- "version" : "0.25.63",
121
+ "version" : "0.25.73",
125
122
  "enums" : [ ],
126
123
  "interfaces" : [ "generate_load" ],
127
124
  "unions" : [ "generate_load" ],
@@ -136,7 +133,7 @@
136
133
  "application" : {
137
134
  "key" : "tech-onboarding-playground"
138
135
  },
139
- "version" : "0.25.63",
136
+ "version" : "0.25.73",
140
137
  "enums" : [ "aldo_item_type", "ansh_item_type" ],
141
138
  "interfaces" : [ ],
142
139
  "unions" : [ ],
@@ -1829,6 +1826,12 @@
1829
1826
  }, {
1830
1827
  "name" : "authorization_retry_deleted",
1831
1828
  "attributes" : [ ]
1829
+ }, {
1830
+ "name" : "transfer_upserted",
1831
+ "attributes" : [ ]
1832
+ }, {
1833
+ "name" : "transfer_deleted",
1834
+ "attributes" : [ ]
1832
1835
  }, {
1833
1836
  "name" : "payment_request_upserted",
1834
1837
  "attributes" : [ ]
@@ -2244,10 +2247,10 @@
2244
2247
  "name" : "ge_catalog_item_ingestion_response",
2245
2248
  "plural" : "ge_catalog_item_ingestion_responses",
2246
2249
  "values" : [ {
2247
- "name" : "ge_catalog_item_ingestion_success",
2250
+ "name" : "success",
2248
2251
  "attributes" : [ ]
2249
2252
  }, {
2250
- "name" : "ge_catalog_item_ingestion_failure",
2253
+ "name" : "failure",
2251
2254
  "attributes" : [ ]
2252
2255
  } ],
2253
2256
  "attributes" : [ ]
@@ -5407,6 +5410,9 @@
5407
5410
  }, {
5408
5411
  "name" : "tax_refund",
5409
5412
  "attributes" : [ ]
5413
+ }, {
5414
+ "name" : "duty_refund",
5415
+ "attributes" : [ ]
5410
5416
  }, {
5411
5417
  "name" : "non_l4l_tax_duty_fx",
5412
5418
  "attributes" : [ ]
@@ -5415,6 +5421,48 @@
5415
5421
  "attributes" : [ ]
5416
5422
  } ],
5417
5423
  "attributes" : [ ]
5424
+ }, {
5425
+ "name" : "transfer_status",
5426
+ "plural" : "transfer_statuses",
5427
+ "values" : [ {
5428
+ "name" : "succeeded",
5429
+ "attributes" : [ ],
5430
+ "description" : "The transfer has been processed successfully. Map to transfer record"
5431
+ }, {
5432
+ "name" : "canceled",
5433
+ "attributes" : [ ],
5434
+ "description" : "The transfer was canceled. Map to transfer_reversal record"
5435
+ } ],
5436
+ "attributes" : [ ]
5437
+ }, {
5438
+ "name" : "transfer_type",
5439
+ "plural" : "transfer_types",
5440
+ "values" : [ {
5441
+ "name" : "payout_to_merchant",
5442
+ "attributes" : [ ],
5443
+ "description" : "Transfer from Global-e -> Merchant account after a payment from buyer. Map to ManagedMarketsChargeCredit."
5444
+ }, {
5445
+ "name" : "disputed_amount_to_merchant",
5446
+ "attributes" : [ ],
5447
+ "description" : "Transfer from Global-e -> Merchant when dispute is won. Map to ManagedMarketsDisputeWonAmountCredit."
5448
+ }, {
5449
+ "name" : "duties_and_taxes_adjustment_to_merchant",
5450
+ "attributes" : [ ],
5451
+ "description" : "Transfer from Global-e -> Merchant when there’s a need to withhold less D&T. Map to ManagedMarketsDutiesAndTaxesAdjustmentCredit."
5452
+ }, {
5453
+ "name" : "disputed_amount_from_merchant",
5454
+ "attributes" : [ ],
5455
+ "description" : "Transfer from Merchant -> Global-e to cover chargeback amount Global-e paid to buyer. Map to ManagedMarketsDisputedAmountDebit"
5456
+ }, {
5457
+ "name" : "duties_and_taxes_adjustment_from_merchant",
5458
+ "attributes" : [ ],
5459
+ "description" : "Transfer from Merchant -> Global-e when there’s a need to withhold more D&T. Map to ManagedMarketsDutiesAndTaxesAdjustmentDebit"
5460
+ }, {
5461
+ "name" : "refund_from_merchant",
5462
+ "attributes" : [ ],
5463
+ "description" : "Transfer from Merchant -> Global-e when merchant refunds a buyer. This can happen voluntarily or involuntarily when an order is rejected. Map to ManagedMarketsRefundDebit"
5464
+ } ],
5465
+ "attributes" : [ ]
5418
5466
  }, {
5419
5467
  "name" : "trueup_source",
5420
5468
  "plural" : "trueup_sources",
@@ -8189,6 +8237,14 @@
8189
8237
  "type" : "authorization_retry_deleted",
8190
8238
  "attributes" : [ ],
8191
8239
  "discriminator_value" : "authorization_retry_deleted"
8240
+ }, {
8241
+ "type" : "transfer_upserted",
8242
+ "attributes" : [ ],
8243
+ "discriminator_value" : "transfer_upserted"
8244
+ }, {
8245
+ "type" : "transfer_deleted",
8246
+ "attributes" : [ ],
8247
+ "discriminator_value" : "transfer_deleted"
8192
8248
  }, {
8193
8249
  "type" : "payment_request_upserted",
8194
8250
  "attributes" : [ ],
@@ -9901,6 +9957,25 @@
9901
9957
  "attributes" : [ ],
9902
9958
  "interfaces" : [ ],
9903
9959
  "discriminator" : "discriminator"
9960
+ }, {
9961
+ "name" : "transfer_reference",
9962
+ "plural" : "transfer_references",
9963
+ "types" : [ {
9964
+ "type" : "capture_reference",
9965
+ "attributes" : [ ],
9966
+ "discriminator_value" : "capture_reference"
9967
+ }, {
9968
+ "type" : "refund_reference",
9969
+ "attributes" : [ ],
9970
+ "discriminator_value" : "refund_reference"
9971
+ }, {
9972
+ "type" : "dispute_reference",
9973
+ "attributes" : [ ],
9974
+ "discriminator_value" : "dispute_reference"
9975
+ } ],
9976
+ "attributes" : [ ],
9977
+ "interfaces" : [ ],
9978
+ "discriminator" : "discriminator"
9904
9979
  } ],
9905
9980
  "models" : [ {
9906
9981
  "name" : "abandoned_order_email_settings",
@@ -21847,6 +21922,25 @@
21847
21922
  } ],
21848
21923
  "attributes" : [ ],
21849
21924
  "interfaces" : [ ]
21925
+ }, {
21926
+ "name" : "dispute_reference",
21927
+ "plural" : "dispute_references",
21928
+ "fields" : [ {
21929
+ "name" : "id",
21930
+ "type" : "string",
21931
+ "required" : true,
21932
+ "attributes" : [ ],
21933
+ "annotations" : [ ],
21934
+ "description" : "Globally unique identifier"
21935
+ }, {
21936
+ "name" : "key",
21937
+ "type" : "string",
21938
+ "required" : true,
21939
+ "attributes" : [ ],
21940
+ "annotations" : [ ]
21941
+ } ],
21942
+ "attributes" : [ ],
21943
+ "interfaces" : [ ]
21850
21944
  }, {
21851
21945
  "name" : "duration",
21852
21946
  "plural" : "durations",
@@ -22631,6 +22725,26 @@
22631
22725
  "attributes" : [ ],
22632
22726
  "interfaces" : [ ],
22633
22727
  "description" : "Represents an exception to the schedule of a center."
22728
+ }, {
22729
+ "name" : "exchanged_money",
22730
+ "plural" : "exchanged_moneys",
22731
+ "fields" : [ {
22732
+ "name" : "fx_rate",
22733
+ "type" : "decimal",
22734
+ "required" : true,
22735
+ "attributes" : [ ],
22736
+ "annotations" : [ ],
22737
+ "description" : "The FX rate used to convert money in a currency into the money currency of this object"
22738
+ }, {
22739
+ "name" : "money",
22740
+ "type" : "money",
22741
+ "required" : true,
22742
+ "attributes" : [ ],
22743
+ "annotations" : [ ],
22744
+ "description" : "The amount and currency of the exchanged money"
22745
+ } ],
22746
+ "attributes" : [ ],
22747
+ "interfaces" : [ ]
22634
22748
  }, {
22635
22749
  "name" : "exclusion_rule",
22636
22750
  "plural" : "exclusion_rules",
@@ -25625,6 +25739,12 @@
25625
25739
  "required" : true,
25626
25740
  "attributes" : [ ],
25627
25741
  "annotations" : [ ]
25742
+ }, {
25743
+ "name" : "ge_organization_name",
25744
+ "type" : "string",
25745
+ "required" : true,
25746
+ "attributes" : [ ],
25747
+ "annotations" : [ ]
25628
25748
  } ],
25629
25749
  "attributes" : [ ],
25630
25750
  "interfaces" : [ ]
@@ -43821,6 +43941,22 @@
43821
43941
  "annotations" : [ ],
43822
43942
  "description" : "Delivered duty type for the estimate. This is taken from the ratecard lane.",
43823
43943
  "example" : "paid"
43944
+ }, {
43945
+ "name" : "distance_unit_of_measurement",
43946
+ "type" : "unit_of_measurement",
43947
+ "required" : false,
43948
+ "attributes" : [ ],
43949
+ "annotations" : [ ],
43950
+ "description" : "Unit of measurement used for distance for the estimate",
43951
+ "example" : "inch"
43952
+ }, {
43953
+ "name" : "weight_unit_of_measurement",
43954
+ "type" : "unit_of_measurement",
43955
+ "required" : false,
43956
+ "attributes" : [ ],
43957
+ "annotations" : [ ],
43958
+ "description" : "Unit of measurement used for weight for the estimate",
43959
+ "example" : "pound"
43824
43960
  }, {
43825
43961
  "name" : "dimensional_weight",
43826
43962
  "type" : "measurement",
@@ -53670,6 +53806,126 @@
53670
53806
  "deprecation" : {
53671
53807
  "description" : "Subscribe to organization_transaction_upserted instead as transaction_upserted is scheduled for removal."
53672
53808
  }
53809
+ }, {
53810
+ "name" : "transfer",
53811
+ "plural" : "transfers",
53812
+ "fields" : [ {
53813
+ "name" : "id",
53814
+ "type" : "string",
53815
+ "required" : true,
53816
+ "attributes" : [ ],
53817
+ "annotations" : [ ],
53818
+ "description" : "Globally unique identifier"
53819
+ }, {
53820
+ "name" : "type",
53821
+ "type" : "transfer_type",
53822
+ "required" : true,
53823
+ "attributes" : [ ],
53824
+ "annotations" : [ ]
53825
+ }, {
53826
+ "name" : "money",
53827
+ "type" : "money",
53828
+ "required" : true,
53829
+ "attributes" : [ ],
53830
+ "annotations" : [ ],
53831
+ "description" : "Represents the money credited or debited from the account. A positive amount means a credit, a negative amount means a debit."
53832
+ }, {
53833
+ "name" : "transferred_money",
53834
+ "type" : "exchanged_money",
53835
+ "required" : true,
53836
+ "attributes" : [ ],
53837
+ "annotations" : [ ]
53838
+ }, {
53839
+ "name" : "status",
53840
+ "type" : "transfer_status",
53841
+ "required" : true,
53842
+ "attributes" : [ ],
53843
+ "annotations" : [ ]
53844
+ }, {
53845
+ "name" : "created_at",
53846
+ "type" : "date-time-iso8601",
53847
+ "required" : true,
53848
+ "attributes" : [ ],
53849
+ "annotations" : [ ]
53850
+ }, {
53851
+ "name" : "reference",
53852
+ "type" : "transfer_reference",
53853
+ "required" : true,
53854
+ "attributes" : [ ],
53855
+ "annotations" : [ ],
53856
+ "description" : "The resource reference that triggers the transfer"
53857
+ }, {
53858
+ "name" : "transferred_at",
53859
+ "type" : "date-time-iso8601",
53860
+ "required" : true,
53861
+ "attributes" : [ ],
53862
+ "annotations" : [ ]
53863
+ } ],
53864
+ "attributes" : [ ],
53865
+ "interfaces" : [ ]
53866
+ }, {
53867
+ "name" : "transfer_deleted",
53868
+ "plural" : "transfer_deleteds",
53869
+ "fields" : [ {
53870
+ "name" : "event_id",
53871
+ "type" : "string",
53872
+ "required" : true,
53873
+ "attributes" : [ ],
53874
+ "annotations" : [ ]
53875
+ }, {
53876
+ "name" : "timestamp",
53877
+ "type" : "date-time-iso8601",
53878
+ "required" : true,
53879
+ "attributes" : [ ],
53880
+ "annotations" : [ ]
53881
+ }, {
53882
+ "name" : "organization",
53883
+ "type" : "string",
53884
+ "required" : true,
53885
+ "attributes" : [ ],
53886
+ "annotations" : [ ],
53887
+ "description" : "Refers to your organization's account identifier"
53888
+ }, {
53889
+ "name" : "id",
53890
+ "type" : "string",
53891
+ "required" : true,
53892
+ "attributes" : [ ],
53893
+ "annotations" : [ ],
53894
+ "description" : "Globally unique identifier"
53895
+ } ],
53896
+ "attributes" : [ ],
53897
+ "interfaces" : [ ]
53898
+ }, {
53899
+ "name" : "transfer_upserted",
53900
+ "plural" : "transfer_upserteds",
53901
+ "fields" : [ {
53902
+ "name" : "event_id",
53903
+ "type" : "string",
53904
+ "required" : true,
53905
+ "attributes" : [ ],
53906
+ "annotations" : [ ]
53907
+ }, {
53908
+ "name" : "timestamp",
53909
+ "type" : "date-time-iso8601",
53910
+ "required" : true,
53911
+ "attributes" : [ ],
53912
+ "annotations" : [ ]
53913
+ }, {
53914
+ "name" : "organization",
53915
+ "type" : "string",
53916
+ "required" : true,
53917
+ "attributes" : [ ],
53918
+ "annotations" : [ ],
53919
+ "description" : "Refers to your organization's account identifier"
53920
+ }, {
53921
+ "name" : "transfer",
53922
+ "type" : "transfer",
53923
+ "required" : true,
53924
+ "attributes" : [ ],
53925
+ "annotations" : [ ]
53926
+ } ],
53927
+ "attributes" : [ ],
53928
+ "interfaces" : [ ]
53673
53929
  }, {
53674
53930
  "name" : "transit_estimate",
53675
53931
  "plural" : "transit_estimates",
@@ -97352,6 +97608,9 @@
97352
97608
  "name" : "pci",
97353
97609
  "description" : "Identifies a field that contains data that must be handled in a way that is compliant with the PCI standard."
97354
97610
  } ],
97611
+ "apidoc" : {
97612
+ "version" : "0.19.77"
97613
+ },
97355
97614
  "base_url" : "https://api.flow.io",
97356
97615
  "description" : "The Flow Commerce REST API provides full access to the global ecommerce platform."
97357
97616
  }