waldur-js-client 8.0.6-dev.1 → 8.0.6-dev.10

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
@@ -7119,7 +7119,7 @@ export const customerPermissionsReviewsClose = (options) => {
7119
7119
  * List customer quotas.
7120
7120
  */
7121
7121
  export const customerQuotasList = (options) => {
7122
- return (options.client ?? _heyApiClient).get({
7122
+ return (options?.client ?? _heyApiClient).get({
7123
7123
  security: [
7124
7124
  {
7125
7125
  name: 'Authorization',
@@ -7138,7 +7138,7 @@ export const customerQuotasList = (options) => {
7138
7138
  * Get number of items in the collection matching the request parameters.
7139
7139
  */
7140
7140
  export const customerQuotasCount = (options) => {
7141
- return (options.client ?? _heyApiClient).head({
7141
+ return (options?.client ?? _heyApiClient).head({
7142
7142
  security: [
7143
7143
  {
7144
7144
  name: 'Authorization',
@@ -33519,7 +33519,7 @@ export const projectPermissionsReviewsClose = (options) => {
33519
33519
  * List project quotas.
33520
33520
  */
33521
33521
  export const projectQuotasList = (options) => {
33522
- return (options.client ?? _heyApiClient).get({
33522
+ return (options?.client ?? _heyApiClient).get({
33523
33523
  security: [
33524
33524
  {
33525
33525
  name: 'Authorization',
@@ -33538,7 +33538,7 @@ export const projectQuotasList = (options) => {
33538
33538
  * Get number of items in the collection matching the request parameters.
33539
33539
  */
33540
33540
  export const projectQuotasCount = (options) => {
33541
- return (options.client ?? _heyApiClient).head({
33541
+ return (options?.client ?? _heyApiClient).head({
33542
33542
  security: [
33543
33543
  {
33544
33544
  name: 'Authorization',
@@ -40010,48 +40010,6 @@ export const reviewerProfilesUpdate = (options) => {
40010
40010
  }
40011
40011
  });
40012
40012
  };
40013
- /**
40014
- * List affiliations for a reviewer profile.
40015
- */
40016
- export const reviewerProfilesAffiliationsList = (options) => {
40017
- return (options.client ?? _heyApiClient).get({
40018
- security: [
40019
- {
40020
- name: 'Authorization',
40021
- type: 'apiKey'
40022
- },
40023
- {
40024
- scheme: 'bearer',
40025
- type: 'http'
40026
- }
40027
- ],
40028
- url: '/api/reviewer-profiles/{uuid}/affiliations/',
40029
- ...options
40030
- });
40031
- };
40032
- /**
40033
- * Create affiliation for a reviewer profile.
40034
- */
40035
- export const reviewerProfilesAffiliationsCreate = (options) => {
40036
- return (options.client ?? _heyApiClient).post({
40037
- security: [
40038
- {
40039
- name: 'Authorization',
40040
- type: 'apiKey'
40041
- },
40042
- {
40043
- scheme: 'bearer',
40044
- type: 'http'
40045
- }
40046
- ],
40047
- url: '/api/reviewer-profiles/{uuid}/affiliations/',
40048
- ...options,
40049
- headers: {
40050
- 'Content-Type': 'application/json',
40051
- ...options.headers
40052
- }
40053
- });
40054
- };
40055
40013
  /**
40056
40014
  * Get ORCID OAuth authorization URL.
40057
40015
  */
@@ -40117,48 +40075,6 @@ export const reviewerProfilesDisconnectOrcid = (options) => {
40117
40075
  }
40118
40076
  });
40119
40077
  };
40120
- /**
40121
- * List expertise keywords for a reviewer profile.
40122
- */
40123
- export const reviewerProfilesExpertiseList = (options) => {
40124
- return (options.client ?? _heyApiClient).get({
40125
- security: [
40126
- {
40127
- name: 'Authorization',
40128
- type: 'apiKey'
40129
- },
40130
- {
40131
- scheme: 'bearer',
40132
- type: 'http'
40133
- }
40134
- ],
40135
- url: '/api/reviewer-profiles/{uuid}/expertise/',
40136
- ...options
40137
- });
40138
- };
40139
- /**
40140
- * Create expertise entry for a reviewer profile.
40141
- */
40142
- export const reviewerProfilesExpertiseCreate = (options) => {
40143
- return (options.client ?? _heyApiClient).post({
40144
- security: [
40145
- {
40146
- name: 'Authorization',
40147
- type: 'apiKey'
40148
- },
40149
- {
40150
- scheme: 'bearer',
40151
- type: 'http'
40152
- }
40153
- ],
40154
- url: '/api/reviewer-profiles/{uuid}/expertise/',
40155
- ...options,
40156
- headers: {
40157
- 'Content-Type': 'application/json',
40158
- ...options.headers
40159
- }
40160
- });
40161
- };
40162
40078
  /**
40163
40079
  * Import publications from ORCID or other sources.
40164
40080
  */
@@ -40182,48 +40098,6 @@ export const reviewerProfilesImportPublications = (options) => {
40182
40098
  }
40183
40099
  });
40184
40100
  };
40185
- /**
40186
- * List publications for a reviewer profile.
40187
- */
40188
- export const reviewerProfilesPublicationsList = (options) => {
40189
- return (options.client ?? _heyApiClient).get({
40190
- security: [
40191
- {
40192
- name: 'Authorization',
40193
- type: 'apiKey'
40194
- },
40195
- {
40196
- scheme: 'bearer',
40197
- type: 'http'
40198
- }
40199
- ],
40200
- url: '/api/reviewer-profiles/{uuid}/publications/',
40201
- ...options
40202
- });
40203
- };
40204
- /**
40205
- * Create publication for a reviewer profile.
40206
- */
40207
- export const reviewerProfilesPublicationsCreate = (options) => {
40208
- return (options.client ?? _heyApiClient).post({
40209
- security: [
40210
- {
40211
- name: 'Authorization',
40212
- type: 'apiKey'
40213
- },
40214
- {
40215
- scheme: 'bearer',
40216
- type: 'http'
40217
- }
40218
- ],
40219
- url: '/api/reviewer-profiles/{uuid}/publications/',
40220
- ...options,
40221
- headers: {
40222
- 'Content-Type': 'application/json',
40223
- ...options.headers
40224
- }
40225
- });
40226
- };
40227
40101
  /**
40228
40102
  * Sync profile data from ORCID.
40229
40103
  */
@@ -44573,6 +44447,26 @@ export const usersRefreshToken = (options) => {
44573
44447
  ...options
44574
44448
  });
44575
44449
  };
44450
+ /**
44451
+ * Remove user password
44452
+ * Allows staff user to remove password for any user, making it unusable.
44453
+ */
44454
+ export const usersRemovePassword = (options) => {
44455
+ return (options.client ?? _heyApiClient).post({
44456
+ security: [
44457
+ {
44458
+ name: 'Authorization',
44459
+ type: 'apiKey'
44460
+ },
44461
+ {
44462
+ scheme: 'bearer',
44463
+ type: 'http'
44464
+ }
44465
+ ],
44466
+ url: '/api/users/{uuid}/remove_password/',
44467
+ ...options
44468
+ });
44469
+ };
44576
44470
  /**
44577
44471
  * Send action notification to a specific user
44578
44472
  * Staff-only action to send a pending actions digest notification to a specific user.