@mittwald/api-client 0.0.0-development-137cd36-20260225 → 0.0.0-development-20132a5-20260318
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 +10 -2
- package/dist/esm/generated/v2/client.js +16 -2
- package/dist/esm/generated/v2/descriptors.js +47 -5
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +63 -17
- package/dist/types/generated/v2/client.d.ts +487 -81
- package/dist/types/generated/v2/descriptors.d.ts +18 -4
- package/dist/types/generated/v2/types.d.ts +594 -82
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -16,6 +16,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
16
16
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
17
17
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
18
18
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
19
|
+
/** Get a list of currently active models. */
|
|
20
|
+
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
21
|
+
/** Get a list of currently active models. */
|
|
22
|
+
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
19
23
|
});
|
|
20
24
|
const buildAppApi = (baseClient) => ({
|
|
21
25
|
/** Get an App. */
|
|
@@ -84,6 +88,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
84
88
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
85
89
|
/** Get a Service belonging to a Stack. */
|
|
86
90
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
91
|
+
/** List Stacks belonging to the executing user. */
|
|
92
|
+
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
87
93
|
/** List Services belonging to a Project. */
|
|
88
94
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
89
95
|
/** List Volumes belonging to a Stack. */
|
|
@@ -104,6 +110,8 @@ const buildContractApi = (baseClient) => ({
|
|
|
104
110
|
getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
|
|
105
111
|
/** Return the Contract for the given LeadFyndrProfile. */
|
|
106
112
|
getDetailOfContractByLeadFyndr: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLeadFyndr, baseClient.contract.getDetailOfContractByLeadFyndr).getApiResource,
|
|
113
|
+
/** Return the Contract for the given License. */
|
|
114
|
+
getDetailOfContractByLicense: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLicense, baseClient.contract.getDetailOfContractByLicense).getApiResource,
|
|
107
115
|
/** Return the Contract for the given Mail Address. */
|
|
108
116
|
getDetailOfContractByMailAddress: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByMailAddress, baseClient.contract.getDetailOfContractByMailAddress).getApiResource,
|
|
109
117
|
/** Return the Contract for the given Project. */
|
|
@@ -132,8 +140,6 @@ const buildContractApi = (baseClient) => ({
|
|
|
132
140
|
orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
|
|
133
141
|
/** Get list of Orders of a Project. */
|
|
134
142
|
orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
|
|
135
|
-
/** Return the Contract for the given License. */
|
|
136
|
-
getDetailOfContractByLicense: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLicense, baseClient.contract.getDetailOfContractByLicense).getApiResource,
|
|
137
143
|
});
|
|
138
144
|
const buildMarketplaceApi = (baseClient) => ({
|
|
139
145
|
/** Get a Contributor. */
|
|
@@ -390,6 +396,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
390
396
|
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
391
397
|
/** Get personalized settings. */
|
|
392
398
|
getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
399
|
+
/** Get poll settings for the specified user. */
|
|
400
|
+
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
393
401
|
/** Get a specific session. */
|
|
394
402
|
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
395
403
|
/** Get profile information for a user. */
|
|
@@ -32,6 +32,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
32
32
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
33
33
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
34
34
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
35
|
+
/** Get a list of currently active models. */
|
|
36
|
+
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
37
|
+
/** Get a list of currently active models. */
|
|
38
|
+
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
39
|
+
/** Accepts the model terms for a customer. */
|
|
40
|
+
customerAcceptModelTerms: this.requestFunctionFactory(descriptors.aiHostingCustomerAcceptModelTerms),
|
|
35
41
|
};
|
|
36
42
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
37
43
|
app = {
|
|
@@ -119,6 +125,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
119
125
|
getProjectBackupDatabaseDumpsV2Experimental: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental),
|
|
120
126
|
/** List paths for a ProjectBackup. */
|
|
121
127
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
128
|
+
/** Update a Backup's expiration time. */
|
|
129
|
+
replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
|
|
122
130
|
/** Restore a ProjectBackup. */
|
|
123
131
|
requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
|
|
124
132
|
/** Change the description of a ProjectBackup. */
|
|
@@ -152,6 +160,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
152
160
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
153
161
|
/** Get a Service belonging to a Stack. */
|
|
154
162
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
163
|
+
/** List Stacks belonging to the executing user. */
|
|
164
|
+
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
155
165
|
/** List Services belonging to a Project. */
|
|
156
166
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
157
167
|
/** List Volumes belonging to a Stack. */
|
|
@@ -199,6 +209,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
199
209
|
getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
|
|
200
210
|
/** Return the Contract for the given LeadFyndrProfile. */
|
|
201
211
|
getDetailOfContractByLeadFyndr: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLeadFyndr),
|
|
212
|
+
/** Return the Contract for the given License. */
|
|
213
|
+
getDetailOfContractByLicense: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLicense),
|
|
202
214
|
/** Return the Contract for the given Mail Address. */
|
|
203
215
|
getDetailOfContractByMailAddress: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByMailAddress),
|
|
204
216
|
/** Return the Contract for the given Project. */
|
|
@@ -237,8 +249,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
237
249
|
orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
|
|
238
250
|
/** Preview TariffChange. */
|
|
239
251
|
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
240
|
-
/** Return the Contract for the given License. */
|
|
241
|
-
getDetailOfContractByLicense: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLicense),
|
|
242
252
|
};
|
|
243
253
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
244
254
|
marketplace = {
|
|
@@ -760,6 +770,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
760
770
|
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
|
|
761
771
|
/** Update personalized GUI settings. */
|
|
762
772
|
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
|
|
773
|
+
/** Get poll settings for the specified user. */
|
|
774
|
+
getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
|
|
775
|
+
/** Store new or update poll settings. */
|
|
776
|
+
postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
|
|
763
777
|
/** Get a specific session. */
|
|
764
778
|
getSession: this.requestFunctionFactory(descriptors.userGetSession),
|
|
765
779
|
/** Terminate a specific Session. */
|
|
@@ -310,6 +310,12 @@ export const backupGetProjectBackupDirectories = {
|
|
|
310
310
|
method: "GET",
|
|
311
311
|
operationId: "backup-get-project-backup-directories",
|
|
312
312
|
};
|
|
313
|
+
/** Update a Backup's expiration time. */
|
|
314
|
+
export const backupReplaceProjectBackupExpirationTime = {
|
|
315
|
+
path: "/v2/project-backups/{projectBackupId}/expiration-time",
|
|
316
|
+
method: "PUT",
|
|
317
|
+
operationId: "backup-replace-project-backup-expiration-time",
|
|
318
|
+
};
|
|
313
319
|
/** Restore a ProjectBackup. */
|
|
314
320
|
export const backupRequestProjectBackupRestoreV2Experimental = {
|
|
315
321
|
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
@@ -400,6 +406,12 @@ export const containerGetService = {
|
|
|
400
406
|
method: "GET",
|
|
401
407
|
operationId: "container-get-service",
|
|
402
408
|
};
|
|
409
|
+
/** List Stacks belonging to the executing user. */
|
|
410
|
+
export const containerListSelfStacks = {
|
|
411
|
+
path: "/v2/stacks",
|
|
412
|
+
method: "GET",
|
|
413
|
+
operationId: "container-list-self-stacks",
|
|
414
|
+
};
|
|
403
415
|
/** List Services belonging to a Project. */
|
|
404
416
|
export const containerListServices = {
|
|
405
417
|
path: "/v2/projects/{projectId}/services",
|
|
@@ -532,6 +544,12 @@ export const contractGetDetailOfContractByLeadFyndr = {
|
|
|
532
544
|
method: "GET",
|
|
533
545
|
operationId: "contract-get-detail-of-contract-by-lead-fyndr",
|
|
534
546
|
};
|
|
547
|
+
/** Return the Contract for the given License. */
|
|
548
|
+
export const contractGetDetailOfContractByLicense = {
|
|
549
|
+
path: "/v2/licenses/{licenseId}/contract",
|
|
550
|
+
method: "GET",
|
|
551
|
+
operationId: "contract-get-detail-of-contract-by-license",
|
|
552
|
+
};
|
|
535
553
|
/** Return the Contract for the given Mail Address. */
|
|
536
554
|
export const contractGetDetailOfContractByMailAddress = {
|
|
537
555
|
path: "/v2/mail-addresses/{mailAddressId}/contract",
|
|
@@ -1800,7 +1818,7 @@ export const licenseListLicensesForProject = {
|
|
|
1800
1818
|
};
|
|
1801
1819
|
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
1802
1820
|
export const licenseRotateLicenseKey = {
|
|
1803
|
-
path: "/v2/licenses/{licenseId}/actions/rotate-
|
|
1821
|
+
path: "/v2/licenses/{licenseId}/actions/rotate-key",
|
|
1804
1822
|
method: "POST",
|
|
1805
1823
|
operationId: "license-rotate-license-key",
|
|
1806
1824
|
};
|
|
@@ -2590,6 +2608,18 @@ export const userUpdatePersonalizedSettings = {
|
|
|
2590
2608
|
method: "PUT",
|
|
2591
2609
|
operationId: "user-update-personalized-settings",
|
|
2592
2610
|
};
|
|
2611
|
+
/** Get poll settings for the specified user. */
|
|
2612
|
+
export const userGetPollStatus = {
|
|
2613
|
+
path: "/v2/poll-settings/{userId}",
|
|
2614
|
+
method: "GET",
|
|
2615
|
+
operationId: "user-get-poll-status",
|
|
2616
|
+
};
|
|
2617
|
+
/** Store new or update poll settings. */
|
|
2618
|
+
export const userPostPollStatus = {
|
|
2619
|
+
path: "/v2/poll-settings/{userId}",
|
|
2620
|
+
method: "POST",
|
|
2621
|
+
operationId: "user-post-poll-status",
|
|
2622
|
+
};
|
|
2593
2623
|
/** Get a specific session. */
|
|
2594
2624
|
export const userGetSession = {
|
|
2595
2625
|
path: "/v2/users/self/sessions/{tokenId}",
|
|
@@ -2734,9 +2764,21 @@ export const verificationVerifyCompany = {
|
|
|
2734
2764
|
method: "POST",
|
|
2735
2765
|
operationId: "verification-verify-company",
|
|
2736
2766
|
};
|
|
2737
|
-
/**
|
|
2738
|
-
export const
|
|
2739
|
-
path: "/v2/
|
|
2767
|
+
/** Get a list of currently active models. */
|
|
2768
|
+
export const aiHostingCustomerGetDetailedModels = {
|
|
2769
|
+
path: "/v2/customers/{customerId}/ai-hosting-models",
|
|
2740
2770
|
method: "GET",
|
|
2741
|
-
operationId: "
|
|
2771
|
+
operationId: "ai-hosting-customer-get-detailed-models",
|
|
2772
|
+
};
|
|
2773
|
+
/** Get a list of currently active models. */
|
|
2774
|
+
export const aiHostingProjectGetDetailedModels = {
|
|
2775
|
+
path: "/v2/projects/{projectId}/ai-hosting-models",
|
|
2776
|
+
method: "GET",
|
|
2777
|
+
operationId: "ai-hosting-project-get-detailed-models",
|
|
2778
|
+
};
|
|
2779
|
+
/** Accepts the model terms for a customer. */
|
|
2780
|
+
export const aiHostingCustomerAcceptModelTerms = {
|
|
2781
|
+
path: "/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms",
|
|
2782
|
+
method: "POST",
|
|
2783
|
+
operationId: "ai-hosting-customer-accept-model-terms",
|
|
2742
2784
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.328.0';
|
|
@@ -41,6 +41,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
41
41
|
customerId: string;
|
|
42
42
|
deletedAt?: string | undefined;
|
|
43
43
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
44
|
+
modelTermsApprovalRequired: boolean;
|
|
44
45
|
nextTokenReset: string;
|
|
45
46
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
46
47
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
@@ -91,9 +92,24 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
91
92
|
} | undefined;
|
|
92
93
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
93
94
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
95
|
+
modelTermsApprovalRequired: boolean;
|
|
94
96
|
nextTokenReset?: string | undefined;
|
|
95
97
|
projectId: string;
|
|
96
98
|
}>;
|
|
99
|
+
/** Get a list of currently active models. */
|
|
100
|
+
customerGetDetailedModels: (conf: {
|
|
101
|
+
customerId: string;
|
|
102
|
+
headers?: {
|
|
103
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
106
|
+
/** Get a list of currently active models. */
|
|
107
|
+
projectGetDetailedModels: (conf: {
|
|
108
|
+
projectId: string;
|
|
109
|
+
headers?: {
|
|
110
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
97
113
|
};
|
|
98
114
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
99
115
|
/** Get an App. */
|
|
@@ -609,6 +625,19 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
609
625
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus;
|
|
610
626
|
statusSetAt: string;
|
|
611
627
|
}>;
|
|
628
|
+
/** List Stacks belonging to the executing user. */
|
|
629
|
+
listSelfStacks: (conf?: {
|
|
630
|
+
headers?: {
|
|
631
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
632
|
+
"x-access-token"?: string | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
queryParameters?: {
|
|
635
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
636
|
+
limit?: number | undefined;
|
|
637
|
+
skip?: number | undefined;
|
|
638
|
+
page?: number | undefined;
|
|
639
|
+
} | undefined;
|
|
640
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
|
|
612
641
|
/** List Services belonging to a Project. */
|
|
613
642
|
listServices: (conf: {
|
|
614
643
|
projectId: string;
|
|
@@ -769,6 +798,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
769
798
|
customerId: string;
|
|
770
799
|
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
771
800
|
}>;
|
|
801
|
+
/** Return the Contract for the given License. */
|
|
802
|
+
getDetailOfContractByLicense: (conf: {
|
|
803
|
+
licenseId: string;
|
|
804
|
+
headers?: {
|
|
805
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
806
|
+
"x-access-token"?: string | undefined;
|
|
807
|
+
} | undefined;
|
|
808
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
809
|
+
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
810
|
+
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
811
|
+
contractId: string;
|
|
812
|
+
contractNumber: string;
|
|
813
|
+
customerId: string;
|
|
814
|
+
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
815
|
+
}>;
|
|
772
816
|
/** Return the Contract for the given Mail Address. */
|
|
773
817
|
getDetailOfContractByMailAddress: (conf: {
|
|
774
818
|
mailAddressId: string;
|
|
@@ -969,6 +1013,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
969
1013
|
includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
|
|
970
1014
|
excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
|
|
971
1015
|
templateNames?: string[] | undefined;
|
|
1016
|
+
types?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderType[] | undefined;
|
|
972
1017
|
limit?: number | undefined;
|
|
973
1018
|
skip?: number | undefined;
|
|
974
1019
|
page?: number | undefined;
|
|
@@ -1029,21 +1074,6 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1029
1074
|
templateNames?: string[] | undefined;
|
|
1030
1075
|
} | undefined;
|
|
1031
1076
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
1032
|
-
/** Return the Contract for the given License. */
|
|
1033
|
-
getDetailOfContractByLicense: (conf: {
|
|
1034
|
-
licenseId: string;
|
|
1035
|
-
headers?: {
|
|
1036
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1037
|
-
"x-access-token"?: string | undefined;
|
|
1038
|
-
} | undefined;
|
|
1039
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1040
|
-
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
1041
|
-
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
1042
|
-
contractId: string;
|
|
1043
|
-
contractNumber: string;
|
|
1044
|
-
customerId: string;
|
|
1045
|
-
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
1046
|
-
}>;
|
|
1047
1077
|
};
|
|
1048
1078
|
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1049
1079
|
/** Get a Contributor. */
|
|
@@ -1582,6 +1612,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1582
1612
|
} | undefined;
|
|
1583
1613
|
queryParameters?: {
|
|
1584
1614
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1615
|
+
includeContainerCronjobs?: boolean | undefined;
|
|
1585
1616
|
limit?: number | undefined;
|
|
1586
1617
|
skip?: number | undefined;
|
|
1587
1618
|
page?: number | undefined;
|
|
@@ -1620,7 +1651,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1620
1651
|
concurrencyPolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobConcurrencyPolicy | undefined;
|
|
1621
1652
|
createdAt: string;
|
|
1622
1653
|
description: string;
|
|
1623
|
-
destination
|
|
1654
|
+
destination?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand) | undefined;
|
|
1624
1655
|
email?: string | undefined;
|
|
1625
1656
|
failedExecutionAlertThreshold: number;
|
|
1626
1657
|
id: string;
|
|
@@ -1629,6 +1660,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1629
1660
|
nextExecutionTime?: string | undefined;
|
|
1630
1661
|
projectId?: string | undefined;
|
|
1631
1662
|
shortId: string;
|
|
1663
|
+
target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobContainerTargetResponse) | undefined;
|
|
1632
1664
|
timeZone?: string | undefined;
|
|
1633
1665
|
timeout: number;
|
|
1634
1666
|
updatedAt: string;
|
|
@@ -2550,13 +2582,13 @@ declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2550
2582
|
"x-access-token"?: string | undefined;
|
|
2551
2583
|
} | undefined;
|
|
2552
2584
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2553
|
-
aggregateReference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseAggregateReference;
|
|
2554
2585
|
description: string;
|
|
2555
2586
|
expiryDate?: string | undefined;
|
|
2556
2587
|
id: string;
|
|
2557
2588
|
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
2558
2589
|
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
2559
2590
|
meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
|
|
2591
|
+
reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
|
|
2560
2592
|
volume?: number | undefined;
|
|
2561
2593
|
}>;
|
|
2562
2594
|
/** List Licenses belonging to a Project. */
|
|
@@ -2961,6 +2993,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2961
2993
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2962
2994
|
settingsString?: string | undefined;
|
|
2963
2995
|
}>;
|
|
2996
|
+
/** Get poll settings for the specified user. */
|
|
2997
|
+
getPollStatus: (conf: {
|
|
2998
|
+
userId: string;
|
|
2999
|
+
headers?: {
|
|
3000
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3001
|
+
} | undefined;
|
|
3002
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3003
|
+
completedAt?: string | undefined;
|
|
3004
|
+
dontShowUntil?: string | undefined;
|
|
3005
|
+
ignoredAt?: string | undefined;
|
|
3006
|
+
shouldShow: boolean;
|
|
3007
|
+
status: "completed" | "muted" | "ignored" | "new";
|
|
3008
|
+
userId: string;
|
|
3009
|
+
}>;
|
|
2964
3010
|
/** Get a specific session. */
|
|
2965
3011
|
getSession: (conf: {
|
|
2966
3012
|
tokenId: string;
|