@mittwald/api-client 4.89.0 → 4.91.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 = {
@@ -1000,6 +1000,12 @@ export const extensionListExtensions = {
1000
1000
  method: "GET",
1001
1001
  operationId: "extension-list-extensions",
1002
1002
  };
1003
+ /** List Extensions of own contributor. */
1004
+ export const extensionListOwnExtensions = {
1005
+ path: "/v2/contributors/{contributorId}/extensions",
1006
+ method: "GET",
1007
+ operationId: "extension-list-own-extensions",
1008
+ };
1003
1009
  /** Create a File. */
1004
1010
  export const fileCreateFile = {
1005
1011
  path: "/v2/files",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.88.0';
1
+ export const MittwaldAPIClientVersion = '4.90.0';
@@ -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: {
@@ -337,6 +337,8 @@ export declare const extensionGetPublicKey: OpenAPIOperation<RequestType<Simplif
337
337
  export declare const extensionListContributors: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
338
338
  /** List Extensions. */
339
339
  export declare const extensionListExtensions: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
340
+ /** List Extensions of own contributor. */
341
+ 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">>;
340
342
  /** Create a File. */
341
343
  export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$406.Content.ApplicationJson>, 406, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$422.Content.ApplicationJson>, 422, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
342
344
  /** Get a File's meta. */
@@ -670,6 +670,10 @@ export declare namespace MittwaldAPIV2 {
670
670
  type RequestData = InferredRequestData<typeof descriptors.extensionListExtensions>;
671
671
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionListExtensions, TStatus>;
672
672
  }
673
+ namespace ExtensionListOwnExtensions {
674
+ type RequestData = InferredRequestData<typeof descriptors.extensionListOwnExtensions>;
675
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionListOwnExtensions, TStatus>;
676
+ }
673
677
  namespace FileCreateFile {
674
678
  type RequestData = InferredRequestData<typeof descriptors.fileCreateFile>;
675
679
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileCreateFile, TStatus>;
@@ -1831,6 +1835,57 @@ export declare namespace MittwaldAPIV2 {
1831
1835
  domain: "extension";
1832
1836
  id: string;
1833
1837
  };
1838
+ interface ConversationServiceRequestRelocationPayload {
1839
+ contact: {
1840
+ email: string;
1841
+ firstname: string;
1842
+ lastname: string;
1843
+ phone?: string;
1844
+ };
1845
+ domain?: {
1846
+ allDomains?: boolean;
1847
+ domains?: {
1848
+ authCode?: string;
1849
+ domainName?: string;
1850
+ }[];
1851
+ };
1852
+ notes?: string;
1853
+ preferredRelocationDate?: string;
1854
+ redirectusKey: number;
1855
+ source: {
1856
+ providerName: string;
1857
+ providerPassword: string;
1858
+ providerUrl: string;
1859
+ providerUsername: string;
1860
+ sourceAccount: string;
1861
+ };
1862
+ target: {
1863
+ accountShortId: string;
1864
+ application?: string;
1865
+ articleType: string;
1866
+ organisation: string;
1867
+ prices?: {
1868
+ name?: string;
1869
+ price?: number;
1870
+ }[];
1871
+ product: string;
1872
+ withDataCompare?: boolean;
1873
+ };
1874
+ userId: string;
1875
+ }
1876
+ interface ConversationServiceRequest {
1877
+ conversationId: string;
1878
+ createdAt: string;
1879
+ /**
1880
+ * @maxItems 0
1881
+ */
1882
+ files?: [];
1883
+ internal: boolean;
1884
+ messageContent: "relocation" | "call";
1885
+ messageId: string;
1886
+ meta: MittwaldAPIV2.Components.Schemas.ConversationServiceRequestRelocationPayload;
1887
+ type: "SERVICE_REQUEST";
1888
+ }
1834
1889
  type ConversationShareableAggregateReference = {
1835
1890
  aggregate: "user";
1836
1891
  domain: "user";
@@ -2466,6 +2521,34 @@ export declare namespace MittwaldAPIV2 {
2466
2521
  */
2467
2522
  tags?: string[];
2468
2523
  }
2524
+ interface MarketplaceOwnExtension {
2525
+ backendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents;
2526
+ /**
2527
+ * @deprecated
2528
+ */
2529
+ blocked?: boolean;
2530
+ context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
2531
+ contributorId: string;
2532
+ description?: string;
2533
+ detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
2534
+ disabled?: boolean;
2535
+ frontendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
2536
+ frontendFragments?: {
2537
+ [k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
2538
+ };
2539
+ id: string;
2540
+ name: string;
2541
+ scopes?: string[];
2542
+ /**
2543
+ * deprecated
2544
+ */
2545
+ state?: "enabled" | "blocked" | "disabled";
2546
+ support?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
2547
+ /**
2548
+ * @minItems 0
2549
+ */
2550
+ tags?: string[];
2551
+ }
2469
2552
  interface MarketplacePublicKey {
2470
2553
  algorithm: string;
2471
2554
  /**
@@ -3774,6 +3857,11 @@ export declare namespace MittwaldAPIV2 {
3774
3857
  notificationThresholdInBytes?: number;
3775
3858
  statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
3776
3859
  }
3860
+ interface TaskAggregateReference {
3861
+ aggregate: string;
3862
+ domain: string;
3863
+ id: string;
3864
+ }
3777
3865
  interface SignupAccount {
3778
3866
  email?: string;
3779
3867
  /**
@@ -4002,62 +4090,6 @@ export declare namespace MittwaldAPIV2 {
4002
4090
  name: string;
4003
4091
  value: string;
4004
4092
  }
4005
- interface TaskAggregateReference {
4006
- aggregate: string;
4007
- domain: string;
4008
- id: string;
4009
- }
4010
- interface ConversationServiceRequest {
4011
- conversationId: string;
4012
- createdAt: string;
4013
- /**
4014
- * @maxItems 0
4015
- */
4016
- files?: [];
4017
- internal: boolean;
4018
- messageContent: "relocation" | "call";
4019
- messageId: string;
4020
- meta: MittwaldAPIV2.Components.Schemas.ConversationServiceRequestRelocationPayload;
4021
- type: "SERVICE_REQUEST";
4022
- }
4023
- interface ConversationServiceRequestRelocationPayload {
4024
- contact: {
4025
- email: string;
4026
- firstname: string;
4027
- lastname: string;
4028
- phone?: string;
4029
- };
4030
- domain?: {
4031
- allDomains?: boolean;
4032
- domains?: {
4033
- authCode?: string;
4034
- domainName?: string;
4035
- }[];
4036
- };
4037
- notes?: string;
4038
- preferredRelocationDate?: string;
4039
- redirectusKey: number;
4040
- source: {
4041
- providerName: string;
4042
- providerPassword: string;
4043
- providerUrl: string;
4044
- providerUsername: string;
4045
- sourceAccount: string;
4046
- };
4047
- target: {
4048
- accountShortId: string;
4049
- application?: string;
4050
- articleType: string;
4051
- organisation: string;
4052
- prices?: {
4053
- name?: string;
4054
- price?: number;
4055
- }[];
4056
- product: string;
4057
- withDataCompare?: boolean;
4058
- };
4059
- userId: string;
4060
- }
4061
4093
  interface CommonsAddress {
4062
4094
  street: string;
4063
4095
  houseNumber: string;
@@ -12000,6 +12032,42 @@ export declare namespace MittwaldAPIV2 {
12000
12032
  }
12001
12033
  }
12002
12034
  }
12035
+ namespace V2ContributorsContributorIdExtensions {
12036
+ namespace Get {
12037
+ namespace Parameters {
12038
+ type Path = {
12039
+ contributorId: string;
12040
+ };
12041
+ type Header = {};
12042
+ type Query = {
12043
+ limit?: number;
12044
+ skip?: number;
12045
+ page?: number;
12046
+ };
12047
+ }
12048
+ namespace Responses {
12049
+ namespace $200 {
12050
+ namespace Content {
12051
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[];
12052
+ }
12053
+ }
12054
+ namespace $429 {
12055
+ namespace Content {
12056
+ interface ApplicationJson {
12057
+ [k: string]: unknown;
12058
+ }
12059
+ }
12060
+ }
12061
+ namespace Default {
12062
+ namespace Content {
12063
+ interface ApplicationJson {
12064
+ [k: string]: unknown;
12065
+ }
12066
+ }
12067
+ }
12068
+ }
12069
+ }
12070
+ }
12003
12071
  namespace V2Files {
12004
12072
  namespace Post {
12005
12073
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.88.0';
1
+ export declare const MittwaldAPIClientVersion = '4.90.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.89.0",
3
+ "version": "4.91.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": "f5befe8768968824b41e873160a28f9fdfa6dbfb"
83
+ "gitHead": "0e6e0af14ba2d14907b7516b6a079f679b59bcb7"
84
84
  }