@mittwald/api-client 4.520.0 → 4.522.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 +10 -12
- package/dist/esm/generated/v2/client.js +12 -20
- package/dist/esm/generated/v2/descriptors.js +33 -57
- package/dist/esm/generated/v3-next/client-react.js +10 -12
- package/dist/esm/generated/v3-next/client.js +12 -20
- package/dist/esm/generated/v3-next/descriptors.js +33 -57
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +90 -95
- package/dist/types/generated/v2/client.d.ts +799 -1041
- package/dist/types/generated/v2/descriptors.d.ts +16 -24
- package/dist/types/generated/v2/types.d.ts +742 -956
- package/dist/types/generated/v3-next/client-react.d.ts +90 -95
- package/dist/types/generated/v3-next/client.d.ts +799 -1041
- package/dist/types/generated/v3-next/descriptors.d.ts +16 -24
- package/dist/types/generated/v3-next/types.d.ts +503 -717
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -256,8 +256,6 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
256
256
|
listInvitesForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListInvitesForCustomer, baseClient.customer.listInvitesForCustomer).getApiResource,
|
|
257
257
|
/** Get all customer profiles the authenticated user has access to. */
|
|
258
258
|
listCustomers: new ApiCallAsyncResourceFactory(descriptors.customerListCustomers, baseClient.customer.listCustomers).getApiResource,
|
|
259
|
-
/** Gets the Wallet of the Customer. */
|
|
260
|
-
getWallet: new ApiCallAsyncResourceFactory(descriptors.customerGetWallet, baseClient.customer.getWallet).getApiResource,
|
|
261
259
|
/** Get a CustomerInvite. */
|
|
262
260
|
getCustomerInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerInvite, baseClient.customer.getCustomerInvite).getApiResource,
|
|
263
261
|
/** Get a CustomerMembership. */
|
|
@@ -442,8 +440,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
442
440
|
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
443
441
|
/** Get personalized settings. */
|
|
444
442
|
getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
445
|
-
/** Get poll settings for the specified user. */
|
|
446
|
-
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
447
443
|
/** Get a specific session. */
|
|
448
444
|
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
449
445
|
/** Submitted feedback of the given user. */
|
|
@@ -460,6 +456,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
460
456
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
461
457
|
/** Request a support code. */
|
|
462
458
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
459
|
+
/** Get poll settings for the specified user. */
|
|
460
|
+
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
463
461
|
});
|
|
464
462
|
const buildProjectApi = (baseClient) => ({
|
|
465
463
|
/** List Invites belonging to a Project. */
|
|
@@ -474,8 +472,16 @@ const buildProjectApi = (baseClient) => ({
|
|
|
474
472
|
getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
|
|
475
473
|
/** Get the executing user's membership in a Project. */
|
|
476
474
|
getSelfMembershipForProject: new ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
|
|
475
|
+
/** Get a usage-metrics breakdown for a server. */
|
|
476
|
+
getServerUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetricsBreakdown, baseClient.project.getServerUsageMetricsBreakdown).getApiResource,
|
|
477
|
+
/** Get usage metrics for a server. */
|
|
478
|
+
getServerUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetrics, baseClient.project.getServerUsageMetrics).getApiResource,
|
|
477
479
|
/** Get a Server. */
|
|
478
480
|
getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
|
|
481
|
+
/** Get a usage-metrics breakdown for a project. */
|
|
482
|
+
getUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetricsBreakdown, baseClient.project.getUsageMetricsBreakdown).getApiResource,
|
|
483
|
+
/** Get usage metrics for a project. */
|
|
484
|
+
getUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetrics, baseClient.project.getUsageMetrics).getApiResource,
|
|
479
485
|
/** List Projects belonging to a Customer. */
|
|
480
486
|
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
481
487
|
/** List Memberships belonging to a Project. */
|
|
@@ -494,14 +500,6 @@ const buildProjectApi = (baseClient) => ({
|
|
|
494
500
|
storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
|
|
495
501
|
/** Get storage space Statistics belonging to a Server. */
|
|
496
502
|
storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
|
|
497
|
-
/** Get a usage-metrics breakdown for a project. */
|
|
498
|
-
getUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetricsBreakdown, baseClient.project.getUsageMetricsBreakdown).getApiResource,
|
|
499
|
-
/** Get usage metrics for a project. */
|
|
500
|
-
getUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetrics, baseClient.project.getUsageMetrics).getApiResource,
|
|
501
|
-
/** Get a usage-metrics breakdown for a server. */
|
|
502
|
-
getServerUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetricsBreakdown, baseClient.project.getServerUsageMetricsBreakdown).getApiResource,
|
|
503
|
-
/** Get usage metrics for a server. */
|
|
504
|
-
getServerUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetrics, baseClient.project.getServerUsageMetrics).getApiResource,
|
|
505
503
|
});
|
|
506
504
|
const buildProjectFileSystemApi = (baseClient) => ({
|
|
507
505
|
/** List directories belonging to a Project. */
|
|
@@ -360,8 +360,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
360
360
|
extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
|
|
361
361
|
/** Disable an ExtensionInstance. */
|
|
362
362
|
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
363
|
-
/** Dry run a webhook with random or given values. */
|
|
364
|
-
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
365
363
|
/** Enable an ExtensionInstance. */
|
|
366
364
|
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
367
365
|
/** Generate an Extension secret for the given Extension. */
|
|
@@ -485,12 +483,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
485
483
|
listCustomers: this.requestFunctionFactory(descriptors.customerListCustomers),
|
|
486
484
|
/** Create a new customer profile. */
|
|
487
485
|
createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
|
|
488
|
-
/** Lets us know your idea for our recommendation programm. */
|
|
489
|
-
createRecommendationSuggestion: this.requestFunctionFactory(descriptors.customerCreateRecommendationSuggestion),
|
|
490
|
-
/** Gets the Wallet of the Customer. */
|
|
491
|
-
getWallet: this.requestFunctionFactory(descriptors.customerGetWallet),
|
|
492
|
-
/** Create the Wallet for the Customer. */
|
|
493
|
-
createWallet: this.requestFunctionFactory(descriptors.customerCreateWallet),
|
|
494
486
|
/** Decline a CustomerInvite. */
|
|
495
487
|
declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
|
|
496
488
|
/** Get a CustomerInvite. */
|
|
@@ -834,10 +826,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
834
826
|
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
|
|
835
827
|
/** Update personalized GUI settings. */
|
|
836
828
|
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
|
|
837
|
-
/** Get poll settings for the specified user. */
|
|
838
|
-
getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
|
|
839
|
-
/** Store new or update poll settings. */
|
|
840
|
-
postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
|
|
841
829
|
/** Get a specific session. */
|
|
842
830
|
getSession: this.requestFunctionFactory(descriptors.userGetSession),
|
|
843
831
|
/** Terminate a specific Session. */
|
|
@@ -888,6 +876,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
888
876
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
889
877
|
/** Verify your registration. */
|
|
890
878
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
879
|
+
/** Get poll settings for the specified user. */
|
|
880
|
+
getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
|
|
881
|
+
/** Store new or update poll settings. */
|
|
882
|
+
postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
|
|
891
883
|
};
|
|
892
884
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
893
885
|
file = {
|
|
@@ -1008,10 +1000,18 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1008
1000
|
getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
|
|
1009
1001
|
/** Get the executing user's membership in a Project. */
|
|
1010
1002
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
1003
|
+
/** Get a usage-metrics breakdown for a server. */
|
|
1004
|
+
getServerUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetServerUsageMetricsBreakdown),
|
|
1005
|
+
/** Get usage metrics for a server. */
|
|
1006
|
+
getServerUsageMetrics: this.requestFunctionFactory(descriptors.projectGetServerUsageMetrics),
|
|
1011
1007
|
/** Get a Server. */
|
|
1012
1008
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
1013
1009
|
/** Update a Server. */
|
|
1014
1010
|
updateServer: this.requestFunctionFactory(descriptors.projectUpdateServer),
|
|
1011
|
+
/** Get a usage-metrics breakdown for a project. */
|
|
1012
|
+
getUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetUsageMetricsBreakdown),
|
|
1013
|
+
/** Get usage metrics for a project. */
|
|
1014
|
+
getUsageMetrics: this.requestFunctionFactory(descriptors.projectGetUsageMetrics),
|
|
1015
1015
|
/** List Projects belonging to a Customer. */
|
|
1016
1016
|
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
1017
1017
|
/** List Memberships belonging to a Project. */
|
|
@@ -1036,14 +1036,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1036
1036
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
1037
1037
|
/** Update a Server's storage space statistics. */
|
|
1038
1038
|
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
1039
|
-
/** Get a usage-metrics breakdown for a project. */
|
|
1040
|
-
getUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetUsageMetricsBreakdown),
|
|
1041
|
-
/** Get usage metrics for a project. */
|
|
1042
|
-
getUsageMetrics: this.requestFunctionFactory(descriptors.projectGetUsageMetrics),
|
|
1043
|
-
/** Get a usage-metrics breakdown for a server. */
|
|
1044
|
-
getServerUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetServerUsageMetricsBreakdown),
|
|
1045
|
-
/** Get usage metrics for a server. */
|
|
1046
|
-
getServerUsageMetrics: this.requestFunctionFactory(descriptors.projectGetServerUsageMetrics),
|
|
1047
1039
|
};
|
|
1048
1040
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
1049
1041
|
projectFileSystem = {
|
|
@@ -982,24 +982,6 @@ export const customerCreateCustomer = {
|
|
|
982
982
|
method: "POST",
|
|
983
983
|
operationId: "customer-create-customer",
|
|
984
984
|
};
|
|
985
|
-
/** Lets us know your idea for our recommendation programm. */
|
|
986
|
-
export const customerCreateRecommendationSuggestion = {
|
|
987
|
-
path: "/v2/customers/{customerId}/recommendation-suggestions",
|
|
988
|
-
method: "POST",
|
|
989
|
-
operationId: "customer-create-recommendation-suggestion",
|
|
990
|
-
};
|
|
991
|
-
/** Gets the Wallet of the Customer. */
|
|
992
|
-
export const customerGetWallet = {
|
|
993
|
-
path: "/v2/customers/{customerId}/wallet",
|
|
994
|
-
method: "GET",
|
|
995
|
-
operationId: "customer-get-wallet",
|
|
996
|
-
};
|
|
997
|
-
/** Create the Wallet for the Customer. */
|
|
998
|
-
export const customerCreateWallet = {
|
|
999
|
-
path: "/v2/customers/{customerId}/wallet",
|
|
1000
|
-
method: "POST",
|
|
1001
|
-
operationId: "customer-create-wallet",
|
|
1002
|
-
};
|
|
1003
985
|
/** Decline a CustomerInvite. */
|
|
1004
986
|
export const customerDeclineCustomerInvite = {
|
|
1005
987
|
path: "/v2/customer-invites/{customerInviteId}/actions/decline",
|
|
@@ -1600,12 +1582,6 @@ export const extensionDisableExtensionInstance = {
|
|
|
1600
1582
|
method: "POST",
|
|
1601
1583
|
operationId: "extension-disable-extension-instance",
|
|
1602
1584
|
};
|
|
1603
|
-
/** Dry run a webhook with random or given values. */
|
|
1604
|
-
export const extensionDryRunWebhook = {
|
|
1605
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
1606
|
-
method: "POST",
|
|
1607
|
-
operationId: "extension-dry-run-webhook",
|
|
1608
|
-
};
|
|
1609
1585
|
/** Enable an ExtensionInstance. */
|
|
1610
1586
|
export const extensionEnableExtensionInstance = {
|
|
1611
1587
|
path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
|
|
@@ -2398,6 +2374,18 @@ export const projectGetSelfMembershipForProject = {
|
|
|
2398
2374
|
method: "GET",
|
|
2399
2375
|
operationId: "project-get-self-membership-for-project",
|
|
2400
2376
|
};
|
|
2377
|
+
/** Get a usage-metrics breakdown for a server. */
|
|
2378
|
+
export const projectGetServerUsageMetricsBreakdown = {
|
|
2379
|
+
path: "/v2/servers/{serverId}/usage-metrics/breakdown",
|
|
2380
|
+
method: "GET",
|
|
2381
|
+
operationId: "project-get-server-usage-metrics-breakdown",
|
|
2382
|
+
};
|
|
2383
|
+
/** Get usage metrics for a server. */
|
|
2384
|
+
export const projectGetServerUsageMetrics = {
|
|
2385
|
+
path: "/v2/servers/{serverId}/usage-metrics",
|
|
2386
|
+
method: "GET",
|
|
2387
|
+
operationId: "project-get-server-usage-metrics",
|
|
2388
|
+
};
|
|
2401
2389
|
/** Get a Server. */
|
|
2402
2390
|
export const projectGetServer = {
|
|
2403
2391
|
path: "/v2/servers/{serverId}",
|
|
@@ -2410,6 +2398,18 @@ export const projectUpdateServer = {
|
|
|
2410
2398
|
method: "PATCH",
|
|
2411
2399
|
operationId: "project-update-server",
|
|
2412
2400
|
};
|
|
2401
|
+
/** Get a usage-metrics breakdown for a project. */
|
|
2402
|
+
export const projectGetUsageMetricsBreakdown = {
|
|
2403
|
+
path: "/v2/projects/{projectId}/usage-metrics/breakdown",
|
|
2404
|
+
method: "GET",
|
|
2405
|
+
operationId: "project-get-usage-metrics-breakdown",
|
|
2406
|
+
};
|
|
2407
|
+
/** Get usage metrics for a project. */
|
|
2408
|
+
export const projectGetUsageMetrics = {
|
|
2409
|
+
path: "/v2/projects/{projectId}/usage-metrics",
|
|
2410
|
+
method: "GET",
|
|
2411
|
+
operationId: "project-get-usage-metrics",
|
|
2412
|
+
};
|
|
2413
2413
|
/** List Projects belonging to a Customer. */
|
|
2414
2414
|
export const projectListCustomerProjects = {
|
|
2415
2415
|
path: "/v2/customers/{customerId}/projects",
|
|
@@ -2824,18 +2824,6 @@ export const userUpdatePersonalizedSettings = {
|
|
|
2824
2824
|
method: "PUT",
|
|
2825
2825
|
operationId: "user-update-personalized-settings",
|
|
2826
2826
|
};
|
|
2827
|
-
/** Get poll settings for the specified user. */
|
|
2828
|
-
export const userGetPollStatus = {
|
|
2829
|
-
path: "/v2/poll-settings/{userId}",
|
|
2830
|
-
method: "GET",
|
|
2831
|
-
operationId: "user-get-poll-status",
|
|
2832
|
-
};
|
|
2833
|
-
/** Store new or update poll settings. */
|
|
2834
|
-
export const userPostPollStatus = {
|
|
2835
|
-
path: "/v2/poll-settings/{userId}",
|
|
2836
|
-
method: "POST",
|
|
2837
|
-
operationId: "user-post-poll-status",
|
|
2838
|
-
};
|
|
2839
2827
|
/** Get a specific session. */
|
|
2840
2828
|
export const userGetSession = {
|
|
2841
2829
|
path: "/v2/users/self/sessions/{tokenId}",
|
|
@@ -3004,27 +2992,15 @@ export const verificationVerifyCompany = {
|
|
|
3004
2992
|
method: "POST",
|
|
3005
2993
|
operationId: "verification-verify-company",
|
|
3006
2994
|
};
|
|
3007
|
-
/** Get
|
|
3008
|
-
export const
|
|
3009
|
-
path: "/v2/
|
|
3010
|
-
method: "GET",
|
|
3011
|
-
operationId: "project-get-usage-metrics-breakdown",
|
|
3012
|
-
};
|
|
3013
|
-
/** Get usage metrics for a project. */
|
|
3014
|
-
export const projectGetUsageMetrics = {
|
|
3015
|
-
path: "/v2/projects/{projectId}/usage-metrics",
|
|
3016
|
-
method: "GET",
|
|
3017
|
-
operationId: "project-get-usage-metrics",
|
|
3018
|
-
};
|
|
3019
|
-
/** Get a usage-metrics breakdown for a server. */
|
|
3020
|
-
export const projectGetServerUsageMetricsBreakdown = {
|
|
3021
|
-
path: "/v2/servers/{serverId}/usage-metrics/breakdown",
|
|
2995
|
+
/** Get poll settings for the specified user. */
|
|
2996
|
+
export const userGetPollStatus = {
|
|
2997
|
+
path: "/v2/poll-settings/{userId}",
|
|
3022
2998
|
method: "GET",
|
|
3023
|
-
operationId: "
|
|
2999
|
+
operationId: "user-get-poll-status",
|
|
3024
3000
|
};
|
|
3025
|
-
/**
|
|
3026
|
-
export const
|
|
3027
|
-
path: "/v2/
|
|
3028
|
-
method: "
|
|
3029
|
-
operationId: "
|
|
3001
|
+
/** Store new or update poll settings. */
|
|
3002
|
+
export const userPostPollStatus = {
|
|
3003
|
+
path: "/v2/poll-settings/{userId}",
|
|
3004
|
+
method: "POST",
|
|
3005
|
+
operationId: "user-post-poll-status",
|
|
3030
3006
|
};
|
|
@@ -256,8 +256,6 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
256
256
|
listInvitesForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListInvitesForCustomer, baseClient.customer.listInvitesForCustomer).getApiResource,
|
|
257
257
|
/** Get all customer profiles the authenticated user has access to. */
|
|
258
258
|
listCustomers: new ApiCallAsyncResourceFactory(descriptors.customerListCustomers, baseClient.customer.listCustomers).getApiResource,
|
|
259
|
-
/** Gets the Wallet of the Customer. */
|
|
260
|
-
getWallet: new ApiCallAsyncResourceFactory(descriptors.customerGetWallet, baseClient.customer.getWallet).getApiResource,
|
|
261
259
|
/** Get a CustomerInvite. */
|
|
262
260
|
getCustomerInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerInvite, baseClient.customer.getCustomerInvite).getApiResource,
|
|
263
261
|
/** Get a CustomerMembership. */
|
|
@@ -442,8 +440,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
442
440
|
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
443
441
|
/** Get personalized settings. */
|
|
444
442
|
getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
445
|
-
/** Get poll settings for the specified user. */
|
|
446
|
-
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
447
443
|
/** Get a specific session. */
|
|
448
444
|
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
449
445
|
/** Submitted feedback of the given user. */
|
|
@@ -460,6 +456,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
460
456
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
461
457
|
/** Request a support code. */
|
|
462
458
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
459
|
+
/** Get poll settings for the specified user. */
|
|
460
|
+
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
463
461
|
});
|
|
464
462
|
const buildProjectApi = (baseClient) => ({
|
|
465
463
|
/** List Invites belonging to a Project. */
|
|
@@ -474,8 +472,16 @@ const buildProjectApi = (baseClient) => ({
|
|
|
474
472
|
getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
|
|
475
473
|
/** Get the executing user's membership in a Project. */
|
|
476
474
|
getSelfMembershipForProject: new ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
|
|
475
|
+
/** Get a usage-metrics breakdown for a server. */
|
|
476
|
+
getServerUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetricsBreakdown, baseClient.project.getServerUsageMetricsBreakdown).getApiResource,
|
|
477
|
+
/** Get usage metrics for a server. */
|
|
478
|
+
getServerUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetrics, baseClient.project.getServerUsageMetrics).getApiResource,
|
|
477
479
|
/** Get a Server. */
|
|
478
480
|
getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
|
|
481
|
+
/** Get a usage-metrics breakdown for a project. */
|
|
482
|
+
getUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetricsBreakdown, baseClient.project.getUsageMetricsBreakdown).getApiResource,
|
|
483
|
+
/** Get usage metrics for a project. */
|
|
484
|
+
getUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetrics, baseClient.project.getUsageMetrics).getApiResource,
|
|
479
485
|
/** List Projects belonging to a Customer. */
|
|
480
486
|
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
481
487
|
/** List Memberships belonging to a Project. */
|
|
@@ -494,14 +500,6 @@ const buildProjectApi = (baseClient) => ({
|
|
|
494
500
|
storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
|
|
495
501
|
/** Get storage space Statistics belonging to a Server. */
|
|
496
502
|
storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
|
|
497
|
-
/** Get a usage-metrics breakdown for a project. */
|
|
498
|
-
getUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetricsBreakdown, baseClient.project.getUsageMetricsBreakdown).getApiResource,
|
|
499
|
-
/** Get usage metrics for a project. */
|
|
500
|
-
getUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetrics, baseClient.project.getUsageMetrics).getApiResource,
|
|
501
|
-
/** Get a usage-metrics breakdown for a server. */
|
|
502
|
-
getServerUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetricsBreakdown, baseClient.project.getServerUsageMetricsBreakdown).getApiResource,
|
|
503
|
-
/** Get usage metrics for a server. */
|
|
504
|
-
getServerUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetrics, baseClient.project.getServerUsageMetrics).getApiResource,
|
|
505
503
|
});
|
|
506
504
|
const buildProjectFileSystemApi = (baseClient) => ({
|
|
507
505
|
/** List directories belonging to a Project. */
|
|
@@ -360,8 +360,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
360
360
|
extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
|
|
361
361
|
/** Disable an ExtensionInstance. */
|
|
362
362
|
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
363
|
-
/** Dry run a webhook with random or given values. */
|
|
364
|
-
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
365
363
|
/** Enable an ExtensionInstance. */
|
|
366
364
|
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
367
365
|
/** Generate an Extension secret for the given Extension. */
|
|
@@ -485,12 +483,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
485
483
|
listCustomers: this.requestFunctionFactory(descriptors.customerListCustomers),
|
|
486
484
|
/** Create a new customer profile. */
|
|
487
485
|
createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
|
|
488
|
-
/** Lets us know your idea for our recommendation programm. */
|
|
489
|
-
createRecommendationSuggestion: this.requestFunctionFactory(descriptors.customerCreateRecommendationSuggestion),
|
|
490
|
-
/** Gets the Wallet of the Customer. */
|
|
491
|
-
getWallet: this.requestFunctionFactory(descriptors.customerGetWallet),
|
|
492
|
-
/** Create the Wallet for the Customer. */
|
|
493
|
-
createWallet: this.requestFunctionFactory(descriptors.customerCreateWallet),
|
|
494
486
|
/** Decline a CustomerInvite. */
|
|
495
487
|
declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
|
|
496
488
|
/** Get a CustomerInvite. */
|
|
@@ -834,10 +826,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
834
826
|
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
|
|
835
827
|
/** Update personalized GUI settings. */
|
|
836
828
|
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
|
|
837
|
-
/** Get poll settings for the specified user. */
|
|
838
|
-
getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
|
|
839
|
-
/** Store new or update poll settings. */
|
|
840
|
-
postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
|
|
841
829
|
/** Get a specific session. */
|
|
842
830
|
getSession: this.requestFunctionFactory(descriptors.userGetSession),
|
|
843
831
|
/** Terminate a specific Session. */
|
|
@@ -888,6 +876,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
888
876
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
889
877
|
/** Verify your registration. */
|
|
890
878
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
879
|
+
/** Get poll settings for the specified user. */
|
|
880
|
+
getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
|
|
881
|
+
/** Store new or update poll settings. */
|
|
882
|
+
postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
|
|
891
883
|
};
|
|
892
884
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
893
885
|
file = {
|
|
@@ -1008,10 +1000,18 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
1008
1000
|
getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
|
|
1009
1001
|
/** Get the executing user's membership in a Project. */
|
|
1010
1002
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
1003
|
+
/** Get a usage-metrics breakdown for a server. */
|
|
1004
|
+
getServerUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetServerUsageMetricsBreakdown),
|
|
1005
|
+
/** Get usage metrics for a server. */
|
|
1006
|
+
getServerUsageMetrics: this.requestFunctionFactory(descriptors.projectGetServerUsageMetrics),
|
|
1011
1007
|
/** Get a Server. */
|
|
1012
1008
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
1013
1009
|
/** Update a Server. */
|
|
1014
1010
|
updateServer: this.requestFunctionFactory(descriptors.projectUpdateServer),
|
|
1011
|
+
/** Get a usage-metrics breakdown for a project. */
|
|
1012
|
+
getUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetUsageMetricsBreakdown),
|
|
1013
|
+
/** Get usage metrics for a project. */
|
|
1014
|
+
getUsageMetrics: this.requestFunctionFactory(descriptors.projectGetUsageMetrics),
|
|
1015
1015
|
/** List Projects belonging to a Customer. */
|
|
1016
1016
|
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
1017
1017
|
/** List Memberships belonging to a Project. */
|
|
@@ -1036,14 +1036,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
1036
1036
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
1037
1037
|
/** Update a Server's storage space statistics. */
|
|
1038
1038
|
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
1039
|
-
/** Get a usage-metrics breakdown for a project. */
|
|
1040
|
-
getUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetUsageMetricsBreakdown),
|
|
1041
|
-
/** Get usage metrics for a project. */
|
|
1042
|
-
getUsageMetrics: this.requestFunctionFactory(descriptors.projectGetUsageMetrics),
|
|
1043
|
-
/** Get a usage-metrics breakdown for a server. */
|
|
1044
|
-
getServerUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetServerUsageMetricsBreakdown),
|
|
1045
|
-
/** Get usage metrics for a server. */
|
|
1046
|
-
getServerUsageMetrics: this.requestFunctionFactory(descriptors.projectGetServerUsageMetrics),
|
|
1047
1039
|
};
|
|
1048
1040
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
1049
1041
|
projectFileSystem = {
|
|
@@ -982,24 +982,6 @@ export const customerCreateCustomer = {
|
|
|
982
982
|
method: "POST",
|
|
983
983
|
operationId: "customer-create-customer",
|
|
984
984
|
};
|
|
985
|
-
/** Lets us know your idea for our recommendation programm. */
|
|
986
|
-
export const customerCreateRecommendationSuggestion = {
|
|
987
|
-
path: "/v3-next/customers/{customerId}/recommendation-suggestions",
|
|
988
|
-
method: "POST",
|
|
989
|
-
operationId: "customer-create-recommendation-suggestion",
|
|
990
|
-
};
|
|
991
|
-
/** Gets the Wallet of the Customer. */
|
|
992
|
-
export const customerGetWallet = {
|
|
993
|
-
path: "/v3-next/customers/{customerId}/wallet",
|
|
994
|
-
method: "GET",
|
|
995
|
-
operationId: "customer-get-wallet",
|
|
996
|
-
};
|
|
997
|
-
/** Create the Wallet for the Customer. */
|
|
998
|
-
export const customerCreateWallet = {
|
|
999
|
-
path: "/v3-next/customers/{customerId}/wallet",
|
|
1000
|
-
method: "POST",
|
|
1001
|
-
operationId: "customer-create-wallet",
|
|
1002
|
-
};
|
|
1003
985
|
/** Decline a CustomerInvite. */
|
|
1004
986
|
export const customerDeclineCustomerInvite = {
|
|
1005
987
|
path: "/v3-next/customer-invites/{customerInviteId}/actions/decline",
|
|
@@ -1600,12 +1582,6 @@ export const extensionDisableExtensionInstance = {
|
|
|
1600
1582
|
method: "POST",
|
|
1601
1583
|
operationId: "extension-disable-extension-instance",
|
|
1602
1584
|
};
|
|
1603
|
-
/** Dry run a webhook with random or given values. */
|
|
1604
|
-
export const extensionDryRunWebhook = {
|
|
1605
|
-
path: "/v3-next/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
1606
|
-
method: "POST",
|
|
1607
|
-
operationId: "extension-dry-run-webhook",
|
|
1608
|
-
};
|
|
1609
1585
|
/** Enable an ExtensionInstance. */
|
|
1610
1586
|
export const extensionEnableExtensionInstance = {
|
|
1611
1587
|
path: "/v3-next/extension-instances/{extensionInstanceId}/actions/enable",
|
|
@@ -2398,6 +2374,18 @@ export const projectGetSelfMembershipForProject = {
|
|
|
2398
2374
|
method: "GET",
|
|
2399
2375
|
operationId: "project-get-self-membership-for-project",
|
|
2400
2376
|
};
|
|
2377
|
+
/** Get a usage-metrics breakdown for a server. */
|
|
2378
|
+
export const projectGetServerUsageMetricsBreakdown = {
|
|
2379
|
+
path: "/v3-next/servers/{serverId}/usage-metrics/breakdown",
|
|
2380
|
+
method: "GET",
|
|
2381
|
+
operationId: "project-get-server-usage-metrics-breakdown",
|
|
2382
|
+
};
|
|
2383
|
+
/** Get usage metrics for a server. */
|
|
2384
|
+
export const projectGetServerUsageMetrics = {
|
|
2385
|
+
path: "/v3-next/servers/{serverId}/usage-metrics",
|
|
2386
|
+
method: "GET",
|
|
2387
|
+
operationId: "project-get-server-usage-metrics",
|
|
2388
|
+
};
|
|
2401
2389
|
/** Get a Server. */
|
|
2402
2390
|
export const projectGetServer = {
|
|
2403
2391
|
path: "/v3-next/servers/{serverId}",
|
|
@@ -2410,6 +2398,18 @@ export const projectUpdateServer = {
|
|
|
2410
2398
|
method: "PATCH",
|
|
2411
2399
|
operationId: "project-update-server",
|
|
2412
2400
|
};
|
|
2401
|
+
/** Get a usage-metrics breakdown for a project. */
|
|
2402
|
+
export const projectGetUsageMetricsBreakdown = {
|
|
2403
|
+
path: "/v3-next/projects/{projectId}/usage-metrics/breakdown",
|
|
2404
|
+
method: "GET",
|
|
2405
|
+
operationId: "project-get-usage-metrics-breakdown",
|
|
2406
|
+
};
|
|
2407
|
+
/** Get usage metrics for a project. */
|
|
2408
|
+
export const projectGetUsageMetrics = {
|
|
2409
|
+
path: "/v3-next/projects/{projectId}/usage-metrics",
|
|
2410
|
+
method: "GET",
|
|
2411
|
+
operationId: "project-get-usage-metrics",
|
|
2412
|
+
};
|
|
2413
2413
|
/** List Projects belonging to a Customer. */
|
|
2414
2414
|
export const projectListCustomerProjects = {
|
|
2415
2415
|
path: "/v3-next/customers/{customerId}/projects",
|
|
@@ -2824,18 +2824,6 @@ export const userUpdatePersonalizedSettings = {
|
|
|
2824
2824
|
method: "PUT",
|
|
2825
2825
|
operationId: "user-update-personalized-settings",
|
|
2826
2826
|
};
|
|
2827
|
-
/** Get poll settings for the specified user. */
|
|
2828
|
-
export const userGetPollStatus = {
|
|
2829
|
-
path: "/v3-next/poll-settings/{userId}",
|
|
2830
|
-
method: "GET",
|
|
2831
|
-
operationId: "user-get-poll-status",
|
|
2832
|
-
};
|
|
2833
|
-
/** Store new or update poll settings. */
|
|
2834
|
-
export const userPostPollStatus = {
|
|
2835
|
-
path: "/v3-next/poll-settings/{userId}",
|
|
2836
|
-
method: "POST",
|
|
2837
|
-
operationId: "user-post-poll-status",
|
|
2838
|
-
};
|
|
2839
2827
|
/** Get a specific session. */
|
|
2840
2828
|
export const userGetSession = {
|
|
2841
2829
|
path: "/v3-next/users/self/sessions/{tokenId}",
|
|
@@ -3004,27 +2992,15 @@ export const verificationVerifyCompany = {
|
|
|
3004
2992
|
method: "POST",
|
|
3005
2993
|
operationId: "verification-verify-company",
|
|
3006
2994
|
};
|
|
3007
|
-
/** Get
|
|
3008
|
-
export const
|
|
3009
|
-
path: "/v3-next/
|
|
3010
|
-
method: "GET",
|
|
3011
|
-
operationId: "project-get-usage-metrics-breakdown",
|
|
3012
|
-
};
|
|
3013
|
-
/** Get usage metrics for a project. */
|
|
3014
|
-
export const projectGetUsageMetrics = {
|
|
3015
|
-
path: "/v3-next/projects/{projectId}/usage-metrics",
|
|
3016
|
-
method: "GET",
|
|
3017
|
-
operationId: "project-get-usage-metrics",
|
|
3018
|
-
};
|
|
3019
|
-
/** Get a usage-metrics breakdown for a server. */
|
|
3020
|
-
export const projectGetServerUsageMetricsBreakdown = {
|
|
3021
|
-
path: "/v3-next/servers/{serverId}/usage-metrics/breakdown",
|
|
2995
|
+
/** Get poll settings for the specified user. */
|
|
2996
|
+
export const userGetPollStatus = {
|
|
2997
|
+
path: "/v3-next/poll-settings/{userId}",
|
|
3022
2998
|
method: "GET",
|
|
3023
|
-
operationId: "
|
|
2999
|
+
operationId: "user-get-poll-status",
|
|
3024
3000
|
};
|
|
3025
|
-
/**
|
|
3026
|
-
export const
|
|
3027
|
-
path: "/v3-next/
|
|
3028
|
-
method: "
|
|
3029
|
-
operationId: "
|
|
3001
|
+
/** Store new or update poll settings. */
|
|
3002
|
+
export const userPostPollStatus = {
|
|
3003
|
+
path: "/v3-next/poll-settings/{userId}",
|
|
3004
|
+
method: "POST",
|
|
3005
|
+
operationId: "user-post-poll-status",
|
|
3030
3006
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.522.0';
|