waldur-js-client 8.0.9-dev.1 → 8.0.9-dev.2

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
@@ -45981,6 +45981,33 @@ export const proposalProposalsChecklistReviewRetrieve = (options) => {
45981
45981
  ...options
45982
45982
  });
45983
45983
  };
45984
+ /**
45985
+ * Complete the current workflow step with an outcome.
45986
+ */
45987
+ export const proposalProposalsCompleteWorkflowStep = (options) => {
45988
+ return (options.client ?? _heyApiClient).post({
45989
+ security: [
45990
+ {
45991
+ name: 'Authorization',
45992
+ type: 'apiKey'
45993
+ },
45994
+ {
45995
+ scheme: 'bearer',
45996
+ type: 'http'
45997
+ },
45998
+ {
45999
+ scheme: 'bearer',
46000
+ type: 'http'
46001
+ }
46002
+ ],
46003
+ url: '/api/proposal-proposals/{uuid}/complete_workflow_step/',
46004
+ ...options,
46005
+ headers: {
46006
+ 'Content-Type': 'application/json',
46007
+ ...options.headers
46008
+ }
46009
+ });
46010
+ };
45984
46011
  /**
45985
46012
  * Get checklist completion status with review triggers (reviewers only).
45986
46013
  */
@@ -46133,6 +46160,33 @@ export const proposalProposalsReject = (options) => {
46133
46160
  }
46134
46161
  });
46135
46162
  };
46163
+ /**
46164
+ * Reject the proposal at the current workflow step.
46165
+ */
46166
+ export const proposalProposalsRejectWorkflowStep = (options) => {
46167
+ return (options.client ?? _heyApiClient).post({
46168
+ security: [
46169
+ {
46170
+ name: 'Authorization',
46171
+ type: 'apiKey'
46172
+ },
46173
+ {
46174
+ scheme: 'bearer',
46175
+ type: 'http'
46176
+ },
46177
+ {
46178
+ scheme: 'bearer',
46179
+ type: 'http'
46180
+ }
46181
+ ],
46182
+ url: '/api/proposal-proposals/{uuid}/reject_workflow_step/',
46183
+ ...options,
46184
+ headers: {
46185
+ 'Content-Type': 'application/json',
46186
+ ...options.headers
46187
+ }
46188
+ });
46189
+ };
46136
46190
  /**
46137
46191
  * List resources for a proposal.
46138
46192
  */
@@ -46376,6 +46430,29 @@ export const proposalProposalsUpdateUser = (options) => {
46376
46430
  }
46377
46431
  });
46378
46432
  };
46433
+ /**
46434
+ * List all workflow step instances for this proposal.
46435
+ */
46436
+ export const proposalProposalsWorkflowStatesList = (options) => {
46437
+ return (options.client ?? _heyApiClient).get({
46438
+ security: [
46439
+ {
46440
+ name: 'Authorization',
46441
+ type: 'apiKey'
46442
+ },
46443
+ {
46444
+ scheme: 'bearer',
46445
+ type: 'http'
46446
+ },
46447
+ {
46448
+ scheme: 'bearer',
46449
+ type: 'http'
46450
+ }
46451
+ ],
46452
+ url: '/api/proposal-proposals/{uuid}/workflow_states/',
46453
+ ...options
46454
+ });
46455
+ };
46379
46456
  /**
46380
46457
  * Get checklist template for creating new objects.
46381
46458
  */
@@ -47769,6 +47846,144 @@ export const proposalProtectedCallsUpdateUser = (options) => {
47769
47846
  }
47770
47847
  });
47771
47848
  };
47849
+ /**
47850
+ * List workflow steps for a call.
47851
+ */
47852
+ export const proposalProtectedCallsWorkflowStepsList = (options) => {
47853
+ return (options.client ?? _heyApiClient).get({
47854
+ security: [
47855
+ {
47856
+ name: 'Authorization',
47857
+ type: 'apiKey'
47858
+ },
47859
+ {
47860
+ scheme: 'bearer',
47861
+ type: 'http'
47862
+ },
47863
+ {
47864
+ scheme: 'bearer',
47865
+ type: 'http'
47866
+ }
47867
+ ],
47868
+ url: '/api/proposal-protected-calls/{uuid}/workflow_steps/',
47869
+ ...options
47870
+ });
47871
+ };
47872
+ /**
47873
+ * Create or update a workflow step for a call.
47874
+ */
47875
+ export const proposalProtectedCallsWorkflowStepsSet = (options) => {
47876
+ return (options.client ?? _heyApiClient).post({
47877
+ security: [
47878
+ {
47879
+ name: 'Authorization',
47880
+ type: 'apiKey'
47881
+ },
47882
+ {
47883
+ scheme: 'bearer',
47884
+ type: 'http'
47885
+ },
47886
+ {
47887
+ scheme: 'bearer',
47888
+ type: 'http'
47889
+ }
47890
+ ],
47891
+ url: '/api/proposal-protected-calls/{uuid}/workflow_steps/',
47892
+ ...options,
47893
+ headers: {
47894
+ 'Content-Type': 'application/json',
47895
+ ...options.headers
47896
+ }
47897
+ });
47898
+ };
47899
+ export const proposalProtectedCallsWorkflowStepsDestroy = (options) => {
47900
+ return (options.client ?? _heyApiClient).delete({
47901
+ security: [
47902
+ {
47903
+ name: 'Authorization',
47904
+ type: 'apiKey'
47905
+ },
47906
+ {
47907
+ scheme: 'bearer',
47908
+ type: 'http'
47909
+ },
47910
+ {
47911
+ scheme: 'bearer',
47912
+ type: 'http'
47913
+ }
47914
+ ],
47915
+ url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
47916
+ ...options
47917
+ });
47918
+ };
47919
+ export const proposalProtectedCallsWorkflowStepsRetrieve = (options) => {
47920
+ return (options.client ?? _heyApiClient).get({
47921
+ security: [
47922
+ {
47923
+ name: 'Authorization',
47924
+ type: 'apiKey'
47925
+ },
47926
+ {
47927
+ scheme: 'bearer',
47928
+ type: 'http'
47929
+ },
47930
+ {
47931
+ scheme: 'bearer',
47932
+ type: 'http'
47933
+ }
47934
+ ],
47935
+ url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
47936
+ ...options
47937
+ });
47938
+ };
47939
+ export const proposalProtectedCallsWorkflowStepsPartialUpdate = (options) => {
47940
+ return (options.client ?? _heyApiClient).patch({
47941
+ security: [
47942
+ {
47943
+ name: 'Authorization',
47944
+ type: 'apiKey'
47945
+ },
47946
+ {
47947
+ scheme: 'bearer',
47948
+ type: 'http'
47949
+ },
47950
+ {
47951
+ scheme: 'bearer',
47952
+ type: 'http'
47953
+ }
47954
+ ],
47955
+ url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
47956
+ ...options,
47957
+ headers: {
47958
+ 'Content-Type': 'application/json',
47959
+ ...options.headers
47960
+ }
47961
+ });
47962
+ };
47963
+ export const proposalProtectedCallsWorkflowStepsUpdate = (options) => {
47964
+ return (options.client ?? _heyApiClient).put({
47965
+ security: [
47966
+ {
47967
+ name: 'Authorization',
47968
+ type: 'apiKey'
47969
+ },
47970
+ {
47971
+ scheme: 'bearer',
47972
+ type: 'http'
47973
+ },
47974
+ {
47975
+ scheme: 'bearer',
47976
+ type: 'http'
47977
+ }
47978
+ ],
47979
+ url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
47980
+ ...options,
47981
+ headers: {
47982
+ 'Content-Type': 'application/json',
47983
+ ...options.headers
47984
+ }
47985
+ });
47986
+ };
47772
47987
  /**
47773
47988
  * Get available compliance checklists for call creation/editing.
47774
47989
  */