@flowio/api-mock-generator 6.17.77 → 6.17.79

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 +674 -52
  2. package/package.json +2 -2
  3. package/src/api.json +674 -52
package/dist/api.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "key": "api"
11
11
  },
12
12
  "namespace": "io.flow.v0",
13
- "version": "0.18.46",
13
+ "version": "0.18.69",
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.22.20",
79
+ "version": "0.22.82",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -1622,6 +1622,12 @@
1622
1622
  }, {
1623
1623
  "name": "manifested_label_deleted",
1624
1624
  "attributes": []
1625
+ }, {
1626
+ "name": "label_processing_modification_upserted",
1627
+ "attributes": []
1628
+ }, {
1629
+ "name": "label_processing_modification_deleted",
1630
+ "attributes": []
1625
1631
  }, {
1626
1632
  "name": "local_item_upserted",
1627
1633
  "attributes": []
@@ -3551,6 +3557,10 @@
3551
3557
  "name": "order_mismatched_currencies",
3552
3558
  "attributes": [],
3553
3559
  "description": "The order has transactions in a different currency than the presentment currency."
3560
+ }, {
3561
+ "name": "order_missing",
3562
+ "attributes": [],
3563
+ "description": "The order number is missing."
3554
3564
  }],
3555
3565
  "attributes": [],
3556
3566
  "description": "The type of check that was performed."
@@ -5091,13 +5101,16 @@
5091
5101
  "name": "trueup",
5092
5102
  "attributes": []
5093
5103
  }, {
5094
- "name": "carrier_charge",
5104
+ "name": "trueup_base",
5095
5105
  "attributes": []
5096
5106
  }, {
5097
- "name": "carrier_charge_revenue_share",
5107
+ "name": "trueup_surcharge",
5108
+ "attributes": []
5109
+ }, {
5110
+ "name": "carrier_charge",
5098
5111
  "attributes": []
5099
5112
  }, {
5100
- "name": "carrier_fee",
5113
+ "name": "carrier_charge_revenue_share",
5101
5114
  "attributes": []
5102
5115
  }, {
5103
5116
  "name": "platform_fee",
@@ -5132,6 +5145,9 @@
5132
5145
  }, {
5133
5146
  "name": "virtual_card_refund",
5134
5147
  "attributes": []
5148
+ }, {
5149
+ "name": "failed_payout",
5150
+ "attributes": []
5135
5151
  }],
5136
5152
  "attributes": []
5137
5153
  }, {
@@ -5149,6 +5165,9 @@
5149
5165
  }, {
5150
5166
  "name": "dhl",
5151
5167
  "attributes": []
5168
+ }, {
5169
+ "name": "ups",
5170
+ "attributes": []
5152
5171
  }],
5153
5172
  "attributes": []
5154
5173
  }, {
@@ -5187,6 +5206,24 @@
5187
5206
  }, {
5188
5207
  "name": "fixed_currency_conversion",
5189
5208
  "attributes": []
5209
+ }, {
5210
+ "name": "prohibited_item",
5211
+ "attributes": []
5212
+ }, {
5213
+ "name": "undeliverable_shipment",
5214
+ "attributes": []
5215
+ }, {
5216
+ "name": "signature_required",
5217
+ "attributes": []
5218
+ }, {
5219
+ "name": "direct_delivery",
5220
+ "attributes": []
5221
+ }, {
5222
+ "name": "saturday_stop",
5223
+ "attributes": []
5224
+ }, {
5225
+ "name": "residential_extended_area_pickup",
5226
+ "attributes": []
5190
5227
  }],
5191
5228
  "attributes": []
5192
5229
  }, {
@@ -7649,6 +7686,14 @@
7649
7686
  "type": "manifested_label_deleted",
7650
7687
  "attributes": [],
7651
7688
  "discriminator_value": "manifested_label_deleted"
7689
+ }, {
7690
+ "type": "label_processing_modification_upserted",
7691
+ "attributes": [],
7692
+ "discriminator_value": "label_processing_modification_upserted"
7693
+ }, {
7694
+ "type": "label_processing_modification_deleted",
7695
+ "attributes": [],
7696
+ "discriminator_value": "label_processing_modification_deleted"
7652
7697
  }, {
7653
7698
  "type": "local_item_upserted",
7654
7699
  "attributes": [],
@@ -8828,10 +8873,26 @@
8828
8873
  "type": "payment_processor_transaction_details_card",
8829
8874
  "attributes": [],
8830
8875
  "discriminator_value": "card"
8876
+ }, {
8877
+ "type": "payment_processor_transaction_details_apm",
8878
+ "attributes": [],
8879
+ "discriminator_value": "apm"
8831
8880
  }],
8832
8881
  "attributes": [],
8833
8882
  "interfaces": ["payment_processor_transaction_details"],
8834
8883
  "discriminator": "discriminator"
8884
+ }, {
8885
+ "name": "payment_request_cancellation_reason",
8886
+ "plural": "payment_request_cancellation_reasons",
8887
+ "types": [{
8888
+ "type": "payment_request_cancellation_reason_order_missing",
8889
+ "attributes": [],
8890
+ "description": "The order number is missing.",
8891
+ "discriminator_value": "order_missing"
8892
+ }],
8893
+ "attributes": [],
8894
+ "interfaces": [],
8895
+ "discriminator": "type"
8835
8896
  }, {
8836
8897
  "name": "payment_source",
8837
8898
  "plural": "payment_sources",
@@ -9494,20 +9555,30 @@
9494
9555
  "default": false,
9495
9556
  "discriminator_value": "trueup"
9496
9557
  }, {
9497
- "type": "transaction_metadata_carrier_charge",
9558
+ "type": "transaction_metadata_trueup_base",
9498
9559
  "attributes": [],
9499
9560
  "default": false,
9500
- "discriminator_value": "carrier_charge"
9561
+ "discriminator_value": "trueup_base"
9501
9562
  }, {
9502
- "type": "transaction_metadata_carrier_fee",
9563
+ "type": "transaction_metadata_trueup_surcharge",
9503
9564
  "attributes": [],
9504
9565
  "default": false,
9505
- "discriminator_value": "carrier_fee"
9566
+ "discriminator_value": "trueup_surcharge"
9567
+ }, {
9568
+ "type": "transaction_metadata_carrier_charge",
9569
+ "attributes": [],
9570
+ "default": false,
9571
+ "discriminator_value": "carrier_charge"
9506
9572
  }, {
9507
9573
  "type": "transaction_metadata_manual",
9508
9574
  "attributes": [],
9509
9575
  "default": false,
9510
9576
  "discriminator_value": "manual"
9577
+ }, {
9578
+ "type": "transaction_metadata_failed_payout",
9579
+ "attributes": [],
9580
+ "default": false,
9581
+ "discriminator_value": "failed_payout"
9511
9582
  }, {
9512
9583
  "type": "transaction_metadata_payment_transaction",
9513
9584
  "attributes": [],
@@ -13898,13 +13969,13 @@
13898
13969
  "type": "expiration",
13899
13970
  "required": true,
13900
13971
  "attributes": [],
13901
- "annotations": ["personal_data", "consumer"]
13972
+ "annotations": ["consumer"]
13902
13973
  }, {
13903
13974
  "name": "iin",
13904
13975
  "type": "string",
13905
13976
  "required": true,
13906
13977
  "attributes": [],
13907
- "annotations": ["personal_data", "consumer"],
13978
+ "annotations": ["consumer"],
13908
13979
  "description": "The issuer identification number (IIN) (formerly known as the Bank Identification Number) which are the leading digits of the card number."
13909
13980
  }, {
13910
13981
  "name": "issuer",
@@ -13918,7 +13989,7 @@
13918
13989
  "type": "string",
13919
13990
  "required": true,
13920
13991
  "attributes": [],
13921
- "annotations": ["personal_data", "consumer"],
13992
+ "annotations": ["consumer"],
13922
13993
  "description": "Cleartext last 4 numbers of the card"
13923
13994
  }, {
13924
13995
  "name": "name",
@@ -14637,7 +14708,7 @@
14637
14708
  "type": "string",
14638
14709
  "required": true,
14639
14710
  "attributes": [],
14640
- "annotations": ["personal_data", "consumer"],
14711
+ "annotations": ["consumer"],
14641
14712
  "description": "The issuer identification number (IIN) (formerly known as the Bank Identification Number) which are the leading digits of the card number."
14642
14713
  }, {
14643
14714
  "name": "issuer",
@@ -14651,7 +14722,7 @@
14651
14722
  "type": "string",
14652
14723
  "required": true,
14653
14724
  "attributes": [],
14654
- "annotations": ["personal_data", "consumer"],
14725
+ "annotations": ["consumer"],
14655
14726
  "description": "Cleartext last 4 numbers of the card"
14656
14727
  }, {
14657
14728
  "name": "name",
@@ -23662,7 +23733,7 @@
23662
23733
  "type": "integer",
23663
23734
  "required": true,
23664
23735
  "attributes": [],
23665
- "annotations": ["personal_data", "consumer"],
23736
+ "annotations": ["consumer"],
23666
23737
  "description": "The month of expiration expressed as a number. 1 = January, 12 = December",
23667
23738
  "minimum": 1,
23668
23739
  "maximum": 12,
@@ -23672,7 +23743,7 @@
23672
23743
  "type": "integer",
23673
23744
  "required": true,
23674
23745
  "attributes": [],
23675
- "annotations": ["personal_data", "consumer"],
23746
+ "annotations": ["consumer"],
23676
23747
  "description": "The 4 digit expiration year",
23677
23748
  "example": "2021"
23678
23749
  }],
@@ -29038,6 +29109,102 @@
29038
29109
  }],
29039
29110
  "attributes": [],
29040
29111
  "interfaces": []
29112
+ }, {
29113
+ "name": "label_processing_modification",
29114
+ "plural": "label_processing_modifications",
29115
+ "fields": [{
29116
+ "name": "id",
29117
+ "type": "string",
29118
+ "required": true,
29119
+ "attributes": [],
29120
+ "annotations": [],
29121
+ "description": "Globally unique identifier"
29122
+ }, {
29123
+ "name": "modifications",
29124
+ "type": "[string]",
29125
+ "required": true,
29126
+ "attributes": [],
29127
+ "annotations": []
29128
+ }, {
29129
+ "name": "destination",
29130
+ "type": "shipping_address",
29131
+ "required": true,
29132
+ "attributes": [],
29133
+ "annotations": ["personal_data", "consumer"],
29134
+ "description": "Destination contact information and structured address"
29135
+ }, {
29136
+ "name": "destination_provided_to_carrier",
29137
+ "type": "shipping_address",
29138
+ "required": false,
29139
+ "attributes": [],
29140
+ "annotations": ["personal_data", "consumer"],
29141
+ "description": "Modified destination contact information and structured address"
29142
+ }],
29143
+ "attributes": [],
29144
+ "interfaces": []
29145
+ }, {
29146
+ "name": "label_processing_modification_deleted",
29147
+ "plural": "label_processing_modification_deleteds",
29148
+ "fields": [{
29149
+ "name": "event_id",
29150
+ "type": "string",
29151
+ "required": true,
29152
+ "attributes": [],
29153
+ "annotations": []
29154
+ }, {
29155
+ "name": "timestamp",
29156
+ "type": "date-time-iso8601",
29157
+ "required": true,
29158
+ "attributes": [],
29159
+ "annotations": []
29160
+ }, {
29161
+ "name": "organization",
29162
+ "type": "string",
29163
+ "required": true,
29164
+ "attributes": [],
29165
+ "annotations": [],
29166
+ "description": "Refers to your organization's account identifier"
29167
+ }, {
29168
+ "name": "id",
29169
+ "type": "string",
29170
+ "required": true,
29171
+ "attributes": [],
29172
+ "annotations": [],
29173
+ "description": "Globally unique identifier"
29174
+ }],
29175
+ "attributes": [],
29176
+ "interfaces": []
29177
+ }, {
29178
+ "name": "label_processing_modification_upserted",
29179
+ "plural": "label_processing_modification_upserteds",
29180
+ "fields": [{
29181
+ "name": "event_id",
29182
+ "type": "string",
29183
+ "required": true,
29184
+ "attributes": [],
29185
+ "annotations": []
29186
+ }, {
29187
+ "name": "timestamp",
29188
+ "type": "date-time-iso8601",
29189
+ "required": true,
29190
+ "attributes": [],
29191
+ "annotations": []
29192
+ }, {
29193
+ "name": "organization",
29194
+ "type": "string",
29195
+ "required": true,
29196
+ "attributes": [],
29197
+ "annotations": [],
29198
+ "description": "Refers to your organization's account identifier"
29199
+ }, {
29200
+ "name": "label_processing_modification",
29201
+ "type": "label_processing_modification",
29202
+ "required": true,
29203
+ "attributes": [],
29204
+ "annotations": []
29205
+ }],
29206
+ "attributes": [],
29207
+ "interfaces": []
29041
29208
  }, {
29042
29209
  "name": "label_reference",
29043
29210
  "plural": "label_references",
@@ -38935,6 +39102,48 @@
38935
39102
  }],
38936
39103
  "attributes": [],
38937
39104
  "interfaces": []
39105
+ }, {
39106
+ "name": "payment_processor_transaction_details_apm",
39107
+ "plural": "payment_processor_transaction_details_apms",
39108
+ "fields": [{
39109
+ "name": "transaction_identifier",
39110
+ "type": "string",
39111
+ "required": false,
39112
+ "attributes": [],
39113
+ "annotations": [],
39114
+ "description": "The most specific PSP identifier for an authorization attempt / result"
39115
+ }, {
39116
+ "name": "capture_identifier",
39117
+ "type": "string",
39118
+ "required": false,
39119
+ "attributes": [],
39120
+ "annotations": [],
39121
+ "description": "The most specific PSP identifier for a capture. This will be populated if there is automatic capture in most cases. For Stripe this must be a charge id (starts with py_)"
39122
+ }, {
39123
+ "name": "method_type",
39124
+ "type": "string",
39125
+ "required": false,
39126
+ "attributes": [],
39127
+ "annotations": [],
39128
+ "description": "The PSP's identification of the payment method subtype, e.g. klarna"
39129
+ }, {
39130
+ "name": "result_status",
39131
+ "type": "string",
39132
+ "required": false,
39133
+ "attributes": [],
39134
+ "annotations": [],
39135
+ "description": "The transaction's raw result status"
39136
+ }, {
39137
+ "name": "reason_code",
39138
+ "type": "string",
39139
+ "required": false,
39140
+ "attributes": [],
39141
+ "annotations": [],
39142
+ "description": "The transaction's raw reason code"
39143
+ }],
39144
+ "attributes": [],
39145
+ "interfaces": ["payment_processor_transaction_details"],
39146
+ "description": "Data elements gathered from the PSP's authorization messages. Format will differ by PSP."
38938
39147
  }, {
38939
39148
  "name": "payment_processor_transaction_details_card",
38940
39149
  "plural": "payment_processor_transaction_details_cards",
@@ -39381,6 +39590,19 @@
39381
39590
  }],
39382
39591
  "attributes": [],
39383
39592
  "interfaces": []
39593
+ }, {
39594
+ "name": "payment_request_cancellation_reason_order_missing",
39595
+ "plural": "payment_request_cancellation_reason_order_missings",
39596
+ "fields": [{
39597
+ "name": "description",
39598
+ "type": "string",
39599
+ "required": false,
39600
+ "attributes": [],
39601
+ "annotations": [],
39602
+ "description": "Additional provided information about why this payment request was cancelled."
39603
+ }],
39604
+ "attributes": [],
39605
+ "interfaces": []
39384
39606
  }, {
39385
39607
  "name": "payment_request_deleted",
39386
39608
  "plural": "payment_request_deleteds",
@@ -40004,6 +40226,13 @@
40004
40226
  "annotations": [],
40005
40227
  "description": "The payment ID in PayPal.",
40006
40228
  "example": "PAY-lkj23lk4j23l42341123"
40229
+ }, {
40230
+ "name": "internal_payment_id",
40231
+ "type": "string",
40232
+ "required": false,
40233
+ "attributes": [],
40234
+ "annotations": [],
40235
+ "description": "Internal payment ID (pmt-xxx)"
40007
40236
  }, {
40008
40237
  "name": "payment_method",
40009
40238
  "type": "string",
@@ -44702,6 +44931,24 @@
44702
44931
  }],
44703
44932
  "attributes": [],
44704
44933
  "interfaces": []
44934
+ }, {
44935
+ "name": "rejection_put_form",
44936
+ "plural": "rejection_put_forms",
44937
+ "fields": [{
44938
+ "name": "reason",
44939
+ "type": "merchant_rejected_reason",
44940
+ "required": true,
44941
+ "attributes": [],
44942
+ "annotations": []
44943
+ }, {
44944
+ "name": "description",
44945
+ "type": "string",
44946
+ "required": true,
44947
+ "attributes": [],
44948
+ "annotations": []
44949
+ }],
44950
+ "attributes": [],
44951
+ "interfaces": []
44705
44952
  }, {
44706
44953
  "name": "remote_area_by_weight_service_fee",
44707
44954
  "plural": "remote_area_by_weight_service_fees",
@@ -53434,42 +53681,6 @@
53434
53681
  }],
53435
53682
  "attributes": [],
53436
53683
  "interfaces": []
53437
- }, {
53438
- "name": "transaction_metadata_carrier_fee",
53439
- "plural": "transaction_metadata_carrier_fees",
53440
- "fields": [{
53441
- "name": "outbound",
53442
- "type": "transaction_metadata_outbound_transaction",
53443
- "required": true,
53444
- "attributes": [],
53445
- "annotations": []
53446
- }, {
53447
- "name": "estimate",
53448
- "type": "transaction_metadata_carrier_fee_data",
53449
- "required": true,
53450
- "attributes": [],
53451
- "annotations": []
53452
- }, {
53453
- "name": "actual",
53454
- "type": "transaction_metadata_carrier_fee_data",
53455
- "required": true,
53456
- "attributes": [],
53457
- "annotations": []
53458
- }],
53459
- "attributes": [],
53460
- "interfaces": []
53461
- }, {
53462
- "name": "transaction_metadata_carrier_fee_data",
53463
- "plural": "transaction_metadata_carrier_fee_data",
53464
- "fields": [{
53465
- "name": "surcharges",
53466
- "type": "[trueup_label_surcharge]",
53467
- "required": true,
53468
- "attributes": [],
53469
- "annotations": []
53470
- }],
53471
- "attributes": [],
53472
- "interfaces": []
53473
53684
  }, {
53474
53685
  "name": "transaction_metadata_channel",
53475
53686
  "plural": "transaction_metadata_channels",
@@ -53486,6 +53697,12 @@
53486
53697
  "required": false,
53487
53698
  "attributes": [],
53488
53699
  "annotations": []
53700
+ }, {
53701
+ "name": "organization_transaction",
53702
+ "type": "transaction_metadata_channel_organization_transaction",
53703
+ "required": true,
53704
+ "attributes": [],
53705
+ "annotations": []
53489
53706
  }],
53490
53707
  "attributes": [],
53491
53708
  "interfaces": []
@@ -53525,6 +53742,50 @@
53525
53742
  }],
53526
53743
  "attributes": [],
53527
53744
  "interfaces": []
53745
+ }, {
53746
+ "name": "transaction_metadata_channel_organization_transaction",
53747
+ "plural": "transaction_metadata_channel_organization_transactions",
53748
+ "fields": [{
53749
+ "name": "id",
53750
+ "type": "string",
53751
+ "required": true,
53752
+ "attributes": [],
53753
+ "annotations": [],
53754
+ "description": "Globally unique identifier"
53755
+ }, {
53756
+ "name": "metadata",
53757
+ "type": "transaction_metadata_payment_transaction",
53758
+ "required": true,
53759
+ "attributes": [],
53760
+ "annotations": []
53761
+ }],
53762
+ "attributes": [],
53763
+ "interfaces": []
53764
+ }, {
53765
+ "name": "transaction_metadata_failed_payout",
53766
+ "plural": "transaction_metadata_failed_payouts",
53767
+ "fields": [{
53768
+ "name": "failed_payout",
53769
+ "type": "transaction_metadata_failed_payout_reference",
53770
+ "required": true,
53771
+ "attributes": [],
53772
+ "annotations": []
53773
+ }],
53774
+ "attributes": [],
53775
+ "interfaces": []
53776
+ }, {
53777
+ "name": "transaction_metadata_failed_payout_reference",
53778
+ "plural": "transaction_metadata_failed_payout_references",
53779
+ "fields": [{
53780
+ "name": "id",
53781
+ "type": "string",
53782
+ "required": true,
53783
+ "attributes": [],
53784
+ "annotations": [],
53785
+ "description": "Globally unique identifier"
53786
+ }],
53787
+ "attributes": [],
53788
+ "interfaces": []
53528
53789
  }, {
53529
53790
  "name": "transaction_metadata_manual",
53530
53791
  "plural": "transaction_metadata_manuals",
@@ -53578,6 +53839,13 @@
53578
53839
  "name": "transaction_metadata_payment_transaction",
53579
53840
  "plural": "transaction_metadata_payment_transactions",
53580
53841
  "fields": [{
53842
+ "name": "id",
53843
+ "type": "string",
53844
+ "required": false,
53845
+ "attributes": [],
53846
+ "annotations": [],
53847
+ "description": "Globally unique identifier"
53848
+ }, {
53581
53849
  "name": "key",
53582
53850
  "type": "string",
53583
53851
  "required": false,
@@ -53654,6 +53922,72 @@
53654
53922
  }],
53655
53923
  "attributes": [],
53656
53924
  "interfaces": []
53925
+ }, {
53926
+ "name": "transaction_metadata_trueup_base",
53927
+ "plural": "transaction_metadata_trueup_bases",
53928
+ "fields": [{
53929
+ "name": "original",
53930
+ "type": "transaction_metadata_original_transaction",
53931
+ "required": true,
53932
+ "attributes": [],
53933
+ "annotations": []
53934
+ }, {
53935
+ "name": "estimate",
53936
+ "type": "transaction_metadata_trueup_base_data",
53937
+ "required": true,
53938
+ "attributes": [],
53939
+ "annotations": []
53940
+ }, {
53941
+ "name": "actual",
53942
+ "type": "transaction_metadata_trueup_base_data",
53943
+ "required": true,
53944
+ "attributes": [],
53945
+ "annotations": []
53946
+ }],
53947
+ "attributes": [],
53948
+ "interfaces": []
53949
+ }, {
53950
+ "name": "transaction_metadata_trueup_base_data",
53951
+ "plural": "transaction_metadata_trueup_base_data",
53952
+ "fields": [{
53953
+ "name": "source",
53954
+ "type": "trueup_source",
53955
+ "required": true,
53956
+ "attributes": [],
53957
+ "annotations": []
53958
+ }, {
53959
+ "name": "weights",
53960
+ "type": "trueup_label_weights",
53961
+ "required": true,
53962
+ "attributes": [],
53963
+ "annotations": []
53964
+ }, {
53965
+ "name": "units",
53966
+ "type": "trueup_label_units",
53967
+ "required": true,
53968
+ "attributes": [],
53969
+ "annotations": []
53970
+ }, {
53971
+ "name": "base",
53972
+ "type": "trueup_label_base_v2",
53973
+ "required": true,
53974
+ "attributes": [],
53975
+ "annotations": []
53976
+ }, {
53977
+ "name": "fuel",
53978
+ "type": "trueup_label_fuel",
53979
+ "required": false,
53980
+ "attributes": [],
53981
+ "annotations": []
53982
+ }, {
53983
+ "name": "total",
53984
+ "type": "decimal",
53985
+ "required": true,
53986
+ "attributes": [],
53987
+ "annotations": []
53988
+ }],
53989
+ "attributes": [],
53990
+ "interfaces": []
53657
53991
  }, {
53658
53992
  "name": "transaction_metadata_trueup_data",
53659
53993
  "plural": "transaction_metadata_trueup_data",
@@ -53702,6 +54036,48 @@
53702
54036
  }],
53703
54037
  "attributes": [],
53704
54038
  "interfaces": []
54039
+ }, {
54040
+ "name": "transaction_metadata_trueup_surcharge",
54041
+ "plural": "transaction_metadata_trueup_surcharges",
54042
+ "fields": [{
54043
+ "name": "original",
54044
+ "type": "transaction_metadata_original_transaction",
54045
+ "required": true,
54046
+ "attributes": [],
54047
+ "annotations": []
54048
+ }, {
54049
+ "name": "estimate",
54050
+ "type": "transaction_metadata_trueup_surcharge_data",
54051
+ "required": true,
54052
+ "attributes": [],
54053
+ "annotations": []
54054
+ }, {
54055
+ "name": "actual",
54056
+ "type": "transaction_metadata_trueup_surcharge_data",
54057
+ "required": true,
54058
+ "attributes": [],
54059
+ "annotations": []
54060
+ }],
54061
+ "attributes": [],
54062
+ "interfaces": []
54063
+ }, {
54064
+ "name": "transaction_metadata_trueup_surcharge_data",
54065
+ "plural": "transaction_metadata_trueup_surcharge_data",
54066
+ "fields": [{
54067
+ "name": "source",
54068
+ "type": "trueup_source",
54069
+ "required": true,
54070
+ "attributes": [],
54071
+ "annotations": []
54072
+ }, {
54073
+ "name": "surcharge",
54074
+ "type": "trueup_label_surcharge",
54075
+ "required": true,
54076
+ "attributes": [],
54077
+ "annotations": []
54078
+ }],
54079
+ "attributes": [],
54080
+ "interfaces": []
53705
54081
  }, {
53706
54082
  "name": "transaction_network_details_card",
53707
54083
  "plural": "transaction_network_details_cards",
@@ -53863,6 +54239,60 @@
53863
54239
  }],
53864
54240
  "attributes": [],
53865
54241
  "interfaces": []
54242
+ }, {
54243
+ "name": "trueup_label_base_v2",
54244
+ "plural": "trueup_label_base_v2s",
54245
+ "fields": [{
54246
+ "name": "amount",
54247
+ "type": "decimal",
54248
+ "required": true,
54249
+ "attributes": [],
54250
+ "annotations": [],
54251
+ "description": "The base rate card charge (based on weight, before fees)"
54252
+ }],
54253
+ "attributes": [],
54254
+ "interfaces": []
54255
+ }, {
54256
+ "name": "trueup_label_base_weight",
54257
+ "plural": "trueup_label_base_weights",
54258
+ "fields": [{
54259
+ "name": "weight",
54260
+ "type": "decimal",
54261
+ "required": true,
54262
+ "attributes": [],
54263
+ "annotations": [],
54264
+ "description": "The actual weight used for ratecard lookup"
54265
+ }],
54266
+ "attributes": [],
54267
+ "interfaces": []
54268
+ }, {
54269
+ "name": "trueup_label_fuel",
54270
+ "plural": "trueup_label_fuels",
54271
+ "fields": [{
54272
+ "name": "amount",
54273
+ "type": "decimal",
54274
+ "required": true,
54275
+ "attributes": [],
54276
+ "annotations": []
54277
+ }, {
54278
+ "name": "percentage",
54279
+ "type": "decimal",
54280
+ "required": false,
54281
+ "attributes": [],
54282
+ "annotations": [],
54283
+ "description": "When applicable, the % used to calculate this surcharge. Values are expressed as '10.5' to represent '10.5%'",
54284
+ "example": "15.5"
54285
+ }, {
54286
+ "name": "per_weight_unit",
54287
+ "type": "decimal",
54288
+ "required": false,
54289
+ "attributes": [],
54290
+ "annotations": [],
54291
+ "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)",
54292
+ "example": "0.04"
54293
+ }],
54294
+ "attributes": [],
54295
+ "interfaces": []
53866
54296
  }, {
53867
54297
  "name": "trueup_label_surcharge",
53868
54298
  "plural": "trueup_label_surcharges",
@@ -53917,6 +54347,30 @@
53917
54347
  }],
53918
54348
  "attributes": [],
53919
54349
  "interfaces": []
54350
+ }, {
54351
+ "name": "trueup_label_weights",
54352
+ "plural": "trueup_label_weights",
54353
+ "fields": [{
54354
+ "name": "base",
54355
+ "type": "trueup_label_base_weight",
54356
+ "required": true,
54357
+ "attributes": [],
54358
+ "annotations": []
54359
+ }, {
54360
+ "name": "dead",
54361
+ "type": "dead_weight",
54362
+ "required": false,
54363
+ "attributes": [],
54364
+ "annotations": []
54365
+ }, {
54366
+ "name": "dimensional",
54367
+ "type": "dimensional_weight",
54368
+ "required": false,
54369
+ "attributes": [],
54370
+ "annotations": []
54371
+ }],
54372
+ "attributes": [],
54373
+ "interfaces": []
53920
54374
  }, {
53921
54375
  "name": "ultimate_beneficiary_owner",
53922
54376
  "plural": "ultimate_beneficiary_owners",
@@ -91535,6 +91989,63 @@
91535
91989
  "type": "deactivation_put_form",
91536
91990
  "attributes": []
91537
91991
  }
91992
+ }, {
91993
+ "method": "PUT",
91994
+ "path": "/channel/:channel/organization/:organization/reject",
91995
+ "parameters": [{
91996
+ "name": "channel",
91997
+ "type": "string",
91998
+ "location": "Path",
91999
+ "required": true
92000
+ }, {
92001
+ "name": "organization",
92002
+ "type": "string",
92003
+ "location": "Path",
92004
+ "required": true,
92005
+ "description": "Refers to your organization's account identifier"
92006
+ }],
92007
+ "responses": [{
92008
+ "code": {
92009
+ "integer": {
92010
+ "value": 201
92011
+ }
92012
+ },
92013
+ "type": "organization_onboarding_state",
92014
+ "description": "Operation succeeded and the resource was created",
92015
+ "attributes": []
92016
+ }, {
92017
+ "code": {
92018
+ "integer": {
92019
+ "value": 401
92020
+ }
92021
+ },
92022
+ "type": "unit",
92023
+ "description": "Authorization failed",
92024
+ "attributes": []
92025
+ }, {
92026
+ "code": {
92027
+ "integer": {
92028
+ "value": 404
92029
+ }
92030
+ },
92031
+ "type": "unit",
92032
+ "description": "Resource was not found",
92033
+ "attributes": []
92034
+ }, {
92035
+ "code": {
92036
+ "integer": {
92037
+ "value": 422
92038
+ }
92039
+ },
92040
+ "type": "generic_error",
92041
+ "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.",
92042
+ "attributes": []
92043
+ }],
92044
+ "attributes": [],
92045
+ "body": {
92046
+ "type": "rejection_put_form",
92047
+ "attributes": []
92048
+ }
91538
92049
  }, {
91539
92050
  "method": "GET",
91540
92051
  "path": "/:organization/onboarding/state",
@@ -91687,6 +92198,58 @@
91687
92198
  "type": "deactivation_put_form",
91688
92199
  "attributes": []
91689
92200
  }
92201
+ }, {
92202
+ "method": "PUT",
92203
+ "path": "/:organization/onboarding/state/reject",
92204
+ "parameters": [{
92205
+ "name": "organization",
92206
+ "type": "string",
92207
+ "location": "Path",
92208
+ "required": true,
92209
+ "description": "Refers to your organization's account identifier"
92210
+ }],
92211
+ "responses": [{
92212
+ "code": {
92213
+ "integer": {
92214
+ "value": 201
92215
+ }
92216
+ },
92217
+ "type": "organization_onboarding_state",
92218
+ "description": "Operation succeeded and the resource was created",
92219
+ "attributes": []
92220
+ }, {
92221
+ "code": {
92222
+ "integer": {
92223
+ "value": 401
92224
+ }
92225
+ },
92226
+ "type": "unit",
92227
+ "description": "Authorization failed",
92228
+ "attributes": []
92229
+ }, {
92230
+ "code": {
92231
+ "integer": {
92232
+ "value": 404
92233
+ }
92234
+ },
92235
+ "type": "unit",
92236
+ "description": "Resource was not found",
92237
+ "attributes": []
92238
+ }, {
92239
+ "code": {
92240
+ "integer": {
92241
+ "value": 422
92242
+ }
92243
+ },
92244
+ "type": "generic_error",
92245
+ "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.",
92246
+ "attributes": []
92247
+ }],
92248
+ "attributes": [],
92249
+ "body": {
92250
+ "type": "rejection_put_form",
92251
+ "attributes": []
92252
+ }
91690
92253
  }],
91691
92254
  "attributes": [{
91692
92255
  "name": "docs",
@@ -92858,6 +93421,65 @@
92858
93421
  "type": "payment_request_form",
92859
93422
  "attributes": []
92860
93423
  }
93424
+ }, {
93425
+ "method": "POST",
93426
+ "path": "/:organization/payment/requests/:id/cancel",
93427
+ "parameters": [{
93428
+ "name": "organization",
93429
+ "type": "string",
93430
+ "location": "Path",
93431
+ "required": true,
93432
+ "description": "Refers to your organization's account identifier"
93433
+ }, {
93434
+ "name": "id",
93435
+ "type": "string",
93436
+ "location": "Path",
93437
+ "required": true,
93438
+ "description": "Filter by one or more IDs of this resource"
93439
+ }],
93440
+ "responses": [{
93441
+ "code": {
93442
+ "integer": {
93443
+ "value": 200
93444
+ }
93445
+ },
93446
+ "type": "payment_request",
93447
+ "description": "Successful response",
93448
+ "attributes": []
93449
+ }, {
93450
+ "code": {
93451
+ "integer": {
93452
+ "value": 401
93453
+ }
93454
+ },
93455
+ "type": "unit",
93456
+ "description": "Authorization failed",
93457
+ "attributes": []
93458
+ }, {
93459
+ "code": {
93460
+ "integer": {
93461
+ "value": 404
93462
+ }
93463
+ },
93464
+ "type": "unit",
93465
+ "description": "Resource was not found",
93466
+ "attributes": []
93467
+ }, {
93468
+ "code": {
93469
+ "integer": {
93470
+ "value": 422
93471
+ }
93472
+ },
93473
+ "type": "generic_error",
93474
+ "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.",
93475
+ "attributes": []
93476
+ }],
93477
+ "attributes": [],
93478
+ "description": "Cancels the payment request.",
93479
+ "body": {
93480
+ "type": "payment_request_cancellation_reason",
93481
+ "attributes": []
93482
+ }
92861
93483
  }, {
92862
93484
  "method": "POST",
92863
93485
  "path": "/:organization/payment/requests/:id/capture",