@matchi/api 0.20260804.1 → 0.20260814.1

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.
@@ -2255,6 +2255,24 @@ declare class AuthorizedService {
2255
2255
  }): CancelablePromise<{
2256
2256
  chatId: string;
2257
2257
  }>;
2258
+ /**
2259
+ * M2M request to add a user to the chat of a target
2260
+ * @param target The type of the target
2261
+ * @param targetId The unique target id related to the chat
2262
+ * @param userId The user to add to or remove from the chat of the target
2263
+ * @returns void
2264
+ * @throws ApiError
2265
+ */
2266
+ static adminAddChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
2267
+ /**
2268
+ * M2M request to remove a user from the chat of a target
2269
+ * @param target The type of the target
2270
+ * @param targetId The unique target id related to the chat
2271
+ * @param userId The user to add to or remove from the chat of the target
2272
+ * @returns void
2273
+ * @throws ApiError
2274
+ */
2275
+ static adminRemoveChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
2258
2276
  /**
2259
2277
  * Get the chat of the specified target id
2260
2278
  * @param target The type of the target
@@ -3188,6 +3206,24 @@ declare class UserServiceV1Service {
3188
3206
  }): CancelablePromise<{
3189
3207
  chatId: string;
3190
3208
  }>;
3209
+ /**
3210
+ * M2M request to add a user to the chat of a target
3211
+ * @param target The type of the target
3212
+ * @param targetId The unique target id related to the chat
3213
+ * @param userId The user to add to or remove from the chat of the target
3214
+ * @returns void
3215
+ * @throws ApiError
3216
+ */
3217
+ static adminAddChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
3218
+ /**
3219
+ * M2M request to remove a user from the chat of a target
3220
+ * @param target The type of the target
3221
+ * @param targetId The unique target id related to the chat
3222
+ * @param userId The user to add to or remove from the chat of the target
3223
+ * @returns void
3224
+ * @throws ApiError
3225
+ */
3226
+ static adminRemoveChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
3191
3227
  /**
3192
3228
  * Get the chat of the specified target id
3193
3229
  * @param target The type of the target
@@ -2255,6 +2255,24 @@ declare class AuthorizedService {
2255
2255
  }): CancelablePromise<{
2256
2256
  chatId: string;
2257
2257
  }>;
2258
+ /**
2259
+ * M2M request to add a user to the chat of a target
2260
+ * @param target The type of the target
2261
+ * @param targetId The unique target id related to the chat
2262
+ * @param userId The user to add to or remove from the chat of the target
2263
+ * @returns void
2264
+ * @throws ApiError
2265
+ */
2266
+ static adminAddChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
2267
+ /**
2268
+ * M2M request to remove a user from the chat of a target
2269
+ * @param target The type of the target
2270
+ * @param targetId The unique target id related to the chat
2271
+ * @param userId The user to add to or remove from the chat of the target
2272
+ * @returns void
2273
+ * @throws ApiError
2274
+ */
2275
+ static adminRemoveChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
2258
2276
  /**
2259
2277
  * Get the chat of the specified target id
2260
2278
  * @param target The type of the target
@@ -3188,6 +3206,24 @@ declare class UserServiceV1Service {
3188
3206
  }): CancelablePromise<{
3189
3207
  chatId: string;
3190
3208
  }>;
3209
+ /**
3210
+ * M2M request to add a user to the chat of a target
3211
+ * @param target The type of the target
3212
+ * @param targetId The unique target id related to the chat
3213
+ * @param userId The user to add to or remove from the chat of the target
3214
+ * @returns void
3215
+ * @throws ApiError
3216
+ */
3217
+ static adminAddChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
3218
+ /**
3219
+ * M2M request to remove a user from the chat of a target
3220
+ * @param target The type of the target
3221
+ * @param targetId The unique target id related to the chat
3222
+ * @param userId The user to add to or remove from the chat of the target
3223
+ * @returns void
3224
+ * @throws ApiError
3225
+ */
3226
+ static adminRemoveChatUser(target: chatTarget, targetId: string, userId: string): CancelablePromise<void>;
3191
3227
  /**
3192
3228
  * Get the chat of the specified target id
3193
3229
  * @param target The type of the target