@mittwald/api-client 2.0.3 → 2.0.4
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/cjs/generated/v2/client.d.ts +1809 -1382
- package/dist/cjs/generated/v2/descriptors.d.ts +2 -0
- package/dist/cjs/generated/v2/descriptors.js +8 -2
- package/dist/cjs/generated/v2/types.d.ts +41 -0
- package/dist/esm/generated/v2/client.d.ts +1809 -1382
- package/dist/esm/generated/v2/descriptors.d.ts +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/generated/v2/types.d.ts +41 -0
- package/package.json +1 -1
|
@@ -469,6 +469,8 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<RequestTyp
|
|
|
469
469
|
export declare const redirectusCreateRelocation: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
470
470
|
/** Register a tariff change for a legacy tariff. */
|
|
471
471
|
export declare const relocationCreateLegacyTariffChange: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
472
|
+
/** Obtain a service token. */
|
|
473
|
+
export declare const servicetokenAuthenticateService: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
472
474
|
/** Get all SFTPUsers for a Project. */
|
|
473
475
|
export declare const sftpUserListSftpUsers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
474
476
|
/** Create an SFTPUser for a Project. */
|
|
@@ -1396,6 +1396,12 @@ export const relocationCreateLegacyTariffChange = {
|
|
|
1396
1396
|
method: "POST",
|
|
1397
1397
|
operationId: "relocation-create-legacy-tariff-change",
|
|
1398
1398
|
};
|
|
1399
|
+
/** Obtain a service token. */
|
|
1400
|
+
export const servicetokenAuthenticateService = {
|
|
1401
|
+
path: "/v2/services/{accessKeyId}/actions/authenticate",
|
|
1402
|
+
method: "POST",
|
|
1403
|
+
operationId: "servicetoken-authenticate-service",
|
|
1404
|
+
};
|
|
1399
1405
|
/** Get all SFTPUsers for a Project. */
|
|
1400
1406
|
export const sftpUserListSftpUsers = {
|
|
1401
1407
|
path: "/v2/projects/{projectId}/sftp-users",
|
|
@@ -10784,6 +10784,47 @@ export declare module MittwaldAPIV2 {
|
|
|
10784
10784
|
}
|
|
10785
10785
|
}
|
|
10786
10786
|
}
|
|
10787
|
+
namespace V2ServiceAccessKeyIdActionsAuthenticate { }
|
|
10788
|
+
namespace InternalV2ServicesAccessKeyIdActionsAuthenticate { }
|
|
10789
|
+
namespace V2ServicesAccessKeyIdActionsAuthenticate {
|
|
10790
|
+
namespace Post {
|
|
10791
|
+
namespace Parameters {
|
|
10792
|
+
type Path = {
|
|
10793
|
+
accessKeyId: string;
|
|
10794
|
+
};
|
|
10795
|
+
interface RequestBody {
|
|
10796
|
+
secretAccessKey: string;
|
|
10797
|
+
}
|
|
10798
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10799
|
+
type Query = {};
|
|
10800
|
+
}
|
|
10801
|
+
namespace Responses {
|
|
10802
|
+
namespace $200 {
|
|
10803
|
+
namespace Content {
|
|
10804
|
+
interface ApplicationJson {
|
|
10805
|
+
accessToken: {
|
|
10806
|
+
id: string;
|
|
10807
|
+
jwtClaims: {
|
|
10808
|
+
exp: string;
|
|
10809
|
+
iat: string;
|
|
10810
|
+
iss: string;
|
|
10811
|
+
sub: string;
|
|
10812
|
+
};
|
|
10813
|
+
publicToken: string;
|
|
10814
|
+
};
|
|
10815
|
+
}
|
|
10816
|
+
}
|
|
10817
|
+
}
|
|
10818
|
+
namespace Default {
|
|
10819
|
+
namespace Content {
|
|
10820
|
+
interface ApplicationJson {
|
|
10821
|
+
[k: string]: unknown;
|
|
10822
|
+
}
|
|
10823
|
+
}
|
|
10824
|
+
}
|
|
10825
|
+
}
|
|
10826
|
+
}
|
|
10827
|
+
}
|
|
10787
10828
|
namespace V2ProjectsProjectIdSftpUsers {
|
|
10788
10829
|
namespace Get {
|
|
10789
10830
|
namespace Parameters {
|