@galera/api-client 0.2.1 → 0.3.0-alpha.1
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/DefaultApi.d.ts +424 -0
- package/dist/apis/DefaultApi.js +1115 -0
- package/dist/apis/DefaultApi.js.map +1 -0
- package/dist/apis/default-api.d.ts +424 -0
- package/dist/apis/default-api.js +1115 -0
- package/dist/apis/default-api.js.map +1 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/{api.js → apis/index.js} +4 -15
- package/dist/apis/index.js.map +1 -0
- package/dist/index.d.ts +3 -14
- package/dist/index.js +5 -16
- package/dist/index.js.map +1 -1
- package/dist/models/AlbumAddMedia.d.ts +38 -0
- package/dist/models/AlbumAddMedia.js +55 -0
- package/dist/models/AlbumAddMedia.js.map +1 -0
- package/dist/models/AlbumInsertData.d.ts +38 -0
- package/dist/models/AlbumInsertData.js +53 -0
- package/dist/models/AlbumInsertData.js.map +1 -0
- package/dist/models/AlbumResponse.d.ts +62 -0
- package/dist/models/AlbumResponse.js +67 -0
- package/dist/models/AlbumResponse.js.map +1 -0
- package/dist/models/AlbumShareLinkBasic.d.ts +44 -0
- package/dist/models/AlbumShareLinkBasic.js +60 -0
- package/dist/models/AlbumShareLinkBasic.js.map +1 -0
- package/dist/models/AlbumShareLinkInsert.d.ts +38 -0
- package/dist/models/AlbumShareLinkInsert.js +53 -0
- package/dist/models/AlbumShareLinkInsert.js.map +1 -0
- package/dist/models/AlbumUpdateData.d.ts +38 -0
- package/dist/models/AlbumUpdateData.js +51 -0
- package/dist/models/AlbumUpdateData.js.map +1 -0
- package/dist/models/AuthConfig.d.ts +40 -0
- package/dist/models/AuthConfig.js +57 -0
- package/dist/models/AuthConfig.js.map +1 -0
- package/dist/models/AuthPolicyPublic.d.ts +38 -0
- package/dist/models/AuthPolicyPublic.js +57 -0
- package/dist/models/AuthPolicyPublic.js.map +1 -0
- package/dist/models/LoginResponse.d.ts +39 -0
- package/dist/models/LoginResponse.js +56 -0
- package/dist/models/LoginResponse.js.map +1 -0
- package/dist/models/MediaDescription.d.ts +32 -0
- package/dist/models/MediaDescription.js +49 -0
- package/dist/models/MediaDescription.js.map +1 -0
- package/dist/models/MediaResponse.d.ts +68 -0
- package/dist/models/MediaResponse.js +73 -0
- package/dist/models/MediaResponse.js.map +1 -0
- package/dist/models/OidcProviderPublic.d.ts +44 -0
- package/dist/models/OidcProviderPublic.js +59 -0
- package/dist/models/OidcProviderPublic.js.map +1 -0
- package/dist/models/ServerConfigResponse.d.ts +33 -0
- package/dist/models/ServerConfigResponse.js +52 -0
- package/dist/models/ServerConfigResponse.js.map +1 -0
- package/dist/models/SharedAlbumLinkResponse.d.ts +38 -0
- package/dist/models/SharedAlbumLinkResponse.js +55 -0
- package/dist/models/SharedAlbumLinkResponse.js.map +1 -0
- package/dist/models/SystemInfoPublic.d.ts +50 -0
- package/dist/models/SystemInfoPublic.js +64 -0
- package/dist/models/SystemInfoPublic.js.map +1 -0
- package/dist/models/UserInfo.d.ts +38 -0
- package/dist/models/UserInfo.js +55 -0
- package/dist/models/UserInfo.js.map +1 -0
- package/dist/models/UserInsert.d.ts +44 -0
- package/dist/models/UserInsert.js +57 -0
- package/dist/models/UserInsert.js.map +1 -0
- package/dist/models/UserLogin.d.ts +38 -0
- package/dist/models/UserLogin.js +56 -0
- package/dist/models/UserLogin.js.map +1 -0
- package/dist/models/album-add-media.d.ts +23 -0
- package/dist/models/album-add-media.js +39 -0
- package/dist/models/album-add-media.js.map +1 -1
- package/dist/models/album-insert-data.d.ts +23 -0
- package/dist/models/album-insert-data.js +37 -0
- package/dist/models/album-insert-data.js.map +1 -1
- package/dist/models/album-response.d.ts +44 -1
- package/dist/models/album-response.js +51 -0
- package/dist/models/album-response.js.map +1 -1
- package/dist/models/album-share-link-basic.d.ts +28 -0
- package/dist/models/album-share-link-basic.js +44 -0
- package/dist/models/album-share-link-basic.js.map +1 -1
- package/dist/models/album-share-link-insert.d.ts +24 -1
- package/dist/models/album-share-link-insert.js +37 -0
- package/dist/models/album-share-link-insert.js.map +1 -1
- package/dist/models/album-update-data.d.ts +23 -0
- package/dist/models/album-update-data.js +35 -0
- package/dist/models/album-update-data.js.map +1 -1
- package/dist/models/auth-config.d.ts +24 -1
- package/dist/models/auth-config.js +41 -0
- package/dist/models/auth-config.js.map +1 -1
- package/dist/models/auth-policy-public.d.ts +23 -0
- package/dist/models/auth-policy-public.js +41 -0
- package/dist/models/auth-policy-public.js.map +1 -1
- package/dist/models/index.d.ts +18 -18
- package/dist/models/index.js +20 -18
- package/dist/models/index.js.map +1 -1
- package/dist/models/login-response.d.ts +20 -0
- package/dist/models/login-response.js +40 -0
- package/dist/models/login-response.js.map +1 -1
- package/dist/models/media-description.d.ts +18 -0
- package/dist/models/media-description.js +33 -0
- package/dist/models/media-description.js.map +1 -1
- package/dist/models/media-response.d.ts +49 -1
- package/dist/models/media-response.js +57 -0
- package/dist/models/media-response.js.map +1 -1
- package/dist/models/oidc-provider-public.d.ts +28 -0
- package/dist/models/oidc-provider-public.js +43 -0
- package/dist/models/oidc-provider-public.js.map +1 -1
- package/dist/models/server-config-response.d.ts +18 -0
- package/dist/models/server-config-response.js +36 -0
- package/dist/models/server-config-response.js.map +1 -1
- package/dist/models/shared-album-link-response.d.ts +24 -1
- package/dist/models/shared-album-link-response.js +39 -0
- package/dist/models/shared-album-link-response.js.map +1 -1
- package/dist/models/system-info-public.d.ts +33 -0
- package/dist/models/system-info-public.js +48 -0
- package/dist/models/system-info-public.js.map +1 -1
- package/dist/models/user-info.d.ts +20 -0
- package/dist/models/user-info.js +39 -0
- package/dist/models/user-info.js.map +1 -1
- package/dist/models/user-insert.d.ts +28 -0
- package/dist/models/user-insert.js +41 -0
- package/dist/models/user-insert.js.map +1 -1
- package/dist/models/user-login.d.ts +20 -0
- package/dist/models/user-login.js +40 -0
- package/dist/models/user-login.js.map +1 -1
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +371 -0
- package/dist/runtime.js.map +1 -0
- package/package.json +2 -2
- package/dist/api/default-api.d.ts +0 -1080
- package/dist/api/default-api.js +0 -2156
- package/dist/api/default-api.js.map +0 -1
- package/dist/api.d.ts +0 -12
- package/dist/api.js.map +0 -1
- package/dist/base.d.ts +0 -42
- package/dist/base.js +0 -52
- package/dist/base.js.map +0 -1
- package/dist/common.d.ts +0 -34
- package/dist/common.js +0 -130
- package/dist/common.js.map +0 -1
- package/dist/configuration.d.ts +0 -98
- package/dist/configuration.js +0 -101
- package/dist/configuration.js.map +0 -1
|
@@ -13,4 +13,47 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOidcProviderPublic = instanceOfOidcProviderPublic;
|
|
17
|
+
exports.OidcProviderPublicFromJSON = OidcProviderPublicFromJSON;
|
|
18
|
+
exports.OidcProviderPublicFromJSONTyped = OidcProviderPublicFromJSONTyped;
|
|
19
|
+
exports.OidcProviderPublicToJSON = OidcProviderPublicToJSON;
|
|
20
|
+
exports.OidcProviderPublicToJSONTyped = OidcProviderPublicToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OidcProviderPublic interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOidcProviderPublic(value) {
|
|
25
|
+
if (!("display_name" in value) || value["display_name"] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!("key" in value) || value["key"] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!("login_url" in value) || value["login_url"] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OidcProviderPublicFromJSON(json) {
|
|
34
|
+
return OidcProviderPublicFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OidcProviderPublicFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
display_name: json["display_name"],
|
|
42
|
+
key: json["key"],
|
|
43
|
+
login_url: json["login_url"],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function OidcProviderPublicToJSON(json) {
|
|
47
|
+
return OidcProviderPublicToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function OidcProviderPublicToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
display_name: value["display_name"],
|
|
55
|
+
key: value["key"],
|
|
56
|
+
login_url: value["login_url"],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
16
59
|
//# sourceMappingURL=oidc-provider-public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oidc-provider-public.js","sourceRoot":"","sources":["../../src/models/oidc-provider-public.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"oidc-provider-public.js","sourceRoot":"","sources":["../../src/models/oidc-provider-public.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,oEAQC;AAED,gEAEC;AAED,0EAYC;AAED,4DAEC;AAED,sEAaC;AAhDD;;GAEG;AACH,SAAgB,4BAA4B,CAC1C,KAAa;IAEb,IAAI,CAAC,CAAC,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,SAAS;QACnE,OAAO,KAAK,CAAC;IACf,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAClD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,+BAA+B,CAC7C,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC;QAChB,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;KAC7B,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAChD,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,6BAA6B,CAC3C,KAAiC,EACjC,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC;QACnC,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;KAC9B,CAAC;AACJ,CAAC"}
|
|
@@ -10,6 +10,24 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AuthConfig } from "./auth-config";
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ServerConfigResponse
|
|
17
|
+
*/
|
|
13
18
|
export interface ServerConfigResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AuthConfig}
|
|
22
|
+
* @memberof ServerConfigResponse
|
|
23
|
+
*/
|
|
14
24
|
auth: AuthConfig;
|
|
15
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ServerConfigResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfServerConfigResponse(value: object): value is ServerConfigResponse;
|
|
30
|
+
export declare function ServerConfigResponseFromJSON(json: any): ServerConfigResponse;
|
|
31
|
+
export declare function ServerConfigResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerConfigResponse;
|
|
32
|
+
export declare function ServerConfigResponseToJSON(json: any): ServerConfigResponse;
|
|
33
|
+
export declare function ServerConfigResponseToJSONTyped(value?: ServerConfigResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,4 +13,40 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfServerConfigResponse = instanceOfServerConfigResponse;
|
|
17
|
+
exports.ServerConfigResponseFromJSON = ServerConfigResponseFromJSON;
|
|
18
|
+
exports.ServerConfigResponseFromJSONTyped = ServerConfigResponseFromJSONTyped;
|
|
19
|
+
exports.ServerConfigResponseToJSON = ServerConfigResponseToJSON;
|
|
20
|
+
exports.ServerConfigResponseToJSONTyped = ServerConfigResponseToJSONTyped;
|
|
21
|
+
const auth_config_1 = require("./auth-config");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ServerConfigResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfServerConfigResponse(value) {
|
|
26
|
+
if (!("auth" in value) || value["auth"] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ServerConfigResponseFromJSON(json) {
|
|
31
|
+
return ServerConfigResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ServerConfigResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
auth: (0, auth_config_1.AuthConfigFromJSON)(json["auth"]),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ServerConfigResponseToJSON(json) {
|
|
42
|
+
return ServerConfigResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ServerConfigResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
auth: (0, auth_config_1.AuthConfigToJSON)(value["auth"]),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
16
52
|
//# sourceMappingURL=server-config-response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-config-response.js","sourceRoot":"","sources":["../../src/models/server-config-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"server-config-response.js","sourceRoot":"","sources":["../../src/models/server-config-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,wEAKC;AAED,oEAEC;AAED,8EAUC;AAED,gEAEC;AAED,0EAWC;AA9DD,+CAKuB;AAgBvB;;GAEG;AACH,SAAgB,8BAA8B,CAC5C,KAAa;IAEb,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IACpD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,iCAAiC,CAC/C,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,IAAI,EAAE,IAAA,gCAAkB,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACvC,CAAC;AACJ,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAClD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,+BAA+B,CAC7C,KAAmC,EACnC,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,IAAI,EAAE,IAAA,8BAAgB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACtC,CAAC;AACJ,CAAC"}
|
|
@@ -9,7 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SharedAlbumLinkResponse
|
|
16
|
+
*/
|
|
12
17
|
export interface SharedAlbumLinkResponse {
|
|
13
|
-
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof SharedAlbumLinkResponse
|
|
22
|
+
*/
|
|
23
|
+
expiration?: Date | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SharedAlbumLinkResponse
|
|
28
|
+
*/
|
|
14
29
|
uuid: string;
|
|
15
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SharedAlbumLinkResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSharedAlbumLinkResponse(value: object): value is SharedAlbumLinkResponse;
|
|
35
|
+
export declare function SharedAlbumLinkResponseFromJSON(json: any): SharedAlbumLinkResponse;
|
|
36
|
+
export declare function SharedAlbumLinkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SharedAlbumLinkResponse;
|
|
37
|
+
export declare function SharedAlbumLinkResponseToJSON(json: any): SharedAlbumLinkResponse;
|
|
38
|
+
export declare function SharedAlbumLinkResponseToJSONTyped(value?: SharedAlbumLinkResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,4 +13,43 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSharedAlbumLinkResponse = instanceOfSharedAlbumLinkResponse;
|
|
17
|
+
exports.SharedAlbumLinkResponseFromJSON = SharedAlbumLinkResponseFromJSON;
|
|
18
|
+
exports.SharedAlbumLinkResponseFromJSONTyped = SharedAlbumLinkResponseFromJSONTyped;
|
|
19
|
+
exports.SharedAlbumLinkResponseToJSON = SharedAlbumLinkResponseToJSON;
|
|
20
|
+
exports.SharedAlbumLinkResponseToJSONTyped = SharedAlbumLinkResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SharedAlbumLinkResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSharedAlbumLinkResponse(value) {
|
|
25
|
+
if (!("uuid" in value) || value["uuid"] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SharedAlbumLinkResponseFromJSON(json) {
|
|
30
|
+
return SharedAlbumLinkResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SharedAlbumLinkResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
expiration: json["expiration"] == null ? undefined : new Date(json["expiration"]),
|
|
38
|
+
uuid: json["uuid"],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SharedAlbumLinkResponseToJSON(json) {
|
|
42
|
+
return SharedAlbumLinkResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SharedAlbumLinkResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
expiration: value["expiration"] == null
|
|
50
|
+
? value["expiration"]
|
|
51
|
+
: value["expiration"].toISOString(),
|
|
52
|
+
uuid: value["uuid"],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
16
55
|
//# sourceMappingURL=shared-album-link-response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-album-link-response.js","sourceRoot":"","sources":["../../src/models/shared-album-link-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"shared-album-link-response.js","sourceRoot":"","sources":["../../src/models/shared-album-link-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,8EAKC;AAED,0EAIC;AAED,oFAYC;AAED,sEAIC;AAED,gFAeC;AAnDD;;GAEG;AACH,SAAgB,iCAAiC,CAC/C,KAAa;IAEb,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,+BAA+B,CAC7C,IAAS;IAET,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,oCAAoC,CAClD,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,UAAU,EACR,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACvE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,IAAS;IAET,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,kCAAkC,CAChD,KAAsC,EACtC,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,UAAU,EACR,KAAK,CAAC,YAAY,CAAC,IAAI,IAAI;YACzB,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC;YACrB,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QACvC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;KACpB,CAAC;AACJ,CAAC"}
|
|
@@ -9,9 +9,42 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SystemInfoPublic
|
|
16
|
+
*/
|
|
12
17
|
export interface SystemInfoPublic {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SystemInfoPublic
|
|
22
|
+
*/
|
|
13
23
|
operatingSystem: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SystemInfoPublic
|
|
28
|
+
*/
|
|
14
29
|
serverName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SystemInfoPublic
|
|
34
|
+
*/
|
|
15
35
|
serverVersion: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SystemInfoPublic
|
|
40
|
+
*/
|
|
16
41
|
systemArchitecture: string;
|
|
17
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SystemInfoPublic interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSystemInfoPublic(value: object): value is SystemInfoPublic;
|
|
47
|
+
export declare function SystemInfoPublicFromJSON(json: any): SystemInfoPublic;
|
|
48
|
+
export declare function SystemInfoPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoPublic;
|
|
49
|
+
export declare function SystemInfoPublicToJSON(json: any): SystemInfoPublic;
|
|
50
|
+
export declare function SystemInfoPublicToJSONTyped(value?: SystemInfoPublic | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,4 +13,52 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSystemInfoPublic = instanceOfSystemInfoPublic;
|
|
17
|
+
exports.SystemInfoPublicFromJSON = SystemInfoPublicFromJSON;
|
|
18
|
+
exports.SystemInfoPublicFromJSONTyped = SystemInfoPublicFromJSONTyped;
|
|
19
|
+
exports.SystemInfoPublicToJSON = SystemInfoPublicToJSON;
|
|
20
|
+
exports.SystemInfoPublicToJSONTyped = SystemInfoPublicToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemInfoPublic interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemInfoPublic(value) {
|
|
25
|
+
if (!("operatingSystem" in value) || value["operatingSystem"] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!("serverName" in value) || value["serverName"] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!("serverVersion" in value) || value["serverVersion"] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!("systemArchitecture" in value) ||
|
|
32
|
+
value["systemArchitecture"] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function SystemInfoPublicFromJSON(json) {
|
|
37
|
+
return SystemInfoPublicFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function SystemInfoPublicFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
operatingSystem: json["operatingSystem"],
|
|
45
|
+
serverName: json["serverName"],
|
|
46
|
+
serverVersion: json["serverVersion"],
|
|
47
|
+
systemArchitecture: json["systemArchitecture"],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function SystemInfoPublicToJSON(json) {
|
|
51
|
+
return SystemInfoPublicToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function SystemInfoPublicToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
operatingSystem: value["operatingSystem"],
|
|
59
|
+
serverName: value["serverName"],
|
|
60
|
+
serverVersion: value["serverVersion"],
|
|
61
|
+
systemArchitecture: value["systemArchitecture"],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
16
64
|
//# sourceMappingURL=system-info-public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-info-public.js","sourceRoot":"","sources":["../../src/models/system-info-public.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"system-info-public.js","sourceRoot":"","sources":["../../src/models/system-info-public.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,gEAeC;AAED,4DAEC;AAED,sEAaC;AAED,wDAEC;AAED,kEAcC;AAzDD;;GAEG;AACH,SAAgB,0BAA0B,CACxC,KAAa;IAEb,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QACzE,OAAO,KAAK,CAAC;IACf,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAC/D,OAAO,KAAK,CAAC;IACf,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QACrE,OAAO,KAAK,CAAC;IACf,IACE,CAAC,CAAC,oBAAoB,IAAI,KAAK,CAAC;QAChC,KAAK,CAAC,oBAAoB,CAAC,KAAK,SAAS;QAEzC,OAAO,KAAK,CAAC;IACf,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAChD,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,6BAA6B,CAC3C,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,eAAe,EAAE,IAAI,CAAC,iBAAiB,CAAC;QACxC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;QAC9B,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC;QACpC,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;KAC/C,CAAC;AACJ,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC9C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,2BAA2B,CACzC,KAA+B,EAC/B,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC;QACzC,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,eAAe,CAAC;QACrC,kBAAkB,EAAE,KAAK,CAAC,oBAAoB,CAAC;KAChD,CAAC;AACJ,CAAC"}
|
|
@@ -11,8 +11,28 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Used for sending information about user.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserInfo
|
|
14
16
|
*/
|
|
15
17
|
export interface UserInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserInfo
|
|
22
|
+
*/
|
|
16
23
|
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserInfo
|
|
28
|
+
*/
|
|
17
29
|
username: string;
|
|
18
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UserInfo interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUserInfo(value: object): value is UserInfo;
|
|
35
|
+
export declare function UserInfoFromJSON(json: any): UserInfo;
|
|
36
|
+
export declare function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInfo;
|
|
37
|
+
export declare function UserInfoToJSON(json: any): UserInfo;
|
|
38
|
+
export declare function UserInfoToJSONTyped(value?: UserInfo | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/user-info.js
CHANGED
|
@@ -13,4 +13,43 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserInfo = instanceOfUserInfo;
|
|
17
|
+
exports.UserInfoFromJSON = UserInfoFromJSON;
|
|
18
|
+
exports.UserInfoFromJSONTyped = UserInfoFromJSONTyped;
|
|
19
|
+
exports.UserInfoToJSON = UserInfoToJSON;
|
|
20
|
+
exports.UserInfoToJSONTyped = UserInfoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserInfo interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserInfo(value) {
|
|
25
|
+
if (!("email" in value) || value["email"] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!("username" in value) || value["username"] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UserInfoFromJSON(json) {
|
|
32
|
+
return UserInfoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UserInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
email: json["email"],
|
|
40
|
+
username: json["username"],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UserInfoToJSON(json) {
|
|
44
|
+
return UserInfoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UserInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
email: value["email"],
|
|
52
|
+
username: value["username"],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
16
55
|
//# sourceMappingURL=user-info.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-info.js","sourceRoot":"","sources":["../../src/models/user-info.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"user-info.js","sourceRoot":"","sources":["../../src/models/user-info.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,gDAIC;AAED,4CAEC;AAED,sDAWC;AAED,wCAEC;AAED,kDAYC;AA1CD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAa;IAC9C,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACxC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,qBAAqB,CACnC,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,cAAc,CAAC,IAAS;IACtC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,SAAgB,mBAAmB,CACjC,KAAuB,EACvB,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;KAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -9,8 +9,36 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserInsert
|
|
16
|
+
*/
|
|
12
17
|
export interface UserInsert {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserInsert
|
|
22
|
+
*/
|
|
13
23
|
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserInsert
|
|
28
|
+
*/
|
|
14
29
|
password?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserInsert
|
|
34
|
+
*/
|
|
15
35
|
username: string;
|
|
16
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UserInsert interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUserInsert(value: object): value is UserInsert;
|
|
41
|
+
export declare function UserInsertFromJSON(json: any): UserInsert;
|
|
42
|
+
export declare function UserInsertFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInsert;
|
|
43
|
+
export declare function UserInsertToJSON(json: any): UserInsert;
|
|
44
|
+
export declare function UserInsertToJSONTyped(value?: UserInsert | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,4 +13,45 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserInsert = instanceOfUserInsert;
|
|
17
|
+
exports.UserInsertFromJSON = UserInsertFromJSON;
|
|
18
|
+
exports.UserInsertFromJSONTyped = UserInsertFromJSONTyped;
|
|
19
|
+
exports.UserInsertToJSON = UserInsertToJSON;
|
|
20
|
+
exports.UserInsertToJSONTyped = UserInsertToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserInsert interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserInsert(value) {
|
|
25
|
+
if (!("email" in value) || value["email"] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!("username" in value) || value["username"] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UserInsertFromJSON(json) {
|
|
32
|
+
return UserInsertFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UserInsertFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
email: json["email"],
|
|
40
|
+
password: json["password"] == null ? undefined : json["password"],
|
|
41
|
+
username: json["username"],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UserInsertToJSON(json) {
|
|
45
|
+
return UserInsertToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UserInsertToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
email: value["email"],
|
|
53
|
+
password: value["password"],
|
|
54
|
+
username: value["username"],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
16
57
|
//# sourceMappingURL=user-insert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-insert.js","sourceRoot":"","sources":["../../src/models/user-insert.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"user-insert.js","sourceRoot":"","sources":["../../src/models/user-insert.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,oDAIC;AAED,gDAEC;AAED,0DAYC;AAED,4CAEC;AAED,sDAaC;AA5CD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,KAAa;IAChD,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IAC1C,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,uBAAuB,CACrC,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACjE,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACxC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,qBAAqB,CACnC,KAAyB,EACzB,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;QAC3B,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;KAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -11,8 +11,28 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Used for receiving login data.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserLogin
|
|
14
16
|
*/
|
|
15
17
|
export interface UserLogin {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserLogin
|
|
22
|
+
*/
|
|
16
23
|
password: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserLogin
|
|
28
|
+
*/
|
|
17
29
|
username_or_email: string;
|
|
18
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UserLogin interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUserLogin(value: object): value is UserLogin;
|
|
35
|
+
export declare function UserLoginFromJSON(json: any): UserLogin;
|
|
36
|
+
export declare function UserLoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLogin;
|
|
37
|
+
export declare function UserLoginToJSON(json: any): UserLogin;
|
|
38
|
+
export declare function UserLoginToJSONTyped(value?: UserLogin | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,4 +13,44 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserLogin = instanceOfUserLogin;
|
|
17
|
+
exports.UserLoginFromJSON = UserLoginFromJSON;
|
|
18
|
+
exports.UserLoginFromJSONTyped = UserLoginFromJSONTyped;
|
|
19
|
+
exports.UserLoginToJSON = UserLoginToJSON;
|
|
20
|
+
exports.UserLoginToJSONTyped = UserLoginToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserLogin interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserLogin(value) {
|
|
25
|
+
if (!("password" in value) || value["password"] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!("username_or_email" in value) ||
|
|
28
|
+
value["username_or_email"] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function UserLoginFromJSON(json) {
|
|
33
|
+
return UserLoginFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function UserLoginFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
password: json["password"],
|
|
41
|
+
username_or_email: json["username_or_email"],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UserLoginToJSON(json) {
|
|
45
|
+
return UserLoginToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UserLoginToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
password: value["password"],
|
|
53
|
+
username_or_email: value["username_or_email"],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
16
56
|
//# sourceMappingURL=user-login.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-login.js","sourceRoot":"","sources":["../../src/models/user-login.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
1
|
+
{"version":3,"file":"user-login.js","sourceRoot":"","sources":["../../src/models/user-login.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,kDAQC;AAED,8CAEC;AAED,wDAWC;AAED,0CAEC;AAED,oDAYC;AA9CD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,KAAa;IAC/C,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IACE,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC;QAC/B,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAExC,OAAO,KAAK,CAAC;IACf,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAS;IACzC,OAAO,sBAAsB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC;AAED,SAAgB,sBAAsB,CACpC,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,CAAC;KAC7C,CAAC;AACJ,CAAC;AAED,SAAgB,eAAe,CAAC,IAAS;IACvC,OAAO,oBAAoB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,oBAAoB,CAClC,KAAwB,EACxB,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO;QACL,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;QAC3B,iBAAiB,EAAE,KAAK,CAAC,mBAAmB,CAAC;KAC9C,CAAC;AACJ,CAAC"}
|