@flowio/api-mock-generator 6.17.40 → 6.17.41

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 +965 -280
  2. package/package.json +2 -2
  3. package/src/api.json +965 -280
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.1",
13
+ "version" : "0.17.7",
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.3",
34
+ "version" : "0.3.4",
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.3",
49
+ "version" : "0.3.4",
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.3",
64
+ "version" : "0.3.4",
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" : [ ],
@@ -174,14 +174,6 @@
174
174
  } ],
175
175
  "attributes" : [ ],
176
176
  "description" : "The aggregate function to be applied"
177
- }, {
178
- "name" : "attachment_type",
179
- "plural" : "attachment_types",
180
- "values" : [ {
181
- "name" : "csv",
182
- "attributes" : [ ]
183
- } ],
184
- "attributes" : [ ]
185
177
  }, {
186
178
  "name" : "attribute_data_type",
187
179
  "plural" : "attribute_data_types",
@@ -3552,25 +3544,25 @@
3552
3544
  "attributes" : [ ],
3553
3545
  "description" : "The payment method type."
3554
3546
  }, {
3555
- "name" : "payout_status_code",
3556
- "plural" : "payout_status_codes",
3547
+ "name" : "payout_attachment_type",
3548
+ "plural" : "payout_attachment_types",
3557
3549
  "values" : [ {
3558
- "name" : "scheduled",
3559
- "attributes" : [ ]
3560
- }, {
3561
- "name" : "sent",
3550
+ "name" : "transactions",
3562
3551
  "attributes" : [ ]
3563
- }, {
3564
- "name" : "cancelled",
3565
- "attributes" : [ ]
3566
- }, {
3567
- "name" : "failed",
3552
+ } ],
3553
+ "attributes" : [ ]
3554
+ }, {
3555
+ "name" : "payout_status_failure_code",
3556
+ "plural" : "payout_status_failure_codes",
3557
+ "values" : [ {
3558
+ "name" : "invalid_account_number",
3568
3559
  "attributes" : [ ]
3569
3560
  }, {
3570
- "name" : "succeeded",
3561
+ "name" : "could_not_process",
3571
3562
  "attributes" : [ ]
3572
3563
  } ],
3573
- "attributes" : [ ]
3564
+ "attributes" : [ ],
3565
+ "description" : "Modeled from stripe: https://stripe.com/docs/api/payouts/failures"
3574
3566
  }, {
3575
3567
  "name" : "permitted_http_method",
3576
3568
  "plural" : "permitted_http_methods",
@@ -4281,6 +4273,14 @@
4281
4273
  "attributes" : [ ]
4282
4274
  } ],
4283
4275
  "attributes" : [ ]
4276
+ }, {
4277
+ "name" : "statement_attachment_type",
4278
+ "plural" : "statement_attachment_types",
4279
+ "values" : [ {
4280
+ "name" : "csv",
4281
+ "attributes" : [ ]
4282
+ } ],
4283
+ "attributes" : [ ]
4284
4284
  }, {
4285
4285
  "name" : "strategy",
4286
4286
  "plural" : "strategies",
@@ -5435,6 +5435,150 @@
5435
5435
  "description" : "Client's unique identifier for this object"
5436
5436
  } ],
5437
5437
  "attributes" : [ ]
5438
+ }, {
5439
+ "name" : "generic_statement",
5440
+ "plural" : "generic_statements",
5441
+ "fields" : [ {
5442
+ "name" : "id",
5443
+ "type" : "string",
5444
+ "required" : true,
5445
+ "attributes" : [ ],
5446
+ "annotations" : [ ],
5447
+ "description" : "Globally unique identifier"
5448
+ }, {
5449
+ "name" : "account",
5450
+ "type" : "account_reference",
5451
+ "required" : true,
5452
+ "attributes" : [ ],
5453
+ "annotations" : [ ]
5454
+ }, {
5455
+ "name" : "ending_balance",
5456
+ "type" : "decimal",
5457
+ "required" : true,
5458
+ "attributes" : [ ],
5459
+ "annotations" : [ ]
5460
+ }, {
5461
+ "name" : "settlement",
5462
+ "type" : "settlement",
5463
+ "required" : true,
5464
+ "attributes" : [ ],
5465
+ "annotations" : [ ]
5466
+ }, {
5467
+ "name" : "attachments",
5468
+ "type" : "[attachment]",
5469
+ "required" : true,
5470
+ "attributes" : [ ],
5471
+ "annotations" : [ ]
5472
+ }, {
5473
+ "name" : "created_at",
5474
+ "type" : "date-time-iso8601",
5475
+ "required" : true,
5476
+ "attributes" : [ ],
5477
+ "annotations" : [ ]
5478
+ } ],
5479
+ "attributes" : [ ]
5480
+ }, {
5481
+ "name" : "generic_transaction",
5482
+ "plural" : "generic_transactions",
5483
+ "fields" : [ {
5484
+ "name" : "id",
5485
+ "type" : "string",
5486
+ "required" : true,
5487
+ "attributes" : [ ],
5488
+ "annotations" : [ ],
5489
+ "description" : "Globally unique identifier"
5490
+ }, {
5491
+ "name" : "order",
5492
+ "type" : "billing_channel_order_summary",
5493
+ "required" : false,
5494
+ "attributes" : [ ],
5495
+ "annotations" : [ ]
5496
+ }, {
5497
+ "name" : "statement",
5498
+ "type" : "billing_channel_statement_reference",
5499
+ "required" : false,
5500
+ "attributes" : [ ],
5501
+ "annotations" : [ ]
5502
+ }, {
5503
+ "name" : "payment_request",
5504
+ "type" : "billing_channel_payment_request_reference",
5505
+ "required" : false,
5506
+ "attributes" : [ ],
5507
+ "annotations" : [ ]
5508
+ }, {
5509
+ "name" : "currency",
5510
+ "type" : "string",
5511
+ "required" : true,
5512
+ "attributes" : [ ],
5513
+ "annotations" : [ ]
5514
+ }, {
5515
+ "name" : "source",
5516
+ "type" : "transaction_source",
5517
+ "required" : true,
5518
+ "attributes" : [ ],
5519
+ "annotations" : [ ]
5520
+ }, {
5521
+ "name" : "parent",
5522
+ "type" : "parent_transaction_summary",
5523
+ "required" : false,
5524
+ "attributes" : [ ],
5525
+ "annotations" : [ ]
5526
+ }, {
5527
+ "name" : "gross",
5528
+ "type" : "decimal",
5529
+ "required" : true,
5530
+ "attributes" : [ ],
5531
+ "annotations" : [ ]
5532
+ }, {
5533
+ "name" : "fees",
5534
+ "type" : "[fee_deduction]",
5535
+ "required" : true,
5536
+ "attributes" : [ ],
5537
+ "annotations" : [ ],
5538
+ "default" : "[]"
5539
+ }, {
5540
+ "name" : "withholdings",
5541
+ "type" : "[withholding_deduction]",
5542
+ "required" : true,
5543
+ "attributes" : [ ],
5544
+ "annotations" : [ ],
5545
+ "default" : "[]"
5546
+ }, {
5547
+ "name" : "discounts",
5548
+ "type" : "[billing_discount]",
5549
+ "required" : true,
5550
+ "attributes" : [ ],
5551
+ "annotations" : [ ],
5552
+ "default" : "[]"
5553
+ }, {
5554
+ "name" : "net",
5555
+ "type" : "decimal",
5556
+ "required" : true,
5557
+ "attributes" : [ ],
5558
+ "annotations" : [ ],
5559
+ "description" : "net = gross -fees - withholdings"
5560
+ }, {
5561
+ "name" : "identifiers",
5562
+ "type" : "map[string]",
5563
+ "required" : true,
5564
+ "attributes" : [ ],
5565
+ "annotations" : [ ],
5566
+ "description" : "We serialize any transaction level identifiers as key/value pairs here",
5567
+ "default" : "{}"
5568
+ }, {
5569
+ "name" : "created_at",
5570
+ "type" : "date-time-iso8601",
5571
+ "required" : true,
5572
+ "attributes" : [ ],
5573
+ "annotations" : [ ]
5574
+ }, {
5575
+ "name" : "updated_at",
5576
+ "type" : "date-time-iso8601",
5577
+ "required" : true,
5578
+ "attributes" : [ ],
5579
+ "annotations" : [ ]
5580
+ } ],
5581
+ "attributes" : [ ]
5438
5582
  }, {
5439
5583
  "name" : "id_reference",
5440
5584
  "plural" : "id_references",
@@ -5575,42 +5719,8 @@
5575
5719
  } ],
5576
5720
  "attributes" : [ ]
5577
5721
  }, {
5578
- "name" : "ratecard_estimate",
5579
- "plural" : "ratecard_estimates",
5580
- "fields" : [ {
5581
- "name" : "delivered_duty",
5582
- "type" : "delivered_duty",
5583
- "required" : true,
5584
- "attributes" : [ ],
5585
- "annotations" : [ ],
5586
- "description" : "Delivered duty type for the estimate. This is taken from the ratecard lane.",
5587
- "example" : "paid"
5588
- }, {
5589
- "name" : "dimensional_weight",
5590
- "type" : "measurement",
5591
- "required" : false,
5592
- "attributes" : [ ],
5593
- "annotations" : [ ],
5594
- "description" : "Estimated dimensional weight (i.e. length x width x depth / dim factor) based on dimensions provided to estimates endpoint or organization dimension estimates. Provided for transparency and any future troubleshooting."
5595
- }, {
5596
- "name" : "gravitational_weight",
5597
- "type" : "measurement",
5598
- "required" : false,
5599
- "attributes" : [ ],
5600
- "annotations" : [ ],
5601
- "description" : "Estimated gravitational weight (i.e. actual weight) based on dimensions provided to estimates endpoint or organization weight estimates. Provided for transparency and any future troubleshooting."
5602
- }, {
5603
- "name" : "line_items",
5604
- "type" : "[line_item_form]",
5605
- "required" : false,
5606
- "attributes" : [ ],
5607
- "annotations" : [ ],
5608
- "description" : "Items included in the package, if available."
5609
- } ],
5610
- "attributes" : [ ]
5611
- }, {
5612
- "name" : "statement_interface",
5613
- "plural" : "statement_interfaces",
5722
+ "name" : "payout",
5723
+ "plural" : "payouts",
5614
5724
  "fields" : [ {
5615
5725
  "name" : "id",
5616
5726
  "type" : "string",
@@ -5625,20 +5735,20 @@
5625
5735
  "attributes" : [ ],
5626
5736
  "annotations" : [ ]
5627
5737
  }, {
5628
- "name" : "ending_balance",
5629
- "type" : "decimal",
5738
+ "name" : "status",
5739
+ "type" : "payout_status",
5630
5740
  "required" : true,
5631
5741
  "attributes" : [ ],
5632
5742
  "annotations" : [ ]
5633
5743
  }, {
5634
- "name" : "settlement",
5635
- "type" : "settlement",
5744
+ "name" : "amount",
5745
+ "type" : "decimal",
5636
5746
  "required" : true,
5637
5747
  "attributes" : [ ],
5638
5748
  "annotations" : [ ]
5639
5749
  }, {
5640
5750
  "name" : "attachments",
5641
- "type" : "[attachment]",
5751
+ "type" : "[payout_attachment]",
5642
5752
  "required" : true,
5643
5753
  "attributes" : [ ],
5644
5754
  "annotations" : [ ]
@@ -5648,6 +5758,63 @@
5648
5758
  "required" : true,
5649
5759
  "attributes" : [ ],
5650
5760
  "annotations" : [ ]
5761
+ }, {
5762
+ "name" : "updated_at",
5763
+ "type" : "date-time-iso8601",
5764
+ "required" : true,
5765
+ "attributes" : [ ],
5766
+ "annotations" : [ ]
5767
+ } ],
5768
+ "attributes" : [ ]
5769
+ }, {
5770
+ "name" : "payout_interface",
5771
+ "plural" : "payout_interfaces",
5772
+ "fields" : [ {
5773
+ "name" : "status",
5774
+ "type" : "payout_status",
5775
+ "required" : true,
5776
+ "attributes" : [ ],
5777
+ "annotations" : [ ]
5778
+ }, {
5779
+ "name" : "amount",
5780
+ "type" : "decimal",
5781
+ "required" : true,
5782
+ "attributes" : [ ],
5783
+ "annotations" : [ ]
5784
+ } ],
5785
+ "attributes" : [ ]
5786
+ }, {
5787
+ "name" : "ratecard_estimate",
5788
+ "plural" : "ratecard_estimates",
5789
+ "fields" : [ {
5790
+ "name" : "delivered_duty",
5791
+ "type" : "delivered_duty",
5792
+ "required" : true,
5793
+ "attributes" : [ ],
5794
+ "annotations" : [ ],
5795
+ "description" : "Delivered duty type for the estimate. This is taken from the ratecard lane.",
5796
+ "example" : "paid"
5797
+ }, {
5798
+ "name" : "dimensional_weight",
5799
+ "type" : "measurement",
5800
+ "required" : false,
5801
+ "attributes" : [ ],
5802
+ "annotations" : [ ],
5803
+ "description" : "Estimated dimensional weight (i.e. length x width x depth / dim factor) based on dimensions provided to estimates endpoint or organization dimension estimates. Provided for transparency and any future troubleshooting."
5804
+ }, {
5805
+ "name" : "gravitational_weight",
5806
+ "type" : "measurement",
5807
+ "required" : false,
5808
+ "attributes" : [ ],
5809
+ "annotations" : [ ],
5810
+ "description" : "Estimated gravitational weight (i.e. actual weight) based on dimensions provided to estimates endpoint or organization weight estimates. Provided for transparency and any future troubleshooting."
5811
+ }, {
5812
+ "name" : "line_items",
5813
+ "type" : "[line_item_form]",
5814
+ "required" : false,
5815
+ "attributes" : [ ],
5816
+ "annotations" : [ ],
5817
+ "description" : "Items included in the package, if available."
5651
5818
  } ],
5652
5819
  "attributes" : [ ]
5653
5820
  }, {
@@ -5762,108 +5929,6 @@
5762
5929
  "annotations" : [ ]
5763
5930
  } ],
5764
5931
  "attributes" : [ ]
5765
- }, {
5766
- "name" : "transaction_interface",
5767
- "plural" : "transaction_interfaces",
5768
- "fields" : [ {
5769
- "name" : "id",
5770
- "type" : "string",
5771
- "required" : true,
5772
- "attributes" : [ ],
5773
- "annotations" : [ ],
5774
- "description" : "Globally unique identifier"
5775
- }, {
5776
- "name" : "order",
5777
- "type" : "billing_channel_order_summary",
5778
- "required" : false,
5779
- "attributes" : [ ],
5780
- "annotations" : [ ]
5781
- }, {
5782
- "name" : "statement",
5783
- "type" : "billing_channel_statement_reference",
5784
- "required" : false,
5785
- "attributes" : [ ],
5786
- "annotations" : [ ]
5787
- }, {
5788
- "name" : "payment_request",
5789
- "type" : "billing_channel_payment_request_reference",
5790
- "required" : false,
5791
- "attributes" : [ ],
5792
- "annotations" : [ ]
5793
- }, {
5794
- "name" : "currency",
5795
- "type" : "string",
5796
- "required" : true,
5797
- "attributes" : [ ],
5798
- "annotations" : [ ]
5799
- }, {
5800
- "name" : "source",
5801
- "type" : "transaction_source",
5802
- "required" : true,
5803
- "attributes" : [ ],
5804
- "annotations" : [ ]
5805
- }, {
5806
- "name" : "gross",
5807
- "type" : "decimal",
5808
- "required" : true,
5809
- "attributes" : [ ],
5810
- "annotations" : [ ]
5811
- }, {
5812
- "name" : "fees",
5813
- "type" : "[fee_deduction]",
5814
- "required" : true,
5815
- "attributes" : [ ],
5816
- "annotations" : [ ],
5817
- "default" : "[]"
5818
- }, {
5819
- "name" : "withholdings",
5820
- "type" : "[withholding_deduction]",
5821
- "required" : true,
5822
- "attributes" : [ ],
5823
- "annotations" : [ ],
5824
- "default" : "[]"
5825
- }, {
5826
- "name" : "discounts",
5827
- "type" : "[billing_discount]",
5828
- "required" : true,
5829
- "attributes" : [ ],
5830
- "annotations" : [ ],
5831
- "default" : "[]"
5832
- }, {
5833
- "name" : "net",
5834
- "type" : "decimal",
5835
- "required" : true,
5836
- "attributes" : [ ],
5837
- "annotations" : [ ],
5838
- "description" : "net = gross -fees - withholdings"
5839
- }, {
5840
- "name" : "identifiers",
5841
- "type" : "map[string]",
5842
- "required" : true,
5843
- "attributes" : [ ],
5844
- "annotations" : [ ],
5845
- "description" : "We serialize any transaction level identifiers as key/value pairs here",
5846
- "default" : "{}"
5847
- }, {
5848
- "name" : "created_at",
5849
- "type" : "date-time-iso8601",
5850
- "required" : true,
5851
- "attributes" : [ ],
5852
- "annotations" : [ ]
5853
- } ],
5854
- "attributes" : [ ]
5855
- }, {
5856
- "name" : "transaction_source_interface",
5857
- "plural" : "transaction_source_interfaces",
5858
- "fields" : [ {
5859
- "name" : "id",
5860
- "type" : "string",
5861
- "required" : true,
5862
- "attributes" : [ ],
5863
- "annotations" : [ ],
5864
- "description" : "Globally unique identifier"
5865
- } ],
5866
- "attributes" : [ ]
5867
5932
  } ],
5868
5933
  "unions" : [ {
5869
5934
  "name" : "abandoned_order_promotion_details",
@@ -8003,6 +8068,28 @@
8003
8068
  "attributes" : [ ],
8004
8069
  "interfaces" : [ ],
8005
8070
  "discriminator" : "discriminator"
8071
+ }, {
8072
+ "name" : "payout_status",
8073
+ "plural" : "payout_statuses",
8074
+ "types" : [ {
8075
+ "type" : "payout_status_scheduled",
8076
+ "attributes" : [ ],
8077
+ "default" : false,
8078
+ "discriminator_value" : "scheduled"
8079
+ }, {
8080
+ "type" : "payout_status_sent",
8081
+ "attributes" : [ ],
8082
+ "default" : false,
8083
+ "discriminator_value" : "sent"
8084
+ }, {
8085
+ "type" : "payout_status_failed",
8086
+ "attributes" : [ ],
8087
+ "default" : false,
8088
+ "discriminator_value" : "failed"
8089
+ } ],
8090
+ "attributes" : [ ],
8091
+ "interfaces" : [ ],
8092
+ "discriminator" : "code"
8006
8093
  }, {
8007
8094
  "name" : "price_source",
8008
8095
  "plural" : "price_sources",
@@ -8310,12 +8397,12 @@
8310
8397
  "name" : "settlement",
8311
8398
  "plural" : "settlements",
8312
8399
  "types" : [ {
8313
- "type" : "no_payout",
8400
+ "type" : "settlement_no_payout",
8314
8401
  "attributes" : [ ],
8315
8402
  "default" : false,
8316
8403
  "discriminator_value" : "no_payout"
8317
8404
  }, {
8318
- "type" : "payout",
8405
+ "type" : "settlement_payout",
8319
8406
  "attributes" : [ ],
8320
8407
  "default" : false,
8321
8408
  "discriminator_value" : "payout"
@@ -10411,7 +10498,7 @@
10411
10498
  "plural" : "attachments",
10412
10499
  "fields" : [ {
10413
10500
  "name" : "type",
10414
- "type" : "attachment_type",
10501
+ "type" : "statement_attachment_type",
10415
10502
  "required" : true,
10416
10503
  "attributes" : [ ],
10417
10504
  "annotations" : [ ]
@@ -14747,6 +14834,55 @@
14747
14834
  } ],
14748
14835
  "attributes" : [ ],
14749
14836
  "interfaces" : [ ]
14837
+ }, {
14838
+ "name" : "channel_payout",
14839
+ "plural" : "channel_payouts",
14840
+ "fields" : [ {
14841
+ "name" : "id",
14842
+ "type" : "string",
14843
+ "required" : true,
14844
+ "attributes" : [ ],
14845
+ "annotations" : [ ],
14846
+ "description" : "Globally unique identifier"
14847
+ }, {
14848
+ "name" : "account",
14849
+ "type" : "account_reference",
14850
+ "required" : true,
14851
+ "attributes" : [ ],
14852
+ "annotations" : [ ]
14853
+ }, {
14854
+ "name" : "status",
14855
+ "type" : "payout_status",
14856
+ "required" : true,
14857
+ "attributes" : [ ],
14858
+ "annotations" : [ ]
14859
+ }, {
14860
+ "name" : "amount",
14861
+ "type" : "decimal",
14862
+ "required" : true,
14863
+ "attributes" : [ ],
14864
+ "annotations" : [ ]
14865
+ }, {
14866
+ "name" : "attachments",
14867
+ "type" : "[payout_attachment]",
14868
+ "required" : true,
14869
+ "attributes" : [ ],
14870
+ "annotations" : [ ]
14871
+ }, {
14872
+ "name" : "created_at",
14873
+ "type" : "date-time-iso8601",
14874
+ "required" : true,
14875
+ "attributes" : [ ],
14876
+ "annotations" : [ ]
14877
+ }, {
14878
+ "name" : "updated_at",
14879
+ "type" : "date-time-iso8601",
14880
+ "required" : true,
14881
+ "attributes" : [ ],
14882
+ "annotations" : [ ]
14883
+ } ],
14884
+ "attributes" : [ ],
14885
+ "interfaces" : [ "payout_interface", "payout" ]
14750
14886
  }, {
14751
14887
  "name" : "channel_rate",
14752
14888
  "plural" : "channel_rates",
@@ -14814,7 +14950,7 @@
14814
14950
  "annotations" : [ ]
14815
14951
  } ],
14816
14952
  "attributes" : [ ],
14817
- "interfaces" : [ "statement_interface" ]
14953
+ "interfaces" : [ "generic_statement" ]
14818
14954
  }, {
14819
14955
  "name" : "channel_statement_deleted",
14820
14956
  "plural" : "channel_statement_deleteds",
@@ -15013,6 +15149,12 @@
15013
15149
  "required" : true,
15014
15150
  "attributes" : [ ],
15015
15151
  "annotations" : [ ]
15152
+ }, {
15153
+ "name" : "parent",
15154
+ "type" : "parent_transaction_summary",
15155
+ "required" : false,
15156
+ "attributes" : [ ],
15157
+ "annotations" : [ ]
15016
15158
  }, {
15017
15159
  "name" : "gross",
15018
15160
  "type" : "decimal",
@@ -15061,9 +15203,15 @@
15061
15203
  "required" : true,
15062
15204
  "attributes" : [ ],
15063
15205
  "annotations" : [ ]
15206
+ }, {
15207
+ "name" : "updated_at",
15208
+ "type" : "date-time-iso8601",
15209
+ "required" : true,
15210
+ "attributes" : [ ],
15211
+ "annotations" : [ ]
15064
15212
  } ],
15065
15213
  "attributes" : [ ],
15066
- "interfaces" : [ "transaction_interface" ]
15214
+ "interfaces" : [ "generic_transaction" ]
15067
15215
  }, {
15068
15216
  "name" : "channel_transaction_deleted",
15069
15217
  "plural" : "channel_transaction_deleteds",
@@ -29356,19 +29504,6 @@
29356
29504
  } ],
29357
29505
  "attributes" : [ ],
29358
29506
  "interfaces" : [ ]
29359
- }, {
29360
- "name" : "no_payout",
29361
- "plural" : "no_payouts",
29362
- "fields" : [ {
29363
- "name" : "placeholder",
29364
- "type" : "string",
29365
- "required" : false,
29366
- "attributes" : [ ],
29367
- "annotations" : [ ]
29368
- } ],
29369
- "attributes" : [ ],
29370
- "interfaces" : [ ],
29371
- "description" : "This model indicates that a statement is generated with no funds due to the merchant"
29372
29507
  }, {
29373
29508
  "name" : "notification_deleted_v2",
29374
29509
  "plural" : "notification_deleted_v2s",
@@ -33852,6 +33987,55 @@
33852
33987
  } ],
33853
33988
  "attributes" : [ ],
33854
33989
  "interfaces" : [ ]
33990
+ }, {
33991
+ "name" : "organization_payout",
33992
+ "plural" : "organization_payouts",
33993
+ "fields" : [ {
33994
+ "name" : "id",
33995
+ "type" : "string",
33996
+ "required" : true,
33997
+ "attributes" : [ ],
33998
+ "annotations" : [ ],
33999
+ "description" : "Globally unique identifier"
34000
+ }, {
34001
+ "name" : "account",
34002
+ "type" : "account_reference",
34003
+ "required" : true,
34004
+ "attributes" : [ ],
34005
+ "annotations" : [ ]
34006
+ }, {
34007
+ "name" : "status",
34008
+ "type" : "payout_status",
34009
+ "required" : true,
34010
+ "attributes" : [ ],
34011
+ "annotations" : [ ]
34012
+ }, {
34013
+ "name" : "amount",
34014
+ "type" : "decimal",
34015
+ "required" : true,
34016
+ "attributes" : [ ],
34017
+ "annotations" : [ ]
34018
+ }, {
34019
+ "name" : "attachments",
34020
+ "type" : "[payout_attachment]",
34021
+ "required" : true,
34022
+ "attributes" : [ ],
34023
+ "annotations" : [ ]
34024
+ }, {
34025
+ "name" : "created_at",
34026
+ "type" : "date-time-iso8601",
34027
+ "required" : true,
34028
+ "attributes" : [ ],
34029
+ "annotations" : [ ]
34030
+ }, {
34031
+ "name" : "updated_at",
34032
+ "type" : "date-time-iso8601",
34033
+ "required" : true,
34034
+ "attributes" : [ ],
34035
+ "annotations" : [ ]
34036
+ } ],
34037
+ "attributes" : [ ],
34038
+ "interfaces" : [ "payout_interface", "payout" ]
33855
34039
  }, {
33856
34040
  "name" : "organization_put_form",
33857
34041
  "plural" : "organization_put_forms",
@@ -34599,6 +34783,25 @@
34599
34783
  "attributes" : [ ],
34600
34784
  "interfaces" : [ ],
34601
34785
  "description" : "Represents packaging available to ship items"
34786
+ }, {
34787
+ "name" : "parent_transaction_summary",
34788
+ "plural" : "parent_transaction_summaries",
34789
+ "fields" : [ {
34790
+ "name" : "id",
34791
+ "type" : "string",
34792
+ "required" : true,
34793
+ "attributes" : [ ],
34794
+ "annotations" : [ ],
34795
+ "description" : "Globally unique identifier"
34796
+ }, {
34797
+ "name" : "source",
34798
+ "type" : "transaction_source",
34799
+ "required" : true,
34800
+ "attributes" : [ ],
34801
+ "annotations" : [ ]
34802
+ } ],
34803
+ "attributes" : [ ],
34804
+ "interfaces" : [ ]
34602
34805
  }, {
34603
34806
  "name" : "partner_center",
34604
34807
  "plural" : "partner_centers",
@@ -37186,40 +37389,46 @@
37186
37389
  "attributes" : [ ],
37187
37390
  "interfaces" : [ ]
37188
37391
  }, {
37189
- "name" : "payout",
37190
- "plural" : "payouts",
37392
+ "name" : "payout_attachment",
37393
+ "plural" : "payout_attachments",
37191
37394
  "fields" : [ {
37192
- "name" : "status",
37193
- "type" : "payout_status",
37395
+ "name" : "type",
37396
+ "type" : "payout_attachment_type",
37194
37397
  "required" : true,
37195
37398
  "attributes" : [ ],
37196
37399
  "annotations" : [ ]
37197
37400
  }, {
37198
- "name" : "amount",
37199
- "type" : "decimal",
37401
+ "name" : "url",
37402
+ "type" : "string",
37200
37403
  "required" : true,
37201
37404
  "attributes" : [ ],
37202
37405
  "annotations" : [ ]
37203
- }, {
37204
- "name" : "sent_on",
37205
- "type" : "date-time-iso8601",
37206
- "required" : false,
37207
- "attributes" : [ ],
37208
- "annotations" : [ ]
37209
37406
  } ],
37210
37407
  "attributes" : [ ],
37211
37408
  "interfaces" : [ ]
37212
37409
  }, {
37213
- "name" : "payout_status",
37214
- "plural" : "payout_statuses",
37410
+ "name" : "payout_status_failed",
37411
+ "plural" : "payout_status_faileds",
37215
37412
  "fields" : [ {
37216
- "name" : "code",
37217
- "type" : "payout_status_code",
37413
+ "name" : "timestamp",
37414
+ "type" : "date-time-iso8601",
37218
37415
  "required" : true,
37219
37416
  "attributes" : [ ],
37220
37417
  "annotations" : [ ]
37221
37418
  }, {
37222
37419
  "name" : "reason",
37420
+ "type" : "payout_status_failure_code",
37421
+ "required" : true,
37422
+ "attributes" : [ ],
37423
+ "annotations" : [ ]
37424
+ } ],
37425
+ "attributes" : [ ],
37426
+ "interfaces" : [ ]
37427
+ }, {
37428
+ "name" : "payout_status_scheduled",
37429
+ "plural" : "payout_status_scheduleds",
37430
+ "fields" : [ {
37431
+ "name" : "placeholder",
37223
37432
  "type" : "string",
37224
37433
  "required" : false,
37225
37434
  "attributes" : [ ],
@@ -37227,6 +37436,18 @@
37227
37436
  } ],
37228
37437
  "attributes" : [ ],
37229
37438
  "interfaces" : [ ]
37439
+ }, {
37440
+ "name" : "payout_status_sent",
37441
+ "plural" : "payout_status_sents",
37442
+ "fields" : [ {
37443
+ "name" : "timestamp",
37444
+ "type" : "date-time-iso8601",
37445
+ "required" : true,
37446
+ "attributes" : [ ],
37447
+ "annotations" : [ ]
37448
+ } ],
37449
+ "attributes" : [ ],
37450
+ "interfaces" : [ ]
37230
37451
  }, {
37231
37452
  "name" : "paypal_authorization_details",
37232
37453
  "plural" : "paypal_authorization_detailses",
@@ -43633,6 +43854,43 @@
43633
43854
  "attributes" : [ ],
43634
43855
  "interfaces" : [ ],
43635
43856
  "description" : "A session visitor is a unique identifier for our best guess as to who the individual user is interacting with Flow."
43857
+ }, {
43858
+ "name" : "settlement_no_payout",
43859
+ "plural" : "settlement_no_payouts",
43860
+ "fields" : [ {
43861
+ "name" : "placeholder",
43862
+ "type" : "string",
43863
+ "required" : false,
43864
+ "attributes" : [ ],
43865
+ "annotations" : [ ]
43866
+ } ],
43867
+ "attributes" : [ ],
43868
+ "interfaces" : [ ],
43869
+ "description" : "This model indicates that a statement is generated with no funds due to the merchant"
43870
+ }, {
43871
+ "name" : "settlement_payout",
43872
+ "plural" : "settlement_payouts",
43873
+ "fields" : [ {
43874
+ "name" : "status",
43875
+ "type" : "payout_status",
43876
+ "required" : true,
43877
+ "attributes" : [ ],
43878
+ "annotations" : [ ]
43879
+ }, {
43880
+ "name" : "amount",
43881
+ "type" : "decimal",
43882
+ "required" : true,
43883
+ "attributes" : [ ],
43884
+ "annotations" : [ ]
43885
+ }, {
43886
+ "name" : "sent_on",
43887
+ "type" : "date-time-iso8601",
43888
+ "required" : false,
43889
+ "attributes" : [ ],
43890
+ "annotations" : [ ]
43891
+ } ],
43892
+ "attributes" : [ ],
43893
+ "interfaces" : [ "payout_interface" ]
43636
43894
  }, {
43637
43895
  "name" : "setup_blocked",
43638
43896
  "plural" : "setup_blockeds",
@@ -43650,9 +43908,9 @@
43650
43908
  "name" : "setup_completed",
43651
43909
  "plural" : "setup_completeds",
43652
43910
  "fields" : [ {
43653
- "name" : "placeholder",
43654
- "type" : "boolean",
43655
- "required" : false,
43911
+ "name" : "third_party_logistics_guid",
43912
+ "type" : "string",
43913
+ "required" : true,
43656
43914
  "attributes" : [ ],
43657
43915
  "annotations" : [ ]
43658
43916
  } ],
@@ -46848,7 +47106,7 @@
46848
47106
  "annotations" : [ ]
46849
47107
  } ],
46850
47108
  "attributes" : [ ],
46851
- "interfaces" : [ "statement_interface" ]
47109
+ "interfaces" : [ "generic_statement" ]
46852
47110
  }, {
46853
47111
  "name" : "statement_deleted",
46854
47112
  "plural" : "statement_deleteds",
@@ -50054,6 +50312,12 @@
50054
50312
  "required" : true,
50055
50313
  "attributes" : [ ],
50056
50314
  "annotations" : [ ]
50315
+ }, {
50316
+ "name" : "parent",
50317
+ "type" : "parent_transaction_summary",
50318
+ "required" : false,
50319
+ "attributes" : [ ],
50320
+ "annotations" : [ ]
50057
50321
  }, {
50058
50322
  "name" : "gross",
50059
50323
  "type" : "decimal",
@@ -50102,9 +50366,15 @@
50102
50366
  "required" : true,
50103
50367
  "attributes" : [ ],
50104
50368
  "annotations" : [ ]
50369
+ }, {
50370
+ "name" : "updated_at",
50371
+ "type" : "date-time-iso8601",
50372
+ "required" : true,
50373
+ "attributes" : [ ],
50374
+ "annotations" : [ ]
50105
50375
  } ],
50106
50376
  "attributes" : [ ],
50107
- "interfaces" : [ "transaction_interface" ]
50377
+ "interfaces" : [ "generic_transaction" ]
50108
50378
  }, {
50109
50379
  "name" : "transaction_details_card",
50110
50380
  "plural" : "transaction_details_cards",
@@ -75733,14 +76003,14 @@
75733
76003
  "value" : 422
75734
76004
  }
75735
76005
  },
75736
- "type" : "location_error",
76006
+ "type" : "unit",
75737
76007
  "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.",
75738
76008
  "attributes" : [ ]
75739
76009
  } ],
75740
76010
  "attributes" : [ {
75741
76011
  "name" : "linter",
75742
76012
  "value" : {
75743
- "ignore" : [ "get", "versions" ]
76013
+ "ignore" : [ "get", "versions", "response_codes" ]
75744
76014
  }
75745
76015
  } ],
75746
76016
  "description" : "Geolocates the request based on the provided parameters, returning a list of potential matching addresses."
@@ -77566,6 +77836,69 @@
77566
77836
  } ],
77567
77837
  "path" : "/:organization/b2b/invoices",
77568
77838
  "description" : "The b2b invoice represents a transaction between Flow and one of our clients (e.g. Flow purchasing inventory to resell to a consumer)."
77839
+ }, {
77840
+ "type" : "bank_account_form",
77841
+ "plural" : "bank_account_forms",
77842
+ "operations" : [ {
77843
+ "method" : "PUT",
77844
+ "path" : "/:organization/shopify/merchant/config/bank/account",
77845
+ "parameters" : [ {
77846
+ "name" : "organization",
77847
+ "type" : "string",
77848
+ "location" : "Path",
77849
+ "required" : true,
77850
+ "description" : "Refers to your organization's account identifier"
77851
+ } ],
77852
+ "responses" : [ {
77853
+ "code" : {
77854
+ "integer" : {
77855
+ "value" : 200
77856
+ }
77857
+ },
77858
+ "type" : "organization_bank_account",
77859
+ "description" : "Successful response",
77860
+ "attributes" : [ ]
77861
+ }, {
77862
+ "code" : {
77863
+ "integer" : {
77864
+ "value" : 401
77865
+ }
77866
+ },
77867
+ "type" : "unit",
77868
+ "description" : "Authorization failed",
77869
+ "attributes" : [ ]
77870
+ }, {
77871
+ "code" : {
77872
+ "integer" : {
77873
+ "value" : 404
77874
+ }
77875
+ },
77876
+ "type" : "unit",
77877
+ "description" : "Resource was not found",
77878
+ "attributes" : [ ]
77879
+ }, {
77880
+ "code" : {
77881
+ "integer" : {
77882
+ "value" : 422
77883
+ }
77884
+ },
77885
+ "type" : "generic_error",
77886
+ "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.",
77887
+ "attributes" : [ ]
77888
+ } ],
77889
+ "attributes" : [ ],
77890
+ "body" : {
77891
+ "type" : "bank_account_form",
77892
+ "attributes" : [ ]
77893
+ }
77894
+ } ],
77895
+ "attributes" : [ {
77896
+ "name" : "docs",
77897
+ "value" : {
77898
+ "module" : "general"
77899
+ }
77900
+ } ],
77901
+ "path" : "/:organization/shopify/merchant/config/bank/account"
77569
77902
  }, {
77570
77903
  "type" : "catalog_price_book_item_document",
77571
77904
  "plural" : "catalog_price_book_item_documents",
@@ -77732,6 +78065,11 @@
77732
78065
  "location" : "Query",
77733
78066
  "required" : false,
77734
78067
  "maximum" : 100
78068
+ }, {
78069
+ "name" : "organization_id",
78070
+ "type" : "string",
78071
+ "location" : "Query",
78072
+ "required" : false
77735
78073
  }, {
77736
78074
  "name" : "limit",
77737
78075
  "type" : "long",
@@ -77960,33 +78298,250 @@
77960
78298
  "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.",
77961
78299
  "attributes" : [ ]
77962
78300
  } ],
77963
- "attributes" : [ ],
77964
- "body" : {
77965
- "type" : "channel_organization_put_form",
77966
- "attributes" : [ ]
77967
- }
78301
+ "attributes" : [ ],
78302
+ "body" : {
78303
+ "type" : "channel_organization_put_form",
78304
+ "attributes" : [ ]
78305
+ }
78306
+ }, {
78307
+ "method" : "DELETE",
78308
+ "path" : "/channel/:channel_id/organizations/:key",
78309
+ "parameters" : [ {
78310
+ "name" : "channel_id",
78311
+ "type" : "string",
78312
+ "location" : "Path",
78313
+ "required" : true
78314
+ }, {
78315
+ "name" : "key",
78316
+ "type" : "string",
78317
+ "location" : "Path",
78318
+ "required" : true
78319
+ } ],
78320
+ "responses" : [ {
78321
+ "code" : {
78322
+ "integer" : {
78323
+ "value" : 204
78324
+ }
78325
+ },
78326
+ "type" : "unit",
78327
+ "description" : "Operation succeeded. No content is returned",
78328
+ "attributes" : [ ]
78329
+ }, {
78330
+ "code" : {
78331
+ "integer" : {
78332
+ "value" : 401
78333
+ }
78334
+ },
78335
+ "type" : "unit",
78336
+ "description" : "Authorization failed",
78337
+ "attributes" : [ ]
78338
+ }, {
78339
+ "code" : {
78340
+ "integer" : {
78341
+ "value" : 404
78342
+ }
78343
+ },
78344
+ "type" : "unit",
78345
+ "description" : "Resource was not found",
78346
+ "attributes" : [ ]
78347
+ } ],
78348
+ "attributes" : [ ]
78349
+ } ],
78350
+ "attributes" : [ {
78351
+ "name" : "docs",
78352
+ "value" : {
78353
+ "module" : "general"
78354
+ }
78355
+ } ],
78356
+ "path" : "/channel/:channel_id/organizations"
78357
+ }, {
78358
+ "type" : "channel_organization_authorization",
78359
+ "plural" : "channel_organization_authorizations",
78360
+ "operations" : [ {
78361
+ "method" : "POST",
78362
+ "path" : "/channel/organization/authorizations",
78363
+ "parameters" : [ ],
78364
+ "responses" : [ {
78365
+ "code" : {
78366
+ "integer" : {
78367
+ "value" : 201
78368
+ }
78369
+ },
78370
+ "type" : "channel_organization_authorization",
78371
+ "description" : "Operation succeeded and the resource was created",
78372
+ "attributes" : [ ]
78373
+ }, {
78374
+ "code" : {
78375
+ "integer" : {
78376
+ "value" : 401
78377
+ }
78378
+ },
78379
+ "type" : "unit",
78380
+ "description" : "Authorization failed",
78381
+ "attributes" : [ ]
78382
+ }, {
78383
+ "code" : {
78384
+ "integer" : {
78385
+ "value" : 404
78386
+ }
78387
+ },
78388
+ "type" : "unit",
78389
+ "description" : "Resource was not found",
78390
+ "attributes" : [ ]
78391
+ }, {
78392
+ "code" : {
78393
+ "integer" : {
78394
+ "value" : 422
78395
+ }
78396
+ },
78397
+ "type" : "generic_error",
78398
+ "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.",
78399
+ "attributes" : [ ]
78400
+ } ],
78401
+ "attributes" : [ ],
78402
+ "body" : {
78403
+ "type" : "channel_organization_authorization_form",
78404
+ "attributes" : [ ]
78405
+ }
78406
+ } ],
78407
+ "attributes" : [ {
78408
+ "name" : "docs",
78409
+ "value" : {
78410
+ "module" : "general"
78411
+ }
78412
+ } ],
78413
+ "path" : "/channel/organization/authorizations"
78414
+ }, {
78415
+ "type" : "channel_payout",
78416
+ "plural" : "channel_payouts",
78417
+ "operations" : [ {
78418
+ "method" : "GET",
78419
+ "path" : "/channel/:channel/billing/payouts",
78420
+ "parameters" : [ {
78421
+ "name" : "channel",
78422
+ "type" : "string",
78423
+ "location" : "Path",
78424
+ "required" : true
78425
+ }, {
78426
+ "name" : "id",
78427
+ "type" : "[string]",
78428
+ "location" : "Query",
78429
+ "required" : false,
78430
+ "description" : "Filter by one or more IDs of this resource",
78431
+ "maximum" : 100
78432
+ }, {
78433
+ "name" : "since",
78434
+ "type" : "date-time-iso8601",
78435
+ "location" : "Query",
78436
+ "required" : false,
78437
+ "description" : "If specified, we return all transactions where created_at >= the provided timestamp"
78438
+ }, {
78439
+ "name" : "updated_since",
78440
+ "type" : "date-time-iso8601",
78441
+ "location" : "Query",
78442
+ "required" : false,
78443
+ "description" : "If specified, we return all transactions where updated_at >= the provided timestamp"
78444
+ }, {
78445
+ "name" : "limit",
78446
+ "type" : "long",
78447
+ "location" : "Query",
78448
+ "required" : true,
78449
+ "description" : "The maximum number of results to return",
78450
+ "default" : "25",
78451
+ "minimum" : 1,
78452
+ "maximum" : 100
78453
+ }, {
78454
+ "name" : "offset",
78455
+ "type" : "long",
78456
+ "location" : "Query",
78457
+ "required" : true,
78458
+ "description" : "The number of results to skip before returning results",
78459
+ "default" : "0",
78460
+ "minimum" : 0
78461
+ }, {
78462
+ "name" : "sort",
78463
+ "type" : "string",
78464
+ "location" : "Query",
78465
+ "required" : true,
78466
+ "default" : "-created_at"
78467
+ } ],
78468
+ "responses" : [ {
78469
+ "code" : {
78470
+ "integer" : {
78471
+ "value" : 200
78472
+ }
78473
+ },
78474
+ "type" : "[channel_payout]",
78475
+ "description" : "Successful response",
78476
+ "attributes" : [ ]
78477
+ }, {
78478
+ "code" : {
78479
+ "integer" : {
78480
+ "value" : 401
78481
+ }
78482
+ },
78483
+ "type" : "unit",
78484
+ "description" : "Authorization failed",
78485
+ "attributes" : [ ]
78486
+ }, {
78487
+ "code" : {
78488
+ "integer" : {
78489
+ "value" : 404
78490
+ }
78491
+ },
78492
+ "type" : "unit",
78493
+ "description" : "Resource was not found",
78494
+ "attributes" : [ ]
78495
+ }, {
78496
+ "code" : {
78497
+ "integer" : {
78498
+ "value" : 422
78499
+ }
78500
+ },
78501
+ "type" : "generic_error",
78502
+ "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.",
78503
+ "attributes" : [ ]
78504
+ } ],
78505
+ "attributes" : [ {
78506
+ "name" : "sort",
78507
+ "value" : {
78508
+ "values" : [ {
78509
+ "value" : "id"
78510
+ }, {
78511
+ "value" : "created_at"
78512
+ }, {
78513
+ "value" : "updated_at"
78514
+ } ]
78515
+ }
78516
+ }, {
78517
+ "name" : "linter",
78518
+ "value" : {
78519
+ "ignore" : [ "versions" ]
78520
+ }
78521
+ } ]
77968
78522
  }, {
77969
- "method" : "DELETE",
77970
- "path" : "/channel/:channel_id/organizations/:key",
78523
+ "method" : "GET",
78524
+ "path" : "/channel/:channel/billing/payouts/:id",
77971
78525
  "parameters" : [ {
77972
- "name" : "channel_id",
78526
+ "name" : "channel",
77973
78527
  "type" : "string",
77974
78528
  "location" : "Path",
77975
78529
  "required" : true
77976
78530
  }, {
77977
- "name" : "key",
78531
+ "name" : "id",
77978
78532
  "type" : "string",
77979
78533
  "location" : "Path",
77980
- "required" : true
78534
+ "required" : true,
78535
+ "description" : "Filter by one or more IDs of this resource"
77981
78536
  } ],
77982
78537
  "responses" : [ {
77983
78538
  "code" : {
77984
78539
  "integer" : {
77985
- "value" : 204
78540
+ "value" : 200
77986
78541
  }
77987
78542
  },
77988
- "type" : "unit",
77989
- "description" : "Operation succeeded. No content is returned",
78543
+ "type" : "channel_payout",
78544
+ "description" : "Successful response",
77990
78545
  "attributes" : [ ]
77991
78546
  }, {
77992
78547
  "code" : {
@@ -78015,64 +78570,7 @@
78015
78570
  "module" : "general"
78016
78571
  }
78017
78572
  } ],
78018
- "path" : "/channel/:channel_id/organizations"
78019
- }, {
78020
- "type" : "channel_organization_authorization",
78021
- "plural" : "channel_organization_authorizations",
78022
- "operations" : [ {
78023
- "method" : "POST",
78024
- "path" : "/channel/organization/authorizations",
78025
- "parameters" : [ ],
78026
- "responses" : [ {
78027
- "code" : {
78028
- "integer" : {
78029
- "value" : 201
78030
- }
78031
- },
78032
- "type" : "channel_organization_authorization",
78033
- "description" : "Operation succeeded and the resource was created",
78034
- "attributes" : [ ]
78035
- }, {
78036
- "code" : {
78037
- "integer" : {
78038
- "value" : 401
78039
- }
78040
- },
78041
- "type" : "unit",
78042
- "description" : "Authorization failed",
78043
- "attributes" : [ ]
78044
- }, {
78045
- "code" : {
78046
- "integer" : {
78047
- "value" : 404
78048
- }
78049
- },
78050
- "type" : "unit",
78051
- "description" : "Resource was not found",
78052
- "attributes" : [ ]
78053
- }, {
78054
- "code" : {
78055
- "integer" : {
78056
- "value" : 422
78057
- }
78058
- },
78059
- "type" : "generic_error",
78060
- "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.",
78061
- "attributes" : [ ]
78062
- } ],
78063
- "attributes" : [ ],
78064
- "body" : {
78065
- "type" : "channel_organization_authorization_form",
78066
- "attributes" : [ ]
78067
- }
78068
- } ],
78069
- "attributes" : [ {
78070
- "name" : "docs",
78071
- "value" : {
78072
- "module" : "general"
78073
- }
78074
- } ],
78075
- "path" : "/channel/organization/authorizations"
78573
+ "path" : "/channel/:channel/billing/payouts"
78076
78574
  }, {
78077
78575
  "type" : "channel_rate",
78078
78576
  "plural" : "channel_rates",
@@ -78575,6 +79073,12 @@
78575
79073
  "location" : "Query",
78576
79074
  "required" : false,
78577
79075
  "description" : "If specified, we return all transactions where created_at >= the provided timestamp"
79076
+ }, {
79077
+ "name" : "updated_since",
79078
+ "type" : "date-time-iso8601",
79079
+ "location" : "Query",
79080
+ "required" : false,
79081
+ "description" : "If specified, we return all transactions where updated_at >= the provided timestamp"
78578
79082
  }, {
78579
79083
  "name" : "limit",
78580
79084
  "type" : "long",
@@ -78617,6 +79121,15 @@
78617
79121
  "type" : "unit",
78618
79122
  "description" : "Authorization failed",
78619
79123
  "attributes" : [ ]
79124
+ }, {
79125
+ "code" : {
79126
+ "integer" : {
79127
+ "value" : 404
79128
+ }
79129
+ },
79130
+ "type" : "unit",
79131
+ "description" : "Resource was not found",
79132
+ "attributes" : [ ]
78620
79133
  }, {
78621
79134
  "code" : {
78622
79135
  "integer" : {
@@ -78634,6 +79147,8 @@
78634
79147
  "value" : "id"
78635
79148
  }, {
78636
79149
  "value" : "created_at"
79150
+ }, {
79151
+ "value" : "updated_at"
78637
79152
  } ]
78638
79153
  }
78639
79154
  }, {
@@ -87023,6 +87538,168 @@
87023
87538
  }
87024
87539
  } ],
87025
87540
  "path" : "/:organization/onboarding/state"
87541
+ }, {
87542
+ "type" : "organization_payout",
87543
+ "plural" : "organization_payouts",
87544
+ "operations" : [ {
87545
+ "method" : "GET",
87546
+ "path" : "/:organization/billing/payouts",
87547
+ "parameters" : [ {
87548
+ "name" : "organization",
87549
+ "type" : "string",
87550
+ "location" : "Path",
87551
+ "required" : true,
87552
+ "description" : "Refers to your organization's account identifier"
87553
+ }, {
87554
+ "name" : "id",
87555
+ "type" : "[string]",
87556
+ "location" : "Query",
87557
+ "required" : false,
87558
+ "description" : "Filter by one or more IDs of this resource",
87559
+ "maximum" : 100
87560
+ }, {
87561
+ "name" : "since",
87562
+ "type" : "date-time-iso8601",
87563
+ "location" : "Query",
87564
+ "required" : false,
87565
+ "description" : "If specified, we return all transactions where created_at >= the provided timestamp"
87566
+ }, {
87567
+ "name" : "updated_since",
87568
+ "type" : "date-time-iso8601",
87569
+ "location" : "Query",
87570
+ "required" : false,
87571
+ "description" : "If specified, we return all transactions where updated_at >= the provided timestamp"
87572
+ }, {
87573
+ "name" : "limit",
87574
+ "type" : "long",
87575
+ "location" : "Query",
87576
+ "required" : true,
87577
+ "description" : "The maximum number of results to return",
87578
+ "default" : "25",
87579
+ "minimum" : 1,
87580
+ "maximum" : 100
87581
+ }, {
87582
+ "name" : "offset",
87583
+ "type" : "long",
87584
+ "location" : "Query",
87585
+ "required" : true,
87586
+ "description" : "The number of results to skip before returning results",
87587
+ "default" : "0",
87588
+ "minimum" : 0
87589
+ }, {
87590
+ "name" : "sort",
87591
+ "type" : "string",
87592
+ "location" : "Query",
87593
+ "required" : true,
87594
+ "default" : "-created_at"
87595
+ } ],
87596
+ "responses" : [ {
87597
+ "code" : {
87598
+ "integer" : {
87599
+ "value" : 200
87600
+ }
87601
+ },
87602
+ "type" : "[organization_payout]",
87603
+ "description" : "Successful response",
87604
+ "attributes" : [ ]
87605
+ }, {
87606
+ "code" : {
87607
+ "integer" : {
87608
+ "value" : 401
87609
+ }
87610
+ },
87611
+ "type" : "unit",
87612
+ "description" : "Authorization failed",
87613
+ "attributes" : [ ]
87614
+ }, {
87615
+ "code" : {
87616
+ "integer" : {
87617
+ "value" : 404
87618
+ }
87619
+ },
87620
+ "type" : "unit",
87621
+ "description" : "Resource was not found",
87622
+ "attributes" : [ ]
87623
+ }, {
87624
+ "code" : {
87625
+ "integer" : {
87626
+ "value" : 422
87627
+ }
87628
+ },
87629
+ "type" : "generic_error",
87630
+ "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.",
87631
+ "attributes" : [ ]
87632
+ } ],
87633
+ "attributes" : [ {
87634
+ "name" : "sort",
87635
+ "value" : {
87636
+ "values" : [ {
87637
+ "value" : "id"
87638
+ }, {
87639
+ "value" : "created_at"
87640
+ }, {
87641
+ "value" : "updated_at"
87642
+ } ]
87643
+ }
87644
+ }, {
87645
+ "name" : "linter",
87646
+ "value" : {
87647
+ "ignore" : [ "versions" ]
87648
+ }
87649
+ } ]
87650
+ }, {
87651
+ "method" : "GET",
87652
+ "path" : "/:organization/billing/payouts/:id",
87653
+ "parameters" : [ {
87654
+ "name" : "organization",
87655
+ "type" : "string",
87656
+ "location" : "Path",
87657
+ "required" : true,
87658
+ "description" : "Refers to your organization's account identifier"
87659
+ }, {
87660
+ "name" : "id",
87661
+ "type" : "string",
87662
+ "location" : "Path",
87663
+ "required" : true,
87664
+ "description" : "Filter by one or more IDs of this resource"
87665
+ } ],
87666
+ "responses" : [ {
87667
+ "code" : {
87668
+ "integer" : {
87669
+ "value" : 200
87670
+ }
87671
+ },
87672
+ "type" : "organization_payout",
87673
+ "description" : "Successful response",
87674
+ "attributes" : [ ]
87675
+ }, {
87676
+ "code" : {
87677
+ "integer" : {
87678
+ "value" : 401
87679
+ }
87680
+ },
87681
+ "type" : "unit",
87682
+ "description" : "Authorization failed",
87683
+ "attributes" : [ ]
87684
+ }, {
87685
+ "code" : {
87686
+ "integer" : {
87687
+ "value" : 404
87688
+ }
87689
+ },
87690
+ "type" : "unit",
87691
+ "description" : "Resource was not found",
87692
+ "attributes" : [ ]
87693
+ } ],
87694
+ "attributes" : [ ]
87695
+ } ],
87696
+ "attributes" : [ {
87697
+ "name" : "docs",
87698
+ "value" : {
87699
+ "module" : "general"
87700
+ }
87701
+ } ],
87702
+ "path" : "/:organization/billing/payouts"
87026
87703
  }, {
87027
87704
  "type" : "organization_token",
87028
87705
  "plural" : "organization_tokens",
@@ -93866,6 +94543,12 @@
93866
94543
  "location" : "Query",
93867
94544
  "required" : false,
93868
94545
  "description" : "If specified, we return all transactions where created_at >= the provided timestamp"
94546
+ }, {
94547
+ "name" : "updated_since",
94548
+ "type" : "date-time-iso8601",
94549
+ "location" : "Query",
94550
+ "required" : false,
94551
+ "description" : "If specified, we return all transactions where updated_at >= the provided timestamp"
93869
94552
  }, {
93870
94553
  "name" : "limit",
93871
94554
  "type" : "long",
@@ -93934,6 +94617,8 @@
93934
94617
  "value" : "id"
93935
94618
  }, {
93936
94619
  "value" : "created_at"
94620
+ }, {
94621
+ "value" : "updated_at"
93937
94622
  } ]
93938
94623
  }
93939
94624
  }, {