@flowio/api-mock-generator 6.17.55 → 6.17.57
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 +457 -9
- package/package.json +2 -2
- package/src/api.json +457 -9
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.
|
|
13
|
+
"version": "0.17.65",
|
|
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.
|
|
34
|
+
"version": "0.3.31",
|
|
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.
|
|
49
|
+
"version": "0.3.31",
|
|
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.
|
|
64
|
+
"version": "0.3.31",
|
|
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,11 +76,11 @@
|
|
|
76
76
|
"application": {
|
|
77
77
|
"key": "billing-true-up"
|
|
78
78
|
},
|
|
79
|
-
"version": "0.19.
|
|
80
|
-
"enums": ["true_up_surcharge_type"
|
|
81
|
-
"interfaces": [],
|
|
79
|
+
"version": "0.19.94",
|
|
80
|
+
"enums": ["true_up_surcharge_type"],
|
|
81
|
+
"interfaces": ["label_invoice"],
|
|
82
82
|
"unions": ["label_surcharge_detail"],
|
|
83
|
-
"models": ["label_base", "label_destination", "label_invoice_request", "label_metadata", "label_surcharge", "label_surcharge_detail_flat", "label_surcharge_detail_per_weight_unit", "label_surcharge_detail_percentage", "label_units", "metadata_proposition", "metadata_ratecard", "metadata_weights", "shipping_method_reference", "true_up_label_summary", "weights_dead", "weights_dimensional"],
|
|
83
|
+
"models": ["label_base", "label_destination", "label_invoice_request", "label_invoice_response_file", "label_invoice_response_file_form", "label_invoice_response_file_result", "label_invoice_response_form", "label_metadata", "label_response_units", "label_surcharge", "label_surcharge_detail_flat", "label_surcharge_detail_per_weight_unit", "label_surcharge_detail_percentage", "label_surcharge_form", "label_surcharge_single_form", "label_units", "metadata_proposition", "metadata_ratecard", "metadata_weights", "shipping_method_reference", "true_up_label_summary", "weights_dead", "weights_dimensional"],
|
|
84
84
|
"annotations": []
|
|
85
85
|
}, {
|
|
86
86
|
"uri": "https://app.apibuilder.io/flow/ben-test-internal/latest/service.json",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"application": {
|
|
92
92
|
"key": "ben-test-internal"
|
|
93
93
|
},
|
|
94
|
-
"version": "0.19.
|
|
94
|
+
"version": "0.19.94",
|
|
95
95
|
"enums": [],
|
|
96
96
|
"interfaces": ["generate_load"],
|
|
97
97
|
"unions": ["generate_load"],
|
|
@@ -2959,6 +2959,10 @@
|
|
|
2959
2959
|
"name": "credit",
|
|
2960
2960
|
"attributes": [],
|
|
2961
2961
|
"description": "A payment in the form of a credit of some type (e.g. a store credit, gift card) applied to an order"
|
|
2962
|
+
}, {
|
|
2963
|
+
"name": "external",
|
|
2964
|
+
"attributes": [],
|
|
2965
|
+
"description": "A payment indicating the merchant has manually collected payment outside the system."
|
|
2962
2966
|
}, {
|
|
2963
2967
|
"name": "subsidized",
|
|
2964
2968
|
"attributes": [],
|
|
@@ -4940,6 +4944,9 @@
|
|
|
4940
4944
|
}, {
|
|
4941
4945
|
"name": "shipping_label_service",
|
|
4942
4946
|
"attributes": []
|
|
4947
|
+
}, {
|
|
4948
|
+
"name": "trueup",
|
|
4949
|
+
"attributes": []
|
|
4943
4950
|
}, {
|
|
4944
4951
|
"name": "shipping_label_revenue_share",
|
|
4945
4952
|
"attributes": []
|
|
@@ -4978,6 +4985,49 @@
|
|
|
4978
4985
|
"attributes": []
|
|
4979
4986
|
}],
|
|
4980
4987
|
"attributes": []
|
|
4988
|
+
}, {
|
|
4989
|
+
"name": "trueup_source",
|
|
4990
|
+
"plural": "trueup_sources",
|
|
4991
|
+
"values": [{
|
|
4992
|
+
"name": "flow",
|
|
4993
|
+
"attributes": []
|
|
4994
|
+
}, {
|
|
4995
|
+
"name": "channel",
|
|
4996
|
+
"attributes": []
|
|
4997
|
+
}, {
|
|
4998
|
+
"name": "dhl-parcel",
|
|
4999
|
+
"attributes": []
|
|
5000
|
+
}, {
|
|
5001
|
+
"name": "dhl",
|
|
5002
|
+
"attributes": []
|
|
5003
|
+
}],
|
|
5004
|
+
"attributes": []
|
|
5005
|
+
}, {
|
|
5006
|
+
"name": "trueup_surcharge_type",
|
|
5007
|
+
"plural": "trueup_surcharge_types",
|
|
5008
|
+
"values": [{
|
|
5009
|
+
"name": "fuel",
|
|
5010
|
+
"attributes": []
|
|
5011
|
+
}, {
|
|
5012
|
+
"name": "remote_area",
|
|
5013
|
+
"attributes": []
|
|
5014
|
+
}, {
|
|
5015
|
+
"name": "oversize",
|
|
5016
|
+
"attributes": []
|
|
5017
|
+
}, {
|
|
5018
|
+
"name": "duties_paid",
|
|
5019
|
+
"attributes": []
|
|
5020
|
+
}, {
|
|
5021
|
+
"name": "emergency",
|
|
5022
|
+
"attributes": []
|
|
5023
|
+
}, {
|
|
5024
|
+
"name": "peak",
|
|
5025
|
+
"attributes": []
|
|
5026
|
+
}, {
|
|
5027
|
+
"name": "address_correction",
|
|
5028
|
+
"attributes": []
|
|
5029
|
+
}],
|
|
5030
|
+
"attributes": []
|
|
4981
5031
|
}, {
|
|
4982
5032
|
"name": "unit_of_length",
|
|
4983
5033
|
"plural": "unit_of_lengths",
|
|
@@ -9153,6 +9203,16 @@
|
|
|
9153
9203
|
"attributes": [],
|
|
9154
9204
|
"default": false,
|
|
9155
9205
|
"discriminator_value": "shipping_label"
|
|
9206
|
+
}, {
|
|
9207
|
+
"type": "transaction_metadata_channel",
|
|
9208
|
+
"attributes": [],
|
|
9209
|
+
"default": false,
|
|
9210
|
+
"discriminator_value": "channel"
|
|
9211
|
+
}, {
|
|
9212
|
+
"type": "transaction_metadata_trueup",
|
|
9213
|
+
"attributes": [],
|
|
9214
|
+
"default": false,
|
|
9215
|
+
"discriminator_value": "trueup"
|
|
9156
9216
|
}],
|
|
9157
9217
|
"attributes": [],
|
|
9158
9218
|
"interfaces": [],
|
|
@@ -35255,6 +35315,12 @@
|
|
|
35255
35315
|
"required": false,
|
|
35256
35316
|
"attributes": [],
|
|
35257
35317
|
"annotations": []
|
|
35318
|
+
}, {
|
|
35319
|
+
"name": "time_in_setup",
|
|
35320
|
+
"type": "long",
|
|
35321
|
+
"required": false,
|
|
35322
|
+
"attributes": [],
|
|
35323
|
+
"annotations": []
|
|
35258
35324
|
}, {
|
|
35259
35325
|
"name": "blocked_since",
|
|
35260
35326
|
"type": "date-time-iso8601",
|
|
@@ -39367,6 +39433,33 @@
|
|
|
39367
39433
|
}],
|
|
39368
39434
|
"attributes": [],
|
|
39369
39435
|
"interfaces": []
|
|
39436
|
+
}, {
|
|
39437
|
+
"name": "pending_transaction",
|
|
39438
|
+
"plural": "pending_transactions",
|
|
39439
|
+
"fields": [{
|
|
39440
|
+
"name": "id",
|
|
39441
|
+
"type": "string",
|
|
39442
|
+
"required": true,
|
|
39443
|
+
"attributes": [],
|
|
39444
|
+
"annotations": [],
|
|
39445
|
+
"description": "The id of the actual transaction that is pending payout."
|
|
39446
|
+
}, {
|
|
39447
|
+
"name": "reason",
|
|
39448
|
+
"type": "transaction_payout_pending_reason",
|
|
39449
|
+
"required": true,
|
|
39450
|
+
"attributes": [],
|
|
39451
|
+
"annotations": []
|
|
39452
|
+
}, {
|
|
39453
|
+
"name": "reason_set_at",
|
|
39454
|
+
"type": "date-time-iso8601",
|
|
39455
|
+
"required": true,
|
|
39456
|
+
"attributes": [],
|
|
39457
|
+
"annotations": [],
|
|
39458
|
+
"description": "The time at which this specific reason for this transaction was set. For example, the time at which it was identified that this transaction is waiting for fulfillment."
|
|
39459
|
+
}],
|
|
39460
|
+
"attributes": [],
|
|
39461
|
+
"interfaces": [],
|
|
39462
|
+
"description": "A transaction that is pending payout."
|
|
39370
39463
|
}, {
|
|
39371
39464
|
"name": "percent_margin",
|
|
39372
39465
|
"plural": "percent_margins",
|
|
@@ -52399,6 +52492,61 @@
|
|
|
52399
52492
|
}],
|
|
52400
52493
|
"attributes": [],
|
|
52401
52494
|
"interfaces": []
|
|
52495
|
+
}, {
|
|
52496
|
+
"name": "transaction_metadata_channel",
|
|
52497
|
+
"plural": "transaction_metadata_channels",
|
|
52498
|
+
"fields": [{
|
|
52499
|
+
"name": "method",
|
|
52500
|
+
"type": "string",
|
|
52501
|
+
"required": true,
|
|
52502
|
+
"attributes": [],
|
|
52503
|
+
"annotations": [],
|
|
52504
|
+
"description": "The id of the payment method associated with this transaction. See https://api.flow.io/reference/payment/methods"
|
|
52505
|
+
}, {
|
|
52506
|
+
"name": "card",
|
|
52507
|
+
"type": "transaction_metadata_channel_card_metadata",
|
|
52508
|
+
"required": false,
|
|
52509
|
+
"attributes": [],
|
|
52510
|
+
"annotations": []
|
|
52511
|
+
}],
|
|
52512
|
+
"attributes": [],
|
|
52513
|
+
"interfaces": []
|
|
52514
|
+
}, {
|
|
52515
|
+
"name": "transaction_metadata_channel_card_metadata",
|
|
52516
|
+
"plural": "transaction_metadata_channel_card_metadata",
|
|
52517
|
+
"fields": [{
|
|
52518
|
+
"name": "type",
|
|
52519
|
+
"type": "card_type",
|
|
52520
|
+
"required": true,
|
|
52521
|
+
"attributes": [],
|
|
52522
|
+
"annotations": []
|
|
52523
|
+
}, {
|
|
52524
|
+
"name": "issuer",
|
|
52525
|
+
"type": "transaction_metadata_channel_card_metadata_issuer_summary",
|
|
52526
|
+
"required": true,
|
|
52527
|
+
"attributes": [],
|
|
52528
|
+
"annotations": []
|
|
52529
|
+
}],
|
|
52530
|
+
"attributes": [],
|
|
52531
|
+
"interfaces": []
|
|
52532
|
+
}, {
|
|
52533
|
+
"name": "transaction_metadata_channel_card_metadata_issuer_summary",
|
|
52534
|
+
"plural": "transaction_metadata_channel_card_metadata_issuer_summaries",
|
|
52535
|
+
"fields": [{
|
|
52536
|
+
"name": "iin",
|
|
52537
|
+
"type": "string",
|
|
52538
|
+
"required": true,
|
|
52539
|
+
"attributes": [],
|
|
52540
|
+
"annotations": []
|
|
52541
|
+
}, {
|
|
52542
|
+
"name": "country",
|
|
52543
|
+
"type": "string",
|
|
52544
|
+
"required": true,
|
|
52545
|
+
"attributes": [],
|
|
52546
|
+
"annotations": []
|
|
52547
|
+
}],
|
|
52548
|
+
"attributes": [],
|
|
52549
|
+
"interfaces": []
|
|
52402
52550
|
}, {
|
|
52403
52551
|
"name": "transaction_metadata_shipping_label",
|
|
52404
52552
|
"plural": "transaction_metadata_shipping_labels",
|
|
@@ -52411,6 +52559,60 @@
|
|
|
52411
52559
|
}],
|
|
52412
52560
|
"attributes": [],
|
|
52413
52561
|
"interfaces": []
|
|
52562
|
+
}, {
|
|
52563
|
+
"name": "transaction_metadata_trueup",
|
|
52564
|
+
"plural": "transaction_metadata_trueups",
|
|
52565
|
+
"fields": [{
|
|
52566
|
+
"name": "estimate",
|
|
52567
|
+
"type": "transaction_metadata_trueup_data",
|
|
52568
|
+
"required": true,
|
|
52569
|
+
"attributes": [],
|
|
52570
|
+
"annotations": []
|
|
52571
|
+
}, {
|
|
52572
|
+
"name": "actual",
|
|
52573
|
+
"type": "transaction_metadata_trueup_data",
|
|
52574
|
+
"required": true,
|
|
52575
|
+
"attributes": [],
|
|
52576
|
+
"annotations": []
|
|
52577
|
+
}],
|
|
52578
|
+
"attributes": [],
|
|
52579
|
+
"interfaces": []
|
|
52580
|
+
}, {
|
|
52581
|
+
"name": "transaction_metadata_trueup_data",
|
|
52582
|
+
"plural": "transaction_metadata_trueup_data",
|
|
52583
|
+
"fields": [{
|
|
52584
|
+
"name": "source",
|
|
52585
|
+
"type": "trueup_source",
|
|
52586
|
+
"required": true,
|
|
52587
|
+
"attributes": [],
|
|
52588
|
+
"annotations": []
|
|
52589
|
+
}, {
|
|
52590
|
+
"name": "units",
|
|
52591
|
+
"type": "trueup_label_units",
|
|
52592
|
+
"required": true,
|
|
52593
|
+
"attributes": [],
|
|
52594
|
+
"annotations": []
|
|
52595
|
+
}, {
|
|
52596
|
+
"name": "base",
|
|
52597
|
+
"type": "trueup_label_base",
|
|
52598
|
+
"required": true,
|
|
52599
|
+
"attributes": [],
|
|
52600
|
+
"annotations": []
|
|
52601
|
+
}, {
|
|
52602
|
+
"name": "surcharges",
|
|
52603
|
+
"type": "[trueup_label_surcharge]",
|
|
52604
|
+
"required": true,
|
|
52605
|
+
"attributes": [],
|
|
52606
|
+
"annotations": []
|
|
52607
|
+
}, {
|
|
52608
|
+
"name": "total",
|
|
52609
|
+
"type": "decimal",
|
|
52610
|
+
"required": true,
|
|
52611
|
+
"attributes": [],
|
|
52612
|
+
"annotations": []
|
|
52613
|
+
}],
|
|
52614
|
+
"attributes": [],
|
|
52615
|
+
"interfaces": []
|
|
52414
52616
|
}, {
|
|
52415
52617
|
"name": "transaction_network_details_card",
|
|
52416
52618
|
"plural": "transaction_network_details_cards",
|
|
@@ -52552,6 +52754,80 @@
|
|
|
52552
52754
|
}],
|
|
52553
52755
|
"attributes": [],
|
|
52554
52756
|
"interfaces": []
|
|
52757
|
+
}, {
|
|
52758
|
+
"name": "trueup_label_base",
|
|
52759
|
+
"plural": "trueup_label_bases",
|
|
52760
|
+
"fields": [{
|
|
52761
|
+
"name": "amount",
|
|
52762
|
+
"type": "decimal",
|
|
52763
|
+
"required": true,
|
|
52764
|
+
"attributes": [],
|
|
52765
|
+
"annotations": [],
|
|
52766
|
+
"description": "The base rate card charge (based on weight, before fees)"
|
|
52767
|
+
}, {
|
|
52768
|
+
"name": "weight",
|
|
52769
|
+
"type": "decimal",
|
|
52770
|
+
"required": true,
|
|
52771
|
+
"attributes": [],
|
|
52772
|
+
"annotations": [],
|
|
52773
|
+
"description": "The actual weight used for ratecard lookup"
|
|
52774
|
+
}],
|
|
52775
|
+
"attributes": [],
|
|
52776
|
+
"interfaces": []
|
|
52777
|
+
}, {
|
|
52778
|
+
"name": "trueup_label_surcharge",
|
|
52779
|
+
"plural": "trueup_label_surcharges",
|
|
52780
|
+
"fields": [{
|
|
52781
|
+
"name": "amount",
|
|
52782
|
+
"type": "decimal",
|
|
52783
|
+
"required": true,
|
|
52784
|
+
"attributes": [],
|
|
52785
|
+
"annotations": []
|
|
52786
|
+
}, {
|
|
52787
|
+
"name": "type",
|
|
52788
|
+
"type": "trueup_surcharge_type",
|
|
52789
|
+
"required": true,
|
|
52790
|
+
"attributes": [],
|
|
52791
|
+
"annotations": []
|
|
52792
|
+
}, {
|
|
52793
|
+
"name": "percentage",
|
|
52794
|
+
"type": "decimal",
|
|
52795
|
+
"required": false,
|
|
52796
|
+
"attributes": [],
|
|
52797
|
+
"annotations": [],
|
|
52798
|
+
"description": "When applicable, the % used to calculate this surcharge. Values are expressed as '10.5' to represent '10.5%'",
|
|
52799
|
+
"example": "15.5"
|
|
52800
|
+
}, {
|
|
52801
|
+
"name": "per_weight_unit",
|
|
52802
|
+
"type": "decimal",
|
|
52803
|
+
"required": false,
|
|
52804
|
+
"attributes": [],
|
|
52805
|
+
"annotations": [],
|
|
52806
|
+
"description": "When applicable, the dollar amount per weight unit used to calculate this surcharge. Values are expressed as '0.04' to represent '4 cents' per unit (eg pound)",
|
|
52807
|
+
"example": "0.04"
|
|
52808
|
+
}],
|
|
52809
|
+
"attributes": [],
|
|
52810
|
+
"interfaces": []
|
|
52811
|
+
}, {
|
|
52812
|
+
"name": "trueup_label_units",
|
|
52813
|
+
"plural": "trueup_label_units",
|
|
52814
|
+
"fields": [{
|
|
52815
|
+
"name": "weight",
|
|
52816
|
+
"type": "unit_of_weight",
|
|
52817
|
+
"required": true,
|
|
52818
|
+
"attributes": [],
|
|
52819
|
+
"annotations": [],
|
|
52820
|
+
"example": "pound"
|
|
52821
|
+
}, {
|
|
52822
|
+
"name": "length",
|
|
52823
|
+
"type": "unit_of_length",
|
|
52824
|
+
"required": false,
|
|
52825
|
+
"attributes": [],
|
|
52826
|
+
"annotations": [],
|
|
52827
|
+
"example": "inch"
|
|
52828
|
+
}],
|
|
52829
|
+
"attributes": [],
|
|
52830
|
+
"interfaces": []
|
|
52555
52831
|
}, {
|
|
52556
52832
|
"name": "ultimate_beneficiary_owner",
|
|
52557
52833
|
"plural": "ultimate_beneficiary_owners",
|
|
@@ -91788,6 +92064,178 @@
|
|
|
91788
92064
|
}
|
|
91789
92065
|
}],
|
|
91790
92066
|
"path": "/:organization/payment/request/bundles"
|
|
92067
|
+
}, {
|
|
92068
|
+
"type": "pending_transaction",
|
|
92069
|
+
"plural": "pending_transactions",
|
|
92070
|
+
"operations": [{
|
|
92071
|
+
"method": "GET",
|
|
92072
|
+
"path": "/:organization/billing/pending/transactions",
|
|
92073
|
+
"parameters": [{
|
|
92074
|
+
"name": "organization",
|
|
92075
|
+
"type": "string",
|
|
92076
|
+
"location": "Path",
|
|
92077
|
+
"required": true,
|
|
92078
|
+
"description": "Refers to your organization's account identifier"
|
|
92079
|
+
}, {
|
|
92080
|
+
"name": "id",
|
|
92081
|
+
"type": "[string]",
|
|
92082
|
+
"location": "Query",
|
|
92083
|
+
"required": false,
|
|
92084
|
+
"description": "Filter by one or more IDs of this resource",
|
|
92085
|
+
"maximum": 100
|
|
92086
|
+
}, {
|
|
92087
|
+
"name": "since",
|
|
92088
|
+
"type": "date-time-iso8601",
|
|
92089
|
+
"location": "Query",
|
|
92090
|
+
"required": false,
|
|
92091
|
+
"description": "If specified, we return all transactions where created_at >= the provided timestamp"
|
|
92092
|
+
}, {
|
|
92093
|
+
"name": "updated_since",
|
|
92094
|
+
"type": "date-time-iso8601",
|
|
92095
|
+
"location": "Query",
|
|
92096
|
+
"required": false,
|
|
92097
|
+
"description": "If specified, we return all transactions where updated_at >= the provided timestamp"
|
|
92098
|
+
}, {
|
|
92099
|
+
"name": "limit",
|
|
92100
|
+
"type": "long",
|
|
92101
|
+
"location": "Query",
|
|
92102
|
+
"required": true,
|
|
92103
|
+
"description": "The maximum number of results to return",
|
|
92104
|
+
"default": "25",
|
|
92105
|
+
"minimum": 1,
|
|
92106
|
+
"maximum": 100
|
|
92107
|
+
}, {
|
|
92108
|
+
"name": "offset",
|
|
92109
|
+
"type": "long",
|
|
92110
|
+
"location": "Query",
|
|
92111
|
+
"required": true,
|
|
92112
|
+
"description": "The number of results to skip before returning results",
|
|
92113
|
+
"default": "0",
|
|
92114
|
+
"minimum": 0
|
|
92115
|
+
}, {
|
|
92116
|
+
"name": "sort",
|
|
92117
|
+
"type": "string",
|
|
92118
|
+
"location": "Query",
|
|
92119
|
+
"required": true,
|
|
92120
|
+
"default": "-created_at"
|
|
92121
|
+
}],
|
|
92122
|
+
"responses": [{
|
|
92123
|
+
"code": {
|
|
92124
|
+
"integer": {
|
|
92125
|
+
"value": 200
|
|
92126
|
+
}
|
|
92127
|
+
},
|
|
92128
|
+
"type": "[pending_transaction]",
|
|
92129
|
+
"description": "Successful response",
|
|
92130
|
+
"attributes": []
|
|
92131
|
+
}, {
|
|
92132
|
+
"code": {
|
|
92133
|
+
"integer": {
|
|
92134
|
+
"value": 401
|
|
92135
|
+
}
|
|
92136
|
+
},
|
|
92137
|
+
"type": "unit",
|
|
92138
|
+
"description": "Authorization failed",
|
|
92139
|
+
"attributes": []
|
|
92140
|
+
}, {
|
|
92141
|
+
"code": {
|
|
92142
|
+
"integer": {
|
|
92143
|
+
"value": 404
|
|
92144
|
+
}
|
|
92145
|
+
},
|
|
92146
|
+
"type": "unit",
|
|
92147
|
+
"description": "Resource was not found",
|
|
92148
|
+
"attributes": []
|
|
92149
|
+
}, {
|
|
92150
|
+
"code": {
|
|
92151
|
+
"integer": {
|
|
92152
|
+
"value": 422
|
|
92153
|
+
}
|
|
92154
|
+
},
|
|
92155
|
+
"type": "generic_error",
|
|
92156
|
+
"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.",
|
|
92157
|
+
"attributes": []
|
|
92158
|
+
}],
|
|
92159
|
+
"attributes": [{
|
|
92160
|
+
"name": "sort",
|
|
92161
|
+
"value": {
|
|
92162
|
+
"values": [{
|
|
92163
|
+
"value": "id"
|
|
92164
|
+
}, {
|
|
92165
|
+
"value": "created_at"
|
|
92166
|
+
}, {
|
|
92167
|
+
"value": "updated_at"
|
|
92168
|
+
}]
|
|
92169
|
+
}
|
|
92170
|
+
}, {
|
|
92171
|
+
"name": "linter",
|
|
92172
|
+
"value": {
|
|
92173
|
+
"ignore": ["versions"]
|
|
92174
|
+
}
|
|
92175
|
+
}]
|
|
92176
|
+
}, {
|
|
92177
|
+
"method": "GET",
|
|
92178
|
+
"path": "/:organization/billing/pending/transactions/:id",
|
|
92179
|
+
"parameters": [{
|
|
92180
|
+
"name": "organization",
|
|
92181
|
+
"type": "string",
|
|
92182
|
+
"location": "Path",
|
|
92183
|
+
"required": true,
|
|
92184
|
+
"description": "Refers to your organization's account identifier"
|
|
92185
|
+
}, {
|
|
92186
|
+
"name": "id",
|
|
92187
|
+
"type": "string",
|
|
92188
|
+
"location": "Path",
|
|
92189
|
+
"required": true,
|
|
92190
|
+
"description": "Filter by one or more IDs of this resource"
|
|
92191
|
+
}],
|
|
92192
|
+
"responses": [{
|
|
92193
|
+
"code": {
|
|
92194
|
+
"integer": {
|
|
92195
|
+
"value": 200
|
|
92196
|
+
}
|
|
92197
|
+
},
|
|
92198
|
+
"type": "pending_transaction",
|
|
92199
|
+
"description": "Successful response",
|
|
92200
|
+
"attributes": []
|
|
92201
|
+
}, {
|
|
92202
|
+
"code": {
|
|
92203
|
+
"integer": {
|
|
92204
|
+
"value": 401
|
|
92205
|
+
}
|
|
92206
|
+
},
|
|
92207
|
+
"type": "unit",
|
|
92208
|
+
"description": "Authorization failed",
|
|
92209
|
+
"attributes": []
|
|
92210
|
+
}, {
|
|
92211
|
+
"code": {
|
|
92212
|
+
"integer": {
|
|
92213
|
+
"value": 404
|
|
92214
|
+
}
|
|
92215
|
+
},
|
|
92216
|
+
"type": "unit",
|
|
92217
|
+
"description": "Resource was not found",
|
|
92218
|
+
"attributes": []
|
|
92219
|
+
}, {
|
|
92220
|
+
"code": {
|
|
92221
|
+
"integer": {
|
|
92222
|
+
"value": 422
|
|
92223
|
+
}
|
|
92224
|
+
},
|
|
92225
|
+
"type": "generic_error",
|
|
92226
|
+
"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.",
|
|
92227
|
+
"attributes": []
|
|
92228
|
+
}],
|
|
92229
|
+
"attributes": []
|
|
92230
|
+
}],
|
|
92231
|
+
"attributes": [{
|
|
92232
|
+
"name": "docs",
|
|
92233
|
+
"value": {
|
|
92234
|
+
"module": "general"
|
|
92235
|
+
}
|
|
92236
|
+
}],
|
|
92237
|
+
"path": "/:organization/billing/pending/transactions",
|
|
92238
|
+
"description": "A transaction that is pending payout."
|
|
91791
92239
|
}, {
|
|
91792
92240
|
"type": "permission_check",
|
|
91793
92241
|
"plural": "permission_checks",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-mock-generator",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.57",
|
|
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": "
|
|
31
|
+
"gitHead": "cc45ff4a674f1a129166e04d6910cb7a1a2f0da1"
|
|
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.
|
|
13
|
+
"version" : "0.17.65",
|
|
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.
|
|
34
|
+
"version" : "0.3.31",
|
|
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.
|
|
49
|
+
"version" : "0.3.31",
|
|
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.
|
|
64
|
+
"version" : "0.3.31",
|
|
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,11 +76,11 @@
|
|
|
76
76
|
"application" : {
|
|
77
77
|
"key" : "billing-true-up"
|
|
78
78
|
},
|
|
79
|
-
"version" : "0.19.
|
|
80
|
-
"enums" : [ "true_up_surcharge_type"
|
|
81
|
-
"interfaces" : [ ],
|
|
79
|
+
"version" : "0.19.94",
|
|
80
|
+
"enums" : [ "true_up_surcharge_type" ],
|
|
81
|
+
"interfaces" : [ "label_invoice" ],
|
|
82
82
|
"unions" : [ "label_surcharge_detail" ],
|
|
83
|
-
"models" : [ "label_base", "label_destination", "label_invoice_request", "label_metadata", "label_surcharge", "label_surcharge_detail_flat", "label_surcharge_detail_per_weight_unit", "label_surcharge_detail_percentage", "label_units", "metadata_proposition", "metadata_ratecard", "metadata_weights", "shipping_method_reference", "true_up_label_summary", "weights_dead", "weights_dimensional" ],
|
|
83
|
+
"models" : [ "label_base", "label_destination", "label_invoice_request", "label_invoice_response_file", "label_invoice_response_file_form", "label_invoice_response_file_result", "label_invoice_response_form", "label_metadata", "label_response_units", "label_surcharge", "label_surcharge_detail_flat", "label_surcharge_detail_per_weight_unit", "label_surcharge_detail_percentage", "label_surcharge_form", "label_surcharge_single_form", "label_units", "metadata_proposition", "metadata_ratecard", "metadata_weights", "shipping_method_reference", "true_up_label_summary", "weights_dead", "weights_dimensional" ],
|
|
84
84
|
"annotations" : [ ]
|
|
85
85
|
}, {
|
|
86
86
|
"uri" : "https://app.apibuilder.io/flow/ben-test-internal/latest/service.json",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"application" : {
|
|
92
92
|
"key" : "ben-test-internal"
|
|
93
93
|
},
|
|
94
|
-
"version" : "0.19.
|
|
94
|
+
"version" : "0.19.94",
|
|
95
95
|
"enums" : [ ],
|
|
96
96
|
"interfaces" : [ "generate_load" ],
|
|
97
97
|
"unions" : [ "generate_load" ],
|
|
@@ -2959,6 +2959,10 @@
|
|
|
2959
2959
|
"name" : "credit",
|
|
2960
2960
|
"attributes" : [ ],
|
|
2961
2961
|
"description" : "A payment in the form of a credit of some type (e.g. a store credit, gift card) applied to an order"
|
|
2962
|
+
}, {
|
|
2963
|
+
"name" : "external",
|
|
2964
|
+
"attributes" : [ ],
|
|
2965
|
+
"description" : "A payment indicating the merchant has manually collected payment outside the system."
|
|
2962
2966
|
}, {
|
|
2963
2967
|
"name" : "subsidized",
|
|
2964
2968
|
"attributes" : [ ],
|
|
@@ -4940,6 +4944,9 @@
|
|
|
4940
4944
|
}, {
|
|
4941
4945
|
"name" : "shipping_label_service",
|
|
4942
4946
|
"attributes" : [ ]
|
|
4947
|
+
}, {
|
|
4948
|
+
"name" : "trueup",
|
|
4949
|
+
"attributes" : [ ]
|
|
4943
4950
|
}, {
|
|
4944
4951
|
"name" : "shipping_label_revenue_share",
|
|
4945
4952
|
"attributes" : [ ]
|
|
@@ -4978,6 +4985,49 @@
|
|
|
4978
4985
|
"attributes" : [ ]
|
|
4979
4986
|
} ],
|
|
4980
4987
|
"attributes" : [ ]
|
|
4988
|
+
}, {
|
|
4989
|
+
"name" : "trueup_source",
|
|
4990
|
+
"plural" : "trueup_sources",
|
|
4991
|
+
"values" : [ {
|
|
4992
|
+
"name" : "flow",
|
|
4993
|
+
"attributes" : [ ]
|
|
4994
|
+
}, {
|
|
4995
|
+
"name" : "channel",
|
|
4996
|
+
"attributes" : [ ]
|
|
4997
|
+
}, {
|
|
4998
|
+
"name" : "dhl-parcel",
|
|
4999
|
+
"attributes" : [ ]
|
|
5000
|
+
}, {
|
|
5001
|
+
"name" : "dhl",
|
|
5002
|
+
"attributes" : [ ]
|
|
5003
|
+
} ],
|
|
5004
|
+
"attributes" : [ ]
|
|
5005
|
+
}, {
|
|
5006
|
+
"name" : "trueup_surcharge_type",
|
|
5007
|
+
"plural" : "trueup_surcharge_types",
|
|
5008
|
+
"values" : [ {
|
|
5009
|
+
"name" : "fuel",
|
|
5010
|
+
"attributes" : [ ]
|
|
5011
|
+
}, {
|
|
5012
|
+
"name" : "remote_area",
|
|
5013
|
+
"attributes" : [ ]
|
|
5014
|
+
}, {
|
|
5015
|
+
"name" : "oversize",
|
|
5016
|
+
"attributes" : [ ]
|
|
5017
|
+
}, {
|
|
5018
|
+
"name" : "duties_paid",
|
|
5019
|
+
"attributes" : [ ]
|
|
5020
|
+
}, {
|
|
5021
|
+
"name" : "emergency",
|
|
5022
|
+
"attributes" : [ ]
|
|
5023
|
+
}, {
|
|
5024
|
+
"name" : "peak",
|
|
5025
|
+
"attributes" : [ ]
|
|
5026
|
+
}, {
|
|
5027
|
+
"name" : "address_correction",
|
|
5028
|
+
"attributes" : [ ]
|
|
5029
|
+
} ],
|
|
5030
|
+
"attributes" : [ ]
|
|
4981
5031
|
}, {
|
|
4982
5032
|
"name" : "unit_of_length",
|
|
4983
5033
|
"plural" : "unit_of_lengths",
|
|
@@ -9153,6 +9203,16 @@
|
|
|
9153
9203
|
"attributes" : [ ],
|
|
9154
9204
|
"default" : false,
|
|
9155
9205
|
"discriminator_value" : "shipping_label"
|
|
9206
|
+
}, {
|
|
9207
|
+
"type" : "transaction_metadata_channel",
|
|
9208
|
+
"attributes" : [ ],
|
|
9209
|
+
"default" : false,
|
|
9210
|
+
"discriminator_value" : "channel"
|
|
9211
|
+
}, {
|
|
9212
|
+
"type" : "transaction_metadata_trueup",
|
|
9213
|
+
"attributes" : [ ],
|
|
9214
|
+
"default" : false,
|
|
9215
|
+
"discriminator_value" : "trueup"
|
|
9156
9216
|
} ],
|
|
9157
9217
|
"attributes" : [ ],
|
|
9158
9218
|
"interfaces" : [ ],
|
|
@@ -35255,6 +35315,12 @@
|
|
|
35255
35315
|
"required" : false,
|
|
35256
35316
|
"attributes" : [ ],
|
|
35257
35317
|
"annotations" : [ ]
|
|
35318
|
+
}, {
|
|
35319
|
+
"name" : "time_in_setup",
|
|
35320
|
+
"type" : "long",
|
|
35321
|
+
"required" : false,
|
|
35322
|
+
"attributes" : [ ],
|
|
35323
|
+
"annotations" : [ ]
|
|
35258
35324
|
}, {
|
|
35259
35325
|
"name" : "blocked_since",
|
|
35260
35326
|
"type" : "date-time-iso8601",
|
|
@@ -39367,6 +39433,33 @@
|
|
|
39367
39433
|
} ],
|
|
39368
39434
|
"attributes" : [ ],
|
|
39369
39435
|
"interfaces" : [ ]
|
|
39436
|
+
}, {
|
|
39437
|
+
"name" : "pending_transaction",
|
|
39438
|
+
"plural" : "pending_transactions",
|
|
39439
|
+
"fields" : [ {
|
|
39440
|
+
"name" : "id",
|
|
39441
|
+
"type" : "string",
|
|
39442
|
+
"required" : true,
|
|
39443
|
+
"attributes" : [ ],
|
|
39444
|
+
"annotations" : [ ],
|
|
39445
|
+
"description" : "The id of the actual transaction that is pending payout."
|
|
39446
|
+
}, {
|
|
39447
|
+
"name" : "reason",
|
|
39448
|
+
"type" : "transaction_payout_pending_reason",
|
|
39449
|
+
"required" : true,
|
|
39450
|
+
"attributes" : [ ],
|
|
39451
|
+
"annotations" : [ ]
|
|
39452
|
+
}, {
|
|
39453
|
+
"name" : "reason_set_at",
|
|
39454
|
+
"type" : "date-time-iso8601",
|
|
39455
|
+
"required" : true,
|
|
39456
|
+
"attributes" : [ ],
|
|
39457
|
+
"annotations" : [ ],
|
|
39458
|
+
"description" : "The time at which this specific reason for this transaction was set. For example, the time at which it was identified that this transaction is waiting for fulfillment."
|
|
39459
|
+
} ],
|
|
39460
|
+
"attributes" : [ ],
|
|
39461
|
+
"interfaces" : [ ],
|
|
39462
|
+
"description" : "A transaction that is pending payout."
|
|
39370
39463
|
}, {
|
|
39371
39464
|
"name" : "percent_margin",
|
|
39372
39465
|
"plural" : "percent_margins",
|
|
@@ -52399,6 +52492,61 @@
|
|
|
52399
52492
|
} ],
|
|
52400
52493
|
"attributes" : [ ],
|
|
52401
52494
|
"interfaces" : [ ]
|
|
52495
|
+
}, {
|
|
52496
|
+
"name" : "transaction_metadata_channel",
|
|
52497
|
+
"plural" : "transaction_metadata_channels",
|
|
52498
|
+
"fields" : [ {
|
|
52499
|
+
"name" : "method",
|
|
52500
|
+
"type" : "string",
|
|
52501
|
+
"required" : true,
|
|
52502
|
+
"attributes" : [ ],
|
|
52503
|
+
"annotations" : [ ],
|
|
52504
|
+
"description" : "The id of the payment method associated with this transaction. See https://api.flow.io/reference/payment/methods"
|
|
52505
|
+
}, {
|
|
52506
|
+
"name" : "card",
|
|
52507
|
+
"type" : "transaction_metadata_channel_card_metadata",
|
|
52508
|
+
"required" : false,
|
|
52509
|
+
"attributes" : [ ],
|
|
52510
|
+
"annotations" : [ ]
|
|
52511
|
+
} ],
|
|
52512
|
+
"attributes" : [ ],
|
|
52513
|
+
"interfaces" : [ ]
|
|
52514
|
+
}, {
|
|
52515
|
+
"name" : "transaction_metadata_channel_card_metadata",
|
|
52516
|
+
"plural" : "transaction_metadata_channel_card_metadata",
|
|
52517
|
+
"fields" : [ {
|
|
52518
|
+
"name" : "type",
|
|
52519
|
+
"type" : "card_type",
|
|
52520
|
+
"required" : true,
|
|
52521
|
+
"attributes" : [ ],
|
|
52522
|
+
"annotations" : [ ]
|
|
52523
|
+
}, {
|
|
52524
|
+
"name" : "issuer",
|
|
52525
|
+
"type" : "transaction_metadata_channel_card_metadata_issuer_summary",
|
|
52526
|
+
"required" : true,
|
|
52527
|
+
"attributes" : [ ],
|
|
52528
|
+
"annotations" : [ ]
|
|
52529
|
+
} ],
|
|
52530
|
+
"attributes" : [ ],
|
|
52531
|
+
"interfaces" : [ ]
|
|
52532
|
+
}, {
|
|
52533
|
+
"name" : "transaction_metadata_channel_card_metadata_issuer_summary",
|
|
52534
|
+
"plural" : "transaction_metadata_channel_card_metadata_issuer_summaries",
|
|
52535
|
+
"fields" : [ {
|
|
52536
|
+
"name" : "iin",
|
|
52537
|
+
"type" : "string",
|
|
52538
|
+
"required" : true,
|
|
52539
|
+
"attributes" : [ ],
|
|
52540
|
+
"annotations" : [ ]
|
|
52541
|
+
}, {
|
|
52542
|
+
"name" : "country",
|
|
52543
|
+
"type" : "string",
|
|
52544
|
+
"required" : true,
|
|
52545
|
+
"attributes" : [ ],
|
|
52546
|
+
"annotations" : [ ]
|
|
52547
|
+
} ],
|
|
52548
|
+
"attributes" : [ ],
|
|
52549
|
+
"interfaces" : [ ]
|
|
52402
52550
|
}, {
|
|
52403
52551
|
"name" : "transaction_metadata_shipping_label",
|
|
52404
52552
|
"plural" : "transaction_metadata_shipping_labels",
|
|
@@ -52411,6 +52559,60 @@
|
|
|
52411
52559
|
} ],
|
|
52412
52560
|
"attributes" : [ ],
|
|
52413
52561
|
"interfaces" : [ ]
|
|
52562
|
+
}, {
|
|
52563
|
+
"name" : "transaction_metadata_trueup",
|
|
52564
|
+
"plural" : "transaction_metadata_trueups",
|
|
52565
|
+
"fields" : [ {
|
|
52566
|
+
"name" : "estimate",
|
|
52567
|
+
"type" : "transaction_metadata_trueup_data",
|
|
52568
|
+
"required" : true,
|
|
52569
|
+
"attributes" : [ ],
|
|
52570
|
+
"annotations" : [ ]
|
|
52571
|
+
}, {
|
|
52572
|
+
"name" : "actual",
|
|
52573
|
+
"type" : "transaction_metadata_trueup_data",
|
|
52574
|
+
"required" : true,
|
|
52575
|
+
"attributes" : [ ],
|
|
52576
|
+
"annotations" : [ ]
|
|
52577
|
+
} ],
|
|
52578
|
+
"attributes" : [ ],
|
|
52579
|
+
"interfaces" : [ ]
|
|
52580
|
+
}, {
|
|
52581
|
+
"name" : "transaction_metadata_trueup_data",
|
|
52582
|
+
"plural" : "transaction_metadata_trueup_data",
|
|
52583
|
+
"fields" : [ {
|
|
52584
|
+
"name" : "source",
|
|
52585
|
+
"type" : "trueup_source",
|
|
52586
|
+
"required" : true,
|
|
52587
|
+
"attributes" : [ ],
|
|
52588
|
+
"annotations" : [ ]
|
|
52589
|
+
}, {
|
|
52590
|
+
"name" : "units",
|
|
52591
|
+
"type" : "trueup_label_units",
|
|
52592
|
+
"required" : true,
|
|
52593
|
+
"attributes" : [ ],
|
|
52594
|
+
"annotations" : [ ]
|
|
52595
|
+
}, {
|
|
52596
|
+
"name" : "base",
|
|
52597
|
+
"type" : "trueup_label_base",
|
|
52598
|
+
"required" : true,
|
|
52599
|
+
"attributes" : [ ],
|
|
52600
|
+
"annotations" : [ ]
|
|
52601
|
+
}, {
|
|
52602
|
+
"name" : "surcharges",
|
|
52603
|
+
"type" : "[trueup_label_surcharge]",
|
|
52604
|
+
"required" : true,
|
|
52605
|
+
"attributes" : [ ],
|
|
52606
|
+
"annotations" : [ ]
|
|
52607
|
+
}, {
|
|
52608
|
+
"name" : "total",
|
|
52609
|
+
"type" : "decimal",
|
|
52610
|
+
"required" : true,
|
|
52611
|
+
"attributes" : [ ],
|
|
52612
|
+
"annotations" : [ ]
|
|
52613
|
+
} ],
|
|
52614
|
+
"attributes" : [ ],
|
|
52615
|
+
"interfaces" : [ ]
|
|
52414
52616
|
}, {
|
|
52415
52617
|
"name" : "transaction_network_details_card",
|
|
52416
52618
|
"plural" : "transaction_network_details_cards",
|
|
@@ -52552,6 +52754,80 @@
|
|
|
52552
52754
|
} ],
|
|
52553
52755
|
"attributes" : [ ],
|
|
52554
52756
|
"interfaces" : [ ]
|
|
52757
|
+
}, {
|
|
52758
|
+
"name" : "trueup_label_base",
|
|
52759
|
+
"plural" : "trueup_label_bases",
|
|
52760
|
+
"fields" : [ {
|
|
52761
|
+
"name" : "amount",
|
|
52762
|
+
"type" : "decimal",
|
|
52763
|
+
"required" : true,
|
|
52764
|
+
"attributes" : [ ],
|
|
52765
|
+
"annotations" : [ ],
|
|
52766
|
+
"description" : "The base rate card charge (based on weight, before fees)"
|
|
52767
|
+
}, {
|
|
52768
|
+
"name" : "weight",
|
|
52769
|
+
"type" : "decimal",
|
|
52770
|
+
"required" : true,
|
|
52771
|
+
"attributes" : [ ],
|
|
52772
|
+
"annotations" : [ ],
|
|
52773
|
+
"description" : "The actual weight used for ratecard lookup"
|
|
52774
|
+
} ],
|
|
52775
|
+
"attributes" : [ ],
|
|
52776
|
+
"interfaces" : [ ]
|
|
52777
|
+
}, {
|
|
52778
|
+
"name" : "trueup_label_surcharge",
|
|
52779
|
+
"plural" : "trueup_label_surcharges",
|
|
52780
|
+
"fields" : [ {
|
|
52781
|
+
"name" : "amount",
|
|
52782
|
+
"type" : "decimal",
|
|
52783
|
+
"required" : true,
|
|
52784
|
+
"attributes" : [ ],
|
|
52785
|
+
"annotations" : [ ]
|
|
52786
|
+
}, {
|
|
52787
|
+
"name" : "type",
|
|
52788
|
+
"type" : "trueup_surcharge_type",
|
|
52789
|
+
"required" : true,
|
|
52790
|
+
"attributes" : [ ],
|
|
52791
|
+
"annotations" : [ ]
|
|
52792
|
+
}, {
|
|
52793
|
+
"name" : "percentage",
|
|
52794
|
+
"type" : "decimal",
|
|
52795
|
+
"required" : false,
|
|
52796
|
+
"attributes" : [ ],
|
|
52797
|
+
"annotations" : [ ],
|
|
52798
|
+
"description" : "When applicable, the % used to calculate this surcharge. Values are expressed as '10.5' to represent '10.5%'",
|
|
52799
|
+
"example" : "15.5"
|
|
52800
|
+
}, {
|
|
52801
|
+
"name" : "per_weight_unit",
|
|
52802
|
+
"type" : "decimal",
|
|
52803
|
+
"required" : false,
|
|
52804
|
+
"attributes" : [ ],
|
|
52805
|
+
"annotations" : [ ],
|
|
52806
|
+
"description" : "When applicable, the dollar amount per weight unit used to calculate this surcharge. Values are expressed as '0.04' to represent '4 cents' per unit (eg pound)",
|
|
52807
|
+
"example" : "0.04"
|
|
52808
|
+
} ],
|
|
52809
|
+
"attributes" : [ ],
|
|
52810
|
+
"interfaces" : [ ]
|
|
52811
|
+
}, {
|
|
52812
|
+
"name" : "trueup_label_units",
|
|
52813
|
+
"plural" : "trueup_label_units",
|
|
52814
|
+
"fields" : [ {
|
|
52815
|
+
"name" : "weight",
|
|
52816
|
+
"type" : "unit_of_weight",
|
|
52817
|
+
"required" : true,
|
|
52818
|
+
"attributes" : [ ],
|
|
52819
|
+
"annotations" : [ ],
|
|
52820
|
+
"example" : "pound"
|
|
52821
|
+
}, {
|
|
52822
|
+
"name" : "length",
|
|
52823
|
+
"type" : "unit_of_length",
|
|
52824
|
+
"required" : false,
|
|
52825
|
+
"attributes" : [ ],
|
|
52826
|
+
"annotations" : [ ],
|
|
52827
|
+
"example" : "inch"
|
|
52828
|
+
} ],
|
|
52829
|
+
"attributes" : [ ],
|
|
52830
|
+
"interfaces" : [ ]
|
|
52555
52831
|
}, {
|
|
52556
52832
|
"name" : "ultimate_beneficiary_owner",
|
|
52557
52833
|
"plural" : "ultimate_beneficiary_owners",
|
|
@@ -91788,6 +92064,178 @@
|
|
|
91788
92064
|
}
|
|
91789
92065
|
} ],
|
|
91790
92066
|
"path" : "/:organization/payment/request/bundles"
|
|
92067
|
+
}, {
|
|
92068
|
+
"type" : "pending_transaction",
|
|
92069
|
+
"plural" : "pending_transactions",
|
|
92070
|
+
"operations" : [ {
|
|
92071
|
+
"method" : "GET",
|
|
92072
|
+
"path" : "/:organization/billing/pending/transactions",
|
|
92073
|
+
"parameters" : [ {
|
|
92074
|
+
"name" : "organization",
|
|
92075
|
+
"type" : "string",
|
|
92076
|
+
"location" : "Path",
|
|
92077
|
+
"required" : true,
|
|
92078
|
+
"description" : "Refers to your organization's account identifier"
|
|
92079
|
+
}, {
|
|
92080
|
+
"name" : "id",
|
|
92081
|
+
"type" : "[string]",
|
|
92082
|
+
"location" : "Query",
|
|
92083
|
+
"required" : false,
|
|
92084
|
+
"description" : "Filter by one or more IDs of this resource",
|
|
92085
|
+
"maximum" : 100
|
|
92086
|
+
}, {
|
|
92087
|
+
"name" : "since",
|
|
92088
|
+
"type" : "date-time-iso8601",
|
|
92089
|
+
"location" : "Query",
|
|
92090
|
+
"required" : false,
|
|
92091
|
+
"description" : "If specified, we return all transactions where created_at >= the provided timestamp"
|
|
92092
|
+
}, {
|
|
92093
|
+
"name" : "updated_since",
|
|
92094
|
+
"type" : "date-time-iso8601",
|
|
92095
|
+
"location" : "Query",
|
|
92096
|
+
"required" : false,
|
|
92097
|
+
"description" : "If specified, we return all transactions where updated_at >= the provided timestamp"
|
|
92098
|
+
}, {
|
|
92099
|
+
"name" : "limit",
|
|
92100
|
+
"type" : "long",
|
|
92101
|
+
"location" : "Query",
|
|
92102
|
+
"required" : true,
|
|
92103
|
+
"description" : "The maximum number of results to return",
|
|
92104
|
+
"default" : "25",
|
|
92105
|
+
"minimum" : 1,
|
|
92106
|
+
"maximum" : 100
|
|
92107
|
+
}, {
|
|
92108
|
+
"name" : "offset",
|
|
92109
|
+
"type" : "long",
|
|
92110
|
+
"location" : "Query",
|
|
92111
|
+
"required" : true,
|
|
92112
|
+
"description" : "The number of results to skip before returning results",
|
|
92113
|
+
"default" : "0",
|
|
92114
|
+
"minimum" : 0
|
|
92115
|
+
}, {
|
|
92116
|
+
"name" : "sort",
|
|
92117
|
+
"type" : "string",
|
|
92118
|
+
"location" : "Query",
|
|
92119
|
+
"required" : true,
|
|
92120
|
+
"default" : "-created_at"
|
|
92121
|
+
} ],
|
|
92122
|
+
"responses" : [ {
|
|
92123
|
+
"code" : {
|
|
92124
|
+
"integer" : {
|
|
92125
|
+
"value" : 200
|
|
92126
|
+
}
|
|
92127
|
+
},
|
|
92128
|
+
"type" : "[pending_transaction]",
|
|
92129
|
+
"description" : "Successful response",
|
|
92130
|
+
"attributes" : [ ]
|
|
92131
|
+
}, {
|
|
92132
|
+
"code" : {
|
|
92133
|
+
"integer" : {
|
|
92134
|
+
"value" : 401
|
|
92135
|
+
}
|
|
92136
|
+
},
|
|
92137
|
+
"type" : "unit",
|
|
92138
|
+
"description" : "Authorization failed",
|
|
92139
|
+
"attributes" : [ ]
|
|
92140
|
+
}, {
|
|
92141
|
+
"code" : {
|
|
92142
|
+
"integer" : {
|
|
92143
|
+
"value" : 404
|
|
92144
|
+
}
|
|
92145
|
+
},
|
|
92146
|
+
"type" : "unit",
|
|
92147
|
+
"description" : "Resource was not found",
|
|
92148
|
+
"attributes" : [ ]
|
|
92149
|
+
}, {
|
|
92150
|
+
"code" : {
|
|
92151
|
+
"integer" : {
|
|
92152
|
+
"value" : 422
|
|
92153
|
+
}
|
|
92154
|
+
},
|
|
92155
|
+
"type" : "generic_error",
|
|
92156
|
+
"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.",
|
|
92157
|
+
"attributes" : [ ]
|
|
92158
|
+
} ],
|
|
92159
|
+
"attributes" : [ {
|
|
92160
|
+
"name" : "sort",
|
|
92161
|
+
"value" : {
|
|
92162
|
+
"values" : [ {
|
|
92163
|
+
"value" : "id"
|
|
92164
|
+
}, {
|
|
92165
|
+
"value" : "created_at"
|
|
92166
|
+
}, {
|
|
92167
|
+
"value" : "updated_at"
|
|
92168
|
+
} ]
|
|
92169
|
+
}
|
|
92170
|
+
}, {
|
|
92171
|
+
"name" : "linter",
|
|
92172
|
+
"value" : {
|
|
92173
|
+
"ignore" : [ "versions" ]
|
|
92174
|
+
}
|
|
92175
|
+
} ]
|
|
92176
|
+
}, {
|
|
92177
|
+
"method" : "GET",
|
|
92178
|
+
"path" : "/:organization/billing/pending/transactions/:id",
|
|
92179
|
+
"parameters" : [ {
|
|
92180
|
+
"name" : "organization",
|
|
92181
|
+
"type" : "string",
|
|
92182
|
+
"location" : "Path",
|
|
92183
|
+
"required" : true,
|
|
92184
|
+
"description" : "Refers to your organization's account identifier"
|
|
92185
|
+
}, {
|
|
92186
|
+
"name" : "id",
|
|
92187
|
+
"type" : "string",
|
|
92188
|
+
"location" : "Path",
|
|
92189
|
+
"required" : true,
|
|
92190
|
+
"description" : "Filter by one or more IDs of this resource"
|
|
92191
|
+
} ],
|
|
92192
|
+
"responses" : [ {
|
|
92193
|
+
"code" : {
|
|
92194
|
+
"integer" : {
|
|
92195
|
+
"value" : 200
|
|
92196
|
+
}
|
|
92197
|
+
},
|
|
92198
|
+
"type" : "pending_transaction",
|
|
92199
|
+
"description" : "Successful response",
|
|
92200
|
+
"attributes" : [ ]
|
|
92201
|
+
}, {
|
|
92202
|
+
"code" : {
|
|
92203
|
+
"integer" : {
|
|
92204
|
+
"value" : 401
|
|
92205
|
+
}
|
|
92206
|
+
},
|
|
92207
|
+
"type" : "unit",
|
|
92208
|
+
"description" : "Authorization failed",
|
|
92209
|
+
"attributes" : [ ]
|
|
92210
|
+
}, {
|
|
92211
|
+
"code" : {
|
|
92212
|
+
"integer" : {
|
|
92213
|
+
"value" : 404
|
|
92214
|
+
}
|
|
92215
|
+
},
|
|
92216
|
+
"type" : "unit",
|
|
92217
|
+
"description" : "Resource was not found",
|
|
92218
|
+
"attributes" : [ ]
|
|
92219
|
+
}, {
|
|
92220
|
+
"code" : {
|
|
92221
|
+
"integer" : {
|
|
92222
|
+
"value" : 422
|
|
92223
|
+
}
|
|
92224
|
+
},
|
|
92225
|
+
"type" : "generic_error",
|
|
92226
|
+
"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.",
|
|
92227
|
+
"attributes" : [ ]
|
|
92228
|
+
} ],
|
|
92229
|
+
"attributes" : [ ]
|
|
92230
|
+
} ],
|
|
92231
|
+
"attributes" : [ {
|
|
92232
|
+
"name" : "docs",
|
|
92233
|
+
"value" : {
|
|
92234
|
+
"module" : "general"
|
|
92235
|
+
}
|
|
92236
|
+
} ],
|
|
92237
|
+
"path" : "/:organization/billing/pending/transactions",
|
|
92238
|
+
"description" : "A transaction that is pending payout."
|
|
91791
92239
|
}, {
|
|
91792
92240
|
"type" : "permission_check",
|
|
91793
92241
|
"plural" : "permission_checks",
|