@kommerz/ts-client 1.153.0 → 1.167.3
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/.yarnrc +1 -0
- package/dist/apis/CustomersApi.d.ts +2 -2
- package/dist/apis/EditorTypeApi.d.ts +75 -0
- package/dist/apis/EditorTypeApi.js +321 -0
- package/dist/apis/FileDirectoriesApi.d.ts +19 -16
- package/dist/apis/FileDirectoriesApi.js +60 -73
- package/dist/apis/FileDirectorySharesApi.d.ts +34 -6
- package/dist/apis/FileDirectorySharesApi.js +141 -19
- package/dist/apis/FileUploadsApi.d.ts +55 -0
- package/dist/apis/FileUploadsApi.js +251 -0
- package/dist/apis/FilesApi.d.ts +17 -1
- package/dist/apis/FilesApi.js +83 -4
- package/dist/apis/InvoicesApi.d.ts +4 -26
- package/dist/apis/InvoicesApi.js +3 -68
- package/dist/apis/KanbanCardsApi.d.ts +2 -2
- package/dist/apis/MentionsApi.js +1 -1
- package/dist/apis/StatisticsApi.js +1 -1
- package/dist/apis/TenantsApi.d.ts +1 -1
- package/dist/apis/UnitsApi.d.ts +2 -2
- package/dist/apis/UsageMonitorApi.js +1 -1
- package/dist/apis/UsersMeApi.d.ts +19 -0
- package/dist/apis/UsersMeApi.js +100 -0
- package/dist/apis/WorkflowProcessesApi.d.ts +27 -5
- package/dist/apis/WorkflowProcessesApi.js +100 -8
- package/dist/apis/WorkflowsApi.d.ts +19 -8
- package/dist/apis/WorkflowsApi.js +56 -10
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AcceptanceDocumentDto.js +2 -2
- package/dist/models/AcceptanceDocumentLogEntry.js +1 -1
- package/dist/models/AcceptanceDocumentLogEntryData.d.ts +2 -2
- package/dist/models/AcceptancePortalAcceptDto.d.ts +7 -0
- package/dist/models/AcceptancePortalAcceptDto.js +5 -0
- package/dist/models/AccessTokenDto.js +1 -1
- package/dist/models/AccountingScheduleDto.js +3 -3
- package/dist/models/AccountingSettlementDto.js +3 -3
- package/dist/models/AccountingSplitPair.d.ts +1 -1
- package/dist/models/AccountingTransactionDto.js +1 -1
- package/dist/models/ActivityDto.js +1 -1
- package/dist/models/ApprovalEntryDto.js +2 -2
- package/dist/models/CalendarAttendeeDto.d.ts +51 -0
- package/dist/models/CalendarAttendeeDto.js +59 -0
- package/dist/models/CalendarEntryDto.d.ts +7 -0
- package/dist/models/CalendarEntryDto.js +3 -0
- package/dist/models/CenterStatementDto.js +2 -2
- package/dist/models/CommentDto.js +1 -1
- package/dist/models/ConfigKey.d.ts +1 -0
- package/dist/models/ConfigKey.js +2 -1
- package/dist/models/CustomerDto.d.ts +6 -6
- package/dist/models/CustomerDto.js +0 -3
- package/dist/models/DunningLetterDto.d.ts +1 -1
- package/dist/models/EditorTypeDto.d.ts +61 -0
- package/dist/models/EditorTypeDto.js +60 -0
- package/dist/models/EmailDto.d.ts +3 -3
- package/dist/models/EmailDto.js +1 -1
- package/dist/models/EntityAccessTokenDto.d.ts +31 -0
- package/dist/models/EntityAccessTokenDto.js +50 -0
- package/dist/models/EntityType.d.ts +2 -0
- package/dist/models/EntityType.js +3 -1
- package/dist/models/FileDetailsDto.d.ts +25 -13
- package/dist/models/FileDetailsDto.js +7 -5
- package/dist/models/FileDirectoryDto.d.ts +4 -4
- package/dist/models/FileDirectoryDto.js +1 -1
- package/dist/models/FileDto.d.ts +13 -1
- package/dist/models/FileDto.js +3 -1
- package/dist/models/FileMovementDto.d.ts +7 -7
- package/dist/models/FileMovementDto.js +2 -2
- package/dist/models/FileSelectionDto.d.ts +2 -2
- package/dist/models/FileShareDto.d.ts +4 -4
- package/dist/models/FileShareDto.js +5 -6
- package/dist/models/FileUploadDto.d.ts +67 -0
- package/dist/models/FileUploadDto.js +60 -0
- package/dist/models/FileUploadManifestDto.d.ts +31 -0
- package/dist/models/FileUploadManifestDto.js +50 -0
- package/dist/models/FileUploadPartDto.d.ts +31 -0
- package/dist/models/{AccessShareDto.js → FileUploadPartDto.js} +17 -17
- package/dist/models/GetAllAbsenceEntries200Response.d.ts +2 -2
- package/dist/models/GetAllAbsenceEntries200Response.js +2 -6
- package/dist/models/GetAllAbsenceTypes200Response.d.ts +2 -2
- package/dist/models/GetAllAbsenceTypes200Response.js +2 -6
- package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +2 -2
- package/dist/models/GetAllAcceptanceDocuments200Response.js +2 -6
- package/dist/models/GetAllAccessTokens200Response.d.ts +2 -2
- package/dist/models/GetAllAccessTokens200Response.js +2 -6
- package/dist/models/GetAllAccountingCenters200Response.d.ts +2 -2
- package/dist/models/GetAllAccountingCenters200Response.js +2 -6
- package/dist/models/GetAllAccountingLedgers200Response.d.ts +2 -2
- package/dist/models/GetAllAccountingLedgers200Response.js +2 -6
- package/dist/models/GetAllAccountingReceipts200Response.d.ts +2 -2
- package/dist/models/GetAllAccountingReceipts200Response.js +2 -6
- package/dist/models/GetAllAccountingSettlements200Response.d.ts +2 -2
- package/dist/models/GetAllAccountingSettlements200Response.js +2 -6
- package/dist/models/GetAllAccountingTransactions200Response.d.ts +2 -2
- package/dist/models/GetAllAccountingTransactions200Response.js +2 -6
- package/dist/models/GetAllAccountingTurnover200Response.d.ts +2 -2
- package/dist/models/GetAllAccountingTurnover200Response.js +2 -6
- package/dist/models/GetAllAccounts200Response.d.ts +2 -2
- package/dist/models/GetAllAccounts200Response.js +2 -6
- package/dist/models/GetAllActivities200Response.d.ts +2 -2
- package/dist/models/GetAllActivities200Response.js +2 -6
- package/dist/models/GetAllApprovalEntries200Response.d.ts +2 -2
- package/dist/models/GetAllApprovalEntries200Response.js +2 -6
- package/dist/models/GetAllApprovalTypes200Response.d.ts +2 -2
- package/dist/models/GetAllApprovalTypes200Response.js +2 -6
- package/dist/models/GetAllBankDetails200Response.d.ts +2 -2
- package/dist/models/GetAllBankDetails200Response.js +2 -6
- package/dist/models/GetAllCalendarEntries200Response.d.ts +2 -2
- package/dist/models/GetAllCalendarEntries200Response.js +2 -6
- package/dist/models/GetAllCalendarEntryTypes200Response.d.ts +2 -2
- package/dist/models/GetAllCalendarEntryTypes200Response.js +2 -6
- package/dist/models/GetAllComments200Response.d.ts +2 -2
- package/dist/models/GetAllComments200Response.js +2 -6
- package/dist/models/GetAllConfigurations200Response.d.ts +2 -2
- package/dist/models/GetAllConfigurations200Response.js +2 -6
- package/dist/models/GetAllContractStatus200Response.d.ts +2 -2
- package/dist/models/GetAllContractStatus200Response.js +2 -6
- package/dist/models/GetAllContractTypes200Response.d.ts +2 -2
- package/dist/models/GetAllContractTypes200Response.js +2 -6
- package/dist/models/GetAllContracts200Response.d.ts +2 -2
- package/dist/models/GetAllContracts200Response.js +2 -6
- package/dist/models/GetAllCustomers200Response.d.ts +2 -2
- package/dist/models/GetAllCustomers200Response.js +2 -6
- package/dist/models/GetAllDeliveryNotes200Response.d.ts +2 -2
- package/dist/models/GetAllDeliveryNotes200Response.js +2 -6
- package/dist/models/GetAllDesignTemplates200Response.d.ts +2 -2
- package/dist/models/GetAllDesignTemplates200Response.js +2 -6
- package/dist/models/GetAllDocumentTemplates200Response.d.ts +2 -2
- package/dist/models/GetAllDocumentTemplates200Response.js +2 -6
- package/dist/models/GetAllDunningLetters200Response.d.ts +2 -2
- package/dist/models/GetAllDunningLetters200Response.js +2 -6
- package/dist/models/GetAllEditorTypes200Response.d.ts +50 -0
- package/dist/models/GetAllEditorTypes200Response.js +59 -0
- package/dist/models/GetAllEntitiesForTag200Response.d.ts +2 -2
- package/dist/models/GetAllEntitiesForTag200Response.js +2 -6
- package/dist/models/GetAllFileTags200Response.d.ts +2 -2
- package/dist/models/GetAllFileTags200Response.js +2 -6
- package/dist/models/GetAllHolidays200Response.d.ts +2 -2
- package/dist/models/GetAllHolidays200Response.js +2 -6
- package/dist/models/GetAllHospitalityReceipts200Response.d.ts +2 -2
- package/dist/models/GetAllHospitalityReceipts200Response.js +2 -6
- package/dist/models/GetAllInboxEmails200Response.d.ts +2 -2
- package/dist/models/GetAllInboxEmails200Response.js +2 -6
- package/dist/models/GetAllInvoices200Response.d.ts +2 -2
- package/dist/models/GetAllInvoices200Response.js +2 -6
- package/dist/models/GetAllJobs200Response.d.ts +2 -2
- package/dist/models/GetAllJobs200Response.js +2 -6
- package/dist/models/GetAllKanbanBoards200Response.d.ts +2 -2
- package/dist/models/GetAllKanbanBoards200Response.js +2 -6
- package/dist/models/GetAllKanbanCards200Response.d.ts +2 -2
- package/dist/models/GetAllKanbanCards200Response.js +2 -6
- package/dist/models/GetAllKanbanColumns200Response.d.ts +2 -2
- package/dist/models/GetAllKanbanColumns200Response.js +2 -6
- package/dist/models/GetAllMentions200Response.d.ts +2 -2
- package/dist/models/GetAllMentions200Response.js +2 -6
- package/dist/models/GetAllNotifications200Response.d.ts +2 -2
- package/dist/models/GetAllNotifications200Response.js +2 -6
- package/dist/models/GetAllObjectives200Response.d.ts +2 -2
- package/dist/models/GetAllObjectives200Response.js +2 -6
- package/dist/models/GetAllOffers200Response.d.ts +2 -2
- package/dist/models/GetAllOffers200Response.js +2 -6
- package/dist/models/GetAllPages200Response.d.ts +2 -2
- package/dist/models/GetAllPages200Response.js +2 -6
- package/dist/models/GetAllPayments200Response.d.ts +2 -2
- package/dist/models/GetAllPayments200Response.js +2 -6
- package/dist/models/GetAllPresenceEntries200Response.d.ts +2 -2
- package/dist/models/GetAllPresenceEntries200Response.js +2 -6
- package/dist/models/GetAllPresenceTypes200Response.d.ts +2 -2
- package/dist/models/GetAllPresenceTypes200Response.js +2 -6
- package/dist/models/GetAllReferences200Response.d.ts +2 -2
- package/dist/models/GetAllReferences200Response.js +2 -6
- package/dist/models/GetAllRegistrations200Response.d.ts +2 -2
- package/dist/models/GetAllRegistrations200Response.js +2 -6
- package/dist/models/GetAllResults200Response.d.ts +2 -2
- package/dist/models/GetAllResults200Response.js +2 -6
- package/dist/models/GetAllRoles200Response.d.ts +2 -2
- package/dist/models/GetAllRoles200Response.js +2 -6
- package/dist/models/GetAllShares200Response.d.ts +2 -2
- package/dist/models/GetAllShares200Response.js +2 -6
- package/dist/models/GetAllTags200Response.d.ts +2 -2
- package/dist/models/GetAllTags200Response.js +2 -6
- package/dist/models/GetAllTextModules200Response.d.ts +2 -2
- package/dist/models/GetAllTextModules200Response.js +2 -6
- package/dist/models/GetAllUnits200Response.d.ts +2 -2
- package/dist/models/GetAllUnits200Response.js +2 -6
- package/dist/models/GetAllUsers200Response.d.ts +2 -2
- package/dist/models/GetAllUsers200Response.js +2 -6
- package/dist/models/GetAllWikis200Response.d.ts +2 -2
- package/dist/models/GetAllWikis200Response.js +2 -6
- package/dist/models/GetAllWorkHours200Response.d.ts +2 -2
- package/dist/models/GetAllWorkHours200Response.js +2 -6
- package/dist/models/GetAllWorkflowProcessLogs200Response.d.ts +2 -2
- package/dist/models/GetAllWorkflowProcessLogs200Response.js +2 -6
- package/dist/models/GetAllWorkflowProcesses200Response.d.ts +2 -2
- package/dist/models/GetAllWorkflowProcesses200Response.js +2 -6
- package/dist/models/GetAllWorkflows200Response.d.ts +2 -2
- package/dist/models/GetAllWorkflows200Response.js +2 -6
- package/dist/models/GetAllWritings200Response.d.ts +2 -2
- package/dist/models/GetAllWritings200Response.js +2 -6
- package/dist/models/GetSubscribedProducts200Response.d.ts +2 -2
- package/dist/models/GetSubscribedProducts200Response.js +2 -6
- package/dist/models/HospitalityReceiptDto.d.ts +2 -2
- package/dist/models/InvoiceDto.d.ts +31 -25
- package/dist/models/InvoiceDto.js +8 -21
- package/dist/models/InvoiceItemDto.d.ts +29 -5
- package/dist/models/InvoiceItemDto.js +6 -1
- package/dist/models/InvoiceTaxItemDto.d.ts +1 -1
- package/dist/models/InvoiceType.d.ts +4 -4
- package/dist/models/InvoiceType.js +4 -4
- package/dist/models/JobDto.js +2 -2
- package/dist/models/KanbanCardDto.d.ts +23 -5
- package/dist/models/KanbanCardDto.js +14 -6
- package/dist/models/LedgerStatementDto.js +2 -2
- package/dist/models/ListAllTenants200Response.d.ts +2 -2
- package/dist/models/ListAllTenants200Response.js +2 -6
- package/dist/models/ListDataTableRows200Response.d.ts +2 -2
- package/dist/models/ListDataTableRows200Response.js +2 -6
- package/dist/models/ListDataTables200Response.d.ts +2 -2
- package/dist/models/ListDataTables200Response.js +2 -6
- package/dist/models/ListDirectories200Response.d.ts +2 -2
- package/dist/models/ListDirectories200Response.js +2 -6
- package/dist/models/ListFiles200Response.d.ts +2 -2
- package/dist/models/ListFiles200Response.js +2 -6
- package/dist/models/MacroConfig.d.ts +2 -0
- package/dist/models/MacroConfig.js +3 -1
- package/dist/models/NotificationDto.js +1 -1
- package/dist/models/OfferDto.d.ts +6 -0
- package/dist/models/OfferDto.js +2 -0
- package/dist/models/PageResponse.d.ts +2 -2
- package/dist/models/PageResponse.js +2 -6
- package/dist/models/ParticipantRole.d.ts +26 -0
- package/dist/models/ParticipantRole.js +52 -0
- package/dist/models/ParticipantStatus.d.ts +27 -0
- package/dist/models/ParticipantStatus.js +53 -0
- package/dist/models/PublicShareDirectorDto.d.ts +44 -0
- package/dist/models/PublicShareDirectorDto.js +55 -0
- package/dist/models/PublicShareDto.js +3 -3
- package/dist/models/PublicShareFileDto.d.ts +55 -0
- package/dist/models/PublicShareFileDto.js +66 -0
- package/dist/models/PublicShareListingDto.d.ts +44 -0
- package/dist/models/PublicShareListingDto.js +59 -0
- package/dist/models/SubscriptionChangeDto.js +1 -1
- package/dist/models/SubscriptionDto.js +10 -10
- package/dist/models/TenantConfigurationDto.d.ts +7 -0
- package/dist/models/TenantConfigurationDto.js +3 -0
- package/dist/models/TenantDto.d.ts +3 -3
- package/dist/models/TenantDto.js +0 -2
- package/dist/models/TimeSpanDto.d.ts +2 -2
- package/dist/models/TimesDto.js +1 -1
- package/dist/models/UiConfigurationDto.d.ts +32 -0
- package/dist/models/UiConfigurationDto.js +49 -0
- package/dist/models/UiLandingWelcomeConfigDto.d.ts +31 -0
- package/dist/models/UiLandingWelcomeConfigDto.js +50 -0
- package/dist/models/UiModule.d.ts +46 -0
- package/dist/models/UiModule.js +72 -0
- package/dist/models/UnitDto.d.ts +3 -3
- package/dist/models/UnitDto.js +0 -2
- package/dist/models/UserAgentInformation.d.ts +61 -0
- package/dist/models/UserAgentInformation.js +58 -0
- package/dist/models/UserApprovalDto.js +1 -1
- package/dist/models/UserDto.d.ts +1 -1
- package/dist/models/UserDto.js +2 -2
- package/dist/models/WorkflowDto.d.ts +2 -2
- package/dist/models/WorkflowProcessDto.d.ts +12 -0
- package/dist/models/WorkflowProcessDto.js +4 -0
- package/dist/models/WorkflowProcessLogDto.js +1 -1
- package/dist/models/WorkflowProcessStatus.d.ts +1 -0
- package/dist/models/WorkflowProcessStatus.js +1 -0
- package/dist/models/index.d.ts +16 -1
- package/dist/models/index.js +16 -1
- package/dist/sin-deno.d.ts +4 -0
- package/dist/sin-deno.js +22 -0
- package/dist/src/comm.js +2 -1
- package/dist/src/events.d.ts +9 -0
- package/dist/src/events.js +2 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/package.json +1 -1
- package/sin-deno.ts +6 -0
- package/src/comm.ts +1 -1
- package/src/events.ts +9 -0
- package/src/index.ts +1 -0
- package/dist/models/AccessShareDto.d.ts +0 -37
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const ParticipantRole: {
|
|
16
|
+
readonly ReqParticipant: "REQ_PARTICIPANT";
|
|
17
|
+
readonly OptParticipant: "OPT_PARTICIPANT";
|
|
18
|
+
readonly Chair: "CHAIR";
|
|
19
|
+
readonly NonParticipant: "NON_PARTICIPANT";
|
|
20
|
+
};
|
|
21
|
+
export type ParticipantRole = typeof ParticipantRole[keyof typeof ParticipantRole];
|
|
22
|
+
export declare function instanceOfParticipantRole(value: any): boolean;
|
|
23
|
+
export declare function ParticipantRoleFromJSON(json: any): ParticipantRole;
|
|
24
|
+
export declare function ParticipantRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantRole;
|
|
25
|
+
export declare function ParticipantRoleToJSON(value?: ParticipantRole | null): any;
|
|
26
|
+
export declare function ParticipantRoleToJSONTyped(value: any, ignoreDiscriminator: boolean): ParticipantRole;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ParticipantRole = void 0;
|
|
16
|
+
exports.instanceOfParticipantRole = instanceOfParticipantRole;
|
|
17
|
+
exports.ParticipantRoleFromJSON = ParticipantRoleFromJSON;
|
|
18
|
+
exports.ParticipantRoleFromJSONTyped = ParticipantRoleFromJSONTyped;
|
|
19
|
+
exports.ParticipantRoleToJSON = ParticipantRoleToJSON;
|
|
20
|
+
exports.ParticipantRoleToJSONTyped = ParticipantRoleToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ParticipantRole = {
|
|
26
|
+
ReqParticipant: 'REQ_PARTICIPANT',
|
|
27
|
+
OptParticipant: 'OPT_PARTICIPANT',
|
|
28
|
+
Chair: 'CHAIR',
|
|
29
|
+
NonParticipant: 'NON_PARTICIPANT'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfParticipantRole(value) {
|
|
32
|
+
for (var key in exports.ParticipantRole) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.ParticipantRole, key)) {
|
|
34
|
+
if (exports.ParticipantRole[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function ParticipantRoleFromJSON(json) {
|
|
42
|
+
return ParticipantRoleFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ParticipantRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function ParticipantRoleToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function ParticipantRoleToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const ParticipantStatus: {
|
|
16
|
+
readonly NeedsAction: "NEEDS_ACTION";
|
|
17
|
+
readonly Accepted: "ACCEPTED";
|
|
18
|
+
readonly Declined: "DECLINED";
|
|
19
|
+
readonly Tentative: "TENTATIVE";
|
|
20
|
+
readonly Delegated: "DELEGATED";
|
|
21
|
+
};
|
|
22
|
+
export type ParticipantStatus = typeof ParticipantStatus[keyof typeof ParticipantStatus];
|
|
23
|
+
export declare function instanceOfParticipantStatus(value: any): boolean;
|
|
24
|
+
export declare function ParticipantStatusFromJSON(json: any): ParticipantStatus;
|
|
25
|
+
export declare function ParticipantStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantStatus;
|
|
26
|
+
export declare function ParticipantStatusToJSON(value?: ParticipantStatus | null): any;
|
|
27
|
+
export declare function ParticipantStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ParticipantStatus;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ParticipantStatus = void 0;
|
|
16
|
+
exports.instanceOfParticipantStatus = instanceOfParticipantStatus;
|
|
17
|
+
exports.ParticipantStatusFromJSON = ParticipantStatusFromJSON;
|
|
18
|
+
exports.ParticipantStatusFromJSONTyped = ParticipantStatusFromJSONTyped;
|
|
19
|
+
exports.ParticipantStatusToJSON = ParticipantStatusToJSON;
|
|
20
|
+
exports.ParticipantStatusToJSONTyped = ParticipantStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ParticipantStatus = {
|
|
26
|
+
NeedsAction: 'NEEDS_ACTION',
|
|
27
|
+
Accepted: 'ACCEPTED',
|
|
28
|
+
Declined: 'DECLINED',
|
|
29
|
+
Tentative: 'TENTATIVE',
|
|
30
|
+
Delegated: 'DELEGATED'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfParticipantStatus(value) {
|
|
33
|
+
for (var key in exports.ParticipantStatus) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.ParticipantStatus, key)) {
|
|
35
|
+
if (exports.ParticipantStatus[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function ParticipantStatusFromJSON(json) {
|
|
43
|
+
return ParticipantStatusFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ParticipantStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function ParticipantStatusToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function ParticipantStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { PublicShareFileDto } from './PublicShareFileDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PublicShareDirectorDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicShareDirectorDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PublicShareDirectorDto
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<PublicShareDirectorDto>}
|
|
27
|
+
* @memberof PublicShareDirectorDto
|
|
28
|
+
*/
|
|
29
|
+
subDirectories?: Array<PublicShareDirectorDto>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<PublicShareFileDto>}
|
|
33
|
+
* @memberof PublicShareDirectorDto
|
|
34
|
+
*/
|
|
35
|
+
files?: Array<PublicShareFileDto>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PublicShareDirectorDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPublicShareDirectorDto(value: object): value is PublicShareDirectorDto;
|
|
41
|
+
export declare function PublicShareDirectorDtoFromJSON(json: any): PublicShareDirectorDto;
|
|
42
|
+
export declare function PublicShareDirectorDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicShareDirectorDto;
|
|
43
|
+
export declare function PublicShareDirectorDtoToJSON(json: any): PublicShareDirectorDto;
|
|
44
|
+
export declare function PublicShareDirectorDtoToJSONTyped(value?: PublicShareDirectorDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfPublicShareDirectorDto = instanceOfPublicShareDirectorDto;
|
|
16
|
+
exports.PublicShareDirectorDtoFromJSON = PublicShareDirectorDtoFromJSON;
|
|
17
|
+
exports.PublicShareDirectorDtoFromJSONTyped = PublicShareDirectorDtoFromJSONTyped;
|
|
18
|
+
exports.PublicShareDirectorDtoToJSON = PublicShareDirectorDtoToJSON;
|
|
19
|
+
exports.PublicShareDirectorDtoToJSONTyped = PublicShareDirectorDtoToJSONTyped;
|
|
20
|
+
var PublicShareFileDto_1 = require("./PublicShareFileDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PublicShareDirectorDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPublicShareDirectorDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PublicShareDirectorDtoFromJSON(json) {
|
|
30
|
+
return PublicShareDirectorDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PublicShareDirectorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'subDirectories': json['subDirectories'] == null ? undefined : (json['subDirectories'].map(PublicShareDirectorDtoFromJSON)),
|
|
39
|
+
'files': json['files'] == null ? undefined : (json['files'].map(PublicShareFileDto_1.PublicShareFileDtoFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PublicShareDirectorDtoToJSON(json) {
|
|
43
|
+
return PublicShareDirectorDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PublicShareDirectorDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'subDirectories': value['subDirectories'] == null ? undefined : (value['subDirectories'].map(PublicShareDirectorDtoToJSON)),
|
|
53
|
+
'files': value['files'] == null ? undefined : (value['files'].map(PublicShareFileDto_1.PublicShareFileDtoToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -51,11 +51,11 @@ function PublicShareDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
|
-
'validAfter': value['validAfter'] == null ?
|
|
55
|
-
'validUntil': value['validUntil'] == null ?
|
|
54
|
+
'validAfter': value['validAfter'] == null ? value['validAfter'] : value['validAfter'].toISOString(),
|
|
55
|
+
'validUntil': value['validUntil'] == null ? value['validUntil'] : value['validUntil'].toISOString(),
|
|
56
56
|
'validForMinutes': value['validForMinutes'],
|
|
57
57
|
'validForDownloads': value['validForDownloads'],
|
|
58
|
-
'firstAccessedAt': value['firstAccessedAt'] == null ?
|
|
58
|
+
'firstAccessedAt': value['firstAccessedAt'] == null ? value['firstAccessedAt'] : value['firstAccessedAt'].toISOString(),
|
|
59
59
|
'downloadCount': value['downloadCount'],
|
|
60
60
|
'shareMessage': value['shareMessage'],
|
|
61
61
|
'enabled': value['enabled'],
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface PublicShareFileDto
|
|
15
|
+
*/
|
|
16
|
+
export interface PublicShareFileDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof PublicShareFileDto
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PublicShareFileDto
|
|
27
|
+
*/
|
|
28
|
+
accessToken: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PublicShareFileDto
|
|
33
|
+
*/
|
|
34
|
+
fileName: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PublicShareFileDto
|
|
39
|
+
*/
|
|
40
|
+
fileSize: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PublicShareFileDto
|
|
45
|
+
*/
|
|
46
|
+
mimeType: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the PublicShareFileDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfPublicShareFileDto(value: object): value is PublicShareFileDto;
|
|
52
|
+
export declare function PublicShareFileDtoFromJSON(json: any): PublicShareFileDto;
|
|
53
|
+
export declare function PublicShareFileDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicShareFileDto;
|
|
54
|
+
export declare function PublicShareFileDtoToJSON(json: any): PublicShareFileDto;
|
|
55
|
+
export declare function PublicShareFileDtoToJSONTyped(value?: PublicShareFileDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfPublicShareFileDto = instanceOfPublicShareFileDto;
|
|
16
|
+
exports.PublicShareFileDtoFromJSON = PublicShareFileDtoFromJSON;
|
|
17
|
+
exports.PublicShareFileDtoFromJSONTyped = PublicShareFileDtoFromJSONTyped;
|
|
18
|
+
exports.PublicShareFileDtoToJSON = PublicShareFileDtoToJSON;
|
|
19
|
+
exports.PublicShareFileDtoToJSONTyped = PublicShareFileDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PublicShareFileDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfPublicShareFileDto(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('accessToken' in value) || value['accessToken'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('fileSize' in value) || value['fileSize'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PublicShareFileDtoFromJSON(json) {
|
|
37
|
+
return PublicShareFileDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PublicShareFileDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'accessToken': json['accessToken'],
|
|
46
|
+
'fileName': json['fileName'],
|
|
47
|
+
'fileSize': json['fileSize'],
|
|
48
|
+
'mimeType': json['mimeType'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function PublicShareFileDtoToJSON(json) {
|
|
52
|
+
return PublicShareFileDtoToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function PublicShareFileDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'accessToken': value['accessToken'],
|
|
62
|
+
'fileName': value['fileName'],
|
|
63
|
+
'fileSize': value['fileSize'],
|
|
64
|
+
'mimeType': value['mimeType'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { PublicShareDirectorDto } from './PublicShareDirectorDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PublicShareListingDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicShareListingDto {
|
|
18
|
+
/**
|
|
19
|
+
* unix timestamp in seconds when the access tokens expire
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PublicShareListingDto
|
|
22
|
+
*/
|
|
23
|
+
expires: number;
|
|
24
|
+
/**
|
|
25
|
+
* access token to download the archive
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PublicShareListingDto
|
|
28
|
+
*/
|
|
29
|
+
archiveAccessToken: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {PublicShareDirectorDto}
|
|
33
|
+
* @memberof PublicShareListingDto
|
|
34
|
+
*/
|
|
35
|
+
root: PublicShareDirectorDto;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PublicShareListingDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPublicShareListingDto(value: object): value is PublicShareListingDto;
|
|
41
|
+
export declare function PublicShareListingDtoFromJSON(json: any): PublicShareListingDto;
|
|
42
|
+
export declare function PublicShareListingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicShareListingDto;
|
|
43
|
+
export declare function PublicShareListingDtoToJSON(json: any): PublicShareListingDto;
|
|
44
|
+
export declare function PublicShareListingDtoToJSONTyped(value?: PublicShareListingDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfPublicShareListingDto = instanceOfPublicShareListingDto;
|
|
16
|
+
exports.PublicShareListingDtoFromJSON = PublicShareListingDtoFromJSON;
|
|
17
|
+
exports.PublicShareListingDtoFromJSONTyped = PublicShareListingDtoFromJSONTyped;
|
|
18
|
+
exports.PublicShareListingDtoToJSON = PublicShareListingDtoToJSON;
|
|
19
|
+
exports.PublicShareListingDtoToJSONTyped = PublicShareListingDtoToJSONTyped;
|
|
20
|
+
var PublicShareDirectorDto_1 = require("./PublicShareDirectorDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PublicShareListingDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPublicShareListingDto(value) {
|
|
25
|
+
if (!('expires' in value) || value['expires'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('archiveAccessToken' in value) || value['archiveAccessToken'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('root' in value) || value['root'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PublicShareListingDtoFromJSON(json) {
|
|
34
|
+
return PublicShareListingDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PublicShareListingDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'expires': json['expires'],
|
|
42
|
+
'archiveAccessToken': json['archiveAccessToken'],
|
|
43
|
+
'root': (0, PublicShareDirectorDto_1.PublicShareDirectorDtoFromJSON)(json['root']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function PublicShareListingDtoToJSON(json) {
|
|
47
|
+
return PublicShareListingDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PublicShareListingDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'expires': value['expires'],
|
|
56
|
+
'archiveAccessToken': value['archiveAccessToken'],
|
|
57
|
+
'root': (0, PublicShareDirectorDto_1.PublicShareDirectorDtoToJSON)(value['root']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -45,7 +45,7 @@ function SubscriptionChangeDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
'changeDate': value['changeDate'] == null ?
|
|
48
|
+
'changeDate': value['changeDate'] == null ? value['changeDate'] : value['changeDate'].toISOString(),
|
|
49
49
|
'fromProducts': value['fromProducts'],
|
|
50
50
|
'toProducts': value['toProducts'],
|
|
51
51
|
};
|
|
@@ -74,16 +74,16 @@ function SubscriptionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
74
74
|
return {
|
|
75
75
|
'id': value['id'],
|
|
76
76
|
'status': value['status'],
|
|
77
|
-
'createdDate': value['createdDate'] == null ?
|
|
78
|
-
'startDate': value['startDate'] == null ?
|
|
79
|
-
'endedAtDate': value['endedAtDate'] == null ?
|
|
80
|
-
'cancelAtDate': value['cancelAtDate'] == null ?
|
|
81
|
-
'canceledAtDate': value['canceledAtDate'] == null ?
|
|
82
|
-
'billingAnchorDate': value['billingAnchorDate'] == null ?
|
|
83
|
-
'currentPeriodStartDate': value['currentPeriodStartDate'] == null ?
|
|
84
|
-
'currentPeriodEndDate': value['currentPeriodEndDate'] == null ?
|
|
85
|
-
'trialStartDate': value['trialStartDate'] == null ?
|
|
86
|
-
'trialEndDate': value['trialEndDate'] == null ?
|
|
77
|
+
'createdDate': value['createdDate'] == null ? value['createdDate'] : value['createdDate'].toISOString(),
|
|
78
|
+
'startDate': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
|
|
79
|
+
'endedAtDate': value['endedAtDate'] == null ? value['endedAtDate'] : value['endedAtDate'].toISOString(),
|
|
80
|
+
'cancelAtDate': value['cancelAtDate'] == null ? value['cancelAtDate'] : value['cancelAtDate'].toISOString(),
|
|
81
|
+
'canceledAtDate': value['canceledAtDate'] == null ? value['canceledAtDate'] : value['canceledAtDate'].toISOString(),
|
|
82
|
+
'billingAnchorDate': value['billingAnchorDate'] == null ? value['billingAnchorDate'] : value['billingAnchorDate'].toISOString(),
|
|
83
|
+
'currentPeriodStartDate': value['currentPeriodStartDate'] == null ? value['currentPeriodStartDate'] : value['currentPeriodStartDate'].toISOString(),
|
|
84
|
+
'currentPeriodEndDate': value['currentPeriodEndDate'] == null ? value['currentPeriodEndDate'] : value['currentPeriodEndDate'].toISOString(),
|
|
85
|
+
'trialStartDate': value['trialStartDate'] == null ? value['trialStartDate'] : value['trialStartDate'].toISOString(),
|
|
86
|
+
'trialEndDate': value['trialEndDate'] == null ? value['trialEndDate'] : value['trialEndDate'].toISOString(),
|
|
87
87
|
'product': (0, ProductDto_1.ProductDtoToJSON)(value['product']),
|
|
88
88
|
'changes': value['changes'] == null ? undefined : (value['changes'].map(SubscriptionChangeDto_1.SubscriptionChangeDtoToJSON)),
|
|
89
89
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { PaymentConfigurationDto } from './PaymentConfigurationDto';
|
|
12
|
+
import type { UiConfigurationDto } from './UiConfigurationDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -45,6 +46,12 @@ export interface TenantConfigurationDto {
|
|
|
45
46
|
* @memberof TenantConfigurationDto
|
|
46
47
|
*/
|
|
47
48
|
payment?: PaymentConfigurationDto;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {UiConfigurationDto}
|
|
52
|
+
* @memberof TenantConfigurationDto
|
|
53
|
+
*/
|
|
54
|
+
ui?: UiConfigurationDto;
|
|
48
55
|
}
|
|
49
56
|
/**
|
|
50
57
|
* Check if a given object implements the TenantConfigurationDto interface.
|
|
@@ -18,6 +18,7 @@ exports.TenantConfigurationDtoFromJSONTyped = TenantConfigurationDtoFromJSONType
|
|
|
18
18
|
exports.TenantConfigurationDtoToJSON = TenantConfigurationDtoToJSON;
|
|
19
19
|
exports.TenantConfigurationDtoToJSONTyped = TenantConfigurationDtoToJSONTyped;
|
|
20
20
|
var PaymentConfigurationDto_1 = require("./PaymentConfigurationDto");
|
|
21
|
+
var UiConfigurationDto_1 = require("./UiConfigurationDto");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the TenantConfigurationDto interface.
|
|
23
24
|
*/
|
|
@@ -37,6 +38,7 @@ function TenantConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
'timeZoneOffset': json['timeZoneOffset'] == null ? undefined : json['timeZoneOffset'],
|
|
38
39
|
'locale': json['locale'] == null ? undefined : json['locale'],
|
|
39
40
|
'payment': json['payment'] == null ? undefined : (0, PaymentConfigurationDto_1.PaymentConfigurationDtoFromJSON)(json['payment']),
|
|
41
|
+
'ui': json['ui'] == null ? undefined : (0, UiConfigurationDto_1.UiConfigurationDtoFromJSON)(json['ui']),
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
function TenantConfigurationDtoToJSON(json) {
|
|
@@ -53,5 +55,6 @@ function TenantConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
55
|
'timeZoneOffset': value['timeZoneOffset'],
|
|
54
56
|
'locale': value['locale'],
|
|
55
57
|
'payment': (0, PaymentConfigurationDto_1.PaymentConfigurationDtoToJSON)(value['payment']),
|
|
58
|
+
'ui': (0, UiConfigurationDto_1.UiConfigurationDtoToJSON)(value['ui']),
|
|
56
59
|
};
|
|
57
60
|
}
|
|
@@ -57,13 +57,13 @@ export interface TenantDto {
|
|
|
57
57
|
* @type {FileDto}
|
|
58
58
|
* @memberof TenantDto
|
|
59
59
|
*/
|
|
60
|
-
logo?: FileDto;
|
|
60
|
+
readonly logo?: FileDto;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof TenantDto
|
|
65
65
|
*/
|
|
66
|
-
shortId?: string;
|
|
66
|
+
readonly shortId?: string;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Check if a given object implements the TenantDto interface.
|
|
@@ -72,4 +72,4 @@ export declare function instanceOfTenantDto(value: object): value is TenantDto;
|
|
|
72
72
|
export declare function TenantDtoFromJSON(json: any): TenantDto;
|
|
73
73
|
export declare function TenantDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantDto;
|
|
74
74
|
export declare function TenantDtoToJSON(json: any): TenantDto;
|
|
75
|
-
export declare function TenantDtoToJSONTyped(value?: TenantDto | null, ignoreDiscriminator?: boolean): any;
|
|
75
|
+
export declare function TenantDtoToJSONTyped(value?: Omit<TenantDto, 'logo' | 'shortId'> | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/TenantDto.js
CHANGED
|
@@ -62,7 +62,5 @@ function TenantDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
62
62
|
'handle': value['handle'],
|
|
63
63
|
'description': value['description'],
|
|
64
64
|
'configuration': (0, TenantConfigurationDto_1.TenantConfigurationDtoToJSON)(value['_configuration']),
|
|
65
|
-
'logo': (0, FileDto_1.FileDtoToJSON)(value['logo']),
|
|
66
|
-
'shortId': value['shortId'],
|
|
67
65
|
};
|
|
68
66
|
}
|
|
@@ -21,13 +21,13 @@ export interface TimeSpanDto {
|
|
|
21
21
|
*/
|
|
22
22
|
timeZoneId: string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* start date and time in time zone
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof TimeSpanDto
|
|
27
27
|
*/
|
|
28
28
|
startDate: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* end date and time in time zone. the end date is exclusive.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof TimeSpanDto
|
|
33
33
|
*/
|
package/dist/models/TimesDto.js
CHANGED
|
@@ -44,7 +44,7 @@ function TimesDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
|
-
'currentTime': value['currentTime'] == null ?
|
|
47
|
+
'currentTime': value['currentTime'] == null ? value['currentTime'] : value['currentTime'].toISOString(),
|
|
48
48
|
'unixTimestamp': value['unixTimestamp'],
|
|
49
49
|
};
|
|
50
50
|
}
|