keplar-api 0.0.10 → 0.0.12
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/.openapi-generator/FILES +19 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +189 -3
- package/dist/apis/DefaultApi.js +1073 -142
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +6 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +4 -0
- package/dist/models/CreateEmailShareRequest.d.ts +38 -0
- package/dist/models/CreateEmailShareRequest.js +53 -0
- package/dist/models/CreateProjectShareRequest.d.ts +38 -0
- package/dist/models/CreateProjectShareRequest.js +51 -0
- package/dist/models/CreateProjectShareResponse.d.ts +45 -0
- package/dist/models/CreateProjectShareResponse.js +60 -0
- package/dist/models/DeleteEmailShare200Response.d.ts +32 -0
- package/dist/models/DeleteEmailShare200Response.js +51 -0
- package/dist/models/EmailShare.d.ts +75 -0
- package/dist/models/EmailShare.js +77 -0
- package/dist/models/GetProjectShares200Response.d.ts +39 -0
- package/dist/models/GetProjectShares200Response.js +56 -0
- package/dist/models/GetSharedInviteResponses200Response.d.ts +51 -0
- package/dist/models/{ApiInvitesIdResponsesGet200Response.js → GetSharedInviteResponses200Response.js} +13 -13
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.d.ts +26 -0
- package/dist/models/GetSharedInviteResponsesStatusesParameterInner.js +39 -0
- package/dist/models/InviteResponseShareConfig.d.ts +39 -0
- package/dist/models/InviteResponseShareConfig.js +58 -0
- package/dist/models/ProjectShareConfig.d.ts +39 -0
- package/dist/models/ProjectShareConfig.js +58 -0
- package/dist/models/RequestShareAccess200Response.d.ts +38 -0
- package/dist/models/RequestShareAccess200Response.js +55 -0
- package/dist/models/RequestShareAccessRequest.d.ts +32 -0
- package/dist/models/RequestShareAccessRequest.js +51 -0
- package/dist/models/ShareEntity.d.ts +102 -0
- package/dist/models/ShareEntity.js +92 -0
- package/dist/models/ShareEntityConfig.d.ts +27 -0
- package/dist/models/ShareEntityConfig.js +54 -0
- package/dist/models/ShareEntityCreatedByKind.d.ts +26 -0
- package/dist/models/ShareEntityCreatedByKind.js +52 -0
- package/dist/models/ShareEntityKind.d.ts +25 -0
- package/dist/models/ShareEntityKind.js +51 -0
- package/dist/models/UpdateShareEntityRequest.d.ts +38 -0
- package/dist/models/UpdateShareEntityRequest.js +52 -0
- package/dist/models/VerifyEmailAccessForShare200Response.d.ts +38 -0
- package/dist/models/VerifyEmailAccessForShare200Response.js +55 -0
- package/dist/models/VerifyEmailAccessForShareRequest.d.ts +32 -0
- package/dist/models/VerifyEmailAccessForShareRequest.js +51 -0
- package/dist/models/index.d.ts +19 -1
- package/dist/models/index.js +19 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1080 -146
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +9 -0
- package/src/models/CreateEmailShareRequest.ts +74 -0
- package/src/models/CreateProjectShareRequest.ts +73 -0
- package/src/models/CreateProjectShareResponse.ts +92 -0
- package/src/models/DeleteEmailShare200Response.ts +66 -0
- package/src/models/EmailShare.ts +135 -0
- package/src/models/GetProjectShares200Response.ts +83 -0
- package/src/models/{ApiInvitesIdResponsesGet200Response.ts → GetSharedInviteResponses200Response.ts} +14 -14
- package/src/models/GetSharedInviteResponsesStatusesParameterInner.ts +46 -0
- package/src/models/InviteResponseShareConfig.ts +76 -0
- package/src/models/ProjectShareConfig.ts +76 -0
- package/src/models/RequestShareAccess200Response.ts +75 -0
- package/src/models/RequestShareAccessRequest.ts +66 -0
- package/src/models/ShareEntity.ts +192 -0
- package/src/models/ShareEntityConfig.ts +72 -0
- package/src/models/ShareEntityCreatedByKind.ts +54 -0
- package/src/models/ShareEntityKind.ts +53 -0
- package/src/models/UpdateShareEntityRequest.ts +73 -0
- package/src/models/VerifyEmailAccessForShare200Response.ts +75 -0
- package/src/models/VerifyEmailAccessForShareRequest.ts +66 -0
- package/src/models/index.ts +19 -1
- package/dist/models/ApiInvitesIdResponsesGet200Response.d.ts +0 -51
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfShareEntity = instanceOfShareEntity;
|
|
17
|
+
exports.ShareEntityFromJSON = ShareEntityFromJSON;
|
|
18
|
+
exports.ShareEntityFromJSONTyped = ShareEntityFromJSONTyped;
|
|
19
|
+
exports.ShareEntityToJSON = ShareEntityToJSON;
|
|
20
|
+
exports.ShareEntityToJSONTyped = ShareEntityToJSONTyped;
|
|
21
|
+
var ShareEntityKind_1 = require("./ShareEntityKind");
|
|
22
|
+
var ShareEntityCreatedByKind_1 = require("./ShareEntityCreatedByKind");
|
|
23
|
+
var EmailShare_1 = require("./EmailShare");
|
|
24
|
+
var ShareEntityConfig_1 = require("./ShareEntityConfig");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ShareEntity interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfShareEntity(value) {
|
|
29
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('entityKind' in value) || value['entityKind'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('entityId' in value) || value['entityId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('accessCount' in value) || value['accessCount'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('config' in value) || value['config'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function ShareEntityFromJSON(json) {
|
|
48
|
+
return ShareEntityFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ShareEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'token': json['token'],
|
|
57
|
+
'entityKind': (0, ShareEntityKind_1.ShareEntityKindFromJSON)(json['entityKind']),
|
|
58
|
+
'entityId': json['entityId'],
|
|
59
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
60
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
61
|
+
'accessCount': json['accessCount'],
|
|
62
|
+
'isActive': json['isActive'],
|
|
63
|
+
'createdByKind': json['createdByKind'] == null ? undefined : (0, ShareEntityCreatedByKind_1.ShareEntityCreatedByKindFromJSON)(json['createdByKind']),
|
|
64
|
+
'createdById': json['createdById'] == null ? undefined : json['createdById'],
|
|
65
|
+
'config': (0, ShareEntityConfig_1.ShareEntityConfigFromJSON)(json['config']),
|
|
66
|
+
'emailShares': json['emailShares'] == null ? undefined : (json['emailShares'].map(EmailShare_1.EmailShareFromJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function ShareEntityToJSON(json) {
|
|
70
|
+
return ShareEntityToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function ShareEntityToJSONTyped(value, ignoreDiscriminator) {
|
|
73
|
+
var _a;
|
|
74
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'id': value['id'],
|
|
80
|
+
'token': value['token'],
|
|
81
|
+
'entityKind': (0, ShareEntityKind_1.ShareEntityKindToJSON)(value['entityKind']),
|
|
82
|
+
'entityId': value['entityId'],
|
|
83
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
84
|
+
'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
85
|
+
'accessCount': value['accessCount'],
|
|
86
|
+
'isActive': value['isActive'],
|
|
87
|
+
'createdByKind': (0, ShareEntityCreatedByKind_1.ShareEntityCreatedByKindToJSON)(value['createdByKind']),
|
|
88
|
+
'createdById': value['createdById'],
|
|
89
|
+
'config': (0, ShareEntityConfig_1.ShareEntityConfigToJSON)(value['config']),
|
|
90
|
+
'emailShares': value['emailShares'] == null ? undefined : (value['emailShares'].map(EmailShare_1.EmailShareToJSON)),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
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 { InviteResponseShareConfig } from './InviteResponseShareConfig';
|
|
13
|
+
import type { ProjectShareConfig } from './ProjectShareConfig';
|
|
14
|
+
/**
|
|
15
|
+
* @type ShareEntityConfig
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type ShareEntityConfig = {
|
|
20
|
+
kind: 'invite_response';
|
|
21
|
+
} & InviteResponseShareConfig | {
|
|
22
|
+
kind: 'project';
|
|
23
|
+
} & ProjectShareConfig;
|
|
24
|
+
export declare function ShareEntityConfigFromJSON(json: any): ShareEntityConfig;
|
|
25
|
+
export declare function ShareEntityConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShareEntityConfig;
|
|
26
|
+
export declare function ShareEntityConfigToJSON(json: any): any;
|
|
27
|
+
export declare function ShareEntityConfigToJSONTyped(value?: ShareEntityConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ShareEntityConfigFromJSON = ShareEntityConfigFromJSON;
|
|
17
|
+
exports.ShareEntityConfigFromJSONTyped = ShareEntityConfigFromJSONTyped;
|
|
18
|
+
exports.ShareEntityConfigToJSON = ShareEntityConfigToJSON;
|
|
19
|
+
exports.ShareEntityConfigToJSONTyped = ShareEntityConfigToJSONTyped;
|
|
20
|
+
var InviteResponseShareConfig_1 = require("./InviteResponseShareConfig");
|
|
21
|
+
var ProjectShareConfig_1 = require("./ProjectShareConfig");
|
|
22
|
+
function ShareEntityConfigFromJSON(json) {
|
|
23
|
+
return ShareEntityConfigFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function ShareEntityConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
switch (json['kind']) {
|
|
30
|
+
case 'invite_response':
|
|
31
|
+
return Object.assign({}, (0, InviteResponseShareConfig_1.InviteResponseShareConfigFromJSONTyped)(json, true), { kind: 'invite_response' });
|
|
32
|
+
case 'project':
|
|
33
|
+
return Object.assign({}, (0, ProjectShareConfig_1.ProjectShareConfigFromJSONTyped)(json, true), { kind: 'project' });
|
|
34
|
+
default:
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function ShareEntityConfigToJSON(json) {
|
|
39
|
+
return ShareEntityConfigToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ShareEntityConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
switch (value['kind']) {
|
|
47
|
+
case 'invite_response':
|
|
48
|
+
return Object.assign({}, (0, InviteResponseShareConfig_1.InviteResponseShareConfigToJSON)(value), { kind: 'invite_response' });
|
|
49
|
+
case 'project':
|
|
50
|
+
return Object.assign({}, (0, ProjectShareConfig_1.ProjectShareConfigToJSON)(value), { kind: 'project' });
|
|
51
|
+
default:
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
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
|
+
*/
|
|
16
|
+
export declare const ShareEntityCreatedByKind: {
|
|
17
|
+
readonly Participant: "participant";
|
|
18
|
+
readonly User: "user";
|
|
19
|
+
readonly System: "system";
|
|
20
|
+
};
|
|
21
|
+
export type ShareEntityCreatedByKind = typeof ShareEntityCreatedByKind[keyof typeof ShareEntityCreatedByKind];
|
|
22
|
+
export declare function instanceOfShareEntityCreatedByKind(value: any): boolean;
|
|
23
|
+
export declare function ShareEntityCreatedByKindFromJSON(json: any): ShareEntityCreatedByKind;
|
|
24
|
+
export declare function ShareEntityCreatedByKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShareEntityCreatedByKind;
|
|
25
|
+
export declare function ShareEntityCreatedByKindToJSON(value?: ShareEntityCreatedByKind | null): any;
|
|
26
|
+
export declare function ShareEntityCreatedByKindToJSONTyped(value: any, ignoreDiscriminator: boolean): ShareEntityCreatedByKind;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ShareEntityCreatedByKind = void 0;
|
|
17
|
+
exports.instanceOfShareEntityCreatedByKind = instanceOfShareEntityCreatedByKind;
|
|
18
|
+
exports.ShareEntityCreatedByKindFromJSON = ShareEntityCreatedByKindFromJSON;
|
|
19
|
+
exports.ShareEntityCreatedByKindFromJSONTyped = ShareEntityCreatedByKindFromJSONTyped;
|
|
20
|
+
exports.ShareEntityCreatedByKindToJSON = ShareEntityCreatedByKindToJSON;
|
|
21
|
+
exports.ShareEntityCreatedByKindToJSONTyped = ShareEntityCreatedByKindToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ShareEntityCreatedByKind = {
|
|
27
|
+
Participant: 'participant',
|
|
28
|
+
User: 'user',
|
|
29
|
+
System: 'system'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfShareEntityCreatedByKind(value) {
|
|
32
|
+
for (var key in exports.ShareEntityCreatedByKind) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.ShareEntityCreatedByKind, key)) {
|
|
34
|
+
if (exports.ShareEntityCreatedByKind[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function ShareEntityCreatedByKindFromJSON(json) {
|
|
42
|
+
return ShareEntityCreatedByKindFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ShareEntityCreatedByKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function ShareEntityCreatedByKindToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function ShareEntityCreatedByKindToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
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
|
+
*/
|
|
16
|
+
export declare const ShareEntityKind: {
|
|
17
|
+
readonly Project: "project";
|
|
18
|
+
readonly InviteResponse: "invite_response";
|
|
19
|
+
};
|
|
20
|
+
export type ShareEntityKind = typeof ShareEntityKind[keyof typeof ShareEntityKind];
|
|
21
|
+
export declare function instanceOfShareEntityKind(value: any): boolean;
|
|
22
|
+
export declare function ShareEntityKindFromJSON(json: any): ShareEntityKind;
|
|
23
|
+
export declare function ShareEntityKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShareEntityKind;
|
|
24
|
+
export declare function ShareEntityKindToJSON(value?: ShareEntityKind | null): any;
|
|
25
|
+
export declare function ShareEntityKindToJSONTyped(value: any, ignoreDiscriminator: boolean): ShareEntityKind;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ShareEntityKind = void 0;
|
|
17
|
+
exports.instanceOfShareEntityKind = instanceOfShareEntityKind;
|
|
18
|
+
exports.ShareEntityKindFromJSON = ShareEntityKindFromJSON;
|
|
19
|
+
exports.ShareEntityKindFromJSONTyped = ShareEntityKindFromJSONTyped;
|
|
20
|
+
exports.ShareEntityKindToJSON = ShareEntityKindToJSON;
|
|
21
|
+
exports.ShareEntityKindToJSONTyped = ShareEntityKindToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ShareEntityKind = {
|
|
27
|
+
Project: 'project',
|
|
28
|
+
InviteResponse: 'invite_response'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfShareEntityKind(value) {
|
|
31
|
+
for (var key in exports.ShareEntityKind) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.ShareEntityKind, key)) {
|
|
33
|
+
if (exports.ShareEntityKind[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function ShareEntityKindFromJSON(json) {
|
|
41
|
+
return ShareEntityKindFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ShareEntityKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function ShareEntityKindToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function ShareEntityKindToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
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 UpdateShareEntityRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateShareEntityRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UpdateShareEntityRequest
|
|
22
|
+
*/
|
|
23
|
+
isActive?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof UpdateShareEntityRequest
|
|
28
|
+
*/
|
|
29
|
+
expiresAt?: Date | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateShareEntityRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateShareEntityRequest(value: object): value is UpdateShareEntityRequest;
|
|
35
|
+
export declare function UpdateShareEntityRequestFromJSON(json: any): UpdateShareEntityRequest;
|
|
36
|
+
export declare function UpdateShareEntityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateShareEntityRequest;
|
|
37
|
+
export declare function UpdateShareEntityRequestToJSON(json: any): UpdateShareEntityRequest;
|
|
38
|
+
export declare function UpdateShareEntityRequestToJSONTyped(value?: UpdateShareEntityRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateShareEntityRequest = instanceOfUpdateShareEntityRequest;
|
|
17
|
+
exports.UpdateShareEntityRequestFromJSON = UpdateShareEntityRequestFromJSON;
|
|
18
|
+
exports.UpdateShareEntityRequestFromJSONTyped = UpdateShareEntityRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateShareEntityRequestToJSON = UpdateShareEntityRequestToJSON;
|
|
20
|
+
exports.UpdateShareEntityRequestToJSONTyped = UpdateShareEntityRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateShareEntityRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateShareEntityRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateShareEntityRequestFromJSON(json) {
|
|
28
|
+
return UpdateShareEntityRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateShareEntityRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
36
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateShareEntityRequestToJSON(json) {
|
|
40
|
+
return UpdateShareEntityRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateShareEntityRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
var _a;
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'isActive': value['isActive'],
|
|
50
|
+
'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
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 VerifyEmailAccessForShare200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyEmailAccessForShare200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyEmailAccessForShare200Response
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerifyEmailAccessForShare200Response
|
|
28
|
+
*/
|
|
29
|
+
token: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VerifyEmailAccessForShare200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVerifyEmailAccessForShare200Response(value: object): value is VerifyEmailAccessForShare200Response;
|
|
35
|
+
export declare function VerifyEmailAccessForShare200ResponseFromJSON(json: any): VerifyEmailAccessForShare200Response;
|
|
36
|
+
export declare function VerifyEmailAccessForShare200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyEmailAccessForShare200Response;
|
|
37
|
+
export declare function VerifyEmailAccessForShare200ResponseToJSON(json: any): VerifyEmailAccessForShare200Response;
|
|
38
|
+
export declare function VerifyEmailAccessForShare200ResponseToJSONTyped(value?: VerifyEmailAccessForShare200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVerifyEmailAccessForShare200Response = instanceOfVerifyEmailAccessForShare200Response;
|
|
17
|
+
exports.VerifyEmailAccessForShare200ResponseFromJSON = VerifyEmailAccessForShare200ResponseFromJSON;
|
|
18
|
+
exports.VerifyEmailAccessForShare200ResponseFromJSONTyped = VerifyEmailAccessForShare200ResponseFromJSONTyped;
|
|
19
|
+
exports.VerifyEmailAccessForShare200ResponseToJSON = VerifyEmailAccessForShare200ResponseToJSON;
|
|
20
|
+
exports.VerifyEmailAccessForShare200ResponseToJSONTyped = VerifyEmailAccessForShare200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifyEmailAccessForShare200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifyEmailAccessForShare200Response(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function VerifyEmailAccessForShare200ResponseFromJSON(json) {
|
|
32
|
+
return VerifyEmailAccessForShare200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function VerifyEmailAccessForShare200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'email': json['email'],
|
|
40
|
+
'token': json['token'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function VerifyEmailAccessForShare200ResponseToJSON(json) {
|
|
44
|
+
return VerifyEmailAccessForShare200ResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function VerifyEmailAccessForShare200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'email': value['email'],
|
|
53
|
+
'token': value['token'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
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 VerifyEmailAccessForShareRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyEmailAccessForShareRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyEmailAccessForShareRequest
|
|
22
|
+
*/
|
|
23
|
+
accessToken: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the VerifyEmailAccessForShareRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfVerifyEmailAccessForShareRequest(value: object): value is VerifyEmailAccessForShareRequest;
|
|
29
|
+
export declare function VerifyEmailAccessForShareRequestFromJSON(json: any): VerifyEmailAccessForShareRequest;
|
|
30
|
+
export declare function VerifyEmailAccessForShareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyEmailAccessForShareRequest;
|
|
31
|
+
export declare function VerifyEmailAccessForShareRequestToJSON(json: any): VerifyEmailAccessForShareRequest;
|
|
32
|
+
export declare function VerifyEmailAccessForShareRequestToJSONTyped(value?: VerifyEmailAccessForShareRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVerifyEmailAccessForShareRequest = instanceOfVerifyEmailAccessForShareRequest;
|
|
17
|
+
exports.VerifyEmailAccessForShareRequestFromJSON = VerifyEmailAccessForShareRequestFromJSON;
|
|
18
|
+
exports.VerifyEmailAccessForShareRequestFromJSONTyped = VerifyEmailAccessForShareRequestFromJSONTyped;
|
|
19
|
+
exports.VerifyEmailAccessForShareRequestToJSON = VerifyEmailAccessForShareRequestToJSON;
|
|
20
|
+
exports.VerifyEmailAccessForShareRequestToJSONTyped = VerifyEmailAccessForShareRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifyEmailAccessForShareRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifyEmailAccessForShareRequest(value) {
|
|
25
|
+
if (!('accessToken' in value) || value['accessToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function VerifyEmailAccessForShareRequestFromJSON(json) {
|
|
30
|
+
return VerifyEmailAccessForShareRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function VerifyEmailAccessForShareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'accessToken': json['accessToken'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function VerifyEmailAccessForShareRequestToJSON(json) {
|
|
41
|
+
return VerifyEmailAccessForShareRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function VerifyEmailAccessForShareRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'accessToken': value['accessToken'],
|
|
50
|
+
};
|
|
51
|
+
}
|