@forteplatforms/sdk 1.0.350 → 1.0.355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/apis/ProjectsServerApi.d.ts +11 -0
- package/dist/generated/apis/ProjectsServerApi.js +13 -1
- package/dist/generated/models/ForteApiException.d.ts +2 -0
- package/dist/generated/models/ForteApiException.js +2 -0
- package/dist/generated/models/SendUserEmailFromTemplateRequest.d.ts +2 -2
- package/dist/generated/models/UserObject.d.ts +4 -4
- package/dist/generated/models/UserObject.js +2 -2
- package/package.json +1 -1
|
@@ -388,6 +388,7 @@ export interface GetServiceMetricsRequest {
|
|
|
388
388
|
minTime?: Date;
|
|
389
389
|
maxTime?: Date;
|
|
390
390
|
granularity?: GetServiceMetricsGranularityType;
|
|
391
|
+
dimensions?: Set<GetServiceMetricsDimensionsType>;
|
|
391
392
|
}
|
|
392
393
|
export interface GetServiceRouteMetricsRequest {
|
|
393
394
|
projectId: string;
|
|
@@ -2254,6 +2255,16 @@ export declare const GetServiceMetricsGranularityType: {
|
|
|
2254
2255
|
readonly ONE_HOUR: "ONE_HOUR";
|
|
2255
2256
|
};
|
|
2256
2257
|
export type GetServiceMetricsGranularityType = typeof GetServiceMetricsGranularityType[keyof typeof GetServiceMetricsGranularityType];
|
|
2258
|
+
/**
|
|
2259
|
+
* @export
|
|
2260
|
+
*/
|
|
2261
|
+
export declare const GetServiceMetricsDimensionsType: {
|
|
2262
|
+
readonly INVOCATIONS: "INVOCATIONS";
|
|
2263
|
+
readonly STATUS_CODES: "STATUS_CODES";
|
|
2264
|
+
readonly LATENCY: "LATENCY";
|
|
2265
|
+
readonly COMPUTE: "COMPUTE";
|
|
2266
|
+
};
|
|
2267
|
+
export type GetServiceMetricsDimensionsType = typeof GetServiceMetricsDimensionsType[keyof typeof GetServiceMetricsDimensionsType];
|
|
2257
2268
|
/**
|
|
2258
2269
|
* @export
|
|
2259
2270
|
*/
|
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.SuggestDatabaseEnvVarsDatabaseTypeType = exports.ListUserPaymentsStateType = exports.ListUserActionLogsActionTypeType = exports.ListProjectPaymentsStateType = exports.GetUserMetricsGranularityType = exports.GetServiceMetricsGranularityType = exports.GetRequestBodyDownloadLinkPartType = exports.GetPaymentAnalyticsGranularityType = exports.GetPaymentAnalyticsGroupByType = exports.ProjectsServerApi = void 0;
|
|
67
|
+
exports.SuggestDatabaseEnvVarsDatabaseTypeType = exports.ListUserPaymentsStateType = exports.ListUserActionLogsActionTypeType = exports.ListProjectPaymentsStateType = exports.GetUserMetricsGranularityType = exports.GetServiceMetricsDimensionsType = exports.GetServiceMetricsGranularityType = exports.GetRequestBodyDownloadLinkPartType = exports.GetPaymentAnalyticsGranularityType = exports.GetPaymentAnalyticsGroupByType = exports.ProjectsServerApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var ActionInvocationObject_1 = require("../models/ActionInvocationObject");
|
|
70
70
|
var ActionObject_1 = require("../models/ActionObject");
|
|
@@ -3864,6 +3864,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
3864
3864
|
if (requestParameters['granularity'] != null) {
|
|
3865
3865
|
queryParameters['granularity'] = requestParameters['granularity'];
|
|
3866
3866
|
}
|
|
3867
|
+
if (requestParameters['dimensions'] != null) {
|
|
3868
|
+
queryParameters['dimensions'] = requestParameters['dimensions'];
|
|
3869
|
+
}
|
|
3867
3870
|
headerParameters = {};
|
|
3868
3871
|
urlPath = "/api/v1/projects/{projectId}/services/{serviceId}/metrics";
|
|
3869
3872
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
@@ -9244,6 +9247,15 @@ exports.GetServiceMetricsGranularityType = {
|
|
|
9244
9247
|
FIFTEEN_MINUTES: 'FIFTEEN_MINUTES',
|
|
9245
9248
|
ONE_HOUR: 'ONE_HOUR'
|
|
9246
9249
|
};
|
|
9250
|
+
/**
|
|
9251
|
+
* @export
|
|
9252
|
+
*/
|
|
9253
|
+
exports.GetServiceMetricsDimensionsType = {
|
|
9254
|
+
INVOCATIONS: 'INVOCATIONS',
|
|
9255
|
+
STATUS_CODES: 'STATUS_CODES',
|
|
9256
|
+
LATENCY: 'LATENCY',
|
|
9257
|
+
COMPUTE: 'COMPUTE'
|
|
9258
|
+
};
|
|
9247
9259
|
/**
|
|
9248
9260
|
* @export
|
|
9249
9261
|
*/
|
|
@@ -146,6 +146,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
146
146
|
readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
|
|
147
147
|
readonly ACCOUNT_BILLING_SUSPENDED: "ACCOUNT_BILLING_SUSPENDED";
|
|
148
148
|
readonly NO_PENDING_EMAIL_VERIFICATION: "NO_PENDING_EMAIL_VERIFICATION";
|
|
149
|
+
readonly ACCOUNT_HAS_NO_VERIFIED_EMAIL: "ACCOUNT_HAS_NO_VERIFIED_EMAIL";
|
|
149
150
|
readonly COMPLIANCE_REGISTRATION_ALREADY_EXISTS: "COMPLIANCE_REGISTRATION_ALREADY_EXISTS";
|
|
150
151
|
readonly COMPLIANCE_REGISTRATION_NOT_FOUND: "COMPLIANCE_REGISTRATION_NOT_FOUND";
|
|
151
152
|
readonly COMPLIANCE_REGISTRATION_NOT_EDITABLE: "COMPLIANCE_REGISTRATION_NOT_EDITABLE";
|
|
@@ -232,6 +233,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
232
233
|
readonly CUSTOM_EMAIL_TEMPLATE_NAME_TAKEN_IN_PROJECT: "CUSTOM_EMAIL_TEMPLATE_NAME_TAKEN_IN_PROJECT";
|
|
233
234
|
readonly CUSTOM_EMAIL_TEMPLATE_INVALID: "CUSTOM_EMAIL_TEMPLATE_INVALID";
|
|
234
235
|
readonly CUSTOM_EMAIL_TEMPLATE_NAME_RESERVED: "CUSTOM_EMAIL_TEMPLATE_NAME_RESERVED";
|
|
236
|
+
readonly CUSTOM_EMAIL_TEMPLATE_PARAMS_INVALID: "CUSTOM_EMAIL_TEMPLATE_PARAMS_INVALID";
|
|
235
237
|
readonly RESERVED_EMAIL_TEMPLATE_NOT_SUPPORTED: "RESERVED_EMAIL_TEMPLATE_NOT_SUPPORTED";
|
|
236
238
|
readonly CUSTOM_ATTRIBUTE_RESERVED_KEY: "CUSTOM_ATTRIBUTE_RESERVED_KEY";
|
|
237
239
|
readonly CONTENT_NOT_FOUND: "CONTENT_NOT_FOUND";
|
|
@@ -131,6 +131,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
131
131
|
ACCOUNT_SUSPENDED: 'ACCOUNT_SUSPENDED',
|
|
132
132
|
ACCOUNT_BILLING_SUSPENDED: 'ACCOUNT_BILLING_SUSPENDED',
|
|
133
133
|
NO_PENDING_EMAIL_VERIFICATION: 'NO_PENDING_EMAIL_VERIFICATION',
|
|
134
|
+
ACCOUNT_HAS_NO_VERIFIED_EMAIL: 'ACCOUNT_HAS_NO_VERIFIED_EMAIL',
|
|
134
135
|
COMPLIANCE_REGISTRATION_ALREADY_EXISTS: 'COMPLIANCE_REGISTRATION_ALREADY_EXISTS',
|
|
135
136
|
COMPLIANCE_REGISTRATION_NOT_FOUND: 'COMPLIANCE_REGISTRATION_NOT_FOUND',
|
|
136
137
|
COMPLIANCE_REGISTRATION_NOT_EDITABLE: 'COMPLIANCE_REGISTRATION_NOT_EDITABLE',
|
|
@@ -217,6 +218,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
217
218
|
CUSTOM_EMAIL_TEMPLATE_NAME_TAKEN_IN_PROJECT: 'CUSTOM_EMAIL_TEMPLATE_NAME_TAKEN_IN_PROJECT',
|
|
218
219
|
CUSTOM_EMAIL_TEMPLATE_INVALID: 'CUSTOM_EMAIL_TEMPLATE_INVALID',
|
|
219
220
|
CUSTOM_EMAIL_TEMPLATE_NAME_RESERVED: 'CUSTOM_EMAIL_TEMPLATE_NAME_RESERVED',
|
|
221
|
+
CUSTOM_EMAIL_TEMPLATE_PARAMS_INVALID: 'CUSTOM_EMAIL_TEMPLATE_PARAMS_INVALID',
|
|
220
222
|
RESERVED_EMAIL_TEMPLATE_NOT_SUPPORTED: 'RESERVED_EMAIL_TEMPLATE_NOT_SUPPORTED',
|
|
221
223
|
CUSTOM_ATTRIBUTE_RESERVED_KEY: 'CUSTOM_ATTRIBUTE_RESERVED_KEY',
|
|
222
224
|
CONTENT_NOT_FOUND: 'CONTENT_NOT_FOUND',
|
|
@@ -23,11 +23,11 @@ export interface SendUserEmailFromTemplateRequest {
|
|
|
23
23
|
templateName: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]:
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
27
|
* @memberof SendUserEmailFromTemplateRequest
|
|
28
28
|
*/
|
|
29
29
|
templateParams?: {
|
|
30
|
-
[key: string]:
|
|
30
|
+
[key: string]: any;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
@@ -123,16 +123,16 @@ export interface UserObject {
|
|
|
123
123
|
backupCodesGeneratedAt?: Date;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
|
-
* @type {
|
|
126
|
+
* @type {boolean}
|
|
127
127
|
* @memberof UserObject
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
hasPassword?: boolean;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {number}
|
|
133
133
|
* @memberof UserObject
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
remainingBackupCodeCount?: number;
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* @export
|
|
@@ -72,8 +72,8 @@ function UserObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'passwordResetLastRequestedAt': json['passwordResetLastRequestedAt'] == null ? undefined : (new Date(json['passwordResetLastRequestedAt'])),
|
|
73
73
|
'mfaMethods': json['mfaMethods'] == null ? undefined : (json['mfaMethods'].map(MfaMethod_1.MfaMethodFromJSON)),
|
|
74
74
|
'backupCodesGeneratedAt': json['backupCodesGeneratedAt'] == null ? undefined : (new Date(json['backupCodesGeneratedAt'])),
|
|
75
|
-
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
76
75
|
'hasPassword': json['hasPassword'] == null ? undefined : json['hasPassword'],
|
|
76
|
+
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function UserObjectToJSON(json) {
|
|
@@ -102,7 +102,7 @@ function UserObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
102
|
'passwordResetLastRequestedAt': value['passwordResetLastRequestedAt'] == null ? value['passwordResetLastRequestedAt'] : value['passwordResetLastRequestedAt'].toISOString(),
|
|
103
103
|
'mfaMethods': value['mfaMethods'] == null ? undefined : (value['mfaMethods'].map(MfaMethod_1.MfaMethodToJSON)),
|
|
104
104
|
'backupCodesGeneratedAt': value['backupCodesGeneratedAt'] == null ? value['backupCodesGeneratedAt'] : value['backupCodesGeneratedAt'].toISOString(),
|
|
105
|
-
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
106
105
|
'hasPassword': value['hasPassword'],
|
|
106
|
+
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
107
107
|
};
|
|
108
108
|
}
|