@forteplatforms/sdk 1.0.140 → 1.0.144

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.
Files changed (39) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +99 -7
  2. package/dist/generated/apis/ProjectsServerApi.js +440 -12
  3. package/dist/generated/apis/UsersServerApi.d.ts +135 -1
  4. package/dist/generated/apis/UsersServerApi.js +670 -27
  5. package/dist/generated/models/CompleteOtpLoginRequest.d.ts +32 -0
  6. package/dist/generated/models/CompleteOtpLoginRequest.js +51 -0
  7. package/dist/generated/models/ContentObject.d.ts +116 -0
  8. package/dist/generated/models/ContentObject.js +99 -0
  9. package/dist/generated/models/ContentShare.d.ts +46 -0
  10. package/dist/generated/models/ContentShare.js +63 -0
  11. package/dist/generated/models/ContentShareRequestItem.d.ts +46 -0
  12. package/dist/generated/models/ContentShareRequestItem.js +63 -0
  13. package/dist/generated/models/CreateContentUploadLinkRequest.d.ts +52 -0
  14. package/dist/generated/models/CreateContentUploadLinkRequest.js +59 -0
  15. package/dist/generated/models/CreateContentUploadLinkResponse.d.ts +57 -0
  16. package/dist/generated/models/CreateContentUploadLinkResponse.js +68 -0
  17. package/dist/generated/models/CreateOtpLoginRequest.d.ts +44 -0
  18. package/dist/generated/models/CreateOtpLoginRequest.js +53 -0
  19. package/dist/generated/models/CreateOtpLoginResponse.d.ts +38 -0
  20. package/dist/generated/models/CreateOtpLoginResponse.js +55 -0
  21. package/dist/generated/models/ForteApiException.d.ts +8 -0
  22. package/dist/generated/models/ForteApiException.js +9 -1
  23. package/dist/generated/models/GetContentDownloadLinkResponse.d.ts +38 -0
  24. package/dist/generated/models/GetContentDownloadLinkResponse.js +55 -0
  25. package/dist/generated/models/ListContentResponse.d.ts +39 -0
  26. package/dist/generated/models/ListContentResponse.js +54 -0
  27. package/dist/generated/models/NotificationTemplatesConfig.d.ts +18 -0
  28. package/dist/generated/models/NotificationTemplatesConfig.js +6 -0
  29. package/dist/generated/models/RequiredUploadHeaders.d.ts +38 -0
  30. package/dist/generated/models/RequiredUploadHeaders.js +55 -0
  31. package/dist/generated/models/UpdateContentSharesRequest.d.ts +33 -0
  32. package/dist/generated/models/UpdateContentSharesRequest.js +52 -0
  33. package/dist/generated/models/UpdateNotificationTemplatesRequest.d.ts +18 -0
  34. package/dist/generated/models/UpdateNotificationTemplatesRequest.js +6 -0
  35. package/dist/generated/models/UserActionLogObject.d.ts +1 -0
  36. package/dist/generated/models/UserActionLogObject.js +1 -0
  37. package/dist/generated/models/index.d.ts +12 -0
  38. package/dist/generated/models/index.js +12 -0
  39. package/package.json +1 -1
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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.instanceOfCreateContentUploadLinkResponse = instanceOfCreateContentUploadLinkResponse;
17
+ exports.CreateContentUploadLinkResponseFromJSON = CreateContentUploadLinkResponseFromJSON;
18
+ exports.CreateContentUploadLinkResponseFromJSONTyped = CreateContentUploadLinkResponseFromJSONTyped;
19
+ exports.CreateContentUploadLinkResponseToJSON = CreateContentUploadLinkResponseToJSON;
20
+ exports.CreateContentUploadLinkResponseToJSONTyped = CreateContentUploadLinkResponseToJSONTyped;
21
+ var RequiredUploadHeaders_1 = require("./RequiredUploadHeaders");
22
+ /**
23
+ * Check if a given object implements the CreateContentUploadLinkResponse interface.
24
+ */
25
+ function instanceOfCreateContentUploadLinkResponse(value) {
26
+ if (!('contentId' in value) || value['contentId'] === undefined)
27
+ return false;
28
+ if (!('uploadUrl' in value) || value['uploadUrl'] === undefined)
29
+ return false;
30
+ if (!('requiredHeaders' in value) || value['requiredHeaders'] === undefined)
31
+ return false;
32
+ if (!('uploadUrlExpiresAt' in value) || value['uploadUrlExpiresAt'] === undefined)
33
+ return false;
34
+ if (!('contentExpiresAt' in value) || value['contentExpiresAt'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function CreateContentUploadLinkResponseFromJSON(json) {
39
+ return CreateContentUploadLinkResponseFromJSONTyped(json, false);
40
+ }
41
+ function CreateContentUploadLinkResponseFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'contentId': json['contentId'],
47
+ 'uploadUrl': json['uploadUrl'],
48
+ 'requiredHeaders': (0, RequiredUploadHeaders_1.RequiredUploadHeadersFromJSON)(json['requiredHeaders']),
49
+ 'uploadUrlExpiresAt': (new Date(json['uploadUrlExpiresAt'])),
50
+ 'contentExpiresAt': (new Date(json['contentExpiresAt'])),
51
+ };
52
+ }
53
+ function CreateContentUploadLinkResponseToJSON(json) {
54
+ return CreateContentUploadLinkResponseToJSONTyped(json, false);
55
+ }
56
+ function CreateContentUploadLinkResponseToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'contentId': value['contentId'],
63
+ 'uploadUrl': value['uploadUrl'],
64
+ 'requiredHeaders': (0, RequiredUploadHeaders_1.RequiredUploadHeadersToJSON)(value['requiredHeaders']),
65
+ 'uploadUrlExpiresAt': value['uploadUrlExpiresAt'].toISOString(),
66
+ 'contentExpiresAt': value['contentExpiresAt'].toISOString(),
67
+ };
68
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 CreateOtpLoginRequest
16
+ */
17
+ export interface CreateOtpLoginRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateOtpLoginRequest
22
+ */
23
+ email?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateOtpLoginRequest
28
+ */
29
+ phoneNumber?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateOtpLoginRequest
34
+ */
35
+ recaptchaToken?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the CreateOtpLoginRequest interface.
39
+ */
40
+ export declare function instanceOfCreateOtpLoginRequest(value: object): value is CreateOtpLoginRequest;
41
+ export declare function CreateOtpLoginRequestFromJSON(json: any): CreateOtpLoginRequest;
42
+ export declare function CreateOtpLoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOtpLoginRequest;
43
+ export declare function CreateOtpLoginRequestToJSON(json: any): CreateOtpLoginRequest;
44
+ export declare function CreateOtpLoginRequestToJSONTyped(value?: CreateOtpLoginRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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.instanceOfCreateOtpLoginRequest = instanceOfCreateOtpLoginRequest;
17
+ exports.CreateOtpLoginRequestFromJSON = CreateOtpLoginRequestFromJSON;
18
+ exports.CreateOtpLoginRequestFromJSONTyped = CreateOtpLoginRequestFromJSONTyped;
19
+ exports.CreateOtpLoginRequestToJSON = CreateOtpLoginRequestToJSON;
20
+ exports.CreateOtpLoginRequestToJSONTyped = CreateOtpLoginRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateOtpLoginRequest interface.
23
+ */
24
+ function instanceOfCreateOtpLoginRequest(value) {
25
+ return true;
26
+ }
27
+ function CreateOtpLoginRequestFromJSON(json) {
28
+ return CreateOtpLoginRequestFromJSONTyped(json, false);
29
+ }
30
+ function CreateOtpLoginRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'email': json['email'] == null ? undefined : json['email'],
36
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
37
+ 'recaptchaToken': json['recaptchaToken'] == null ? undefined : json['recaptchaToken'],
38
+ };
39
+ }
40
+ function CreateOtpLoginRequestToJSON(json) {
41
+ return CreateOtpLoginRequestToJSONTyped(json, false);
42
+ }
43
+ function CreateOtpLoginRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'email': value['email'],
50
+ 'phoneNumber': value['phoneNumber'],
51
+ 'recaptchaToken': value['recaptchaToken'],
52
+ };
53
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 CreateOtpLoginResponse
16
+ */
17
+ export interface CreateOtpLoginResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateOtpLoginResponse
22
+ */
23
+ pendingLoginId: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof CreateOtpLoginResponse
28
+ */
29
+ expirationTime: Date;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateOtpLoginResponse interface.
33
+ */
34
+ export declare function instanceOfCreateOtpLoginResponse(value: object): value is CreateOtpLoginResponse;
35
+ export declare function CreateOtpLoginResponseFromJSON(json: any): CreateOtpLoginResponse;
36
+ export declare function CreateOtpLoginResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOtpLoginResponse;
37
+ export declare function CreateOtpLoginResponseToJSON(json: any): CreateOtpLoginResponse;
38
+ export declare function CreateOtpLoginResponseToJSONTyped(value?: CreateOtpLoginResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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.instanceOfCreateOtpLoginResponse = instanceOfCreateOtpLoginResponse;
17
+ exports.CreateOtpLoginResponseFromJSON = CreateOtpLoginResponseFromJSON;
18
+ exports.CreateOtpLoginResponseFromJSONTyped = CreateOtpLoginResponseFromJSONTyped;
19
+ exports.CreateOtpLoginResponseToJSON = CreateOtpLoginResponseToJSON;
20
+ exports.CreateOtpLoginResponseToJSONTyped = CreateOtpLoginResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateOtpLoginResponse interface.
23
+ */
24
+ function instanceOfCreateOtpLoginResponse(value) {
25
+ if (!('pendingLoginId' in value) || value['pendingLoginId'] === undefined)
26
+ return false;
27
+ if (!('expirationTime' in value) || value['expirationTime'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function CreateOtpLoginResponseFromJSON(json) {
32
+ return CreateOtpLoginResponseFromJSONTyped(json, false);
33
+ }
34
+ function CreateOtpLoginResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'pendingLoginId': json['pendingLoginId'],
40
+ 'expirationTime': (new Date(json['expirationTime'])),
41
+ };
42
+ }
43
+ function CreateOtpLoginResponseToJSON(json) {
44
+ return CreateOtpLoginResponseToJSONTyped(json, false);
45
+ }
46
+ function CreateOtpLoginResponseToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'pendingLoginId': value['pendingLoginId'],
53
+ 'expirationTime': value['expirationTime'].toISOString(),
54
+ };
55
+ }
@@ -132,6 +132,14 @@ export declare const ForteApiExceptionErrorCodeType: {
132
132
  readonly COMPLIANCE_DOCUMENT_ENCRYPTED: "COMPLIANCE_DOCUMENT_ENCRYPTED";
133
133
  readonly NOTIFICATION_TEMPLATE_INVALID: "NOTIFICATION_TEMPLATE_INVALID";
134
134
  readonly NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: "NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE";
135
+ readonly CONTENT_NOT_FOUND: "CONTENT_NOT_FOUND";
136
+ readonly CONTENT_NOT_IN_PENDING_STATE: "CONTENT_NOT_IN_PENDING_STATE";
137
+ readonly CONTENT_UPLOAD_NOT_VERIFIED: "CONTENT_UPLOAD_NOT_VERIFIED";
138
+ readonly CONTENT_SIZE_MISMATCH: "CONTENT_SIZE_MISMATCH";
139
+ readonly CONTENT_CONTENT_TYPE_MISMATCH: "CONTENT_CONTENT_TYPE_MISMATCH";
140
+ readonly CONTENT_SIZE_EXCEEDS_LIMIT: "CONTENT_SIZE_EXCEEDS_LIMIT";
141
+ readonly CONTENT_SHARE_USER_NOT_IN_PROJECT: "CONTENT_SHARE_USER_NOT_IN_PROJECT";
142
+ readonly CONTENT_NOT_SHAREABLE_WHILE_PENDING: "CONTENT_NOT_SHAREABLE_WHILE_PENDING";
135
143
  };
136
144
  export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
137
145
  /**
@@ -116,7 +116,15 @@ exports.ForteApiExceptionErrorCodeType = {
116
116
  ENCRYPTION_PASSWORD_MISMATCH: 'ENCRYPTION_PASSWORD_MISMATCH',
117
117
  COMPLIANCE_DOCUMENT_ENCRYPTED: 'COMPLIANCE_DOCUMENT_ENCRYPTED',
118
118
  NOTIFICATION_TEMPLATE_INVALID: 'NOTIFICATION_TEMPLATE_INVALID',
119
- NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: 'NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE'
119
+ NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: 'NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE',
120
+ CONTENT_NOT_FOUND: 'CONTENT_NOT_FOUND',
121
+ CONTENT_NOT_IN_PENDING_STATE: 'CONTENT_NOT_IN_PENDING_STATE',
122
+ CONTENT_UPLOAD_NOT_VERIFIED: 'CONTENT_UPLOAD_NOT_VERIFIED',
123
+ CONTENT_SIZE_MISMATCH: 'CONTENT_SIZE_MISMATCH',
124
+ CONTENT_CONTENT_TYPE_MISMATCH: 'CONTENT_CONTENT_TYPE_MISMATCH',
125
+ CONTENT_SIZE_EXCEEDS_LIMIT: 'CONTENT_SIZE_EXCEEDS_LIMIT',
126
+ CONTENT_SHARE_USER_NOT_IN_PROJECT: 'CONTENT_SHARE_USER_NOT_IN_PROJECT',
127
+ CONTENT_NOT_SHAREABLE_WHILE_PENDING: 'CONTENT_NOT_SHAREABLE_WHILE_PENDING'
120
128
  };
121
129
  /**
122
130
  * Check if a given object implements the ForteApiException interface.
@@ -0,0 +1,38 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 GetContentDownloadLinkResponse
16
+ */
17
+ export interface GetContentDownloadLinkResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetContentDownloadLinkResponse
22
+ */
23
+ downloadUrl: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof GetContentDownloadLinkResponse
28
+ */
29
+ expiresAt: Date;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GetContentDownloadLinkResponse interface.
33
+ */
34
+ export declare function instanceOfGetContentDownloadLinkResponse(value: object): value is GetContentDownloadLinkResponse;
35
+ export declare function GetContentDownloadLinkResponseFromJSON(json: any): GetContentDownloadLinkResponse;
36
+ export declare function GetContentDownloadLinkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentDownloadLinkResponse;
37
+ export declare function GetContentDownloadLinkResponseToJSON(json: any): GetContentDownloadLinkResponse;
38
+ export declare function GetContentDownloadLinkResponseToJSONTyped(value?: GetContentDownloadLinkResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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.instanceOfGetContentDownloadLinkResponse = instanceOfGetContentDownloadLinkResponse;
17
+ exports.GetContentDownloadLinkResponseFromJSON = GetContentDownloadLinkResponseFromJSON;
18
+ exports.GetContentDownloadLinkResponseFromJSONTyped = GetContentDownloadLinkResponseFromJSONTyped;
19
+ exports.GetContentDownloadLinkResponseToJSON = GetContentDownloadLinkResponseToJSON;
20
+ exports.GetContentDownloadLinkResponseToJSONTyped = GetContentDownloadLinkResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetContentDownloadLinkResponse interface.
23
+ */
24
+ function instanceOfGetContentDownloadLinkResponse(value) {
25
+ if (!('downloadUrl' in value) || value['downloadUrl'] === undefined)
26
+ return false;
27
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GetContentDownloadLinkResponseFromJSON(json) {
32
+ return GetContentDownloadLinkResponseFromJSONTyped(json, false);
33
+ }
34
+ function GetContentDownloadLinkResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'downloadUrl': json['downloadUrl'],
40
+ 'expiresAt': (new Date(json['expiresAt'])),
41
+ };
42
+ }
43
+ function GetContentDownloadLinkResponseToJSON(json) {
44
+ return GetContentDownloadLinkResponseToJSONTyped(json, false);
45
+ }
46
+ function GetContentDownloadLinkResponseToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'downloadUrl': value['downloadUrl'],
53
+ 'expiresAt': value['expiresAt'].toISOString(),
54
+ };
55
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 { ContentObject } from './ContentObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListContentResponse
17
+ */
18
+ export interface ListContentResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ContentObject>}
22
+ * @memberof ListContentResponse
23
+ */
24
+ items: Array<ContentObject>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ListContentResponse
29
+ */
30
+ nextPageToken?: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ListContentResponse interface.
34
+ */
35
+ export declare function instanceOfListContentResponse(value: object): value is ListContentResponse;
36
+ export declare function ListContentResponseFromJSON(json: any): ListContentResponse;
37
+ export declare function ListContentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListContentResponse;
38
+ export declare function ListContentResponseToJSON(json: any): ListContentResponse;
39
+ export declare function ListContentResponseToJSONTyped(value?: ListContentResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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.instanceOfListContentResponse = instanceOfListContentResponse;
17
+ exports.ListContentResponseFromJSON = ListContentResponseFromJSON;
18
+ exports.ListContentResponseFromJSONTyped = ListContentResponseFromJSONTyped;
19
+ exports.ListContentResponseToJSON = ListContentResponseToJSON;
20
+ exports.ListContentResponseToJSONTyped = ListContentResponseToJSONTyped;
21
+ var ContentObject_1 = require("./ContentObject");
22
+ /**
23
+ * Check if a given object implements the ListContentResponse interface.
24
+ */
25
+ function instanceOfListContentResponse(value) {
26
+ if (!('items' in value) || value['items'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function ListContentResponseFromJSON(json) {
31
+ return ListContentResponseFromJSONTyped(json, false);
32
+ }
33
+ function ListContentResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'items': (json['items'].map(ContentObject_1.ContentObjectFromJSON)),
39
+ 'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
40
+ };
41
+ }
42
+ function ListContentResponseToJSON(json) {
43
+ return ListContentResponseToJSONTyped(json, false);
44
+ }
45
+ function ListContentResponseToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'items': (value['items'].map(ContentObject_1.ContentObjectToJSON)),
52
+ 'nextPageToken': value['nextPageToken'],
53
+ };
54
+ }
@@ -69,6 +69,24 @@ export interface NotificationTemplatesConfig {
69
69
  * @memberof NotificationTemplatesConfig
70
70
  */
71
71
  welcomeSmsBody?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof NotificationTemplatesConfig
76
+ */
77
+ loginOtpEmailSubject?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof NotificationTemplatesConfig
82
+ */
83
+ loginOtpEmailHtmlBody?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof NotificationTemplatesConfig
88
+ */
89
+ loginOtpSmsBody?: string;
72
90
  }
73
91
  /**
74
92
  * Check if a given object implements the NotificationTemplatesConfig interface.
@@ -41,6 +41,9 @@ function NotificationTemplatesConfigFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'welcomeEmailSubject': json['welcomeEmailSubject'] == null ? undefined : json['welcomeEmailSubject'],
42
42
  'welcomeEmailHtmlBody': json['welcomeEmailHtmlBody'] == null ? undefined : json['welcomeEmailHtmlBody'],
43
43
  'welcomeSmsBody': json['welcomeSmsBody'] == null ? undefined : json['welcomeSmsBody'],
44
+ 'loginOtpEmailSubject': json['loginOtpEmailSubject'] == null ? undefined : json['loginOtpEmailSubject'],
45
+ 'loginOtpEmailHtmlBody': json['loginOtpEmailHtmlBody'] == null ? undefined : json['loginOtpEmailHtmlBody'],
46
+ 'loginOtpSmsBody': json['loginOtpSmsBody'] == null ? undefined : json['loginOtpSmsBody'],
44
47
  };
45
48
  }
46
49
  function NotificationTemplatesConfigToJSON(json) {
@@ -61,5 +64,8 @@ function NotificationTemplatesConfigToJSONTyped(value, ignoreDiscriminator) {
61
64
  'welcomeEmailSubject': value['welcomeEmailSubject'],
62
65
  'welcomeEmailHtmlBody': value['welcomeEmailHtmlBody'],
63
66
  'welcomeSmsBody': value['welcomeSmsBody'],
67
+ 'loginOtpEmailSubject': value['loginOtpEmailSubject'],
68
+ 'loginOtpEmailHtmlBody': value['loginOtpEmailHtmlBody'],
69
+ 'loginOtpSmsBody': value['loginOtpSmsBody'],
64
70
  };
65
71
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 RequiredUploadHeaders
16
+ */
17
+ export interface RequiredUploadHeaders {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RequiredUploadHeaders
22
+ */
23
+ contentType: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof RequiredUploadHeaders
28
+ */
29
+ contentLength: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RequiredUploadHeaders interface.
33
+ */
34
+ export declare function instanceOfRequiredUploadHeaders(value: object): value is RequiredUploadHeaders;
35
+ export declare function RequiredUploadHeadersFromJSON(json: any): RequiredUploadHeaders;
36
+ export declare function RequiredUploadHeadersFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequiredUploadHeaders;
37
+ export declare function RequiredUploadHeadersToJSON(json: any): RequiredUploadHeaders;
38
+ export declare function RequiredUploadHeadersToJSONTyped(value?: RequiredUploadHeaders | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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.instanceOfRequiredUploadHeaders = instanceOfRequiredUploadHeaders;
17
+ exports.RequiredUploadHeadersFromJSON = RequiredUploadHeadersFromJSON;
18
+ exports.RequiredUploadHeadersFromJSONTyped = RequiredUploadHeadersFromJSONTyped;
19
+ exports.RequiredUploadHeadersToJSON = RequiredUploadHeadersToJSON;
20
+ exports.RequiredUploadHeadersToJSONTyped = RequiredUploadHeadersToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RequiredUploadHeaders interface.
23
+ */
24
+ function instanceOfRequiredUploadHeaders(value) {
25
+ if (!('contentType' in value) || value['contentType'] === undefined)
26
+ return false;
27
+ if (!('contentLength' in value) || value['contentLength'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RequiredUploadHeadersFromJSON(json) {
32
+ return RequiredUploadHeadersFromJSONTyped(json, false);
33
+ }
34
+ function RequiredUploadHeadersFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'contentType': json['contentType'],
40
+ 'contentLength': json['contentLength'],
41
+ };
42
+ }
43
+ function RequiredUploadHeadersToJSON(json) {
44
+ return RequiredUploadHeadersToJSONTyped(json, false);
45
+ }
46
+ function RequiredUploadHeadersToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'contentType': value['contentType'],
53
+ 'contentLength': value['contentLength'],
54
+ };
55
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 { ContentShareRequestItem } from './ContentShareRequestItem';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateContentSharesRequest
17
+ */
18
+ export interface UpdateContentSharesRequest {
19
+ /**
20
+ *
21
+ * @type {Array<ContentShareRequestItem>}
22
+ * @memberof UpdateContentSharesRequest
23
+ */
24
+ shares: Array<ContentShareRequestItem>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the UpdateContentSharesRequest interface.
28
+ */
29
+ export declare function instanceOfUpdateContentSharesRequest(value: object): value is UpdateContentSharesRequest;
30
+ export declare function UpdateContentSharesRequestFromJSON(json: any): UpdateContentSharesRequest;
31
+ export declare function UpdateContentSharesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateContentSharesRequest;
32
+ export declare function UpdateContentSharesRequestToJSON(json: any): UpdateContentSharesRequest;
33
+ export declare function UpdateContentSharesRequestToJSONTyped(value?: UpdateContentSharesRequest | null, ignoreDiscriminator?: boolean): any;