@mittwald/api-client 0.0.0-development-0fe92c4-20261002 → 0.0.0-development-33e5319-20261005
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +1 -1
- package/dist/esm/generated/v2/client.js +1 -1
- package/dist/esm/generated/v2/descriptors.js +1 -1
- package/dist/esm/generated/v3-next/client-react.js +1 -1
- package/dist/esm/generated/v3-next/client.js +1 -1
- package/dist/esm/generated/v3-next/descriptors.js +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +6 -1
- package/dist/types/generated/v2/client.d.ts +23 -1
- package/dist/types/generated/v2/descriptors.d.ts +2 -2
- package/dist/types/generated/v2/types.d.ts +18 -1
- package/dist/types/generated/v3-next/client-react.d.ts +6 -1
- package/dist/types/generated/v3-next/client.d.ts +23 -1
- package/dist/types/generated/v3-next/descriptors.d.ts +2 -2
- package/dist/types/generated/v3-next/types.d.ts +18 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -150,7 +150,7 @@ const buildContractApi = (baseClient) => ({
|
|
|
150
150
|
invoiceDetail: new ApiCallAsyncResourceFactory(descriptors.invoiceDetail, baseClient.contract.invoiceDetail).getApiResource,
|
|
151
151
|
/** Get InvoiceSettings of a Customer. */
|
|
152
152
|
invoiceGetDetailOfInvoiceSettings: new ApiCallAsyncResourceFactory(descriptors.invoiceGetDetailOfInvoiceSettings, baseClient.contract.invoiceGetDetailOfInvoiceSettings).getApiResource,
|
|
153
|
-
/** Request an Access Token for the Invoice
|
|
153
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
154
154
|
invoiceGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.invoiceGetFileAccessToken, baseClient.contract.invoiceGetFileAccessToken).getApiResource,
|
|
155
155
|
/** List Invoices of a Customer. */
|
|
156
156
|
invoiceListCustomerInvoices: new ApiCallAsyncResourceFactory(descriptors.invoiceListCustomerInvoices, baseClient.contract.invoiceListCustomerInvoices).getApiResource,
|
|
@@ -255,7 +255,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
255
255
|
invoiceGetDetailOfInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceGetDetailOfInvoiceSettings),
|
|
256
256
|
/** Update InvoiceSettings of a Customer. */
|
|
257
257
|
invoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceUpdateInvoiceSettings),
|
|
258
|
-
/** Request an Access Token for the Invoice
|
|
258
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
259
259
|
invoiceGetFileAccessToken: this.requestFunctionFactory(descriptors.invoiceGetFileAccessToken),
|
|
260
260
|
/** List Invoices of a Customer. */
|
|
261
261
|
invoiceListCustomerInvoices: this.requestFunctionFactory(descriptors.invoiceListCustomerInvoices),
|
|
@@ -1864,7 +1864,7 @@ export const invoiceUpdateInvoiceSettings = {
|
|
|
1864
1864
|
method: "PUT",
|
|
1865
1865
|
operationId: "invoice-update-invoice-settings",
|
|
1866
1866
|
};
|
|
1867
|
-
/** Request an Access Token for the Invoice
|
|
1867
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
1868
1868
|
export const invoiceGetFileAccessToken = {
|
|
1869
1869
|
path: "/v2/customers/{customerId}/invoices/{invoiceId}/file-access-token",
|
|
1870
1870
|
method: "GET",
|
|
@@ -150,7 +150,7 @@ const buildContractApi = (baseClient) => ({
|
|
|
150
150
|
invoiceDetail: new ApiCallAsyncResourceFactory(descriptors.invoiceDetail, baseClient.contract.invoiceDetail).getApiResource,
|
|
151
151
|
/** Get InvoiceSettings of a Customer. */
|
|
152
152
|
invoiceGetDetailOfInvoiceSettings: new ApiCallAsyncResourceFactory(descriptors.invoiceGetDetailOfInvoiceSettings, baseClient.contract.invoiceGetDetailOfInvoiceSettings).getApiResource,
|
|
153
|
-
/** Request an Access Token for the Invoice
|
|
153
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
154
154
|
invoiceGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.invoiceGetFileAccessToken, baseClient.contract.invoiceGetFileAccessToken).getApiResource,
|
|
155
155
|
/** List Invoices of a Customer. */
|
|
156
156
|
invoiceListCustomerInvoices: new ApiCallAsyncResourceFactory(descriptors.invoiceListCustomerInvoices, baseClient.contract.invoiceListCustomerInvoices).getApiResource,
|
|
@@ -255,7 +255,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
255
255
|
invoiceGetDetailOfInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceGetDetailOfInvoiceSettings),
|
|
256
256
|
/** Update InvoiceSettings of a Customer. */
|
|
257
257
|
invoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceUpdateInvoiceSettings),
|
|
258
|
-
/** Request an Access Token for the Invoice
|
|
258
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
259
259
|
invoiceGetFileAccessToken: this.requestFunctionFactory(descriptors.invoiceGetFileAccessToken),
|
|
260
260
|
/** List Invoices of a Customer. */
|
|
261
261
|
invoiceListCustomerInvoices: this.requestFunctionFactory(descriptors.invoiceListCustomerInvoices),
|
|
@@ -1864,7 +1864,7 @@ export const invoiceUpdateInvoiceSettings = {
|
|
|
1864
1864
|
method: "PUT",
|
|
1865
1865
|
operationId: "invoice-update-invoice-settings",
|
|
1866
1866
|
};
|
|
1867
|
-
/** Request an Access Token for the Invoice
|
|
1867
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
1868
1868
|
export const invoiceGetFileAccessToken = {
|
|
1869
1869
|
path: "/v3-next/customers/{customerId}/invoices/{invoiceId}/file-access-token",
|
|
1870
1870
|
method: "GET",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.483.0';
|
|
@@ -1233,6 +1233,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1233
1233
|
totalGross: number;
|
|
1234
1234
|
totalNet: number;
|
|
1235
1235
|
vatId?: string | undefined;
|
|
1236
|
+
xRechnungId?: string | undefined;
|
|
1236
1237
|
}>;
|
|
1237
1238
|
/** Get InvoiceSettings of a Customer. */
|
|
1238
1239
|
invoiceGetDetailOfInvoiceSettings: (conf: {
|
|
@@ -1254,7 +1255,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1254
1255
|
status?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
|
|
1255
1256
|
targetDay?: number | undefined;
|
|
1256
1257
|
}>;
|
|
1257
|
-
/** Request an Access Token for the Invoice
|
|
1258
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
1258
1259
|
invoiceGetFileAccessToken: (conf: {
|
|
1259
1260
|
customerId: string;
|
|
1260
1261
|
invoiceId: string;
|
|
@@ -1262,6 +1263,10 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1262
1263
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1263
1264
|
"x-access-token"?: string | undefined;
|
|
1264
1265
|
} | undefined;
|
|
1266
|
+
queryParameters?: {
|
|
1267
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1268
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
1269
|
+
} | undefined;
|
|
1265
1270
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1266
1271
|
accessToken: string;
|
|
1267
1272
|
expiresAt: string;
|
|
@@ -8017,6 +8017,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8017
8017
|
totalGross: number;
|
|
8018
8018
|
totalNet: number;
|
|
8019
8019
|
vatId?: string | undefined;
|
|
8020
|
+
xRechnungId?: string | undefined;
|
|
8020
8021
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
8021
8022
|
[x: string]: unknown;
|
|
8022
8023
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -8060,6 +8061,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8060
8061
|
totalGross: number;
|
|
8061
8062
|
totalNet: number;
|
|
8062
8063
|
vatId?: string | undefined;
|
|
8064
|
+
xRechnungId?: string | undefined;
|
|
8063
8065
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
8064
8066
|
[x: string]: unknown;
|
|
8065
8067
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -8266,7 +8268,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8266
8268
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
8267
8269
|
[x: string]: unknown;
|
|
8268
8270
|
}, 429, "application/json">>>;
|
|
8269
|
-
/** Request an Access Token for the Invoice
|
|
8271
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
8270
8272
|
invoiceGetFileAccessToken: (request: {
|
|
8271
8273
|
customerId: string;
|
|
8272
8274
|
invoiceId: string;
|
|
@@ -8274,6 +8276,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8274
8276
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
8275
8277
|
"x-access-token"?: string | undefined;
|
|
8276
8278
|
} | undefined;
|
|
8279
|
+
queryParameters?: {
|
|
8280
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
8281
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
8282
|
+
} | undefined;
|
|
8277
8283
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
8278
8284
|
headers?: Partial<{
|
|
8279
8285
|
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
@@ -8283,6 +8289,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8283
8289
|
customerId: string;
|
|
8284
8290
|
invoiceId: string;
|
|
8285
8291
|
};
|
|
8292
|
+
} & {
|
|
8293
|
+
queryParameters: {
|
|
8294
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
8295
|
+
} & Partial<{
|
|
8296
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
8297
|
+
}>;
|
|
8286
8298
|
} & {
|
|
8287
8299
|
headers: {
|
|
8288
8300
|
"x-access-token"?: string | undefined;
|
|
@@ -8307,6 +8319,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8307
8319
|
customerId: string;
|
|
8308
8320
|
invoiceId: string;
|
|
8309
8321
|
};
|
|
8322
|
+
} & {
|
|
8323
|
+
queryParameters: {
|
|
8324
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
8325
|
+
} & Partial<{
|
|
8326
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
8327
|
+
}>;
|
|
8310
8328
|
} & {
|
|
8311
8329
|
headers: {
|
|
8312
8330
|
"x-access-token"?: string | undefined;
|
|
@@ -18654,6 +18672,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18654
18672
|
[x: string]: unknown;
|
|
18655
18673
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18656
18674
|
[x: string]: unknown;
|
|
18675
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18676
|
+
[x: string]: unknown;
|
|
18657
18677
|
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18658
18678
|
[x: string]: unknown;
|
|
18659
18679
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -18686,6 +18706,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
18686
18706
|
[x: string]: unknown;
|
|
18687
18707
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18688
18708
|
[x: string]: unknown;
|
|
18709
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18710
|
+
[x: string]: unknown;
|
|
18689
18711
|
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18690
18712
|
[x: string]: unknown;
|
|
18691
18713
|
}, 429, "application/json">>>;
|
|
@@ -436,7 +436,7 @@ export declare const userUpdateAccount: OpenAPIOperation<RequestType<Simplify<Mi
|
|
|
436
436
|
/** List DNS zone-file import jobs belonging to a Project. */
|
|
437
437
|
export declare const dnsListDnsZoneFileImports: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
438
438
|
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
439
|
-
export declare const dnsCreateDnsZoneFileImport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
439
|
+
export declare const dnsCreateDnsZoneFileImport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZoneImports.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
440
440
|
/** List DNSZones belonging to a Project. */
|
|
441
441
|
export declare const dnsListDnsZones: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
442
442
|
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
@@ -625,7 +625,7 @@ export declare const invoiceDetail: OpenAPIOperation<RequestType<Simplify<null>,
|
|
|
625
625
|
export declare const invoiceGetDetailOfInvoiceSettings: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
626
626
|
/** Update InvoiceSettings of a Customer. */
|
|
627
627
|
export declare const invoiceUpdateInvoiceSettings: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoiceSettings.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
628
|
-
/** Request an Access Token for the Invoice
|
|
628
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
629
629
|
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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
630
630
|
/** List Invoices of a Customer. */
|
|
631
631
|
export declare const invoiceListCustomerInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoices.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -5439,6 +5439,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
5439
5439
|
correctionNumber: string;
|
|
5440
5440
|
pdfId: string;
|
|
5441
5441
|
reason?: string;
|
|
5442
|
+
/**
|
|
5443
|
+
* The ID of the XRechnung XML file. Only set when the recipient has a Leitweg-ID; the PDF is then only a visual copy.
|
|
5444
|
+
*/
|
|
5445
|
+
xRechnungId?: string;
|
|
5442
5446
|
}
|
|
5443
5447
|
interface InvoiceContractInvoiceDefinition {
|
|
5444
5448
|
contractId: string;
|
|
@@ -5510,6 +5514,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
5510
5514
|
totalGross: number;
|
|
5511
5515
|
totalNet: number;
|
|
5512
5516
|
vatId?: string;
|
|
5517
|
+
/**
|
|
5518
|
+
* The ID of the XRechnung XML file. Only set when the recipient has a Leitweg-ID; the PDF is then only a visual copy.
|
|
5519
|
+
*/
|
|
5520
|
+
xRechnungId?: string;
|
|
5513
5521
|
}
|
|
5514
5522
|
interface InvoiceInvoiceSettings {
|
|
5515
5523
|
additionalEmailRecipients?: string[];
|
|
@@ -19755,6 +19763,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
19755
19763
|
}
|
|
19756
19764
|
}
|
|
19757
19765
|
}
|
|
19766
|
+
namespace $409 {
|
|
19767
|
+
namespace Content {
|
|
19768
|
+
interface ApplicationJson {
|
|
19769
|
+
[k: string]: unknown;
|
|
19770
|
+
}
|
|
19771
|
+
}
|
|
19772
|
+
}
|
|
19758
19773
|
namespace $412 {
|
|
19759
19774
|
namespace Content {
|
|
19760
19775
|
interface ApplicationJson {
|
|
@@ -24496,7 +24511,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
24496
24511
|
invoiceId: string;
|
|
24497
24512
|
};
|
|
24498
24513
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
24499
|
-
type Query = {
|
|
24514
|
+
type Query = {
|
|
24515
|
+
fileType?: "PDF" | "XRECHNUNG";
|
|
24516
|
+
};
|
|
24500
24517
|
}
|
|
24501
24518
|
namespace Responses {
|
|
24502
24519
|
namespace $200 {
|
|
@@ -1233,6 +1233,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
1233
1233
|
totalGross: number;
|
|
1234
1234
|
totalNet: number;
|
|
1235
1235
|
vatId?: string | undefined;
|
|
1236
|
+
xRechnungId?: string | undefined;
|
|
1236
1237
|
}>;
|
|
1237
1238
|
/** Get InvoiceSettings of a Customer. */
|
|
1238
1239
|
invoiceGetDetailOfInvoiceSettings: (conf: {
|
|
@@ -1254,7 +1255,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
1254
1255
|
status?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceInvoiceSettingsStatus[] | undefined;
|
|
1255
1256
|
targetDay?: number | undefined;
|
|
1256
1257
|
}>;
|
|
1257
|
-
/** Request an Access Token for the Invoice
|
|
1258
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
1258
1259
|
invoiceGetFileAccessToken: (conf: {
|
|
1259
1260
|
customerId: string;
|
|
1260
1261
|
invoiceId: string;
|
|
@@ -1262,6 +1263,10 @@ declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
1262
1263
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1263
1264
|
"x-access-token"?: string | undefined;
|
|
1264
1265
|
} | undefined;
|
|
1266
|
+
queryParameters?: {
|
|
1267
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1268
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
1269
|
+
} | undefined;
|
|
1265
1270
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1266
1271
|
accessToken: string;
|
|
1267
1272
|
expiresAt: string;
|
|
@@ -8017,6 +8017,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
8017
8017
|
totalGross: number;
|
|
8018
8018
|
totalNet: number;
|
|
8019
8019
|
vatId?: string | undefined;
|
|
8020
|
+
xRechnungId?: string | undefined;
|
|
8020
8021
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
8021
8022
|
[x: string]: unknown;
|
|
8022
8023
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -8060,6 +8061,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
8060
8061
|
totalGross: number;
|
|
8061
8062
|
totalNet: number;
|
|
8062
8063
|
vatId?: string | undefined;
|
|
8064
|
+
xRechnungId?: string | undefined;
|
|
8063
8065
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
8064
8066
|
[x: string]: unknown;
|
|
8065
8067
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -8266,7 +8268,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
8266
8268
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
8267
8269
|
[x: string]: unknown;
|
|
8268
8270
|
}, 429, "application/json">>>;
|
|
8269
|
-
/** Request an Access Token for the Invoice
|
|
8271
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
8270
8272
|
invoiceGetFileAccessToken: (request: {
|
|
8271
8273
|
customerId: string;
|
|
8272
8274
|
invoiceId: string;
|
|
@@ -8274,6 +8276,10 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
8274
8276
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
8275
8277
|
"x-access-token"?: string | undefined;
|
|
8276
8278
|
} | undefined;
|
|
8279
|
+
queryParameters?: {
|
|
8280
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
8281
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
8282
|
+
} | undefined;
|
|
8277
8283
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
8278
8284
|
headers?: Partial<{
|
|
8279
8285
|
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
@@ -8283,6 +8289,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
8283
8289
|
customerId: string;
|
|
8284
8290
|
invoiceId: string;
|
|
8285
8291
|
};
|
|
8292
|
+
} & {
|
|
8293
|
+
queryParameters: {
|
|
8294
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
8295
|
+
} & Partial<{
|
|
8296
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
8297
|
+
}>;
|
|
8286
8298
|
} & {
|
|
8287
8299
|
headers: {
|
|
8288
8300
|
"x-access-token"?: string | undefined;
|
|
@@ -8307,6 +8319,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
8307
8319
|
customerId: string;
|
|
8308
8320
|
invoiceId: string;
|
|
8309
8321
|
};
|
|
8322
|
+
} & {
|
|
8323
|
+
queryParameters: {
|
|
8324
|
+
fileType?: "PDF" | "XRECHNUNG" | undefined;
|
|
8325
|
+
} & Partial<{
|
|
8326
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
8327
|
+
}>;
|
|
8310
8328
|
} & {
|
|
8311
8329
|
headers: {
|
|
8312
8330
|
"x-access-token"?: string | undefined;
|
|
@@ -18661,6 +18679,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
18661
18679
|
[x: string]: unknown;
|
|
18662
18680
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18663
18681
|
[x: string]: unknown;
|
|
18682
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18683
|
+
[x: string]: unknown;
|
|
18664
18684
|
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18665
18685
|
[x: string]: unknown;
|
|
18666
18686
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -18693,6 +18713,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
18693
18713
|
[x: string]: unknown;
|
|
18694
18714
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18695
18715
|
[x: string]: unknown;
|
|
18716
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18717
|
+
[x: string]: unknown;
|
|
18696
18718
|
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
18697
18719
|
[x: string]: unknown;
|
|
18698
18720
|
}, 429, "application/json">>>;
|
|
@@ -436,7 +436,7 @@ export declare const userUpdateAccount: OpenAPIOperation<RequestType<Simplify<Mi
|
|
|
436
436
|
/** List DNS zone-file import jobs belonging to a Project. */
|
|
437
437
|
export declare const dnsListDnsZoneFileImports: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
438
438
|
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
439
|
-
export declare const dnsCreateDnsZoneFileImport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
439
|
+
export declare const dnsCreateDnsZoneFileImport: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZoneImports.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
440
440
|
/** List DNSZones belonging to a Project. */
|
|
441
441
|
export declare const dnsListDnsZones: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdDnsZones.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
442
442
|
/** Create a DNSZone for a verified Ingress in a Project. */
|
|
@@ -625,7 +625,7 @@ export declare const invoiceDetail: OpenAPIOperation<RequestType<Simplify<null>,
|
|
|
625
625
|
export declare const invoiceGetDetailOfInvoiceSettings: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
626
626
|
/** Update InvoiceSettings of a Customer. */
|
|
627
627
|
export declare const invoiceUpdateInvoiceSettings: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoiceSettings.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
628
|
-
/** Request an Access Token for the Invoice
|
|
628
|
+
/** Request an Access Token for a file of the Invoice. */
|
|
629
629
|
export declare const invoiceGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoicesInvoiceIdFileAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
630
630
|
/** List Invoices of a Customer. */
|
|
631
631
|
export declare const invoiceListCustomerInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdInvoices.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -5443,6 +5443,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
5443
5443
|
correctionNumber: string;
|
|
5444
5444
|
pdfId: string;
|
|
5445
5445
|
reason?: string;
|
|
5446
|
+
/**
|
|
5447
|
+
* The ID of the XRechnung XML file. Only set when the recipient has a Leitweg-ID; the PDF is then only a visual copy.
|
|
5448
|
+
*/
|
|
5449
|
+
xRechnungId?: string;
|
|
5446
5450
|
}
|
|
5447
5451
|
interface DeMittwaldInvoiceContractInvoiceDefinition {
|
|
5448
5452
|
contractId: string;
|
|
@@ -5514,6 +5518,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
5514
5518
|
totalGross: number;
|
|
5515
5519
|
totalNet: number;
|
|
5516
5520
|
vatId?: string;
|
|
5521
|
+
/**
|
|
5522
|
+
* The ID of the XRechnung XML file. Only set when the recipient has a Leitweg-ID; the PDF is then only a visual copy.
|
|
5523
|
+
*/
|
|
5524
|
+
xRechnungId?: string;
|
|
5517
5525
|
}
|
|
5518
5526
|
interface DeMittwaldInvoiceInvoiceSettings {
|
|
5519
5527
|
additionalEmailRecipients?: string[];
|
|
@@ -19767,6 +19775,13 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
19767
19775
|
}
|
|
19768
19776
|
}
|
|
19769
19777
|
}
|
|
19778
|
+
namespace $409 {
|
|
19779
|
+
namespace Content {
|
|
19780
|
+
interface ApplicationJson {
|
|
19781
|
+
[k: string]: unknown;
|
|
19782
|
+
}
|
|
19783
|
+
}
|
|
19784
|
+
}
|
|
19770
19785
|
namespace $412 {
|
|
19771
19786
|
namespace Content {
|
|
19772
19787
|
interface ApplicationJson {
|
|
@@ -24508,7 +24523,9 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
24508
24523
|
invoiceId: string;
|
|
24509
24524
|
};
|
|
24510
24525
|
type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
|
|
24511
|
-
type Query = {
|
|
24526
|
+
type Query = {
|
|
24527
|
+
fileType?: "PDF" | "XRECHNUNG";
|
|
24528
|
+
};
|
|
24512
24529
|
}
|
|
24513
24530
|
namespace Responses {
|
|
24514
24531
|
namespace $200 {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.483.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "0.0.0-development-
|
|
3
|
+
"version": "0.0.0-development-33e5319-20261005",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"test:compile": "run tsc --noEmit"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mittwald/api-client-commons": "^0.0.0-development-
|
|
75
|
+
"@mittwald/api-client-commons": "^0.0.0-development-33e5319-20261005",
|
|
76
76
|
"browser-or-node": "^3.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@mittwald/api-code-generator": "^0.0.0-development-
|
|
79
|
+
"@mittwald/api-code-generator": "^0.0.0-development-33e5319-20261005",
|
|
80
80
|
"@mittwald/react-use-promise": "^4.2.3",
|
|
81
81
|
"@types/node": "^22.18.11",
|
|
82
82
|
"@types/react": "^18.3.26",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"optional": true
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "4b5a5d549d5326776dc89f53fc317d8627260f3e"
|
|
110
110
|
}
|