@mittwald/api-client 4.88.0 → 4.90.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.
@@ -208,6 +208,8 @@ const buildMarketplaceApi = (baseClient) => ({
208
208
  extensionListContributors: new ApiCallAsyncResourceFactory(descriptors.extensionListContributors, baseClient.marketplace.extensionListContributors).getApiResource,
209
209
  /** List Extensions. */
210
210
  extensionListExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListExtensions, baseClient.marketplace.extensionListExtensions).getApiResource,
211
+ /** List Extensions of own contributor. */
212
+ extensionListOwnExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListOwnExtensions, baseClient.marketplace.extensionListOwnExtensions).getApiResource,
211
213
  });
212
214
  const buildFileApi = (baseClient) => ({
213
215
  /** Get a File's meta. */
@@ -184,6 +184,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
184
184
  extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
185
185
  /** List Extensions. */
186
186
  extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
187
+ /** List Extensions of own contributor. */
188
+ extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
187
189
  };
188
190
  /** The conversation API allows you to manage your support conversations. */
189
191
  conversation = {
@@ -2038,3 +2038,9 @@ export const verificationVerifyCompany = {
2038
2038
  method: "POST",
2039
2039
  operationId: "verification-verify-company",
2040
2040
  };
2041
+ /** List Extensions of own contributor. */
2042
+ export const extensionListOwnExtensions = {
2043
+ path: "/v2/contributors/{contributorId}/extensions",
2044
+ method: "GET",
2045
+ operationId: "extension-list-own-extensions",
2046
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.87.0';
1
+ export const MittwaldAPIClientVersion = '4.89.0';
@@ -655,7 +655,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
655
655
  headers?: {
656
656
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
657
657
  } | undefined;
658
- }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[]>;
658
+ }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[]>;
659
659
  /** Get a specific conversation category. */
660
660
  getCategory: (conf: {
661
661
  categoryId: string;
@@ -1510,6 +1510,19 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1510
1510
  page?: number | undefined;
1511
1511
  } | undefined;
1512
1512
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
1513
+ /** List Extensions of own contributor. */
1514
+ extensionListOwnExtensions: (conf: {
1515
+ contributorId: string;
1516
+ headers?: {
1517
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1518
+ } | undefined;
1519
+ queryParameters?: {
1520
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1521
+ limit?: number | undefined;
1522
+ skip?: number | undefined;
1523
+ page?: number | undefined;
1524
+ } | undefined;
1525
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
1513
1526
  };
1514
1527
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1515
1528
  /** Get a File's meta. */
@@ -5255,6 +5255,55 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5255
5255
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5256
5256
  [x: string]: unknown;
5257
5257
  }, 429, "application/json">>>;
5258
+ /** List Extensions of own contributor. */
5259
+ extensionListOwnExtensions: (request: {
5260
+ contributorId: string;
5261
+ headers?: {
5262
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5263
+ } | undefined;
5264
+ queryParameters?: {
5265
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5266
+ limit?: number | undefined;
5267
+ skip?: number | undefined;
5268
+ page?: number | undefined;
5269
+ } | undefined;
5270
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5271
+ headers?: Partial<{
5272
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5273
+ }>;
5274
+ } & {
5275
+ pathParameters: {
5276
+ contributorId: string;
5277
+ };
5278
+ } & {
5279
+ queryParameters: {
5280
+ limit?: number | undefined;
5281
+ skip?: number | undefined;
5282
+ page?: number | undefined;
5283
+ } & Partial<{
5284
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5285
+ }>;
5286
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5287
+ [x: string]: unknown;
5288
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5289
+ headers?: Partial<{
5290
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5291
+ }>;
5292
+ } & {
5293
+ pathParameters: {
5294
+ contributorId: string;
5295
+ };
5296
+ } & {
5297
+ queryParameters: {
5298
+ limit?: number | undefined;
5299
+ skip?: number | undefined;
5300
+ page?: number | undefined;
5301
+ } & Partial<{
5302
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5303
+ }>;
5304
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5305
+ [x: string]: unknown;
5306
+ }, 429, "application/json">>>;
5258
5307
  };
5259
5308
  /** The conversation API allows you to manage your support conversations. */
5260
5309
  readonly conversation: {
@@ -5382,7 +5431,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5382
5431
  pathParameters: {
5383
5432
  conversationId: string;
5384
5433
  };
5385
- }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5434
+ }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5386
5435
  [x: string]: unknown;
5387
5436
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5388
5437
  [x: string]: unknown;
@@ -5396,7 +5445,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5396
5445
  pathParameters: {
5397
5446
  conversationId: string;
5398
5447
  };
5399
- }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5448
+ }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5400
5449
  [x: string]: unknown;
5401
5450
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5402
5451
  [x: string]: unknown;
@@ -683,3 +683,5 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
683
683
  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">>;
684
684
  /** Check if a company exists. */
685
685
  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">>;
686
+ /** List Extensions of own contributor. */
687
+ export declare const extensionListOwnExtensions: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1362,6 +1362,10 @@ export declare namespace MittwaldAPIV2 {
1362
1362
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1363
1363
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1364
1364
  }
1365
+ namespace ExtensionListOwnExtensions {
1366
+ type RequestData = InferredRequestData<typeof descriptors.extensionListOwnExtensions>;
1367
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionListOwnExtensions, TStatus>;
1368
+ }
1365
1369
  }
1366
1370
  namespace Components {
1367
1371
  namespace Schemas {
@@ -1780,10 +1784,6 @@ export declare namespace MittwaldAPIV2 {
1780
1784
  shortId: string;
1781
1785
  }
1782
1786
  type ConversationDepartment = "development" | "mail" | "accounting" | "cloudHosting" | "customerService" | "generic";
1783
- interface ConversationDepartmentWithStatus {
1784
- department: MittwaldAPIV2.Components.Schemas.ConversationDepartment;
1785
- status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
1786
- }
1787
1787
  interface ConversationError {
1788
1788
  message: string;
1789
1789
  type: string;
@@ -1809,7 +1809,7 @@ export declare namespace MittwaldAPIV2 {
1809
1809
  messageId: string;
1810
1810
  type: "MESSAGE";
1811
1811
  }
1812
- type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "project_email_admin" | "project_external";
1812
+ type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "project_emailadmin" | "project_external";
1813
1813
  type ConversationRelatedAggregateReference = {
1814
1814
  aggregate: "user";
1815
1815
  domain: "user";
@@ -4006,6 +4006,90 @@ export declare namespace MittwaldAPIV2 {
4006
4006
  name: string;
4007
4007
  value: string;
4008
4008
  }
4009
+ interface TaskAggregateReference {
4010
+ aggregate: string;
4011
+ domain: string;
4012
+ id: string;
4013
+ }
4014
+ interface ConversationServiceRequest {
4015
+ conversationId: string;
4016
+ createdAt: string;
4017
+ /**
4018
+ * @maxItems 0
4019
+ */
4020
+ files?: [];
4021
+ internal: boolean;
4022
+ messageContent: "relocation" | "call";
4023
+ messageId: string;
4024
+ meta: MittwaldAPIV2.Components.Schemas.ConversationServiceRequestRelocationPayload;
4025
+ type: "SERVICE_REQUEST";
4026
+ }
4027
+ interface ConversationServiceRequestRelocationPayload {
4028
+ contact: {
4029
+ email: string;
4030
+ firstname: string;
4031
+ lastname: string;
4032
+ phone?: string;
4033
+ };
4034
+ domain?: {
4035
+ allDomains?: boolean;
4036
+ domains?: {
4037
+ authCode?: string;
4038
+ domainName?: string;
4039
+ }[];
4040
+ };
4041
+ notes?: string;
4042
+ preferredRelocationDate?: string;
4043
+ redirectusKey: number;
4044
+ source: {
4045
+ providerName: string;
4046
+ providerPassword: string;
4047
+ providerUrl: string;
4048
+ providerUsername: string;
4049
+ sourceAccount: string;
4050
+ };
4051
+ target: {
4052
+ accountShortId: string;
4053
+ application?: string;
4054
+ articleType: string;
4055
+ organisation: string;
4056
+ prices?: {
4057
+ name?: string;
4058
+ price?: number;
4059
+ }[];
4060
+ product: string;
4061
+ withDataCompare?: boolean;
4062
+ };
4063
+ userId: string;
4064
+ }
4065
+ interface MarketplaceOwnExtension {
4066
+ backendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents;
4067
+ /**
4068
+ * @deprecated
4069
+ */
4070
+ blocked?: boolean;
4071
+ context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
4072
+ contributorId: string;
4073
+ description?: string;
4074
+ detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
4075
+ disabled?: boolean;
4076
+ frontendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
4077
+ frontendFragments?: {
4078
+ [k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
4079
+ };
4080
+ id: string;
4081
+ name: string;
4082
+ scopes?: string[];
4083
+ /**
4084
+ * deprecated
4085
+ */
4086
+ state?: "enabled" | "blocked" | "disabled";
4087
+ support?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
4088
+ /**
4089
+ * @minItems 0
4090
+ */
4091
+ tags?: string[];
4092
+ }
4009
4093
  interface CommonsAddress {
4010
4094
  street: string;
4011
4095
  houseNumber: string;
@@ -6698,7 +6782,7 @@ export declare namespace MittwaldAPIV2 {
6698
6782
  namespace Responses {
6699
6783
  namespace $200 {
6700
6784
  namespace Content {
6701
- type ApplicationJson = (MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[];
6785
+ type ApplicationJson = (MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[];
6702
6786
  }
6703
6787
  }
6704
6788
  namespace $403 {
@@ -20584,5 +20668,41 @@ export declare namespace MittwaldAPIV2 {
20584
20668
  }
20585
20669
  }
20586
20670
  }
20671
+ namespace V2ContributorsContributorIdExtensions {
20672
+ namespace Get {
20673
+ namespace Parameters {
20674
+ type Path = {
20675
+ contributorId: string;
20676
+ };
20677
+ type Header = {};
20678
+ type Query = {
20679
+ limit?: number;
20680
+ skip?: number;
20681
+ page?: number;
20682
+ };
20683
+ }
20684
+ namespace Responses {
20685
+ namespace $200 {
20686
+ namespace Content {
20687
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[];
20688
+ }
20689
+ }
20690
+ namespace $429 {
20691
+ namespace Content {
20692
+ interface ApplicationJson {
20693
+ [k: string]: unknown;
20694
+ }
20695
+ }
20696
+ }
20697
+ namespace Default {
20698
+ namespace Content {
20699
+ interface ApplicationJson {
20700
+ [k: string]: unknown;
20701
+ }
20702
+ }
20703
+ }
20704
+ }
20705
+ }
20706
+ }
20587
20707
  }
20588
20708
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.87.0';
1
+ export declare const MittwaldAPIClientVersion = '4.89.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.88.0",
3
+ "version": "4.90.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": "77e56046e77881ff002a6f4ee67641f1117d9b46"
83
+ "gitHead": "21774263942b857e7c081f9f431571c21feae0c2"
84
84
  }