@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,64 +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 ApiKeyUsageLogKindEnum = {
|
|
18
|
-
Success: 'Success',
|
|
19
|
-
Error: 'Error'
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ApiKeyUsageLog interface.
|
|
23
|
-
*/
|
|
24
|
-
export function instanceOfApiKeyUsageLog(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
export function ApiKeyUsageLogFromJSON(json) {
|
|
28
|
-
return ApiKeyUsageLogFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
export function ApiKeyUsageLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
-
'keyId': json['key_id'] == null ? undefined : json['key_id'],
|
|
37
|
-
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
38
|
-
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
|
|
39
|
-
'path': json['path'] == null ? undefined : json['path'],
|
|
40
|
-
'method': json['method'] == null ? undefined : json['method'],
|
|
41
|
-
'details': json['details'] == null ? undefined : json['details'],
|
|
42
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
43
|
-
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export function ApiKeyUsageLogToJSON(json) {
|
|
47
|
-
return ApiKeyUsageLogToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
export function ApiKeyUsageLogToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'id': value['id'],
|
|
55
|
-
'key_id': value['keyId'],
|
|
56
|
-
'user_id': value['userId'],
|
|
57
|
-
'timestamp': value['timestamp'] == null ? undefined : ((value['timestamp']).toISOString()),
|
|
58
|
-
'path': value['path'],
|
|
59
|
-
'method': value['method'],
|
|
60
|
-
'details': value['details'],
|
|
61
|
-
'status': value['status'],
|
|
62
|
-
'kind': value['kind'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,68 +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 AuditLog
|
|
16
|
-
*/
|
|
17
|
-
export interface AuditLog {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AuditLog
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The action that was performed
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AuditLog
|
|
28
|
-
*/
|
|
29
|
-
action?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The type of entity that was affected
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AuditLog
|
|
34
|
-
*/
|
|
35
|
-
entityType?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The ID of the entity that was affected
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AuditLog
|
|
40
|
-
*/
|
|
41
|
-
entityId?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The ID of the user who performed the action
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AuditLog
|
|
46
|
-
*/
|
|
47
|
-
userId?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Additional information about the action
|
|
50
|
-
* @type {object}
|
|
51
|
-
* @memberof AuditLog
|
|
52
|
-
*/
|
|
53
|
-
metadata?: object;
|
|
54
|
-
/**
|
|
55
|
-
* When the action was performed
|
|
56
|
-
* @type {Date}
|
|
57
|
-
* @memberof AuditLog
|
|
58
|
-
*/
|
|
59
|
-
createdAt?: Date;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the AuditLog interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfAuditLog(value: object): value is AuditLog;
|
|
65
|
-
export declare function AuditLogFromJSON(json: any): AuditLog;
|
|
66
|
-
export declare function AuditLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLog;
|
|
67
|
-
export declare function AuditLogToJSON(json: any): AuditLog;
|
|
68
|
-
export declare function AuditLogToJSONTyped(value?: AuditLog | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,53 +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 AuditLog interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfAuditLog(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function AuditLogFromJSON(json) {
|
|
21
|
-
return AuditLogFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function AuditLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
-
'action': json['action'] == null ? undefined : json['action'],
|
|
30
|
-
'entityType': json['entity_type'] == null ? undefined : json['entity_type'],
|
|
31
|
-
'entityId': json['entity_id'] == null ? undefined : json['entity_id'],
|
|
32
|
-
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
33
|
-
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
34
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function AuditLogToJSON(json) {
|
|
38
|
-
return AuditLogToJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
export function AuditLogToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'id': value['id'],
|
|
46
|
-
'action': value['action'],
|
|
47
|
-
'entity_type': value['entityType'],
|
|
48
|
-
'entity_id': value['entityId'],
|
|
49
|
-
'user_id': value['userId'],
|
|
50
|
-
'metadata': value['metadata'],
|
|
51
|
-
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -1,60 +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 BatchOperation
|
|
16
|
-
*/
|
|
17
|
-
export interface BatchOperation {
|
|
18
|
-
/**
|
|
19
|
-
* HTTP method for the operation
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BatchOperation
|
|
22
|
-
*/
|
|
23
|
-
method: BatchOperationMethodEnum;
|
|
24
|
-
/**
|
|
25
|
-
* API endpoint path
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BatchOperation
|
|
28
|
-
*/
|
|
29
|
-
path: string;
|
|
30
|
-
/**
|
|
31
|
-
* Request body for POST/PUT operations
|
|
32
|
-
* @type {object}
|
|
33
|
-
* @memberof BatchOperation
|
|
34
|
-
*/
|
|
35
|
-
body?: object;
|
|
36
|
-
/**
|
|
37
|
-
* Additional headers for the operation
|
|
38
|
-
* @type {object}
|
|
39
|
-
* @memberof BatchOperation
|
|
40
|
-
*/
|
|
41
|
-
headers?: object;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const BatchOperationMethodEnum: {
|
|
47
|
-
readonly Get: "GET";
|
|
48
|
-
readonly Post: "POST";
|
|
49
|
-
readonly Put: "PUT";
|
|
50
|
-
readonly Delete: "DELETE";
|
|
51
|
-
};
|
|
52
|
-
export type BatchOperationMethodEnum = typeof BatchOperationMethodEnum[keyof typeof BatchOperationMethodEnum];
|
|
53
|
-
/**
|
|
54
|
-
* Check if a given object implements the BatchOperation interface.
|
|
55
|
-
*/
|
|
56
|
-
export declare function instanceOfBatchOperation(value: object): value is BatchOperation;
|
|
57
|
-
export declare function BatchOperationFromJSON(json: any): BatchOperation;
|
|
58
|
-
export declare function BatchOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchOperation;
|
|
59
|
-
export declare function BatchOperationToJSON(json: any): BatchOperation;
|
|
60
|
-
export declare function BatchOperationToJSONTyped(value?: BatchOperation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,60 +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 BatchOperationMethodEnum = {
|
|
18
|
-
Get: 'GET',
|
|
19
|
-
Post: 'POST',
|
|
20
|
-
Put: 'PUT',
|
|
21
|
-
Delete: 'DELETE'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the BatchOperation interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfBatchOperation(value) {
|
|
27
|
-
if (!('method' in value) || value['method'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('path' in value) || value['path'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
export function BatchOperationFromJSON(json) {
|
|
34
|
-
return BatchOperationFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function BatchOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'method': json['method'],
|
|
42
|
-
'path': json['path'],
|
|
43
|
-
'body': json['body'] == null ? undefined : json['body'],
|
|
44
|
-
'headers': json['headers'] == null ? undefined : json['headers'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export function BatchOperationToJSON(json) {
|
|
48
|
-
return BatchOperationToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
export function BatchOperationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'method': value['method'],
|
|
56
|
-
'path': value['path'],
|
|
57
|
-
'body': value['body'],
|
|
58
|
-
'headers': value['headers'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -1,50 +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 BatchResult
|
|
16
|
-
*/
|
|
17
|
-
export interface BatchResult {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof BatchResult
|
|
22
|
-
*/
|
|
23
|
-
success?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Response data if operation succeeded
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof BatchResult
|
|
28
|
-
*/
|
|
29
|
-
data?: object;
|
|
30
|
-
/**
|
|
31
|
-
* Error message if operation failed
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof BatchResult
|
|
34
|
-
*/
|
|
35
|
-
error?: string;
|
|
36
|
-
/**
|
|
37
|
-
* HTTP status code of the operation
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof BatchResult
|
|
40
|
-
*/
|
|
41
|
-
statusCode?: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the BatchResult interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfBatchResult(value: object): value is BatchResult;
|
|
47
|
-
export declare function BatchResultFromJSON(json: any): BatchResult;
|
|
48
|
-
export declare function BatchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchResult;
|
|
49
|
-
export declare function BatchResultToJSON(json: any): BatchResult;
|
|
50
|
-
export declare function BatchResultToJSONTyped(value?: BatchResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +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 BatchResult interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfBatchResult(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function BatchResultFromJSON(json) {
|
|
21
|
-
return BatchResultFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function BatchResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
-
'data': json['data'] == null ? undefined : json['data'],
|
|
30
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
31
|
-
'statusCode': json['statusCode'] == null ? undefined : json['statusCode'],
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function BatchResultToJSON(json) {
|
|
35
|
-
return BatchResultToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function BatchResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'success': value['success'],
|
|
43
|
-
'data': value['data'],
|
|
44
|
-
'error': value['error'],
|
|
45
|
-
'statusCode': value['statusCode'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -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 CheckUserExists200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface CheckUserExists200Response {
|
|
18
|
-
/**
|
|
19
|
-
* Whether a user with this email exists
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof CheckUserExists200Response
|
|
22
|
-
*/
|
|
23
|
-
_exists?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the CheckUserExists200Response interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfCheckUserExists200Response(value: object): value is CheckUserExists200Response;
|
|
29
|
-
export declare function CheckUserExists200ResponseFromJSON(json: any): CheckUserExists200Response;
|
|
30
|
-
export declare function CheckUserExists200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckUserExists200Response;
|
|
31
|
-
export declare function CheckUserExists200ResponseToJSON(json: any): CheckUserExists200Response;
|
|
32
|
-
export declare function CheckUserExists200ResponseToJSONTyped(value?: CheckUserExists200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,41 +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 CheckUserExists200Response interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfCheckUserExists200Response(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function CheckUserExists200ResponseFromJSON(json) {
|
|
21
|
-
return CheckUserExists200ResponseFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function CheckUserExists200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'_exists': json['exists'] == null ? undefined : json['exists'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export function CheckUserExists200ResponseToJSON(json) {
|
|
32
|
-
return CheckUserExists200ResponseToJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function CheckUserExists200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'exists': value['_exists'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,60 +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 CleanupStatus
|
|
16
|
-
*/
|
|
17
|
-
export interface CleanupStatus {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CleanupStatus
|
|
22
|
-
*/
|
|
23
|
-
status?: CleanupStatusStatusEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Progress percentage
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CleanupStatus
|
|
28
|
-
*/
|
|
29
|
-
progress?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Date}
|
|
33
|
-
* @memberof CleanupStatus
|
|
34
|
-
*/
|
|
35
|
-
lastRun?: Date;
|
|
36
|
-
/**
|
|
37
|
-
* Error message if status is failed
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CleanupStatus
|
|
40
|
-
*/
|
|
41
|
-
error?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const CleanupStatusStatusEnum: {
|
|
47
|
-
readonly Idle: "idle";
|
|
48
|
-
readonly Running: "running";
|
|
49
|
-
readonly Completed: "completed";
|
|
50
|
-
readonly Failed: "failed";
|
|
51
|
-
};
|
|
52
|
-
export type CleanupStatusStatusEnum = typeof CleanupStatusStatusEnum[keyof typeof CleanupStatusStatusEnum];
|
|
53
|
-
/**
|
|
54
|
-
* Check if a given object implements the CleanupStatus interface.
|
|
55
|
-
*/
|
|
56
|
-
export declare function instanceOfCleanupStatus(value: object): value is CleanupStatus;
|
|
57
|
-
export declare function CleanupStatusFromJSON(json: any): CleanupStatus;
|
|
58
|
-
export declare function CleanupStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CleanupStatus;
|
|
59
|
-
export declare function CleanupStatusToJSON(json: any): CleanupStatus;
|
|
60
|
-
export declare function CleanupStatusToJSONTyped(value?: CleanupStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,56 +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 CleanupStatusStatusEnum = {
|
|
18
|
-
Idle: 'idle',
|
|
19
|
-
Running: 'running',
|
|
20
|
-
Completed: 'completed',
|
|
21
|
-
Failed: 'failed'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the CleanupStatus interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfCleanupStatus(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function CleanupStatusFromJSON(json) {
|
|
30
|
-
return CleanupStatusFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function CleanupStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
38
|
-
'progress': json['progress'] == null ? undefined : json['progress'],
|
|
39
|
-
'lastRun': json['lastRun'] == null ? undefined : (new Date(json['lastRun'])),
|
|
40
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function CleanupStatusToJSON(json) {
|
|
44
|
-
return CleanupStatusToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function CleanupStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'status': value['status'],
|
|
52
|
-
'progress': value['progress'],
|
|
53
|
-
'lastRun': value['lastRun'] == null ? undefined : ((value['lastRun']).toISOString()),
|
|
54
|
-
'error': value['error'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,39 +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 { User } from './User';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CompleteSignup200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface CompleteSignup200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CompleteSignup200Response
|
|
23
|
-
*/
|
|
24
|
-
message?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {User}
|
|
28
|
-
* @memberof CompleteSignup200Response
|
|
29
|
-
*/
|
|
30
|
-
user?: User;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the CompleteSignup200Response interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfCompleteSignup200Response(value: object): value is CompleteSignup200Response;
|
|
36
|
-
export declare function CompleteSignup200ResponseFromJSON(json: any): CompleteSignup200Response;
|
|
37
|
-
export declare function CompleteSignup200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompleteSignup200Response;
|
|
38
|
-
export declare function CompleteSignup200ResponseToJSON(json: any): CompleteSignup200Response;
|
|
39
|
-
export declare function CompleteSignup200ResponseToJSONTyped(value?: CompleteSignup200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,44 +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 CompleteSignup200Response interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfCompleteSignup200Response(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function CompleteSignup200ResponseFromJSON(json) {
|
|
22
|
-
return CompleteSignup200ResponseFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function CompleteSignup200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'message': json['message'] == null ? undefined : json['message'],
|
|
30
|
-
'user': json['user'] == null ? undefined : UserFromJSON(json['user']),
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function CompleteSignup200ResponseToJSON(json) {
|
|
34
|
-
return CompleteSignup200ResponseToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function CompleteSignup200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'message': value['message'],
|
|
42
|
-
'user': UserToJSON(value['user']),
|
|
43
|
-
};
|
|
44
|
-
}
|