@mittwald/api-client 0.0.0-development-29c5263-20251024 → 0.0.0-development-3a5c2fb-20251119
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.
- package/dist/esm/generated/v2/client-react.js +3 -5
- package/dist/esm/generated/v2/client.js +13 -13
- package/dist/esm/generated/v2/descriptors.js +61 -37
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +24 -33
- package/dist/types/generated/v2/client.d.ts +437 -426
- package/dist/types/generated/v2/descriptors.d.ts +24 -16
- package/dist/types/generated/v2/types.d.ts +786 -450
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -48,10 +48,8 @@ const buildBackupApi = (baseClient) => ({
|
|
|
48
48
|
getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
|
|
49
49
|
/** Get a ProjectBackup. */
|
|
50
50
|
getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
|
|
51
|
-
/** Get
|
|
51
|
+
/** Get table of contents for a ProjectBackup. */
|
|
52
52
|
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
53
|
-
/** Get databases for a ProjectBackup. */
|
|
54
|
-
getProjectBackupDatabases: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabases, baseClient.backup.getProjectBackupDatabases).getApiResource,
|
|
55
53
|
});
|
|
56
54
|
const buildContainerApi = (baseClient) => ({
|
|
57
55
|
/** List Registries belonging to a Project. */
|
|
@@ -188,10 +186,10 @@ const buildCronjobApi = (baseClient) => ({
|
|
|
188
186
|
listExecutions: new ApiCallAsyncResourceFactory(descriptors.cronjobListExecutions, baseClient.cronjob.listExecutions).getApiResource,
|
|
189
187
|
/** Get a Cronjob. */
|
|
190
188
|
getCronjob: new ApiCallAsyncResourceFactory(descriptors.cronjobGetCronjob, baseClient.cronjob.getCronjob).getApiResource,
|
|
191
|
-
/** Get a CronjobExecution. */
|
|
192
|
-
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
193
189
|
/** Get a CronjobExecution analysis for failed executions. */
|
|
194
190
|
getExecutionAnalysis: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecutionAnalysis, baseClient.cronjob.getExecutionAnalysis).getApiResource,
|
|
191
|
+
/** Get a CronjobExecution. */
|
|
192
|
+
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
195
193
|
});
|
|
196
194
|
const buildCustomerApi = (baseClient) => ({
|
|
197
195
|
/** List Invites belonging to a Customer. */
|
|
@@ -86,16 +86,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
86
86
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
87
87
|
/** Delete a ProjectBackup. */
|
|
88
88
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
89
|
-
/** Get
|
|
89
|
+
/** Get table of contents for a ProjectBackup. */
|
|
90
90
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
91
91
|
/** Restore a ProjectBackup's path. */
|
|
92
92
|
requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
|
|
93
93
|
/** Change the description of a ProjectBackup. */
|
|
94
94
|
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
95
|
-
/** Restore a ProjectBackup's database. */
|
|
96
|
-
requestProjectBackupRestoreDatabase: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreDatabase),
|
|
97
|
-
/** Get databases for a ProjectBackup. */
|
|
98
|
-
getProjectBackupDatabases: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabases),
|
|
99
95
|
};
|
|
100
96
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
101
97
|
container = {
|
|
@@ -251,6 +247,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
251
247
|
extensionScheduleExtensionTermination: this.requestFunctionFactory(descriptors.extensionScheduleExtensionTermination),
|
|
252
248
|
/** Cancel an Extension Instance Termination. */
|
|
253
249
|
extensionCancelExtensionTermination: this.requestFunctionFactory(descriptors.extensionCancelExtensionTermination),
|
|
250
|
+
/** Schedule an Extension Instance Variant change for the next possible date. */
|
|
251
|
+
extensionScheduleExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionScheduleExtensionVariantChange),
|
|
252
|
+
/** Cancel an Extension Instance Variant Change. */
|
|
253
|
+
extensionCancelExtensionVariantChange: this.requestFunctionFactory(descriptors.extensionCancelExtensionVariantChange),
|
|
254
254
|
/** Change the context of an Extension. */
|
|
255
255
|
extensionChangeContext: this.requestFunctionFactory(descriptors.extensionChangeContext),
|
|
256
256
|
/** Consent to extension scopes. */
|
|
@@ -381,12 +381,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
381
381
|
deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
|
|
382
382
|
/** Update a Cronjob. */
|
|
383
383
|
updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
|
|
384
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
385
|
+
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
384
386
|
/** Get a CronjobExecution. */
|
|
385
387
|
getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
|
|
386
388
|
/** Update a Cronjob's app id. */
|
|
387
389
|
updateCronjobAppId: this.requestFunctionFactory(descriptors.cronjobUpdateCronjobAppId),
|
|
388
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
389
|
-
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
390
390
|
};
|
|
391
391
|
/** The customer API allows you to manage your own organizations and users. */
|
|
392
392
|
customer = {
|
|
@@ -520,6 +520,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
520
520
|
dnsUpdateRecordSet: this.requestFunctionFactory(descriptors.dnsUpdateRecordSet),
|
|
521
521
|
/** Abort a Domain declaration. */
|
|
522
522
|
abortDomainDeclaration: this.requestFunctionFactory(descriptors.domainAbortDomainDeclaration),
|
|
523
|
+
/** Create a scheduled deletion of a Domain. */
|
|
524
|
+
createScheduledDeletion: this.requestFunctionFactory(descriptors.domainCreateScheduledDeletion),
|
|
525
|
+
/** Cancel a scheduled deletion of a Domain. */
|
|
526
|
+
cancelScheduledDeletion: this.requestFunctionFactory(descriptors.domainCancelScheduledDeletion),
|
|
523
527
|
/** Check if a Domain is available to register. */
|
|
524
528
|
checkDomainRegistrability: this.requestFunctionFactory(descriptors.domainCheckDomainRegistrability),
|
|
525
529
|
/** Check if a Domain is available to transfer. */
|
|
@@ -580,10 +584,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
580
584
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
581
585
|
/** Update the certificate of a CertificateRequest. */
|
|
582
586
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
583
|
-
/** Create a scheduled deletion of a Domain. */
|
|
584
|
-
createScheduledDeletion: this.requestFunctionFactory(descriptors.domainCreateScheduledDeletion),
|
|
585
|
-
/** Cancel a scheduled deletion of a Domain. */
|
|
586
|
-
cancelScheduledDeletion: this.requestFunctionFactory(descriptors.domainCancelScheduledDeletion),
|
|
587
587
|
};
|
|
588
588
|
/** The mail API allows you to manage your mail accounts. */
|
|
589
589
|
mail = {
|
|
@@ -597,6 +597,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
597
597
|
updateMailAddressQuota: this.requestFunctionFactory(descriptors.mailUpdateMailAddressQuota),
|
|
598
598
|
/** Update the spam protection of a MailAddress. */
|
|
599
599
|
updateMailAddressSpamProtection: this.requestFunctionFactory(descriptors.mailUpdateMailAddressSpamProtection),
|
|
600
|
+
/** Update a mail setting of a Project. */
|
|
601
|
+
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
600
602
|
/** List DeliveryBoxes belonging to a Project. */
|
|
601
603
|
listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
|
|
602
604
|
/** Create a DeliveryBox. */
|
|
@@ -637,8 +639,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
637
639
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
638
640
|
/** Update the catch-all of a MailAddress. */
|
|
639
641
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
640
|
-
/** Update a mail setting of a Project. */
|
|
641
|
-
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
642
642
|
};
|
|
643
643
|
/** The notification API allows you to manage your notifications. */
|
|
644
644
|
notification = {
|
|
@@ -220,7 +220,7 @@ export const backupDeleteProjectBackup = {
|
|
|
220
220
|
method: "DELETE",
|
|
221
221
|
operationId: "backup-delete-project-backup",
|
|
222
222
|
};
|
|
223
|
-
/** Get
|
|
223
|
+
/** Get table of contents for a ProjectBackup. */
|
|
224
224
|
export const backupGetProjectBackupDirectories = {
|
|
225
225
|
path: "/v2/project-backups/{projectBackupId}/path",
|
|
226
226
|
method: "GET",
|
|
@@ -706,6 +706,12 @@ export const cronjobUpdateCronjob = {
|
|
|
706
706
|
method: "PATCH",
|
|
707
707
|
operationId: "cronjob-update-cronjob",
|
|
708
708
|
};
|
|
709
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
710
|
+
export const cronjobGetExecutionAnalysis = {
|
|
711
|
+
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
|
|
712
|
+
method: "GET",
|
|
713
|
+
operationId: "cronjob-get-execution-analysis",
|
|
714
|
+
};
|
|
709
715
|
/** Get a CronjobExecution. */
|
|
710
716
|
export const cronjobGetExecution = {
|
|
711
717
|
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
|
|
@@ -1072,6 +1078,12 @@ export const mailUpdateMailAddressSpamProtection = {
|
|
|
1072
1078
|
method: "PATCH",
|
|
1073
1079
|
operationId: "mail-update-mail-address-spam-protection",
|
|
1074
1080
|
};
|
|
1081
|
+
/** Update a mail setting of a Project. */
|
|
1082
|
+
export const mailUpdateProjectMailSetting = {
|
|
1083
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1084
|
+
method: "PATCH",
|
|
1085
|
+
operationId: "mail-update-project-mail-setting",
|
|
1086
|
+
};
|
|
1075
1087
|
/** Subscribe a user to the mStudio newsletter. */
|
|
1076
1088
|
export const newsletterSubscribeUser = {
|
|
1077
1089
|
path: "/v2/newsletter-subscriptions",
|
|
@@ -1132,6 +1144,18 @@ export const domainAbortDomainDeclaration = {
|
|
|
1132
1144
|
method: "DELETE",
|
|
1133
1145
|
operationId: "domain-abort-domain-declaration",
|
|
1134
1146
|
};
|
|
1147
|
+
/** Create a scheduled deletion of a Domain. */
|
|
1148
|
+
export const domainCreateScheduledDeletion = {
|
|
1149
|
+
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
1150
|
+
method: "POST",
|
|
1151
|
+
operationId: "domain-create-scheduled-deletion",
|
|
1152
|
+
};
|
|
1153
|
+
/** Cancel a scheduled deletion of a Domain. */
|
|
1154
|
+
export const domainCancelScheduledDeletion = {
|
|
1155
|
+
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
1156
|
+
method: "DELETE",
|
|
1157
|
+
operationId: "domain-cancel-scheduled-deletion",
|
|
1158
|
+
};
|
|
1135
1159
|
/** Check if a Domain is available to register. */
|
|
1136
1160
|
export const domainCheckDomainRegistrability = {
|
|
1137
1161
|
path: "/v2/domain-registrable",
|
|
@@ -1234,6 +1258,18 @@ export const extensionCancelExtensionTermination = {
|
|
|
1234
1258
|
method: "DELETE",
|
|
1235
1259
|
operationId: "extension-cancel-extension-termination",
|
|
1236
1260
|
};
|
|
1261
|
+
/** Schedule an Extension Instance Variant change for the next possible date. */
|
|
1262
|
+
export const extensionScheduleExtensionVariantChange = {
|
|
1263
|
+
path: "/v2/extension-instances/{extensionInstanceId}/contract/variant-change",
|
|
1264
|
+
method: "POST",
|
|
1265
|
+
operationId: "extension-schedule-extension-variant-change",
|
|
1266
|
+
};
|
|
1267
|
+
/** Cancel an Extension Instance Variant Change. */
|
|
1268
|
+
export const extensionCancelExtensionVariantChange = {
|
|
1269
|
+
path: "/v2/extension-instances/{extensionInstanceId}/contract/variant-change",
|
|
1270
|
+
method: "DELETE",
|
|
1271
|
+
operationId: "extension-cancel-extension-variant-change",
|
|
1272
|
+
};
|
|
1237
1273
|
/** Change the context of an Extension. */
|
|
1238
1274
|
export const extensionChangeContext = {
|
|
1239
1275
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/context",
|
|
@@ -1654,6 +1690,30 @@ export const leadfyndrRemoveUnlockedLeadReservation = {
|
|
|
1654
1690
|
method: "DELETE",
|
|
1655
1691
|
operationId: "leadfyndr-remove-unlocked-lead-reservation",
|
|
1656
1692
|
};
|
|
1693
|
+
/** Get a Licence. */
|
|
1694
|
+
export const licenceGetLicence = {
|
|
1695
|
+
path: "/v2/licences/{licenceId}",
|
|
1696
|
+
method: "GET",
|
|
1697
|
+
operationId: "licence-get-licence",
|
|
1698
|
+
};
|
|
1699
|
+
/** List Licences belonging to a Project. */
|
|
1700
|
+
export const licenceListLicencesForProject = {
|
|
1701
|
+
path: "/v2/projects/{projectId}/licences",
|
|
1702
|
+
method: "GET",
|
|
1703
|
+
operationId: "licence-list-licences-for-project",
|
|
1704
|
+
};
|
|
1705
|
+
/** rotate a Licence's key, i.e. revoke the old and generate a new one. */
|
|
1706
|
+
export const licenceRotateLicenceKey = {
|
|
1707
|
+
path: "/v2/licences/{licenceId}/actions/rotate-licence-key",
|
|
1708
|
+
method: "POST",
|
|
1709
|
+
operationId: "licence-rotate-licence-key",
|
|
1710
|
+
};
|
|
1711
|
+
/** Validate a Licence's key for a project. */
|
|
1712
|
+
export const licenceValidateLicenceKeyForProject = {
|
|
1713
|
+
path: "/v2/projects/{projectId}/actions/validate-licence-key",
|
|
1714
|
+
method: "POST",
|
|
1715
|
+
operationId: "licence-validate-licence-key-for-project",
|
|
1716
|
+
};
|
|
1657
1717
|
/** List DeliveryBoxes belonging to a Project. */
|
|
1658
1718
|
export const mailListDeliveryBoxes = {
|
|
1659
1719
|
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
@@ -1774,12 +1834,6 @@ export const mailUpdateMailAddressCatchAll = {
|
|
|
1774
1834
|
method: "PATCH",
|
|
1775
1835
|
operationId: "mail-update-mail-address-catch-all",
|
|
1776
1836
|
};
|
|
1777
|
-
/** Update a mail setting of a Project. */
|
|
1778
|
-
export const mailUpdateProjectMailSetting = {
|
|
1779
|
-
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1780
|
-
method: "PATCH",
|
|
1781
|
-
operationId: "mail-update-project-mail-setting",
|
|
1782
|
-
};
|
|
1783
1837
|
/** Get payment method details */
|
|
1784
1838
|
export const marketplaceCustomerGetPaymentMethod = {
|
|
1785
1839
|
path: "/v2/customers/{customerId}/payment-method",
|
|
@@ -2614,33 +2668,3 @@ export const verificationVerifyCompany = {
|
|
|
2614
2668
|
method: "POST",
|
|
2615
2669
|
operationId: "verification-verify-company",
|
|
2616
2670
|
};
|
|
2617
|
-
/** Create a scheduled deletion of a Domain. */
|
|
2618
|
-
export const domainCreateScheduledDeletion = {
|
|
2619
|
-
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
2620
|
-
method: "POST",
|
|
2621
|
-
operationId: "domain-create-scheduled-deletion",
|
|
2622
|
-
};
|
|
2623
|
-
/** Cancel a scheduled deletion of a Domain. */
|
|
2624
|
-
export const domainCancelScheduledDeletion = {
|
|
2625
|
-
path: "/v2/domains/{domainId}/scheduled-deletion",
|
|
2626
|
-
method: "DELETE",
|
|
2627
|
-
operationId: "domain-cancel-scheduled-deletion",
|
|
2628
|
-
};
|
|
2629
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
2630
|
-
export const cronjobGetExecutionAnalysis = {
|
|
2631
|
-
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
|
|
2632
|
-
method: "GET",
|
|
2633
|
-
operationId: "cronjob-get-execution-analysis",
|
|
2634
|
-
};
|
|
2635
|
-
/** Restore a ProjectBackup's database. */
|
|
2636
|
-
export const backupRequestProjectBackupRestoreDatabase = {
|
|
2637
|
-
path: "/v2/project-backups/{projectBackupId}/restore-database",
|
|
2638
|
-
method: "POST",
|
|
2639
|
-
operationId: "backup-request-project-backup-restore-database",
|
|
2640
|
-
};
|
|
2641
|
-
/** Get databases for a ProjectBackup. */
|
|
2642
|
-
export const backupGetProjectBackupDatabases = {
|
|
2643
|
-
path: "/v2/project-backups/{projectBackupId}/database",
|
|
2644
|
-
method: "GET",
|
|
2645
|
-
operationId: "backup-get-project-backup-databases",
|
|
2646
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.261.0';
|
|
@@ -347,7 +347,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
347
347
|
restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
|
|
348
348
|
status: string;
|
|
349
349
|
}>;
|
|
350
|
-
/** Get
|
|
350
|
+
/** Get table of contents for a ProjectBackup. */
|
|
351
351
|
getProjectBackupDirectories: (conf: {
|
|
352
352
|
projectBackupId: string;
|
|
353
353
|
headers?: {
|
|
@@ -369,21 +369,6 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
369
369
|
size: number;
|
|
370
370
|
target?: string | undefined;
|
|
371
371
|
}>;
|
|
372
|
-
/** Get databases for a ProjectBackup. */
|
|
373
|
-
getProjectBackupDatabases: (conf: {
|
|
374
|
-
projectBackupId: string;
|
|
375
|
-
headers?: {
|
|
376
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
377
|
-
"x-access-token"?: string | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
queryParameters?: {
|
|
380
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
381
|
-
databaseName?: string | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
384
|
-
databases: string[];
|
|
385
|
-
projectBackupId: string;
|
|
386
|
-
}>;
|
|
387
372
|
};
|
|
388
373
|
declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
389
374
|
/** List Registries belonging to a Project. */
|
|
@@ -497,10 +482,10 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
497
482
|
"x-access-token"?: string | undefined;
|
|
498
483
|
} | undefined;
|
|
499
484
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
485
|
+
deploy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerDeploy | undefined;
|
|
500
486
|
deployedState: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceState;
|
|
501
487
|
description: string;
|
|
502
488
|
id: string;
|
|
503
|
-
limits?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerResources | undefined;
|
|
504
489
|
message?: string | undefined;
|
|
505
490
|
pendingState: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceState;
|
|
506
491
|
projectId: string;
|
|
@@ -1011,10 +996,11 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1011
996
|
invoiceDate: string;
|
|
1012
997
|
invoiceId: string;
|
|
1013
998
|
invoiceNumber: string;
|
|
999
|
+
invoiceType: "INVOICE" | "CREDIT_NOTE";
|
|
1014
1000
|
pdfLink: string;
|
|
1015
1001
|
totalGross: number;
|
|
1016
1002
|
totalNet: number;
|
|
1017
|
-
webLink
|
|
1003
|
+
webLink?: string;
|
|
1018
1004
|
}[]>;
|
|
1019
1005
|
/** Request an Access Token for the Incoming Invoice file. */
|
|
1020
1006
|
contributorReceiptGetFileAccessToken: (conf: {
|
|
@@ -1106,6 +1092,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1106
1092
|
logoRefId?: string | undefined;
|
|
1107
1093
|
name: string;
|
|
1108
1094
|
pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
|
|
1095
|
+
pricingDetails?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplacePricePlanDetails | undefined;
|
|
1109
1096
|
published: boolean;
|
|
1110
1097
|
requestedChanges?: {
|
|
1111
1098
|
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
@@ -1145,9 +1132,14 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1145
1132
|
"x-access-token"?: string | undefined;
|
|
1146
1133
|
} | undefined;
|
|
1147
1134
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1135
|
+
contractPeriodEndDate?: string | undefined;
|
|
1148
1136
|
currentPrice?: number | undefined;
|
|
1149
1137
|
interactionDeadline?: string | undefined;
|
|
1150
1138
|
interactionRequired: boolean;
|
|
1139
|
+
pendingVariantChange?: {
|
|
1140
|
+
effectiveDate?: string;
|
|
1141
|
+
targetVariantKey?: string;
|
|
1142
|
+
} | undefined;
|
|
1151
1143
|
status: "notStarted" | "pending" | "active" | "terminationPending";
|
|
1152
1144
|
terminationTargetDate?: string | undefined;
|
|
1153
1145
|
variantDescription?: string | undefined;
|
|
@@ -1475,6 +1467,17 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1475
1467
|
timeout: number;
|
|
1476
1468
|
updatedAt: string;
|
|
1477
1469
|
}>;
|
|
1470
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
1471
|
+
getExecutionAnalysis: (conf: {
|
|
1472
|
+
executionId: string;
|
|
1473
|
+
cronjobId: string;
|
|
1474
|
+
headers?: {
|
|
1475
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1476
|
+
"x-access-token"?: string | undefined;
|
|
1477
|
+
} | undefined;
|
|
1478
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1479
|
+
message: string;
|
|
1480
|
+
}>;
|
|
1478
1481
|
/** Get a CronjobExecution. */
|
|
1479
1482
|
getExecution: (conf: {
|
|
1480
1483
|
executionId: string;
|
|
@@ -1501,19 +1504,6 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1501
1504
|
id?: string;
|
|
1502
1505
|
} | undefined;
|
|
1503
1506
|
}>;
|
|
1504
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
1505
|
-
getExecutionAnalysis: (conf: {
|
|
1506
|
-
executionId: string;
|
|
1507
|
-
cronjobId: string;
|
|
1508
|
-
headers?: {
|
|
1509
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1510
|
-
"x-access-token"?: string | undefined;
|
|
1511
|
-
} | undefined;
|
|
1512
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1513
|
-
issues?: string[] | undefined;
|
|
1514
|
-
message: string;
|
|
1515
|
-
recommendation?: string | undefined;
|
|
1516
|
-
}>;
|
|
1517
1507
|
};
|
|
1518
1508
|
declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1519
1509
|
/** List Invites belonging to a Customer. */
|
|
@@ -1612,6 +1602,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1612
1602
|
creationDate: string;
|
|
1613
1603
|
customerId: string;
|
|
1614
1604
|
customerNumber: string;
|
|
1605
|
+
deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
|
|
1615
1606
|
executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
1616
1607
|
flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
1617
1608
|
isAllowedToPlaceOrders?: boolean | undefined;
|
|
@@ -2316,7 +2307,7 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2316
2307
|
employeeCountMax?: number | undefined;
|
|
2317
2308
|
salesVolumeMin?: number | undefined;
|
|
2318
2309
|
salesVolumeMax?: number | undefined;
|
|
2319
|
-
technologies?: string[] | undefined;
|
|
2310
|
+
technologies?: (string | "none")[] | undefined;
|
|
2320
2311
|
businessFields?: string[] | undefined;
|
|
2321
2312
|
locationCity?: string | undefined;
|
|
2322
2313
|
locationPostCode?: string | undefined;
|
|
@@ -2353,7 +2344,7 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2353
2344
|
employeeCountMax?: number | undefined;
|
|
2354
2345
|
salesVolumeMin?: number | undefined;
|
|
2355
2346
|
salesVolumeMax?: number | undefined;
|
|
2356
|
-
technologies?: string[] | undefined;
|
|
2347
|
+
technologies?: (string | "none")[] | undefined;
|
|
2357
2348
|
businessFields?: string[] | undefined;
|
|
2358
2349
|
locationCity?: string | undefined;
|
|
2359
2350
|
locationPostCode?: string | undefined;
|