waldur-js-client 8.0.9-dev.43 → 8.0.9-dev.45

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.
@@ -4945,6 +4945,7 @@ export type ConstanceSettings = {
4945
4945
  ATLASSIAN_REQUEST_FEEDBACK_FIELD?: string;
4946
4946
  ATLASSIAN_TEMPLATE_FIELD?: string;
4947
4947
  ATLASSIAN_WALDUR_BACKEND_ID_FIELD?: string;
4948
+ JIRA_WEBHOOK_SHARED_SECRET?: string;
4948
4949
  ZAMMAD_API_URL?: string;
4949
4950
  ZAMMAD_TOKEN?: string;
4950
4951
  ZAMMAD_GROUP?: string;
@@ -4952,6 +4953,7 @@ export type ConstanceSettings = {
4952
4953
  ZAMMAD_COMMENT_MARKER?: string;
4953
4954
  ZAMMAD_COMMENT_PREFIX?: string;
4954
4955
  ZAMMAD_COMMENT_COOLDOWN_DURATION?: number;
4956
+ ZAMMAD_WEBHOOK_SHARED_SECRET?: string;
4955
4957
  SMAX_API_URL?: string;
4956
4958
  SMAX_TENANT_ID?: string;
4957
4959
  SMAX_LOGIN?: string;
@@ -4964,6 +4966,7 @@ export type ConstanceSettings = {
4964
4966
  SMAX_CREATION_SOURCE_NAME?: string;
4965
4967
  SMAX_REQUESTS_OFFERING?: string;
4966
4968
  SMAX_VERIFY_SSL?: boolean;
4969
+ SMAX_WEBHOOK_SHARED_SECRET?: string;
4967
4970
  ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND?: boolean;
4968
4971
  ENABLE_MOCK_COURSE_ACCOUNT_BACKEND?: boolean;
4969
4972
  PROPOSAL_REVIEW_DURATION?: number;
@@ -5109,6 +5112,18 @@ export type ConstanceSettings = {
5109
5112
  SSH_KEY_ALLOWED_TYPES?: Array<SshkeyallowedtypesEnum | BlankEnum>;
5110
5113
  SSH_KEY_MIN_RSA_KEY_SIZE?: number;
5111
5114
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
5115
+ MATRIX_ENABLED?: boolean;
5116
+ MATRIX_HOMESERVER_URL?: string;
5117
+ MATRIX_HOMESERVER_DOMAIN?: string;
5118
+ MATRIX_APPSERVICE_AS_TOKEN?: string;
5119
+ MATRIX_APPSERVICE_HS_TOKEN?: string;
5120
+ MATRIX_APPSERVICE_SENDER_LOCALPART?: string;
5121
+ MATRIX_HISTORY_EXPORT_ENABLED?: boolean;
5122
+ MATRIX_EXPORT_MEDIA?: boolean;
5123
+ MATRIX_USER_REGISTRATION_SECRET?: string;
5124
+ MATRIX_USER_ID_FORMAT?: string;
5125
+ MATRIX_LOGIN_METHOD?: string;
5126
+ MATRIX_OIDC_PROVIDER_URL?: string;
5112
5127
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
5113
5128
  PAT_ENABLED?: boolean;
5114
5129
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -5225,6 +5240,7 @@ export type ConstanceSettingsRequest = {
5225
5240
  ATLASSIAN_REQUEST_FEEDBACK_FIELD?: string;
5226
5241
  ATLASSIAN_TEMPLATE_FIELD?: string;
5227
5242
  ATLASSIAN_WALDUR_BACKEND_ID_FIELD?: string;
5243
+ JIRA_WEBHOOK_SHARED_SECRET?: string;
5228
5244
  ZAMMAD_API_URL?: string;
5229
5245
  ZAMMAD_TOKEN?: string;
5230
5246
  ZAMMAD_GROUP?: string;
@@ -5232,6 +5248,7 @@ export type ConstanceSettingsRequest = {
5232
5248
  ZAMMAD_COMMENT_MARKER?: string;
5233
5249
  ZAMMAD_COMMENT_PREFIX?: string;
5234
5250
  ZAMMAD_COMMENT_COOLDOWN_DURATION?: number;
5251
+ ZAMMAD_WEBHOOK_SHARED_SECRET?: string;
5235
5252
  SMAX_API_URL?: string;
5236
5253
  SMAX_TENANT_ID?: string;
5237
5254
  SMAX_LOGIN?: string;
@@ -5244,6 +5261,7 @@ export type ConstanceSettingsRequest = {
5244
5261
  SMAX_CREATION_SOURCE_NAME?: string;
5245
5262
  SMAX_REQUESTS_OFFERING?: string;
5246
5263
  SMAX_VERIFY_SSL?: boolean;
5264
+ SMAX_WEBHOOK_SHARED_SECRET?: string;
5247
5265
  ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND?: boolean;
5248
5266
  ENABLE_MOCK_COURSE_ACCOUNT_BACKEND?: boolean;
5249
5267
  PROPOSAL_REVIEW_DURATION?: number;
@@ -5389,6 +5407,18 @@ export type ConstanceSettingsRequest = {
5389
5407
  SSH_KEY_ALLOWED_TYPES?: Array<SshkeyallowedtypesEnum | BlankEnum>;
5390
5408
  SSH_KEY_MIN_RSA_KEY_SIZE?: number;
5391
5409
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
5410
+ MATRIX_ENABLED?: boolean;
5411
+ MATRIX_HOMESERVER_URL?: string;
5412
+ MATRIX_HOMESERVER_DOMAIN?: string;
5413
+ MATRIX_APPSERVICE_AS_TOKEN?: string;
5414
+ MATRIX_APPSERVICE_HS_TOKEN?: string;
5415
+ MATRIX_APPSERVICE_SENDER_LOCALPART?: string;
5416
+ MATRIX_HISTORY_EXPORT_ENABLED?: boolean;
5417
+ MATRIX_EXPORT_MEDIA?: boolean;
5418
+ MATRIX_USER_REGISTRATION_SECRET?: string;
5419
+ MATRIX_USER_ID_FORMAT?: string;
5420
+ MATRIX_LOGIN_METHOD?: string;
5421
+ MATRIX_OIDC_PROVIDER_URL?: string;
5392
5422
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
5393
5423
  PAT_ENABLED?: boolean;
5394
5424
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -7182,6 +7212,12 @@ export type EligibilityCheck = {
7182
7212
  is_eligible: boolean;
7183
7213
  restrictions: Array<string>;
7184
7214
  };
7215
+ export type EligibleProject = {
7216
+ uuid: string;
7217
+ name: string;
7218
+ customer_uuid: string;
7219
+ customer_name: string;
7220
+ };
7185
7221
  export type EmailHook = {
7186
7222
  readonly url: string;
7187
7223
  readonly uuid: string;
@@ -7531,6 +7567,7 @@ export type ExportTypeCompatibility = {
7531
7567
  compatible: boolean;
7532
7568
  recommended: boolean;
7533
7569
  };
7570
+ export type ExportTypeEnum = 'periodic' | 'on_deletion' | 'manual';
7534
7571
  export type ExtendDeadlineRequestRequest = {
7535
7572
  /**
7536
7573
  * New expiration date and time for the assignment batch.
@@ -10025,6 +10062,136 @@ export type MatchingConfiguration = {
10025
10062
  readonly created: string;
10026
10063
  readonly modified: string;
10027
10064
  };
10065
+ export type MatrixAppserviceSetupRequest = {
10066
+ /**
10067
+ * Waldur URL reachable by the Matrix homeserver (for webhook callbacks)
10068
+ */
10069
+ url?: string;
10070
+ /**
10071
+ * Localpart for the appservice bot user, e.g. 'waldur-bot'
10072
+ */
10073
+ sender_localpart?: string;
10074
+ /**
10075
+ * Matrix homeserver base URL. Only persisted if MATRIX_HOMESERVER_URL is not already configured.
10076
+ */
10077
+ homeserver_url?: string;
10078
+ /**
10079
+ * Matrix homeserver server_name domain. Only persisted if MATRIX_HOMESERVER_DOMAIN is not already configured.
10080
+ */
10081
+ homeserver_domain?: string;
10082
+ /**
10083
+ * Shared secret configured in the homeserver for user registration. Only persisted if MATRIX_USER_REGISTRATION_SECRET is not already configured.
10084
+ */
10085
+ user_registration_secret?: string;
10086
+ };
10087
+ export type MatrixAppserviceSetupResponse = {
10088
+ registration_yaml: string;
10089
+ as_token: string;
10090
+ hs_token: string;
10091
+ sender_localpart: string;
10092
+ webhook_url: string;
10093
+ bot_provision_status: string;
10094
+ };
10095
+ export type MatrixAppserviceStatus = {
10096
+ enabled: boolean;
10097
+ as_token_configured: boolean;
10098
+ hs_token_configured: boolean;
10099
+ sender_localpart: string;
10100
+ bot_user_id: string;
10101
+ webhook_path: string;
10102
+ homeserver_url: string;
10103
+ homeserver_domain: string;
10104
+ transaction_count: number;
10105
+ };
10106
+ export type MatrixCredentials = {
10107
+ method: string;
10108
+ homeserver_url: string;
10109
+ matrix_user_id: string;
10110
+ password?: string;
10111
+ login_token?: string;
10112
+ oidc_provider_url?: string;
10113
+ room_id?: string;
10114
+ access_token?: string;
10115
+ };
10116
+ export type MatrixDiagnosticCheck = {
10117
+ name: string;
10118
+ label: string;
10119
+ ok: boolean;
10120
+ detail: string;
10121
+ };
10122
+ export type MatrixDiagnosticsResponse = {
10123
+ ok: boolean;
10124
+ checks: Array<MatrixDiagnosticCheck>;
10125
+ };
10126
+ export type MatrixHistoryExport = {
10127
+ readonly uuid: string;
10128
+ readonly url: string;
10129
+ readonly room_uuid: string;
10130
+ readonly room_name: string;
10131
+ export_type: ExportTypeEnum;
10132
+ readonly message_count: number;
10133
+ readonly media_count: number;
10134
+ state: MatrixHistoryExportStateEnum;
10135
+ readonly error_message: string;
10136
+ readonly export_file_url: string | null;
10137
+ readonly media_file_url: string | null;
10138
+ readonly started_at: string | null;
10139
+ readonly completed_at: string | null;
10140
+ readonly created: string;
10141
+ };
10142
+ export type MatrixHistoryExportStateEnum = 'pending' | 'exporting' | 'completed' | 'failed';
10143
+ export type MatrixReprovisionResponse = {
10144
+ rooms_reprovisioned: number;
10145
+ users_reset: number;
10146
+ };
10147
+ export type MatrixRoom = {
10148
+ readonly uuid: string;
10149
+ readonly url: string;
10150
+ /**
10151
+ * Matrix room ID, e.g. !abc:domain
10152
+ */
10153
+ readonly room_id: string | null;
10154
+ room_name?: string;
10155
+ /**
10156
+ * Matrix room alias, e.g. #project-name:domain
10157
+ */
10158
+ readonly room_alias: string;
10159
+ state: MatrixRoomStateEnum;
10160
+ readonly error_message: string;
10161
+ readonly scope: string;
10162
+ readonly scope_uuid: string | null;
10163
+ readonly scope_name: string | null;
10164
+ readonly customer_uuid: string | null;
10165
+ readonly customer_name: string | null;
10166
+ readonly members_count: number;
10167
+ readonly members: Array<MatrixRoomMemberSummary>;
10168
+ readonly current_user_membership_state: string | null;
10169
+ readonly created: string;
10170
+ readonly modified: string;
10171
+ };
10172
+ export type MatrixRoomCreateRequest = {
10173
+ project: string;
10174
+ };
10175
+ export type MatrixRoomDisableRequest = {
10176
+ delete_history?: boolean;
10177
+ };
10178
+ export type MatrixRoomMember = {
10179
+ readonly uuid: string;
10180
+ readonly user_uuid: string;
10181
+ readonly user_full_name: string;
10182
+ readonly matrix_user_id: string;
10183
+ readonly power_level: number;
10184
+ membership_state: MembershipStateEnum;
10185
+ readonly created: string;
10186
+ readonly modified: string;
10187
+ };
10188
+ export type MatrixRoomMemberSummary = {
10189
+ user_full_name: string;
10190
+ matrix_user_id: string;
10191
+ membership_state: string;
10192
+ };
10193
+ export type MatrixRoomStateEnum = 'creating' | 'active' | 'disabling' | 'archived' | 'error';
10194
+ export type MembershipStateEnum = 'invited' | 'joined' | 'left' | 'banned';
10028
10195
  export type MergedPluginOptions = {
10029
10196
  /**
10030
10197
  * If set to True, an order can be processed without approval
@@ -28793,6 +28960,7 @@ export type ConstanceSettingsRequestForm = {
28793
28960
  ATLASSIAN_REQUEST_FEEDBACK_FIELD?: string;
28794
28961
  ATLASSIAN_TEMPLATE_FIELD?: string;
28795
28962
  ATLASSIAN_WALDUR_BACKEND_ID_FIELD?: string;
28963
+ JIRA_WEBHOOK_SHARED_SECRET?: string;
28796
28964
  ZAMMAD_API_URL?: string;
28797
28965
  ZAMMAD_TOKEN?: string;
28798
28966
  ZAMMAD_GROUP?: string;
@@ -28800,6 +28968,7 @@ export type ConstanceSettingsRequestForm = {
28800
28968
  ZAMMAD_COMMENT_MARKER?: string;
28801
28969
  ZAMMAD_COMMENT_PREFIX?: string;
28802
28970
  ZAMMAD_COMMENT_COOLDOWN_DURATION?: number;
28971
+ ZAMMAD_WEBHOOK_SHARED_SECRET?: string;
28803
28972
  SMAX_API_URL?: string;
28804
28973
  SMAX_TENANT_ID?: string;
28805
28974
  SMAX_LOGIN?: string;
@@ -28812,6 +28981,7 @@ export type ConstanceSettingsRequestForm = {
28812
28981
  SMAX_CREATION_SOURCE_NAME?: string;
28813
28982
  SMAX_REQUESTS_OFFERING?: string;
28814
28983
  SMAX_VERIFY_SSL?: boolean;
28984
+ SMAX_WEBHOOK_SHARED_SECRET?: string;
28815
28985
  ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND?: boolean;
28816
28986
  ENABLE_MOCK_COURSE_ACCOUNT_BACKEND?: boolean;
28817
28987
  PROPOSAL_REVIEW_DURATION?: number;
@@ -28957,6 +29127,18 @@ export type ConstanceSettingsRequestForm = {
28957
29127
  SSH_KEY_ALLOWED_TYPES?: Array<SshkeyallowedtypesEnum | BlankEnum>;
28958
29128
  SSH_KEY_MIN_RSA_KEY_SIZE?: number;
28959
29129
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
29130
+ MATRIX_ENABLED?: boolean;
29131
+ MATRIX_HOMESERVER_URL?: string;
29132
+ MATRIX_HOMESERVER_DOMAIN?: string;
29133
+ MATRIX_APPSERVICE_AS_TOKEN?: string;
29134
+ MATRIX_APPSERVICE_HS_TOKEN?: string;
29135
+ MATRIX_APPSERVICE_SENDER_LOCALPART?: string;
29136
+ MATRIX_HISTORY_EXPORT_ENABLED?: boolean;
29137
+ MATRIX_EXPORT_MEDIA?: boolean;
29138
+ MATRIX_USER_REGISTRATION_SECRET?: string;
29139
+ MATRIX_USER_ID_FORMAT?: string;
29140
+ MATRIX_LOGIN_METHOD?: string;
29141
+ MATRIX_OIDC_PROVIDER_URL?: string;
28960
29142
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
28961
29143
  PAT_ENABLED?: boolean;
28962
29144
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -29073,6 +29255,7 @@ export type ConstanceSettingsRequestMultipart = {
29073
29255
  ATLASSIAN_REQUEST_FEEDBACK_FIELD?: string;
29074
29256
  ATLASSIAN_TEMPLATE_FIELD?: string;
29075
29257
  ATLASSIAN_WALDUR_BACKEND_ID_FIELD?: string;
29258
+ JIRA_WEBHOOK_SHARED_SECRET?: string;
29076
29259
  ZAMMAD_API_URL?: string;
29077
29260
  ZAMMAD_TOKEN?: string;
29078
29261
  ZAMMAD_GROUP?: string;
@@ -29080,6 +29263,7 @@ export type ConstanceSettingsRequestMultipart = {
29080
29263
  ZAMMAD_COMMENT_MARKER?: string;
29081
29264
  ZAMMAD_COMMENT_PREFIX?: string;
29082
29265
  ZAMMAD_COMMENT_COOLDOWN_DURATION?: number;
29266
+ ZAMMAD_WEBHOOK_SHARED_SECRET?: string;
29083
29267
  SMAX_API_URL?: string;
29084
29268
  SMAX_TENANT_ID?: string;
29085
29269
  SMAX_LOGIN?: string;
@@ -29092,6 +29276,7 @@ export type ConstanceSettingsRequestMultipart = {
29092
29276
  SMAX_CREATION_SOURCE_NAME?: string;
29093
29277
  SMAX_REQUESTS_OFFERING?: string;
29094
29278
  SMAX_VERIFY_SSL?: boolean;
29279
+ SMAX_WEBHOOK_SHARED_SECRET?: string;
29095
29280
  ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND?: boolean;
29096
29281
  ENABLE_MOCK_COURSE_ACCOUNT_BACKEND?: boolean;
29097
29282
  PROPOSAL_REVIEW_DURATION?: number;
@@ -29237,6 +29422,18 @@ export type ConstanceSettingsRequestMultipart = {
29237
29422
  SSH_KEY_ALLOWED_TYPES?: Array<SshkeyallowedtypesEnum | BlankEnum>;
29238
29423
  SSH_KEY_MIN_RSA_KEY_SIZE?: number;
29239
29424
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
29425
+ MATRIX_ENABLED?: boolean;
29426
+ MATRIX_HOMESERVER_URL?: string;
29427
+ MATRIX_HOMESERVER_DOMAIN?: string;
29428
+ MATRIX_APPSERVICE_AS_TOKEN?: string;
29429
+ MATRIX_APPSERVICE_HS_TOKEN?: string;
29430
+ MATRIX_APPSERVICE_SENDER_LOCALPART?: string;
29431
+ MATRIX_HISTORY_EXPORT_ENABLED?: boolean;
29432
+ MATRIX_EXPORT_MEDIA?: boolean;
29433
+ MATRIX_USER_REGISTRATION_SECRET?: string;
29434
+ MATRIX_USER_ID_FORMAT?: string;
29435
+ MATRIX_LOGIN_METHOD?: string;
29436
+ MATRIX_OIDC_PROVIDER_URL?: string;
29240
29437
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
29241
29438
  PAT_ENABLED?: boolean;
29242
29439
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -29881,6 +30078,20 @@ export type Page = number;
29881
30078
  * Number of results to return per page.
29882
30079
  */
29883
30080
  export type PageSize = number;
30081
+ export type MatrixAppV1TransactionsUpdateData = {
30082
+ body?: never;
30083
+ path: {
30084
+ txn_id: string;
30085
+ };
30086
+ query?: never;
30087
+ url: '/_matrix/app/v1/transactions/{txn_id}';
30088
+ };
30089
+ export type MatrixAppV1TransactionsUpdateResponses = {
30090
+ /**
30091
+ * No response body
30092
+ */
30093
+ 200: unknown;
30094
+ };
29884
30095
  export type ApiAuthEduteamsCompleteRetrieveData = {
29885
30096
  body?: never;
29886
30097
  path?: never;
@@ -31294,6 +31505,46 @@ export type AdminArrowVendorOfferingMappingsVendorChoicesCountResponses = {
31294
31505
  */
31295
31506
  200: unknown;
31296
31507
  };
31508
+ export type AdminMatrixAppserviceSetupData = {
31509
+ body?: MatrixAppserviceSetupRequest;
31510
+ path?: never;
31511
+ query?: never;
31512
+ url: '/api/admin/matrix-appservice/setup/';
31513
+ };
31514
+ export type AdminMatrixAppserviceSetupResponses = {
31515
+ 200: MatrixAppserviceSetupResponse;
31516
+ };
31517
+ export type AdminMatrixAppserviceSetupResponse = AdminMatrixAppserviceSetupResponses[keyof AdminMatrixAppserviceSetupResponses];
31518
+ export type AdminMatrixAppserviceStatusRetrieveData = {
31519
+ body?: never;
31520
+ path?: never;
31521
+ query?: never;
31522
+ url: '/api/admin/matrix-appservice/status/';
31523
+ };
31524
+ export type AdminMatrixAppserviceStatusRetrieveResponses = {
31525
+ 200: MatrixAppserviceStatus;
31526
+ };
31527
+ export type AdminMatrixAppserviceStatusRetrieveResponse = AdminMatrixAppserviceStatusRetrieveResponses[keyof AdminMatrixAppserviceStatusRetrieveResponses];
31528
+ export type AdminMatrixDiagnosticsRetrieveData = {
31529
+ body?: never;
31530
+ path?: never;
31531
+ query?: never;
31532
+ url: '/api/admin/matrix/diagnostics/';
31533
+ };
31534
+ export type AdminMatrixDiagnosticsRetrieveResponses = {
31535
+ 200: MatrixDiagnosticsResponse;
31536
+ };
31537
+ export type AdminMatrixDiagnosticsRetrieveResponse = AdminMatrixDiagnosticsRetrieveResponses[keyof AdminMatrixDiagnosticsRetrieveResponses];
31538
+ export type AdminMatrixReprovisionData = {
31539
+ body?: never;
31540
+ path?: never;
31541
+ query?: never;
31542
+ url: '/api/admin/matrix/reprovision/';
31543
+ };
31544
+ export type AdminMatrixReprovisionResponses = {
31545
+ 202: MatrixReprovisionResponse;
31546
+ };
31547
+ export type AdminMatrixReprovisionResponse = AdminMatrixReprovisionResponses[keyof AdminMatrixReprovisionResponses];
31297
31548
  export type AffiliatedOrganizationsListData = {
31298
31549
  body?: never;
31299
31550
  path?: never;
@@ -62667,6 +62918,373 @@ export type MarketplaceUserOfferingConsentsRevokeResponses = {
62667
62918
  200: UserOfferingConsent;
62668
62919
  };
62669
62920
  export type MarketplaceUserOfferingConsentsRevokeResponse = MarketplaceUserOfferingConsentsRevokeResponses[keyof MarketplaceUserOfferingConsentsRevokeResponses];
62921
+ export type MatrixCredentialsRetrieveData = {
62922
+ body?: never;
62923
+ path?: never;
62924
+ query?: never;
62925
+ url: '/api/matrix/credentials/';
62926
+ };
62927
+ export type MatrixCredentialsRetrieveResponses = {
62928
+ 200: MatrixCredentials;
62929
+ };
62930
+ export type MatrixCredentialsRetrieveResponse = MatrixCredentialsRetrieveResponses[keyof MatrixCredentialsRetrieveResponses];
62931
+ export type MatrixExportsListData = {
62932
+ body?: never;
62933
+ path?: never;
62934
+ query?: {
62935
+ export_type?: ExportTypeEnum;
62936
+ /**
62937
+ * A page number within the paginated result set.
62938
+ */
62939
+ page?: number;
62940
+ /**
62941
+ * Number of results to return per page.
62942
+ */
62943
+ page_size?: number;
62944
+ /**
62945
+ * Room UUID
62946
+ */
62947
+ room_uuid?: string;
62948
+ state?: MatrixHistoryExportStateEnum;
62949
+ };
62950
+ url: '/api/matrix/exports/';
62951
+ };
62952
+ export type MatrixExportsListResponses = {
62953
+ 200: Array<MatrixHistoryExport>;
62954
+ };
62955
+ export type MatrixExportsListResponse = MatrixExportsListResponses[keyof MatrixExportsListResponses];
62956
+ export type MatrixExportsCountData = {
62957
+ body?: never;
62958
+ path?: never;
62959
+ query?: {
62960
+ export_type?: ExportTypeEnum;
62961
+ /**
62962
+ * A page number within the paginated result set.
62963
+ */
62964
+ page?: number;
62965
+ /**
62966
+ * Number of results to return per page.
62967
+ */
62968
+ page_size?: number;
62969
+ /**
62970
+ * Room UUID
62971
+ */
62972
+ room_uuid?: string;
62973
+ state?: MatrixHistoryExportStateEnum;
62974
+ };
62975
+ url: '/api/matrix/exports/';
62976
+ };
62977
+ export type MatrixExportsCountResponses = {
62978
+ /**
62979
+ * No response body
62980
+ */
62981
+ 200: unknown;
62982
+ };
62983
+ export type MatrixExportsRetrieveData = {
62984
+ body?: never;
62985
+ path: {
62986
+ uuid: string;
62987
+ };
62988
+ query?: never;
62989
+ url: '/api/matrix/exports/{uuid}/';
62990
+ };
62991
+ export type MatrixExportsRetrieveResponses = {
62992
+ 200: MatrixHistoryExport;
62993
+ };
62994
+ export type MatrixExportsRetrieveResponse = MatrixExportsRetrieveResponses[keyof MatrixExportsRetrieveResponses];
62995
+ export type MatrixExportsDownloadRetrieveData = {
62996
+ body?: never;
62997
+ path: {
62998
+ /**
62999
+ * Which artifact to stream.
63000
+ */
63001
+ kind: 'export' | 'media';
63002
+ uuid: string;
63003
+ };
63004
+ query?: never;
63005
+ url: '/api/matrix/exports/{uuid}/download/{kind}/';
63006
+ };
63007
+ export type MatrixExportsDownloadRetrieveResponses = {
63008
+ 200: Blob | File;
63009
+ };
63010
+ export type MatrixExportsDownloadRetrieveResponse = MatrixExportsDownloadRetrieveResponses[keyof MatrixExportsDownloadRetrieveResponses];
63011
+ export type MatrixRoomsListData = {
63012
+ body?: never;
63013
+ path?: never;
63014
+ query?: {
63015
+ /**
63016
+ * Only rooms the current user is a member of
63017
+ */
63018
+ member?: boolean;
63019
+ /**
63020
+ * A page number within the paginated result set.
63021
+ */
63022
+ page?: number;
63023
+ /**
63024
+ * Number of results to return per page.
63025
+ */
63026
+ page_size?: number;
63027
+ /**
63028
+ * Project UUID
63029
+ */
63030
+ project_uuid?: string;
63031
+ state?: MatrixRoomStateEnum;
63032
+ };
63033
+ url: '/api/matrix/rooms/';
63034
+ };
63035
+ export type MatrixRoomsListResponses = {
63036
+ 200: Array<MatrixRoom>;
63037
+ };
63038
+ export type MatrixRoomsListResponse = MatrixRoomsListResponses[keyof MatrixRoomsListResponses];
63039
+ export type MatrixRoomsCountData = {
63040
+ body?: never;
63041
+ path?: never;
63042
+ query?: {
63043
+ /**
63044
+ * Only rooms the current user is a member of
63045
+ */
63046
+ member?: boolean;
63047
+ /**
63048
+ * A page number within the paginated result set.
63049
+ */
63050
+ page?: number;
63051
+ /**
63052
+ * Number of results to return per page.
63053
+ */
63054
+ page_size?: number;
63055
+ /**
63056
+ * Project UUID
63057
+ */
63058
+ project_uuid?: string;
63059
+ state?: MatrixRoomStateEnum;
63060
+ };
63061
+ url: '/api/matrix/rooms/';
63062
+ };
63063
+ export type MatrixRoomsCountResponses = {
63064
+ /**
63065
+ * No response body
63066
+ */
63067
+ 200: unknown;
63068
+ };
63069
+ export type MatrixRoomsCreateData = {
63070
+ body: MatrixRoomCreateRequest;
63071
+ path?: never;
63072
+ query?: never;
63073
+ url: '/api/matrix/rooms/';
63074
+ };
63075
+ export type MatrixRoomsCreateResponses = {
63076
+ 201: MatrixRoom;
63077
+ };
63078
+ export type MatrixRoomsCreateResponse = MatrixRoomsCreateResponses[keyof MatrixRoomsCreateResponses];
63079
+ export type MatrixRoomsDestroyData = {
63080
+ body?: never;
63081
+ path: {
63082
+ uuid: string;
63083
+ };
63084
+ query?: never;
63085
+ url: '/api/matrix/rooms/{uuid}/';
63086
+ };
63087
+ export type MatrixRoomsDestroyResponses = {
63088
+ /**
63089
+ * No response body
63090
+ */
63091
+ 204: void;
63092
+ };
63093
+ export type MatrixRoomsDestroyResponse = MatrixRoomsDestroyResponses[keyof MatrixRoomsDestroyResponses];
63094
+ export type MatrixRoomsRetrieveData = {
63095
+ body?: never;
63096
+ path: {
63097
+ uuid: string;
63098
+ };
63099
+ query?: never;
63100
+ url: '/api/matrix/rooms/{uuid}/';
63101
+ };
63102
+ export type MatrixRoomsRetrieveResponses = {
63103
+ 200: MatrixRoom;
63104
+ };
63105
+ export type MatrixRoomsRetrieveResponse = MatrixRoomsRetrieveResponses[keyof MatrixRoomsRetrieveResponses];
63106
+ export type MatrixRoomsDisableData = {
63107
+ body?: MatrixRoomDisableRequest;
63108
+ path: {
63109
+ uuid: string;
63110
+ };
63111
+ query?: never;
63112
+ url: '/api/matrix/rooms/{uuid}/disable/';
63113
+ };
63114
+ export type MatrixRoomsDisableResponses = {
63115
+ 202: MatrixRoom;
63116
+ };
63117
+ export type MatrixRoomsDisableResponse = MatrixRoomsDisableResponses[keyof MatrixRoomsDisableResponses];
63118
+ export type MatrixRoomsExportHistoryData = {
63119
+ body?: never;
63120
+ path: {
63121
+ uuid: string;
63122
+ };
63123
+ query?: never;
63124
+ url: '/api/matrix/rooms/{uuid}/export_history/';
63125
+ };
63126
+ export type MatrixRoomsExportHistoryResponses = {
63127
+ 202: MatrixHistoryExport;
63128
+ };
63129
+ export type MatrixRoomsExportHistoryResponse = MatrixRoomsExportHistoryResponses[keyof MatrixRoomsExportHistoryResponses];
63130
+ export type MatrixRoomsJoinData = {
63131
+ body?: never;
63132
+ path: {
63133
+ uuid: string;
63134
+ };
63135
+ query?: never;
63136
+ url: '/api/matrix/rooms/{uuid}/join/';
63137
+ };
63138
+ export type MatrixRoomsJoinResponses = {
63139
+ 202: MatrixRoom;
63140
+ };
63141
+ export type MatrixRoomsJoinResponse = MatrixRoomsJoinResponses[keyof MatrixRoomsJoinResponses];
63142
+ export type MatrixRoomsLeaveData = {
63143
+ body?: never;
63144
+ path: {
63145
+ uuid: string;
63146
+ };
63147
+ query?: never;
63148
+ url: '/api/matrix/rooms/{uuid}/leave/';
63149
+ };
63150
+ export type MatrixRoomsLeaveResponses = {
63151
+ 202: MatrixRoom;
63152
+ };
63153
+ export type MatrixRoomsLeaveResponse = MatrixRoomsLeaveResponses[keyof MatrixRoomsLeaveResponses];
63154
+ export type MatrixRoomsMembersListData = {
63155
+ body?: never;
63156
+ path: {
63157
+ uuid: string;
63158
+ };
63159
+ query?: {
63160
+ /**
63161
+ * Only rooms the current user is a member of
63162
+ */
63163
+ member?: boolean;
63164
+ /**
63165
+ * A page number within the paginated result set.
63166
+ */
63167
+ page?: number;
63168
+ /**
63169
+ * Number of results to return per page.
63170
+ */
63171
+ page_size?: number;
63172
+ /**
63173
+ * Project UUID
63174
+ */
63175
+ project_uuid?: string;
63176
+ state?: MatrixRoomStateEnum;
63177
+ };
63178
+ url: '/api/matrix/rooms/{uuid}/members/';
63179
+ };
63180
+ export type MatrixRoomsMembersListResponses = {
63181
+ 200: Array<MatrixRoomMember>;
63182
+ };
63183
+ export type MatrixRoomsMembersListResponse = MatrixRoomsMembersListResponses[keyof MatrixRoomsMembersListResponses];
63184
+ export type MatrixRoomsReactivateData = {
63185
+ body?: never;
63186
+ path: {
63187
+ uuid: string;
63188
+ };
63189
+ query?: never;
63190
+ url: '/api/matrix/rooms/{uuid}/reactivate/';
63191
+ };
63192
+ export type MatrixRoomsReactivateResponses = {
63193
+ 202: MatrixRoom;
63194
+ };
63195
+ export type MatrixRoomsReactivateResponse = MatrixRoomsReactivateResponses[keyof MatrixRoomsReactivateResponses];
63196
+ export type MatrixRoomsRetryData = {
63197
+ body?: never;
63198
+ path: {
63199
+ uuid: string;
63200
+ };
63201
+ query?: never;
63202
+ url: '/api/matrix/rooms/{uuid}/retry/';
63203
+ };
63204
+ export type MatrixRoomsRetryResponses = {
63205
+ 202: MatrixRoom;
63206
+ };
63207
+ export type MatrixRoomsRetryResponse = MatrixRoomsRetryResponses[keyof MatrixRoomsRetryResponses];
63208
+ export type MatrixRoomsSyncMembersData = {
63209
+ body?: never;
63210
+ path: {
63211
+ uuid: string;
63212
+ };
63213
+ query?: never;
63214
+ url: '/api/matrix/rooms/{uuid}/sync_members/';
63215
+ };
63216
+ export type MatrixRoomsSyncMembersResponses = {
63217
+ /**
63218
+ * No response body
63219
+ */
63220
+ 202: unknown;
63221
+ };
63222
+ export type MatrixRoomsEligibleProjectsListData = {
63223
+ body?: never;
63224
+ path?: never;
63225
+ query?: {
63226
+ /**
63227
+ * Limit results to projects under this customer.
63228
+ */
63229
+ customer_uuid?: string;
63230
+ /**
63231
+ * Only rooms the current user is a member of
63232
+ */
63233
+ member?: boolean;
63234
+ /**
63235
+ * A page number within the paginated result set.
63236
+ */
63237
+ page?: number;
63238
+ /**
63239
+ * Number of results to return per page.
63240
+ */
63241
+ page_size?: number;
63242
+ /**
63243
+ * Project UUID
63244
+ */
63245
+ project_uuid?: string;
63246
+ state?: MatrixRoomStateEnum;
63247
+ };
63248
+ url: '/api/matrix/rooms/eligible_projects/';
63249
+ };
63250
+ export type MatrixRoomsEligibleProjectsListResponses = {
63251
+ 200: Array<EligibleProject>;
63252
+ };
63253
+ export type MatrixRoomsEligibleProjectsListResponse = MatrixRoomsEligibleProjectsListResponses[keyof MatrixRoomsEligibleProjectsListResponses];
63254
+ export type MatrixRoomsEligibleProjectsCountData = {
63255
+ body?: never;
63256
+ path?: never;
63257
+ query?: {
63258
+ /**
63259
+ * Limit results to projects under this customer.
63260
+ */
63261
+ customer_uuid?: string;
63262
+ /**
63263
+ * Only rooms the current user is a member of
63264
+ */
63265
+ member?: boolean;
63266
+ /**
63267
+ * A page number within the paginated result set.
63268
+ */
63269
+ page?: number;
63270
+ /**
63271
+ * Number of results to return per page.
63272
+ */
63273
+ page_size?: number;
63274
+ /**
63275
+ * Project UUID
63276
+ */
63277
+ project_uuid?: string;
63278
+ state?: MatrixRoomStateEnum;
63279
+ };
63280
+ url: '/api/matrix/rooms/eligible_projects/';
63281
+ };
63282
+ export type MatrixRoomsEligibleProjectsCountResponses = {
63283
+ /**
63284
+ * No response body
63285
+ */
63286
+ 200: unknown;
63287
+ };
62670
63288
  export type MediaRetrieveData = {
62671
63289
  body?: never;
62672
63290
  path: {