@mittwald/api-client 3.1.9 → 3.1.10

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.
@@ -1,6 +1,6 @@
1
1
  /** Execute a runtime concerning action on a specific `AppInstallation`. */
2
2
  export const appExecuteAction = {
3
- path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
3
+ path: "/v2/app-installations/{appInstallationId}/actions/{action}",
4
4
  method: "POST",
5
5
  operationId: "app-execute-action",
6
6
  };
@@ -12,19 +12,19 @@ export const appGetApp = {
12
12
  };
13
13
  /** Get a specific `AppInstallation`. */
14
14
  export const appGetAppinstallation = {
15
- path: "/v2/appinstallations/{appInstallationId}",
15
+ path: "/v2/app-installations/{appInstallationId}",
16
16
  method: "GET",
17
17
  operationId: "app-get-appinstallation",
18
18
  };
19
19
  /** Start uninstallation process for a specific `AppInstallation`. */
20
20
  export const appUninstallAppinstallation = {
21
- path: "/v2/appinstallations/{appInstallationId}",
21
+ path: "/v2/app-installations/{appInstallationId}",
22
22
  method: "DELETE",
23
23
  operationId: "app-uninstall-appinstallation",
24
24
  };
25
25
  /** Patch desired properties of a specific `AppInstallation`. */
26
26
  export const appPatchAppinstallation = {
27
- path: "/v2/appinstallations/{appInstallationId}",
27
+ path: "/v2/app-installations/{appInstallationId}",
28
28
  method: "PATCH",
29
29
  operationId: "app-patch-appinstallation",
30
30
  };
@@ -36,37 +36,37 @@ export const appGetAppversion = {
36
36
  };
37
37
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
38
38
  export const appGetMissingDependenciesForAppinstallation = {
39
- path: "/v2/appinstallations/{appInstallationId}/missing-dependencies",
39
+ path: "/v2/app-installations/{appInstallationId}/missing-dependencies",
40
40
  method: "GET",
41
41
  operationId: "app-get-missing-dependencies-for-appinstallation",
42
42
  };
43
43
  /** Get a specific `SystemSoftware`. */
44
44
  export const appGetSystemsoftware = {
45
- path: "/v2/systemsoftwares/{systemSoftwareId}",
45
+ path: "/v2/system-softwares/{systemSoftwareId}",
46
46
  method: "GET",
47
47
  operationId: "app-get-systemsoftware",
48
48
  };
49
49
  /** Get a specific `SystemSoftwareVersion`. */
50
50
  export const appGetSystemsoftwareversion = {
51
- path: "/v2/systemsoftware/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
51
+ path: "/v2/system-software/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
52
52
  method: "GET",
53
53
  operationId: "app-get-systemsoftwareversion",
54
54
  };
55
55
  /** Create linkage between an `AppInstallation` and a MySql-`Database`. */
56
56
  export const appLinkDatabase = {
57
- path: "/v2/appinstallations/{appInstallationId}/databases",
58
- method: "PUT",
57
+ path: "/v2/app-installations/{appInstallationId}/database",
58
+ method: "PATCH",
59
59
  operationId: "app-link-database",
60
60
  };
61
61
  /** Get all `AppInstallations` inside a specific `Project`. */
62
62
  export const appListAppinstallations = {
63
- path: "/v2/projects/{projectId}/appinstallations",
63
+ path: "/v2/projects/{projectId}/app-installations",
64
64
  method: "GET",
65
65
  operationId: "app-list-appinstallations",
66
66
  };
67
67
  /** Request a new `AppInstallation`. */
68
68
  export const appRequestAppinstallation = {
69
- path: "/v2/projects/{projectId}/appinstallations",
69
+ path: "/v2/projects/{projectId}/app-installations",
70
70
  method: "POST",
71
71
  operationId: "app-request-appinstallation",
72
72
  };
@@ -84,13 +84,13 @@ export const appListAppversions = {
84
84
  };
85
85
  /** Get all available `SystemSoftware`. */
86
86
  export const appListSystemsoftwares = {
87
- path: "/v2/systemsoftwares",
87
+ path: "/v2/system-softwares",
88
88
  method: "GET",
89
89
  operationId: "app-list-systemsoftwares",
90
90
  };
91
91
  /** Get all available `SystemSoftwareVersions` of a specific `SystemSoftware`. */
92
92
  export const appListSystemsoftwareversions = {
93
- path: "/v2/systemsoftware/{systemSoftwareId}/versions",
93
+ path: "/v2/system-software/{systemSoftwareId}/versions",
94
94
  method: "GET",
95
95
  operationId: "app-list-systemsoftwareversions",
96
96
  };
@@ -102,25 +102,25 @@ export const appListUpdateCandidatesForAppversion = {
102
102
  };
103
103
  /** Request a copy of an `AppInstallation`. */
104
104
  export const appRequestAppinstallationCopy = {
105
- path: "/v2/appinstallations/{id}/actions/copy",
105
+ path: "/v2/app-installations/{id}/actions/copy",
106
106
  method: "POST",
107
107
  operationId: "app-request-appinstallation-copy",
108
108
  };
109
109
  /** Get runtime status of a specific `AppInstallation`. */
110
110
  export const appRetrieveStatus = {
111
- path: "/v2/appinstallations/{appInstallationId}/status",
111
+ path: "/v2/app-installations/{appInstallationId}/status",
112
112
  method: "GET",
113
113
  operationId: "app-retrieve-status",
114
114
  };
115
115
  /** Create linkage between an `AppInstallation` and `DatabaseUsers`. */
116
116
  export const appSetDatabaseUsers = {
117
- path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
117
+ path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
118
118
  method: "PUT",
119
119
  operationId: "app-set-database-users",
120
120
  };
121
121
  /** Remove linkage between an `AppInstallation` and a `Database`. */
122
122
  export const appUnlinkDatabase = {
123
- path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
123
+ path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
124
124
  method: "DELETE",
125
125
  operationId: "app-unlink-database",
126
126
  };
@@ -328,6 +328,12 @@ 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
+ };
331
337
  /** Get all conversation categories. */
332
338
  export const conversationListCategories = {
333
339
  path: "/v2/conversation-categories",
@@ -1738,12 +1744,6 @@ export const userVerifyRegistration = {
1738
1744
  method: "POST",
1739
1745
  operationId: "user-verify-registration",
1740
1746
  };
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
1747
  /** Get the latest screenshot's FileReference belonging to a Domain. */
1748
1748
  export const domainGetLatestScreenshot = {
1749
1749
  path: "/v2/domains/{domainId}/latest-screenshot",
@@ -222,6 +222,10 @@ 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
+ }
225
229
  namespace ConversationListCategories {
226
230
  type RequestData = InferredRequestData<typeof descriptors.conversationListCategories>;
227
231
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationListCategories, TStatus>;
@@ -1162,10 +1166,6 @@ export declare module MittwaldAPIV2 {
1162
1166
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1163
1167
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1164
1168
  }
1165
- namespace ConversationGetFileAccessToken {
1166
- type RequestData = InferredRequestData<typeof descriptors.conversationGetFileAccessToken>;
1167
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetFileAccessToken, TStatus>;
1168
- }
1169
1169
  namespace DomainGetLatestScreenshot {
1170
1170
  type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
1171
1171
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
@@ -3079,7 +3079,8 @@ export declare module MittwaldAPIV2 {
3079
3079
  }
3080
3080
  }
3081
3081
  namespace Paths {
3082
- namespace V2AppinstallationsAppInstallationIdActionsAction {
3082
+ namespace V2AppinstallationsAppInstallationIdActionsAction { }
3083
+ namespace V2AppInstallationsAppInstallationIdActionsAction {
3083
3084
  namespace Post {
3084
3085
  namespace Parameters {
3085
3086
  type Path = {
@@ -3146,7 +3147,8 @@ export declare module MittwaldAPIV2 {
3146
3147
  }
3147
3148
  }
3148
3149
  }
3149
- namespace V2AppinstallationsAppInstallationId {
3150
+ namespace V2AppinstallationsAppInstallationId { }
3151
+ namespace V2AppInstallationsAppInstallationId {
3150
3152
  namespace Get {
3151
3153
  namespace Parameters {
3152
3154
  type Path = {
@@ -3284,7 +3286,8 @@ export declare module MittwaldAPIV2 {
3284
3286
  }
3285
3287
  }
3286
3288
  }
3287
- namespace V2AppinstallationsAppInstallationIdMissingDependencies {
3289
+ namespace V2AppinstallationsAppInstallationIdMissingDependencies { }
3290
+ namespace V2AppInstallationsAppInstallationIdMissingDependencies {
3288
3291
  namespace Get {
3289
3292
  namespace Parameters {
3290
3293
  type Path = {
@@ -3321,7 +3324,8 @@ export declare module MittwaldAPIV2 {
3321
3324
  }
3322
3325
  }
3323
3326
  }
3324
- namespace V2SystemsoftwaresSystemSoftwareId {
3327
+ namespace V2SystemsoftwaresSystemSoftwareId { }
3328
+ namespace V2SystemSoftwaresSystemSoftwareId {
3325
3329
  namespace Get {
3326
3330
  namespace Parameters {
3327
3331
  type Path = {
@@ -3353,7 +3357,8 @@ export declare module MittwaldAPIV2 {
3353
3357
  }
3354
3358
  }
3355
3359
  }
3356
- namespace V2SystemsoftwareSystemSoftwareIdVersionsSystemSoftwareVersionId {
3360
+ namespace V2SystemsoftwareSystemSoftwareIdVersionsSystemSoftwareVersionId { }
3361
+ namespace V2SystemSoftwareSystemSoftwareIdVersionsSystemSoftwareVersionId {
3357
3362
  namespace Get {
3358
3363
  namespace Parameters {
3359
3364
  type Path = {
@@ -3386,8 +3391,8 @@ export declare module MittwaldAPIV2 {
3386
3391
  }
3387
3392
  }
3388
3393
  }
3389
- namespace V2AppinstallationsAppInstallationIdDatabases {
3390
- namespace Put {
3394
+ namespace V2AppInstallationsAppInstallationIdDatabase {
3395
+ namespace Patch {
3391
3396
  namespace Parameters {
3392
3397
  type Path = {
3393
3398
  appInstallationId: string;
@@ -3425,7 +3430,8 @@ export declare module MittwaldAPIV2 {
3425
3430
  }
3426
3431
  }
3427
3432
  }
3428
- namespace V2ProjectsProjectIdAppinstallations {
3433
+ namespace V2ProjectsProjectIdAppinstallations { }
3434
+ namespace V2ProjectsProjectIdAppInstallations {
3429
3435
  namespace Get {
3430
3436
  namespace Parameters {
3431
3437
  type Path = {
@@ -3545,7 +3551,8 @@ export declare module MittwaldAPIV2 {
3545
3551
  }
3546
3552
  }
3547
3553
  }
3548
- namespace V2Systemsoftwares {
3554
+ namespace V2Systemsoftwares { }
3555
+ namespace V2SystemSoftwares {
3549
3556
  namespace Get {
3550
3557
  namespace Parameters {
3551
3558
  type Path = {};
@@ -3572,7 +3579,8 @@ export declare module MittwaldAPIV2 {
3572
3579
  }
3573
3580
  }
3574
3581
  }
3575
- namespace V2SystemsoftwareSystemSoftwareIdVersions {
3582
+ namespace V2SystemsoftwareSystemSoftwareIdVersions { }
3583
+ namespace V2SystemSoftwareSystemSoftwareIdVersions {
3576
3584
  namespace Get {
3577
3585
  namespace Parameters {
3578
3586
  type Path = {
@@ -3625,7 +3633,8 @@ export declare module MittwaldAPIV2 {
3625
3633
  }
3626
3634
  }
3627
3635
  }
3628
- namespace V2AppinstallationsIdActionsCopy {
3636
+ namespace V2AppinstallationsIdActionsCopy { }
3637
+ namespace V2AppInstallationsIdActionsCopy {
3629
3638
  namespace Post {
3630
3639
  namespace Parameters {
3631
3640
  type Path = {
@@ -3663,7 +3672,8 @@ export declare module MittwaldAPIV2 {
3663
3672
  }
3664
3673
  }
3665
3674
  }
3666
- namespace V2AppinstallationsAppInstallationIdStatus {
3675
+ namespace V2AppinstallationsAppInstallationIdStatus { }
3676
+ namespace V2AppInstallationsAppInstallationIdStatus {
3667
3677
  namespace Get {
3668
3678
  namespace Parameters {
3669
3679
  type Path = {
@@ -3695,7 +3705,8 @@ export declare module MittwaldAPIV2 {
3695
3705
  }
3696
3706
  }
3697
3707
  }
3698
- namespace V2AppinstallationsAppInstallationIdDatabasesDatabaseId {
3708
+ namespace V2AppinstallationsAppInstallationIdDatabasesDatabaseId { }
3709
+ namespace V2AppInstallationsAppInstallationIdDatabasesDatabaseId {
3699
3710
  namespace Put {
3700
3711
  namespace Parameters {
3701
3712
  type Path = {
@@ -5181,6 +5192,51 @@ export declare module MittwaldAPIV2 {
5181
5192
  }
5182
5193
  }
5183
5194
  }
5195
+ namespace V2ConversationsConversationIdFilesFileIdAccessToken {
5196
+ namespace Get {
5197
+ namespace Parameters {
5198
+ type Path = {
5199
+ conversationId: string;
5200
+ fileId: string;
5201
+ };
5202
+ interface RequestBody {
5203
+ }
5204
+ type Header = {};
5205
+ type Query = {};
5206
+ }
5207
+ namespace Responses {
5208
+ namespace $200 {
5209
+ namespace Content {
5210
+ interface ApplicationJson {
5211
+ accessToken: string;
5212
+ expiresAt: string;
5213
+ }
5214
+ }
5215
+ }
5216
+ namespace $400 {
5217
+ namespace Content {
5218
+ interface ApplicationJson {
5219
+ [k: string]: unknown;
5220
+ }
5221
+ }
5222
+ }
5223
+ namespace $404 {
5224
+ namespace Content {
5225
+ interface ApplicationJson {
5226
+ [k: string]: unknown;
5227
+ }
5228
+ }
5229
+ }
5230
+ namespace Default {
5231
+ namespace Content {
5232
+ interface ApplicationJson {
5233
+ [k: string]: unknown;
5234
+ }
5235
+ }
5236
+ }
5237
+ }
5238
+ }
5239
+ }
5184
5240
  namespace V2ConversationCategories {
5185
5241
  namespace Get {
5186
5242
  namespace Parameters {
@@ -14672,51 +14728,6 @@ export declare module MittwaldAPIV2 {
14672
14728
  }
14673
14729
  }
14674
14730
  }
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
14731
  namespace V2DomainsDomainIdScreenshotsNewest { }
14721
14732
  namespace V2DomainsDomainIdLatestScreenshot {
14722
14733
  namespace Get {
@@ -14756,5 +14767,6 @@ export declare module MittwaldAPIV2 {
14756
14767
  }
14757
14768
  }
14758
14769
  }
14770
+ namespace V2AppinstallationsAppInstallationIdDatabases { }
14759
14771
  }
14760
14772
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.9';
1
+ export declare const MittwaldAPIClientVersion = '3.1.10';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.9';
1
+ export const MittwaldAPIClientVersion = '3.1.10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.9",
3
+ "version": "3.1.10",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",