@steamsets/client-ts 0.14.24 → 0.14.25
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 +4 -0
- package/docs/sdks/account/README.md +79 -0
- package/docs/sdks/connection/README.md +79 -0
- package/docs/sdks/connections/README.md +3 -3
- package/funcs/accountAccountV1ConnectionReconnect.d.ts +11 -0
- package/funcs/accountAccountV1ConnectionReconnect.d.ts.map +1 -0
- package/funcs/accountAccountV1ConnectionReconnect.js +113 -0
- package/funcs/accountAccountV1ConnectionReconnect.js.map +1 -0
- package/funcs/connectionAccountV1ConnectionReconnect.d.ts +11 -0
- package/funcs/connectionAccountV1ConnectionReconnect.d.ts.map +1 -0
- package/funcs/connectionAccountV1ConnectionReconnect.js +113 -0
- package/funcs/connectionAccountV1ConnectionReconnect.js.map +1 -0
- package/funcs/connectionsConnect.d.ts +1 -1
- package/funcs/connectionsConnect.d.ts.map +1 -1
- package/funcs/connectionsConnect.js +2 -2
- package/funcs/connectionsConnect.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/connection.d.ts +8 -8
- package/models/components/connection.d.ts.map +1 -1
- package/models/components/connection.js +13 -14
- package/models/components/connection.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1connectrequestbody.d.ts +87 -0
- package/models/components/v1connectrequestbody.d.ts.map +1 -0
- package/models/components/v1connectrequestbody.js +90 -0
- package/models/components/v1connectrequestbody.js.map +1 -0
- package/models/components/v1connectresponsebody.d.ts +42 -0
- package/models/components/v1connectresponsebody.d.ts.map +1 -0
- package/models/components/v1connectresponsebody.js +72 -0
- package/models/components/v1connectresponsebody.js.map +1 -0
- package/models/operations/accountv1connectionconnect.d.ts +2 -2
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
- package/models/operations/accountv1connectionconnect.js +4 -4
- package/models/operations/accountv1connectionconnect.js.map +1 -1
- package/models/operations/accountv1connectionreconnect.d.ts +35 -0
- package/models/operations/accountv1connectionreconnect.d.ts.map +1 -0
- package/models/operations/accountv1connectionreconnect.js +75 -0
- package/models/operations/accountv1connectionreconnect.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +1 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +4 -0
- package/sdk/account.js.map +1 -1
- package/sdk/connection.d.ts +1 -0
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +4 -0
- package/sdk/connection.js.map +1 -1
- package/sdk/connections.d.ts +1 -1
- package/sdk/connections.d.ts.map +1 -1
- package/sdk/connections.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionReconnect.ts +149 -0
- package/src/funcs/connectionAccountV1ConnectionReconnect.ts +149 -0
- package/src/funcs/connectionsConnect.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/connection.ts +16 -14
- package/src/models/components/index.ts +2 -0
- package/src/models/components/v1connectrequestbody.ts +114 -0
- package/src/models/components/v1connectresponsebody.ts +92 -0
- package/src/models/operations/accountv1connectionconnect.ts +6 -8
- package/src/models/operations/accountv1connectionreconnect.ts +94 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/account.ts +12 -0
- package/src/sdk/connection.ts +12 -0
- package/src/sdk/connections.ts +1 -1
|
@@ -80,6 +80,8 @@ export * from "./v1badgesresponsebody.js";
|
|
|
80
80
|
export * from "./v1badgetagrequestbody.js";
|
|
81
81
|
export * from "./v1badgetagresponsebody.js";
|
|
82
82
|
export * from "./v1badgetagsresponsebody.js";
|
|
83
|
+
export * from "./v1connectrequestbody.js";
|
|
84
|
+
export * from "./v1connectresponsebody.js";
|
|
83
85
|
export * from "./v1createsessionbody.js";
|
|
84
86
|
export * from "./v1deleteconnectionrequestbody.js";
|
|
85
87
|
export * from "./v1deleteconnectionresponsebody.js";
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The provider to connect with
|
|
13
|
+
*/
|
|
14
|
+
export const Provider = {
|
|
15
|
+
Discord: "discord",
|
|
16
|
+
Patreon: "patreon",
|
|
17
|
+
Kick: "kick",
|
|
18
|
+
Reddit: "reddit",
|
|
19
|
+
Twitch: "twitch",
|
|
20
|
+
Youtube: "youtube",
|
|
21
|
+
X: "x",
|
|
22
|
+
Domain: "domain",
|
|
23
|
+
} as const;
|
|
24
|
+
/**
|
|
25
|
+
* The provider to connect with
|
|
26
|
+
*/
|
|
27
|
+
export type Provider = ClosedEnum<typeof Provider>;
|
|
28
|
+
|
|
29
|
+
export type V1ConnectRequestBody = {
|
|
30
|
+
/**
|
|
31
|
+
* The code from the oauth2 provider to verify
|
|
32
|
+
*/
|
|
33
|
+
code: string;
|
|
34
|
+
/**
|
|
35
|
+
* The provider to connect with
|
|
36
|
+
*/
|
|
37
|
+
provider: Provider;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider> = z
|
|
42
|
+
.nativeEnum(Provider);
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider> =
|
|
46
|
+
Provider$inboundSchema;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export namespace Provider$ {
|
|
53
|
+
/** @deprecated use `Provider$inboundSchema` instead. */
|
|
54
|
+
export const inboundSchema = Provider$inboundSchema;
|
|
55
|
+
/** @deprecated use `Provider$outboundSchema` instead. */
|
|
56
|
+
export const outboundSchema = Provider$outboundSchema;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const V1ConnectRequestBody$inboundSchema: z.ZodType<
|
|
61
|
+
V1ConnectRequestBody,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
code: z.string(),
|
|
66
|
+
provider: Provider$inboundSchema,
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type V1ConnectRequestBody$Outbound = {
|
|
71
|
+
code: string;
|
|
72
|
+
provider: string;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const V1ConnectRequestBody$outboundSchema: z.ZodType<
|
|
77
|
+
V1ConnectRequestBody$Outbound,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
V1ConnectRequestBody
|
|
80
|
+
> = z.object({
|
|
81
|
+
code: z.string(),
|
|
82
|
+
provider: Provider$outboundSchema,
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
export namespace V1ConnectRequestBody$ {
|
|
90
|
+
/** @deprecated use `V1ConnectRequestBody$inboundSchema` instead. */
|
|
91
|
+
export const inboundSchema = V1ConnectRequestBody$inboundSchema;
|
|
92
|
+
/** @deprecated use `V1ConnectRequestBody$outboundSchema` instead. */
|
|
93
|
+
export const outboundSchema = V1ConnectRequestBody$outboundSchema;
|
|
94
|
+
/** @deprecated use `V1ConnectRequestBody$Outbound` instead. */
|
|
95
|
+
export type Outbound = V1ConnectRequestBody$Outbound;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function v1ConnectRequestBodyToJSON(
|
|
99
|
+
v1ConnectRequestBody: V1ConnectRequestBody,
|
|
100
|
+
): string {
|
|
101
|
+
return JSON.stringify(
|
|
102
|
+
V1ConnectRequestBody$outboundSchema.parse(v1ConnectRequestBody),
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function v1ConnectRequestBodyFromJSON(
|
|
107
|
+
jsonString: string,
|
|
108
|
+
): SafeParseResult<V1ConnectRequestBody, SDKValidationError> {
|
|
109
|
+
return safeParse(
|
|
110
|
+
jsonString,
|
|
111
|
+
(x) => V1ConnectRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
112
|
+
`Failed to parse 'V1ConnectRequestBody' from JSON`,
|
|
113
|
+
);
|
|
114
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type V1ConnectResponseBody = {
|
|
12
|
+
/**
|
|
13
|
+
* A URL to the JSON Schema for this object.
|
|
14
|
+
*/
|
|
15
|
+
dollarSchema?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Code that has to be used to verify domain connections
|
|
18
|
+
*/
|
|
19
|
+
code: string;
|
|
20
|
+
/**
|
|
21
|
+
* Public ID of the connection only for domain connections
|
|
22
|
+
*/
|
|
23
|
+
connectionId?: string | null | undefined;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const V1ConnectResponseBody$inboundSchema: z.ZodType<
|
|
28
|
+
V1ConnectResponseBody,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = z.object({
|
|
32
|
+
$schema: z.string().optional(),
|
|
33
|
+
code: z.string(),
|
|
34
|
+
connectionId: z.nullable(z.string()).optional(),
|
|
35
|
+
}).transform((v) => {
|
|
36
|
+
return remap$(v, {
|
|
37
|
+
"$schema": "dollarSchema",
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type V1ConnectResponseBody$Outbound = {
|
|
43
|
+
$schema?: string | undefined;
|
|
44
|
+
code: string;
|
|
45
|
+
connectionId?: string | null | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const V1ConnectResponseBody$outboundSchema: z.ZodType<
|
|
50
|
+
V1ConnectResponseBody$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
V1ConnectResponseBody
|
|
53
|
+
> = z.object({
|
|
54
|
+
dollarSchema: z.string().optional(),
|
|
55
|
+
code: z.string(),
|
|
56
|
+
connectionId: z.nullable(z.string()).optional(),
|
|
57
|
+
}).transform((v) => {
|
|
58
|
+
return remap$(v, {
|
|
59
|
+
dollarSchema: "$schema",
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
+
*/
|
|
67
|
+
export namespace V1ConnectResponseBody$ {
|
|
68
|
+
/** @deprecated use `V1ConnectResponseBody$inboundSchema` instead. */
|
|
69
|
+
export const inboundSchema = V1ConnectResponseBody$inboundSchema;
|
|
70
|
+
/** @deprecated use `V1ConnectResponseBody$outboundSchema` instead. */
|
|
71
|
+
export const outboundSchema = V1ConnectResponseBody$outboundSchema;
|
|
72
|
+
/** @deprecated use `V1ConnectResponseBody$Outbound` instead. */
|
|
73
|
+
export type Outbound = V1ConnectResponseBody$Outbound;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function v1ConnectResponseBodyToJSON(
|
|
77
|
+
v1ConnectResponseBody: V1ConnectResponseBody,
|
|
78
|
+
): string {
|
|
79
|
+
return JSON.stringify(
|
|
80
|
+
V1ConnectResponseBody$outboundSchema.parse(v1ConnectResponseBody),
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function v1ConnectResponseBodyFromJSON(
|
|
85
|
+
jsonString: string,
|
|
86
|
+
): SafeParseResult<V1ConnectResponseBody, SDKValidationError> {
|
|
87
|
+
return safeParse(
|
|
88
|
+
jsonString,
|
|
89
|
+
(x) => V1ConnectResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
90
|
+
`Failed to parse 'V1ConnectResponseBody' from JSON`,
|
|
91
|
+
);
|
|
92
|
+
}
|
|
@@ -14,7 +14,7 @@ export type AccountV1ConnectionConnectResponse = {
|
|
|
14
14
|
/**
|
|
15
15
|
* OK
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
v1ConnectResponseBody?: components.V1ConnectResponseBody | undefined;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
@@ -24,21 +24,19 @@ export const AccountV1ConnectionConnectResponse$inboundSchema: z.ZodType<
|
|
|
24
24
|
unknown
|
|
25
25
|
> = z.object({
|
|
26
26
|
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
27
|
-
|
|
27
|
+
V1ConnectResponseBody: components.V1ConnectResponseBody$inboundSchema
|
|
28
28
|
.optional(),
|
|
29
29
|
}).transform((v) => {
|
|
30
30
|
return remap$(v, {
|
|
31
31
|
"HttpMeta": "httpMeta",
|
|
32
|
-
"
|
|
32
|
+
"V1ConnectResponseBody": "v1ConnectResponseBody",
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
/** @internal */
|
|
37
37
|
export type AccountV1ConnectionConnectResponse$Outbound = {
|
|
38
38
|
HttpMeta: components.HTTPMetadata$Outbound;
|
|
39
|
-
|
|
40
|
-
| components.V1ReconnectResponseBody$Outbound
|
|
41
|
-
| undefined;
|
|
39
|
+
V1ConnectResponseBody?: components.V1ConnectResponseBody$Outbound | undefined;
|
|
42
40
|
};
|
|
43
41
|
|
|
44
42
|
/** @internal */
|
|
@@ -48,12 +46,12 @@ export const AccountV1ConnectionConnectResponse$outboundSchema: z.ZodType<
|
|
|
48
46
|
AccountV1ConnectionConnectResponse
|
|
49
47
|
> = z.object({
|
|
50
48
|
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
51
|
-
|
|
49
|
+
v1ConnectResponseBody: components.V1ConnectResponseBody$outboundSchema
|
|
52
50
|
.optional(),
|
|
53
51
|
}).transform((v) => {
|
|
54
52
|
return remap$(v, {
|
|
55
53
|
httpMeta: "HttpMeta",
|
|
56
|
-
|
|
54
|
+
v1ConnectResponseBody: "V1ConnectResponseBody",
|
|
57
55
|
});
|
|
58
56
|
});
|
|
59
57
|
|
|
@@ -0,0 +1,94 @@
|
|
|
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 AccountV1ConnectionReconnectResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
/**
|
|
15
|
+
* OK
|
|
16
|
+
*/
|
|
17
|
+
v1ReconnectResponseBody?: components.V1ReconnectResponseBody | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const AccountV1ConnectionReconnectResponse$inboundSchema: z.ZodType<
|
|
22
|
+
AccountV1ConnectionReconnectResponse,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
27
|
+
V1ReconnectResponseBody: components.V1ReconnectResponseBody$inboundSchema
|
|
28
|
+
.optional(),
|
|
29
|
+
}).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"HttpMeta": "httpMeta",
|
|
32
|
+
"V1ReconnectResponseBody": "v1ReconnectResponseBody",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type AccountV1ConnectionReconnectResponse$Outbound = {
|
|
38
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
39
|
+
V1ReconnectResponseBody?:
|
|
40
|
+
| components.V1ReconnectResponseBody$Outbound
|
|
41
|
+
| undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const AccountV1ConnectionReconnectResponse$outboundSchema: z.ZodType<
|
|
46
|
+
AccountV1ConnectionReconnectResponse$Outbound,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
AccountV1ConnectionReconnectResponse
|
|
49
|
+
> = z.object({
|
|
50
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
51
|
+
v1ReconnectResponseBody: components.V1ReconnectResponseBody$outboundSchema
|
|
52
|
+
.optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return remap$(v, {
|
|
55
|
+
httpMeta: "HttpMeta",
|
|
56
|
+
v1ReconnectResponseBody: "V1ReconnectResponseBody",
|
|
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 AccountV1ConnectionReconnectResponse$ {
|
|
65
|
+
/** @deprecated use `AccountV1ConnectionReconnectResponse$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema =
|
|
67
|
+
AccountV1ConnectionReconnectResponse$inboundSchema;
|
|
68
|
+
/** @deprecated use `AccountV1ConnectionReconnectResponse$outboundSchema` instead. */
|
|
69
|
+
export const outboundSchema =
|
|
70
|
+
AccountV1ConnectionReconnectResponse$outboundSchema;
|
|
71
|
+
/** @deprecated use `AccountV1ConnectionReconnectResponse$Outbound` instead. */
|
|
72
|
+
export type Outbound = AccountV1ConnectionReconnectResponse$Outbound;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function accountV1ConnectionReconnectResponseToJSON(
|
|
76
|
+
accountV1ConnectionReconnectResponse: AccountV1ConnectionReconnectResponse,
|
|
77
|
+
): string {
|
|
78
|
+
return JSON.stringify(
|
|
79
|
+
AccountV1ConnectionReconnectResponse$outboundSchema.parse(
|
|
80
|
+
accountV1ConnectionReconnectResponse,
|
|
81
|
+
),
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function accountV1ConnectionReconnectResponseFromJSON(
|
|
86
|
+
jsonString: string,
|
|
87
|
+
): SafeParseResult<AccountV1ConnectionReconnectResponse, SDKValidationError> {
|
|
88
|
+
return safeParse(
|
|
89
|
+
jsonString,
|
|
90
|
+
(x) =>
|
|
91
|
+
AccountV1ConnectionReconnectResponse$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
+
`Failed to parse 'AccountV1ConnectionReconnectResponse' from JSON`,
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export * from "./accountv1bookmarkbadge.js";
|
|
6
6
|
export * from "./accountv1connectionconnect.js";
|
|
7
7
|
export * from "./accountv1connectiondeleteconnection.js";
|
|
8
|
+
export * from "./accountv1connectionreconnect.js";
|
|
8
9
|
export * from "./accountv1connectionupdateconnection.js";
|
|
9
10
|
export * from "./accountv1connectionverifyconnection.js";
|
|
10
11
|
export * from "./accountv1getapps.js";
|
package/src/sdk/account.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { accountAccountV1ConnectionReconnect } from "../funcs/accountAccountV1ConnectionReconnect.js";
|
|
5
6
|
import { accountAccountV1GetBadgeBookmarks } from "../funcs/accountAccountV1GetBadgeBookmarks.js";
|
|
6
7
|
import { accountAccountV1GetOwnedBadges } from "../funcs/accountAccountV1GetOwnedBadges.js";
|
|
7
8
|
import { accountAccountV1ImagesGet } from "../funcs/accountAccountV1ImagesGet.js";
|
|
@@ -136,6 +137,17 @@ export class Account extends ClientSDK {
|
|
|
136
137
|
));
|
|
137
138
|
}
|
|
138
139
|
|
|
140
|
+
async accountV1ConnectionReconnect(
|
|
141
|
+
request: components.V1ReconnectRequestBody,
|
|
142
|
+
options?: RequestOptions,
|
|
143
|
+
): Promise<operations.AccountV1ConnectionReconnectResponse> {
|
|
144
|
+
return unwrapAsync(accountAccountV1ConnectionReconnect(
|
|
145
|
+
this,
|
|
146
|
+
request,
|
|
147
|
+
options,
|
|
148
|
+
));
|
|
149
|
+
}
|
|
150
|
+
|
|
139
151
|
async sendEmailVerification(
|
|
140
152
|
request: operations.AccountV1SettingsSendEmailVerificationRequest,
|
|
141
153
|
options?: RequestOptions,
|
package/src/sdk/connection.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { connectionAccountV1ConnectionReconnect } from "../funcs/connectionAccountV1ConnectionReconnect.js";
|
|
5
6
|
import { connectionDelete } from "../funcs/connectionDelete.js";
|
|
6
7
|
import { connectionUpdate } from "../funcs/connectionUpdate.js";
|
|
7
8
|
import { connectionVerify } from "../funcs/connectionVerify.js";
|
|
@@ -22,6 +23,17 @@ export class Connection extends ClientSDK {
|
|
|
22
23
|
));
|
|
23
24
|
}
|
|
24
25
|
|
|
26
|
+
async accountV1ConnectionReconnect(
|
|
27
|
+
request: components.V1ReconnectRequestBody,
|
|
28
|
+
options?: RequestOptions,
|
|
29
|
+
): Promise<operations.AccountV1ConnectionReconnectResponse> {
|
|
30
|
+
return unwrapAsync(connectionAccountV1ConnectionReconnect(
|
|
31
|
+
this,
|
|
32
|
+
request,
|
|
33
|
+
options,
|
|
34
|
+
));
|
|
35
|
+
}
|
|
36
|
+
|
|
25
37
|
async update(
|
|
26
38
|
request: components.V1UpdateConnectionRequestBody,
|
|
27
39
|
options?: RequestOptions,
|
package/src/sdk/connections.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
10
10
|
|
|
11
11
|
export class Connections extends ClientSDK {
|
|
12
12
|
async connect(
|
|
13
|
-
request: components.
|
|
13
|
+
request: components.V1ConnectRequestBody,
|
|
14
14
|
options?: RequestOptions,
|
|
15
15
|
): Promise<operations.AccountV1ConnectionConnectResponse> {
|
|
16
16
|
return unwrapAsync(connectionsConnect(
|