@steamsets/client-ts 0.14.29 → 0.15.0
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/FUNCTIONS.md +4 -4
- package/README.md +77 -30
- package/docs/sdks/account/README.md +204 -121
- package/docs/sdks/internal/README.md +166 -83
- package/docs/sdks/settings/README.md +132 -49
- package/docs/sdks/steamsets/README.md +78 -0
- package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts +10 -0
- package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts.map +1 -0
- package/funcs/{settingsSendEmailVerification.js → accountAccountV1SettingsEmailSendVerification.js} +7 -7
- package/funcs/accountAccountV1SettingsEmailSendVerification.js.map +1 -0
- package/funcs/{accountSendEmailVerification.d.ts → accountAccountV1SettingsEmailSubscribe.d.ts} +2 -2
- package/funcs/accountAccountV1SettingsEmailSubscribe.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsEmailSubscribe.js +113 -0
- package/funcs/accountAccountV1SettingsEmailSubscribe.js.map +1 -0
- package/funcs/{accountVerifyEmail.d.ts → accountAccountV1SettingsEmailVerify.d.ts} +2 -2
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts.map +1 -0
- package/funcs/{accountVerifyEmail.js → accountAccountV1SettingsEmailVerify.js} +6 -6
- package/funcs/accountAccountV1SettingsEmailVerify.js.map +1 -0
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts +10 -0
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts.map +1 -0
- package/funcs/{internalSendEmailVerification.js → internalAccountV1SettingsEmailSendVerification.js} +7 -7
- package/funcs/internalAccountV1SettingsEmailSendVerification.js.map +1 -0
- package/funcs/{internalSendEmailVerification.d.ts → internalAccountV1SettingsEmailSubscribe.d.ts} +2 -2
- package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts.map +1 -0
- package/funcs/internalAccountV1SettingsEmailSubscribe.js +113 -0
- package/funcs/internalAccountV1SettingsEmailSubscribe.js.map +1 -0
- package/funcs/{internalVerifyEmail.d.ts → internalAccountV1SettingsEmailVerify.d.ts} +2 -2
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts.map +1 -0
- package/funcs/{settingsVerifyEmail.js → internalAccountV1SettingsEmailVerify.js} +6 -6
- package/funcs/internalAccountV1SettingsEmailVerify.js.map +1 -0
- package/funcs/{settingsVerifyEmail.d.ts → resendWebhook.d.ts} +2 -4
- package/funcs/resendWebhook.d.ts.map +1 -0
- package/funcs/resendWebhook.js +114 -0
- package/funcs/resendWebhook.js.map +1 -0
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts +10 -0
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts.map +1 -0
- package/funcs/{accountSendEmailVerification.js → settingsAccountV1SettingsEmailSendVerification.js} +7 -7
- package/funcs/settingsAccountV1SettingsEmailSendVerification.js.map +1 -0
- package/funcs/{settingsSendEmailVerification.d.ts → settingsAccountV1SettingsEmailSubscribe.d.ts} +2 -2
- package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js +113 -0
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js.map +1 -0
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts +11 -0
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts.map +1 -0
- package/funcs/{internalVerifyEmail.js → settingsAccountV1SettingsEmailVerify.js} +6 -6
- package/funcs/settingsAccountV1SettingsEmailVerify.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/errormodel.d.ts +63 -0
- package/models/components/errormodel.d.ts.map +1 -0
- package/models/components/errormodel.js +81 -0
- package/models/components/errormodel.js.map +1 -0
- 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/v1accountinforesponsebody.d.ts +3 -0
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountinforesponsebody.js +1 -0
- package/models/components/v1accountinforesponsebody.js.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.d.ts +37 -0
- package/models/components/v1emailsubscriptionrequestbody.d.ts.map +1 -0
- package/models/components/v1emailsubscriptionrequestbody.js +61 -0
- package/models/components/v1emailsubscriptionrequestbody.js.map +1 -0
- package/models/components/v1getsettingsbody.d.ts +5 -0
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +2 -0
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/operations/accountv1settingsemailsendverification.d.ts +61 -0
- package/models/operations/{accountv1settingssendemailverification.d.ts.map → accountv1settingsemailsendverification.d.ts.map} +1 -1
- package/models/operations/accountv1settingsemailsendverification.js +108 -0
- package/models/operations/{accountv1settingssendemailverification.js.map → accountv1settingsemailsendverification.js.map} +1 -1
- package/models/operations/accountv1settingsemailsubscribe.d.ts +63 -0
- package/models/operations/accountv1settingsemailsubscribe.d.ts.map +1 -0
- package/models/operations/accountv1settingsemailsubscribe.js +112 -0
- package/models/operations/accountv1settingsemailsubscribe.js.map +1 -0
- package/models/operations/accountv1settingsemailverify.d.ts +36 -0
- package/models/operations/accountv1settingsemailverify.d.ts.map +1 -0
- package/models/operations/{accountv1settingsverfyemail.js → accountv1settingsemailverify.js} +17 -17
- package/models/operations/accountv1settingsemailverify.js.map +1 -0
- package/models/operations/index.d.ts +4 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/resendwebhook.d.ts +66 -0
- package/models/operations/resendwebhook.d.ts.map +1 -0
- package/models/operations/resendwebhook.js +130 -0
- package/models/operations/resendwebhook.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +3 -2
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +12 -8
- package/sdk/account.js.map +1 -1
- package/sdk/internal.d.ts +3 -2
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +12 -8
- package/sdk/internal.js.map +1 -1
- package/sdk/sdk.d.ts +5 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +3 -2
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +12 -8
- package/sdk/settings.js.map +1 -1
- package/src/funcs/{internalSendEmailVerification.ts → accountAccountV1SettingsEmailSendVerification.ts} +8 -8
- package/src/funcs/accountAccountV1SettingsEmailSubscribe.ts +160 -0
- package/src/funcs/{settingsVerifyEmail.ts → accountAccountV1SettingsEmailVerify.ts} +6 -6
- package/src/funcs/{accountSendEmailVerification.ts → internalAccountV1SettingsEmailSendVerification.ts} +8 -8
- package/src/funcs/internalAccountV1SettingsEmailSubscribe.ts +160 -0
- package/src/funcs/{internalVerifyEmail.ts → internalAccountV1SettingsEmailVerify.ts} +6 -6
- package/src/funcs/resendWebhook.ts +153 -0
- package/src/funcs/{settingsSendEmailVerification.ts → settingsAccountV1SettingsEmailSendVerification.ts} +8 -8
- package/src/funcs/settingsAccountV1SettingsEmailSubscribe.ts +160 -0
- package/src/funcs/{accountVerifyEmail.ts → settingsAccountV1SettingsEmailVerify.ts} +6 -6
- package/src/lib/config.ts +2 -2
- package/src/models/components/errormodel.ts +122 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/v1accountinforesponsebody.ts +1 -0
- package/src/models/components/v1emailsubscriptionrequestbody.ts +78 -0
- package/src/models/components/v1getsettingsbody.ts +7 -0
- package/src/models/operations/{accountv1settingssendemailverification.ts → accountv1settingsemailsendverification.ts} +46 -46
- package/src/models/operations/accountv1settingsemailsubscribe.ts +174 -0
- package/src/models/operations/{accountv1settingsverfyemail.ts → accountv1settingsemailverify.ts} +22 -22
- package/src/models/operations/index.ts +4 -2
- package/src/models/operations/resendwebhook.ts +179 -0
- package/src/sdk/account.ts +36 -24
- package/src/sdk/internal.ts +36 -24
- package/src/sdk/sdk.ts +20 -6
- package/src/sdk/settings.ts +32 -20
- package/funcs/accountSendEmailVerification.d.ts.map +0 -1
- package/funcs/accountSendEmailVerification.js.map +0 -1
- package/funcs/accountVerifyEmail.d.ts.map +0 -1
- package/funcs/accountVerifyEmail.js.map +0 -1
- package/funcs/internalSendEmailVerification.d.ts.map +0 -1
- package/funcs/internalSendEmailVerification.js.map +0 -1
- package/funcs/internalVerifyEmail.d.ts.map +0 -1
- package/funcs/internalVerifyEmail.js.map +0 -1
- package/funcs/settingsSendEmailVerification.d.ts.map +0 -1
- package/funcs/settingsSendEmailVerification.js.map +0 -1
- package/funcs/settingsVerifyEmail.d.ts.map +0 -1
- package/funcs/settingsVerifyEmail.js.map +0 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +0 -61
- package/models/operations/accountv1settingssendemailverification.js +0 -108
- package/models/operations/accountv1settingsverfyemail.d.ts +0 -36
- package/models/operations/accountv1settingsverfyemail.d.ts.map +0 -1
- package/models/operations/accountv1settingsverfyemail.js.map +0 -1
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
+
* [accountV1SettingsEmailSendVerification](#accountv1settingsemailsendverification)
|
|
9
|
+
* [accountV1SettingsEmailSubscribe](#accountv1settingsemailsubscribe)
|
|
10
|
+
* [accountV1SettingsEmailVerify](#accountv1settingsemailverify)
|
|
8
11
|
* [get](#get)
|
|
9
|
-
* [sendEmailVerification](#sendemailverification)
|
|
10
12
|
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
11
13
|
* [update](#update)
|
|
12
|
-
* [verifyEmail](#verifyemail)
|
|
13
14
|
|
|
14
|
-
##
|
|
15
|
+
## accountV1SettingsEmailSendVerification
|
|
15
16
|
|
|
16
17
|
### Example Usage
|
|
17
18
|
|
|
@@ -23,7 +24,7 @@ const steamSets = new SteamSets({
|
|
|
23
24
|
});
|
|
24
25
|
|
|
25
26
|
async function run() {
|
|
26
|
-
const result = await steamSets.settings.
|
|
27
|
+
const result = await steamSets.settings.accountV1SettingsEmailSendVerification({});
|
|
27
28
|
|
|
28
29
|
// Handle the result
|
|
29
30
|
console.log(result);
|
|
@@ -38,7 +39,7 @@ The standalone function version of this method:
|
|
|
38
39
|
|
|
39
40
|
```typescript
|
|
40
41
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
41
|
-
import {
|
|
42
|
+
import { settingsAccountV1SettingsEmailSendVerification } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsEmailSendVerification.js";
|
|
42
43
|
|
|
43
44
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
44
45
|
// You can create one instance of it to use across an application.
|
|
@@ -47,7 +48,7 @@ const steamSets = new SteamSetsCore({
|
|
|
47
48
|
});
|
|
48
49
|
|
|
49
50
|
async function run() {
|
|
50
|
-
const res = await
|
|
51
|
+
const res = await settingsAccountV1SettingsEmailSendVerification(steamSets, {});
|
|
51
52
|
|
|
52
53
|
if (!res.ok) {
|
|
53
54
|
throw res.error;
|
|
@@ -66,22 +67,106 @@ run();
|
|
|
66
67
|
|
|
67
68
|
| Parameter | Type | Required | Description |
|
|
68
69
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
70
|
+
| `request` | [operations.AccountV1SettingsEmailSendVerificationRequest](../../models/operations/accountv1settingsemailsendverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
69
71
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
70
72
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
71
73
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
72
74
|
|
|
73
75
|
### Response
|
|
74
76
|
|
|
75
|
-
**Promise\<[operations.
|
|
77
|
+
**Promise\<[operations.AccountV1SettingsEmailSendVerificationResponse](../../models/operations/accountv1settingsemailsendverificationresponse.md)\>**
|
|
78
|
+
|
|
79
|
+
### Errors
|
|
80
|
+
|
|
81
|
+
| Error Type | Status Code | Content Type |
|
|
82
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
83
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
84
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
85
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
86
|
+
|
|
87
|
+
## accountV1SettingsEmailSubscribe
|
|
88
|
+
|
|
89
|
+
### Example Usage
|
|
90
|
+
|
|
91
|
+
```typescript
|
|
92
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
93
|
+
|
|
94
|
+
const steamSets = new SteamSets({
|
|
95
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
async function run() {
|
|
99
|
+
const result = await steamSets.settings.accountV1SettingsEmailSubscribe({
|
|
100
|
+
v1EmailSubscriptionRequestBody: {
|
|
101
|
+
email: "steamsets@example.com",
|
|
102
|
+
subscribed: true,
|
|
103
|
+
},
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
// Handle the result
|
|
107
|
+
console.log(result);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
run();
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Standalone function
|
|
114
|
+
|
|
115
|
+
The standalone function version of this method:
|
|
116
|
+
|
|
117
|
+
```typescript
|
|
118
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
119
|
+
import { settingsAccountV1SettingsEmailSubscribe } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsEmailSubscribe.js";
|
|
120
|
+
|
|
121
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
122
|
+
// You can create one instance of it to use across an application.
|
|
123
|
+
const steamSets = new SteamSetsCore({
|
|
124
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
async function run() {
|
|
128
|
+
const res = await settingsAccountV1SettingsEmailSubscribe(steamSets, {
|
|
129
|
+
v1EmailSubscriptionRequestBody: {
|
|
130
|
+
email: "steamsets@example.com",
|
|
131
|
+
subscribed: true,
|
|
132
|
+
},
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
if (!res.ok) {
|
|
136
|
+
throw res.error;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
const { value: result } = res;
|
|
140
|
+
|
|
141
|
+
// Handle the result
|
|
142
|
+
console.log(result);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
run();
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Parameters
|
|
149
|
+
|
|
150
|
+
| Parameter | Type | Required | Description |
|
|
151
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
152
|
+
| `request` | [operations.AccountV1SettingsEmailSubscribeRequest](../../models/operations/accountv1settingsemailsubscriberequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
153
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
154
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
155
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
156
|
+
|
|
157
|
+
### Response
|
|
158
|
+
|
|
159
|
+
**Promise\<[operations.AccountV1SettingsEmailSubscribeResponse](../../models/operations/accountv1settingsemailsubscriberesponse.md)\>**
|
|
76
160
|
|
|
77
161
|
### Errors
|
|
78
162
|
|
|
79
163
|
| Error Type | Status Code | Content Type |
|
|
80
164
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
165
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
81
166
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
82
167
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
83
168
|
|
|
84
|
-
##
|
|
169
|
+
## accountV1SettingsEmailVerify
|
|
85
170
|
|
|
86
171
|
### Example Usage
|
|
87
172
|
|
|
@@ -93,7 +178,9 @@ const steamSets = new SteamSets({
|
|
|
93
178
|
});
|
|
94
179
|
|
|
95
180
|
async function run() {
|
|
96
|
-
const result = await steamSets.settings.
|
|
181
|
+
const result = await steamSets.settings.accountV1SettingsEmailVerify({
|
|
182
|
+
code: "123456",
|
|
183
|
+
});
|
|
97
184
|
|
|
98
185
|
// Handle the result
|
|
99
186
|
console.log(result);
|
|
@@ -108,7 +195,7 @@ The standalone function version of this method:
|
|
|
108
195
|
|
|
109
196
|
```typescript
|
|
110
197
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
111
|
-
import {
|
|
198
|
+
import { settingsAccountV1SettingsEmailVerify } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsEmailVerify.js";
|
|
112
199
|
|
|
113
200
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
114
201
|
// You can create one instance of it to use across an application.
|
|
@@ -117,7 +204,9 @@ const steamSets = new SteamSetsCore({
|
|
|
117
204
|
});
|
|
118
205
|
|
|
119
206
|
async function run() {
|
|
120
|
-
const res = await
|
|
207
|
+
const res = await settingsAccountV1SettingsEmailVerify(steamSets, {
|
|
208
|
+
code: "123456",
|
|
209
|
+
});
|
|
121
210
|
|
|
122
211
|
if (!res.ok) {
|
|
123
212
|
throw res.error;
|
|
@@ -136,14 +225,14 @@ run();
|
|
|
136
225
|
|
|
137
226
|
| Parameter | Type | Required | Description |
|
|
138
227
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
139
|
-
| `request` | [
|
|
228
|
+
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
140
229
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
141
230
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
142
231
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
143
232
|
|
|
144
233
|
### Response
|
|
145
234
|
|
|
146
|
-
**Promise\<[operations.
|
|
235
|
+
**Promise\<[operations.AccountV1SettingsEmailVerifyResponse](../../models/operations/accountv1settingsemailverifyresponse.md)\>**
|
|
147
236
|
|
|
148
237
|
### Errors
|
|
149
238
|
|
|
@@ -153,7 +242,7 @@ run();
|
|
|
153
242
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
154
243
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
155
244
|
|
|
156
|
-
##
|
|
245
|
+
## get
|
|
157
246
|
|
|
158
247
|
### Example Usage
|
|
159
248
|
|
|
@@ -165,7 +254,7 @@ const steamSets = new SteamSets({
|
|
|
165
254
|
});
|
|
166
255
|
|
|
167
256
|
async function run() {
|
|
168
|
-
const result = await steamSets.settings.
|
|
257
|
+
const result = await steamSets.settings.get();
|
|
169
258
|
|
|
170
259
|
// Handle the result
|
|
171
260
|
console.log(result);
|
|
@@ -180,7 +269,7 @@ The standalone function version of this method:
|
|
|
180
269
|
|
|
181
270
|
```typescript
|
|
182
271
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
183
|
-
import {
|
|
272
|
+
import { settingsGet } from "@steamsets/client-ts/funcs/settingsGet.js";
|
|
184
273
|
|
|
185
274
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
186
275
|
// You can create one instance of it to use across an application.
|
|
@@ -189,7 +278,7 @@ const steamSets = new SteamSetsCore({
|
|
|
189
278
|
});
|
|
190
279
|
|
|
191
280
|
async function run() {
|
|
192
|
-
const res = await
|
|
281
|
+
const res = await settingsGet(steamSets);
|
|
193
282
|
|
|
194
283
|
if (!res.ok) {
|
|
195
284
|
throw res.error;
|
|
@@ -208,24 +297,22 @@ run();
|
|
|
208
297
|
|
|
209
298
|
| Parameter | Type | Required | Description |
|
|
210
299
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
211
|
-
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
212
300
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
213
301
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
214
302
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
215
303
|
|
|
216
304
|
### Response
|
|
217
305
|
|
|
218
|
-
**Promise\<[operations.
|
|
306
|
+
**Promise\<[operations.AccountV1SettingsGetResponse](../../models/operations/accountv1settingsgetresponse.md)\>**
|
|
219
307
|
|
|
220
308
|
### Errors
|
|
221
309
|
|
|
222
310
|
| Error Type | Status Code | Content Type |
|
|
223
311
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
224
|
-
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
225
312
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
226
313
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
227
314
|
|
|
228
|
-
##
|
|
315
|
+
## accountV1SettingsUpdateRole
|
|
229
316
|
|
|
230
317
|
### Example Usage
|
|
231
318
|
|
|
@@ -237,14 +324,7 @@ const steamSets = new SteamSets({
|
|
|
237
324
|
});
|
|
238
325
|
|
|
239
326
|
async function run() {
|
|
240
|
-
const result = await steamSets.settings.
|
|
241
|
-
v1UpdateSettingsRequestBody: {
|
|
242
|
-
email: "steamsets@example.com",
|
|
243
|
-
hidden: true,
|
|
244
|
-
language: "en",
|
|
245
|
-
vanity: "flo",
|
|
246
|
-
},
|
|
247
|
-
});
|
|
327
|
+
const result = await steamSets.settings.accountV1SettingsUpdateRole({});
|
|
248
328
|
|
|
249
329
|
// Handle the result
|
|
250
330
|
console.log(result);
|
|
@@ -259,7 +339,7 @@ The standalone function version of this method:
|
|
|
259
339
|
|
|
260
340
|
```typescript
|
|
261
341
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
262
|
-
import {
|
|
342
|
+
import { settingsAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsUpdateRole.js";
|
|
263
343
|
|
|
264
344
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
265
345
|
// You can create one instance of it to use across an application.
|
|
@@ -268,14 +348,7 @@ const steamSets = new SteamSetsCore({
|
|
|
268
348
|
});
|
|
269
349
|
|
|
270
350
|
async function run() {
|
|
271
|
-
const res = await
|
|
272
|
-
v1UpdateSettingsRequestBody: {
|
|
273
|
-
email: "steamsets@example.com",
|
|
274
|
-
hidden: true,
|
|
275
|
-
language: "en",
|
|
276
|
-
vanity: "flo",
|
|
277
|
-
},
|
|
278
|
-
});
|
|
351
|
+
const res = await settingsAccountV1SettingsUpdateRole(steamSets, {});
|
|
279
352
|
|
|
280
353
|
if (!res.ok) {
|
|
281
354
|
throw res.error;
|
|
@@ -294,14 +367,14 @@ run();
|
|
|
294
367
|
|
|
295
368
|
| Parameter | Type | Required | Description |
|
|
296
369
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
297
|
-
| `request` | [
|
|
370
|
+
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
298
371
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
299
372
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
300
373
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
301
374
|
|
|
302
375
|
### Response
|
|
303
376
|
|
|
304
|
-
**Promise\<[operations.
|
|
377
|
+
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
305
378
|
|
|
306
379
|
### Errors
|
|
307
380
|
|
|
@@ -311,7 +384,7 @@ run();
|
|
|
311
384
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
312
385
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
313
386
|
|
|
314
|
-
##
|
|
387
|
+
## update
|
|
315
388
|
|
|
316
389
|
### Example Usage
|
|
317
390
|
|
|
@@ -323,8 +396,13 @@ const steamSets = new SteamSets({
|
|
|
323
396
|
});
|
|
324
397
|
|
|
325
398
|
async function run() {
|
|
326
|
-
const result = await steamSets.settings.
|
|
327
|
-
|
|
399
|
+
const result = await steamSets.settings.update({
|
|
400
|
+
v1UpdateSettingsRequestBody: {
|
|
401
|
+
email: "steamsets@example.com",
|
|
402
|
+
hidden: true,
|
|
403
|
+
language: "en",
|
|
404
|
+
vanity: "flo",
|
|
405
|
+
},
|
|
328
406
|
});
|
|
329
407
|
|
|
330
408
|
// Handle the result
|
|
@@ -340,7 +418,7 @@ The standalone function version of this method:
|
|
|
340
418
|
|
|
341
419
|
```typescript
|
|
342
420
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
343
|
-
import {
|
|
421
|
+
import { settingsUpdate } from "@steamsets/client-ts/funcs/settingsUpdate.js";
|
|
344
422
|
|
|
345
423
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
346
424
|
// You can create one instance of it to use across an application.
|
|
@@ -349,8 +427,13 @@ const steamSets = new SteamSetsCore({
|
|
|
349
427
|
});
|
|
350
428
|
|
|
351
429
|
async function run() {
|
|
352
|
-
const res = await
|
|
353
|
-
|
|
430
|
+
const res = await settingsUpdate(steamSets, {
|
|
431
|
+
v1UpdateSettingsRequestBody: {
|
|
432
|
+
email: "steamsets@example.com",
|
|
433
|
+
hidden: true,
|
|
434
|
+
language: "en",
|
|
435
|
+
vanity: "flo",
|
|
436
|
+
},
|
|
354
437
|
});
|
|
355
438
|
|
|
356
439
|
if (!res.ok) {
|
|
@@ -370,19 +453,19 @@ run();
|
|
|
370
453
|
|
|
371
454
|
| Parameter | Type | Required | Description |
|
|
372
455
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
373
|
-
| `request` | [
|
|
456
|
+
| `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
374
457
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
375
458
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
376
459
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
377
460
|
|
|
378
461
|
### Response
|
|
379
462
|
|
|
380
|
-
**Promise\<[operations.
|
|
463
|
+
**Promise\<[operations.AccountV1SettingsUpdateResponse](../../models/operations/accountv1settingsupdateresponse.md)\>**
|
|
381
464
|
|
|
382
465
|
### Errors
|
|
383
466
|
|
|
384
467
|
| Error Type | Status Code | Content Type |
|
|
385
468
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
386
|
-
| errors.ErrorModel |
|
|
469
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
387
470
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
388
471
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -3,3 +3,81 @@
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
5
|
### Available Operations
|
|
6
|
+
|
|
7
|
+
* [resendWebhook](#resendwebhook)
|
|
8
|
+
|
|
9
|
+
## resendWebhook
|
|
10
|
+
|
|
11
|
+
### Example Usage
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
15
|
+
import { openAsBlob } from "node:fs";
|
|
16
|
+
|
|
17
|
+
const steamSets = new SteamSets({
|
|
18
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
async function run() {
|
|
22
|
+
const result = await steamSets.resendWebhook({
|
|
23
|
+
requestBody: await openAsBlob("example.file"),
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// Handle the result
|
|
27
|
+
console.log(result);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
run();
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Standalone function
|
|
34
|
+
|
|
35
|
+
The standalone function version of this method:
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
39
|
+
import { resendWebhook } from "@steamsets/client-ts/funcs/resendWebhook.js";
|
|
40
|
+
import { openAsBlob } from "node:fs";
|
|
41
|
+
|
|
42
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
43
|
+
// You can create one instance of it to use across an application.
|
|
44
|
+
const steamSets = new SteamSetsCore({
|
|
45
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
async function run() {
|
|
49
|
+
const res = await resendWebhook(steamSets, {
|
|
50
|
+
requestBody: await openAsBlob("example.file"),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
if (!res.ok) {
|
|
54
|
+
throw res.error;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const { value: result } = res;
|
|
58
|
+
|
|
59
|
+
// Handle the result
|
|
60
|
+
console.log(result);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
run();
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Parameters
|
|
67
|
+
|
|
68
|
+
| Parameter | Type | Required | Description |
|
|
69
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
70
|
+
| `request` | [operations.ResendWebhookRequest](../../models/operations/resendwebhookrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
71
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
72
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
73
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
74
|
+
|
|
75
|
+
### Response
|
|
76
|
+
|
|
77
|
+
**Promise\<[operations.ResendWebhookResponse](../../models/operations/resendwebhookresponse.md)\>**
|
|
78
|
+
|
|
79
|
+
### Errors
|
|
80
|
+
|
|
81
|
+
| Error Type | Status Code | Content Type |
|
|
82
|
+
| --------------- | --------------- | --------------- |
|
|
83
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SteamSetsCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { Result } from "../types/fp.js";
|
|
9
|
+
export declare function accountAccountV1SettingsEmailSendVerification(client: SteamSetsCore, request: operations.AccountV1SettingsEmailSendVerificationRequest, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsEmailSendVerificationResponse, errors.ErrorModel | errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
10
|
+
//# sourceMappingURL=accountAccountV1SettingsEmailSendVerification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1SettingsEmailSendVerification.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsEmailSendVerification.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,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,6CAA6C,CACjE,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,6CAA6C,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,8CAA8C,EACvD,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAiHA"}
|
package/funcs/{settingsSendEmailVerification.js → accountAccountV1SettingsEmailSendVerification.js}
RENAMED
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.accountAccountV1SettingsEmailSendVerification = accountAccountV1SettingsEmailSendVerification;
|
|
30
30
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
31
|
const M = __importStar(require("../lib/matchers.js"));
|
|
32
32
|
const primitives_js_1 = require("../lib/primitives.js");
|
|
@@ -35,15 +35,15 @@ const security_js_1 = require("../lib/security.js");
|
|
|
35
35
|
const url_js_1 = require("../lib/url.js");
|
|
36
36
|
const errors = __importStar(require("../models/errors/index.js"));
|
|
37
37
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
38
|
-
async function
|
|
39
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.
|
|
38
|
+
async function accountAccountV1SettingsEmailSendVerification(client, request, options) {
|
|
39
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.AccountV1SettingsEmailSendVerificationRequest$outboundSchema
|
|
40
40
|
.parse(value), "Input validation failed");
|
|
41
41
|
if (!parsed.ok) {
|
|
42
42
|
return parsed;
|
|
43
43
|
}
|
|
44
44
|
const payload = parsed.value;
|
|
45
45
|
const body = null;
|
|
46
|
-
const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/
|
|
46
|
+
const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/EmailSendVerification")();
|
|
47
47
|
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
48
48
|
Accept: "application/problem+json",
|
|
49
49
|
"X-Forwarded-For": (0, encodings_js_1.encodeSimple)("X-Forwarded-For", payload["X-Forwarded-For"], { explode: false, charEncoding: "none" }),
|
|
@@ -52,7 +52,7 @@ async function settingsSendEmailVerification(client, request, options) {
|
|
|
52
52
|
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
53
53
|
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
54
54
|
const context = {
|
|
55
|
-
operationID: "account.v1.settings.send-
|
|
55
|
+
operationID: "account.v1.settings.email-send-verification",
|
|
56
56
|
oAuth2Scopes: [],
|
|
57
57
|
resolvedSecurity: requestSecurity,
|
|
58
58
|
securitySource: client._options.token,
|
|
@@ -98,7 +98,7 @@ async function settingsSendEmailVerification(client, request, options) {
|
|
|
98
98
|
const responseFields = {
|
|
99
99
|
HttpMeta: { Response: response, Request: req },
|
|
100
100
|
};
|
|
101
|
-
const [result] = await M.match(M.nil(204, operations.
|
|
101
|
+
const [result] = await M.match(M.nil(204, operations.AccountV1SettingsEmailSendVerificationResponse$inboundSchema, { hdrs: true }), M.jsonErr([404, 422, 429], errors.ErrorModel$inboundSchema, {
|
|
102
102
|
ctype: "application/problem+json",
|
|
103
103
|
}), M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
104
104
|
ctype: "application/problem+json",
|
|
@@ -108,4 +108,4 @@ async function settingsSendEmailVerification(client, request, options) {
|
|
|
108
108
|
}
|
|
109
109
|
return result;
|
|
110
110
|
}
|
|
111
|
-
//# sourceMappingURL=
|
|
111
|
+
//# sourceMappingURL=accountAccountV1SettingsEmailSendVerification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1SettingsEmailSendVerification.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsEmailSendVerification.ts"],"names":[],"mappings":"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"}
|
package/funcs/{accountSendEmailVerification.d.ts → accountAccountV1SettingsEmailSubscribe.d.ts}
RENAMED
|
@@ -6,5 +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
|
-
export declare function
|
|
10
|
-
//# sourceMappingURL=
|
|
9
|
+
export declare function accountAccountV1SettingsEmailSubscribe(client: SteamSetsCore, request: operations.AccountV1SettingsEmailSubscribeRequest, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsEmailSubscribeResponse, errors.ErrorModel | errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
10
|
+
//# sourceMappingURL=accountAccountV1SettingsEmailSubscribe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1SettingsEmailSubscribe.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsEmailSubscribe.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,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,sCAAsC,CAC1D,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,uCAAuC,EAChD,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAqHA"}
|