@mittwald/api-client 3.1.17 → 3.1.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.
@@ -574,6 +574,18 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
574
574
  templateNames?: string[] | undefined;
575
575
  } | undefined;
576
576
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
577
+ /** Request an Access Token for the Invoice file. */
578
+ invoiceGetFileAccessToken: (conf: {
579
+ customerId: string;
580
+ invoiceId: string;
581
+ headers?: {
582
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
583
+ "x-access-token"?: string | undefined;
584
+ } | undefined;
585
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
586
+ accessToken: string;
587
+ expiresAt: string;
588
+ }>;
577
589
  };
578
590
  declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
579
591
  /** Get all conversation the authenticated user has created or has access to. */
@@ -1188,16 +1200,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1188
1200
  sizeInBytes: number;
1189
1201
  type: string;
1190
1202
  }>;
1191
- /** Get a File. */
1192
- getFile: (conf: {
1193
- fileId: string;
1194
- headers?: {
1195
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1196
- Accept?: "binary" | "base64" | "ocr" | undefined;
1197
- Download?: boolean | undefined;
1198
- Token?: string | undefined;
1199
- } | undefined;
1200
- }) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
1201
1203
  /** Get a FileUploadToken's rules. */
1202
1204
  getFileUploadTokenRules: (conf: {
1203
1205
  fileUploadToken: string;
@@ -1242,6 +1244,16 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1242
1244
  } | undefined;
1243
1245
  } | undefined;
1244
1246
  }>;
1247
+ /** Get a File. */
1248
+ getFile: (conf: {
1249
+ fileId: string;
1250
+ headers?: {
1251
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1252
+ Accept?: "binary" | "base64" | "ocr" | undefined;
1253
+ Download?: boolean | undefined;
1254
+ Token?: string | undefined;
1255
+ } | undefined;
1256
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
1245
1257
  };
1246
1258
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1247
1259
  /** Get a DeliveryBox. */
@@ -103,6 +103,8 @@ const buildContractApi = (baseClient) => ({
103
103
  orderListCustomerOrders: new react_1.ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
104
104
  /** Get list of Orders of a Project. */
105
105
  orderListProjectOrders: new react_1.ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
106
+ /** Request an Access Token for the Invoice file. */
107
+ invoiceGetFileAccessToken: new react_1.ApiCallAsyncResourceFactory(descriptors.invoiceGetFileAccessToken, baseClient.contract.invoiceGetFileAccessToken).getApiResource,
106
108
  });
107
109
  const buildConversationApi = (baseClient) => ({
108
110
  /** Get all conversation the authenticated user has created or has access to. */
@@ -203,12 +205,12 @@ const buildDomainApi = (baseClient) => ({
203
205
  const buildFileApi = (baseClient) => ({
204
206
  /** Get a File's meta. */
205
207
  getFileMeta: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileMeta, baseClient.file.getFileMeta).getApiResource,
206
- /** Get a File. */
207
- getFile: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
208
208
  /** Get a FileUploadToken's rules. */
209
209
  getFileUploadTokenRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
210
210
  /** Get a FileUploadType's rules. */
211
211
  getFileUploadTypeRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
212
+ /** Get a File. */
213
+ getFile: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
212
214
  });
213
215
  const buildMailApi = (baseClient) => ({
214
216
  /** Get a DeliveryBox. */
@@ -2147,6 +2147,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2147
2147
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2148
2148
  [x: string]: unknown;
2149
2149
  }, 400, "application/json">>>;
2150
+ /** Request an Access Token for the Invoice file. */
2151
+ invoiceGetFileAccessToken: (request: {
2152
+ customerId: string;
2153
+ invoiceId: string;
2154
+ headers?: {
2155
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2156
+ "x-access-token"?: string | undefined;
2157
+ } | undefined;
2158
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2159
+ headers?: Partial<{
2160
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2161
+ }> | undefined;
2162
+ } & {
2163
+ pathParameters: {
2164
+ customerId: string;
2165
+ invoiceId: string;
2166
+ };
2167
+ } & {
2168
+ headers: {
2169
+ "x-access-token"?: string | undefined;
2170
+ } & Partial<{
2171
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2172
+ }>;
2173
+ }, import("@mittwald/api-client-commons").Response<{
2174
+ accessToken: string;
2175
+ expiresAt: string;
2176
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2177
+ [x: string]: unknown;
2178
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2179
+ [x: string]: unknown;
2180
+ }, 404, "application/json">>>;
2150
2181
  };
2151
2182
  /** The conversation API allows you to manage your support conversations. */
2152
2183
  readonly conversation: {
@@ -5142,6 +5173,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5142
5173
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5143
5174
  }> | undefined;
5144
5175
  }, import("@mittwald/api-client-commons").Response<{
5176
+ isPremium: boolean;
5145
5177
  registrable: boolean;
5146
5178
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5147
5179
  [x: string]: unknown;
@@ -5931,38 +5963,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5931
5963
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5932
5964
  [x: string]: unknown;
5933
5965
  }, 404, "application/json">>>;
5934
- /** Get a File. */
5935
- getFile: (request: {
5936
- fileId: string;
5937
- headers?: {
5938
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5939
- Accept?: "binary" | "base64" | "ocr" | undefined;
5940
- Download?: boolean | undefined;
5941
- Token?: string | undefined;
5942
- } | undefined;
5943
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5944
- headers?: Partial<{
5945
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5946
- }> | undefined;
5947
- } & {
5948
- pathParameters: {
5949
- fileId: string;
5950
- };
5951
- } & {
5952
- headers: {
5953
- Accept?: "binary" | "base64" | "ocr" | undefined;
5954
- Download?: boolean | undefined;
5955
- Token?: string | undefined;
5956
- } & Partial<{
5957
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5958
- }>;
5959
- }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
5960
- [x: string]: unknown;
5961
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5962
- [x: string]: unknown;
5963
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5964
- [x: string]: unknown;
5965
- }, 500, "application/json">>>;
5966
5966
  /** Get a FileUploadToken's rules. */
5967
5967
  getFileUploadTokenRules: (request: {
5968
5968
  fileUploadToken: string;
@@ -6031,6 +6031,38 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6031
6031
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6032
6032
  [x: string]: unknown;
6033
6033
  }, 500, "application/json">>>;
6034
+ /** Get a File. */
6035
+ getFile: (request: {
6036
+ fileId: string;
6037
+ headers?: {
6038
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6039
+ Accept?: "binary" | "base64" | "ocr" | undefined;
6040
+ Download?: boolean | undefined;
6041
+ Token?: string | undefined;
6042
+ } | undefined;
6043
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6044
+ headers?: Partial<{
6045
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6046
+ }> | undefined;
6047
+ } & {
6048
+ pathParameters: {
6049
+ fileId: string;
6050
+ };
6051
+ } & {
6052
+ headers: {
6053
+ Accept?: "binary" | "base64" | "ocr" | undefined;
6054
+ Download?: boolean | undefined;
6055
+ Token?: string | undefined;
6056
+ } & Partial<{
6057
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6058
+ }>;
6059
+ }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
6060
+ [x: string]: unknown;
6061
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6062
+ [x: string]: unknown;
6063
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6064
+ [x: string]: unknown;
6065
+ }, 500, "application/json">>>;
6034
6066
  };
6035
6067
  /** The mail API allows you to manage your mail accounts. */
6036
6068
  readonly mail: {
@@ -161,6 +161,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
161
161
  orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
162
162
  /** Preview TariffChange. */
163
163
  orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
164
+ /** Request an Access Token for the Invoice file. */
165
+ invoiceGetFileAccessToken: this.requestFunctionFactory(descriptors.invoiceGetFileAccessToken),
164
166
  };
165
167
  /** The conversation API allows you to manage your support conversations. */
166
168
  this.conversation = {
@@ -410,12 +412,12 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
410
412
  createFile: this.requestFunctionFactory(descriptors.fileCreateFile),
411
413
  /** Get a File's meta. */
412
414
  getFileMeta: this.requestFunctionFactory(descriptors.fileGetFileMeta),
413
- /** Get a File. */
414
- getFile: this.requestFunctionFactory(descriptors.fileGetFile),
415
415
  /** Get a FileUploadToken's rules. */
416
416
  getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
417
417
  /** Get a FileUploadType's rules. */
418
418
  getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
419
+ /** Get a File. */
420
+ getFile: this.requestFunctionFactory(descriptors.fileGetFile),
419
421
  };
420
422
  /** The mail API allows you to manage your mail accounts. */
421
423
  this.mail = {
@@ -301,6 +301,10 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
301
301
  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">>;
302
302
  /** Get a File's meta. */
303
303
  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">>;
304
+ /** Get a FileUploadToken's rules. */
305
+ export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
306
+ /** Get a FileUploadType's rules. */
307
+ export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
304
308
  /** Get a File. */
305
309
  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">>;
306
310
  /** List Ingresses. */
@@ -583,7 +587,5 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
583
587
  export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
584
588
  /** Verify your registration. */
585
589
  export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
586
- /** Get a FileUploadToken's rules. */
587
- export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
588
- /** Get a FileUploadType's rules. */
589
- export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
590
+ /** Request an Access Token for the Invoice file. */
591
+ export declare const invoiceGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.conversationCreateConversation = exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetMissingDependenciesForAppinstallation = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
4
4
  exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationGetFileAccessToken = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = void 0;
5
- exports.fileGetFile = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetLatestScreenshot = exports.domainGetDomainOwnership = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainUpdateDomainNameservers = exports.domainCreateDomainAuthCode = exports.domainCreateDomainAuthCode2 = exports.domainCheckDomainRegistrability = exports.domainAbortDomainDeclaration = exports.dnsUpdateRecordSet = exports.dnsSetRecordSetManaged = exports.dnsListDnsZones = exports.dnsDeleteDnsZone = exports.dnsGetDnsZone = exports.dnsCreateDnsZone = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
6
- exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchAll = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress = exports.ingressListIngresses = void 0;
7
- exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = void 0;
8
- exports.fileGetFileUploadTypeRules = exports.fileGetFileUploadTokenRules = exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = void 0;
5
+ exports.fileGetFileUploadTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetLatestScreenshot = exports.domainGetDomainOwnership = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainUpdateDomainNameservers = exports.domainCreateDomainAuthCode = exports.domainCreateDomainAuthCode2 = exports.domainCheckDomainRegistrability = exports.domainAbortDomainDeclaration = exports.dnsUpdateRecordSet = exports.dnsSetRecordSetManaged = exports.dnsListDnsZones = exports.dnsDeleteDnsZone = exports.dnsGetDnsZone = exports.dnsCreateDnsZone = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
6
+ exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchAll = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress = exports.ingressListIngresses = exports.fileGetFile = exports.fileGetFileUploadTypeRules = void 0;
7
+ exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = void 0;
8
+ exports.invoiceGetFileAccessToken = exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = void 0;
9
9
  /** Execute a runtime concerning action on a specific `AppInstallation`. */
10
10
  exports.appExecuteAction = {
11
11
  path: "/v2/app-installations/{appInstallationId}/actions/{action}",
@@ -900,6 +900,18 @@ exports.fileGetFileMeta = {
900
900
  method: "GET",
901
901
  operationId: "file-get-file-meta",
902
902
  };
903
+ /** Get a FileUploadToken's rules. */
904
+ exports.fileGetFileUploadTokenRules = {
905
+ path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
906
+ method: "GET",
907
+ operationId: "file-get-file-upload-token-rules",
908
+ };
909
+ /** Get a FileUploadType's rules. */
910
+ exports.fileGetFileUploadTypeRules = {
911
+ path: "/v2/file-upload-types/{fileUploadType}/rules",
912
+ method: "GET",
913
+ operationId: "file-get-file-upload-type-rules",
914
+ };
903
915
  /** Get a File. */
904
916
  exports.fileGetFile = {
905
917
  path: "/v2/files/{fileId}",
@@ -1746,15 +1758,9 @@ exports.userVerifyRegistration = {
1746
1758
  method: "POST",
1747
1759
  operationId: "user-verify-registration",
1748
1760
  };
1749
- /** Get a FileUploadToken's rules. */
1750
- exports.fileGetFileUploadTokenRules = {
1751
- path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
1761
+ /** Request an Access Token for the Invoice file. */
1762
+ exports.invoiceGetFileAccessToken = {
1763
+ path: "/v2/customers/{customerId}/invoices/{invoiceId}/file-access-token",
1752
1764
  method: "GET",
1753
- operationId: "file-get-file-upload-token-rules",
1754
- };
1755
- /** Get a FileUploadType's rules. */
1756
- exports.fileGetFileUploadTypeRules = {
1757
- path: "/v2/file-upload-types/{fileUploadType}/rules",
1758
- method: "GET",
1759
- operationId: "file-get-file-upload-type-rules",
1765
+ operationId: "invoice-get-file-access-token",
1760
1766
  };
@@ -598,6 +598,14 @@ export declare module MittwaldAPIV2 {
598
598
  type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
599
599
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
600
600
  }
601
+ namespace FileGetFileUploadTokenRules {
602
+ type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
603
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
604
+ }
605
+ namespace FileGetFileUploadTypeRules {
606
+ type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
607
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
608
+ }
601
609
  namespace FileGetFile {
602
610
  type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
603
611
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
@@ -1162,13 +1170,9 @@ export declare module MittwaldAPIV2 {
1162
1170
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1163
1171
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1164
1172
  }
1165
- namespace FileGetFileUploadTokenRules {
1166
- type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
1167
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
1168
- }
1169
- namespace FileGetFileUploadTypeRules {
1170
- type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
1171
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
1173
+ namespace InvoiceGetFileAccessToken {
1174
+ type RequestData = InferredRequestData<typeof descriptors.invoiceGetFileAccessToken>;
1175
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.invoiceGetFileAccessToken, TStatus>;
1172
1176
  }
1173
1177
  }
1174
1178
  namespace Components {
@@ -7807,10 +7811,13 @@ export declare module MittwaldAPIV2 {
7807
7811
  }
7808
7812
  }
7809
7813
  }
7814
+ namespace V2AppinstallationsAppInstallationIdDatabases { }
7810
7815
  namespace V2DomainsDomainIdContracts { }
7811
7816
  namespace V2ProjectsProjectIdContracts { }
7812
7817
  namespace V2ServersServerIdContracts { }
7813
7818
  namespace V2DomainsDomainIdScreenshotsNewest { }
7819
+ namespace V2FileTokenRulesToken { }
7820
+ namespace V2FileTypeRulesName { }
7814
7821
  namespace V2NewsletterSubscriptions {
7815
7822
  namespace Post {
7816
7823
  namespace Parameters {
@@ -8137,6 +8144,7 @@ export declare module MittwaldAPIV2 {
8137
8144
  namespace $200 {
8138
8145
  namespace Content {
8139
8146
  interface ApplicationJson {
8147
+ isPremium: boolean;
8140
8148
  registrable: boolean;
8141
8149
  }
8142
8150
  }
@@ -8872,6 +8880,84 @@ export declare module MittwaldAPIV2 {
8872
8880
  }
8873
8881
  }
8874
8882
  }
8883
+ namespace V2FileUploadTokensFileUploadTokenRules {
8884
+ namespace Get {
8885
+ namespace Parameters {
8886
+ type Path = {
8887
+ fileUploadToken: string;
8888
+ };
8889
+ type Header = {};
8890
+ type Query = {};
8891
+ }
8892
+ namespace Responses {
8893
+ namespace $200 {
8894
+ namespace Content {
8895
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
8896
+ }
8897
+ }
8898
+ namespace $404 {
8899
+ namespace Content {
8900
+ interface ApplicationJson {
8901
+ [k: string]: unknown;
8902
+ }
8903
+ }
8904
+ }
8905
+ namespace $500 {
8906
+ namespace Content {
8907
+ interface ApplicationJson {
8908
+ [k: string]: unknown;
8909
+ }
8910
+ }
8911
+ }
8912
+ namespace Default {
8913
+ namespace Content {
8914
+ interface ApplicationJson {
8915
+ [k: string]: unknown;
8916
+ }
8917
+ }
8918
+ }
8919
+ }
8920
+ }
8921
+ }
8922
+ namespace V2FileUploadTypesFileUploadTypeRules {
8923
+ namespace Get {
8924
+ namespace Parameters {
8925
+ type Path = {
8926
+ fileUploadType: "avatar" | "conversation";
8927
+ };
8928
+ type Header = {};
8929
+ type Query = {};
8930
+ }
8931
+ namespace Responses {
8932
+ namespace $200 {
8933
+ namespace Content {
8934
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
8935
+ }
8936
+ }
8937
+ namespace $404 {
8938
+ namespace Content {
8939
+ interface ApplicationJson {
8940
+ [k: string]: unknown;
8941
+ }
8942
+ }
8943
+ }
8944
+ namespace $500 {
8945
+ namespace Content {
8946
+ interface ApplicationJson {
8947
+ [k: string]: unknown;
8948
+ }
8949
+ }
8950
+ }
8951
+ namespace Default {
8952
+ namespace Content {
8953
+ interface ApplicationJson {
8954
+ [k: string]: unknown;
8955
+ }
8956
+ }
8957
+ }
8958
+ }
8959
+ }
8960
+ }
8875
8961
  namespace V2FilesFileId {
8876
8962
  namespace Get {
8877
8963
  namespace Parameters {
@@ -14691,61 +14777,32 @@ export declare module MittwaldAPIV2 {
14691
14777
  }
14692
14778
  }
14693
14779
  }
14694
- namespace V2AppinstallationsAppInstallationIdDatabases { }
14695
- namespace V2FileUploadTokensFileUploadTokenRules {
14780
+ namespace V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken {
14696
14781
  namespace Get {
14697
14782
  namespace Parameters {
14698
14783
  type Path = {
14699
- fileUploadToken: string;
14784
+ customerId: string;
14785
+ invoiceId: string;
14700
14786
  };
14701
- type Header = {};
14787
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14702
14788
  type Query = {};
14703
14789
  }
14704
14790
  namespace Responses {
14705
14791
  namespace $200 {
14706
- namespace Content {
14707
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
14708
- }
14709
- }
14710
- namespace $404 {
14711
14792
  namespace Content {
14712
14793
  interface ApplicationJson {
14713
- [k: string]: unknown;
14714
- }
14715
- }
14716
- }
14717
- namespace $500 {
14718
- namespace Content {
14719
- interface ApplicationJson {
14720
- [k: string]: unknown;
14794
+ accessToken: string;
14795
+ expiresAt: string;
14721
14796
  }
14722
14797
  }
14723
14798
  }
14724
- namespace Default {
14799
+ namespace $400 {
14725
14800
  namespace Content {
14726
14801
  interface ApplicationJson {
14727
14802
  [k: string]: unknown;
14728
14803
  }
14729
14804
  }
14730
14805
  }
14731
- }
14732
- }
14733
- }
14734
- namespace V2FileUploadTypesFileUploadTypeRules {
14735
- namespace Get {
14736
- namespace Parameters {
14737
- type Path = {
14738
- fileUploadType: "avatar" | "conversation";
14739
- };
14740
- type Header = {};
14741
- type Query = {};
14742
- }
14743
- namespace Responses {
14744
- namespace $200 {
14745
- namespace Content {
14746
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
14747
- }
14748
- }
14749
14806
  namespace $404 {
14750
14807
  namespace Content {
14751
14808
  interface ApplicationJson {
@@ -14753,13 +14810,6 @@ export declare module MittwaldAPIV2 {
14753
14810
  }
14754
14811
  }
14755
14812
  }
14756
- namespace $500 {
14757
- namespace Content {
14758
- interface ApplicationJson {
14759
- [k: string]: unknown;
14760
- }
14761
- }
14762
- }
14763
14813
  namespace Default {
14764
14814
  namespace Content {
14765
14815
  interface ApplicationJson {
@@ -14770,7 +14820,5 @@ export declare module MittwaldAPIV2 {
14770
14820
  }
14771
14821
  }
14772
14822
  }
14773
- namespace V2FileTokenRulesToken { }
14774
- namespace V2FileTypeRulesName { }
14775
14823
  }
14776
14824
  }
@@ -574,6 +574,18 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
574
574
  templateNames?: string[] | undefined;
575
575
  } | undefined;
576
576
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
577
+ /** Request an Access Token for the Invoice file. */
578
+ invoiceGetFileAccessToken: (conf: {
579
+ customerId: string;
580
+ invoiceId: string;
581
+ headers?: {
582
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
583
+ "x-access-token"?: string | undefined;
584
+ } | undefined;
585
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
586
+ accessToken: string;
587
+ expiresAt: string;
588
+ }>;
577
589
  };
578
590
  declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
579
591
  /** Get all conversation the authenticated user has created or has access to. */
@@ -1188,16 +1200,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1188
1200
  sizeInBytes: number;
1189
1201
  type: string;
1190
1202
  }>;
1191
- /** Get a File. */
1192
- getFile: (conf: {
1193
- fileId: string;
1194
- headers?: {
1195
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1196
- Accept?: "binary" | "base64" | "ocr" | undefined;
1197
- Download?: boolean | undefined;
1198
- Token?: string | undefined;
1199
- } | undefined;
1200
- }) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
1201
1203
  /** Get a FileUploadToken's rules. */
1202
1204
  getFileUploadTokenRules: (conf: {
1203
1205
  fileUploadToken: string;
@@ -1242,6 +1244,16 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1242
1244
  } | undefined;
1243
1245
  } | undefined;
1244
1246
  }>;
1247
+ /** Get a File. */
1248
+ getFile: (conf: {
1249
+ fileId: string;
1250
+ headers?: {
1251
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1252
+ Accept?: "binary" | "base64" | "ocr" | undefined;
1253
+ Download?: boolean | undefined;
1254
+ Token?: string | undefined;
1255
+ } | undefined;
1256
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
1245
1257
  };
1246
1258
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1247
1259
  /** Get a DeliveryBox. */
@@ -74,6 +74,8 @@ const buildContractApi = (baseClient) => ({
74
74
  orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
75
75
  /** Get list of Orders of a Project. */
76
76
  orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
77
+ /** Request an Access Token for the Invoice file. */
78
+ invoiceGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.invoiceGetFileAccessToken, baseClient.contract.invoiceGetFileAccessToken).getApiResource,
77
79
  });
78
80
  const buildConversationApi = (baseClient) => ({
79
81
  /** Get all conversation the authenticated user has created or has access to. */
@@ -174,12 +176,12 @@ const buildDomainApi = (baseClient) => ({
174
176
  const buildFileApi = (baseClient) => ({
175
177
  /** Get a File's meta. */
176
178
  getFileMeta: new ApiCallAsyncResourceFactory(descriptors.fileGetFileMeta, baseClient.file.getFileMeta).getApiResource,
177
- /** Get a File. */
178
- getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
179
179
  /** Get a FileUploadToken's rules. */
180
180
  getFileUploadTokenRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
181
181
  /** Get a FileUploadType's rules. */
182
182
  getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
183
+ /** Get a File. */
184
+ getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
183
185
  });
184
186
  const buildMailApi = (baseClient) => ({
185
187
  /** Get a DeliveryBox. */
@@ -2147,6 +2147,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2147
2147
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2148
2148
  [x: string]: unknown;
2149
2149
  }, 400, "application/json">>>;
2150
+ /** Request an Access Token for the Invoice file. */
2151
+ invoiceGetFileAccessToken: (request: {
2152
+ customerId: string;
2153
+ invoiceId: string;
2154
+ headers?: {
2155
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2156
+ "x-access-token"?: string | undefined;
2157
+ } | undefined;
2158
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2159
+ headers?: Partial<{
2160
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2161
+ }> | undefined;
2162
+ } & {
2163
+ pathParameters: {
2164
+ customerId: string;
2165
+ invoiceId: string;
2166
+ };
2167
+ } & {
2168
+ headers: {
2169
+ "x-access-token"?: string | undefined;
2170
+ } & Partial<{
2171
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2172
+ }>;
2173
+ }, import("@mittwald/api-client-commons").Response<{
2174
+ accessToken: string;
2175
+ expiresAt: string;
2176
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2177
+ [x: string]: unknown;
2178
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2179
+ [x: string]: unknown;
2180
+ }, 404, "application/json">>>;
2150
2181
  };
2151
2182
  /** The conversation API allows you to manage your support conversations. */
2152
2183
  readonly conversation: {
@@ -5142,6 +5173,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5142
5173
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5143
5174
  }> | undefined;
5144
5175
  }, import("@mittwald/api-client-commons").Response<{
5176
+ isPremium: boolean;
5145
5177
  registrable: boolean;
5146
5178
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5147
5179
  [x: string]: unknown;
@@ -5931,38 +5963,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5931
5963
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5932
5964
  [x: string]: unknown;
5933
5965
  }, 404, "application/json">>>;
5934
- /** Get a File. */
5935
- getFile: (request: {
5936
- fileId: string;
5937
- headers?: {
5938
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5939
- Accept?: "binary" | "base64" | "ocr" | undefined;
5940
- Download?: boolean | undefined;
5941
- Token?: string | undefined;
5942
- } | undefined;
5943
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5944
- headers?: Partial<{
5945
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5946
- }> | undefined;
5947
- } & {
5948
- pathParameters: {
5949
- fileId: string;
5950
- };
5951
- } & {
5952
- headers: {
5953
- Accept?: "binary" | "base64" | "ocr" | undefined;
5954
- Download?: boolean | undefined;
5955
- Token?: string | undefined;
5956
- } & Partial<{
5957
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5958
- }>;
5959
- }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
5960
- [x: string]: unknown;
5961
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5962
- [x: string]: unknown;
5963
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5964
- [x: string]: unknown;
5965
- }, 500, "application/json">>>;
5966
5966
  /** Get a FileUploadToken's rules. */
5967
5967
  getFileUploadTokenRules: (request: {
5968
5968
  fileUploadToken: string;
@@ -6031,6 +6031,38 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6031
6031
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6032
6032
  [x: string]: unknown;
6033
6033
  }, 500, "application/json">>>;
6034
+ /** Get a File. */
6035
+ getFile: (request: {
6036
+ fileId: string;
6037
+ headers?: {
6038
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6039
+ Accept?: "binary" | "base64" | "ocr" | undefined;
6040
+ Download?: boolean | undefined;
6041
+ Token?: string | undefined;
6042
+ } | undefined;
6043
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6044
+ headers?: Partial<{
6045
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6046
+ }> | undefined;
6047
+ } & {
6048
+ pathParameters: {
6049
+ fileId: string;
6050
+ };
6051
+ } & {
6052
+ headers: {
6053
+ Accept?: "binary" | "base64" | "ocr" | undefined;
6054
+ Download?: boolean | undefined;
6055
+ Token?: string | undefined;
6056
+ } & Partial<{
6057
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6058
+ }>;
6059
+ }, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
6060
+ [x: string]: unknown;
6061
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6062
+ [x: string]: unknown;
6063
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6064
+ [x: string]: unknown;
6065
+ }, 500, "application/json">>>;
6034
6066
  };
6035
6067
  /** The mail API allows you to manage your mail accounts. */
6036
6068
  readonly mail: {
@@ -133,6 +133,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
133
133
  orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
134
134
  /** Preview TariffChange. */
135
135
  orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
136
+ /** Request an Access Token for the Invoice file. */
137
+ invoiceGetFileAccessToken: this.requestFunctionFactory(descriptors.invoiceGetFileAccessToken),
136
138
  };
137
139
  /** The conversation API allows you to manage your support conversations. */
138
140
  conversation = {
@@ -382,12 +384,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
382
384
  createFile: this.requestFunctionFactory(descriptors.fileCreateFile),
383
385
  /** Get a File's meta. */
384
386
  getFileMeta: this.requestFunctionFactory(descriptors.fileGetFileMeta),
385
- /** Get a File. */
386
- getFile: this.requestFunctionFactory(descriptors.fileGetFile),
387
387
  /** Get a FileUploadToken's rules. */
388
388
  getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
389
389
  /** Get a FileUploadType's rules. */
390
390
  getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
391
+ /** Get a File. */
392
+ getFile: this.requestFunctionFactory(descriptors.fileGetFile),
391
393
  };
392
394
  /** The mail API allows you to manage your mail accounts. */
393
395
  mail = {
@@ -301,6 +301,10 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
301
301
  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">>;
302
302
  /** Get a File's meta. */
303
303
  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">>;
304
+ /** Get a FileUploadToken's rules. */
305
+ export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
306
+ /** Get a FileUploadType's rules. */
307
+ export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
304
308
  /** Get a File. */
305
309
  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">>;
306
310
  /** List Ingresses. */
@@ -583,7 +587,5 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
583
587
  export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
584
588
  /** Verify your registration. */
585
589
  export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
586
- /** Get a FileUploadToken's rules. */
587
- export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
588
- /** Get a FileUploadType's rules. */
589
- export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
590
+ /** Request an Access Token for the Invoice file. */
591
+ export declare const invoiceGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -892,6 +892,18 @@ export const fileGetFileMeta = {
892
892
  method: "GET",
893
893
  operationId: "file-get-file-meta",
894
894
  };
895
+ /** Get a FileUploadToken's rules. */
896
+ export const fileGetFileUploadTokenRules = {
897
+ path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
898
+ method: "GET",
899
+ operationId: "file-get-file-upload-token-rules",
900
+ };
901
+ /** Get a FileUploadType's rules. */
902
+ export const fileGetFileUploadTypeRules = {
903
+ path: "/v2/file-upload-types/{fileUploadType}/rules",
904
+ method: "GET",
905
+ operationId: "file-get-file-upload-type-rules",
906
+ };
895
907
  /** Get a File. */
896
908
  export const fileGetFile = {
897
909
  path: "/v2/files/{fileId}",
@@ -1738,15 +1750,9 @@ export const userVerifyRegistration = {
1738
1750
  method: "POST",
1739
1751
  operationId: "user-verify-registration",
1740
1752
  };
1741
- /** Get a FileUploadToken's rules. */
1742
- export const fileGetFileUploadTokenRules = {
1743
- path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
1753
+ /** Request an Access Token for the Invoice file. */
1754
+ export const invoiceGetFileAccessToken = {
1755
+ path: "/v2/customers/{customerId}/invoices/{invoiceId}/file-access-token",
1744
1756
  method: "GET",
1745
- operationId: "file-get-file-upload-token-rules",
1746
- };
1747
- /** Get a FileUploadType's rules. */
1748
- export const fileGetFileUploadTypeRules = {
1749
- path: "/v2/file-upload-types/{fileUploadType}/rules",
1750
- method: "GET",
1751
- operationId: "file-get-file-upload-type-rules",
1757
+ operationId: "invoice-get-file-access-token",
1752
1758
  };
@@ -598,6 +598,14 @@ export declare module MittwaldAPIV2 {
598
598
  type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
599
599
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
600
600
  }
601
+ namespace FileGetFileUploadTokenRules {
602
+ type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
603
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
604
+ }
605
+ namespace FileGetFileUploadTypeRules {
606
+ type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
607
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
608
+ }
601
609
  namespace FileGetFile {
602
610
  type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
603
611
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
@@ -1162,13 +1170,9 @@ export declare module MittwaldAPIV2 {
1162
1170
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1163
1171
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1164
1172
  }
1165
- namespace FileGetFileUploadTokenRules {
1166
- type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
1167
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
1168
- }
1169
- namespace FileGetFileUploadTypeRules {
1170
- type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
1171
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
1173
+ namespace InvoiceGetFileAccessToken {
1174
+ type RequestData = InferredRequestData<typeof descriptors.invoiceGetFileAccessToken>;
1175
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.invoiceGetFileAccessToken, TStatus>;
1172
1176
  }
1173
1177
  }
1174
1178
  namespace Components {
@@ -7807,10 +7811,13 @@ export declare module MittwaldAPIV2 {
7807
7811
  }
7808
7812
  }
7809
7813
  }
7814
+ namespace V2AppinstallationsAppInstallationIdDatabases { }
7810
7815
  namespace V2DomainsDomainIdContracts { }
7811
7816
  namespace V2ProjectsProjectIdContracts { }
7812
7817
  namespace V2ServersServerIdContracts { }
7813
7818
  namespace V2DomainsDomainIdScreenshotsNewest { }
7819
+ namespace V2FileTokenRulesToken { }
7820
+ namespace V2FileTypeRulesName { }
7814
7821
  namespace V2NewsletterSubscriptions {
7815
7822
  namespace Post {
7816
7823
  namespace Parameters {
@@ -8137,6 +8144,7 @@ export declare module MittwaldAPIV2 {
8137
8144
  namespace $200 {
8138
8145
  namespace Content {
8139
8146
  interface ApplicationJson {
8147
+ isPremium: boolean;
8140
8148
  registrable: boolean;
8141
8149
  }
8142
8150
  }
@@ -8872,6 +8880,84 @@ export declare module MittwaldAPIV2 {
8872
8880
  }
8873
8881
  }
8874
8882
  }
8883
+ namespace V2FileUploadTokensFileUploadTokenRules {
8884
+ namespace Get {
8885
+ namespace Parameters {
8886
+ type Path = {
8887
+ fileUploadToken: string;
8888
+ };
8889
+ type Header = {};
8890
+ type Query = {};
8891
+ }
8892
+ namespace Responses {
8893
+ namespace $200 {
8894
+ namespace Content {
8895
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
8896
+ }
8897
+ }
8898
+ namespace $404 {
8899
+ namespace Content {
8900
+ interface ApplicationJson {
8901
+ [k: string]: unknown;
8902
+ }
8903
+ }
8904
+ }
8905
+ namespace $500 {
8906
+ namespace Content {
8907
+ interface ApplicationJson {
8908
+ [k: string]: unknown;
8909
+ }
8910
+ }
8911
+ }
8912
+ namespace Default {
8913
+ namespace Content {
8914
+ interface ApplicationJson {
8915
+ [k: string]: unknown;
8916
+ }
8917
+ }
8918
+ }
8919
+ }
8920
+ }
8921
+ }
8922
+ namespace V2FileUploadTypesFileUploadTypeRules {
8923
+ namespace Get {
8924
+ namespace Parameters {
8925
+ type Path = {
8926
+ fileUploadType: "avatar" | "conversation";
8927
+ };
8928
+ type Header = {};
8929
+ type Query = {};
8930
+ }
8931
+ namespace Responses {
8932
+ namespace $200 {
8933
+ namespace Content {
8934
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
8935
+ }
8936
+ }
8937
+ namespace $404 {
8938
+ namespace Content {
8939
+ interface ApplicationJson {
8940
+ [k: string]: unknown;
8941
+ }
8942
+ }
8943
+ }
8944
+ namespace $500 {
8945
+ namespace Content {
8946
+ interface ApplicationJson {
8947
+ [k: string]: unknown;
8948
+ }
8949
+ }
8950
+ }
8951
+ namespace Default {
8952
+ namespace Content {
8953
+ interface ApplicationJson {
8954
+ [k: string]: unknown;
8955
+ }
8956
+ }
8957
+ }
8958
+ }
8959
+ }
8960
+ }
8875
8961
  namespace V2FilesFileId {
8876
8962
  namespace Get {
8877
8963
  namespace Parameters {
@@ -14691,61 +14777,32 @@ export declare module MittwaldAPIV2 {
14691
14777
  }
14692
14778
  }
14693
14779
  }
14694
- namespace V2AppinstallationsAppInstallationIdDatabases { }
14695
- namespace V2FileUploadTokensFileUploadTokenRules {
14780
+ namespace V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken {
14696
14781
  namespace Get {
14697
14782
  namespace Parameters {
14698
14783
  type Path = {
14699
- fileUploadToken: string;
14784
+ customerId: string;
14785
+ invoiceId: string;
14700
14786
  };
14701
- type Header = {};
14787
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14702
14788
  type Query = {};
14703
14789
  }
14704
14790
  namespace Responses {
14705
14791
  namespace $200 {
14706
- namespace Content {
14707
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
14708
- }
14709
- }
14710
- namespace $404 {
14711
14792
  namespace Content {
14712
14793
  interface ApplicationJson {
14713
- [k: string]: unknown;
14714
- }
14715
- }
14716
- }
14717
- namespace $500 {
14718
- namespace Content {
14719
- interface ApplicationJson {
14720
- [k: string]: unknown;
14794
+ accessToken: string;
14795
+ expiresAt: string;
14721
14796
  }
14722
14797
  }
14723
14798
  }
14724
- namespace Default {
14799
+ namespace $400 {
14725
14800
  namespace Content {
14726
14801
  interface ApplicationJson {
14727
14802
  [k: string]: unknown;
14728
14803
  }
14729
14804
  }
14730
14805
  }
14731
- }
14732
- }
14733
- }
14734
- namespace V2FileUploadTypesFileUploadTypeRules {
14735
- namespace Get {
14736
- namespace Parameters {
14737
- type Path = {
14738
- fileUploadType: "avatar" | "conversation";
14739
- };
14740
- type Header = {};
14741
- type Query = {};
14742
- }
14743
- namespace Responses {
14744
- namespace $200 {
14745
- namespace Content {
14746
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
14747
- }
14748
- }
14749
14806
  namespace $404 {
14750
14807
  namespace Content {
14751
14808
  interface ApplicationJson {
@@ -14753,13 +14810,6 @@ export declare module MittwaldAPIV2 {
14753
14810
  }
14754
14811
  }
14755
14812
  }
14756
- namespace $500 {
14757
- namespace Content {
14758
- interface ApplicationJson {
14759
- [k: string]: unknown;
14760
- }
14761
- }
14762
- }
14763
14813
  namespace Default {
14764
14814
  namespace Content {
14765
14815
  interface ApplicationJson {
@@ -14770,7 +14820,5 @@ export declare module MittwaldAPIV2 {
14770
14820
  }
14771
14821
  }
14772
14822
  }
14773
- namespace V2FileTokenRulesToken { }
14774
- namespace V2FileTypeRulesName { }
14775
14823
  }
14776
14824
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.17';
1
+ export declare const MittwaldAPIClientVersion = '3.1.19';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.17';
1
+ export const MittwaldAPIClientVersion = '3.1.19';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.17",
3
+ "version": "3.1.19",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",