@flowio/api-mock-generator 6.17.27 → 6.17.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.json +257 -37
- package/package.json +2 -2
- package/src/api.json +257 -37
package/dist/api.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key": "api"
|
|
11
11
|
},
|
|
12
12
|
"namespace": "io.flow.v0",
|
|
13
|
-
"version": "0.16.
|
|
13
|
+
"version": "0.16.83",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -2439,6 +2439,20 @@
|
|
|
2439
2439
|
"description": "Indicates that there is no timezone information available for the specified IP Address"
|
|
2440
2440
|
}],
|
|
2441
2441
|
"attributes": []
|
|
2442
|
+
}, {
|
|
2443
|
+
"name": "logistics_format_preference",
|
|
2444
|
+
"plural": "logistics_format_preferences",
|
|
2445
|
+
"values": [{
|
|
2446
|
+
"name": "shopify_console",
|
|
2447
|
+
"attributes": []
|
|
2448
|
+
}, {
|
|
2449
|
+
"name": "existing_3pl_integration",
|
|
2450
|
+
"attributes": []
|
|
2451
|
+
}, {
|
|
2452
|
+
"name": "byo_integration",
|
|
2453
|
+
"attributes": []
|
|
2454
|
+
}],
|
|
2455
|
+
"attributes": []
|
|
2442
2456
|
}, {
|
|
2443
2457
|
"name": "margin_type",
|
|
2444
2458
|
"plural": "margin_types",
|
|
@@ -5180,6 +5194,24 @@
|
|
|
5180
5194
|
}],
|
|
5181
5195
|
"attributes": [],
|
|
5182
5196
|
"description": "Represents the common data exported for items in the price book"
|
|
5197
|
+
}, {
|
|
5198
|
+
"name": "default_bank_account",
|
|
5199
|
+
"plural": "default_bank_accounts",
|
|
5200
|
+
"fields": [{
|
|
5201
|
+
"name": "id",
|
|
5202
|
+
"type": "string",
|
|
5203
|
+
"required": true,
|
|
5204
|
+
"attributes": [],
|
|
5205
|
+
"annotations": [],
|
|
5206
|
+
"description": "Globally unique identifier"
|
|
5207
|
+
}, {
|
|
5208
|
+
"name": "bank_account",
|
|
5209
|
+
"type": "bank_account_reference",
|
|
5210
|
+
"required": true,
|
|
5211
|
+
"attributes": [],
|
|
5212
|
+
"annotations": []
|
|
5213
|
+
}],
|
|
5214
|
+
"attributes": []
|
|
5183
5215
|
}, {
|
|
5184
5216
|
"name": "delivery",
|
|
5185
5217
|
"plural": "deliveries",
|
|
@@ -5661,6 +5693,14 @@
|
|
|
5661
5693
|
"attributes": [],
|
|
5662
5694
|
"annotations": [],
|
|
5663
5695
|
"description": "net = gross -fees - withholdings"
|
|
5696
|
+
}, {
|
|
5697
|
+
"name": "identifiers",
|
|
5698
|
+
"type": "map[string]",
|
|
5699
|
+
"required": true,
|
|
5700
|
+
"attributes": [],
|
|
5701
|
+
"annotations": [],
|
|
5702
|
+
"description": "We serialize any transaction level identifiers as key/value pairs here",
|
|
5703
|
+
"default": "{}"
|
|
5664
5704
|
}, {
|
|
5665
5705
|
"name": "created_at",
|
|
5666
5706
|
"type": "date-time-iso8601",
|
|
@@ -11543,6 +11583,19 @@
|
|
|
11543
11583
|
}],
|
|
11544
11584
|
"attributes": [],
|
|
11545
11585
|
"interfaces": []
|
|
11586
|
+
}, {
|
|
11587
|
+
"name": "bank_account_reference",
|
|
11588
|
+
"plural": "bank_account_references",
|
|
11589
|
+
"fields": [{
|
|
11590
|
+
"name": "id",
|
|
11591
|
+
"type": "string",
|
|
11592
|
+
"required": true,
|
|
11593
|
+
"attributes": [],
|
|
11594
|
+
"annotations": [],
|
|
11595
|
+
"description": "Bank account id"
|
|
11596
|
+
}],
|
|
11597
|
+
"attributes": [],
|
|
11598
|
+
"interfaces": []
|
|
11546
11599
|
}, {
|
|
11547
11600
|
"name": "behavior_audit",
|
|
11548
11601
|
"plural": "behavior_audits",
|
|
@@ -14698,6 +14751,14 @@
|
|
|
14698
14751
|
"attributes": [],
|
|
14699
14752
|
"annotations": [],
|
|
14700
14753
|
"description": "net = gross -fees - withholdings"
|
|
14754
|
+
}, {
|
|
14755
|
+
"name": "identifiers",
|
|
14756
|
+
"type": "map[string]",
|
|
14757
|
+
"required": true,
|
|
14758
|
+
"attributes": [],
|
|
14759
|
+
"annotations": [],
|
|
14760
|
+
"description": "We serialize any transaction level identifiers as key/value pairs here",
|
|
14761
|
+
"default": "{}"
|
|
14701
14762
|
}, {
|
|
14702
14763
|
"name": "created_at",
|
|
14703
14764
|
"type": "date-time-iso8601",
|
|
@@ -17564,6 +17625,18 @@
|
|
|
17564
17625
|
}],
|
|
17565
17626
|
"attributes": [],
|
|
17566
17627
|
"interfaces": []
|
|
17628
|
+
}, {
|
|
17629
|
+
"name": "default_bank_account_form",
|
|
17630
|
+
"plural": "default_bank_account_forms",
|
|
17631
|
+
"fields": [{
|
|
17632
|
+
"name": "bank_account_id",
|
|
17633
|
+
"type": "string",
|
|
17634
|
+
"required": true,
|
|
17635
|
+
"attributes": [],
|
|
17636
|
+
"annotations": []
|
|
17637
|
+
}],
|
|
17638
|
+
"attributes": [],
|
|
17639
|
+
"interfaces": []
|
|
17567
17640
|
}, {
|
|
17568
17641
|
"name": "delivered_duty_setting",
|
|
17569
17642
|
"plural": "delivered_duty_settings",
|
|
@@ -27676,8 +27749,8 @@
|
|
|
27676
27749
|
"plural": "logistics_formats",
|
|
27677
27750
|
"fields": [{
|
|
27678
27751
|
"name": "preference",
|
|
27679
|
-
"type": "
|
|
27680
|
-
"required":
|
|
27752
|
+
"type": "logistics_format_preference",
|
|
27753
|
+
"required": true,
|
|
27681
27754
|
"attributes": [],
|
|
27682
27755
|
"annotations": [],
|
|
27683
27756
|
"description": "The name of the preference"
|
|
@@ -32982,6 +33055,25 @@
|
|
|
32982
33055
|
}],
|
|
32983
33056
|
"attributes": [],
|
|
32984
33057
|
"interfaces": []
|
|
33058
|
+
}, {
|
|
33059
|
+
"name": "organization_default_bank_account",
|
|
33060
|
+
"plural": "organization_default_bank_accounts",
|
|
33061
|
+
"fields": [{
|
|
33062
|
+
"name": "id",
|
|
33063
|
+
"type": "string",
|
|
33064
|
+
"required": true,
|
|
33065
|
+
"attributes": [],
|
|
33066
|
+
"annotations": [],
|
|
33067
|
+
"description": "Globally unique identifier"
|
|
33068
|
+
}, {
|
|
33069
|
+
"name": "bank_account",
|
|
33070
|
+
"type": "bank_account_reference",
|
|
33071
|
+
"required": true,
|
|
33072
|
+
"attributes": [],
|
|
33073
|
+
"annotations": []
|
|
33074
|
+
}],
|
|
33075
|
+
"attributes": [],
|
|
33076
|
+
"interfaces": ["default_bank_account"]
|
|
32985
33077
|
}, {
|
|
32986
33078
|
"name": "organization_default_configurations",
|
|
32987
33079
|
"plural": "organization_default_configurations",
|
|
@@ -45182,13 +45274,13 @@
|
|
|
45182
45274
|
"attributes": [],
|
|
45183
45275
|
"annotations": []
|
|
45184
45276
|
}, {
|
|
45185
|
-
"name": "
|
|
45277
|
+
"name": "last_year_xborder_gmv",
|
|
45186
45278
|
"type": "money",
|
|
45187
45279
|
"required": false,
|
|
45188
45280
|
"attributes": [],
|
|
45189
45281
|
"annotations": []
|
|
45190
45282
|
}, {
|
|
45191
|
-
"name": "
|
|
45283
|
+
"name": "last_month_xborder_gmv",
|
|
45192
45284
|
"type": "money",
|
|
45193
45285
|
"required": false,
|
|
45194
45286
|
"attributes": [],
|
|
@@ -45199,12 +45291,6 @@
|
|
|
45199
45291
|
"required": false,
|
|
45200
45292
|
"attributes": [],
|
|
45201
45293
|
"annotations": []
|
|
45202
|
-
}, {
|
|
45203
|
-
"name": "total_order",
|
|
45204
|
-
"type": "total_order",
|
|
45205
|
-
"required": false,
|
|
45206
|
-
"attributes": [],
|
|
45207
|
-
"annotations": []
|
|
45208
45294
|
}],
|
|
45209
45295
|
"attributes": [],
|
|
45210
45296
|
"interfaces": []
|
|
@@ -45382,13 +45468,13 @@
|
|
|
45382
45468
|
"attributes": [],
|
|
45383
45469
|
"annotations": []
|
|
45384
45470
|
}, {
|
|
45385
|
-
"name": "
|
|
45471
|
+
"name": "last_year_xborder_gmv",
|
|
45386
45472
|
"type": "money",
|
|
45387
45473
|
"required": false,
|
|
45388
45474
|
"attributes": [],
|
|
45389
45475
|
"annotations": []
|
|
45390
45476
|
}, {
|
|
45391
|
-
"name": "
|
|
45477
|
+
"name": "last_month_xborder_gmv",
|
|
45392
45478
|
"type": "money",
|
|
45393
45479
|
"required": false,
|
|
45394
45480
|
"attributes": [],
|
|
@@ -45399,12 +45485,6 @@
|
|
|
45399
45485
|
"required": false,
|
|
45400
45486
|
"attributes": [],
|
|
45401
45487
|
"annotations": []
|
|
45402
|
-
}, {
|
|
45403
|
-
"name": "total_order",
|
|
45404
|
-
"type": "total_order",
|
|
45405
|
-
"required": false,
|
|
45406
|
-
"attributes": [],
|
|
45407
|
-
"annotations": []
|
|
45408
45488
|
}],
|
|
45409
45489
|
"attributes": [],
|
|
45410
45490
|
"interfaces": []
|
|
@@ -48519,24 +48599,6 @@
|
|
|
48519
48599
|
"attributes": [],
|
|
48520
48600
|
"interfaces": [],
|
|
48521
48601
|
"description": "Defines the payload of a request to validate a token, with primary goal of preventing the token from being included in an HTTP GET."
|
|
48522
|
-
}, {
|
|
48523
|
-
"name": "total_order",
|
|
48524
|
-
"plural": "total_orders",
|
|
48525
|
-
"fields": [{
|
|
48526
|
-
"name": "value",
|
|
48527
|
-
"type": "money",
|
|
48528
|
-
"required": false,
|
|
48529
|
-
"attributes": [],
|
|
48530
|
-
"annotations": []
|
|
48531
|
-
}, {
|
|
48532
|
-
"name": "count",
|
|
48533
|
-
"type": "long",
|
|
48534
|
-
"required": false,
|
|
48535
|
-
"attributes": [],
|
|
48536
|
-
"annotations": []
|
|
48537
|
-
}],
|
|
48538
|
-
"attributes": [],
|
|
48539
|
-
"interfaces": []
|
|
48540
48602
|
}, {
|
|
48541
48603
|
"name": "tracking",
|
|
48542
48604
|
"plural": "trackings",
|
|
@@ -49281,6 +49343,14 @@
|
|
|
49281
49343
|
"attributes": [],
|
|
49282
49344
|
"annotations": [],
|
|
49283
49345
|
"description": "net = gross -fees - withholdings"
|
|
49346
|
+
}, {
|
|
49347
|
+
"name": "identifiers",
|
|
49348
|
+
"type": "map[string]",
|
|
49349
|
+
"required": true,
|
|
49350
|
+
"attributes": [],
|
|
49351
|
+
"annotations": [],
|
|
49352
|
+
"description": "We serialize any transaction level identifiers as key/value pairs here",
|
|
49353
|
+
"default": "{}"
|
|
49284
49354
|
}, {
|
|
49285
49355
|
"name": "created_at",
|
|
49286
49356
|
"type": "date-time-iso8601",
|
|
@@ -85772,6 +85842,156 @@
|
|
|
85772
85842
|
}
|
|
85773
85843
|
}],
|
|
85774
85844
|
"path": "/:organization/bank/accounts"
|
|
85845
|
+
}, {
|
|
85846
|
+
"type": "organization_default_bank_account",
|
|
85847
|
+
"plural": "organization_default_bank_accounts",
|
|
85848
|
+
"operations": [{
|
|
85849
|
+
"method": "GET",
|
|
85850
|
+
"path": "/:organization/default/bank/accounts",
|
|
85851
|
+
"parameters": [{
|
|
85852
|
+
"name": "organization",
|
|
85853
|
+
"type": "string",
|
|
85854
|
+
"location": "Path",
|
|
85855
|
+
"required": true,
|
|
85856
|
+
"description": "Refers to your organization's account identifier"
|
|
85857
|
+
}],
|
|
85858
|
+
"responses": [{
|
|
85859
|
+
"code": {
|
|
85860
|
+
"integer": {
|
|
85861
|
+
"value": 200
|
|
85862
|
+
}
|
|
85863
|
+
},
|
|
85864
|
+
"type": "organization_default_bank_account",
|
|
85865
|
+
"description": "Successful response",
|
|
85866
|
+
"attributes": []
|
|
85867
|
+
}, {
|
|
85868
|
+
"code": {
|
|
85869
|
+
"integer": {
|
|
85870
|
+
"value": 401
|
|
85871
|
+
}
|
|
85872
|
+
},
|
|
85873
|
+
"type": "unit",
|
|
85874
|
+
"description": "Authorization failed",
|
|
85875
|
+
"attributes": []
|
|
85876
|
+
}, {
|
|
85877
|
+
"code": {
|
|
85878
|
+
"integer": {
|
|
85879
|
+
"value": 404
|
|
85880
|
+
}
|
|
85881
|
+
},
|
|
85882
|
+
"type": "unit",
|
|
85883
|
+
"description": "Resource was not found",
|
|
85884
|
+
"attributes": []
|
|
85885
|
+
}],
|
|
85886
|
+
"attributes": []
|
|
85887
|
+
}, {
|
|
85888
|
+
"method": "PUT",
|
|
85889
|
+
"path": "/:organization/default/bank/accounts",
|
|
85890
|
+
"parameters": [{
|
|
85891
|
+
"name": "organization",
|
|
85892
|
+
"type": "string",
|
|
85893
|
+
"location": "Path",
|
|
85894
|
+
"required": true,
|
|
85895
|
+
"description": "Refers to your organization's account identifier"
|
|
85896
|
+
}],
|
|
85897
|
+
"responses": [{
|
|
85898
|
+
"code": {
|
|
85899
|
+
"integer": {
|
|
85900
|
+
"value": 200
|
|
85901
|
+
}
|
|
85902
|
+
},
|
|
85903
|
+
"type": "organization_default_bank_account",
|
|
85904
|
+
"description": "Successful response",
|
|
85905
|
+
"attributes": []
|
|
85906
|
+
}, {
|
|
85907
|
+
"code": {
|
|
85908
|
+
"integer": {
|
|
85909
|
+
"value": 201
|
|
85910
|
+
}
|
|
85911
|
+
},
|
|
85912
|
+
"type": "organization_default_bank_account",
|
|
85913
|
+
"description": "Operation succeeded and the resource was created",
|
|
85914
|
+
"attributes": []
|
|
85915
|
+
}, {
|
|
85916
|
+
"code": {
|
|
85917
|
+
"integer": {
|
|
85918
|
+
"value": 401
|
|
85919
|
+
}
|
|
85920
|
+
},
|
|
85921
|
+
"type": "unit",
|
|
85922
|
+
"description": "Authorization failed",
|
|
85923
|
+
"attributes": []
|
|
85924
|
+
}, {
|
|
85925
|
+
"code": {
|
|
85926
|
+
"integer": {
|
|
85927
|
+
"value": 422
|
|
85928
|
+
}
|
|
85929
|
+
},
|
|
85930
|
+
"type": "generic_error",
|
|
85931
|
+
"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.",
|
|
85932
|
+
"attributes": []
|
|
85933
|
+
}],
|
|
85934
|
+
"attributes": [],
|
|
85935
|
+
"body": {
|
|
85936
|
+
"type": "default_bank_account_form",
|
|
85937
|
+
"attributes": []
|
|
85938
|
+
}
|
|
85939
|
+
}, {
|
|
85940
|
+
"method": "DELETE",
|
|
85941
|
+
"path": "/:organization/default/bank/accounts",
|
|
85942
|
+
"parameters": [{
|
|
85943
|
+
"name": "organization",
|
|
85944
|
+
"type": "string",
|
|
85945
|
+
"location": "Path",
|
|
85946
|
+
"required": true,
|
|
85947
|
+
"description": "Refers to your organization's account identifier"
|
|
85948
|
+
}],
|
|
85949
|
+
"responses": [{
|
|
85950
|
+
"code": {
|
|
85951
|
+
"integer": {
|
|
85952
|
+
"value": 204
|
|
85953
|
+
}
|
|
85954
|
+
},
|
|
85955
|
+
"type": "unit",
|
|
85956
|
+
"description": "Operation succeeded. No content is returned",
|
|
85957
|
+
"attributes": []
|
|
85958
|
+
}, {
|
|
85959
|
+
"code": {
|
|
85960
|
+
"integer": {
|
|
85961
|
+
"value": 401
|
|
85962
|
+
}
|
|
85963
|
+
},
|
|
85964
|
+
"type": "unit",
|
|
85965
|
+
"description": "Authorization failed",
|
|
85966
|
+
"attributes": []
|
|
85967
|
+
}, {
|
|
85968
|
+
"code": {
|
|
85969
|
+
"integer": {
|
|
85970
|
+
"value": 404
|
|
85971
|
+
}
|
|
85972
|
+
},
|
|
85973
|
+
"type": "unit",
|
|
85974
|
+
"description": "Resource was not found",
|
|
85975
|
+
"attributes": []
|
|
85976
|
+
}, {
|
|
85977
|
+
"code": {
|
|
85978
|
+
"integer": {
|
|
85979
|
+
"value": 422
|
|
85980
|
+
}
|
|
85981
|
+
},
|
|
85982
|
+
"type": "generic_error",
|
|
85983
|
+
"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.",
|
|
85984
|
+
"attributes": []
|
|
85985
|
+
}],
|
|
85986
|
+
"attributes": []
|
|
85987
|
+
}],
|
|
85988
|
+
"attributes": [{
|
|
85989
|
+
"name": "docs",
|
|
85990
|
+
"value": {
|
|
85991
|
+
"module": "general"
|
|
85992
|
+
}
|
|
85993
|
+
}],
|
|
85994
|
+
"path": "/:organization/default/bank/accounts"
|
|
85775
85995
|
}, {
|
|
85776
85996
|
"type": "organization_default_configurations",
|
|
85777
85997
|
"plural": "organization_default_configurations",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-mock-generator",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.29",
|
|
4
4
|
"description": "A mock data generator based on our API specifications for JavaScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flowcommerce",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"apibuilder-js": "0.0.13",
|
|
29
29
|
"apibuilder-mock-generator": "0.0.13"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "63128f7f46bbcdec0b463b602b669f1a441dc197"
|
|
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.16.
|
|
13
|
+
"version" : "0.16.83",
|
|
14
14
|
"info" : {
|
|
15
15
|
"license" : {
|
|
16
16
|
"name" : "MIT",
|
|
@@ -2439,6 +2439,20 @@
|
|
|
2439
2439
|
"description" : "Indicates that there is no timezone information available for the specified IP Address"
|
|
2440
2440
|
} ],
|
|
2441
2441
|
"attributes" : [ ]
|
|
2442
|
+
}, {
|
|
2443
|
+
"name" : "logistics_format_preference",
|
|
2444
|
+
"plural" : "logistics_format_preferences",
|
|
2445
|
+
"values" : [ {
|
|
2446
|
+
"name" : "shopify_console",
|
|
2447
|
+
"attributes" : [ ]
|
|
2448
|
+
}, {
|
|
2449
|
+
"name" : "existing_3pl_integration",
|
|
2450
|
+
"attributes" : [ ]
|
|
2451
|
+
}, {
|
|
2452
|
+
"name" : "byo_integration",
|
|
2453
|
+
"attributes" : [ ]
|
|
2454
|
+
} ],
|
|
2455
|
+
"attributes" : [ ]
|
|
2442
2456
|
}, {
|
|
2443
2457
|
"name" : "margin_type",
|
|
2444
2458
|
"plural" : "margin_types",
|
|
@@ -5180,6 +5194,24 @@
|
|
|
5180
5194
|
} ],
|
|
5181
5195
|
"attributes" : [ ],
|
|
5182
5196
|
"description" : "Represents the common data exported for items in the price book"
|
|
5197
|
+
}, {
|
|
5198
|
+
"name" : "default_bank_account",
|
|
5199
|
+
"plural" : "default_bank_accounts",
|
|
5200
|
+
"fields" : [ {
|
|
5201
|
+
"name" : "id",
|
|
5202
|
+
"type" : "string",
|
|
5203
|
+
"required" : true,
|
|
5204
|
+
"attributes" : [ ],
|
|
5205
|
+
"annotations" : [ ],
|
|
5206
|
+
"description" : "Globally unique identifier"
|
|
5207
|
+
}, {
|
|
5208
|
+
"name" : "bank_account",
|
|
5209
|
+
"type" : "bank_account_reference",
|
|
5210
|
+
"required" : true,
|
|
5211
|
+
"attributes" : [ ],
|
|
5212
|
+
"annotations" : [ ]
|
|
5213
|
+
} ],
|
|
5214
|
+
"attributes" : [ ]
|
|
5183
5215
|
}, {
|
|
5184
5216
|
"name" : "delivery",
|
|
5185
5217
|
"plural" : "deliveries",
|
|
@@ -5661,6 +5693,14 @@
|
|
|
5661
5693
|
"attributes" : [ ],
|
|
5662
5694
|
"annotations" : [ ],
|
|
5663
5695
|
"description" : "net = gross -fees - withholdings"
|
|
5696
|
+
}, {
|
|
5697
|
+
"name" : "identifiers",
|
|
5698
|
+
"type" : "map[string]",
|
|
5699
|
+
"required" : true,
|
|
5700
|
+
"attributes" : [ ],
|
|
5701
|
+
"annotations" : [ ],
|
|
5702
|
+
"description" : "We serialize any transaction level identifiers as key/value pairs here",
|
|
5703
|
+
"default" : "{}"
|
|
5664
5704
|
}, {
|
|
5665
5705
|
"name" : "created_at",
|
|
5666
5706
|
"type" : "date-time-iso8601",
|
|
@@ -11543,6 +11583,19 @@
|
|
|
11543
11583
|
} ],
|
|
11544
11584
|
"attributes" : [ ],
|
|
11545
11585
|
"interfaces" : [ ]
|
|
11586
|
+
}, {
|
|
11587
|
+
"name" : "bank_account_reference",
|
|
11588
|
+
"plural" : "bank_account_references",
|
|
11589
|
+
"fields" : [ {
|
|
11590
|
+
"name" : "id",
|
|
11591
|
+
"type" : "string",
|
|
11592
|
+
"required" : true,
|
|
11593
|
+
"attributes" : [ ],
|
|
11594
|
+
"annotations" : [ ],
|
|
11595
|
+
"description" : "Bank account id"
|
|
11596
|
+
} ],
|
|
11597
|
+
"attributes" : [ ],
|
|
11598
|
+
"interfaces" : [ ]
|
|
11546
11599
|
}, {
|
|
11547
11600
|
"name" : "behavior_audit",
|
|
11548
11601
|
"plural" : "behavior_audits",
|
|
@@ -14698,6 +14751,14 @@
|
|
|
14698
14751
|
"attributes" : [ ],
|
|
14699
14752
|
"annotations" : [ ],
|
|
14700
14753
|
"description" : "net = gross -fees - withholdings"
|
|
14754
|
+
}, {
|
|
14755
|
+
"name" : "identifiers",
|
|
14756
|
+
"type" : "map[string]",
|
|
14757
|
+
"required" : true,
|
|
14758
|
+
"attributes" : [ ],
|
|
14759
|
+
"annotations" : [ ],
|
|
14760
|
+
"description" : "We serialize any transaction level identifiers as key/value pairs here",
|
|
14761
|
+
"default" : "{}"
|
|
14701
14762
|
}, {
|
|
14702
14763
|
"name" : "created_at",
|
|
14703
14764
|
"type" : "date-time-iso8601",
|
|
@@ -17564,6 +17625,18 @@
|
|
|
17564
17625
|
} ],
|
|
17565
17626
|
"attributes" : [ ],
|
|
17566
17627
|
"interfaces" : [ ]
|
|
17628
|
+
}, {
|
|
17629
|
+
"name" : "default_bank_account_form",
|
|
17630
|
+
"plural" : "default_bank_account_forms",
|
|
17631
|
+
"fields" : [ {
|
|
17632
|
+
"name" : "bank_account_id",
|
|
17633
|
+
"type" : "string",
|
|
17634
|
+
"required" : true,
|
|
17635
|
+
"attributes" : [ ],
|
|
17636
|
+
"annotations" : [ ]
|
|
17637
|
+
} ],
|
|
17638
|
+
"attributes" : [ ],
|
|
17639
|
+
"interfaces" : [ ]
|
|
17567
17640
|
}, {
|
|
17568
17641
|
"name" : "delivered_duty_setting",
|
|
17569
17642
|
"plural" : "delivered_duty_settings",
|
|
@@ -27676,8 +27749,8 @@
|
|
|
27676
27749
|
"plural" : "logistics_formats",
|
|
27677
27750
|
"fields" : [ {
|
|
27678
27751
|
"name" : "preference",
|
|
27679
|
-
"type" : "
|
|
27680
|
-
"required" :
|
|
27752
|
+
"type" : "logistics_format_preference",
|
|
27753
|
+
"required" : true,
|
|
27681
27754
|
"attributes" : [ ],
|
|
27682
27755
|
"annotations" : [ ],
|
|
27683
27756
|
"description" : "The name of the preference"
|
|
@@ -32982,6 +33055,25 @@
|
|
|
32982
33055
|
} ],
|
|
32983
33056
|
"attributes" : [ ],
|
|
32984
33057
|
"interfaces" : [ ]
|
|
33058
|
+
}, {
|
|
33059
|
+
"name" : "organization_default_bank_account",
|
|
33060
|
+
"plural" : "organization_default_bank_accounts",
|
|
33061
|
+
"fields" : [ {
|
|
33062
|
+
"name" : "id",
|
|
33063
|
+
"type" : "string",
|
|
33064
|
+
"required" : true,
|
|
33065
|
+
"attributes" : [ ],
|
|
33066
|
+
"annotations" : [ ],
|
|
33067
|
+
"description" : "Globally unique identifier"
|
|
33068
|
+
}, {
|
|
33069
|
+
"name" : "bank_account",
|
|
33070
|
+
"type" : "bank_account_reference",
|
|
33071
|
+
"required" : true,
|
|
33072
|
+
"attributes" : [ ],
|
|
33073
|
+
"annotations" : [ ]
|
|
33074
|
+
} ],
|
|
33075
|
+
"attributes" : [ ],
|
|
33076
|
+
"interfaces" : [ "default_bank_account" ]
|
|
32985
33077
|
}, {
|
|
32986
33078
|
"name" : "organization_default_configurations",
|
|
32987
33079
|
"plural" : "organization_default_configurations",
|
|
@@ -45182,13 +45274,13 @@
|
|
|
45182
45274
|
"attributes" : [ ],
|
|
45183
45275
|
"annotations" : [ ]
|
|
45184
45276
|
}, {
|
|
45185
|
-
"name" : "
|
|
45277
|
+
"name" : "last_year_xborder_gmv",
|
|
45186
45278
|
"type" : "money",
|
|
45187
45279
|
"required" : false,
|
|
45188
45280
|
"attributes" : [ ],
|
|
45189
45281
|
"annotations" : [ ]
|
|
45190
45282
|
}, {
|
|
45191
|
-
"name" : "
|
|
45283
|
+
"name" : "last_month_xborder_gmv",
|
|
45192
45284
|
"type" : "money",
|
|
45193
45285
|
"required" : false,
|
|
45194
45286
|
"attributes" : [ ],
|
|
@@ -45199,12 +45291,6 @@
|
|
|
45199
45291
|
"required" : false,
|
|
45200
45292
|
"attributes" : [ ],
|
|
45201
45293
|
"annotations" : [ ]
|
|
45202
|
-
}, {
|
|
45203
|
-
"name" : "total_order",
|
|
45204
|
-
"type" : "total_order",
|
|
45205
|
-
"required" : false,
|
|
45206
|
-
"attributes" : [ ],
|
|
45207
|
-
"annotations" : [ ]
|
|
45208
45294
|
} ],
|
|
45209
45295
|
"attributes" : [ ],
|
|
45210
45296
|
"interfaces" : [ ]
|
|
@@ -45382,13 +45468,13 @@
|
|
|
45382
45468
|
"attributes" : [ ],
|
|
45383
45469
|
"annotations" : [ ]
|
|
45384
45470
|
}, {
|
|
45385
|
-
"name" : "
|
|
45471
|
+
"name" : "last_year_xborder_gmv",
|
|
45386
45472
|
"type" : "money",
|
|
45387
45473
|
"required" : false,
|
|
45388
45474
|
"attributes" : [ ],
|
|
45389
45475
|
"annotations" : [ ]
|
|
45390
45476
|
}, {
|
|
45391
|
-
"name" : "
|
|
45477
|
+
"name" : "last_month_xborder_gmv",
|
|
45392
45478
|
"type" : "money",
|
|
45393
45479
|
"required" : false,
|
|
45394
45480
|
"attributes" : [ ],
|
|
@@ -45399,12 +45485,6 @@
|
|
|
45399
45485
|
"required" : false,
|
|
45400
45486
|
"attributes" : [ ],
|
|
45401
45487
|
"annotations" : [ ]
|
|
45402
|
-
}, {
|
|
45403
|
-
"name" : "total_order",
|
|
45404
|
-
"type" : "total_order",
|
|
45405
|
-
"required" : false,
|
|
45406
|
-
"attributes" : [ ],
|
|
45407
|
-
"annotations" : [ ]
|
|
45408
45488
|
} ],
|
|
45409
45489
|
"attributes" : [ ],
|
|
45410
45490
|
"interfaces" : [ ]
|
|
@@ -48519,24 +48599,6 @@
|
|
|
48519
48599
|
"attributes" : [ ],
|
|
48520
48600
|
"interfaces" : [ ],
|
|
48521
48601
|
"description" : "Defines the payload of a request to validate a token, with primary goal of preventing the token from being included in an HTTP GET."
|
|
48522
|
-
}, {
|
|
48523
|
-
"name" : "total_order",
|
|
48524
|
-
"plural" : "total_orders",
|
|
48525
|
-
"fields" : [ {
|
|
48526
|
-
"name" : "value",
|
|
48527
|
-
"type" : "money",
|
|
48528
|
-
"required" : false,
|
|
48529
|
-
"attributes" : [ ],
|
|
48530
|
-
"annotations" : [ ]
|
|
48531
|
-
}, {
|
|
48532
|
-
"name" : "count",
|
|
48533
|
-
"type" : "long",
|
|
48534
|
-
"required" : false,
|
|
48535
|
-
"attributes" : [ ],
|
|
48536
|
-
"annotations" : [ ]
|
|
48537
|
-
} ],
|
|
48538
|
-
"attributes" : [ ],
|
|
48539
|
-
"interfaces" : [ ]
|
|
48540
48602
|
}, {
|
|
48541
48603
|
"name" : "tracking",
|
|
48542
48604
|
"plural" : "trackings",
|
|
@@ -49281,6 +49343,14 @@
|
|
|
49281
49343
|
"attributes" : [ ],
|
|
49282
49344
|
"annotations" : [ ],
|
|
49283
49345
|
"description" : "net = gross -fees - withholdings"
|
|
49346
|
+
}, {
|
|
49347
|
+
"name" : "identifiers",
|
|
49348
|
+
"type" : "map[string]",
|
|
49349
|
+
"required" : true,
|
|
49350
|
+
"attributes" : [ ],
|
|
49351
|
+
"annotations" : [ ],
|
|
49352
|
+
"description" : "We serialize any transaction level identifiers as key/value pairs here",
|
|
49353
|
+
"default" : "{}"
|
|
49284
49354
|
}, {
|
|
49285
49355
|
"name" : "created_at",
|
|
49286
49356
|
"type" : "date-time-iso8601",
|
|
@@ -85772,6 +85842,156 @@
|
|
|
85772
85842
|
}
|
|
85773
85843
|
} ],
|
|
85774
85844
|
"path" : "/:organization/bank/accounts"
|
|
85845
|
+
}, {
|
|
85846
|
+
"type" : "organization_default_bank_account",
|
|
85847
|
+
"plural" : "organization_default_bank_accounts",
|
|
85848
|
+
"operations" : [ {
|
|
85849
|
+
"method" : "GET",
|
|
85850
|
+
"path" : "/:organization/default/bank/accounts",
|
|
85851
|
+
"parameters" : [ {
|
|
85852
|
+
"name" : "organization",
|
|
85853
|
+
"type" : "string",
|
|
85854
|
+
"location" : "Path",
|
|
85855
|
+
"required" : true,
|
|
85856
|
+
"description" : "Refers to your organization's account identifier"
|
|
85857
|
+
} ],
|
|
85858
|
+
"responses" : [ {
|
|
85859
|
+
"code" : {
|
|
85860
|
+
"integer" : {
|
|
85861
|
+
"value" : 200
|
|
85862
|
+
}
|
|
85863
|
+
},
|
|
85864
|
+
"type" : "organization_default_bank_account",
|
|
85865
|
+
"description" : "Successful response",
|
|
85866
|
+
"attributes" : [ ]
|
|
85867
|
+
}, {
|
|
85868
|
+
"code" : {
|
|
85869
|
+
"integer" : {
|
|
85870
|
+
"value" : 401
|
|
85871
|
+
}
|
|
85872
|
+
},
|
|
85873
|
+
"type" : "unit",
|
|
85874
|
+
"description" : "Authorization failed",
|
|
85875
|
+
"attributes" : [ ]
|
|
85876
|
+
}, {
|
|
85877
|
+
"code" : {
|
|
85878
|
+
"integer" : {
|
|
85879
|
+
"value" : 404
|
|
85880
|
+
}
|
|
85881
|
+
},
|
|
85882
|
+
"type" : "unit",
|
|
85883
|
+
"description" : "Resource was not found",
|
|
85884
|
+
"attributes" : [ ]
|
|
85885
|
+
} ],
|
|
85886
|
+
"attributes" : [ ]
|
|
85887
|
+
}, {
|
|
85888
|
+
"method" : "PUT",
|
|
85889
|
+
"path" : "/:organization/default/bank/accounts",
|
|
85890
|
+
"parameters" : [ {
|
|
85891
|
+
"name" : "organization",
|
|
85892
|
+
"type" : "string",
|
|
85893
|
+
"location" : "Path",
|
|
85894
|
+
"required" : true,
|
|
85895
|
+
"description" : "Refers to your organization's account identifier"
|
|
85896
|
+
} ],
|
|
85897
|
+
"responses" : [ {
|
|
85898
|
+
"code" : {
|
|
85899
|
+
"integer" : {
|
|
85900
|
+
"value" : 200
|
|
85901
|
+
}
|
|
85902
|
+
},
|
|
85903
|
+
"type" : "organization_default_bank_account",
|
|
85904
|
+
"description" : "Successful response",
|
|
85905
|
+
"attributes" : [ ]
|
|
85906
|
+
}, {
|
|
85907
|
+
"code" : {
|
|
85908
|
+
"integer" : {
|
|
85909
|
+
"value" : 201
|
|
85910
|
+
}
|
|
85911
|
+
},
|
|
85912
|
+
"type" : "organization_default_bank_account",
|
|
85913
|
+
"description" : "Operation succeeded and the resource was created",
|
|
85914
|
+
"attributes" : [ ]
|
|
85915
|
+
}, {
|
|
85916
|
+
"code" : {
|
|
85917
|
+
"integer" : {
|
|
85918
|
+
"value" : 401
|
|
85919
|
+
}
|
|
85920
|
+
},
|
|
85921
|
+
"type" : "unit",
|
|
85922
|
+
"description" : "Authorization failed",
|
|
85923
|
+
"attributes" : [ ]
|
|
85924
|
+
}, {
|
|
85925
|
+
"code" : {
|
|
85926
|
+
"integer" : {
|
|
85927
|
+
"value" : 422
|
|
85928
|
+
}
|
|
85929
|
+
},
|
|
85930
|
+
"type" : "generic_error",
|
|
85931
|
+
"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.",
|
|
85932
|
+
"attributes" : [ ]
|
|
85933
|
+
} ],
|
|
85934
|
+
"attributes" : [ ],
|
|
85935
|
+
"body" : {
|
|
85936
|
+
"type" : "default_bank_account_form",
|
|
85937
|
+
"attributes" : [ ]
|
|
85938
|
+
}
|
|
85939
|
+
}, {
|
|
85940
|
+
"method" : "DELETE",
|
|
85941
|
+
"path" : "/:organization/default/bank/accounts",
|
|
85942
|
+
"parameters" : [ {
|
|
85943
|
+
"name" : "organization",
|
|
85944
|
+
"type" : "string",
|
|
85945
|
+
"location" : "Path",
|
|
85946
|
+
"required" : true,
|
|
85947
|
+
"description" : "Refers to your organization's account identifier"
|
|
85948
|
+
} ],
|
|
85949
|
+
"responses" : [ {
|
|
85950
|
+
"code" : {
|
|
85951
|
+
"integer" : {
|
|
85952
|
+
"value" : 204
|
|
85953
|
+
}
|
|
85954
|
+
},
|
|
85955
|
+
"type" : "unit",
|
|
85956
|
+
"description" : "Operation succeeded. No content is returned",
|
|
85957
|
+
"attributes" : [ ]
|
|
85958
|
+
}, {
|
|
85959
|
+
"code" : {
|
|
85960
|
+
"integer" : {
|
|
85961
|
+
"value" : 401
|
|
85962
|
+
}
|
|
85963
|
+
},
|
|
85964
|
+
"type" : "unit",
|
|
85965
|
+
"description" : "Authorization failed",
|
|
85966
|
+
"attributes" : [ ]
|
|
85967
|
+
}, {
|
|
85968
|
+
"code" : {
|
|
85969
|
+
"integer" : {
|
|
85970
|
+
"value" : 404
|
|
85971
|
+
}
|
|
85972
|
+
},
|
|
85973
|
+
"type" : "unit",
|
|
85974
|
+
"description" : "Resource was not found",
|
|
85975
|
+
"attributes" : [ ]
|
|
85976
|
+
}, {
|
|
85977
|
+
"code" : {
|
|
85978
|
+
"integer" : {
|
|
85979
|
+
"value" : 422
|
|
85980
|
+
}
|
|
85981
|
+
},
|
|
85982
|
+
"type" : "generic_error",
|
|
85983
|
+
"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.",
|
|
85984
|
+
"attributes" : [ ]
|
|
85985
|
+
} ],
|
|
85986
|
+
"attributes" : [ ]
|
|
85987
|
+
} ],
|
|
85988
|
+
"attributes" : [ {
|
|
85989
|
+
"name" : "docs",
|
|
85990
|
+
"value" : {
|
|
85991
|
+
"module" : "general"
|
|
85992
|
+
}
|
|
85993
|
+
} ],
|
|
85994
|
+
"path" : "/:organization/default/bank/accounts"
|
|
85775
85995
|
}, {
|
|
85776
85996
|
"type" : "organization_default_configurations",
|
|
85777
85997
|
"plural" : "organization_default_configurations",
|