waldur-js-client 8.0.9-dev.0 → 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
@@ -10114,6 +10114,34 @@ export const customersUpdateProjectDigestConfigUpdate = (options) => {
10114
10114
  }
10115
10115
  });
10116
10116
  };
10117
+ /**
10118
+ * Update default affiliations for an organization
10119
+ * Replaces the organization's default affiliation list. Project creators in the organization will be limited to choosing from this list when affiliating a project. Staff-only.
10120
+ */
10121
+ export const customersUpdateDefaultAffiliations = (options) => {
10122
+ return (options.client ?? _heyApiClient).post({
10123
+ security: [
10124
+ {
10125
+ name: 'Authorization',
10126
+ type: 'apiKey'
10127
+ },
10128
+ {
10129
+ scheme: 'bearer',
10130
+ type: 'http'
10131
+ },
10132
+ {
10133
+ scheme: 'bearer',
10134
+ type: 'http'
10135
+ }
10136
+ ],
10137
+ url: '/api/customers/{uuid}/update_default_affiliations/',
10138
+ ...options,
10139
+ headers: {
10140
+ 'Content-Type': 'application/json',
10141
+ ...options.headers
10142
+ }
10143
+ });
10144
+ };
10117
10145
  /**
10118
10146
  * Update organization groups for a customer
10119
10147
  * Assigns a customer to one or more organization groups. This action is restricted to staff users.
@@ -36145,10 +36173,10 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
36145
36173
  });
36146
36174
  };
36147
36175
  /**
36148
- * Update affiliated organizations for a project
36149
- * Assigns a project to one or more affiliated organizations. Replaces the current set.
36176
+ * Update affiliation for a project
36177
+ * Assigns the project to a single affiliation (or clears it when null).
36150
36178
  */
36151
- export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
36179
+ export const openportalUnmanagedProjectsUpdateAffiliation = (options) => {
36152
36180
  return (options.client ?? _heyApiClient).post({
36153
36181
  security: [
36154
36182
  {
@@ -36164,7 +36192,7 @@ export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options
36164
36192
  type: 'http'
36165
36193
  }
36166
36194
  ],
36167
- url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
36195
+ url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliation/',
36168
36196
  ...options,
36169
36197
  headers: {
36170
36198
  'Content-Type': 'application/json',
@@ -45394,10 +45422,10 @@ export const projectsSyncUserRoles = (options) => {
45394
45422
  });
45395
45423
  };
45396
45424
  /**
45397
- * Update affiliated organizations for a project
45398
- * Assigns a project to one or more affiliated organizations. Replaces the current set.
45425
+ * Update affiliation for a project
45426
+ * Assigns the project to a single affiliation (or clears it when null).
45399
45427
  */
45400
- export const projectsUpdateAffiliatedOrganizations = (options) => {
45428
+ export const projectsUpdateAffiliation = (options) => {
45401
45429
  return (options.client ?? _heyApiClient).post({
45402
45430
  security: [
45403
45431
  {
@@ -45413,7 +45441,7 @@ export const projectsUpdateAffiliatedOrganizations = (options) => {
45413
45441
  type: 'http'
45414
45442
  }
45415
45443
  ],
45416
- url: '/api/projects/{uuid}/update_affiliated_organizations/',
45444
+ url: '/api/projects/{uuid}/update_affiliation/',
45417
45445
  ...options,
45418
45446
  headers: {
45419
45447
  'Content-Type': 'application/json',
@@ -45953,6 +45981,33 @@ export const proposalProposalsChecklistReviewRetrieve = (options) => {
45953
45981
  ...options
45954
45982
  });
45955
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
+ };
45956
46011
  /**
45957
46012
  * Get checklist completion status with review triggers (reviewers only).
45958
46013
  */
@@ -46105,6 +46160,33 @@ export const proposalProposalsReject = (options) => {
46105
46160
  }
46106
46161
  });
46107
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
+ };
46108
46190
  /**
46109
46191
  * List resources for a proposal.
46110
46192
  */
@@ -46348,6 +46430,29 @@ export const proposalProposalsUpdateUser = (options) => {
46348
46430
  }
46349
46431
  });
46350
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
+ };
46351
46456
  /**
46352
46457
  * Get checklist template for creating new objects.
46353
46458
  */
@@ -47741,6 +47846,144 @@ export const proposalProtectedCallsUpdateUser = (options) => {
47741
47846
  }
47742
47847
  });
47743
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
+ };
47744
47987
  /**
47745
47988
  * Get available compliance checklists for call creation/editing.
47746
47989
  */