@dynamic-labs/sdk-api 0.0.215 → 0.0.217
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/package.json +1 -1
- package/src/apis/AllowlistsApi.cjs +40 -0
- package/src/apis/AllowlistsApi.d.ts +12 -0
- package/src/apis/AllowlistsApi.js +40 -0
- package/src/apis/AnalyticsApi.cjs +1 -1
- package/src/apis/AnalyticsApi.js +1 -1
- package/src/apis/ChainalysisApi.cjs +1 -1
- package/src/apis/ChainalysisApi.js +1 -1
- package/src/apis/ChainsApi.cjs +1 -1
- package/src/apis/ChainsApi.js +1 -1
- package/src/apis/EnvironmentsApi.cjs +1 -1
- package/src/apis/EnvironmentsApi.js +1 -1
- package/src/apis/ExportsApi.cjs +1 -1
- package/src/apis/ExportsApi.js +1 -1
- package/src/apis/GatesApi.cjs +1 -1
- package/src/apis/GatesApi.js +1 -1
- package/src/apis/InvitesApi.cjs +1 -1
- package/src/apis/InvitesApi.js +1 -1
- package/src/apis/MembersApi.cjs +1 -1
- package/src/apis/MembersApi.js +1 -1
- package/src/apis/OrganizationsApi.cjs +1 -1
- package/src/apis/OrganizationsApi.js +1 -1
- package/src/apis/OriginsApi.cjs +1 -1
- package/src/apis/OriginsApi.js +1 -1
- package/src/apis/ProjectsApi.cjs +1 -1
- package/src/apis/ProjectsApi.js +1 -1
- package/src/apis/SDKApi.cjs +60 -1
- package/src/apis/SDKApi.d.ts +24 -1
- package/src/apis/SDKApi.js +60 -1
- package/src/apis/SessionsApi.cjs +1 -1
- package/src/apis/SessionsApi.js +1 -1
- package/src/apis/SettingsApi.cjs +1 -1
- package/src/apis/SettingsApi.js +1 -1
- package/src/apis/TokensApi.cjs +1 -1
- package/src/apis/TokensApi.js +1 -1
- package/src/apis/UsersApi.cjs +1 -1
- package/src/apis/UsersApi.js +1 -1
- package/src/apis/VisitsApi.cjs +1 -1
- package/src/apis/VisitsApi.js +1 -1
- package/src/apis/WalletsApi.cjs +1 -1
- package/src/apis/WalletsApi.js +1 -1
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/Allowlist.cjs +5 -0
- package/src/models/Allowlist.d.ts +13 -0
- package/src/models/Allowlist.js +5 -0
- package/src/models/EmailProviderResponse.cjs +33 -0
- package/src/models/EmailProviderResponse.d.ts +28 -0
- package/src/models/EmailProviderResponse.js +27 -0
- package/src/models/PostAllowlistsRequest.cjs +8 -13
- package/src/models/PostAllowlistsRequest.d.ts +14 -1
- package/src/models/PostAllowlistsRequest.js +8 -13
- package/src/models/ProjectSettingsSdk.cjs +2 -0
- package/src/models/ProjectSettingsSdk.d.ts +6 -0
- package/src/models/ProjectSettingsSdk.js +2 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/index.d.ts +1 -0
package/src/apis/SDKApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, JSONApiResponse, VoidApiResponse, TextApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -9,6 +10,7 @@ import '../models/TimeUnitEnum.js';
|
|
|
9
10
|
import '../models/WalletProviderEnum.js';
|
|
10
11
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
11
12
|
import '../models/ProviderEnum.js';
|
|
13
|
+
import { EmailProviderResponseFromJSON } from '../models/EmailProviderResponse.js';
|
|
12
14
|
import { EmailVerificationCreateRequestToJSON } from '../models/EmailVerificationCreateRequest.js';
|
|
13
15
|
import { EmailVerificationCreateResponseFromJSON } from '../models/EmailVerificationCreateResponse.js';
|
|
14
16
|
import { EmailVerificationRetryRequestToJSON } from '../models/EmailVerificationRetryRequest.js';
|
|
@@ -19,7 +21,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
19
21
|
import '../models/ExportFormatEnum.js';
|
|
20
22
|
import '../models/ExportModelEnum.js';
|
|
21
23
|
import '../models/ExportStatusEnum.js';
|
|
22
|
-
import '../models/GateOutcomeEnum.js';
|
|
23
24
|
import '../models/GateRuleType.js';
|
|
24
25
|
import '../models/InviteStatusEnum.js';
|
|
25
26
|
import { JwksResponseFromJSON } from '../models/JwksResponse.js';
|
|
@@ -140,6 +141,33 @@ class SDKApi extends BaseAPI {
|
|
|
140
141
|
yield this.createVisitRaw(requestParameters, initOverrides);
|
|
141
142
|
});
|
|
142
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Options call for this endpoint
|
|
146
|
+
*/
|
|
147
|
+
emailProviderOptionsRaw(requestParameters, initOverrides) {
|
|
148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
149
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
150
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling emailProviderOptions.');
|
|
151
|
+
}
|
|
152
|
+
const queryParameters = {};
|
|
153
|
+
const headerParameters = {};
|
|
154
|
+
const response = yield this.request({
|
|
155
|
+
path: `/sdk/{environmentId}/emailProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
156
|
+
method: 'OPTIONS',
|
|
157
|
+
headers: headerParameters,
|
|
158
|
+
query: queryParameters,
|
|
159
|
+
}, initOverrides);
|
|
160
|
+
return new VoidApiResponse(response);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Options call for this endpoint
|
|
165
|
+
*/
|
|
166
|
+
emailProviderOptions(requestParameters, initOverrides) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
yield this.emailProviderOptionsRaw(requestParameters, initOverrides);
|
|
169
|
+
});
|
|
170
|
+
}
|
|
143
171
|
/**
|
|
144
172
|
*/
|
|
145
173
|
eventsOptionsRaw(requestParameters, initOverrides) {
|
|
@@ -165,6 +193,37 @@ class SDKApi extends BaseAPI {
|
|
|
165
193
|
yield this.eventsOptionsRaw(requestParameters, initOverrides);
|
|
166
194
|
});
|
|
167
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* This endpoint returns the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
|
|
198
|
+
*/
|
|
199
|
+
getEmailProviderRaw(requestParameters, initOverrides) {
|
|
200
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
202
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getEmailProvider.');
|
|
203
|
+
}
|
|
204
|
+
const queryParameters = {};
|
|
205
|
+
if (requestParameters.email !== undefined) {
|
|
206
|
+
queryParameters['email'] = requestParameters.email;
|
|
207
|
+
}
|
|
208
|
+
const headerParameters = {};
|
|
209
|
+
const response = yield this.request({
|
|
210
|
+
path: `/sdk/{environmentId}/emailProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
211
|
+
method: 'GET',
|
|
212
|
+
headers: headerParameters,
|
|
213
|
+
query: queryParameters,
|
|
214
|
+
}, initOverrides);
|
|
215
|
+
return new JSONApiResponse(response, (jsonValue) => EmailProviderResponseFromJSON(jsonValue));
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* This endpoint returns the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
|
|
220
|
+
*/
|
|
221
|
+
getEmailProvider(requestParameters, initOverrides) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
const response = yield this.getEmailProviderRaw(requestParameters, initOverrides);
|
|
224
|
+
return yield response.value();
|
|
225
|
+
});
|
|
226
|
+
}
|
|
168
227
|
/**
|
|
169
228
|
* Get the environment\'s settings
|
|
170
229
|
*/
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
6
|
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
7
8
|
require('../models/AuthModeEnum.cjs');
|
|
8
9
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
9
10
|
require('../models/ChainEnum.cjs');
|
|
@@ -18,7 +19,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
19
|
require('../models/ExportFormatEnum.cjs');
|
|
19
20
|
require('../models/ExportModelEnum.cjs');
|
|
20
21
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
-
require('../models/GateOutcomeEnum.cjs');
|
|
22
22
|
require('../models/GateRuleType.cjs');
|
|
23
23
|
require('../models/InviteStatusEnum.cjs');
|
|
24
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, JSONApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -14,7 +15,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
15
|
import '../models/ExportFormatEnum.js';
|
|
15
16
|
import '../models/ExportModelEnum.js';
|
|
16
17
|
import '../models/ExportStatusEnum.js';
|
|
17
|
-
import '../models/GateOutcomeEnum.js';
|
|
18
18
|
import '../models/GateRuleType.js';
|
|
19
19
|
import '../models/InviteStatusEnum.js';
|
|
20
20
|
import '../models/NextViewEnum.js';
|
package/src/apis/SettingsApi.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
6
|
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
7
8
|
require('../models/AuthModeEnum.cjs');
|
|
8
9
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
9
10
|
require('../models/ChainEnum.cjs');
|
|
@@ -19,7 +20,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
20
|
require('../models/ExportFormatEnum.cjs');
|
|
20
21
|
require('../models/ExportModelEnum.cjs');
|
|
21
22
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
-
require('../models/GateOutcomeEnum.cjs');
|
|
23
23
|
require('../models/GateRuleType.cjs');
|
|
24
24
|
require('../models/InviteStatusEnum.cjs');
|
|
25
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/SettingsApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, JSONApiResponse, VoidApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -15,7 +16,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
16
|
import '../models/ExportFormatEnum.js';
|
|
16
17
|
import '../models/ExportModelEnum.js';
|
|
17
18
|
import '../models/ExportStatusEnum.js';
|
|
18
|
-
import '../models/GateOutcomeEnum.js';
|
|
19
19
|
import '../models/GateRuleType.js';
|
|
20
20
|
import '../models/InviteStatusEnum.js';
|
|
21
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/TokensApi.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
6
|
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
7
8
|
require('../models/AuthModeEnum.cjs');
|
|
8
9
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
9
10
|
require('../models/ChainEnum.cjs');
|
|
@@ -19,7 +20,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
20
|
require('../models/ExportFormatEnum.cjs');
|
|
20
21
|
require('../models/ExportModelEnum.cjs');
|
|
21
22
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
-
require('../models/GateOutcomeEnum.cjs');
|
|
23
23
|
require('../models/GateRuleType.cjs');
|
|
24
24
|
require('../models/InviteStatusEnum.cjs');
|
|
25
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, VoidApiResponse, JSONApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -15,7 +16,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
16
|
import '../models/ExportFormatEnum.js';
|
|
16
17
|
import '../models/ExportModelEnum.js';
|
|
17
18
|
import '../models/ExportStatusEnum.js';
|
|
18
|
-
import '../models/GateOutcomeEnum.js';
|
|
19
19
|
import '../models/GateRuleType.js';
|
|
20
20
|
import '../models/InviteStatusEnum.js';
|
|
21
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
6
|
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
7
8
|
require('../models/AuthModeEnum.cjs');
|
|
8
9
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
9
10
|
require('../models/ChainEnum.cjs');
|
|
@@ -18,7 +19,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
19
|
require('../models/ExportFormatEnum.cjs');
|
|
19
20
|
require('../models/ExportModelEnum.cjs');
|
|
20
21
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
-
require('../models/GateOutcomeEnum.cjs');
|
|
22
22
|
require('../models/GateRuleType.cjs');
|
|
23
23
|
var InternalUserFields = require('../models/InternalUserFields.cjs');
|
|
24
24
|
require('../models/InviteStatusEnum.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, JSONApiResponse, VoidApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -14,7 +15,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
15
|
import '../models/ExportFormatEnum.js';
|
|
15
16
|
import '../models/ExportModelEnum.js';
|
|
16
17
|
import '../models/ExportStatusEnum.js';
|
|
17
|
-
import '../models/GateOutcomeEnum.js';
|
|
18
18
|
import '../models/GateRuleType.js';
|
|
19
19
|
import { InternalUserFieldsToJSON } from '../models/InternalUserFields.js';
|
|
20
20
|
import '../models/InviteStatusEnum.js';
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
6
|
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
7
8
|
require('../models/AuthModeEnum.cjs');
|
|
8
9
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
9
10
|
require('../models/ChainEnum.cjs');
|
|
@@ -18,7 +19,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
19
|
require('../models/ExportFormatEnum.cjs');
|
|
19
20
|
require('../models/ExportModelEnum.cjs');
|
|
20
21
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
-
require('../models/GateOutcomeEnum.cjs');
|
|
22
22
|
require('../models/GateRuleType.cjs');
|
|
23
23
|
require('../models/InviteStatusEnum.cjs');
|
|
24
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, JSONApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -14,7 +15,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
15
|
import '../models/ExportFormatEnum.js';
|
|
15
16
|
import '../models/ExportModelEnum.js';
|
|
16
17
|
import '../models/ExportStatusEnum.js';
|
|
17
|
-
import '../models/GateOutcomeEnum.js';
|
|
18
18
|
import '../models/GateRuleType.js';
|
|
19
19
|
import '../models/InviteStatusEnum.js';
|
|
20
20
|
import '../models/NextViewEnum.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
6
|
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
7
8
|
require('../models/AuthModeEnum.cjs');
|
|
8
9
|
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
9
10
|
require('../models/ChainEnum.cjs');
|
|
@@ -18,7 +19,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
19
|
require('../models/ExportFormatEnum.cjs');
|
|
19
20
|
require('../models/ExportModelEnum.cjs');
|
|
20
21
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
-
require('../models/GateOutcomeEnum.cjs');
|
|
22
22
|
require('../models/GateRuleType.cjs');
|
|
23
23
|
require('../models/InviteStatusEnum.cjs');
|
|
24
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
2
|
import { BaseAPI, RequiredError, VoidApiResponse, JSONApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/GateOutcomeEnum.js';
|
|
3
4
|
import '../models/AuthModeEnum.js';
|
|
4
5
|
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
5
6
|
import '../models/ChainEnum.js';
|
|
@@ -14,7 +15,6 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
15
|
import '../models/ExportFormatEnum.js';
|
|
15
16
|
import '../models/ExportModelEnum.js';
|
|
16
17
|
import '../models/ExportStatusEnum.js';
|
|
17
|
-
import '../models/GateOutcomeEnum.js';
|
|
18
18
|
import '../models/GateRuleType.js';
|
|
19
19
|
import '../models/InviteStatusEnum.js';
|
|
20
20
|
import '../models/NextViewEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -44,6 +44,7 @@ var CreateProjectResponseProjectProjectEnvironments = require('./models/CreatePr
|
|
|
44
44
|
var CreateTokenResponse = require('./models/CreateTokenResponse.cjs');
|
|
45
45
|
var Duration = require('./models/Duration.cjs');
|
|
46
46
|
var DynamicJwt = require('./models/DynamicJwt.cjs');
|
|
47
|
+
var EmailProviderResponse = require('./models/EmailProviderResponse.cjs');
|
|
47
48
|
var EmailVerificationCreateRequest = require('./models/EmailVerificationCreateRequest.cjs');
|
|
48
49
|
var EmailVerificationCreateResponse = require('./models/EmailVerificationCreateResponse.cjs');
|
|
49
50
|
var EmailVerificationRetryRequest = require('./models/EmailVerificationRetryRequest.cjs');
|
|
@@ -302,6 +303,9 @@ exports.DurationToJSON = Duration.DurationToJSON;
|
|
|
302
303
|
exports.DynamicJwtFromJSON = DynamicJwt.DynamicJwtFromJSON;
|
|
303
304
|
exports.DynamicJwtFromJSONTyped = DynamicJwt.DynamicJwtFromJSONTyped;
|
|
304
305
|
exports.DynamicJwtToJSON = DynamicJwt.DynamicJwtToJSON;
|
|
306
|
+
exports.EmailProviderResponseFromJSON = EmailProviderResponse.EmailProviderResponseFromJSON;
|
|
307
|
+
exports.EmailProviderResponseFromJSONTyped = EmailProviderResponse.EmailProviderResponseFromJSONTyped;
|
|
308
|
+
exports.EmailProviderResponseToJSON = EmailProviderResponse.EmailProviderResponseToJSON;
|
|
305
309
|
exports.EmailVerificationCreateRequestFromJSON = EmailVerificationCreateRequest.EmailVerificationCreateRequestFromJSON;
|
|
306
310
|
exports.EmailVerificationCreateRequestFromJSONTyped = EmailVerificationCreateRequest.EmailVerificationCreateRequestFromJSONTyped;
|
|
307
311
|
exports.EmailVerificationCreateRequestToJSON = EmailVerificationCreateRequest.EmailVerificationCreateRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -40,6 +40,7 @@ export { CreateProjectResponseProjectProjectEnvironmentsFromJSON, CreateProjectR
|
|
|
40
40
|
export { CreateTokenResponseFromJSON, CreateTokenResponseFromJSONTyped, CreateTokenResponseToJSON } from './models/CreateTokenResponse.js';
|
|
41
41
|
export { DurationFromJSON, DurationFromJSONTyped, DurationToJSON } from './models/Duration.js';
|
|
42
42
|
export { DynamicJwtFromJSON, DynamicJwtFromJSONTyped, DynamicJwtToJSON } from './models/DynamicJwt.js';
|
|
43
|
+
export { EmailProviderResponseFromJSON, EmailProviderResponseFromJSONTyped, EmailProviderResponseToJSON } from './models/EmailProviderResponse.js';
|
|
43
44
|
export { EmailVerificationCreateRequestFromJSON, EmailVerificationCreateRequestFromJSONTyped, EmailVerificationCreateRequestToJSON } from './models/EmailVerificationCreateRequest.js';
|
|
44
45
|
export { EmailVerificationCreateResponseFromJSON, EmailVerificationCreateResponseFromJSONTyped, EmailVerificationCreateResponseToJSON } from './models/EmailVerificationCreateResponse.js';
|
|
45
46
|
export { EmailVerificationRetryRequestFromJSON, EmailVerificationRetryRequestFromJSONTyped, EmailVerificationRetryRequestToJSON } from './models/EmailVerificationRetryRequest.js';
|
package/src/models/Allowlist.cjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var GateOutcomeEnum = require('./GateOutcomeEnum.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function AllowlistFromJSON(json) {
|
|
@@ -17,6 +18,8 @@ function AllowlistFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'name': json['name'],
|
|
18
19
|
'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
|
|
19
20
|
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
21
|
+
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
22
|
+
'outcome': !runtime.exists(json, 'outcome') ? undefined : GateOutcomeEnum.GateOutcomeEnumFromJSON(json['outcome']),
|
|
20
23
|
};
|
|
21
24
|
}
|
|
22
25
|
function AllowlistToJSON(value) {
|
|
@@ -31,6 +34,8 @@ function AllowlistToJSON(value) {
|
|
|
31
34
|
'name': value.name,
|
|
32
35
|
'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
|
|
33
36
|
'projectEnvironmentId': value.projectEnvironmentId,
|
|
37
|
+
'scope': value.scope,
|
|
38
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumToJSON(value.outcome),
|
|
34
39
|
};
|
|
35
40
|
}
|
|
36
41
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { GateOutcomeEnum } from './GateOutcomeEnum';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,18 @@ export interface Allowlist {
|
|
|
39
40
|
* @memberof Allowlist
|
|
40
41
|
*/
|
|
41
42
|
projectEnvironmentId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Allowlist
|
|
47
|
+
*/
|
|
48
|
+
scope?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {GateOutcomeEnum}
|
|
52
|
+
* @memberof Allowlist
|
|
53
|
+
*/
|
|
54
|
+
outcome?: GateOutcomeEnum;
|
|
42
55
|
}
|
|
43
56
|
export declare function AllowlistFromJSON(json: any): Allowlist;
|
|
44
57
|
export declare function AllowlistFromJSONTyped(json: any, ignoreDiscriminator: boolean): Allowlist;
|
package/src/models/Allowlist.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { GateOutcomeEnumFromJSON, GateOutcomeEnumToJSON } from './GateOutcomeEnum.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function AllowlistFromJSON(json) {
|
|
@@ -13,6 +14,8 @@ function AllowlistFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
14
|
'name': json['name'],
|
|
14
15
|
'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
|
|
15
16
|
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
17
|
+
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
18
|
+
'outcome': !exists(json, 'outcome') ? undefined : GateOutcomeEnumFromJSON(json['outcome']),
|
|
16
19
|
};
|
|
17
20
|
}
|
|
18
21
|
function AllowlistToJSON(value) {
|
|
@@ -27,6 +30,8 @@ function AllowlistToJSON(value) {
|
|
|
27
30
|
'name': value.name,
|
|
28
31
|
'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
|
|
29
32
|
'projectEnvironmentId': value.projectEnvironmentId,
|
|
33
|
+
'scope': value.scope,
|
|
34
|
+
'outcome': GateOutcomeEnumToJSON(value.outcome),
|
|
30
35
|
};
|
|
31
36
|
}
|
|
32
37
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ProviderEnum = require('./ProviderEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function EmailProviderResponseFromJSON(json) {
|
|
9
|
+
return EmailProviderResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function EmailProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'emailProvider': ProviderEnum.ProviderEnumFromJSON(json['emailProvider']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function EmailProviderResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'emailProvider': ProviderEnum.ProviderEnumToJSON(value.emailProvider),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.EmailProviderResponseFromJSON = EmailProviderResponseFromJSON;
|
|
32
|
+
exports.EmailProviderResponseFromJSONTyped = EmailProviderResponseFromJSONTyped;
|
|
33
|
+
exports.EmailProviderResponseToJSON = EmailProviderResponseToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ProviderEnum } from './ProviderEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EmailProviderResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface EmailProviderResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ProviderEnum}
|
|
22
|
+
* @memberof EmailProviderResponse
|
|
23
|
+
*/
|
|
24
|
+
emailProvider: ProviderEnum;
|
|
25
|
+
}
|
|
26
|
+
export declare function EmailProviderResponseFromJSON(json: any): EmailProviderResponse;
|
|
27
|
+
export declare function EmailProviderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailProviderResponse;
|
|
28
|
+
export declare function EmailProviderResponseToJSON(value?: EmailProviderResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function EmailProviderResponseFromJSON(json) {
|
|
5
|
+
return EmailProviderResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function EmailProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'emailProvider': ProviderEnumFromJSON(json['emailProvider']),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function EmailProviderResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'emailProvider': ProviderEnumToJSON(value.emailProvider),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { EmailProviderResponseFromJSON, EmailProviderResponseFromJSONTyped, EmailProviderResponseToJSON };
|
|
@@ -2,19 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var GateOutcomeEnum = require('./GateOutcomeEnum.cjs');
|
|
7
|
+
|
|
5
8
|
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
9
|
function PostAllowlistsRequestFromJSON(json) {
|
|
19
10
|
return PostAllowlistsRequestFromJSONTyped(json);
|
|
20
11
|
}
|
|
@@ -23,7 +14,9 @@ function PostAllowlistsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
14
|
return json;
|
|
24
15
|
}
|
|
25
16
|
return {
|
|
26
|
-
'name': json['name'],
|
|
17
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
18
|
+
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
19
|
+
'outcome': !runtime.exists(json, 'outcome') ? undefined : GateOutcomeEnum.GateOutcomeEnumFromJSON(json['outcome']),
|
|
27
20
|
};
|
|
28
21
|
}
|
|
29
22
|
function PostAllowlistsRequestToJSON(value) {
|
|
@@ -35,6 +28,8 @@ function PostAllowlistsRequestToJSON(value) {
|
|
|
35
28
|
}
|
|
36
29
|
return {
|
|
37
30
|
'name': value.name,
|
|
31
|
+
'scope': value.scope,
|
|
32
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumToJSON(value.outcome),
|
|
38
33
|
};
|
|
39
34
|
}
|
|
40
35
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { GateOutcomeEnum } from './GateOutcomeEnum';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -20,7 +21,19 @@ export interface PostAllowlistsRequest {
|
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof PostAllowlistsRequest
|
|
22
23
|
*/
|
|
23
|
-
name
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PostAllowlistsRequest
|
|
29
|
+
*/
|
|
30
|
+
scope?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {GateOutcomeEnum}
|
|
34
|
+
* @memberof PostAllowlistsRequest
|
|
35
|
+
*/
|
|
36
|
+
outcome?: GateOutcomeEnum;
|
|
24
37
|
}
|
|
25
38
|
export declare function PostAllowlistsRequestFromJSON(json: any): PostAllowlistsRequest;
|
|
26
39
|
export declare function PostAllowlistsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostAllowlistsRequest;
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { GateOutcomeEnumFromJSON, GateOutcomeEnumToJSON } from './GateOutcomeEnum.js';
|
|
3
|
+
|
|
1
4
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dashboard API
|
|
5
|
-
* Dashboard API documentation
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
5
|
function PostAllowlistsRequestFromJSON(json) {
|
|
15
6
|
return PostAllowlistsRequestFromJSONTyped(json);
|
|
16
7
|
}
|
|
@@ -19,7 +10,9 @@ function PostAllowlistsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
10
|
return json;
|
|
20
11
|
}
|
|
21
12
|
return {
|
|
22
|
-
'name': json['name'],
|
|
13
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
14
|
+
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
15
|
+
'outcome': !exists(json, 'outcome') ? undefined : GateOutcomeEnumFromJSON(json['outcome']),
|
|
23
16
|
};
|
|
24
17
|
}
|
|
25
18
|
function PostAllowlistsRequestToJSON(value) {
|
|
@@ -31,6 +24,8 @@ function PostAllowlistsRequestToJSON(value) {
|
|
|
31
24
|
}
|
|
32
25
|
return {
|
|
33
26
|
'name': value.name,
|
|
27
|
+
'scope': value.scope,
|
|
28
|
+
'outcome': GateOutcomeEnumToJSON(value.outcome),
|
|
34
29
|
};
|
|
35
30
|
}
|
|
36
31
|
|
|
@@ -20,6 +20,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'confirmWalletTransfers': !runtime.exists(json, 'confirmWalletTransfers') ? undefined : json['confirmWalletTransfers'],
|
|
21
21
|
'onrampFunding': !runtime.exists(json, 'onrampFunding') ? undefined : json['onrampFunding'],
|
|
22
22
|
'walletConnect': !runtime.exists(json, 'walletConnect') ? undefined : ProjectSettingsSdkWalletConnect.ProjectSettingsSdkWalletConnectFromJSON(json['walletConnect']),
|
|
23
|
+
'confirmEmailProviderForVerify': !runtime.exists(json, 'confirmEmailProviderForVerify') ? undefined : json['confirmEmailProviderForVerify'],
|
|
23
24
|
};
|
|
24
25
|
}
|
|
25
26
|
function ProjectSettingsSdkToJSON(value) {
|
|
@@ -35,6 +36,7 @@ function ProjectSettingsSdkToJSON(value) {
|
|
|
35
36
|
'confirmWalletTransfers': value.confirmWalletTransfers,
|
|
36
37
|
'onrampFunding': value.onrampFunding,
|
|
37
38
|
'walletConnect': ProjectSettingsSdkWalletConnect.ProjectSettingsSdkWalletConnectToJSON(value.walletConnect),
|
|
39
|
+
'confirmEmailProviderForVerify': value.confirmEmailProviderForVerify,
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -47,6 +47,12 @@ export interface ProjectSettingsSdk {
|
|
|
47
47
|
* @memberof ProjectSettingsSdk
|
|
48
48
|
*/
|
|
49
49
|
walletConnect?: ProjectSettingsSdkWalletConnect;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof ProjectSettingsSdk
|
|
54
|
+
*/
|
|
55
|
+
confirmEmailProviderForVerify?: boolean;
|
|
50
56
|
}
|
|
51
57
|
export declare function ProjectSettingsSdkFromJSON(json: any): ProjectSettingsSdk;
|
|
52
58
|
export declare function ProjectSettingsSdkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdk;
|
|
@@ -16,6 +16,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'confirmWalletTransfers': !exists(json, 'confirmWalletTransfers') ? undefined : json['confirmWalletTransfers'],
|
|
17
17
|
'onrampFunding': !exists(json, 'onrampFunding') ? undefined : json['onrampFunding'],
|
|
18
18
|
'walletConnect': !exists(json, 'walletConnect') ? undefined : ProjectSettingsSdkWalletConnectFromJSON(json['walletConnect']),
|
|
19
|
+
'confirmEmailProviderForVerify': !exists(json, 'confirmEmailProviderForVerify') ? undefined : json['confirmEmailProviderForVerify'],
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
function ProjectSettingsSdkToJSON(value) {
|
|
@@ -31,6 +32,7 @@ function ProjectSettingsSdkToJSON(value) {
|
|
|
31
32
|
'confirmWalletTransfers': value.confirmWalletTransfers,
|
|
32
33
|
'onrampFunding': value.onrampFunding,
|
|
33
34
|
'walletConnect': ProjectSettingsSdkWalletConnectToJSON(value.walletConnect),
|
|
35
|
+
'confirmEmailProviderForVerify': value.confirmEmailProviderForVerify,
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
|