@mittwald/api-client 3.0.6 → 3.0.8

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.
@@ -694,7 +694,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
694
694
  executionEnd?: string | undefined;
695
695
  executionStart?: string | undefined;
696
696
  id: string;
697
- logPath: string;
697
+ logPath?: string | undefined;
698
698
  start?: string | undefined;
699
699
  status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
700
700
  successful: boolean;
@@ -1839,6 +1839,9 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1839
1839
  }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1840
1840
  avatarRef?: string | undefined;
1841
1841
  email?: string | undefined;
1842
+ employeeInformation?: {
1843
+ department: string;
1844
+ } | undefined;
1842
1845
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
1843
1846
  phoneNumber?: string | undefined;
1844
1847
  registeredAt?: string | undefined;
@@ -2185,24 +2185,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2185
2185
  }> | undefined;
2186
2186
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationConversation[], 200, "application/json">>>;
2187
2187
  /** Create a conversation. */
2188
- createConversation: (request: {
2189
- data: {
2190
- title: string;
2188
+ createConversation: (request?: {
2189
+ data?: {
2191
2190
  categoryId?: string | undefined;
2192
2191
  relatedTo?: {
2193
2192
  aggregate: string;
2194
2193
  domain: string;
2195
2194
  id: string;
2196
2195
  } | undefined;
2197
- };
2196
+ title?: string | undefined;
2197
+ } | undefined;
2198
2198
  headers?: {
2199
2199
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2200
2200
  } | undefined;
2201
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2201
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2202
2202
  data: {
2203
2203
  categoryId?: string | undefined;
2204
2204
  relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2205
- title: string;
2205
+ title?: string | undefined;
2206
2206
  };
2207
2207
  } & {
2208
2208
  headers?: Partial<{
@@ -2813,7 +2813,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2813
2813
  executionEnd?: string | undefined;
2814
2814
  executionStart?: string | undefined;
2815
2815
  id: string;
2816
- logPath: string;
2816
+ logPath?: string | undefined;
2817
2817
  start?: string | undefined;
2818
2818
  status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
2819
2819
  successful: boolean;
@@ -9213,6 +9213,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9213
9213
  }, import("@mittwald/api-client-commons").Response<{
9214
9214
  avatarRef?: string | undefined;
9215
9215
  email?: string | undefined;
9216
+ employeeInformation?: {
9217
+ department: string;
9218
+ } | undefined;
9216
9219
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
9217
9220
  phoneNumber?: string | undefined;
9218
9221
  registeredAt?: string | undefined;
@@ -510,7 +510,7 @@ export declare module MittwaldAPIV2 {
510
510
  executionEnd?: string;
511
511
  executionStart?: string;
512
512
  id: string;
513
- logPath: string;
513
+ logPath?: string;
514
514
  start?: string;
515
515
  status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser";
516
516
  successful: boolean;
@@ -1670,6 +1670,12 @@ export declare module MittwaldAPIV2 {
1670
1670
  interface UserUser {
1671
1671
  avatarRef?: string;
1672
1672
  email?: string;
1673
+ /**
1674
+ * additional information about mittwald employees
1675
+ */
1676
+ employeeInformation?: {
1677
+ department: string;
1678
+ };
1673
1679
  person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
1674
1680
  phoneNumber?: string;
1675
1681
  registeredAt?: string;
@@ -3808,7 +3814,7 @@ export declare module MittwaldAPIV2 {
3808
3814
  interface RequestBody {
3809
3815
  categoryId?: string;
3810
3816
  relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
3811
- title: string;
3817
+ title?: string;
3812
3818
  }
3813
3819
  type Header = {};
3814
3820
  type Query = {};
@@ -11121,7 +11127,7 @@ export declare module MittwaldAPIV2 {
11121
11127
  type Path = {};
11122
11128
  interface RequestBody {
11123
11129
  pAccount: string;
11124
- targetTariff: "Webhosting 11.0 L" | "Webhosting 11.0 MAX";
11130
+ targetTariff: string;
11125
11131
  }
11126
11132
  type Header = {};
11127
11133
  type Query = {};
@@ -694,7 +694,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
694
694
  executionEnd?: string | undefined;
695
695
  executionStart?: string | undefined;
696
696
  id: string;
697
- logPath: string;
697
+ logPath?: string | undefined;
698
698
  start?: string | undefined;
699
699
  status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
700
700
  successful: boolean;
@@ -1839,6 +1839,9 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1839
1839
  }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1840
1840
  avatarRef?: string | undefined;
1841
1841
  email?: string | undefined;
1842
+ employeeInformation?: {
1843
+ department: string;
1844
+ } | undefined;
1842
1845
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
1843
1846
  phoneNumber?: string | undefined;
1844
1847
  registeredAt?: string | undefined;
@@ -2185,24 +2185,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2185
2185
  }> | undefined;
2186
2186
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationConversation[], 200, "application/json">>>;
2187
2187
  /** Create a conversation. */
2188
- createConversation: (request: {
2189
- data: {
2190
- title: string;
2188
+ createConversation: (request?: {
2189
+ data?: {
2191
2190
  categoryId?: string | undefined;
2192
2191
  relatedTo?: {
2193
2192
  aggregate: string;
2194
2193
  domain: string;
2195
2194
  id: string;
2196
2195
  } | undefined;
2197
- };
2196
+ title?: string | undefined;
2197
+ } | undefined;
2198
2198
  headers?: {
2199
2199
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2200
2200
  } | undefined;
2201
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2201
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2202
2202
  data: {
2203
2203
  categoryId?: string | undefined;
2204
2204
  relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2205
- title: string;
2205
+ title?: string | undefined;
2206
2206
  };
2207
2207
  } & {
2208
2208
  headers?: Partial<{
@@ -2813,7 +2813,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2813
2813
  executionEnd?: string | undefined;
2814
2814
  executionStart?: string | undefined;
2815
2815
  id: string;
2816
- logPath: string;
2816
+ logPath?: string | undefined;
2817
2817
  start?: string | undefined;
2818
2818
  status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
2819
2819
  successful: boolean;
@@ -9213,6 +9213,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9213
9213
  }, import("@mittwald/api-client-commons").Response<{
9214
9214
  avatarRef?: string | undefined;
9215
9215
  email?: string | undefined;
9216
+ employeeInformation?: {
9217
+ department: string;
9218
+ } | undefined;
9216
9219
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
9217
9220
  phoneNumber?: string | undefined;
9218
9221
  registeredAt?: string | undefined;
@@ -510,7 +510,7 @@ export declare module MittwaldAPIV2 {
510
510
  executionEnd?: string;
511
511
  executionStart?: string;
512
512
  id: string;
513
- logPath: string;
513
+ logPath?: string;
514
514
  start?: string;
515
515
  status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser";
516
516
  successful: boolean;
@@ -1670,6 +1670,12 @@ export declare module MittwaldAPIV2 {
1670
1670
  interface UserUser {
1671
1671
  avatarRef?: string;
1672
1672
  email?: string;
1673
+ /**
1674
+ * additional information about mittwald employees
1675
+ */
1676
+ employeeInformation?: {
1677
+ department: string;
1678
+ };
1673
1679
  person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
1674
1680
  phoneNumber?: string;
1675
1681
  registeredAt?: string;
@@ -3808,7 +3814,7 @@ export declare module MittwaldAPIV2 {
3808
3814
  interface RequestBody {
3809
3815
  categoryId?: string;
3810
3816
  relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
3811
- title: string;
3817
+ title?: string;
3812
3818
  }
3813
3819
  type Header = {};
3814
3820
  type Query = {};
@@ -11121,7 +11127,7 @@ export declare module MittwaldAPIV2 {
11121
11127
  type Path = {};
11122
11128
  interface RequestBody {
11123
11129
  pAccount: string;
11124
- targetTariff: "Webhosting 11.0 L" | "Webhosting 11.0 MAX";
11130
+ targetTariff: string;
11125
11131
  }
11126
11132
  type Header = {};
11127
11133
  type Query = {};
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.0.6';
1
+ export declare const MittwaldAPIClientVersion = '3.0.8';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.0.6';
1
+ export const MittwaldAPIClientVersion = '3.0.8';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.0.6",
3
+ "version": "3.0.8",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",