@mittwald/api-client 4.467.0 → 4.468.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.
@@ -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 MittwaldAPIV2Client 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: "/v2/oauth2/clients/{oauthClientId}",
2902
+ method: "GET",
2903
+ operationId: "contributor-get-oauth-client",
2904
+ };
@@ -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.467.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<{
@@ -1828,6 +1829,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
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: MittwaldAPIV2Client) => {
1833
1850
  /** Get all conversation the authenticated user has created or has access to. */
@@ -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)[];
@@ -13656,6 +13659,62 @@ export declare class MittwaldAPIV2Client 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: {
@@ -969,3 +969,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
969
969
  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.Default.Content.ApplicationJson>, "default", "application/json">>;
970
970
  /** Check if a company exists. */
971
971
  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.Default.Content.ApplicationJson>, "default", "application/json">>;
972
+ /** Get a specific OAuth2 client. */
973
+ 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">>;
@@ -1934,6 +1934,10 @@ export declare namespace MittwaldAPIV2 {
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 {
@@ -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 {
@@ -32596,5 +32602,45 @@ export declare namespace MittwaldAPIV2 {
32596
32602
  }
32597
32603
  }
32598
32604
  }
32605
+ namespace V2Oauth2ClientsOauthClientId {
32606
+ namespace Get {
32607
+ namespace Parameters {
32608
+ type Path = {
32609
+ oauthClientId: string;
32610
+ };
32611
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32612
+ type Query = {};
32613
+ }
32614
+ namespace Responses {
32615
+ namespace $200 {
32616
+ namespace Content {
32617
+ interface ApplicationJson {
32618
+ allowedGrantTypes?: string[];
32619
+ allowedRedirectUris?: string[];
32620
+ allowedScopes?: string[];
32621
+ description?: string;
32622
+ humanReadableName: string;
32623
+ id: string;
32624
+ type?: "public" | "confidential";
32625
+ }
32626
+ }
32627
+ }
32628
+ namespace $429 {
32629
+ namespace Content {
32630
+ interface ApplicationJson {
32631
+ [k: string]: unknown;
32632
+ }
32633
+ }
32634
+ }
32635
+ namespace Default {
32636
+ namespace Content {
32637
+ interface ApplicationJson {
32638
+ [k: string]: unknown;
32639
+ }
32640
+ }
32641
+ }
32642
+ }
32643
+ }
32644
+ }
32599
32645
  }
32600
32646
  }
@@ -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: {
@@ -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 {
@@ -32520,5 +32526,45 @@ export declare namespace MittwaldAPIV3Next {
32520
32526
  }
32521
32527
  }
32522
32528
  }
32529
+ namespace V3NextOauth2ClientsOauthClientId {
32530
+ namespace Get {
32531
+ namespace Parameters {
32532
+ type Path = {
32533
+ oauthClientId: string;
32534
+ };
32535
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
32536
+ type Query = {};
32537
+ }
32538
+ namespace Responses {
32539
+ namespace $200 {
32540
+ namespace Content {
32541
+ interface ApplicationJson {
32542
+ allowedGrantTypes?: string[];
32543
+ allowedRedirectUris?: string[];
32544
+ allowedScopes?: string[];
32545
+ description?: string;
32546
+ humanReadableName: string;
32547
+ id: string;
32548
+ type?: "public" | "confidential";
32549
+ }
32550
+ }
32551
+ }
32552
+ namespace $429 {
32553
+ namespace Content {
32554
+ interface ApplicationJson {
32555
+ [k: string]: unknown;
32556
+ }
32557
+ }
32558
+ }
32559
+ namespace Default {
32560
+ namespace Content {
32561
+ interface ApplicationJson {
32562
+ [k: string]: unknown;
32563
+ }
32564
+ }
32565
+ }
32566
+ }
32567
+ }
32568
+ }
32523
32569
  }
32524
32570
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.466.0';
1
+ export declare const MittwaldAPIClientVersion = '4.467.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.468.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.468.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.468.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": "83c2cdc00238d69632f94b07a4b38b80142f733a"
110
110
  }