@mittwald/api-client 4.184.0 → 4.186.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.
@@ -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. */
@@ -760,6 +764,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
760
764
  getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
761
765
  /** Obtain a service token. */
762
766
  servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
767
+ /** Check if an email is from mittwald. */
768
+ verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
763
769
  /** Check if an address exists. */
764
770
  verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
765
771
  /** Check if a company exists. */
@@ -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",
@@ -2452,6 +2464,12 @@ export const userVerifyRegistration = {
2452
2464
  method: "POST",
2453
2465
  operationId: "user-verify-registration",
2454
2466
  };
2467
+ /** Check if an email is from mittwald. */
2468
+ export const verificationDetectPhishingEmail = {
2469
+ path: "/v2/actions/detect-phishing-email",
2470
+ method: "POST",
2471
+ operationId: "verification-detect-phishing-email",
2472
+ };
2455
2473
  /** Check if an address exists. */
2456
2474
  export const verificationVerifyAddress = {
2457
2475
  path: "/v2/actions/verify-address",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.183.0';
1
+ export const MittwaldAPIClientVersion = '4.185.0';
@@ -750,6 +750,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
750
750
  queryParameters?: {
751
751
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
752
752
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
753
+ search?: string | undefined;
753
754
  limit?: number | undefined;
754
755
  skip?: number | undefined;
755
756
  page?: number | undefined;
@@ -876,6 +877,26 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
876
877
  extensionInstanceId?: string | undefined;
877
878
  } | undefined;
878
879
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[]>;
880
+ /** List incoming Invoices of a Contributor. */
881
+ contributorListIncomingInvoices: (conf: {
882
+ contributorId: string;
883
+ headers?: {
884
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
885
+ "x-access-token"?: string | undefined;
886
+ } | undefined;
887
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
888
+ currency: string;
889
+ customerId: string;
890
+ customerName: string;
891
+ customerNumber: string;
892
+ date: string;
893
+ id: string;
894
+ invoiceNumber: string;
895
+ pdfId: string;
896
+ recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
897
+ totalGross: number;
898
+ totalNet: number;
899
+ }[]>;
879
900
  /** List all invoices on behalf of a contributor. */
880
901
  contributorListOnbehalfInvoices: (conf: {
881
902
  contributorId: string;
@@ -892,6 +913,18 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
892
913
  totalNet: number;
893
914
  webLink: string;
894
915
  }[]>;
916
+ /** Request an Access Token for the Incoming Invoice file. */
917
+ contributorReceiptGetFileAccessToken: (conf: {
918
+ contributorId: string;
919
+ contributorReceiptId: string;
920
+ headers?: {
921
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
922
+ "x-access-token"?: string | undefined;
923
+ } | undefined;
924
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
925
+ accessToken: string;
926
+ expiresAt: string;
927
+ }>;
895
928
  /** List ExtensionInstances. */
896
929
  extensionListExtensionInstances: (conf?: {
897
930
  headers?: {
@@ -5358,6 +5358,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5358
5358
  queryParameters?: {
5359
5359
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5360
5360
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
5361
+ search?: string | undefined;
5361
5362
  limit?: number | undefined;
5362
5363
  skip?: number | undefined;
5363
5364
  page?: number | undefined;
@@ -5375,6 +5376,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5375
5376
  } & {
5376
5377
  queryParameters: {
5377
5378
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
5379
+ search?: string | undefined;
5378
5380
  limit?: number | undefined;
5379
5381
  skip?: number | undefined;
5380
5382
  page?: number | undefined;
@@ -5406,6 +5408,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5406
5408
  } & {
5407
5409
  queryParameters: {
5408
5410
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
5411
+ search?: string | undefined;
5409
5412
  limit?: number | undefined;
5410
5413
  skip?: number | undefined;
5411
5414
  page?: number | undefined;
@@ -6288,6 +6291,78 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6288
6291
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6289
6292
  [x: string]: unknown;
6290
6293
  }, 429, "application/json">>>;
6294
+ /** List incoming Invoices of a Contributor. */
6295
+ contributorListIncomingInvoices: (request: {
6296
+ contributorId: string;
6297
+ headers?: {
6298
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6299
+ "x-access-token"?: string | undefined;
6300
+ } | undefined;
6301
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6302
+ headers?: Partial<{
6303
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6304
+ }>;
6305
+ } & {
6306
+ pathParameters: {
6307
+ contributorId: string;
6308
+ };
6309
+ } & {
6310
+ headers: {
6311
+ "x-access-token"?: string | undefined;
6312
+ } & Partial<{
6313
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6314
+ }>;
6315
+ }, import("@mittwald/api-client-commons").Response<{
6316
+ currency: string;
6317
+ customerId: string;
6318
+ customerName: string;
6319
+ customerNumber: string;
6320
+ date: string;
6321
+ id: string;
6322
+ invoiceNumber: string;
6323
+ pdfId: string;
6324
+ recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
6325
+ totalGross: number;
6326
+ totalNet: number;
6327
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6328
+ [x: string]: unknown;
6329
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6330
+ [x: string]: unknown;
6331
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6332
+ [x: string]: unknown;
6333
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6334
+ headers?: Partial<{
6335
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6336
+ }>;
6337
+ } & {
6338
+ pathParameters: {
6339
+ contributorId: string;
6340
+ };
6341
+ } & {
6342
+ headers: {
6343
+ "x-access-token"?: string | undefined;
6344
+ } & Partial<{
6345
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6346
+ }>;
6347
+ }, import("@mittwald/api-client-commons").Response<{
6348
+ currency: string;
6349
+ customerId: string;
6350
+ customerName: string;
6351
+ customerNumber: string;
6352
+ date: string;
6353
+ id: string;
6354
+ invoiceNumber: string;
6355
+ pdfId: string;
6356
+ recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
6357
+ totalGross: number;
6358
+ totalNet: number;
6359
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6360
+ [x: string]: unknown;
6361
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6362
+ [x: string]: unknown;
6363
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6364
+ [x: string]: unknown;
6365
+ }, 429, "application/json">>>;
6291
6366
  /** List all invoices on behalf of a contributor. */
6292
6367
  contributorListOnbehalfInvoices: (request: {
6293
6368
  contributorId: string;
@@ -6352,6 +6427,63 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6352
6427
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6353
6428
  [x: string]: unknown;
6354
6429
  }, 429, "application/json">>>;
6430
+ /** Request an Access Token for the Incoming Invoice file. */
6431
+ contributorReceiptGetFileAccessToken: (request: {
6432
+ contributorId: string;
6433
+ contributorReceiptId: string;
6434
+ headers?: {
6435
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6436
+ "x-access-token"?: string | undefined;
6437
+ } | undefined;
6438
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6439
+ headers?: Partial<{
6440
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6441
+ }>;
6442
+ } & {
6443
+ pathParameters: {
6444
+ contributorId: string;
6445
+ contributorReceiptId: string;
6446
+ };
6447
+ } & {
6448
+ headers: {
6449
+ "x-access-token"?: string | undefined;
6450
+ } & Partial<{
6451
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6452
+ }>;
6453
+ }, import("@mittwald/api-client-commons").Response<{
6454
+ accessToken: string;
6455
+ expiresAt: string;
6456
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6457
+ [x: string]: unknown;
6458
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6459
+ [x: string]: unknown;
6460
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6461
+ [x: string]: unknown;
6462
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6463
+ headers?: Partial<{
6464
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6465
+ }>;
6466
+ } & {
6467
+ pathParameters: {
6468
+ contributorId: string;
6469
+ contributorReceiptId: string;
6470
+ };
6471
+ } & {
6472
+ headers: {
6473
+ "x-access-token"?: string | undefined;
6474
+ } & Partial<{
6475
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6476
+ }>;
6477
+ }, import("@mittwald/api-client-commons").Response<{
6478
+ accessToken: string;
6479
+ expiresAt: string;
6480
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6481
+ [x: string]: unknown;
6482
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6483
+ [x: string]: unknown;
6484
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6485
+ [x: string]: unknown;
6486
+ }, 429, "application/json">>>;
6355
6487
  /** Rotate the secret for an extension instance. */
6356
6488
  contributorRotateSecretForExtensionInstance: (request: {
6357
6489
  contributorId: string;
@@ -9500,6 +9632,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9500
9632
  aggregate: "extensionInstance";
9501
9633
  domain: "extension";
9502
9634
  id: string;
9635
+ } | {
9636
+ aggregate: "container";
9637
+ domain: "container";
9638
+ id: string;
9503
9639
  } | undefined;
9504
9640
  sharedWith?: {
9505
9641
  aggregate: "user";
@@ -9905,6 +10041,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9905
10041
  aggregate: "extensionInstance";
9906
10042
  domain: "extension";
9907
10043
  id: string;
10044
+ } | {
10045
+ aggregate: "container";
10046
+ domain: "container";
10047
+ id: string;
9908
10048
  } | undefined;
9909
10049
  title?: string | undefined;
9910
10050
  } | undefined;
@@ -22507,6 +22647,43 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
22507
22647
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22508
22648
  [x: string]: unknown;
22509
22649
  }, 429, "application/json">>>;
22650
+ /** Check if an email is from mittwald. */
22651
+ verificationDetectPhishingEmail: (request?: {
22652
+ data?: {
22653
+ [x: string]: unknown;
22654
+ } | undefined;
22655
+ headers?: {
22656
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
22657
+ } | undefined;
22658
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
22659
+ data: {
22660
+ [x: string]: unknown;
22661
+ };
22662
+ } & {
22663
+ headers?: Partial<{
22664
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22665
+ }>;
22666
+ }, import("@mittwald/api-client-commons").Response<{
22667
+ result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
22668
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22669
+ [x: string]: unknown;
22670
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
22671
+ [x: string]: unknown;
22672
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
22673
+ data: {
22674
+ [x: string]: unknown;
22675
+ };
22676
+ } & {
22677
+ headers?: Partial<{
22678
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22679
+ }>;
22680
+ }, import("@mittwald/api-client-commons").Response<{
22681
+ result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
22682
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22683
+ [x: string]: unknown;
22684
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
22685
+ [x: string]: unknown;
22686
+ }, 429, "application/json">>>;
22510
22687
  /** Check if an address exists. */
22511
22688
  verificationVerifyAddress: (request: {
22512
22689
  data: {
@@ -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. */
@@ -821,6 +825,8 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
821
825
  export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
822
826
  /** Verify your registration. */
823
827
  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.ApplicationJson>, 200, "application/json"> | 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
828
+ /** Check if an email is from mittwald. */
829
+ 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">>;
824
830
  /** Check if an address exists. */
825
831
  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
832
  /** Check if a company exists. */
@@ -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>;
@@ -1638,6 +1646,10 @@ export declare namespace MittwaldAPIV2 {
1638
1646
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1639
1647
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1640
1648
  }
1649
+ namespace VerificationDetectPhishingEmail {
1650
+ type RequestData = InferredRequestData<typeof descriptors.verificationDetectPhishingEmail>;
1651
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationDetectPhishingEmail, TStatus>;
1652
+ }
1641
1653
  namespace VerificationVerifyAddress {
1642
1654
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyAddress>;
1643
1655
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyAddress, TStatus>;
@@ -2375,6 +2387,10 @@ export declare namespace MittwaldAPIV2 {
2375
2387
  aggregate: "extensionInstance";
2376
2388
  domain: "extension";
2377
2389
  id: string;
2390
+ } | {
2391
+ aggregate: "container";
2392
+ domain: "container";
2393
+ id: string;
2378
2394
  };
2379
2395
  interface ConversationServiceRequestRelocationPayload {
2380
2396
  contact: {
@@ -5063,6 +5079,10 @@ export declare namespace MittwaldAPIV2 {
5063
5079
  name: string;
5064
5080
  value: string;
5065
5081
  }
5082
+ interface VerificationEmailDetectPhishingMailResponse {
5083
+ result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
5084
+ }
5085
+ type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5066
5086
  interface CommonsAddress {
5067
5087
  street: string;
5068
5088
  houseNumber: string;
@@ -9353,6 +9373,64 @@ export declare namespace MittwaldAPIV2 {
9353
9373
  }
9354
9374
  }
9355
9375
  }
9376
+ namespace V2ContributorsContributorIdInvoicesIncoming {
9377
+ namespace Get {
9378
+ namespace Parameters {
9379
+ type Path = {
9380
+ contributorId: string;
9381
+ };
9382
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9383
+ type Query = {};
9384
+ }
9385
+ namespace Responses {
9386
+ namespace $200 {
9387
+ namespace Content {
9388
+ type ApplicationJson = {
9389
+ currency: string;
9390
+ customerId: string;
9391
+ customerName: string;
9392
+ customerNumber: string;
9393
+ date: string;
9394
+ id: string;
9395
+ invoiceNumber: string;
9396
+ pdfId: string;
9397
+ recipient: MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
9398
+ totalGross: number;
9399
+ totalNet: number;
9400
+ }[];
9401
+ }
9402
+ }
9403
+ namespace $400 {
9404
+ namespace Content {
9405
+ interface ApplicationJson {
9406
+ [k: string]: unknown;
9407
+ }
9408
+ }
9409
+ }
9410
+ namespace $404 {
9411
+ namespace Content {
9412
+ interface ApplicationJson {
9413
+ [k: string]: unknown;
9414
+ }
9415
+ }
9416
+ }
9417
+ namespace $429 {
9418
+ namespace Content {
9419
+ interface ApplicationJson {
9420
+ [k: string]: unknown;
9421
+ }
9422
+ }
9423
+ }
9424
+ namespace Default {
9425
+ namespace Content {
9426
+ interface ApplicationJson {
9427
+ [k: string]: unknown;
9428
+ }
9429
+ }
9430
+ }
9431
+ }
9432
+ }
9433
+ }
9356
9434
  namespace V2ContributorsContributorIdInvoicesOutgoing {
9357
9435
  namespace Get {
9358
9436
  namespace Parameters {
@@ -9407,6 +9485,56 @@ export declare namespace MittwaldAPIV2 {
9407
9485
  }
9408
9486
  }
9409
9487
  }
9488
+ namespace V2ContributorsContributorIdInvoicesIncomingContributorReceiptIdFileAccessToken {
9489
+ namespace Get {
9490
+ namespace Parameters {
9491
+ type Path = {
9492
+ contributorId: string;
9493
+ contributorReceiptId: string;
9494
+ };
9495
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9496
+ type Query = {};
9497
+ }
9498
+ namespace Responses {
9499
+ namespace $200 {
9500
+ namespace Content {
9501
+ interface ApplicationJson {
9502
+ accessToken: string;
9503
+ expiresAt: string;
9504
+ }
9505
+ }
9506
+ }
9507
+ namespace $400 {
9508
+ namespace Content {
9509
+ interface ApplicationJson {
9510
+ [k: string]: unknown;
9511
+ }
9512
+ }
9513
+ }
9514
+ namespace $404 {
9515
+ namespace Content {
9516
+ interface ApplicationJson {
9517
+ [k: string]: unknown;
9518
+ }
9519
+ }
9520
+ }
9521
+ namespace $429 {
9522
+ namespace Content {
9523
+ interface ApplicationJson {
9524
+ [k: string]: unknown;
9525
+ }
9526
+ }
9527
+ }
9528
+ namespace Default {
9529
+ namespace Content {
9530
+ interface ApplicationJson {
9531
+ [k: string]: unknown;
9532
+ }
9533
+ }
9534
+ }
9535
+ }
9536
+ }
9537
+ }
9410
9538
  namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdSecret {
9411
9539
  namespace Put {
9412
9540
  namespace Parameters {
@@ -17625,6 +17753,7 @@ export declare namespace MittwaldAPIV2 {
17625
17753
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17626
17754
  type Query = {
17627
17755
  invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[];
17756
+ search?: string;
17628
17757
  limit?: number;
17629
17758
  skip?: number;
17630
17759
  page?: number;
@@ -25824,6 +25953,46 @@ export declare namespace MittwaldAPIV2 {
25824
25953
  }
25825
25954
  }
25826
25955
  }
25956
+ namespace V2ActionsDetectPhishingEmail {
25957
+ namespace Post {
25958
+ namespace Parameters {
25959
+ type Path = {};
25960
+ interface RequestBody {
25961
+ [k: string]: unknown;
25962
+ }
25963
+ type Header = {};
25964
+ type Query = {};
25965
+ }
25966
+ namespace Responses {
25967
+ namespace $200 {
25968
+ namespace Content {
25969
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
25970
+ }
25971
+ }
25972
+ namespace $400 {
25973
+ namespace Content {
25974
+ interface ApplicationJson {
25975
+ [k: string]: unknown;
25976
+ }
25977
+ }
25978
+ }
25979
+ namespace $429 {
25980
+ namespace Content {
25981
+ interface ApplicationJson {
25982
+ [k: string]: unknown;
25983
+ }
25984
+ }
25985
+ }
25986
+ namespace Default {
25987
+ namespace Content {
25988
+ interface ApplicationJson {
25989
+ [k: string]: unknown;
25990
+ }
25991
+ }
25992
+ }
25993
+ }
25994
+ }
25995
+ }
25827
25996
  namespace V2ActionsVerifyAddress {
25828
25997
  namespace Post {
25829
25998
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.183.0';
1
+ export declare const MittwaldAPIClientVersion = '4.185.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.184.0",
3
+ "version": "4.186.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": "3efd67343cf870ec74ca3c6c19a884bfaee0e3f6"
83
+ "gitHead": "d0da189d64737a1138343f2e72605310e96c6fa1"
84
84
  }