@mittwald/api-client 4.184.0 → 4.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +4 -0
- package/dist/esm/generated/v2/client.js +6 -0
- package/dist/esm/generated/v2/descriptors.js +18 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +32 -0
- package/dist/types/generated/v2/client.d.ts +166 -0
- package/dist/types/generated/v2/descriptors.d.ts +6 -0
- package/dist/types/generated/v2/types.d.ts +164 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -116,8 +116,12 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
116
116
|
contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
|
|
117
117
|
/** List ContractPartners of the contributor. */
|
|
118
118
|
contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
|
|
119
|
+
/** List incoming Invoices of a Contributor. */
|
|
120
|
+
contributorListIncomingInvoices: new ApiCallAsyncResourceFactory(descriptors.contributorListIncomingInvoices, baseClient.marketplace.contributorListIncomingInvoices).getApiResource,
|
|
119
121
|
/** List all invoices on behalf of a contributor. */
|
|
120
122
|
contributorListOnbehalfInvoices: new ApiCallAsyncResourceFactory(descriptors.contributorListOnbehalfInvoices, baseClient.marketplace.contributorListOnbehalfInvoices).getApiResource,
|
|
123
|
+
/** Request an Access Token for the Incoming Invoice file. */
|
|
124
|
+
contributorReceiptGetFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.contributorReceiptGetFileAccessToken, baseClient.marketplace.contributorReceiptGetFileAccessToken).getApiResource,
|
|
121
125
|
/** List ExtensionInstances. */
|
|
122
126
|
extensionListExtensionInstances: new ApiCallAsyncResourceFactory(descriptors.extensionListExtensionInstances, baseClient.marketplace.extensionListExtensionInstances).getApiResource,
|
|
123
127
|
/** Get an ExtensionInstance. */
|
|
@@ -207,8 +207,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
207
207
|
contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
|
|
208
208
|
/** List ContractPartners of the contributor. */
|
|
209
209
|
contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
|
|
210
|
+
/** List incoming Invoices of a Contributor. */
|
|
211
|
+
contributorListIncomingInvoices: this.requestFunctionFactory(descriptors.contributorListIncomingInvoices),
|
|
210
212
|
/** List all invoices on behalf of a contributor. */
|
|
211
213
|
contributorListOnbehalfInvoices: this.requestFunctionFactory(descriptors.contributorListOnbehalfInvoices),
|
|
214
|
+
/** Request an Access Token for the Incoming Invoice file. */
|
|
215
|
+
contributorReceiptGetFileAccessToken: this.requestFunctionFactory(descriptors.contributorReceiptGetFileAccessToken),
|
|
212
216
|
/** Rotate the secret for an extension instance. */
|
|
213
217
|
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
214
218
|
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
@@ -764,6 +768,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
764
768
|
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
765
769
|
/** Check if a company exists. */
|
|
766
770
|
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
771
|
+
/** Check if an email is from mittwald. */
|
|
772
|
+
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
767
773
|
};
|
|
768
774
|
/** The page insights API allows you to get page insights information. */
|
|
769
775
|
pageInsights = {
|
|
@@ -478,12 +478,24 @@ export const contributorListContractPartnersOfContributor = {
|
|
|
478
478
|
method: "GET",
|
|
479
479
|
operationId: "contributor-list-contract-partners-of-contributor",
|
|
480
480
|
};
|
|
481
|
+
/** List incoming Invoices of a Contributor. */
|
|
482
|
+
export const contributorListIncomingInvoices = {
|
|
483
|
+
path: "/v2/contributors/{contributorId}/invoices/incoming",
|
|
484
|
+
method: "GET",
|
|
485
|
+
operationId: "contributor-list-incoming-invoices",
|
|
486
|
+
};
|
|
481
487
|
/** List all invoices on behalf of a contributor. */
|
|
482
488
|
export const contributorListOnbehalfInvoices = {
|
|
483
489
|
path: "/v2/contributors/{contributorId}/invoices/outgoing",
|
|
484
490
|
method: "GET",
|
|
485
491
|
operationId: "contributor-list-onbehalf-invoices",
|
|
486
492
|
};
|
|
493
|
+
/** Request an Access Token for the Incoming Invoice file. */
|
|
494
|
+
export const contributorReceiptGetFileAccessToken = {
|
|
495
|
+
path: "/v2/contributors/{contributorId}/invoices/incoming/{contributorReceiptId}/file-access-token",
|
|
496
|
+
method: "GET",
|
|
497
|
+
operationId: "contributor-receipt-get-file-access-token",
|
|
498
|
+
};
|
|
487
499
|
/** Rotate the secret for an extension instance. */
|
|
488
500
|
export const contributorRotateSecretForExtensionInstance = {
|
|
489
501
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
@@ -2464,3 +2476,9 @@ export const verificationVerifyCompany = {
|
|
|
2464
2476
|
method: "POST",
|
|
2465
2477
|
operationId: "verification-verify-company",
|
|
2466
2478
|
};
|
|
2479
|
+
/** Check if an email is from mittwald. */
|
|
2480
|
+
export const verificationDetectPhishingEmail = {
|
|
2481
|
+
path: "/v2/actions/detect-phishing-email",
|
|
2482
|
+
method: "POST",
|
|
2483
|
+
operationId: "verification-detect-phishing-email",
|
|
2484
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.184.0';
|
|
@@ -876,6 +876,26 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
876
876
|
extensionInstanceId?: string | undefined;
|
|
877
877
|
} | undefined;
|
|
878
878
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[]>;
|
|
879
|
+
/** List incoming Invoices of a Contributor. */
|
|
880
|
+
contributorListIncomingInvoices: (conf: {
|
|
881
|
+
contributorId: string;
|
|
882
|
+
headers?: {
|
|
883
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
884
|
+
"x-access-token"?: string | undefined;
|
|
885
|
+
} | undefined;
|
|
886
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
887
|
+
currency: string;
|
|
888
|
+
customerId: string;
|
|
889
|
+
customerName: string;
|
|
890
|
+
customerNumber: string;
|
|
891
|
+
date: string;
|
|
892
|
+
id: string;
|
|
893
|
+
invoiceNumber: string;
|
|
894
|
+
pdfId: string;
|
|
895
|
+
recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
|
|
896
|
+
totalGross: number;
|
|
897
|
+
totalNet: number;
|
|
898
|
+
}[]>;
|
|
879
899
|
/** List all invoices on behalf of a contributor. */
|
|
880
900
|
contributorListOnbehalfInvoices: (conf: {
|
|
881
901
|
contributorId: string;
|
|
@@ -892,6 +912,18 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
892
912
|
totalNet: number;
|
|
893
913
|
webLink: string;
|
|
894
914
|
}[]>;
|
|
915
|
+
/** Request an Access Token for the Incoming Invoice file. */
|
|
916
|
+
contributorReceiptGetFileAccessToken: (conf: {
|
|
917
|
+
contributorId: string;
|
|
918
|
+
contributorReceiptId: string;
|
|
919
|
+
headers?: {
|
|
920
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
921
|
+
"x-access-token"?: string | undefined;
|
|
922
|
+
} | undefined;
|
|
923
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
924
|
+
accessToken: string;
|
|
925
|
+
expiresAt: string;
|
|
926
|
+
}>;
|
|
895
927
|
/** List ExtensionInstances. */
|
|
896
928
|
extensionListExtensionInstances: (conf?: {
|
|
897
929
|
headers?: {
|
|
@@ -6288,6 +6288,78 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6288
6288
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6289
6289
|
[x: string]: unknown;
|
|
6290
6290
|
}, 429, "application/json">>>;
|
|
6291
|
+
/** List incoming Invoices of a Contributor. */
|
|
6292
|
+
contributorListIncomingInvoices: (request: {
|
|
6293
|
+
contributorId: string;
|
|
6294
|
+
headers?: {
|
|
6295
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6296
|
+
"x-access-token"?: string | undefined;
|
|
6297
|
+
} | undefined;
|
|
6298
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6299
|
+
headers?: Partial<{
|
|
6300
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6301
|
+
}>;
|
|
6302
|
+
} & {
|
|
6303
|
+
pathParameters: {
|
|
6304
|
+
contributorId: string;
|
|
6305
|
+
};
|
|
6306
|
+
} & {
|
|
6307
|
+
headers: {
|
|
6308
|
+
"x-access-token"?: string | undefined;
|
|
6309
|
+
} & Partial<{
|
|
6310
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6311
|
+
}>;
|
|
6312
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6313
|
+
currency: string;
|
|
6314
|
+
customerId: string;
|
|
6315
|
+
customerName: string;
|
|
6316
|
+
customerNumber: string;
|
|
6317
|
+
date: string;
|
|
6318
|
+
id: string;
|
|
6319
|
+
invoiceNumber: string;
|
|
6320
|
+
pdfId: string;
|
|
6321
|
+
recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
|
|
6322
|
+
totalGross: number;
|
|
6323
|
+
totalNet: number;
|
|
6324
|
+
}[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6325
|
+
[x: string]: unknown;
|
|
6326
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6327
|
+
[x: string]: unknown;
|
|
6328
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6329
|
+
[x: string]: unknown;
|
|
6330
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6331
|
+
headers?: Partial<{
|
|
6332
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6333
|
+
}>;
|
|
6334
|
+
} & {
|
|
6335
|
+
pathParameters: {
|
|
6336
|
+
contributorId: string;
|
|
6337
|
+
};
|
|
6338
|
+
} & {
|
|
6339
|
+
headers: {
|
|
6340
|
+
"x-access-token"?: string | undefined;
|
|
6341
|
+
} & Partial<{
|
|
6342
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6343
|
+
}>;
|
|
6344
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6345
|
+
currency: string;
|
|
6346
|
+
customerId: string;
|
|
6347
|
+
customerName: string;
|
|
6348
|
+
customerNumber: string;
|
|
6349
|
+
date: string;
|
|
6350
|
+
id: string;
|
|
6351
|
+
invoiceNumber: string;
|
|
6352
|
+
pdfId: string;
|
|
6353
|
+
recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
|
|
6354
|
+
totalGross: number;
|
|
6355
|
+
totalNet: number;
|
|
6356
|
+
}[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6357
|
+
[x: string]: unknown;
|
|
6358
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6359
|
+
[x: string]: unknown;
|
|
6360
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6361
|
+
[x: string]: unknown;
|
|
6362
|
+
}, 429, "application/json">>>;
|
|
6291
6363
|
/** List all invoices on behalf of a contributor. */
|
|
6292
6364
|
contributorListOnbehalfInvoices: (request: {
|
|
6293
6365
|
contributorId: string;
|
|
@@ -6352,6 +6424,63 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6352
6424
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6353
6425
|
[x: string]: unknown;
|
|
6354
6426
|
}, 429, "application/json">>>;
|
|
6427
|
+
/** Request an Access Token for the Incoming Invoice file. */
|
|
6428
|
+
contributorReceiptGetFileAccessToken: (request: {
|
|
6429
|
+
contributorId: string;
|
|
6430
|
+
contributorReceiptId: string;
|
|
6431
|
+
headers?: {
|
|
6432
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6433
|
+
"x-access-token"?: string | undefined;
|
|
6434
|
+
} | undefined;
|
|
6435
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6436
|
+
headers?: Partial<{
|
|
6437
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6438
|
+
}>;
|
|
6439
|
+
} & {
|
|
6440
|
+
pathParameters: {
|
|
6441
|
+
contributorId: string;
|
|
6442
|
+
contributorReceiptId: string;
|
|
6443
|
+
};
|
|
6444
|
+
} & {
|
|
6445
|
+
headers: {
|
|
6446
|
+
"x-access-token"?: string | undefined;
|
|
6447
|
+
} & Partial<{
|
|
6448
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6449
|
+
}>;
|
|
6450
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6451
|
+
accessToken: string;
|
|
6452
|
+
expiresAt: string;
|
|
6453
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6454
|
+
[x: string]: unknown;
|
|
6455
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6456
|
+
[x: string]: unknown;
|
|
6457
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6458
|
+
[x: string]: unknown;
|
|
6459
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6460
|
+
headers?: Partial<{
|
|
6461
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6462
|
+
}>;
|
|
6463
|
+
} & {
|
|
6464
|
+
pathParameters: {
|
|
6465
|
+
contributorId: string;
|
|
6466
|
+
contributorReceiptId: string;
|
|
6467
|
+
};
|
|
6468
|
+
} & {
|
|
6469
|
+
headers: {
|
|
6470
|
+
"x-access-token"?: string | undefined;
|
|
6471
|
+
} & Partial<{
|
|
6472
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6473
|
+
}>;
|
|
6474
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6475
|
+
accessToken: string;
|
|
6476
|
+
expiresAt: string;
|
|
6477
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6478
|
+
[x: string]: unknown;
|
|
6479
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6480
|
+
[x: string]: unknown;
|
|
6481
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6482
|
+
[x: string]: unknown;
|
|
6483
|
+
}, 429, "application/json">>>;
|
|
6355
6484
|
/** Rotate the secret for an extension instance. */
|
|
6356
6485
|
contributorRotateSecretForExtensionInstance: (request: {
|
|
6357
6486
|
contributorId: string;
|
|
@@ -22595,6 +22724,43 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22595
22724
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
22596
22725
|
[x: string]: unknown;
|
|
22597
22726
|
}, 429, "application/json">>>;
|
|
22727
|
+
/** Check if an email is from mittwald. */
|
|
22728
|
+
verificationDetectPhishingEmail: (request?: {
|
|
22729
|
+
data?: {
|
|
22730
|
+
[x: string]: unknown;
|
|
22731
|
+
} | undefined;
|
|
22732
|
+
headers?: {
|
|
22733
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
22734
|
+
} | undefined;
|
|
22735
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
22736
|
+
data: {
|
|
22737
|
+
[x: string]: unknown;
|
|
22738
|
+
};
|
|
22739
|
+
} & {
|
|
22740
|
+
headers?: Partial<{
|
|
22741
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22742
|
+
}>;
|
|
22743
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
22744
|
+
result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
|
|
22745
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22746
|
+
[x: string]: unknown;
|
|
22747
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22748
|
+
[x: string]: unknown;
|
|
22749
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
22750
|
+
data: {
|
|
22751
|
+
[x: string]: unknown;
|
|
22752
|
+
};
|
|
22753
|
+
} & {
|
|
22754
|
+
headers?: Partial<{
|
|
22755
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22756
|
+
}>;
|
|
22757
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
22758
|
+
result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
|
|
22759
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22760
|
+
[x: string]: unknown;
|
|
22761
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22762
|
+
[x: string]: unknown;
|
|
22763
|
+
}, 429, "application/json">>>;
|
|
22598
22764
|
};
|
|
22599
22765
|
/** The page insights API allows you to get page insights information. */
|
|
22600
22766
|
readonly pageInsights: {
|
|
@@ -163,8 +163,12 @@ export declare const contributorGetCustomerBillingPortalLink: OpenAPIOperation<R
|
|
|
163
163
|
export declare const contributorGetLoginLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
164
164
|
/** List ContractPartners of the contributor. */
|
|
165
165
|
export declare const contributorListContractPartnersOfContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
166
|
+
/** List incoming Invoices of a Contributor. */
|
|
167
|
+
export declare const contributorListIncomingInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncoming.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
166
168
|
/** List all invoices on behalf of a contributor. */
|
|
167
169
|
export declare const contributorListOnbehalfInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
170
|
+
/** Request an Access Token for the Incoming Invoice file. */
|
|
171
|
+
export declare const contributorReceiptGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
168
172
|
/** Rotate the secret for an extension instance. */
|
|
169
173
|
export declare const contributorRotateSecretForExtensionInstance: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
170
174
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -825,3 +829,5 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
|
|
|
825
829
|
export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
826
830
|
/** Check if a company exists. */
|
|
827
831
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
832
|
+
/** Check if an email is from mittwald. */
|
|
833
|
+
export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -322,10 +322,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
322
322
|
type RequestData = InferredRequestData<typeof descriptors.contributorListContractPartnersOfContributor>;
|
|
323
323
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListContractPartnersOfContributor, TStatus>;
|
|
324
324
|
}
|
|
325
|
+
namespace ContributorListIncomingInvoices {
|
|
326
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorListIncomingInvoices>;
|
|
327
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListIncomingInvoices, TStatus>;
|
|
328
|
+
}
|
|
325
329
|
namespace ContributorListOnbehalfInvoices {
|
|
326
330
|
type RequestData = InferredRequestData<typeof descriptors.contributorListOnbehalfInvoices>;
|
|
327
331
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListOnbehalfInvoices, TStatus>;
|
|
328
332
|
}
|
|
333
|
+
namespace ContributorReceiptGetFileAccessToken {
|
|
334
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorReceiptGetFileAccessToken>;
|
|
335
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorReceiptGetFileAccessToken, TStatus>;
|
|
336
|
+
}
|
|
329
337
|
namespace ContributorRotateSecretForExtensionInstance {
|
|
330
338
|
type RequestData = InferredRequestData<typeof descriptors.contributorRotateSecretForExtensionInstance>;
|
|
331
339
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRotateSecretForExtensionInstance, TStatus>;
|
|
@@ -1646,6 +1654,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1646
1654
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1647
1655
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1648
1656
|
}
|
|
1657
|
+
namespace VerificationDetectPhishingEmail {
|
|
1658
|
+
type RequestData = InferredRequestData<typeof descriptors.verificationDetectPhishingEmail>;
|
|
1659
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationDetectPhishingEmail, TStatus>;
|
|
1660
|
+
}
|
|
1649
1661
|
}
|
|
1650
1662
|
namespace Components {
|
|
1651
1663
|
namespace Schemas {
|
|
@@ -5063,6 +5075,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
5063
5075
|
name: string;
|
|
5064
5076
|
value: string;
|
|
5065
5077
|
}
|
|
5078
|
+
interface VerificationEmailDetectPhishingMailResponse {
|
|
5079
|
+
result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
|
|
5080
|
+
}
|
|
5081
|
+
type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
|
|
5066
5082
|
interface CommonsAddress {
|
|
5067
5083
|
street: string;
|
|
5068
5084
|
houseNumber: string;
|
|
@@ -9353,6 +9369,64 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9353
9369
|
}
|
|
9354
9370
|
}
|
|
9355
9371
|
}
|
|
9372
|
+
namespace V2ContributorsContributorIdInvoicesIncoming {
|
|
9373
|
+
namespace Get {
|
|
9374
|
+
namespace Parameters {
|
|
9375
|
+
type Path = {
|
|
9376
|
+
contributorId: string;
|
|
9377
|
+
};
|
|
9378
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9379
|
+
type Query = {};
|
|
9380
|
+
}
|
|
9381
|
+
namespace Responses {
|
|
9382
|
+
namespace $200 {
|
|
9383
|
+
namespace Content {
|
|
9384
|
+
type ApplicationJson = {
|
|
9385
|
+
currency: string;
|
|
9386
|
+
customerId: string;
|
|
9387
|
+
customerName: string;
|
|
9388
|
+
customerNumber: string;
|
|
9389
|
+
date: string;
|
|
9390
|
+
id: string;
|
|
9391
|
+
invoiceNumber: string;
|
|
9392
|
+
pdfId: string;
|
|
9393
|
+
recipient: MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
|
|
9394
|
+
totalGross: number;
|
|
9395
|
+
totalNet: number;
|
|
9396
|
+
}[];
|
|
9397
|
+
}
|
|
9398
|
+
}
|
|
9399
|
+
namespace $400 {
|
|
9400
|
+
namespace Content {
|
|
9401
|
+
interface ApplicationJson {
|
|
9402
|
+
[k: string]: unknown;
|
|
9403
|
+
}
|
|
9404
|
+
}
|
|
9405
|
+
}
|
|
9406
|
+
namespace $404 {
|
|
9407
|
+
namespace Content {
|
|
9408
|
+
interface ApplicationJson {
|
|
9409
|
+
[k: string]: unknown;
|
|
9410
|
+
}
|
|
9411
|
+
}
|
|
9412
|
+
}
|
|
9413
|
+
namespace $429 {
|
|
9414
|
+
namespace Content {
|
|
9415
|
+
interface ApplicationJson {
|
|
9416
|
+
[k: string]: unknown;
|
|
9417
|
+
}
|
|
9418
|
+
}
|
|
9419
|
+
}
|
|
9420
|
+
namespace Default {
|
|
9421
|
+
namespace Content {
|
|
9422
|
+
interface ApplicationJson {
|
|
9423
|
+
[k: string]: unknown;
|
|
9424
|
+
}
|
|
9425
|
+
}
|
|
9426
|
+
}
|
|
9427
|
+
}
|
|
9428
|
+
}
|
|
9429
|
+
}
|
|
9356
9430
|
namespace V2ContributorsContributorIdInvoicesOutgoing {
|
|
9357
9431
|
namespace Get {
|
|
9358
9432
|
namespace Parameters {
|
|
@@ -9407,6 +9481,56 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9407
9481
|
}
|
|
9408
9482
|
}
|
|
9409
9483
|
}
|
|
9484
|
+
namespace V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken {
|
|
9485
|
+
namespace Get {
|
|
9486
|
+
namespace Parameters {
|
|
9487
|
+
type Path = {
|
|
9488
|
+
contributorId: string;
|
|
9489
|
+
contributorReceiptId: string;
|
|
9490
|
+
};
|
|
9491
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9492
|
+
type Query = {};
|
|
9493
|
+
}
|
|
9494
|
+
namespace Responses {
|
|
9495
|
+
namespace $200 {
|
|
9496
|
+
namespace Content {
|
|
9497
|
+
interface ApplicationJson {
|
|
9498
|
+
accessToken: string;
|
|
9499
|
+
expiresAt: string;
|
|
9500
|
+
}
|
|
9501
|
+
}
|
|
9502
|
+
}
|
|
9503
|
+
namespace $400 {
|
|
9504
|
+
namespace Content {
|
|
9505
|
+
interface ApplicationJson {
|
|
9506
|
+
[k: string]: unknown;
|
|
9507
|
+
}
|
|
9508
|
+
}
|
|
9509
|
+
}
|
|
9510
|
+
namespace $404 {
|
|
9511
|
+
namespace Content {
|
|
9512
|
+
interface ApplicationJson {
|
|
9513
|
+
[k: string]: unknown;
|
|
9514
|
+
}
|
|
9515
|
+
}
|
|
9516
|
+
}
|
|
9517
|
+
namespace $429 {
|
|
9518
|
+
namespace Content {
|
|
9519
|
+
interface ApplicationJson {
|
|
9520
|
+
[k: string]: unknown;
|
|
9521
|
+
}
|
|
9522
|
+
}
|
|
9523
|
+
}
|
|
9524
|
+
namespace Default {
|
|
9525
|
+
namespace Content {
|
|
9526
|
+
interface ApplicationJson {
|
|
9527
|
+
[k: string]: unknown;
|
|
9528
|
+
}
|
|
9529
|
+
}
|
|
9530
|
+
}
|
|
9531
|
+
}
|
|
9532
|
+
}
|
|
9533
|
+
}
|
|
9410
9534
|
namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret {
|
|
9411
9535
|
namespace Put {
|
|
9412
9536
|
namespace Parameters {
|
|
@@ -25918,5 +26042,45 @@ export declare namespace MittwaldAPIV2 {
|
|
|
25918
26042
|
}
|
|
25919
26043
|
}
|
|
25920
26044
|
}
|
|
26045
|
+
namespace V2ActionsDetectPhishingEmail {
|
|
26046
|
+
namespace Post {
|
|
26047
|
+
namespace Parameters {
|
|
26048
|
+
type Path = {};
|
|
26049
|
+
interface RequestBody {
|
|
26050
|
+
[k: string]: unknown;
|
|
26051
|
+
}
|
|
26052
|
+
type Header = {};
|
|
26053
|
+
type Query = {};
|
|
26054
|
+
}
|
|
26055
|
+
namespace Responses {
|
|
26056
|
+
namespace $200 {
|
|
26057
|
+
namespace Content {
|
|
26058
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
|
|
26059
|
+
}
|
|
26060
|
+
}
|
|
26061
|
+
namespace $400 {
|
|
26062
|
+
namespace Content {
|
|
26063
|
+
interface ApplicationJson {
|
|
26064
|
+
[k: string]: unknown;
|
|
26065
|
+
}
|
|
26066
|
+
}
|
|
26067
|
+
}
|
|
26068
|
+
namespace $429 {
|
|
26069
|
+
namespace Content {
|
|
26070
|
+
interface ApplicationJson {
|
|
26071
|
+
[k: string]: unknown;
|
|
26072
|
+
}
|
|
26073
|
+
}
|
|
26074
|
+
}
|
|
26075
|
+
namespace Default {
|
|
26076
|
+
namespace Content {
|
|
26077
|
+
interface ApplicationJson {
|
|
26078
|
+
[k: string]: unknown;
|
|
26079
|
+
}
|
|
26080
|
+
}
|
|
26081
|
+
}
|
|
26082
|
+
}
|
|
26083
|
+
}
|
|
26084
|
+
}
|
|
25921
26085
|
}
|
|
25922
26086
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.184.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.185.0",
|
|
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",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "ca12395175e5a81d9e7d174a043716c420c4967a"
|
|
84
84
|
}
|