@steamsets/client-ts 0.14.8 → 0.14.10

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 (83) hide show
  1. package/README.md +0 -7
  2. package/funcs/accountGetInfo.js +1 -1
  3. package/funcs/accountGetInfo.js.map +1 -1
  4. package/funcs/dataGetInfo.js +1 -1
  5. package/funcs/dataGetInfo.js.map +1 -1
  6. package/funcs/publicGetInfo.js +1 -1
  7. package/funcs/publicGetInfo.js.map +1 -1
  8. package/lib/config.d.ts +2 -2
  9. package/lib/config.js +2 -2
  10. package/lib/config.js.map +1 -1
  11. package/models/components/badge.d.ts +2 -2
  12. package/models/components/badge.d.ts.map +1 -1
  13. package/models/components/badge.js +2 -2
  14. package/models/components/badge.js.map +1 -1
  15. package/models/components/colortag.d.ts +0 -2
  16. package/models/components/colortag.d.ts.map +1 -1
  17. package/models/components/colortag.js +0 -2
  18. package/models/components/colortag.js.map +1 -1
  19. package/models/components/index.d.ts +1 -2
  20. package/models/components/index.d.ts.map +1 -1
  21. package/models/components/index.js +1 -2
  22. package/models/components/index.js.map +1 -1
  23. package/models/components/{accountinfobody.d.ts → v1accountinforesponsebody.d.ts} +53 -14
  24. package/models/components/v1accountinforesponsebody.d.ts.map +1 -0
  25. package/models/components/{accountinfobody.js → v1accountinforesponsebody.js} +42 -17
  26. package/models/components/v1accountinforesponsebody.js.map +1 -0
  27. package/models/operations/accountv1getinfo.d.ts +2 -2
  28. package/models/operations/accountv1getinfo.d.ts.map +1 -1
  29. package/models/operations/accountv1getinfo.js +6 -4
  30. package/models/operations/accountv1getinfo.js.map +1 -1
  31. package/models/operations/index.d.ts +0 -2
  32. package/models/operations/index.d.ts.map +1 -1
  33. package/models/operations/index.js +0 -2
  34. package/models/operations/index.js.map +1 -1
  35. package/package.json +1 -1
  36. package/sdk/sdk.d.ts +0 -3
  37. package/sdk/sdk.d.ts.map +1 -1
  38. package/sdk/sdk.js +0 -4
  39. package/sdk/sdk.js.map +1 -1
  40. package/src/funcs/accountGetInfo.ts +1 -1
  41. package/src/funcs/dataGetInfo.ts +1 -1
  42. package/src/funcs/publicGetInfo.ts +1 -1
  43. package/src/lib/config.ts +2 -2
  44. package/src/models/components/badge.ts +4 -4
  45. package/src/models/components/colortag.ts +0 -4
  46. package/src/models/components/index.ts +1 -2
  47. package/src/models/components/{accountinfobody.ts → v1accountinforesponsebody.ts} +58 -21
  48. package/src/models/operations/accountv1getinfo.ts +10 -6
  49. package/src/models/operations/index.ts +0 -2
  50. package/src/sdk/sdk.ts +0 -6
  51. package/docs/sdks/meta/README.md +0 -153
  52. package/funcs/metaAccountV1GetEmbed.d.ts +0 -11
  53. package/funcs/metaAccountV1GetEmbed.d.ts.map +0 -1
  54. package/funcs/metaAccountV1GetEmbed.js +0 -111
  55. package/funcs/metaAccountV1GetEmbed.js.map +0 -1
  56. package/funcs/metaAccountV1GetMeta.d.ts +0 -11
  57. package/funcs/metaAccountV1GetMeta.d.ts.map +0 -1
  58. package/funcs/metaAccountV1GetMeta.js +0 -110
  59. package/funcs/metaAccountV1GetMeta.js.map +0 -1
  60. package/models/components/accountinfobody.d.ts.map +0 -1
  61. package/models/components/accountinfobody.js.map +0 -1
  62. package/models/components/v1accountmetaresponsebody.d.ts +0 -32
  63. package/models/components/v1accountmetaresponsebody.d.ts.map +0 -1
  64. package/models/components/v1accountmetaresponsebody.js +0 -68
  65. package/models/components/v1accountmetaresponsebody.js.map +0 -1
  66. package/models/operations/accountv1getembed.d.ts +0 -41
  67. package/models/operations/accountv1getembed.d.ts.map +0 -1
  68. package/models/operations/accountv1getembed.js +0 -75
  69. package/models/operations/accountv1getembed.js.map +0 -1
  70. package/models/operations/accountv1getmeta.d.ts +0 -35
  71. package/models/operations/accountv1getmeta.d.ts.map +0 -1
  72. package/models/operations/accountv1getmeta.js +0 -75
  73. package/models/operations/accountv1getmeta.js.map +0 -1
  74. package/sdk/meta.d.ts +0 -8
  75. package/sdk/meta.d.ts.map +0 -1
  76. package/sdk/meta.js +0 -20
  77. package/sdk/meta.js.map +0 -1
  78. package/src/funcs/metaAccountV1GetEmbed.ts +0 -143
  79. package/src/funcs/metaAccountV1GetMeta.ts +0 -142
  80. package/src/models/components/v1accountmetaresponsebody.ts +0 -78
  81. package/src/models/operations/accountv1getembed.ts +0 -89
  82. package/src/models/operations/accountv1getmeta.ts +0 -89
  83. package/src/sdk/meta.ts +0 -34
@@ -1,89 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import * as components from "../components/index.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
-
12
- export type AccountV1GetEmbedResponse = {
13
- httpMeta: components.HTTPMetadata;
14
- /**
15
- * OK
16
- */
17
- string?: string | undefined;
18
- headers: { [k: string]: Array<string> };
19
- };
20
-
21
- /** @internal */
22
- export const AccountV1GetEmbedResponse$inboundSchema: z.ZodType<
23
- AccountV1GetEmbedResponse,
24
- z.ZodTypeDef,
25
- unknown
26
- > = z.object({
27
- HttpMeta: components.HTTPMetadata$inboundSchema,
28
- string: z.string().optional(),
29
- Headers: z.record(z.array(z.string())),
30
- }).transform((v) => {
31
- return remap$(v, {
32
- "HttpMeta": "httpMeta",
33
- "Headers": "headers",
34
- });
35
- });
36
-
37
- /** @internal */
38
- export type AccountV1GetEmbedResponse$Outbound = {
39
- HttpMeta: components.HTTPMetadata$Outbound;
40
- string?: string | undefined;
41
- Headers: { [k: string]: Array<string> };
42
- };
43
-
44
- /** @internal */
45
- export const AccountV1GetEmbedResponse$outboundSchema: z.ZodType<
46
- AccountV1GetEmbedResponse$Outbound,
47
- z.ZodTypeDef,
48
- AccountV1GetEmbedResponse
49
- > = z.object({
50
- httpMeta: components.HTTPMetadata$outboundSchema,
51
- string: z.string().optional(),
52
- headers: z.record(z.array(z.string())),
53
- }).transform((v) => {
54
- return remap$(v, {
55
- httpMeta: "HttpMeta",
56
- headers: "Headers",
57
- });
58
- });
59
-
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace AccountV1GetEmbedResponse$ {
65
- /** @deprecated use `AccountV1GetEmbedResponse$inboundSchema` instead. */
66
- export const inboundSchema = AccountV1GetEmbedResponse$inboundSchema;
67
- /** @deprecated use `AccountV1GetEmbedResponse$outboundSchema` instead. */
68
- export const outboundSchema = AccountV1GetEmbedResponse$outboundSchema;
69
- /** @deprecated use `AccountV1GetEmbedResponse$Outbound` instead. */
70
- export type Outbound = AccountV1GetEmbedResponse$Outbound;
71
- }
72
-
73
- export function accountV1GetEmbedResponseToJSON(
74
- accountV1GetEmbedResponse: AccountV1GetEmbedResponse,
75
- ): string {
76
- return JSON.stringify(
77
- AccountV1GetEmbedResponse$outboundSchema.parse(accountV1GetEmbedResponse),
78
- );
79
- }
80
-
81
- export function accountV1GetEmbedResponseFromJSON(
82
- jsonString: string,
83
- ): SafeParseResult<AccountV1GetEmbedResponse, SDKValidationError> {
84
- return safeParse(
85
- jsonString,
86
- (x) => AccountV1GetEmbedResponse$inboundSchema.parse(JSON.parse(x)),
87
- `Failed to parse 'AccountV1GetEmbedResponse' from JSON`,
88
- );
89
- }
@@ -1,89 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import * as components from "../components/index.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
-
12
- export type AccountV1GetMetaResponse = {
13
- httpMeta: components.HTTPMetadata;
14
- /**
15
- * OK
16
- */
17
- v1AccountMetaResponseBody?: components.V1AccountMetaResponseBody | undefined;
18
- };
19
-
20
- /** @internal */
21
- export const AccountV1GetMetaResponse$inboundSchema: z.ZodType<
22
- AccountV1GetMetaResponse,
23
- z.ZodTypeDef,
24
- unknown
25
- > = z.object({
26
- HttpMeta: components.HTTPMetadata$inboundSchema,
27
- V1AccountMetaResponseBody: components.V1AccountMetaResponseBody$inboundSchema
28
- .optional(),
29
- }).transform((v) => {
30
- return remap$(v, {
31
- "HttpMeta": "httpMeta",
32
- "V1AccountMetaResponseBody": "v1AccountMetaResponseBody",
33
- });
34
- });
35
-
36
- /** @internal */
37
- export type AccountV1GetMetaResponse$Outbound = {
38
- HttpMeta: components.HTTPMetadata$Outbound;
39
- V1AccountMetaResponseBody?:
40
- | components.V1AccountMetaResponseBody$Outbound
41
- | undefined;
42
- };
43
-
44
- /** @internal */
45
- export const AccountV1GetMetaResponse$outboundSchema: z.ZodType<
46
- AccountV1GetMetaResponse$Outbound,
47
- z.ZodTypeDef,
48
- AccountV1GetMetaResponse
49
- > = z.object({
50
- httpMeta: components.HTTPMetadata$outboundSchema,
51
- v1AccountMetaResponseBody: components.V1AccountMetaResponseBody$outboundSchema
52
- .optional(),
53
- }).transform((v) => {
54
- return remap$(v, {
55
- httpMeta: "HttpMeta",
56
- v1AccountMetaResponseBody: "V1AccountMetaResponseBody",
57
- });
58
- });
59
-
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace AccountV1GetMetaResponse$ {
65
- /** @deprecated use `AccountV1GetMetaResponse$inboundSchema` instead. */
66
- export const inboundSchema = AccountV1GetMetaResponse$inboundSchema;
67
- /** @deprecated use `AccountV1GetMetaResponse$outboundSchema` instead. */
68
- export const outboundSchema = AccountV1GetMetaResponse$outboundSchema;
69
- /** @deprecated use `AccountV1GetMetaResponse$Outbound` instead. */
70
- export type Outbound = AccountV1GetMetaResponse$Outbound;
71
- }
72
-
73
- export function accountV1GetMetaResponseToJSON(
74
- accountV1GetMetaResponse: AccountV1GetMetaResponse,
75
- ): string {
76
- return JSON.stringify(
77
- AccountV1GetMetaResponse$outboundSchema.parse(accountV1GetMetaResponse),
78
- );
79
- }
80
-
81
- export function accountV1GetMetaResponseFromJSON(
82
- jsonString: string,
83
- ): SafeParseResult<AccountV1GetMetaResponse, SDKValidationError> {
84
- return safeParse(
85
- jsonString,
86
- (x) => AccountV1GetMetaResponse$inboundSchema.parse(JSON.parse(x)),
87
- `Failed to parse 'AccountV1GetMetaResponse' from JSON`,
88
- );
89
- }
package/src/sdk/meta.ts DELETED
@@ -1,34 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { metaAccountV1GetEmbed } from "../funcs/metaAccountV1GetEmbed.js";
6
- import { metaAccountV1GetMeta } from "../funcs/metaAccountV1GetMeta.js";
7
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
- import * as components from "../models/components/index.js";
9
- import * as operations from "../models/operations/index.js";
10
- import { unwrapAsync } from "../types/fp.js";
11
-
12
- export class Meta extends ClientSDK {
13
- async accountV1GetEmbed(
14
- request: components.AccountSearch,
15
- options?: RequestOptions,
16
- ): Promise<operations.AccountV1GetEmbedResponse> {
17
- return unwrapAsync(metaAccountV1GetEmbed(
18
- this,
19
- request,
20
- options,
21
- ));
22
- }
23
-
24
- async accountV1GetMeta(
25
- request: components.AccountSearch,
26
- options?: RequestOptions,
27
- ): Promise<operations.AccountV1GetMetaResponse> {
28
- return unwrapAsync(metaAccountV1GetMeta(
29
- this,
30
- request,
31
- options,
32
- ));
33
- }
34
- }