@steamsets/client-ts 0.14.28 → 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 +83 -30
- package/docs/sdks/account/README.md +254 -98
- package/docs/sdks/internal/README.md +224 -68
- package/docs/sdks/settings/README.md +197 -41
- 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/accountAccountV1SettingsEmailVerify.d.ts +11 -0
- 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/{accountVerifyEmail.d.ts → accountAccountV1SettingsUpdateRole.d.ts} +2 -2
- package/funcs/accountAccountV1SettingsUpdateRole.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsUpdateRole.js +113 -0
- package/funcs/accountAccountV1SettingsUpdateRole.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/internalAccountV1SettingsEmailVerify.d.ts +11 -0
- 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/{internalVerifyEmail.d.ts → internalAccountV1SettingsUpdateRole.d.ts} +2 -2
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts.map +1 -0
- package/funcs/internalAccountV1SettingsUpdateRole.js +113 -0
- package/funcs/internalAccountV1SettingsUpdateRole.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/funcs/settingsAccountV1SettingsUpdateRole.d.ts +11 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.js +113 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.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 +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1accountinforesponsebody.d.ts +8 -0
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountinforesponsebody.js +3 -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/components/v1updaterolerequestbody.d.ts +76 -0
- package/models/components/v1updaterolerequestbody.d.ts.map +1 -0
- package/models/components/v1updaterolerequestbody.js +85 -0
- package/models/components/v1updaterolerequestbody.js.map +1 -0
- package/models/components/v1updatesettingsrequestbody.d.ts +0 -49
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +1 -29
- package/models/components/v1updatesettingsrequestbody.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/accountv1settingsemailverify.js +73 -0
- package/models/operations/accountv1settingsemailverify.js.map +1 -0
- package/models/operations/accountv1settingsupdaterole.d.ts +36 -0
- package/models/operations/{accountv1settingsverfyemail.d.ts.map → accountv1settingsupdaterole.d.ts.map} +1 -1
- package/models/operations/{accountv1settingsverfyemail.js → accountv1settingsupdaterole.js} +17 -17
- package/models/operations/{accountv1settingsverfyemail.js.map → accountv1settingsupdaterole.js.map} +1 -1
- package/models/operations/index.d.ts +5 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -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 +4 -2
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +16 -8
- package/sdk/account.js.map +1 -1
- package/sdk/internal.d.ts +4 -2
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +16 -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 +4 -2
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +15 -7
- 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/accountAccountV1SettingsUpdateRole.ts +149 -0
- 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/internalAccountV1SettingsUpdateRole.ts +149 -0
- 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/funcs/settingsAccountV1SettingsUpdateRole.ts +149 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/errormodel.ts +122 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/v1accountinforesponsebody.ts +10 -0
- package/src/models/components/v1emailsubscriptionrequestbody.ts +78 -0
- package/src/models/components/v1getsettingsbody.ts +7 -0
- package/src/models/components/v1updaterolerequestbody.ts +109 -0
- package/src/models/components/v1updatesettingsrequestbody.ts +0 -47
- package/src/models/operations/{accountv1settingssendemailverification.ts → accountv1settingsemailsendverification.ts} +46 -46
- package/src/models/operations/accountv1settingsemailsubscribe.ts +174 -0
- package/src/models/operations/accountv1settingsemailverify.ts +87 -0
- package/src/models/operations/{accountv1settingsverfyemail.ts → accountv1settingsupdaterole.ts} +22 -22
- package/src/models/operations/index.ts +5 -2
- package/src/models/operations/resendwebhook.ts +179 -0
- package/src/sdk/account.ts +45 -21
- package/src/sdk/internal.ts +45 -21
- package/src/sdk/sdk.ts +20 -6
- package/src/sdk/settings.ts +41 -17
- 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
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
+
* [accountV1SettingsEmailSendVerification](#accountv1settingsemailsendverification)
|
|
9
|
+
* [accountV1SettingsEmailSubscribe](#accountv1settingsemailsubscribe)
|
|
10
|
+
* [accountV1SettingsEmailVerify](#accountv1settingsemailverify)
|
|
8
11
|
* [get](#get)
|
|
9
|
-
* [
|
|
12
|
+
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
10
13
|
* [update](#update)
|
|
11
|
-
* [verifyEmail](#verifyemail)
|
|
12
14
|
|
|
13
|
-
##
|
|
15
|
+
## accountV1SettingsEmailSendVerification
|
|
14
16
|
|
|
15
17
|
### Example Usage
|
|
16
18
|
|
|
@@ -22,7 +24,7 @@ const steamSets = new SteamSets({
|
|
|
22
24
|
});
|
|
23
25
|
|
|
24
26
|
async function run() {
|
|
25
|
-
const result = await steamSets.settings.
|
|
27
|
+
const result = await steamSets.settings.accountV1SettingsEmailSendVerification({});
|
|
26
28
|
|
|
27
29
|
// Handle the result
|
|
28
30
|
console.log(result);
|
|
@@ -37,7 +39,7 @@ The standalone function version of this method:
|
|
|
37
39
|
|
|
38
40
|
```typescript
|
|
39
41
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
40
|
-
import {
|
|
42
|
+
import { settingsAccountV1SettingsEmailSendVerification } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsEmailSendVerification.js";
|
|
41
43
|
|
|
42
44
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
43
45
|
// You can create one instance of it to use across an application.
|
|
@@ -46,7 +48,7 @@ const steamSets = new SteamSetsCore({
|
|
|
46
48
|
});
|
|
47
49
|
|
|
48
50
|
async function run() {
|
|
49
|
-
const res = await
|
|
51
|
+
const res = await settingsAccountV1SettingsEmailSendVerification(steamSets, {});
|
|
50
52
|
|
|
51
53
|
if (!res.ok) {
|
|
52
54
|
throw res.error;
|
|
@@ -65,22 +67,24 @@ run();
|
|
|
65
67
|
|
|
66
68
|
| Parameter | Type | Required | Description |
|
|
67
69
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
70
|
+
| `request` | [operations.AccountV1SettingsEmailSendVerificationRequest](../../models/operations/accountv1settingsemailsendverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
68
71
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
69
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. |
|
|
70
73
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
71
74
|
|
|
72
75
|
### Response
|
|
73
76
|
|
|
74
|
-
**Promise\<[operations.
|
|
77
|
+
**Promise\<[operations.AccountV1SettingsEmailSendVerificationResponse](../../models/operations/accountv1settingsemailsendverificationresponse.md)\>**
|
|
75
78
|
|
|
76
79
|
### Errors
|
|
77
80
|
|
|
78
81
|
| Error Type | Status Code | Content Type |
|
|
79
82
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
83
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
80
84
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
81
85
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
82
86
|
|
|
83
|
-
##
|
|
87
|
+
## accountV1SettingsEmailSubscribe
|
|
84
88
|
|
|
85
89
|
### Example Usage
|
|
86
90
|
|
|
@@ -92,7 +96,12 @@ const steamSets = new SteamSets({
|
|
|
92
96
|
});
|
|
93
97
|
|
|
94
98
|
async function run() {
|
|
95
|
-
const result = await steamSets.settings.
|
|
99
|
+
const result = await steamSets.settings.accountV1SettingsEmailSubscribe({
|
|
100
|
+
v1EmailSubscriptionRequestBody: {
|
|
101
|
+
email: "steamsets@example.com",
|
|
102
|
+
subscribed: true,
|
|
103
|
+
},
|
|
104
|
+
});
|
|
96
105
|
|
|
97
106
|
// Handle the result
|
|
98
107
|
console.log(result);
|
|
@@ -107,7 +116,7 @@ The standalone function version of this method:
|
|
|
107
116
|
|
|
108
117
|
```typescript
|
|
109
118
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
110
|
-
import {
|
|
119
|
+
import { settingsAccountV1SettingsEmailSubscribe } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsEmailSubscribe.js";
|
|
111
120
|
|
|
112
121
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
113
122
|
// You can create one instance of it to use across an application.
|
|
@@ -116,7 +125,12 @@ const steamSets = new SteamSetsCore({
|
|
|
116
125
|
});
|
|
117
126
|
|
|
118
127
|
async function run() {
|
|
119
|
-
const res = await
|
|
128
|
+
const res = await settingsAccountV1SettingsEmailSubscribe(steamSets, {
|
|
129
|
+
v1EmailSubscriptionRequestBody: {
|
|
130
|
+
email: "steamsets@example.com",
|
|
131
|
+
subscribed: true,
|
|
132
|
+
},
|
|
133
|
+
});
|
|
120
134
|
|
|
121
135
|
if (!res.ok) {
|
|
122
136
|
throw res.error;
|
|
@@ -135,24 +149,24 @@ run();
|
|
|
135
149
|
|
|
136
150
|
| Parameter | Type | Required | Description |
|
|
137
151
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
138
|
-
| `request` | [operations.
|
|
152
|
+
| `request` | [operations.AccountV1SettingsEmailSubscribeRequest](../../models/operations/accountv1settingsemailsubscriberequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
139
153
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
140
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. |
|
|
141
155
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
142
156
|
|
|
143
157
|
### Response
|
|
144
158
|
|
|
145
|
-
**Promise\<[operations.
|
|
159
|
+
**Promise\<[operations.AccountV1SettingsEmailSubscribeResponse](../../models/operations/accountv1settingsemailsubscriberesponse.md)\>**
|
|
146
160
|
|
|
147
161
|
### Errors
|
|
148
162
|
|
|
149
163
|
| Error Type | Status Code | Content Type |
|
|
150
164
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
151
|
-
| errors.ErrorModel |
|
|
165
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
152
166
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
153
167
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
154
168
|
|
|
155
|
-
##
|
|
169
|
+
## accountV1SettingsEmailVerify
|
|
156
170
|
|
|
157
171
|
### Example Usage
|
|
158
172
|
|
|
@@ -164,13 +178,8 @@ const steamSets = new SteamSets({
|
|
|
164
178
|
});
|
|
165
179
|
|
|
166
180
|
async function run() {
|
|
167
|
-
const result = await steamSets.settings.
|
|
168
|
-
|
|
169
|
-
email: "steamsets@example.com",
|
|
170
|
-
hidden: true,
|
|
171
|
-
language: "en",
|
|
172
|
-
vanity: "flo",
|
|
173
|
-
},
|
|
181
|
+
const result = await steamSets.settings.accountV1SettingsEmailVerify({
|
|
182
|
+
code: "123456",
|
|
174
183
|
});
|
|
175
184
|
|
|
176
185
|
// Handle the result
|
|
@@ -186,7 +195,7 @@ The standalone function version of this method:
|
|
|
186
195
|
|
|
187
196
|
```typescript
|
|
188
197
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
189
|
-
import {
|
|
198
|
+
import { settingsAccountV1SettingsEmailVerify } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsEmailVerify.js";
|
|
190
199
|
|
|
191
200
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
192
201
|
// You can create one instance of it to use across an application.
|
|
@@ -195,13 +204,8 @@ const steamSets = new SteamSetsCore({
|
|
|
195
204
|
});
|
|
196
205
|
|
|
197
206
|
async function run() {
|
|
198
|
-
const res = await
|
|
199
|
-
|
|
200
|
-
email: "steamsets@example.com",
|
|
201
|
-
hidden: true,
|
|
202
|
-
language: "en",
|
|
203
|
-
vanity: "flo",
|
|
204
|
-
},
|
|
207
|
+
const res = await settingsAccountV1SettingsEmailVerify(steamSets, {
|
|
208
|
+
code: "123456",
|
|
205
209
|
});
|
|
206
210
|
|
|
207
211
|
if (!res.ok) {
|
|
@@ -221,14 +225,156 @@ run();
|
|
|
221
225
|
|
|
222
226
|
| Parameter | Type | Required | Description |
|
|
223
227
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
224
|
-
| `request` | [
|
|
228
|
+
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
225
229
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
226
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. |
|
|
227
231
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
228
232
|
|
|
229
233
|
### Response
|
|
230
234
|
|
|
231
|
-
**Promise\<[operations.
|
|
235
|
+
**Promise\<[operations.AccountV1SettingsEmailVerifyResponse](../../models/operations/accountv1settingsemailverifyresponse.md)\>**
|
|
236
|
+
|
|
237
|
+
### Errors
|
|
238
|
+
|
|
239
|
+
| Error Type | Status Code | Content Type |
|
|
240
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
241
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
242
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
243
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
244
|
+
|
|
245
|
+
## get
|
|
246
|
+
|
|
247
|
+
### Example Usage
|
|
248
|
+
|
|
249
|
+
```typescript
|
|
250
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
251
|
+
|
|
252
|
+
const steamSets = new SteamSets({
|
|
253
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
async function run() {
|
|
257
|
+
const result = await steamSets.settings.get();
|
|
258
|
+
|
|
259
|
+
// Handle the result
|
|
260
|
+
console.log(result);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
run();
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Standalone function
|
|
267
|
+
|
|
268
|
+
The standalone function version of this method:
|
|
269
|
+
|
|
270
|
+
```typescript
|
|
271
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
272
|
+
import { settingsGet } from "@steamsets/client-ts/funcs/settingsGet.js";
|
|
273
|
+
|
|
274
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
275
|
+
// You can create one instance of it to use across an application.
|
|
276
|
+
const steamSets = new SteamSetsCore({
|
|
277
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
278
|
+
});
|
|
279
|
+
|
|
280
|
+
async function run() {
|
|
281
|
+
const res = await settingsGet(steamSets);
|
|
282
|
+
|
|
283
|
+
if (!res.ok) {
|
|
284
|
+
throw res.error;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
const { value: result } = res;
|
|
288
|
+
|
|
289
|
+
// Handle the result
|
|
290
|
+
console.log(result);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
run();
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Parameters
|
|
297
|
+
|
|
298
|
+
| Parameter | Type | Required | Description |
|
|
299
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
300
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
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. |
|
|
302
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
303
|
+
|
|
304
|
+
### Response
|
|
305
|
+
|
|
306
|
+
**Promise\<[operations.AccountV1SettingsGetResponse](../../models/operations/accountv1settingsgetresponse.md)\>**
|
|
307
|
+
|
|
308
|
+
### Errors
|
|
309
|
+
|
|
310
|
+
| Error Type | Status Code | Content Type |
|
|
311
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
312
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
313
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
314
|
+
|
|
315
|
+
## accountV1SettingsUpdateRole
|
|
316
|
+
|
|
317
|
+
### Example Usage
|
|
318
|
+
|
|
319
|
+
```typescript
|
|
320
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
321
|
+
|
|
322
|
+
const steamSets = new SteamSets({
|
|
323
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
async function run() {
|
|
327
|
+
const result = await steamSets.settings.accountV1SettingsUpdateRole({});
|
|
328
|
+
|
|
329
|
+
// Handle the result
|
|
330
|
+
console.log(result);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
run();
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
### Standalone function
|
|
337
|
+
|
|
338
|
+
The standalone function version of this method:
|
|
339
|
+
|
|
340
|
+
```typescript
|
|
341
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
342
|
+
import { settingsAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsUpdateRole.js";
|
|
343
|
+
|
|
344
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
345
|
+
// You can create one instance of it to use across an application.
|
|
346
|
+
const steamSets = new SteamSetsCore({
|
|
347
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
348
|
+
});
|
|
349
|
+
|
|
350
|
+
async function run() {
|
|
351
|
+
const res = await settingsAccountV1SettingsUpdateRole(steamSets, {});
|
|
352
|
+
|
|
353
|
+
if (!res.ok) {
|
|
354
|
+
throw res.error;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
const { value: result } = res;
|
|
358
|
+
|
|
359
|
+
// Handle the result
|
|
360
|
+
console.log(result);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
run();
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
### Parameters
|
|
367
|
+
|
|
368
|
+
| Parameter | Type | Required | Description |
|
|
369
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
370
|
+
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
371
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
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. |
|
|
373
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
374
|
+
|
|
375
|
+
### Response
|
|
376
|
+
|
|
377
|
+
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
232
378
|
|
|
233
379
|
### Errors
|
|
234
380
|
|
|
@@ -238,7 +384,7 @@ run();
|
|
|
238
384
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
239
385
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
240
386
|
|
|
241
|
-
##
|
|
387
|
+
## update
|
|
242
388
|
|
|
243
389
|
### Example Usage
|
|
244
390
|
|
|
@@ -250,8 +396,13 @@ const steamSets = new SteamSets({
|
|
|
250
396
|
});
|
|
251
397
|
|
|
252
398
|
async function run() {
|
|
253
|
-
const result = await steamSets.settings.
|
|
254
|
-
|
|
399
|
+
const result = await steamSets.settings.update({
|
|
400
|
+
v1UpdateSettingsRequestBody: {
|
|
401
|
+
email: "steamsets@example.com",
|
|
402
|
+
hidden: true,
|
|
403
|
+
language: "en",
|
|
404
|
+
vanity: "flo",
|
|
405
|
+
},
|
|
255
406
|
});
|
|
256
407
|
|
|
257
408
|
// Handle the result
|
|
@@ -267,7 +418,7 @@ The standalone function version of this method:
|
|
|
267
418
|
|
|
268
419
|
```typescript
|
|
269
420
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
270
|
-
import {
|
|
421
|
+
import { settingsUpdate } from "@steamsets/client-ts/funcs/settingsUpdate.js";
|
|
271
422
|
|
|
272
423
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
273
424
|
// You can create one instance of it to use across an application.
|
|
@@ -276,8 +427,13 @@ const steamSets = new SteamSetsCore({
|
|
|
276
427
|
});
|
|
277
428
|
|
|
278
429
|
async function run() {
|
|
279
|
-
const res = await
|
|
280
|
-
|
|
430
|
+
const res = await settingsUpdate(steamSets, {
|
|
431
|
+
v1UpdateSettingsRequestBody: {
|
|
432
|
+
email: "steamsets@example.com",
|
|
433
|
+
hidden: true,
|
|
434
|
+
language: "en",
|
|
435
|
+
vanity: "flo",
|
|
436
|
+
},
|
|
281
437
|
});
|
|
282
438
|
|
|
283
439
|
if (!res.ok) {
|
|
@@ -297,19 +453,19 @@ run();
|
|
|
297
453
|
|
|
298
454
|
| Parameter | Type | Required | Description |
|
|
299
455
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
300
|
-
| `request` | [
|
|
456
|
+
| `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
301
457
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
302
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. |
|
|
303
459
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
304
460
|
|
|
305
461
|
### Response
|
|
306
462
|
|
|
307
|
-
**Promise\<[operations.
|
|
463
|
+
**Promise\<[operations.AccountV1SettingsUpdateResponse](../../models/operations/accountv1settingsupdateresponse.md)\>**
|
|
308
464
|
|
|
309
465
|
### Errors
|
|
310
466
|
|
|
311
467
|
| Error Type | Status Code | Content Type |
|
|
312
468
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
313
|
-
| errors.ErrorModel |
|
|
469
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
314
470
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
315
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"}
|