@steamsets/client-ts 0.11.5 → 0.11.6

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 (37) hide show
  1. package/README.md +17 -6
  2. package/docs/sdks/account/README.md +89 -109
  3. package/docs/sdks/app/README.md +6 -7
  4. package/docs/sdks/badge/README.md +6 -7
  5. package/docs/sdks/connection/README.md +12 -15
  6. package/docs/sdks/data/README.md +27 -35
  7. package/docs/sdks/developer/README.md +9 -11
  8. package/docs/sdks/leaderboard/README.md +22 -19
  9. package/docs/sdks/liveness/README.md +2 -2
  10. package/docs/sdks/location/README.md +3 -3
  11. package/docs/sdks/public/README.md +24 -31
  12. package/docs/sdks/session/README.md +11 -14
  13. package/docs/sdks/settings/README.md +20 -26
  14. package/lib/config.d.ts +3 -3
  15. package/lib/config.js +3 -3
  16. package/models/components/index.d.ts +1 -0
  17. package/models/components/index.d.ts.map +1 -1
  18. package/models/components/index.js +1 -0
  19. package/models/components/index.js.map +1 -1
  20. package/models/components/leaderboardapp.d.ts +21 -0
  21. package/models/components/leaderboardapp.d.ts.map +1 -0
  22. package/models/components/leaderboardapp.js +46 -0
  23. package/models/components/leaderboardapp.js.map +1 -0
  24. package/models/components/v1accountleaderboardrequestbody.d.ts +5 -2
  25. package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
  26. package/models/components/v1accountleaderboardrequestbody.js +3 -2
  27. package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
  28. package/models/components/v1accountleaderboardresponsebody.d.ts +7 -7
  29. package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
  30. package/models/components/v1accountleaderboardresponsebody.js +8 -7
  31. package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/lib/config.ts +3 -3
  34. package/src/models/components/index.ts +1 -0
  35. package/src/models/components/leaderboardapp.ts +37 -0
  36. package/src/models/components/v1accountleaderboardrequestbody.ts +8 -4
  37. package/src/models/components/v1accountleaderboardresponsebody.ts +18 -17
package/README.md CHANGED
@@ -255,15 +255,24 @@ run();
255
255
  <!-- Start Error Handling [errors] -->
256
256
  ## Error Handling
257
257
 
258
- All SDK methods return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type.
258
+ All SDK methods return a response object or throw an error. By default, an API error will throw a `errors.SDKError`.
259
259
 
260
- | Error Object | Status Code | Content Type |
261
- | ------------------------ | ------------------------ | ------------------------ |
262
- | errors.ErrorModel | 400,422,500 | application/problem+json |
263
- | errors.SDKError | 4xx-5xx | */* |
260
+ If a HTTP request fails, an operation my also throw an error from the `models/errors/httpclienterrors.ts` module:
261
+
262
+ | HTTP Client Error | Description |
263
+ | ---------------------------------------------------- | ---------------------------------------------------- |
264
+ | RequestAbortedError | HTTP request was aborted by the client |
265
+ | RequestTimeoutError | HTTP request timed out due to an AbortSignal signal |
266
+ | ConnectionError | HTTP client was unable to make a request to a server |
267
+ | InvalidRequestError | Any input used to create a request is invalid |
268
+ | UnexpectedClientError | Unrecognised or unexpected error |
264
269
 
265
- Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging.
270
+ In addition, when custom error responses are specified for an operation, the SDK may throw their associated Error type. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation. For example, the `accountV1ConnectionConnect` method may throw the following errors:
266
271
 
272
+ | Error Type | Status Code | Content Type |
273
+ | ------------------------ | ------------------------ | ------------------------ |
274
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
275
+ | errors.SDKError | 4XX, 5XX | \*/\* |
267
276
 
268
277
  ```typescript
269
278
  import { SteamSets } from "@steamsets/client-ts";
@@ -310,6 +319,8 @@ async function run() {
310
319
  run();
311
320
 
312
321
  ```
322
+
323
+ Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging.
313
324
  <!-- End Error Handling [errors] -->
314
325
 
315
326
  <!-- Start Server Selection [server] -->
@@ -107,11 +107,10 @@ run();
107
107
 
108
108
  ### Errors
109
109
 
110
- | Error Object | Status Code | Content Type |
110
+ | Error Type | Status Code | Content Type |
111
111
  | ------------------------ | ------------------------ | ------------------------ |
112
- | errors.ErrorModel | 400,422,500 | application/problem+json |
113
- | errors.SDKError | 4xx-5xx | */* |
114
-
112
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
113
+ | errors.SDKError | 4XX, 5XX | \*/\* |
115
114
 
116
115
  ## accountV1SessionCreate
117
116
 
@@ -181,11 +180,10 @@ run();
181
180
 
182
181
  ### Errors
183
182
 
184
- | Error Object | Status Code | Content Type |
183
+ | Error Type | Status Code | Content Type |
185
184
  | ------------------------ | ------------------------ | ------------------------ |
186
- | errors.ErrorModel | 422,500 | application/problem+json |
187
- | errors.SDKError | 4xx-5xx | */* |
188
-
185
+ | errors.ErrorModel | 422, 500 | application/problem+json |
186
+ | errors.SDKError | 4XX, 5XX | \*/\* |
189
187
 
190
188
  ## accountV1ConnectionDeleteConnection
191
189
 
@@ -259,11 +257,10 @@ run();
259
257
 
260
258
  ### Errors
261
259
 
262
- | Error Object | Status Code | Content Type |
260
+ | Error Type | Status Code | Content Type |
263
261
  | ------------------------ | ------------------------ | ------------------------ |
264
- | errors.ErrorModel | 400,422,500 | application/problem+json |
265
- | errors.SDKError | 4xx-5xx | */* |
266
-
262
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
263
+ | errors.SDKError | 4XX, 5XX | \*/\* |
267
264
 
268
265
  ## accountV1SettingsDeleteImages
269
266
 
@@ -341,11 +338,10 @@ run();
341
338
 
342
339
  ### Errors
343
340
 
344
- | Error Object | Status Code | Content Type |
341
+ | Error Type | Status Code | Content Type |
345
342
  | ------------------------ | ------------------------ | ------------------------ |
346
- | errors.ErrorModel | 404,422,500 | application/problem+json |
347
- | errors.SDKError | 4xx-5xx | */* |
348
-
343
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
344
+ | errors.SDKError | 4XX, 5XX | \*/\* |
349
345
 
350
346
  ## accountV1SessionDelete
351
347
 
@@ -419,11 +415,10 @@ run();
419
415
 
420
416
  ### Errors
421
417
 
422
- | Error Object | Status Code | Content Type |
418
+ | Error Type | Status Code | Content Type |
423
419
  | ------------------------ | ------------------------ | ------------------------ |
424
- | errors.ErrorModel | 404,422,500 | application/problem+json |
425
- | errors.SDKError | 4xx-5xx | */* |
426
-
420
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
421
+ | errors.SDKError | 4XX, 5XX | \*/\* |
427
422
 
428
423
  ## accountV1GetApps
429
424
 
@@ -493,11 +488,10 @@ run();
493
488
 
494
489
  ### Errors
495
490
 
496
- | Error Object | Status Code | Content Type |
491
+ | Error Type | Status Code | Content Type |
497
492
  | ------------------------ | ------------------------ | ------------------------ |
498
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
499
- | errors.SDKError | 4xx-5xx | */* |
500
-
493
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
494
+ | errors.SDKError | 4XX, 5XX | \*/\* |
501
495
 
502
496
  ## accountV1GetBadges
503
497
 
@@ -567,11 +561,10 @@ run();
567
561
 
568
562
  ### Errors
569
563
 
570
- | Error Object | Status Code | Content Type |
564
+ | Error Type | Status Code | Content Type |
571
565
  | ------------------------ | ------------------------ | ------------------------ |
572
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
573
- | errors.SDKError | 4xx-5xx | */* |
574
-
566
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
567
+ | errors.SDKError | 4XX, 5XX | \*/\* |
575
568
 
576
569
  ## accountV1GetDataPoints
577
570
 
@@ -641,11 +634,10 @@ run();
641
634
 
642
635
  ### Errors
643
636
 
644
- | Error Object | Status Code | Content Type |
637
+ | Error Type | Status Code | Content Type |
645
638
  | ------------------------ | ------------------------ | ------------------------ |
646
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
647
- | errors.SDKError | 4xx-5xx | */* |
648
-
639
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
640
+ | errors.SDKError | 4XX, 5XX | \*/\* |
649
641
 
650
642
  ## accountV1GetFriends
651
643
 
@@ -715,11 +707,10 @@ run();
715
707
 
716
708
  ### Errors
717
709
 
718
- | Error Object | Status Code | Content Type |
710
+ | Error Type | Status Code | Content Type |
719
711
  | ------------------------ | ------------------------ | ------------------------ |
720
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
721
- | errors.SDKError | 4xx-5xx | */* |
722
-
712
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
713
+ | errors.SDKError | 4XX, 5XX | \*/\* |
723
714
 
724
715
  ## accountV1GetInfo
725
716
 
@@ -789,11 +780,10 @@ run();
789
780
 
790
781
  ### Errors
791
782
 
792
- | Error Object | Status Code | Content Type |
783
+ | Error Type | Status Code | Content Type |
793
784
  | ------------------------ | ------------------------ | ------------------------ |
794
- | errors.ErrorModel | 404,422,429,500 | application/problem+json |
795
- | errors.SDKError | 4xx-5xx | */* |
796
-
785
+ | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
786
+ | errors.SDKError | 4XX, 5XX | \*/\* |
797
787
 
798
788
  ## accountV1GetLeaderboardHistory
799
789
 
@@ -863,11 +853,10 @@ run();
863
853
 
864
854
  ### Errors
865
855
 
866
- | Error Object | Status Code | Content Type |
856
+ | Error Type | Status Code | Content Type |
867
857
  | ------------------------ | ------------------------ | ------------------------ |
868
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
869
- | errors.SDKError | 4xx-5xx | */* |
870
-
858
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
859
+ | errors.SDKError | 4XX, 5XX | \*/\* |
871
860
 
872
861
  ## accountV1LeaderboardPreview
873
862
 
@@ -943,11 +932,10 @@ run();
943
932
 
944
933
  ### Errors
945
934
 
946
- | Error Object | Status Code | Content Type |
935
+ | Error Type | Status Code | Content Type |
947
936
  | ------------------------ | ------------------------ | ------------------------ |
948
- | errors.ErrorModel | 404,422,500 | application/problem+json |
949
- | errors.SDKError | 4xx-5xx | */* |
950
-
937
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
938
+ | errors.SDKError | 4XX, 5XX | \*/\* |
951
939
 
952
940
  ## accountV1SessionGet
953
941
 
@@ -1016,11 +1004,10 @@ run();
1016
1004
 
1017
1005
  ### Errors
1018
1006
 
1019
- | Error Object | Status Code | Content Type |
1007
+ | Error Type | Status Code | Content Type |
1020
1008
  | ------------------------ | ------------------------ | ------------------------ |
1021
1009
  | errors.ErrorModel | 500 | application/problem+json |
1022
- | errors.SDKError | 4xx-5xx | */* |
1023
-
1010
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1024
1011
 
1025
1012
  ## accountV1SettingsGet
1026
1013
 
@@ -1089,11 +1076,10 @@ run();
1089
1076
 
1090
1077
  ### Errors
1091
1078
 
1092
- | Error Object | Status Code | Content Type |
1079
+ | Error Type | Status Code | Content Type |
1093
1080
  | ------------------------ | ------------------------ | ------------------------ |
1094
1081
  | errors.ErrorModel | 500 | application/problem+json |
1095
- | errors.SDKError | 4xx-5xx | */* |
1096
-
1082
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1097
1083
 
1098
1084
  ## accountV1GetStaff
1099
1085
 
@@ -1162,11 +1148,10 @@ run();
1162
1148
 
1163
1149
  ### Errors
1164
1150
 
1165
- | Error Object | Status Code | Content Type |
1151
+ | Error Type | Status Code | Content Type |
1166
1152
  | ------------------------ | ------------------------ | ------------------------ |
1167
- | errors.ErrorModel | 404,429,500 | application/problem+json |
1168
- | errors.SDKError | 4xx-5xx | */* |
1169
-
1153
+ | errors.ErrorModel | 404, 429, 500 | application/problem+json |
1154
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1170
1155
 
1171
1156
  ## accountV1SessionLogin
1172
1157
 
@@ -1262,11 +1247,10 @@ run();
1262
1247
 
1263
1248
  ### Errors
1264
1249
 
1265
- | Error Object | Status Code | Content Type |
1250
+ | Error Type | Status Code | Content Type |
1266
1251
  | ------------------------ | ------------------------ | ------------------------ |
1267
- | errors.ErrorModel | 400,422,429,500 | application/problem+json |
1268
- | errors.SDKError | 4xx-5xx | */* |
1269
-
1252
+ | errors.ErrorModel | 400, 422, 429, 500 | application/problem+json |
1253
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1270
1254
 
1271
1255
  ## accountV1Queue
1272
1256
 
@@ -1340,11 +1324,10 @@ run();
1340
1324
 
1341
1325
  ### Errors
1342
1326
 
1343
- | Error Object | Status Code | Content Type |
1327
+ | Error Type | Status Code | Content Type |
1344
1328
  | ------------------------ | ------------------------ | ------------------------ |
1345
- | errors.ErrorModel | 400,422,429,500 | application/problem+json |
1346
- | errors.SDKError | 4xx-5xx | */* |
1347
-
1329
+ | errors.ErrorModel | 400, 422, 429, 500 | application/problem+json |
1330
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1348
1331
 
1349
1332
  ## accountV1SettingsSendEmailVerification
1350
1333
 
@@ -1414,11 +1397,10 @@ run();
1414
1397
 
1415
1398
  ### Errors
1416
1399
 
1417
- | Error Object | Status Code | Content Type |
1400
+ | Error Type | Status Code | Content Type |
1418
1401
  | ------------------------ | ------------------------ | ------------------------ |
1419
- | errors.ErrorModel | 404,422,429,500 | application/problem+json |
1420
- | errors.SDKError | 4xx-5xx | */* |
1421
-
1402
+ | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
1403
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1422
1404
 
1423
1405
  ## accountV1ConnectionUpdateConnection
1424
1406
 
@@ -1494,11 +1476,10 @@ run();
1494
1476
 
1495
1477
  ### Errors
1496
1478
 
1497
- | Error Object | Status Code | Content Type |
1479
+ | Error Type | Status Code | Content Type |
1498
1480
  | ------------------------ | ------------------------ | ------------------------ |
1499
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
1500
- | errors.SDKError | 4xx-5xx | */* |
1501
-
1481
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
1482
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1502
1483
 
1503
1484
  ## accountV1SettingsUpdateImage
1504
1485
 
@@ -1574,11 +1555,10 @@ run();
1574
1555
 
1575
1556
  ### Errors
1576
1557
 
1577
- | Error Object | Status Code | Content Type |
1558
+ | Error Type | Status Code | Content Type |
1578
1559
  | ------------------------ | ------------------------ | ------------------------ |
1579
- | errors.ErrorModel | 404,422,500 | application/problem+json |
1580
- | errors.SDKError | 4xx-5xx | */* |
1581
-
1560
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
1561
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1582
1562
 
1583
1563
  ## accountV1SettingsUpdate
1584
1564
 
@@ -1680,11 +1660,10 @@ run();
1680
1660
 
1681
1661
  ### Errors
1682
1662
 
1683
- | Error Object | Status Code | Content Type |
1663
+ | Error Type | Status Code | Content Type |
1684
1664
  | ------------------------ | ------------------------ | ------------------------ |
1685
- | errors.ErrorModel | 422,429,500 | application/problem+json |
1686
- | errors.SDKError | 4xx-5xx | */* |
1687
-
1665
+ | errors.ErrorModel | 422, 429, 500 | application/problem+json |
1666
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1688
1667
 
1689
1668
  ## accountV1SettingsUploadImages
1690
1669
 
@@ -1768,11 +1747,10 @@ run();
1768
1747
 
1769
1748
  ### Errors
1770
1749
 
1771
- | Error Object | Status Code | Content Type |
1750
+ | Error Type | Status Code | Content Type |
1772
1751
  | ------------------------ | ------------------------ | ------------------------ |
1773
- | errors.ErrorModel | 422,500 | application/problem+json |
1774
- | errors.SDKError | 4xx-5xx | */* |
1775
-
1752
+ | errors.ErrorModel | 422, 500 | application/problem+json |
1753
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1776
1754
 
1777
1755
  ## accountV1ConnectionVerifyConnection
1778
1756
 
@@ -1846,11 +1824,10 @@ run();
1846
1824
 
1847
1825
  ### Errors
1848
1826
 
1849
- | Error Object | Status Code | Content Type |
1827
+ | Error Type | Status Code | Content Type |
1850
1828
  | ------------------------ | ------------------------ | ------------------------ |
1851
- | errors.ErrorModel | 400,422,500 | application/problem+json |
1852
- | errors.SDKError | 4xx-5xx | */* |
1853
-
1829
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
1830
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1854
1831
 
1855
1832
  ## accountV1SettingsVerfyEmail
1856
1833
 
@@ -1924,11 +1901,10 @@ run();
1924
1901
 
1925
1902
  ### Errors
1926
1903
 
1927
- | Error Object | Status Code | Content Type |
1904
+ | Error Type | Status Code | Content Type |
1928
1905
  | ------------------------ | ------------------------ | ------------------------ |
1929
- | errors.ErrorModel | 404,422,429,500 | application/problem+json |
1930
- | errors.SDKError | 4xx-5xx | */* |
1931
-
1906
+ | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
1907
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1932
1908
 
1933
1909
  ## leaderboardV1GetAccount
1934
1910
 
@@ -1950,12 +1926,14 @@ async function run() {
1950
1926
  badgeIsFoil: true,
1951
1927
  end: 10,
1952
1928
  leaderboard: "xp",
1953
- location: {
1954
- city: "Bad Krozingen",
1955
- country: "Germany",
1956
- region: "Europe",
1957
- state: "Baden-Wurttemberg",
1958
- },
1929
+ location: [
1930
+ {
1931
+ city: "Bad Krozingen",
1932
+ country: "Germany",
1933
+ region: "Europe",
1934
+ state: "Baden-Wurttemberg",
1935
+ },
1936
+ ],
1959
1937
  start: 1,
1960
1938
  });
1961
1939
 
@@ -1987,12 +1965,14 @@ async function run() {
1987
1965
  badgeIsFoil: true,
1988
1966
  end: 10,
1989
1967
  leaderboard: "xp",
1990
- location: {
1991
- city: "Bad Krozingen",
1992
- country: "Germany",
1993
- region: "Europe",
1994
- state: "Baden-Wurttemberg",
1995
- },
1968
+ location: [
1969
+ {
1970
+ city: "Bad Krozingen",
1971
+ country: "Germany",
1972
+ region: "Europe",
1973
+ state: "Baden-Wurttemberg",
1974
+ },
1975
+ ],
1996
1976
  start: 1,
1997
1977
  });
1998
1978
 
@@ -2024,7 +2004,7 @@ run();
2024
2004
 
2025
2005
  ### Errors
2026
2006
 
2027
- | Error Object | Status Code | Content Type |
2007
+ | Error Type | Status Code | Content Type |
2028
2008
  | ------------------------ | ------------------------ | ------------------------ |
2029
- | errors.ErrorModel | 404,422,500 | application/problem+json |
2030
- | errors.SDKError | 4xx-5xx | */* |
2009
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
2010
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -82,11 +82,10 @@ run();
82
82
 
83
83
  ### Errors
84
84
 
85
- | Error Object | Status Code | Content Type |
85
+ | Error Type | Status Code | Content Type |
86
86
  | ------------------------ | ------------------------ | ------------------------ |
87
- | errors.ErrorModel | 404,422,500 | application/problem+json |
88
- | errors.SDKError | 4xx-5xx | */* |
89
-
87
+ | errors.ErrorModel | 404, 422, 500 | application/problem+json |
88
+ | errors.SDKError | 4XX, 5XX | \*/\* |
90
89
 
91
90
  ## appV1Queue
92
91
 
@@ -160,7 +159,7 @@ run();
160
159
 
161
160
  ### Errors
162
161
 
163
- | Error Object | Status Code | Content Type |
162
+ | Error Type | Status Code | Content Type |
164
163
  | ------------------------ | ------------------------ | ------------------------ |
165
- | errors.ErrorModel | 400,422,429,500 | application/problem+json |
166
- | errors.SDKError | 4xx-5xx | */* |
164
+ | errors.ErrorModel | 400, 422, 429, 500 | application/problem+json |
165
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -76,11 +76,10 @@ run();
76
76
 
77
77
  ### Errors
78
78
 
79
- | Error Object | Status Code | Content Type |
79
+ | Error Type | Status Code | Content Type |
80
80
  | ------------------------ | ------------------------ | ------------------------ |
81
- | errors.ErrorModel | 403,404,422,500 | application/problem+json |
82
- | errors.SDKError | 4xx-5xx | */* |
83
-
81
+ | errors.ErrorModel | 403, 404, 422, 500 | application/problem+json |
82
+ | errors.SDKError | 4XX, 5XX | \*/\* |
84
83
 
85
84
  ## badgeV1Tag
86
85
 
@@ -190,7 +189,7 @@ run();
190
189
 
191
190
  ### Errors
192
191
 
193
- | Error Object | Status Code | Content Type |
192
+ | Error Type | Status Code | Content Type |
194
193
  | ------------------------ | ------------------------ | ------------------------ |
195
- | errors.ErrorModel | 403,404,422,500 | application/problem+json |
196
- | errors.SDKError | 4xx-5xx | */* |
194
+ | errors.ErrorModel | 403, 404, 422, 500 | application/problem+json |
195
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -86,11 +86,10 @@ run();
86
86
 
87
87
  ### Errors
88
88
 
89
- | Error Object | Status Code | Content Type |
89
+ | Error Type | Status Code | Content Type |
90
90
  | ------------------------ | ------------------------ | ------------------------ |
91
- | errors.ErrorModel | 400,422,500 | application/problem+json |
92
- | errors.SDKError | 4xx-5xx | */* |
93
-
91
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
92
+ | errors.SDKError | 4XX, 5XX | \*/\* |
94
93
 
95
94
  ## accountV1ConnectionDeleteConnection
96
95
 
@@ -164,11 +163,10 @@ run();
164
163
 
165
164
  ### Errors
166
165
 
167
- | Error Object | Status Code | Content Type |
166
+ | Error Type | Status Code | Content Type |
168
167
  | ------------------------ | ------------------------ | ------------------------ |
169
- | errors.ErrorModel | 400,422,500 | application/problem+json |
170
- | errors.SDKError | 4xx-5xx | */* |
171
-
168
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
169
+ | errors.SDKError | 4XX, 5XX | \*/\* |
172
170
 
173
171
  ## accountV1ConnectionUpdateConnection
174
172
 
@@ -244,11 +242,10 @@ run();
244
242
 
245
243
  ### Errors
246
244
 
247
- | Error Object | Status Code | Content Type |
245
+ | Error Type | Status Code | Content Type |
248
246
  | ------------------------ | ------------------------ | ------------------------ |
249
- | errors.ErrorModel | 400,404,422,500 | application/problem+json |
250
- | errors.SDKError | 4xx-5xx | */* |
251
-
247
+ | errors.ErrorModel | 400, 404, 422, 500 | application/problem+json |
248
+ | errors.SDKError | 4XX, 5XX | \*/\* |
252
249
 
253
250
  ## accountV1ConnectionVerifyConnection
254
251
 
@@ -322,7 +319,7 @@ run();
322
319
 
323
320
  ### Errors
324
321
 
325
- | Error Object | Status Code | Content Type |
322
+ | Error Type | Status Code | Content Type |
326
323
  | ------------------------ | ------------------------ | ------------------------ |
327
- | errors.ErrorModel | 400,422,500 | application/problem+json |
328
- | errors.SDKError | 4xx-5xx | */* |
324
+ | errors.ErrorModel | 400, 422, 500 | application/problem+json |
325
+ | errors.SDKError | 4XX, 5XX | \*/\* |