@mittwald/api-client 4.228.0 → 4.229.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.
@@ -317,6 +317,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
317
317
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
318
318
  /** Get the link to update the marketplace payment method */
319
319
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
320
+ /** Start the verification process of a contributor. */
321
+ contributorRequestVerification: this.requestFunctionFactory(descriptors.contributorRequestVerification),
320
322
  };
321
323
  /** The conversation API allows you to manage your support conversations. */
322
324
  conversation = {
@@ -2542,3 +2542,9 @@ export const verificationVerifyCompany = {
2542
2542
  method: "POST",
2543
2543
  operationId: "verification-verify-company",
2544
2544
  };
2545
+ /** Start the verification process of a contributor. */
2546
+ export const contributorRequestVerification = {
2547
+ path: "/v2/contributors/{contributorId}/verification-process",
2548
+ method: "POST",
2549
+ operationId: "contributor-request-verification",
2550
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.227.0';
1
+ export const MittwaldAPIClientVersion = '4.228.0';
@@ -6319,6 +6319,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6319
6319
  inherited: boolean;
6320
6320
  };
6321
6321
  url?: string | undefined;
6322
+ verificationRequested: boolean;
6323
+ verified: boolean;
6322
6324
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6323
6325
  [x: string]: unknown;
6324
6326
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -6370,6 +6372,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6370
6372
  inherited: boolean;
6371
6373
  };
6372
6374
  url?: string | undefined;
6375
+ verificationRequested: boolean;
6376
+ verified: boolean;
6373
6377
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6374
6378
  [x: string]: unknown;
6375
6379
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -10255,6 +10259,50 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10255
10259
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
10256
10260
  [x: string]: unknown;
10257
10261
  }, 429, "application/json">>>;
10262
+ /** Start the verification process of a contributor. */
10263
+ contributorRequestVerification: (request: {
10264
+ contributorId: string;
10265
+ headers?: {
10266
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
10267
+ "x-access-token"?: string | undefined;
10268
+ } | undefined;
10269
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10270
+ headers?: Partial<{
10271
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10272
+ }>;
10273
+ } & {
10274
+ pathParameters: {
10275
+ contributorId: string;
10276
+ };
10277
+ } & {
10278
+ headers: {
10279
+ "x-access-token"?: string | undefined;
10280
+ } & Partial<{
10281
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10282
+ }>;
10283
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
10284
+ [x: string]: unknown;
10285
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10286
+ [x: string]: unknown;
10287
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10288
+ headers?: Partial<{
10289
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10290
+ }>;
10291
+ } & {
10292
+ pathParameters: {
10293
+ contributorId: string;
10294
+ };
10295
+ } & {
10296
+ headers: {
10297
+ "x-access-token"?: string | undefined;
10298
+ } & Partial<{
10299
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
10300
+ }>;
10301
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
10302
+ [x: string]: unknown;
10303
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
10304
+ [x: string]: unknown;
10305
+ }, 429, "application/json">>>;
10258
10306
  };
10259
10307
  /** The conversation API allows you to manage your support conversations. */
10260
10308
  readonly conversation: {
@@ -851,3 +851,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
851
851
  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">>;
852
852
  /** Check if a company exists. */
853
853
  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">>;
854
+ /** Start the verification process of a contributor. */
855
+ export declare const contributorRequestVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdVerificationProcess.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1698,6 +1698,10 @@ export declare namespace MittwaldAPIV2 {
1698
1698
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1699
1699
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1700
1700
  }
1701
+ namespace ContributorRequestVerification {
1702
+ type RequestData = InferredRequestData<typeof descriptors.contributorRequestVerification>;
1703
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRequestVerification, TStatus>;
1704
+ }
1701
1705
  }
1702
1706
  namespace Components {
1703
1707
  namespace Schemas {
@@ -3087,6 +3091,8 @@ export declare namespace MittwaldAPIV2 {
3087
3091
  } | {
3088
3092
  url: string;
3089
3093
  };
3094
+ /**
3095
+ */
3090
3096
  type MarketplaceContributorState = "enabled" | "disabled";
3091
3097
  interface MarketplaceExtension {
3092
3098
  /**
@@ -3120,6 +3126,9 @@ export declare namespace MittwaldAPIV2 {
3120
3126
  */
3121
3127
  description: string;
3122
3128
  detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
3129
+ /**
3130
+ * @deprecated
3131
+ */
3123
3132
  disabled: boolean;
3124
3133
  externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
3125
3134
  /**
@@ -3335,6 +3344,8 @@ export declare namespace MittwaldAPIV2 {
3335
3344
  * @deprecated
3336
3345
  */
3337
3346
  url?: string;
3347
+ verificationRequested: boolean;
3348
+ verified: boolean;
3338
3349
  }
3339
3350
  interface MarketplaceOwnExtension {
3340
3351
  assets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
@@ -3348,6 +3359,9 @@ export declare namespace MittwaldAPIV2 {
3348
3359
  deprecation?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation;
3349
3360
  description?: string;
3350
3361
  detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
3362
+ /**
3363
+ * @deprecated
3364
+ */
3351
3365
  disabled?: boolean;
3352
3366
  externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
3353
3367
  /**
@@ -3374,6 +3388,7 @@ export declare namespace MittwaldAPIV2 {
3374
3388
  scopes?: string[];
3375
3389
  secrets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
3376
3390
  /**
3391
+ * @deprecated
3377
3392
  * deprecated
3378
3393
  */
3379
3394
  state?: "enabled" | "blocked" | "disabled";
@@ -26908,5 +26923,44 @@ export declare namespace MittwaldAPIV2 {
26908
26923
  }
26909
26924
  }
26910
26925
  }
26926
+ namespace V2ContributorsContributorIdVerificationProcess {
26927
+ namespace Post {
26928
+ namespace Parameters {
26929
+ type Path = {
26930
+ contributorId: string;
26931
+ };
26932
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26933
+ type Query = {};
26934
+ }
26935
+ namespace Responses {
26936
+ namespace $204 {
26937
+ namespace Content {
26938
+ type Empty = unknown;
26939
+ }
26940
+ }
26941
+ namespace $400 {
26942
+ namespace Content {
26943
+ interface ApplicationJson {
26944
+ [k: string]: unknown;
26945
+ }
26946
+ }
26947
+ }
26948
+ namespace $429 {
26949
+ namespace Content {
26950
+ interface ApplicationJson {
26951
+ [k: string]: unknown;
26952
+ }
26953
+ }
26954
+ }
26955
+ namespace Default {
26956
+ namespace Content {
26957
+ interface ApplicationJson {
26958
+ [k: string]: unknown;
26959
+ }
26960
+ }
26961
+ }
26962
+ }
26963
+ }
26964
+ }
26911
26965
  }
26912
26966
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.227.0';
1
+ export declare const MittwaldAPIClientVersion = '4.228.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.228.0",
3
+ "version": "4.229.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": "4efe0945dd52159ccb10dad758cd2fd554b1c30a"
83
+ "gitHead": "2fe2448140acac6e0f5ddd4e6bf220f5f394232c"
84
84
  }