@dynamic-labs/sdk-api 0.0.208 → 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.
Files changed (60) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +2 -0
  3. package/src/apis/AllowlistsApi.js +2 -0
  4. package/src/apis/AnalyticsApi.cjs +2 -0
  5. package/src/apis/AnalyticsApi.js +2 -0
  6. package/src/apis/ChainalysisApi.cjs +2 -0
  7. package/src/apis/ChainalysisApi.js +2 -0
  8. package/src/apis/ChainsApi.cjs +2 -0
  9. package/src/apis/ChainsApi.js +2 -0
  10. package/src/apis/EnvironmentsApi.cjs +2 -0
  11. package/src/apis/EnvironmentsApi.js +2 -0
  12. package/src/apis/ExportsApi.cjs +2 -0
  13. package/src/apis/ExportsApi.js +2 -0
  14. package/src/apis/GatesApi.cjs +2 -0
  15. package/src/apis/GatesApi.js +2 -0
  16. package/src/apis/InvitesApi.cjs +2 -0
  17. package/src/apis/InvitesApi.js +2 -0
  18. package/src/apis/MembersApi.cjs +2 -0
  19. package/src/apis/MembersApi.js +2 -0
  20. package/src/apis/OrganizationsApi.cjs +2 -0
  21. package/src/apis/OrganizationsApi.js +2 -0
  22. package/src/apis/OriginsApi.cjs +2 -0
  23. package/src/apis/OriginsApi.js +2 -0
  24. package/src/apis/ProjectsApi.cjs +2 -0
  25. package/src/apis/ProjectsApi.js +2 -0
  26. package/src/apis/SDKApi.cjs +2 -0
  27. package/src/apis/SDKApi.js +2 -0
  28. package/src/apis/SessionsApi.cjs +2 -0
  29. package/src/apis/SessionsApi.js +2 -0
  30. package/src/apis/SettingsApi.cjs +2 -0
  31. package/src/apis/SettingsApi.js +2 -0
  32. package/src/apis/TokensApi.cjs +2 -0
  33. package/src/apis/TokensApi.js +2 -0
  34. package/src/apis/UsersApi.cjs +2 -0
  35. package/src/apis/UsersApi.js +2 -0
  36. package/src/apis/VisitsApi.cjs +2 -0
  37. package/src/apis/VisitsApi.js +2 -0
  38. package/src/apis/WalletsApi.cjs +2 -0
  39. package/src/apis/WalletsApi.js +2 -0
  40. package/src/index.cjs +16 -0
  41. package/src/index.js +2 -0
  42. package/src/models/Export.cjs +5 -0
  43. package/src/models/Export.d.ts +13 -0
  44. package/src/models/Export.js +5 -0
  45. package/src/models/ExportStatusEnum.cjs +41 -0
  46. package/src/models/ExportStatusEnum.d.ts +24 -0
  47. package/src/models/ExportStatusEnum.js +35 -0
  48. package/src/models/Gate.cjs +4 -1
  49. package/src/models/Gate.d.ts +9 -2
  50. package/src/models/Gate.js +4 -1
  51. package/src/models/GateCreateRequest.cjs +5 -1
  52. package/src/models/GateCreateRequest.d.ts +9 -2
  53. package/src/models/GateCreateRequest.js +5 -1
  54. package/src/models/GateOutcomeEnum.cjs +40 -0
  55. package/src/models/GateOutcomeEnum.d.ts +23 -0
  56. package/src/models/GateOutcomeEnum.js +34 -0
  57. package/src/models/GateUpdateRequest.cjs +3 -0
  58. package/src/models/GateUpdateRequest.d.ts +7 -0
  59. package/src/models/GateUpdateRequest.js +3 -0
  60. package/src/models/index.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.208",
3
+ "version": "0.0.210",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -20,6 +20,8 @@ require('../models/SocialSignInProviderEnum.cjs');
20
20
  require('../models/UserFilterableFieldsEnum.cjs');
21
21
  require('../models/ExportFormatEnum.cjs');
22
22
  require('../models/ExportModelEnum.cjs');
23
+ require('../models/ExportStatusEnum.cjs');
24
+ require('../models/GateOutcomeEnum.cjs');
23
25
  require('../models/GateRuleType.cjs');
24
26
  require('../models/InviteStatusEnum.cjs');
25
27
  require('../models/NextViewEnum.cjs');
@@ -16,6 +16,8 @@ import '../models/SocialSignInProviderEnum.js';
16
16
  import '../models/UserFilterableFieldsEnum.js';
17
17
  import '../models/ExportFormatEnum.js';
18
18
  import '../models/ExportModelEnum.js';
19
+ import '../models/ExportStatusEnum.js';
20
+ import '../models/GateOutcomeEnum.js';
19
21
  import '../models/GateRuleType.js';
20
22
  import '../models/InviteStatusEnum.js';
21
23
  import '../models/NextViewEnum.js';
@@ -18,6 +18,8 @@ require('../models/SocialSignInProviderEnum.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import '../models/SocialSignInProviderEnum.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -18,6 +18,8 @@ require('../models/SocialSignInProviderEnum.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import '../models/SocialSignInProviderEnum.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -18,6 +18,8 @@ require('../models/SocialSignInProviderEnum.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import '../models/SocialSignInProviderEnum.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -19,6 +19,8 @@ var ProjectEnvironment = require('../models/ProjectEnvironment.cjs');
19
19
  require('../models/UserFilterableFieldsEnum.cjs');
20
20
  require('../models/ExportFormatEnum.cjs');
21
21
  require('../models/ExportModelEnum.cjs');
22
+ require('../models/ExportStatusEnum.cjs');
23
+ require('../models/GateOutcomeEnum.cjs');
22
24
  require('../models/GateRuleType.cjs');
23
25
  require('../models/InviteStatusEnum.cjs');
24
26
  var KeyResponse = require('../models/KeyResponse.cjs');
@@ -15,6 +15,8 @@ import { ProjectEnvironmentFromJSON } from '../models/ProjectEnvironment.js';
15
15
  import '../models/UserFilterableFieldsEnum.js';
16
16
  import '../models/ExportFormatEnum.js';
17
17
  import '../models/ExportModelEnum.js';
18
+ import '../models/ExportStatusEnum.js';
19
+ import '../models/GateOutcomeEnum.js';
18
20
  import '../models/GateRuleType.js';
19
21
  import '../models/InviteStatusEnum.js';
20
22
  import { KeyResponseFromJSON } from '../models/KeyResponse.js';
@@ -19,7 +19,9 @@ var ExportCreateRequest = require('../models/ExportCreateRequest.cjs');
19
19
  require('../models/UserFilterableFieldsEnum.cjs');
20
20
  require('../models/ExportFormatEnum.cjs');
21
21
  require('../models/ExportModelEnum.cjs');
22
+ require('../models/ExportStatusEnum.cjs');
22
23
  var ExportsResponse = require('../models/ExportsResponse.cjs');
24
+ require('../models/GateOutcomeEnum.cjs');
23
25
  require('../models/GateRuleType.cjs');
24
26
  require('../models/InviteStatusEnum.cjs');
25
27
  require('../models/NextViewEnum.cjs');
@@ -15,7 +15,9 @@ import { ExportCreateRequestToJSON } from '../models/ExportCreateRequest.js';
15
15
  import '../models/UserFilterableFieldsEnum.js';
16
16
  import '../models/ExportFormatEnum.js';
17
17
  import '../models/ExportModelEnum.js';
18
+ import '../models/ExportStatusEnum.js';
18
19
  import { ExportsResponseFromJSON } from '../models/ExportsResponse.js';
20
+ import '../models/GateOutcomeEnum.js';
19
21
  import '../models/GateRuleType.js';
20
22
  import '../models/InviteStatusEnum.js';
21
23
  import '../models/NextViewEnum.js';
@@ -17,8 +17,10 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
20
21
  var Gate = require('../models/Gate.cjs');
21
22
  var GateCreateRequest = require('../models/GateCreateRequest.cjs');
23
+ require('../models/GateOutcomeEnum.cjs');
22
24
  require('../models/GateRuleType.cjs');
23
25
  var GateUpdateRequest = require('../models/GateUpdateRequest.cjs');
24
26
  var GatesResponse = require('../models/GatesResponse.cjs');
@@ -13,8 +13,10 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
16
17
  import { GateFromJSON } from '../models/Gate.js';
17
18
  import { GateCreateRequestToJSON } from '../models/GateCreateRequest.js';
19
+ import '../models/GateOutcomeEnum.js';
18
20
  import '../models/GateRuleType.js';
19
21
  import { GateUpdateRequestToJSON } from '../models/GateUpdateRequest.js';
20
22
  import { GatesResponseFromJSON } from '../models/GatesResponse.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  require('../models/InviteStatusEnum.cjs');
22
24
  var InviteSendRequest = require('../models/InviteSendRequest.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import '../models/InviteStatusEnum.js';
18
20
  import { InviteSendRequestToJSON } from '../models/InviteSendRequest.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  require('../models/InviteStatusEnum.cjs');
22
24
  require('../models/NextViewEnum.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import '../models/InviteStatusEnum.js';
18
20
  import '../models/NextViewEnum.js';
@@ -18,6 +18,8 @@ require('../models/SocialSignInProviderEnum.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import '../models/SocialSignInProviderEnum.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  var InlineObject = require('../models/InlineObject.cjs');
22
24
  var InlineResponse201 = require('../models/InlineResponse201.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import { InlineObjectToJSON } from '../models/InlineObject.js';
18
20
  import { InlineResponse201FromJSON } from '../models/InlineResponse201.js';
@@ -18,6 +18,8 @@ require('../models/SocialSignInProviderEnum.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import '../models/SocialSignInProviderEnum.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -22,6 +22,8 @@ var ProjectSettings = require('../models/ProjectSettings.cjs');
22
22
  require('../models/UserFilterableFieldsEnum.cjs');
23
23
  require('../models/ExportFormatEnum.cjs');
24
24
  require('../models/ExportModelEnum.cjs');
25
+ require('../models/ExportStatusEnum.cjs');
26
+ require('../models/GateOutcomeEnum.cjs');
25
27
  require('../models/GateRuleType.cjs');
26
28
  require('../models/InviteStatusEnum.cjs');
27
29
  var JwksResponse = require('../models/JwksResponse.cjs');
@@ -18,6 +18,8 @@ import { ProjectSettingsFromJSON } from '../models/ProjectSettings.js';
18
18
  import '../models/UserFilterableFieldsEnum.js';
19
19
  import '../models/ExportFormatEnum.js';
20
20
  import '../models/ExportModelEnum.js';
21
+ import '../models/ExportStatusEnum.js';
22
+ import '../models/GateOutcomeEnum.js';
21
23
  import '../models/GateRuleType.js';
22
24
  import '../models/InviteStatusEnum.js';
23
25
  import { JwksResponseFromJSON } from '../models/JwksResponse.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  require('../models/InviteStatusEnum.cjs');
22
24
  require('../models/NextViewEnum.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import '../models/InviteStatusEnum.js';
18
20
  import '../models/NextViewEnum.js';
@@ -18,6 +18,8 @@ var Provider = require('../models/Provider.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import { ProviderFromJSON } from '../models/Provider.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -18,6 +18,8 @@ require('../models/SocialSignInProviderEnum.cjs');
18
18
  require('../models/UserFilterableFieldsEnum.cjs');
19
19
  require('../models/ExportFormatEnum.cjs');
20
20
  require('../models/ExportModelEnum.cjs');
21
+ require('../models/ExportStatusEnum.cjs');
22
+ require('../models/GateOutcomeEnum.cjs');
21
23
  require('../models/GateRuleType.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
23
25
  require('../models/NextViewEnum.cjs');
@@ -14,6 +14,8 @@ import '../models/SocialSignInProviderEnum.js';
14
14
  import '../models/UserFilterableFieldsEnum.js';
15
15
  import '../models/ExportFormatEnum.js';
16
16
  import '../models/ExportModelEnum.js';
17
+ import '../models/ExportStatusEnum.js';
18
+ import '../models/GateOutcomeEnum.js';
17
19
  import '../models/GateRuleType.js';
18
20
  import '../models/InviteStatusEnum.js';
19
21
  import '../models/NextViewEnum.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  var InternalUserFields = require('../models/InternalUserFields.cjs');
22
24
  require('../models/InviteStatusEnum.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import { InternalUserFieldsToJSON } from '../models/InternalUserFields.js';
18
20
  import '../models/InviteStatusEnum.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  require('../models/InviteStatusEnum.cjs');
22
24
  require('../models/NextViewEnum.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import '../models/InviteStatusEnum.js';
18
20
  import '../models/NextViewEnum.js';
@@ -17,6 +17,8 @@ require('../models/SocialSignInProviderEnum.cjs');
17
17
  require('../models/UserFilterableFieldsEnum.cjs');
18
18
  require('../models/ExportFormatEnum.cjs');
19
19
  require('../models/ExportModelEnum.cjs');
20
+ require('../models/ExportStatusEnum.cjs');
21
+ require('../models/GateOutcomeEnum.cjs');
20
22
  require('../models/GateRuleType.cjs');
21
23
  require('../models/InviteStatusEnum.cjs');
22
24
  require('../models/NextViewEnum.cjs');
@@ -13,6 +13,8 @@ import '../models/SocialSignInProviderEnum.js';
13
13
  import '../models/UserFilterableFieldsEnum.js';
14
14
  import '../models/ExportFormatEnum.js';
15
15
  import '../models/ExportModelEnum.js';
16
+ import '../models/ExportStatusEnum.js';
17
+ import '../models/GateOutcomeEnum.js';
16
18
  import '../models/GateRuleType.js';
17
19
  import '../models/InviteStatusEnum.js';
18
20
  import '../models/NextViewEnum.js';
package/src/index.cjs CHANGED
@@ -59,12 +59,14 @@ var ExportCreateRequest = require('./models/ExportCreateRequest.cjs');
59
59
  var ExportCreateRequestFilter = require('./models/ExportCreateRequestFilter.cjs');
60
60
  var ExportFormatEnum = require('./models/ExportFormatEnum.cjs');
61
61
  var ExportModelEnum = require('./models/ExportModelEnum.cjs');
62
+ var ExportStatusEnum = require('./models/ExportStatusEnum.cjs');
62
63
  var ExportsResponse = require('./models/ExportsResponse.cjs');
63
64
  var Forbidden = require('./models/Forbidden.cjs');
64
65
  var ForbiddenErrorPayload = require('./models/ForbiddenErrorPayload.cjs');
65
66
  var ForbiddenWithErrorAndPayload = require('./models/ForbiddenWithErrorAndPayload.cjs');
66
67
  var Gate = require('./models/Gate.cjs');
67
68
  var GateCreateRequest = require('./models/GateCreateRequest.cjs');
69
+ var GateOutcomeEnum = require('./models/GateOutcomeEnum.cjs');
68
70
  var GateRule = require('./models/GateRule.cjs');
69
71
  var GateRuleFilter = require('./models/GateRuleFilter.cjs');
70
72
  var GateRuleType = require('./models/GateRuleType.cjs');
@@ -357,6 +359,13 @@ Object.defineProperty(exports, 'ExportModelEnum', {
357
359
  exports.ExportModelEnumFromJSON = ExportModelEnum.ExportModelEnumFromJSON;
358
360
  exports.ExportModelEnumFromJSONTyped = ExportModelEnum.ExportModelEnumFromJSONTyped;
359
361
  exports.ExportModelEnumToJSON = ExportModelEnum.ExportModelEnumToJSON;
362
+ Object.defineProperty(exports, 'ExportStatusEnum', {
363
+ enumerable: true,
364
+ get: function () { return ExportStatusEnum.ExportStatusEnum; }
365
+ });
366
+ exports.ExportStatusEnumFromJSON = ExportStatusEnum.ExportStatusEnumFromJSON;
367
+ exports.ExportStatusEnumFromJSONTyped = ExportStatusEnum.ExportStatusEnumFromJSONTyped;
368
+ exports.ExportStatusEnumToJSON = ExportStatusEnum.ExportStatusEnumToJSON;
360
369
  exports.ExportsResponseFromJSON = ExportsResponse.ExportsResponseFromJSON;
361
370
  exports.ExportsResponseFromJSONTyped = ExportsResponse.ExportsResponseFromJSONTyped;
362
371
  exports.ExportsResponseToJSON = ExportsResponse.ExportsResponseToJSON;
@@ -375,6 +384,13 @@ exports.GateToJSON = Gate.GateToJSON;
375
384
  exports.GateCreateRequestFromJSON = GateCreateRequest.GateCreateRequestFromJSON;
376
385
  exports.GateCreateRequestFromJSONTyped = GateCreateRequest.GateCreateRequestFromJSONTyped;
377
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;
378
394
  exports.GateRuleFromJSON = GateRule.GateRuleFromJSON;
379
395
  exports.GateRuleFromJSONTyped = GateRule.GateRuleFromJSONTyped;
380
396
  exports.GateRuleToJSON = GateRule.GateRuleToJSON;
package/src/index.js CHANGED
@@ -55,12 +55,14 @@ export { ExportCreateRequestFromJSON, ExportCreateRequestFromJSONTyped, ExportCr
55
55
  export { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterFromJSONTyped, ExportCreateRequestFilterToJSON } from './models/ExportCreateRequestFilter.js';
56
56
  export { ExportFormatEnum, ExportFormatEnumFromJSON, ExportFormatEnumFromJSONTyped, ExportFormatEnumToJSON } from './models/ExportFormatEnum.js';
57
57
  export { ExportModelEnum, ExportModelEnumFromJSON, ExportModelEnumFromJSONTyped, ExportModelEnumToJSON } from './models/ExportModelEnum.js';
58
+ export { ExportStatusEnum, ExportStatusEnumFromJSON, ExportStatusEnumFromJSONTyped, ExportStatusEnumToJSON } from './models/ExportStatusEnum.js';
58
59
  export { ExportsResponseFromJSON, ExportsResponseFromJSONTyped, ExportsResponseToJSON } from './models/ExportsResponse.js';
59
60
  export { ForbiddenFromJSON, ForbiddenFromJSONTyped, ForbiddenToJSON } from './models/Forbidden.js';
60
61
  export { ForbiddenErrorPayloadFromJSON, ForbiddenErrorPayloadFromJSONTyped, ForbiddenErrorPayloadToJSON } from './models/ForbiddenErrorPayload.js';
61
62
  export { ForbiddenWithErrorAndPayloadFromJSON, ForbiddenWithErrorAndPayloadFromJSONTyped, ForbiddenWithErrorAndPayloadToJSON } from './models/ForbiddenWithErrorAndPayload.js';
62
63
  export { GateFromJSON, GateFromJSONTyped, GateToJSON } from './models/Gate.js';
63
64
  export { GateCreateRequestFromJSON, GateCreateRequestFromJSONTyped, GateCreateRequestToJSON } from './models/GateCreateRequest.js';
65
+ export { GateOutcomeEnum, GateOutcomeEnumFromJSON, GateOutcomeEnumFromJSONTyped, GateOutcomeEnumToJSON } from './models/GateOutcomeEnum.js';
64
66
  export { GateRuleFromJSON, GateRuleFromJSONTyped, GateRuleToJSON } from './models/GateRule.js';
65
67
  export { GateRuleFilterFromJSON, GateRuleFilterFromJSONTyped, GateRuleFilterToJSON } from './models/GateRuleFilter.js';
66
68
  export { GateRuleType, GateRuleTypeFromJSON, GateRuleTypeFromJSONTyped, GateRuleTypeToJSON } from './models/GateRuleType.js';
@@ -6,6 +6,7 @@ var runtime = require('../runtime.cjs');
6
6
  var ExportCreateRequestFilter = require('./ExportCreateRequestFilter.cjs');
7
7
  var ExportFormatEnum = require('./ExportFormatEnum.cjs');
8
8
  var ExportModelEnum = require('./ExportModelEnum.cjs');
9
+ var ExportStatusEnum = require('./ExportStatusEnum.cjs');
9
10
 
10
11
  /* tslint:disable */
11
12
  function ExportFromJSON(json) {
@@ -19,10 +20,12 @@ function ExportFromJSONTyped(json, ignoreDiscriminator) {
19
20
  'id': json['id'],
20
21
  'format': ExportFormatEnum.ExportFormatEnumFromJSON(json['format']),
21
22
  'model': ExportModelEnum.ExportModelEnumFromJSON(json['model']),
23
+ 'status': ExportStatusEnum.ExportStatusEnumFromJSON(json['status']),
22
24
  'filter': ExportCreateRequestFilter.ExportCreateRequestFilterFromJSON(json['filter']),
23
25
  'createdAt': (new Date(json['createdAt'])),
24
26
  'startedAt': !runtime.exists(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
25
27
  'completedAt': !runtime.exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
28
+ 'downloadUrl': !runtime.exists(json, 'downloadUrl') ? undefined : json['downloadUrl'],
26
29
  'error': !runtime.exists(json, 'error') ? undefined : json['error'],
27
30
  };
28
31
  }
@@ -37,10 +40,12 @@ function ExportToJSON(value) {
37
40
  'id': value.id,
38
41
  'format': ExportFormatEnum.ExportFormatEnumToJSON(value.format),
39
42
  'model': ExportModelEnum.ExportModelEnumToJSON(value.model),
43
+ 'status': ExportStatusEnum.ExportStatusEnumToJSON(value.status),
40
44
  'filter': ExportCreateRequestFilter.ExportCreateRequestFilterToJSON(value.filter),
41
45
  'createdAt': (value.createdAt.toISOString()),
42
46
  'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
43
47
  'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
48
+ 'downloadUrl': value.downloadUrl,
44
49
  'error': value.error,
45
50
  };
46
51
  }
@@ -12,6 +12,7 @@
12
12
  import { ExportCreateRequestFilter } from './ExportCreateRequestFilter';
13
13
  import { ExportFormatEnum } from './ExportFormatEnum';
14
14
  import { ExportModelEnum } from './ExportModelEnum';
15
+ import { ExportStatusEnum } from './ExportStatusEnum';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -36,6 +37,12 @@ export interface Export {
36
37
  * @memberof Export
37
38
  */
38
39
  model: ExportModelEnum;
40
+ /**
41
+ *
42
+ * @type {ExportStatusEnum}
43
+ * @memberof Export
44
+ */
45
+ status: ExportStatusEnum;
39
46
  /**
40
47
  *
41
48
  * @type {ExportCreateRequestFilter}
@@ -60,6 +67,12 @@ export interface Export {
60
67
  * @memberof Export
61
68
  */
62
69
  completedAt?: Date | null;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof Export
74
+ */
75
+ downloadUrl?: string;
63
76
  /**
64
77
  * When defined, this is the error message and stack trace received when attempting to process the export.
65
78
  * @type {string}
@@ -2,6 +2,7 @@ import { exists } from '../runtime.js';
2
2
  import { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterToJSON } from './ExportCreateRequestFilter.js';
3
3
  import { ExportFormatEnumFromJSON, ExportFormatEnumToJSON } from './ExportFormatEnum.js';
4
4
  import { ExportModelEnumFromJSON, ExportModelEnumToJSON } from './ExportModelEnum.js';
5
+ import { ExportStatusEnumFromJSON, ExportStatusEnumToJSON } from './ExportStatusEnum.js';
5
6
 
6
7
  /* tslint:disable */
7
8
  function ExportFromJSON(json) {
@@ -15,10 +16,12 @@ function ExportFromJSONTyped(json, ignoreDiscriminator) {
15
16
  'id': json['id'],
16
17
  'format': ExportFormatEnumFromJSON(json['format']),
17
18
  'model': ExportModelEnumFromJSON(json['model']),
19
+ 'status': ExportStatusEnumFromJSON(json['status']),
18
20
  'filter': ExportCreateRequestFilterFromJSON(json['filter']),
19
21
  'createdAt': (new Date(json['createdAt'])),
20
22
  'startedAt': !exists(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
21
23
  'completedAt': !exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
24
+ 'downloadUrl': !exists(json, 'downloadUrl') ? undefined : json['downloadUrl'],
22
25
  'error': !exists(json, 'error') ? undefined : json['error'],
23
26
  };
24
27
  }
@@ -33,10 +36,12 @@ function ExportToJSON(value) {
33
36
  'id': value.id,
34
37
  'format': ExportFormatEnumToJSON(value.format),
35
38
  'model': ExportModelEnumToJSON(value.model),
39
+ 'status': ExportStatusEnumToJSON(value.status),
36
40
  'filter': ExportCreateRequestFilterToJSON(value.filter),
37
41
  'createdAt': (value.createdAt.toISOString()),
38
42
  'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
39
43
  'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
44
+ 'downloadUrl': value.downloadUrl,
40
45
  'error': value.error,
41
46
  };
42
47
  }
@@ -0,0 +1,41 @@
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.ExportStatusEnum = void 0;
24
+ (function (ExportStatusEnum) {
25
+ ExportStatusEnum["Completed"] = "completed";
26
+ ExportStatusEnum["Failed"] = "failed";
27
+ ExportStatusEnum["Pending"] = "pending";
28
+ })(exports.ExportStatusEnum || (exports.ExportStatusEnum = {}));
29
+ function ExportStatusEnumFromJSON(json) {
30
+ return ExportStatusEnumFromJSONTyped(json);
31
+ }
32
+ function ExportStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ function ExportStatusEnumToJSON(value) {
36
+ return value;
37
+ }
38
+
39
+ exports.ExportStatusEnumFromJSON = ExportStatusEnumFromJSON;
40
+ exports.ExportStatusEnumFromJSONTyped = ExportStatusEnumFromJSONTyped;
41
+ exports.ExportStatusEnumToJSON = ExportStatusEnumToJSON;
@@ -0,0 +1,24 @@
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 ExportStatusEnum {
18
+ Completed = "completed",
19
+ Failed = "failed",
20
+ Pending = "pending"
21
+ }
22
+ export declare function ExportStatusEnumFromJSON(json: any): ExportStatusEnum;
23
+ export declare function ExportStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportStatusEnum;
24
+ export declare function ExportStatusEnumToJSON(value?: ExportStatusEnum | null): any;
@@ -0,0 +1,35 @@
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 ExportStatusEnum;
20
+ (function (ExportStatusEnum) {
21
+ ExportStatusEnum["Completed"] = "completed";
22
+ ExportStatusEnum["Failed"] = "failed";
23
+ ExportStatusEnum["Pending"] = "pending";
24
+ })(ExportStatusEnum || (ExportStatusEnum = {}));
25
+ function ExportStatusEnumFromJSON(json) {
26
+ return ExportStatusEnumFromJSONTyped(json);
27
+ }
28
+ function ExportStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
29
+ return json;
30
+ }
31
+ function ExportStatusEnumToJSON(value) {
32
+ return value;
33
+ }
34
+
35
+ export { ExportStatusEnum, ExportStatusEnumFromJSON, ExportStatusEnumFromJSONTyped, ExportStatusEnumToJSON };
@@ -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
 
@@ -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: string;
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;
@@ -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
- 'scope': json['scope'],
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
- * 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
+ *
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: string;
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
- 'scope': json['scope'],
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
  };
@@ -35,12 +35,14 @@ export * from './ExportCreateRequest';
35
35
  export * from './ExportCreateRequestFilter';
36
36
  export * from './ExportFormatEnum';
37
37
  export * from './ExportModelEnum';
38
+ export * from './ExportStatusEnum';
38
39
  export * from './ExportsResponse';
39
40
  export * from './Forbidden';
40
41
  export * from './ForbiddenErrorPayload';
41
42
  export * from './ForbiddenWithErrorAndPayload';
42
43
  export * from './Gate';
43
44
  export * from './GateCreateRequest';
45
+ export * from './GateOutcomeEnum';
44
46
  export * from './GateRule';
45
47
  export * from './GateRuleFilter';
46
48
  export * from './GateRuleType';