@mittwald/api-client 0.0.0-development-492ba61-20261027 → 0.0.0-development-7d1b6db-20261028

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.
@@ -114,7 +114,7 @@ const buildContainerApi = (baseClient) => ({
114
114
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
115
115
  /** List Services the executing user has access to. */
116
116
  listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
117
- /** List Stacks belonging to the executing user. */
117
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
118
118
  listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
119
119
  /** List Services belonging to a Project. */
120
120
  listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
@@ -274,6 +274,8 @@ const buildCustomerApi = (baseClient) => ({
274
274
  listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
275
275
  /** List Memberships belonging to a Customer. */
276
276
  listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
277
+ /** Get the activities of an organization. */
278
+ listCustomerActivities: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerActivities, baseClient.customer.listCustomerActivities).getApiResource,
277
279
  });
278
280
  const buildDatabaseApi = (baseClient) => ({
279
281
  /** List MySQLDatabases belonging to a Project. */
@@ -464,6 +466,8 @@ const buildUserApi = (baseClient) => ({
464
466
  searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
465
467
  /** Request a support code. */
466
468
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
469
+ /** Get your registered passkeys. */
470
+ listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
467
471
  });
468
472
  const buildProjectApi = (baseClient) => ({
469
473
  /** List Invites belonging to a Project. */
@@ -198,7 +198,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
198
198
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
199
199
  /** List Services the executing user has access to. */
200
200
  listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
201
- /** List Stacks belonging to the executing user. */
201
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
202
202
  listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
203
203
  /** List Services belonging to a Project. */
204
204
  listServices: this.requestFunctionFactory(descriptors.containerListServices),
@@ -527,6 +527,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
527
527
  resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
528
528
  /** Set how the customer became aware of mittwald. */
529
529
  setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
530
+ /** Get the activities of an organization. */
531
+ listCustomerActivities: this.requestFunctionFactory(descriptors.customerListCustomerActivities),
530
532
  };
531
533
  /** The database API allows you to manage your databases, like MySQL and Redis databases. */
532
534
  database = {
@@ -886,6 +888,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
886
888
  verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
887
889
  /** Verify your registration. */
888
890
  verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
891
+ /** Authenticate yourself with a passkey to get an access token. */
892
+ authenticateWithPasskey: this.requestFunctionFactory(descriptors.userAuthenticateWithPasskey),
893
+ /** Create a challenge for a passkey login. */
894
+ createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
895
+ /** Delete a passkey. */
896
+ deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
897
+ /** Rename a passkey. */
898
+ updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
899
+ /** Get your registered passkeys. */
900
+ listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
901
+ /** Register a new passkey. */
902
+ createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
903
+ /** Create a challenge to confirm an action with a passkey. */
904
+ createOwnPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreateOwnPasskeyChallenge),
905
+ /** Create a challenge to register a new passkey. */
906
+ createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
889
907
  };
890
908
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
891
909
  file = {
@@ -526,7 +526,7 @@ export const containerListAccessibleServices = {
526
526
  method: "GET",
527
527
  operationId: "container-list-accessible-services",
528
528
  };
529
- /** List Stacks belonging to the executing user. */
529
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
530
530
  export const containerListSelfStacks = {
531
531
  path: "/v2/stacks",
532
532
  method: "GET",
@@ -2998,3 +2998,57 @@ export const aiHostingUserGetPlans = {
2998
2998
  method: "GET",
2999
2999
  operationId: "ai-hosting-user-get-plans",
3000
3000
  };
3001
+ /** Get the activities of an organization. */
3002
+ export const customerListCustomerActivities = {
3003
+ path: "/v2/customers/{customerId}/activities",
3004
+ method: "GET",
3005
+ operationId: "customer-list-customer-activities",
3006
+ };
3007
+ /** Authenticate yourself with a passkey to get an access token. */
3008
+ export const userAuthenticateWithPasskey = {
3009
+ path: "/v2/authenticate-passkey",
3010
+ method: "POST",
3011
+ operationId: "user-authenticate-with-passkey",
3012
+ };
3013
+ /** Create a challenge for a passkey login. */
3014
+ export const userCreatePasskeyChallenge = {
3015
+ path: "/v2/passkey-challenges",
3016
+ method: "POST",
3017
+ operationId: "user-create-passkey-challenge",
3018
+ };
3019
+ /** Delete a passkey. */
3020
+ export const userDeletePasskey = {
3021
+ path: "/v2/users/self/passkeys/{passkeyId}",
3022
+ method: "DELETE",
3023
+ operationId: "user-delete-passkey",
3024
+ };
3025
+ /** Rename a passkey. */
3026
+ export const userUpdatePasskey = {
3027
+ path: "/v2/users/self/passkeys/{passkeyId}",
3028
+ method: "PATCH",
3029
+ operationId: "user-update-passkey",
3030
+ };
3031
+ /** Get your registered passkeys. */
3032
+ export const userListPasskeys = {
3033
+ path: "/v2/users/self/passkeys",
3034
+ method: "GET",
3035
+ operationId: "user-list-passkeys",
3036
+ };
3037
+ /** Register a new passkey. */
3038
+ export const userCreatePasskey = {
3039
+ path: "/v2/users/self/passkeys",
3040
+ method: "POST",
3041
+ operationId: "user-create-passkey",
3042
+ };
3043
+ /** Create a challenge to confirm an action with a passkey. */
3044
+ export const userCreateOwnPasskeyChallenge = {
3045
+ path: "/v2/users/self/passkey-challenges",
3046
+ method: "POST",
3047
+ operationId: "user-create-own-passkey-challenge",
3048
+ };
3049
+ /** Create a challenge to register a new passkey. */
3050
+ export const userCreatePasskeyRegistrationChallenge = {
3051
+ path: "/v2/users/self/passkey-registration-challenges",
3052
+ method: "POST",
3053
+ operationId: "user-create-passkey-registration-challenge",
3054
+ };
@@ -114,7 +114,7 @@ const buildContainerApi = (baseClient) => ({
114
114
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
115
115
  /** List Services the executing user has access to. */
116
116
  listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
117
- /** List Stacks belonging to the executing user. */
117
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
118
118
  listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
119
119
  /** List Services belonging to a Project. */
120
120
  listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
@@ -274,6 +274,8 @@ const buildCustomerApi = (baseClient) => ({
274
274
  listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
275
275
  /** List Memberships belonging to a Customer. */
276
276
  listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
277
+ /** Get the activities of an organization. */
278
+ listCustomerActivities: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerActivities, baseClient.customer.listCustomerActivities).getApiResource,
277
279
  });
278
280
  const buildDatabaseApi = (baseClient) => ({
279
281
  /** List MySQLDatabases belonging to a Project. */
@@ -464,6 +466,8 @@ const buildUserApi = (baseClient) => ({
464
466
  searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
465
467
  /** Request a support code. */
466
468
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
469
+ /** Get your registered passkeys. */
470
+ listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
467
471
  });
468
472
  const buildProjectApi = (baseClient) => ({
469
473
  /** List Invites belonging to a Project. */
@@ -198,7 +198,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
198
198
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
199
199
  /** List Services the executing user has access to. */
200
200
  listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
201
- /** List Stacks belonging to the executing user. */
201
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
202
202
  listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
203
203
  /** List Services belonging to a Project. */
204
204
  listServices: this.requestFunctionFactory(descriptors.containerListServices),
@@ -527,6 +527,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
527
527
  resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
528
528
  /** Set how the customer became aware of mittwald. */
529
529
  setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
530
+ /** Get the activities of an organization. */
531
+ listCustomerActivities: this.requestFunctionFactory(descriptors.customerListCustomerActivities),
530
532
  };
531
533
  /** The database API allows you to manage your databases, like MySQL and Redis databases. */
532
534
  database = {
@@ -886,6 +888,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
886
888
  verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
887
889
  /** Verify your registration. */
888
890
  verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
891
+ /** Authenticate yourself with a passkey to get an access token. */
892
+ authenticateWithPasskey: this.requestFunctionFactory(descriptors.userAuthenticateWithPasskey),
893
+ /** Create a challenge for a passkey login. */
894
+ createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
895
+ /** Delete a passkey. */
896
+ deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
897
+ /** Rename a passkey. */
898
+ updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
899
+ /** Get your registered passkeys. */
900
+ listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
901
+ /** Register a new passkey. */
902
+ createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
903
+ /** Create a challenge to confirm an action with a passkey. */
904
+ createOwnPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreateOwnPasskeyChallenge),
905
+ /** Create a challenge to register a new passkey. */
906
+ createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
889
907
  };
890
908
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
891
909
  file = {
@@ -526,7 +526,7 @@ export const containerListAccessibleServices = {
526
526
  method: "GET",
527
527
  operationId: "container-list-accessible-services",
528
528
  };
529
- /** List Stacks belonging to the executing user. */
529
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
530
530
  export const containerListSelfStacks = {
531
531
  path: "/v3-next/stacks",
532
532
  method: "GET",
@@ -2998,3 +2998,57 @@ export const aiHostingUserGetPlans = {
2998
2998
  method: "GET",
2999
2999
  operationId: "ai-hosting-user-get-plans",
3000
3000
  };
3001
+ /** Get the activities of an organization. */
3002
+ export const customerListCustomerActivities = {
3003
+ path: "/v3-next/customers/{customerId}/activities",
3004
+ method: "GET",
3005
+ operationId: "customer-list-customer-activities",
3006
+ };
3007
+ /** Authenticate yourself with a passkey to get an access token. */
3008
+ export const userAuthenticateWithPasskey = {
3009
+ path: "/v3-next/authenticate-passkey",
3010
+ method: "POST",
3011
+ operationId: "user-authenticate-with-passkey",
3012
+ };
3013
+ /** Create a challenge for a passkey login. */
3014
+ export const userCreatePasskeyChallenge = {
3015
+ path: "/v3-next/passkey-challenges",
3016
+ method: "POST",
3017
+ operationId: "user-create-passkey-challenge",
3018
+ };
3019
+ /** Delete a passkey. */
3020
+ export const userDeletePasskey = {
3021
+ path: "/v3-next/users/self/passkeys/{passkeyId}",
3022
+ method: "DELETE",
3023
+ operationId: "user-delete-passkey",
3024
+ };
3025
+ /** Rename a passkey. */
3026
+ export const userUpdatePasskey = {
3027
+ path: "/v3-next/users/self/passkeys/{passkeyId}",
3028
+ method: "PATCH",
3029
+ operationId: "user-update-passkey",
3030
+ };
3031
+ /** Get your registered passkeys. */
3032
+ export const userListPasskeys = {
3033
+ path: "/v3-next/users/self/passkeys",
3034
+ method: "GET",
3035
+ operationId: "user-list-passkeys",
3036
+ };
3037
+ /** Register a new passkey. */
3038
+ export const userCreatePasskey = {
3039
+ path: "/v3-next/users/self/passkeys",
3040
+ method: "POST",
3041
+ operationId: "user-create-passkey",
3042
+ };
3043
+ /** Create a challenge to confirm an action with a passkey. */
3044
+ export const userCreateOwnPasskeyChallenge = {
3045
+ path: "/v3-next/users/self/passkey-challenges",
3046
+ method: "POST",
3047
+ operationId: "user-create-own-passkey-challenge",
3048
+ };
3049
+ /** Create a challenge to register a new passkey. */
3050
+ export const userCreatePasskeyRegistrationChallenge = {
3051
+ path: "/v3-next/users/self/passkey-registration-challenges",
3052
+ method: "POST",
3053
+ operationId: "user-create-passkey-registration-challenge",
3054
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.505.0';
1
+ export const MittwaldAPIClientVersion = '4.506.0';
@@ -940,7 +940,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
940
940
  page?: number | undefined;
941
941
  } | undefined;
942
942
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
943
- /** List Stacks belonging to the executing user. */
943
+ /** List Stacks of the Projects in which the executing user is owner or external member. */
944
944
  listSelfStacks: (conf?: {
945
945
  headers?: {
946
946
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -2289,6 +2289,27 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
2289
2289
  "x-access-token"?: string | undefined;
2290
2290
  } | undefined;
2291
2291
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
2292
+ /** Get the activities of an organization. */
2293
+ listCustomerActivities: (conf: {
2294
+ customerId: string;
2295
+ queryParameters?: {
2296
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2297
+ aggregateName?: string | undefined;
2298
+ aggregateDomain?: string | undefined;
2299
+ aggregateId?: string | undefined;
2300
+ startTime?: (string | Date) | undefined;
2301
+ endTime?: (string | Date) | undefined;
2302
+ fulltextSearch?: string | undefined;
2303
+ limit?: number | undefined;
2304
+ skip?: number | undefined;
2305
+ page?: number | undefined;
2306
+ sort?: "dateTime" | undefined;
2307
+ order?: "asc" | "desc" | undefined;
2308
+ } | undefined;
2309
+ headers?: {
2310
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2311
+ } | undefined;
2312
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogCustomerLogEntry[]>;
2292
2313
  };
2293
2314
  declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
2294
2315
  /** List MySQLDatabases belonging to a Project. */
@@ -3677,6 +3698,22 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3677
3698
  expiresAt: string;
3678
3699
  supportCode: string;
3679
3700
  }>;
3701
+ /** Get your registered passkeys. */
3702
+ listPasskeys: (conf?: {
3703
+ headers?: {
3704
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3705
+ "x-access-token"?: string | undefined;
3706
+ } | undefined;
3707
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3708
+ aaguid: string;
3709
+ backupEligible: boolean;
3710
+ backupState: boolean;
3711
+ createdAt: string;
3712
+ credentialId: string;
3713
+ id: string;
3714
+ name: string;
3715
+ rpId: string;
3716
+ }[]>;
3680
3717
  };
3681
3718
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3682
3719
  /** List Invites belonging to a Project. */