@mittwald/api-client 4.442.0 → 4.445.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.
- package/dist/esm/generated/v2/client-react.js +4 -4
- package/dist/esm/generated/v2/client.js +7 -7
- package/dist/esm/generated/v2/descriptors.js +11 -11
- package/dist/esm/generated/v3-next/client-react.js +4 -4
- package/dist/esm/generated/v3-next/client.js +7 -7
- package/dist/esm/generated/v3-next/descriptors.js +11 -11
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +24 -17
- package/dist/types/generated/v2/client.d.ts +96 -76
- package/dist/types/generated/v2/descriptors.d.ts +7 -7
- package/dist/types/generated/v2/types.d.ts +91 -72
- package/dist/types/generated/v3-next/client-react.d.ts +24 -17
- package/dist/types/generated/v3-next/client.d.ts +96 -76
- package/dist/types/generated/v3-next/descriptors.d.ts +7 -7
- package/dist/types/generated/v3-next/types.d.ts +91 -72
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -74,7 +74,7 @@ const buildBackupApi = (baseClient) => ({
|
|
|
74
74
|
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
75
75
|
});
|
|
76
76
|
const buildContainerApi = (baseClient) => ({
|
|
77
|
-
/** Call pull-image webhook */
|
|
77
|
+
/** Call a Service pull-image webhook. */
|
|
78
78
|
callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
|
|
79
79
|
/** List Registries belonging to a Project. */
|
|
80
80
|
listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
|
|
@@ -96,6 +96,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
96
96
|
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
97
97
|
/** Get a Container Template by ID. */
|
|
98
98
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
99
|
+
/** List Services the executing user has access to. */
|
|
100
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
99
101
|
/** List Stacks belonging to the executing user. */
|
|
100
102
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
101
103
|
/** List Services belonging to a Project. */
|
|
@@ -106,8 +108,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
108
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
107
109
|
/** List Volumes belonging to a Project. */
|
|
108
110
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
109
|
-
/** List Services the executing user has access to. */
|
|
110
|
-
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
111
111
|
});
|
|
112
112
|
const buildContractApi = (baseClient) => ({
|
|
113
113
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -436,7 +436,7 @@ const buildProjectApi = (baseClient) => ({
|
|
|
436
436
|
listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
|
|
437
437
|
/** Get a ProjectInvite. */
|
|
438
438
|
getProjectInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
|
|
439
|
-
/** Get a ProjectMembership */
|
|
439
|
+
/** Get a ProjectMembership. */
|
|
440
440
|
getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
|
|
441
441
|
/** Get a Project. */
|
|
442
442
|
getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
|
|
@@ -128,7 +128,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
128
128
|
container = {
|
|
129
129
|
/** Add a template component to a Stack. */
|
|
130
130
|
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
131
|
-
/** Call pull-image webhook */
|
|
131
|
+
/** Call a Service pull-image webhook. */
|
|
132
132
|
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
133
133
|
/** List Registries belonging to a Project. */
|
|
134
134
|
listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
|
|
@@ -166,6 +166,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
166
166
|
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
167
167
|
/** Get a Container Template by ID. */
|
|
168
168
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
169
|
+
/** List Services the executing user has access to. */
|
|
170
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
169
171
|
/** List Stacks belonging to the executing user. */
|
|
170
172
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
171
173
|
/** List Services belonging to a Project. */
|
|
@@ -176,20 +178,18 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
176
178
|
listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
|
|
177
179
|
/** List Volumes belonging to a Project. */
|
|
178
180
|
listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
|
|
179
|
-
/** Pull image and recreate */
|
|
181
|
+
/** Pull a Service image and recreate. */
|
|
180
182
|
pullImageForService: this.requestFunctionFactory(descriptors.containerPullImageForService),
|
|
181
183
|
/** Recreate a Service. */
|
|
182
184
|
recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
|
|
183
185
|
/** Restart a started Service. */
|
|
184
186
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
185
|
-
/** Create or rotate pull-image webhook token */
|
|
187
|
+
/** Create or rotate a Service pull-image webhook token. */
|
|
186
188
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
187
189
|
/** Start a stopped Service. */
|
|
188
190
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
189
191
|
/** Stop a started Service. */
|
|
190
192
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
191
|
-
/** List Services the executing user has access to. */
|
|
192
|
-
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
193
193
|
};
|
|
194
194
|
/** The contract API allows you to manage your contracts and orders */
|
|
195
195
|
contract = {
|
|
@@ -871,7 +871,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
871
871
|
getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
|
|
872
872
|
/** List Licenses belonging to a Project. */
|
|
873
873
|
listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
|
|
874
|
-
/**
|
|
874
|
+
/** Rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
875
875
|
rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
|
|
876
876
|
/** Validate a License's key for a project. */
|
|
877
877
|
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
@@ -918,7 +918,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
918
918
|
getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
|
|
919
919
|
/** Delete a ProjectInvite. */
|
|
920
920
|
deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
|
|
921
|
-
/** Get a ProjectMembership */
|
|
921
|
+
/** Get a ProjectMembership. */
|
|
922
922
|
getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
|
|
923
923
|
/** Delete a ProjectMembership. */
|
|
924
924
|
deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
|
|
@@ -328,7 +328,7 @@ export const containerAddTemplateComponent = {
|
|
|
328
328
|
method: "POST",
|
|
329
329
|
operationId: "container-add-template-component",
|
|
330
330
|
};
|
|
331
|
-
/** Call pull-image webhook */
|
|
331
|
+
/** Call a Service pull-image webhook. */
|
|
332
332
|
export const containerCallPullImageWebhookForService = {
|
|
333
333
|
path: "/v2/stacks/{stackId}/webhooks/pull-image",
|
|
334
334
|
method: "GET",
|
|
@@ -442,6 +442,12 @@ export const containerGetTemplate = {
|
|
|
442
442
|
method: "GET",
|
|
443
443
|
operationId: "container-get-template",
|
|
444
444
|
};
|
|
445
|
+
/** List Services the executing user has access to. */
|
|
446
|
+
export const containerListAccessibleServices = {
|
|
447
|
+
path: "/v2/services",
|
|
448
|
+
method: "GET",
|
|
449
|
+
operationId: "container-list-accessible-services",
|
|
450
|
+
};
|
|
445
451
|
/** List Stacks belonging to the executing user. */
|
|
446
452
|
export const containerListSelfStacks = {
|
|
447
453
|
path: "/v2/stacks",
|
|
@@ -472,7 +478,7 @@ export const containerListVolumes = {
|
|
|
472
478
|
method: "GET",
|
|
473
479
|
operationId: "container-list-volumes",
|
|
474
480
|
};
|
|
475
|
-
/** Pull image and recreate */
|
|
481
|
+
/** Pull a Service image and recreate. */
|
|
476
482
|
export const containerPullImageForService = {
|
|
477
483
|
path: "/v2/stacks/{stackId}/services/{serviceId}/actions/pull",
|
|
478
484
|
method: "POST",
|
|
@@ -490,7 +496,7 @@ export const containerRestartService = {
|
|
|
490
496
|
method: "POST",
|
|
491
497
|
operationId: "container-restart-service",
|
|
492
498
|
};
|
|
493
|
-
/** Create or rotate pull-image webhook token */
|
|
499
|
+
/** Create or rotate a Service pull-image webhook token. */
|
|
494
500
|
export const containerRotatePullImageWebhookForService = {
|
|
495
501
|
path: "/v2/stacks/{stackId}/services/{serviceId}/webhook-token",
|
|
496
502
|
method: "POST",
|
|
@@ -1846,7 +1852,7 @@ export const licenseListLicensesForProject = {
|
|
|
1846
1852
|
method: "GET",
|
|
1847
1853
|
operationId: "license-list-licenses-for-project",
|
|
1848
1854
|
};
|
|
1849
|
-
/**
|
|
1855
|
+
/** Rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
1850
1856
|
export const licenseRotateLicenseKey = {
|
|
1851
1857
|
path: "/v2/licenses/{licenseId}/actions/rotate-key",
|
|
1852
1858
|
method: "POST",
|
|
@@ -2164,7 +2170,7 @@ export const projectDeleteProjectInvite = {
|
|
|
2164
2170
|
method: "DELETE",
|
|
2165
2171
|
operationId: "project-delete-project-invite",
|
|
2166
2172
|
};
|
|
2167
|
-
/** Get a ProjectMembership */
|
|
2173
|
+
/** Get a ProjectMembership. */
|
|
2168
2174
|
export const projectGetProjectMembership = {
|
|
2169
2175
|
path: "/v2/project-memberships/{projectMembershipId}",
|
|
2170
2176
|
method: "GET",
|
|
@@ -2794,9 +2800,3 @@ export const verificationVerifyCompany = {
|
|
|
2794
2800
|
method: "POST",
|
|
2795
2801
|
operationId: "verification-verify-company",
|
|
2796
2802
|
};
|
|
2797
|
-
/** List Services the executing user has access to. */
|
|
2798
|
-
export const containerListAccessibleServices = {
|
|
2799
|
-
path: "/v2/services",
|
|
2800
|
-
method: "GET",
|
|
2801
|
-
operationId: "container-list-accessible-services",
|
|
2802
|
-
};
|
|
@@ -74,7 +74,7 @@ const buildBackupApi = (baseClient) => ({
|
|
|
74
74
|
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
75
75
|
});
|
|
76
76
|
const buildContainerApi = (baseClient) => ({
|
|
77
|
-
/** Call pull-image webhook */
|
|
77
|
+
/** Call a Service pull-image webhook. */
|
|
78
78
|
callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
|
|
79
79
|
/** List Registries belonging to a Project. */
|
|
80
80
|
listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
|
|
@@ -96,6 +96,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
96
96
|
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
97
97
|
/** Get a Container Template by ID. */
|
|
98
98
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
99
|
+
/** List Services the executing user has access to. */
|
|
100
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
99
101
|
/** List Stacks belonging to the executing user. */
|
|
100
102
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
101
103
|
/** List Services belonging to a Project. */
|
|
@@ -106,8 +108,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
108
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
107
109
|
/** List Volumes belonging to a Project. */
|
|
108
110
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
109
|
-
/** List Services the executing user has access to. */
|
|
110
|
-
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
111
111
|
});
|
|
112
112
|
const buildContractApi = (baseClient) => ({
|
|
113
113
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -436,7 +436,7 @@ const buildProjectApi = (baseClient) => ({
|
|
|
436
436
|
listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
|
|
437
437
|
/** Get a ProjectInvite. */
|
|
438
438
|
getProjectInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
|
|
439
|
-
/** Get a ProjectMembership */
|
|
439
|
+
/** Get a ProjectMembership. */
|
|
440
440
|
getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
|
|
441
441
|
/** Get a Project. */
|
|
442
442
|
getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
|
|
@@ -128,7 +128,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
128
128
|
container = {
|
|
129
129
|
/** Add a template component to a Stack. */
|
|
130
130
|
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
131
|
-
/** Call pull-image webhook */
|
|
131
|
+
/** Call a Service pull-image webhook. */
|
|
132
132
|
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
133
133
|
/** List Registries belonging to a Project. */
|
|
134
134
|
listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
|
|
@@ -166,6 +166,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
166
166
|
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
167
167
|
/** Get a Container Template by ID. */
|
|
168
168
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
169
|
+
/** List Services the executing user has access to. */
|
|
170
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
169
171
|
/** List Stacks belonging to the executing user. */
|
|
170
172
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
171
173
|
/** List Services belonging to a Project. */
|
|
@@ -176,20 +178,18 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
176
178
|
listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
|
|
177
179
|
/** List Volumes belonging to a Project. */
|
|
178
180
|
listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
|
|
179
|
-
/** Pull image and recreate */
|
|
181
|
+
/** Pull a Service image and recreate. */
|
|
180
182
|
pullImageForService: this.requestFunctionFactory(descriptors.containerPullImageForService),
|
|
181
183
|
/** Recreate a Service. */
|
|
182
184
|
recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
|
|
183
185
|
/** Restart a started Service. */
|
|
184
186
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
185
|
-
/** Create or rotate pull-image webhook token */
|
|
187
|
+
/** Create or rotate a Service pull-image webhook token. */
|
|
186
188
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
187
189
|
/** Start a stopped Service. */
|
|
188
190
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
189
191
|
/** Stop a started Service. */
|
|
190
192
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
191
|
-
/** List Services the executing user has access to. */
|
|
192
|
-
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
193
193
|
};
|
|
194
194
|
/** The contract API allows you to manage your contracts and orders */
|
|
195
195
|
contract = {
|
|
@@ -871,7 +871,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
871
871
|
getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
|
|
872
872
|
/** List Licenses belonging to a Project. */
|
|
873
873
|
listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
|
|
874
|
-
/**
|
|
874
|
+
/** Rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
875
875
|
rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
|
|
876
876
|
/** Validate a License's key for a project. */
|
|
877
877
|
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
@@ -918,7 +918,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
918
918
|
getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
|
|
919
919
|
/** Delete a ProjectInvite. */
|
|
920
920
|
deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
|
|
921
|
-
/** Get a ProjectMembership */
|
|
921
|
+
/** Get a ProjectMembership. */
|
|
922
922
|
getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
|
|
923
923
|
/** Delete a ProjectMembership. */
|
|
924
924
|
deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
|
|
@@ -328,7 +328,7 @@ export const containerAddTemplateComponent = {
|
|
|
328
328
|
method: "POST",
|
|
329
329
|
operationId: "container-add-template-component",
|
|
330
330
|
};
|
|
331
|
-
/** Call pull-image webhook */
|
|
331
|
+
/** Call a Service pull-image webhook. */
|
|
332
332
|
export const containerCallPullImageWebhookForService = {
|
|
333
333
|
path: "/v3-next/stacks/{stackId}/webhooks/pull-image",
|
|
334
334
|
method: "GET",
|
|
@@ -442,6 +442,12 @@ export const containerGetTemplate = {
|
|
|
442
442
|
method: "GET",
|
|
443
443
|
operationId: "container-get-template",
|
|
444
444
|
};
|
|
445
|
+
/** List Services the executing user has access to. */
|
|
446
|
+
export const containerListAccessibleServices = {
|
|
447
|
+
path: "/v3-next/services",
|
|
448
|
+
method: "GET",
|
|
449
|
+
operationId: "container-list-accessible-services",
|
|
450
|
+
};
|
|
445
451
|
/** List Stacks belonging to the executing user. */
|
|
446
452
|
export const containerListSelfStacks = {
|
|
447
453
|
path: "/v3-next/stacks",
|
|
@@ -472,7 +478,7 @@ export const containerListVolumes = {
|
|
|
472
478
|
method: "GET",
|
|
473
479
|
operationId: "container-list-volumes",
|
|
474
480
|
};
|
|
475
|
-
/** Pull image and recreate */
|
|
481
|
+
/** Pull a Service image and recreate. */
|
|
476
482
|
export const containerPullImageForService = {
|
|
477
483
|
path: "/v3-next/stacks/{stackId}/services/{serviceId}/actions/pull",
|
|
478
484
|
method: "POST",
|
|
@@ -490,7 +496,7 @@ export const containerRestartService = {
|
|
|
490
496
|
method: "POST",
|
|
491
497
|
operationId: "container-restart-service",
|
|
492
498
|
};
|
|
493
|
-
/** Create or rotate pull-image webhook token */
|
|
499
|
+
/** Create or rotate a Service pull-image webhook token. */
|
|
494
500
|
export const containerRotatePullImageWebhookForService = {
|
|
495
501
|
path: "/v3-next/stacks/{stackId}/services/{serviceId}/webhook-token",
|
|
496
502
|
method: "POST",
|
|
@@ -1846,7 +1852,7 @@ export const licenseListLicensesForProject = {
|
|
|
1846
1852
|
method: "GET",
|
|
1847
1853
|
operationId: "license-list-licenses-for-project",
|
|
1848
1854
|
};
|
|
1849
|
-
/**
|
|
1855
|
+
/** Rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
1850
1856
|
export const licenseRotateLicenseKey = {
|
|
1851
1857
|
path: "/v3-next/licenses/{licenseId}/actions/rotate-key",
|
|
1852
1858
|
method: "POST",
|
|
@@ -2164,7 +2170,7 @@ export const projectDeleteProjectInvite = {
|
|
|
2164
2170
|
method: "DELETE",
|
|
2165
2171
|
operationId: "project-delete-project-invite",
|
|
2166
2172
|
};
|
|
2167
|
-
/** Get a ProjectMembership */
|
|
2173
|
+
/** Get a ProjectMembership. */
|
|
2168
2174
|
export const projectGetProjectMembership = {
|
|
2169
2175
|
path: "/v3-next/project-memberships/{projectMembershipId}",
|
|
2170
2176
|
method: "GET",
|
|
@@ -2794,9 +2800,3 @@ export const verificationVerifyCompany = {
|
|
|
2794
2800
|
method: "POST",
|
|
2795
2801
|
operationId: "verification-verify-company",
|
|
2796
2802
|
};
|
|
2797
|
-
/** List Services the executing user has access to. */
|
|
2798
|
-
export const containerListAccessibleServices = {
|
|
2799
|
-
path: "/v3-next/services",
|
|
2800
|
-
method: "GET",
|
|
2801
|
-
operationId: "container-list-accessible-services",
|
|
2802
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.444.0';
|
|
@@ -512,7 +512,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
512
512
|
}>;
|
|
513
513
|
};
|
|
514
514
|
declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
515
|
-
/** Call pull-image webhook */
|
|
515
|
+
/** Call a Service pull-image webhook. */
|
|
516
516
|
callPullImageWebhookForService: (conf: {
|
|
517
517
|
queryParameters: {
|
|
518
518
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -740,6 +740,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
740
740
|
version: string;
|
|
741
741
|
website?: string | undefined;
|
|
742
742
|
}>;
|
|
743
|
+
/** List Services the executing user has access to. */
|
|
744
|
+
listAccessibleServices: (conf?: {
|
|
745
|
+
headers?: {
|
|
746
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
747
|
+
"x-access-token"?: string | undefined;
|
|
748
|
+
} | undefined;
|
|
749
|
+
queryParameters?: {
|
|
750
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
751
|
+
searchTerm?: string | undefined;
|
|
752
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
753
|
+
limit?: number | undefined;
|
|
754
|
+
skip?: number | undefined;
|
|
755
|
+
page?: number | undefined;
|
|
756
|
+
} | undefined;
|
|
757
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
743
758
|
/** List Stacks belonging to the executing user. */
|
|
744
759
|
listSelfStacks: (conf?: {
|
|
745
760
|
headers?: {
|
|
@@ -822,21 +837,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
822
837
|
page?: number | undefined;
|
|
823
838
|
} | undefined;
|
|
824
839
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
825
|
-
/** List Services the executing user has access to. */
|
|
826
|
-
listAccessibleServices: (conf?: {
|
|
827
|
-
headers?: {
|
|
828
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
829
|
-
"x-access-token"?: string | undefined;
|
|
830
|
-
} | undefined;
|
|
831
|
-
queryParameters?: {
|
|
832
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
833
|
-
searchTerm?: string | undefined;
|
|
834
|
-
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
835
|
-
limit?: number | undefined;
|
|
836
|
-
skip?: number | undefined;
|
|
837
|
-
page?: number | undefined;
|
|
838
|
-
} | undefined;
|
|
839
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
840
840
|
};
|
|
841
841
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
842
842
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -1354,6 +1354,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1354
1354
|
extensionId?: string | undefined;
|
|
1355
1355
|
searchTerm?: string | undefined;
|
|
1356
1356
|
anchor?: string | undefined;
|
|
1357
|
+
hasAcceptedAllScopes?: boolean | undefined;
|
|
1357
1358
|
limit?: number | undefined;
|
|
1358
1359
|
skip?: number | undefined;
|
|
1359
1360
|
page?: number | undefined;
|
|
@@ -1391,6 +1392,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1391
1392
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1392
1393
|
pendingInstallation: boolean;
|
|
1393
1394
|
pendingRemoval: boolean;
|
|
1395
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1394
1396
|
variantKey?: string | undefined;
|
|
1395
1397
|
webhookExecutionHalted: boolean;
|
|
1396
1398
|
}>;
|
|
@@ -1511,6 +1513,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1511
1513
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1512
1514
|
pendingInstallation: boolean;
|
|
1513
1515
|
pendingRemoval: boolean;
|
|
1516
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1514
1517
|
variantKey?: string | undefined;
|
|
1515
1518
|
webhookExecutionHalted: boolean;
|
|
1516
1519
|
}>;
|
|
@@ -1545,6 +1548,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1545
1548
|
nextScheduledWebhookExecution?: string | undefined;
|
|
1546
1549
|
pendingInstallation: boolean;
|
|
1547
1550
|
pendingRemoval: boolean;
|
|
1551
|
+
scopeChangeAcceptanceDeadline?: string | undefined;
|
|
1548
1552
|
variantKey?: string | undefined;
|
|
1549
1553
|
webhookExecutionHalted: boolean;
|
|
1550
1554
|
}>;
|
|
@@ -1786,6 +1790,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1786
1790
|
queryParameters?: {
|
|
1787
1791
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1788
1792
|
includeServiceCronjobs?: boolean | undefined;
|
|
1793
|
+
stackId?: string | undefined;
|
|
1789
1794
|
limit?: number | undefined;
|
|
1790
1795
|
skip?: number | undefined;
|
|
1791
1796
|
page?: number | undefined;
|
|
@@ -3360,7 +3365,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3360
3365
|
projectId: string;
|
|
3361
3366
|
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
3362
3367
|
}>;
|
|
3363
|
-
/** Get a ProjectMembership */
|
|
3368
|
+
/** Get a ProjectMembership. */
|
|
3364
3369
|
getProjectMembership: (conf: {
|
|
3365
3370
|
projectMembershipId: string;
|
|
3366
3371
|
headers?: {
|
|
@@ -3745,6 +3750,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3745
3750
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3746
3751
|
limit?: number | undefined;
|
|
3747
3752
|
skip?: number | undefined;
|
|
3753
|
+
page?: number | undefined;
|
|
3748
3754
|
} | undefined;
|
|
3749
3755
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[]>;
|
|
3750
3756
|
/** Get an SFTPUser. */
|
|
@@ -3780,6 +3786,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3780
3786
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3781
3787
|
limit?: number | undefined;
|
|
3782
3788
|
skip?: number | undefined;
|
|
3789
|
+
page?: number | undefined;
|
|
3783
3790
|
} | undefined;
|
|
3784
3791
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSshUser[]>;
|
|
3785
3792
|
/** Get an SSHUser. */
|