@mittwald/api-client 0.0.0-development-4c0696b-20261015 → 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.
- package/dist/esm/generated/v2/client-react.js +9 -1
- package/dist/esm/generated/v2/client.js +25 -3
- package/dist/esm/generated/v2/descriptors.js +69 -3
- package/dist/esm/generated/v3-next/client-react.js +9 -1
- package/dist/esm/generated/v3-next/client.js +25 -3
- package/dist/esm/generated/v3-next/descriptors.js +69 -3
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +299 -223
- package/dist/types/generated/v2/client.d.ts +1188 -285
- package/dist/types/generated/v2/descriptors.d.ts +40 -18
- package/dist/types/generated/v2/types.d.ts +2194 -433
- package/dist/types/generated/v3-next/client-react.d.ts +299 -223
- package/dist/types/generated/v3-next/client.d.ts +1188 -285
- package/dist/types/generated/v3-next/descriptors.d.ts +40 -18
- package/dist/types/generated/v3-next/types.d.ts +2194 -433
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -28,6 +28,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
28
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
30
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
31
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
32
|
+
userGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetKeys, baseClient.aiHosting.userGetKeys).getApiResource,
|
|
33
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
|
+
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
31
35
|
});
|
|
32
36
|
const buildAppApi = (baseClient) => ({
|
|
33
37
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -110,7 +114,7 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
114
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
111
115
|
/** List Services the executing user has access to. */
|
|
112
116
|
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
113
|
-
/** List Stacks
|
|
117
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
114
118
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
115
119
|
/** List Services belonging to a Project. */
|
|
116
120
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
@@ -270,6 +274,8 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
270
274
|
listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
|
|
271
275
|
/** List Memberships belonging to a Customer. */
|
|
272
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,
|
|
273
279
|
});
|
|
274
280
|
const buildDatabaseApi = (baseClient) => ({
|
|
275
281
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -460,6 +466,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
460
466
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
461
467
|
/** Request a support code. */
|
|
462
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,
|
|
463
471
|
});
|
|
464
472
|
const buildProjectApi = (baseClient) => ({
|
|
465
473
|
/** List Invites belonging to a Project. */
|
|
@@ -26,7 +26,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
26
26
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
27
27
|
/** Get ai hosting plan and usages of a customer by planId. */
|
|
28
28
|
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
29
|
-
/**
|
|
29
|
+
/** Renames an AI hosting plan. */
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
31
|
/** Rotates a customer's key. */
|
|
32
32
|
customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
|
|
@@ -56,6 +56,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
56
56
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
57
57
|
/** Rotates a project's key. */
|
|
58
58
|
projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
|
|
59
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
60
|
+
userGetKeys: this.requestFunctionFactory(descriptors.aiHostingUserGetKeys),
|
|
61
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
|
+
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
59
63
|
};
|
|
60
64
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
61
65
|
app = {
|
|
@@ -194,7 +198,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
194
198
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
195
199
|
/** List Services the executing user has access to. */
|
|
196
200
|
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
197
|
-
/** List Stacks
|
|
201
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
198
202
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
199
203
|
/** List Services belonging to a Project. */
|
|
200
204
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
@@ -523,6 +527,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
523
527
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
524
528
|
/** Set how the customer became aware of mittwald. */
|
|
525
529
|
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
530
|
+
/** Get the activities of an organization. */
|
|
531
|
+
listCustomerActivities: this.requestFunctionFactory(descriptors.customerListCustomerActivities),
|
|
526
532
|
};
|
|
527
533
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
528
534
|
database = {
|
|
@@ -860,7 +866,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
860
866
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
861
867
|
/** Obtain authorization from the resource owner. */
|
|
862
868
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
863
|
-
/** Retrieve
|
|
869
|
+
/** Retrieve an OAuth access token. */
|
|
864
870
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
865
871
|
/** Register with email and password. */
|
|
866
872
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -882,6 +888,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
882
888
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
883
889
|
/** Verify your registration. */
|
|
884
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),
|
|
885
907
|
};
|
|
886
908
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
887
909
|
file = {
|
|
@@ -58,7 +58,7 @@ export const aiHostingCustomerGetPlan = {
|
|
|
58
58
|
method: "GET",
|
|
59
59
|
operationId: "ai-hosting-customer-get-plan",
|
|
60
60
|
};
|
|
61
|
-
/**
|
|
61
|
+
/** Renames an AI hosting plan. */
|
|
62
62
|
export const aiHostingCustomerUpdatePlan = {
|
|
63
63
|
path: "/v2/customers/{customerId}/ai-hostings/{planId}",
|
|
64
64
|
method: "PUT",
|
|
@@ -526,7 +526,7 @@ export const containerListAccessibleServices = {
|
|
|
526
526
|
method: "GET",
|
|
527
527
|
operationId: "container-list-accessible-services",
|
|
528
528
|
};
|
|
529
|
-
/** List Stacks
|
|
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",
|
|
@@ -2902,7 +2902,7 @@ export const userOauthGetAuthorization = {
|
|
|
2902
2902
|
method: "GET",
|
|
2903
2903
|
operationId: "user-oauth-get-authorization",
|
|
2904
2904
|
};
|
|
2905
|
-
/** Retrieve
|
|
2905
|
+
/** Retrieve an OAuth access token. */
|
|
2906
2906
|
export const userOauthRetrieveAccessToken = {
|
|
2907
2907
|
path: "/v2/oauth2/token",
|
|
2908
2908
|
method: "POST",
|
|
@@ -2986,3 +2986,69 @@ export const verificationVerifyCompany = {
|
|
|
2986
2986
|
method: "POST",
|
|
2987
2987
|
operationId: "verification-verify-company",
|
|
2988
2988
|
};
|
|
2989
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
2990
|
+
export const aiHostingUserGetKeys = {
|
|
2991
|
+
path: "/v2/ai-hosting-keys",
|
|
2992
|
+
method: "GET",
|
|
2993
|
+
operationId: "ai-hosting-user-get-keys",
|
|
2994
|
+
};
|
|
2995
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
2996
|
+
export const aiHostingUserGetPlans = {
|
|
2997
|
+
path: "/v2/ai-hostings",
|
|
2998
|
+
method: "GET",
|
|
2999
|
+
operationId: "ai-hosting-user-get-plans",
|
|
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
|
+
};
|
|
@@ -28,6 +28,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
28
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
30
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
31
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
32
|
+
userGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetKeys, baseClient.aiHosting.userGetKeys).getApiResource,
|
|
33
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
|
+
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
31
35
|
});
|
|
32
36
|
const buildAppApi = (baseClient) => ({
|
|
33
37
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -110,7 +114,7 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
114
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
111
115
|
/** List Services the executing user has access to. */
|
|
112
116
|
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
113
|
-
/** List Stacks
|
|
117
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
114
118
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
115
119
|
/** List Services belonging to a Project. */
|
|
116
120
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
@@ -270,6 +274,8 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
270
274
|
listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
|
|
271
275
|
/** List Memberships belonging to a Customer. */
|
|
272
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,
|
|
273
279
|
});
|
|
274
280
|
const buildDatabaseApi = (baseClient) => ({
|
|
275
281
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -460,6 +466,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
460
466
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
461
467
|
/** Request a support code. */
|
|
462
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,
|
|
463
471
|
});
|
|
464
472
|
const buildProjectApi = (baseClient) => ({
|
|
465
473
|
/** List Invites belonging to a Project. */
|
|
@@ -26,7 +26,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
26
26
|
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
27
27
|
/** Get ai hosting plan and usages of a customer by planId. */
|
|
28
28
|
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
29
|
-
/**
|
|
29
|
+
/** Renames an AI hosting plan. */
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
31
|
/** Rotates a customer's key. */
|
|
32
32
|
customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
|
|
@@ -56,6 +56,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
56
56
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
57
57
|
/** Rotates a project's key. */
|
|
58
58
|
projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
|
|
59
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
60
|
+
userGetKeys: this.requestFunctionFactory(descriptors.aiHostingUserGetKeys),
|
|
61
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
|
+
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
59
63
|
};
|
|
60
64
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
61
65
|
app = {
|
|
@@ -194,7 +198,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
194
198
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
195
199
|
/** List Services the executing user has access to. */
|
|
196
200
|
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
197
|
-
/** List Stacks
|
|
201
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
198
202
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
199
203
|
/** List Services belonging to a Project. */
|
|
200
204
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
@@ -523,6 +527,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
523
527
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
524
528
|
/** Set how the customer became aware of mittwald. */
|
|
525
529
|
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
530
|
+
/** Get the activities of an organization. */
|
|
531
|
+
listCustomerActivities: this.requestFunctionFactory(descriptors.customerListCustomerActivities),
|
|
526
532
|
};
|
|
527
533
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
528
534
|
database = {
|
|
@@ -860,7 +866,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
860
866
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
861
867
|
/** Obtain authorization from the resource owner. */
|
|
862
868
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
863
|
-
/** Retrieve
|
|
869
|
+
/** Retrieve an OAuth access token. */
|
|
864
870
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
865
871
|
/** Register with email and password. */
|
|
866
872
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -882,6 +888,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
882
888
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
883
889
|
/** Verify your registration. */
|
|
884
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),
|
|
885
907
|
};
|
|
886
908
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
887
909
|
file = {
|
|
@@ -58,7 +58,7 @@ export const aiHostingCustomerGetPlan = {
|
|
|
58
58
|
method: "GET",
|
|
59
59
|
operationId: "ai-hosting-customer-get-plan",
|
|
60
60
|
};
|
|
61
|
-
/**
|
|
61
|
+
/** Renames an AI hosting plan. */
|
|
62
62
|
export const aiHostingCustomerUpdatePlan = {
|
|
63
63
|
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
64
64
|
method: "PUT",
|
|
@@ -526,7 +526,7 @@ export const containerListAccessibleServices = {
|
|
|
526
526
|
method: "GET",
|
|
527
527
|
operationId: "container-list-accessible-services",
|
|
528
528
|
};
|
|
529
|
-
/** List Stacks
|
|
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",
|
|
@@ -2902,7 +2902,7 @@ export const userOauthGetAuthorization = {
|
|
|
2902
2902
|
method: "GET",
|
|
2903
2903
|
operationId: "user-oauth-get-authorization",
|
|
2904
2904
|
};
|
|
2905
|
-
/** Retrieve
|
|
2905
|
+
/** Retrieve an OAuth access token. */
|
|
2906
2906
|
export const userOauthRetrieveAccessToken = {
|
|
2907
2907
|
path: "/v3-next/oauth2/token",
|
|
2908
2908
|
method: "POST",
|
|
@@ -2986,3 +2986,69 @@ export const verificationVerifyCompany = {
|
|
|
2986
2986
|
method: "POST",
|
|
2987
2987
|
operationId: "verification-verify-company",
|
|
2988
2988
|
};
|
|
2989
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
2990
|
+
export const aiHostingUserGetKeys = {
|
|
2991
|
+
path: "/v3-next/ai-hosting-keys",
|
|
2992
|
+
method: "GET",
|
|
2993
|
+
operationId: "ai-hosting-user-get-keys",
|
|
2994
|
+
};
|
|
2995
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
2996
|
+
export const aiHostingUserGetPlans = {
|
|
2997
|
+
path: "/v3-next/ai-hostings",
|
|
2998
|
+
method: "GET",
|
|
2999
|
+
operationId: "ai-hosting-user-get-plans",
|
|
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
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.506.0';
|