waldur-js-client 8.0.9-dev.16 → 8.0.9-dev.18
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.d.ts +5 -1
- package/dist/sdk.gen.js +27 -0
- package/dist/types.gen.d.ts +172 -1
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -47701,6 +47701,33 @@ export const proposalProtectedCallsDetectConflicts = (options) => {
|
|
|
47701
47701
|
}
|
|
47702
47702
|
});
|
|
47703
47703
|
};
|
|
47704
|
+
/**
|
|
47705
|
+
* Duplicate a call. The new call inherits the source call's configuration (offerings, rounds, workflow steps, resource templates, role mappings, documents, and COI/matching/assignment/applicant-visibility settings) and starts in draft state. Proposals, reviews, team permissions, and reviewer-pool memberships are not copied.
|
|
47706
|
+
*/
|
|
47707
|
+
export const proposalProtectedCallsDuplicate = (options) => {
|
|
47708
|
+
return (options.client ?? _heyApiClient).post({
|
|
47709
|
+
security: [
|
|
47710
|
+
{
|
|
47711
|
+
name: 'Authorization',
|
|
47712
|
+
type: 'apiKey'
|
|
47713
|
+
},
|
|
47714
|
+
{
|
|
47715
|
+
scheme: 'bearer',
|
|
47716
|
+
type: 'http'
|
|
47717
|
+
},
|
|
47718
|
+
{
|
|
47719
|
+
scheme: 'bearer',
|
|
47720
|
+
type: 'http'
|
|
47721
|
+
}
|
|
47722
|
+
],
|
|
47723
|
+
url: '/api/proposal-protected-calls/{uuid}/duplicate/',
|
|
47724
|
+
...options,
|
|
47725
|
+
headers: {
|
|
47726
|
+
'Content-Type': 'application/json',
|
|
47727
|
+
...options.headers
|
|
47728
|
+
}
|
|
47729
|
+
});
|
|
47730
|
+
};
|
|
47704
47731
|
/**
|
|
47705
47732
|
* Generate assignment batches for reviewers. Uses the affinity matrix and COI records to assign reviewers to proposals.
|
|
47706
47733
|
*/
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -7018,6 +7018,19 @@ export type DryRunRequest = {
|
|
|
7018
7018
|
};
|
|
7019
7019
|
export type DryRunStateEnum = 1 | 2 | 3 | 4;
|
|
7020
7020
|
export type DryRunTypeEnum = 'Create' | 'Update' | 'Terminate' | 'Restore' | 'Pull';
|
|
7021
|
+
export type DuplicateCallRequestRequest = {
|
|
7022
|
+
name: string;
|
|
7023
|
+
copy_documents?: boolean;
|
|
7024
|
+
copy_offerings?: boolean;
|
|
7025
|
+
copy_rounds?: boolean;
|
|
7026
|
+
copy_workflow_steps?: boolean;
|
|
7027
|
+
copy_resource_templates?: boolean;
|
|
7028
|
+
copy_role_mappings?: boolean;
|
|
7029
|
+
copy_applicant_visibility_config?: boolean;
|
|
7030
|
+
copy_coi_configuration?: boolean;
|
|
7031
|
+
copy_matching_configuration?: boolean;
|
|
7032
|
+
copy_assignment_configuration?: boolean;
|
|
7033
|
+
};
|
|
7021
7034
|
export type EnabledreportingscreensEnum = 'resource-usage' | 'user-usage' | 'quotas' | 'usage-monitoring' | 'usage-trends' | 'organization-summary' | 'project-detail' | 'resources-geography' | 'project-classification' | 'usage-by-customer' | 'usage-by-org-type' | 'usage-by-creator' | 'call-performance' | 'review-progress' | 'resource-demand' | 'capacity' | 'provider-overview' | 'provider-revenue' | 'provider-orders' | 'provider-resources' | 'provider-customers' | 'provider-offerings' | 'openstack-instances' | 'offering-usage' | 'user-analytics' | 'user-demographics' | 'user-organizations' | 'user-affiliations' | 'user-roles' | 'growth' | 'revenue' | 'pricelist' | 'orders' | 'offering-costs' | 'maintenance-overview' | 'provisioning-stats';
|
|
7022
7035
|
export type EligibilityCheck = {
|
|
7023
7036
|
is_eligible: boolean;
|
|
@@ -9270,6 +9283,7 @@ export type LicenseSuggestion = {
|
|
|
9270
9283
|
*/
|
|
9271
9284
|
confidence: number;
|
|
9272
9285
|
};
|
|
9286
|
+
export type LikertScaleLengthEnum = 3 | 5 | 7;
|
|
9273
9287
|
export type LimitPeriodEnum = 'month' | 'quarterly' | 'annual' | 'total';
|
|
9274
9288
|
export type LimitTypeEnum = 'GrpTRESMins' | 'MaxTRESMins' | 'GrpTRES';
|
|
9275
9289
|
export type LinkOpenstackRequest = {
|
|
@@ -17368,6 +17382,30 @@ export type PatchedQuestionAdminRequest = {
|
|
|
17368
17382
|
* Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
|
|
17369
17383
|
*/
|
|
17370
17384
|
max_files_count?: number | null;
|
|
17385
|
+
/**
|
|
17386
|
+
* Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
|
|
17387
|
+
*/
|
|
17388
|
+
likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
|
|
17389
|
+
/**
|
|
17390
|
+
* Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
|
|
17391
|
+
*/
|
|
17392
|
+
likert_low_label?: string;
|
|
17393
|
+
/**
|
|
17394
|
+
* Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
|
|
17395
|
+
*/
|
|
17396
|
+
likert_high_label?: string;
|
|
17397
|
+
/**
|
|
17398
|
+
* Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
|
|
17399
|
+
*/
|
|
17400
|
+
likert_allow_na?: boolean;
|
|
17401
|
+
/**
|
|
17402
|
+
* Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
|
|
17403
|
+
*/
|
|
17404
|
+
rich_text_char_limit?: number | null;
|
|
17405
|
+
/**
|
|
17406
|
+
* Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
|
|
17407
|
+
*/
|
|
17408
|
+
rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
|
|
17371
17409
|
operator?: ChecklistOperators | BlankEnum;
|
|
17372
17410
|
/**
|
|
17373
17411
|
* Answer value that trigger review.
|
|
@@ -20384,6 +20422,30 @@ export type Question = {
|
|
|
20384
20422
|
* Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
|
|
20385
20423
|
*/
|
|
20386
20424
|
max_files_count?: number | null;
|
|
20425
|
+
/**
|
|
20426
|
+
* Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
|
|
20427
|
+
*/
|
|
20428
|
+
likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
|
|
20429
|
+
/**
|
|
20430
|
+
* Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
|
|
20431
|
+
*/
|
|
20432
|
+
likert_low_label?: string;
|
|
20433
|
+
/**
|
|
20434
|
+
* Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
|
|
20435
|
+
*/
|
|
20436
|
+
likert_high_label?: string;
|
|
20437
|
+
/**
|
|
20438
|
+
* Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
|
|
20439
|
+
*/
|
|
20440
|
+
likert_allow_na?: boolean;
|
|
20441
|
+
/**
|
|
20442
|
+
* Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
|
|
20443
|
+
*/
|
|
20444
|
+
rich_text_char_limit?: number | null;
|
|
20445
|
+
/**
|
|
20446
|
+
* Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
|
|
20447
|
+
*/
|
|
20448
|
+
rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
|
|
20387
20449
|
operator?: ChecklistOperators | BlankEnum;
|
|
20388
20450
|
/**
|
|
20389
20451
|
* Answer value that trigger review.
|
|
@@ -20448,6 +20510,30 @@ export type QuestionAdmin = {
|
|
|
20448
20510
|
* Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
|
|
20449
20511
|
*/
|
|
20450
20512
|
max_files_count?: number | null;
|
|
20513
|
+
/**
|
|
20514
|
+
* Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
|
|
20515
|
+
*/
|
|
20516
|
+
likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
|
|
20517
|
+
/**
|
|
20518
|
+
* Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
|
|
20519
|
+
*/
|
|
20520
|
+
likert_low_label?: string;
|
|
20521
|
+
/**
|
|
20522
|
+
* Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
|
|
20523
|
+
*/
|
|
20524
|
+
likert_high_label?: string;
|
|
20525
|
+
/**
|
|
20526
|
+
* Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
|
|
20527
|
+
*/
|
|
20528
|
+
likert_allow_na?: boolean;
|
|
20529
|
+
/**
|
|
20530
|
+
* Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
|
|
20531
|
+
*/
|
|
20532
|
+
rich_text_char_limit?: number | null;
|
|
20533
|
+
/**
|
|
20534
|
+
* Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
|
|
20535
|
+
*/
|
|
20536
|
+
rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
|
|
20451
20537
|
operator?: ChecklistOperators | BlankEnum;
|
|
20452
20538
|
/**
|
|
20453
20539
|
* Answer value that trigger review.
|
|
@@ -20515,6 +20601,30 @@ export type QuestionAdminRequest = {
|
|
|
20515
20601
|
* Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
|
|
20516
20602
|
*/
|
|
20517
20603
|
max_files_count?: number | null;
|
|
20604
|
+
/**
|
|
20605
|
+
* Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
|
|
20606
|
+
*/
|
|
20607
|
+
likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
|
|
20608
|
+
/**
|
|
20609
|
+
* Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
|
|
20610
|
+
*/
|
|
20611
|
+
likert_low_label?: string;
|
|
20612
|
+
/**
|
|
20613
|
+
* Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
|
|
20614
|
+
*/
|
|
20615
|
+
likert_high_label?: string;
|
|
20616
|
+
/**
|
|
20617
|
+
* Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
|
|
20618
|
+
*/
|
|
20619
|
+
likert_allow_na?: boolean;
|
|
20620
|
+
/**
|
|
20621
|
+
* Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
|
|
20622
|
+
*/
|
|
20623
|
+
rich_text_char_limit?: number | null;
|
|
20624
|
+
/**
|
|
20625
|
+
* Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
|
|
20626
|
+
*/
|
|
20627
|
+
rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
|
|
20518
20628
|
operator?: ChecklistOperators | BlankEnum;
|
|
20519
20629
|
/**
|
|
20520
20630
|
* Answer value that trigger review.
|
|
@@ -20611,7 +20721,7 @@ export type QuestionOptionsAdminRequest = {
|
|
|
20611
20721
|
order?: number;
|
|
20612
20722
|
question: string;
|
|
20613
20723
|
};
|
|
20614
|
-
export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files' | 'phone_number' | 'year' | 'email' | 'url' | 'country' | 'rating' | 'datetime';
|
|
20724
|
+
export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files' | 'phone_number' | 'year' | 'email' | 'url' | 'country' | 'rating' | 'datetime' | 'likert' | 'rich_text';
|
|
20615
20725
|
export type QuestionWithAnswer = {
|
|
20616
20726
|
readonly uuid: string;
|
|
20617
20727
|
readonly description: string;
|
|
@@ -20650,6 +20760,30 @@ export type QuestionWithAnswer = {
|
|
|
20650
20760
|
* Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
|
|
20651
20761
|
*/
|
|
20652
20762
|
readonly max_files_count: number | null;
|
|
20763
|
+
/**
|
|
20764
|
+
* Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
|
|
20765
|
+
*/
|
|
20766
|
+
likert_scale_length: LikertScaleLengthEnum | NullEnum | null;
|
|
20767
|
+
/**
|
|
20768
|
+
* Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
|
|
20769
|
+
*/
|
|
20770
|
+
readonly likert_low_label: string;
|
|
20771
|
+
/**
|
|
20772
|
+
* Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
|
|
20773
|
+
*/
|
|
20774
|
+
readonly likert_high_label: string;
|
|
20775
|
+
/**
|
|
20776
|
+
* Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
|
|
20777
|
+
*/
|
|
20778
|
+
readonly likert_allow_na: boolean;
|
|
20779
|
+
/**
|
|
20780
|
+
* Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
|
|
20781
|
+
*/
|
|
20782
|
+
readonly rich_text_char_limit: number | null;
|
|
20783
|
+
/**
|
|
20784
|
+
* Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
|
|
20785
|
+
*/
|
|
20786
|
+
rich_text_toolbar_level: RichTextToolbarLevelEnum;
|
|
20653
20787
|
readonly dependencies_info: {
|
|
20654
20788
|
[key: string]: unknown;
|
|
20655
20789
|
} | null;
|
|
@@ -20692,6 +20826,30 @@ export type QuestionWithAnswerReviewer = {
|
|
|
20692
20826
|
* Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
|
|
20693
20827
|
*/
|
|
20694
20828
|
readonly max_files_count: number | null;
|
|
20829
|
+
/**
|
|
20830
|
+
* Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
|
|
20831
|
+
*/
|
|
20832
|
+
likert_scale_length: LikertScaleLengthEnum | NullEnum | null;
|
|
20833
|
+
/**
|
|
20834
|
+
* Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
|
|
20835
|
+
*/
|
|
20836
|
+
readonly likert_low_label: string;
|
|
20837
|
+
/**
|
|
20838
|
+
* Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
|
|
20839
|
+
*/
|
|
20840
|
+
readonly likert_high_label: string;
|
|
20841
|
+
/**
|
|
20842
|
+
* Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
|
|
20843
|
+
*/
|
|
20844
|
+
readonly likert_allow_na: boolean;
|
|
20845
|
+
/**
|
|
20846
|
+
* Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
|
|
20847
|
+
*/
|
|
20848
|
+
readonly rich_text_char_limit: number | null;
|
|
20849
|
+
/**
|
|
20850
|
+
* Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
|
|
20851
|
+
*/
|
|
20852
|
+
rich_text_toolbar_level: RichTextToolbarLevelEnum;
|
|
20695
20853
|
readonly dependencies_info: {
|
|
20696
20854
|
[key: string]: unknown;
|
|
20697
20855
|
} | null;
|
|
@@ -22924,6 +23082,7 @@ export type ReviewerSuggestionRequest = {
|
|
|
22924
23082
|
rejection_reason?: string;
|
|
22925
23083
|
};
|
|
22926
23084
|
export type ReviewerSuggestionStatusEnum = 'pending' | 'confirmed' | 'rejected' | 'invited';
|
|
23085
|
+
export type RichTextToolbarLevelEnum = 'minimal' | 'standard' | 'extended';
|
|
22927
23086
|
export type RmqClientProperties = {
|
|
22928
23087
|
/**
|
|
22929
23088
|
* Client product name (e.g., 'pika', 'amqp-client')
|
|
@@ -75045,6 +75204,18 @@ export type ProposalProtectedCallsDetectConflictsResponses = {
|
|
|
75045
75204
|
200: CoiDetectionJob;
|
|
75046
75205
|
};
|
|
75047
75206
|
export type ProposalProtectedCallsDetectConflictsResponse = ProposalProtectedCallsDetectConflictsResponses[keyof ProposalProtectedCallsDetectConflictsResponses];
|
|
75207
|
+
export type ProposalProtectedCallsDuplicateData = {
|
|
75208
|
+
body: DuplicateCallRequestRequest;
|
|
75209
|
+
path: {
|
|
75210
|
+
uuid: string;
|
|
75211
|
+
};
|
|
75212
|
+
query?: never;
|
|
75213
|
+
url: '/api/proposal-protected-calls/{uuid}/duplicate/';
|
|
75214
|
+
};
|
|
75215
|
+
export type ProposalProtectedCallsDuplicateResponses = {
|
|
75216
|
+
201: ProtectedCall;
|
|
75217
|
+
};
|
|
75218
|
+
export type ProposalProtectedCallsDuplicateResponse = ProposalProtectedCallsDuplicateResponses[keyof ProposalProtectedCallsDuplicateResponses];
|
|
75048
75219
|
export type ProposalProtectedCallsGenerateAssignmentsData = {
|
|
75049
75220
|
body?: GenerateAssignmentsRequest;
|
|
75050
75221
|
path: {
|