@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
package/src/sdk/data.ts CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { dataAccountV1GetApps } from "../funcs/dataAccountV1GetApps.js";
6
6
  import { dataAccountV1GetBadges } from "../funcs/dataAccountV1GetBadges.js";
7
+ import { dataAccountV1GetDataPoints } from "../funcs/dataAccountV1GetDataPoints.js";
7
8
  import { dataAccountV1GetFriends } from "../funcs/dataAccountV1GetFriends.js";
8
9
  import { dataAccountV1GetInfo } from "../funcs/dataAccountV1GetInfo.js";
9
10
  import { dataAccountV1GetLeaderboardHistory } from "../funcs/dataAccountV1GetLeaderboardHistory.js";
@@ -34,6 +35,16 @@ export class Data extends ClientSDK {
34
35
  return unwrapAsync(dataAccountV1GetBadges(this, request, options));
35
36
  }
36
37
 
38
+ /**
39
+ * Get Account DataPoints
40
+ */
41
+ async accountV1GetDataPoints(
42
+ request: operations.AccountV1GetDataPointsRequest,
43
+ options?: RequestOptions
44
+ ): Promise<operations.AccountV1GetDataPointsResponse> {
45
+ return unwrapAsync(dataAccountV1GetDataPoints(this, request, options));
46
+ }
47
+
37
48
  /**
38
49
  * Get Account Friends
39
50
  */
package/src/sdk/public.ts CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { publicAccountV1GetApps } from "../funcs/publicAccountV1GetApps.js";
6
6
  import { publicAccountV1GetBadges } from "../funcs/publicAccountV1GetBadges.js";
7
+ import { publicAccountV1GetDataPoints } from "../funcs/publicAccountV1GetDataPoints.js";
7
8
  import { publicAccountV1GetFriends } from "../funcs/publicAccountV1GetFriends.js";
8
9
  import { publicAccountV1GetInfo } from "../funcs/publicAccountV1GetInfo.js";
9
10
  import { publicAccountV1GetLeaderboardHistory } from "../funcs/publicAccountV1GetLeaderboardHistory.js";
@@ -33,6 +34,16 @@ export class Public extends ClientSDK {
33
34
  return unwrapAsync(publicAccountV1GetBadges(this, request, options));
34
35
  }
35
36
 
37
+ /**
38
+ * Get Account DataPoints
39
+ */
40
+ async accountV1GetDataPoints(
41
+ request: operations.AccountV1GetDataPointsRequest,
42
+ options?: RequestOptions
43
+ ): Promise<operations.AccountV1GetDataPointsResponse> {
44
+ return unwrapAsync(publicAccountV1GetDataPoints(this, request, options));
45
+ }
46
+
36
47
  /**
37
48
  * Get Account Friends
38
49
  */
@@ -1,33 +0,0 @@
1
- import * as z from "zod";
2
- export type Item = {
3
- /**
4
- * The file id to delete
5
- */
6
- fileId: string;
7
- /**
8
- * The image id to delete
9
- */
10
- imageId: string;
11
- };
12
- /** @internal */
13
- export declare const Item$inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown>;
14
- /** @internal */
15
- export type Item$Outbound = {
16
- fileId: string;
17
- imageId: string;
18
- };
19
- /** @internal */
20
- export declare const Item$outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item>;
21
- /**
22
- * @internal
23
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
24
- */
25
- export declare namespace Item$ {
26
- /** @deprecated use `Item$inboundSchema` instead. */
27
- const inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown>;
28
- /** @deprecated use `Item$outboundSchema` instead. */
29
- const outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item>;
30
- /** @deprecated use `Item$Outbound` instead. */
31
- type Outbound = Item$Outbound;
32
- }
33
- //# sourceMappingURL=item.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../src/models/components/item.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,IAAI,GAAG;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAGpE,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,aAAa,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC,UAAU,EAAE,IAAI,CAG3E,CAAC;AAEH;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACnB,oDAAoD;IAC7C,MAAM,aAAa,wCAAqB,CAAC;IAChD,qDAAqD;IAC9C,MAAM,cAAc,8CAAsB,CAAC;IAClD,+CAA+C;IAC/C,KAAY,QAAQ,GAAG,aAAa,CAAC;CACxC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.js","sourceRoot":"","sources":["../../src/models/components/item.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAazB,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC,CAAC,MAAM,CAAC;IAC/E,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,mBAAmB,GAAiD,CAAC,CAAC,MAAM,CAAC;IACtF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,KAAK,CAOrB;AAPD,WAAiB,KAAK;IAClB,oDAAoD;IACvC,mBAAa,GAAG,0BAAkB,CAAC;IAChD,qDAAqD;IACxC,oBAAc,GAAG,2BAAmB,CAAC;AAGtD,CAAC,EAPgB,KAAK,qBAAL,KAAK,QAOrB"}
@@ -1,47 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod";
6
-
7
- export type Item = {
8
- /**
9
- * The file id to delete
10
- */
11
- fileId: string;
12
- /**
13
- * The image id to delete
14
- */
15
- imageId: string;
16
- };
17
-
18
- /** @internal */
19
- export const Item$inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown> = z.object({
20
- fileId: z.string(),
21
- imageId: z.string(),
22
- });
23
-
24
- /** @internal */
25
- export type Item$Outbound = {
26
- fileId: string;
27
- imageId: string;
28
- };
29
-
30
- /** @internal */
31
- export const Item$outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item> = z.object({
32
- fileId: z.string(),
33
- imageId: z.string(),
34
- });
35
-
36
- /**
37
- * @internal
38
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
39
- */
40
- export namespace Item$ {
41
- /** @deprecated use `Item$inboundSchema` instead. */
42
- export const inboundSchema = Item$inboundSchema;
43
- /** @deprecated use `Item$outboundSchema` instead. */
44
- export const outboundSchema = Item$outboundSchema;
45
- /** @deprecated use `Item$Outbound` instead. */
46
- export type Outbound = Item$Outbound;
47
- }