@steamsets/client-ts 0.5.3 → 0.5.5

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 (89) hide show
  1. package/README.md +9 -3
  2. package/docs/sdks/account/README.md +83 -10
  3. package/docs/sdks/data/README.md +79 -0
  4. package/docs/sdks/public/README.md +79 -0
  5. package/docs/sdks/settings/README.md +4 -10
  6. package/funcs/accountAccountV1GetDataPoints.d.ts +13 -0
  7. package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -0
  8. package/funcs/accountAccountV1GetDataPoints.js +105 -0
  9. package/funcs/accountAccountV1GetDataPoints.js.map +1 -0
  10. package/funcs/dataAccountV1GetDataPoints.d.ts +13 -0
  11. package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -0
  12. package/funcs/dataAccountV1GetDataPoints.js +105 -0
  13. package/funcs/dataAccountV1GetDataPoints.js.map +1 -0
  14. package/funcs/publicAccountV1GetDataPoints.d.ts +13 -0
  15. package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -0
  16. package/funcs/publicAccountV1GetDataPoints.js +105 -0
  17. package/funcs/publicAccountV1GetDataPoints.js.map +1 -0
  18. package/lib/config.d.ts +3 -3
  19. package/lib/config.js +3 -3
  20. package/lib/config.js.map +1 -1
  21. package/models/components/accountbadgemostxpdatapoint.d.ts +83 -0
  22. package/models/components/accountbadgemostxpdatapoint.d.ts.map +1 -0
  23. package/models/components/accountbadgemostxpdatapoint.js +75 -0
  24. package/models/components/accountbadgemostxpdatapoint.js.map +1 -0
  25. package/models/components/accountbadgescarcitydatapoint.d.ts +68 -0
  26. package/models/components/accountbadgescarcitydatapoint.d.ts.map +1 -0
  27. package/models/components/accountbadgescarcitydatapoint.js +66 -0
  28. package/models/components/accountbadgescarcitydatapoint.js.map +1 -0
  29. package/models/components/accountplaytimedatapoint.d.ts +43 -0
  30. package/models/components/accountplaytimedatapoint.d.ts.map +1 -0
  31. package/models/components/{item.js → accountplaytimedatapoint.js} +19 -15
  32. package/models/components/accountplaytimedatapoint.js.map +1 -0
  33. package/models/components/image.d.ts +0 -10
  34. package/models/components/image.d.ts.map +1 -1
  35. package/models/components/image.js +0 -4
  36. package/models/components/image.js.map +1 -1
  37. package/models/components/index.d.ts +4 -1
  38. package/models/components/index.d.ts.map +1 -1
  39. package/models/components/index.js +4 -1
  40. package/models/components/index.js.map +1 -1
  41. package/models/components/v1accountdatapointsresponsebody.d.ts +47 -0
  42. package/models/components/v1accountdatapointsresponsebody.d.ts.map +1 -0
  43. package/models/components/v1accountdatapointsresponsebody.js +74 -0
  44. package/models/components/v1accountdatapointsresponsebody.js.map +1 -0
  45. package/models/components/v1deleteimagesrequestbody.d.ts +3 -4
  46. package/models/components/v1deleteimagesrequestbody.d.ts.map +1 -1
  47. package/models/components/v1deleteimagesrequestbody.js +2 -3
  48. package/models/components/v1deleteimagesrequestbody.js.map +1 -1
  49. package/models/operations/accountv1getdatapoints.d.ts +58 -0
  50. package/models/operations/accountv1getdatapoints.d.ts.map +1 -0
  51. package/models/operations/accountv1getdatapoints.js +107 -0
  52. package/models/operations/accountv1getdatapoints.js.map +1 -0
  53. package/models/operations/index.d.ts +1 -0
  54. package/models/operations/index.d.ts.map +1 -1
  55. package/models/operations/index.js +1 -0
  56. package/models/operations/index.js.map +1 -1
  57. package/package.json +1 -1
  58. package/sdk/account.d.ts +4 -0
  59. package/sdk/account.d.ts.map +1 -1
  60. package/sdk/account.js +7 -0
  61. package/sdk/account.js.map +1 -1
  62. package/sdk/data.d.ts +4 -0
  63. package/sdk/data.d.ts.map +1 -1
  64. package/sdk/data.js +7 -0
  65. package/sdk/data.js.map +1 -1
  66. package/sdk/public.d.ts +4 -0
  67. package/sdk/public.d.ts.map +1 -1
  68. package/sdk/public.js +7 -0
  69. package/sdk/public.js.map +1 -1
  70. package/src/funcs/accountAccountV1GetDataPoints.ts +139 -0
  71. package/src/funcs/dataAccountV1GetDataPoints.ts +139 -0
  72. package/src/funcs/publicAccountV1GetDataPoints.ts +139 -0
  73. package/src/lib/config.ts +3 -3
  74. package/src/models/components/accountbadgemostxpdatapoint.ts +128 -0
  75. package/src/models/components/accountbadgescarcitydatapoint.ts +104 -0
  76. package/src/models/components/accountplaytimedatapoint.ts +69 -0
  77. package/src/models/components/image.ts +0 -14
  78. package/src/models/components/index.ts +4 -1
  79. package/src/models/components/v1accountdatapointsresponsebody.ts +95 -0
  80. package/src/models/components/v1deleteimagesrequestbody.ts +5 -6
  81. package/src/models/operations/accountv1getdatapoints.ts +136 -0
  82. package/src/models/operations/index.ts +1 -0
  83. package/src/sdk/account.ts +11 -0
  84. package/src/sdk/data.ts +11 -0
  85. package/src/sdk/public.ts +11 -0
  86. package/models/components/item.d.ts +0 -33
  87. package/models/components/item.d.ts.map +0 -1
  88. package/models/components/item.js.map +0 -1
  89. package/src/models/components/item.ts +0 -47
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.dataAccountV1GetDataPoints = dataAccountV1GetDataPoints;
30
+ const encodings_js_1 = require("../lib/encodings.js");
31
+ const m$ = __importStar(require("../lib/matchers.js"));
32
+ const schemas$ = __importStar(require("../lib/schemas.js"));
33
+ const security_js_1 = require("../lib/security.js");
34
+ const url_js_1 = require("../lib/url.js");
35
+ const errors = __importStar(require("../models/errors/index.js"));
36
+ const operations = __importStar(require("../models/operations/index.js"));
37
+ /**
38
+ * Get Account DataPoints
39
+ */
40
+ async function dataAccountV1GetDataPoints(client$, request, options) {
41
+ const input$ = request;
42
+ const parsed$ = schemas$.safeParse(input$, (value$) => operations.AccountV1GetDataPointsRequest$outboundSchema.parse(value$), "Input validation failed");
43
+ if (!parsed$.ok) {
44
+ return parsed$;
45
+ }
46
+ const payload$ = parsed$.value;
47
+ const body$ = (0, encodings_js_1.encodeJSON)("body", payload$.AccountSearch, { explode: true });
48
+ const path$ = (0, url_js_1.pathToFunc)("/account.v1.AccountService/GetDataPoints")();
49
+ const headers$ = new Headers({
50
+ "Content-Type": "application/json",
51
+ Accept: "application/json",
52
+ "User-Agent": (0, encodings_js_1.encodeSimple)("User-Agent", payload$["User-Agent"], {
53
+ explode: false,
54
+ charEncoding: "none",
55
+ }),
56
+ "X-Forwarded-For": (0, encodings_js_1.encodeSimple)("X-Forwarded-For", payload$["X-Forwarded-For"], {
57
+ explode: false,
58
+ charEncoding: "none",
59
+ }),
60
+ });
61
+ const session$ = await (0, security_js_1.extractSecurity)(client$.options$.session);
62
+ const security$ = session$ == null ? {} : { session: session$ };
63
+ const context = {
64
+ operationID: "account.v1.getDataPoints",
65
+ oAuth2Scopes: [],
66
+ securitySource: client$.options$.session,
67
+ };
68
+ const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
69
+ const requestRes = client$.createRequest$(context, {
70
+ security: securitySettings$,
71
+ method: "POST",
72
+ path: path$,
73
+ headers: headers$,
74
+ body: body$,
75
+ uaHeader: "x-speakeasy-user-agent",
76
+ timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client$.options$.timeoutMs || -1,
77
+ }, options);
78
+ if (!requestRes.ok) {
79
+ return requestRes;
80
+ }
81
+ const request$ = requestRes.value;
82
+ const doResult = await client$.do$(request$, {
83
+ context,
84
+ errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
85
+ retryConfig: (options === null || options === void 0 ? void 0 : options.retries) || client$.options$.retryConfig,
86
+ retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
87
+ });
88
+ if (!doResult.ok) {
89
+ return doResult;
90
+ }
91
+ const response = doResult.value;
92
+ const responseFields$ = {
93
+ HttpMeta: { Response: response, Request: request$ },
94
+ };
95
+ const [result$] = await m$.match(m$.json(200, operations.AccountV1GetDataPointsResponse$inboundSchema, {
96
+ key: "V1AccountDataPointsResponseBody",
97
+ }), m$.jsonErr([400, 404, 422, 500], errors.ErrorModel$inboundSchema, {
98
+ ctype: "application/problem+json",
99
+ }), m$.fail(["4XX", "5XX"]))(response, request$, { extraFields: responseFields$ });
100
+ if (!result$.ok) {
101
+ return result$;
102
+ }
103
+ return result$;
104
+ }
105
+ //# sourceMappingURL=dataAccountV1GetDataPoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataAccountV1GetDataPoints.js","sourceRoot":"","sources":["../src/funcs/dataAccountV1GetDataPoints.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,gEA+GC;AArID,sDAA+F;AAC/F,uDAAyC;AACzC,4DAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAG5D;;GAEG;AACI,KAAK,UAAU,0BAA0B,CAC5C,OAAsB,EACtB,OAAiD,EACjD,OAAwB;IAcxB,MAAM,MAAM,GAAG,OAAO,CAAC;IAEvB,MAAM,O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AE;KACtD,CAAC;IAEF,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,EAAE,CAAC,KAAK,CAW5B,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,4CAA4C,EAAE;QAClE,GAAG,EAAE,iCAAiC;KACzC,CAAC,EACF,EAAE,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9D,KAAK,EAAE,0BAA0B;KACpC,CAAC,EACF,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAC1B,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,CAAC;IACxD,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QACd,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { SteamSetsCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
4
+ import * as errors from "../models/errors/index.js";
5
+ import { SDKError } from "../models/errors/sdkerror.js";
6
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
+ import * as operations from "../models/operations/index.js";
8
+ import { Result } from "../types/fp.js";
9
+ /**
10
+ * Get Account DataPoints
11
+ */
12
+ export declare function publicAccountV1GetDataPoints(client$: SteamSetsCore, request: operations.AccountV1GetDataPointsRequest, options?: RequestOptions): Promise<Result<operations.AccountV1GetDataPointsResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
13
+ //# sourceMappingURL=publicAccountV1GetDataPoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publicAccountV1GetDataPoints.d.ts","sourceRoot":"","sources":["../src/funcs/publicAccountV1GetDataPoints.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,4BAA4B,CAC9C,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,UAAU,CAAC,8BAA8B,EACvC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CACpB,CACJ,CA+FA"}
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.publicAccountV1GetDataPoints = publicAccountV1GetDataPoints;
30
+ const encodings_js_1 = require("../lib/encodings.js");
31
+ const m$ = __importStar(require("../lib/matchers.js"));
32
+ const schemas$ = __importStar(require("../lib/schemas.js"));
33
+ const security_js_1 = require("../lib/security.js");
34
+ const url_js_1 = require("../lib/url.js");
35
+ const errors = __importStar(require("../models/errors/index.js"));
36
+ const operations = __importStar(require("../models/operations/index.js"));
37
+ /**
38
+ * Get Account DataPoints
39
+ */
40
+ async function publicAccountV1GetDataPoints(client$, request, options) {
41
+ const input$ = request;
42
+ const parsed$ = schemas$.safeParse(input$, (value$) => operations.AccountV1GetDataPointsRequest$outboundSchema.parse(value$), "Input validation failed");
43
+ if (!parsed$.ok) {
44
+ return parsed$;
45
+ }
46
+ const payload$ = parsed$.value;
47
+ const body$ = (0, encodings_js_1.encodeJSON)("body", payload$.AccountSearch, { explode: true });
48
+ const path$ = (0, url_js_1.pathToFunc)("/account.v1.AccountService/GetDataPoints")();
49
+ const headers$ = new Headers({
50
+ "Content-Type": "application/json",
51
+ Accept: "application/json",
52
+ "User-Agent": (0, encodings_js_1.encodeSimple)("User-Agent", payload$["User-Agent"], {
53
+ explode: false,
54
+ charEncoding: "none",
55
+ }),
56
+ "X-Forwarded-For": (0, encodings_js_1.encodeSimple)("X-Forwarded-For", payload$["X-Forwarded-For"], {
57
+ explode: false,
58
+ charEncoding: "none",
59
+ }),
60
+ });
61
+ const session$ = await (0, security_js_1.extractSecurity)(client$.options$.session);
62
+ const security$ = session$ == null ? {} : { session: session$ };
63
+ const context = {
64
+ operationID: "account.v1.getDataPoints",
65
+ oAuth2Scopes: [],
66
+ securitySource: client$.options$.session,
67
+ };
68
+ const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
69
+ const requestRes = client$.createRequest$(context, {
70
+ security: securitySettings$,
71
+ method: "POST",
72
+ path: path$,
73
+ headers: headers$,
74
+ body: body$,
75
+ uaHeader: "x-speakeasy-user-agent",
76
+ timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client$.options$.timeoutMs || -1,
77
+ }, options);
78
+ if (!requestRes.ok) {
79
+ return requestRes;
80
+ }
81
+ const request$ = requestRes.value;
82
+ const doResult = await client$.do$(request$, {
83
+ context,
84
+ errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
85
+ retryConfig: (options === null || options === void 0 ? void 0 : options.retries) || client$.options$.retryConfig,
86
+ retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
87
+ });
88
+ if (!doResult.ok) {
89
+ return doResult;
90
+ }
91
+ const response = doResult.value;
92
+ const responseFields$ = {
93
+ HttpMeta: { Response: response, Request: request$ },
94
+ };
95
+ const [result$] = await m$.match(m$.json(200, operations.AccountV1GetDataPointsResponse$inboundSchema, {
96
+ key: "V1AccountDataPointsResponseBody",
97
+ }), m$.jsonErr([400, 404, 422, 500], errors.ErrorModel$inboundSchema, {
98
+ ctype: "application/problem+json",
99
+ }), m$.fail(["4XX", "5XX"]))(response, request$, { extraFields: responseFields$ });
100
+ if (!result$.ok) {
101
+ return result$;
102
+ }
103
+ return result$;
104
+ }
105
+ //# sourceMappingURL=publicAccountV1GetDataPoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publicAccountV1GetDataPoints.js","sourceRoot":"","sources":["../src/funcs/publicAccountV1GetData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AI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACzE,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,QAAQ,CAAC;IACpB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,eAAe,GAAG;QACpB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;KACtD,CAAC;IAEF,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,EAAE,CAAC,KAAK,CAW5B,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,4CAA4C,EAAE;QAClE,GAAG,EAAE,iCAAiC;KACzC,CAAC,EACF,EAAE,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9D,KAAK,EAAE,0BAA0B;KACpC,CAAC,EACF,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAC1B,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,CAAC;IACxD,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QACd,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC"}
package/lib/config.d.ts CHANGED
@@ -4,7 +4,7 @@ import { RetryConfig } from "./retries.js";
4
4
  /**
5
5
  * Contains the list of servers available to the SDK
6
6
  */
7
- export declare const ServerList: readonly ["http://localhost:8080", "https://api.steamsets.com"];
7
+ export declare const ServerList: readonly ["https://api.steamsets.com", "http://localhost:8080"];
8
8
  export type SDKOptions = {
9
9
  session?: string | (() => Promise<string>);
10
10
  httpClient?: HTTPClient;
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.5.3";
30
+ readonly sdkVersion: "0.5.5";
31
31
  readonly genVersion: "2.407.2";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.5.3 2.407.2 1.0.0 @steamsets/client-ts";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.5.5 2.407.2 1.0.0 @steamsets/client-ts";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -9,7 +9,7 @@ const url_js_1 = require("./url.js");
9
9
  /**
10
10
  * Contains the list of servers available to the SDK
11
11
  */
12
- exports.ServerList = ["http://localhost:8080", "https://api.steamsets.com"];
12
+ exports.ServerList = ["https://api.steamsets.com", "http://localhost:8080"];
13
13
  function serverURLFromOptions(options) {
14
14
  var _a;
15
15
  let serverURL = options.serverURL;
@@ -27,8 +27,8 @@ function serverURLFromOptions(options) {
27
27
  exports.SDK_METADATA = {
28
28
  language: "typescript",
29
29
  openapiDocVersion: "1.0.0",
30
- sdkVersion: "0.5.3",
30
+ sdkVersion: "0.5.5",
31
31
  genVersion: "2.407.2",
32
- userAgent: "speakeasy-sdk/typescript 0.5.3 2.407.2 1.0.0 @steamsets/client-ts",
32
+ userAgent: "speakeasy-sdk/typescript 0.5.5 2.407.2 1.0.0 @steamsets/client-ts",
33
33
  };
34
34
  //# sourceMappingURL=config.js.map
package/lib/config.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAgCH,oDAeC;AA1CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG,CAAC,uBAAuB,EAAE,2BAA2B,CAAU,CAAC;AAsB1F,SAAgB,oBAAoB,CAAC,OAAmB;;IACpD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAEl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AAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC5C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC;AAEY,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,mEAAmE;CACxE,CAAC"}
@@ -0,0 +1,83 @@
1
+ import * as z from "zod";
2
+ export type AccountBadgeMostXpDataPoint = {
3
+ /**
4
+ * The app id
5
+ */
6
+ appId: number;
7
+ /**
8
+ * The badge completed at
9
+ */
10
+ badgeCompletedAt: Date;
11
+ /**
12
+ * The badge id
13
+ */
14
+ badgeId: string;
15
+ /**
16
+ * The badge image
17
+ */
18
+ badgeImage: string;
19
+ /**
20
+ * Whether the badge is foil
21
+ */
22
+ badgeIsFoil: boolean;
23
+ /**
24
+ * The badge level
25
+ */
26
+ badgeLevel: number;
27
+ /**
28
+ * The badge name
29
+ */
30
+ badgeName: string;
31
+ /**
32
+ * The badge scarcity
33
+ */
34
+ badgeScarcity: number;
35
+ /**
36
+ * The badge steam id
37
+ */
38
+ badgeSteamID: number;
39
+ /**
40
+ * The badge xp
41
+ */
42
+ badgeXP: number;
43
+ /**
44
+ * The image of the app
45
+ */
46
+ image: string;
47
+ /**
48
+ * The name of the app
49
+ */
50
+ name: string;
51
+ };
52
+ /** @internal */
53
+ export declare const AccountBadgeMostXpDataPoint$inboundSchema: z.ZodType<AccountBadgeMostXpDataPoint, z.ZodTypeDef, unknown>;
54
+ /** @internal */
55
+ export type AccountBadgeMostXpDataPoint$Outbound = {
56
+ appId: number;
57
+ badgeCompletedAt: string;
58
+ badgeId: string;
59
+ badgeImage: string;
60
+ badgeIsFoil: boolean;
61
+ badgeLevel: number;
62
+ badgeName: string;
63
+ badgeScarcity: number;
64
+ badgeSteamID: number;
65
+ badgeXP: number;
66
+ image: string;
67
+ name: string;
68
+ };
69
+ /** @internal */
70
+ export declare const AccountBadgeMostXpDataPoint$outboundSchema: z.ZodType<AccountBadgeMostXpDataPoint$Outbound, z.ZodTypeDef, AccountBadgeMostXpDataPoint>;
71
+ /**
72
+ * @internal
73
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
+ */
75
+ export declare namespace AccountBadgeMostXpDataPoint$ {
76
+ /** @deprecated use `AccountBadgeMostXpDataPoint$inboundSchema` instead. */
77
+ const inboundSchema: z.ZodType<AccountBadgeMostXpDataPoint, z.ZodTypeDef, unknown>;
78
+ /** @deprecated use `AccountBadgeMostXpDataPoint$outboundSchema` instead. */
79
+ const outboundSchema: z.ZodType<AccountBadgeMostXpDataPoint$Outbound, z.ZodTypeDef, AccountBadgeMostXpDataPoint>;
80
+ /** @deprecated use `AccountBadgeMostXpDataPoint$Outbound` instead. */
81
+ type Outbound = AccountBadgeMostXpDataPoint$Outbound;
82
+ }
83
+ //# sourceMappingURL=accountbadgemostxpdatapoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountbadgemostxpdatapoint.d.ts","sourceRoot":"","sources":["../../src/models/components/accountbadgemostxpdatapoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,2BAA2B,GAAG;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,EAAE,IAAI,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC7D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAC9D,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAc7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC1C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC/D"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AccountBadgeMostXpDataPoint$ = exports.AccountBadgeMostXpDataPoint$outboundSchema = exports.AccountBadgeMostXpDataPoint$inboundSchema = void 0;
30
+ const z = __importStar(require("zod"));
31
+ /** @internal */
32
+ exports.AccountBadgeMostXpDataPoint$inboundSchema = z.object({
33
+ appId: z.number().int(),
34
+ badgeCompletedAt: z
35
+ .string()
36
+ .datetime({ offset: true })
37
+ .transform((v) => new Date(v)),
38
+ badgeId: z.string(),
39
+ badgeImage: z.string(),
40
+ badgeIsFoil: z.boolean(),
41
+ badgeLevel: z.number().int(),
42
+ badgeName: z.string(),
43
+ badgeScarcity: z.number().int(),
44
+ badgeSteamID: z.number().int(),
45
+ badgeXP: z.number().int(),
46
+ image: z.string(),
47
+ name: z.string(),
48
+ });
49
+ /** @internal */
50
+ exports.AccountBadgeMostXpDataPoint$outboundSchema = z.object({
51
+ appId: z.number().int(),
52
+ badgeCompletedAt: z.date().transform((v) => v.toISOString()),
53
+ badgeId: z.string(),
54
+ badgeImage: z.string(),
55
+ badgeIsFoil: z.boolean(),
56
+ badgeLevel: z.number().int(),
57
+ badgeName: z.string(),
58
+ badgeScarcity: z.number().int(),
59
+ badgeSteamID: z.number().int(),
60
+ badgeXP: z.number().int(),
61
+ image: z.string(),
62
+ name: z.string(),
63
+ });
64
+ /**
65
+ * @internal
66
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
+ */
68
+ var AccountBadgeMostXpDataPoint$;
69
+ (function (AccountBadgeMostXpDataPoint$) {
70
+ /** @deprecated use `AccountBadgeMostXpDataPoint$inboundSchema` instead. */
71
+ AccountBadgeMostXpDataPoint$.inboundSchema = exports.AccountBadgeMostXpDataPoint$inboundSchema;
72
+ /** @deprecated use `AccountBadgeMostXpDataPoint$outboundSchema` instead. */
73
+ AccountBadgeMostXpDataPoint$.outboundSchema = exports.AccountBadgeMostXpDataPoint$outboundSchema;
74
+ })(AccountBadgeMostXpDataPoint$ || (exports.AccountBadgeMostXpDataPoint$ = AccountBadgeMostXpDataPoint$ = {}));
75
+ //# sourceMappingURL=accountbadgemostxpdatapoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountbadgemostxpdatapoint.js","sourceRoot":"","sources":["../../src/models/components/accountbadgemostxpdatapoint.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAqDzB,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACT,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,gBAAgB,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;SAC1B,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB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AEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IACzC,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG7E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C"}
@@ -0,0 +1,68 @@
1
+ import * as z from "zod";
2
+ export type AccountBadgeScarcityDataPoint = {
3
+ /**
4
+ * The app id
5
+ */
6
+ appId: number;
7
+ /**
8
+ * The badge id
9
+ */
10
+ badgeId: string;
11
+ /**
12
+ * The badge image
13
+ */
14
+ badgeImage: string;
15
+ /**
16
+ * Whether the badge is foil
17
+ */
18
+ badgeIsFoil: boolean;
19
+ /**
20
+ * The badge level
21
+ */
22
+ badgeLevel: number;
23
+ /**
24
+ * The badge name
25
+ */
26
+ badgeName: string;
27
+ /**
28
+ * The badge scarcity
29
+ */
30
+ badgeScarcity: number;
31
+ /**
32
+ * The image of the app
33
+ */
34
+ image: string;
35
+ /**
36
+ * The name of the app
37
+ */
38
+ name: string;
39
+ };
40
+ /** @internal */
41
+ export declare const AccountBadgeScarcityDataPoint$inboundSchema: z.ZodType<AccountBadgeScarcityDataPoint, z.ZodTypeDef, unknown>;
42
+ /** @internal */
43
+ export type AccountBadgeScarcityDataPoint$Outbound = {
44
+ appId: number;
45
+ badgeId: string;
46
+ badgeImage: string;
47
+ badgeIsFoil: boolean;
48
+ badgeLevel: number;
49
+ badgeName: string;
50
+ badgeScarcity: number;
51
+ image: string;
52
+ name: string;
53
+ };
54
+ /** @internal */
55
+ export declare const AccountBadgeScarcityDataPoint$outboundSchema: z.ZodType<AccountBadgeScarcityDataPoint$Outbound, z.ZodTypeDef, AccountBadgeScarcityDataPoint>;
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export declare namespace AccountBadgeScarcityDataPoint$ {
61
+ /** @deprecated use `AccountBadgeScarcityDataPoint$inboundSchema` instead. */
62
+ const inboundSchema: z.ZodType<AccountBadgeScarcityDataPoint, z.ZodTypeDef, unknown>;
63
+ /** @deprecated use `AccountBadgeScarcityDataPoint$outboundSchema` instead. */
64
+ const outboundSchema: z.ZodType<AccountBadgeScarcityDataPoint$Outbound, z.ZodTypeDef, AccountBadgeScarcityDataPoint>;
65
+ /** @deprecated use `AccountBadgeScarcityDataPoint$Outbound` instead. */
66
+ type Outbound = AccountBadgeScarcityDataPoint$Outbound;
67
+ }
68
+ //# sourceMappingURL=accountbadgescarcitydatapoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountbadgescarcitydatapoint.d.ts","sourceRoot":"","sources":["../../src/models/components/accountbadgescarcitydatapoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,6BAA6B,GAAG;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CAC/D,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAWT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAChE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAW/B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC5C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CACjE"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AccountBadgeScarcityDataPoint$ = exports.AccountBadgeScarcityDataPoint$outboundSchema = exports.AccountBadgeScarcityDataPoint$inboundSchema = void 0;
30
+ const z = __importStar(require("zod"));
31
+ /** @internal */
32
+ exports.AccountBadgeScarcityDataPoint$inboundSchema = z.object({
33
+ appId: z.number().int(),
34
+ badgeId: z.string(),
35
+ badgeImage: z.string(),
36
+ badgeIsFoil: z.boolean(),
37
+ badgeLevel: z.number().int(),
38
+ badgeName: z.string(),
39
+ badgeScarcity: z.number().int(),
40
+ image: z.string(),
41
+ name: z.string(),
42
+ });
43
+ /** @internal */
44
+ exports.AccountBadgeScarcityDataPoint$outboundSchema = z.object({
45
+ appId: z.number().int(),
46
+ badgeId: z.string(),
47
+ badgeImage: z.string(),
48
+ badgeIsFoil: z.boolean(),
49
+ badgeLevel: z.number().int(),
50
+ badgeName: z.string(),
51
+ badgeScarcity: z.number().int(),
52
+ image: z.string(),
53
+ name: z.string(),
54
+ });
55
+ /**
56
+ * @internal
57
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
+ */
59
+ var AccountBadgeScarcityDataPoint$;
60
+ (function (AccountBadgeScarcityDataPoint$) {
61
+ /** @deprecated use `AccountBadgeScarcityDataPoint$inboundSchema` instead. */
62
+ AccountBadgeScarcityDataPoint$.inboundSchema = exports.AccountBadgeScarcityDataPoint$inboundSchema;
63
+ /** @deprecated use `AccountBadgeScarcityDataPoint$outboundSchema` instead. */
64
+ AccountBadgeScarcityDataPoint$.outboundSchema = exports.AccountBadgeScarcityDataPoint$outboundSchema;
65
+ })(AccountBadgeScarcityDataPoint$ || (exports.AccountBadgeScarcityDataPoint$ = AccountBadgeScarcityDataPoint$ = {}));
66
+ //# sourceMappingURL=accountbadgescarcitydatapoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountbadgescarcitydatapoint.js","sourceRoot":"","sources":["../../src/models/components/accountbadgescarc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C;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG/E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
@@ -0,0 +1,43 @@
1
+ import * as z from "zod";
2
+ export type AccountPlaytimeDataPoint = {
3
+ /**
4
+ * The app id
5
+ */
6
+ appId: number;
7
+ /**
8
+ * The image of the app
9
+ */
10
+ image: string;
11
+ /**
12
+ * The name of the app
13
+ */
14
+ name: string;
15
+ /**
16
+ * The playtime of the app
17
+ */
18
+ playtime: number;
19
+ };
20
+ /** @internal */
21
+ export declare const AccountPlaytimeDataPoint$inboundSchema: z.ZodType<AccountPlaytimeDataPoint, z.ZodTypeDef, unknown>;
22
+ /** @internal */
23
+ export type AccountPlaytimeDataPoint$Outbound = {
24
+ appId: number;
25
+ image: string;
26
+ name: string;
27
+ playtime: number;
28
+ };
29
+ /** @internal */
30
+ export declare const AccountPlaytimeDataPoint$outboundSchema: z.ZodType<AccountPlaytimeDataPoint$Outbound, z.ZodTypeDef, AccountPlaytimeDataPoint>;
31
+ /**
32
+ * @internal
33
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
34
+ */
35
+ export declare namespace AccountPlaytimeDataPoint$ {
36
+ /** @deprecated use `AccountPlaytimeDataPoint$inboundSchema` instead. */
37
+ const inboundSchema: z.ZodType<AccountPlaytimeDataPoint, z.ZodTypeDef, unknown>;
38
+ /** @deprecated use `AccountPlaytimeDataPoint$outboundSchema` instead. */
39
+ const outboundSchema: z.ZodType<AccountPlaytimeDataPoint$Outbound, z.ZodTypeDef, AccountPlaytimeDataPoint>;
40
+ /** @deprecated use `AccountPlaytimeDataPoint$Outbound` instead. */
41
+ type Outbound = AccountPlaytimeDataPoint$Outbound;
42
+ }
43
+ //# sourceMappingURL=accountplaytimedatapoint.d.ts.map