@mittwald/api-client 4.87.0 → 4.89.0

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.
@@ -716,6 +716,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
716
716
  misc = {
717
717
  /** Obtain a service token. */
718
718
  servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
719
+ /** Check if an address exists. */
720
+ verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
721
+ /** Check if a company exists. */
722
+ verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
719
723
  };
720
724
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
721
725
  sshsftpUser = {
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.86.0';
1
+ export const MittwaldAPIClientVersion = '4.88.0';
@@ -655,7 +655,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
655
655
  headers?: {
656
656
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
657
657
  } | undefined;
658
- }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[]>;
658
+ }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[]>;
659
659
  /** Get a specific conversation category. */
660
660
  getCategory: (conf: {
661
661
  categoryId: string;
@@ -5382,7 +5382,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5382
5382
  pathParameters: {
5383
5383
  conversationId: string;
5384
5384
  };
5385
- }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5385
+ }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5386
5386
  [x: string]: unknown;
5387
5387
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5388
5388
  [x: string]: unknown;
@@ -5396,7 +5396,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5396
5396
  pathParameters: {
5397
5397
  conversationId: string;
5398
5398
  };
5399
- }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5399
+ }, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5400
5400
  [x: string]: unknown;
5401
5401
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5402
5402
  [x: string]: unknown;
@@ -20346,6 +20346,94 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
20346
20346
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20347
20347
  [x: string]: unknown;
20348
20348
  }, 429, "application/json">>>;
20349
+ /** Check if an address exists. */
20350
+ verificationVerifyAddress: (request: {
20351
+ data: {
20352
+ city: string;
20353
+ country: string;
20354
+ street: string;
20355
+ zip: string;
20356
+ };
20357
+ headers?: {
20358
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
20359
+ } | undefined;
20360
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
20361
+ data: {
20362
+ city: string;
20363
+ country: string;
20364
+ street: string;
20365
+ zip: string;
20366
+ };
20367
+ } & {
20368
+ headers?: Partial<{
20369
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20370
+ }>;
20371
+ }, import("@mittwald/api-client-commons").Response<{
20372
+ exists: boolean;
20373
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20374
+ [x: string]: unknown;
20375
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
20376
+ data: {
20377
+ city: string;
20378
+ country: string;
20379
+ street: string;
20380
+ zip: string;
20381
+ };
20382
+ } & {
20383
+ headers?: Partial<{
20384
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20385
+ }>;
20386
+ }, import("@mittwald/api-client-commons").Response<{
20387
+ exists: boolean;
20388
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20389
+ [x: string]: unknown;
20390
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty">>>;
20391
+ /** Check if a company exists. */
20392
+ verificationVerifyCompany: (request: {
20393
+ data: {
20394
+ name: string;
20395
+ };
20396
+ headers?: {
20397
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
20398
+ "x-access-token"?: string | undefined;
20399
+ } | undefined;
20400
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
20401
+ data: {
20402
+ name: string;
20403
+ };
20404
+ } & {
20405
+ headers?: Partial<{
20406
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20407
+ }>;
20408
+ } & {
20409
+ headers: {
20410
+ "x-access-token"?: string | undefined;
20411
+ } & Partial<{
20412
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20413
+ }>;
20414
+ }, import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{
20415
+ exists: boolean;
20416
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
20417
+ [x: string]: unknown;
20418
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
20419
+ data: {
20420
+ name: string;
20421
+ };
20422
+ } & {
20423
+ headers?: Partial<{
20424
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20425
+ }>;
20426
+ } & {
20427
+ headers: {
20428
+ "x-access-token"?: string | undefined;
20429
+ } & Partial<{
20430
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20431
+ }>;
20432
+ }, import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{
20433
+ exists: boolean;
20434
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
20435
+ [x: string]: unknown;
20436
+ }, 429, "application/json">>>;
20349
20437
  };
20350
20438
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
20351
20439
  readonly sshsftpUser: {
@@ -1780,10 +1780,6 @@ export declare namespace MittwaldAPIV2 {
1780
1780
  shortId: string;
1781
1781
  }
1782
1782
  type ConversationDepartment = "development" | "mail" | "accounting" | "cloudHosting" | "customerService" | "generic";
1783
- interface ConversationDepartmentWithStatus {
1784
- department: MittwaldAPIV2.Components.Schemas.ConversationDepartment;
1785
- status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
1786
- }
1787
1783
  interface ConversationError {
1788
1784
  message: string;
1789
1785
  type: string;
@@ -1809,7 +1805,7 @@ export declare namespace MittwaldAPIV2 {
1809
1805
  messageId: string;
1810
1806
  type: "MESSAGE";
1811
1807
  }
1812
- type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "project_email_admin" | "project_external";
1808
+ type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "project_emailadmin" | "project_external";
1813
1809
  type ConversationRelatedAggregateReference = {
1814
1810
  aggregate: "user";
1815
1811
  domain: "user";
@@ -4006,6 +4002,62 @@ export declare namespace MittwaldAPIV2 {
4006
4002
  name: string;
4007
4003
  value: string;
4008
4004
  }
4005
+ interface TaskAggregateReference {
4006
+ aggregate: string;
4007
+ domain: string;
4008
+ id: string;
4009
+ }
4010
+ interface ConversationServiceRequest {
4011
+ conversationId: string;
4012
+ createdAt: string;
4013
+ /**
4014
+ * @maxItems 0
4015
+ */
4016
+ files?: [];
4017
+ internal: boolean;
4018
+ messageContent: "relocation" | "call";
4019
+ messageId: string;
4020
+ meta: MittwaldAPIV2.Components.Schemas.ConversationServiceRequestRelocationPayload;
4021
+ type: "SERVICE_REQUEST";
4022
+ }
4023
+ interface ConversationServiceRequestRelocationPayload {
4024
+ contact: {
4025
+ email: string;
4026
+ firstname: string;
4027
+ lastname: string;
4028
+ phone?: string;
4029
+ };
4030
+ domain?: {
4031
+ allDomains?: boolean;
4032
+ domains?: {
4033
+ authCode?: string;
4034
+ domainName?: string;
4035
+ }[];
4036
+ };
4037
+ notes?: string;
4038
+ preferredRelocationDate?: string;
4039
+ redirectusKey: number;
4040
+ source: {
4041
+ providerName: string;
4042
+ providerPassword: string;
4043
+ providerUrl: string;
4044
+ providerUsername: string;
4045
+ sourceAccount: string;
4046
+ };
4047
+ target: {
4048
+ accountShortId: string;
4049
+ application?: string;
4050
+ articleType: string;
4051
+ organisation: string;
4052
+ prices?: {
4053
+ name?: string;
4054
+ price?: number;
4055
+ }[];
4056
+ product: string;
4057
+ withDataCompare?: boolean;
4058
+ };
4059
+ userId: string;
4060
+ }
4009
4061
  interface CommonsAddress {
4010
4062
  street: string;
4011
4063
  houseNumber: string;
@@ -6698,7 +6750,7 @@ export declare namespace MittwaldAPIV2 {
6698
6750
  namespace Responses {
6699
6751
  namespace $200 {
6700
6752
  namespace Content {
6701
- type ApplicationJson = (MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[];
6753
+ type ApplicationJson = (MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[];
6702
6754
  }
6703
6755
  }
6704
6756
  namespace $403 {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.86.0';
1
+ export declare const MittwaldAPIClientVersion = '4.88.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.87.0",
3
+ "version": "4.89.0",
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",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "48d666d3d0dfba46e56f7b4cebb3944494e04fa4"
83
+ "gitHead": "f5befe8768968824b41e873160a28f9fdfa6dbfb"
84
84
  }