@steamsets/client-ts 0.5.1 → 0.5.2

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 (106) hide show
  1. package/README.md +12 -0
  2. package/docs/sdks/account/README.md +158 -0
  3. package/docs/sdks/data/README.md +158 -0
  4. package/docs/sdks/public/README.md +158 -0
  5. package/funcs/accountAccountV1GetFriends.d.ts +13 -0
  6. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -0
  7. package/funcs/accountAccountV1GetFriends.js +105 -0
  8. package/funcs/accountAccountV1GetFriends.js.map +1 -0
  9. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +13 -0
  10. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  11. package/funcs/accountAccountV1GetLeaderboardHistory.js +105 -0
  12. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -0
  13. package/funcs/dataAccountV1GetFriends.d.ts +13 -0
  14. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -0
  15. package/funcs/dataAccountV1GetFriends.js +105 -0
  16. package/funcs/dataAccountV1GetFriends.js.map +1 -0
  17. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +13 -0
  18. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  19. package/funcs/dataAccountV1GetLeaderboardHistory.js +105 -0
  20. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -0
  21. package/funcs/publicAccountV1GetFriends.d.ts +13 -0
  22. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -0
  23. package/funcs/publicAccountV1GetFriends.js +105 -0
  24. package/funcs/publicAccountV1GetFriends.js.map +1 -0
  25. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +13 -0
  26. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  27. package/funcs/publicAccountV1GetLeaderboardHistory.js +105 -0
  28. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -0
  29. package/lib/config.d.ts +2 -2
  30. package/lib/config.js +2 -2
  31. package/models/components/accountleaderboardhistory.d.ts +96 -0
  32. package/models/components/accountleaderboardhistory.d.ts.map +1 -0
  33. package/models/components/accountleaderboardhistory.js +91 -0
  34. package/models/components/accountleaderboardhistory.js.map +1 -0
  35. package/models/components/index.d.ts +5 -1
  36. package/models/components/index.d.ts.map +1 -1
  37. package/models/components/index.js +5 -1
  38. package/models/components/index.js.map +1 -1
  39. package/models/components/v1accountapp.d.ts +53 -0
  40. package/models/components/v1accountapp.d.ts.map +1 -0
  41. package/models/components/{v1app.js → v1accountapp.js} +11 -11
  42. package/models/components/v1accountapp.js.map +1 -0
  43. package/models/components/v1accountfriend.d.ts +198 -0
  44. package/models/components/v1accountfriend.d.ts.map +1 -0
  45. package/models/components/v1accountfriend.js +133 -0
  46. package/models/components/v1accountfriend.js.map +1 -0
  47. package/models/components/v1accountfriendsresponsebody.d.ts +31 -0
  48. package/models/components/v1accountfriendsresponsebody.d.ts.map +1 -0
  49. package/models/components/v1accountfriendsresponsebody.js +66 -0
  50. package/models/components/v1accountfriendsresponsebody.js.map +1 -0
  51. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts +31 -0
  52. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts.map +1 -0
  53. package/models/components/v1accountleaderboardhistoryresponsebody.js +66 -0
  54. package/models/components/v1accountleaderboardhistoryresponsebody.js.map +1 -0
  55. package/models/components/v1accountsappsresponsebody.d.ts +3 -3
  56. package/models/components/v1accountsappsresponsebody.d.ts.map +1 -1
  57. package/models/components/v1accountsappsresponsebody.js +3 -3
  58. package/models/components/v1accountsappsresponsebody.js.map +1 -1
  59. package/models/operations/accountv1getfriends.d.ts +58 -0
  60. package/models/operations/accountv1getfriends.d.ts.map +1 -0
  61. package/models/operations/accountv1getfriends.js +107 -0
  62. package/models/operations/accountv1getfriends.js.map +1 -0
  63. package/models/operations/accountv1getleaderboardhistory.d.ts +58 -0
  64. package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -0
  65. package/models/operations/accountv1getleaderboardhistory.js +107 -0
  66. package/models/operations/accountv1getleaderboardhistory.js.map +1 -0
  67. package/models/operations/index.d.ts +2 -0
  68. package/models/operations/index.d.ts.map +1 -1
  69. package/models/operations/index.js +2 -0
  70. package/models/operations/index.js.map +1 -1
  71. package/package.json +1 -1
  72. package/sdk/account.d.ts +8 -0
  73. package/sdk/account.d.ts.map +1 -1
  74. package/sdk/account.js +14 -0
  75. package/sdk/account.js.map +1 -1
  76. package/sdk/data.d.ts +8 -0
  77. package/sdk/data.d.ts.map +1 -1
  78. package/sdk/data.js +14 -0
  79. package/sdk/data.js.map +1 -1
  80. package/sdk/public.d.ts +8 -0
  81. package/sdk/public.d.ts.map +1 -1
  82. package/sdk/public.js +14 -0
  83. package/sdk/public.js.map +1 -1
  84. package/src/funcs/accountAccountV1GetFriends.ts +139 -0
  85. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +139 -0
  86. package/src/funcs/dataAccountV1GetFriends.ts +139 -0
  87. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +139 -0
  88. package/src/funcs/publicAccountV1GetFriends.ts +139 -0
  89. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +139 -0
  90. package/src/lib/config.ts +2 -2
  91. package/src/models/components/accountleaderboardhistory.ts +103 -0
  92. package/src/models/components/index.ts +5 -1
  93. package/src/models/components/{v1app.ts → v1accountapp.ts} +15 -11
  94. package/src/models/components/v1accountfriend.ts +307 -0
  95. package/src/models/components/v1accountfriendsresponsebody.ts +71 -0
  96. package/src/models/components/v1accountleaderboardhistoryresponsebody.ts +71 -0
  97. package/src/models/components/v1accountsappsresponsebody.ts +10 -5
  98. package/src/models/operations/accountv1getfriends.ts +134 -0
  99. package/src/models/operations/accountv1getleaderboardhistory.ts +138 -0
  100. package/src/models/operations/index.ts +2 -0
  101. package/src/sdk/account.ts +22 -0
  102. package/src/sdk/data.ts +22 -0
  103. package/src/sdk/public.ts +22 -0
  104. package/models/components/v1app.d.ts +0 -53
  105. package/models/components/v1app.d.ts.map +0 -1
  106. package/models/components/v1app.js.map +0 -1
@@ -0,0 +1,198 @@
1
+ import { LeaderboardBadgeInfo, LeaderboardBadgeInfo$Outbound } from "./leaderboardbadgeinfo.js";
2
+ import { Location, Location$Outbound } from "./location.js";
3
+ import { Role, Role$Outbound } from "./role.js";
4
+ import * as z from "zod";
5
+ export type V1AccountFriend = {
6
+ /**
7
+ * The cost of an app
8
+ */
9
+ appCost: number;
10
+ /**
11
+ * The playtime of the account, incase of an app leaderboard
12
+ */
13
+ appPlaytime?: number | null | undefined;
14
+ /**
15
+ * The number of apps the account has
16
+ */
17
+ apps: number;
18
+ /**
19
+ * The avatar hash of the account
20
+ */
21
+ avatar: string;
22
+ /**
23
+ * The average playtime of the account
24
+ */
25
+ averagePlaytime: number;
26
+ /**
27
+ * The number of awards the account has
28
+ */
29
+ awardsGiven: number;
30
+ /**
31
+ * The number of awards the account has
32
+ */
33
+ awardsReceived: number;
34
+ badgeInfo?: LeaderboardBadgeInfo | undefined;
35
+ /**
36
+ * The number of badges the account has
37
+ */
38
+ badges: number;
39
+ /**
40
+ * The number of bans
41
+ */
42
+ bans: number;
43
+ city?: Location | undefined;
44
+ country?: Location | undefined;
45
+ /**
46
+ * The time the account was created
47
+ */
48
+ createdAt: Date;
49
+ /**
50
+ * The economy ban of the account
51
+ */
52
+ economyBan: string;
53
+ /**
54
+ * The cost of a foil badge
55
+ */
56
+ foilBadgeCost: number;
57
+ /**
58
+ * The number of foil badges the account has
59
+ */
60
+ foilBadges: number;
61
+ /**
62
+ * The number of friends the account has
63
+ */
64
+ friends: number;
65
+ friendsSince: Date | null;
66
+ /**
67
+ * The number of game bans
68
+ */
69
+ gameBans: number;
70
+ /**
71
+ * Whether the account is hidden in the leaderboards
72
+ */
73
+ hidden: boolean;
74
+ /**
75
+ * The level of the account
76
+ */
77
+ level: number;
78
+ /**
79
+ * The number of limited apps the account has
80
+ */
81
+ limitedApps: number;
82
+ /**
83
+ * The name of the account
84
+ */
85
+ name: string;
86
+ /**
87
+ * The cost of a normal badge
88
+ */
89
+ normalBadgeCost: number;
90
+ /**
91
+ * The number of normal badges the account has
92
+ */
93
+ normalBadges: number;
94
+ /**
95
+ * The playtime of the account
96
+ */
97
+ playtime: number;
98
+ /**
99
+ * The number of points the account has
100
+ */
101
+ pointsGiven: number;
102
+ /**
103
+ * The number of points the account has
104
+ */
105
+ pointsReceived: number;
106
+ /**
107
+ * The privacy of the account
108
+ */
109
+ privacy: string;
110
+ region?: Location | undefined;
111
+ /**
112
+ * The roles of the account
113
+ */
114
+ roles: Array<Role> | null;
115
+ state?: Location | undefined;
116
+ /**
117
+ * The steam id
118
+ */
119
+ steamId: string;
120
+ /**
121
+ * The steam sets score
122
+ */
123
+ steamSetsScore: number;
124
+ /**
125
+ * The vanity of the account
126
+ */
127
+ steamSetsVanity: string;
128
+ /**
129
+ * The vanity of the account
130
+ */
131
+ steamVanity: string;
132
+ /**
133
+ * The number of vac bans
134
+ */
135
+ vacBans: number;
136
+ /**
137
+ * The number of xp the account has
138
+ */
139
+ xp: number;
140
+ };
141
+ /** @internal */
142
+ export declare const V1AccountFriend$inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown>;
143
+ /** @internal */
144
+ export type V1AccountFriend$Outbound = {
145
+ appCost: number;
146
+ appPlaytime?: number | null | undefined;
147
+ apps: number;
148
+ avatar: string;
149
+ averagePlaytime: number;
150
+ awardsGiven: number;
151
+ awardsReceived: number;
152
+ badgeInfo?: LeaderboardBadgeInfo$Outbound | undefined;
153
+ badges: number;
154
+ bans: number;
155
+ city?: Location$Outbound | undefined;
156
+ country?: Location$Outbound | undefined;
157
+ createdAt: string;
158
+ economyBan: string;
159
+ foilBadgeCost: number;
160
+ foilBadges: number;
161
+ friends: number;
162
+ friendsSince: string | null;
163
+ gameBans: number;
164
+ hidden: boolean;
165
+ level: number;
166
+ limitedApps: number;
167
+ name: string;
168
+ normalBadgeCost: number;
169
+ normalBadges: number;
170
+ playtime: number;
171
+ pointsGiven: number;
172
+ pointsReceived: number;
173
+ privacy: string;
174
+ region?: Location$Outbound | undefined;
175
+ roles: Array<Role$Outbound> | null;
176
+ state?: Location$Outbound | undefined;
177
+ steamId: string;
178
+ steamSetsScore: number;
179
+ steamSetsVanity: string;
180
+ steamVanity: string;
181
+ vacBans: number;
182
+ xp: number;
183
+ };
184
+ /** @internal */
185
+ export declare const V1AccountFriend$outboundSchema: z.ZodType<V1AccountFriend$Outbound, z.ZodTypeDef, V1AccountFriend>;
186
+ /**
187
+ * @internal
188
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
189
+ */
190
+ export declare namespace V1AccountFriend$ {
191
+ /** @deprecated use `V1AccountFriend$inboundSchema` instead. */
192
+ const inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown>;
193
+ /** @deprecated use `V1AccountFriend$outboundSchema` instead. */
194
+ const outboundSchema: z.ZodType<V1AccountFriend$Outbound, z.ZodTypeDef, V1AccountFriend>;
195
+ /** @deprecated use `V1AccountFriend$Outbound` instead. */
196
+ type Outbound = V1AccountFriend$Outbound;
197
+ }
198
+ //# sourceMappingURL=v1accountfriend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriend.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountfriend.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,oBAAoB,EAEpB,6BAA6B,EAEhC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,QAAQ,EAER,iBAAiB,EAEpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAsB,aAAa,EAAuB,MAAM,WAAW,CAAC;AACzF,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,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AAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CAClD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAwCjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAC9B,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACnD"}
@@ -0,0 +1,133 @@
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.V1AccountFriend$ = exports.V1AccountFriend$outboundSchema = exports.V1AccountFriend$inboundSchema = void 0;
30
+ const leaderboardbadgeinfo_js_1 = require("./leaderboardbadgeinfo.js");
31
+ const location_js_1 = require("./location.js");
32
+ const role_js_1 = require("./role.js");
33
+ const z = __importStar(require("zod"));
34
+ /** @internal */
35
+ exports.V1AccountFriend$inboundSchema = z.object({
36
+ appCost: z.number().int(),
37
+ appPlaytime: z.nullable(z.number().int()).optional(),
38
+ apps: z.number().int(),
39
+ avatar: z.string(),
40
+ averagePlaytime: z.number().int(),
41
+ awardsGiven: z.number().int(),
42
+ awardsReceived: z.number().int(),
43
+ badgeInfo: leaderboardbadgeinfo_js_1.LeaderboardBadgeInfo$inboundSchema.optional(),
44
+ badges: z.number().int(),
45
+ bans: z.number().int(),
46
+ city: location_js_1.Location$inboundSchema.optional(),
47
+ country: location_js_1.Location$inboundSchema.optional(),
48
+ createdAt: z
49
+ .string()
50
+ .datetime({ offset: true })
51
+ .transform((v) => new Date(v)),
52
+ economyBan: z.string(),
53
+ foilBadgeCost: z.number().int(),
54
+ foilBadges: z.number().int(),
55
+ friends: z.number().int(),
56
+ friendsSince: z.nullable(z
57
+ .string()
58
+ .datetime({ offset: true })
59
+ .transform((v) => new Date(v))),
60
+ gameBans: z.number().int(),
61
+ hidden: z.boolean(),
62
+ level: z.number().int(),
63
+ limitedApps: z.number().int(),
64
+ name: z.string(),
65
+ normalBadgeCost: z.number().int(),
66
+ normalBadges: z.number().int(),
67
+ playtime: z.number().int(),
68
+ pointsGiven: z.number().int(),
69
+ pointsReceived: z.number().int(),
70
+ privacy: z.string(),
71
+ region: location_js_1.Location$inboundSchema.optional(),
72
+ roles: z.nullable(z.array(role_js_1.Role$inboundSchema)),
73
+ state: location_js_1.Location$inboundSchema.optional(),
74
+ steamId: z.string(),
75
+ steamSetsScore: z.number().int(),
76
+ steamSetsVanity: z.string(),
77
+ steamVanity: z.string(),
78
+ vacBans: z.number().int(),
79
+ xp: z.number().int(),
80
+ });
81
+ /** @internal */
82
+ exports.V1AccountFriend$outboundSchema = z.object({
83
+ appCost: z.number().int(),
84
+ appPlaytime: z.nullable(z.number().int()).optional(),
85
+ apps: z.number().int(),
86
+ avatar: z.string(),
87
+ averagePlaytime: z.number().int(),
88
+ awardsGiven: z.number().int(),
89
+ awardsReceived: z.number().int(),
90
+ badgeInfo: leaderboardbadgeinfo_js_1.LeaderboardBadgeInfo$outboundSchema.optional(),
91
+ badges: z.number().int(),
92
+ bans: z.number().int(),
93
+ city: location_js_1.Location$outboundSchema.optional(),
94
+ country: location_js_1.Location$outboundSchema.optional(),
95
+ createdAt: z.date().transform((v) => v.toISOString()),
96
+ economyBan: z.string(),
97
+ foilBadgeCost: z.number().int(),
98
+ foilBadges: z.number().int(),
99
+ friends: z.number().int(),
100
+ friendsSince: z.nullable(z.date().transform((v) => v.toISOString())),
101
+ gameBans: z.number().int(),
102
+ hidden: z.boolean(),
103
+ level: z.number().int(),
104
+ limitedApps: z.number().int(),
105
+ name: z.string(),
106
+ normalBadgeCost: z.number().int(),
107
+ normalBadges: z.number().int(),
108
+ playtime: z.number().int(),
109
+ pointsGiven: z.number().int(),
110
+ pointsReceived: z.number().int(),
111
+ privacy: z.string(),
112
+ region: location_js_1.Location$outboundSchema.optional(),
113
+ roles: z.nullable(z.array(role_js_1.Role$outboundSchema)),
114
+ state: location_js_1.Location$outboundSchema.optional(),
115
+ steamId: z.string(),
116
+ steamSetsScore: z.number().int(),
117
+ steamSetsVanity: z.string(),
118
+ steamVanity: z.string(),
119
+ vacBans: z.number().int(),
120
+ xp: z.number().int(),
121
+ });
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ var V1AccountFriend$;
127
+ (function (V1AccountFriend$) {
128
+ /** @deprecated use `V1AccountFriend$inboundSchema` instead. */
129
+ V1AccountFriend$.inboundSchema = exports.V1AccountFriend$inboundSchema;
130
+ /** @deprecated use `V1AccountFriend$outboundSchema` instead. */
131
+ V1AccountFriend$.outboundSchema = exports.V1AccountFriend$outboundSchema;
132
+ })(V1AccountFriend$ || (exports.V1AccountFriend$ = V1AccountFriend$ = {}));
133
+ //# sourceMappingURL=v1accountfriend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriend.js","sourceRoot":"","sources":["../../src/models/components/v1accountfriend.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uEAKmC;AACnC,+CAKuB;AACvB,uCAAyF;AACzF,uCAAyB;AA2IzB,gBAAgB;AACH,QAAA,6BAA6B,GACtC,CAAC,CAAC,MAAM,CAAC;IACL,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACtB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,MAAM,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e,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,qCAAuB,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,6BAAmB,CAAC,CAAC;IAC/C,KAAK,EAAE,qCAAuB,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAChC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACvB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC7B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAGjE,CAAC,EAPgB,gBAAgB,gCAAhB,gBAAgB,QAOhC"}
@@ -0,0 +1,31 @@
1
+ import { V1AccountFriend, V1AccountFriend$Outbound } from "./v1accountfriend.js";
2
+ import * as z from "zod";
3
+ export type V1AccountFriendsResponseBody = {
4
+ /**
5
+ * A URL to the JSON Schema for this object.
6
+ */
7
+ dollarSchema?: string | undefined;
8
+ friends: Array<V1AccountFriend> | null;
9
+ };
10
+ /** @internal */
11
+ export declare const V1AccountFriendsResponseBody$inboundSchema: z.ZodType<V1AccountFriendsResponseBody, z.ZodTypeDef, unknown>;
12
+ /** @internal */
13
+ export type V1AccountFriendsResponseBody$Outbound = {
14
+ $schema?: string | undefined;
15
+ friends: Array<V1AccountFriend$Outbound> | null;
16
+ };
17
+ /** @internal */
18
+ export declare const V1AccountFriendsResponseBody$outboundSchema: z.ZodType<V1AccountFriendsResponseBody$Outbound, z.ZodTypeDef, V1AccountFriendsResponseBody>;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export declare namespace V1AccountFriendsResponseBody$ {
24
+ /** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
25
+ const inboundSchema: z.ZodType<V1AccountFriendsResponseBody, z.ZodTypeDef, unknown>;
26
+ /** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
27
+ const outboundSchema: z.ZodType<V1AccountFriendsResponseBody$Outbound, z.ZodTypeDef, V1AccountFriendsResponseBody>;
28
+ /** @deprecated use `V1AccountFriendsResponseBody$Outbound` instead. */
29
+ type Outbound = V1AccountFriendsResponseBody$Outbound;
30
+ }
31
+ //# sourceMappingURL=v1accountfriendsresponsebody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriendsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountfriendsresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,eAAe,EAEf,wBAAwB,EAE3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAC9D,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CAC/D,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAU1B,CAAC;AAEP;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC3C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAChE"}
@@ -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.V1AccountFriendsResponseBody$ = exports.V1AccountFriendsResponseBody$outboundSchema = exports.V1AccountFriendsResponseBody$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const v1accountfriend_js_1 = require("./v1accountfriend.js");
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.V1AccountFriendsResponseBody$inboundSchema = z
35
+ .object({
36
+ $schema: z.string().optional(),
37
+ friends: z.nullable(z.array(v1accountfriend_js_1.V1AccountFriend$inboundSchema)),
38
+ })
39
+ .transform((v) => {
40
+ return (0, primitives_js_1.remap)(v, {
41
+ $schema: "dollarSchema",
42
+ });
43
+ });
44
+ /** @internal */
45
+ exports.V1AccountFriendsResponseBody$outboundSchema = z
46
+ .object({
47
+ dollarSchema: z.string().optional(),
48
+ friends: z.nullable(z.array(v1accountfriend_js_1.V1AccountFriend$outboundSchema)),
49
+ })
50
+ .transform((v) => {
51
+ return (0, primitives_js_1.remap)(v, {
52
+ dollarSchema: "$schema",
53
+ });
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 V1AccountFriendsResponseBody$;
60
+ (function (V1AccountFriendsResponseBody$) {
61
+ /** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
62
+ V1AccountFriendsResponseBody$.inboundSchema = exports.V1AccountFriendsResponseBody$inboundSchema;
63
+ /** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
64
+ V1AccountFriendsResponseBody$.outboundSchema = exports.V1AccountFriendsResponseBody$outboundSchema;
65
+ })(V1AccountFriendsResponseBody$ || (exports.V1AccountFriendsResponseBody$ = V1AccountFriendsResponseBody$ = {}));
66
+ //# sourceMappingURL=v1accountfriendsresponsebody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountfriendsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountfriendsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,6DAK8B;AAC9B,uCAAyB;AAUzB,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kDAA6B,CAAC,CAAC;CAC9D,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAQP,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC;KACA,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,mDAA8B,CAAC,CAAC;CAC/D,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,YAAY,EAAE,SAAS;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC1C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG9E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C"}
@@ -0,0 +1,31 @@
1
+ import { AccountLeaderboardHistory, AccountLeaderboardHistory$Outbound } from "./accountleaderboardhistory.js";
2
+ import * as z from "zod";
3
+ export type V1AccountLeaderboardHistoryResponseBody = {
4
+ /**
5
+ * A URL to the JSON Schema for this object.
6
+ */
7
+ dollarSchema?: string | undefined;
8
+ histories: Array<AccountLeaderboardHistory> | null;
9
+ };
10
+ /** @internal */
11
+ export declare const V1AccountLeaderboardHistoryResponseBody$inboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody, z.ZodTypeDef, unknown>;
12
+ /** @internal */
13
+ export type V1AccountLeaderboardHistoryResponseBody$Outbound = {
14
+ $schema?: string | undefined;
15
+ histories: Array<AccountLeaderboardHistory$Outbound> | null;
16
+ };
17
+ /** @internal */
18
+ export declare const V1AccountLeaderboardHistoryResponseBody$outboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody$Outbound, z.ZodTypeDef, V1AccountLeaderboardHistoryResponseBody>;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export declare namespace V1AccountLeaderboardHistoryResponseBody$ {
24
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
25
+ const inboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody, z.ZodTypeDef, unknown>;
26
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
27
+ const outboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody$Outbound, z.ZodTypeDef, V1AccountLeaderboardHistoryResponseBody>;
28
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$Outbound` instead. */
29
+ type Outbound = V1AccountLeaderboardHistoryResponseBody$Outbound;
30
+ }
31
+ //# sourceMappingURL=v1accountleaderboardhistoryresponsebody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountleaderboardhistoryresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountleaderboardhistoryresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,yBAAyB,EAEzB,kCAAkC,EAErC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,uCAAuC,GAAG;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CACzE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC3D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,KAAK,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC1E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAUrC,CAAC;AAEP;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACtD,uFAAuF;IAChF,MAAM,aAAa,2EAAwD,CAAC;IACnF,wFAAwF;IACjF,MAAM,cAAc,oHAAyD,CAAC;IACrF,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CAC3E"}
@@ -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.V1AccountLeaderboardHistoryResponseBody$ = exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const accountleaderboardhistory_js_1 = require("./accountleaderboardhistory.js");
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema = z
35
+ .object({
36
+ $schema: z.string().optional(),
37
+ histories: z.nullable(z.array(accountleaderboardhistory_js_1.AccountLeaderboardHistory$inboundSchema)),
38
+ })
39
+ .transform((v) => {
40
+ return (0, primitives_js_1.remap)(v, {
41
+ $schema: "dollarSchema",
42
+ });
43
+ });
44
+ /** @internal */
45
+ exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema = z
46
+ .object({
47
+ dollarSchema: z.string().optional(),
48
+ histories: z.nullable(z.array(accountleaderboardhistory_js_1.AccountLeaderboardHistory$outboundSchema)),
49
+ })
50
+ .transform((v) => {
51
+ return (0, primitives_js_1.remap)(v, {
52
+ dollarSchema: "$schema",
53
+ });
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 V1AccountLeaderboardHistoryResponseBody$;
60
+ (function (V1AccountLeaderboardHistoryResponseBody$) {
61
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
62
+ V1AccountLeaderboardHistoryResponseBody$.inboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema;
63
+ /** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
64
+ V1AccountLeaderboardHistoryResponseBody$.outboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema;
65
+ })(V1AccountLeaderboardHistoryResponseBody$ || (exports.V1AccountLeaderboardHistoryResponseBody$ = V1AccountLeaderboardHistoryResponseBody$ = {}));
66
+ //# sourceMappingURL=v1accountleaderboardhistoryresponsebody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1accountleaderboardhistoryresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountleaderboardhistoryresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,iFAKwC;AACxC,uCAAyB;AAUzB,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,sEAAuC,CAAC,CAAC;CAC1E,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAQP,gBAAgB;AACH,QAAA,sDAAsD,GAI/D,CAAC;KACA,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,uEAAwC,CAAC,CAAC;CAC3E,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,YAAY,EAAE,SAAS;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,wCAAwC,CAOxD;AAPD,WAAiB,wCAAwC;IACrD,uFAAuF;IAC1E,sDAAa,GAAG,6DAAqD,CAAC;IACnF,wFAAwF;IAC3E,uDAAc,GAAG,8DAAsD,CAAC;AAGzF,CAAC,EAPgB,wCAAwC,wDAAxC,wCAAwC,QAOxD"}
@@ -1,18 +1,18 @@
1
- import { V1App, V1App$Outbound } from "./v1app.js";
1
+ import { V1AccountApp, V1AccountApp$Outbound } from "./v1accountapp.js";
2
2
  import * as z from "zod";
3
3
  export type V1AccountsAppsResponseBody = {
4
4
  /**
5
5
  * A URL to the JSON Schema for this object.
6
6
  */
7
7
  dollarSchema?: string | undefined;
8
- apps: Array<V1App> | null;
8
+ apps: Array<V1AccountApp> | null;
9
9
  };
10
10
  /** @internal */
11
11
  export declare const V1AccountsAppsResponseBody$inboundSchema: z.ZodType<V1AccountsAppsResponseBody, z.ZodTypeDef, unknown>;
12
12
  /** @internal */
13
13
  export type V1AccountsAppsResponseBody$Outbound = {
14
14
  $schema?: string | undefined;
15
- apps: Array<V1App$Outbound> | null;
15
+ apps: Array<V1AccountApp$Outbound> | null;
16
16
  };
17
17
  /** @internal */
18
18
  export declare const V1AccountsAppsResponseBody$outboundSchema: z.ZodType<V1AccountsAppsResponseBody$Outbound, z.ZodTypeDef, V1AccountsAppsResponseBody>;
@@ -1 +1 @@
1
- {"version":3,"file":"v1accountsappsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountsappsresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAuB,cAAc,EAAwB,MAAM,YAAY,CAAC;AAC9F,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC7D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAUxB,CAAC;AAEP;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IACzC,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC9D"}
1
+ {"version":3,"file":"v1accountsappsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountsappsresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,YAAY,EAEZ,qBAAqB,EAExB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,IAAI,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC7D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAUxB,CAAC;AAEP;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IACzC,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC9D"}
@@ -28,13 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.V1AccountsAppsResponseBody$ = exports.V1AccountsAppsResponseBody$outboundSchema = exports.V1AccountsAppsResponseBody$inboundSchema = void 0;
30
30
  const primitives_js_1 = require("../../lib/primitives.js");
31
- const v1app_js_1 = require("./v1app.js");
31
+ const v1accountapp_js_1 = require("./v1accountapp.js");
32
32
  const z = __importStar(require("zod"));
33
33
  /** @internal */
34
34
  exports.V1AccountsAppsResponseBody$inboundSchema = z
35
35
  .object({
36
36
  $schema: z.string().optional(),
37
- apps: z.nullable(z.array(v1app_js_1.V1App$inboundSchema)),
37
+ apps: z.nullable(z.array(v1accountapp_js_1.V1AccountApp$inboundSchema)),
38
38
  })
39
39
  .transform((v) => {
40
40
  return (0, primitives_js_1.remap)(v, {
@@ -45,7 +45,7 @@ exports.V1AccountsAppsResponseBody$inboundSchema = z
45
45
  exports.V1AccountsAppsResponseBody$outboundSchema = z
46
46
  .object({
47
47
  dollarSchema: z.string().optional(),
48
- apps: z.nullable(z.array(v1app_js_1.V1App$outboundSchema)),
48
+ apps: z.nullable(z.array(v1accountapp_js_1.V1AccountApp$outboundSchema)),
49
49
  })
50
50
  .transform((v) => {
51
51
  return (0, primitives_js_1.remap)(v, {
@@ -1 +1 @@
1
- {"version":3,"file":"v1accountsappsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountsappsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,yCAA8F;AAC9F,uCAAyB;AAUzB,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,8BAAmB,CAAC,CAAC;CACjD,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAQP,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC;KACA,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,+BAAoB,CAAC,CAAC;CAClD,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,YAAY,EAAE,SAAS;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IACxC,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG5E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
1
+ {"version":3,"file":"v1accountsappsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountsappsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,uDAK2B;AAC3B,uCAAyB;AAUzB,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,4CAA0B,CAAC,CAAC;CACxD,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAQP,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC;KACA,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,6CAA2B,CAAC,CAAC;CACzD,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,YAAY,EAAE,SAAS;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IACxC,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG5E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}