@forteplatforms/sdk 1.0.494 → 1.0.497

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 (28) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +16 -0
  2. package/dist/generated/apis/ProjectsServerApi.js +61 -1
  3. package/dist/generated/models/AccountActionLogObject.d.ts +1 -0
  4. package/dist/generated/models/AccountActionLogObject.js +2 -1
  5. package/dist/generated/models/CreateForteServiceRequest.d.ts +7 -7
  6. package/dist/generated/models/CreateManagedDatabaseRequest.d.ts +3 -3
  7. package/dist/generated/models/CreateServiceDatabaseConnectionRequest.d.ts +1 -1
  8. package/dist/generated/models/CreateServiceToServiceConnectionRequest.d.ts +6 -6
  9. package/dist/generated/models/CreateServiceToWebAppConnectionRequest.d.ts +6 -6
  10. package/dist/generated/models/CreateServiceUrlConnectionRequest.d.ts +6 -6
  11. package/dist/generated/models/CreateWebAppRequest.d.ts +10 -10
  12. package/dist/generated/models/ForteApiException.d.ts +2 -0
  13. package/dist/generated/models/ForteApiException.js +2 -0
  14. package/dist/generated/models/ManagedDatabaseEnvVarMappings.d.ts +8 -8
  15. package/dist/generated/models/ProjectObject.d.ts +15 -0
  16. package/dist/generated/models/ProjectObject.js +11 -1
  17. package/dist/generated/models/UpdateProjectRequest.d.ts +15 -0
  18. package/dist/generated/models/UpdateProjectRequest.js +11 -1
  19. package/dist/generated/models/UpdateServiceToServiceConnectionRequest.d.ts +5 -5
  20. package/dist/generated/models/UpdateServiceToWebAppConnectionRequest.d.ts +5 -5
  21. package/dist/generated/models/UpdateServiceUrlConnectionRequest.d.ts +5 -5
  22. package/dist/generated/models/UserActionLogObject.d.ts +10 -0
  23. package/dist/generated/models/UserActionLogObject.js +7 -1
  24. package/dist/generated/models/UserRiskSignals.d.ts +51 -0
  25. package/dist/generated/models/UserRiskSignals.js +66 -0
  26. package/dist/generated/models/index.d.ts +1 -0
  27. package/dist/generated/models/index.js +1 -0
  28. package/package.json +1 -1
@@ -621,6 +621,9 @@ export interface ListServiceHistoryRequest {
621
621
  maxTime?: Date;
622
622
  nextToken?: string;
623
623
  }
624
+ export interface ListServicesRequest {
625
+ projectId: string;
626
+ }
624
627
  export interface ListUserActionLogsRequest {
625
628
  projectId: string;
626
629
  userId: string;
@@ -1968,6 +1971,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1968
1971
  /**
1969
1972
  */
1970
1973
  listServiceHistory(requestParameters: ListServiceHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAccountActionLogObject>;
1974
+ /**
1975
+ * Creates request options for listServices without sending the request
1976
+ */
1977
+ listServicesRequestOpts(requestParameters: ListServicesRequest): Promise<runtime.RequestOpts>;
1978
+ /**
1979
+ */
1980
+ listServicesRaw(requestParameters: ListServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceObject>>>;
1981
+ /**
1982
+ */
1983
+ listServices(requestParameters: ListServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ServiceObject>>;
1971
1984
  /**
1972
1985
  * Creates request options for listUserActionLogs without sending the request
1973
1986
  */
@@ -2735,12 +2748,14 @@ export declare const ListUserActionLogsActionTypeType: {
2735
2748
  readonly CONTACT_METHOD_VERIFICATION_CODE_SENT: "CONTACT_METHOD_VERIFICATION_CODE_SENT";
2736
2749
  readonly CONTACT_METHOD_VERIFICATION_CODE_RE_SENT: "CONTACT_METHOD_VERIFICATION_CODE_RE_SENT";
2737
2750
  readonly CONTACT_METHOD_VERIFIED: "CONTACT_METHOD_VERIFIED";
2751
+ readonly CONTACT_METHOD_VERIFICATION_FAILED: "CONTACT_METHOD_VERIFICATION_FAILED";
2738
2752
  readonly CONTACT_METHOD_ADMIN_OVERRIDE: "CONTACT_METHOD_ADMIN_OVERRIDE";
2739
2753
  readonly CONTACT_METHOD_FIXED_OTP_SET: "CONTACT_METHOD_FIXED_OTP_SET";
2740
2754
  readonly CONTACT_METHOD_FIXED_OTP_REMOVED: "CONTACT_METHOD_FIXED_OTP_REMOVED";
2741
2755
  readonly USER_LOGIN: "USER_LOGIN";
2742
2756
  readonly USER_LOGOUT: "USER_LOGOUT";
2743
2757
  readonly USER_LOGIN_OTP_SENT: "USER_LOGIN_OTP_SENT";
2758
+ readonly USER_LOGIN_OTP_FAILED: "USER_LOGIN_OTP_FAILED";
2744
2759
  readonly SESSION_REVOKED: "SESSION_REVOKED";
2745
2760
  readonly ALL_OTHER_SESSIONS_REVOKED: "ALL_OTHER_SESSIONS_REVOKED";
2746
2761
  readonly PAYMENT_CREATED: "PAYMENT_CREATED";
@@ -2776,6 +2791,7 @@ export declare const ListUserActionLogsActionTypeType: {
2776
2791
  readonly REAUTHENTICATION_CHALLENGE_SENT: "REAUTHENTICATION_CHALLENGE_SENT";
2777
2792
  readonly REAUTHENTICATED: "REAUTHENTICATED";
2778
2793
  readonly REAUTHENTICATION_FAILED: "REAUTHENTICATION_FAILED";
2794
+ readonly SUSPICIOUS_USER_ACTIVITY_DETECTED: "SUSPICIOUS_USER_ACTIVITY_DETECTED";
2779
2795
  };
2780
2796
  export type ListUserActionLogsActionTypeType = typeof ListUserActionLogsActionTypeType[keyof typeof ListUserActionLogsActionTypeType];
2781
2797
  /**
@@ -6551,6 +6551,63 @@ var ProjectsServerApi = /** @class */ (function (_super) {
6551
6551
  });
6552
6552
  });
6553
6553
  };
6554
+ /**
6555
+ * Creates request options for listServices without sending the request
6556
+ */
6557
+ ProjectsServerApi.prototype.listServicesRequestOpts = function (requestParameters) {
6558
+ return __awaiter(this, void 0, void 0, function () {
6559
+ var queryParameters, headerParameters, urlPath;
6560
+ return __generator(this, function (_a) {
6561
+ if (requestParameters['projectId'] == null) {
6562
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listServices().');
6563
+ }
6564
+ queryParameters = {};
6565
+ headerParameters = {};
6566
+ urlPath = "/api/v1/projects/{projectId}/services";
6567
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
6568
+ return [2 /*return*/, {
6569
+ path: urlPath,
6570
+ method: 'GET',
6571
+ headers: headerParameters,
6572
+ query: queryParameters,
6573
+ }];
6574
+ });
6575
+ });
6576
+ };
6577
+ /**
6578
+ */
6579
+ ProjectsServerApi.prototype.listServicesRaw = function (requestParameters, initOverrides) {
6580
+ return __awaiter(this, void 0, void 0, function () {
6581
+ var requestOptions, response;
6582
+ return __generator(this, function (_a) {
6583
+ switch (_a.label) {
6584
+ case 0: return [4 /*yield*/, this.listServicesRequestOpts(requestParameters)];
6585
+ case 1:
6586
+ requestOptions = _a.sent();
6587
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
6588
+ case 2:
6589
+ response = _a.sent();
6590
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(ServiceObject_1.ServiceObjectFromJSON); })];
6591
+ }
6592
+ });
6593
+ });
6594
+ };
6595
+ /**
6596
+ */
6597
+ ProjectsServerApi.prototype.listServices = function (requestParameters, initOverrides) {
6598
+ return __awaiter(this, void 0, void 0, function () {
6599
+ var response;
6600
+ return __generator(this, function (_a) {
6601
+ switch (_a.label) {
6602
+ case 0: return [4 /*yield*/, this.listServicesRaw(requestParameters, initOverrides)];
6603
+ case 1:
6604
+ response = _a.sent();
6605
+ return [4 /*yield*/, response.value()];
6606
+ case 2: return [2 /*return*/, _a.sent()];
6607
+ }
6608
+ });
6609
+ });
6610
+ };
6554
6611
  /**
6555
6612
  * Creates request options for listUserActionLogs without sending the request
6556
6613
  */
@@ -11037,12 +11094,14 @@ exports.ListUserActionLogsActionTypeType = {
11037
11094
  CONTACT_METHOD_VERIFICATION_CODE_SENT: 'CONTACT_METHOD_VERIFICATION_CODE_SENT',
11038
11095
  CONTACT_METHOD_VERIFICATION_CODE_RE_SENT: 'CONTACT_METHOD_VERIFICATION_CODE_RE_SENT',
11039
11096
  CONTACT_METHOD_VERIFIED: 'CONTACT_METHOD_VERIFIED',
11097
+ CONTACT_METHOD_VERIFICATION_FAILED: 'CONTACT_METHOD_VERIFICATION_FAILED',
11040
11098
  CONTACT_METHOD_ADMIN_OVERRIDE: 'CONTACT_METHOD_ADMIN_OVERRIDE',
11041
11099
  CONTACT_METHOD_FIXED_OTP_SET: 'CONTACT_METHOD_FIXED_OTP_SET',
11042
11100
  CONTACT_METHOD_FIXED_OTP_REMOVED: 'CONTACT_METHOD_FIXED_OTP_REMOVED',
11043
11101
  USER_LOGIN: 'USER_LOGIN',
11044
11102
  USER_LOGOUT: 'USER_LOGOUT',
11045
11103
  USER_LOGIN_OTP_SENT: 'USER_LOGIN_OTP_SENT',
11104
+ USER_LOGIN_OTP_FAILED: 'USER_LOGIN_OTP_FAILED',
11046
11105
  SESSION_REVOKED: 'SESSION_REVOKED',
11047
11106
  ALL_OTHER_SESSIONS_REVOKED: 'ALL_OTHER_SESSIONS_REVOKED',
11048
11107
  PAYMENT_CREATED: 'PAYMENT_CREATED',
@@ -11077,7 +11136,8 @@ exports.ListUserActionLogsActionTypeType = {
11077
11136
  MFA_ADMIN_RESET: 'MFA_ADMIN_RESET',
11078
11137
  REAUTHENTICATION_CHALLENGE_SENT: 'REAUTHENTICATION_CHALLENGE_SENT',
11079
11138
  REAUTHENTICATED: 'REAUTHENTICATED',
11080
- REAUTHENTICATION_FAILED: 'REAUTHENTICATION_FAILED'
11139
+ REAUTHENTICATION_FAILED: 'REAUTHENTICATION_FAILED',
11140
+ SUSPICIOUS_USER_ACTIVITY_DETECTED: 'SUSPICIOUS_USER_ACTIVITY_DETECTED'
11081
11141
  };
11082
11142
  /**
11083
11143
  * @export
@@ -205,6 +205,7 @@ export declare const AccountActionLogObjectActionTypeType: {
205
205
  readonly DOMAIN_CONTACT_CHANGED: "DOMAIN_CONTACT_CHANGED";
206
206
  readonly OAUTH_GRANT_CREATED: "OAUTH_GRANT_CREATED";
207
207
  readonly OAUTH_GRANT_DELETED: "OAUTH_GRANT_DELETED";
208
+ readonly SUSPICIOUS_USER_ACTIVITY_DETECTED: "SUSPICIOUS_USER_ACTIVITY_DETECTED";
208
209
  };
209
210
  export type AccountActionLogObjectActionTypeType = typeof AccountActionLogObjectActionTypeType[keyof typeof AccountActionLogObjectActionTypeType];
210
211
  /**
@@ -157,7 +157,8 @@ exports.AccountActionLogObjectActionTypeType = {
157
157
  DOMAIN_TRANSFER_FAILED: 'DOMAIN_TRANSFER_FAILED',
158
158
  DOMAIN_CONTACT_CHANGED: 'DOMAIN_CONTACT_CHANGED',
159
159
  OAUTH_GRANT_CREATED: 'OAUTH_GRANT_CREATED',
160
- OAUTH_GRANT_DELETED: 'OAUTH_GRANT_DELETED'
160
+ OAUTH_GRANT_DELETED: 'OAUTH_GRANT_DELETED',
161
+ SUSPICIOUS_USER_ACTIVITY_DETECTED: 'SUSPICIOUS_USER_ACTIVITY_DETECTED'
161
162
  };
162
163
  /**
163
164
  * Check if a given object implements the AccountActionLogObject interface.
@@ -17,13 +17,13 @@ import type { CreateServiceDatabaseConnectionRequest } from './CreateServiceData
17
17
  */
18
18
  export interface CreateForteServiceRequest {
19
19
  /**
20
- *
20
+ * GitHub repository URL; the Forte GitHub App must be installed on its owner. Required unless codeSourceType is ARTIFACT.
21
21
  * @type {string}
22
22
  * @memberof CreateForteServiceRequest
23
23
  */
24
24
  githubRepositoryUrl?: string | null;
25
25
  /**
26
- *
26
+ * PUSH deploys on every push to githubBranch; RELEASE_PUBLISHED deploys on GitHub releases. Required unless codeSourceType is ARTIFACT.
27
27
  * @type {CreateForteServiceRequestBuildTriggerType}
28
28
  * @memberof CreateForteServiceRequest
29
29
  */
@@ -41,7 +41,7 @@ export interface CreateForteServiceRequest {
41
41
  */
42
42
  artifactId?: string | null;
43
43
  /**
44
- *
44
+ * Branch to build; required for PUSH.
45
45
  * @type {string}
46
46
  * @memberof CreateForteServiceRequest
47
47
  */
@@ -101,7 +101,7 @@ export interface CreateForteServiceRequest {
101
101
  */
102
102
  healthCheckPath?: string | null;
103
103
  /**
104
- *
104
+ * Path of the app inside a monorepo.
105
105
  * @type {string}
106
106
  * @memberof CreateForteServiceRequest
107
107
  */
@@ -113,19 +113,19 @@ export interface CreateForteServiceRequest {
113
113
  */
114
114
  requestResponseBodyLoggingEnabled?: boolean | null;
115
115
  /**
116
- *
116
+ * Ant-style path patterns (e.g. /public/**) that skip Forte user auth.
117
117
  * @type {Array<string>}
118
118
  * @memberof CreateForteServiceRequest
119
119
  */
120
120
  authPathExclusions?: Array<string> | null;
121
121
  /**
122
- *
122
+ * Ant-style path patterns that return 404.
123
123
  * @type {Array<string>}
124
124
  * @memberof CreateForteServiceRequest
125
125
  */
126
126
  blockedPaths?: Array<string> | null;
127
127
  /**
128
- *
128
+ * Managed databases to connect from the first deployment.
129
129
  * @type {Array<CreateServiceDatabaseConnectionRequest>}
130
130
  * @memberof CreateForteServiceRequest
131
131
  */
@@ -34,19 +34,19 @@ export interface CreateManagedDatabaseRequest {
34
34
  */
35
35
  tier: CreateManagedDatabaseRequestTierType;
36
36
  /**
37
- *
37
+ * Ignored on the SHARED tier.
38
38
  * @type {string}
39
39
  * @memberof CreateManagedDatabaseRequest
40
40
  */
41
41
  cpu?: string | null;
42
42
  /**
43
- *
43
+ * Ignored on the SHARED tier.
44
44
  * @type {number}
45
45
  * @memberof CreateManagedDatabaseRequest
46
46
  */
47
47
  memoryGb?: number | null;
48
48
  /**
49
- *
49
+ * Defaults to 2 GB.
50
50
  * @type {number}
51
51
  * @memberof CreateManagedDatabaseRequest
52
52
  */
@@ -17,7 +17,7 @@ import type { ManagedDatabaseEnvVarMappings } from './ManagedDatabaseEnvVarMappi
17
17
  */
18
18
  export interface CreateServiceDatabaseConnectionRequest {
19
19
  /**
20
- *
20
+ * An ACTIVE managed database in the same project.
21
21
  * @type {string}
22
22
  * @memberof CreateServiceDatabaseConnectionRequest
23
23
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface CreateServiceToServiceConnectionRequest {
18
18
  /**
19
- *
19
+ * The target service whose URL is set; same project.
20
20
  * @type {string}
21
21
  * @memberof CreateServiceToServiceConnectionRequest
22
22
  */
23
23
  serviceId: string;
24
24
  /**
25
- *
25
+ * Environment variable that receives the URL.
26
26
  * @type {string}
27
27
  * @memberof CreateServiceToServiceConnectionRequest
28
28
  */
29
29
  environmentVariableName: string;
30
30
  /**
31
- *
31
+ * FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
32
32
  * @type {CreateServiceToServiceConnectionRequestDomainTypeType}
33
33
  * @memberof CreateServiceToServiceConnectionRequest
34
34
  */
35
35
  domainType: CreateServiceToServiceConnectionRequestDomainTypeType;
36
36
  /**
37
- *
37
+ * An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
38
38
  * @type {string}
39
39
  * @memberof CreateServiceToServiceConnectionRequest
40
40
  */
41
41
  customDomainId?: string | null;
42
42
  /**
43
- *
43
+ * Appended to the URL, e.g. /api.
44
44
  * @type {string}
45
45
  * @memberof CreateServiceToServiceConnectionRequest
46
46
  */
47
47
  pathSuffix?: string | null;
48
48
  /**
49
- *
49
+ * Set true to replace a plain environment variable of the same name.
50
50
  * @type {boolean}
51
51
  * @memberof CreateServiceToServiceConnectionRequest
52
52
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface CreateServiceToWebAppConnectionRequest {
18
18
  /**
19
- *
19
+ * The web app whose URL is set; same project.
20
20
  * @type {string}
21
21
  * @memberof CreateServiceToWebAppConnectionRequest
22
22
  */
23
23
  webAppId: string;
24
24
  /**
25
- *
25
+ * Environment variable that receives the URL.
26
26
  * @type {string}
27
27
  * @memberof CreateServiceToWebAppConnectionRequest
28
28
  */
29
29
  environmentVariableName: string;
30
30
  /**
31
- *
31
+ * FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
32
32
  * @type {CreateServiceToWebAppConnectionRequestDomainTypeType}
33
33
  * @memberof CreateServiceToWebAppConnectionRequest
34
34
  */
35
35
  domainType: CreateServiceToWebAppConnectionRequestDomainTypeType;
36
36
  /**
37
- *
37
+ * An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
38
38
  * @type {string}
39
39
  * @memberof CreateServiceToWebAppConnectionRequest
40
40
  */
41
41
  customDomainId?: string | null;
42
42
  /**
43
- *
43
+ * Appended to the URL, e.g. /api.
44
44
  * @type {string}
45
45
  * @memberof CreateServiceToWebAppConnectionRequest
46
46
  */
47
47
  pathSuffix?: string | null;
48
48
  /**
49
- *
49
+ * Set true to replace a plain environment variable of the same name.
50
50
  * @type {boolean}
51
51
  * @memberof CreateServiceToWebAppConnectionRequest
52
52
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface CreateServiceUrlConnectionRequest {
18
18
  /**
19
- *
19
+ * The backend service whose URL is set; same project.
20
20
  * @type {string}
21
21
  * @memberof CreateServiceUrlConnectionRequest
22
22
  */
23
23
  serviceId: string;
24
24
  /**
25
- *
25
+ * Environment variable that receives the URL.
26
26
  * @type {string}
27
27
  * @memberof CreateServiceUrlConnectionRequest
28
28
  */
29
29
  environmentVariableName: string;
30
30
  /**
31
- *
31
+ * FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
32
32
  * @type {CreateServiceUrlConnectionRequestDomainTypeType}
33
33
  * @memberof CreateServiceUrlConnectionRequest
34
34
  */
35
35
  domainType: CreateServiceUrlConnectionRequestDomainTypeType;
36
36
  /**
37
- *
37
+ * An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
38
38
  * @type {string}
39
39
  * @memberof CreateServiceUrlConnectionRequest
40
40
  */
41
41
  customDomainId?: string | null;
42
42
  /**
43
- *
43
+ * Appended to the URL, e.g. /api.
44
44
  * @type {string}
45
45
  * @memberof CreateServiceUrlConnectionRequest
46
46
  */
47
47
  pathSuffix?: string | null;
48
48
  /**
49
- *
49
+ * Set true to replace a plain environment variable of the same name.
50
50
  * @type {boolean}
51
51
  * @memberof CreateServiceUrlConnectionRequest
52
52
  */
@@ -23,19 +23,19 @@ export interface CreateWebAppRequest {
23
23
  */
24
24
  webAppName: string;
25
25
  /**
26
- *
26
+ * GitHub repository URL; the Forte GitHub App must be installed on its owner. Required unless codeSourceType is ARTIFACT.
27
27
  * @type {string}
28
28
  * @memberof CreateWebAppRequest
29
29
  */
30
30
  githubRepositoryUrl?: string | null;
31
31
  /**
32
- *
32
+ * Branch to build; required for PUSH.
33
33
  * @type {string}
34
34
  * @memberof CreateWebAppRequest
35
35
  */
36
36
  githubBranch?: string | null;
37
37
  /**
38
- *
38
+ * PUSH deploys on every push to githubBranch; RELEASE_PUBLISHED deploys on GitHub releases. Required unless codeSourceType is ARTIFACT.
39
39
  * @type {CreateWebAppRequestBuildTriggerType}
40
40
  * @memberof CreateWebAppRequest
41
41
  */
@@ -53,37 +53,37 @@ export interface CreateWebAppRequest {
53
53
  */
54
54
  artifactId?: string | null;
55
55
  /**
56
- *
56
+ * Auto-detected when omitted.
57
57
  * @type {string}
58
58
  * @memberof CreateWebAppRequest
59
59
  */
60
60
  buildCommand?: string | null;
61
61
  /**
62
- *
62
+ * Build output directory. Auto-detected when omitted.
63
63
  * @type {string}
64
64
  * @memberof CreateWebAppRequest
65
65
  */
66
66
  buildPath?: string | null;
67
67
  /**
68
- *
68
+ * Auto-detected when omitted.
69
69
  * @type {string}
70
70
  * @memberof CreateWebAppRequest
71
71
  */
72
72
  packageManager?: string | null;
73
73
  /**
74
- *
74
+ * Auto-detected when omitted.
75
75
  * @type {string}
76
76
  * @memberof CreateWebAppRequest
77
77
  */
78
78
  nodeVersion?: string | null;
79
79
  /**
80
- *
80
+ * Auto-detected when omitted.
81
81
  * @type {string}
82
82
  * @memberof CreateWebAppRequest
83
83
  */
84
84
  installCommand?: string | null;
85
85
  /**
86
- *
86
+ * Path of the app inside a monorepo.
87
87
  * @type {string}
88
88
  * @memberof CreateWebAppRequest
89
89
  */
@@ -105,7 +105,7 @@ export interface CreateWebAppRequest {
105
105
  [key: string]: string;
106
106
  };
107
107
  /**
108
- *
108
+ * Backend service URLs to set as environment variables from the first build.
109
109
  * @type {Array<CreateServiceUrlConnectionRequest>}
110
110
  * @memberof CreateWebAppRequest
111
111
  */
@@ -146,6 +146,8 @@ export declare const ForteApiExceptionErrorCodeType: {
146
146
  readonly INVALID_VERIFICATION_CODE: "INVALID_VERIFICATION_CODE";
147
147
  readonly VERIFICATION_CODE_EXPIRED: "VERIFICATION_CODE_EXPIRED";
148
148
  readonly VERIFICATION_CODE_RATE_LIMITED: "VERIFICATION_CODE_RATE_LIMITED";
149
+ readonly USER_AUTH_RATE_LIMITED: "USER_AUTH_RATE_LIMITED";
150
+ readonly INVALID_SESSION_RENEWAL_DURATION: "INVALID_SESSION_RENEWAL_DURATION";
149
151
  readonly CONTACT_METHOD_NOT_ELIGIBLE_FOR_FIXED_CODE: "CONTACT_METHOD_NOT_ELIGIBLE_FOR_FIXED_CODE";
150
152
  readonly AMBIGUOUS_FIXED_VERIFICATION_CODE_UPDATE: "AMBIGUOUS_FIXED_VERIFICATION_CODE_UPDATE";
151
153
  readonly INVALID_ENVIRONMENT_VARIABLE_NAME: "INVALID_ENVIRONMENT_VARIABLE_NAME";
@@ -131,6 +131,8 @@ exports.ForteApiExceptionErrorCodeType = {
131
131
  INVALID_VERIFICATION_CODE: 'INVALID_VERIFICATION_CODE',
132
132
  VERIFICATION_CODE_EXPIRED: 'VERIFICATION_CODE_EXPIRED',
133
133
  VERIFICATION_CODE_RATE_LIMITED: 'VERIFICATION_CODE_RATE_LIMITED',
134
+ USER_AUTH_RATE_LIMITED: 'USER_AUTH_RATE_LIMITED',
135
+ INVALID_SESSION_RENEWAL_DURATION: 'INVALID_SESSION_RENEWAL_DURATION',
134
136
  CONTACT_METHOD_NOT_ELIGIBLE_FOR_FIXED_CODE: 'CONTACT_METHOD_NOT_ELIGIBLE_FOR_FIXED_CODE',
135
137
  AMBIGUOUS_FIXED_VERIFICATION_CODE_UPDATE: 'AMBIGUOUS_FIXED_VERIFICATION_CODE_UPDATE',
136
138
  INVALID_ENVIRONMENT_VARIABLE_NAME: 'INVALID_ENVIRONMENT_VARIABLE_NAME',
@@ -16,49 +16,49 @@
16
16
  */
17
17
  export interface ManagedDatabaseEnvVarMappings {
18
18
  /**
19
- *
19
+ * Environment variable that receives the full connection string, e.g. DATABASE_URL.
20
20
  * @type {string}
21
21
  * @memberof ManagedDatabaseEnvVarMappings
22
22
  */
23
23
  connectionStringEnvVar?: string | null;
24
24
  /**
25
- *
25
+ * Environment variable that receives the host.
26
26
  * @type {string}
27
27
  * @memberof ManagedDatabaseEnvVarMappings
28
28
  */
29
29
  hostEnvVar?: string | null;
30
30
  /**
31
- *
31
+ * Environment variable that receives the port.
32
32
  * @type {string}
33
33
  * @memberof ManagedDatabaseEnvVarMappings
34
34
  */
35
35
  portEnvVar?: string | null;
36
36
  /**
37
- *
37
+ * Environment variable that receives the database name.
38
38
  * @type {string}
39
39
  * @memberof ManagedDatabaseEnvVarMappings
40
40
  */
41
41
  databaseEnvVar?: string | null;
42
42
  /**
43
- *
43
+ * Environment variable that receives the username.
44
44
  * @type {string}
45
45
  * @memberof ManagedDatabaseEnvVarMappings
46
46
  */
47
47
  usernameEnvVar?: string | null;
48
48
  /**
49
- *
49
+ * Environment variable that receives the password.
50
50
  * @type {string}
51
51
  * @memberof ManagedDatabaseEnvVarMappings
52
52
  */
53
53
  passwordEnvVar?: string | null;
54
54
  /**
55
- *
55
+ * Connection string dialect for the consuming driver. Defaults to URI; CUSTOM uses connectionStringTemplate.
56
56
  * @type {ManagedDatabaseEnvVarMappingsConnectionStringFormatType}
57
57
  * @memberof ManagedDatabaseEnvVarMappings
58
58
  */
59
59
  connectionStringFormat?: ManagedDatabaseEnvVarMappingsConnectionStringFormatType | null;
60
60
  /**
61
- *
61
+ * CUSTOM format only. Placeholders: {host} {port} {database} {username} {password} {sslmode}.
62
62
  * @type {string}
63
63
  * @memberof ManagedDatabaseEnvVarMappings
64
64
  */
@@ -130,6 +130,12 @@ export interface ProjectObject {
130
130
  * @memberof ProjectObject
131
131
  */
132
132
  mfaConfig?: MfaConfig;
133
+ /**
134
+ *
135
+ * @type {ProjectObjectBotProtectionModeType}
136
+ * @memberof ProjectObject
137
+ */
138
+ botProtectionMode?: ProjectObjectBotProtectionModeType | null;
133
139
  /**
134
140
  *
135
141
  * @type {boolean}
@@ -191,6 +197,15 @@ export interface ProjectObject {
191
197
  */
192
198
  hasRecaptchaSecretKey?: boolean;
193
199
  }
200
+ /**
201
+ * @export
202
+ */
203
+ export declare const ProjectObjectBotProtectionModeType: {
204
+ readonly DISABLED: "DISABLED";
205
+ readonly STANDARD: "STANDARD";
206
+ readonly PROTECTIVE: "PROTECTIVE";
207
+ };
208
+ export type ProjectObjectBotProtectionModeType = typeof ProjectObjectBotProtectionModeType[keyof typeof ProjectObjectBotProtectionModeType];
194
209
  /**
195
210
  * @export
196
211
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProjectObjectCloneStatusType = exports.ProjectObjectEmailSenderType = void 0;
16
+ exports.ProjectObjectCloneStatusType = exports.ProjectObjectEmailSenderType = exports.ProjectObjectBotProtectionModeType = void 0;
17
17
  exports.instanceOfProjectObject = instanceOfProjectObject;
18
18
  exports.ProjectObjectFromJSON = ProjectObjectFromJSON;
19
19
  exports.ProjectObjectFromJSONTyped = ProjectObjectFromJSONTyped;
@@ -26,6 +26,14 @@ var ManagedDatabaseObject_1 = require("./ManagedDatabaseObject");
26
26
  var ServiceObject_1 = require("./ServiceObject");
27
27
  var PasswordConfig_1 = require("./PasswordConfig");
28
28
  var PaymentTriggerConfig_1 = require("./PaymentTriggerConfig");
29
+ /**
30
+ * @export
31
+ */
32
+ exports.ProjectObjectBotProtectionModeType = {
33
+ DISABLED: 'DISABLED',
34
+ STANDARD: 'STANDARD',
35
+ PROTECTIVE: 'PROTECTIVE'
36
+ };
29
37
  /**
30
38
  * @export
31
39
  */
@@ -90,6 +98,7 @@ function ProjectObjectFromJSONTyped(json, ignoreDiscriminator) {
90
98
  'passwordLoginEnabled': json['passwordLoginEnabled'] == null ? undefined : json['passwordLoginEnabled'],
91
99
  'passwordConfig': json['passwordConfig'] == null ? undefined : (0, PasswordConfig_1.PasswordConfigFromJSON)(json['passwordConfig']),
92
100
  'mfaConfig': json['mfaConfig'] == null ? undefined : (0, MfaConfig_1.MfaConfigFromJSON)(json['mfaConfig']),
101
+ 'botProtectionMode': json['botProtectionMode'] == null ? undefined : json['botProtectionMode'],
93
102
  'sandboxMode': json['sandboxMode'] == null ? undefined : json['sandboxMode'],
94
103
  'notificationTemplatesConfig': json['notificationTemplatesConfig'] == null ? undefined : (0, NotificationTemplatesConfig_1.NotificationTemplatesConfigFromJSON)(json['notificationTemplatesConfig']),
95
104
  'paymentTriggers': json['paymentTriggers'] == null ? undefined : (json['paymentTriggers'].map(PaymentTriggerConfig_1.PaymentTriggerConfigFromJSON)),
@@ -129,6 +138,7 @@ function ProjectObjectToJSONTyped(value, ignoreDiscriminator) {
129
138
  'passwordLoginEnabled': value['passwordLoginEnabled'],
130
139
  'passwordConfig': (0, PasswordConfig_1.PasswordConfigToJSON)(value['passwordConfig']),
131
140
  'mfaConfig': (0, MfaConfig_1.MfaConfigToJSON)(value['mfaConfig']),
141
+ 'botProtectionMode': value['botProtectionMode'],
132
142
  'sandboxMode': value['sandboxMode'],
133
143
  'notificationTemplatesConfig': (0, NotificationTemplatesConfig_1.NotificationTemplatesConfigToJSON)(value['notificationTemplatesConfig']),
134
144
  'paymentTriggers': value['paymentTriggers'] == null ? undefined : (value['paymentTriggers'].map(PaymentTriggerConfig_1.PaymentTriggerConfigToJSON)),
@@ -65,6 +65,12 @@ export interface UpdateProjectRequest {
65
65
  * @memberof UpdateProjectRequest
66
66
  */
67
67
  mfaConfig?: MfaConfig;
68
+ /**
69
+ *
70
+ * @type {UpdateProjectRequestBotProtectionModeType}
71
+ * @memberof UpdateProjectRequest
72
+ */
73
+ botProtectionMode?: UpdateProjectRequestBotProtectionModeType | null;
68
74
  /**
69
75
  *
70
76
  * @type {UpdateProjectRequestEmailSenderType}
@@ -72,6 +78,15 @@ export interface UpdateProjectRequest {
72
78
  */
73
79
  emailSender?: UpdateProjectRequestEmailSenderType | null;
74
80
  }
81
+ /**
82
+ * @export
83
+ */
84
+ export declare const UpdateProjectRequestBotProtectionModeType: {
85
+ readonly DISABLED: "DISABLED";
86
+ readonly STANDARD: "STANDARD";
87
+ readonly PROTECTIVE: "PROTECTIVE";
88
+ };
89
+ export type UpdateProjectRequestBotProtectionModeType = typeof UpdateProjectRequestBotProtectionModeType[keyof typeof UpdateProjectRequestBotProtectionModeType];
75
90
  /**
76
91
  * @export
77
92
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateProjectRequestEmailSenderType = void 0;
16
+ exports.UpdateProjectRequestEmailSenderType = exports.UpdateProjectRequestBotProtectionModeType = void 0;
17
17
  exports.instanceOfUpdateProjectRequest = instanceOfUpdateProjectRequest;
18
18
  exports.UpdateProjectRequestFromJSON = UpdateProjectRequestFromJSON;
19
19
  exports.UpdateProjectRequestFromJSONTyped = UpdateProjectRequestFromJSONTyped;
@@ -21,6 +21,14 @@ exports.UpdateProjectRequestToJSON = UpdateProjectRequestToJSON;
21
21
  exports.UpdateProjectRequestToJSONTyped = UpdateProjectRequestToJSONTyped;
22
22
  var MfaConfig_1 = require("./MfaConfig");
23
23
  var PasswordConfig_1 = require("./PasswordConfig");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.UpdateProjectRequestBotProtectionModeType = {
28
+ DISABLED: 'DISABLED',
29
+ STANDARD: 'STANDARD',
30
+ PROTECTIVE: 'PROTECTIVE'
31
+ };
24
32
  /**
25
33
  * @export
26
34
  */
@@ -50,6 +58,7 @@ function UpdateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
50
58
  'passwordLoginEnabled': json['passwordLoginEnabled'] == null ? undefined : json['passwordLoginEnabled'],
51
59
  'passwordConfig': json['passwordConfig'] == null ? undefined : (0, PasswordConfig_1.PasswordConfigFromJSON)(json['passwordConfig']),
52
60
  'mfaConfig': json['mfaConfig'] == null ? undefined : (0, MfaConfig_1.MfaConfigFromJSON)(json['mfaConfig']),
61
+ 'botProtectionMode': json['botProtectionMode'] == null ? undefined : json['botProtectionMode'],
53
62
  'emailSender': json['emailSender'] == null ? undefined : json['emailSender'],
54
63
  };
55
64
  }
@@ -70,6 +79,7 @@ function UpdateProjectRequestToJSONTyped(value, ignoreDiscriminator) {
70
79
  'passwordLoginEnabled': value['passwordLoginEnabled'],
71
80
  'passwordConfig': (0, PasswordConfig_1.PasswordConfigToJSON)(value['passwordConfig']),
72
81
  'mfaConfig': (0, MfaConfig_1.MfaConfigToJSON)(value['mfaConfig']),
82
+ 'botProtectionMode': value['botProtectionMode'],
73
83
  'emailSender': value['emailSender'],
74
84
  };
75
85
  }
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface UpdateServiceToServiceConnectionRequest {
18
18
  /**
19
- *
19
+ * The target service whose URL is set; same project.
20
20
  * @type {string}
21
21
  * @memberof UpdateServiceToServiceConnectionRequest
22
22
  */
23
23
  serviceId: string;
24
24
  /**
25
- *
25
+ * Environment variable that receives the URL.
26
26
  * @type {string}
27
27
  * @memberof UpdateServiceToServiceConnectionRequest
28
28
  */
29
29
  environmentVariableName: string;
30
30
  /**
31
- *
31
+ * FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
32
32
  * @type {UpdateServiceToServiceConnectionRequestDomainTypeType}
33
33
  * @memberof UpdateServiceToServiceConnectionRequest
34
34
  */
35
35
  domainType: UpdateServiceToServiceConnectionRequestDomainTypeType;
36
36
  /**
37
- *
37
+ * An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
38
38
  * @type {string}
39
39
  * @memberof UpdateServiceToServiceConnectionRequest
40
40
  */
41
41
  customDomainId?: string | null;
42
42
  /**
43
- *
43
+ * Appended to the URL, e.g. /api.
44
44
  * @type {string}
45
45
  * @memberof UpdateServiceToServiceConnectionRequest
46
46
  */
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface UpdateServiceToWebAppConnectionRequest {
18
18
  /**
19
- *
19
+ * The web app whose URL is set; same project.
20
20
  * @type {string}
21
21
  * @memberof UpdateServiceToWebAppConnectionRequest
22
22
  */
23
23
  webAppId: string;
24
24
  /**
25
- *
25
+ * Environment variable that receives the URL.
26
26
  * @type {string}
27
27
  * @memberof UpdateServiceToWebAppConnectionRequest
28
28
  */
29
29
  environmentVariableName: string;
30
30
  /**
31
- *
31
+ * FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
32
32
  * @type {UpdateServiceToWebAppConnectionRequestDomainTypeType}
33
33
  * @memberof UpdateServiceToWebAppConnectionRequest
34
34
  */
35
35
  domainType: UpdateServiceToWebAppConnectionRequestDomainTypeType;
36
36
  /**
37
- *
37
+ * An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
38
38
  * @type {string}
39
39
  * @memberof UpdateServiceToWebAppConnectionRequest
40
40
  */
41
41
  customDomainId?: string | null;
42
42
  /**
43
- *
43
+ * Appended to the URL, e.g. /api.
44
44
  * @type {string}
45
45
  * @memberof UpdateServiceToWebAppConnectionRequest
46
46
  */
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface UpdateServiceUrlConnectionRequest {
18
18
  /**
19
- *
19
+ * The backend service whose URL is set; same project.
20
20
  * @type {string}
21
21
  * @memberof UpdateServiceUrlConnectionRequest
22
22
  */
23
23
  serviceId: string;
24
24
  /**
25
- *
25
+ * Environment variable that receives the URL.
26
26
  * @type {string}
27
27
  * @memberof UpdateServiceUrlConnectionRequest
28
28
  */
29
29
  environmentVariableName: string;
30
30
  /**
31
- *
31
+ * FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
32
32
  * @type {UpdateServiceUrlConnectionRequestDomainTypeType}
33
33
  * @memberof UpdateServiceUrlConnectionRequest
34
34
  */
35
35
  domainType: UpdateServiceUrlConnectionRequestDomainTypeType;
36
36
  /**
37
- *
37
+ * An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
38
38
  * @type {string}
39
39
  * @memberof UpdateServiceUrlConnectionRequest
40
40
  */
41
41
  customDomainId?: string | null;
42
42
  /**
43
- *
43
+ * Appended to the URL, e.g. /api.
44
44
  * @type {string}
45
45
  * @memberof UpdateServiceUrlConnectionRequest
46
46
  */
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { UserRiskSignals } from './UserRiskSignals';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -71,6 +72,12 @@ export interface UserActionLogObject {
71
72
  metadata?: {
72
73
  [key: string]: string;
73
74
  };
75
+ /**
76
+ *
77
+ * @type {UserRiskSignals}
78
+ * @memberof UserActionLogObject
79
+ */
80
+ riskSignals?: UserRiskSignals;
74
81
  }
75
82
  /**
76
83
  * @export
@@ -87,12 +94,14 @@ export declare const UserActionLogObjectActionTypeType: {
87
94
  readonly CONTACT_METHOD_VERIFICATION_CODE_SENT: "CONTACT_METHOD_VERIFICATION_CODE_SENT";
88
95
  readonly CONTACT_METHOD_VERIFICATION_CODE_RE_SENT: "CONTACT_METHOD_VERIFICATION_CODE_RE_SENT";
89
96
  readonly CONTACT_METHOD_VERIFIED: "CONTACT_METHOD_VERIFIED";
97
+ readonly CONTACT_METHOD_VERIFICATION_FAILED: "CONTACT_METHOD_VERIFICATION_FAILED";
90
98
  readonly CONTACT_METHOD_ADMIN_OVERRIDE: "CONTACT_METHOD_ADMIN_OVERRIDE";
91
99
  readonly CONTACT_METHOD_FIXED_OTP_SET: "CONTACT_METHOD_FIXED_OTP_SET";
92
100
  readonly CONTACT_METHOD_FIXED_OTP_REMOVED: "CONTACT_METHOD_FIXED_OTP_REMOVED";
93
101
  readonly USER_LOGIN: "USER_LOGIN";
94
102
  readonly USER_LOGOUT: "USER_LOGOUT";
95
103
  readonly USER_LOGIN_OTP_SENT: "USER_LOGIN_OTP_SENT";
104
+ readonly USER_LOGIN_OTP_FAILED: "USER_LOGIN_OTP_FAILED";
96
105
  readonly SESSION_REVOKED: "SESSION_REVOKED";
97
106
  readonly ALL_OTHER_SESSIONS_REVOKED: "ALL_OTHER_SESSIONS_REVOKED";
98
107
  readonly PAYMENT_CREATED: "PAYMENT_CREATED";
@@ -128,6 +137,7 @@ export declare const UserActionLogObjectActionTypeType: {
128
137
  readonly REAUTHENTICATION_CHALLENGE_SENT: "REAUTHENTICATION_CHALLENGE_SENT";
129
138
  readonly REAUTHENTICATED: "REAUTHENTICATED";
130
139
  readonly REAUTHENTICATION_FAILED: "REAUTHENTICATION_FAILED";
140
+ readonly SUSPICIOUS_USER_ACTIVITY_DETECTED: "SUSPICIOUS_USER_ACTIVITY_DETECTED";
131
141
  };
132
142
  export type UserActionLogObjectActionTypeType = typeof UserActionLogObjectActionTypeType[keyof typeof UserActionLogObjectActionTypeType];
133
143
  /**
@@ -19,6 +19,7 @@ exports.UserActionLogObjectFromJSON = UserActionLogObjectFromJSON;
19
19
  exports.UserActionLogObjectFromJSONTyped = UserActionLogObjectFromJSONTyped;
20
20
  exports.UserActionLogObjectToJSON = UserActionLogObjectToJSON;
21
21
  exports.UserActionLogObjectToJSONTyped = UserActionLogObjectToJSONTyped;
22
+ var UserRiskSignals_1 = require("./UserRiskSignals");
22
23
  /**
23
24
  * @export
24
25
  */
@@ -34,12 +35,14 @@ exports.UserActionLogObjectActionTypeType = {
34
35
  CONTACT_METHOD_VERIFICATION_CODE_SENT: 'CONTACT_METHOD_VERIFICATION_CODE_SENT',
35
36
  CONTACT_METHOD_VERIFICATION_CODE_RE_SENT: 'CONTACT_METHOD_VERIFICATION_CODE_RE_SENT',
36
37
  CONTACT_METHOD_VERIFIED: 'CONTACT_METHOD_VERIFIED',
38
+ CONTACT_METHOD_VERIFICATION_FAILED: 'CONTACT_METHOD_VERIFICATION_FAILED',
37
39
  CONTACT_METHOD_ADMIN_OVERRIDE: 'CONTACT_METHOD_ADMIN_OVERRIDE',
38
40
  CONTACT_METHOD_FIXED_OTP_SET: 'CONTACT_METHOD_FIXED_OTP_SET',
39
41
  CONTACT_METHOD_FIXED_OTP_REMOVED: 'CONTACT_METHOD_FIXED_OTP_REMOVED',
40
42
  USER_LOGIN: 'USER_LOGIN',
41
43
  USER_LOGOUT: 'USER_LOGOUT',
42
44
  USER_LOGIN_OTP_SENT: 'USER_LOGIN_OTP_SENT',
45
+ USER_LOGIN_OTP_FAILED: 'USER_LOGIN_OTP_FAILED',
43
46
  SESSION_REVOKED: 'SESSION_REVOKED',
44
47
  ALL_OTHER_SESSIONS_REVOKED: 'ALL_OTHER_SESSIONS_REVOKED',
45
48
  PAYMENT_CREATED: 'PAYMENT_CREATED',
@@ -74,7 +77,8 @@ exports.UserActionLogObjectActionTypeType = {
74
77
  MFA_ADMIN_RESET: 'MFA_ADMIN_RESET',
75
78
  REAUTHENTICATION_CHALLENGE_SENT: 'REAUTHENTICATION_CHALLENGE_SENT',
76
79
  REAUTHENTICATED: 'REAUTHENTICATED',
77
- REAUTHENTICATION_FAILED: 'REAUTHENTICATION_FAILED'
80
+ REAUTHENTICATION_FAILED: 'REAUTHENTICATION_FAILED',
81
+ SUSPICIOUS_USER_ACTIVITY_DETECTED: 'SUSPICIOUS_USER_ACTIVITY_DETECTED'
78
82
  };
79
83
  /**
80
84
  * Check if a given object implements the UserActionLogObject interface.
@@ -105,6 +109,7 @@ function UserActionLogObjectFromJSONTyped(json, ignoreDiscriminator) {
105
109
  'sourceIpAddress': json['sourceIpAddress'] == null ? undefined : json['sourceIpAddress'],
106
110
  'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
107
111
  'metadata': json['metadata'] == null ? undefined : json['metadata'],
112
+ 'riskSignals': json['riskSignals'] == null ? undefined : (0, UserRiskSignals_1.UserRiskSignalsFromJSON)(json['riskSignals']),
108
113
  };
109
114
  }
110
115
  function UserActionLogObjectToJSON(json) {
@@ -125,5 +130,6 @@ function UserActionLogObjectToJSONTyped(value, ignoreDiscriminator) {
125
130
  'sourceIpAddress': value['sourceIpAddress'],
126
131
  'userAgent': value['userAgent'],
127
132
  'metadata': value['metadata'],
133
+ 'riskSignals': (0, UserRiskSignals_1.UserRiskSignalsToJSON)(value['riskSignals']),
128
134
  };
129
135
  }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 UserRiskSignals
16
+ */
17
+ export interface UserRiskSignals {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserRiskSignals
22
+ */
23
+ ipCountryCode?: string | null;
24
+ /**
25
+ *
26
+ * @type {Set<UserRiskSignalsDetectedSignalsType>}
27
+ * @memberof UserRiskSignals
28
+ */
29
+ detectedSignals: Set<UserRiskSignalsDetectedSignalsType>;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const UserRiskSignalsDetectedSignalsType: {
35
+ readonly TOR_EXIT_NODE_IP: "TOR_EXIT_NODE_IP";
36
+ readonly HOSTING_PROVIDER_IP: "HOSTING_PROVIDER_IP";
37
+ readonly VPN_IP: "VPN_IP";
38
+ readonly NEW_COUNTRY_FOR_USER: "NEW_COUNTRY_FOR_USER";
39
+ readonly AUTOMATED_USER_AGENT: "AUTOMATED_USER_AGENT";
40
+ readonly DISPOSABLE_EMAIL_DOMAIN: "DISPOSABLE_EMAIL_DOMAIN";
41
+ readonly BREACHED_PASSWORD: "BREACHED_PASSWORD";
42
+ };
43
+ export type UserRiskSignalsDetectedSignalsType = typeof UserRiskSignalsDetectedSignalsType[keyof typeof UserRiskSignalsDetectedSignalsType];
44
+ /**
45
+ * Check if a given object implements the UserRiskSignals interface.
46
+ */
47
+ export declare function instanceOfUserRiskSignals(value: object): value is UserRiskSignals;
48
+ export declare function UserRiskSignalsFromJSON(json: any): UserRiskSignals;
49
+ export declare function UserRiskSignalsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRiskSignals;
50
+ export declare function UserRiskSignalsToJSON(json: any): UserRiskSignals;
51
+ export declare function UserRiskSignalsToJSONTyped(value?: UserRiskSignals | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UserRiskSignalsDetectedSignalsType = void 0;
17
+ exports.instanceOfUserRiskSignals = instanceOfUserRiskSignals;
18
+ exports.UserRiskSignalsFromJSON = UserRiskSignalsFromJSON;
19
+ exports.UserRiskSignalsFromJSONTyped = UserRiskSignalsFromJSONTyped;
20
+ exports.UserRiskSignalsToJSON = UserRiskSignalsToJSON;
21
+ exports.UserRiskSignalsToJSONTyped = UserRiskSignalsToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.UserRiskSignalsDetectedSignalsType = {
26
+ TOR_EXIT_NODE_IP: 'TOR_EXIT_NODE_IP',
27
+ HOSTING_PROVIDER_IP: 'HOSTING_PROVIDER_IP',
28
+ VPN_IP: 'VPN_IP',
29
+ NEW_COUNTRY_FOR_USER: 'NEW_COUNTRY_FOR_USER',
30
+ AUTOMATED_USER_AGENT: 'AUTOMATED_USER_AGENT',
31
+ DISPOSABLE_EMAIL_DOMAIN: 'DISPOSABLE_EMAIL_DOMAIN',
32
+ BREACHED_PASSWORD: 'BREACHED_PASSWORD'
33
+ };
34
+ /**
35
+ * Check if a given object implements the UserRiskSignals interface.
36
+ */
37
+ function instanceOfUserRiskSignals(value) {
38
+ if (!('detectedSignals' in value) || value['detectedSignals'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function UserRiskSignalsFromJSON(json) {
43
+ return UserRiskSignalsFromJSONTyped(json, false);
44
+ }
45
+ function UserRiskSignalsFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'ipCountryCode': json['ipCountryCode'] == null ? undefined : json['ipCountryCode'],
51
+ 'detectedSignals': new Set(json['detectedSignals']),
52
+ };
53
+ }
54
+ function UserRiskSignalsToJSON(json) {
55
+ return UserRiskSignalsToJSONTyped(json, false);
56
+ }
57
+ function UserRiskSignalsToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'ipCountryCode': value['ipCountryCode'],
64
+ 'detectedSignals': Array.from(value['detectedSignals']),
65
+ };
66
+ }
@@ -226,6 +226,7 @@ export * from './UpdateWebAppResponse';
226
226
  export * from './UserActionLogObject';
227
227
  export * from './UserMetricsResponse';
228
228
  export * from './UserObject';
229
+ export * from './UserRiskSignals';
229
230
  export * from './UtilizationDataPoint';
230
231
  export * from './UtilizationSeries';
231
232
  export * from './WebAppBuildRequestObject';
@@ -244,6 +244,7 @@ __exportStar(require("./UpdateWebAppResponse"), exports);
244
244
  __exportStar(require("./UserActionLogObject"), exports);
245
245
  __exportStar(require("./UserMetricsResponse"), exports);
246
246
  __exportStar(require("./UserObject"), exports);
247
+ __exportStar(require("./UserRiskSignals"), exports);
247
248
  __exportStar(require("./UtilizationDataPoint"), exports);
248
249
  __exportStar(require("./UtilizationSeries"), exports);
249
250
  __exportStar(require("./WebAppBuildRequestObject"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.494",
3
+ "version": "1.0.497",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {