@mittwald/api-client 3.1.27 → 3.1.29

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.
@@ -398,8 +398,12 @@ declare const orderPreviewOrder: OpenAPIOperation<RequestType<Simplify<MittwaldA
398
398
  declare const orderPreviewTariffChange: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2TariffChangePreviews.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
399
399
  /** Get detailed performance data for a given domain and path. */
400
400
  declare const pageinsightsGetPerformanceData: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PageInsights.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
401
+ /** Get all data for a given strace. */
402
+ declare const pageinsightsGetStraceData: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStracesStraceId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
401
403
  /** List websites (specified as domain and path) from a project where performance data is available. */
402
404
  declare const pageinsightsListPerformanceDataForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdPageInsights.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
405
+ /** Schedule a strace measurement for a single http request. */
406
+ declare const pageinsightsScheduleStrace: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStraces.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
403
407
  /** Get a PasswordPolicy. */
404
408
  declare const passwordValidationGetPasswordPolicy: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2PasswordPoliciesPasswordPolicy.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PasswordPoliciesPasswordPolicy.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PasswordPoliciesPasswordPolicy.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PasswordPoliciesPasswordPolicy.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PasswordPoliciesPasswordPolicy.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
405
409
  /** Accept a ProjectInvite. */
@@ -554,6 +558,10 @@ declare const userGetPasswordUpdatedAt: OpenAPIOperation<RequestType<Simplify<Mi
554
558
  declare const userGetPersonalizedSettings: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
555
559
  /** Update personalized GUI settings. */
556
560
  declare const userUpdatePersonalizedSettings: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
561
+ /** Get poll settings for the specified user. */
562
+ declare const userGetPollStatus: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
563
+ /** Store new or update poll settings. */
564
+ declare const userPostPollStatus: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
557
565
  /** Get a specific session. */
558
566
  declare const userGetSession: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
559
567
  /** Terminate a specific Session. */
@@ -1385,10 +1393,18 @@ declare namespace MittwaldAPIV2 {
1385
1393
  type RequestData = RequestData<typeof pageinsightsGetPerformanceData>;
1386
1394
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof pageinsightsGetPerformanceData, TStatus>;
1387
1395
  }
1396
+ namespace PageinsightsGetStraceData {
1397
+ type RequestData = RequestData<typeof pageinsightsGetStraceData>;
1398
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof pageinsightsGetStraceData, TStatus>;
1399
+ }
1388
1400
  namespace PageinsightsListPerformanceDataForProject {
1389
1401
  type RequestData = RequestData<typeof pageinsightsListPerformanceDataForProject>;
1390
1402
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof pageinsightsListPerformanceDataForProject, TStatus>;
1391
1403
  }
1404
+ namespace PageinsightsScheduleStrace {
1405
+ type RequestData = RequestData<typeof pageinsightsScheduleStrace>;
1406
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof pageinsightsScheduleStrace, TStatus>;
1407
+ }
1392
1408
  namespace PasswordValidationGetPasswordPolicy {
1393
1409
  type RequestData = RequestData<typeof passwordValidationGetPasswordPolicy>;
1394
1410
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof passwordValidationGetPasswordPolicy, TStatus>;
@@ -1697,6 +1713,14 @@ declare namespace MittwaldAPIV2 {
1697
1713
  type RequestData = RequestData<typeof userUpdatePersonalizedSettings>;
1698
1714
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userUpdatePersonalizedSettings, TStatus>;
1699
1715
  }
1716
+ namespace UserGetPollStatus {
1717
+ type RequestData = RequestData<typeof userGetPollStatus>;
1718
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userGetPollStatus, TStatus>;
1719
+ }
1720
+ namespace UserPostPollStatus {
1721
+ type RequestData = RequestData<typeof userPostPollStatus>;
1722
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userPostPollStatus, TStatus>;
1723
+ }
1700
1724
  namespace UserGetSession {
1701
1725
  type RequestData = RequestData<typeof userGetSession>;
1702
1726
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userGetSession, TStatus>;
@@ -2319,6 +2343,74 @@ declare namespace MittwaldAPIV2 {
2319
2343
  department?: MittwaldAPIV2.Components.Schemas.ConversationDepartment;
2320
2344
  userId: string;
2321
2345
  }
2346
+ interface StraceData {
2347
+ actualUrl: string;
2348
+ dbQueries: {
2349
+ /**
2350
+ * The whole DB query.
2351
+ */
2352
+ query: string;
2353
+ stats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2354
+ /**
2355
+ * Alerts when the time, syscall count or occurrence count of this group are abnormal.
2356
+ */
2357
+ warnLevel: "NO" | "WARN" | "SEVERE";
2358
+ }[];
2359
+ dbStats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2360
+ fileOps: {
2361
+ filename?: string;
2362
+ filepath?: string;
2363
+ stats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2364
+ /**
2365
+ * Alerts when the time, syscall count or occurrence count of this group are abnormal.
2366
+ */
2367
+ warnLevel: "NO" | "WARN" | "SEVERE";
2368
+ }[];
2369
+ fileOpsStats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2370
+ miscStats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2371
+ networkingOps: {
2372
+ connectionType: "UNKNOWN" | "PRIVATE" | "INTERNAL" | "EXTERNAL";
2373
+ stats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2374
+ /**
2375
+ * Hostname and port to which a connection was established. Can be empty.
2376
+ */
2377
+ url: string;
2378
+ /**
2379
+ * Alerts when the time, syscall count or occurrence count of this group are abnormal.
2380
+ */
2381
+ warnLevel: "NO" | "WARN" | "SEVERE";
2382
+ }[];
2383
+ networkingStats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2384
+ /**
2385
+ * Shows how much slower the websites TTFB was when it got traced (1.0 = 100% = same TTFB).
2386
+ */
2387
+ slowdownFactor: number;
2388
+ /**
2389
+ * Time to first byte in milliseconds while tracing the website.
2390
+ */
2391
+ ttfbMs: number;
2392
+ }
2393
+ interface StraceError {
2394
+ errorMessage: string;
2395
+ }
2396
+ interface StraceStatistics {
2397
+ /**
2398
+ * Syscall count.
2399
+ */
2400
+ count: number;
2401
+ /**
2402
+ * Elapsed kernel space time in milliseconds.
2403
+ */
2404
+ kernelMs: number;
2405
+ /**
2406
+ * The number of times this group occurred.
2407
+ */
2408
+ occurrences: number;
2409
+ /**
2410
+ * Elapsed user space time in milliseconds.
2411
+ */
2412
+ userspaceMs: number;
2413
+ }
2322
2414
  interface CronjobCronjobCommand {
2323
2415
  interpreter: string;
2324
2416
  parameters?: string;
@@ -2559,7 +2651,7 @@ declare namespace MittwaldAPIV2 {
2559
2651
  settings: MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
2560
2652
  }
2561
2653
  interface DnsCombinedAManaged {
2562
- managedBy?: {
2654
+ managedBy: {
2563
2655
  ingressId: string;
2564
2656
  };
2565
2657
  }
@@ -3544,6 +3636,14 @@ declare namespace MittwaldAPIV2 {
3544
3636
  key: string;
3545
3637
  sshKeyId: string;
3546
3638
  }
3639
+ interface PollUserPollSettings {
3640
+ completedAt?: string;
3641
+ dontShowUntil?: string;
3642
+ ignoredAt?: string;
3643
+ shouldShow: boolean;
3644
+ status: "completed" | "muted" | "ignored" | "new";
3645
+ userId: string;
3646
+ }
3547
3647
  interface SignupUserSession {
3548
3648
  created: string;
3549
3649
  device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
@@ -9197,6 +9297,7 @@ declare namespace MittwaldAPIV2 {
9197
9297
  }
9198
9298
  }
9199
9299
  }
9300
+ namespace V2ProjectsProjectIdDomains { }
9200
9301
  namespace V2DomainTldsTldContactSchemas {
9201
9302
  namespace Get {
9202
9303
  namespace Parameters {
@@ -11886,6 +11987,50 @@ declare namespace MittwaldAPIV2 {
11886
11987
  }
11887
11988
  }
11888
11989
  }
11990
+ namespace V2ProjectsProjectIdStracesStraceId {
11991
+ namespace Get {
11992
+ namespace Parameters {
11993
+ type Path = {
11994
+ straceId: string;
11995
+ projectId: string;
11996
+ };
11997
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11998
+ type Query = {};
11999
+ }
12000
+ namespace Responses {
12001
+ namespace $200 {
12002
+ namespace Content {
12003
+ interface ApplicationJson {
12004
+ executedAt: string;
12005
+ id: string;
12006
+ result: MittwaldAPIV2.Components.Schemas.StraceError | MittwaldAPIV2.Components.Schemas.StraceData;
12007
+ }
12008
+ }
12009
+ }
12010
+ namespace $400 {
12011
+ namespace Content {
12012
+ interface ApplicationJson {
12013
+ [k: string]: unknown;
12014
+ }
12015
+ }
12016
+ }
12017
+ namespace $403 {
12018
+ namespace Content {
12019
+ interface ApplicationJson {
12020
+ [k: string]: unknown;
12021
+ }
12022
+ }
12023
+ }
12024
+ namespace Default {
12025
+ namespace Content {
12026
+ interface ApplicationJson {
12027
+ [k: string]: unknown;
12028
+ }
12029
+ }
12030
+ }
12031
+ }
12032
+ }
12033
+ }
11889
12034
  namespace V2ProjectsProjectIdPageinsights { }
11890
12035
  namespace V2ProjectsProjectIdPageInsights {
11891
12036
  namespace Get {
@@ -11936,6 +12081,53 @@ declare namespace MittwaldAPIV2 {
11936
12081
  }
11937
12082
  }
11938
12083
  }
12084
+ namespace V2ProjectsProjectIdStraces {
12085
+ namespace Post {
12086
+ namespace Parameters {
12087
+ type Path = {
12088
+ projectId: string;
12089
+ };
12090
+ interface RequestBody {
12091
+ /**
12092
+ * A call to this URL is measured via strace.
12093
+ */
12094
+ url: string;
12095
+ }
12096
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12097
+ type Query = {};
12098
+ }
12099
+ namespace Responses {
12100
+ namespace $202 {
12101
+ namespace Content {
12102
+ interface ApplicationJson {
12103
+ id: string;
12104
+ }
12105
+ }
12106
+ }
12107
+ namespace $400 {
12108
+ namespace Content {
12109
+ interface ApplicationJson {
12110
+ [k: string]: unknown;
12111
+ }
12112
+ }
12113
+ }
12114
+ namespace $403 {
12115
+ namespace Content {
12116
+ interface ApplicationJson {
12117
+ [k: string]: unknown;
12118
+ }
12119
+ }
12120
+ }
12121
+ namespace Default {
12122
+ namespace Content {
12123
+ interface ApplicationJson {
12124
+ [k: string]: unknown;
12125
+ }
12126
+ }
12127
+ }
12128
+ }
12129
+ }
12130
+ }
11939
12131
  namespace V2PasswordPoliciesPasswordPolicy {
11940
12132
  namespace Get {
11941
12133
  namespace Parameters {
@@ -14894,6 +15086,90 @@ declare namespace MittwaldAPIV2 {
14894
15086
  }
14895
15087
  }
14896
15088
  }
15089
+ namespace V2PollSettingsId {
15090
+ namespace Get {
15091
+ namespace Parameters {
15092
+ type Path = {
15093
+ id: string;
15094
+ };
15095
+ type Header = {};
15096
+ type Query = {};
15097
+ }
15098
+ namespace Responses {
15099
+ namespace $200 {
15100
+ namespace Content {
15101
+ type ApplicationJson = {
15102
+ id: string;
15103
+ } & MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
15104
+ }
15105
+ }
15106
+ namespace $400 {
15107
+ namespace Content {
15108
+ interface ApplicationJson {
15109
+ [k: string]: unknown;
15110
+ }
15111
+ }
15112
+ }
15113
+ namespace $404 {
15114
+ namespace Content {
15115
+ interface ApplicationJson {
15116
+ [k: string]: unknown;
15117
+ }
15118
+ }
15119
+ }
15120
+ namespace Default {
15121
+ namespace Content {
15122
+ interface ApplicationJson {
15123
+ [k: string]: unknown;
15124
+ }
15125
+ }
15126
+ }
15127
+ }
15128
+ }
15129
+ namespace Post {
15130
+ namespace Parameters {
15131
+ type Path = {
15132
+ id: string;
15133
+ };
15134
+ interface RequestBody {
15135
+ status: "completed" | "muted" | "ignored";
15136
+ userId: string;
15137
+ }
15138
+ type Header = {};
15139
+ type Query = {};
15140
+ }
15141
+ namespace Responses {
15142
+ namespace $200 {
15143
+ namespace Content {
15144
+ type ApplicationJson = {
15145
+ id: string;
15146
+ } & MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
15147
+ }
15148
+ }
15149
+ namespace $400 {
15150
+ namespace Content {
15151
+ interface ApplicationJson {
15152
+ [k: string]: unknown;
15153
+ }
15154
+ }
15155
+ }
15156
+ namespace $403 {
15157
+ namespace Content {
15158
+ interface ApplicationJson {
15159
+ [k: string]: unknown;
15160
+ }
15161
+ }
15162
+ }
15163
+ namespace Default {
15164
+ namespace Content {
15165
+ interface ApplicationJson {
15166
+ [k: string]: unknown;
15167
+ }
15168
+ }
15169
+ }
15170
+ }
15171
+ }
15172
+ }
14897
15173
  namespace V2UsersSelfSessionsTokenId {
14898
15174
  namespace Get {
14899
15175
  namespace Parameters {
@@ -15572,7 +15848,6 @@ declare namespace MittwaldAPIV2 {
15572
15848
  }
15573
15849
  }
15574
15850
  }
15575
- namespace V2ProjectsProjectIdDomains { }
15576
15851
  }
15577
15852
  }
15578
15853
 
@@ -22552,6 +22827,38 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22552
22827
  }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22553
22828
  [x: string]: unknown;
22554
22829
  }, 403, "application/json">>>;
22830
+ /** Get all data for a given strace. */
22831
+ pageinsightsGetStraceData: (request: {
22832
+ straceId: string;
22833
+ projectId: string;
22834
+ headers?: {
22835
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
22836
+ "x-access-token"?: string | undefined;
22837
+ } | undefined;
22838
+ }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
22839
+ headers?: Partial<{
22840
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22841
+ }> | undefined;
22842
+ } & {
22843
+ pathParameters: {
22844
+ straceId: string;
22845
+ projectId: string;
22846
+ };
22847
+ } & {
22848
+ headers: {
22849
+ "x-access-token"?: string | undefined;
22850
+ } & Partial<{
22851
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22852
+ }>; /** Get a specific `AppVersion`. */
22853
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22854
+ executedAt: string;
22855
+ id: string;
22856
+ result: MittwaldAPIV2.Components.Schemas.StraceData | MittwaldAPIV2.Components.Schemas.StraceError;
22857
+ }, 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22858
+ [x: string]: unknown;
22859
+ }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22860
+ [x: string]: unknown;
22861
+ }, 403, "application/json">>>;
22555
22862
  /** List websites (specified as domain and path) from a project where performance data is available. */
22556
22863
  pageinsightsListPerformanceDataForProject: (request: {
22557
22864
  projectId: string;
@@ -22596,6 +22903,41 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22596
22903
  }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22597
22904
  [x: string]: unknown;
22598
22905
  }, 403, "application/json">>>;
22906
+ /** Schedule a strace measurement for a single http request. */
22907
+ pageinsightsScheduleStrace: (request: {
22908
+ data: {
22909
+ url: string;
22910
+ };
22911
+ projectId: string;
22912
+ headers?: {
22913
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
22914
+ "x-access-token"?: string | undefined;
22915
+ } | undefined;
22916
+ }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
22917
+ data: {
22918
+ url: string;
22919
+ };
22920
+ } & {
22921
+ pathParameters: {
22922
+ projectId: string;
22923
+ };
22924
+ } & {
22925
+ headers?: Partial<{
22926
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22927
+ }> | undefined;
22928
+ } & {
22929
+ headers: {
22930
+ "x-access-token"?: string | undefined;
22931
+ } & Partial<{
22932
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22933
+ }>; /** Get a specific `AppVersion`. */
22934
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22935
+ id: string;
22936
+ }, 202, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22937
+ [x: string]: unknown;
22938
+ }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
22939
+ [x: string]: unknown;
22940
+ }, 403, "application/json">>>;
22599
22941
  };
22600
22942
  /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
22601
22943
  readonly user: {
@@ -23442,6 +23784,69 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23442
23784
  }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{}, 204, "empty"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23443
23785
  [x: string]: unknown;
23444
23786
  }, 400, "application/json">>>;
23787
+ /** Get poll settings for the specified user. */
23788
+ getPollStatus: (request: {
23789
+ id: string;
23790
+ headers?: {
23791
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23792
+ } | undefined;
23793
+ }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
23794
+ headers?: Partial<{
23795
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23796
+ }> | undefined;
23797
+ } & {
23798
+ pathParameters: {
23799
+ id: string;
23800
+ };
23801
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23802
+ id: string;
23803
+ completedAt?: string | undefined;
23804
+ dontShowUntil?: string | undefined;
23805
+ ignoredAt?: string | undefined;
23806
+ shouldShow: boolean;
23807
+ status: "completed" | "muted" | "ignored" | "new";
23808
+ userId: string;
23809
+ }, 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23810
+ [x: string]: unknown;
23811
+ }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23812
+ [x: string]: unknown;
23813
+ }, 404, "application/json">>>;
23814
+ /** Store new or update poll settings. */
23815
+ postPollStatus: (request: {
23816
+ data: {
23817
+ status: "completed" | "muted" | "ignored";
23818
+ userId: string;
23819
+ };
23820
+ id: string;
23821
+ headers?: {
23822
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23823
+ } | undefined;
23824
+ }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
23825
+ data: {
23826
+ status: "completed" | "muted" | "ignored";
23827
+ userId: string;
23828
+ };
23829
+ } & {
23830
+ pathParameters: {
23831
+ id: string;
23832
+ };
23833
+ } & {
23834
+ headers?: Partial<{
23835
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23836
+ }> | undefined;
23837
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23838
+ id: string;
23839
+ completedAt?: string | undefined;
23840
+ dontShowUntil?: string | undefined;
23841
+ ignoredAt?: string | undefined;
23842
+ shouldShow: boolean;
23843
+ status: "completed" | "muted" | "ignored" | "new";
23844
+ userId: string;
23845
+ }, 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23846
+ [x: string]: unknown;
23847
+ }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23848
+ [x: string]: unknown;
23849
+ }, 403, "application/json">>>;
23445
23850
  /** Get a specific session. */
23446
23851
  getSession: (request: {
23447
23852
  tokenId: string;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.27';
1
+ export declare const MittwaldAPIClientVersion = '3.1.29';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.27';
1
+ export const MittwaldAPIClientVersion = '3.1.29';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.27",
3
+ "version": "3.1.29",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",