@widgetic/api-sdk 1.0.9 → 1.0.10
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/apis/AdminApi.js +2 -2
- package/dist/apis/AuthenticationApi.js +2 -2
- package/dist/apis/BatchApi.js +2 -2
- package/dist/apis/CompositionsApi.js +2 -2
- package/dist/apis/ContentsApi.js +2 -2
- package/dist/apis/EmbedsApi.js +2 -2
- package/dist/apis/FoldersApi.js +2 -2
- package/dist/apis/HealthApi.js +2 -2
- package/dist/apis/IntegrationsApi.js +2 -2
- package/dist/apis/ManagedUsersApi.js +2 -2
- package/dist/apis/StorageApi.js +2 -2
- package/dist/apis/UIComponentsApi.js +2 -2
- package/dist/apis/UsersApi.js +2 -2
- package/dist/apis/WidgetsApi.js +2 -2
- package/dist/apis/index.js +14 -14
- package/dist/index.js +3 -3
- package/dist/models/AdminHealthStatus.js +2 -2
- package/dist/models/AdminHealthStatusMetrics.js +1 -1
- package/dist/models/CompleteSignup200Response.js +1 -1
- package/dist/models/ComponentManifest.js +2 -2
- package/dist/models/GetAllCompositions200Response.js +1 -1
- package/dist/models/GetAllContents200Response.js +1 -1
- package/dist/models/GetAllEmbeds200Response.js +1 -1
- package/dist/models/GetAllFolders200Response.js +1 -1
- package/dist/models/GetAllManagedUsers200Response.js +1 -1
- package/dist/models/GetAllStorageQuotas200Response.js +1 -1
- package/dist/models/GetAllUsers200Response.js +1 -1
- package/dist/models/GetAllWidgets200Response.js +1 -1
- package/dist/models/GetApiKeyUsageLogs200Response.js +1 -1
- package/dist/models/GetAuditLogs200Response.js +1 -1
- package/dist/models/HealthStatus.js +1 -1
- package/dist/models/ListComponents200Response.js +1 -1
- package/dist/models/MountRequest.js +1 -1
- package/dist/models/MountRequestTheme.js +2 -2
- package/dist/models/ProcessBatch200Response.js +1 -1
- package/dist/models/ProcessBatchRequest.js +1 -1
- package/dist/models/Session.js +1 -1
- package/dist/models/SetUserRole200Response.js +1 -1
- package/dist/models/SetUserRoleRequest.js +1 -1
- package/dist/models/SignupRequest.js +2 -2
- package/dist/models/SignupUser201Response.js +1 -1
- package/dist/models/SystemStatus.js +1 -1
- package/dist/models/User.js +2 -2
- package/dist/models/index.js +106 -106
- package/package.json +5 -3
- package/scripts/add-js-extension.js +27 -0
- package/dist/esm/apis/AdminApi.d.ts +0 -121
- package/dist/esm/apis/AdminApi.js +0 -241
- package/dist/esm/apis/AuthenticationApi.d.ts +0 -203
- package/dist/esm/apis/AuthenticationApi.js +0 -418
- package/dist/esm/apis/BatchApi.d.ts +0 -31
- package/dist/esm/apis/BatchApi.js +0 -48
- package/dist/esm/apis/CompositionsApi.d.ts +0 -113
- package/dist/esm/apis/CompositionsApi.js +0 -219
- package/dist/esm/apis/ContentsApi.d.ts +0 -100
- package/dist/esm/apis/ContentsApi.js +0 -210
- package/dist/esm/apis/EmbedsApi.d.ts +0 -85
- package/dist/esm/apis/EmbedsApi.js +0 -159
- package/dist/esm/apis/FoldersApi.d.ts +0 -85
- package/dist/esm/apis/FoldersApi.js +0 -159
- package/dist/esm/apis/HealthApi.d.ts +0 -42
- package/dist/esm/apis/HealthApi.js +0 -72
- package/dist/esm/apis/IntegrationsApi.d.ts +0 -76
- package/dist/esm/apis/IntegrationsApi.js +0 -121
- package/dist/esm/apis/ManagedUsersApi.d.ts +0 -85
- package/dist/esm/apis/ManagedUsersApi.js +0 -159
- package/dist/esm/apis/StorageApi.d.ts +0 -115
- package/dist/esm/apis/StorageApi.js +0 -229
- package/dist/esm/apis/UIComponentsApi.d.ts +0 -96
- package/dist/esm/apis/UIComponentsApi.js +0 -152
- package/dist/esm/apis/UsersApi.d.ts +0 -210
- package/dist/esm/apis/UsersApi.js +0 -424
- package/dist/esm/apis/WidgetsApi.d.ts +0 -86
- package/dist/esm/apis/WidgetsApi.js +0 -162
- package/dist/esm/apis/index.d.ts +0 -14
- package/dist/esm/apis/index.js +0 -16
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +0 -5
- package/dist/esm/models/AdminHealthStatus.d.ts +0 -55
- package/dist/esm/models/AdminHealthStatus.js +0 -55
- package/dist/esm/models/AdminHealthStatusMetrics.d.ts +0 -45
- package/dist/esm/models/AdminHealthStatusMetrics.js +0 -46
- package/dist/esm/models/AdminHealthStatusMetricsMemory.d.ts +0 -38
- package/dist/esm/models/AdminHealthStatusMetricsMemory.js +0 -43
- package/dist/esm/models/AdminStats.d.ts +0 -56
- package/dist/esm/models/AdminStats.js +0 -49
- package/dist/esm/models/ApiKey.d.ts +0 -74
- package/dist/esm/models/ApiKey.js +0 -55
- package/dist/esm/models/ApiKeyUsageLog.d.ts +0 -88
- package/dist/esm/models/ApiKeyUsageLog.js +0 -64
- package/dist/esm/models/AuditLog.d.ts +0 -68
- package/dist/esm/models/AuditLog.js +0 -53
- package/dist/esm/models/BatchOperation.d.ts +0 -60
- package/dist/esm/models/BatchOperation.js +0 -60
- package/dist/esm/models/BatchResult.d.ts +0 -50
- package/dist/esm/models/BatchResult.js +0 -47
- package/dist/esm/models/CheckUserExists200Response.d.ts +0 -32
- package/dist/esm/models/CheckUserExists200Response.js +0 -41
- package/dist/esm/models/CleanupStatus.d.ts +0 -60
- package/dist/esm/models/CleanupStatus.js +0 -56
- package/dist/esm/models/CompleteSignup200Response.d.ts +0 -39
- package/dist/esm/models/CompleteSignup200Response.js +0 -44
- package/dist/esm/models/CompleteSignupRequest.d.ts +0 -70
- package/dist/esm/models/CompleteSignupRequest.js +0 -69
- package/dist/esm/models/ComponentManifest.d.ts +0 -52
- package/dist/esm/models/ComponentManifest.js +0 -49
- package/dist/esm/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/esm/models/ComponentManifestAssets.js +0 -43
- package/dist/esm/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/esm/models/ComponentManifestConfig.js +0 -45
- package/dist/esm/models/Composition.d.ts +0 -83
- package/dist/esm/models/Composition.js +0 -63
- package/dist/esm/models/CompositionVersion.d.ts +0 -56
- package/dist/esm/models/CompositionVersion.js +0 -49
- package/dist/esm/models/ConfirmEmail200Response.d.ts +0 -38
- package/dist/esm/models/ConfirmEmail200Response.js +0 -43
- package/dist/esm/models/ConfirmEmailRequest.d.ts +0 -38
- package/dist/esm/models/ConfirmEmailRequest.js +0 -47
- package/dist/esm/models/ConnectIntegrationRequest.d.ts +0 -47
- package/dist/esm/models/ConnectIntegrationRequest.js +0 -53
- package/dist/esm/models/Content.d.ts +0 -74
- package/dist/esm/models/Content.js +0 -55
- package/dist/esm/models/CreateCompositionRequest.d.ts +0 -44
- package/dist/esm/models/CreateCompositionRequest.js +0 -51
- package/dist/esm/models/CreateContentRequest.d.ts +0 -44
- package/dist/esm/models/CreateContentRequest.js +0 -49
- package/dist/esm/models/CreateEmbedRequest.d.ts +0 -38
- package/dist/esm/models/CreateEmbedRequest.js +0 -45
- package/dist/esm/models/CreateManagedUserRequest.d.ts +0 -38
- package/dist/esm/models/CreateManagedUserRequest.js +0 -45
- package/dist/esm/models/CreateUserApiKeyRequest.d.ts +0 -38
- package/dist/esm/models/CreateUserApiKeyRequest.js +0 -45
- package/dist/esm/models/DeleteAccountRequest.d.ts +0 -32
- package/dist/esm/models/DeleteAccountRequest.js +0 -43
- package/dist/esm/models/DisconnectIntegrationRequest.d.ts +0 -41
- package/dist/esm/models/DisconnectIntegrationRequest.js +0 -51
- package/dist/esm/models/Embed.d.ts +0 -62
- package/dist/esm/models/Embed.js +0 -51
- package/dist/esm/models/Folder.d.ts +0 -62
- package/dist/esm/models/Folder.js +0 -51
- package/dist/esm/models/GetAdminHealth200Response.d.ts +0 -53
- package/dist/esm/models/GetAdminHealth200Response.js +0 -53
- package/dist/esm/models/GetAllCompositions200Response.d.ts +0 -51
- package/dist/esm/models/GetAllCompositions200Response.js +0 -48
- package/dist/esm/models/GetAllContents200Response.d.ts +0 -51
- package/dist/esm/models/GetAllContents200Response.js +0 -48
- package/dist/esm/models/GetAllEmbeds200Response.d.ts +0 -51
- package/dist/esm/models/GetAllEmbeds200Response.js +0 -48
- package/dist/esm/models/GetAllFolders200Response.d.ts +0 -51
- package/dist/esm/models/GetAllFolders200Response.js +0 -48
- package/dist/esm/models/GetAllManagedUsers200Response.d.ts +0 -51
- package/dist/esm/models/GetAllManagedUsers200Response.js +0 -48
- package/dist/esm/models/GetAllStorageQuotas200Response.d.ts +0 -51
- package/dist/esm/models/GetAllStorageQuotas200Response.js +0 -48
- package/dist/esm/models/GetAllUsers200Response.d.ts +0 -51
- package/dist/esm/models/GetAllUsers200Response.js +0 -48
- package/dist/esm/models/GetAllWidgets200Response.d.ts +0 -51
- package/dist/esm/models/GetAllWidgets200Response.js +0 -48
- package/dist/esm/models/GetApiKeyUsageLogs200Response.d.ts +0 -33
- package/dist/esm/models/GetApiKeyUsageLogs200Response.js +0 -42
- package/dist/esm/models/GetAuditLogs200Response.d.ts +0 -51
- package/dist/esm/models/GetAuditLogs200Response.js +0 -48
- package/dist/esm/models/GetUserRole200Response.d.ts +0 -41
- package/dist/esm/models/GetUserRole200Response.js +0 -51
- package/dist/esm/models/HealthStatus.d.ts +0 -54
- package/dist/esm/models/HealthStatus.js +0 -54
- package/dist/esm/models/HealthStatusServices.d.ts +0 -44
- package/dist/esm/models/HealthStatusServices.js +0 -45
- package/dist/esm/models/IncreaseUserStorageQuotaRequest.d.ts +0 -32
- package/dist/esm/models/IncreaseUserStorageQuotaRequest.js +0 -43
- package/dist/esm/models/InitiateStorageCleanup202Response.d.ts +0 -45
- package/dist/esm/models/InitiateStorageCleanup202Response.js +0 -49
- package/dist/esm/models/Integration.d.ts +0 -86
- package/dist/esm/models/Integration.js +0 -69
- package/dist/esm/models/ListComponents200Response.d.ts +0 -33
- package/dist/esm/models/ListComponents200Response.js +0 -42
- package/dist/esm/models/LoginRequest.d.ts +0 -38
- package/dist/esm/models/LoginRequest.js +0 -47
- package/dist/esm/models/LoginUser401Response.d.ts +0 -32
- package/dist/esm/models/LoginUser401Response.js +0 -41
- package/dist/esm/models/LogoutUser200Response.d.ts +0 -38
- package/dist/esm/models/LogoutUser200Response.js +0 -43
- package/dist/esm/models/MaintenanceMode.d.ts +0 -44
- package/dist/esm/models/MaintenanceMode.js +0 -47
- package/dist/esm/models/ManagedUser.d.ts +0 -62
- package/dist/esm/models/ManagedUser.js +0 -51
- package/dist/esm/models/MountRequest.d.ts +0 -45
- package/dist/esm/models/MountRequest.js +0 -48
- package/dist/esm/models/MountRequestTheme.d.ts +0 -54
- package/dist/esm/models/MountRequestTheme.js +0 -54
- package/dist/esm/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/esm/models/MountRequestThemeColors.js +0 -47
- package/dist/esm/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/esm/models/MountRequestThemeTypography.js +0 -43
- package/dist/esm/models/MountResponse.d.ts +0 -46
- package/dist/esm/models/MountResponse.js +0 -50
- package/dist/esm/models/NewEmbed.d.ts +0 -38
- package/dist/esm/models/NewEmbed.js +0 -45
- package/dist/esm/models/NewFolder.d.ts +0 -38
- package/dist/esm/models/NewFolder.js +0 -45
- package/dist/esm/models/NewManagedUser.d.ts +0 -38
- package/dist/esm/models/NewManagedUser.js +0 -45
- package/dist/esm/models/NewWidget.d.ts +0 -50
- package/dist/esm/models/NewWidget.js +0 -53
- package/dist/esm/models/OAuthProviderEnum.d.ts +0 -26
- package/dist/esm/models/OAuthProviderEnum.js +0 -44
- package/dist/esm/models/ProcessBatch200Response.d.ts +0 -33
- package/dist/esm/models/ProcessBatch200Response.js +0 -42
- package/dist/esm/models/ProcessBatchRequest.d.ts +0 -33
- package/dist/esm/models/ProcessBatchRequest.js +0 -44
- package/dist/esm/models/ResendConfirmation200Response.d.ts +0 -32
- package/dist/esm/models/ResendConfirmation200Response.js +0 -41
- package/dist/esm/models/ResendConfirmationRequest.d.ts +0 -32
- package/dist/esm/models/ResendConfirmationRequest.js +0 -43
- package/dist/esm/models/ResetPasswordRequest.d.ts +0 -44
- package/dist/esm/models/ResetPasswordRequest.js +0 -47
- package/dist/esm/models/Session.d.ts +0 -63
- package/dist/esm/models/Session.js +0 -52
- package/dist/esm/models/SetUserRole200Response.d.ts +0 -39
- package/dist/esm/models/SetUserRole200Response.js +0 -44
- package/dist/esm/models/SetUserRoleRequest.d.ts +0 -33
- package/dist/esm/models/SetUserRoleRequest.js +0 -44
- package/dist/esm/models/SignupRequest.d.ts +0 -58
- package/dist/esm/models/SignupRequest.js +0 -55
- package/dist/esm/models/SignupUser201Response.d.ts +0 -39
- package/dist/esm/models/SignupUser201Response.js +0 -44
- package/dist/esm/models/SignupUser400Response.d.ts +0 -38
- package/dist/esm/models/SignupUser400Response.js +0 -43
- package/dist/esm/models/SignupUser409Response.d.ts +0 -38
- package/dist/esm/models/SignupUser409Response.js +0 -43
- package/dist/esm/models/SignupUser500Response.d.ts +0 -38
- package/dist/esm/models/SignupUser500Response.js +0 -43
- package/dist/esm/models/StorageQuota.d.ts +0 -44
- package/dist/esm/models/StorageQuota.js +0 -45
- package/dist/esm/models/StorageUsage.d.ts +0 -56
- package/dist/esm/models/StorageUsage.js +0 -49
- package/dist/esm/models/SystemStatus.d.ts +0 -60
- package/dist/esm/models/SystemStatus.js +0 -56
- package/dist/esm/models/SystemStatusServices.d.ts +0 -44
- package/dist/esm/models/SystemStatusServices.js +0 -45
- package/dist/esm/models/ToggleMaintenanceModeRequest.d.ts +0 -44
- package/dist/esm/models/ToggleMaintenanceModeRequest.js +0 -47
- package/dist/esm/models/UIComponent.d.ts +0 -65
- package/dist/esm/models/UIComponent.js +0 -57
- package/dist/esm/models/UpdateApiKeyRequest.d.ts +0 -38
- package/dist/esm/models/UpdateApiKeyRequest.js +0 -43
- package/dist/esm/models/UpdateCompositionRequest.d.ts +0 -38
- package/dist/esm/models/UpdateCompositionRequest.js +0 -43
- package/dist/esm/models/UpdateCompositionStatusRequest.d.ts +0 -41
- package/dist/esm/models/UpdateCompositionStatusRequest.js +0 -51
- package/dist/esm/models/UpdateContentRequest.d.ts +0 -44
- package/dist/esm/models/UpdateContentRequest.js +0 -45
- package/dist/esm/models/UpdateCurrentUserProfileRequest.d.ts +0 -38
- package/dist/esm/models/UpdateCurrentUserProfileRequest.js +0 -43
- package/dist/esm/models/UpdateEmail200Response.d.ts +0 -38
- package/dist/esm/models/UpdateEmail200Response.js +0 -43
- package/dist/esm/models/UpdateEmailRequest.d.ts +0 -38
- package/dist/esm/models/UpdateEmailRequest.js +0 -47
- package/dist/esm/models/UpdateFolder.d.ts +0 -38
- package/dist/esm/models/UpdateFolder.js +0 -43
- package/dist/esm/models/UpdateFolderRequest.d.ts +0 -38
- package/dist/esm/models/UpdateFolderRequest.js +0 -43
- package/dist/esm/models/UpdateManagedUserRequest.d.ts +0 -38
- package/dist/esm/models/UpdateManagedUserRequest.js +0 -43
- package/dist/esm/models/UpdateName200Response.d.ts +0 -38
- package/dist/esm/models/UpdateName200Response.js +0 -43
- package/dist/esm/models/UpdateName401Response.d.ts +0 -44
- package/dist/esm/models/UpdateName401Response.js +0 -45
- package/dist/esm/models/UpdateNameRequest.d.ts +0 -38
- package/dist/esm/models/UpdateNameRequest.js +0 -47
- package/dist/esm/models/UpdatePassword200Response.d.ts +0 -38
- package/dist/esm/models/UpdatePassword200Response.js +0 -43
- package/dist/esm/models/UpdatePasswordRequest.d.ts +0 -38
- package/dist/esm/models/UpdatePasswordRequest.js +0 -45
- package/dist/esm/models/UpdateStorageQuotaRequest.d.ts +0 -32
- package/dist/esm/models/UpdateStorageQuotaRequest.js +0 -43
- package/dist/esm/models/UpdateUserRole200Response.d.ts +0 -38
- package/dist/esm/models/UpdateUserRole200Response.js +0 -43
- package/dist/esm/models/UpdateUserRoleRequest.d.ts +0 -41
- package/dist/esm/models/UpdateUserRoleRequest.js +0 -51
- package/dist/esm/models/User.d.ts +0 -64
- package/dist/esm/models/User.js +0 -53
- package/dist/esm/models/UserPlanEnum.d.ts +0 -28
- package/dist/esm/models/UserPlanEnum.js +0 -46
- package/dist/esm/models/UserRoleEnum.d.ts +0 -26
- package/dist/esm/models/UserRoleEnum.js +0 -44
- package/dist/esm/models/UserUpdate.d.ts +0 -38
- package/dist/esm/models/UserUpdate.js +0 -43
- package/dist/esm/models/Widget.d.ts +0 -74
- package/dist/esm/models/Widget.js +0 -55
- package/dist/esm/models/index.d.ts +0 -106
- package/dist/esm/models/index.js +0 -108
- package/dist/esm/runtime.d.ts +0 -182
- package/dist/esm/runtime.js +0 -396
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
import { UserFromJSON, UserToJSON, } from './User';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the GetAllUsers200Response interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfGetAllUsers200Response(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function GetAllUsers200ResponseFromJSON(json) {
|
|
22
|
-
return GetAllUsers200ResponseFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function GetAllUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'data': json['data'] == null ? undefined : (json['data'].map(UserFromJSON)),
|
|
30
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
31
|
-
'size': json['size'] == null ? undefined : json['size'],
|
|
32
|
-
'total': json['total'] == null ? undefined : json['total'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function GetAllUsers200ResponseToJSON(json) {
|
|
36
|
-
return GetAllUsers200ResponseToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function GetAllUsers200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'data': value['data'] == null ? undefined : (value['data'].map(UserToJSON)),
|
|
44
|
-
'page': value['page'],
|
|
45
|
-
'size': value['size'],
|
|
46
|
-
'total': value['total'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Widget } from './Widget';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetAllWidgets200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface GetAllWidgets200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<Widget>}
|
|
22
|
-
* @memberof GetAllWidgets200Response
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<Widget>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof GetAllWidgets200Response
|
|
29
|
-
*/
|
|
30
|
-
page?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof GetAllWidgets200Response
|
|
35
|
-
*/
|
|
36
|
-
size?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof GetAllWidgets200Response
|
|
41
|
-
*/
|
|
42
|
-
total?: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the GetAllWidgets200Response interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfGetAllWidgets200Response(value: object): value is GetAllWidgets200Response;
|
|
48
|
-
export declare function GetAllWidgets200ResponseFromJSON(json: any): GetAllWidgets200Response;
|
|
49
|
-
export declare function GetAllWidgets200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllWidgets200Response;
|
|
50
|
-
export declare function GetAllWidgets200ResponseToJSON(json: any): GetAllWidgets200Response;
|
|
51
|
-
export declare function GetAllWidgets200ResponseToJSONTyped(value?: GetAllWidgets200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
import { WidgetFromJSON, WidgetToJSON, } from './Widget';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the GetAllWidgets200Response interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfGetAllWidgets200Response(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function GetAllWidgets200ResponseFromJSON(json) {
|
|
22
|
-
return GetAllWidgets200ResponseFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function GetAllWidgets200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'data': json['data'] == null ? undefined : (json['data'].map(WidgetFromJSON)),
|
|
30
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
31
|
-
'size': json['size'] == null ? undefined : json['size'],
|
|
32
|
-
'total': json['total'] == null ? undefined : json['total'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function GetAllWidgets200ResponseToJSON(json) {
|
|
36
|
-
return GetAllWidgets200ResponseToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function GetAllWidgets200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'data': value['data'] == null ? undefined : (value['data'].map(WidgetToJSON)),
|
|
44
|
-
'page': value['page'],
|
|
45
|
-
'size': value['size'],
|
|
46
|
-
'total': value['total'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ApiKeyUsageLog } from './ApiKeyUsageLog';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetApiKeyUsageLogs200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface GetApiKeyUsageLogs200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ApiKeyUsageLog>}
|
|
22
|
-
* @memberof GetApiKeyUsageLogs200Response
|
|
23
|
-
*/
|
|
24
|
-
logs?: Array<ApiKeyUsageLog>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the GetApiKeyUsageLogs200Response interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfGetApiKeyUsageLogs200Response(value: object): value is GetApiKeyUsageLogs200Response;
|
|
30
|
-
export declare function GetApiKeyUsageLogs200ResponseFromJSON(json: any): GetApiKeyUsageLogs200Response;
|
|
31
|
-
export declare function GetApiKeyUsageLogs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetApiKeyUsageLogs200Response;
|
|
32
|
-
export declare function GetApiKeyUsageLogs200ResponseToJSON(json: any): GetApiKeyUsageLogs200Response;
|
|
33
|
-
export declare function GetApiKeyUsageLogs200ResponseToJSONTyped(value?: GetApiKeyUsageLogs200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
import { ApiKeyUsageLogFromJSON, ApiKeyUsageLogToJSON, } from './ApiKeyUsageLog';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the GetApiKeyUsageLogs200Response interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfGetApiKeyUsageLogs200Response(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function GetApiKeyUsageLogs200ResponseFromJSON(json) {
|
|
22
|
-
return GetApiKeyUsageLogs200ResponseFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function GetApiKeyUsageLogs200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'logs': json['logs'] == null ? undefined : (json['logs'].map(ApiKeyUsageLogFromJSON)),
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export function GetApiKeyUsageLogs200ResponseToJSON(json) {
|
|
33
|
-
return GetApiKeyUsageLogs200ResponseToJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function GetApiKeyUsageLogs200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
-
if (value == null) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'logs': value['logs'] == null ? undefined : (value['logs'].map(ApiKeyUsageLogToJSON)),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { AuditLog } from './AuditLog';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetAuditLogs200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface GetAuditLogs200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AuditLog>}
|
|
22
|
-
* @memberof GetAuditLogs200Response
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<AuditLog>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof GetAuditLogs200Response
|
|
29
|
-
*/
|
|
30
|
-
page?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof GetAuditLogs200Response
|
|
35
|
-
*/
|
|
36
|
-
size?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof GetAuditLogs200Response
|
|
41
|
-
*/
|
|
42
|
-
total?: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the GetAuditLogs200Response interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfGetAuditLogs200Response(value: object): value is GetAuditLogs200Response;
|
|
48
|
-
export declare function GetAuditLogs200ResponseFromJSON(json: any): GetAuditLogs200Response;
|
|
49
|
-
export declare function GetAuditLogs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAuditLogs200Response;
|
|
50
|
-
export declare function GetAuditLogs200ResponseToJSON(json: any): GetAuditLogs200Response;
|
|
51
|
-
export declare function GetAuditLogs200ResponseToJSONTyped(value?: GetAuditLogs200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
import { AuditLogFromJSON, AuditLogToJSON, } from './AuditLog';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the GetAuditLogs200Response interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfGetAuditLogs200Response(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function GetAuditLogs200ResponseFromJSON(json) {
|
|
22
|
-
return GetAuditLogs200ResponseFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function GetAuditLogs200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'data': json['data'] == null ? undefined : (json['data'].map(AuditLogFromJSON)),
|
|
30
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
31
|
-
'size': json['size'] == null ? undefined : json['size'],
|
|
32
|
-
'total': json['total'] == null ? undefined : json['total'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function GetAuditLogs200ResponseToJSON(json) {
|
|
36
|
-
return GetAuditLogs200ResponseToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function GetAuditLogs200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'data': value['data'] == null ? undefined : (value['data'].map(AuditLogToJSON)),
|
|
44
|
-
'page': value['page'],
|
|
45
|
-
'size': value['size'],
|
|
46
|
-
'total': value['total'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetUserRole200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface GetUserRole200Response {
|
|
18
|
-
/**
|
|
19
|
-
* Role from user_role column
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetUserRole200Response
|
|
22
|
-
*/
|
|
23
|
-
userRole: GetUserRole200ResponseUserRoleEnum;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export declare const GetUserRole200ResponseUserRoleEnum: {
|
|
29
|
-
readonly Admin: "admin";
|
|
30
|
-
readonly Partner: "partner";
|
|
31
|
-
readonly User: "user";
|
|
32
|
-
};
|
|
33
|
-
export type GetUserRole200ResponseUserRoleEnum = typeof GetUserRole200ResponseUserRoleEnum[keyof typeof GetUserRole200ResponseUserRoleEnum];
|
|
34
|
-
/**
|
|
35
|
-
* Check if a given object implements the GetUserRole200Response interface.
|
|
36
|
-
*/
|
|
37
|
-
export declare function instanceOfGetUserRole200Response(value: object): value is GetUserRole200Response;
|
|
38
|
-
export declare function GetUserRole200ResponseFromJSON(json: any): GetUserRole200Response;
|
|
39
|
-
export declare function GetUserRole200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserRole200Response;
|
|
40
|
-
export declare function GetUserRole200ResponseToJSON(json: any): GetUserRole200Response;
|
|
41
|
-
export declare function GetUserRole200ResponseToJSONTyped(value?: GetUserRole200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const GetUserRole200ResponseUserRoleEnum = {
|
|
18
|
-
Admin: 'admin',
|
|
19
|
-
Partner: 'partner',
|
|
20
|
-
User: 'user'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the GetUserRole200Response interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfGetUserRole200Response(value) {
|
|
26
|
-
if (!('userRole' in value) || value['userRole'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
export function GetUserRole200ResponseFromJSON(json) {
|
|
31
|
-
return GetUserRole200ResponseFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
export function GetUserRole200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'userRole': json['user_role'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export function GetUserRole200ResponseToJSON(json) {
|
|
42
|
-
return GetUserRole200ResponseToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
export function GetUserRole200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'user_role': value['userRole'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { HealthStatusServices } from './HealthStatusServices';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface HealthStatus
|
|
17
|
-
*/
|
|
18
|
-
export interface HealthStatus {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof HealthStatus
|
|
23
|
-
*/
|
|
24
|
-
status?: HealthStatusStatusEnum;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Date}
|
|
28
|
-
* @memberof HealthStatus
|
|
29
|
-
*/
|
|
30
|
-
timestamp?: Date;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {HealthStatusServices}
|
|
34
|
-
* @memberof HealthStatus
|
|
35
|
-
*/
|
|
36
|
-
services?: HealthStatusServices;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
export declare const HealthStatusStatusEnum: {
|
|
42
|
-
readonly Healthy: "healthy";
|
|
43
|
-
readonly Degraded: "degraded";
|
|
44
|
-
readonly Maintenance: "maintenance";
|
|
45
|
-
};
|
|
46
|
-
export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof HealthStatusStatusEnum];
|
|
47
|
-
/**
|
|
48
|
-
* Check if a given object implements the HealthStatus interface.
|
|
49
|
-
*/
|
|
50
|
-
export declare function instanceOfHealthStatus(value: object): value is HealthStatus;
|
|
51
|
-
export declare function HealthStatusFromJSON(json: any): HealthStatus;
|
|
52
|
-
export declare function HealthStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthStatus;
|
|
53
|
-
export declare function HealthStatusToJSON(json: any): HealthStatus;
|
|
54
|
-
export declare function HealthStatusToJSONTyped(value?: HealthStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
import { HealthStatusServicesFromJSON, HealthStatusServicesToJSON, } from './HealthStatusServices';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const HealthStatusStatusEnum = {
|
|
19
|
-
Healthy: 'healthy',
|
|
20
|
-
Degraded: 'degraded',
|
|
21
|
-
Maintenance: 'maintenance'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the HealthStatus interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfHealthStatus(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function HealthStatusFromJSON(json) {
|
|
30
|
-
return HealthStatusFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function HealthStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
38
|
-
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
|
|
39
|
-
'services': json['services'] == null ? undefined : HealthStatusServicesFromJSON(json['services']),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export function HealthStatusToJSON(json) {
|
|
43
|
-
return HealthStatusToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
export function HealthStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'status': value['status'],
|
|
51
|
-
'timestamp': value['timestamp'] == null ? undefined : ((value['timestamp']).toISOString()),
|
|
52
|
-
'services': HealthStatusServicesToJSON(value['services']),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface HealthStatusServices
|
|
16
|
-
*/
|
|
17
|
-
export interface HealthStatusServices {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof HealthStatusServices
|
|
22
|
-
*/
|
|
23
|
-
database?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof HealthStatusServices
|
|
28
|
-
*/
|
|
29
|
-
storage?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof HealthStatusServices
|
|
34
|
-
*/
|
|
35
|
-
auth?: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the HealthStatusServices interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfHealthStatusServices(value: object): value is HealthStatusServices;
|
|
41
|
-
export declare function HealthStatusServicesFromJSON(json: any): HealthStatusServices;
|
|
42
|
-
export declare function HealthStatusServicesFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthStatusServices;
|
|
43
|
-
export declare function HealthStatusServicesToJSON(json: any): HealthStatusServices;
|
|
44
|
-
export declare function HealthStatusServicesToJSONTyped(value?: HealthStatusServices | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Widgetic API Gateway
|
|
5
|
-
* API documentation for the Widgetic API Gateway
|
|
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
|
-
* Check if a given object implements the HealthStatusServices interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfHealthStatusServices(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function HealthStatusServicesFromJSON(json) {
|
|
21
|
-
return HealthStatusServicesFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function HealthStatusServicesFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'database': json['database'] == null ? undefined : json['database'],
|
|
29
|
-
'storage': json['storage'] == null ? undefined : json['storage'],
|
|
30
|
-
'auth': json['auth'] == null ? undefined : json['auth'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function HealthStatusServicesToJSON(json) {
|
|
34
|
-
return HealthStatusServicesToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function HealthStatusServicesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'database': value['database'],
|
|
42
|
-
'storage': value['storage'],
|
|
43
|
-
'auth': value['auth'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Widgetic API Gateway
|
|
3
|
-
* API documentation for the Widgetic API Gateway
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IncreaseUserStorageQuotaRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IncreaseUserStorageQuotaRequest {
|
|
18
|
-
/**
|
|
19
|
-
* Additional storage space in bytes
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof IncreaseUserStorageQuotaRequest
|
|
22
|
-
*/
|
|
23
|
-
additionalQuota: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the IncreaseUserStorageQuotaRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfIncreaseUserStorageQuotaRequest(value: object): value is IncreaseUserStorageQuotaRequest;
|
|
29
|
-
export declare function IncreaseUserStorageQuotaRequestFromJSON(json: any): IncreaseUserStorageQuotaRequest;
|
|
30
|
-
export declare function IncreaseUserStorageQuotaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncreaseUserStorageQuotaRequest;
|
|
31
|
-
export declare function IncreaseUserStorageQuotaRequestToJSON(json: any): IncreaseUserStorageQuotaRequest;
|
|
32
|
-
export declare function IncreaseUserStorageQuotaRequestToJSONTyped(value?: IncreaseUserStorageQuotaRequest | null, ignoreDiscriminator?: boolean): any;
|