@dynamic-labs/sdk-api 0.0.195 → 0.0.197
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 +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/GatesApi.cjs +265 -0
- package/src/apis/GatesApi.d.ts +97 -0
- package/src/apis/GatesApi.js +261 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +34 -0
- package/src/index.js +8 -0
- package/src/models/DynamicJwt.d.ts +1 -1
- package/src/models/Gate.cjs +42 -0
- package/src/models/Gate.d.ts +52 -0
- package/src/models/Gate.js +36 -0
- package/src/models/GateCreateRequest.cjs +37 -0
- package/src/models/GateCreateRequest.d.ts +40 -0
- package/src/models/GateCreateRequest.js +31 -0
- package/src/models/GateRule.cjs +39 -0
- package/src/models/GateRule.d.ts +41 -0
- package/src/models/GateRule.js +33 -0
- package/src/models/GateRuleFilter.cjs +33 -0
- package/src/models/GateRuleFilter.d.ts +27 -0
- package/src/models/GateRuleFilter.js +27 -0
- package/src/models/GateRuleType.cjs +40 -0
- package/src/models/GateRuleType.d.ts +23 -0
- package/src/models/GateRuleType.js +34 -0
- package/src/models/GateUpdateRequest.cjs +38 -0
- package/src/models/GateUpdateRequest.d.ts +40 -0
- package/src/models/GateUpdateRequest.js +32 -0
- package/src/models/GatesResponse.cjs +34 -0
- package/src/models/GatesResponse.d.ts +28 -0
- package/src/models/GatesResponse.js +28 -0
- package/src/models/JwtVerifiedCredential.cjs +2 -0
- package/src/models/JwtVerifiedCredential.d.ts +6 -0
- package/src/models/JwtVerifiedCredential.js +2 -0
- package/src/models/index.d.ts +7 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { GateFromJSON, GateToJSON } from './Gate.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function GatesResponseFromJSON(json) {
|
|
6
|
+
return GatesResponseFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function GatesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'providers': !exists(json, 'providers') ? undefined : (json['providers'].map(GateFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function GatesResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'providers': value.providers === undefined ? undefined : (value.providers.map(GateToJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { GatesResponseFromJSON, GatesResponseFromJSONTyped, GatesResponseToJSON };
|
|
@@ -19,6 +19,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
return {
|
|
20
20
|
'address': !runtime.exists(json, 'address') ? undefined : json['address'],
|
|
21
21
|
'chain': !runtime.exists(json, 'chain') ? undefined : json['chain'],
|
|
22
|
+
'refId': !runtime.exists(json, 'refId') ? undefined : json['refId'],
|
|
22
23
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
23
24
|
'id': json['id'],
|
|
24
25
|
'nameService': !runtime.exists(json, 'name_service') ? undefined : NameServiceData.NameServiceDataFromJSON(json['name_service']),
|
|
@@ -45,6 +46,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'address': value.address,
|
|
47
48
|
'chain': value.chain,
|
|
49
|
+
'refId': value.refId,
|
|
48
50
|
'email': value.email,
|
|
49
51
|
'id': value.id,
|
|
50
52
|
'name_service': NameServiceData.NameServiceDataToJSON(value.nameService),
|
|
@@ -15,6 +15,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
return {
|
|
16
16
|
'address': !exists(json, 'address') ? undefined : json['address'],
|
|
17
17
|
'chain': !exists(json, 'chain') ? undefined : json['chain'],
|
|
18
|
+
'refId': !exists(json, 'refId') ? undefined : json['refId'],
|
|
18
19
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
19
20
|
'id': json['id'],
|
|
20
21
|
'nameService': !exists(json, 'name_service') ? undefined : NameServiceDataFromJSON(json['name_service']),
|
|
@@ -41,6 +42,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
41
42
|
return {
|
|
42
43
|
'address': value.address,
|
|
43
44
|
'chain': value.chain,
|
|
45
|
+
'refId': value.refId,
|
|
44
46
|
'email': value.email,
|
|
45
47
|
'id': value.id,
|
|
46
48
|
'name_service': NameServiceDataToJSON(value.nameService),
|
package/src/models/index.d.ts
CHANGED
|
@@ -32,6 +32,13 @@ export * from './ErrorMessageWithCode';
|
|
|
32
32
|
export * from './Forbidden';
|
|
33
33
|
export * from './ForbiddenErrorPayload';
|
|
34
34
|
export * from './ForbiddenWithErrorAndPayload';
|
|
35
|
+
export * from './Gate';
|
|
36
|
+
export * from './GateCreateRequest';
|
|
37
|
+
export * from './GateRule';
|
|
38
|
+
export * from './GateRuleFilter';
|
|
39
|
+
export * from './GateRuleType';
|
|
40
|
+
export * from './GateUpdateRequest';
|
|
41
|
+
export * from './GatesResponse';
|
|
35
42
|
export * from './HCaptchaSettings';
|
|
36
43
|
export * from './InlineObject';
|
|
37
44
|
export * from './InlineResponse201';
|