waldur-js-client 8.0.7-dev.28 → 8.0.7-dev.29

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/sdk.gen.js CHANGED
@@ -5308,6 +5308,120 @@ export const callManagingOrganisationsUpdateUser = (options) => {
5308
5308
  }
5309
5309
  });
5310
5310
  };
5311
+ /**
5312
+ * Get call performance statistics across all calls.
5313
+ */
5314
+ export const callManagingOrganisationsGlobalStatsPerformanceList = (options) => {
5315
+ return (options?.client ?? _heyApiClient).get({
5316
+ security: [
5317
+ {
5318
+ name: 'Authorization',
5319
+ type: 'apiKey'
5320
+ },
5321
+ {
5322
+ scheme: 'bearer',
5323
+ type: 'http'
5324
+ }
5325
+ ],
5326
+ url: '/api/call-managing-organisations/global_stats_performance/',
5327
+ ...options
5328
+ });
5329
+ };
5330
+ /**
5331
+ * Get number of items in the collection matching the request parameters.
5332
+ */
5333
+ export const callManagingOrganisationsGlobalStatsPerformanceCount = (options) => {
5334
+ return (options?.client ?? _heyApiClient).head({
5335
+ security: [
5336
+ {
5337
+ name: 'Authorization',
5338
+ type: 'apiKey'
5339
+ },
5340
+ {
5341
+ scheme: 'bearer',
5342
+ type: 'http'
5343
+ }
5344
+ ],
5345
+ url: '/api/call-managing-organisations/global_stats_performance/',
5346
+ ...options
5347
+ });
5348
+ };
5349
+ /**
5350
+ * Get resource demand statistics across all calls and offerings.
5351
+ */
5352
+ export const callManagingOrganisationsGlobalStatsResourceDemandList = (options) => {
5353
+ return (options?.client ?? _heyApiClient).get({
5354
+ security: [
5355
+ {
5356
+ name: 'Authorization',
5357
+ type: 'apiKey'
5358
+ },
5359
+ {
5360
+ scheme: 'bearer',
5361
+ type: 'http'
5362
+ }
5363
+ ],
5364
+ url: '/api/call-managing-organisations/global_stats_resource_demand/',
5365
+ ...options
5366
+ });
5367
+ };
5368
+ /**
5369
+ * Get number of items in the collection matching the request parameters.
5370
+ */
5371
+ export const callManagingOrganisationsGlobalStatsResourceDemandCount = (options) => {
5372
+ return (options?.client ?? _heyApiClient).head({
5373
+ security: [
5374
+ {
5375
+ name: 'Authorization',
5376
+ type: 'apiKey'
5377
+ },
5378
+ {
5379
+ scheme: 'bearer',
5380
+ type: 'http'
5381
+ }
5382
+ ],
5383
+ url: '/api/call-managing-organisations/global_stats_resource_demand/',
5384
+ ...options
5385
+ });
5386
+ };
5387
+ /**
5388
+ * Get review progress statistics across all reviewers.
5389
+ */
5390
+ export const callManagingOrganisationsGlobalStatsReviewProgressList = (options) => {
5391
+ return (options?.client ?? _heyApiClient).get({
5392
+ security: [
5393
+ {
5394
+ name: 'Authorization',
5395
+ type: 'apiKey'
5396
+ },
5397
+ {
5398
+ scheme: 'bearer',
5399
+ type: 'http'
5400
+ }
5401
+ ],
5402
+ url: '/api/call-managing-organisations/global_stats_review_progress/',
5403
+ ...options
5404
+ });
5405
+ };
5406
+ /**
5407
+ * Get number of items in the collection matching the request parameters.
5408
+ */
5409
+ export const callManagingOrganisationsGlobalStatsReviewProgressCount = (options) => {
5410
+ return (options?.client ?? _heyApiClient).head({
5411
+ security: [
5412
+ {
5413
+ name: 'Authorization',
5414
+ type: 'apiKey'
5415
+ },
5416
+ {
5417
+ scheme: 'bearer',
5418
+ type: 'http'
5419
+ }
5420
+ ],
5421
+ url: '/api/call-managing-organisations/global_stats_review_progress/',
5422
+ ...options
5423
+ });
5424
+ };
5311
5425
  export const callProposalProjectRoleMappingsList = (options) => {
5312
5426
  return (options?.client ?? _heyApiClient).get({
5313
5427
  security: [
@@ -2820,6 +2820,25 @@ export type CallManagingOrganisationStat = {
2820
2820
  readonly calls_closing_in_one_week: number;
2821
2821
  readonly offering_requests_pending: number;
2822
2822
  };
2823
+ export type CallPerformanceStat = {
2824
+ readonly call_uuid: string;
2825
+ readonly call_name: string;
2826
+ readonly managing_organization_name: string;
2827
+ readonly state: string;
2828
+ readonly total_proposals: number;
2829
+ readonly proposals_draft: number;
2830
+ readonly proposals_submitted: number;
2831
+ readonly proposals_in_review: number;
2832
+ readonly proposals_accepted: number;
2833
+ readonly proposals_rejected: number;
2834
+ readonly proposals_canceled: number;
2835
+ readonly acceptance_rate: number;
2836
+ readonly total_reviews: number;
2837
+ readonly reviews_completed: number;
2838
+ readonly average_score: number | null;
2839
+ readonly active_rounds: number;
2840
+ readonly last_submission_date: string | null;
2841
+ };
2823
2842
  export type CallResourceTemplate = {
2824
2843
  readonly uuid?: string;
2825
2844
  readonly url?: string;
@@ -4379,6 +4398,7 @@ export type ConstanceSettings = {
4379
4398
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
4380
4399
  AI_ASSISTANT_HISTORY_LIMIT?: number;
4381
4400
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
4401
+ AI_ASSISTANT_NAME?: string;
4382
4402
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
4383
4403
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
4384
4404
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -4629,6 +4649,7 @@ export type ConstanceSettingsRequest = {
4629
4649
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
4630
4650
  AI_ASSISTANT_HISTORY_LIMIT?: number;
4631
4651
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
4652
+ AI_ASSISTANT_NAME?: string;
4632
4653
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
4633
4654
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
4634
4655
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -20842,6 +20863,22 @@ export type ResourceBackendIdRequest = {
20842
20863
  export type ResourceBackendMetadataRequest = {
20843
20864
  backend_metadata: unknown;
20844
20865
  };
20866
+ export type ResourceDemandStat = {
20867
+ readonly offering_uuid: string;
20868
+ readonly offering_name: string;
20869
+ readonly offering_type: string;
20870
+ readonly provider_name: string;
20871
+ readonly proposal_count: number;
20872
+ readonly request_count: number;
20873
+ readonly approved_count: number;
20874
+ readonly pending_count: number;
20875
+ readonly total_requested_limits: {
20876
+ [key: string]: number;
20877
+ };
20878
+ readonly total_approved_limits: {
20879
+ [key: string]: number;
20880
+ };
20881
+ };
20845
20882
  export type ResourceDownscaledRequest = {
20846
20883
  downscaled?: boolean;
20847
20884
  };
@@ -21284,6 +21321,19 @@ export type ReviewCommentRequest = {
21284
21321
  */
21285
21322
  comment?: string;
21286
21323
  };
21324
+ export type ReviewProgressStat = {
21325
+ readonly reviewer_uuid: string;
21326
+ readonly reviewer_name: string;
21327
+ readonly reviewer_email: string;
21328
+ readonly total_assigned: number;
21329
+ readonly pending: number;
21330
+ readonly in_progress: number;
21331
+ readonly completed: number;
21332
+ readonly declined: number;
21333
+ readonly average_score: number | null;
21334
+ readonly average_review_time_days: number | null;
21335
+ readonly completion_rate: number;
21336
+ };
21287
21337
  export type ReviewStrategyEnum = 'after_round' | 'after_proposal';
21288
21338
  export type ReviewSubmitRequest = {
21289
21339
  summary_score?: number;
@@ -26504,6 +26554,7 @@ export type ConstanceSettingsRequestForm = {
26504
26554
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
26505
26555
  AI_ASSISTANT_HISTORY_LIMIT?: number;
26506
26556
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
26557
+ AI_ASSISTANT_NAME?: string;
26507
26558
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
26508
26559
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
26509
26560
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -26754,6 +26805,7 @@ export type ConstanceSettingsRequestMultipart = {
26754
26805
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
26755
26806
  AI_ASSISTANT_HISTORY_LIMIT?: number;
26756
26807
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
26808
+ AI_ASSISTANT_NAME?: string;
26757
26809
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
26758
26810
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
26759
26811
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -33172,6 +33224,180 @@ export type CallManagingOrganisationsUpdateUserResponses = {
33172
33224
  200: UserRoleExpirationTime;
33173
33225
  };
33174
33226
  export type CallManagingOrganisationsUpdateUserResponse = CallManagingOrganisationsUpdateUserResponses[keyof CallManagingOrganisationsUpdateUserResponses];
33227
+ export type CallManagingOrganisationsGlobalStatsPerformanceListData = {
33228
+ body?: never;
33229
+ path?: never;
33230
+ query?: {
33231
+ customer?: string;
33232
+ customer_keyword?: string;
33233
+ customer_uuid?: string;
33234
+ /**
33235
+ * Ordering
33236
+ *
33237
+ *
33238
+ */
33239
+ o?: Array<CallManagingOrganisationOEnum>;
33240
+ /**
33241
+ * A page number within the paginated result set.
33242
+ */
33243
+ page?: number;
33244
+ /**
33245
+ * Number of results to return per page.
33246
+ */
33247
+ page_size?: number;
33248
+ };
33249
+ url: '/api/call-managing-organisations/global_stats_performance/';
33250
+ };
33251
+ export type CallManagingOrganisationsGlobalStatsPerformanceListResponses = {
33252
+ 200: Array<CallPerformanceStat>;
33253
+ };
33254
+ export type CallManagingOrganisationsGlobalStatsPerformanceListResponse = CallManagingOrganisationsGlobalStatsPerformanceListResponses[keyof CallManagingOrganisationsGlobalStatsPerformanceListResponses];
33255
+ export type CallManagingOrganisationsGlobalStatsPerformanceCountData = {
33256
+ body?: never;
33257
+ path?: never;
33258
+ query?: {
33259
+ customer?: string;
33260
+ customer_keyword?: string;
33261
+ customer_uuid?: string;
33262
+ /**
33263
+ * Ordering
33264
+ *
33265
+ *
33266
+ */
33267
+ o?: Array<CallManagingOrganisationOEnum>;
33268
+ /**
33269
+ * A page number within the paginated result set.
33270
+ */
33271
+ page?: number;
33272
+ /**
33273
+ * Number of results to return per page.
33274
+ */
33275
+ page_size?: number;
33276
+ };
33277
+ url: '/api/call-managing-organisations/global_stats_performance/';
33278
+ };
33279
+ export type CallManagingOrganisationsGlobalStatsPerformanceCountResponses = {
33280
+ /**
33281
+ * No response body
33282
+ */
33283
+ 200: unknown;
33284
+ };
33285
+ export type CallManagingOrganisationsGlobalStatsResourceDemandListData = {
33286
+ body?: never;
33287
+ path?: never;
33288
+ query?: {
33289
+ customer?: string;
33290
+ customer_keyword?: string;
33291
+ customer_uuid?: string;
33292
+ /**
33293
+ * Ordering
33294
+ *
33295
+ *
33296
+ */
33297
+ o?: Array<CallManagingOrganisationOEnum>;
33298
+ /**
33299
+ * A page number within the paginated result set.
33300
+ */
33301
+ page?: number;
33302
+ /**
33303
+ * Number of results to return per page.
33304
+ */
33305
+ page_size?: number;
33306
+ };
33307
+ url: '/api/call-managing-organisations/global_stats_resource_demand/';
33308
+ };
33309
+ export type CallManagingOrganisationsGlobalStatsResourceDemandListResponses = {
33310
+ 200: Array<ResourceDemandStat>;
33311
+ };
33312
+ export type CallManagingOrganisationsGlobalStatsResourceDemandListResponse = CallManagingOrganisationsGlobalStatsResourceDemandListResponses[keyof CallManagingOrganisationsGlobalStatsResourceDemandListResponses];
33313
+ export type CallManagingOrganisationsGlobalStatsResourceDemandCountData = {
33314
+ body?: never;
33315
+ path?: never;
33316
+ query?: {
33317
+ customer?: string;
33318
+ customer_keyword?: string;
33319
+ customer_uuid?: string;
33320
+ /**
33321
+ * Ordering
33322
+ *
33323
+ *
33324
+ */
33325
+ o?: Array<CallManagingOrganisationOEnum>;
33326
+ /**
33327
+ * A page number within the paginated result set.
33328
+ */
33329
+ page?: number;
33330
+ /**
33331
+ * Number of results to return per page.
33332
+ */
33333
+ page_size?: number;
33334
+ };
33335
+ url: '/api/call-managing-organisations/global_stats_resource_demand/';
33336
+ };
33337
+ export type CallManagingOrganisationsGlobalStatsResourceDemandCountResponses = {
33338
+ /**
33339
+ * No response body
33340
+ */
33341
+ 200: unknown;
33342
+ };
33343
+ export type CallManagingOrganisationsGlobalStatsReviewProgressListData = {
33344
+ body?: never;
33345
+ path?: never;
33346
+ query?: {
33347
+ customer?: string;
33348
+ customer_keyword?: string;
33349
+ customer_uuid?: string;
33350
+ /**
33351
+ * Ordering
33352
+ *
33353
+ *
33354
+ */
33355
+ o?: Array<CallManagingOrganisationOEnum>;
33356
+ /**
33357
+ * A page number within the paginated result set.
33358
+ */
33359
+ page?: number;
33360
+ /**
33361
+ * Number of results to return per page.
33362
+ */
33363
+ page_size?: number;
33364
+ };
33365
+ url: '/api/call-managing-organisations/global_stats_review_progress/';
33366
+ };
33367
+ export type CallManagingOrganisationsGlobalStatsReviewProgressListResponses = {
33368
+ 200: Array<ReviewProgressStat>;
33369
+ };
33370
+ export type CallManagingOrganisationsGlobalStatsReviewProgressListResponse = CallManagingOrganisationsGlobalStatsReviewProgressListResponses[keyof CallManagingOrganisationsGlobalStatsReviewProgressListResponses];
33371
+ export type CallManagingOrganisationsGlobalStatsReviewProgressCountData = {
33372
+ body?: never;
33373
+ path?: never;
33374
+ query?: {
33375
+ customer?: string;
33376
+ customer_keyword?: string;
33377
+ customer_uuid?: string;
33378
+ /**
33379
+ * Ordering
33380
+ *
33381
+ *
33382
+ */
33383
+ o?: Array<CallManagingOrganisationOEnum>;
33384
+ /**
33385
+ * A page number within the paginated result set.
33386
+ */
33387
+ page?: number;
33388
+ /**
33389
+ * Number of results to return per page.
33390
+ */
33391
+ page_size?: number;
33392
+ };
33393
+ url: '/api/call-managing-organisations/global_stats_review_progress/';
33394
+ };
33395
+ export type CallManagingOrganisationsGlobalStatsReviewProgressCountResponses = {
33396
+ /**
33397
+ * No response body
33398
+ */
33399
+ 200: unknown;
33400
+ };
33175
33401
  export type CallProposalProjectRoleMappingsListData = {
33176
33402
  body?: never;
33177
33403
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.7-dev.28",
3
+ "version": "8.0.7-dev.29",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",