@mittwald/api-client 4.265.0 → 4.267.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.
@@ -327,6 +327,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
327
327
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
328
328
  /** Get the link to update the marketplace payment method */
329
329
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
330
+ /** Reject a contributor verification request. */
331
+ contributorRejectContributorInternal: this.requestFunctionFactory(descriptors.contributorRejectContributorInternal),
332
+ /** Accept a contributor verification request */
333
+ contributorVerifyContributorInternal: this.requestFunctionFactory(descriptors.contributorVerifyContributorInternal),
330
334
  };
331
335
  /** The conversation API allows you to manage your support conversations. */
332
336
  conversation = {
@@ -2608,3 +2608,15 @@ export const sslDeleteCertificate = {
2608
2608
  method: "DELETE",
2609
2609
  operationId: "ssl-delete-certificate",
2610
2610
  };
2611
+ /** Reject a contributor verification request. */
2612
+ export const contributorRejectContributorInternal = {
2613
+ path: "/internal-v2/contributors/{contributorId}/actions/reject",
2614
+ method: "POST",
2615
+ operationId: "contributor-reject-contributor-internal",
2616
+ };
2617
+ /** Accept a contributor verification request */
2618
+ export const contributorVerifyContributorInternal = {
2619
+ path: "/internal-v2/contributors/{contributorId}/actions/verify",
2620
+ method: "POST",
2621
+ operationId: "contributor-verify-contributor-internal",
2622
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.264.0';
1
+ export const MittwaldAPIClientVersion = '4.266.0';
@@ -10673,6 +10673,94 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10673
10673
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10674
10674
  [x: string]: unknown;
10675
10675
  }, 429, "application/json">>>;
10676
+ /** Reject a contributor verification request. */
10677
+ contributorRejectContributorInternal: (request: {
10678
+ contributorId: string;
10679
+ headers?: {
10680
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10681
+ "x-access-token"?: string | undefined;
10682
+ } | undefined;
10683
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10684
+ headers?: Partial<{
10685
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10686
+ }>;
10687
+ } & {
10688
+ pathParameters: {
10689
+ contributorId: string;
10690
+ };
10691
+ } & {
10692
+ headers: {
10693
+ "x-access-token"?: string | undefined;
10694
+ } & Partial<{
10695
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10696
+ }>;
10697
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "empty"> | import("@mittwald/api-client-commons").Response<{
10698
+ [x: string]: unknown;
10699
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10700
+ [x: string]: unknown;
10701
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10702
+ headers?: Partial<{
10703
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10704
+ }>;
10705
+ } & {
10706
+ pathParameters: {
10707
+ contributorId: string;
10708
+ };
10709
+ } & {
10710
+ headers: {
10711
+ "x-access-token"?: string | undefined;
10712
+ } & Partial<{
10713
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10714
+ }>;
10715
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "empty"> | import("@mittwald/api-client-commons").Response<{
10716
+ [x: string]: unknown;
10717
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10718
+ [x: string]: unknown;
10719
+ }, 429, "application/json">>>;
10720
+ /** Accept a contributor verification request */
10721
+ contributorVerifyContributorInternal: (request: {
10722
+ contributorId: string;
10723
+ headers?: {
10724
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10725
+ "x-access-token"?: string | undefined;
10726
+ } | undefined;
10727
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10728
+ headers?: Partial<{
10729
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10730
+ }>;
10731
+ } & {
10732
+ pathParameters: {
10733
+ contributorId: string;
10734
+ };
10735
+ } & {
10736
+ headers: {
10737
+ "x-access-token"?: string | undefined;
10738
+ } & Partial<{
10739
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10740
+ }>;
10741
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "empty"> | import("@mittwald/api-client-commons").Response<{
10742
+ [x: string]: unknown;
10743
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10744
+ [x: string]: unknown;
10745
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10746
+ headers?: Partial<{
10747
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10748
+ }>;
10749
+ } & {
10750
+ pathParameters: {
10751
+ contributorId: string;
10752
+ };
10753
+ } & {
10754
+ headers: {
10755
+ "x-access-token"?: string | undefined;
10756
+ } & Partial<{
10757
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10758
+ }>;
10759
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "empty"> | import("@mittwald/api-client-commons").Response<{
10760
+ [x: string]: unknown;
10761
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10762
+ [x: string]: unknown;
10763
+ }, 429, "application/json">>>;
10676
10764
  };
10677
10765
  /** The conversation API allows you to manage your support conversations. */
10678
10766
  readonly conversation: {
@@ -873,3 +873,7 @@ export declare const sslListCertificates: OpenAPIOperation<RequestType<Simplify<
873
873
  export declare const sslDeleteCertificateRequest: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificateRequestCertificateRequestId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
874
874
  /** Delete a Certificate. */
875
875
  export declare const sslDeleteCertificate: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificateCertificateId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
876
+ /** Reject a contributor verification request. */
877
+ export declare const contributorRejectContributorInternal: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsReject.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
878
+ /** Accept a contributor verification request */
879
+ export declare const contributorVerifyContributorInternal: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2ContributorsContributorIdActionsVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1742,6 +1742,14 @@ export declare namespace MittwaldAPIV2 {
1742
1742
  type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificate>;
1743
1743
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificate, TStatus>;
1744
1744
  }
1745
+ namespace ContributorRejectContributorInternal {
1746
+ type RequestData = InferredRequestData<typeof descriptors.contributorRejectContributorInternal>;
1747
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRejectContributorInternal, TStatus>;
1748
+ }
1749
+ namespace ContributorVerifyContributorInternal {
1750
+ type RequestData = InferredRequestData<typeof descriptors.contributorVerifyContributorInternal>;
1751
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorVerifyContributorInternal, TStatus>;
1752
+ }
1745
1753
  }
1746
1754
  namespace Components {
1747
1755
  namespace Schemas {
@@ -3636,6 +3644,7 @@ export declare namespace MittwaldAPIV2 {
3636
3644
  logoRefId?: string;
3637
3645
  name: string;
3638
3646
  pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
3647
+ pricingDetails?: MittwaldAPIV2.Components.Schemas.MarketplacePricePlanDetails;
3639
3648
  /**
3640
3649
  * Whether the extension has been published by the contributor.
3641
3650
  */
@@ -5407,10 +5416,6 @@ export declare namespace MittwaldAPIV2 {
5407
5416
  }
5408
5417
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5409
5418
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5410
- interface SslCheckReplaceDateChange {
5411
- newValue: string;
5412
- oldValue: string;
5413
- }
5414
5419
  interface SslContact {
5415
5420
  city?: string;
5416
5421
  company?: string;
@@ -5421,6 +5426,10 @@ export declare namespace MittwaldAPIV2 {
5421
5426
  organizationalUnit?: string;
5422
5427
  state?: string;
5423
5428
  }
5429
+ interface SslCheckReplaceDateChange {
5430
+ newValue: string;
5431
+ oldValue: string;
5432
+ }
5424
5433
  type SslCertificateType = 0 | 1 | 2;
5425
5434
  interface SslCertificateRequestCreateResponse {
5426
5435
  commonName?: string;
@@ -5437,11 +5446,6 @@ export declare namespace MittwaldAPIV2 {
5437
5446
  certificate?: string;
5438
5447
  signingRequest?: string;
5439
5448
  }
5440
- interface SslCheckReplaceCertificateResponse {
5441
- changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5442
- errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5443
- isReplaceable: boolean;
5444
- }
5445
5449
  interface SslCheckReplaceSliceChange {
5446
5450
  addedValues: string[];
5447
5451
  removedValues: string[];
@@ -5454,6 +5458,11 @@ export declare namespace MittwaldAPIV2 {
5454
5458
  validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5455
5459
  validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5456
5460
  }
5461
+ interface SslCheckReplaceCertificateResponse {
5462
+ changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5463
+ errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5464
+ isReplaceable: boolean;
5465
+ }
5457
5466
  interface SslCertificateRequestCreateRequest {
5458
5467
  certificate: string;
5459
5468
  privateKey: string;
@@ -5478,10 +5487,6 @@ export declare namespace MittwaldAPIV2 {
5478
5487
  contact: MittwaldAPIV2.Components.Schemas.SslContact;
5479
5488
  projectId: string;
5480
5489
  }
5481
- interface SslCheckReplaceFieldChange {
5482
- newValue: string;
5483
- oldValue: string;
5484
- }
5485
5490
  interface SslCertificate {
5486
5491
  caBundle?: string;
5487
5492
  certificate: string;
@@ -5499,6 +5504,10 @@ export declare namespace MittwaldAPIV2 {
5499
5504
  validFrom: string;
5500
5505
  validTo: string;
5501
5506
  }
5507
+ interface SslCheckReplaceFieldChange {
5508
+ newValue: string;
5509
+ oldValue: string;
5510
+ }
5502
5511
  interface SslCertificateError {
5503
5512
  message: "certificate_read_failed" | "certificate_decode_failed" | "certificate_parsing_failed" | "certificate_self_signed" | "certificate_not_authorized_to_sign" | "certificate_expired" | "ca_not_authorized_for_this_name" | "too_many_intermediates" | "incompatible_usage" | "unknown_authority" | "private_key_read_failed" | "private_key_decode_failed" | "private_key_parse_failed" | "private_key_encrypted" | "private_key_not_rsa" | "private_key_mismatch" | "unknown_cloudflare_error" | "unknown";
5504
5513
  }
@@ -27754,5 +27763,83 @@ export declare namespace MittwaldAPIV2 {
27754
27763
  }
27755
27764
  }
27756
27765
  }
27766
+ namespace InternalV2ContributorsContributorIdActionsReject {
27767
+ namespace Post {
27768
+ namespace Parameters {
27769
+ type Path = {
27770
+ contributorId: string;
27771
+ };
27772
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27773
+ type Query = {};
27774
+ }
27775
+ namespace Responses {
27776
+ namespace $201 {
27777
+ namespace Content {
27778
+ type Empty = unknown;
27779
+ }
27780
+ }
27781
+ namespace $400 {
27782
+ namespace Content {
27783
+ interface ApplicationJson {
27784
+ [k: string]: unknown;
27785
+ }
27786
+ }
27787
+ }
27788
+ namespace $429 {
27789
+ namespace Content {
27790
+ interface ApplicationJson {
27791
+ [k: string]: unknown;
27792
+ }
27793
+ }
27794
+ }
27795
+ namespace Default {
27796
+ namespace Content {
27797
+ interface ApplicationJson {
27798
+ [k: string]: unknown;
27799
+ }
27800
+ }
27801
+ }
27802
+ }
27803
+ }
27804
+ }
27805
+ namespace InternalV2ContributorsContributorIdActionsVerify {
27806
+ namespace Post {
27807
+ namespace Parameters {
27808
+ type Path = {
27809
+ contributorId: string;
27810
+ };
27811
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27812
+ type Query = {};
27813
+ }
27814
+ namespace Responses {
27815
+ namespace $201 {
27816
+ namespace Content {
27817
+ type Empty = unknown;
27818
+ }
27819
+ }
27820
+ namespace $400 {
27821
+ namespace Content {
27822
+ interface ApplicationJson {
27823
+ [k: string]: unknown;
27824
+ }
27825
+ }
27826
+ }
27827
+ namespace $429 {
27828
+ namespace Content {
27829
+ interface ApplicationJson {
27830
+ [k: string]: unknown;
27831
+ }
27832
+ }
27833
+ }
27834
+ namespace Default {
27835
+ namespace Content {
27836
+ interface ApplicationJson {
27837
+ [k: string]: unknown;
27838
+ }
27839
+ }
27840
+ }
27841
+ }
27842
+ }
27843
+ }
27757
27844
  }
27758
27845
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.264.0';
1
+ export declare const MittwaldAPIClientVersion = '4.266.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.265.0",
3
+ "version": "4.267.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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.265.0",
49
+ "@mittwald/api-client-commons": "^4.267.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.265.0",
53
+ "@mittwald/api-code-generator": "^4.267.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "daf85b82f19bb3b4131623117a57ac81fac5e10a"
83
+ "gitHead": "30ebc0643f0b946ee91b3c2b66e2ba3b95411940"
84
84
  }