@mittwald/api-client 4.177.0 → 4.179.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.
@@ -88,8 +88,6 @@ const buildContractApi = (baseClient) => ({
88
88
  getDetailOfContractItem: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractItem, baseClient.contract.getDetailOfContractItem).getApiResource,
89
89
  /** Returns the Contract with the given ID. */
90
90
  getDetailOfContract: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContract, baseClient.contract.getDetailOfContract).getApiResource,
91
- /** Return the next TerminationDate for the ContractItem with the given ID. */
92
- getNextTerminationDateForItem: new ApiCallAsyncResourceFactory(descriptors.contractGetNextTerminationDateForItem, baseClient.contract.getNextTerminationDateForItem).getApiResource,
93
91
  /** Return a list of Contracts for the given Customer. */
94
92
  listContracts: new ApiCallAsyncResourceFactory(descriptors.contractListContracts, baseClient.contract.listContracts).getApiResource,
95
93
  /** Get details of an Invoice. */
@@ -297,10 +295,6 @@ const buildMailApi = (baseClient) => ({
297
295
  /** List mail settings of a Project. */
298
296
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
299
297
  });
300
- const buildMiscApi = (baseClient) => ({
301
- /** Get a list of currently active llm models. */
302
- getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
303
- });
304
298
  const buildNotificationApi = (baseClient) => ({
305
299
  /** Getting the subscription status of the subscription. */
306
300
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -352,8 +346,6 @@ const buildUserApi = (baseClient) => ({
352
346
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
353
347
  });
354
348
  const buildProjectApi = (baseClient) => ({
355
- /** Get a list of already created llm licences. */
356
- getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
357
349
  /** List Invites belonging to a Project. */
358
350
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
359
351
  /** Get a ProjectInvite. */
@@ -362,8 +354,6 @@ const buildProjectApi = (baseClient) => ({
362
354
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
363
355
  /** Get a Project. */
364
356
  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,
367
357
  /** Get a ProjectInvite by token. */
368
358
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
369
359
  /** Get the executing user's membership in a Project. */
@@ -436,8 +426,6 @@ export class MittwaldAPIV2ClientReact {
436
426
  leadFyndr;
437
427
  /** The mail API allows you to manage your mail accounts. */
438
428
  mail;
439
- /** API endpoints that are not related to any specific API domain */
440
- misc;
441
429
  /** The notification API allows you to manage your notifications. */
442
430
  notification;
443
431
  /** The page insights API allows you to get page insights information. */
@@ -465,7 +453,6 @@ export class MittwaldAPIV2ClientReact {
465
453
  this.file = buildFileApi(baseClient);
466
454
  this.leadFyndr = buildLeadFyndrApi(baseClient);
467
455
  this.mail = buildMailApi(baseClient);
468
- this.misc = buildMiscApi(baseClient);
469
456
  this.notification = buildNotificationApi(baseClient);
470
457
  this.pageInsights = buildPageInsightsApi(baseClient);
471
458
  this.user = buildUserApi(baseClient);
@@ -166,8 +166,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
166
166
  getDetailOfContractItem: this.requestFunctionFactory(descriptors.contractGetDetailOfContractItem),
167
167
  /** Returns the Contract with the given ID. */
168
168
  getDetailOfContract: this.requestFunctionFactory(descriptors.contractGetDetailOfContract),
169
- /** Return the next TerminationDate for the ContractItem with the given ID. */
170
- getNextTerminationDateForItem: this.requestFunctionFactory(descriptors.contractGetNextTerminationDateForItem),
171
169
  /** Return a list of Contracts for the given Customer. */
172
170
  listContracts: this.requestFunctionFactory(descriptors.contractListContracts),
173
171
  /** Get details of an Invoice. */
@@ -756,17 +754,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
756
754
  /** Removes a reservation on a unlocked lead for the given customerId. */
757
755
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
758
756
  };
759
- /** API endpoints that are not related to any specific API domain */
760
- misc = {
761
- /** Get a list of currently active llm models. */
762
- getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
763
- /** Obtain a service token. */
764
- servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
765
- /** Check if an address exists. */
766
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
767
- /** Check if a company exists. */
768
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
769
- };
770
757
  /** The page insights API allows you to get page insights information. */
771
758
  pageInsights = {
772
759
  /** Get detailed performance data for a given domain and path. */
@@ -782,10 +769,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
782
769
  project = {
783
770
  /** Accept a ProjectInvite. */
784
771
  acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
785
- /** Get a list of already created llm licences. */
786
- getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
787
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
788
- createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
789
772
  /** List Invites belonging to a Project. */
790
773
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
791
774
  /** Create a ProjectInvite. */
@@ -816,10 +799,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
816
799
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
817
800
  /** Delete a Server's avatar. */
818
801
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
819
- /** Get a licence of a project. */
820
- getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
821
- /** Update a llm Licence for a project. */
822
- updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
823
802
  /** Get a ProjectInvite by token. */
824
803
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
825
804
  /** Get the executing user's membership in a Project. */
@@ -871,6 +850,15 @@ export class MittwaldAPIV2Client extends ApiClientBase {
871
850
  /** Relocate an external Project to mittwald. */
872
851
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
873
852
  };
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
+ };
874
862
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
875
863
  sshsftpUser = {
876
864
  /** Get all SFTPUsers for a Project. */
@@ -442,12 +442,6 @@ export const contractGetDetailOfContract = {
442
442
  method: "GET",
443
443
  operationId: "contract-get-detail-of-contract",
444
444
  };
445
- /** Return the next TerminationDate for the ContractItem with the given ID. */
446
- export const contractGetNextTerminationDateForItem = {
447
- path: "/v2/contracts/{contractId}/items/{contractItemId}/next-termination-dates",
448
- method: "GET",
449
- operationId: "contract-get-next-termination-date-for-item",
450
- };
451
445
  /** Return a list of Contracts for the given Customer. */
452
446
  export const contractListContracts = {
453
447
  path: "/v2/customers/{customerId}/contracts",
@@ -1654,12 +1648,6 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1654
1648
  method: "PUT",
1655
1649
  operationId: "marketplace-customer-update-payment-method",
1656
1650
  };
1657
- /** Get a list of currently active llm models. */
1658
- export const miscGetLlmModelsExperimental = {
1659
- path: "/v2-experimental/llm-models",
1660
- method: "GET",
1661
- operationId: "misc-get-llm-models-experimental",
1662
- };
1663
1651
  /** Getting the subscription status of the subscription. */
1664
1652
  export const newsletterGetInfo = {
1665
1653
  path: "/v2/newsletter-subscriptions/self",
@@ -1780,18 +1768,6 @@ export const projectAcceptProjectInvite = {
1780
1768
  method: "POST",
1781
1769
  operationId: "project-accept-project-invite",
1782
1770
  };
1783
- /** Get a list of already created llm licences. */
1784
- export const projectGetLlmLicencesExperimental = {
1785
- path: "/v2-experimental/projects/{projectId}/llm-licences",
1786
- method: "GET",
1787
- operationId: "project-get-llm-licences-experimental",
1788
- };
1789
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
1790
- export const projectCreateLlmBetaLicenceExperimental = {
1791
- path: "/v2-experimental/projects/{projectId}/llm-licences",
1792
- method: "POST",
1793
- operationId: "project-create-llm-beta-licence-experimental",
1794
- };
1795
1771
  /** List Invites belonging to a Project. */
1796
1772
  export const projectListInvitesForProject = {
1797
1773
  path: "/v2/projects/{projectId}/invites",
@@ -1912,18 +1888,6 @@ export const projectFileSystemListFiles = {
1912
1888
  method: "GET",
1913
1889
  operationId: "project-file-system-list-files",
1914
1890
  };
1915
- /** Get a licence of a project. */
1916
- export const projectGetLlmLicenceExperimental = {
1917
- path: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
1918
- method: "GET",
1919
- operationId: "project-get-llm-licence-experimental",
1920
- };
1921
- /** Update a llm Licence for a project. */
1922
- export const projectUpdateLlmLicenceExperimental = {
1923
- path: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
1924
- method: "PUT",
1925
- operationId: "project-update-llm-licence-experimental",
1926
- };
1927
1891
  /** Get a ProjectInvite by token. */
1928
1892
  export const projectGetProjectTokenInvite = {
1929
1893
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.176.0';
1
+ export const MittwaldAPIClientVersion = '4.178.0';
@@ -31,7 +31,9 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
31
31
  id: string;
32
32
  installationPath: string;
33
33
  linkedDatabases?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[] | undefined;
34
- processes?: string[] | undefined;
34
+ lockedBy?: {
35
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
36
+ } | undefined;
35
37
  projectId?: string | undefined;
36
38
  screenshotId?: string | undefined;
37
39
  screenshotRef?: string | undefined;
@@ -662,18 +664,6 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
662
664
  customerId: string;
663
665
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
664
666
  }>;
665
- /** Return the next TerminationDate for the ContractItem with the given ID. */
666
- getNextTerminationDateForItem: (conf: {
667
- contractId: string;
668
- contractItemId: string;
669
- headers?: {
670
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
671
- "x-access-token"?: string | undefined;
672
- } | undefined;
673
- }) => import("@mittwald/react-use-promise").AsyncResource<{
674
- contractItemId: string;
675
- nextTerminationDate: string;
676
- }>;
677
667
  /** Return a list of Contracts for the given Customer. */
678
668
  listContracts: (conf: {
679
669
  customerId: string;
@@ -763,6 +753,8 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
763
753
  limit?: number | undefined;
764
754
  skip?: number | undefined;
765
755
  page?: number | undefined;
756
+ sort?: "invoiceNumber"[] | undefined;
757
+ order?: ("asc" | "desc")[] | undefined;
766
758
  } | undefined;
767
759
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoice[]>;
768
760
  /** Get list of Orders. */
@@ -2281,14 +2273,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2281
2273
  whitelist: string[];
2282
2274
  }>;
2283
2275
  };
2284
- declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2285
- /** Get a list of currently active llm models. */
2286
- getLlmModelsExperimental: (conf?: {
2287
- headers?: {
2288
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2289
- } | undefined;
2290
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[]>;
2291
- };
2292
2276
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2293
2277
  /** Getting the subscription status of the subscription. */
2294
2278
  newsletterGetInfo: (conf?: {
@@ -2608,13 +2592,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2608
2592
  }>;
2609
2593
  };
2610
2594
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2611
- /** Get a list of already created llm licences. */
2612
- getLlmLicencesExperimental: (conf: {
2613
- projectId: string;
2614
- headers?: {
2615
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2616
- } | undefined;
2617
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[]>;
2618
2595
  /** List Invites belonging to a Project. */
2619
2596
  listInvitesForProject: (conf: {
2620
2597
  projectId: string;
@@ -2705,23 +2682,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2705
2682
  webStorageUsageInBytes: number;
2706
2683
  webStorageUsageInBytesSetAt: string;
2707
2684
  }>;
2708
- /** Get a licence of a project. */
2709
- getLlmLicenceExperimental: (conf: {
2710
- projectId: string;
2711
- licenceId: string;
2712
- headers?: {
2713
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2714
- } | undefined;
2715
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2716
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2717
- customerId?: string | undefined;
2718
- licenceId: string;
2719
- licenceKey: string;
2720
- models: string[];
2721
- name: string;
2722
- projectId?: string | undefined;
2723
- rateLimit: number;
2724
- }>;
2725
2685
  /** Get a ProjectInvite by token. */
2726
2686
  getProjectTokenInvite: (conf: {
2727
2687
  headers: {
@@ -3107,8 +3067,6 @@ export declare class MittwaldAPIV2ClientReact {
3107
3067
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3108
3068
  /** The mail API allows you to manage your mail accounts. */
3109
3069
  readonly mail: ReturnType<typeof buildMailApi>;
3110
- /** API endpoints that are not related to any specific API domain */
3111
- readonly misc: ReturnType<typeof buildMiscApi>;
3112
3070
  /** The notification API allows you to manage your notifications. */
3113
3071
  readonly notification: ReturnType<typeof buildNotificationApi>;
3114
3072
  /** The page insights API allows you to get page insights information. */