@steamsets/client-ts 0.11.29 → 0.11.31

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.
package/README.md CHANGED
@@ -155,7 +155,7 @@ run();
155
155
 
156
156
  ### [location](docs/sdks/location/README.md)
157
157
 
158
- * [location](docs/sdks/location/README.md#location) - Get all of our available locations
158
+ * [location](docs/sdks/location/README.md#location)
159
159
 
160
160
  ### [public](docs/sdks/public/README.md)
161
161
 
@@ -586,7 +586,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
586
586
  - [`leaderboardLeaderboardV1GetBadges`](docs/sdks/leaderboard/README.md#leaderboardv1getbadges)
587
587
  - [`leaderboardLeaderboardV1GetGroup`](docs/sdks/leaderboard/README.md#leaderboardv1getgroup)
588
588
  - [`livenessLiveness`](docs/sdks/liveness/README.md#liveness) - Liveness check
589
- - [`locationLocation`](docs/sdks/location/README.md#location) - Get all of our available locations
589
+ - [`locationLocation`](docs/sdks/location/README.md#location)
590
590
  - [`publicAccountV1GetApps`](docs/sdks/public/README.md#accountv1getapps)
591
591
  - [`publicAccountV1GetBadges`](docs/sdks/public/README.md#accountv1getbadges)
592
592
  - [`publicAccountV1GetDataPoints`](docs/sdks/public/README.md#accountv1getdatapoints)
@@ -5,12 +5,10 @@
5
5
 
6
6
  ### Available Operations
7
7
 
8
- * [location](#location) - Get all of our available locations
8
+ * [location](#location)
9
9
 
10
10
  ## location
11
11
 
12
- Get all of our available locations
13
-
14
12
  ### Example Usage
15
13
 
16
14
  ```typescript
@@ -6,8 +6,5 @@ import { SDKError } from "../models/errors/sdkerror.js";
6
6
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
- /**
10
- * Get all of our available locations
11
- */
12
9
  export declare function locationLocation(client: SteamSetsCore, options?: RequestOptions): Promise<Result<operations.LocationResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
13
10
  //# sourceMappingURL=locationLocation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"locationLocation.d.ts","sourceRoot":"","sources":["../src/funcs/locationLocation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,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,gBAAgB,CACpC,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,gBAAgB,EACzB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAmEA"}
1
+ {"version":3,"file":"locationLocation.d.ts","sourceRoot":"","sources":["../src/funcs/locationLocation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,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,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,gBAAgB,EACzB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAmEA"}
@@ -32,11 +32,8 @@ const security_js_1 = require("../lib/security.js");
32
32
  const url_js_1 = require("../lib/url.js");
33
33
  const errors = __importStar(require("../models/errors/index.js"));
34
34
  const operations = __importStar(require("../models/operations/index.js"));
35
- /**
36
- * Get all of our available locations
37
- */
38
35
  async function locationLocation(client, options) {
39
- const path = (0, url_js_1.pathToFunc)("/v1/location")();
36
+ const path = (0, url_js_1.pathToFunc)("/location.v1.LocationService/GetLocations")();
40
37
  const headers = new Headers({
41
38
  Accept: "application/json",
42
39
  });
@@ -1 +1 @@
1
- {"version":3,"file":"locationLocation.js","sourceRoot":"","sources":["../src/funcs/locationLocation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAuBH,4CAkFC;AAtGD,sDAAwC;AAExC,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAG5D;;GAEG;AACI,KAAK,UAAU,gBAAgB,CACpC,MAAqB,EACrB,OAAwB;IAcxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,cAAc,CAAC,EAAE,CAAC;IAE1C,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC;QAC1B,MAAM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QAChC,UAAU,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,KAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACvE,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,8BAA8B,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAC1E,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QACrD,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CACvB,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/lib/config.d.ts CHANGED
@@ -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.11.29";
30
+ readonly sdkVersion: "0.11.31";
31
31
  readonly genVersion: "2.438.15";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.11.29 2.438.15 1.0.0 @steamsets/client-ts";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.11.31 2.438.15 1.0.0 @steamsets/client-ts";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -30,8 +30,8 @@ function serverURLFromOptions(options) {
30
30
  exports.SDK_METADATA = {
31
31
  language: "typescript",
32
32
  openapiDocVersion: "1.0.0",
33
- sdkVersion: "0.11.29",
33
+ sdkVersion: "0.11.31",
34
34
  genVersion: "2.438.15",
35
- userAgent: "speakeasy-sdk/typescript 0.11.29 2.438.15 1.0.0 @steamsets/client-ts",
35
+ userAgent: "speakeasy-sdk/typescript 0.11.31 2.438.15 1.0.0 @steamsets/client-ts",
36
36
  };
37
37
  //# sourceMappingURL=config.js.map
@@ -12,9 +12,7 @@ export type Country = {
12
12
  /**
13
13
  * The states of the country
14
14
  */
15
- states: {
16
- [k: string]: State;
17
- };
15
+ states: Array<State> | null;
18
16
  };
19
17
  /** @internal */
20
18
  export declare const Country$inboundSchema: z.ZodType<Country, z.ZodTypeDef, unknown>;
@@ -22,9 +20,7 @@ export declare const Country$inboundSchema: z.ZodType<Country, z.ZodTypeDef, unk
22
20
  export type Country$Outbound = {
23
21
  code: string;
24
22
  name: string;
25
- states: {
26
- [k: string]: State$Outbound;
27
- };
23
+ states: Array<State$Outbound> | null;
28
24
  };
29
25
  /** @internal */
30
26
  export declare const Country$outboundSchema: z.ZodType<Country$Outbound, z.ZodTypeDef, Country>;
@@ -1 +1 @@
1
- {"version":3,"file":"country.d.ts","sourceRoot":"","sources":["../../src/models/components/country.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,KAAK,EAEL,cAAc,EAEf,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAE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AAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH;;;GAGG;AACH,yBAAiB,QAAQ,CAAC;IACxB,uDAAuD;IAChD,MAAM,aAAa,2CAAwB,CAAC;IACnD,wDAAwD;IACjD,MAAM,cAAc,oDAAyB,CAAC;IACrD,kDAAkD;IAClD,KAAY,QAAQ,GAAG,gBAAgB,CAAC;CACzC"}
@@ -33,13 +33,13 @@ const state_js_1 = require("./state.js");
33
33
  exports.Country$inboundSchema = z.object({
34
34
  code: z.string(),
35
35
  name: z.string(),
36
- states: z.record(state_js_1.State$inboundSchema),
36
+ states: z.nullable(z.array(state_js_1.State$inboundSchema)),
37
37
  });
38
38
  /** @internal */
39
39
  exports.Country$outboundSchema = z.object({
40
40
  code: z.string(),
41
41
  name: z.string(),
42
- states: z.record(state_js_1.State$outboundSchema),
42
+ states: z.nullable(z.array(state_js_1.State$outboundSchema)),
43
43
  });
44
44
  /**
45
45
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"country.js","sourceRoot":"","sources":["../../src/models/components/country.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,yCAKoB;AAiBpB,gBAAgB;AACH,QAAA,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,8BAAmB,CAAC;CACtC,CAAC,CAA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AsB,CAAC;AAGvD,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB"}
@@ -4,9 +4,7 @@ export type Region = {
4
4
  /**
5
5
  * The countries of the region
6
6
  */
7
- countries: {
8
- [k: string]: Country;
9
- };
7
+ countries: Array<Country> | null;
10
8
  /**
11
9
  * The name of the region
12
10
  */
@@ -16,9 +14,7 @@ export type Region = {
16
14
  export declare const Region$inboundSchema: z.ZodType<Region, z.ZodTypeDef, unknown>;
17
15
  /** @internal */
18
16
  export type Region$Outbound = {
19
- countries: {
20
- [k: string]: Country$Outbound;
21
- };
17
+ countries: Array<Country$Outbound> | null;
22
18
  name: string;
23
19
  };
24
20
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"region.d.ts","sourceRoot":"","sources":["../../src/models/components/region.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAItE,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAA;KAAE,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CAIN,CAAC;AAEH;;;GAGG;AACH,yBAAiB,OAAO,CAAC;IACvB,sDAAsD;IAC/C,MAAM,aAAa,0CAAuB,CAAC;IAClD,uDAAuD;IAChD,MAAM,cAAc,kDAAwB,CAAC;IACpD,iDAAiD;IACjD,KAAY,QAAQ,GAAG,eAAe,CAAC;CACxC"}
1
+ {"version":3,"file":"region.d.ts","sourceRoot":"","sources":["../../src/models/components/region.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAItE,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CAIN,CAAC;AAEH;;;GAGG;AACH,yBAAiB,OAAO,CAAC;IACvB,sDAAsD;IAC/C,MAAM,aAAa,0CAAuB,CAAC;IAClD,uDAAuD;IAChD,MAAM,cAAc,kDAAwB,CAAC;IACpD,iDAAiD;IACjD,KAAY,QAAQ,GAAG,eAAe,CAAC;CACxC"}
@@ -32,12 +32,12 @@ const country_js_1 = require("./country.js");
32
32
  /** @internal */
33
33
  exports.Region$inboundSchema = z
34
34
  .object({
35
- countries: z.record(country_js_1.Country$inboundSchema),
35
+ countries: z.nullable(z.array(country_js_1.Country$inboundSchema)),
36
36
  name: z.string(),
37
37
  });
38
38
  /** @internal */
39
39
  exports.Region$outboundSchema = z.object({
40
- countries: z.record(country_js_1.Country$outboundSchema),
40
+ countries: z.nullable(z.array(country_js_1.Country$outboundSchema)),
41
41
  name: z.string(),
42
42
  });
43
43
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"region.js","sourceRoot":"","sources":["../../src/models/components/region.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,6CAKsB;AAatB,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,kCAAqB,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,qBAAqB,GAI9B,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,mCAAsB,CAAC;IAC3C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,OAAO,CAOvB;AAPD,WAAiB,OAAO;IACtB,sDAAsD;IACzC,qBAAa,GAAG,4BAAoB,CAAC;IAClD,uDAAuD;IAC1C,sBAAc,GAAG,6BAAqB,CAAC;AAGtD,CAAC,EAPgB,OAAO,uBAAP,OAAO,QAOvB"}
1
+ {"version":3,"file":"region.js","sourceRoot":"","sources":["../../src/models/components/region.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,6CAKsB;AAatB,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kCAAqB,CAAC,CAAC;IACrD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,qBAAqB,GAI9B,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAsB,CAAC,CAAC;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,OAAO,CAOvB;AAPD,WAAiB,OAAO;IACtB,sDAAsD;IACzC,qBAAa,GAAG,4BAAoB,CAAC;IAClD,uDAAuD;IAC1C,sBAAc,GAAG,6BAAqB,CAAC;AAGtD,CAAC,EAPgB,OAAO,uBAAP,OAAO,QAOvB"}
@@ -4,9 +4,7 @@ export type State = {
4
4
  /**
5
5
  * The cities of the state
6
6
  */
7
- cities: {
8
- [k: string]: City;
9
- };
7
+ cities: Array<City> | null;
10
8
  /**
11
9
  * The code of the state
12
10
  */
@@ -20,9 +18,7 @@ export type State = {
20
18
  export declare const State$inboundSchema: z.ZodType<State, z.ZodTypeDef, unknown>;
21
19
  /** @internal */
22
20
  export type State$Outbound = {
23
- cities: {
24
- [k: string]: City$Outbound;
25
- };
21
+ cities: Array<City$Outbound> | null;
26
22
  code: string;
27
23
  name: string;
28
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/models/components/state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,IAAI,EAEJ,aAAa,EAEd,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,MAAM,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AA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C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAC1C,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,KAAK,CAKL,CAAC;AAEH;;;GAGG;AACH,yBAAiB,MAAM,CAAC;IACtB,qDAAqD;IAC9C,MAAM,aAAa,yCAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc,gDAAuB,CAAC;IACnD,gDAAgD;IAChD,KAAY,QAAQ,GAAG,cAAc,CAAC;CACvC"}
@@ -32,13 +32,13 @@ const city_js_1 = require("./city.js");
32
32
  /** @internal */
33
33
  exports.State$inboundSchema = z
34
34
  .object({
35
- cities: z.record(city_js_1.City$inboundSchema),
35
+ cities: z.nullable(z.array(city_js_1.City$inboundSchema)),
36
36
  code: z.string(),
37
37
  name: z.string(),
38
38
  });
39
39
  /** @internal */
40
40
  exports.State$outboundSchema = z.object({
41
- cities: z.record(city_js_1.City$outboundSchema),
41
+ cities: z.nullable(z.array(city_js_1.City$outboundSchema)),
42
42
  code: z.string(),
43
43
  name: z.string(),
44
44
  });
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../src/models/components/state.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,uCAKmB;AAiBnB,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,4BAAkB,CAAC;IACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AASL,gBAAgB;AACH,QAAA,oBAAoB,GAI7B,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,6BAAmB,CAAC;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACrB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGrD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../src/models/components/state.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,uCAKmB;AAiBnB,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,4BAAkB,CAAC,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AASL,gBAAgB;AACH,QAAA,oBAAoB,GAI7B,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,6BAAmB,CAAC,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACrB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGrD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steamsets/client-ts",
3
- "version": "0.11.29",
3
+ "version": "0.11.31",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/sdk/location.d.ts CHANGED
@@ -1,9 +1,6 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
3
  export declare class Location extends ClientSDK {
4
- /**
5
- * Get all of our available locations
6
- */
7
4
  location(options?: RequestOptions): Promise<operations.LocationResponse>;
8
5
  }
9
6
  //# sourceMappingURL=location.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../src/sdk/location.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;OAEG;IACG,QAAQ,CACZ,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;CAMxC"}
1
+ {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../src/sdk/location.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IAC/B,QAAQ,CACZ,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;CAMxC"}
package/sdk/location.js CHANGED
@@ -8,9 +8,6 @@ const locationLocation_js_1 = require("../funcs/locationLocation.js");
8
8
  const sdks_js_1 = require("../lib/sdks.js");
9
9
  const fp_js_1 = require("../types/fp.js");
10
10
  class Location extends sdks_js_1.ClientSDK {
11
- /**
12
- * Get all of our available locations
13
- */
14
11
  async location(options) {
15
12
  return (0, fp_js_1.unwrapAsync)((0, locationLocation_js_1.locationLocation)(this, options));
16
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"location.js","sourceRoot":"","sources":["../src/sdk/location.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sEAAgE;AAChE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;OAEG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAZD,4BAYC"}
1
+ {"version":3,"file":"location.js","sourceRoot":"","sources":["../src/sdk/location.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sEAAgE;AAChE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC,KAAK,CAAC,QAAQ,CACZ,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AATD,4BASC"}
package/sdk/sdk.d.ts CHANGED
@@ -38,9 +38,9 @@ export declare class SteamSets extends ClientSDK {
38
38
  get leaderboard(): Leaderboard;
39
39
  private _group?;
40
40
  get group(): Group;
41
- private _liveness?;
42
- get liveness(): Liveness;
43
41
  private _location?;
44
42
  get location(): Location;
43
+ private _liveness?;
44
+ get liveness(): Liveness;
45
45
  }
46
46
  //# sourceMappingURL=sdk.d.ts.map
package/sdk/sdk.js CHANGED
@@ -68,14 +68,14 @@ class SteamSets extends sdks_js_1.ClientSDK {
68
68
  var _a;
69
69
  return ((_a = this._group) !== null && _a !== void 0 ? _a : (this._group = new group_js_1.Group(this._options)));
70
70
  }
71
- get liveness() {
72
- var _a;
73
- return ((_a = this._liveness) !== null && _a !== void 0 ? _a : (this._liveness = new liveness_js_1.Liveness(this._options)));
74
- }
75
71
  get location() {
76
72
  var _a;
77
73
  return ((_a = this._location) !== null && _a !== void 0 ? _a : (this._location = new location_js_1.Location(this._options)));
78
74
  }
75
+ get liveness() {
76
+ var _a;
77
+ return ((_a = this._liveness) !== null && _a !== void 0 ? _a : (this._liveness = new liveness_js_1.Liveness(this._options)));
78
+ }
79
79
  }
80
80
  exports.SteamSets = SteamSets;
81
81
  //# sourceMappingURL=sdk.js.map
@@ -20,9 +20,6 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
20
20
  import * as operations from "../models/operations/index.js";
21
21
  import { Result } from "../types/fp.js";
22
22
 
23
- /**
24
- * Get all of our available locations
25
- */
26
23
  export async function locationLocation(
27
24
  client: SteamSetsCore,
28
25
  options?: RequestOptions,
@@ -39,7 +36,7 @@ export async function locationLocation(
39
36
  | ConnectionError
40
37
  >
41
38
  > {
42
- const path = pathToFunc("/v1/location")();
39
+ const path = pathToFunc("/location.v1.LocationService/GetLocations")();
43
40
 
44
41
  const headers = new Headers({
45
42
  Accept: "application/json",
package/src/lib/config.ts CHANGED
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0.0",
58
- sdkVersion: "0.11.29",
58
+ sdkVersion: "0.11.31",
59
59
  genVersion: "2.438.15",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.11.29 2.438.15 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.11.31 2.438.15 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -22,7 +22,7 @@ export type Country = {
22
22
  /**
23
23
  * The states of the country
24
24
  */
25
- states: { [k: string]: State };
25
+ states: Array<State> | null;
26
26
  };
27
27
 
28
28
  /** @internal */
@@ -30,14 +30,14 @@ export const Country$inboundSchema: z.ZodType<Country, z.ZodTypeDef, unknown> =
30
30
  z.object({
31
31
  code: z.string(),
32
32
  name: z.string(),
33
- states: z.record(State$inboundSchema),
33
+ states: z.nullable(z.array(State$inboundSchema)),
34
34
  });
35
35
 
36
36
  /** @internal */
37
37
  export type Country$Outbound = {
38
38
  code: string;
39
39
  name: string;
40
- states: { [k: string]: State$Outbound };
40
+ states: Array<State$Outbound> | null;
41
41
  };
42
42
 
43
43
  /** @internal */
@@ -48,7 +48,7 @@ export const Country$outboundSchema: z.ZodType<
48
48
  > = z.object({
49
49
  code: z.string(),
50
50
  name: z.string(),
51
- states: z.record(State$outboundSchema),
51
+ states: z.nullable(z.array(State$outboundSchema)),
52
52
  });
53
53
 
54
54
  /**
@@ -14,7 +14,7 @@ export type Region = {
14
14
  /**
15
15
  * The countries of the region
16
16
  */
17
- countries: { [k: string]: Country };
17
+ countries: Array<Country> | null;
18
18
  /**
19
19
  * The name of the region
20
20
  */
@@ -24,13 +24,13 @@ export type Region = {
24
24
  /** @internal */
25
25
  export const Region$inboundSchema: z.ZodType<Region, z.ZodTypeDef, unknown> = z
26
26
  .object({
27
- countries: z.record(Country$inboundSchema),
27
+ countries: z.nullable(z.array(Country$inboundSchema)),
28
28
  name: z.string(),
29
29
  });
30
30
 
31
31
  /** @internal */
32
32
  export type Region$Outbound = {
33
- countries: { [k: string]: Country$Outbound };
33
+ countries: Array<Country$Outbound> | null;
34
34
  name: string;
35
35
  };
36
36
 
@@ -40,7 +40,7 @@ export const Region$outboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  Region
42
42
  > = z.object({
43
- countries: z.record(Country$outboundSchema),
43
+ countries: z.nullable(z.array(Country$outboundSchema)),
44
44
  name: z.string(),
45
45
  });
46
46
 
@@ -14,7 +14,7 @@ export type State = {
14
14
  /**
15
15
  * The cities of the state
16
16
  */
17
- cities: { [k: string]: City };
17
+ cities: Array<City> | null;
18
18
  /**
19
19
  * The code of the state
20
20
  */
@@ -28,14 +28,14 @@ export type State = {
28
28
  /** @internal */
29
29
  export const State$inboundSchema: z.ZodType<State, z.ZodTypeDef, unknown> = z
30
30
  .object({
31
- cities: z.record(City$inboundSchema),
31
+ cities: z.nullable(z.array(City$inboundSchema)),
32
32
  code: z.string(),
33
33
  name: z.string(),
34
34
  });
35
35
 
36
36
  /** @internal */
37
37
  export type State$Outbound = {
38
- cities: { [k: string]: City$Outbound };
38
+ cities: Array<City$Outbound> | null;
39
39
  code: string;
40
40
  name: string;
41
41
  };
@@ -46,7 +46,7 @@ export const State$outboundSchema: z.ZodType<
46
46
  z.ZodTypeDef,
47
47
  State
48
48
  > = z.object({
49
- cities: z.record(City$outboundSchema),
49
+ cities: z.nullable(z.array(City$outboundSchema)),
50
50
  code: z.string(),
51
51
  name: z.string(),
52
52
  });
@@ -8,9 +8,6 @@ import * as operations from "../models/operations/index.js";
8
8
  import { unwrapAsync } from "../types/fp.js";
9
9
 
10
10
  export class Location extends ClientSDK {
11
- /**
12
- * Get all of our available locations
13
- */
14
11
  async location(
15
12
  options?: RequestOptions,
16
13
  ): Promise<operations.LocationResponse> {
package/src/sdk/sdk.ts CHANGED
@@ -79,13 +79,13 @@ export class SteamSets extends ClientSDK {
79
79
  return (this._group ??= new Group(this._options));
80
80
  }
81
81
 
82
- private _liveness?: Liveness;
83
- get liveness(): Liveness {
84
- return (this._liveness ??= new Liveness(this._options));
85
- }
86
-
87
82
  private _location?: Location;
88
83
  get location(): Location {
89
84
  return (this._location ??= new Location(this._options));
90
85
  }
86
+
87
+ private _liveness?: Liveness;
88
+ get liveness(): Liveness {
89
+ return (this._liveness ??= new Liveness(this._options));
90
+ }
91
91
  }