@mittwald/api-client 3.1.8 → 3.1.9

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.
@@ -328,12 +328,6 @@ export const conversationUpdateConversation = {
328
328
  method: "PUT",
329
329
  operationId: "conversation-update-conversation",
330
330
  };
331
- /** Request an access token for the File belonging to the Conversation. */
332
- export const conversationGetFileAccessToken = {
333
- path: "/v2/conversations/{conversationId}/files/{fileId}/access-token",
334
- method: "GET",
335
- operationId: "conversation-get-file-access-token",
336
- };
337
331
  /** Get all conversation categories. */
338
332
  export const conversationListCategories = {
339
333
  path: "/v2/conversation-categories",
@@ -820,12 +814,6 @@ export const domainGetDomainOwnership = {
820
814
  method: "GET",
821
815
  operationId: "domain-get-domain-ownership",
822
816
  };
823
- /** Get File Service Reference for a Screenshot of a domain. */
824
- export const domainGetScreenshotForDomain = {
825
- path: "/v2/domains/{domainId}/screenshots/newest",
826
- method: "GET",
827
- operationId: "domain-get-screenshot-for-domain",
828
- };
829
817
  /** List the DomainOwnerships of a project. */
830
818
  export const domainListDomainOwnerships = {
831
819
  path: "/v2/projects/{projectId}/domain-ownerships",
@@ -1170,13 +1158,13 @@ export const orderPreviewTariffChange = {
1170
1158
  };
1171
1159
  /** Get detailed performance data for a given domain and path. */
1172
1160
  export const pageinsightsGetPerformanceData = {
1173
- path: "/v2/pageinsights",
1161
+ path: "/v2/page-insights",
1174
1162
  method: "GET",
1175
1163
  operationId: "pageinsights-get-performance-data",
1176
1164
  };
1177
1165
  /** List websites (specified as domain and path) from a project where performance data is available. */
1178
1166
  export const pageinsightsListPerformanceDataForProject = {
1179
- path: "/v2/projects/{id}/pageinsights",
1167
+ path: "/v2/projects/{projectId}/page-insights",
1180
1168
  method: "GET",
1181
1169
  operationId: "pageinsights-list-performance-data-for-project",
1182
1170
  };
@@ -1750,3 +1738,15 @@ export const userVerifyRegistration = {
1750
1738
  method: "POST",
1751
1739
  operationId: "user-verify-registration",
1752
1740
  };
1741
+ /** Request an access token for the File belonging to the Conversation. */
1742
+ export const conversationGetFileAccessToken = {
1743
+ path: "/v2/conversations/{conversationId}/files/{fileId}/access-token",
1744
+ method: "GET",
1745
+ operationId: "conversation-get-file-access-token",
1746
+ };
1747
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
1748
+ export const domainGetLatestScreenshot = {
1749
+ path: "/v2/domains/{domainId}/latest-screenshot",
1750
+ method: "GET",
1751
+ operationId: "domain-get-latest-screenshot",
1752
+ };
@@ -222,10 +222,6 @@ export declare module MittwaldAPIV2 {
222
222
  type RequestData = InferredRequestData<typeof descriptors.conversationUpdateConversation>;
223
223
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationUpdateConversation, TStatus>;
224
224
  }
225
- namespace ConversationGetFileAccessToken {
226
- type RequestData = InferredRequestData<typeof descriptors.conversationGetFileAccessToken>;
227
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetFileAccessToken, TStatus>;
228
- }
229
225
  namespace ConversationListCategories {
230
226
  type RequestData = InferredRequestData<typeof descriptors.conversationListCategories>;
231
227
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationListCategories, TStatus>;
@@ -550,10 +546,6 @@ export declare module MittwaldAPIV2 {
550
546
  type RequestData = InferredRequestData<typeof descriptors.domainGetDomainOwnership>;
551
547
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetDomainOwnership, TStatus>;
552
548
  }
553
- namespace DomainGetScreenshotForDomain {
554
- type RequestData = InferredRequestData<typeof descriptors.domainGetScreenshotForDomain>;
555
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetScreenshotForDomain, TStatus>;
556
- }
557
549
  namespace DomainListDomainOwnerships {
558
550
  type RequestData = InferredRequestData<typeof descriptors.domainListDomainOwnerships>;
559
551
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomainOwnerships, TStatus>;
@@ -1170,6 +1162,14 @@ export declare module MittwaldAPIV2 {
1170
1162
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1171
1163
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1172
1164
  }
1165
+ namespace ConversationGetFileAccessToken {
1166
+ type RequestData = InferredRequestData<typeof descriptors.conversationGetFileAccessToken>;
1167
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetFileAccessToken, TStatus>;
1168
+ }
1169
+ namespace DomainGetLatestScreenshot {
1170
+ type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
1171
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
1172
+ }
1173
1173
  }
1174
1174
  namespace Components {
1175
1175
  namespace Schemas {
@@ -5181,51 +5181,6 @@ export declare module MittwaldAPIV2 {
5181
5181
  }
5182
5182
  }
5183
5183
  }
5184
- namespace V2ConversationsConversationIdFilesFileIdAccessToken {
5185
- namespace Get {
5186
- namespace Parameters {
5187
- type Path = {
5188
- conversationId: string;
5189
- fileId: string;
5190
- };
5191
- interface RequestBody {
5192
- }
5193
- type Header = {};
5194
- type Query = {};
5195
- }
5196
- namespace Responses {
5197
- namespace $200 {
5198
- namespace Content {
5199
- interface ApplicationJson {
5200
- accessToken: string;
5201
- expiresAt: string;
5202
- }
5203
- }
5204
- }
5205
- namespace $400 {
5206
- namespace Content {
5207
- interface ApplicationJson {
5208
- [k: string]: unknown;
5209
- }
5210
- }
5211
- }
5212
- namespace $404 {
5213
- namespace Content {
5214
- interface ApplicationJson {
5215
- [k: string]: unknown;
5216
- }
5217
- }
5218
- }
5219
- namespace Default {
5220
- namespace Content {
5221
- interface ApplicationJson {
5222
- [k: string]: unknown;
5223
- }
5224
- }
5225
- }
5226
- }
5227
- }
5228
- }
5229
5184
  namespace V2ConversationCategories {
5230
5185
  namespace Get {
5231
5186
  namespace Parameters {
@@ -8405,44 +8360,6 @@ export declare module MittwaldAPIV2 {
8405
8360
  }
8406
8361
  }
8407
8362
  namespace V2DomainsHandleSchemaDomainName { }
8408
- namespace V2DomainsDomainIdScreenshotsNewest {
8409
- namespace Get {
8410
- namespace Parameters {
8411
- type Path = {
8412
- domainId: string;
8413
- };
8414
- interface RequestBody {
8415
- domainName: string;
8416
- path: string;
8417
- }
8418
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8419
- type Query = {};
8420
- }
8421
- namespace Responses {
8422
- namespace $200 {
8423
- namespace Content {
8424
- interface ApplicationJson {
8425
- references?: string[];
8426
- }
8427
- }
8428
- }
8429
- namespace $404 {
8430
- namespace Content {
8431
- interface ApplicationJson {
8432
- [k: string]: unknown;
8433
- }
8434
- }
8435
- }
8436
- namespace Default {
8437
- namespace Content {
8438
- interface ApplicationJson {
8439
- [k: string]: unknown;
8440
- }
8441
- }
8442
- }
8443
- }
8444
- }
8445
- }
8446
8363
  namespace V2ProjectsProjectIdDomainOwnerships {
8447
8364
  namespace Get {
8448
8365
  namespace Parameters {
@@ -11010,7 +10927,8 @@ export declare module MittwaldAPIV2 {
11010
10927
  }
11011
10928
  }
11012
10929
  }
11013
- namespace V2Pageinsights {
10930
+ namespace V2Pageinsights { }
10931
+ namespace V2PageInsights {
11014
10932
  namespace Get {
11015
10933
  namespace Parameters {
11016
10934
  type Path = {};
@@ -11067,11 +10985,12 @@ export declare module MittwaldAPIV2 {
11067
10985
  }
11068
10986
  }
11069
10987
  }
11070
- namespace V2ProjectsIdPageinsights {
10988
+ namespace V2ProjectsProjectIdPageinsights { }
10989
+ namespace V2ProjectsProjectIdPageInsights {
11071
10990
  namespace Get {
11072
10991
  namespace Parameters {
11073
10992
  type Path = {
11074
- id: string;
10993
+ projectId: string;
11075
10994
  };
11076
10995
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11077
10996
  type Query = {
@@ -14753,5 +14672,89 @@ export declare module MittwaldAPIV2 {
14753
14672
  }
14754
14673
  }
14755
14674
  }
14675
+ namespace V2ConversationsConversationIdFilesFileIdAccessToken {
14676
+ namespace Get {
14677
+ namespace Parameters {
14678
+ type Path = {
14679
+ conversationId: string;
14680
+ fileId: string;
14681
+ };
14682
+ interface RequestBody {
14683
+ }
14684
+ type Header = {};
14685
+ type Query = {};
14686
+ }
14687
+ namespace Responses {
14688
+ namespace $200 {
14689
+ namespace Content {
14690
+ interface ApplicationJson {
14691
+ accessToken: string;
14692
+ expiresAt: string;
14693
+ }
14694
+ }
14695
+ }
14696
+ namespace $400 {
14697
+ namespace Content {
14698
+ interface ApplicationJson {
14699
+ [k: string]: unknown;
14700
+ }
14701
+ }
14702
+ }
14703
+ namespace $404 {
14704
+ namespace Content {
14705
+ interface ApplicationJson {
14706
+ [k: string]: unknown;
14707
+ }
14708
+ }
14709
+ }
14710
+ namespace Default {
14711
+ namespace Content {
14712
+ interface ApplicationJson {
14713
+ [k: string]: unknown;
14714
+ }
14715
+ }
14716
+ }
14717
+ }
14718
+ }
14719
+ }
14720
+ namespace V2DomainsDomainIdScreenshotsNewest { }
14721
+ namespace V2DomainsDomainIdLatestScreenshot {
14722
+ namespace Get {
14723
+ namespace Parameters {
14724
+ type Path = {
14725
+ domainId: string;
14726
+ };
14727
+ interface RequestBody {
14728
+ domainName: string;
14729
+ path: string;
14730
+ }
14731
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14732
+ type Query = {};
14733
+ }
14734
+ namespace Responses {
14735
+ namespace $200 {
14736
+ namespace Content {
14737
+ interface ApplicationJson {
14738
+ reference?: string;
14739
+ }
14740
+ }
14741
+ }
14742
+ namespace $404 {
14743
+ namespace Content {
14744
+ interface ApplicationJson {
14745
+ [k: string]: unknown;
14746
+ }
14747
+ }
14748
+ }
14749
+ namespace Default {
14750
+ namespace Content {
14751
+ interface ApplicationJson {
14752
+ [k: string]: unknown;
14753
+ }
14754
+ }
14755
+ }
14756
+ }
14757
+ }
14758
+ }
14756
14759
  }
14757
14760
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.8';
1
+ export declare const MittwaldAPIClientVersion = '3.1.9';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.8';
1
+ export const MittwaldAPIClientVersion = '3.1.9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",