@flowio/api-mock-generator 6.17.71 → 6.17.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.json +705 -23
- package/package.json +2 -2
- package/src/api.json +705 -23
package/src/api.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key" : "api"
|
|
11
11
|
},
|
|
12
12
|
"namespace" : "io.flow.v0",
|
|
13
|
-
"version" : "0.18.
|
|
13
|
+
"version" : "0.18.24",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application" : {
|
|
77
77
|
"key" : "ben-test-internal"
|
|
78
78
|
},
|
|
79
|
-
"version" : "0.21.
|
|
79
|
+
"version" : "0.21.60",
|
|
80
80
|
"enums" : [ ],
|
|
81
81
|
"interfaces" : [ "generate_load" ],
|
|
82
82
|
"unions" : [ "generate_load" ],
|
|
@@ -2029,6 +2029,10 @@
|
|
|
2029
2029
|
"name" : "organization_finance",
|
|
2030
2030
|
"attributes" : [ ],
|
|
2031
2031
|
"description" : "Can access billing and reconcilliation functions and retreive relevant data."
|
|
2032
|
+
}, {
|
|
2033
|
+
"name" : "organization_classification",
|
|
2034
|
+
"attributes" : [ ],
|
|
2035
|
+
"description" : "Can access catalog item information."
|
|
2032
2036
|
}, {
|
|
2033
2037
|
"name" : "flow_operations",
|
|
2034
2038
|
"attributes" : [ ],
|
|
@@ -2659,6 +2663,17 @@
|
|
|
2659
2663
|
"attributes" : [ ]
|
|
2660
2664
|
} ],
|
|
2661
2665
|
"attributes" : [ ]
|
|
2666
|
+
}, {
|
|
2667
|
+
"name" : "merchant_disabled_reason",
|
|
2668
|
+
"plural" : "merchant_disabled_reasons",
|
|
2669
|
+
"values" : [ {
|
|
2670
|
+
"name" : "merchant_deactivated",
|
|
2671
|
+
"attributes" : [ ]
|
|
2672
|
+
}, {
|
|
2673
|
+
"name" : "merchant_rejected",
|
|
2674
|
+
"attributes" : [ ]
|
|
2675
|
+
} ],
|
|
2676
|
+
"attributes" : [ ]
|
|
2662
2677
|
}, {
|
|
2663
2678
|
"name" : "merchant_gift_card_error_code",
|
|
2664
2679
|
"plural" : "merchant_gift_card_error_codes",
|
|
@@ -2756,6 +2771,9 @@
|
|
|
2756
2771
|
}, {
|
|
2757
2772
|
"name" : "exception_merchant",
|
|
2758
2773
|
"attributes" : [ ]
|
|
2774
|
+
}, {
|
|
2775
|
+
"name" : "application_missing",
|
|
2776
|
+
"attributes" : [ ]
|
|
2759
2777
|
} ],
|
|
2760
2778
|
"attributes" : [ ]
|
|
2761
2779
|
}, {
|
|
@@ -5140,6 +5158,9 @@
|
|
|
5140
5158
|
}, {
|
|
5141
5159
|
"name" : "shipping_label_service",
|
|
5142
5160
|
"attributes" : [ ]
|
|
5161
|
+
}, {
|
|
5162
|
+
"name" : "shipping_label_revenue_share",
|
|
5163
|
+
"attributes" : [ ]
|
|
5143
5164
|
}, {
|
|
5144
5165
|
"name" : "trueup",
|
|
5145
5166
|
"attributes" : [ ]
|
|
@@ -5147,7 +5168,7 @@
|
|
|
5147
5168
|
"name" : "carrier_charge",
|
|
5148
5169
|
"attributes" : [ ]
|
|
5149
5170
|
}, {
|
|
5150
|
-
"name" : "
|
|
5171
|
+
"name" : "carrier_charge_revenue_share",
|
|
5151
5172
|
"attributes" : [ ]
|
|
5152
5173
|
}, {
|
|
5153
5174
|
"name" : "platform_fee",
|
|
@@ -5225,6 +5246,18 @@
|
|
|
5225
5246
|
}, {
|
|
5226
5247
|
"name" : "address_correction",
|
|
5227
5248
|
"attributes" : [ ]
|
|
5249
|
+
}, {
|
|
5250
|
+
"name" : "security_ratecard_fee",
|
|
5251
|
+
"attributes" : [ ]
|
|
5252
|
+
}, {
|
|
5253
|
+
"name" : "eei_filing_ratecard_fee",
|
|
5254
|
+
"attributes" : [ ]
|
|
5255
|
+
}, {
|
|
5256
|
+
"name" : "fixed_ddp_ratecard_fee",
|
|
5257
|
+
"attributes" : [ ]
|
|
5258
|
+
}, {
|
|
5259
|
+
"name" : "fixed_currency_conversion_ratecard_fee",
|
|
5260
|
+
"attributes" : [ ]
|
|
5228
5261
|
} ],
|
|
5229
5262
|
"attributes" : [ ]
|
|
5230
5263
|
}, {
|
|
@@ -6081,6 +6114,12 @@
|
|
|
6081
6114
|
"attributes" : [ ],
|
|
6082
6115
|
"annotations" : [ ],
|
|
6083
6116
|
"description" : "Globally unique identifier"
|
|
6117
|
+
}, {
|
|
6118
|
+
"name" : "account",
|
|
6119
|
+
"type" : "account_id_reference",
|
|
6120
|
+
"required" : true,
|
|
6121
|
+
"attributes" : [ ],
|
|
6122
|
+
"annotations" : [ ]
|
|
6084
6123
|
}, {
|
|
6085
6124
|
"name" : "metadata",
|
|
6086
6125
|
"type" : "transaction_metadata",
|
|
@@ -8506,6 +8545,10 @@
|
|
|
8506
8545
|
"type" : "merchant_deactivated",
|
|
8507
8546
|
"attributes" : [ ],
|
|
8508
8547
|
"discriminator_value" : "merchant_deactivated"
|
|
8548
|
+
}, {
|
|
8549
|
+
"type" : "merchant_disabled",
|
|
8550
|
+
"attributes" : [ ],
|
|
8551
|
+
"discriminator_value" : "merchant_disabled"
|
|
8509
8552
|
} ],
|
|
8510
8553
|
"attributes" : [ ],
|
|
8511
8554
|
"interfaces" : [ ],
|
|
@@ -9113,6 +9156,22 @@
|
|
|
9113
9156
|
"type" : "duties_taxes_paid_surcharge_ratecard_fee",
|
|
9114
9157
|
"attributes" : [ ],
|
|
9115
9158
|
"discriminator_value" : "duties_taxes_paid_surcharge_ratecard_fee"
|
|
9159
|
+
}, {
|
|
9160
|
+
"type" : "security_ratecard_fee",
|
|
9161
|
+
"attributes" : [ ],
|
|
9162
|
+
"discriminator_value" : "security_ratecard_fee"
|
|
9163
|
+
}, {
|
|
9164
|
+
"type" : "eei_filing_ratecard_fee",
|
|
9165
|
+
"attributes" : [ ],
|
|
9166
|
+
"discriminator_value" : "eei_filing_ratecard_fee"
|
|
9167
|
+
}, {
|
|
9168
|
+
"type" : "fixed_ddp_ratecard_fee",
|
|
9169
|
+
"attributes" : [ ],
|
|
9170
|
+
"discriminator_value" : "fixed_ddp_ratecard_fee"
|
|
9171
|
+
}, {
|
|
9172
|
+
"type" : "fixed_currency_conversion_ratecard_fee",
|
|
9173
|
+
"attributes" : [ ],
|
|
9174
|
+
"discriminator_value" : "fixed_currency_conversion_ratecard_fee"
|
|
9116
9175
|
} ],
|
|
9117
9176
|
"attributes" : [ ],
|
|
9118
9177
|
"interfaces" : [ ],
|
|
@@ -9249,6 +9308,34 @@
|
|
|
9249
9308
|
"type" : "oversize_piece_surcharge_service_fee",
|
|
9250
9309
|
"attributes" : [ ],
|
|
9251
9310
|
"discriminator_value" : "oversize_piece_surcharge_service_fee"
|
|
9311
|
+
}, {
|
|
9312
|
+
"type" : "remote_area_by_weight_service_fee",
|
|
9313
|
+
"attributes" : [ ],
|
|
9314
|
+
"discriminator_value" : "remote_area_by_weight_service_fee"
|
|
9315
|
+
}, {
|
|
9316
|
+
"type" : "additional_handling_service_fee",
|
|
9317
|
+
"attributes" : [ ],
|
|
9318
|
+
"discriminator_value" : "additional_handling_service_fee"
|
|
9319
|
+
}, {
|
|
9320
|
+
"type" : "large_package_service_fee",
|
|
9321
|
+
"attributes" : [ ],
|
|
9322
|
+
"discriminator_value" : "large_package_service_fee"
|
|
9323
|
+
}, {
|
|
9324
|
+
"type" : "security_service_fee",
|
|
9325
|
+
"attributes" : [ ],
|
|
9326
|
+
"discriminator_value" : "security_service_fee"
|
|
9327
|
+
}, {
|
|
9328
|
+
"type" : "fixed_ddp_service_fee",
|
|
9329
|
+
"attributes" : [ ],
|
|
9330
|
+
"discriminator_value" : "fixed_ddp_service_fee"
|
|
9331
|
+
}, {
|
|
9332
|
+
"type" : "fixed_currency_conversion_service_fee",
|
|
9333
|
+
"attributes" : [ ],
|
|
9334
|
+
"discriminator_value" : "fixed_currency_conversion_service_fee"
|
|
9335
|
+
}, {
|
|
9336
|
+
"type" : "eei_filing_service_fee",
|
|
9337
|
+
"attributes" : [ ],
|
|
9338
|
+
"discriminator_value" : "eei_filing_service_fee"
|
|
9252
9339
|
} ],
|
|
9253
9340
|
"attributes" : [ ],
|
|
9254
9341
|
"interfaces" : [ ],
|
|
@@ -9694,6 +9781,19 @@
|
|
|
9694
9781
|
} ],
|
|
9695
9782
|
"attributes" : [ ],
|
|
9696
9783
|
"interfaces" : [ ]
|
|
9784
|
+
}, {
|
|
9785
|
+
"name" : "account_id_reference",
|
|
9786
|
+
"plural" : "account_id_references",
|
|
9787
|
+
"fields" : [ {
|
|
9788
|
+
"name" : "id",
|
|
9789
|
+
"type" : "string",
|
|
9790
|
+
"required" : true,
|
|
9791
|
+
"attributes" : [ ],
|
|
9792
|
+
"annotations" : [ ],
|
|
9793
|
+
"description" : "Globally unique identifier"
|
|
9794
|
+
} ],
|
|
9795
|
+
"attributes" : [ ],
|
|
9796
|
+
"interfaces" : [ ]
|
|
9697
9797
|
}, {
|
|
9698
9798
|
"name" : "account_orders_export_type",
|
|
9699
9799
|
"plural" : "account_orders_export_types",
|
|
@@ -10320,6 +10420,54 @@
|
|
|
10320
10420
|
} ],
|
|
10321
10421
|
"attributes" : [ ],
|
|
10322
10422
|
"interfaces" : [ ]
|
|
10423
|
+
}, {
|
|
10424
|
+
"name" : "additional_handling_service_fee",
|
|
10425
|
+
"plural" : "additional_handling_service_fees",
|
|
10426
|
+
"fields" : [ {
|
|
10427
|
+
"name" : "length_girth_threshold",
|
|
10428
|
+
"type" : "decimal",
|
|
10429
|
+
"required" : false,
|
|
10430
|
+
"attributes" : [ ],
|
|
10431
|
+
"annotations" : [ ]
|
|
10432
|
+
}, {
|
|
10433
|
+
"name" : "length_threshold",
|
|
10434
|
+
"type" : "decimal",
|
|
10435
|
+
"required" : false,
|
|
10436
|
+
"attributes" : [ ],
|
|
10437
|
+
"annotations" : [ ]
|
|
10438
|
+
}, {
|
|
10439
|
+
"name" : "width_threshold",
|
|
10440
|
+
"type" : "decimal",
|
|
10441
|
+
"required" : false,
|
|
10442
|
+
"attributes" : [ ],
|
|
10443
|
+
"annotations" : [ ]
|
|
10444
|
+
}, {
|
|
10445
|
+
"name" : "dimensional_unit",
|
|
10446
|
+
"type" : "unit_of_measurement",
|
|
10447
|
+
"required" : false,
|
|
10448
|
+
"attributes" : [ ],
|
|
10449
|
+
"annotations" : [ ]
|
|
10450
|
+
}, {
|
|
10451
|
+
"name" : "weight_threshold",
|
|
10452
|
+
"type" : "decimal",
|
|
10453
|
+
"required" : false,
|
|
10454
|
+
"attributes" : [ ],
|
|
10455
|
+
"annotations" : [ ]
|
|
10456
|
+
}, {
|
|
10457
|
+
"name" : "weight_unit",
|
|
10458
|
+
"type" : "unit_of_measurement",
|
|
10459
|
+
"required" : false,
|
|
10460
|
+
"attributes" : [ ],
|
|
10461
|
+
"annotations" : [ ]
|
|
10462
|
+
}, {
|
|
10463
|
+
"name" : "amount",
|
|
10464
|
+
"type" : "money",
|
|
10465
|
+
"required" : true,
|
|
10466
|
+
"attributes" : [ ],
|
|
10467
|
+
"annotations" : [ ]
|
|
10468
|
+
} ],
|
|
10469
|
+
"attributes" : [ ],
|
|
10470
|
+
"interfaces" : [ ]
|
|
10323
10471
|
}, {
|
|
10324
10472
|
"name" : "additional_services_requested",
|
|
10325
10473
|
"plural" : "additional_services_requesteds",
|
|
@@ -16630,6 +16778,12 @@
|
|
|
16630
16778
|
"attributes" : [ ],
|
|
16631
16779
|
"annotations" : [ ],
|
|
16632
16780
|
"description" : "Globally unique identifier"
|
|
16781
|
+
}, {
|
|
16782
|
+
"name" : "account",
|
|
16783
|
+
"type" : "account_id_reference",
|
|
16784
|
+
"required" : true,
|
|
16785
|
+
"attributes" : [ ],
|
|
16786
|
+
"annotations" : [ ]
|
|
16633
16787
|
}, {
|
|
16634
16788
|
"name" : "metadata",
|
|
16635
16789
|
"type" : "transaction_metadata",
|
|
@@ -21784,6 +21938,36 @@
|
|
|
21784
21938
|
} ],
|
|
21785
21939
|
"attributes" : [ ],
|
|
21786
21940
|
"interfaces" : [ ]
|
|
21941
|
+
}, {
|
|
21942
|
+
"name" : "eei_filing_ratecard_fee",
|
|
21943
|
+
"plural" : "eei_filing_ratecard_fees",
|
|
21944
|
+
"fields" : [ {
|
|
21945
|
+
"name" : "amount",
|
|
21946
|
+
"type" : "money",
|
|
21947
|
+
"required" : true,
|
|
21948
|
+
"attributes" : [ ],
|
|
21949
|
+
"annotations" : [ ]
|
|
21950
|
+
} ],
|
|
21951
|
+
"attributes" : [ ],
|
|
21952
|
+
"interfaces" : [ ]
|
|
21953
|
+
}, {
|
|
21954
|
+
"name" : "eei_filing_service_fee",
|
|
21955
|
+
"plural" : "eei_filing_service_fees",
|
|
21956
|
+
"fields" : [ {
|
|
21957
|
+
"name" : "amount",
|
|
21958
|
+
"type" : "money",
|
|
21959
|
+
"required" : true,
|
|
21960
|
+
"attributes" : [ ],
|
|
21961
|
+
"annotations" : [ ]
|
|
21962
|
+
}, {
|
|
21963
|
+
"name" : "value_threshold",
|
|
21964
|
+
"type" : "money",
|
|
21965
|
+
"required" : true,
|
|
21966
|
+
"attributes" : [ ],
|
|
21967
|
+
"annotations" : [ ]
|
|
21968
|
+
} ],
|
|
21969
|
+
"attributes" : [ ],
|
|
21970
|
+
"interfaces" : [ ]
|
|
21787
21971
|
}, {
|
|
21788
21972
|
"name" : "email_abandoned_order_promotion",
|
|
21789
21973
|
"plural" : "email_abandoned_order_promotions",
|
|
@@ -23959,6 +24143,76 @@
|
|
|
23959
24143
|
"attributes" : [ ],
|
|
23960
24144
|
"interfaces" : [ ],
|
|
23961
24145
|
"description" : "Indicates a field is required if it is presented in the user interface"
|
|
24146
|
+
}, {
|
|
24147
|
+
"name" : "fixed_currency_conversion_ratecard_fee",
|
|
24148
|
+
"plural" : "fixed_currency_conversion_ratecard_fees",
|
|
24149
|
+
"fields" : [ {
|
|
24150
|
+
"name" : "amount",
|
|
24151
|
+
"type" : "money",
|
|
24152
|
+
"required" : true,
|
|
24153
|
+
"attributes" : [ ],
|
|
24154
|
+
"annotations" : [ ]
|
|
24155
|
+
} ],
|
|
24156
|
+
"attributes" : [ ],
|
|
24157
|
+
"interfaces" : [ ]
|
|
24158
|
+
}, {
|
|
24159
|
+
"name" : "fixed_currency_conversion_service_fee",
|
|
24160
|
+
"plural" : "fixed_currency_conversion_service_fees",
|
|
24161
|
+
"fields" : [ {
|
|
24162
|
+
"name" : "conditions",
|
|
24163
|
+
"type" : "[fixed_fee_condition]",
|
|
24164
|
+
"required" : true,
|
|
24165
|
+
"attributes" : [ ],
|
|
24166
|
+
"annotations" : [ ],
|
|
24167
|
+
"description" : "List of conditions, the first condition which matches is applied"
|
|
24168
|
+
} ],
|
|
24169
|
+
"attributes" : [ ],
|
|
24170
|
+
"interfaces" : [ ]
|
|
24171
|
+
}, {
|
|
24172
|
+
"name" : "fixed_ddp_ratecard_fee",
|
|
24173
|
+
"plural" : "fixed_ddp_ratecard_fees",
|
|
24174
|
+
"fields" : [ {
|
|
24175
|
+
"name" : "amount",
|
|
24176
|
+
"type" : "money",
|
|
24177
|
+
"required" : true,
|
|
24178
|
+
"attributes" : [ ],
|
|
24179
|
+
"annotations" : [ ]
|
|
24180
|
+
} ],
|
|
24181
|
+
"attributes" : [ ],
|
|
24182
|
+
"interfaces" : [ ]
|
|
24183
|
+
}, {
|
|
24184
|
+
"name" : "fixed_ddp_service_fee",
|
|
24185
|
+
"plural" : "fixed_ddp_service_fees",
|
|
24186
|
+
"fields" : [ {
|
|
24187
|
+
"name" : "conditions",
|
|
24188
|
+
"type" : "[fixed_fee_condition]",
|
|
24189
|
+
"required" : true,
|
|
24190
|
+
"attributes" : [ ],
|
|
24191
|
+
"annotations" : [ ],
|
|
24192
|
+
"description" : "List of conditions, the first condition which matches is applied"
|
|
24193
|
+
} ],
|
|
24194
|
+
"attributes" : [ ],
|
|
24195
|
+
"interfaces" : [ ]
|
|
24196
|
+
}, {
|
|
24197
|
+
"name" : "fixed_fee_condition",
|
|
24198
|
+
"plural" : "fixed_fee_conditions",
|
|
24199
|
+
"fields" : [ {
|
|
24200
|
+
"name" : "countries",
|
|
24201
|
+
"type" : "[string]",
|
|
24202
|
+
"required" : true,
|
|
24203
|
+
"attributes" : [ ],
|
|
24204
|
+
"annotations" : [ ],
|
|
24205
|
+
"description" : "List of ISO 3166-3 country codes to which this condition applies e.g. ['CAN', 'MEX']"
|
|
24206
|
+
}, {
|
|
24207
|
+
"name" : "amount",
|
|
24208
|
+
"type" : "money",
|
|
24209
|
+
"required" : true,
|
|
24210
|
+
"attributes" : [ ],
|
|
24211
|
+
"annotations" : [ ],
|
|
24212
|
+
"description" : "Money amount to be applied if this condition applies"
|
|
24213
|
+
} ],
|
|
24214
|
+
"attributes" : [ ],
|
|
24215
|
+
"interfaces" : [ ]
|
|
23962
24216
|
}, {
|
|
23963
24217
|
"name" : "flat_rate",
|
|
23964
24218
|
"plural" : "flat_rates",
|
|
@@ -24022,6 +24276,122 @@
|
|
|
24022
24276
|
} ],
|
|
24023
24277
|
"attributes" : [ ],
|
|
24024
24278
|
"interfaces" : [ ]
|
|
24279
|
+
}, {
|
|
24280
|
+
"name" : "flow_transaction",
|
|
24281
|
+
"plural" : "flow_transactions",
|
|
24282
|
+
"fields" : [ {
|
|
24283
|
+
"name" : "statement",
|
|
24284
|
+
"type" : "billing_channel_statement_reference",
|
|
24285
|
+
"required" : false,
|
|
24286
|
+
"attributes" : [ ],
|
|
24287
|
+
"annotations" : [ ]
|
|
24288
|
+
}, {
|
|
24289
|
+
"name" : "id",
|
|
24290
|
+
"type" : "string",
|
|
24291
|
+
"required" : true,
|
|
24292
|
+
"attributes" : [ ],
|
|
24293
|
+
"annotations" : [ ],
|
|
24294
|
+
"description" : "Globally unique identifier"
|
|
24295
|
+
}, {
|
|
24296
|
+
"name" : "account",
|
|
24297
|
+
"type" : "account_id_reference",
|
|
24298
|
+
"required" : true,
|
|
24299
|
+
"attributes" : [ ],
|
|
24300
|
+
"annotations" : [ ]
|
|
24301
|
+
}, {
|
|
24302
|
+
"name" : "metadata",
|
|
24303
|
+
"type" : "transaction_metadata",
|
|
24304
|
+
"required" : false,
|
|
24305
|
+
"attributes" : [ ],
|
|
24306
|
+
"annotations" : [ ]
|
|
24307
|
+
}, {
|
|
24308
|
+
"name" : "order",
|
|
24309
|
+
"type" : "billing_channel_order_summary",
|
|
24310
|
+
"required" : false,
|
|
24311
|
+
"attributes" : [ ],
|
|
24312
|
+
"annotations" : [ ]
|
|
24313
|
+
}, {
|
|
24314
|
+
"name" : "payment_request",
|
|
24315
|
+
"type" : "billing_channel_payment_request_reference",
|
|
24316
|
+
"required" : false,
|
|
24317
|
+
"attributes" : [ ],
|
|
24318
|
+
"annotations" : [ ]
|
|
24319
|
+
}, {
|
|
24320
|
+
"name" : "currency",
|
|
24321
|
+
"type" : "string",
|
|
24322
|
+
"required" : true,
|
|
24323
|
+
"attributes" : [ ],
|
|
24324
|
+
"annotations" : [ ]
|
|
24325
|
+
}, {
|
|
24326
|
+
"name" : "source",
|
|
24327
|
+
"type" : "transaction_source",
|
|
24328
|
+
"required" : true,
|
|
24329
|
+
"attributes" : [ ],
|
|
24330
|
+
"annotations" : [ ]
|
|
24331
|
+
}, {
|
|
24332
|
+
"name" : "parent",
|
|
24333
|
+
"type" : "parent_transaction_summary",
|
|
24334
|
+
"required" : false,
|
|
24335
|
+
"attributes" : [ ],
|
|
24336
|
+
"annotations" : [ ]
|
|
24337
|
+
}, {
|
|
24338
|
+
"name" : "gross",
|
|
24339
|
+
"type" : "decimal",
|
|
24340
|
+
"required" : true,
|
|
24341
|
+
"attributes" : [ ],
|
|
24342
|
+
"annotations" : [ ]
|
|
24343
|
+
}, {
|
|
24344
|
+
"name" : "fees",
|
|
24345
|
+
"type" : "[fee_deduction]",
|
|
24346
|
+
"required" : true,
|
|
24347
|
+
"attributes" : [ ],
|
|
24348
|
+
"annotations" : [ ],
|
|
24349
|
+
"default" : "[]"
|
|
24350
|
+
}, {
|
|
24351
|
+
"name" : "withholdings",
|
|
24352
|
+
"type" : "[withholding_deduction]",
|
|
24353
|
+
"required" : true,
|
|
24354
|
+
"attributes" : [ ],
|
|
24355
|
+
"annotations" : [ ],
|
|
24356
|
+
"default" : "[]"
|
|
24357
|
+
}, {
|
|
24358
|
+
"name" : "discounts",
|
|
24359
|
+
"type" : "[billing_discount]",
|
|
24360
|
+
"required" : true,
|
|
24361
|
+
"attributes" : [ ],
|
|
24362
|
+
"annotations" : [ ],
|
|
24363
|
+
"default" : "[]"
|
|
24364
|
+
}, {
|
|
24365
|
+
"name" : "net",
|
|
24366
|
+
"type" : "decimal",
|
|
24367
|
+
"required" : true,
|
|
24368
|
+
"attributes" : [ ],
|
|
24369
|
+
"annotations" : [ ],
|
|
24370
|
+
"description" : "net = gross -fees - withholdings"
|
|
24371
|
+
}, {
|
|
24372
|
+
"name" : "identifiers",
|
|
24373
|
+
"type" : "map[string]",
|
|
24374
|
+
"required" : true,
|
|
24375
|
+
"attributes" : [ ],
|
|
24376
|
+
"annotations" : [ ],
|
|
24377
|
+
"description" : "We serialize any transaction level identifiers as key/value pairs here",
|
|
24378
|
+
"default" : "{}"
|
|
24379
|
+
}, {
|
|
24380
|
+
"name" : "created_at",
|
|
24381
|
+
"type" : "date-time-iso8601",
|
|
24382
|
+
"required" : true,
|
|
24383
|
+
"attributes" : [ ],
|
|
24384
|
+
"annotations" : [ ]
|
|
24385
|
+
}, {
|
|
24386
|
+
"name" : "updated_at",
|
|
24387
|
+
"type" : "date-time-iso8601",
|
|
24388
|
+
"required" : true,
|
|
24389
|
+
"attributes" : [ ],
|
|
24390
|
+
"annotations" : [ ]
|
|
24391
|
+
} ],
|
|
24392
|
+
"attributes" : [ ],
|
|
24393
|
+
"interfaces" : [ "generic_transaction" ],
|
|
24394
|
+
"description" : "Provides internal access to all transactions"
|
|
24025
24395
|
}, {
|
|
24026
24396
|
"name" : "fraud_email_rule",
|
|
24027
24397
|
"plural" : "fraud_email_rules",
|
|
@@ -29265,6 +29635,42 @@
|
|
|
29265
29635
|
"attributes" : [ ],
|
|
29266
29636
|
"interfaces" : [ ],
|
|
29267
29637
|
"description" : "ISO 639 2-character language code. See https://api.flow.io/reference/languages"
|
|
29638
|
+
}, {
|
|
29639
|
+
"name" : "large_package_service_fee",
|
|
29640
|
+
"plural" : "large_package_service_fees",
|
|
29641
|
+
"fields" : [ {
|
|
29642
|
+
"name" : "length_girth_threshold",
|
|
29643
|
+
"type" : "decimal",
|
|
29644
|
+
"required" : false,
|
|
29645
|
+
"attributes" : [ ],
|
|
29646
|
+
"annotations" : [ ]
|
|
29647
|
+
}, {
|
|
29648
|
+
"name" : "dimensional_unit",
|
|
29649
|
+
"type" : "unit_of_measurement",
|
|
29650
|
+
"required" : false,
|
|
29651
|
+
"attributes" : [ ],
|
|
29652
|
+
"annotations" : [ ]
|
|
29653
|
+
}, {
|
|
29654
|
+
"name" : "weight_threshold",
|
|
29655
|
+
"type" : "decimal",
|
|
29656
|
+
"required" : false,
|
|
29657
|
+
"attributes" : [ ],
|
|
29658
|
+
"annotations" : [ ]
|
|
29659
|
+
}, {
|
|
29660
|
+
"name" : "weight_unit",
|
|
29661
|
+
"type" : "unit_of_measurement",
|
|
29662
|
+
"required" : false,
|
|
29663
|
+
"attributes" : [ ],
|
|
29664
|
+
"annotations" : [ ]
|
|
29665
|
+
}, {
|
|
29666
|
+
"name" : "amount",
|
|
29667
|
+
"type" : "money",
|
|
29668
|
+
"required" : true,
|
|
29669
|
+
"attributes" : [ ],
|
|
29670
|
+
"annotations" : [ ]
|
|
29671
|
+
} ],
|
|
29672
|
+
"attributes" : [ ],
|
|
29673
|
+
"interfaces" : [ ]
|
|
29268
29674
|
}, {
|
|
29269
29675
|
"name" : "line",
|
|
29270
29676
|
"plural" : "lines",
|
|
@@ -30827,42 +31233,55 @@
|
|
|
30827
31233
|
"attributes" : [ ],
|
|
30828
31234
|
"interfaces" : [ ]
|
|
30829
31235
|
}, {
|
|
30830
|
-
"name" : "merchant_application_upserted",
|
|
30831
|
-
"plural" : "merchant_application_upserteds",
|
|
31236
|
+
"name" : "merchant_application_upserted",
|
|
31237
|
+
"plural" : "merchant_application_upserteds",
|
|
31238
|
+
"fields" : [ {
|
|
31239
|
+
"name" : "event_id",
|
|
31240
|
+
"type" : "string",
|
|
31241
|
+
"required" : true,
|
|
31242
|
+
"attributes" : [ ],
|
|
31243
|
+
"annotations" : [ ]
|
|
31244
|
+
}, {
|
|
31245
|
+
"name" : "timestamp",
|
|
31246
|
+
"type" : "date-time-iso8601",
|
|
31247
|
+
"required" : true,
|
|
31248
|
+
"attributes" : [ ],
|
|
31249
|
+
"annotations" : [ ]
|
|
31250
|
+
}, {
|
|
31251
|
+
"name" : "merchant_application",
|
|
31252
|
+
"type" : "merchant_application",
|
|
31253
|
+
"required" : true,
|
|
31254
|
+
"attributes" : [ ],
|
|
31255
|
+
"annotations" : [ ]
|
|
31256
|
+
} ],
|
|
31257
|
+
"attributes" : [ ],
|
|
31258
|
+
"interfaces" : [ ]
|
|
31259
|
+
}, {
|
|
31260
|
+
"name" : "merchant_deactivated",
|
|
31261
|
+
"plural" : "merchant_deactivateds",
|
|
30832
31262
|
"fields" : [ {
|
|
30833
|
-
"name" : "
|
|
31263
|
+
"name" : "reason",
|
|
30834
31264
|
"type" : "string",
|
|
30835
31265
|
"required" : true,
|
|
30836
31266
|
"attributes" : [ ],
|
|
30837
31267
|
"annotations" : [ ]
|
|
30838
|
-
}, {
|
|
30839
|
-
"name" : "timestamp",
|
|
30840
|
-
"type" : "date-time-iso8601",
|
|
30841
|
-
"required" : true,
|
|
30842
|
-
"attributes" : [ ],
|
|
30843
|
-
"annotations" : [ ]
|
|
30844
|
-
}, {
|
|
30845
|
-
"name" : "merchant_application",
|
|
30846
|
-
"type" : "merchant_application",
|
|
30847
|
-
"required" : true,
|
|
30848
|
-
"attributes" : [ ],
|
|
30849
|
-
"annotations" : [ ]
|
|
30850
31268
|
} ],
|
|
30851
31269
|
"attributes" : [ ],
|
|
30852
|
-
"interfaces" : [ ]
|
|
31270
|
+
"interfaces" : [ ],
|
|
31271
|
+
"description" : "The merchant is deactivated by partner"
|
|
30853
31272
|
}, {
|
|
30854
|
-
"name" : "
|
|
30855
|
-
"plural" : "
|
|
31273
|
+
"name" : "merchant_disabled",
|
|
31274
|
+
"plural" : "merchant_disableds",
|
|
30856
31275
|
"fields" : [ {
|
|
30857
31276
|
"name" : "reason",
|
|
30858
|
-
"type" : "
|
|
31277
|
+
"type" : "merchant_disabled_reason",
|
|
30859
31278
|
"required" : true,
|
|
30860
31279
|
"attributes" : [ ],
|
|
30861
31280
|
"annotations" : [ ]
|
|
30862
31281
|
} ],
|
|
30863
31282
|
"attributes" : [ ],
|
|
30864
31283
|
"interfaces" : [ ],
|
|
30865
|
-
"description" : "The merchant is
|
|
31284
|
+
"description" : "The merchant is disabled. Their API token is no longer working."
|
|
30866
31285
|
}, {
|
|
30867
31286
|
"name" : "merchant_gift_card_balance",
|
|
30868
31287
|
"plural" : "merchant_gift_card_balances",
|
|
@@ -40108,6 +40527,12 @@
|
|
|
40108
40527
|
"attributes" : [ ],
|
|
40109
40528
|
"annotations" : [ ],
|
|
40110
40529
|
"description" : "Globally unique identifier"
|
|
40530
|
+
}, {
|
|
40531
|
+
"name" : "account",
|
|
40532
|
+
"type" : "account_id_reference",
|
|
40533
|
+
"required" : true,
|
|
40534
|
+
"attributes" : [ ],
|
|
40535
|
+
"annotations" : [ ]
|
|
40111
40536
|
}, {
|
|
40112
40537
|
"name" : "metadata",
|
|
40113
40538
|
"type" : "transaction_metadata",
|
|
@@ -44875,6 +45300,24 @@
|
|
|
44875
45300
|
} ],
|
|
44876
45301
|
"attributes" : [ ],
|
|
44877
45302
|
"interfaces" : [ ]
|
|
45303
|
+
}, {
|
|
45304
|
+
"name" : "remote_area_by_weight_service_fee",
|
|
45305
|
+
"plural" : "remote_area_by_weight_service_fees",
|
|
45306
|
+
"fields" : [ {
|
|
45307
|
+
"name" : "amount",
|
|
45308
|
+
"type" : "money",
|
|
45309
|
+
"required" : true,
|
|
45310
|
+
"attributes" : [ ],
|
|
45311
|
+
"annotations" : [ ]
|
|
45312
|
+
}, {
|
|
45313
|
+
"name" : "weight_unit",
|
|
45314
|
+
"type" : "unit_of_measurement",
|
|
45315
|
+
"required" : true,
|
|
45316
|
+
"attributes" : [ ],
|
|
45317
|
+
"annotations" : [ ]
|
|
45318
|
+
} ],
|
|
45319
|
+
"attributes" : [ ],
|
|
45320
|
+
"interfaces" : [ ]
|
|
44878
45321
|
}, {
|
|
44879
45322
|
"name" : "remote_area_ratecard_fee",
|
|
44880
45323
|
"plural" : "remote_area_ratecard_fees",
|
|
@@ -46381,6 +46824,37 @@
|
|
|
46381
46824
|
} ],
|
|
46382
46825
|
"attributes" : [ ],
|
|
46383
46826
|
"interfaces" : [ ]
|
|
46827
|
+
}, {
|
|
46828
|
+
"name" : "security_ratecard_fee",
|
|
46829
|
+
"plural" : "security_ratecard_fees",
|
|
46830
|
+
"fields" : [ {
|
|
46831
|
+
"name" : "amount",
|
|
46832
|
+
"type" : "money",
|
|
46833
|
+
"required" : true,
|
|
46834
|
+
"attributes" : [ ],
|
|
46835
|
+
"annotations" : [ ]
|
|
46836
|
+
} ],
|
|
46837
|
+
"attributes" : [ ],
|
|
46838
|
+
"interfaces" : [ ]
|
|
46839
|
+
}, {
|
|
46840
|
+
"name" : "security_service_fee",
|
|
46841
|
+
"plural" : "security_service_fees",
|
|
46842
|
+
"fields" : [ {
|
|
46843
|
+
"name" : "amount",
|
|
46844
|
+
"type" : "money",
|
|
46845
|
+
"required" : true,
|
|
46846
|
+
"attributes" : [ ],
|
|
46847
|
+
"annotations" : [ ]
|
|
46848
|
+
}, {
|
|
46849
|
+
"name" : "countries",
|
|
46850
|
+
"type" : "[string]",
|
|
46851
|
+
"required" : true,
|
|
46852
|
+
"attributes" : [ ],
|
|
46853
|
+
"annotations" : [ ],
|
|
46854
|
+
"description" : "The ISO 3166-3 country code"
|
|
46855
|
+
} ],
|
|
46856
|
+
"attributes" : [ ],
|
|
46857
|
+
"interfaces" : [ ]
|
|
46384
46858
|
}, {
|
|
46385
46859
|
"name" : "select_issuer_option_action_details",
|
|
46386
46860
|
"plural" : "select_issuer_option_action_detailses",
|
|
@@ -53389,6 +53863,12 @@
|
|
|
53389
53863
|
"attributes" : [ ],
|
|
53390
53864
|
"annotations" : [ ],
|
|
53391
53865
|
"description" : "Globally unique identifier"
|
|
53866
|
+
}, {
|
|
53867
|
+
"name" : "account",
|
|
53868
|
+
"type" : "account_id_reference",
|
|
53869
|
+
"required" : true,
|
|
53870
|
+
"attributes" : [ ],
|
|
53871
|
+
"annotations" : [ ]
|
|
53392
53872
|
}, {
|
|
53393
53873
|
"name" : "metadata",
|
|
53394
53874
|
"type" : "transaction_metadata",
|
|
@@ -53536,6 +54016,13 @@
|
|
|
53536
54016
|
"required" : true,
|
|
53537
54017
|
"attributes" : [ ],
|
|
53538
54018
|
"annotations" : [ ]
|
|
54019
|
+
}, {
|
|
54020
|
+
"name" : "revenue_share_percentage",
|
|
54021
|
+
"type" : "decimal",
|
|
54022
|
+
"required" : true,
|
|
54023
|
+
"attributes" : [ ],
|
|
54024
|
+
"annotations" : [ ],
|
|
54025
|
+
"description" : "Percentage of revenue a channel should receive from shipments made on this ratecard. Omitted when none. Values are expressed as '0.0295' to represent '2.95%'"
|
|
53539
54026
|
}, {
|
|
53540
54027
|
"name" : "outbound",
|
|
53541
54028
|
"type" : "transaction_metadata_carrier_charge_outbound",
|
|
@@ -83338,6 +83825,11 @@
|
|
|
83338
83825
|
"type" : "string",
|
|
83339
83826
|
"location" : "Query",
|
|
83340
83827
|
"required" : false
|
|
83828
|
+
}, {
|
|
83829
|
+
"name" : "order_number",
|
|
83830
|
+
"type" : "string",
|
|
83831
|
+
"location" : "Query",
|
|
83832
|
+
"required" : false
|
|
83341
83833
|
}, {
|
|
83342
83834
|
"name" : "since",
|
|
83343
83835
|
"type" : "date-time-iso8601",
|
|
@@ -87767,6 +88259,191 @@
|
|
|
87767
88259
|
} ],
|
|
87768
88260
|
"path" : "/permission",
|
|
87769
88261
|
"description" : "Default user roles supported by Flow"
|
|
88262
|
+
}, {
|
|
88263
|
+
"type" : "flow_transaction",
|
|
88264
|
+
"plural" : "flow_transactions",
|
|
88265
|
+
"operations" : [ {
|
|
88266
|
+
"method" : "GET",
|
|
88267
|
+
"path" : "/internal/billing/transactions",
|
|
88268
|
+
"parameters" : [ {
|
|
88269
|
+
"name" : "id",
|
|
88270
|
+
"type" : "[string]",
|
|
88271
|
+
"location" : "Query",
|
|
88272
|
+
"required" : false,
|
|
88273
|
+
"description" : "Filter by one or more IDs of this resource",
|
|
88274
|
+
"maximum" : 100
|
|
88275
|
+
}, {
|
|
88276
|
+
"name" : "source_type",
|
|
88277
|
+
"type" : "string",
|
|
88278
|
+
"location" : "Query",
|
|
88279
|
+
"required" : false
|
|
88280
|
+
}, {
|
|
88281
|
+
"name" : "source_id",
|
|
88282
|
+
"type" : "string",
|
|
88283
|
+
"location" : "Query",
|
|
88284
|
+
"required" : false
|
|
88285
|
+
}, {
|
|
88286
|
+
"name" : "order_organization_id",
|
|
88287
|
+
"type" : "string",
|
|
88288
|
+
"location" : "Query",
|
|
88289
|
+
"required" : false
|
|
88290
|
+
}, {
|
|
88291
|
+
"name" : "statement_id",
|
|
88292
|
+
"type" : "string",
|
|
88293
|
+
"location" : "Query",
|
|
88294
|
+
"required" : false
|
|
88295
|
+
}, {
|
|
88296
|
+
"name" : "order_number",
|
|
88297
|
+
"type" : "string",
|
|
88298
|
+
"location" : "Query",
|
|
88299
|
+
"required" : false
|
|
88300
|
+
}, {
|
|
88301
|
+
"name" : "since",
|
|
88302
|
+
"type" : "date-time-iso8601",
|
|
88303
|
+
"location" : "Query",
|
|
88304
|
+
"required" : false,
|
|
88305
|
+
"description" : "If specified, we return all transactions where created_at >= the provided timestamp"
|
|
88306
|
+
}, {
|
|
88307
|
+
"name" : "updated_since",
|
|
88308
|
+
"type" : "date-time-iso8601",
|
|
88309
|
+
"location" : "Query",
|
|
88310
|
+
"required" : false,
|
|
88311
|
+
"description" : "If specified, we return all transactions where updated_at >= the provided timestamp"
|
|
88312
|
+
}, {
|
|
88313
|
+
"name" : "limit",
|
|
88314
|
+
"type" : "long",
|
|
88315
|
+
"location" : "Query",
|
|
88316
|
+
"required" : true,
|
|
88317
|
+
"description" : "The maximum number of results to return",
|
|
88318
|
+
"default" : "25",
|
|
88319
|
+
"minimum" : 1,
|
|
88320
|
+
"maximum" : 100
|
|
88321
|
+
}, {
|
|
88322
|
+
"name" : "offset",
|
|
88323
|
+
"type" : "long",
|
|
88324
|
+
"location" : "Query",
|
|
88325
|
+
"required" : true,
|
|
88326
|
+
"description" : "The number of results to skip before returning results",
|
|
88327
|
+
"default" : "0",
|
|
88328
|
+
"minimum" : 0
|
|
88329
|
+
}, {
|
|
88330
|
+
"name" : "sort",
|
|
88331
|
+
"type" : "string",
|
|
88332
|
+
"location" : "Query",
|
|
88333
|
+
"required" : true,
|
|
88334
|
+
"default" : "-created_at"
|
|
88335
|
+
} ],
|
|
88336
|
+
"responses" : [ {
|
|
88337
|
+
"code" : {
|
|
88338
|
+
"integer" : {
|
|
88339
|
+
"value" : 200
|
|
88340
|
+
}
|
|
88341
|
+
},
|
|
88342
|
+
"type" : "[flow_transaction]",
|
|
88343
|
+
"description" : "Successful response",
|
|
88344
|
+
"attributes" : [ ]
|
|
88345
|
+
}, {
|
|
88346
|
+
"code" : {
|
|
88347
|
+
"integer" : {
|
|
88348
|
+
"value" : 401
|
|
88349
|
+
}
|
|
88350
|
+
},
|
|
88351
|
+
"type" : "unit",
|
|
88352
|
+
"description" : "Authorization failed",
|
|
88353
|
+
"attributes" : [ ]
|
|
88354
|
+
}, {
|
|
88355
|
+
"code" : {
|
|
88356
|
+
"integer" : {
|
|
88357
|
+
"value" : 404
|
|
88358
|
+
}
|
|
88359
|
+
},
|
|
88360
|
+
"type" : "unit",
|
|
88361
|
+
"description" : "Resource was not found",
|
|
88362
|
+
"attributes" : [ ]
|
|
88363
|
+
}, {
|
|
88364
|
+
"code" : {
|
|
88365
|
+
"integer" : {
|
|
88366
|
+
"value" : 422
|
|
88367
|
+
}
|
|
88368
|
+
},
|
|
88369
|
+
"type" : "generic_error",
|
|
88370
|
+
"description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
|
|
88371
|
+
"attributes" : [ ]
|
|
88372
|
+
} ],
|
|
88373
|
+
"attributes" : [ {
|
|
88374
|
+
"name" : "sort",
|
|
88375
|
+
"value" : {
|
|
88376
|
+
"values" : [ {
|
|
88377
|
+
"value" : "id"
|
|
88378
|
+
}, {
|
|
88379
|
+
"value" : "created_at"
|
|
88380
|
+
}, {
|
|
88381
|
+
"value" : "updated_at"
|
|
88382
|
+
} ]
|
|
88383
|
+
}
|
|
88384
|
+
}, {
|
|
88385
|
+
"name" : "linter",
|
|
88386
|
+
"value" : {
|
|
88387
|
+
"ignore" : [ "versions" ]
|
|
88388
|
+
}
|
|
88389
|
+
} ]
|
|
88390
|
+
}, {
|
|
88391
|
+
"method" : "GET",
|
|
88392
|
+
"path" : "/internal/billing/transactions/:id",
|
|
88393
|
+
"parameters" : [ {
|
|
88394
|
+
"name" : "id",
|
|
88395
|
+
"type" : "string",
|
|
88396
|
+
"location" : "Path",
|
|
88397
|
+
"required" : true,
|
|
88398
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
88399
|
+
} ],
|
|
88400
|
+
"responses" : [ {
|
|
88401
|
+
"code" : {
|
|
88402
|
+
"integer" : {
|
|
88403
|
+
"value" : 200
|
|
88404
|
+
}
|
|
88405
|
+
},
|
|
88406
|
+
"type" : "flow_transaction",
|
|
88407
|
+
"description" : "Successful response",
|
|
88408
|
+
"attributes" : [ ]
|
|
88409
|
+
}, {
|
|
88410
|
+
"code" : {
|
|
88411
|
+
"integer" : {
|
|
88412
|
+
"value" : 401
|
|
88413
|
+
}
|
|
88414
|
+
},
|
|
88415
|
+
"type" : "unit",
|
|
88416
|
+
"description" : "Authorization failed",
|
|
88417
|
+
"attributes" : [ ]
|
|
88418
|
+
}, {
|
|
88419
|
+
"code" : {
|
|
88420
|
+
"integer" : {
|
|
88421
|
+
"value" : 404
|
|
88422
|
+
}
|
|
88423
|
+
},
|
|
88424
|
+
"type" : "unit",
|
|
88425
|
+
"description" : "Resource was not found",
|
|
88426
|
+
"attributes" : [ ]
|
|
88427
|
+
}, {
|
|
88428
|
+
"code" : {
|
|
88429
|
+
"integer" : {
|
|
88430
|
+
"value" : 422
|
|
88431
|
+
}
|
|
88432
|
+
},
|
|
88433
|
+
"type" : "generic_error",
|
|
88434
|
+
"description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
|
|
88435
|
+
"attributes" : [ ]
|
|
88436
|
+
} ],
|
|
88437
|
+
"attributes" : [ ]
|
|
88438
|
+
} ],
|
|
88439
|
+
"attributes" : [ {
|
|
88440
|
+
"name" : "docs",
|
|
88441
|
+
"value" : {
|
|
88442
|
+
"module" : "general"
|
|
88443
|
+
}
|
|
88444
|
+
} ],
|
|
88445
|
+
"path" : "/internal/billing/transactions",
|
|
88446
|
+
"description" : "Provides internal access to all transactions"
|
|
87770
88447
|
}, {
|
|
87771
88448
|
"type" : "fraud_email_rule",
|
|
87772
88449
|
"plural" : "fraud_email_rules",
|
|
@@ -99394,6 +100071,11 @@
|
|
|
99394
100071
|
"type" : "string",
|
|
99395
100072
|
"location" : "Query",
|
|
99396
100073
|
"required" : false
|
|
100074
|
+
}, {
|
|
100075
|
+
"name" : "order_number",
|
|
100076
|
+
"type" : "string",
|
|
100077
|
+
"location" : "Query",
|
|
100078
|
+
"required" : false
|
|
99397
100079
|
}, {
|
|
99398
100080
|
"name" : "since",
|
|
99399
100081
|
"type" : "date-time-iso8601",
|