@flowio/api-mock-generator 6.17.73 → 6.17.74

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 +130 -7
  2. package/package.json +2 -2
  3. package/src/api.json +130 -7
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.24",
13
+ "version": "0.18.33",
14
14
  "info": {
15
15
  "license": {
16
16
  "name": "MIT",
@@ -76,7 +76,7 @@
76
76
  "application": {
77
77
  "key": "ben-test-internal"
78
78
  },
79
- "version": "0.21.60",
79
+ "version": "0.21.80",
80
80
  "enums": [],
81
81
  "interfaces": ["generate_load"],
82
82
  "unions": ["generate_load"],
@@ -3394,10 +3394,18 @@
3394
3394
  "name": "provided",
3395
3395
  "attributes": [],
3396
3396
  "description": "Package dimensions provided by caller to API"
3397
+ }, {
3398
+ "name": "item_dimensions_estimated",
3399
+ "attributes": [],
3400
+ "description": "Item dimensions were used to calculate package dimensions"
3397
3401
  }, {
3398
3402
  "name": "dimensions_estimated",
3399
3403
  "attributes": [],
3400
- "description": "Dimension estimates were used to assume package dimensions"
3404
+ "description": "Organization dimension estimates were used to assume package dimensions"
3405
+ }, {
3406
+ "name": "default_item_dimensions_estimated",
3407
+ "attributes": [],
3408
+ "description": "Dimension estimates set using global default of 1x5x5 inch, .5 lbs"
3401
3409
  }],
3402
3410
  "attributes": []
3403
3411
  }, {
@@ -5247,16 +5255,16 @@
5247
5255
  "name": "address_correction",
5248
5256
  "attributes": []
5249
5257
  }, {
5250
- "name": "security_ratecard_fee",
5258
+ "name": "security",
5251
5259
  "attributes": []
5252
5260
  }, {
5253
- "name": "eei_filing_ratecard_fee",
5261
+ "name": "eei_filing",
5254
5262
  "attributes": []
5255
5263
  }, {
5256
- "name": "fixed_ddp_ratecard_fee",
5264
+ "name": "fixed_ddp",
5257
5265
  "attributes": []
5258
5266
  }, {
5259
- "name": "fixed_currency_conversion_ratecard_fee",
5267
+ "name": "fixed_currency_conversion",
5260
5268
  "attributes": []
5261
5269
  }],
5262
5270
  "attributes": []
@@ -5774,6 +5782,13 @@
5774
5782
  "attributes": [],
5775
5783
  "annotations": [],
5776
5784
  "description": "The amount/currency of the authorization in base currency. Added in Summer 2018 and always present since then."
5785
+ }, {
5786
+ "name": "requested",
5787
+ "type": "money",
5788
+ "required": false,
5789
+ "attributes": [],
5790
+ "annotations": [],
5791
+ "description": "The amount / currency that is sent to the PSP"
5777
5792
  }, {
5778
5793
  "name": "authorized_at",
5779
5794
  "type": "date-time-iso8601",
@@ -90552,6 +90567,7 @@
90552
90567
  "attributes": []
90553
90568
  }],
90554
90569
  "attributes": [],
90570
+ "description": "Update your business details.\n Common errors:\n- **EIN [{ein}] must be 9 digits**: The EIN provided should contains only 9 digits, no other character is accepted\n- **{field} cannot be blank**: the field has to at least contains some text\n*There might be other messages check them for details*",
90555
90571
  "body": {
90556
90572
  "type": "know_your_business_form",
90557
90573
  "attributes": []
@@ -93745,6 +93761,113 @@
93745
93761
  "type": "payment_request",
93746
93762
  "plural": "payment_requests",
93747
93763
  "operations": [{
93764
+ "method": "GET",
93765
+ "path": "/:organization/payment/requests",
93766
+ "parameters": [{
93767
+ "name": "organization",
93768
+ "type": "string",
93769
+ "location": "Path",
93770
+ "required": true,
93771
+ "description": "Refers to your organization's account identifier"
93772
+ }, {
93773
+ "name": "id",
93774
+ "type": "[string]",
93775
+ "location": "Query",
93776
+ "required": false,
93777
+ "description": "Filter by one or more IDs of this resource",
93778
+ "maximum": 100
93779
+ }, {
93780
+ "name": "since",
93781
+ "type": "date-time-iso8601",
93782
+ "location": "Query",
93783
+ "required": false,
93784
+ "description": "Retrieve payment requests created after this date and time"
93785
+ }, {
93786
+ "name": "until",
93787
+ "type": "date-time-iso8601",
93788
+ "location": "Query",
93789
+ "required": false,
93790
+ "description": "Retrieve payment requests created before this date and time"
93791
+ }, {
93792
+ "name": "updated_since",
93793
+ "type": "date-time-iso8601",
93794
+ "location": "Query",
93795
+ "required": false,
93796
+ "description": "Retrieve payment requests updated after this date and time"
93797
+ }, {
93798
+ "name": "updated_until",
93799
+ "type": "date-time-iso8601",
93800
+ "location": "Query",
93801
+ "required": false,
93802
+ "description": "Retrieve payment requests updated before this date and time"
93803
+ }, {
93804
+ "name": "limit",
93805
+ "type": "long",
93806
+ "location": "Query",
93807
+ "required": true,
93808
+ "description": "The maximum number of results to return",
93809
+ "default": "25",
93810
+ "minimum": 1,
93811
+ "maximum": 100
93812
+ }, {
93813
+ "name": "offset",
93814
+ "type": "long",
93815
+ "location": "Query",
93816
+ "required": true,
93817
+ "description": "The number of results to skip before returning results",
93818
+ "default": "0",
93819
+ "minimum": 0
93820
+ }, {
93821
+ "name": "sort",
93822
+ "type": "string",
93823
+ "location": "Query",
93824
+ "required": true,
93825
+ "default": "-created_at"
93826
+ }],
93827
+ "responses": [{
93828
+ "code": {
93829
+ "integer": {
93830
+ "value": 200
93831
+ }
93832
+ },
93833
+ "type": "[payment_request]",
93834
+ "description": "Successful response",
93835
+ "attributes": []
93836
+ }, {
93837
+ "code": {
93838
+ "integer": {
93839
+ "value": 401
93840
+ }
93841
+ },
93842
+ "type": "unit",
93843
+ "description": "Authorization failed",
93844
+ "attributes": []
93845
+ }, {
93846
+ "code": {
93847
+ "integer": {
93848
+ "value": 422
93849
+ }
93850
+ },
93851
+ "type": "generic_error",
93852
+ "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.",
93853
+ "attributes": []
93854
+ }],
93855
+ "attributes": [{
93856
+ "name": "sort",
93857
+ "value": {
93858
+ "values": [{
93859
+ "value": "created_at"
93860
+ }, {
93861
+ "value": "updated_at"
93862
+ }]
93863
+ }
93864
+ }, {
93865
+ "name": "linter",
93866
+ "value": {
93867
+ "ignore": ["versions"]
93868
+ }
93869
+ }]
93870
+ }, {
93748
93871
  "method": "POST",
93749
93872
  "path": "/:organization/payment/requests",
93750
93873
  "parameters": [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-mock-generator",
3
- "version": "6.17.73",
3
+ "version": "6.17.74",
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": "6717f627ae249a5229cfb9b8321accaf3b7e03d1"
31
+ "gitHead": "11a5e37328905a965c20736d076f67c39a22ee86"
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.18.24",
13
+ "version" : "0.18.33",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -76,7 +76,7 @@
76
76
  "application" : {
77
77
  "key" : "ben-test-internal"
78
78
  },
79
- "version" : "0.21.60",
79
+ "version" : "0.21.80",
80
80
  "enums" : [ ],
81
81
  "interfaces" : [ "generate_load" ],
82
82
  "unions" : [ "generate_load" ],
@@ -3394,10 +3394,18 @@
3394
3394
  "name" : "provided",
3395
3395
  "attributes" : [ ],
3396
3396
  "description" : "Package dimensions provided by caller to API"
3397
+ }, {
3398
+ "name" : "item_dimensions_estimated",
3399
+ "attributes" : [ ],
3400
+ "description" : "Item dimensions were used to calculate package dimensions"
3397
3401
  }, {
3398
3402
  "name" : "dimensions_estimated",
3399
3403
  "attributes" : [ ],
3400
- "description" : "Dimension estimates were used to assume package dimensions"
3404
+ "description" : "Organization dimension estimates were used to assume package dimensions"
3405
+ }, {
3406
+ "name" : "default_item_dimensions_estimated",
3407
+ "attributes" : [ ],
3408
+ "description" : "Dimension estimates set using global default of 1x5x5 inch, .5 lbs"
3401
3409
  } ],
3402
3410
  "attributes" : [ ]
3403
3411
  }, {
@@ -5247,16 +5255,16 @@
5247
5255
  "name" : "address_correction",
5248
5256
  "attributes" : [ ]
5249
5257
  }, {
5250
- "name" : "security_ratecard_fee",
5258
+ "name" : "security",
5251
5259
  "attributes" : [ ]
5252
5260
  }, {
5253
- "name" : "eei_filing_ratecard_fee",
5261
+ "name" : "eei_filing",
5254
5262
  "attributes" : [ ]
5255
5263
  }, {
5256
- "name" : "fixed_ddp_ratecard_fee",
5264
+ "name" : "fixed_ddp",
5257
5265
  "attributes" : [ ]
5258
5266
  }, {
5259
- "name" : "fixed_currency_conversion_ratecard_fee",
5267
+ "name" : "fixed_currency_conversion",
5260
5268
  "attributes" : [ ]
5261
5269
  } ],
5262
5270
  "attributes" : [ ]
@@ -5774,6 +5782,13 @@
5774
5782
  "attributes" : [ ],
5775
5783
  "annotations" : [ ],
5776
5784
  "description" : "The amount/currency of the authorization in base currency. Added in Summer 2018 and always present since then."
5785
+ }, {
5786
+ "name" : "requested",
5787
+ "type" : "money",
5788
+ "required" : false,
5789
+ "attributes" : [ ],
5790
+ "annotations" : [ ],
5791
+ "description" : "The amount / currency that is sent to the PSP"
5777
5792
  }, {
5778
5793
  "name" : "authorized_at",
5779
5794
  "type" : "date-time-iso8601",
@@ -90552,6 +90567,7 @@
90552
90567
  "attributes" : [ ]
90553
90568
  } ],
90554
90569
  "attributes" : [ ],
90570
+ "description" : "Update your business details.\n Common errors:\n- **EIN [{ein}] must be 9 digits**: The EIN provided should contains only 9 digits, no other character is accepted\n- **{field} cannot be blank**: the field has to at least contains some text\n*There might be other messages check them for details*",
90555
90571
  "body" : {
90556
90572
  "type" : "know_your_business_form",
90557
90573
  "attributes" : [ ]
@@ -93745,6 +93761,113 @@
93745
93761
  "type" : "payment_request",
93746
93762
  "plural" : "payment_requests",
93747
93763
  "operations" : [ {
93764
+ "method" : "GET",
93765
+ "path" : "/:organization/payment/requests",
93766
+ "parameters" : [ {
93767
+ "name" : "organization",
93768
+ "type" : "string",
93769
+ "location" : "Path",
93770
+ "required" : true,
93771
+ "description" : "Refers to your organization's account identifier"
93772
+ }, {
93773
+ "name" : "id",
93774
+ "type" : "[string]",
93775
+ "location" : "Query",
93776
+ "required" : false,
93777
+ "description" : "Filter by one or more IDs of this resource",
93778
+ "maximum" : 100
93779
+ }, {
93780
+ "name" : "since",
93781
+ "type" : "date-time-iso8601",
93782
+ "location" : "Query",
93783
+ "required" : false,
93784
+ "description" : "Retrieve payment requests created after this date and time"
93785
+ }, {
93786
+ "name" : "until",
93787
+ "type" : "date-time-iso8601",
93788
+ "location" : "Query",
93789
+ "required" : false,
93790
+ "description" : "Retrieve payment requests created before this date and time"
93791
+ }, {
93792
+ "name" : "updated_since",
93793
+ "type" : "date-time-iso8601",
93794
+ "location" : "Query",
93795
+ "required" : false,
93796
+ "description" : "Retrieve payment requests updated after this date and time"
93797
+ }, {
93798
+ "name" : "updated_until",
93799
+ "type" : "date-time-iso8601",
93800
+ "location" : "Query",
93801
+ "required" : false,
93802
+ "description" : "Retrieve payment requests updated before this date and time"
93803
+ }, {
93804
+ "name" : "limit",
93805
+ "type" : "long",
93806
+ "location" : "Query",
93807
+ "required" : true,
93808
+ "description" : "The maximum number of results to return",
93809
+ "default" : "25",
93810
+ "minimum" : 1,
93811
+ "maximum" : 100
93812
+ }, {
93813
+ "name" : "offset",
93814
+ "type" : "long",
93815
+ "location" : "Query",
93816
+ "required" : true,
93817
+ "description" : "The number of results to skip before returning results",
93818
+ "default" : "0",
93819
+ "minimum" : 0
93820
+ }, {
93821
+ "name" : "sort",
93822
+ "type" : "string",
93823
+ "location" : "Query",
93824
+ "required" : true,
93825
+ "default" : "-created_at"
93826
+ } ],
93827
+ "responses" : [ {
93828
+ "code" : {
93829
+ "integer" : {
93830
+ "value" : 200
93831
+ }
93832
+ },
93833
+ "type" : "[payment_request]",
93834
+ "description" : "Successful response",
93835
+ "attributes" : [ ]
93836
+ }, {
93837
+ "code" : {
93838
+ "integer" : {
93839
+ "value" : 401
93840
+ }
93841
+ },
93842
+ "type" : "unit",
93843
+ "description" : "Authorization failed",
93844
+ "attributes" : [ ]
93845
+ }, {
93846
+ "code" : {
93847
+ "integer" : {
93848
+ "value" : 422
93849
+ }
93850
+ },
93851
+ "type" : "generic_error",
93852
+ "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.",
93853
+ "attributes" : [ ]
93854
+ } ],
93855
+ "attributes" : [ {
93856
+ "name" : "sort",
93857
+ "value" : {
93858
+ "values" : [ {
93859
+ "value" : "created_at"
93860
+ }, {
93861
+ "value" : "updated_at"
93862
+ } ]
93863
+ }
93864
+ }, {
93865
+ "name" : "linter",
93866
+ "value" : {
93867
+ "ignore" : [ "versions" ]
93868
+ }
93869
+ } ]
93870
+ }, {
93748
93871
  "method" : "POST",
93749
93872
  "path" : "/:organization/payment/requests",
93750
93873
  "parameters" : [ {