@mittwald/api-client 4.467.0 → 4.469.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.
@@ -172,6 +172,8 @@ const buildMarketplaceApi = (baseClient) => ({
172
172
  contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
173
173
  /** Get the Stripe Dashboard Link for a Contributor. */
174
174
  contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
175
+ /** Get a specific OAuth2 client. */
176
+ contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
175
177
  /** List ContractPartners of the contributor. */
176
178
  contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
177
179
  /** List incoming Invoices of a Contributor. */
@@ -298,6 +298,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
298
298
  contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
299
299
  /** Get the Stripe Dashboard Link for a Contributor. */
300
300
  contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
301
+ /** Get a specific OAuth2 client. */
302
+ contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
301
303
  /** List ContractPartners of the contributor. */
302
304
  contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
303
305
  /** List incoming Invoices of a Contributor. */
@@ -742,6 +742,12 @@ export const contributorGetLoginLink = {
742
742
  method: "GET",
743
743
  operationId: "contributor-get-login-link",
744
744
  };
745
+ /** Get a specific OAuth2 client. */
746
+ export const contributorGetOauthClient = {
747
+ path: "/v2/oauth2/clients/{oauthClientId}",
748
+ method: "GET",
749
+ operationId: "contributor-get-oauth-client",
750
+ };
745
751
  /** List ContractPartners of the contributor. */
746
752
  export const contributorListContractPartnersOfContributor = {
747
753
  path: "/v2/contributors/{contributorId}/contract-partners",
@@ -214,6 +214,8 @@ const buildMarketplaceApi = (baseClient) => ({
214
214
  extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
215
215
  /** Get payment method details */
216
216
  customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
217
+ /** Get a specific OAuth2 client. */
218
+ contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
217
219
  });
218
220
  const buildConversationApi = (baseClient) => ({
219
221
  /** Get all conversation the authenticated user has created or has access to. */
@@ -410,6 +410,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
410
410
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
411
411
  /** Get the link to update the marketplace payment method */
412
412
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
413
+ /** Get a specific OAuth2 client. */
414
+ contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
413
415
  };
414
416
  /** The conversation API allows you to manage your support conversations. */
415
417
  conversation = {
@@ -2896,3 +2896,9 @@ export const verificationVerifyCompany = {
2896
2896
  method: "POST",
2897
2897
  operationId: "verification-verify-company",
2898
2898
  };
2899
+ /** Get a specific OAuth2 client. */
2900
+ export const contributorGetOauthClient = {
2901
+ path: "/v3-next/oauth2/clients/{oauthClientId}",
2902
+ method: "GET",
2903
+ operationId: "contributor-get-oauth-client",
2904
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.466.0';
1
+ export const MittwaldAPIClientVersion = '4.468.0';
@@ -115,17 +115,17 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
115
115
  }>;
116
116
  /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
117
117
  planGetUsageStats: (conf: {
118
- queryParameters: {
119
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
120
- startDate: string;
121
- endDate: string;
122
- keyId?: string | undefined;
123
- };
124
118
  customerId: string;
125
119
  planId: string;
126
120
  headers?: {
127
121
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
128
122
  } | undefined;
123
+ queryParameters?: {
124
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
125
+ startDate: string | Date;
126
+ endDate: string | Date;
127
+ keyId?: string | undefined;
128
+ } | undefined;
129
129
  }) => import("@mittwald/react-use-promise").AsyncResource<{
130
130
  customerId: string;
131
131
  daily: {
@@ -255,6 +255,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
255
255
  appInstallationId: string;
256
256
  headers?: {
257
257
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
258
+ "Accept-Language"?: "de" | "en" | undefined;
258
259
  "x-access-token"?: string | undefined;
259
260
  } | undefined;
260
261
  }) => import("@mittwald/react-use-promise").AsyncResource<{
@@ -1397,6 +1398,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1397
1398
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1398
1399
  url?: string | undefined;
1399
1400
  }>;
1401
+ /** Get a specific OAuth2 client. */
1402
+ contributorGetOauthClient: (conf: {
1403
+ oauthClientId: string;
1404
+ headers?: {
1405
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1406
+ "x-access-token"?: string | undefined;
1407
+ } | undefined;
1408
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1409
+ allowedGrantTypes?: string[] | undefined;
1410
+ allowedRedirectUris?: string[] | undefined;
1411
+ allowedScopes?: string[] | undefined;
1412
+ description?: string | undefined;
1413
+ humanReadableName: string;
1414
+ id: string;
1415
+ type?: "public" | "confidential" | undefined;
1416
+ }>;
1400
1417
  /** List ContractPartners of the contributor. */
1401
1418
  contributorListContractPartnersOfContributor: (conf: {
1402
1419
  contributorId: string;
@@ -796,17 +796,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
796
796
  }, 429, "application/json">>>;
797
797
  /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
798
798
  planGetUsageStats: (request: {
799
- queryParameters: {
800
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
801
- startDate: string;
802
- endDate: string;
803
- keyId?: string | undefined;
804
- };
805
799
  customerId: string;
806
800
  planId: string;
807
801
  headers?: {
808
802
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
809
803
  } | undefined;
804
+ queryParameters?: {
805
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
806
+ startDate: string | Date;
807
+ endDate: string | Date;
808
+ keyId?: string | undefined;
809
+ } | undefined;
810
810
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
811
811
  headers?: Partial<{
812
812
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -818,8 +818,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
818
818
  };
819
819
  } & {
820
820
  queryParameters: {
821
- startDate: string;
822
- endDate: string;
821
+ startDate: string | Date;
822
+ endDate: string | Date;
823
823
  keyId?: string | undefined;
824
824
  } & Partial<{
825
825
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -866,8 +866,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
866
866
  };
867
867
  } & {
868
868
  queryParameters: {
869
- startDate: string;
870
- endDate: string;
869
+ startDate: string | Date;
870
+ endDate: string | Date;
871
871
  keyId?: string | undefined;
872
872
  } & Partial<{
873
873
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -1659,6 +1659,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1659
1659
  appInstallationId: string;
1660
1660
  headers?: {
1661
1661
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1662
+ "Accept-Language"?: "de" | "en" | undefined;
1662
1663
  "x-access-token"?: string | undefined;
1663
1664
  } | undefined;
1664
1665
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -1671,6 +1672,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1671
1672
  };
1672
1673
  } & {
1673
1674
  headers: {
1675
+ "Accept-Language"?: "de" | "en" | undefined;
1674
1676
  "x-access-token"?: string | undefined;
1675
1677
  } & Partial<{
1676
1678
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -1694,6 +1696,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1694
1696
  };
1695
1697
  } & {
1696
1698
  headers: {
1699
+ "Accept-Language"?: "de" | "en" | undefined;
1697
1700
  "x-access-token"?: string | undefined;
1698
1701
  } & Partial<{
1699
1702
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -9662,6 +9665,62 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9662
9665
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9663
9666
  [x: string]: unknown;
9664
9667
  }, 429, "application/json">>>;
9668
+ /** Get a specific OAuth2 client. */
9669
+ contributorGetOauthClient: (request: {
9670
+ oauthClientId: string;
9671
+ headers?: {
9672
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
9673
+ "x-access-token"?: string | undefined;
9674
+ } | undefined;
9675
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9676
+ headers?: Partial<{
9677
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9678
+ }>;
9679
+ } & {
9680
+ pathParameters: {
9681
+ oauthClientId: string;
9682
+ };
9683
+ } & {
9684
+ headers: {
9685
+ "x-access-token"?: string | undefined;
9686
+ } & Partial<{
9687
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9688
+ }>;
9689
+ }, import("@mittwald/api-client-commons").Response<{
9690
+ allowedGrantTypes?: string[] | undefined;
9691
+ allowedRedirectUris?: string[] | undefined;
9692
+ allowedScopes?: string[] | undefined;
9693
+ description?: string | undefined;
9694
+ humanReadableName: string;
9695
+ id: string;
9696
+ type?: "public" | "confidential" | undefined;
9697
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9698
+ [x: string]: unknown;
9699
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9700
+ headers?: Partial<{
9701
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9702
+ }>;
9703
+ } & {
9704
+ pathParameters: {
9705
+ oauthClientId: string;
9706
+ };
9707
+ } & {
9708
+ headers: {
9709
+ "x-access-token"?: string | undefined;
9710
+ } & Partial<{
9711
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9712
+ }>;
9713
+ }, import("@mittwald/api-client-commons").Response<{
9714
+ allowedGrantTypes?: string[] | undefined;
9715
+ allowedRedirectUris?: string[] | undefined;
9716
+ allowedScopes?: string[] | undefined;
9717
+ description?: string | undefined;
9718
+ humanReadableName: string;
9719
+ id: string;
9720
+ type?: "public" | "confidential" | undefined;
9721
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9722
+ [x: string]: unknown;
9723
+ }, 429, "application/json">>>;
9665
9724
  /** List ContractPartners of the contributor. */
9666
9725
  contributorListContractPartnersOfContributor: (request: {
9667
9726
  contributorId: string;
@@ -26176,8 +26235,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26176
26235
  spotlightFeedback: (request: {
26177
26236
  data: {
26178
26237
  decision: import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedbackSpotlightDecision;
26179
- owner: string;
26180
26238
  message?: string | undefined;
26239
+ owner?: string | undefined;
26181
26240
  };
26182
26241
  spotlightId: string;
26183
26242
  headers?: {
@@ -26188,7 +26247,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26188
26247
  data: {
26189
26248
  decision: import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedbackSpotlightDecision;
26190
26249
  message?: string | undefined;
26191
- owner: string;
26250
+ owner?: string | undefined;
26192
26251
  };
26193
26252
  } & {
26194
26253
  pathParameters: {
@@ -26210,7 +26269,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26210
26269
  data: {
26211
26270
  decision: import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedbackSpotlightDecision;
26212
26271
  message?: string | undefined;
26213
- owner: string;
26272
+ owner?: string | undefined;
26214
26273
  };
26215
26274
  } & {
26216
26275
  pathParameters: {
@@ -251,6 +251,8 @@ export declare const contributorUpdateBillingInformation: OpenAPIOperation<Reque
251
251
  export declare const contributorGetCustomerBillingPortalLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
252
252
  /** Get the Stripe Dashboard Link for a Contributor. */
253
253
  export declare const contributorGetLoginLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
254
+ /** Get a specific OAuth2 client. */
255
+ export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
254
256
  /** List ContractPartners of the contributor. */
255
257
  export declare const contributorListContractPartnersOfContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
256
258
  /** List incoming Invoices of a Contributor. */
@@ -498,6 +498,10 @@ export declare namespace MittwaldAPIV2 {
498
498
  type RequestData = InferredRequestData<typeof descriptors.contributorGetLoginLink>;
499
499
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetLoginLink, TStatus>;
500
500
  }
501
+ namespace ContributorGetOauthClient {
502
+ type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
503
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
504
+ }
501
505
  namespace ContributorListContractPartnersOfContributor {
502
506
  type RequestData = InferredRequestData<typeof descriptors.contributorListContractPartnersOfContributor>;
503
507
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListContractPartnersOfContributor, TStatus>;
@@ -7221,6 +7225,7 @@ export declare namespace MittwaldAPIV2 {
7221
7225
  subject: string;
7222
7226
  vote: number;
7223
7227
  }
7228
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7224
7229
  interface UserProjectMembership {
7225
7230
  expiresAt?: string;
7226
7231
  id?: string;
@@ -7350,7 +7355,6 @@ export declare namespace MittwaldAPIV2 {
7350
7355
  }
7351
7356
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7352
7357
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7353
- type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7354
7358
  interface CommonsAddress {
7355
7359
  street: string;
7356
7360
  houseNumber: string;
@@ -8362,8 +8366,8 @@ export declare namespace MittwaldAPIV2 {
8362
8366
  };
8363
8367
  type Header = {};
8364
8368
  type Query = {
8365
- startDate: string;
8366
- endDate: string;
8369
+ startDate: string | Date;
8370
+ endDate: string | Date;
8367
8371
  keyId?: string;
8368
8372
  };
8369
8373
  }
@@ -9095,7 +9099,9 @@ export declare namespace MittwaldAPIV2 {
9095
9099
  type Path = {
9096
9100
  appInstallationId: string;
9097
9101
  };
9098
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9102
+ type Header = {
9103
+ "Accept-Language"?: "de" | "en";
9104
+ } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9099
9105
  type Query = {};
9100
9106
  }
9101
9107
  namespace Responses {
@@ -14347,6 +14353,46 @@ export declare namespace MittwaldAPIV2 {
14347
14353
  }
14348
14354
  }
14349
14355
  }
14356
+ namespace V2Oauth2ClientsOauthClientId {
14357
+ namespace Get {
14358
+ namespace Parameters {
14359
+ type Path = {
14360
+ oauthClientId: string;
14361
+ };
14362
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14363
+ type Query = {};
14364
+ }
14365
+ namespace Responses {
14366
+ namespace $200 {
14367
+ namespace Content {
14368
+ interface ApplicationJson {
14369
+ allowedGrantTypes?: string[];
14370
+ allowedRedirectUris?: string[];
14371
+ allowedScopes?: string[];
14372
+ description?: string;
14373
+ humanReadableName: string;
14374
+ id: string;
14375
+ type?: "public" | "confidential";
14376
+ }
14377
+ }
14378
+ }
14379
+ namespace $429 {
14380
+ namespace Content {
14381
+ interface ApplicationJson {
14382
+ [k: string]: unknown;
14383
+ }
14384
+ }
14385
+ }
14386
+ namespace Default {
14387
+ namespace Content {
14388
+ interface ApplicationJson {
14389
+ [k: string]: unknown;
14390
+ }
14391
+ }
14392
+ }
14393
+ }
14394
+ }
14395
+ }
14350
14396
  namespace V2ContributorsContributorIdContractPartners {
14351
14397
  namespace Get {
14352
14398
  namespace Parameters {
@@ -31494,6 +31540,7 @@ export declare namespace MittwaldAPIV2 {
31494
31540
  interface RequestBody {
31495
31541
  acknowledged?: boolean;
31496
31542
  /**
31543
+ * @deprecated
31497
31544
  * The Owner of the Feature the spotlight is highlighting.
31498
31545
  */
31499
31546
  owner?: string;
@@ -32231,9 +32278,10 @@ export declare namespace MittwaldAPIV2 {
32231
32278
  */
32232
32279
  message?: string;
32233
32280
  /**
32234
- * The Owner of the Feature the spotlight is highlighting.
32281
+ * @deprecated
32282
+ * The Owner of the spotlight is no longer writable.
32235
32283
  */
32236
- owner: string;
32284
+ owner?: string;
32237
32285
  }
32238
32286
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32239
32287
  type Query = {};
@@ -115,17 +115,17 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
115
115
  }>;
116
116
  /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
117
117
  planGetUsageStats: (conf: {
118
- queryParameters: {
119
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
120
- startDate: string;
121
- endDate: string;
122
- keyId?: string | undefined;
123
- };
124
118
  customerId: string;
125
119
  planId: string;
126
120
  headers?: {
127
121
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
128
122
  } | undefined;
123
+ queryParameters?: {
124
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
125
+ startDate: string | Date;
126
+ endDate: string | Date;
127
+ keyId?: string | undefined;
128
+ } | undefined;
129
129
  }) => import("@mittwald/react-use-promise").AsyncResource<{
130
130
  customerId: string;
131
131
  daily: {
@@ -255,6 +255,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
255
255
  appInstallationId: string;
256
256
  headers?: {
257
257
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
258
+ "Accept-Language"?: "de" | "en" | undefined;
258
259
  "x-access-token"?: string | undefined;
259
260
  } | undefined;
260
261
  }) => import("@mittwald/react-use-promise").AsyncResource<{
@@ -1828,6 +1829,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1828
1829
  last4: string;
1829
1830
  } | undefined;
1830
1831
  }>;
1832
+ /** Get a specific OAuth2 client. */
1833
+ contributorGetOauthClient: (conf: {
1834
+ oauthClientId: string;
1835
+ headers?: {
1836
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1837
+ "x-access-token"?: string | undefined;
1838
+ } | undefined;
1839
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1840
+ allowedGrantTypes?: string[] | undefined;
1841
+ allowedRedirectUris?: string[] | undefined;
1842
+ allowedScopes?: string[] | undefined;
1843
+ description?: string | undefined;
1844
+ humanReadableName: string;
1845
+ id: string;
1846
+ type?: "public" | "confidential" | undefined;
1847
+ }>;
1831
1848
  };
1832
1849
  declare const buildConversationApi: (baseClient: MittwaldAPIV3NextClient) => {
1833
1850
  /** Get all conversation the authenticated user has created or has access to. */
@@ -796,17 +796,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
796
796
  }, 429, "application/json">>>;
797
797
  /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
798
798
  planGetUsageStats: (request: {
799
- queryParameters: {
800
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
801
- startDate: string;
802
- endDate: string;
803
- keyId?: string | undefined;
804
- };
805
799
  customerId: string;
806
800
  planId: string;
807
801
  headers?: {
808
802
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
809
803
  } | undefined;
804
+ queryParameters?: {
805
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
806
+ startDate: string | Date;
807
+ endDate: string | Date;
808
+ keyId?: string | undefined;
809
+ } | undefined;
810
810
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
811
811
  headers?: Partial<{
812
812
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -818,8 +818,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
818
818
  };
819
819
  } & {
820
820
  queryParameters: {
821
- startDate: string;
822
- endDate: string;
821
+ startDate: string | Date;
822
+ endDate: string | Date;
823
823
  keyId?: string | undefined;
824
824
  } & Partial<{
825
825
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -866,8 +866,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
866
866
  };
867
867
  } & {
868
868
  queryParameters: {
869
- startDate: string;
870
- endDate: string;
869
+ startDate: string | Date;
870
+ endDate: string | Date;
871
871
  keyId?: string | undefined;
872
872
  } & Partial<{
873
873
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -1659,6 +1659,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
1659
1659
  appInstallationId: string;
1660
1660
  headers?: {
1661
1661
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1662
+ "Accept-Language"?: "de" | "en" | undefined;
1662
1663
  "x-access-token"?: string | undefined;
1663
1664
  } | undefined;
1664
1665
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -1671,6 +1672,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
1671
1672
  };
1672
1673
  } & {
1673
1674
  headers: {
1675
+ "Accept-Language"?: "de" | "en" | undefined;
1674
1676
  "x-access-token"?: string | undefined;
1675
1677
  } & Partial<{
1676
1678
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -1694,6 +1696,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
1694
1696
  };
1695
1697
  } & {
1696
1698
  headers: {
1699
+ "Accept-Language"?: "de" | "en" | undefined;
1697
1700
  "x-access-token"?: string | undefined;
1698
1701
  } & Partial<{
1699
1702
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
@@ -13656,6 +13659,62 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
13656
13659
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13657
13660
  [x: string]: unknown;
13658
13661
  }, 429, "application/json">>>;
13662
+ /** Get a specific OAuth2 client. */
13663
+ contributorGetOauthClient: (request: {
13664
+ oauthClientId: string;
13665
+ headers?: {
13666
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
13667
+ "x-access-token"?: string | undefined;
13668
+ } | undefined;
13669
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13670
+ headers?: Partial<{
13671
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13672
+ }>;
13673
+ } & {
13674
+ pathParameters: {
13675
+ oauthClientId: string;
13676
+ };
13677
+ } & {
13678
+ headers: {
13679
+ "x-access-token"?: string | undefined;
13680
+ } & Partial<{
13681
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13682
+ }>;
13683
+ }, import("@mittwald/api-client-commons").Response<{
13684
+ allowedGrantTypes?: string[] | undefined;
13685
+ allowedRedirectUris?: string[] | undefined;
13686
+ allowedScopes?: string[] | undefined;
13687
+ description?: string | undefined;
13688
+ humanReadableName: string;
13689
+ id: string;
13690
+ type?: "public" | "confidential" | undefined;
13691
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13692
+ [x: string]: unknown;
13693
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13694
+ headers?: Partial<{
13695
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13696
+ }>;
13697
+ } & {
13698
+ pathParameters: {
13699
+ oauthClientId: string;
13700
+ };
13701
+ } & {
13702
+ headers: {
13703
+ "x-access-token"?: string | undefined;
13704
+ } & Partial<{
13705
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13706
+ }>;
13707
+ }, import("@mittwald/api-client-commons").Response<{
13708
+ allowedGrantTypes?: string[] | undefined;
13709
+ allowedRedirectUris?: string[] | undefined;
13710
+ allowedScopes?: string[] | undefined;
13711
+ description?: string | undefined;
13712
+ humanReadableName: string;
13713
+ id: string;
13714
+ type?: "public" | "confidential" | undefined;
13715
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13716
+ [x: string]: unknown;
13717
+ }, 429, "application/json">>>;
13659
13718
  };
13660
13719
  /** The conversation API allows you to manage your support conversations. */
13661
13720
  readonly conversation: {
@@ -26176,8 +26235,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26176
26235
  spotlightFeedback: (request: {
26177
26236
  data: {
26178
26237
  decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
26179
- owner: string;
26180
26238
  message?: string | undefined;
26239
+ owner?: string | undefined;
26181
26240
  };
26182
26241
  spotlightId: string;
26183
26242
  headers?: {
@@ -26188,7 +26247,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26188
26247
  data: {
26189
26248
  decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
26190
26249
  message?: string | undefined;
26191
- owner: string;
26250
+ owner?: string | undefined;
26192
26251
  };
26193
26252
  } & {
26194
26253
  pathParameters: {
@@ -26210,7 +26269,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26210
26269
  data: {
26211
26270
  decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
26212
26271
  message?: string | undefined;
26213
- owner: string;
26272
+ owner?: string | undefined;
26214
26273
  };
26215
26274
  } & {
26216
26275
  pathParameters: {
@@ -969,3 +969,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
969
969
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
970
970
  /** Check if a company exists. */
971
971
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
972
+ /** Get a specific OAuth2 client. */
973
+ export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1934,6 +1934,10 @@ export declare namespace MittwaldAPIV3Next {
1934
1934
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1935
1935
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1936
1936
  }
1937
+ namespace ContributorGetOauthClient {
1938
+ type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
1939
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
1940
+ }
1937
1941
  }
1938
1942
  namespace Components {
1939
1943
  namespace Schemas {
@@ -7225,6 +7229,7 @@ export declare namespace MittwaldAPIV3Next {
7225
7229
  subject: string;
7226
7230
  vote: number;
7227
7231
  }
7232
+ type DeMittwaldUserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7228
7233
  interface DeMittwaldUserProjectMembership {
7229
7234
  expiresAt?: string;
7230
7235
  id?: string;
@@ -7354,7 +7359,6 @@ export declare namespace MittwaldAPIV3Next {
7354
7359
  }
7355
7360
  type DeMittwaldVerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7356
7361
  type DeMittwaldContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7357
- type DeMittwaldUserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7358
7362
  interface DeMittwaldCommonsAddress {
7359
7363
  street: string;
7360
7364
  houseNumber: string;
@@ -8366,8 +8370,8 @@ export declare namespace MittwaldAPIV3Next {
8366
8370
  };
8367
8371
  type Header = {};
8368
8372
  type Query = {
8369
- startDate: string;
8370
- endDate: string;
8373
+ startDate: string | Date;
8374
+ endDate: string | Date;
8371
8375
  keyId?: string;
8372
8376
  };
8373
8377
  }
@@ -9099,7 +9103,9 @@ export declare namespace MittwaldAPIV3Next {
9099
9103
  type Path = {
9100
9104
  appInstallationId: string;
9101
9105
  };
9102
- type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
9106
+ type Header = {
9107
+ "Accept-Language"?: "de" | "en";
9108
+ } & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
9103
9109
  type Query = {};
9104
9110
  }
9105
9111
  namespace Responses {
@@ -31424,6 +31430,7 @@ export declare namespace MittwaldAPIV3Next {
31424
31430
  interface RequestBody {
31425
31431
  acknowledged?: boolean;
31426
31432
  /**
31433
+ * @deprecated
31427
31434
  * The Owner of the Feature the spotlight is highlighting.
31428
31435
  */
31429
31436
  owner?: string;
@@ -32159,9 +32166,10 @@ export declare namespace MittwaldAPIV3Next {
32159
32166
  */
32160
32167
  message?: string;
32161
32168
  /**
32162
- * The Owner of the Feature the spotlight is highlighting.
32169
+ * @deprecated
32170
+ * The Owner of the spotlight is no longer writable.
32163
32171
  */
32164
- owner: string;
32172
+ owner?: string;
32165
32173
  }
32166
32174
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
32167
32175
  type Query = {};
@@ -32520,5 +32528,45 @@ export declare namespace MittwaldAPIV3Next {
32520
32528
  }
32521
32529
  }
32522
32530
  }
32531
+ namespace V3NextOauth2ClientsOauthClientId {
32532
+ namespace Get {
32533
+ namespace Parameters {
32534
+ type Path = {
32535
+ oauthClientId: string;
32536
+ };
32537
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
32538
+ type Query = {};
32539
+ }
32540
+ namespace Responses {
32541
+ namespace $200 {
32542
+ namespace Content {
32543
+ interface ApplicationJson {
32544
+ allowedGrantTypes?: string[];
32545
+ allowedRedirectUris?: string[];
32546
+ allowedScopes?: string[];
32547
+ description?: string;
32548
+ humanReadableName: string;
32549
+ id: string;
32550
+ type?: "public" | "confidential";
32551
+ }
32552
+ }
32553
+ }
32554
+ namespace $429 {
32555
+ namespace Content {
32556
+ interface ApplicationJson {
32557
+ [k: string]: unknown;
32558
+ }
32559
+ }
32560
+ }
32561
+ namespace Default {
32562
+ namespace Content {
32563
+ interface ApplicationJson {
32564
+ [k: string]: unknown;
32565
+ }
32566
+ }
32567
+ }
32568
+ }
32569
+ }
32570
+ }
32523
32571
  }
32524
32572
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.466.0';
1
+ export declare const MittwaldAPIClientVersion = '4.468.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.467.0",
3
+ "version": "4.469.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",
@@ -72,11 +72,11 @@
72
72
  "test:compile": "run tsc --noEmit"
73
73
  },
74
74
  "dependencies": {
75
- "@mittwald/api-client-commons": "^4.467.0",
75
+ "@mittwald/api-client-commons": "^4.469.0",
76
76
  "browser-or-node": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@mittwald/api-code-generator": "^4.467.0",
79
+ "@mittwald/api-code-generator": "^4.469.0",
80
80
  "@mittwald/react-use-promise": "^4.2.3",
81
81
  "@types/node": "^22.18.11",
82
82
  "@types/react": "^18.3.26",
@@ -106,5 +106,5 @@
106
106
  "optional": true
107
107
  }
108
108
  },
109
- "gitHead": "431a6868c29f099dd308451100c59d41f0745eb7"
109
+ "gitHead": "8d098255df005425f3b78cd16b6fe56b8c31c21f"
110
110
  }