@mittwald/api-client 4.176.0 → 4.178.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. */
@@ -267,6 +265,24 @@ const buildFileApi = (baseClient) => ({
267
265
  /** Get a File with user-friendly url. */
268
266
  getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
269
267
  });
268
+ const buildLeadFyndrApi = (baseClient) => ({
269
+ /** Get your LeadFyndr request. */
270
+ leadfyndrGetLeadFyndrProfileRequest: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileRequest, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileRequest).getApiResource,
271
+ /** Get cities in DACH. */
272
+ leadfyndrGetCities: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetCities, baseClient.leadFyndr.leadfyndrGetCities).getApiResource,
273
+ /** Get lead tariff options. How many leads did you unlock this month? */
274
+ leadfyndrGetLeadFyndrProfileTariffOptions: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptions, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileTariffOptions).getApiResource,
275
+ /** Get your LeadFyndr profile. */
276
+ leadfyndrGetLeadFyndrProfile: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfile, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfile).getApiResource,
277
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
278
+ leadfyndrGetLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLead, baseClient.leadFyndr.leadfyndrGetLead).getApiResource,
279
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
280
+ leadfyndrGetUnlockedLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLead, baseClient.leadFyndr.leadfyndrGetUnlockedLead).getApiResource,
281
+ /** Get all leads. Use the unlocked routes for more lead details. */
282
+ leadfyndrListLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeads, baseClient.leadFyndr.leadfyndrListLeads).getApiResource,
283
+ /** Get all unlocked leads. Organisation can unlock leads. */
284
+ leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
285
+ });
270
286
  const buildMailApi = (baseClient) => ({
271
287
  /** List DeliveryBoxes belonging to a Project. */
272
288
  listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
@@ -279,6 +295,10 @@ const buildMailApi = (baseClient) => ({
279
295
  /** List mail settings of a Project. */
280
296
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
281
297
  });
298
+ const buildMiscApi = (baseClient) => ({
299
+ /** Get a list of currently active llm models. */
300
+ getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
301
+ });
282
302
  const buildNotificationApi = (baseClient) => ({
283
303
  /** Getting the subscription status of the subscription. */
284
304
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
@@ -330,6 +350,8 @@ const buildUserApi = (baseClient) => ({
330
350
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
331
351
  });
332
352
  const buildProjectApi = (baseClient) => ({
353
+ /** Get a list of already created llm licences. */
354
+ getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
333
355
  /** List Invites belonging to a Project. */
334
356
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
335
357
  /** Get a ProjectInvite. */
@@ -338,6 +360,8 @@ const buildProjectApi = (baseClient) => ({
338
360
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
339
361
  /** Get a Project. */
340
362
  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,
341
365
  /** Get a ProjectInvite by token. */
342
366
  getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
343
367
  /** Get the executing user's membership in a Project. */
@@ -358,10 +382,6 @@ const buildProjectApi = (baseClient) => ({
358
382
  storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
359
383
  /** Get storage space Statistics belonging to a Server. */
360
384
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
361
- /** Get a list of already created llm licences. */
362
- getLlmLicencesExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicencesExperimental, baseClient.project.getLlmLicencesExperimental).getApiResource,
363
- /** Get a licence of a project. */
364
- getLlmLicenceExperimental: new ApiCallAsyncResourceFactory(descriptors.projectGetLlmLicenceExperimental, baseClient.project.getLlmLicenceExperimental).getApiResource,
365
385
  });
366
386
  const buildProjectFileSystemApi = (baseClient) => ({
367
387
  /** List directories belonging to a Project. */
@@ -385,28 +405,6 @@ const buildSshsftpUserApi = (baseClient) => ({
385
405
  /** Get an SSHUser. */
386
406
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
387
407
  });
388
- const buildLeadFyndrApi = (baseClient) => ({
389
- /** Get cities in DACH. */
390
- leadfyndrGetCities: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetCities, baseClient.leadFyndr.leadfyndrGetCities).getApiResource,
391
- /** Get a simple lead. Use the unlocked route for more detail leads. */
392
- leadfyndrGetLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLead, baseClient.leadFyndr.leadfyndrGetLead).getApiResource,
393
- /** Get all leads. Use the unlocked routes for more lead details. */
394
- leadfyndrListLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListLeads, baseClient.leadFyndr.leadfyndrListLeads).getApiResource,
395
- /** Get a detail of a unlocked lead. Organisation can unlock leads. */
396
- leadfyndrGetUnlockedLead: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetUnlockedLead, baseClient.leadFyndr.leadfyndrGetUnlockedLead).getApiResource,
397
- /** Get all unlocked leads. Organisation can unlock leads. */
398
- leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
399
- /** Get lead tariff options. How many leads did you unlock this month? */
400
- leadfyndrGetLeadFyndrProfileTariffOptions: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptions, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileTariffOptions).getApiResource,
401
- /** Get your LeadFyndr profile. */
402
- leadfyndrGetLeadFyndrProfile: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfile, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfile).getApiResource,
403
- /** Get your LeadFyndr request. */
404
- leadfyndrGetLeadFyndrProfileRequest: new ApiCallAsyncResourceFactory(descriptors.leadfyndrGetLeadFyndrProfileRequest, baseClient.leadFyndr.leadfyndrGetLeadFyndrProfileRequest).getApiResource,
405
- });
406
- const buildMiscApi = (baseClient) => ({
407
- /** Get a list of currently active llm models. */
408
- getLlmModelsExperimental: new ApiCallAsyncResourceFactory(descriptors.miscGetLlmModelsExperimental, baseClient.misc.getLlmModelsExperimental).getApiResource,
409
- });
410
408
  export class MittwaldAPIV2ClientReact {
411
409
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
412
410
  app;
@@ -432,8 +430,12 @@ export class MittwaldAPIV2ClientReact {
432
430
  domain;
433
431
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
434
432
  file;
433
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
434
+ leadFyndr;
435
435
  /** The mail API allows you to manage your mail accounts. */
436
436
  mail;
437
+ /** API endpoints that are not related to any specific API domain */
438
+ misc;
437
439
  /** The notification API allows you to manage your notifications. */
438
440
  notification;
439
441
  /** The page insights API allows you to get page insights information. */
@@ -446,10 +448,6 @@ export class MittwaldAPIV2ClientReact {
446
448
  projectFileSystem;
447
449
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
448
450
  sshsftpUser;
449
- /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
450
- leadFyndr;
451
- /** API endpoints that are not related to any specific API domain */
452
- misc;
453
451
  constructor(baseClient) {
454
452
  this.app = buildAppApi(baseClient);
455
453
  this.article = buildArticleApi(baseClient);
@@ -463,15 +461,15 @@ export class MittwaldAPIV2ClientReact {
463
461
  this.database = buildDatabaseApi(baseClient);
464
462
  this.domain = buildDomainApi(baseClient);
465
463
  this.file = buildFileApi(baseClient);
464
+ this.leadFyndr = buildLeadFyndrApi(baseClient);
466
465
  this.mail = buildMailApi(baseClient);
466
+ this.misc = buildMiscApi(baseClient);
467
467
  this.notification = buildNotificationApi(baseClient);
468
468
  this.pageInsights = buildPageInsightsApi(baseClient);
469
469
  this.user = buildUserApi(baseClient);
470
470
  this.project = buildProjectApi(baseClient);
471
471
  this.projectFileSystem = buildProjectFileSystemApi(baseClient);
472
472
  this.sshsftpUser = buildSshsftpUserApi(baseClient);
473
- this.leadFyndr = buildLeadFyndrApi(baseClient);
474
- this.misc = buildMiscApi(baseClient);
475
473
  }
476
474
  static fromBaseClient(baseClient) {
477
475
  return new MittwaldAPIV2ClientReact(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. */
@@ -729,6 +727,44 @@ export class MittwaldAPIV2Client extends ApiClientBase {
729
727
  /** Get a File with user-friendly url. */
730
728
  getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
731
729
  };
730
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
731
+ leadFyndr = {
732
+ /** Get your LeadFyndr request. */
733
+ leadfyndrGetLeadFyndrProfileRequest: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequest),
734
+ /** Create a new access request for LeadFyndr. */
735
+ leadfyndrCreateLeadFyndrAccessRequest: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequest),
736
+ /** Get cities in DACH. */
737
+ leadfyndrGetCities: this.requestFunctionFactory(descriptors.leadfyndrGetCities),
738
+ /** Get lead tariff options. How many leads did you unlock this month? */
739
+ leadfyndrGetLeadFyndrProfileTariffOptions: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptions),
740
+ /** Get your LeadFyndr profile. */
741
+ leadfyndrGetLeadFyndrProfile: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfile),
742
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
743
+ leadfyndrGetLead: this.requestFunctionFactory(descriptors.leadfyndrGetLead),
744
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
745
+ leadfyndrGetUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLead),
746
+ /** Unlock a lead for the given customerId. */
747
+ leadfyndrUnlockLead: this.requestFunctionFactory(descriptors.leadfyndrUnlockLead),
748
+ /** Get all leads. Use the unlocked routes for more lead details. */
749
+ leadfyndrListLeads: this.requestFunctionFactory(descriptors.leadfyndrListLeads),
750
+ /** Get all unlocked leads. Organisation can unlock leads. */
751
+ leadfyndrListUnlockedLeads: this.requestFunctionFactory(descriptors.leadfyndrListUnlockedLeads),
752
+ /** Reserve a unlocked lead for the given customerId. */
753
+ leadfyndrReserveUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLead),
754
+ /** Removes a reservation on a unlocked lead for the given customerId. */
755
+ leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
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
+ };
732
768
  /** The page insights API allows you to get page insights information. */
733
769
  pageInsights = {
734
770
  /** Get detailed performance data for a given domain and path. */
@@ -744,6 +780,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
744
780
  project = {
745
781
  /** Accept a ProjectInvite. */
746
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),
747
787
  /** List Invites belonging to a Project. */
748
788
  listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
749
789
  /** Create a ProjectInvite. */
@@ -774,6 +814,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
774
814
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
775
815
  /** Delete a Server's avatar. */
776
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),
777
821
  /** Get a ProjectInvite by token. */
778
822
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
779
823
  /** Get the executing user's membership in a Project. */
@@ -804,14 +848,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
804
848
  storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
805
849
  /** Update a Server's storage space notification threshold. */
806
850
  storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
807
- /** Get a list of already created llm licences. */
808
- getLlmLicencesExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicencesExperimental),
809
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
810
- createLlmBetaLicenceExperimental: this.requestFunctionFactory(descriptors.projectCreateLlmBetaLicenceExperimental),
811
- /** Get a licence of a project. */
812
- getLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectGetLlmLicenceExperimental),
813
- /** Update a llm Licence for a project. */
814
- updateLlmLicenceExperimental: this.requestFunctionFactory(descriptors.projectUpdateLlmLicenceExperimental),
815
851
  };
816
852
  /** The filesystem API allows you to directly access the filesystem of your project. */
817
853
  projectFileSystem = {
@@ -833,17 +869,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
833
869
  /** Relocate an external Project to mittwald. */
834
870
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
835
871
  };
836
- /** API endpoints that are not related to any specific API domain */
837
- misc = {
838
- /** Obtain a service token. */
839
- servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
840
- /** Check if an address exists. */
841
- verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
842
- /** Check if a company exists. */
843
- verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
844
- /** Get a list of currently active llm models. */
845
- getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
846
- };
847
872
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
848
873
  sshsftpUser = {
849
874
  /** Get all SFTPUsers for a Project. */
@@ -867,32 +892,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
867
892
  /** Update an SSHUser. */
868
893
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
869
894
  };
870
- /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
871
- leadFyndr = {
872
- /** Get cities in DACH. */
873
- leadfyndrGetCities: this.requestFunctionFactory(descriptors.leadfyndrGetCities),
874
- /** Reserve a unlocked lead for the given customerId. */
875
- leadfyndrReserveUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrReserveUnlockedLead),
876
- /** Removes a reservation on a unlocked lead for the given customerId. */
877
- leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
878
- /** Get a simple lead. Use the unlocked route for more detail leads. */
879
- leadfyndrGetLead: this.requestFunctionFactory(descriptors.leadfyndrGetLead),
880
- /** Get all leads. Use the unlocked routes for more lead details. */
881
- leadfyndrListLeads: this.requestFunctionFactory(descriptors.leadfyndrListLeads),
882
- /** Get a detail of a unlocked lead. Organisation can unlock leads. */
883
- leadfyndrGetUnlockedLead: this.requestFunctionFactory(descriptors.leadfyndrGetUnlockedLead),
884
- /** Unlock a lead for the given customerId. */
885
- leadfyndrUnlockLead: this.requestFunctionFactory(descriptors.leadfyndrUnlockLead),
886
- /** Get all unlocked leads. Organisation can unlock leads. */
887
- leadfyndrListUnlockedLeads: this.requestFunctionFactory(descriptors.leadfyndrListUnlockedLeads),
888
- /** Get lead tariff options. How many leads did you unlock this month? */
889
- leadfyndrGetLeadFyndrProfileTariffOptions: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileTariffOptions),
890
- /** Get your LeadFyndr profile. */
891
- leadfyndrGetLeadFyndrProfile: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfile),
892
- /** Get your LeadFyndr request. */
893
- leadfyndrGetLeadFyndrProfileRequest: this.requestFunctionFactory(descriptors.leadfyndrGetLeadFyndrProfileRequest),
894
- /** Create a new access request for LeadFyndr. */
895
- leadfyndrCreateLeadFyndrAccessRequest: this.requestFunctionFactory(descriptors.leadfyndrCreateLeadFyndrAccessRequest),
896
- };
897
895
  }
898
896
  export default MittwaldAPIV2Client;
@@ -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",
@@ -1486,6 +1480,78 @@ export const invoiceListCustomerInvoices = {
1486
1480
  method: "GET",
1487
1481
  operationId: "invoice-list-customer-invoices",
1488
1482
  };
1483
+ /** Get your LeadFyndr request. */
1484
+ export const leadfyndrGetLeadFyndrProfileRequest = {
1485
+ path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
1486
+ method: "GET",
1487
+ operationId: "leadfyndr-get-lead-fyndr-profile-request",
1488
+ };
1489
+ /** Create a new access request for LeadFyndr. */
1490
+ export const leadfyndrCreateLeadFyndrAccessRequest = {
1491
+ path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
1492
+ method: "POST",
1493
+ operationId: "leadfyndr-create-lead-fyndr-access-request",
1494
+ };
1495
+ /** Get cities in DACH. */
1496
+ export const leadfyndrGetCities = {
1497
+ path: "/v2/cities",
1498
+ method: "GET",
1499
+ operationId: "leadfyndr-get-cities",
1500
+ };
1501
+ /** Get lead tariff options. How many leads did you unlock this month? */
1502
+ export const leadfyndrGetLeadFyndrProfileTariffOptions = {
1503
+ path: "/v2/customers/{customerId}/lead-fyndr-profile/tariff",
1504
+ method: "GET",
1505
+ operationId: "leadfyndr-get-lead-fyndr-profile-tariff-options",
1506
+ };
1507
+ /** Get your LeadFyndr profile. */
1508
+ export const leadfyndrGetLeadFyndrProfile = {
1509
+ path: "/v2/customers/{customerId}/lead-fyndr-profile",
1510
+ method: "GET",
1511
+ operationId: "leadfyndr-get-lead-fyndr-profile",
1512
+ };
1513
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
1514
+ export const leadfyndrGetLead = {
1515
+ path: "/v2/customers/{customerId}/leads/{leadId}",
1516
+ method: "GET",
1517
+ operationId: "leadfyndr-get-lead",
1518
+ };
1519
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
1520
+ export const leadfyndrGetUnlockedLead = {
1521
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
1522
+ method: "GET",
1523
+ operationId: "leadfyndr-get-unlocked-lead",
1524
+ };
1525
+ /** Unlock a lead for the given customerId. */
1526
+ export const leadfyndrUnlockLead = {
1527
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
1528
+ method: "POST",
1529
+ operationId: "leadfyndr-unlock-lead",
1530
+ };
1531
+ /** Get all leads. Use the unlocked routes for more lead details. */
1532
+ export const leadfyndrListLeads = {
1533
+ path: "/v2/customers/{customerId}/leads",
1534
+ method: "GET",
1535
+ operationId: "leadfyndr-list-leads",
1536
+ };
1537
+ /** Get all unlocked leads. Organisation can unlock leads. */
1538
+ export const leadfyndrListUnlockedLeads = {
1539
+ path: "/v2/customers/{customerId}/unlocked-leads",
1540
+ method: "GET",
1541
+ operationId: "leadfyndr-list-unlocked-leads",
1542
+ };
1543
+ /** Reserve a unlocked lead for the given customerId. */
1544
+ export const leadfyndrReserveUnlockedLead = {
1545
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1546
+ method: "POST",
1547
+ operationId: "leadfyndr-reserve-unlocked-lead",
1548
+ };
1549
+ /** Removes a reservation on a unlocked lead for the given customerId. */
1550
+ export const leadfyndrRemoveUnlockedLeadReservation = {
1551
+ path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
1552
+ method: "DELETE",
1553
+ operationId: "leadfyndr-remove-unlocked-lead-reservation",
1554
+ };
1489
1555
  /** List DeliveryBoxes belonging to a Project. */
1490
1556
  export const mailListDeliveryBoxes = {
1491
1557
  path: "/v2/projects/{projectId}/delivery-boxes",
@@ -1582,6 +1648,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
1582
1648
  method: "PUT",
1583
1649
  operationId: "marketplace-customer-update-payment-method",
1584
1650
  };
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
+ };
1585
1657
  /** Getting the subscription status of the subscription. */
1586
1658
  export const newsletterGetInfo = {
1587
1659
  path: "/v2/newsletter-subscriptions/self",
@@ -1702,6 +1774,18 @@ export const projectAcceptProjectInvite = {
1702
1774
  method: "POST",
1703
1775
  operationId: "project-accept-project-invite",
1704
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
+ };
1705
1789
  /** List Invites belonging to a Project. */
1706
1790
  export const projectListInvitesForProject = {
1707
1791
  path: "/v2/projects/{projectId}/invites",
@@ -1822,6 +1906,18 @@ export const projectFileSystemListFiles = {
1822
1906
  method: "GET",
1823
1907
  operationId: "project-file-system-list-files",
1824
1908
  };
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
+ };
1825
1921
  /** Get a ProjectInvite by token. */
1826
1922
  export const projectGetProjectTokenInvite = {
1827
1923
  path: "/v2/project-token-invite",
@@ -2368,105 +2464,3 @@ export const verificationVerifyCompany = {
2368
2464
  method: "POST",
2369
2465
  operationId: "verification-verify-company",
2370
2466
  };
2371
- /** Get cities in DACH. */
2372
- export const leadfyndrGetCities = {
2373
- path: "/v2/cities",
2374
- method: "GET",
2375
- operationId: "leadfyndr-get-cities",
2376
- };
2377
- /** Reserve a unlocked lead for the given customerId. */
2378
- export const leadfyndrReserveUnlockedLead = {
2379
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
2380
- method: "POST",
2381
- operationId: "leadfyndr-reserve-unlocked-lead",
2382
- };
2383
- /** Removes a reservation on a unlocked lead for the given customerId. */
2384
- export const leadfyndrRemoveUnlockedLeadReservation = {
2385
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}/reservation",
2386
- method: "DELETE",
2387
- operationId: "leadfyndr-remove-unlocked-lead-reservation",
2388
- };
2389
- /** Get a simple lead. Use the unlocked route for more detail leads. */
2390
- export const leadfyndrGetLead = {
2391
- path: "/v2/customers/{customerId}/leads/{leadId}",
2392
- method: "GET",
2393
- operationId: "leadfyndr-get-lead",
2394
- };
2395
- /** Get all leads. Use the unlocked routes for more lead details. */
2396
- export const leadfyndrListLeads = {
2397
- path: "/v2/customers/{customerId}/leads",
2398
- method: "GET",
2399
- operationId: "leadfyndr-list-leads",
2400
- };
2401
- /** Get a detail of a unlocked lead. Organisation can unlock leads. */
2402
- export const leadfyndrGetUnlockedLead = {
2403
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
2404
- method: "GET",
2405
- operationId: "leadfyndr-get-unlocked-lead",
2406
- };
2407
- /** Unlock a lead for the given customerId. */
2408
- export const leadfyndrUnlockLead = {
2409
- path: "/v2/customers/{customerId}/unlocked-leads/{leadId}",
2410
- method: "POST",
2411
- operationId: "leadfyndr-unlock-lead",
2412
- };
2413
- /** Get all unlocked leads. Organisation can unlock leads. */
2414
- export const leadfyndrListUnlockedLeads = {
2415
- path: "/v2/customers/{customerId}/unlocked-leads",
2416
- method: "GET",
2417
- operationId: "leadfyndr-list-unlocked-leads",
2418
- };
2419
- /** Get lead tariff options. How many leads did you unlock this month? */
2420
- export const leadfyndrGetLeadFyndrProfileTariffOptions = {
2421
- path: "/v2/customers/{customerId}/lead-fyndr-profile/tariff",
2422
- method: "GET",
2423
- operationId: "leadfyndr-get-lead-fyndr-profile-tariff-options",
2424
- };
2425
- /** Get your LeadFyndr profile. */
2426
- export const leadfyndrGetLeadFyndrProfile = {
2427
- path: "/v2/customers/{customerId}/lead-fyndr-profile",
2428
- method: "GET",
2429
- operationId: "leadfyndr-get-lead-fyndr-profile",
2430
- };
2431
- /** Get your LeadFyndr request. */
2432
- export const leadfyndrGetLeadFyndrProfileRequest = {
2433
- path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
2434
- method: "GET",
2435
- operationId: "leadfyndr-get-lead-fyndr-profile-request",
2436
- };
2437
- /** Create a new access request for LeadFyndr. */
2438
- export const leadfyndrCreateLeadFyndrAccessRequest = {
2439
- path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
2440
- method: "POST",
2441
- operationId: "leadfyndr-create-lead-fyndr-access-request",
2442
- };
2443
- /** Get a list of already created llm licences. */
2444
- export const projectGetLlmLicencesExperimental = {
2445
- path: "/v2-experimental/projects/{projectId}/llm-licences",
2446
- method: "GET",
2447
- operationId: "project-get-llm-licences-experimental",
2448
- };
2449
- /** Creates a new llm beta Licence for a project. Will be purged on end of beta. */
2450
- export const projectCreateLlmBetaLicenceExperimental = {
2451
- path: "/v2-experimental/projects/{projectId}/llm-licences",
2452
- method: "POST",
2453
- operationId: "project-create-llm-beta-licence-experimental",
2454
- };
2455
- /** Get a licence of a project. */
2456
- export const projectGetLlmLicenceExperimental = {
2457
- path: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
2458
- method: "GET",
2459
- operationId: "project-get-llm-licence-experimental",
2460
- };
2461
- /** Update a llm Licence for a project. */
2462
- export const projectUpdateLlmLicenceExperimental = {
2463
- path: "/v2-experimental/projects/{projectId}/llm-licences/{licenceId}",
2464
- method: "PUT",
2465
- operationId: "project-update-llm-licence-experimental",
2466
- };
2467
- /** Get a list of currently active llm models. */
2468
- export const miscGetLlmModelsExperimental = {
2469
- path: "/v2-experimental/llm-models",
2470
- method: "GET",
2471
- operationId: "misc-get-llm-models-experimental",
2472
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.175.0';
1
+ export const MittwaldAPIClientVersion = '4.177.0';