@mittwald/api-client 4.82.0 → 4.84.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.
@@ -204,6 +204,10 @@ const buildMarketplaceApi = (baseClient) => ({
204
204
  extensionListContributors: new ApiCallAsyncResourceFactory(descriptors.extensionListContributors, baseClient.marketplace.extensionListContributors).getApiResource,
205
205
  /** List Extensions. */
206
206
  extensionListExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListExtensions, baseClient.marketplace.extensionListExtensions).getApiResource,
207
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
208
+ extensionGetExtensionInstanceForCustomer: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtensionInstanceForCustomer, baseClient.marketplace.extensionGetExtensionInstanceForCustomer).getApiResource,
209
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
210
+ extensionGetExtensionInstanceForProject: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtensionInstanceForProject, baseClient.marketplace.extensionGetExtensionInstanceForProject).getApiResource,
207
211
  });
208
212
  const buildFileApi = (baseClient) => ({
209
213
  /** Get a File's meta. */
@@ -180,6 +180,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
180
180
  extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
181
181
  /** List Extensions. */
182
182
  extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
183
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
184
+ extensionGetExtensionInstanceForCustomer: this.requestFunctionFactory(descriptors.extensionGetExtensionInstanceForCustomer),
185
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
186
+ extensionGetExtensionInstanceForProject: this.requestFunctionFactory(descriptors.extensionGetExtensionInstanceForProject),
183
187
  };
184
188
  /** The conversation API allows you to manage your support conversations. */
185
189
  conversation = {
@@ -2026,3 +2026,15 @@ export const verificationVerifyCompany = {
2026
2026
  method: "POST",
2027
2027
  operationId: "verification-verify-company",
2028
2028
  };
2029
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
2030
+ export const extensionGetExtensionInstanceForCustomer = {
2031
+ path: "/v2/customers/{customerId}/extensions/{extensionId}",
2032
+ method: "GET",
2033
+ operationId: "extension-get-extension-instance-for-customer",
2034
+ };
2035
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
2036
+ export const extensionGetExtensionInstanceForProject = {
2037
+ path: "/v2/projects/{projectId}/extensions/{extensionId}",
2038
+ method: "GET",
2039
+ operationId: "extension-get-extension-instance-for-project",
2040
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.81.1';
1
+ export const MittwaldAPIClientVersion = '4.83.0';
@@ -1468,6 +1468,50 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1468
1468
  page?: number | undefined;
1469
1469
  } | undefined;
1470
1470
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
1471
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
1472
+ extensionGetExtensionInstanceForCustomer: (conf: {
1473
+ customerId: string;
1474
+ extensionId: string;
1475
+ headers?: {
1476
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1477
+ "x-access-token"?: string | undefined;
1478
+ } | undefined;
1479
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1480
+ aggregateReference: {
1481
+ aggregate: string;
1482
+ domain: string;
1483
+ id: string;
1484
+ };
1485
+ consentedScopes: string[];
1486
+ createdAt?: string | undefined;
1487
+ disabled: boolean;
1488
+ extensionId: string;
1489
+ id: string;
1490
+ pendingInstallation: boolean;
1491
+ pendingRemoval: boolean;
1492
+ }>;
1493
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
1494
+ extensionGetExtensionInstanceForProject: (conf: {
1495
+ projectId: string;
1496
+ extensionId: string;
1497
+ headers?: {
1498
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1499
+ "x-access-token"?: string | undefined;
1500
+ } | undefined;
1501
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1502
+ aggregateReference: {
1503
+ aggregate: string;
1504
+ domain: string;
1505
+ id: string;
1506
+ };
1507
+ consentedScopes: string[];
1508
+ createdAt?: string | undefined;
1509
+ disabled: boolean;
1510
+ extensionId: string;
1511
+ id: string;
1512
+ pendingInstallation: boolean;
1513
+ pendingRemoval: boolean;
1514
+ }>;
1471
1515
  };
1472
1516
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1473
1517
  /** Get a File's meta. */
@@ -5122,6 +5122,152 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5122
5122
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5123
5123
  [x: string]: unknown;
5124
5124
  }, 429, "application/json">>>;
5125
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
5126
+ extensionGetExtensionInstanceForCustomer: (request: {
5127
+ customerId: string;
5128
+ extensionId: string;
5129
+ headers?: {
5130
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5131
+ "x-access-token"?: string | undefined;
5132
+ } | undefined;
5133
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5134
+ headers?: Partial<{
5135
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5136
+ }>;
5137
+ } & {
5138
+ pathParameters: {
5139
+ customerId: string;
5140
+ extensionId: string;
5141
+ };
5142
+ } & {
5143
+ headers: {
5144
+ "x-access-token"?: string | undefined;
5145
+ } & Partial<{
5146
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5147
+ }>;
5148
+ }, import("@mittwald/api-client-commons").Response<{
5149
+ aggregateReference: {
5150
+ aggregate: string;
5151
+ domain: string;
5152
+ id: string;
5153
+ };
5154
+ consentedScopes: string[];
5155
+ createdAt?: string | undefined;
5156
+ disabled: boolean;
5157
+ extensionId: string;
5158
+ id: string;
5159
+ pendingInstallation: boolean;
5160
+ pendingRemoval: boolean;
5161
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5162
+ [x: string]: unknown;
5163
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5164
+ [x: string]: unknown;
5165
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5166
+ headers?: Partial<{
5167
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5168
+ }>;
5169
+ } & {
5170
+ pathParameters: {
5171
+ customerId: string;
5172
+ extensionId: string;
5173
+ };
5174
+ } & {
5175
+ headers: {
5176
+ "x-access-token"?: string | undefined;
5177
+ } & Partial<{
5178
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5179
+ }>;
5180
+ }, import("@mittwald/api-client-commons").Response<{
5181
+ aggregateReference: {
5182
+ aggregate: string;
5183
+ domain: string;
5184
+ id: string;
5185
+ };
5186
+ consentedScopes: string[];
5187
+ createdAt?: string | undefined;
5188
+ disabled: boolean;
5189
+ extensionId: string;
5190
+ id: string;
5191
+ pendingInstallation: boolean;
5192
+ pendingRemoval: boolean;
5193
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5194
+ [x: string]: unknown;
5195
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5196
+ [x: string]: unknown;
5197
+ }, 429, "application/json">>>;
5198
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
5199
+ extensionGetExtensionInstanceForProject: (request: {
5200
+ projectId: string;
5201
+ extensionId: string;
5202
+ headers?: {
5203
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5204
+ "x-access-token"?: string | undefined;
5205
+ } | undefined;
5206
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5207
+ headers?: Partial<{
5208
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5209
+ }>;
5210
+ } & {
5211
+ pathParameters: {
5212
+ projectId: string;
5213
+ extensionId: string;
5214
+ };
5215
+ } & {
5216
+ headers: {
5217
+ "x-access-token"?: string | undefined;
5218
+ } & Partial<{
5219
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5220
+ }>;
5221
+ }, import("@mittwald/api-client-commons").Response<{
5222
+ aggregateReference: {
5223
+ aggregate: string;
5224
+ domain: string;
5225
+ id: string;
5226
+ };
5227
+ consentedScopes: string[];
5228
+ createdAt?: string | undefined;
5229
+ disabled: boolean;
5230
+ extensionId: string;
5231
+ id: string;
5232
+ pendingInstallation: boolean;
5233
+ pendingRemoval: boolean;
5234
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5235
+ [x: string]: unknown;
5236
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5237
+ [x: string]: unknown;
5238
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5239
+ headers?: Partial<{
5240
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5241
+ }>;
5242
+ } & {
5243
+ pathParameters: {
5244
+ projectId: string;
5245
+ extensionId: string;
5246
+ };
5247
+ } & {
5248
+ headers: {
5249
+ "x-access-token"?: string | undefined;
5250
+ } & Partial<{
5251
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5252
+ }>;
5253
+ }, import("@mittwald/api-client-commons").Response<{
5254
+ aggregateReference: {
5255
+ aggregate: string;
5256
+ domain: string;
5257
+ id: string;
5258
+ };
5259
+ consentedScopes: string[];
5260
+ createdAt?: string | undefined;
5261
+ disabled: boolean;
5262
+ extensionId: string;
5263
+ id: string;
5264
+ pendingInstallation: boolean;
5265
+ pendingRemoval: boolean;
5266
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5267
+ [x: string]: unknown;
5268
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5269
+ [x: string]: unknown;
5270
+ }, 429, "application/json">>>;
5125
5271
  };
5126
5272
  /** The conversation API allows you to manage your support conversations. */
5127
5273
  readonly conversation: {
@@ -20052,6 +20198,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
20052
20198
  allDomains?: boolean | undefined;
20053
20199
  domains?: import("./types.js").MittwaldAPIV2.Components.Schemas.DirectusDomain[] | undefined;
20054
20200
  notes?: string | undefined;
20201
+ userId?: string | undefined;
20055
20202
  };
20056
20203
  headers?: {
20057
20204
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -20092,6 +20239,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
20092
20239
  projectName: string;
20093
20240
  system: "kc" | "mstudio";
20094
20241
  };
20242
+ userId?: string | undefined;
20095
20243
  };
20096
20244
  } & {
20097
20245
  headers?: Partial<{
@@ -20137,6 +20285,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
20137
20285
  projectName: string;
20138
20286
  system: "kc" | "mstudio";
20139
20287
  };
20288
+ userId?: string | undefined;
20140
20289
  };
20141
20290
  } & {
20142
20291
  headers?: Partial<{
@@ -679,3 +679,7 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
679
679
  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">>;
680
680
  /** Check if a company exists. */
681
681
  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">>;
682
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
683
+ export declare const extensionGetExtensionInstanceForCustomer: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdExtensionsExtensionId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
684
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
685
+ export declare const extensionGetExtensionInstanceForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1354,6 +1354,14 @@ export declare namespace MittwaldAPIV2 {
1354
1354
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1355
1355
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1356
1356
  }
1357
+ namespace ExtensionGetExtensionInstanceForCustomer {
1358
+ type RequestData = InferredRequestData<typeof descriptors.extensionGetExtensionInstanceForCustomer>;
1359
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetExtensionInstanceForCustomer, TStatus>;
1360
+ }
1361
+ namespace ExtensionGetExtensionInstanceForProject {
1362
+ type RequestData = InferredRequestData<typeof descriptors.extensionGetExtensionInstanceForProject>;
1363
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetExtensionInstanceForProject, TStatus>;
1364
+ }
1357
1365
  }
1358
1366
  namespace Components {
1359
1367
  namespace Schemas {
@@ -16807,6 +16815,7 @@ export declare namespace MittwaldAPIV2 {
16807
16815
  */
16808
16816
  system: "kc" | "mstudio";
16809
16817
  };
16818
+ userId?: string;
16810
16819
  }
16811
16820
  type Header = {};
16812
16821
  type Query = {};
@@ -20514,5 +20523,85 @@ export declare namespace MittwaldAPIV2 {
20514
20523
  }
20515
20524
  }
20516
20525
  }
20526
+ namespace V2CustomersCustomerIdExtensionsExtensionId {
20527
+ namespace Get {
20528
+ namespace Parameters {
20529
+ type Path = {
20530
+ customerId: string;
20531
+ extensionId: string;
20532
+ };
20533
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20534
+ type Query = {};
20535
+ }
20536
+ namespace Responses {
20537
+ namespace $200 {
20538
+ namespace Content {
20539
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance;
20540
+ }
20541
+ }
20542
+ namespace $404 {
20543
+ namespace Content {
20544
+ interface ApplicationJson {
20545
+ [k: string]: unknown;
20546
+ }
20547
+ }
20548
+ }
20549
+ namespace $429 {
20550
+ namespace Content {
20551
+ interface ApplicationJson {
20552
+ [k: string]: unknown;
20553
+ }
20554
+ }
20555
+ }
20556
+ namespace Default {
20557
+ namespace Content {
20558
+ interface ApplicationJson {
20559
+ [k: string]: unknown;
20560
+ }
20561
+ }
20562
+ }
20563
+ }
20564
+ }
20565
+ }
20566
+ namespace V2ProjectsProjectIdExtensionsExtensionId {
20567
+ namespace Get {
20568
+ namespace Parameters {
20569
+ type Path = {
20570
+ projectId: string;
20571
+ extensionId: string;
20572
+ };
20573
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20574
+ type Query = {};
20575
+ }
20576
+ namespace Responses {
20577
+ namespace $200 {
20578
+ namespace Content {
20579
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance;
20580
+ }
20581
+ }
20582
+ namespace $404 {
20583
+ namespace Content {
20584
+ interface ApplicationJson {
20585
+ [k: string]: unknown;
20586
+ }
20587
+ }
20588
+ }
20589
+ namespace $429 {
20590
+ namespace Content {
20591
+ interface ApplicationJson {
20592
+ [k: string]: unknown;
20593
+ }
20594
+ }
20595
+ }
20596
+ namespace Default {
20597
+ namespace Content {
20598
+ interface ApplicationJson {
20599
+ [k: string]: unknown;
20600
+ }
20601
+ }
20602
+ }
20603
+ }
20604
+ }
20605
+ }
20517
20606
  }
20518
20607
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.81.1';
1
+ export declare const MittwaldAPIClientVersion = '4.83.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.82.0",
3
+ "version": "4.84.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": "f3b2fa9c5174b8cb4d9e4e5db964e4cd4ead718e"
83
+ "gitHead": "b5ac2cf71f4bcfd790ea9644d59217dd1bd22484"
84
84
  }