@mittwald/api-client 4.183.0 → 4.184.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.
@@ -297,6 +297,10 @@ const buildMailApi = (baseClient) => ({
297
297
  /** List mail settings of a Project. */
298
298
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
299
299
  });
300
+ const buildMiscApi = (baseClient) => ({
301
+ /** Get a list of currently active llm models. */
302
+ getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
303
+ });
300
304
  const buildNotificationApi = (baseClient) => ({
301
305
  /** Getting the subscription status of the subscription. */
302
306
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -348,6 +352,8 @@ const buildUserApi = (baseClient) => ({
348
352
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
349
353
  });
350
354
  const buildProjectApi = (baseClient) => ({
355
+ /** Get a list of already created llm licences. */
356
+ getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
351
357
  /** List Invites belonging to a Project. */
352
358
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
353
359
  /** Get a ProjectInvite. */
@@ -356,6 +362,8 @@ const buildProjectApi = (baseClient) => ({
356
362
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
357
363
  /** Get a Project. */
358
364
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
365
+ /** Get a licence of a project. */
366
+ getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
359
367
  /** Get a ProjectInvite by token. */
360
368
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
361
369
  /** Get the executing user's membership in a Project. */
@@ -428,6 +436,8 @@ export class MittwaldAPIV2ClientReact {
428
436
  leadFyndr;
429
437
  /** The mail API allows you to manage your mail accounts. */
430
438
  mail;
439
+ /** API endpoints that are not related to any specific API domain */
440
+ misc;
431
441
  /** The notification API allows you to manage your notifications. */
432
442
  notification;
433
443
  /** The page insights API allows you to get page insights information. */
@@ -455,6 +465,7 @@ export class MittwaldAPIV2ClientReact {
455
465
  this.file = buildFileApi(baseClient);
456
466
  this.leadFyndr = buildLeadFyndrApi(baseClient);
457
467
  this.mail = buildMailApi(baseClient);
468
+ this.misc = buildMiscApi(baseClient);
458
469
  this.notification = buildNotificationApi(baseClient);
459
470
  this.pageInsights = buildPageInsightsApi(baseClient);
460
471
  this.user = buildUserApi(baseClient);
@@ -754,6 +754,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
754
754
  /** Removes a reservation on a unlocked lead for the given customerId. */
755
755
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
756
756
  };
757
+ /** API endpoints that are not related to any specific API domain */
758
+ misc = {
759
+ /** Get a list of currently active llm models. */
760
+ getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
761
+ /** Obtain a service token. */
762
+ servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
763
+ /** Check if an address exists. */
764
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
765
+ /** Check if a company exists. */
766
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
767
+ };
757
768
  /** The page insights API allows you to get page insights information. */
758
769
  pageInsights = {
759
770
  /** Get detailed performance data for a given domain and path. */
@@ -769,6 +780,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
769
780
  project = {
770
781
  /** Accept a ProjectInvite. */
771
782
  acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
783
+ /** Get a list of already created llm licences. */
784
+ getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
785
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
786
+ createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
772
787
  /** List Invites belonging to a Project. */
773
788
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
774
789
  /** Create a ProjectInvite. */
@@ -799,6 +814,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
799
814
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
800
815
  /** Delete a Server's avatar. */
801
816
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
817
+ /** Get a licence of a project. */
818
+ getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
819
+ /** Update a llm Licence for a project. */
820
+ updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
802
821
  /** Get a ProjectInvite by token. */
803
822
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
804
823
  /** Get the executing user's membership in a Project. */
@@ -850,15 +869,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
850
869
  /** Relocate an external Project to mittwald. */
851
870
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
852
871
  };
853
- /** API endpoints that are not related to any specific API domain */
854
- misc = {
855
- /** Obtain a service token. */
856
- servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
857
- /** Check if an address exists. */
858
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
859
- /** Check if a company exists. */
860
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
861
- };
862
872
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
863
873
  sshsftpUser = {
864
874
  /** Get all SFTPUsers for a Project. */
@@ -1648,6 +1648,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1648
1648
  method: "PUT",
1649
1649
  operationId: "marketplace-customer-update-payment-method",
1650
1650
  };
1651
+ /** Get a list of currently active llm models. */
1652
+ export const miscGetLlmModelsExperimental = {
1653
+ path: "/experimental-v2/llm-models",
1654
+ method: "GET",
1655
+ operationId: "misc-get-llm-models-experimental",
1656
+ };
1651
1657
  /** Getting the subscription status of the subscription. */
1652
1658
  export const newsletterGetInfo = {
1653
1659
  path: "/v2/newsletter-subscriptions/self",
@@ -1768,6 +1774,18 @@ export const projectAcceptProjectInvite = {
1768
1774
  method: "POST",
1769
1775
  operationId: "project-accept-project-invite",
1770
1776
  };
1777
+ /** Get a list of already created llm licences. */
1778
+ export const projectGetLlmLicencesExperimental = {
1779
+ path: "/experimental-v2/projects/{projectId}/llm-licences",
1780
+ method: "GET",
1781
+ operationId: "project-get-llm-licences-experimental",
1782
+ };
1783
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1784
+ export const projectCreateLlmBetaLicenceExperimental = {
1785
+ path: "/experimental-v2/projects/{projectId}/llm-licences",
1786
+ method: "POST",
1787
+ operationId: "project-create-llm-beta-licence-experimental",
1788
+ };
1771
1789
  /** List Invites belonging to a Project. */
1772
1790
  export const projectListInvitesForProject = {
1773
1791
  path: "/v2/projects/{projectId}/invites",
@@ -1888,6 +1906,18 @@ export const projectFileSystemListFiles = {
1888
1906
  method: "GET",
1889
1907
  operationId: "project-file-system-list-files",
1890
1908
  };
1909
+ /** Get a licence of a project. */
1910
+ export const projectGetLlmLicenceExperimental = {
1911
+ path: "/experimental-v2/projects/{projectId}/llm-licences/{licenceId}",
1912
+ method: "GET",
1913
+ operationId: "project-get-llm-licence-experimental",
1914
+ };
1915
+ /** Update a llm Licence for a project. */
1916
+ export const projectUpdateLlmLicenceExperimental = {
1917
+ path: "/experimental-v2/projects/{projectId}/llm-licences/{licenceId}",
1918
+ method: "PUT",
1919
+ operationId: "project-update-llm-licence-experimental",
1920
+ };
1891
1921
  /** Get a ProjectInvite by token. */
1892
1922
  export const projectGetProjectTokenInvite = {
1893
1923
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.182.0';
1
+ export const MittwaldAPIClientVersion = '4.183.0';
@@ -2286,6 +2286,14 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2286
2286
  whitelist: string[];
2287
2287
  }>;
2288
2288
  };
2289
+ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2290
+ /** Get a list of currently active llm models. */
2291
+ getLlmModelsExperimental: (conf?: {
2292
+ headers?: {
2293
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2294
+ } | undefined;
2295
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[]>;
2296
+ };
2289
2297
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2290
2298
  /** Getting the subscription status of the subscription. */
2291
2299
  newsletterGetInfo: (conf?: {
@@ -2605,6 +2613,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2605
2613
  }>;
2606
2614
  };
2607
2615
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2616
+ /** Get a list of already created llm licences. */
2617
+ getLlmLicencesExperimental: (conf: {
2618
+ projectId: string;
2619
+ headers?: {
2620
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2621
+ } | undefined;
2622
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[]>;
2608
2623
  /** List Invites belonging to a Project. */
2609
2624
  listInvitesForProject: (conf: {
2610
2625
  projectId: string;
@@ -2695,6 +2710,23 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2695
2710
  webStorageUsageInBytes: number;
2696
2711
  webStorageUsageInBytesSetAt: string;
2697
2712
  }>;
2713
+ /** Get a licence of a project. */
2714
+ getLlmLicenceExperimental: (conf: {
2715
+ projectId: string;
2716
+ licenceId: string;
2717
+ headers?: {
2718
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2719
+ } | undefined;
2720
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2721
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2722
+ customerId?: string | undefined;
2723
+ licenceId: string;
2724
+ licenceKey: string;
2725
+ models: string[];
2726
+ name: string;
2727
+ projectId?: string | undefined;
2728
+ rateLimit: number;
2729
+ }>;
2698
2730
  /** Get a ProjectInvite by token. */
2699
2731
  getProjectTokenInvite: (conf: {
2700
2732
  headers: {
@@ -3080,6 +3112,8 @@ export declare class MittwaldAPIV2ClientReact {
3080
3112
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3081
3113
  /** The mail API allows you to manage your mail accounts. */
3082
3114
  readonly mail: ReturnType<typeof buildMailApi>;
3115
+ /** API endpoints that are not related to any specific API domain */
3116
+ readonly misc: ReturnType<typeof buildMiscApi>;
3083
3117
  /** The notification API allows you to manage your notifications. */
3084
3118
  readonly notification: ReturnType<typeof buildNotificationApi>;
3085
3119
  /** The page insights API allows you to get page insights information. */