@mittwald/api-client 0.0.0-development-4653f36-20260902 → 0.0.0-development-d78fbd1-20260907

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.
@@ -20,16 +20,22 @@ const buildAiHostingApi = (baseClient) => ({
20
20
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
21
21
  /** Get a list of currently active models. */
22
22
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
23
- /** Get all ai hosting plans and usages of a project. */
24
- projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
25
23
  /** Get ai hosting plan and usages of a project by planId. */
26
24
  projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
25
+ /** Get all ai hosting plans and usages of a project. */
26
+ projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
+ /** List the contract months of an ai hosting plan. */
28
+ planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
29
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
30
+ planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
27
31
  });
28
32
  const buildAppApi = (baseClient) => ({
29
33
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
30
34
  getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
31
35
  /** Get an App. */
32
36
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
37
+ /** Get an analysis of the error of an AppInstallation. */
38
+ getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
33
39
  /** Get an AppInstallation. */
34
40
  getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
35
41
  /** Get an AppVersion. */
@@ -92,6 +98,8 @@ const buildContainerApi = (baseClient) => ({
92
98
  getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
93
99
  /** Get a ContainerImageConfig. */
94
100
  getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
101
+ /** Get an analysis of the logs belonging to a Service. */
102
+ getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
95
103
  /** Get logs belonging to a Service. */
96
104
  getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
97
105
  /** Get a Service belonging to a Stack. */
@@ -434,6 +442,8 @@ const buildUserApi = (baseClient) => ({
434
442
  getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
435
443
  /** Get a specific session. */
436
444
  getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
445
+ /** Submitted feedback of the given user. */
446
+ getSpotlightInfo: new ApiCallAsyncResourceFactory(descriptors.userGetSpotlightInfo, baseClient.user.getSpotlightInfo).getApiResource,
437
447
  /** Get profile information for a user. */
438
448
  getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
439
449
  /** Submitted feedback of the given user. */
@@ -42,12 +42,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
42
42
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
43
43
  /** Get a list of currently active models. */
44
44
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
45
+ /** Get ai hosting plan and usages of a project by planId. */
46
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
45
47
  /** Get all ai hosting plans and usages of a project. */
46
48
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
47
49
  /** Links a container with a project licence. */
48
50
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
49
- /** Get ai hosting plan and usages of a project by planId. */
50
- projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
51
+ /** List the contract months of an ai hosting plan. */
52
+ planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
53
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
54
+ planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
51
55
  };
52
56
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
57
  app = {
@@ -57,6 +61,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
57
61
  getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
58
62
  /** Get an App. */
59
63
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
64
+ /** Get an analysis of the error of an AppInstallation. */
65
+ getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
60
66
  /** Get an AppInstallation. */
61
67
  getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
62
68
  /** Trigger an uninstallation process for an AppInstallation. */
@@ -172,6 +178,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
172
178
  deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
173
179
  /** Get a ContainerImageConfig. */
174
180
  getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
181
+ /** Get an analysis of the logs belonging to a Service. */
182
+ getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
175
183
  /** Get logs belonging to a Service. */
176
184
  getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
177
185
  /** Get a Service belonging to a Stack. */
@@ -505,6 +513,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
505
513
  removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
506
514
  /** Resend the mail for a CustomerInvite. */
507
515
  resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
516
+ /** Set how the customer became aware of mittwald. */
517
+ setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
508
518
  };
509
519
  /** The database API allows you to manage your databases, like MySQL and Redis databases. */
510
520
  database = {
@@ -816,6 +826,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
816
826
  getSession: this.requestFunctionFactory(descriptors.userGetSession),
817
827
  /** Terminate a specific Session. */
818
828
  terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
829
+ /** Submitted feedback of the given user. */
830
+ getSpotlightInfo: this.requestFunctionFactory(descriptors.userGetSpotlightInfo),
831
+ /** Submit your usage of the spotlight. */
832
+ spotlightUsage: this.requestFunctionFactory(descriptors.userSpotlightUsage),
819
833
  /** Get profile information for a user. */
820
834
  getUser: this.requestFunctionFactory(descriptors.userGetUser),
821
835
  /** Change personal information. */
@@ -846,6 +860,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
846
860
  removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
847
861
  /** Resend the Email-Address verification email. */
848
862
  resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
863
+ /** Submit your spotlight usage. */
864
+ spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
849
865
  /** Request a support code. */
850
866
  supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
851
867
  /** Verify an added Email-Address. */
@@ -106,6 +106,12 @@ export const aiHostingProjectGetDetailedModels = {
106
106
  method: "GET",
107
107
  operationId: "ai-hosting-project-get-detailed-models",
108
108
  };
109
+ /** Get ai hosting plan and usages of a project by planId. */
110
+ export const aiHostingProjectGetPlan = {
111
+ path: "/v2/projects/{projectId}/ai-hostings/{planId}",
112
+ method: "GET",
113
+ operationId: "ai-hosting-project-get-plan",
114
+ };
109
115
  /** Get all ai hosting plans and usages of a project. */
110
116
  export const aiHostingProjectGetPlans = {
111
117
  path: "/v2/projects/{projectId}/ai-hostings",
@@ -136,6 +142,12 @@ export const appGetApp = {
136
142
  method: "GET",
137
143
  operationId: "app-get-app",
138
144
  };
145
+ /** Get an analysis of the error of an AppInstallation. */
146
+ export const appGetAppinstallationErrorAnalysis = {
147
+ path: "/v2/app-installations/{appInstallationId}/error-analysis",
148
+ method: "GET",
149
+ operationId: "app-get-appinstallation-error-analysis",
150
+ };
139
151
  /** Get an AppInstallation. */
140
152
  export const appGetAppinstallation = {
141
153
  path: "/v2/app-installations/{appInstallationId}",
@@ -454,6 +466,12 @@ export const containerGetContainerImageConfig = {
454
466
  method: "GET",
455
467
  operationId: "container-get-container-image-config",
456
468
  };
469
+ /** Get an analysis of the logs belonging to a Service. */
470
+ export const containerGetServiceLogsAnalysis = {
471
+ path: "/v2/stacks/{stackId}/services/{serviceId}/log-analysis",
472
+ method: "GET",
473
+ operationId: "container-get-service-logs-analysis",
474
+ };
457
475
  /** Get logs belonging to a Service. */
458
476
  export const containerGetServiceLogs = {
459
477
  path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
@@ -1042,6 +1060,12 @@ export const customerResendCustomerInviteMail = {
1042
1060
  method: "POST",
1043
1061
  operationId: "customer-resend-customer-invite-mail",
1044
1062
  };
1063
+ /** Set how the customer became aware of mittwald. */
1064
+ export const customerSetCustomerReferralSource = {
1065
+ path: "/v2/customers/{customerId}/referral-source",
1066
+ method: "PUT",
1067
+ operationId: "customer-set-customer-referral-source",
1068
+ };
1045
1069
  /** Copy a MySQLDatabase with a MySQLUser. */
1046
1070
  export const databaseCopyMysqlDatabase = {
1047
1071
  path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
@@ -2770,6 +2794,18 @@ export const userTerminateSession = {
2770
2794
  method: "DELETE",
2771
2795
  operationId: "user-terminate-session",
2772
2796
  };
2797
+ /** Submitted feedback of the given user. */
2798
+ export const userGetSpotlightInfo = {
2799
+ path: "/v2/users/self/spotlights/{spotlightId}",
2800
+ method: "GET",
2801
+ operationId: "user-get-spotlight-info",
2802
+ };
2803
+ /** Submit your usage of the spotlight. */
2804
+ export const userSpotlightUsage = {
2805
+ path: "/v2/users/self/spotlights/{spotlightId}",
2806
+ method: "POST",
2807
+ operationId: "user-spotlight-usage",
2808
+ };
2773
2809
  /** Get profile information for a user. */
2774
2810
  export const userGetUser = {
2775
2811
  path: "/v2/users/{userId}",
@@ -2860,6 +2896,12 @@ export const userResendVerificationEmail = {
2860
2896
  method: "POST",
2861
2897
  operationId: "user-resend-verification-email",
2862
2898
  };
2899
+ /** Submit your spotlight usage. */
2900
+ export const userSpotlightFeedback = {
2901
+ path: "/v2/users/self/spotlights/{spotlightId}/feedback",
2902
+ method: "POST",
2903
+ operationId: "user-spotlight-feedback",
2904
+ };
2863
2905
  /** Request a support code. */
2864
2906
  export const userSupportCodeRequest = {
2865
2907
  path: "/v2/users/self/credentials/support-code",
@@ -2902,9 +2944,15 @@ export const verificationVerifyCompany = {
2902
2944
  method: "POST",
2903
2945
  operationId: "verification-verify-company",
2904
2946
  };
2905
- /** Get ai hosting plan and usages of a project by planId. */
2906
- export const aiHostingProjectGetPlan = {
2907
- path: "/v2/projects/{projectId}/ai-hostings/{planId}",
2947
+ /** List the contract months of an ai hosting plan. */
2948
+ export const aiHostingPlanGetBillingPeriods = {
2949
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}/billing-periods",
2908
2950
  method: "GET",
2909
- operationId: "ai-hosting-project-get-plan",
2951
+ operationId: "ai-hosting-plan-get-billing-periods",
2952
+ };
2953
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
2954
+ export const aiHostingPlanGetUsageStats = {
2955
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}/usage",
2956
+ method: "GET",
2957
+ operationId: "ai-hosting-plan-get-usage-stats",
2910
2958
  };
@@ -20,16 +20,22 @@ const buildAiHostingApi = (baseClient) => ({
20
20
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
21
21
  /** Get a list of currently active models. */
22
22
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
23
- /** Get all ai hosting plans and usages of a project. */
24
- projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
25
23
  /** Get ai hosting plan and usages of a project by planId. */
26
24
  projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
25
+ /** Get all ai hosting plans and usages of a project. */
26
+ projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
+ /** List the contract months of an ai hosting plan. */
28
+ planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
29
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
30
+ planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
27
31
  });
28
32
  const buildAppApi = (baseClient) => ({
29
33
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
30
34
  getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
31
35
  /** Get an App. */
32
36
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
37
+ /** Get an analysis of the error of an AppInstallation. */
38
+ getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
33
39
  /** Get an AppInstallation. */
34
40
  getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
35
41
  /** Get an AppVersion. */
@@ -92,6 +98,8 @@ const buildContainerApi = (baseClient) => ({
92
98
  getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
93
99
  /** Get a ContainerImageConfig. */
94
100
  getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
101
+ /** Get an analysis of the logs belonging to a Service. */
102
+ getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
95
103
  /** Get logs belonging to a Service. */
96
104
  getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
97
105
  /** Get a Service belonging to a Stack. */
@@ -434,6 +442,8 @@ const buildUserApi = (baseClient) => ({
434
442
  getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
435
443
  /** Get a specific session. */
436
444
  getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
445
+ /** Submitted feedback of the given user. */
446
+ getSpotlightInfo: new ApiCallAsyncResourceFactory(descriptors.userGetSpotlightInfo, baseClient.user.getSpotlightInfo).getApiResource,
437
447
  /** Get profile information for a user. */
438
448
  getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
439
449
  /** Submitted feedback of the given user. */
@@ -42,12 +42,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
42
42
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
43
43
  /** Get a list of currently active models. */
44
44
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
45
+ /** Get ai hosting plan and usages of a project by planId. */
46
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
45
47
  /** Get all ai hosting plans and usages of a project. */
46
48
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
47
49
  /** Links a container with a project licence. */
48
50
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
49
- /** Get ai hosting plan and usages of a project by planId. */
50
- projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
51
+ /** List the contract months of an ai hosting plan. */
52
+ planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
53
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
54
+ planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
51
55
  };
52
56
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
57
  app = {
@@ -57,6 +61,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
57
61
  getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
58
62
  /** Get an App. */
59
63
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
64
+ /** Get an analysis of the error of an AppInstallation. */
65
+ getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
60
66
  /** Get an AppInstallation. */
61
67
  getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
62
68
  /** Trigger an uninstallation process for an AppInstallation. */
@@ -172,6 +178,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
172
178
  deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
173
179
  /** Get a ContainerImageConfig. */
174
180
  getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
181
+ /** Get an analysis of the logs belonging to a Service. */
182
+ getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
175
183
  /** Get logs belonging to a Service. */
176
184
  getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
177
185
  /** Get a Service belonging to a Stack. */
@@ -505,6 +513,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
505
513
  removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
506
514
  /** Resend the mail for a CustomerInvite. */
507
515
  resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
516
+ /** Set how the customer became aware of mittwald. */
517
+ setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
508
518
  };
509
519
  /** The database API allows you to manage your databases, like MySQL and Redis databases. */
510
520
  database = {
@@ -816,6 +826,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
816
826
  getSession: this.requestFunctionFactory(descriptors.userGetSession),
817
827
  /** Terminate a specific Session. */
818
828
  terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
829
+ /** Submitted feedback of the given user. */
830
+ getSpotlightInfo: this.requestFunctionFactory(descriptors.userGetSpotlightInfo),
831
+ /** Submit your usage of the spotlight. */
832
+ spotlightUsage: this.requestFunctionFactory(descriptors.userSpotlightUsage),
819
833
  /** Get profile information for a user. */
820
834
  getUser: this.requestFunctionFactory(descriptors.userGetUser),
821
835
  /** Change personal information. */
@@ -846,6 +860,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
846
860
  removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
847
861
  /** Resend the Email-Address verification email. */
848
862
  resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
863
+ /** Submit your spotlight usage. */
864
+ spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
849
865
  /** Request a support code. */
850
866
  supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
851
867
  /** Verify an added Email-Address. */
@@ -106,6 +106,12 @@ export const aiHostingProjectGetDetailedModels = {
106
106
  method: "GET",
107
107
  operationId: "ai-hosting-project-get-detailed-models",
108
108
  };
109
+ /** Get ai hosting plan and usages of a project by planId. */
110
+ export const aiHostingProjectGetPlan = {
111
+ path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
112
+ method: "GET",
113
+ operationId: "ai-hosting-project-get-plan",
114
+ };
109
115
  /** Get all ai hosting plans and usages of a project. */
110
116
  export const aiHostingProjectGetPlans = {
111
117
  path: "/v3-next/projects/{projectId}/ai-hostings",
@@ -136,6 +142,12 @@ export const appGetApp = {
136
142
  method: "GET",
137
143
  operationId: "app-get-app",
138
144
  };
145
+ /** Get an analysis of the error of an AppInstallation. */
146
+ export const appGetAppinstallationErrorAnalysis = {
147
+ path: "/v3-next/app-installations/{appInstallationId}/error-analysis",
148
+ method: "GET",
149
+ operationId: "app-get-appinstallation-error-analysis",
150
+ };
139
151
  /** Get an AppInstallation. */
140
152
  export const appGetAppinstallation = {
141
153
  path: "/v3-next/app-installations/{appInstallationId}",
@@ -454,6 +466,12 @@ export const containerGetContainerImageConfig = {
454
466
  method: "GET",
455
467
  operationId: "container-get-container-image-config",
456
468
  };
469
+ /** Get an analysis of the logs belonging to a Service. */
470
+ export const containerGetServiceLogsAnalysis = {
471
+ path: "/v3-next/stacks/{stackId}/services/{serviceId}/log-analysis",
472
+ method: "GET",
473
+ operationId: "container-get-service-logs-analysis",
474
+ };
457
475
  /** Get logs belonging to a Service. */
458
476
  export const containerGetServiceLogs = {
459
477
  path: "/v3-next/stacks/{stackId}/services/{serviceId}/logs",
@@ -1042,6 +1060,12 @@ export const customerResendCustomerInviteMail = {
1042
1060
  method: "POST",
1043
1061
  operationId: "customer-resend-customer-invite-mail",
1044
1062
  };
1063
+ /** Set how the customer became aware of mittwald. */
1064
+ export const customerSetCustomerReferralSource = {
1065
+ path: "/v3-next/customers/{customerId}/referral-source",
1066
+ method: "PUT",
1067
+ operationId: "customer-set-customer-referral-source",
1068
+ };
1045
1069
  /** Copy a MySQLDatabase with a MySQLUser. */
1046
1070
  export const databaseCopyMysqlDatabase = {
1047
1071
  path: "/v3-next/mysql-databases/{mysqlDatabaseId}/actions/copy",
@@ -2770,6 +2794,18 @@ export const userTerminateSession = {
2770
2794
  method: "DELETE",
2771
2795
  operationId: "user-terminate-session",
2772
2796
  };
2797
+ /** Submitted feedback of the given user. */
2798
+ export const userGetSpotlightInfo = {
2799
+ path: "/v3-next/users/self/spotlights/{spotlightId}",
2800
+ method: "GET",
2801
+ operationId: "user-get-spotlight-info",
2802
+ };
2803
+ /** Submit your usage of the spotlight. */
2804
+ export const userSpotlightUsage = {
2805
+ path: "/v3-next/users/self/spotlights/{spotlightId}",
2806
+ method: "POST",
2807
+ operationId: "user-spotlight-usage",
2808
+ };
2773
2809
  /** Get profile information for a user. */
2774
2810
  export const userGetUser = {
2775
2811
  path: "/v3-next/users/{userId}",
@@ -2860,6 +2896,12 @@ export const userResendVerificationEmail = {
2860
2896
  method: "POST",
2861
2897
  operationId: "user-resend-verification-email",
2862
2898
  };
2899
+ /** Submit your spotlight usage. */
2900
+ export const userSpotlightFeedback = {
2901
+ path: "/v3-next/users/self/spotlights/{spotlightId}/feedback",
2902
+ method: "POST",
2903
+ operationId: "user-spotlight-feedback",
2904
+ };
2863
2905
  /** Request a support code. */
2864
2906
  export const userSupportCodeRequest = {
2865
2907
  path: "/v3-next/users/self/credentials/support-code",
@@ -2902,9 +2944,15 @@ export const verificationVerifyCompany = {
2902
2944
  method: "POST",
2903
2945
  operationId: "verification-verify-company",
2904
2946
  };
2905
- /** Get ai hosting plan and usages of a project by planId. */
2906
- export const aiHostingProjectGetPlan = {
2907
- path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
2947
+ /** List the contract months of an ai hosting plan. */
2948
+ export const aiHostingPlanGetBillingPeriods = {
2949
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/billing-periods",
2908
2950
  method: "GET",
2909
- operationId: "ai-hosting-project-get-plan",
2951
+ operationId: "ai-hosting-plan-get-billing-periods",
2952
+ };
2953
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
2954
+ export const aiHostingPlanGetUsageStats = {
2955
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/usage",
2956
+ method: "GET",
2957
+ operationId: "ai-hosting-plan-get-usage-stats",
2910
2958
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-bf8b0ba-20260902';
1
+ export const MittwaldAPIClientVersion = '4.457.0';
@@ -10,6 +10,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
10
10
  queryParameters?: {
11
11
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12
12
  planId?: string | undefined;
13
+ limit?: number | undefined;
14
+ skip?: number | undefined;
15
+ page?: number | undefined;
13
16
  } | undefined;
14
17
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
15
18
  /** Get all ai hosting plans of a customer. */
@@ -21,6 +24,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
21
24
  queryParameters?: {
22
25
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23
26
  topUsageCount?: number | undefined;
27
+ limit?: number | undefined;
28
+ skip?: number | undefined;
29
+ page?: number | undefined;
24
30
  } | undefined;
25
31
  }) => import("@mittwald/react-use-promise").AsyncResource<{
26
32
  modelTermsApprovalRequired: boolean;
@@ -97,6 +103,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
97
103
  queryParameters?: {
98
104
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
99
105
  planId?: string | undefined;
106
+ limit?: number | undefined;
107
+ skip?: number | undefined;
108
+ page?: number | undefined;
100
109
  } | undefined;
101
110
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
102
111
  /** Get a key of a project. */
@@ -127,30 +136,104 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
127
136
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
128
137
  } | undefined;
129
138
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
139
+ /** Get ai hosting plan and usages of a project by planId. */
140
+ projectGetPlan: (conf: {
141
+ projectId: string;
142
+ planId: string;
143
+ headers?: {
144
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
145
+ } | undefined;
146
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
147
+ description?: string | undefined;
148
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
149
+ modelTermsApprovalRequired: boolean;
150
+ nextTokenReset?: string | undefined;
151
+ planId: string;
152
+ projectId: string;
153
+ }>;
130
154
  /** Get all ai hosting plans and usages of a project. */
131
155
  projectGetPlans: (conf: {
132
156
  projectId: string;
133
157
  headers?: {
134
158
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
135
159
  } | undefined;
160
+ queryParameters?: {
161
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
162
+ limit?: number | undefined;
163
+ skip?: number | undefined;
164
+ page?: number | undefined;
165
+ } | undefined;
136
166
  }) => import("@mittwald/react-use-promise").AsyncResource<{
137
167
  modelTermsApprovalRequired: boolean;
138
168
  plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
139
169
  }>;
140
- /** Get ai hosting plan and usages of a project by planId. */
141
- projectGetPlan: (conf: {
142
- projectId: string;
170
+ /** List the contract months of an ai hosting plan. */
171
+ planGetBillingPeriods: (conf: {
172
+ customerId: string;
143
173
  planId: string;
144
174
  headers?: {
145
175
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
146
176
  } | undefined;
147
177
  }) => import("@mittwald/react-use-promise").AsyncResource<{
148
- description?: string | undefined;
149
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
150
- modelTermsApprovalRequired: boolean;
178
+ customerId: string;
151
179
  nextTokenReset?: string | undefined;
180
+ periods: {
181
+ end: string;
182
+ isCurrent: boolean;
183
+ shortenedByUpgrade: boolean;
184
+ start: string;
185
+ tokenLimit: number;
186
+ }[];
152
187
  planId: string;
153
- projectId: string;
188
+ }>;
189
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
190
+ planGetUsageStats: (conf: {
191
+ queryParameters: {
192
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
193
+ startDate: string;
194
+ endDate: string;
195
+ detailed?: boolean | undefined;
196
+ };
197
+ customerId: string;
198
+ planId: string;
199
+ headers?: {
200
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
201
+ } | undefined;
202
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
203
+ customerId: string;
204
+ daily: {
205
+ byKey: {
206
+ [k: string]: number;
207
+ };
208
+ date: string;
209
+ totalTokens: number;
210
+ }[];
211
+ detailed?: {
212
+ [k: string]: {
213
+ byKey?: {
214
+ [k: string]: {
215
+ byModel?: {
216
+ [k: string]: number;
217
+ };
218
+ tokens?: number;
219
+ };
220
+ };
221
+ };
222
+ } | undefined;
223
+ keys: {
224
+ id: string;
225
+ name: string;
226
+ }[];
227
+ modelShare: {
228
+ model: string;
229
+ tokens: number;
230
+ }[];
231
+ planId: string;
232
+ timeframe: {
233
+ end: string;
234
+ start: string;
235
+ };
236
+ totalTokens: number;
154
237
  }>;
155
238
  };
156
239
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
@@ -179,6 +262,18 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
179
262
  name: string;
180
263
  tags: string[];
181
264
  }>;
265
+ /** Get an analysis of the error of an AppInstallation. */
266
+ getAppinstallationErrorAnalysis: (conf: {
267
+ appInstallationId: string;
268
+ headers?: {
269
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
270
+ "Accept-Language"?: "de" | "en" | undefined;
271
+ "x-access-token"?: string | undefined;
272
+ } | undefined;
273
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
274
+ recommendation?: string | undefined;
275
+ summary: string;
276
+ }>;
182
277
  /** Get an AppInstallation. */
183
278
  getAppinstallation: (conf: {
184
279
  appInstallationId: string;
@@ -678,6 +773,19 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
678
773
  userId: number;
679
774
  volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
680
775
  }>;
776
+ /** Get an analysis of the logs belonging to a Service. */
777
+ getServiceLogsAnalysis: (conf: {
778
+ stackId: string;
779
+ serviceId: string;
780
+ headers?: {
781
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
782
+ "Accept-Language"?: "de" | "en" | undefined;
783
+ "x-access-token"?: string | undefined;
784
+ } | undefined;
785
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
786
+ recommendation?: string | undefined;
787
+ summary: string;
788
+ }>;
681
789
  /** Get logs belonging to a Service. */
682
790
  getServiceLogs: (conf: {
683
791
  stackId: string;
@@ -1913,6 +2021,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1913
2021
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1914
2022
  message: string;
1915
2023
  recommendation?: string | undefined;
2024
+ summary: string;
1916
2025
  }>;
1917
2026
  /** Get a CronjobExecution. */
1918
2027
  getExecution: (conf: {
@@ -2372,6 +2481,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2372
2481
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2373
2482
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
2374
2483
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
2484
+ authInfo2CreatedAt?: string | undefined;
2375
2485
  connected: boolean;
2376
2486
  contactHash?: string | undefined;
2377
2487
  deleted: boolean;
@@ -3382,6 +3492,19 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3382
3492
  location?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
3383
3493
  tokenId: string;
3384
3494
  }>;
3495
+ /** Submitted feedback of the given user. */
3496
+ getSpotlightInfo: (conf: {
3497
+ spotlightId: string;
3498
+ headers?: {
3499
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3500
+ "x-access-token"?: string | undefined;
3501
+ } | undefined;
3502
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3503
+ acknowledged: boolean;
3504
+ decision?: import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedbackSpotlightDecision | undefined;
3505
+ spotlightId: string;
3506
+ used: boolean;
3507
+ }>;
3385
3508
  /** Get profile information for a user. */
3386
3509
  getUser: (conf: {
3387
3510
  userId: string;