waldur-js-client 7.7.8-dev.6 → 7.7.8-dev.8

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
@@ -4706,6 +4706,25 @@ export const customersProjectMetadataQuestionAnswersList = (options) => {
4706
4706
  ...options
4707
4707
  });
4708
4708
  };
4709
+ /**
4710
+ * A list of users connected to the customer.
4711
+ */
4712
+ export const customersUsersList = (options) => {
4713
+ return (options.client ?? _heyApiClient).get({
4714
+ security: [
4715
+ {
4716
+ name: 'Authorization',
4717
+ type: 'apiKey'
4718
+ },
4719
+ {
4720
+ scheme: 'bearer',
4721
+ type: 'http'
4722
+ }
4723
+ ],
4724
+ url: '/api/customers/{customer_uuid}/users/',
4725
+ ...options
4726
+ });
4727
+ };
4709
4728
  /**
4710
4729
  * If a customer has connected projects, deletion request will fail with 409 response code.
4711
4730
  */
@@ -4899,25 +4918,6 @@ export const customersUpdateUser = (options) => {
4899
4918
  }
4900
4919
  });
4901
4920
  };
4902
- /**
4903
- * A list of users connected to the customer.
4904
- */
4905
- export const customersUsersList = (options) => {
4906
- return (options.client ?? _heyApiClient).get({
4907
- security: [
4908
- {
4909
- name: 'Authorization',
4910
- type: 'apiKey'
4911
- },
4912
- {
4913
- scheme: 'bearer',
4914
- type: 'http'
4915
- }
4916
- ],
4917
- url: '/api/customers/{uuid}/users/',
4918
- ...options
4919
- });
4920
- };
4921
4921
  /**
4922
4922
  * Return list of countries
4923
4923
  */
@@ -9187,6 +9187,116 @@ export const marketplaceComponentUserUsagesRetrieve = (options) => {
9187
9187
  ...options
9188
9188
  });
9189
9189
  };
9190
+ /**
9191
+ * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
9192
+ */
9193
+ export const marketplaceCourseAccountsList = (options) => {
9194
+ return (options?.client ?? _heyApiClient).get({
9195
+ security: [
9196
+ {
9197
+ name: 'Authorization',
9198
+ type: 'apiKey'
9199
+ },
9200
+ {
9201
+ scheme: 'bearer',
9202
+ type: 'http'
9203
+ }
9204
+ ],
9205
+ url: '/api/marketplace-course-accounts/',
9206
+ ...options
9207
+ });
9208
+ };
9209
+ /**
9210
+ * Get number of items in the collection matching the request parameters.
9211
+ */
9212
+ export const marketplaceCourseAccountsCount = (options) => {
9213
+ return (options?.client ?? _heyApiClient).head({
9214
+ security: [
9215
+ {
9216
+ name: 'Authorization',
9217
+ type: 'apiKey'
9218
+ },
9219
+ {
9220
+ scheme: 'bearer',
9221
+ type: 'http'
9222
+ }
9223
+ ],
9224
+ url: '/api/marketplace-course-accounts/',
9225
+ ...options
9226
+ });
9227
+ };
9228
+ export const marketplaceCourseAccountsCreate = (options) => {
9229
+ return (options.client ?? _heyApiClient).post({
9230
+ security: [
9231
+ {
9232
+ name: 'Authorization',
9233
+ type: 'apiKey'
9234
+ },
9235
+ {
9236
+ scheme: 'bearer',
9237
+ type: 'http'
9238
+ }
9239
+ ],
9240
+ url: '/api/marketplace-course-accounts/',
9241
+ ...options,
9242
+ headers: {
9243
+ 'Content-Type': 'application/json',
9244
+ ...options.headers
9245
+ }
9246
+ });
9247
+ };
9248
+ export const marketplaceCourseAccountsDestroy = (options) => {
9249
+ return (options.client ?? _heyApiClient).delete({
9250
+ security: [
9251
+ {
9252
+ name: 'Authorization',
9253
+ type: 'apiKey'
9254
+ },
9255
+ {
9256
+ scheme: 'bearer',
9257
+ type: 'http'
9258
+ }
9259
+ ],
9260
+ url: '/api/marketplace-course-accounts/{uuid}/',
9261
+ ...options
9262
+ });
9263
+ };
9264
+ export const marketplaceCourseAccountsRetrieve = (options) => {
9265
+ return (options.client ?? _heyApiClient).get({
9266
+ security: [
9267
+ {
9268
+ name: 'Authorization',
9269
+ type: 'apiKey'
9270
+ },
9271
+ {
9272
+ scheme: 'bearer',
9273
+ type: 'http'
9274
+ }
9275
+ ],
9276
+ url: '/api/marketplace-course-accounts/{uuid}/',
9277
+ ...options
9278
+ });
9279
+ };
9280
+ export const marketplaceCourseAccountsCreateBulk = (options) => {
9281
+ return (options.client ?? _heyApiClient).post({
9282
+ security: [
9283
+ {
9284
+ name: 'Authorization',
9285
+ type: 'apiKey'
9286
+ },
9287
+ {
9288
+ scheme: 'bearer',
9289
+ type: 'http'
9290
+ }
9291
+ ],
9292
+ url: '/api/marketplace-course-accounts/create_bulk/',
9293
+ ...options,
9294
+ headers: {
9295
+ 'Content-Type': 'application/json',
9296
+ ...options.headers
9297
+ }
9298
+ });
9299
+ };
9190
9300
  /**
9191
9301
  * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
9192
9302
  */
@@ -14852,6 +14962,31 @@ export const serviceProviderOfferingUsersCompliance = (options) => {
14852
14962
  ...options
14853
14963
  });
14854
14964
  };
14965
+ /**
14966
+ * Return course project accounts that have access to resources managed by the provider.
14967
+ *
14968
+ * Checks for:
14969
+ * - Projects with active service provider's resources
14970
+ * - Course accounts with non-blank users
14971
+ *
14972
+ *
14973
+ */
14974
+ export const marketplaceServiceProvidersCourseAccountsList = (options) => {
14975
+ return (options.client ?? _heyApiClient).get({
14976
+ security: [
14977
+ {
14978
+ name: 'Authorization',
14979
+ type: 'apiKey'
14980
+ },
14981
+ {
14982
+ scheme: 'bearer',
14983
+ type: 'http'
14984
+ }
14985
+ ],
14986
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/course_accounts/',
14987
+ ...options
14988
+ });
14989
+ };
14855
14990
  /**
14856
14991
  * Return customer projects of service provider.
14857
14992
  */
@@ -20691,6 +20826,79 @@ export const projectCreditsUpdate = (options) => {
20691
20826
  }
20692
20827
  });
20693
20828
  };
20829
+ /**
20830
+ * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
20831
+ */
20832
+ export const projectPermissionsReviewsList = (options) => {
20833
+ return (options?.client ?? _heyApiClient).get({
20834
+ security: [
20835
+ {
20836
+ name: 'Authorization',
20837
+ type: 'apiKey'
20838
+ },
20839
+ {
20840
+ scheme: 'bearer',
20841
+ type: 'http'
20842
+ }
20843
+ ],
20844
+ url: '/api/project-permissions-reviews/',
20845
+ ...options
20846
+ });
20847
+ };
20848
+ /**
20849
+ * Get number of items in the collection matching the request parameters.
20850
+ */
20851
+ export const projectPermissionsReviewsCount = (options) => {
20852
+ return (options?.client ?? _heyApiClient).head({
20853
+ security: [
20854
+ {
20855
+ name: 'Authorization',
20856
+ type: 'apiKey'
20857
+ },
20858
+ {
20859
+ scheme: 'bearer',
20860
+ type: 'http'
20861
+ }
20862
+ ],
20863
+ url: '/api/project-permissions-reviews/',
20864
+ ...options
20865
+ });
20866
+ };
20867
+ export const projectPermissionsReviewsRetrieve = (options) => {
20868
+ return (options.client ?? _heyApiClient).get({
20869
+ security: [
20870
+ {
20871
+ name: 'Authorization',
20872
+ type: 'apiKey'
20873
+ },
20874
+ {
20875
+ scheme: 'bearer',
20876
+ type: 'http'
20877
+ }
20878
+ ],
20879
+ url: '/api/project-permissions-reviews/{uuid}/',
20880
+ ...options
20881
+ });
20882
+ };
20883
+ /**
20884
+ * Complete project permission review.
20885
+ */
20886
+ export const projectPermissionsReviewsClose = (options) => {
20887
+ return (options.client ?? _heyApiClient).post({
20888
+ security: [
20889
+ {
20890
+ name: 'Authorization',
20891
+ type: 'apiKey'
20892
+ },
20893
+ {
20894
+ scheme: 'bearer',
20895
+ type: 'http'
20896
+ }
20897
+ ],
20898
+ url: '/api/project-permissions-reviews/{uuid}/close/',
20899
+ ...options
20900
+ });
20901
+ };
20694
20902
  /**
20695
20903
  * List project quotas.
20696
20904
  */
@@ -20845,6 +21053,25 @@ export const projectsCreate = (options) => {
20845
21053
  }
20846
21054
  });
20847
21055
  };
21056
+ /**
21057
+ * A list of users which can be added to the current project from other projects of the same customer.
21058
+ */
21059
+ export const projectsOtherUsersList = (options) => {
21060
+ return (options.client ?? _heyApiClient).get({
21061
+ security: [
21062
+ {
21063
+ name: 'Authorization',
21064
+ type: 'apiKey'
21065
+ },
21066
+ {
21067
+ scheme: 'bearer',
21068
+ type: 'http'
21069
+ }
21070
+ ],
21071
+ url: '/api/projects/{project_uuid}/other_users/',
21072
+ ...options
21073
+ });
21074
+ };
20848
21075
  /**
20849
21076
  * If a project has connected instances, deletion request will fail with 409 response code.
20850
21077
  */
@@ -21034,25 +21261,6 @@ export const projectsMoveProject = (options) => {
21034
21261
  }
21035
21262
  });
21036
21263
  };
21037
- /**
21038
- * A list of users which can be added to the current project from other projects of the same customer.
21039
- */
21040
- export const projectsOtherUsersList = (options) => {
21041
- return (options.client ?? _heyApiClient).get({
21042
- security: [
21043
- {
21044
- name: 'Authorization',
21045
- type: 'apiKey'
21046
- },
21047
- {
21048
- scheme: 'bearer',
21049
- type: 'http'
21050
- }
21051
- ],
21052
- url: '/api/projects/{uuid}/other_users/',
21053
- ...options
21054
- });
21055
- };
21056
21264
  /**
21057
21265
  * Return statistics about project resources usage
21058
21266
  */
@@ -27621,6 +27829,25 @@ export const userPermissionRequestsApprove = (options) => {
27621
27829
  }
27622
27830
  });
27623
27831
  };
27832
+ /**
27833
+ * Cancel permission request. Users can cancel their own requests, staff can cancel any request.
27834
+ */
27835
+ export const userPermissionRequestsCancelRequest = (options) => {
27836
+ return (options.client ?? _heyApiClient).post({
27837
+ security: [
27838
+ {
27839
+ name: 'Authorization',
27840
+ type: 'apiKey'
27841
+ },
27842
+ {
27843
+ scheme: 'bearer',
27844
+ type: 'http'
27845
+ }
27846
+ ],
27847
+ url: '/api/user-permission-requests/{uuid}/cancel_request/',
27848
+ ...options
27849
+ });
27850
+ };
27624
27851
  export const userPermissionRequestsReject = (options) => {
27625
27852
  return (options.client ?? _heyApiClient).post({
27626
27853
  security: [