@mittwald/api-client 0.0.0-development-5f2817b-20250709 → 0.0.0-development-bc8cbfe-20250710

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.
@@ -305,6 +305,10 @@ const buildMailApi = (baseClient) => ({
305
305
  /** List Migrations belonging to a Project in customer center or mStudio. */
306
306
  migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
307
307
  });
308
+ const buildMiscApi = (baseClient) => ({
309
+ /** Get a list of currently active llm models. */
310
+ getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
311
+ });
308
312
  const buildNotificationApi = (baseClient) => ({
309
313
  /** Getting the subscription status of the subscription. */
310
314
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -356,6 +360,8 @@ const buildUserApi = (baseClient) => ({
356
360
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
357
361
  });
358
362
  const buildProjectApi = (baseClient) => ({
363
+ /** Get a list of already created llm licences. */
364
+ getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
359
365
  /** List Invites belonging to a Project. */
360
366
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
361
367
  /** Get a ProjectInvite. */
@@ -364,6 +370,8 @@ const buildProjectApi = (baseClient) => ({
364
370
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
365
371
  /** Get a Project. */
366
372
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
373
+ /** Get a licence of a project. */
374
+ getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
367
375
  /** Get a ProjectInvite by token. */
368
376
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
369
377
  /** Get the executing user's membership in a Project. */
@@ -436,6 +444,8 @@ export class MittwaldAPIV2ClientReact {
436
444
  leadFyndr;
437
445
  /** The mail API allows you to manage your mail accounts. */
438
446
  mail;
447
+ /** API endpoints that are not related to any specific API domain */
448
+ misc;
439
449
  /** The notification API allows you to manage your notifications. */
440
450
  notification;
441
451
  /** The page insights API allows you to get page insights information. */
@@ -463,6 +473,7 @@ export class MittwaldAPIV2ClientReact {
463
473
  this.file = buildFileApi(baseClient);
464
474
  this.leadFyndr = buildLeadFyndrApi(baseClient);
465
475
  this.mail = buildMailApi(baseClient);
476
+ this.misc = buildMiscApi(baseClient);
466
477
  this.notification = buildNotificationApi(baseClient);
467
478
  this.pageInsights = buildPageInsightsApi(baseClient);
468
479
  this.user = buildUserApi(baseClient);
@@ -770,6 +770,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
770
770
  /** Removes a reservation on a unlocked lead for the given customerId. */
771
771
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
772
772
  };
773
+ /** API endpoints that are not related to any specific API domain */
774
+ misc = {
775
+ /** Get a list of currently active llm models. */
776
+ getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
777
+ /** Check if an email is from mittwald. */
778
+ verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
779
+ /** Check if an address exists. */
780
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
781
+ /** Check if a company exists. */
782
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
783
+ };
773
784
  /** The page insights API allows you to get page insights information. */
774
785
  pageInsights = {
775
786
  /** Get detailed performance data for a given domain and path. */
@@ -785,6 +796,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
785
796
  project = {
786
797
  /** Accept a ProjectInvite. */
787
798
  acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
799
+ /** Get a list of already created llm licences. */
800
+ getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
801
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
802
+ createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
788
803
  /** List Invites belonging to a Project. */
789
804
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
790
805
  /** Create a ProjectInvite. */
@@ -815,6 +830,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
815
830
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
816
831
  /** Delete a Server's avatar. */
817
832
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
833
+ /** Get a licence of a project. */
834
+ getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
835
+ /** Update a llm Licence for a project. */
836
+ updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
818
837
  /** Get a ProjectInvite by token. */
819
838
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
820
839
  /** Get the executing user's membership in a Project. */
@@ -889,14 +908,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
889
908
  /** Update an SSHUser. */
890
909
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
891
910
  };
892
- /** API endpoints that are not related to any specific API domain */
893
- misc = {
894
- /** Check if an email is from mittwald. */
895
- verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
896
- /** Check if an address exists. */
897
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
898
- /** Check if a company exists. */
899
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
900
- };
901
911
  }
902
912
  export default MittwaldAPIV2Client;
@@ -1690,6 +1690,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1690
1690
  method: "PUT",
1691
1691
  operationId: "marketplace-customer-update-payment-method",
1692
1692
  };
1693
+ /** Get a list of currently active llm models. */
1694
+ export const miscGetLlmModelsExperimental = {
1695
+ path: "/v2/llm-models",
1696
+ method: "GET",
1697
+ operationId: "misc-get-llm-models-experimental",
1698
+ };
1693
1699
  /** Getting the subscription status of the subscription. */
1694
1700
  export const newsletterGetInfo = {
1695
1701
  path: "/v2/newsletter-subscriptions/self",
@@ -1810,6 +1816,18 @@ export const projectAcceptProjectInvite = {
1810
1816
  method: "POST",
1811
1817
  operationId: "project-accept-project-invite",
1812
1818
  };
1819
+ /** Get a list of already created llm licences. */
1820
+ export const projectGetLlmLicencesExperimental = {
1821
+ path: "/v2/projects/{projectId}/llm-licences",
1822
+ method: "GET",
1823
+ operationId: "project-get-llm-licences-experimental",
1824
+ };
1825
+ /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1826
+ export const projectCreateLlmBetaLicenceExperimental = {
1827
+ path: "/v2/projects/{projectId}/llm-licences",
1828
+ method: "POST",
1829
+ operationId: "project-create-llm-beta-licence-experimental",
1830
+ };
1813
1831
  /** List Invites belonging to a Project. */
1814
1832
  export const projectListInvitesForProject = {
1815
1833
  path: "/v2/projects/{projectId}/invites",
@@ -1930,6 +1948,18 @@ export const projectFileSystemListFiles = {
1930
1948
  method: "GET",
1931
1949
  operationId: "project-file-system-list-files",
1932
1950
  };
1951
+ /** Get a licence of a project. */
1952
+ export const projectGetLlmLicenceExperimental = {
1953
+ path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
1954
+ method: "GET",
1955
+ operationId: "project-get-llm-licence-experimental",
1956
+ };
1957
+ /** Update a llm Licence for a project. */
1958
+ export const projectUpdateLlmLicenceExperimental = {
1959
+ path: "/v2/projects/{projectId}/llm-licences/{licenceId}",
1960
+ method: "PUT",
1961
+ operationId: "project-update-llm-licence-experimental",
1962
+ };
1933
1963
  /** Get a ProjectInvite by token. */
1934
1964
  export const projectGetProjectTokenInvite = {
1935
1965
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.178.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-7e09328-20250710';
@@ -34,7 +34,6 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
34
34
  lockedBy?: {
35
35
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
36
36
  } | undefined;
37
- processes?: string[] | undefined;
38
37
  projectId?: string | undefined;
39
38
  screenshotId?: string | undefined;
40
39
  screenshotRef?: string | undefined;
@@ -754,6 +753,8 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
754
753
  limit?: number | undefined;
755
754
  skip?: number | undefined;
756
755
  page?: number | undefined;
756
+ sort?: "invoiceNumber"[] | undefined;
757
+ order?: ("asc" | "desc")[] | undefined;
757
758
  } | undefined;
758
759
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoice[]>;
759
760
  /** Get list of Orders. */
@@ -2347,6 +2348,14 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2347
2348
  } | undefined;
2348
2349
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
2349
2350
  };
2351
+ declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2352
+ /** Get a list of currently active llm models. */
2353
+ getLlmModelsExperimental: (conf?: {
2354
+ headers?: {
2355
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2356
+ } | undefined;
2357
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[]>;
2358
+ };
2350
2359
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2351
2360
  /** Getting the subscription status of the subscription. */
2352
2361
  newsletterGetInfo: (conf?: {
@@ -2666,6 +2675,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2666
2675
  }>;
2667
2676
  };
2668
2677
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2678
+ /** Get a list of already created llm licences. */
2679
+ getLlmLicencesExperimental: (conf: {
2680
+ projectId: string;
2681
+ headers?: {
2682
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2683
+ } | undefined;
2684
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[]>;
2669
2685
  /** List Invites belonging to a Project. */
2670
2686
  listInvitesForProject: (conf: {
2671
2687
  projectId: string;
@@ -2756,6 +2772,23 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2756
2772
  webStorageUsageInBytes: number;
2757
2773
  webStorageUsageInBytesSetAt: string;
2758
2774
  }>;
2775
+ /** Get a licence of a project. */
2776
+ getLlmLicenceExperimental: (conf: {
2777
+ projectId: string;
2778
+ licenceId: string;
2779
+ headers?: {
2780
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2781
+ } | undefined;
2782
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2783
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2784
+ customerId?: string | undefined;
2785
+ licenceId: string;
2786
+ licenceKey: string;
2787
+ models: string[];
2788
+ name: string;
2789
+ projectId?: string | undefined;
2790
+ rateLimit: number;
2791
+ }>;
2759
2792
  /** Get a ProjectInvite by token. */
2760
2793
  getProjectTokenInvite: (conf: {
2761
2794
  headers: {
@@ -3141,6 +3174,8 @@ export declare class MittwaldAPIV2ClientReact {
3141
3174
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3142
3175
  /** The mail API allows you to manage your mail accounts. */
3143
3176
  readonly mail: ReturnType<typeof buildMailApi>;
3177
+ /** API endpoints that are not related to any specific API domain */
3178
+ readonly misc: ReturnType<typeof buildMiscApi>;
3144
3179
  /** The notification API allows you to manage your notifications. */
3145
3180
  readonly notification: ReturnType<typeof buildNotificationApi>;
3146
3181
  /** The page insights API allows you to get page insights information. */