@mittwald/api-client 4.69.0 → 4.70.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.
@@ -94,14 +94,14 @@ const buildConversationApi = (baseClient) => ({
94
94
  getCategory: new ApiCallAsyncResourceFactory(descriptors.conversationGetCategory, baseClient.conversation.getCategory).getApiResource,
95
95
  /** Get members of a support conversation. */
96
96
  getConversationMembers: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversationMembers, baseClient.conversation.getConversationMembers).getApiResource,
97
- /** Get preferences for customer conversations. */
98
- getConversationPreferencesOfCustomer: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversationPreferencesOfCustomer, baseClient.conversation.getConversationPreferencesOfCustomer).getApiResource,
99
97
  /** Get a support conversation. */
100
98
  getConversation: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversation, baseClient.conversation.getConversation).getApiResource,
101
99
  /** Request an access token for the File belonging to the Conversation. */
102
100
  getFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.conversationGetFileAccessToken, baseClient.conversation.getFileAccessToken).getApiResource,
103
101
  /** Get all conversation categories. */
104
102
  listCategories: new ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
103
+ /** Get preferences for customer conversations. */
104
+ getConversationPreferencesOfCustomer: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversationPreferencesOfCustomer, baseClient.conversation.getConversationPreferencesOfCustomer).getApiResource,
105
105
  });
106
106
  const buildCronjobApi = (baseClient) => ({
107
107
  /** List Cronjobs belonging to a Project. */
@@ -195,8 +195,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
195
195
  getCategory: this.requestFunctionFactory(descriptors.conversationGetCategory),
196
196
  /** Get members of a support conversation. */
197
197
  getConversationMembers: this.requestFunctionFactory(descriptors.conversationGetConversationMembers),
198
- /** Get preferences for customer conversations. */
199
- getConversationPreferencesOfCustomer: this.requestFunctionFactory(descriptors.conversationGetConversationPreferencesOfCustomer),
200
198
  /** Get a support conversation. */
201
199
  getConversation: this.requestFunctionFactory(descriptors.conversationGetConversation),
202
200
  /** Update the basic properties of the conversation. */
@@ -211,6 +209,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
211
209
  setConversationStatus: this.requestFunctionFactory(descriptors.conversationSetConversationStatus),
212
210
  /** Update the content of the message */
213
211
  updateMessage: this.requestFunctionFactory(descriptors.conversationUpdateMessage),
212
+ /** Get preferences for customer conversations. */
213
+ getConversationPreferencesOfCustomer: this.requestFunctionFactory(descriptors.conversationGetConversationPreferencesOfCustomer),
214
214
  };
215
215
  /** The cronjob API allows you to manage cronjobs within a project. */
216
216
  cronjob = {
@@ -352,12 +352,6 @@ export const conversationGetConversationMembers = {
352
352
  method: "GET",
353
353
  operationId: "conversation-get-conversation-members",
354
354
  };
355
- /** Get preferences for customer conversations. */
356
- export const conversationGetConversationPreferencesOfCustomer = {
357
- path: "/v2/customers/{customerId}/conversation-preferences",
358
- method: "GET",
359
- operationId: "conversation-get-conversation-preferences-of-customer",
360
- };
361
355
  /** Get a support conversation. */
362
356
  export const conversationGetConversation = {
363
357
  path: "/v2/conversations/{conversationId}",
@@ -2002,3 +1996,9 @@ export const verificationVerifyCompany = {
2002
1996
  method: "POST",
2003
1997
  operationId: "verification-verify-company",
2004
1998
  };
1999
+ /** Get preferences for customer conversations. */
2000
+ export const conversationGetConversationPreferencesOfCustomer = {
2001
+ path: "/v2/customers/{customerId}/conversation-preferences",
2002
+ method: "GET",
2003
+ operationId: "conversation-get-conversation-preferences-of-customer",
2004
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.68.0';
1
+ export const MittwaldAPIClientVersion = '4.69.0';
@@ -677,21 +677,6 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
677
677
  }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser & {
678
678
  active: boolean;
679
679
  })[]>;
680
- /** Get preferences for customer conversations. */
681
- getConversationPreferencesOfCustomer: (conf: {
682
- customerId: string;
683
- headers?: {
684
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
685
- } | undefined;
686
- }) => import("@mittwald/react-use-promise").AsyncResource<{
687
- customerId: string;
688
- preferredUsers: {
689
- categoryUserPairs?: {
690
- [k: string]: string;
691
- };
692
- fallback?: string;
693
- };
694
- }>;
695
680
  /** Get a support conversation. */
696
681
  getConversation: (conf: {
697
682
  conversationId: string;
@@ -710,9 +695,10 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
710
695
  lastMessageAt?: string | undefined;
711
696
  lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
712
697
  mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
713
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
698
+ notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
699
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
714
700
  relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
715
- sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
701
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference | undefined;
716
702
  shortId: string;
717
703
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
718
704
  title: string;
@@ -735,6 +721,21 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
735
721
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
736
722
  } | undefined;
737
723
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
724
+ /** Get preferences for customer conversations. */
725
+ getConversationPreferencesOfCustomer: (conf: {
726
+ customerId: string;
727
+ headers?: {
728
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
729
+ } | undefined;
730
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
731
+ customerId: string;
732
+ preferredUsers: {
733
+ categoryUserPairs?: {
734
+ [k: string]: string;
735
+ };
736
+ fallback?: string;
737
+ };
738
+ }>;
738
739
  };
739
740
  declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
740
741
  /** List Cronjobs belonging to a Project. */
@@ -5142,12 +5142,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5142
5142
  data?: {
5143
5143
  categoryId?: string | undefined;
5144
5144
  mainUserId?: string | undefined;
5145
+ notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
5145
5146
  relatedTo?: {
5146
- aggregate: string;
5147
- domain: string;
5148
- id: string;
5149
- } | undefined;
5150
- sharedWith?: {
5151
5147
  aggregate: "user";
5152
5148
  domain: "user";
5153
5149
  id: string;
@@ -5172,6 +5168,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5172
5168
  domain: "extension";
5173
5169
  id: string;
5174
5170
  } | undefined;
5171
+ sharedWith?: {
5172
+ aggregate: "user";
5173
+ domain: "user";
5174
+ id: string;
5175
+ } | {
5176
+ aggregate: "customer";
5177
+ domain: "customer";
5178
+ id: string;
5179
+ } | {
5180
+ aggregate: "project";
5181
+ domain: "project";
5182
+ id: string;
5183
+ } | {
5184
+ aggregate: "placementgroup";
5185
+ domain: "project";
5186
+ id: string;
5187
+ } | undefined;
5175
5188
  title?: string | undefined;
5176
5189
  } | undefined;
5177
5190
  headers?: {
@@ -5181,7 +5194,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5181
5194
  data: {
5182
5195
  categoryId?: string | undefined;
5183
5196
  mainUserId?: string | undefined;
5184
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5197
+ notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
5198
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
5185
5199
  sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference | undefined;
5186
5200
  title?: string | undefined;
5187
5201
  };
@@ -5199,7 +5213,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5199
5213
  data: {
5200
5214
  categoryId?: string | undefined;
5201
5215
  mainUserId?: string | undefined;
5202
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5216
+ notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
5217
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
5203
5218
  sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference | undefined;
5204
5219
  title?: string | undefined;
5205
5220
  };
@@ -5394,61 +5409,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5394
5409
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5395
5410
  [x: string]: unknown;
5396
5411
  }, 429, "application/json">>>;
5397
- /** Get preferences for customer conversations. */
5398
- getConversationPreferencesOfCustomer: (request: {
5399
- customerId: string;
5400
- headers?: {
5401
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5402
- } | undefined;
5403
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5404
- headers?: Partial<{
5405
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5406
- }> | undefined;
5407
- } & {
5408
- pathParameters: {
5409
- customerId: string;
5410
- };
5411
- }, import("@mittwald/api-client-commons").Response<{
5412
- customerId: string;
5413
- preferredUsers: {
5414
- categoryUserPairs?: {
5415
- [k: string]: string;
5416
- };
5417
- fallback?: string;
5418
- };
5419
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5420
- [x: string]: unknown;
5421
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5422
- [x: string]: unknown;
5423
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5424
- [x: string]: unknown;
5425
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5426
- [x: string]: unknown;
5427
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5428
- headers?: Partial<{
5429
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5430
- }> | undefined;
5431
- } & {
5432
- pathParameters: {
5433
- customerId: string;
5434
- };
5435
- }, import("@mittwald/api-client-commons").Response<{
5436
- customerId: string;
5437
- preferredUsers: {
5438
- categoryUserPairs?: {
5439
- [k: string]: string;
5440
- };
5441
- fallback?: string;
5442
- };
5443
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5444
- [x: string]: unknown;
5445
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5446
- [x: string]: unknown;
5447
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5448
- [x: string]: unknown;
5449
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5450
- [x: string]: unknown;
5451
- }, 429, "application/json">>>;
5452
5412
  /** Get a support conversation. */
5453
5413
  getConversation: (request: {
5454
5414
  conversationId: string;
@@ -5475,9 +5435,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5475
5435
  lastMessageAt?: string | undefined;
5476
5436
  lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
5477
5437
  mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
5478
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5438
+ notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
5439
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
5479
5440
  relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
5480
- sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5441
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference | undefined;
5481
5442
  shortId: string;
5482
5443
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
5483
5444
  title: string;
@@ -5510,9 +5471,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5510
5471
  lastMessageAt?: string | undefined;
5511
5472
  lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
5512
5473
  mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
5513
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5474
+ notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
5475
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
5514
5476
  relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
5515
- sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5477
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference | undefined;
5516
5478
  shortId: string;
5517
5479
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
5518
5480
  title: string;
@@ -5532,8 +5494,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5532
5494
  data?: {
5533
5495
  categoryId?: string | undefined;
5534
5496
  relatedTo?: {
5535
- aggregate: string;
5536
- domain: string;
5497
+ aggregate: "user";
5498
+ domain: "user";
5499
+ id: string;
5500
+ } | {
5501
+ aggregate: "customer";
5502
+ domain: "customer";
5503
+ id: string;
5504
+ } | {
5505
+ aggregate: "project";
5506
+ domain: "project";
5507
+ id: string;
5508
+ } | {
5509
+ aggregate: "appinstallation";
5510
+ domain: "app";
5511
+ id: string;
5512
+ } | {
5513
+ aggregate: "placementgroup";
5514
+ domain: "project";
5515
+ id: string;
5516
+ } | {
5517
+ aggregate: "extensionInstance";
5518
+ domain: "extension";
5537
5519
  id: string;
5538
5520
  } | undefined;
5539
5521
  title?: string | undefined;
@@ -5544,7 +5526,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5544
5526
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5545
5527
  data: {
5546
5528
  categoryId?: string | undefined;
5547
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5529
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
5548
5530
  title?: string | undefined;
5549
5531
  };
5550
5532
  } & {
@@ -5568,7 +5550,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5568
5550
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5569
5551
  data: {
5570
5552
  categoryId?: string | undefined;
5571
- relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
5553
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
5572
5554
  title?: string | undefined;
5573
5555
  };
5574
5556
  } & {
@@ -5832,6 +5814,61 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5832
5814
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5833
5815
  [x: string]: unknown;
5834
5816
  }, 429, "application/json">>>;
5817
+ /** Get preferences for customer conversations. */
5818
+ getConversationPreferencesOfCustomer: (request: {
5819
+ customerId: string;
5820
+ headers?: {
5821
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5822
+ } | undefined;
5823
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5824
+ headers?: Partial<{
5825
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5826
+ }> | undefined;
5827
+ } & {
5828
+ pathParameters: {
5829
+ customerId: string;
5830
+ };
5831
+ }, import("@mittwald/api-client-commons").Response<{
5832
+ customerId: string;
5833
+ preferredUsers: {
5834
+ categoryUserPairs?: {
5835
+ [k: string]: string;
5836
+ };
5837
+ fallback?: string;
5838
+ };
5839
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5840
+ [x: string]: unknown;
5841
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5842
+ [x: string]: unknown;
5843
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5844
+ [x: string]: unknown;
5845
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5846
+ [x: string]: unknown;
5847
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5848
+ headers?: Partial<{
5849
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5850
+ }> | undefined;
5851
+ } & {
5852
+ pathParameters: {
5853
+ customerId: string;
5854
+ };
5855
+ }, import("@mittwald/api-client-commons").Response<{
5856
+ customerId: string;
5857
+ preferredUsers: {
5858
+ categoryUserPairs?: {
5859
+ [k: string]: string;
5860
+ };
5861
+ fallback?: string;
5862
+ };
5863
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5864
+ [x: string]: unknown;
5865
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5866
+ [x: string]: unknown;
5867
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5868
+ [x: string]: unknown;
5869
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5870
+ [x: string]: unknown;
5871
+ }, 429, "application/json">>>;
5835
5872
  };
5836
5873
  /** The cronjob API allows you to manage cronjobs within a project. */
5837
5874
  readonly cronjob: {
@@ -121,8 +121,6 @@ export declare const conversationCreateMessage: OpenAPIOperation<RequestType<Sim
121
121
  export declare const conversationGetCategory: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategoriesCategoryId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
122
122
  /** Get members of a support conversation. */
123
123
  export declare const conversationGetConversationMembers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdMembers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
124
- /** Get preferences for customer conversations. */
125
- export declare const conversationGetConversationPreferencesOfCustomer: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
126
124
  /** Get a support conversation. */
127
125
  export declare const conversationGetConversation: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
128
126
  /** Update the basic properties of the conversation. */
@@ -671,3 +669,5 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
671
669
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
672
670
  /** Check if a company exists. */
673
671
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
672
+ /** Get preferences for customer conversations. */
673
+ export declare const conversationGetConversationPreferencesOfCustomer: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdConversationPreferences.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -238,10 +238,6 @@ export declare namespace MittwaldAPIV2 {
238
238
  type RequestData = InferredRequestData<typeof descriptors.conversationGetConversationMembers>;
239
239
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetConversationMembers, TStatus>;
240
240
  }
241
- namespace ConversationGetConversationPreferencesOfCustomer {
242
- type RequestData = InferredRequestData<typeof descriptors.conversationGetConversationPreferencesOfCustomer>;
243
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetConversationPreferencesOfCustomer, TStatus>;
244
- }
245
241
  namespace ConversationGetConversation {
246
242
  type RequestData = InferredRequestData<typeof descriptors.conversationGetConversation>;
247
243
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetConversation, TStatus>;
@@ -1338,6 +1334,10 @@ export declare namespace MittwaldAPIV2 {
1338
1334
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1339
1335
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1340
1336
  }
1337
+ namespace ConversationGetConversationPreferencesOfCustomer {
1338
+ type RequestData = InferredRequestData<typeof descriptors.conversationGetConversationPreferencesOfCustomer>;
1339
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetConversationPreferencesOfCustomer, TStatus>;
1340
+ }
1341
1341
  }
1342
1342
  namespace Components {
1343
1343
  namespace Schemas {
@@ -1761,9 +1761,10 @@ export declare namespace MittwaldAPIV2 {
1761
1761
  lastMessageAt?: string;
1762
1762
  lastMessageBy?: MittwaldAPIV2.Components.Schemas.ConversationUser;
1763
1763
  mainUser: MittwaldAPIV2.Components.Schemas.ConversationUser;
1764
- relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
1764
+ notificationRoles?: MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[];
1765
+ relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
1765
1766
  relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[];
1766
- sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
1767
+ sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference;
1767
1768
  shortId: string;
1768
1769
  status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
1769
1770
  title: string;
@@ -1815,18 +1816,10 @@ export declare namespace MittwaldAPIV2 {
1815
1816
  aggregate: "project";
1816
1817
  domain: "project";
1817
1818
  id: string;
1818
- } | {
1819
- aggregate: "appinstallation";
1820
- domain: "app";
1821
- id: string;
1822
1819
  } | {
1823
1820
  aggregate: "placementgroup";
1824
1821
  domain: "project";
1825
1822
  id: string;
1826
- } | {
1827
- aggregate: "extensionInstance";
1828
- domain: "extension";
1829
- id: string;
1830
1823
  };
1831
1824
  type ConversationStatus = "open" | "closed" | "answered" | "inProgress" | "waiting";
1832
1825
  interface ConversationStatusUpdate {
@@ -3912,6 +3905,32 @@ export declare namespace MittwaldAPIV2 {
3912
3905
  name: string;
3913
3906
  value: string;
3914
3907
  }
3908
+ type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "project_email_admin" | "project_external";
3909
+ type ConversationRelatedAggregateReference = {
3910
+ aggregate: "user";
3911
+ domain: "user";
3912
+ id: string;
3913
+ } | {
3914
+ aggregate: "customer";
3915
+ domain: "customer";
3916
+ id: string;
3917
+ } | {
3918
+ aggregate: "project";
3919
+ domain: "project";
3920
+ id: string;
3921
+ } | {
3922
+ aggregate: "appinstallation";
3923
+ domain: "app";
3924
+ id: string;
3925
+ } | {
3926
+ aggregate: "placementgroup";
3927
+ domain: "project";
3928
+ id: string;
3929
+ } | {
3930
+ aggregate: "extensionInstance";
3931
+ domain: "extension";
3932
+ id: string;
3933
+ };
3915
3934
  interface CommonsAddress {
3916
3935
  street: string;
3917
3936
  houseNumber: string;
@@ -6552,7 +6571,8 @@ export declare namespace MittwaldAPIV2 {
6552
6571
  interface RequestBody {
6553
6572
  categoryId?: string;
6554
6573
  mainUserId?: string;
6555
- relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
6574
+ notificationRoles?: MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[];
6575
+ relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
6556
6576
  sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference;
6557
6577
  title?: string;
6558
6578
  }
@@ -6794,59 +6814,6 @@ export declare namespace MittwaldAPIV2 {
6794
6814
  }
6795
6815
  }
6796
6816
  }
6797
- namespace V2CustomersCustomerIdConversationPreferences {
6798
- namespace Get {
6799
- namespace Parameters {
6800
- type Path = {
6801
- customerId: string;
6802
- };
6803
- type Header = {};
6804
- type Query = {};
6805
- }
6806
- namespace Responses {
6807
- namespace $200 {
6808
- namespace Content {
6809
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ConversationConversationPreferences;
6810
- }
6811
- }
6812
- namespace $400 {
6813
- namespace Content {
6814
- interface ApplicationJson {
6815
- [k: string]: unknown;
6816
- }
6817
- }
6818
- }
6819
- namespace $403 {
6820
- namespace Content {
6821
- interface ApplicationJson {
6822
- [k: string]: unknown;
6823
- }
6824
- }
6825
- }
6826
- namespace $404 {
6827
- namespace Content {
6828
- interface ApplicationJson {
6829
- [k: string]: unknown;
6830
- }
6831
- }
6832
- }
6833
- namespace $429 {
6834
- namespace Content {
6835
- interface ApplicationJson {
6836
- [k: string]: unknown;
6837
- }
6838
- }
6839
- }
6840
- namespace Default {
6841
- namespace Content {
6842
- interface ApplicationJson {
6843
- [k: string]: unknown;
6844
- }
6845
- }
6846
- }
6847
- }
6848
- }
6849
- }
6850
6817
  namespace V2ConversationsConversationId {
6851
6818
  namespace Get {
6852
6819
  namespace Parameters {
@@ -6906,7 +6873,7 @@ export declare namespace MittwaldAPIV2 {
6906
6873
  };
6907
6874
  interface RequestBody {
6908
6875
  categoryId?: string;
6909
- relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference;
6876
+ relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
6910
6877
  title?: string;
6911
6878
  }
6912
6879
  type Header = {};
@@ -20176,5 +20143,58 @@ export declare namespace MittwaldAPIV2 {
20176
20143
  }
20177
20144
  }
20178
20145
  }
20146
+ namespace V2CustomersCustomerIdConversationPreferences {
20147
+ namespace Get {
20148
+ namespace Parameters {
20149
+ type Path = {
20150
+ customerId: string;
20151
+ };
20152
+ type Header = {};
20153
+ type Query = {};
20154
+ }
20155
+ namespace Responses {
20156
+ namespace $200 {
20157
+ namespace Content {
20158
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ConversationConversationPreferences;
20159
+ }
20160
+ }
20161
+ namespace $400 {
20162
+ namespace Content {
20163
+ interface ApplicationJson {
20164
+ [k: string]: unknown;
20165
+ }
20166
+ }
20167
+ }
20168
+ namespace $403 {
20169
+ namespace Content {
20170
+ interface ApplicationJson {
20171
+ [k: string]: unknown;
20172
+ }
20173
+ }
20174
+ }
20175
+ namespace $404 {
20176
+ namespace Content {
20177
+ interface ApplicationJson {
20178
+ [k: string]: unknown;
20179
+ }
20180
+ }
20181
+ }
20182
+ namespace $429 {
20183
+ namespace Content {
20184
+ interface ApplicationJson {
20185
+ [k: string]: unknown;
20186
+ }
20187
+ }
20188
+ }
20189
+ namespace Default {
20190
+ namespace Content {
20191
+ interface ApplicationJson {
20192
+ [k: string]: unknown;
20193
+ }
20194
+ }
20195
+ }
20196
+ }
20197
+ }
20198
+ }
20179
20199
  }
20180
20200
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.68.0';
1
+ export declare const MittwaldAPIClientVersion = '4.69.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.69.0",
3
+ "version": "4.70.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": "6538ee683d184e39c00614bace0f3ef882eb976d"
83
+ "gitHead": "10182c4ed06412e8a4672bf55bf7e2f7c2e797a3"
84
84
  }