@mittwald/api-client 3.1.45 → 3.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.80bca256.mjs';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.80bca256.mjs';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.858a0957.mjs';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.858a0957.mjs';
4
4
  import 'axios';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.80bca256.js';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.80bca256.js';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.858a0957.js';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.858a0957.js';
4
4
  import 'axios';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.80bca256.mjs';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.858a0957.mjs';
3
3
  import '@mittwald/api-client-commons';
4
4
  import 'axios';
5
5
 
@@ -732,7 +732,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
732
732
  abortedBy?: {
733
733
  id?: string | undefined;
734
734
  } | undefined;
735
- durationInMilliseconds: number;
735
+ durationInMilliseconds?: number | undefined;
736
736
  end?: string | undefined;
737
737
  executionEnd?: string | undefined;
738
738
  executionStart?: string | undefined;
@@ -792,7 +792,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
792
792
  "x-access-token"?: string | undefined;
793
793
  } | undefined;
794
794
  }) => _mittwald_react_use_promise.AsyncResource<{
795
- avatarRefId: string;
795
+ avatarRefId?: string | undefined;
796
796
  customerId: string;
797
797
  customerName: string;
798
798
  id: string;
@@ -813,7 +813,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
813
813
  customerId: string;
814
814
  expiresAt?: string | undefined;
815
815
  id: string;
816
- inviteId: string;
816
+ inviteId?: string | undefined;
817
817
  memberSince?: string | undefined;
818
818
  role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
819
819
  userId: string;
@@ -851,7 +851,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
851
851
  "x-access-token"?: string | undefined;
852
852
  };
853
853
  }) => _mittwald_react_use_promise.AsyncResource<{
854
- avatarRefId: string;
854
+ avatarRefId?: string | undefined;
855
855
  customerId: string;
856
856
  customerName: string;
857
857
  id: string;
@@ -1193,6 +1193,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1193
1193
  }) => _mittwald_react_use_promise.AsyncResource<{
1194
1194
  friendlyURL: string;
1195
1195
  id: string;
1196
+ mimeType: string;
1196
1197
  name: string;
1197
1198
  sizeInBytes: number;
1198
1199
  type: string;
@@ -1204,6 +1205,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1204
1205
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1205
1206
  } | undefined;
1206
1207
  }) => _mittwald_react_use_promise.AsyncResource<{
1208
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1207
1209
  maxSizeInKB: number;
1208
1210
  mimeTypes: string[];
1209
1211
  properties?: {
@@ -1226,6 +1228,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1226
1228
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1227
1229
  } | undefined;
1228
1230
  }) => _mittwald_react_use_promise.AsyncResource<{
1231
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1229
1232
  maxSizeInKB: number;
1230
1233
  mimeTypes: string[];
1231
1234
  properties?: {
@@ -1678,7 +1681,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1678
1681
  expiresAt?: string | undefined;
1679
1682
  id: string;
1680
1683
  inherited: boolean;
1681
- inviteId: string;
1684
+ inviteId?: string | undefined;
1682
1685
  memberSince?: string | undefined;
1683
1686
  projectId: string;
1684
1687
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -1743,7 +1746,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1743
1746
  expiresAt?: string | undefined;
1744
1747
  id: string;
1745
1748
  inherited: boolean;
1746
- inviteId: string;
1749
+ inviteId?: string | undefined;
1747
1750
  memberSince?: string | undefined;
1748
1751
  projectId: string;
1749
1752
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.80bca256.js';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.858a0957.js';
3
3
  import '@mittwald/api-client-commons';
4
4
  import 'axios';
5
5
 
@@ -732,7 +732,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
732
732
  abortedBy?: {
733
733
  id?: string | undefined;
734
734
  } | undefined;
735
- durationInMilliseconds: number;
735
+ durationInMilliseconds?: number | undefined;
736
736
  end?: string | undefined;
737
737
  executionEnd?: string | undefined;
738
738
  executionStart?: string | undefined;
@@ -792,7 +792,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
792
792
  "x-access-token"?: string | undefined;
793
793
  } | undefined;
794
794
  }) => _mittwald_react_use_promise.AsyncResource<{
795
- avatarRefId: string;
795
+ avatarRefId?: string | undefined;
796
796
  customerId: string;
797
797
  customerName: string;
798
798
  id: string;
@@ -813,7 +813,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
813
813
  customerId: string;
814
814
  expiresAt?: string | undefined;
815
815
  id: string;
816
- inviteId: string;
816
+ inviteId?: string | undefined;
817
817
  memberSince?: string | undefined;
818
818
  role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
819
819
  userId: string;
@@ -851,7 +851,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
851
851
  "x-access-token"?: string | undefined;
852
852
  };
853
853
  }) => _mittwald_react_use_promise.AsyncResource<{
854
- avatarRefId: string;
854
+ avatarRefId?: string | undefined;
855
855
  customerId: string;
856
856
  customerName: string;
857
857
  id: string;
@@ -1193,6 +1193,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1193
1193
  }) => _mittwald_react_use_promise.AsyncResource<{
1194
1194
  friendlyURL: string;
1195
1195
  id: string;
1196
+ mimeType: string;
1196
1197
  name: string;
1197
1198
  sizeInBytes: number;
1198
1199
  type: string;
@@ -1204,6 +1205,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1204
1205
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1205
1206
  } | undefined;
1206
1207
  }) => _mittwald_react_use_promise.AsyncResource<{
1208
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1207
1209
  maxSizeInKB: number;
1208
1210
  mimeTypes: string[];
1209
1211
  properties?: {
@@ -1226,6 +1228,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1226
1228
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1227
1229
  } | undefined;
1228
1230
  }) => _mittwald_react_use_promise.AsyncResource<{
1231
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1229
1232
  maxSizeInKB: number;
1230
1233
  mimeTypes: string[];
1231
1234
  properties?: {
@@ -1678,7 +1681,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1678
1681
  expiresAt?: string | undefined;
1679
1682
  id: string;
1680
1683
  inherited: boolean;
1681
- inviteId: string;
1684
+ inviteId?: string | undefined;
1682
1685
  memberSince?: string | undefined;
1683
1686
  projectId: string;
1684
1687
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -1743,7 +1746,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1743
1746
  expiresAt?: string | undefined;
1744
1747
  id: string;
1745
1748
  inherited: boolean;
1746
- inviteId: string;
1749
+ inviteId?: string | undefined;
1747
1750
  memberSince?: string | undefined;
1748
1751
  projectId: string;
1749
1752
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -200,7 +200,7 @@ declare const customerListOfCustomerCategories: OpenAPIOperation$1<RequestType$1
200
200
  /** Create a new customer category. */
201
201
  declare const customerCreateCategory: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
202
202
  /** Create a CustomerInvite. */
203
- declare const customerCreateCustomerInvite: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
203
+ declare const customerCreateCustomerInvite: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
204
204
  /** Get all customer profiles the authenticated user has access to. */
205
205
  declare const customerListCustomers: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
206
206
  /** Create a new customer profile. */
@@ -2430,10 +2430,6 @@ declare namespace MittwaldAPIV2 {
2430
2430
  */
2431
2431
  port: number;
2432
2432
  stats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2433
- /**
2434
- * Hostname and port to which a connection was established. Can be empty.
2435
- */
2436
- url: string;
2437
2433
  /**
2438
2434
  * Alerts when the time, syscall count or occurrence count of this group are abnormal.
2439
2435
  */
@@ -2453,10 +2449,6 @@ declare namespace MittwaldAPIV2 {
2453
2449
  errorMessage: string;
2454
2450
  }
2455
2451
  interface StraceStatistics {
2456
- /**
2457
- * Syscall count.
2458
- */
2459
- count: number;
2460
2452
  /**
2461
2453
  * Elapsed kernel space time in milliseconds.
2462
2454
  */
@@ -2499,7 +2491,7 @@ declare namespace MittwaldAPIV2 {
2499
2491
  abortedBy?: {
2500
2492
  id?: string;
2501
2493
  };
2502
- durationInMilliseconds: number;
2494
+ durationInMilliseconds?: number;
2503
2495
  end?: string;
2504
2496
  /**
2505
2497
  * @deprecated
@@ -2838,11 +2830,17 @@ declare namespace MittwaldAPIV2 {
2838
2830
  interface FileFileMeta {
2839
2831
  friendlyURL: string;
2840
2832
  id: string;
2833
+ mimeType: string;
2841
2834
  name: string;
2842
2835
  sizeInBytes: number;
2836
+ /**
2837
+ * @deprecated
2838
+ * deprecated, see mimeType
2839
+ */
2843
2840
  type: string;
2844
2841
  }
2845
2842
  interface FileFileUploadRules {
2843
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
2846
2844
  maxSizeInKB: number;
2847
2845
  mimeTypes: string[];
2848
2846
  properties?: {
@@ -3156,7 +3154,7 @@ declare namespace MittwaldAPIV2 {
3156
3154
  /**
3157
3155
  * Reference to the Customer's avatar.
3158
3156
  */
3159
- avatarRefId: string;
3157
+ avatarRefId?: string;
3160
3158
  /**
3161
3159
  * ID of the Customer the invite is for.
3162
3160
  */
@@ -3200,7 +3198,7 @@ declare namespace MittwaldAPIV2 {
3200
3198
  /**
3201
3199
  * ID of the CustomerInvite the membership was created from.
3202
3200
  */
3203
- inviteId: string;
3201
+ inviteId?: string;
3204
3202
  /**
3205
3203
  * Date the CustomerMembership was created at.
3206
3204
  */
@@ -3211,12 +3209,12 @@ declare namespace MittwaldAPIV2 {
3211
3209
  */
3212
3210
  userId: string;
3213
3211
  }
3214
- type MembershipCustomerRoles = "owner" | "member" | "accountant";
3212
+ type MembershipCustomerRoles = "notset" | "owner" | "member" | "accountant";
3215
3213
  interface MembershipInviteInformation {
3216
3214
  /**
3217
3215
  * Token for authentication purposes.
3218
3216
  */
3219
- invitationToken: string;
3217
+ invitationToken?: string;
3220
3218
  /**
3221
3219
  * ID of the user that created the invite.
3222
3220
  */
@@ -3224,7 +3222,7 @@ declare namespace MittwaldAPIV2 {
3224
3222
  /**
3225
3223
  * ID of the user this invite is for.
3226
3224
  */
3227
- userId: string;
3225
+ userId?: string;
3228
3226
  }
3229
3227
  interface MembershipProjectInvite {
3230
3228
  /**
@@ -3270,7 +3268,7 @@ declare namespace MittwaldAPIV2 {
3270
3268
  /**
3271
3269
  * ID of the ProjectInvite the membership was created from.
3272
3270
  */
3273
- inviteId: string;
3271
+ inviteId?: string;
3274
3272
  /**
3275
3273
  * Date the projectMembership was created at.
3276
3274
  */
@@ -3371,7 +3369,6 @@ declare namespace MittwaldAPIV2 {
3371
3369
  }
3372
3370
  interface OrderOrderItem {
3373
3371
  addons?: MittwaldAPIV2.Components.Schemas.OrderAddons[];
3374
- amount: number;
3375
3372
  articleId: string;
3376
3373
  articleName?: string;
3377
3374
  articleTemplateName?: string;
@@ -3398,9 +3395,9 @@ declare namespace MittwaldAPIV2 {
3398
3395
  }
3399
3396
  type OrderOrderType = "NEW_ORDER" | "CONTRACT_CHANGE";
3400
3397
  interface OrderDomainOrderPreviewResponse {
3401
- domainPrice?: number;
3402
- feePrice?: number;
3403
- totalPrice?: number;
3398
+ domainPrice: number;
3399
+ feePrice: number;
3400
+ totalPrice: number;
3404
3401
  }
3405
3402
  interface OrderHostingOrderPreviewResponse {
3406
3403
  machineTypePrice: number;
@@ -3759,6 +3756,10 @@ declare namespace MittwaldAPIV2 {
3759
3756
  location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
3760
3757
  tokenId: string;
3761
3758
  }
3759
+ interface FileFileType {
3760
+ extensions: string[];
3761
+ mimeType: string;
3762
+ }
3762
3763
  interface CommonsAddress {
3763
3764
  street: string;
3764
3765
  houseNumber: string;
@@ -6862,6 +6863,13 @@ declare namespace MittwaldAPIV2 {
6862
6863
  }
6863
6864
  }
6864
6865
  }
6866
+ namespace $403 {
6867
+ namespace Content {
6868
+ interface ApplicationJson {
6869
+ [k: string]: unknown;
6870
+ }
6871
+ }
6872
+ }
6865
6873
  namespace $409 {
6866
6874
  namespace Content {
6867
6875
  interface ApplicationJson {
@@ -18937,7 +18945,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
18937
18945
  abortedBy?: {
18938
18946
  id?: string | undefined;
18939
18947
  } | undefined;
18940
- durationInMilliseconds: number;
18948
+ durationInMilliseconds?: number | undefined;
18941
18949
  end?: string | undefined;
18942
18950
  executionEnd?: string | undefined;
18943
18951
  executionStart?: string | undefined;
@@ -19117,7 +19125,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19117
19125
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19118
19126
  }>; /** Get a specific `AppVersion`. */
19119
19127
  }, Response<{
19120
- avatarRefId: string;
19128
+ avatarRefId?: string | undefined;
19121
19129
  customerId: string;
19122
19130
  customerName: string;
19123
19131
  id: string;
@@ -19130,6 +19138,8 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19130
19138
  [x: string]: unknown;
19131
19139
  }, 400, "application/json"> | Response<{
19132
19140
  [x: string]: unknown;
19141
+ }, 403, "application/json"> | Response<{
19142
+ [x: string]: unknown;
19133
19143
  }, 409, "application/json">>>;
19134
19144
  /** Get all customer profiles the authenticated user has access to. */
19135
19145
  listCustomers: (request?: {
@@ -19367,7 +19377,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19367
19377
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19368
19378
  }>; /** Get a specific `AppVersion`. */
19369
19379
  }, Response<{
19370
- avatarRefId: string;
19380
+ avatarRefId?: string | undefined;
19371
19381
  customerId: string;
19372
19382
  customerName: string;
19373
19383
  id: string;
@@ -19426,7 +19436,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19426
19436
  customerId: string;
19427
19437
  expiresAt?: string | undefined;
19428
19438
  id: string;
19429
- inviteId: string;
19439
+ inviteId?: string | undefined;
19430
19440
  memberSince?: string | undefined;
19431
19441
  role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
19432
19442
  userId: string;
@@ -19634,7 +19644,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19634
19644
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19635
19645
  }>; /** Get a specific `AppVersion`. */
19636
19646
  }, Response<{
19637
- avatarRefId: string;
19647
+ avatarRefId?: string | undefined;
19638
19648
  customerId: string;
19639
19649
  customerName: string;
19640
19650
  id: string;
@@ -21919,6 +21929,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21919
21929
  }, Response<{
21920
21930
  friendlyURL: string;
21921
21931
  id: string;
21932
+ mimeType: string;
21922
21933
  name: string;
21923
21934
  sizeInBytes: number;
21924
21935
  type: string;
@@ -21950,6 +21961,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21950
21961
  }, Response<{
21951
21962
  friendlyURL: string;
21952
21963
  id: string;
21964
+ mimeType: string;
21953
21965
  name: string;
21954
21966
  sizeInBytes: number;
21955
21967
  type: string;
@@ -21981,6 +21993,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21981
21993
  fileUploadToken: string;
21982
21994
  };
21983
21995
  }, Response<{
21996
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
21984
21997
  maxSizeInKB: number;
21985
21998
  mimeTypes: string[];
21986
21999
  properties?: {
@@ -22017,6 +22030,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22017
22030
  fileUploadType: "avatar" | "conversation";
22018
22031
  };
22019
22032
  }, Response<{
22033
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
22020
22034
  maxSizeInKB: number;
22021
22035
  mimeTypes: string[];
22022
22036
  properties?: {
@@ -24899,7 +24913,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24899
24913
  expiresAt?: string | undefined;
24900
24914
  id: string;
24901
24915
  inherited: boolean;
24902
- inviteId: string;
24916
+ inviteId?: string | undefined;
24903
24917
  memberSince?: string | undefined;
24904
24918
  projectId: string;
24905
24919
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -25147,7 +25161,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
25147
25161
  expiresAt?: string | undefined;
25148
25162
  id: string;
25149
25163
  inherited: boolean;
25150
- inviteId: string;
25164
+ inviteId?: string | undefined;
25151
25165
  memberSince?: string | undefined;
25152
25166
  projectId: string;
25153
25167
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -200,7 +200,7 @@ declare const customerListOfCustomerCategories: OpenAPIOperation$1<RequestType$1
200
200
  /** Create a new customer category. */
201
201
  declare const customerCreateCategory: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCategories.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
202
202
  /** Create a CustomerInvite. */
203
- declare const customerCreateCustomerInvite: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
203
+ declare const customerCreateCustomerInvite: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2CustomerCustomerIdInvites.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
204
204
  /** Get all customer profiles the authenticated user has access to. */
205
205
  declare const customerListCustomers: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
206
206
  /** Create a new customer profile. */
@@ -2430,10 +2430,6 @@ declare namespace MittwaldAPIV2 {
2430
2430
  */
2431
2431
  port: number;
2432
2432
  stats: MittwaldAPIV2.Components.Schemas.StraceStatistics;
2433
- /**
2434
- * Hostname and port to which a connection was established. Can be empty.
2435
- */
2436
- url: string;
2437
2433
  /**
2438
2434
  * Alerts when the time, syscall count or occurrence count of this group are abnormal.
2439
2435
  */
@@ -2453,10 +2449,6 @@ declare namespace MittwaldAPIV2 {
2453
2449
  errorMessage: string;
2454
2450
  }
2455
2451
  interface StraceStatistics {
2456
- /**
2457
- * Syscall count.
2458
- */
2459
- count: number;
2460
2452
  /**
2461
2453
  * Elapsed kernel space time in milliseconds.
2462
2454
  */
@@ -2499,7 +2491,7 @@ declare namespace MittwaldAPIV2 {
2499
2491
  abortedBy?: {
2500
2492
  id?: string;
2501
2493
  };
2502
- durationInMilliseconds: number;
2494
+ durationInMilliseconds?: number;
2503
2495
  end?: string;
2504
2496
  /**
2505
2497
  * @deprecated
@@ -2838,11 +2830,17 @@ declare namespace MittwaldAPIV2 {
2838
2830
  interface FileFileMeta {
2839
2831
  friendlyURL: string;
2840
2832
  id: string;
2833
+ mimeType: string;
2841
2834
  name: string;
2842
2835
  sizeInBytes: number;
2836
+ /**
2837
+ * @deprecated
2838
+ * deprecated, see mimeType
2839
+ */
2843
2840
  type: string;
2844
2841
  }
2845
2842
  interface FileFileUploadRules {
2843
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
2846
2844
  maxSizeInKB: number;
2847
2845
  mimeTypes: string[];
2848
2846
  properties?: {
@@ -3156,7 +3154,7 @@ declare namespace MittwaldAPIV2 {
3156
3154
  /**
3157
3155
  * Reference to the Customer's avatar.
3158
3156
  */
3159
- avatarRefId: string;
3157
+ avatarRefId?: string;
3160
3158
  /**
3161
3159
  * ID of the Customer the invite is for.
3162
3160
  */
@@ -3200,7 +3198,7 @@ declare namespace MittwaldAPIV2 {
3200
3198
  /**
3201
3199
  * ID of the CustomerInvite the membership was created from.
3202
3200
  */
3203
- inviteId: string;
3201
+ inviteId?: string;
3204
3202
  /**
3205
3203
  * Date the CustomerMembership was created at.
3206
3204
  */
@@ -3211,12 +3209,12 @@ declare namespace MittwaldAPIV2 {
3211
3209
  */
3212
3210
  userId: string;
3213
3211
  }
3214
- type MembershipCustomerRoles = "owner" | "member" | "accountant";
3212
+ type MembershipCustomerRoles = "notset" | "owner" | "member" | "accountant";
3215
3213
  interface MembershipInviteInformation {
3216
3214
  /**
3217
3215
  * Token for authentication purposes.
3218
3216
  */
3219
- invitationToken: string;
3217
+ invitationToken?: string;
3220
3218
  /**
3221
3219
  * ID of the user that created the invite.
3222
3220
  */
@@ -3224,7 +3222,7 @@ declare namespace MittwaldAPIV2 {
3224
3222
  /**
3225
3223
  * ID of the user this invite is for.
3226
3224
  */
3227
- userId: string;
3225
+ userId?: string;
3228
3226
  }
3229
3227
  interface MembershipProjectInvite {
3230
3228
  /**
@@ -3270,7 +3268,7 @@ declare namespace MittwaldAPIV2 {
3270
3268
  /**
3271
3269
  * ID of the ProjectInvite the membership was created from.
3272
3270
  */
3273
- inviteId: string;
3271
+ inviteId?: string;
3274
3272
  /**
3275
3273
  * Date the projectMembership was created at.
3276
3274
  */
@@ -3371,7 +3369,6 @@ declare namespace MittwaldAPIV2 {
3371
3369
  }
3372
3370
  interface OrderOrderItem {
3373
3371
  addons?: MittwaldAPIV2.Components.Schemas.OrderAddons[];
3374
- amount: number;
3375
3372
  articleId: string;
3376
3373
  articleName?: string;
3377
3374
  articleTemplateName?: string;
@@ -3398,9 +3395,9 @@ declare namespace MittwaldAPIV2 {
3398
3395
  }
3399
3396
  type OrderOrderType = "NEW_ORDER" | "CONTRACT_CHANGE";
3400
3397
  interface OrderDomainOrderPreviewResponse {
3401
- domainPrice?: number;
3402
- feePrice?: number;
3403
- totalPrice?: number;
3398
+ domainPrice: number;
3399
+ feePrice: number;
3400
+ totalPrice: number;
3404
3401
  }
3405
3402
  interface OrderHostingOrderPreviewResponse {
3406
3403
  machineTypePrice: number;
@@ -3759,6 +3756,10 @@ declare namespace MittwaldAPIV2 {
3759
3756
  location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
3760
3757
  tokenId: string;
3761
3758
  }
3759
+ interface FileFileType {
3760
+ extensions: string[];
3761
+ mimeType: string;
3762
+ }
3762
3763
  interface CommonsAddress {
3763
3764
  street: string;
3764
3765
  houseNumber: string;
@@ -6862,6 +6863,13 @@ declare namespace MittwaldAPIV2 {
6862
6863
  }
6863
6864
  }
6864
6865
  }
6866
+ namespace $403 {
6867
+ namespace Content {
6868
+ interface ApplicationJson {
6869
+ [k: string]: unknown;
6870
+ }
6871
+ }
6872
+ }
6865
6873
  namespace $409 {
6866
6874
  namespace Content {
6867
6875
  interface ApplicationJson {
@@ -18937,7 +18945,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
18937
18945
  abortedBy?: {
18938
18946
  id?: string | undefined;
18939
18947
  } | undefined;
18940
- durationInMilliseconds: number;
18948
+ durationInMilliseconds?: number | undefined;
18941
18949
  end?: string | undefined;
18942
18950
  executionEnd?: string | undefined;
18943
18951
  executionStart?: string | undefined;
@@ -19117,7 +19125,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19117
19125
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19118
19126
  }>; /** Get a specific `AppVersion`. */
19119
19127
  }, Response<{
19120
- avatarRefId: string;
19128
+ avatarRefId?: string | undefined;
19121
19129
  customerId: string;
19122
19130
  customerName: string;
19123
19131
  id: string;
@@ -19130,6 +19138,8 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19130
19138
  [x: string]: unknown;
19131
19139
  }, 400, "application/json"> | Response<{
19132
19140
  [x: string]: unknown;
19141
+ }, 403, "application/json"> | Response<{
19142
+ [x: string]: unknown;
19133
19143
  }, 409, "application/json">>>;
19134
19144
  /** Get all customer profiles the authenticated user has access to. */
19135
19145
  listCustomers: (request?: {
@@ -19367,7 +19377,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19367
19377
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19368
19378
  }>; /** Get a specific `AppVersion`. */
19369
19379
  }, Response<{
19370
- avatarRefId: string;
19380
+ avatarRefId?: string | undefined;
19371
19381
  customerId: string;
19372
19382
  customerName: string;
19373
19383
  id: string;
@@ -19426,7 +19436,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19426
19436
  customerId: string;
19427
19437
  expiresAt?: string | undefined;
19428
19438
  id: string;
19429
- inviteId: string;
19439
+ inviteId?: string | undefined;
19430
19440
  memberSince?: string | undefined;
19431
19441
  role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
19432
19442
  userId: string;
@@ -19634,7 +19644,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
19634
19644
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19635
19645
  }>; /** Get a specific `AppVersion`. */
19636
19646
  }, Response<{
19637
- avatarRefId: string;
19647
+ avatarRefId?: string | undefined;
19638
19648
  customerId: string;
19639
19649
  customerName: string;
19640
19650
  id: string;
@@ -21919,6 +21929,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21919
21929
  }, Response<{
21920
21930
  friendlyURL: string;
21921
21931
  id: string;
21932
+ mimeType: string;
21922
21933
  name: string;
21923
21934
  sizeInBytes: number;
21924
21935
  type: string;
@@ -21950,6 +21961,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21950
21961
  }, Response<{
21951
21962
  friendlyURL: string;
21952
21963
  id: string;
21964
+ mimeType: string;
21953
21965
  name: string;
21954
21966
  sizeInBytes: number;
21955
21967
  type: string;
@@ -21981,6 +21993,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21981
21993
  fileUploadToken: string;
21982
21994
  };
21983
21995
  }, Response<{
21996
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
21984
21997
  maxSizeInKB: number;
21985
21998
  mimeTypes: string[];
21986
21999
  properties?: {
@@ -22017,6 +22030,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22017
22030
  fileUploadType: "avatar" | "conversation";
22018
22031
  };
22019
22032
  }, Response<{
22033
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
22020
22034
  maxSizeInKB: number;
22021
22035
  mimeTypes: string[];
22022
22036
  properties?: {
@@ -24899,7 +24913,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24899
24913
  expiresAt?: string | undefined;
24900
24914
  id: string;
24901
24915
  inherited: boolean;
24902
- inviteId: string;
24916
+ inviteId?: string | undefined;
24903
24917
  memberSince?: string | undefined;
24904
24918
  projectId: string;
24905
24919
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
@@ -25147,7 +25161,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
25147
25161
  expiresAt?: string | undefined;
25148
25162
  id: string;
25149
25163
  inherited: boolean;
25150
- inviteId: string;
25164
+ inviteId?: string | undefined;
25151
25165
  memberSince?: string | undefined;
25152
25166
  projectId: string;
25153
25167
  role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.45';
1
+ export declare const MittwaldAPIClientVersion = '3.1.47';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.45';
1
+ export const MittwaldAPIClientVersion = '3.1.47';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.45",
3
+ "version": "3.1.47",
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",