@kommerz/ts-client 1.191.0 → 1.192.0

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.
@@ -0,0 +1,62 @@
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.instanceOfAppointmentPortalDto = instanceOfAppointmentPortalDto;
16
+ exports.AppointmentPortalDtoFromJSON = AppointmentPortalDtoFromJSON;
17
+ exports.AppointmentPortalDtoFromJSONTyped = AppointmentPortalDtoFromJSONTyped;
18
+ exports.AppointmentPortalDtoToJSON = AppointmentPortalDtoToJSON;
19
+ exports.AppointmentPortalDtoToJSONTyped = AppointmentPortalDtoToJSONTyped;
20
+ var TimeSpanDto_1 = require("./TimeSpanDto");
21
+ var AppointmentStatus_1 = require("./AppointmentStatus");
22
+ /**
23
+ * Check if a given object implements the AppointmentPortalDto interface.
24
+ */
25
+ function instanceOfAppointmentPortalDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('submittedTimeSpan' in value) || value['submittedTimeSpan'] === undefined)
29
+ return false;
30
+ if (!('status' in value) || value['status'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function AppointmentPortalDtoFromJSON(json) {
35
+ return AppointmentPortalDtoFromJSONTyped(json, false);
36
+ }
37
+ function AppointmentPortalDtoFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
44
+ 'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
45
+ 'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
46
+ };
47
+ }
48
+ function AppointmentPortalDtoToJSON(json) {
49
+ return AppointmentPortalDtoToJSONTyped(json, false);
50
+ }
51
+ function AppointmentPortalDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
59
+ 'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
60
+ 'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
61
+ };
62
+ }
@@ -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 AppointmentStatus: {
16
+ readonly Unconfirmed: "UNCONFIRMED";
17
+ readonly Confirmed: "CONFIRMED";
18
+ readonly Rejected: "REJECTED";
19
+ readonly Planned: "PLANNED";
20
+ };
21
+ export type AppointmentStatus = typeof AppointmentStatus[keyof typeof AppointmentStatus];
22
+ export declare function instanceOfAppointmentStatus(value: any): boolean;
23
+ export declare function AppointmentStatusFromJSON(json: any): AppointmentStatus;
24
+ export declare function AppointmentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentStatus;
25
+ export declare function AppointmentStatusToJSON(value?: AppointmentStatus | null): any;
26
+ export declare function AppointmentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AppointmentStatus;
@@ -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.AppointmentStatus = void 0;
16
+ exports.instanceOfAppointmentStatus = instanceOfAppointmentStatus;
17
+ exports.AppointmentStatusFromJSON = AppointmentStatusFromJSON;
18
+ exports.AppointmentStatusFromJSONTyped = AppointmentStatusFromJSONTyped;
19
+ exports.AppointmentStatusToJSON = AppointmentStatusToJSON;
20
+ exports.AppointmentStatusToJSONTyped = AppointmentStatusToJSONTyped;
21
+ /**
22
+ *
23
+ * @export
24
+ */
25
+ exports.AppointmentStatus = {
26
+ Unconfirmed: 'UNCONFIRMED',
27
+ Confirmed: 'CONFIRMED',
28
+ Rejected: 'REJECTED',
29
+ Planned: 'PLANNED',
30
+ };
31
+ function instanceOfAppointmentStatus(value) {
32
+ for (var key in exports.AppointmentStatus) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.AppointmentStatus, key)) {
34
+ if (exports.AppointmentStatus[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function AppointmentStatusFromJSON(json) {
42
+ return AppointmentStatusFromJSONTyped(json, false);
43
+ }
44
+ function AppointmentStatusFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function AppointmentStatusToJSON(value) {
48
+ return value;
49
+ }
50
+ function AppointmentStatusToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -86,6 +86,7 @@ export declare const EntityType: {
86
86
  readonly DecisionTable: "DecisionTable";
87
87
  readonly AccessToken: "AccessToken";
88
88
  readonly AttributeType: "AttributeType";
89
+ readonly Appointment: "Appointment";
89
90
  };
90
91
  export type EntityType = typeof EntityType[keyof typeof EntityType];
91
92
  export declare function instanceOfEntityType(value: any): boolean;
@@ -96,6 +96,7 @@ exports.EntityType = {
96
96
  DecisionTable: 'DecisionTable',
97
97
  AccessToken: 'AccessToken',
98
98
  AttributeType: 'AttributeType',
99
+ Appointment: 'Appointment',
99
100
  };
100
101
  function instanceOfEntityType(value) {
101
102
  for (var key in exports.EntityType) {
@@ -0,0 +1,42 @@
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 { AppointmentDto } from './AppointmentDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAllAppointments200Response
16
+ */
17
+ export interface GetAllAppointments200Response {
18
+ /**
19
+ *
20
+ */
21
+ pageNumber?: number;
22
+ /**
23
+ *
24
+ */
25
+ pageSize?: number;
26
+ /**
27
+ *
28
+ */
29
+ totalElements: number;
30
+ /**
31
+ *
32
+ */
33
+ content: Array<AppointmentDto>;
34
+ }
35
+ /**
36
+ * Check if a given object implements the GetAllAppointments200Response interface.
37
+ */
38
+ export declare function instanceOfGetAllAppointments200Response(value: object): value is GetAllAppointments200Response;
39
+ export declare function GetAllAppointments200ResponseFromJSON(json: any): GetAllAppointments200Response;
40
+ export declare function GetAllAppointments200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAppointments200Response;
41
+ export declare function GetAllAppointments200ResponseToJSON(json: any): GetAllAppointments200Response;
42
+ export declare function GetAllAppointments200ResponseToJSONTyped(value?: GetAllAppointments200Response | 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.instanceOfGetAllAppointments200Response = instanceOfGetAllAppointments200Response;
16
+ exports.GetAllAppointments200ResponseFromJSON = GetAllAppointments200ResponseFromJSON;
17
+ exports.GetAllAppointments200ResponseFromJSONTyped = GetAllAppointments200ResponseFromJSONTyped;
18
+ exports.GetAllAppointments200ResponseToJSON = GetAllAppointments200ResponseToJSON;
19
+ exports.GetAllAppointments200ResponseToJSONTyped = GetAllAppointments200ResponseToJSONTyped;
20
+ var AppointmentDto_1 = require("./AppointmentDto");
21
+ /**
22
+ * Check if a given object implements the GetAllAppointments200Response interface.
23
+ */
24
+ function instanceOfGetAllAppointments200Response(value) {
25
+ if (!('totalElements' in value) || value['totalElements'] === undefined)
26
+ return false;
27
+ if (!('content' in value) || value['content'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GetAllAppointments200ResponseFromJSON(json) {
32
+ return GetAllAppointments200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function GetAllAppointments200ResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
40
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
41
+ 'totalElements': json['totalElements'],
42
+ 'content': (json['content'].map(AppointmentDto_1.AppointmentDtoFromJSON)),
43
+ };
44
+ }
45
+ function GetAllAppointments200ResponseToJSON(json) {
46
+ return GetAllAppointments200ResponseToJSONTyped(json, false);
47
+ }
48
+ function GetAllAppointments200ResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'pageNumber': value['pageNumber'],
55
+ 'pageSize': value['pageSize'],
56
+ 'totalElements': value['totalElements'],
57
+ 'content': (value['content'].map(AppointmentDto_1.AppointmentDtoToJSON)),
58
+ };
59
+ }
@@ -52,6 +52,10 @@ export declare const Permissions: {
52
52
  readonly AttributeTypeCreate: "ATTRIBUTE_TYPE_CREATE";
53
53
  readonly AttributeTypeEdit: "ATTRIBUTE_TYPE_EDIT";
54
54
  readonly AttributeTypeDelete: "ATTRIBUTE_TYPE_DELETE";
55
+ readonly AppointmentRead: "APPOINTMENT_READ";
56
+ readonly AppointmentCreate: "APPOINTMENT_CREATE";
57
+ readonly AppointmentEdit: "APPOINTMENT_EDIT";
58
+ readonly AppointmentDelete: "APPOINTMENT_DELETE";
55
59
  };
56
60
  export type Permissions = typeof Permissions[keyof typeof Permissions];
57
61
  export declare function instanceOfPermissions(value: any): boolean;
@@ -62,6 +62,10 @@ exports.Permissions = {
62
62
  AttributeTypeCreate: 'ATTRIBUTE_TYPE_CREATE',
63
63
  AttributeTypeEdit: 'ATTRIBUTE_TYPE_EDIT',
64
64
  AttributeTypeDelete: 'ATTRIBUTE_TYPE_DELETE',
65
+ AppointmentRead: 'APPOINTMENT_READ',
66
+ AppointmentCreate: 'APPOINTMENT_CREATE',
67
+ AppointmentEdit: 'APPOINTMENT_EDIT',
68
+ AppointmentDelete: 'APPOINTMENT_DELETE',
65
69
  };
66
70
  function instanceOfPermissions(value) {
67
71
  for (var key in exports.Permissions) {
@@ -9,6 +9,7 @@ export * from './AcceptancePortalAcceptDto';
9
9
  export * from './AcceptancePortalSendConfigDto';
10
10
  export * from './AcceptancePortalShareConfigDto';
11
11
  export * from './AccessTokenDto';
12
+ export * from './AccountAppointmentDto';
12
13
  export * from './AccountDeletionPreviewDto';
13
14
  export * from './AccountDeletionTenantDto';
14
15
  export * from './AccountingCenterDto';
@@ -39,8 +40,11 @@ export * from './ActivityReferenceDto';
39
40
  export * from './ActivityType';
40
41
  export * from './AddressDto';
41
42
  export * from './AmountDto';
43
+ export * from './AppointmentDto';
44
+ export * from './AppointmentPortalDto';
42
45
  export * from './AppointmentSlotDistance';
43
46
  export * from './AppointmentSlotDto';
47
+ export * from './AppointmentStatus';
44
48
  export * from './ApprovalDecisionEnum';
45
49
  export * from './ApprovalEntryDto';
46
50
  export * from './ApprovalModeEnum';
@@ -139,6 +143,7 @@ export * from './GetAllAccountingTurnover200Response';
139
143
  export * from './GetAllAccounts200Response';
140
144
  export * from './GetAllActivities200Response';
141
145
  export * from './GetAllAppointmentSlots200Response';
146
+ export * from './GetAllAppointments200Response';
142
147
  export * from './GetAllApprovalEntries200Response';
143
148
  export * from './GetAllApprovalTypes200Response';
144
149
  export * from './GetAllAttributeTypes200Response';
@@ -27,6 +27,7 @@ __exportStar(require("./AcceptancePortalAcceptDto"), exports);
27
27
  __exportStar(require("./AcceptancePortalSendConfigDto"), exports);
28
28
  __exportStar(require("./AcceptancePortalShareConfigDto"), exports);
29
29
  __exportStar(require("./AccessTokenDto"), exports);
30
+ __exportStar(require("./AccountAppointmentDto"), exports);
30
31
  __exportStar(require("./AccountDeletionPreviewDto"), exports);
31
32
  __exportStar(require("./AccountDeletionTenantDto"), exports);
32
33
  __exportStar(require("./AccountingCenterDto"), exports);
@@ -57,8 +58,11 @@ __exportStar(require("./ActivityReferenceDto"), exports);
57
58
  __exportStar(require("./ActivityType"), exports);
58
59
  __exportStar(require("./AddressDto"), exports);
59
60
  __exportStar(require("./AmountDto"), exports);
61
+ __exportStar(require("./AppointmentDto"), exports);
62
+ __exportStar(require("./AppointmentPortalDto"), exports);
60
63
  __exportStar(require("./AppointmentSlotDistance"), exports);
61
64
  __exportStar(require("./AppointmentSlotDto"), exports);
65
+ __exportStar(require("./AppointmentStatus"), exports);
62
66
  __exportStar(require("./ApprovalDecisionEnum"), exports);
63
67
  __exportStar(require("./ApprovalEntryDto"), exports);
64
68
  __exportStar(require("./ApprovalModeEnum"), exports);
@@ -157,6 +161,7 @@ __exportStar(require("./GetAllAccountingTurnover200Response"), exports);
157
161
  __exportStar(require("./GetAllAccounts200Response"), exports);
158
162
  __exportStar(require("./GetAllActivities200Response"), exports);
159
163
  __exportStar(require("./GetAllAppointmentSlots200Response"), exports);
164
+ __exportStar(require("./GetAllAppointments200Response"), exports);
160
165
  __exportStar(require("./GetAllApprovalEntries200Response"), exports);
161
166
  __exportStar(require("./GetAllApprovalTypes200Response"), exports);
162
167
  __exportStar(require("./GetAllAttributeTypes200Response"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kommerz/ts-client",
3
- "version": "1.191.0",
3
+ "version": "1.192.0",
4
4
  "description": "Typescript client for Kommerz API",
5
5
  "author": "Kommerz.App",
6
6
  "license": "MIT",