@mittwald/api-client 4.178.0 → 4.180.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.
@@ -114,6 +114,8 @@ const buildMarketplaceApi = (baseClient) => ({
114
114
  contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
115
115
  /** Get the Stripe Dashboard Link for a Contributor. */
116
116
  contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
117
+ /** List ContractPartners of the contributor. */
118
+ contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
117
119
  /** List all invoices on behalf of a contributor. */
118
120
  contributorListOnbehalfInvoices: new ApiCallAsyncResourceFactory(descriptors.contributorListOnbehalfInvoices, baseClient.marketplace.contributorListOnbehalfInvoices).getApiResource,
119
121
  /** List ExtensionInstances. */
@@ -295,10 +297,6 @@ const buildMailApi = (baseClient) => ({
295
297
  /** List mail settings of a Project. */
296
298
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
297
299
  });
298
- const buildMiscApi = (baseClient) => ({
299
- /** Get a list of currently active llm models. */
300
- getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
301
- });
302
300
  const buildNotificationApi = (baseClient) => ({
303
301
  /** Getting the subscription status of the subscription. */
304
302
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -350,8 +348,6 @@ const buildUserApi = (baseClient) => ({
350
348
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
351
349
  });
352
350
  const buildProjectApi = (baseClient) => ({
353
- /** Get a list of already created llm licences. */
354
- getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
355
351
  /** List Invites belonging to a Project. */
356
352
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
357
353
  /** Get a ProjectInvite. */
@@ -360,8 +356,6 @@ const buildProjectApi = (baseClient) => ({
360
356
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
361
357
  /** Get a Project. */
362
358
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
363
- /** Get a licence of a project. */
364
- getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
365
359
  /** Get a ProjectInvite by token. */
366
360
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
367
361
  /** Get the executing user's membership in a Project. */
@@ -434,8 +428,6 @@ export class MittwaldAPIV2ClientReact {
434
428
  leadFyndr;
435
429
  /** The mail API allows you to manage your mail accounts. */
436
430
  mail;
437
- /** API endpoints that are not related to any specific API domain */
438
- misc;
439
431
  /** The notification API allows you to manage your notifications. */
440
432
  notification;
441
433
  /** The page insights API allows you to get page insights information. */
@@ -463,7 +455,6 @@ export class MittwaldAPIV2ClientReact {
463
455
  this.file = buildFileApi(baseClient);
464
456
  this.leadFyndr = buildLeadFyndrApi(baseClient);
465
457
  this.mail = buildMailApi(baseClient);
466
- this.misc = buildMiscApi(baseClient);
467
458
  this.notification = buildNotificationApi(baseClient);
468
459
  this.pageInsights = buildPageInsightsApi(baseClient);
469
460
  this.user = buildUserApi(baseClient);
@@ -205,6 +205,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
205
205
  contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
206
206
  /** Get the Stripe Dashboard Link for a Contributor. */
207
207
  contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
208
+ /** List ContractPartners of the contributor. */
209
+ contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
208
210
  /** List all invoices on behalf of a contributor. */
209
211
  contributorListOnbehalfInvoices: this.requestFunctionFactory(descriptors.contributorListOnbehalfInvoices),
210
212
  /** Rotate the secret for an extension instance. */
@@ -754,17 +756,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
754
756
  /** Removes a reservation on a unlocked lead for the given customerId. */
755
757
  leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
756
758
  };
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
- };
768
759
  /** The page insights API allows you to get page insights information. */
769
760
  pageInsights = {
770
761
  /** Get detailed performance data for a given domain and path. */
@@ -780,10 +771,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
780
771
  project = {
781
772
  /** Accept a ProjectInvite. */
782
773
  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),
787
774
  /** List Invites belonging to a Project. */
788
775
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
789
776
  /** Create a ProjectInvite. */
@@ -814,10 +801,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
814
801
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
815
802
  /** Delete a Server's avatar. */
816
803
  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),
821
804
  /** Get a ProjectInvite by token. */
822
805
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
823
806
  /** Get the executing user's membership in a Project. */
@@ -869,6 +852,15 @@ export class MittwaldAPIV2Client extends ApiClientBase {
869
852
  /** Relocate an external Project to mittwald. */
870
853
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
871
854
  };
855
+ /** API endpoints that are not related to any specific API domain */
856
+ misc = {
857
+ /** Obtain a service token. */
858
+ servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
859
+ /** Check if an address exists. */
860
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
861
+ /** Check if a company exists. */
862
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
863
+ };
872
864
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
873
865
  sshsftpUser = {
874
866
  /** Get all SFTPUsers for a Project. */
@@ -472,6 +472,12 @@ export const contributorGetLoginLink = {
472
472
  method: "GET",
473
473
  operationId: "contributor-get-login-link",
474
474
  };
475
+ /** List ContractPartners of the contributor. */
476
+ export const contributorListContractPartnersOfContributor = {
477
+ path: "/v2/contributors/{contributorId}/contract-partners",
478
+ method: "GET",
479
+ operationId: "contributor-list-contract-partners-of-contributor",
480
+ };
475
481
  /** List all invoices on behalf of a contributor. */
476
482
  export const contributorListOnbehalfInvoices = {
477
483
  path: "/v2/contributors/{contributorId}/invoices/outgoing",
@@ -1648,12 +1654,6 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1648
1654
  method: "PUT",
1649
1655
  operationId: "marketplace-customer-update-payment-method",
1650
1656
  };
1651
- /** Get a list of currently active llm models. */
1652
- export const miscGetLlmModelsExperimental = {
1653
- path: "/v2-experimental/llm-models",
1654
- method: "GET",
1655
- operationId: "misc-get-llm-models-experimental",
1656
- };
1657
1657
  /** Getting the subscription status of the subscription. */
1658
1658
  export const newsletterGetInfo = {
1659
1659
  path: "/v2/newsletter-subscriptions/self",
@@ -1774,18 +1774,6 @@ export const projectAcceptProjectInvite = {
1774
1774
  method: "POST",
1775
1775
  operationId: "project-accept-project-invite",
1776
1776
  };
1777
- /** Get a list of already created llm licences. */
1778
- export const projectGetLlmLicencesExperimental = {
1779
- path: "/v2-experimental/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: "/v2-experimental/projects/{projectId}/llm-licences",
1786
- method: "POST",
1787
- operationId: "project-create-llm-beta-licence-experimental",
1788
- };
1789
1777
  /** List Invites belonging to a Project. */
1790
1778
  export const projectListInvitesForProject = {
1791
1779
  path: "/v2/projects/{projectId}/invites",
@@ -1906,18 +1894,6 @@ export const projectFileSystemListFiles = {
1906
1894
  method: "GET",
1907
1895
  operationId: "project-file-system-list-files",
1908
1896
  };
1909
- /** Get a licence of a project. */
1910
- export const projectGetLlmLicenceExperimental = {
1911
- path: "/v2-experimental/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: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
1918
- method: "PUT",
1919
- operationId: "project-update-llm-licence-experimental",
1920
- };
1921
1897
  /** Get a ProjectInvite by token. */
1922
1898
  export const projectGetProjectTokenInvite = {
1923
1899
  path: "/v2/project-token-invite",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.177.0';
1
+ export const MittwaldAPIClientVersion = '4.179.0';
@@ -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. */
@@ -862,6 +863,19 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
862
863
  }) => import("@mittwald/react-use-promise").AsyncResource<{
863
864
  url?: string | undefined;
864
865
  }>;
866
+ /** List ContractPartners of the contributor. */
867
+ contributorListContractPartnersOfContributor: (conf: {
868
+ contributorId: string;
869
+ headers?: {
870
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
871
+ "x-access-token"?: string | undefined;
872
+ } | undefined;
873
+ queryParameters?: {
874
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
875
+ extensionId?: string | undefined;
876
+ extensionInstanceId?: string | undefined;
877
+ } | undefined;
878
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[]>;
865
879
  /** List all invoices on behalf of a contributor. */
866
880
  contributorListOnbehalfInvoices: (conf: {
867
881
  contributorId: string;
@@ -2272,14 +2286,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2272
2286
  whitelist: string[];
2273
2287
  }>;
2274
2288
  };
2275
- declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2276
- /** Get a list of currently active llm models. */
2277
- getLlmModelsExperimental: (conf?: {
2278
- headers?: {
2279
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2280
- } | undefined;
2281
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithModel[]>;
2282
- };
2283
2289
  declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
2284
2290
  /** Getting the subscription status of the subscription. */
2285
2291
  newsletterGetInfo: (conf?: {
@@ -2599,13 +2605,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
2599
2605
  }>;
2600
2606
  };
2601
2607
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2602
- /** Get a list of already created llm licences. */
2603
- getLlmLicencesExperimental: (conf: {
2604
- projectId: string;
2605
- headers?: {
2606
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2607
- } | undefined;
2608
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithLicence[]>;
2609
2608
  /** List Invites belonging to a Project. */
2610
2609
  listInvitesForProject: (conf: {
2611
2610
  projectId: string;
@@ -2696,23 +2695,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2696
2695
  webStorageUsageInBytes: number;
2697
2696
  webStorageUsageInBytesSetAt: string;
2698
2697
  }>;
2699
- /** Get a licence of a project. */
2700
- getLlmLicenceExperimental: (conf: {
2701
- projectId: string;
2702
- licenceId: string;
2703
- headers?: {
2704
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2705
- } | undefined;
2706
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2707
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2708
- customerId?: string | undefined;
2709
- licenceId: string;
2710
- licenceKey: string;
2711
- models: string[];
2712
- name: string;
2713
- projectId?: string | undefined;
2714
- rateLimit: number;
2715
- }>;
2716
2698
  /** Get a ProjectInvite by token. */
2717
2699
  getProjectTokenInvite: (conf: {
2718
2700
  headers: {
@@ -3098,8 +3080,6 @@ export declare class MittwaldAPIV2ClientReact {
3098
3080
  readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3099
3081
  /** The mail API allows you to manage your mail accounts. */
3100
3082
  readonly mail: ReturnType<typeof buildMailApi>;
3101
- /** API endpoints that are not related to any specific API domain */
3102
- readonly misc: ReturnType<typeof buildMiscApi>;
3103
3083
  /** The notification API allows you to manage your notifications. */
3104
3084
  readonly notification: ReturnType<typeof buildNotificationApi>;
3105
3085
  /** The page insights API allows you to get page insights information. */