@dynamic-labs/sdk-api 0.0.647 → 0.0.649
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/WaasApi.cjs +118 -0
- package/src/apis/WaasApi.d.ts +29 -0
- package/src/apis/WaasApi.js +114 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +10 -0
- package/src/index.js +3 -0
- package/src/models/ScanWebsiteUrlResponse.cjs +3 -13
- package/src/models/ScanWebsiteUrlResponse.d.ts +2 -2
- package/src/models/ScanWebsiteUrlResponse.js +3 -13
- package/src/models/WaasAuthenticateResponse.cjs +35 -0
- package/src/models/WaasAuthenticateResponse.d.ts +34 -0
- package/src/models/WaasAuthenticateResponse.js +29 -0
- package/src/models/WaasAuthenticateResponseEncodedJwts.cjs +35 -0
- package/src/models/WaasAuthenticateResponseEncodedJwts.d.ts +33 -0
- package/src/models/WaasAuthenticateResponseEncodedJwts.js +29 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _tslib = require('../../_virtual/_tslib.cjs');
|
|
6
|
+
var runtime = require('../runtime.cjs');
|
|
7
|
+
require('../models/AccessOutcomeEnum.cjs');
|
|
8
|
+
require('../models/GlobalWalletAccessControlTypeEnum.cjs');
|
|
9
|
+
require('../models/AttestationConveyancePreference.cjs');
|
|
10
|
+
require('../models/AuthModeEnum.cjs');
|
|
11
|
+
require('../models/AuthStorageEnum.cjs');
|
|
12
|
+
require('../models/AuthenticatorAttachment.cjs');
|
|
13
|
+
require('../models/ResidentKeyRequirement.cjs');
|
|
14
|
+
require('../models/UserVerificationRequirement.cjs');
|
|
15
|
+
require('../models/AuthenticatorTransportProtocol.cjs');
|
|
16
|
+
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
17
|
+
require('../models/ProviderEnum.cjs');
|
|
18
|
+
require('../models/WalletAddressType.cjs');
|
|
19
|
+
require('../models/EcdsaValidatorOptions.cjs');
|
|
20
|
+
require('../models/EmbeddedWalletVersionEnum.cjs');
|
|
21
|
+
require('../models/HardwareWalletEnum.cjs');
|
|
22
|
+
require('../models/PasswordSourceTypeEnum.cjs');
|
|
23
|
+
require('../models/ProviderEntryPointVersionEnum.cjs');
|
|
24
|
+
require('../models/ProviderKernelVersionEnum.cjs');
|
|
25
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
26
|
+
require('../models/WalletProviderEnum.cjs');
|
|
27
|
+
require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
28
|
+
require('../models/CustomFieldType.cjs');
|
|
29
|
+
require('../models/KycFieldType.cjs');
|
|
30
|
+
require('../models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
31
|
+
require('../models/UnprocessableEntityErrorCode.cjs');
|
|
32
|
+
require('../models/ChainEnum.cjs');
|
|
33
|
+
require('../models/ChainalysisCheckResultEnum.cjs');
|
|
34
|
+
require('../models/MFADeviceType.cjs');
|
|
35
|
+
require('../models/EmbeddedWalletChainEnum.cjs');
|
|
36
|
+
require('../models/EmbeddedWalletProviderEnum.cjs');
|
|
37
|
+
require('../models/UserIdentifierTypeEnum.cjs');
|
|
38
|
+
require('../models/CurrencyType.cjs');
|
|
39
|
+
require('../models/CustomHostnameStatusEnum.cjs');
|
|
40
|
+
require('../models/CustomHostnameUsageEnum.cjs');
|
|
41
|
+
require('../models/CustomHostnameVerificationType.cjs');
|
|
42
|
+
require('../models/DnsRecordType.cjs');
|
|
43
|
+
require('../models/TimeUnitEnum.cjs');
|
|
44
|
+
require('../models/EmbeddedWalletAuthType.cjs');
|
|
45
|
+
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
46
|
+
require('../models/EnvironmentEnum.cjs');
|
|
47
|
+
require('../models/Network.cjs');
|
|
48
|
+
require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
49
|
+
require('../models/OnrampProviders.cjs');
|
|
50
|
+
require('../models/SignInProviderEnum.cjs');
|
|
51
|
+
require('../models/SocialSignInProviderEnum.cjs');
|
|
52
|
+
require('../models/WaasBackupOptionsEnum.cjs');
|
|
53
|
+
require('../models/SdkViewSectionAlignment.cjs');
|
|
54
|
+
require('../models/SdkViewSectionType.cjs');
|
|
55
|
+
require('../models/SdkViewType.cjs');
|
|
56
|
+
require('../models/UserFilterableFieldsEnum.cjs');
|
|
57
|
+
require('../models/ExportFormatEnum.cjs');
|
|
58
|
+
require('../models/ExportModelEnum.cjs');
|
|
59
|
+
require('../models/ExportStatusEnum.cjs');
|
|
60
|
+
require('../models/ExternalWalletFundingDefaultChain.cjs');
|
|
61
|
+
require('../models/GateRuleType.cjs');
|
|
62
|
+
require('../models/HealthcheckStatus.cjs');
|
|
63
|
+
require('../models/InviteStatusEnum.cjs');
|
|
64
|
+
require('../models/RoleEnum.cjs');
|
|
65
|
+
require('../models/PublicKeyCredentialType.cjs');
|
|
66
|
+
require('../models/NextViewEnum.cjs');
|
|
67
|
+
require('../models/OauthResultStatus.cjs');
|
|
68
|
+
require('../models/WhenToImplementEnum.cjs');
|
|
69
|
+
require('../models/PublishEventsEvents.cjs');
|
|
70
|
+
require('../models/SubscriptionAdvancedScopeEnum.cjs');
|
|
71
|
+
require('../models/SubscriptionFreeScopeEnum.cjs');
|
|
72
|
+
require('../models/UserFieldsCheckEnum.cjs');
|
|
73
|
+
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
74
|
+
var WaasAuthenticateResponse = require('../models/WaasAuthenticateResponse.cjs');
|
|
75
|
+
|
|
76
|
+
/* tslint:disable */
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
class WaasApi extends runtime.BaseAPI {
|
|
81
|
+
/**
|
|
82
|
+
* Authenticate for WAAS using api key
|
|
83
|
+
*/
|
|
84
|
+
authenticateWaasRaw(requestParameters, initOverrides) {
|
|
85
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
87
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling authenticateWaas.');
|
|
88
|
+
}
|
|
89
|
+
const queryParameters = {};
|
|
90
|
+
const headerParameters = {};
|
|
91
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
92
|
+
const token = this.configuration.accessToken;
|
|
93
|
+
const tokenString = yield token("bearerAuth", []);
|
|
94
|
+
if (tokenString) {
|
|
95
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
const response = yield this.request({
|
|
99
|
+
path: `/environments/{environmentId}/waas/authenticate`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
100
|
+
method: 'POST',
|
|
101
|
+
headers: headerParameters,
|
|
102
|
+
query: queryParameters,
|
|
103
|
+
}, initOverrides);
|
|
104
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WaasAuthenticateResponse.WaasAuthenticateResponseFromJSON(jsonValue));
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Authenticate for WAAS using api key
|
|
109
|
+
*/
|
|
110
|
+
authenticateWaas(requestParameters, initOverrides) {
|
|
111
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
const response = yield this.authenticateWaasRaw(requestParameters, initOverrides);
|
|
113
|
+
return yield response.value();
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
exports.WaasApi = WaasApi;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { WaasAuthenticateResponse } from '../models';
|
|
14
|
+
export interface AuthenticateWaasRequest {
|
|
15
|
+
environmentId: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class WaasApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Authenticate for WAAS using api key
|
|
23
|
+
*/
|
|
24
|
+
authenticateWaasRaw(requestParameters: AuthenticateWaasRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasAuthenticateResponse>>;
|
|
25
|
+
/**
|
|
26
|
+
* Authenticate for WAAS using api key
|
|
27
|
+
*/
|
|
28
|
+
authenticateWaas(requestParameters: AuthenticateWaasRequest, initOverrides?: RequestInit): Promise<WaasAuthenticateResponse>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { __awaiter } from '../../_virtual/_tslib.js';
|
|
2
|
+
import { BaseAPI, RequiredError, JSONApiResponse } from '../runtime.js';
|
|
3
|
+
import '../models/AccessOutcomeEnum.js';
|
|
4
|
+
import '../models/GlobalWalletAccessControlTypeEnum.js';
|
|
5
|
+
import '../models/AttestationConveyancePreference.js';
|
|
6
|
+
import '../models/AuthModeEnum.js';
|
|
7
|
+
import '../models/AuthStorageEnum.js';
|
|
8
|
+
import '../models/AuthenticatorAttachment.js';
|
|
9
|
+
import '../models/ResidentKeyRequirement.js';
|
|
10
|
+
import '../models/UserVerificationRequirement.js';
|
|
11
|
+
import '../models/AuthenticatorTransportProtocol.js';
|
|
12
|
+
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
13
|
+
import '../models/ProviderEnum.js';
|
|
14
|
+
import '../models/WalletAddressType.js';
|
|
15
|
+
import '../models/EcdsaValidatorOptions.js';
|
|
16
|
+
import '../models/EmbeddedWalletVersionEnum.js';
|
|
17
|
+
import '../models/HardwareWalletEnum.js';
|
|
18
|
+
import '../models/PasswordSourceTypeEnum.js';
|
|
19
|
+
import '../models/ProviderEntryPointVersionEnum.js';
|
|
20
|
+
import '../models/ProviderKernelVersionEnum.js';
|
|
21
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
22
|
+
import '../models/WalletProviderEnum.js';
|
|
23
|
+
import '../models/MfaBackupCodeAcknowledgement.js';
|
|
24
|
+
import '../models/CustomFieldType.js';
|
|
25
|
+
import '../models/KycFieldType.js';
|
|
26
|
+
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
27
|
+
import '../models/UnprocessableEntityErrorCode.js';
|
|
28
|
+
import '../models/ChainEnum.js';
|
|
29
|
+
import '../models/ChainalysisCheckResultEnum.js';
|
|
30
|
+
import '../models/MFADeviceType.js';
|
|
31
|
+
import '../models/EmbeddedWalletChainEnum.js';
|
|
32
|
+
import '../models/EmbeddedWalletProviderEnum.js';
|
|
33
|
+
import '../models/UserIdentifierTypeEnum.js';
|
|
34
|
+
import '../models/CurrencyType.js';
|
|
35
|
+
import '../models/CustomHostnameStatusEnum.js';
|
|
36
|
+
import '../models/CustomHostnameUsageEnum.js';
|
|
37
|
+
import '../models/CustomHostnameVerificationType.js';
|
|
38
|
+
import '../models/DnsRecordType.js';
|
|
39
|
+
import '../models/TimeUnitEnum.js';
|
|
40
|
+
import '../models/EmbeddedWalletAuthType.js';
|
|
41
|
+
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
42
|
+
import '../models/EnvironmentEnum.js';
|
|
43
|
+
import '../models/Network.js';
|
|
44
|
+
import '../models/ExternalWalletFundingTokenRule.js';
|
|
45
|
+
import '../models/OnrampProviders.js';
|
|
46
|
+
import '../models/SignInProviderEnum.js';
|
|
47
|
+
import '../models/SocialSignInProviderEnum.js';
|
|
48
|
+
import '../models/WaasBackupOptionsEnum.js';
|
|
49
|
+
import '../models/SdkViewSectionAlignment.js';
|
|
50
|
+
import '../models/SdkViewSectionType.js';
|
|
51
|
+
import '../models/SdkViewType.js';
|
|
52
|
+
import '../models/UserFilterableFieldsEnum.js';
|
|
53
|
+
import '../models/ExportFormatEnum.js';
|
|
54
|
+
import '../models/ExportModelEnum.js';
|
|
55
|
+
import '../models/ExportStatusEnum.js';
|
|
56
|
+
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
57
|
+
import '../models/GateRuleType.js';
|
|
58
|
+
import '../models/HealthcheckStatus.js';
|
|
59
|
+
import '../models/InviteStatusEnum.js';
|
|
60
|
+
import '../models/RoleEnum.js';
|
|
61
|
+
import '../models/PublicKeyCredentialType.js';
|
|
62
|
+
import '../models/NextViewEnum.js';
|
|
63
|
+
import '../models/OauthResultStatus.js';
|
|
64
|
+
import '../models/WhenToImplementEnum.js';
|
|
65
|
+
import '../models/PublishEventsEvents.js';
|
|
66
|
+
import '../models/SubscriptionAdvancedScopeEnum.js';
|
|
67
|
+
import '../models/SubscriptionFreeScopeEnum.js';
|
|
68
|
+
import '../models/UserFieldsCheckEnum.js';
|
|
69
|
+
import '../models/VisitorFilterableFieldsEnum.js';
|
|
70
|
+
import { WaasAuthenticateResponseFromJSON } from '../models/WaasAuthenticateResponse.js';
|
|
71
|
+
|
|
72
|
+
/* tslint:disable */
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
class WaasApi extends BaseAPI {
|
|
77
|
+
/**
|
|
78
|
+
* Authenticate for WAAS using api key
|
|
79
|
+
*/
|
|
80
|
+
authenticateWaasRaw(requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
83
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling authenticateWaas.');
|
|
84
|
+
}
|
|
85
|
+
const queryParameters = {};
|
|
86
|
+
const headerParameters = {};
|
|
87
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
88
|
+
const token = this.configuration.accessToken;
|
|
89
|
+
const tokenString = yield token("bearerAuth", []);
|
|
90
|
+
if (tokenString) {
|
|
91
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
const response = yield this.request({
|
|
95
|
+
path: `/environments/{environmentId}/waas/authenticate`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
96
|
+
method: 'POST',
|
|
97
|
+
headers: headerParameters,
|
|
98
|
+
query: queryParameters,
|
|
99
|
+
}, initOverrides);
|
|
100
|
+
return new JSONApiResponse(response, (jsonValue) => WaasAuthenticateResponseFromJSON(jsonValue));
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Authenticate for WAAS using api key
|
|
105
|
+
*/
|
|
106
|
+
authenticateWaas(requestParameters, initOverrides) {
|
|
107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
const response = yield this.authenticateWaasRaw(requestParameters, initOverrides);
|
|
109
|
+
return yield response.value();
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export { WaasApi };
|
package/src/apis/index.d.ts
CHANGED
package/src/index.cjs
CHANGED
|
@@ -35,6 +35,7 @@ var TokensApi = require('./apis/TokensApi.cjs');
|
|
|
35
35
|
var UserApiTokensApi = require('./apis/UserApiTokensApi.cjs');
|
|
36
36
|
var UsersApi = require('./apis/UsersApi.cjs');
|
|
37
37
|
var VisitsApi = require('./apis/VisitsApi.cjs');
|
|
38
|
+
var WaasApi = require('./apis/WaasApi.cjs');
|
|
38
39
|
var WalletsApi = require('./apis/WalletsApi.cjs');
|
|
39
40
|
var WebhooksApi = require('./apis/WebhooksApi.cjs');
|
|
40
41
|
var AccessOutcomeEnum = require('./models/AccessOutcomeEnum.cjs');
|
|
@@ -440,6 +441,8 @@ var Visitor = require('./models/Visitor.cjs');
|
|
|
440
441
|
var VisitorFilterableFieldsEnum = require('./models/VisitorFilterableFieldsEnum.cjs');
|
|
441
442
|
var VisitorSearchFilterParams = require('./models/VisitorSearchFilterParams.cjs');
|
|
442
443
|
var VisitorsResponse = require('./models/VisitorsResponse.cjs');
|
|
444
|
+
var WaasAuthenticateResponse = require('./models/WaasAuthenticateResponse.cjs');
|
|
445
|
+
var WaasAuthenticateResponseEncodedJwts = require('./models/WaasAuthenticateResponseEncodedJwts.cjs');
|
|
443
446
|
var WaasBackupOptionsEnum = require('./models/WaasBackupOptionsEnum.cjs');
|
|
444
447
|
var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
|
|
445
448
|
var Wallet = require('./models/Wallet.cjs');
|
|
@@ -514,6 +517,7 @@ exports.TokensApi = TokensApi.TokensApi;
|
|
|
514
517
|
exports.UserApiTokensApi = UserApiTokensApi.UserApiTokensApi;
|
|
515
518
|
exports.UsersApi = UsersApi.UsersApi;
|
|
516
519
|
exports.VisitsApi = VisitsApi.VisitsApi;
|
|
520
|
+
exports.WaasApi = WaasApi.WaasApi;
|
|
517
521
|
exports.WalletsApi = WalletsApi.WalletsApi;
|
|
518
522
|
exports.WebhooksApi = WebhooksApi.WebhooksApi;
|
|
519
523
|
Object.defineProperty(exports, 'AccessOutcomeEnum', {
|
|
@@ -1977,6 +1981,12 @@ exports.VisitorSearchFilterParamsToJSON = VisitorSearchFilterParams.VisitorSearc
|
|
|
1977
1981
|
exports.VisitorsResponseFromJSON = VisitorsResponse.VisitorsResponseFromJSON;
|
|
1978
1982
|
exports.VisitorsResponseFromJSONTyped = VisitorsResponse.VisitorsResponseFromJSONTyped;
|
|
1979
1983
|
exports.VisitorsResponseToJSON = VisitorsResponse.VisitorsResponseToJSON;
|
|
1984
|
+
exports.WaasAuthenticateResponseFromJSON = WaasAuthenticateResponse.WaasAuthenticateResponseFromJSON;
|
|
1985
|
+
exports.WaasAuthenticateResponseFromJSONTyped = WaasAuthenticateResponse.WaasAuthenticateResponseFromJSONTyped;
|
|
1986
|
+
exports.WaasAuthenticateResponseToJSON = WaasAuthenticateResponse.WaasAuthenticateResponseToJSON;
|
|
1987
|
+
exports.WaasAuthenticateResponseEncodedJwtsFromJSON = WaasAuthenticateResponseEncodedJwts.WaasAuthenticateResponseEncodedJwtsFromJSON;
|
|
1988
|
+
exports.WaasAuthenticateResponseEncodedJwtsFromJSONTyped = WaasAuthenticateResponseEncodedJwts.WaasAuthenticateResponseEncodedJwtsFromJSONTyped;
|
|
1989
|
+
exports.WaasAuthenticateResponseEncodedJwtsToJSON = WaasAuthenticateResponseEncodedJwts.WaasAuthenticateResponseEncodedJwtsToJSON;
|
|
1980
1990
|
Object.defineProperty(exports, 'WaasBackupOptionsEnum', {
|
|
1981
1991
|
enumerable: true,
|
|
1982
1992
|
get: function () { return WaasBackupOptionsEnum.WaasBackupOptionsEnum; }
|
package/src/index.js
CHANGED
|
@@ -31,6 +31,7 @@ export { TokensApi } from './apis/TokensApi.js';
|
|
|
31
31
|
export { UserApiTokensApi } from './apis/UserApiTokensApi.js';
|
|
32
32
|
export { UsersApi } from './apis/UsersApi.js';
|
|
33
33
|
export { VisitsApi } from './apis/VisitsApi.js';
|
|
34
|
+
export { WaasApi } from './apis/WaasApi.js';
|
|
34
35
|
export { WalletsApi } from './apis/WalletsApi.js';
|
|
35
36
|
export { WebhooksApi } from './apis/WebhooksApi.js';
|
|
36
37
|
export { AccessOutcomeEnum, AccessOutcomeEnumFromJSON, AccessOutcomeEnumFromJSONTyped, AccessOutcomeEnumToJSON } from './models/AccessOutcomeEnum.js';
|
|
@@ -436,6 +437,8 @@ export { VisitorFromJSON, VisitorFromJSONTyped, VisitorToJSON } from './models/V
|
|
|
436
437
|
export { VisitorFilterableFieldsEnum, VisitorFilterableFieldsEnumFromJSON, VisitorFilterableFieldsEnumFromJSONTyped, VisitorFilterableFieldsEnumToJSON } from './models/VisitorFilterableFieldsEnum.js';
|
|
437
438
|
export { VisitorSearchFilterParamsFromJSON, VisitorSearchFilterParamsFromJSONTyped, VisitorSearchFilterParamsToJSON } from './models/VisitorSearchFilterParams.js';
|
|
438
439
|
export { VisitorsResponseFromJSON, VisitorsResponseFromJSONTyped, VisitorsResponseToJSON } from './models/VisitorsResponse.js';
|
|
440
|
+
export { WaasAuthenticateResponseFromJSON, WaasAuthenticateResponseFromJSONTyped, WaasAuthenticateResponseToJSON } from './models/WaasAuthenticateResponse.js';
|
|
441
|
+
export { WaasAuthenticateResponseEncodedJwtsFromJSON, WaasAuthenticateResponseEncodedJwtsFromJSONTyped, WaasAuthenticateResponseEncodedJwtsToJSON } from './models/WaasAuthenticateResponseEncodedJwts.js';
|
|
439
442
|
export { WaasBackupOptionsEnum, WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumFromJSONTyped, WaasBackupOptionsEnumToJSON } from './models/WaasBackupOptionsEnum.js';
|
|
440
443
|
export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
|
|
441
444
|
export { WalletFromJSON, WalletFromJSONTyped, WalletToJSON } from './models/Wallet.js';
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* 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
8
|
function ScanWebsiteUrlResponseFromJSON(json) {
|
|
19
9
|
return ScanWebsiteUrlResponseFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -23,7 +13,7 @@ function ScanWebsiteUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
13
|
return json;
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
|
-
'isMalicious': json['isMalicious'],
|
|
16
|
+
'isMalicious': !runtime.exists(json, 'isMalicious') ? undefined : json['isMalicious'],
|
|
27
17
|
};
|
|
28
18
|
}
|
|
29
19
|
function ScanWebsiteUrlResponseToJSON(value) {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ScanWebsiteUrlResponse {
|
|
18
18
|
/**
|
|
19
|
-
* Indicates whether the scanned URL is potentially malicious
|
|
19
|
+
* Indicates whether the scanned URL is potentially malicious. Returns null if scan is inconclusive.
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof ScanWebsiteUrlResponse
|
|
22
22
|
*/
|
|
23
|
-
isMalicious
|
|
23
|
+
isMalicious?: boolean | null;
|
|
24
24
|
}
|
|
25
25
|
export declare function ScanWebsiteUrlResponseFromJSON(json: any): ScanWebsiteUrlResponse;
|
|
26
26
|
export declare function ScanWebsiteUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScanWebsiteUrlResponse;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* 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
4
|
function ScanWebsiteUrlResponseFromJSON(json) {
|
|
15
5
|
return ScanWebsiteUrlResponseFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -19,7 +9,7 @@ function ScanWebsiteUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
9
|
return json;
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
|
-
'isMalicious': json['isMalicious'],
|
|
12
|
+
'isMalicious': !exists(json, 'isMalicious') ? undefined : json['isMalicious'],
|
|
23
13
|
};
|
|
24
14
|
}
|
|
25
15
|
function ScanWebsiteUrlResponseToJSON(value) {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var WaasAuthenticateResponseEncodedJwts = require('./WaasAuthenticateResponseEncodedJwts.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasAuthenticateResponseFromJSON(json) {
|
|
9
|
+
return WaasAuthenticateResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasAuthenticateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'message': json['message'],
|
|
17
|
+
'encodedJwts': WaasAuthenticateResponseEncodedJwts.WaasAuthenticateResponseEncodedJwtsFromJSON(json['encodedJwts']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasAuthenticateResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'message': value.message,
|
|
29
|
+
'encodedJwts': WaasAuthenticateResponseEncodedJwts.WaasAuthenticateResponseEncodedJwtsToJSON(value.encodedJwts),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.WaasAuthenticateResponseFromJSON = WaasAuthenticateResponseFromJSON;
|
|
34
|
+
exports.WaasAuthenticateResponseFromJSONTyped = WaasAuthenticateResponseFromJSONTyped;
|
|
35
|
+
exports.WaasAuthenticateResponseToJSON = WaasAuthenticateResponseToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { WaasAuthenticateResponseEncodedJwts } from './WaasAuthenticateResponseEncodedJwts';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasAuthenticateResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasAuthenticateResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasAuthenticateResponse
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WaasAuthenticateResponseEncodedJwts}
|
|
28
|
+
* @memberof WaasAuthenticateResponse
|
|
29
|
+
*/
|
|
30
|
+
encodedJwts: WaasAuthenticateResponseEncodedJwts;
|
|
31
|
+
}
|
|
32
|
+
export declare function WaasAuthenticateResponseFromJSON(json: any): WaasAuthenticateResponse;
|
|
33
|
+
export declare function WaasAuthenticateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasAuthenticateResponse;
|
|
34
|
+
export declare function WaasAuthenticateResponseToJSON(value?: WaasAuthenticateResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { WaasAuthenticateResponseEncodedJwtsFromJSON, WaasAuthenticateResponseEncodedJwtsToJSON } from './WaasAuthenticateResponseEncodedJwts.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasAuthenticateResponseFromJSON(json) {
|
|
5
|
+
return WaasAuthenticateResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasAuthenticateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'message': json['message'],
|
|
13
|
+
'encodedJwts': WaasAuthenticateResponseEncodedJwtsFromJSON(json['encodedJwts']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasAuthenticateResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'message': value.message,
|
|
25
|
+
'encodedJwts': WaasAuthenticateResponseEncodedJwtsToJSON(value.encodedJwts),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { WaasAuthenticateResponseFromJSON, WaasAuthenticateResponseFromJSONTyped, WaasAuthenticateResponseToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WaasAuthenticateResponseEncodedJwtsFromJSON(json) {
|
|
9
|
+
return WaasAuthenticateResponseEncodedJwtsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WaasAuthenticateResponseEncodedJwtsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'jwt': !runtime.exists(json, 'jwt') ? undefined : json['jwt'],
|
|
17
|
+
'minifiedJwt': !runtime.exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WaasAuthenticateResponseEncodedJwtsToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'jwt': value.jwt,
|
|
29
|
+
'minifiedJwt': value.minifiedJwt,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.WaasAuthenticateResponseEncodedJwtsFromJSON = WaasAuthenticateResponseEncodedJwtsFromJSON;
|
|
34
|
+
exports.WaasAuthenticateResponseEncodedJwtsFromJSONTyped = WaasAuthenticateResponseEncodedJwtsFromJSONTyped;
|
|
35
|
+
exports.WaasAuthenticateResponseEncodedJwtsToJSON = WaasAuthenticateResponseEncodedJwtsToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasAuthenticateResponseEncodedJwts
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasAuthenticateResponseEncodedJwts {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WaasAuthenticateResponseEncodedJwts
|
|
22
|
+
*/
|
|
23
|
+
jwt?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WaasAuthenticateResponseEncodedJwts
|
|
28
|
+
*/
|
|
29
|
+
minifiedJwt?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function WaasAuthenticateResponseEncodedJwtsFromJSON(json: any): WaasAuthenticateResponseEncodedJwts;
|
|
32
|
+
export declare function WaasAuthenticateResponseEncodedJwtsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasAuthenticateResponseEncodedJwts;
|
|
33
|
+
export declare function WaasAuthenticateResponseEncodedJwtsToJSON(value?: WaasAuthenticateResponseEncodedJwts | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WaasAuthenticateResponseEncodedJwtsFromJSON(json) {
|
|
5
|
+
return WaasAuthenticateResponseEncodedJwtsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WaasAuthenticateResponseEncodedJwtsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'jwt': !exists(json, 'jwt') ? undefined : json['jwt'],
|
|
13
|
+
'minifiedJwt': !exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function WaasAuthenticateResponseEncodedJwtsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'jwt': value.jwt,
|
|
25
|
+
'minifiedJwt': value.minifiedJwt,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { WaasAuthenticateResponseEncodedJwtsFromJSON, WaasAuthenticateResponseEncodedJwtsFromJSONTyped, WaasAuthenticateResponseEncodedJwtsToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -401,6 +401,8 @@ export * from './Visitor';
|
|
|
401
401
|
export * from './VisitorFilterableFieldsEnum';
|
|
402
402
|
export * from './VisitorSearchFilterParams';
|
|
403
403
|
export * from './VisitorsResponse';
|
|
404
|
+
export * from './WaasAuthenticateResponse';
|
|
405
|
+
export * from './WaasAuthenticateResponseEncodedJwts';
|
|
404
406
|
export * from './WaasBackupOptionsEnum';
|
|
405
407
|
export * from './WaasWalletProperties';
|
|
406
408
|
export * from './Wallet';
|