waldur-js-client 8.0.10-dev.22 → 8.0.10-dev.23

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
@@ -25621,21 +25621,6 @@ export const proposalProposalsAdvanceWorkflowStep = (options) => (options.client
25621
25621
  url: '/api/proposal-proposals/{uuid}/advance_workflow_step/',
25622
25622
  ...options
25623
25623
  });
25624
- /**
25625
- * Approve a proposal.
25626
- */
25627
- export const proposalProposalsApprove = (options) => (options.client ?? client).post({
25628
- security: [
25629
- { name: 'Authorization', type: 'apiKey' },
25630
- { scheme: 'bearer', type: 'http' }
25631
- ],
25632
- url: '/api/proposal-proposals/{uuid}/approve/',
25633
- ...options,
25634
- headers: {
25635
- 'Content-Type': 'application/json',
25636
- ...options.headers
25637
- }
25638
- });
25639
25624
  /**
25640
25625
  * Attach document to proposal.
25641
25626
  */
@@ -25768,21 +25753,6 @@ export const proposalProposalsListUsersCount = (options) => (options.client ?? c
25768
25753
  url: '/api/proposal-proposals/{uuid}/list_users/',
25769
25754
  ...options
25770
25755
  });
25771
- /**
25772
- * Reject a proposal.
25773
- */
25774
- export const proposalProposalsReject = (options) => (options.client ?? client).post({
25775
- security: [
25776
- { name: 'Authorization', type: 'apiKey' },
25777
- { scheme: 'bearer', type: 'http' }
25778
- ],
25779
- url: '/api/proposal-proposals/{uuid}/reject/',
25780
- ...options,
25781
- headers: {
25782
- 'Content-Type': 'application/json',
25783
- ...options.headers
25784
- }
25785
- });
25786
25756
  /**
25787
25757
  * Reject the proposal at the current workflow step.
25788
25758
  */
@@ -3531,6 +3531,7 @@ export type CallWorkflowStep = {
3531
3531
  * Whether this step is enabled. Disabled steps are skipped.
3532
3532
  */
3533
3533
  is_enabled?: boolean;
3534
+ readonly is_mandatory: boolean;
3534
3535
  /**
3535
3536
  * Duration in days. Used to calculate deadlines.
3536
3537
  */
@@ -3550,7 +3551,7 @@ export type CallWorkflowStep = {
3550
3551
  */
3551
3552
  min_reviewers?: number | null;
3552
3553
  /**
3553
- * Minimum average score to pass this step.
3554
+ * Minimum average score required before this step can complete (a completion gate; it does not auto-reject lower scores).
3554
3555
  */
3555
3556
  min_score_threshold?: string | null;
3556
3557
  /**
@@ -3562,7 +3563,7 @@ export type CallWorkflowStep = {
3562
3563
  */
3563
3564
  responsible_role?: ResponsibleRoleEnum | BlankEnum | NullEnum | null;
3564
3565
  /**
3565
- * How this step advances to the next.
3566
+ * How this step advances once a human completes it. 'Automatic' advances to the next step immediately; 'Manual' waits for a separate advance action. Neither auto-decides from review scores.
3566
3567
  */
3567
3568
  transition_mode?: TransitionModeEnum;
3568
3569
  /**
@@ -3603,7 +3604,7 @@ export type CallWorkflowStepRequest = {
3603
3604
  */
3604
3605
  min_reviewers?: number | null;
3605
3606
  /**
3606
- * Minimum average score to pass this step.
3607
+ * Minimum average score required before this step can complete (a completion gate; it does not auto-reject lower scores).
3607
3608
  */
3608
3609
  min_score_threshold?: string | null;
3609
3610
  /**
@@ -3615,7 +3616,7 @@ export type CallWorkflowStepRequest = {
3615
3616
  */
3616
3617
  responsible_role?: ResponsibleRoleEnum | BlankEnum | NullEnum | null;
3617
3618
  /**
3618
- * How this step advances to the next.
3619
+ * How this step advances once a human completes it. 'Automatic' advances to the next step immediately; 'Manual' waits for a separate advance action. Neither auto-decides from review scores.
3619
3620
  */
3620
3621
  transition_mode?: TransitionModeEnum;
3621
3622
  /**
@@ -17330,7 +17331,7 @@ export type PatchedCallWorkflowStepRequest = {
17330
17331
  */
17331
17332
  min_reviewers?: number | null;
17332
17333
  /**
17333
- * Minimum average score to pass this step.
17334
+ * Minimum average score required before this step can complete (a completion gate; it does not auto-reject lower scores).
17334
17335
  */
17335
17336
  min_score_threshold?: string | null;
17336
17337
  /**
@@ -17342,7 +17343,7 @@ export type PatchedCallWorkflowStepRequest = {
17342
17343
  */
17343
17344
  responsible_role?: ResponsibleRoleEnum | BlankEnum | NullEnum | null;
17344
17345
  /**
17345
- * How this step advances to the next.
17346
+ * How this step advances once a human completes it. 'Automatic' advances to the next step immediately; 'Manual' waits for a separate advance action. Neither auto-decides from review scores.
17346
17347
  */
17347
17348
  transition_mode?: TransitionModeEnum;
17348
17349
  /**
@@ -20688,9 +20689,6 @@ export type Proposal = {
20688
20689
  can_submit: ProposalCanSubmitResponse;
20689
20690
  readonly awaiting_manual_advance: boolean;
20690
20691
  };
20691
- export type ProposalApproveRequest = {
20692
- allocation_comment?: string;
20693
- };
20694
20692
  export type ProposalCanSubmitResponse = {
20695
20693
  can_submit: boolean;
20696
20694
  error: string | null;
@@ -80351,20 +80349,6 @@ export type ProposalProposalsAdvanceWorkflowStepResponses = {
80351
80349
  200: CompleteWorkflowStepResponse;
80352
80350
  };
80353
80351
  export type ProposalProposalsAdvanceWorkflowStepResponse = ProposalProposalsAdvanceWorkflowStepResponses[keyof ProposalProposalsAdvanceWorkflowStepResponses];
80354
- export type ProposalProposalsApproveData = {
80355
- body?: ProposalApproveRequest;
80356
- path: {
80357
- uuid: string;
80358
- };
80359
- query?: never;
80360
- url: '/api/proposal-proposals/{uuid}/approve/';
80361
- };
80362
- export type ProposalProposalsApproveResponses = {
80363
- /**
80364
- * No response body
80365
- */
80366
- 200: unknown;
80367
- };
80368
80352
  export type ProposalProposalsAttachDocumentData = {
80369
80353
  body?: ProposalDocumentationRequest;
80370
80354
  path: {
@@ -80636,20 +80620,6 @@ export type ProposalProposalsListUsersCountResponses = {
80636
80620
  */
80637
80621
  200: unknown;
80638
80622
  };
80639
- export type ProposalProposalsRejectData = {
80640
- body?: ProposalApproveRequest;
80641
- path: {
80642
- uuid: string;
80643
- };
80644
- query?: never;
80645
- url: '/api/proposal-proposals/{uuid}/reject/';
80646
- };
80647
- export type ProposalProposalsRejectResponses = {
80648
- /**
80649
- * No response body
80650
- */
80651
- 200: unknown;
80652
- };
80653
80623
  export type ProposalProposalsRejectWorkflowStepData = {
80654
80624
  body: RejectWorkflowStepRequest;
80655
80625
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.10-dev.22",
3
+ "version": "8.0.10-dev.23",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",