@mittwald/api-client 3.0.17 → 3.0.19

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.
@@ -1167,7 +1167,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1167
1167
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1168
1168
  /** Get a File's meta. */
1169
1169
  getFileMeta: (conf: {
1170
- id: string;
1170
+ fileId: string;
1171
1171
  headers?: {
1172
1172
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1173
1173
  } | undefined;
@@ -1224,7 +1224,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1224
1224
  }>;
1225
1225
  /** Get a File. */
1226
1226
  getFile: (conf: {
1227
- id: string;
1227
+ fileId: string;
1228
1228
  headers?: {
1229
1229
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1230
1230
  Accept?: "binary" | "base64" | "ocr" | undefined;
@@ -2196,6 +2196,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2196
2196
  domain: string;
2197
2197
  id: string;
2198
2198
  } | undefined;
2199
+ sharedWith?: {
2200
+ aggregate: string;
2201
+ domain: string;
2202
+ id: string;
2203
+ } | undefined;
2199
2204
  title?: string | undefined;
2200
2205
  } | undefined;
2201
2206
  headers?: {
@@ -2205,6 +2210,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2205
2210
  data: {
2206
2211
  categoryId?: string | undefined;
2207
2212
  relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2213
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2208
2214
  title?: string | undefined;
2209
2215
  };
2210
2216
  } & {
@@ -6055,7 +6061,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6055
6061
  }, 500, "application/json">>>;
6056
6062
  /** Get a File's meta. */
6057
6063
  getFileMeta: (request: {
6058
- id: string;
6064
+ fileId: string;
6059
6065
  headers?: {
6060
6066
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6061
6067
  } | undefined;
@@ -6065,7 +6071,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6065
6071
  }> | undefined;
6066
6072
  } & {
6067
6073
  pathParameters: {
6068
- id: string;
6074
+ fileId: string;
6069
6075
  };
6070
6076
  }, import("@mittwald/api-client-commons").Response<{
6071
6077
  friendlyURL: string;
@@ -6146,7 +6152,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6146
6152
  }, 500, "application/json">>>;
6147
6153
  /** Get a File. */
6148
6154
  getFile: (request: {
6149
- id: string;
6155
+ fileId: string;
6150
6156
  headers?: {
6151
6157
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6152
6158
  Accept?: "binary" | "base64" | "ocr" | undefined;
@@ -6158,7 +6164,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6158
6164
  }> | undefined;
6159
6165
  } & {
6160
6166
  pathParameters: {
6161
- id: string;
6167
+ fileId: string;
6162
6168
  };
6163
6169
  } & {
6164
6170
  headers: {
@@ -310,13 +310,13 @@ export declare const domainResendDomainEmail: OpenAPIOperation<RequestType<Simpl
310
310
  /** Create a File. */
311
311
  export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
312
312
  /** Get a File's meta. */
313
- export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
313
+ export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
314
314
  /** Get a Token's upload rules. */
315
315
  export declare const fileGetFileTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
316
316
  /** Get a Type's upload rules. */
317
317
  export declare const fileGetFileTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
318
318
  /** Get a File. */
319
- export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
319
+ export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
320
320
  /** Create an Ingress. */
321
321
  export declare const ingressCreate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
322
322
  /** Get an Ingress. */
@@ -926,7 +926,7 @@ exports.fileCreateFile = {
926
926
  };
927
927
  /** Get a File's meta. */
928
928
  exports.fileGetFileMeta = {
929
- path: "/v2/files/{id}/meta",
929
+ path: "/v2/files/{fileId}/meta",
930
930
  method: "GET",
931
931
  operationId: "file-get-file-meta",
932
932
  };
@@ -944,7 +944,7 @@ exports.fileGetFileTypeRules = {
944
944
  };
945
945
  /** Get a File. */
946
946
  exports.fileGetFile = {
947
- path: "/v2/files/{id}",
947
+ path: "/v2/files/{fileId}",
948
948
  method: "GET",
949
949
  operationId: "file-get-file",
950
950
  };
@@ -5003,6 +5003,7 @@ export declare module MittwaldAPIV2 {
5003
5003
  interface RequestBody {
5004
5004
  categoryId?: string;
5005
5005
  relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
5006
+ sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
5006
5007
  title?: string;
5007
5008
  }
5008
5009
  type Header = {};
@@ -9022,11 +9023,11 @@ export declare module MittwaldAPIV2 {
9022
9023
  }
9023
9024
  }
9024
9025
  }
9025
- namespace V2FilesIdMeta {
9026
+ namespace V2FilesFileIdMeta {
9026
9027
  namespace Get {
9027
9028
  namespace Parameters {
9028
9029
  type Path = {
9029
- id: string;
9030
+ fileId: string;
9030
9031
  };
9031
9032
  type Header = {};
9032
9033
  type Query = {};
@@ -9132,11 +9133,11 @@ export declare module MittwaldAPIV2 {
9132
9133
  }
9133
9134
  }
9134
9135
  }
9135
- namespace V2FilesId {
9136
+ namespace V2FilesFileId {
9136
9137
  namespace Get {
9137
9138
  namespace Parameters {
9138
9139
  type Path = {
9139
- id: string;
9140
+ fileId: string;
9140
9141
  };
9141
9142
  type Header = {
9142
9143
  Accept?: "binary" | "base64" | "ocr";
@@ -1167,7 +1167,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1167
1167
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1168
1168
  /** Get a File's meta. */
1169
1169
  getFileMeta: (conf: {
1170
- id: string;
1170
+ fileId: string;
1171
1171
  headers?: {
1172
1172
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1173
1173
  } | undefined;
@@ -1224,7 +1224,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1224
1224
  }>;
1225
1225
  /** Get a File. */
1226
1226
  getFile: (conf: {
1227
- id: string;
1227
+ fileId: string;
1228
1228
  headers?: {
1229
1229
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1230
1230
  Accept?: "binary" | "base64" | "ocr" | undefined;
@@ -2196,6 +2196,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2196
2196
  domain: string;
2197
2197
  id: string;
2198
2198
  } | undefined;
2199
+ sharedWith?: {
2200
+ aggregate: string;
2201
+ domain: string;
2202
+ id: string;
2203
+ } | undefined;
2199
2204
  title?: string | undefined;
2200
2205
  } | undefined;
2201
2206
  headers?: {
@@ -2205,6 +2210,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2205
2210
  data: {
2206
2211
  categoryId?: string | undefined;
2207
2212
  relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2213
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
2208
2214
  title?: string | undefined;
2209
2215
  };
2210
2216
  } & {
@@ -6055,7 +6061,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6055
6061
  }, 500, "application/json">>>;
6056
6062
  /** Get a File's meta. */
6057
6063
  getFileMeta: (request: {
6058
- id: string;
6064
+ fileId: string;
6059
6065
  headers?: {
6060
6066
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6061
6067
  } | undefined;
@@ -6065,7 +6071,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6065
6071
  }> | undefined;
6066
6072
  } & {
6067
6073
  pathParameters: {
6068
- id: string;
6074
+ fileId: string;
6069
6075
  };
6070
6076
  }, import("@mittwald/api-client-commons").Response<{
6071
6077
  friendlyURL: string;
@@ -6146,7 +6152,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6146
6152
  }, 500, "application/json">>>;
6147
6153
  /** Get a File. */
6148
6154
  getFile: (request: {
6149
- id: string;
6155
+ fileId: string;
6150
6156
  headers?: {
6151
6157
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6152
6158
  Accept?: "binary" | "base64" | "ocr" | undefined;
@@ -6158,7 +6164,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6158
6164
  }> | undefined;
6159
6165
  } & {
6160
6166
  pathParameters: {
6161
- id: string;
6167
+ fileId: string;
6162
6168
  };
6163
6169
  } & {
6164
6170
  headers: {
@@ -310,13 +310,13 @@ export declare const domainResendDomainEmail: OpenAPIOperation<RequestType<Simpl
310
310
  /** Create a File. */
311
311
  export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
312
312
  /** Get a File's meta. */
313
- export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
313
+ export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
314
314
  /** Get a Token's upload rules. */
315
315
  export declare const fileGetFileTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
316
316
  /** Get a Type's upload rules. */
317
317
  export declare const fileGetFileTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
318
318
  /** Get a File. */
319
- export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
319
+ export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
320
320
  /** Create an Ingress. */
321
321
  export declare const ingressCreate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
322
322
  /** Get an Ingress. */
@@ -918,7 +918,7 @@ export const fileCreateFile = {
918
918
  };
919
919
  /** Get a File's meta. */
920
920
  export const fileGetFileMeta = {
921
- path: "/v2/files/{id}/meta",
921
+ path: "/v2/files/{fileId}/meta",
922
922
  method: "GET",
923
923
  operationId: "file-get-file-meta",
924
924
  };
@@ -936,7 +936,7 @@ export const fileGetFileTypeRules = {
936
936
  };
937
937
  /** Get a File. */
938
938
  export const fileGetFile = {
939
- path: "/v2/files/{id}",
939
+ path: "/v2/files/{fileId}",
940
940
  method: "GET",
941
941
  operationId: "file-get-file",
942
942
  };
@@ -5003,6 +5003,7 @@ export declare module MittwaldAPIV2 {
5003
5003
  interface RequestBody {
5004
5004
  categoryId?: string;
5005
5005
  relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
5006
+ sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
5006
5007
  title?: string;
5007
5008
  }
5008
5009
  type Header = {};
@@ -9022,11 +9023,11 @@ export declare module MittwaldAPIV2 {
9022
9023
  }
9023
9024
  }
9024
9025
  }
9025
- namespace V2FilesIdMeta {
9026
+ namespace V2FilesFileIdMeta {
9026
9027
  namespace Get {
9027
9028
  namespace Parameters {
9028
9029
  type Path = {
9029
- id: string;
9030
+ fileId: string;
9030
9031
  };
9031
9032
  type Header = {};
9032
9033
  type Query = {};
@@ -9132,11 +9133,11 @@ export declare module MittwaldAPIV2 {
9132
9133
  }
9133
9134
  }
9134
9135
  }
9135
- namespace V2FilesId {
9136
+ namespace V2FilesFileId {
9136
9137
  namespace Get {
9137
9138
  namespace Parameters {
9138
9139
  type Path = {
9139
- id: string;
9140
+ fileId: string;
9140
9141
  };
9141
9142
  type Header = {
9142
9143
  Accept?: "binary" | "base64" | "ocr";
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.0.17';
1
+ export declare const MittwaldAPIClientVersion = '3.0.19';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.0.17';
1
+ export const MittwaldAPIClientVersion = '3.0.19';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",