@dynamic-labs/sdk-api 0.0.209 → 0.0.210
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/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -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/index.cjs +8 -0
- package/src/index.js +1 -0
- package/src/models/Gate.cjs +4 -1
- package/src/models/Gate.d.ts +9 -2
- package/src/models/Gate.js +4 -1
- package/src/models/GateCreateRequest.cjs +5 -1
- package/src/models/GateCreateRequest.d.ts +9 -2
- package/src/models/GateCreateRequest.js +5 -1
- package/src/models/GateOutcomeEnum.cjs +40 -0
- package/src/models/GateOutcomeEnum.d.ts +23 -0
- package/src/models/GateOutcomeEnum.js +34 -0
- package/src/models/GateUpdateRequest.cjs +3 -0
- package/src/models/GateUpdateRequest.d.ts +7 -0
- package/src/models/GateUpdateRequest.js +3 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -21,6 +21,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
21
21
|
require('../models/ExportFormatEnum.cjs');
|
|
22
22
|
require('../models/ExportModelEnum.cjs');
|
|
23
23
|
require('../models/ExportStatusEnum.cjs');
|
|
24
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
24
25
|
require('../models/GateRuleType.cjs');
|
|
25
26
|
require('../models/InviteStatusEnum.cjs');
|
|
26
27
|
require('../models/NextViewEnum.cjs');
|
|
@@ -17,6 +17,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
17
17
|
import '../models/ExportFormatEnum.js';
|
|
18
18
|
import '../models/ExportModelEnum.js';
|
|
19
19
|
import '../models/ExportStatusEnum.js';
|
|
20
|
+
import '../models/GateOutcomeEnum.js';
|
|
20
21
|
import '../models/GateRuleType.js';
|
|
21
22
|
import '../models/InviteStatusEnum.js';
|
|
22
23
|
import '../models/NextViewEnum.js';
|
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/AnalyticsApi.js
CHANGED
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/ChainsApi.cjs
CHANGED
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/ChainsApi.js
CHANGED
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
|
@@ -20,6 +20,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
20
20
|
require('../models/ExportFormatEnum.cjs');
|
|
21
21
|
require('../models/ExportModelEnum.cjs');
|
|
22
22
|
require('../models/ExportStatusEnum.cjs');
|
|
23
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
23
24
|
require('../models/GateRuleType.cjs');
|
|
24
25
|
require('../models/InviteStatusEnum.cjs');
|
|
25
26
|
var KeyResponse = require('../models/KeyResponse.cjs');
|
|
@@ -16,6 +16,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
16
16
|
import '../models/ExportFormatEnum.js';
|
|
17
17
|
import '../models/ExportModelEnum.js';
|
|
18
18
|
import '../models/ExportStatusEnum.js';
|
|
19
|
+
import '../models/GateOutcomeEnum.js';
|
|
19
20
|
import '../models/GateRuleType.js';
|
|
20
21
|
import '../models/InviteStatusEnum.js';
|
|
21
22
|
import { KeyResponseFromJSON } from '../models/KeyResponse.js';
|
package/src/apis/ExportsApi.cjs
CHANGED
|
@@ -21,6 +21,7 @@ require('../models/ExportFormatEnum.cjs');
|
|
|
21
21
|
require('../models/ExportModelEnum.cjs');
|
|
22
22
|
require('../models/ExportStatusEnum.cjs');
|
|
23
23
|
var ExportsResponse = require('../models/ExportsResponse.cjs');
|
|
24
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
24
25
|
require('../models/GateRuleType.cjs');
|
|
25
26
|
require('../models/InviteStatusEnum.cjs');
|
|
26
27
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/ExportsApi.js
CHANGED
|
@@ -17,6 +17,7 @@ import '../models/ExportFormatEnum.js';
|
|
|
17
17
|
import '../models/ExportModelEnum.js';
|
|
18
18
|
import '../models/ExportStatusEnum.js';
|
|
19
19
|
import { ExportsResponseFromJSON } from '../models/ExportsResponse.js';
|
|
20
|
+
import '../models/GateOutcomeEnum.js';
|
|
20
21
|
import '../models/GateRuleType.js';
|
|
21
22
|
import '../models/InviteStatusEnum.js';
|
|
22
23
|
import '../models/NextViewEnum.js';
|
package/src/apis/GatesApi.cjs
CHANGED
|
@@ -20,6 +20,7 @@ require('../models/ExportModelEnum.cjs');
|
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
21
|
var Gate = require('../models/Gate.cjs');
|
|
22
22
|
var GateCreateRequest = require('../models/GateCreateRequest.cjs');
|
|
23
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
23
24
|
require('../models/GateRuleType.cjs');
|
|
24
25
|
var GateUpdateRequest = require('../models/GateUpdateRequest.cjs');
|
|
25
26
|
var GatesResponse = require('../models/GatesResponse.cjs');
|
package/src/apis/GatesApi.js
CHANGED
|
@@ -16,6 +16,7 @@ import '../models/ExportModelEnum.js';
|
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
17
|
import { GateFromJSON } from '../models/Gate.js';
|
|
18
18
|
import { GateCreateRequestToJSON } from '../models/GateCreateRequest.js';
|
|
19
|
+
import '../models/GateOutcomeEnum.js';
|
|
19
20
|
import '../models/GateRuleType.js';
|
|
20
21
|
import { GateUpdateRequestToJSON } from '../models/GateUpdateRequest.js';
|
|
21
22
|
import { GatesResponseFromJSON } from '../models/GatesResponse.js';
|
package/src/apis/InvitesApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
require('../models/InviteStatusEnum.cjs');
|
|
23
24
|
var InviteSendRequest = require('../models/InviteSendRequest.cjs');
|
package/src/apis/InvitesApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import '../models/InviteStatusEnum.js';
|
|
19
20
|
import { InviteSendRequestToJSON } from '../models/InviteSendRequest.js';
|
package/src/apis/MembersApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
require('../models/InviteStatusEnum.cjs');
|
|
23
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/MembersApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import '../models/InviteStatusEnum.js';
|
|
19
20
|
import '../models/NextViewEnum.js';
|
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/OriginsApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
var InlineObject = require('../models/InlineObject.cjs');
|
|
23
24
|
var InlineResponse201 = require('../models/InlineResponse201.cjs');
|
package/src/apis/OriginsApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import { InlineObjectToJSON } from '../models/InlineObject.js';
|
|
19
20
|
import { InlineResponse201FromJSON } from '../models/InlineResponse201.js';
|
package/src/apis/ProjectsApi.cjs
CHANGED
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/ProjectsApi.js
CHANGED
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -23,6 +23,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
23
23
|
require('../models/ExportFormatEnum.cjs');
|
|
24
24
|
require('../models/ExportModelEnum.cjs');
|
|
25
25
|
require('../models/ExportStatusEnum.cjs');
|
|
26
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
26
27
|
require('../models/GateRuleType.cjs');
|
|
27
28
|
require('../models/InviteStatusEnum.cjs');
|
|
28
29
|
var JwksResponse = require('../models/JwksResponse.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -19,6 +19,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
19
19
|
import '../models/ExportFormatEnum.js';
|
|
20
20
|
import '../models/ExportModelEnum.js';
|
|
21
21
|
import '../models/ExportStatusEnum.js';
|
|
22
|
+
import '../models/GateOutcomeEnum.js';
|
|
22
23
|
import '../models/GateRuleType.js';
|
|
23
24
|
import '../models/InviteStatusEnum.js';
|
|
24
25
|
import { JwksResponseFromJSON } from '../models/JwksResponse.js';
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
require('../models/InviteStatusEnum.cjs');
|
|
23
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import '../models/InviteStatusEnum.js';
|
|
19
20
|
import '../models/NextViewEnum.js';
|
package/src/apis/SettingsApi.cjs
CHANGED
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/SettingsApi.js
CHANGED
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/TokensApi.cjs
CHANGED
|
@@ -19,6 +19,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
19
19
|
require('../models/ExportFormatEnum.cjs');
|
|
20
20
|
require('../models/ExportModelEnum.cjs');
|
|
21
21
|
require('../models/ExportStatusEnum.cjs');
|
|
22
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
22
23
|
require('../models/GateRuleType.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
|
24
25
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -15,6 +15,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
15
15
|
import '../models/ExportFormatEnum.js';
|
|
16
16
|
import '../models/ExportModelEnum.js';
|
|
17
17
|
import '../models/ExportStatusEnum.js';
|
|
18
|
+
import '../models/GateOutcomeEnum.js';
|
|
18
19
|
import '../models/GateRuleType.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
|
20
21
|
import '../models/NextViewEnum.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
var InternalUserFields = require('../models/InternalUserFields.cjs');
|
|
23
24
|
require('../models/InviteStatusEnum.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import { InternalUserFieldsToJSON } from '../models/InternalUserFields.js';
|
|
19
20
|
import '../models/InviteStatusEnum.js';
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
require('../models/InviteStatusEnum.cjs');
|
|
23
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import '../models/InviteStatusEnum.js';
|
|
19
20
|
import '../models/NextViewEnum.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -18,6 +18,7 @@ require('../models/UserFilterableFieldsEnum.cjs');
|
|
|
18
18
|
require('../models/ExportFormatEnum.cjs');
|
|
19
19
|
require('../models/ExportModelEnum.cjs');
|
|
20
20
|
require('../models/ExportStatusEnum.cjs');
|
|
21
|
+
require('../models/GateOutcomeEnum.cjs');
|
|
21
22
|
require('../models/GateRuleType.cjs');
|
|
22
23
|
require('../models/InviteStatusEnum.cjs');
|
|
23
24
|
require('../models/NextViewEnum.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -14,6 +14,7 @@ import '../models/UserFilterableFieldsEnum.js';
|
|
|
14
14
|
import '../models/ExportFormatEnum.js';
|
|
15
15
|
import '../models/ExportModelEnum.js';
|
|
16
16
|
import '../models/ExportStatusEnum.js';
|
|
17
|
+
import '../models/GateOutcomeEnum.js';
|
|
17
18
|
import '../models/GateRuleType.js';
|
|
18
19
|
import '../models/InviteStatusEnum.js';
|
|
19
20
|
import '../models/NextViewEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -66,6 +66,7 @@ var ForbiddenErrorPayload = require('./models/ForbiddenErrorPayload.cjs');
|
|
|
66
66
|
var ForbiddenWithErrorAndPayload = require('./models/ForbiddenWithErrorAndPayload.cjs');
|
|
67
67
|
var Gate = require('./models/Gate.cjs');
|
|
68
68
|
var GateCreateRequest = require('./models/GateCreateRequest.cjs');
|
|
69
|
+
var GateOutcomeEnum = require('./models/GateOutcomeEnum.cjs');
|
|
69
70
|
var GateRule = require('./models/GateRule.cjs');
|
|
70
71
|
var GateRuleFilter = require('./models/GateRuleFilter.cjs');
|
|
71
72
|
var GateRuleType = require('./models/GateRuleType.cjs');
|
|
@@ -383,6 +384,13 @@ exports.GateToJSON = Gate.GateToJSON;
|
|
|
383
384
|
exports.GateCreateRequestFromJSON = GateCreateRequest.GateCreateRequestFromJSON;
|
|
384
385
|
exports.GateCreateRequestFromJSONTyped = GateCreateRequest.GateCreateRequestFromJSONTyped;
|
|
385
386
|
exports.GateCreateRequestToJSON = GateCreateRequest.GateCreateRequestToJSON;
|
|
387
|
+
Object.defineProperty(exports, 'GateOutcomeEnum', {
|
|
388
|
+
enumerable: true,
|
|
389
|
+
get: function () { return GateOutcomeEnum.GateOutcomeEnum; }
|
|
390
|
+
});
|
|
391
|
+
exports.GateOutcomeEnumFromJSON = GateOutcomeEnum.GateOutcomeEnumFromJSON;
|
|
392
|
+
exports.GateOutcomeEnumFromJSONTyped = GateOutcomeEnum.GateOutcomeEnumFromJSONTyped;
|
|
393
|
+
exports.GateOutcomeEnumToJSON = GateOutcomeEnum.GateOutcomeEnumToJSON;
|
|
386
394
|
exports.GateRuleFromJSON = GateRule.GateRuleFromJSON;
|
|
387
395
|
exports.GateRuleFromJSONTyped = GateRule.GateRuleFromJSONTyped;
|
|
388
396
|
exports.GateRuleToJSON = GateRule.GateRuleToJSON;
|
package/src/index.js
CHANGED
|
@@ -62,6 +62,7 @@ export { ForbiddenErrorPayloadFromJSON, ForbiddenErrorPayloadFromJSONTyped, Forb
|
|
|
62
62
|
export { ForbiddenWithErrorAndPayloadFromJSON, ForbiddenWithErrorAndPayloadFromJSONTyped, ForbiddenWithErrorAndPayloadToJSON } from './models/ForbiddenWithErrorAndPayload.js';
|
|
63
63
|
export { GateFromJSON, GateFromJSONTyped, GateToJSON } from './models/Gate.js';
|
|
64
64
|
export { GateCreateRequestFromJSON, GateCreateRequestFromJSONTyped, GateCreateRequestToJSON } from './models/GateCreateRequest.js';
|
|
65
|
+
export { GateOutcomeEnum, GateOutcomeEnumFromJSON, GateOutcomeEnumFromJSONTyped, GateOutcomeEnumToJSON } from './models/GateOutcomeEnum.js';
|
|
65
66
|
export { GateRuleFromJSON, GateRuleFromJSONTyped, GateRuleToJSON } from './models/GateRule.js';
|
|
66
67
|
export { GateRuleFilterFromJSON, GateRuleFilterFromJSONTyped, GateRuleFilterToJSON } from './models/GateRuleFilter.js';
|
|
67
68
|
export { GateRuleType, GateRuleTypeFromJSON, GateRuleTypeFromJSONTyped, GateRuleTypeToJSON } from './models/GateRuleType.js';
|
package/src/models/Gate.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
|
var GateRule = require('./GateRule.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -16,9 +17,10 @@ function GateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
return {
|
|
17
18
|
'id': json['id'],
|
|
18
19
|
'name': json['name'],
|
|
19
|
-
'scope': json['scope'],
|
|
20
|
+
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
20
21
|
'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
|
|
21
22
|
'rules': (json['rules'].map(GateRule.GateRuleFromJSON)),
|
|
23
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumFromJSON(json['outcome']),
|
|
22
24
|
};
|
|
23
25
|
}
|
|
24
26
|
function GateToJSON(value) {
|
|
@@ -34,6 +36,7 @@ function GateToJSON(value) {
|
|
|
34
36
|
'scope': value.scope,
|
|
35
37
|
'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
|
|
36
38
|
'rules': (value.rules.map(GateRule.GateRuleToJSON)),
|
|
39
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumToJSON(value.outcome),
|
|
37
40
|
};
|
|
38
41
|
}
|
|
39
42
|
|
package/src/models/Gate.d.ts
CHANGED
|
@@ -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
|
import { GateRule } from './GateRule';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -29,11 +30,11 @@ export interface Gate {
|
|
|
29
30
|
*/
|
|
30
31
|
name: string;
|
|
31
32
|
/**
|
|
32
|
-
* String for the resulting scope of the gate. If the rules of the gate apply to the user being verified, then this scope will be surfaced in the JWT
|
|
33
|
+
* String for the resulting scope of the gate. If the rules of the gate apply to the user being verified, then this scope will be surfaced in the JWT. If a scope is not provided for the gate, the default behavior of the gate would be to block access to users that the rules do not currently apply to.
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof Gate
|
|
35
36
|
*/
|
|
36
|
-
scope
|
|
37
|
+
scope?: string;
|
|
37
38
|
/**
|
|
38
39
|
* If the gate is enabled, then this timestamp will be present.
|
|
39
40
|
* @type {Date}
|
|
@@ -46,6 +47,12 @@ export interface Gate {
|
|
|
46
47
|
* @memberof Gate
|
|
47
48
|
*/
|
|
48
49
|
rules: Array<GateRule>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {GateOutcomeEnum}
|
|
53
|
+
* @memberof Gate
|
|
54
|
+
*/
|
|
55
|
+
outcome: GateOutcomeEnum;
|
|
49
56
|
}
|
|
50
57
|
export declare function GateFromJSON(json: any): Gate;
|
|
51
58
|
export declare function GateFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gate;
|
package/src/models/Gate.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { GateOutcomeEnumFromJSON, GateOutcomeEnumToJSON } from './GateOutcomeEnum.js';
|
|
2
3
|
import { GateRuleFromJSON, GateRuleToJSON } from './GateRule.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -12,9 +13,10 @@ function GateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
return {
|
|
13
14
|
'id': json['id'],
|
|
14
15
|
'name': json['name'],
|
|
15
|
-
'scope': json['scope'],
|
|
16
|
+
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
16
17
|
'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
|
|
17
18
|
'rules': (json['rules'].map(GateRuleFromJSON)),
|
|
19
|
+
'outcome': GateOutcomeEnumFromJSON(json['outcome']),
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
function GateToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function GateToJSON(value) {
|
|
|
30
32
|
'scope': value.scope,
|
|
31
33
|
'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
|
|
32
34
|
'rules': (value.rules.map(GateRuleToJSON)),
|
|
35
|
+
'outcome': GateOutcomeEnumToJSON(value.outcome),
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var GateOutcomeEnum = require('./GateOutcomeEnum.cjs');
|
|
5
7
|
var GateRule = require('./GateRule.cjs');
|
|
6
8
|
|
|
7
9
|
/* tslint:disable */
|
|
@@ -14,7 +16,8 @@ function GateCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
16
|
}
|
|
15
17
|
return {
|
|
16
18
|
'name': json['name'],
|
|
17
|
-
'
|
|
19
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumFromJSON(json['outcome']),
|
|
20
|
+
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
18
21
|
'rules': (json['rules'].map(GateRule.GateRuleFromJSON)),
|
|
19
22
|
};
|
|
20
23
|
}
|
|
@@ -27,6 +30,7 @@ function GateCreateRequestToJSON(value) {
|
|
|
27
30
|
}
|
|
28
31
|
return {
|
|
29
32
|
'name': value.name,
|
|
33
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumToJSON(value.outcome),
|
|
30
34
|
'scope': value.scope,
|
|
31
35
|
'rules': (value.rules.map(GateRule.GateRuleToJSON)),
|
|
32
36
|
};
|
|
@@ -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
|
import { GateRule } from './GateRule';
|
|
13
14
|
/**
|
|
14
15
|
* Request body to create a new gate. The gate will be not enabled by default.
|
|
@@ -23,11 +24,17 @@ export interface GateCreateRequest {
|
|
|
23
24
|
*/
|
|
24
25
|
name: string;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
+
*
|
|
28
|
+
* @type {GateOutcomeEnum}
|
|
29
|
+
* @memberof GateCreateRequest
|
|
30
|
+
*/
|
|
31
|
+
outcome: GateOutcomeEnum;
|
|
32
|
+
/**
|
|
33
|
+
* String for the resulting scope of the gate. If the rules of the gate apply to the user being verified, then this scope will be surfaced in the JWT. If a scope is not provided for the gate, the default behavior of the gate would be to block access to users that the rules do not currently apply to.
|
|
27
34
|
* @type {string}
|
|
28
35
|
* @memberof GateCreateRequest
|
|
29
36
|
*/
|
|
30
|
-
scope
|
|
37
|
+
scope?: string;
|
|
31
38
|
/**
|
|
32
39
|
* The rules which will be used to evaluate users being verified. If multiple rules are present in a single gate, then all the rules need to apply for the user to gain the scope defined by the gate.
|
|
33
40
|
* @type {Array<GateRule>}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { GateOutcomeEnumFromJSON, GateOutcomeEnumToJSON } from './GateOutcomeEnum.js';
|
|
1
3
|
import { GateRuleFromJSON, GateRuleToJSON } from './GateRule.js';
|
|
2
4
|
|
|
3
5
|
/* tslint:disable */
|
|
@@ -10,7 +12,8 @@ function GateCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
12
|
}
|
|
11
13
|
return {
|
|
12
14
|
'name': json['name'],
|
|
13
|
-
'
|
|
15
|
+
'outcome': GateOutcomeEnumFromJSON(json['outcome']),
|
|
16
|
+
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
14
17
|
'rules': (json['rules'].map(GateRuleFromJSON)),
|
|
15
18
|
};
|
|
16
19
|
}
|
|
@@ -23,6 +26,7 @@ function GateCreateRequestToJSON(value) {
|
|
|
23
26
|
}
|
|
24
27
|
return {
|
|
25
28
|
'name': value.name,
|
|
29
|
+
'outcome': GateOutcomeEnumToJSON(value.outcome),
|
|
26
30
|
'scope': value.scope,
|
|
27
31
|
'rules': (value.rules.map(GateRuleToJSON)),
|
|
28
32
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* 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
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.GateOutcomeEnum = void 0;
|
|
24
|
+
(function (GateOutcomeEnum) {
|
|
25
|
+
GateOutcomeEnum["Block"] = "block";
|
|
26
|
+
GateOutcomeEnum["Scope"] = "scope";
|
|
27
|
+
})(exports.GateOutcomeEnum || (exports.GateOutcomeEnum = {}));
|
|
28
|
+
function GateOutcomeEnumFromJSON(json) {
|
|
29
|
+
return GateOutcomeEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function GateOutcomeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function GateOutcomeEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.GateOutcomeEnumFromJSON = GateOutcomeEnumFromJSON;
|
|
39
|
+
exports.GateOutcomeEnumFromJSONTyped = GateOutcomeEnumFromJSONTyped;
|
|
40
|
+
exports.GateOutcomeEnumToJSON = GateOutcomeEnumToJSON;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum GateOutcomeEnum {
|
|
18
|
+
Block = "block",
|
|
19
|
+
Scope = "scope"
|
|
20
|
+
}
|
|
21
|
+
export declare function GateOutcomeEnumFromJSON(json: any): GateOutcomeEnum;
|
|
22
|
+
export declare function GateOutcomeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GateOutcomeEnum;
|
|
23
|
+
export declare function GateOutcomeEnumToJSON(value?: GateOutcomeEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* 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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var GateOutcomeEnum;
|
|
20
|
+
(function (GateOutcomeEnum) {
|
|
21
|
+
GateOutcomeEnum["Block"] = "block";
|
|
22
|
+
GateOutcomeEnum["Scope"] = "scope";
|
|
23
|
+
})(GateOutcomeEnum || (GateOutcomeEnum = {}));
|
|
24
|
+
function GateOutcomeEnumFromJSON(json) {
|
|
25
|
+
return GateOutcomeEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function GateOutcomeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function GateOutcomeEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { GateOutcomeEnum, GateOutcomeEnumFromJSON, GateOutcomeEnumFromJSONTyped, GateOutcomeEnumToJSON };
|
|
@@ -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
|
var GateRule = require('./GateRule.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
@@ -15,6 +16,7 @@ function GateUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
16
|
}
|
|
16
17
|
return {
|
|
17
18
|
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
19
|
+
'outcome': !runtime.exists(json, 'outcome') ? undefined : GateOutcomeEnum.GateOutcomeEnumFromJSON(json['outcome']),
|
|
18
20
|
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
19
21
|
'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(GateRule.GateRuleFromJSON)),
|
|
20
22
|
};
|
|
@@ -28,6 +30,7 @@ function GateUpdateRequestToJSON(value) {
|
|
|
28
30
|
}
|
|
29
31
|
return {
|
|
30
32
|
'name': value.name,
|
|
33
|
+
'outcome': GateOutcomeEnum.GateOutcomeEnumToJSON(value.outcome),
|
|
31
34
|
'scope': value.scope,
|
|
32
35
|
'rules': value.rules === undefined ? undefined : (value.rules.map(GateRule.GateRuleToJSON)),
|
|
33
36
|
};
|
|
@@ -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
|
import { GateRule } from './GateRule';
|
|
13
14
|
/**
|
|
14
15
|
* Request body to update an existing gate. This will not affect whether a gate is enabled or not.
|
|
@@ -22,6 +23,12 @@ export interface GateUpdateRequest {
|
|
|
22
23
|
* @memberof GateUpdateRequest
|
|
23
24
|
*/
|
|
24
25
|
name?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {GateOutcomeEnum}
|
|
29
|
+
* @memberof GateUpdateRequest
|
|
30
|
+
*/
|
|
31
|
+
outcome?: GateOutcomeEnum;
|
|
25
32
|
/**
|
|
26
33
|
* String for the resulting scope of the gate. If the rules of the gate apply to the user being verified, then this scope will be surfaced in the JWT
|
|
27
34
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { GateOutcomeEnumFromJSON, GateOutcomeEnumToJSON } from './GateOutcomeEnum.js';
|
|
2
3
|
import { GateRuleFromJSON, GateRuleToJSON } from './GateRule.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
@@ -11,6 +12,7 @@ function GateUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
12
|
}
|
|
12
13
|
return {
|
|
13
14
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
15
|
+
'outcome': !exists(json, 'outcome') ? undefined : GateOutcomeEnumFromJSON(json['outcome']),
|
|
14
16
|
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
15
17
|
'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(GateRuleFromJSON)),
|
|
16
18
|
};
|
|
@@ -24,6 +26,7 @@ function GateUpdateRequestToJSON(value) {
|
|
|
24
26
|
}
|
|
25
27
|
return {
|
|
26
28
|
'name': value.name,
|
|
29
|
+
'outcome': GateOutcomeEnumToJSON(value.outcome),
|
|
27
30
|
'scope': value.scope,
|
|
28
31
|
'rules': value.rules === undefined ? undefined : (value.rules.map(GateRuleToJSON)),
|
|
29
32
|
};
|
package/src/models/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './ForbiddenErrorPayload';
|
|
|
42
42
|
export * from './ForbiddenWithErrorAndPayload';
|
|
43
43
|
export * from './Gate';
|
|
44
44
|
export * from './GateCreateRequest';
|
|
45
|
+
export * from './GateOutcomeEnum';
|
|
45
46
|
export * from './GateRule';
|
|
46
47
|
export * from './GateRuleFilter';
|
|
47
48
|
export * from './GateRuleType';
|