@steamsets/client-ts 0.11.30 → 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/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/country.d.ts +2 -6
- package/models/components/country.d.ts.map +1 -1
- package/models/components/country.js +2 -2
- package/models/components/country.js.map +1 -1
- package/models/components/region.d.ts +2 -6
- package/models/components/region.d.ts.map +1 -1
- package/models/components/region.js +2 -2
- package/models/components/region.js.map +1 -1
- package/models/components/state.d.ts +2 -6
- package/models/components/state.d.ts.map +1 -1
- package/models/components/state.js +2 -2
- package/models/components/state.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/country.ts +4 -4
- package/src/models/components/region.ts +4 -4
- package/src/models/components/state.ts +4 -4
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.
|
|
30
|
+
readonly sdkVersion: "0.11.31";
|
|
31
31
|
readonly genVersion: "2.438.15";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.11.
|
|
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.
|
|
33
|
+
sdkVersion: "0.11.31",
|
|
34
34
|
genVersion: "2.438.15",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.11.
|
|
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;;OAEG;IACH,MAAM,EAAE
|
|
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;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAKxE,CAAC;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.
|
|
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.
|
|
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,
|
|
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,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,8BAAmB,CAAC,CAAC;CACjD,CAAC,CAAC;AASL,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,+BAAoB,CAAC,CAAC;CAClD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB,uDAAuD;IAC1C,sBAAa,GAAG,6BAAqB,CAAC;IACnD,wDAAwD;IAC3C,uBAAc,GAAG,8BAAsB,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
|
|
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.
|
|
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.
|
|
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,
|
|
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
|
|
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,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAKpE,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;IACpC,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.
|
|
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.
|
|
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,
|
|
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
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.
|
|
58
|
+
sdkVersion: "0.11.31",
|
|
59
59
|
genVersion: "2.438.15",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 0.11.
|
|
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:
|
|
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.
|
|
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:
|
|
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.
|
|
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:
|
|
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.
|
|
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:
|
|
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.
|
|
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:
|
|
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.
|
|
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:
|
|
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.
|
|
49
|
+
cities: z.nullable(z.array(City$outboundSchema)),
|
|
50
50
|
code: z.string(),
|
|
51
51
|
name: z.string(),
|
|
52
52
|
});
|