@mittwald/api-client 4.95.0 → 4.97.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 +0 -2
- package/dist/esm/generated/v2/client.js +2 -4
- package/dist/esm/generated/v2/descriptors.js +6 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +0 -16
- package/dist/types/generated/v2/client.d.ts +54 -103
- package/dist/types/generated/v2/descriptors.d.ts +2 -4
- package/dist/types/generated/v2/types.d.ts +46 -76
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -266,8 +266,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
266
266
|
getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
267
267
|
/** Get a specific stored ssh-key. */
|
|
268
268
|
getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
269
|
-
/** Get your account information. */
|
|
270
|
-
getOwnAccount: new ApiCallAsyncResourceFactory(descriptors.userGetOwnAccount, baseClient.user.getOwnAccount).getApiResource,
|
|
271
269
|
/** The timestamp of your latest password change. */
|
|
272
270
|
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
273
271
|
/** Get personalized settings. */
|
|
@@ -568,10 +568,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
568
568
|
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
|
|
569
569
|
/** Delete your account and all your personal data. */
|
|
570
570
|
deleteUser: this.requestFunctionFactory(descriptors.userDeleteUser),
|
|
571
|
-
/** Get your account information. */
|
|
572
|
-
getOwnAccount: this.requestFunctionFactory(descriptors.userGetOwnAccount),
|
|
573
|
-
/** Update your account information. */
|
|
574
|
-
updateAccount: this.requestFunctionFactory(descriptors.userUpdateAccount),
|
|
575
571
|
/** The timestamp of your latest password change. */
|
|
576
572
|
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
|
|
577
573
|
/** Get personalized settings. */
|
|
@@ -618,6 +614,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
618
614
|
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
619
615
|
/** Request a support code. */
|
|
620
616
|
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
|
|
617
|
+
/** Update your account information. */
|
|
618
|
+
updateAccount: this.requestFunctionFactory(descriptors.userUpdateAccount),
|
|
621
619
|
/** Verify an added Email-Address. */
|
|
622
620
|
verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail),
|
|
623
621
|
/** Verify phone number. */
|
|
@@ -1852,18 +1852,6 @@ export const userDeleteUser = {
|
|
|
1852
1852
|
method: "DELETE",
|
|
1853
1853
|
operationId: "user-delete-user",
|
|
1854
1854
|
};
|
|
1855
|
-
/** Get your account information. */
|
|
1856
|
-
export const userGetOwnAccount = {
|
|
1857
|
-
path: "/v2/users/self/personal-information",
|
|
1858
|
-
method: "GET",
|
|
1859
|
-
operationId: "user-get-own-account",
|
|
1860
|
-
};
|
|
1861
|
-
/** Update your account information. */
|
|
1862
|
-
export const userUpdateAccount = {
|
|
1863
|
-
path: "/v2/users/self/personal-information",
|
|
1864
|
-
method: "PUT",
|
|
1865
|
-
operationId: "user-update-account",
|
|
1866
|
-
};
|
|
1867
1855
|
/** The timestamp of your latest password change. */
|
|
1868
1856
|
export const userGetPasswordUpdatedAt = {
|
|
1869
1857
|
path: "/v2/users/self/credentials/password-updated-at",
|
|
@@ -2002,6 +1990,12 @@ export const userSupportCodeRequest = {
|
|
|
2002
1990
|
method: "GET",
|
|
2003
1991
|
operationId: "user-support-code-request",
|
|
2004
1992
|
};
|
|
1993
|
+
/** Update your account information. */
|
|
1994
|
+
export const userUpdateAccount = {
|
|
1995
|
+
path: "/v2/users/self/personal-information",
|
|
1996
|
+
method: "PUT",
|
|
1997
|
+
operationId: "user-update-account",
|
|
1998
|
+
};
|
|
2005
1999
|
/** Verify an added Email-Address. */
|
|
2006
2000
|
export const userVerifyEmail = {
|
|
2007
2001
|
path: "/v2/users/self/credentials/email/actions/verify-email",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.96.0';
|
|
@@ -1905,22 +1905,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1905
1905
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1906
1906
|
sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
1907
1907
|
}>;
|
|
1908
|
-
/** Get your account information. */
|
|
1909
|
-
getOwnAccount: (conf?: {
|
|
1910
|
-
headers?: {
|
|
1911
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1912
|
-
"x-access-token"?: string | undefined;
|
|
1913
|
-
} | undefined;
|
|
1914
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1915
|
-
email?: string | undefined;
|
|
1916
|
-
mfaDetails?: {
|
|
1917
|
-
mfaConfirmed?: boolean;
|
|
1918
|
-
mfaInitialized?: boolean;
|
|
1919
|
-
} | undefined;
|
|
1920
|
-
passwordUpdatedAt?: string | undefined;
|
|
1921
|
-
person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
1922
|
-
userId?: string | undefined;
|
|
1923
|
-
}>;
|
|
1924
1908
|
/** The timestamp of your latest password change. */
|
|
1925
1909
|
getPasswordUpdatedAt: (conf?: {
|
|
1926
1910
|
headers?: {
|
|
@@ -16235,109 +16235,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
16235
16235
|
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
16236
16236
|
[x: string]: unknown;
|
|
16237
16237
|
}, 429, "application/json">>>;
|
|
16238
|
-
/** Get your account information. */
|
|
16239
|
-
getOwnAccount: (request?: {
|
|
16240
|
-
headers?: {
|
|
16241
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
16242
|
-
"x-access-token"?: string | undefined;
|
|
16243
|
-
} | undefined;
|
|
16244
|
-
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
16245
|
-
headers?: Partial<{
|
|
16246
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16247
|
-
}>;
|
|
16248
|
-
} & {
|
|
16249
|
-
headers: {
|
|
16250
|
-
"x-access-token"?: string | undefined;
|
|
16251
|
-
} & Partial<{
|
|
16252
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16253
|
-
}>;
|
|
16254
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
16255
|
-
email?: string | undefined;
|
|
16256
|
-
mfaDetails?: {
|
|
16257
|
-
mfaConfirmed?: boolean;
|
|
16258
|
-
mfaInitialized?: boolean;
|
|
16259
|
-
} | undefined;
|
|
16260
|
-
passwordUpdatedAt?: string | undefined;
|
|
16261
|
-
person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
16262
|
-
userId?: string | undefined;
|
|
16263
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
16264
|
-
[x: string]: unknown;
|
|
16265
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
16266
|
-
headers?: Partial<{
|
|
16267
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16268
|
-
}>;
|
|
16269
|
-
} & {
|
|
16270
|
-
headers: {
|
|
16271
|
-
"x-access-token"?: string | undefined;
|
|
16272
|
-
} & Partial<{
|
|
16273
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16274
|
-
}>;
|
|
16275
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
16276
|
-
email?: string | undefined;
|
|
16277
|
-
mfaDetails?: {
|
|
16278
|
-
mfaConfirmed?: boolean;
|
|
16279
|
-
mfaInitialized?: boolean;
|
|
16280
|
-
} | undefined;
|
|
16281
|
-
passwordUpdatedAt?: string | undefined;
|
|
16282
|
-
person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
16283
|
-
userId?: string | undefined;
|
|
16284
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
16285
|
-
[x: string]: unknown;
|
|
16286
|
-
}, 429, "application/json">>>;
|
|
16287
|
-
/** Update your account information. */
|
|
16288
|
-
updateAccount: (request: {
|
|
16289
|
-
data: {
|
|
16290
|
-
person: {
|
|
16291
|
-
firstName: string;
|
|
16292
|
-
lastName: string;
|
|
16293
|
-
title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
|
|
16294
|
-
};
|
|
16295
|
-
};
|
|
16296
|
-
headers?: {
|
|
16297
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
16298
|
-
"x-access-token"?: string | undefined;
|
|
16299
|
-
} | undefined;
|
|
16300
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
16301
|
-
data: {
|
|
16302
|
-
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
16303
|
-
};
|
|
16304
|
-
} & {
|
|
16305
|
-
headers?: Partial<{
|
|
16306
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16307
|
-
}>;
|
|
16308
|
-
} & {
|
|
16309
|
-
headers: {
|
|
16310
|
-
"x-access-token"?: string | undefined;
|
|
16311
|
-
} & Partial<{
|
|
16312
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16313
|
-
}>;
|
|
16314
|
-
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
16315
|
-
type: "ValidationError";
|
|
16316
|
-
message?: string | undefined;
|
|
16317
|
-
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
16318
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
16319
|
-
[x: string]: unknown;
|
|
16320
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
16321
|
-
data: {
|
|
16322
|
-
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
16323
|
-
};
|
|
16324
|
-
} & {
|
|
16325
|
-
headers?: Partial<{
|
|
16326
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16327
|
-
}>;
|
|
16328
|
-
} & {
|
|
16329
|
-
headers: {
|
|
16330
|
-
"x-access-token"?: string | undefined;
|
|
16331
|
-
} & Partial<{
|
|
16332
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
16333
|
-
}>;
|
|
16334
|
-
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
16335
|
-
type: "ValidationError";
|
|
16336
|
-
message?: string | undefined;
|
|
16337
|
-
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
16338
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
16339
|
-
[x: string]: unknown;
|
|
16340
|
-
}, 429, "application/json">>>;
|
|
16341
16238
|
/** The timestamp of your latest password change. */
|
|
16342
16239
|
getPasswordUpdatedAt: (request?: {
|
|
16343
16240
|
headers?: {
|
|
@@ -17522,6 +17419,60 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
17522
17419
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17523
17420
|
[x: string]: unknown;
|
|
17524
17421
|
}, 429, "application/json">>>;
|
|
17422
|
+
/** Update your account information. */
|
|
17423
|
+
updateAccount: (request: {
|
|
17424
|
+
data: {
|
|
17425
|
+
person: {
|
|
17426
|
+
firstName: string;
|
|
17427
|
+
lastName: string;
|
|
17428
|
+
title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
|
|
17429
|
+
};
|
|
17430
|
+
};
|
|
17431
|
+
headers?: {
|
|
17432
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
17433
|
+
"x-access-token"?: string | undefined;
|
|
17434
|
+
} | undefined;
|
|
17435
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
17436
|
+
data: {
|
|
17437
|
+
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
17438
|
+
};
|
|
17439
|
+
} & {
|
|
17440
|
+
headers?: Partial<{
|
|
17441
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
17442
|
+
}>;
|
|
17443
|
+
} & {
|
|
17444
|
+
headers: {
|
|
17445
|
+
"x-access-token"?: string | undefined;
|
|
17446
|
+
} & Partial<{
|
|
17447
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
17448
|
+
}>;
|
|
17449
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
17450
|
+
type: "ValidationError";
|
|
17451
|
+
message?: string | undefined;
|
|
17452
|
+
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
17453
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17454
|
+
[x: string]: unknown;
|
|
17455
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
17456
|
+
data: {
|
|
17457
|
+
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
17458
|
+
};
|
|
17459
|
+
} & {
|
|
17460
|
+
headers?: Partial<{
|
|
17461
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
17462
|
+
}>;
|
|
17463
|
+
} & {
|
|
17464
|
+
headers: {
|
|
17465
|
+
"x-access-token"?: string | undefined;
|
|
17466
|
+
} & Partial<{
|
|
17467
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
17468
|
+
}>;
|
|
17469
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
17470
|
+
type: "ValidationError";
|
|
17471
|
+
message?: string | undefined;
|
|
17472
|
+
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
17473
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
17474
|
+
[x: string]: unknown;
|
|
17475
|
+
}, 429, "application/json">>>;
|
|
17525
17476
|
/** Verify an added Email-Address. */
|
|
17526
17477
|
verifyEmail: (request: {
|
|
17527
17478
|
data: {
|
|
@@ -621,10 +621,6 @@ export declare const userEditSshKey: OpenAPIOperation<RequestType<Simplify<Mittw
|
|
|
621
621
|
export declare const userDeleteSshKey: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
622
622
|
/** Delete your account and all your personal data. */
|
|
623
623
|
export declare const userDeleteUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
624
|
-
/** Get your account information. */
|
|
625
|
-
export declare const userGetOwnAccount: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
626
|
-
/** Update your account information. */
|
|
627
|
-
export declare const userUpdateAccount: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
628
624
|
/** The timestamp of your latest password change. */
|
|
629
625
|
export declare const userGetPasswordUpdatedAt: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
630
626
|
/** Get personalized settings. */
|
|
@@ -671,6 +667,8 @@ export declare const userRemoveAvatar: OpenAPIOperation<RequestType<Simplify<nul
|
|
|
671
667
|
export declare const userResendVerificationEmail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsResendEmail.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
672
668
|
/** Request a support code. */
|
|
673
669
|
export declare const userSupportCodeRequest: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsSupportCode.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsSupportCode.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsSupportCode.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsSupportCode.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsSupportCode.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsSupportCode.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
670
|
+
/** Update your account information. */
|
|
671
|
+
export declare const userUpdateAccount: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfPersonalInformation.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
674
672
|
/** Verify an added Email-Address. */
|
|
675
673
|
export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsEmailActionsVerifyEmail.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
676
674
|
/** Verify phone number. */
|
|
@@ -1238,14 +1238,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1238
1238
|
type RequestData = InferredRequestData<typeof descriptors.userDeleteUser>;
|
|
1239
1239
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeleteUser, TStatus>;
|
|
1240
1240
|
}
|
|
1241
|
-
namespace UserGetOwnAccount {
|
|
1242
|
-
type RequestData = InferredRequestData<typeof descriptors.userGetOwnAccount>;
|
|
1243
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetOwnAccount, TStatus>;
|
|
1244
|
-
}
|
|
1245
|
-
namespace UserUpdateAccount {
|
|
1246
|
-
type RequestData = InferredRequestData<typeof descriptors.userUpdateAccount>;
|
|
1247
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdateAccount, TStatus>;
|
|
1248
|
-
}
|
|
1249
1241
|
namespace UserGetPasswordUpdatedAt {
|
|
1250
1242
|
type RequestData = InferredRequestData<typeof descriptors.userGetPasswordUpdatedAt>;
|
|
1251
1243
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetPasswordUpdatedAt, TStatus>;
|
|
@@ -1338,6 +1330,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1338
1330
|
type RequestData = InferredRequestData<typeof descriptors.userSupportCodeRequest>;
|
|
1339
1331
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userSupportCodeRequest, TStatus>;
|
|
1340
1332
|
}
|
|
1333
|
+
namespace UserUpdateAccount {
|
|
1334
|
+
type RequestData = InferredRequestData<typeof descriptors.userUpdateAccount>;
|
|
1335
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdateAccount, TStatus>;
|
|
1336
|
+
}
|
|
1341
1337
|
namespace UserVerifyEmail {
|
|
1342
1338
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyEmail>;
|
|
1343
1339
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyEmail, TStatus>;
|
|
@@ -13297,6 +13293,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
13297
13293
|
printedInvoices?: boolean;
|
|
13298
13294
|
recipient?: MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
|
|
13299
13295
|
recipientSameAsOwner?: boolean;
|
|
13296
|
+
/**
|
|
13297
|
+
* @deprecated
|
|
13298
|
+
* parameter is deprecated and will be ignored
|
|
13299
|
+
*/
|
|
13300
13300
|
targetDay?: number;
|
|
13301
13301
|
}
|
|
13302
13302
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
@@ -19245,74 +19245,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
19245
19245
|
}
|
|
19246
19246
|
}
|
|
19247
19247
|
}
|
|
19248
|
-
namespace V2UsersSelfPersonalInformation {
|
|
19249
|
-
namespace Get {
|
|
19250
|
-
namespace Parameters {
|
|
19251
|
-
type Path = {};
|
|
19252
|
-
interface RequestBody {
|
|
19253
|
-
}
|
|
19254
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
19255
|
-
type Query = {};
|
|
19256
|
-
}
|
|
19257
|
-
namespace Responses {
|
|
19258
|
-
namespace $200 {
|
|
19259
|
-
namespace Content {
|
|
19260
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupAccount;
|
|
19261
|
-
}
|
|
19262
|
-
}
|
|
19263
|
-
namespace $429 {
|
|
19264
|
-
namespace Content {
|
|
19265
|
-
interface ApplicationJson {
|
|
19266
|
-
[k: string]: unknown;
|
|
19267
|
-
}
|
|
19268
|
-
}
|
|
19269
|
-
}
|
|
19270
|
-
namespace Default {
|
|
19271
|
-
namespace Content {
|
|
19272
|
-
interface ApplicationJson {
|
|
19273
|
-
[k: string]: unknown;
|
|
19274
|
-
}
|
|
19275
|
-
}
|
|
19276
|
-
}
|
|
19277
|
-
}
|
|
19278
|
-
}
|
|
19279
|
-
namespace Put {
|
|
19280
|
-
namespace Parameters {
|
|
19281
|
-
type Path = {};
|
|
19282
|
-
interface RequestBody {
|
|
19283
|
-
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
19284
|
-
}
|
|
19285
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
19286
|
-
type Query = {};
|
|
19287
|
-
}
|
|
19288
|
-
namespace Responses {
|
|
19289
|
-
namespace $204 {
|
|
19290
|
-
namespace Content {
|
|
19291
|
-
type Empty = unknown;
|
|
19292
|
-
}
|
|
19293
|
-
}
|
|
19294
|
-
namespace $400 {
|
|
19295
|
-
namespace Content {
|
|
19296
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
19297
|
-
}
|
|
19298
|
-
}
|
|
19299
|
-
namespace $429 {
|
|
19300
|
-
namespace Content {
|
|
19301
|
-
interface ApplicationJson {
|
|
19302
|
-
[k: string]: unknown;
|
|
19303
|
-
}
|
|
19304
|
-
}
|
|
19305
|
-
}
|
|
19306
|
-
namespace Default {
|
|
19307
|
-
namespace Content {
|
|
19308
|
-
interface ApplicationJson {
|
|
19309
|
-
[k: string]: unknown;
|
|
19310
|
-
}
|
|
19311
|
-
}
|
|
19312
|
-
}
|
|
19313
|
-
}
|
|
19314
|
-
}
|
|
19315
|
-
}
|
|
19316
19248
|
namespace V2UsersSelfCredentialsPasswordUpdatedAt {
|
|
19317
19249
|
namespace Get {
|
|
19318
19250
|
namespace Parameters {
|
|
@@ -20318,6 +20250,44 @@ export declare namespace MittwaldAPIV2 {
|
|
|
20318
20250
|
}
|
|
20319
20251
|
}
|
|
20320
20252
|
}
|
|
20253
|
+
namespace V2UsersSelfPersonalInformation {
|
|
20254
|
+
namespace Put {
|
|
20255
|
+
namespace Parameters {
|
|
20256
|
+
type Path = {};
|
|
20257
|
+
interface RequestBody {
|
|
20258
|
+
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
20259
|
+
}
|
|
20260
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
20261
|
+
type Query = {};
|
|
20262
|
+
}
|
|
20263
|
+
namespace Responses {
|
|
20264
|
+
namespace $204 {
|
|
20265
|
+
namespace Content {
|
|
20266
|
+
type Empty = unknown;
|
|
20267
|
+
}
|
|
20268
|
+
}
|
|
20269
|
+
namespace $400 {
|
|
20270
|
+
namespace Content {
|
|
20271
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
20272
|
+
}
|
|
20273
|
+
}
|
|
20274
|
+
namespace $429 {
|
|
20275
|
+
namespace Content {
|
|
20276
|
+
interface ApplicationJson {
|
|
20277
|
+
[k: string]: unknown;
|
|
20278
|
+
}
|
|
20279
|
+
}
|
|
20280
|
+
}
|
|
20281
|
+
namespace Default {
|
|
20282
|
+
namespace Content {
|
|
20283
|
+
interface ApplicationJson {
|
|
20284
|
+
[k: string]: unknown;
|
|
20285
|
+
}
|
|
20286
|
+
}
|
|
20287
|
+
}
|
|
20288
|
+
}
|
|
20289
|
+
}
|
|
20290
|
+
}
|
|
20321
20291
|
namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
|
|
20322
20292
|
namespace Post {
|
|
20323
20293
|
namespace Parameters {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.96.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.97.0",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "19434d0ca95914ecce8b19acad8919eafdaecc21"
|
|
84
84
|
}
|