waldur-js-client 8.0.7-dev.3 → 8.0.7-dev.31
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.d.ts +210 -4
- package/dist/sdk.gen.js +997 -3
- package/dist/types.gen.d.ts +1802 -57
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -2011,6 +2011,29 @@ export const assignmentItemsDecline = (options) => {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
});
|
|
2013
2013
|
};
|
|
2014
|
+
/**
|
|
2015
|
+
* Force-unblock a COI-blocked assignment item (manager override).
|
|
2016
|
+
*/
|
|
2017
|
+
export const assignmentItemsForceUnblock = (options) => {
|
|
2018
|
+
return (options.client ?? _heyApiClient).post({
|
|
2019
|
+
security: [
|
|
2020
|
+
{
|
|
2021
|
+
name: 'Authorization',
|
|
2022
|
+
type: 'apiKey'
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
scheme: 'bearer',
|
|
2026
|
+
type: 'http'
|
|
2027
|
+
}
|
|
2028
|
+
],
|
|
2029
|
+
url: '/api/assignment-items/{uuid}/force-unblock/',
|
|
2030
|
+
...options,
|
|
2031
|
+
headers: {
|
|
2032
|
+
'Content-Type': 'application/json',
|
|
2033
|
+
...options.headers
|
|
2034
|
+
}
|
|
2035
|
+
});
|
|
2036
|
+
};
|
|
2014
2037
|
/**
|
|
2015
2038
|
* Reassign this item to a different reviewer.
|
|
2016
2039
|
*/
|
|
@@ -5285,6 +5308,120 @@ export const callManagingOrganisationsUpdateUser = (options) => {
|
|
|
5285
5308
|
}
|
|
5286
5309
|
});
|
|
5287
5310
|
};
|
|
5311
|
+
/**
|
|
5312
|
+
* Get call performance statistics across all calls.
|
|
5313
|
+
*/
|
|
5314
|
+
export const callManagingOrganisationsGlobalStatsPerformanceList = (options) => {
|
|
5315
|
+
return (options?.client ?? _heyApiClient).get({
|
|
5316
|
+
security: [
|
|
5317
|
+
{
|
|
5318
|
+
name: 'Authorization',
|
|
5319
|
+
type: 'apiKey'
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
scheme: 'bearer',
|
|
5323
|
+
type: 'http'
|
|
5324
|
+
}
|
|
5325
|
+
],
|
|
5326
|
+
url: '/api/call-managing-organisations/global_stats_performance/',
|
|
5327
|
+
...options
|
|
5328
|
+
});
|
|
5329
|
+
};
|
|
5330
|
+
/**
|
|
5331
|
+
* Get number of items in the collection matching the request parameters.
|
|
5332
|
+
*/
|
|
5333
|
+
export const callManagingOrganisationsGlobalStatsPerformanceCount = (options) => {
|
|
5334
|
+
return (options?.client ?? _heyApiClient).head({
|
|
5335
|
+
security: [
|
|
5336
|
+
{
|
|
5337
|
+
name: 'Authorization',
|
|
5338
|
+
type: 'apiKey'
|
|
5339
|
+
},
|
|
5340
|
+
{
|
|
5341
|
+
scheme: 'bearer',
|
|
5342
|
+
type: 'http'
|
|
5343
|
+
}
|
|
5344
|
+
],
|
|
5345
|
+
url: '/api/call-managing-organisations/global_stats_performance/',
|
|
5346
|
+
...options
|
|
5347
|
+
});
|
|
5348
|
+
};
|
|
5349
|
+
/**
|
|
5350
|
+
* Get resource demand statistics across all calls and offerings.
|
|
5351
|
+
*/
|
|
5352
|
+
export const callManagingOrganisationsGlobalStatsResourceDemandList = (options) => {
|
|
5353
|
+
return (options?.client ?? _heyApiClient).get({
|
|
5354
|
+
security: [
|
|
5355
|
+
{
|
|
5356
|
+
name: 'Authorization',
|
|
5357
|
+
type: 'apiKey'
|
|
5358
|
+
},
|
|
5359
|
+
{
|
|
5360
|
+
scheme: 'bearer',
|
|
5361
|
+
type: 'http'
|
|
5362
|
+
}
|
|
5363
|
+
],
|
|
5364
|
+
url: '/api/call-managing-organisations/global_stats_resource_demand/',
|
|
5365
|
+
...options
|
|
5366
|
+
});
|
|
5367
|
+
};
|
|
5368
|
+
/**
|
|
5369
|
+
* Get number of items in the collection matching the request parameters.
|
|
5370
|
+
*/
|
|
5371
|
+
export const callManagingOrganisationsGlobalStatsResourceDemandCount = (options) => {
|
|
5372
|
+
return (options?.client ?? _heyApiClient).head({
|
|
5373
|
+
security: [
|
|
5374
|
+
{
|
|
5375
|
+
name: 'Authorization',
|
|
5376
|
+
type: 'apiKey'
|
|
5377
|
+
},
|
|
5378
|
+
{
|
|
5379
|
+
scheme: 'bearer',
|
|
5380
|
+
type: 'http'
|
|
5381
|
+
}
|
|
5382
|
+
],
|
|
5383
|
+
url: '/api/call-managing-organisations/global_stats_resource_demand/',
|
|
5384
|
+
...options
|
|
5385
|
+
});
|
|
5386
|
+
};
|
|
5387
|
+
/**
|
|
5388
|
+
* Get review progress statistics across all reviewers.
|
|
5389
|
+
*/
|
|
5390
|
+
export const callManagingOrganisationsGlobalStatsReviewProgressList = (options) => {
|
|
5391
|
+
return (options?.client ?? _heyApiClient).get({
|
|
5392
|
+
security: [
|
|
5393
|
+
{
|
|
5394
|
+
name: 'Authorization',
|
|
5395
|
+
type: 'apiKey'
|
|
5396
|
+
},
|
|
5397
|
+
{
|
|
5398
|
+
scheme: 'bearer',
|
|
5399
|
+
type: 'http'
|
|
5400
|
+
}
|
|
5401
|
+
],
|
|
5402
|
+
url: '/api/call-managing-organisations/global_stats_review_progress/',
|
|
5403
|
+
...options
|
|
5404
|
+
});
|
|
5405
|
+
};
|
|
5406
|
+
/**
|
|
5407
|
+
* Get number of items in the collection matching the request parameters.
|
|
5408
|
+
*/
|
|
5409
|
+
export const callManagingOrganisationsGlobalStatsReviewProgressCount = (options) => {
|
|
5410
|
+
return (options?.client ?? _heyApiClient).head({
|
|
5411
|
+
security: [
|
|
5412
|
+
{
|
|
5413
|
+
name: 'Authorization',
|
|
5414
|
+
type: 'apiKey'
|
|
5415
|
+
},
|
|
5416
|
+
{
|
|
5417
|
+
scheme: 'bearer',
|
|
5418
|
+
type: 'http'
|
|
5419
|
+
}
|
|
5420
|
+
],
|
|
5421
|
+
url: '/api/call-managing-organisations/global_stats_review_progress/',
|
|
5422
|
+
...options
|
|
5423
|
+
});
|
|
5424
|
+
};
|
|
5288
5425
|
export const callProposalProjectRoleMappingsList = (options) => {
|
|
5289
5426
|
return (options?.client ?? _heyApiClient).get({
|
|
5290
5427
|
security: [
|
|
@@ -5529,6 +5666,29 @@ export const callReviewerPoolsDecline = (options) => {
|
|
|
5529
5666
|
}
|
|
5530
5667
|
});
|
|
5531
5668
|
};
|
|
5669
|
+
/**
|
|
5670
|
+
* Force-accept a pool invitation (manager override).
|
|
5671
|
+
*/
|
|
5672
|
+
export const callReviewerPoolsForceAccept = (options) => {
|
|
5673
|
+
return (options.client ?? _heyApiClient).post({
|
|
5674
|
+
security: [
|
|
5675
|
+
{
|
|
5676
|
+
name: 'Authorization',
|
|
5677
|
+
type: 'apiKey'
|
|
5678
|
+
},
|
|
5679
|
+
{
|
|
5680
|
+
scheme: 'bearer',
|
|
5681
|
+
type: 'http'
|
|
5682
|
+
}
|
|
5683
|
+
],
|
|
5684
|
+
url: '/api/call-reviewer-pools/{uuid}/force-accept/',
|
|
5685
|
+
...options,
|
|
5686
|
+
headers: {
|
|
5687
|
+
'Content-Type': 'application/json',
|
|
5688
|
+
...options.headers
|
|
5689
|
+
}
|
|
5690
|
+
});
|
|
5691
|
+
};
|
|
5532
5692
|
export const callRoundsList = (options) => {
|
|
5533
5693
|
return (options?.client ?? _heyApiClient).get({
|
|
5534
5694
|
security: [
|
|
@@ -5811,6 +5971,30 @@ export const chatThreadsArchive = (options) => {
|
|
|
5811
5971
|
}
|
|
5812
5972
|
});
|
|
5813
5973
|
};
|
|
5974
|
+
/**
|
|
5975
|
+
* Cancel active stream
|
|
5976
|
+
* Request cancellation of the active LLM stream for this thread.
|
|
5977
|
+
*/
|
|
5978
|
+
export const chatThreadsCancel = (options) => {
|
|
5979
|
+
return (options.client ?? _heyApiClient).post({
|
|
5980
|
+
security: [
|
|
5981
|
+
{
|
|
5982
|
+
name: 'Authorization',
|
|
5983
|
+
type: 'apiKey'
|
|
5984
|
+
},
|
|
5985
|
+
{
|
|
5986
|
+
scheme: 'bearer',
|
|
5987
|
+
type: 'http'
|
|
5988
|
+
}
|
|
5989
|
+
],
|
|
5990
|
+
url: '/api/chat-threads/{uuid}/cancel/',
|
|
5991
|
+
...options,
|
|
5992
|
+
headers: {
|
|
5993
|
+
'Content-Type': 'application/json',
|
|
5994
|
+
...options.headers
|
|
5995
|
+
}
|
|
5996
|
+
});
|
|
5997
|
+
};
|
|
5814
5998
|
/**
|
|
5815
5999
|
* Unarchive thread
|
|
5816
6000
|
* Restore an archived thread.
|
|
@@ -9810,6 +9994,26 @@ export const identityBridge = (options) => {
|
|
|
9810
9994
|
}
|
|
9811
9995
|
});
|
|
9812
9996
|
};
|
|
9997
|
+
/**
|
|
9998
|
+
* Get allowed Identity Bridge fields
|
|
9999
|
+
* Returns the list of user attribute fields that the Identity Bridge currently accepts. Useful for clients to pre-filter payloads. Requires staff or identity manager permissions.
|
|
10000
|
+
*/
|
|
10001
|
+
export const identityBridgeAllowedFieldsRetrieve = (options) => {
|
|
10002
|
+
return (options?.client ?? _heyApiClient).get({
|
|
10003
|
+
security: [
|
|
10004
|
+
{
|
|
10005
|
+
name: 'Authorization',
|
|
10006
|
+
type: 'apiKey'
|
|
10007
|
+
},
|
|
10008
|
+
{
|
|
10009
|
+
scheme: 'bearer',
|
|
10010
|
+
type: 'http'
|
|
10011
|
+
}
|
|
10012
|
+
],
|
|
10013
|
+
url: '/api/identity-bridge/allowed-fields/',
|
|
10014
|
+
...options
|
|
10015
|
+
});
|
|
10016
|
+
};
|
|
9813
10017
|
/**
|
|
9814
10018
|
* Remove a user from an ISD
|
|
9815
10019
|
* Signals that a user has been removed from an ISD. Removes the source from active_isds, clears attributes owned by that source, and deactivates the user if no ISDs remain (configurable via FEDERATED_IDENTITY_DEACTIVATION_POLICY). Requires FEDERATED_IDENTITY_SYNC_ENABLED to be True. Caller must be staff or an identity manager with the declared source in managed_isds.
|
|
@@ -11922,6 +12126,356 @@ export const managedRancherClusterResourcesAddNode = (options) => {
|
|
|
11922
12126
|
}
|
|
11923
12127
|
});
|
|
11924
12128
|
};
|
|
12129
|
+
/**
|
|
12130
|
+
* Apply article code replacements
|
|
12131
|
+
*/
|
|
12132
|
+
export const marketplaceArticleCodeUpdateApply = (options) => {
|
|
12133
|
+
return (options.client ?? _heyApiClient).post({
|
|
12134
|
+
security: [
|
|
12135
|
+
{
|
|
12136
|
+
name: 'Authorization',
|
|
12137
|
+
type: 'apiKey'
|
|
12138
|
+
},
|
|
12139
|
+
{
|
|
12140
|
+
scheme: 'bearer',
|
|
12141
|
+
type: 'http'
|
|
12142
|
+
}
|
|
12143
|
+
],
|
|
12144
|
+
url: '/api/marketplace-article-code-update/apply/',
|
|
12145
|
+
...options,
|
|
12146
|
+
headers: {
|
|
12147
|
+
'Content-Type': 'application/json',
|
|
12148
|
+
...options.headers
|
|
12149
|
+
}
|
|
12150
|
+
});
|
|
12151
|
+
};
|
|
12152
|
+
/**
|
|
12153
|
+
* Preview article code replacements
|
|
12154
|
+
*/
|
|
12155
|
+
export const marketplaceArticleCodeUpdatePreview = (options) => {
|
|
12156
|
+
return (options.client ?? _heyApiClient).post({
|
|
12157
|
+
security: [
|
|
12158
|
+
{
|
|
12159
|
+
name: 'Authorization',
|
|
12160
|
+
type: 'apiKey'
|
|
12161
|
+
},
|
|
12162
|
+
{
|
|
12163
|
+
scheme: 'bearer',
|
|
12164
|
+
type: 'http'
|
|
12165
|
+
}
|
|
12166
|
+
],
|
|
12167
|
+
url: '/api/marketplace-article-code-update/preview/',
|
|
12168
|
+
...options,
|
|
12169
|
+
headers: {
|
|
12170
|
+
'Content-Type': 'application/json',
|
|
12171
|
+
...options.headers
|
|
12172
|
+
}
|
|
12173
|
+
});
|
|
12174
|
+
};
|
|
12175
|
+
/**
|
|
12176
|
+
* List attribute options
|
|
12177
|
+
* Returns a paginated list of options for choice-type attributes. Filter by attribute (URL). Default option is determined by attribute.default.
|
|
12178
|
+
*/
|
|
12179
|
+
export const marketplaceAttributeOptionsList = (options) => {
|
|
12180
|
+
return (options?.client ?? _heyApiClient).get({
|
|
12181
|
+
security: [
|
|
12182
|
+
{
|
|
12183
|
+
name: 'Authorization',
|
|
12184
|
+
type: 'apiKey'
|
|
12185
|
+
},
|
|
12186
|
+
{
|
|
12187
|
+
scheme: 'bearer',
|
|
12188
|
+
type: 'http'
|
|
12189
|
+
}
|
|
12190
|
+
],
|
|
12191
|
+
url: '/api/marketplace-attribute-options/',
|
|
12192
|
+
...options
|
|
12193
|
+
});
|
|
12194
|
+
};
|
|
12195
|
+
/**
|
|
12196
|
+
* List attribute options
|
|
12197
|
+
* Get number of items in the collection matching the request parameters.
|
|
12198
|
+
*/
|
|
12199
|
+
export const marketplaceAttributeOptionsCount = (options) => {
|
|
12200
|
+
return (options?.client ?? _heyApiClient).head({
|
|
12201
|
+
security: [
|
|
12202
|
+
{
|
|
12203
|
+
name: 'Authorization',
|
|
12204
|
+
type: 'apiKey'
|
|
12205
|
+
},
|
|
12206
|
+
{
|
|
12207
|
+
scheme: 'bearer',
|
|
12208
|
+
type: 'http'
|
|
12209
|
+
}
|
|
12210
|
+
],
|
|
12211
|
+
url: '/api/marketplace-attribute-options/',
|
|
12212
|
+
...options
|
|
12213
|
+
});
|
|
12214
|
+
};
|
|
12215
|
+
/**
|
|
12216
|
+
* Create an attribute option
|
|
12217
|
+
* Creates a new option for a choice-type attribute. Requires staff permissions.
|
|
12218
|
+
*/
|
|
12219
|
+
export const marketplaceAttributeOptionsCreate = (options) => {
|
|
12220
|
+
return (options.client ?? _heyApiClient).post({
|
|
12221
|
+
security: [
|
|
12222
|
+
{
|
|
12223
|
+
name: 'Authorization',
|
|
12224
|
+
type: 'apiKey'
|
|
12225
|
+
},
|
|
12226
|
+
{
|
|
12227
|
+
scheme: 'bearer',
|
|
12228
|
+
type: 'http'
|
|
12229
|
+
}
|
|
12230
|
+
],
|
|
12231
|
+
url: '/api/marketplace-attribute-options/',
|
|
12232
|
+
...options,
|
|
12233
|
+
headers: {
|
|
12234
|
+
'Content-Type': 'application/json',
|
|
12235
|
+
...options.headers
|
|
12236
|
+
}
|
|
12237
|
+
});
|
|
12238
|
+
};
|
|
12239
|
+
/**
|
|
12240
|
+
* Delete an attribute option
|
|
12241
|
+
* Deletes an attribute option. Requires staff permissions.
|
|
12242
|
+
*/
|
|
12243
|
+
export const marketplaceAttributeOptionsDestroy = (options) => {
|
|
12244
|
+
return (options.client ?? _heyApiClient).delete({
|
|
12245
|
+
security: [
|
|
12246
|
+
{
|
|
12247
|
+
name: 'Authorization',
|
|
12248
|
+
type: 'apiKey'
|
|
12249
|
+
},
|
|
12250
|
+
{
|
|
12251
|
+
scheme: 'bearer',
|
|
12252
|
+
type: 'http'
|
|
12253
|
+
}
|
|
12254
|
+
],
|
|
12255
|
+
url: '/api/marketplace-attribute-options/{uuid}/',
|
|
12256
|
+
...options
|
|
12257
|
+
});
|
|
12258
|
+
};
|
|
12259
|
+
/**
|
|
12260
|
+
* Retrieve an attribute option
|
|
12261
|
+
* Returns the details of a specific attribute option.
|
|
12262
|
+
*/
|
|
12263
|
+
export const marketplaceAttributeOptionsRetrieve = (options) => {
|
|
12264
|
+
return (options.client ?? _heyApiClient).get({
|
|
12265
|
+
security: [
|
|
12266
|
+
{
|
|
12267
|
+
name: 'Authorization',
|
|
12268
|
+
type: 'apiKey'
|
|
12269
|
+
},
|
|
12270
|
+
{
|
|
12271
|
+
scheme: 'bearer',
|
|
12272
|
+
type: 'http'
|
|
12273
|
+
}
|
|
12274
|
+
],
|
|
12275
|
+
url: '/api/marketplace-attribute-options/{uuid}/',
|
|
12276
|
+
...options
|
|
12277
|
+
});
|
|
12278
|
+
};
|
|
12279
|
+
/**
|
|
12280
|
+
* Partially update an attribute option
|
|
12281
|
+
* Partially updates an existing attribute option. To set the default option, PATCH the attribute with default=<option_key>. Requires staff permissions.
|
|
12282
|
+
*/
|
|
12283
|
+
export const marketplaceAttributeOptionsPartialUpdate = (options) => {
|
|
12284
|
+
return (options.client ?? _heyApiClient).patch({
|
|
12285
|
+
security: [
|
|
12286
|
+
{
|
|
12287
|
+
name: 'Authorization',
|
|
12288
|
+
type: 'apiKey'
|
|
12289
|
+
},
|
|
12290
|
+
{
|
|
12291
|
+
scheme: 'bearer',
|
|
12292
|
+
type: 'http'
|
|
12293
|
+
}
|
|
12294
|
+
],
|
|
12295
|
+
url: '/api/marketplace-attribute-options/{uuid}/',
|
|
12296
|
+
...options,
|
|
12297
|
+
headers: {
|
|
12298
|
+
'Content-Type': 'application/json',
|
|
12299
|
+
...options.headers
|
|
12300
|
+
}
|
|
12301
|
+
});
|
|
12302
|
+
};
|
|
12303
|
+
/**
|
|
12304
|
+
* Update an attribute option
|
|
12305
|
+
* Updates an existing attribute option. Requires staff permissions.
|
|
12306
|
+
*/
|
|
12307
|
+
export const marketplaceAttributeOptionsUpdate = (options) => {
|
|
12308
|
+
return (options.client ?? _heyApiClient).put({
|
|
12309
|
+
security: [
|
|
12310
|
+
{
|
|
12311
|
+
name: 'Authorization',
|
|
12312
|
+
type: 'apiKey'
|
|
12313
|
+
},
|
|
12314
|
+
{
|
|
12315
|
+
scheme: 'bearer',
|
|
12316
|
+
type: 'http'
|
|
12317
|
+
}
|
|
12318
|
+
],
|
|
12319
|
+
url: '/api/marketplace-attribute-options/{uuid}/',
|
|
12320
|
+
...options,
|
|
12321
|
+
headers: {
|
|
12322
|
+
'Content-Type': 'application/json',
|
|
12323
|
+
...options.headers
|
|
12324
|
+
}
|
|
12325
|
+
});
|
|
12326
|
+
};
|
|
12327
|
+
/**
|
|
12328
|
+
* List attributes
|
|
12329
|
+
* Returns a paginated list of all attributes. Attributes define form fields within section. Filter by section (URL).
|
|
12330
|
+
*/
|
|
12331
|
+
export const marketplaceAttributesList = (options) => {
|
|
12332
|
+
return (options?.client ?? _heyApiClient).get({
|
|
12333
|
+
security: [
|
|
12334
|
+
{
|
|
12335
|
+
name: 'Authorization',
|
|
12336
|
+
type: 'apiKey'
|
|
12337
|
+
},
|
|
12338
|
+
{
|
|
12339
|
+
scheme: 'bearer',
|
|
12340
|
+
type: 'http'
|
|
12341
|
+
}
|
|
12342
|
+
],
|
|
12343
|
+
url: '/api/marketplace-attributes/',
|
|
12344
|
+
...options
|
|
12345
|
+
});
|
|
12346
|
+
};
|
|
12347
|
+
/**
|
|
12348
|
+
* List attributes
|
|
12349
|
+
* Get number of items in the collection matching the request parameters.
|
|
12350
|
+
*/
|
|
12351
|
+
export const marketplaceAttributesCount = (options) => {
|
|
12352
|
+
return (options?.client ?? _heyApiClient).head({
|
|
12353
|
+
security: [
|
|
12354
|
+
{
|
|
12355
|
+
name: 'Authorization',
|
|
12356
|
+
type: 'apiKey'
|
|
12357
|
+
},
|
|
12358
|
+
{
|
|
12359
|
+
scheme: 'bearer',
|
|
12360
|
+
type: 'http'
|
|
12361
|
+
}
|
|
12362
|
+
],
|
|
12363
|
+
url: '/api/marketplace-attributes/',
|
|
12364
|
+
...options
|
|
12365
|
+
});
|
|
12366
|
+
};
|
|
12367
|
+
/**
|
|
12368
|
+
* Create an attribute
|
|
12369
|
+
* Creates a new attribute within a section. Requires staff permissions.
|
|
12370
|
+
*/
|
|
12371
|
+
export const marketplaceAttributesCreate = (options) => {
|
|
12372
|
+
return (options.client ?? _heyApiClient).post({
|
|
12373
|
+
security: [
|
|
12374
|
+
{
|
|
12375
|
+
name: 'Authorization',
|
|
12376
|
+
type: 'apiKey'
|
|
12377
|
+
},
|
|
12378
|
+
{
|
|
12379
|
+
scheme: 'bearer',
|
|
12380
|
+
type: 'http'
|
|
12381
|
+
}
|
|
12382
|
+
],
|
|
12383
|
+
url: '/api/marketplace-attributes/',
|
|
12384
|
+
...options,
|
|
12385
|
+
headers: {
|
|
12386
|
+
'Content-Type': 'application/json',
|
|
12387
|
+
...options.headers
|
|
12388
|
+
}
|
|
12389
|
+
});
|
|
12390
|
+
};
|
|
12391
|
+
/**
|
|
12392
|
+
* Delete an attribute
|
|
12393
|
+
* Deletes an attribute. Requires staff permissions.
|
|
12394
|
+
*/
|
|
12395
|
+
export const marketplaceAttributesDestroy = (options) => {
|
|
12396
|
+
return (options.client ?? _heyApiClient).delete({
|
|
12397
|
+
security: [
|
|
12398
|
+
{
|
|
12399
|
+
name: 'Authorization',
|
|
12400
|
+
type: 'apiKey'
|
|
12401
|
+
},
|
|
12402
|
+
{
|
|
12403
|
+
scheme: 'bearer',
|
|
12404
|
+
type: 'http'
|
|
12405
|
+
}
|
|
12406
|
+
],
|
|
12407
|
+
url: '/api/marketplace-attributes/{uuid}/',
|
|
12408
|
+
...options
|
|
12409
|
+
});
|
|
12410
|
+
};
|
|
12411
|
+
/**
|
|
12412
|
+
* Retrieve an attribute
|
|
12413
|
+
* Returns the details of a specific attribute, identified by its UUID.
|
|
12414
|
+
*/
|
|
12415
|
+
export const marketplaceAttributesRetrieve = (options) => {
|
|
12416
|
+
return (options.client ?? _heyApiClient).get({
|
|
12417
|
+
security: [
|
|
12418
|
+
{
|
|
12419
|
+
name: 'Authorization',
|
|
12420
|
+
type: 'apiKey'
|
|
12421
|
+
},
|
|
12422
|
+
{
|
|
12423
|
+
scheme: 'bearer',
|
|
12424
|
+
type: 'http'
|
|
12425
|
+
}
|
|
12426
|
+
],
|
|
12427
|
+
url: '/api/marketplace-attributes/{uuid}/',
|
|
12428
|
+
...options
|
|
12429
|
+
});
|
|
12430
|
+
};
|
|
12431
|
+
/**
|
|
12432
|
+
* Partially update an attribute
|
|
12433
|
+
* Partially updates an existing attribute. Requires staff permissions.
|
|
12434
|
+
*/
|
|
12435
|
+
export const marketplaceAttributesPartialUpdate = (options) => {
|
|
12436
|
+
return (options.client ?? _heyApiClient).patch({
|
|
12437
|
+
security: [
|
|
12438
|
+
{
|
|
12439
|
+
name: 'Authorization',
|
|
12440
|
+
type: 'apiKey'
|
|
12441
|
+
},
|
|
12442
|
+
{
|
|
12443
|
+
scheme: 'bearer',
|
|
12444
|
+
type: 'http'
|
|
12445
|
+
}
|
|
12446
|
+
],
|
|
12447
|
+
url: '/api/marketplace-attributes/{uuid}/',
|
|
12448
|
+
...options,
|
|
12449
|
+
headers: {
|
|
12450
|
+
'Content-Type': 'application/json',
|
|
12451
|
+
...options.headers
|
|
12452
|
+
}
|
|
12453
|
+
});
|
|
12454
|
+
};
|
|
12455
|
+
/**
|
|
12456
|
+
* Update an attribute
|
|
12457
|
+
* Updates an existing attribute. Requires staff permissions.
|
|
12458
|
+
*/
|
|
12459
|
+
export const marketplaceAttributesUpdate = (options) => {
|
|
12460
|
+
return (options.client ?? _heyApiClient).put({
|
|
12461
|
+
security: [
|
|
12462
|
+
{
|
|
12463
|
+
name: 'Authorization',
|
|
12464
|
+
type: 'apiKey'
|
|
12465
|
+
},
|
|
12466
|
+
{
|
|
12467
|
+
scheme: 'bearer',
|
|
12468
|
+
type: 'http'
|
|
12469
|
+
}
|
|
12470
|
+
],
|
|
12471
|
+
url: '/api/marketplace-attributes/{uuid}/',
|
|
12472
|
+
...options,
|
|
12473
|
+
headers: {
|
|
12474
|
+
'Content-Type': 'application/json',
|
|
12475
|
+
...options.headers
|
|
12476
|
+
}
|
|
12477
|
+
});
|
|
12478
|
+
};
|
|
11925
12479
|
export const marketplaceBookingsList = (options) => {
|
|
11926
12480
|
return (options.client ?? _heyApiClient).get({
|
|
11927
12481
|
security: [
|
|
@@ -13085,6 +13639,25 @@ export const marketplaceCourseAccountsRetrieve = (options) => {
|
|
|
13085
13639
|
...options
|
|
13086
13640
|
});
|
|
13087
13641
|
};
|
|
13642
|
+
/**
|
|
13643
|
+
* Retry a failed course account
|
|
13644
|
+
*/
|
|
13645
|
+
export const marketplaceCourseAccountsRetry = (options) => {
|
|
13646
|
+
return (options.client ?? _heyApiClient).post({
|
|
13647
|
+
security: [
|
|
13648
|
+
{
|
|
13649
|
+
name: 'Authorization',
|
|
13650
|
+
type: 'apiKey'
|
|
13651
|
+
},
|
|
13652
|
+
{
|
|
13653
|
+
scheme: 'bearer',
|
|
13654
|
+
type: 'http'
|
|
13655
|
+
}
|
|
13656
|
+
],
|
|
13657
|
+
url: '/api/marketplace-course-accounts/{uuid}/retry/',
|
|
13658
|
+
...options
|
|
13659
|
+
});
|
|
13660
|
+
};
|
|
13088
13661
|
/**
|
|
13089
13662
|
* Bulk create course accounts
|
|
13090
13663
|
* Creates multiple course accounts within a specified course project in a single request.
|
|
@@ -15583,6 +16156,26 @@ export const marketplaceOrdersRejectByProvider = (options) => {
|
|
|
15583
16156
|
}
|
|
15584
16157
|
});
|
|
15585
16158
|
};
|
|
16159
|
+
/**
|
|
16160
|
+
* Retry an erred order
|
|
16161
|
+
* Resets an erred order and its resource back to an active state so that the order can be reprocessed.
|
|
16162
|
+
*/
|
|
16163
|
+
export const marketplaceOrdersRetry = (options) => {
|
|
16164
|
+
return (options.client ?? _heyApiClient).post({
|
|
16165
|
+
security: [
|
|
16166
|
+
{
|
|
16167
|
+
name: 'Authorization',
|
|
16168
|
+
type: 'apiKey'
|
|
16169
|
+
},
|
|
16170
|
+
{
|
|
16171
|
+
scheme: 'bearer',
|
|
16172
|
+
type: 'http'
|
|
16173
|
+
}
|
|
16174
|
+
],
|
|
16175
|
+
url: '/api/marketplace-orders/{uuid}/retry/',
|
|
16176
|
+
...options
|
|
16177
|
+
});
|
|
16178
|
+
};
|
|
15586
16179
|
/**
|
|
15587
16180
|
* Set order backend ID
|
|
15588
16181
|
* Allows a service provider or staff to set or update the backend ID associated with an order. This is useful for linking the order to an external system's identifier.
|
|
@@ -18785,9 +19378,58 @@ export const marketplaceProviderResourcesSetDownscaled = (options) => {
|
|
|
18785
19378
|
}
|
|
18786
19379
|
});
|
|
18787
19380
|
};
|
|
19381
|
+
/**
|
|
19382
|
+
* Set resource effective ID
|
|
19383
|
+
* Allows a service provider to set or update the effective ID for a resource. The effective ID represents the backend identifier assigned by a downstream provider in federated Waldur deployments.
|
|
19384
|
+
*/
|
|
19385
|
+
export const marketplaceProviderResourcesSetEffectiveId = (options) => {
|
|
19386
|
+
return (options.client ?? _heyApiClient).post({
|
|
19387
|
+
security: [
|
|
19388
|
+
{
|
|
19389
|
+
name: 'Authorization',
|
|
19390
|
+
type: 'apiKey'
|
|
19391
|
+
},
|
|
19392
|
+
{
|
|
19393
|
+
scheme: 'bearer',
|
|
19394
|
+
type: 'http'
|
|
19395
|
+
}
|
|
19396
|
+
],
|
|
19397
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_effective_id/',
|
|
19398
|
+
...options,
|
|
19399
|
+
headers: {
|
|
19400
|
+
'Content-Type': 'application/json',
|
|
19401
|
+
...options.headers
|
|
19402
|
+
}
|
|
19403
|
+
});
|
|
19404
|
+
};
|
|
19405
|
+
/**
|
|
19406
|
+
* Set end date of the resource
|
|
19407
|
+
* Allows a service provider to set or update the end date for a resource.
|
|
19408
|
+
*/
|
|
19409
|
+
export const marketplaceProviderResourcesSetEndDate = (options) => {
|
|
19410
|
+
return (options.client ?? _heyApiClient).post({
|
|
19411
|
+
security: [
|
|
19412
|
+
{
|
|
19413
|
+
name: 'Authorization',
|
|
19414
|
+
type: 'apiKey'
|
|
19415
|
+
},
|
|
19416
|
+
{
|
|
19417
|
+
scheme: 'bearer',
|
|
19418
|
+
type: 'http'
|
|
19419
|
+
}
|
|
19420
|
+
],
|
|
19421
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_end_date/',
|
|
19422
|
+
...options,
|
|
19423
|
+
headers: {
|
|
19424
|
+
'Content-Type': 'application/json',
|
|
19425
|
+
...options.headers
|
|
19426
|
+
}
|
|
19427
|
+
});
|
|
19428
|
+
};
|
|
18788
19429
|
/**
|
|
18789
19430
|
* Set end date by provider
|
|
18790
|
-
* Allows a service provider to set or update the end date for a resource
|
|
19431
|
+
* Deprecated: Use set_end_date instead. Allows a service provider to set or update the end date for a resource.
|
|
19432
|
+
* @deprecated
|
|
18791
19433
|
*/
|
|
18792
19434
|
export const marketplaceProviderResourcesSetEndDateByProvider = (options) => {
|
|
18793
19435
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -18811,7 +19453,8 @@ export const marketplaceProviderResourcesSetEndDateByProvider = (options) => {
|
|
|
18811
19453
|
};
|
|
18812
19454
|
/**
|
|
18813
19455
|
* Set end date of the resource by staff
|
|
18814
|
-
* Allows a staff user to set or update the end date for a resource
|
|
19456
|
+
* Deprecated: Use set_end_date instead. Allows a staff user to set or update the end date for a resource.
|
|
19457
|
+
* @deprecated
|
|
18815
19458
|
*/
|
|
18816
19459
|
export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
|
|
18817
19460
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -19958,9 +20601,34 @@ export const marketplaceResourcesSetDownscaled = (options) => {
|
|
|
19958
20601
|
}
|
|
19959
20602
|
});
|
|
19960
20603
|
};
|
|
20604
|
+
/**
|
|
20605
|
+
* Set end date of the resource
|
|
20606
|
+
* Allows a consumer (customer owner) to set or update the end date for a resource.
|
|
20607
|
+
*/
|
|
20608
|
+
export const marketplaceResourcesSetEndDate = (options) => {
|
|
20609
|
+
return (options.client ?? _heyApiClient).post({
|
|
20610
|
+
security: [
|
|
20611
|
+
{
|
|
20612
|
+
name: 'Authorization',
|
|
20613
|
+
type: 'apiKey'
|
|
20614
|
+
},
|
|
20615
|
+
{
|
|
20616
|
+
scheme: 'bearer',
|
|
20617
|
+
type: 'http'
|
|
20618
|
+
}
|
|
20619
|
+
],
|
|
20620
|
+
url: '/api/marketplace-resources/{uuid}/set_end_date/',
|
|
20621
|
+
...options,
|
|
20622
|
+
headers: {
|
|
20623
|
+
'Content-Type': 'application/json',
|
|
20624
|
+
...options.headers
|
|
20625
|
+
}
|
|
20626
|
+
});
|
|
20627
|
+
};
|
|
19961
20628
|
/**
|
|
19962
20629
|
* Set end date of the resource by staff
|
|
19963
|
-
* Allows a staff user to set or update the end date for a resource
|
|
20630
|
+
* Deprecated: Use set_end_date instead. Allows a staff user to set or update the end date for a resource.
|
|
20631
|
+
* @deprecated
|
|
19964
20632
|
*/
|
|
19965
20633
|
export const marketplaceResourcesSetEndDateByStaff = (options) => {
|
|
19966
20634
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -23894,6 +24562,44 @@ export const marketplaceStatsProjectClassificationSummaryCount = (options) => {
|
|
|
23894
24562
|
...options
|
|
23895
24563
|
});
|
|
23896
24564
|
};
|
|
24565
|
+
/**
|
|
24566
|
+
* Return project creation counts grouped by month.
|
|
24567
|
+
*/
|
|
24568
|
+
export const marketplaceStatsProjectCreationTrendList = (options) => {
|
|
24569
|
+
return (options?.client ?? _heyApiClient).get({
|
|
24570
|
+
security: [
|
|
24571
|
+
{
|
|
24572
|
+
name: 'Authorization',
|
|
24573
|
+
type: 'apiKey'
|
|
24574
|
+
},
|
|
24575
|
+
{
|
|
24576
|
+
scheme: 'bearer',
|
|
24577
|
+
type: 'http'
|
|
24578
|
+
}
|
|
24579
|
+
],
|
|
24580
|
+
url: '/api/marketplace-stats/project_creation_trend/',
|
|
24581
|
+
...options
|
|
24582
|
+
});
|
|
24583
|
+
};
|
|
24584
|
+
/**
|
|
24585
|
+
* Get number of items in the collection matching the request parameters.
|
|
24586
|
+
*/
|
|
24587
|
+
export const marketplaceStatsProjectCreationTrendCount = (options) => {
|
|
24588
|
+
return (options?.client ?? _heyApiClient).head({
|
|
24589
|
+
security: [
|
|
24590
|
+
{
|
|
24591
|
+
name: 'Authorization',
|
|
24592
|
+
type: 'apiKey'
|
|
24593
|
+
},
|
|
24594
|
+
{
|
|
24595
|
+
scheme: 'bearer',
|
|
24596
|
+
type: 'http'
|
|
24597
|
+
}
|
|
24598
|
+
],
|
|
24599
|
+
url: '/api/marketplace-stats/project_creation_trend/',
|
|
24600
|
+
...options
|
|
24601
|
+
});
|
|
24602
|
+
};
|
|
23897
24603
|
/**
|
|
23898
24604
|
* Group project limits by industry flag.
|
|
23899
24605
|
*/
|
|
@@ -24160,6 +24866,44 @@ export const marketplaceStatsProviderResourcesCount = (options) => {
|
|
|
24160
24866
|
...options
|
|
24161
24867
|
});
|
|
24162
24868
|
};
|
|
24869
|
+
/**
|
|
24870
|
+
* Return resource creation counts grouped by month.
|
|
24871
|
+
*/
|
|
24872
|
+
export const marketplaceStatsResourceCreationTrendList = (options) => {
|
|
24873
|
+
return (options?.client ?? _heyApiClient).get({
|
|
24874
|
+
security: [
|
|
24875
|
+
{
|
|
24876
|
+
name: 'Authorization',
|
|
24877
|
+
type: 'apiKey'
|
|
24878
|
+
},
|
|
24879
|
+
{
|
|
24880
|
+
scheme: 'bearer',
|
|
24881
|
+
type: 'http'
|
|
24882
|
+
}
|
|
24883
|
+
],
|
|
24884
|
+
url: '/api/marketplace-stats/resource_creation_trend/',
|
|
24885
|
+
...options
|
|
24886
|
+
});
|
|
24887
|
+
};
|
|
24888
|
+
/**
|
|
24889
|
+
* Get number of items in the collection matching the request parameters.
|
|
24890
|
+
*/
|
|
24891
|
+
export const marketplaceStatsResourceCreationTrendCount = (options) => {
|
|
24892
|
+
return (options?.client ?? _heyApiClient).head({
|
|
24893
|
+
security: [
|
|
24894
|
+
{
|
|
24895
|
+
name: 'Authorization',
|
|
24896
|
+
type: 'apiKey'
|
|
24897
|
+
},
|
|
24898
|
+
{
|
|
24899
|
+
scheme: 'bearer',
|
|
24900
|
+
type: 'http'
|
|
24901
|
+
}
|
|
24902
|
+
],
|
|
24903
|
+
url: '/api/marketplace-stats/resource_creation_trend/',
|
|
24904
|
+
...options
|
|
24905
|
+
});
|
|
24906
|
+
};
|
|
24163
24907
|
/**
|
|
24164
24908
|
* Get resource provisioning statistics.
|
|
24165
24909
|
*/
|
|
@@ -24426,6 +25170,44 @@ export const marketplaceStatsResourcesMissingUsageCount = (options) => {
|
|
|
24426
25170
|
...options
|
|
24427
25171
|
});
|
|
24428
25172
|
};
|
|
25173
|
+
/**
|
|
25174
|
+
* Return top service providers by number of active resources.
|
|
25175
|
+
*/
|
|
25176
|
+
export const marketplaceStatsTopServiceProvidersByResourcesList = (options) => {
|
|
25177
|
+
return (options?.client ?? _heyApiClient).get({
|
|
25178
|
+
security: [
|
|
25179
|
+
{
|
|
25180
|
+
name: 'Authorization',
|
|
25181
|
+
type: 'apiKey'
|
|
25182
|
+
},
|
|
25183
|
+
{
|
|
25184
|
+
scheme: 'bearer',
|
|
25185
|
+
type: 'http'
|
|
25186
|
+
}
|
|
25187
|
+
],
|
|
25188
|
+
url: '/api/marketplace-stats/top_service_providers_by_resources/',
|
|
25189
|
+
...options
|
|
25190
|
+
});
|
|
25191
|
+
};
|
|
25192
|
+
/**
|
|
25193
|
+
* Get number of items in the collection matching the request parameters.
|
|
25194
|
+
*/
|
|
25195
|
+
export const marketplaceStatsTopServiceProvidersByResourcesCount = (options) => {
|
|
25196
|
+
return (options?.client ?? _heyApiClient).head({
|
|
25197
|
+
security: [
|
|
25198
|
+
{
|
|
25199
|
+
name: 'Authorization',
|
|
25200
|
+
type: 'apiKey'
|
|
25201
|
+
},
|
|
25202
|
+
{
|
|
25203
|
+
scheme: 'bearer',
|
|
25204
|
+
type: 'http'
|
|
25205
|
+
}
|
|
25206
|
+
],
|
|
25207
|
+
url: '/api/marketplace-stats/top_service_providers_by_resources/',
|
|
25208
|
+
...options
|
|
25209
|
+
});
|
|
25210
|
+
};
|
|
24429
25211
|
/**
|
|
24430
25212
|
* Total cost of active resources per offering.
|
|
24431
25213
|
*/
|
|
@@ -24616,6 +25398,44 @@ export const marketplaceStatsUserJobTitleCountCount = (options) => {
|
|
|
24616
25398
|
...options
|
|
24617
25399
|
});
|
|
24618
25400
|
};
|
|
25401
|
+
/**
|
|
25402
|
+
* Return user count per nationality.
|
|
25403
|
+
*/
|
|
25404
|
+
export const marketplaceStatsUserNationalityList = (options) => {
|
|
25405
|
+
return (options?.client ?? _heyApiClient).get({
|
|
25406
|
+
security: [
|
|
25407
|
+
{
|
|
25408
|
+
name: 'Authorization',
|
|
25409
|
+
type: 'apiKey'
|
|
25410
|
+
},
|
|
25411
|
+
{
|
|
25412
|
+
scheme: 'bearer',
|
|
25413
|
+
type: 'http'
|
|
25414
|
+
}
|
|
25415
|
+
],
|
|
25416
|
+
url: '/api/marketplace-stats/user_nationality/',
|
|
25417
|
+
...options
|
|
25418
|
+
});
|
|
25419
|
+
};
|
|
25420
|
+
/**
|
|
25421
|
+
* Get number of items in the collection matching the request parameters.
|
|
25422
|
+
*/
|
|
25423
|
+
export const marketplaceStatsUserNationalityCount = (options) => {
|
|
25424
|
+
return (options?.client ?? _heyApiClient).head({
|
|
25425
|
+
security: [
|
|
25426
|
+
{
|
|
25427
|
+
name: 'Authorization',
|
|
25428
|
+
type: 'apiKey'
|
|
25429
|
+
},
|
|
25430
|
+
{
|
|
25431
|
+
scheme: 'bearer',
|
|
25432
|
+
type: 'http'
|
|
25433
|
+
}
|
|
25434
|
+
],
|
|
25435
|
+
url: '/api/marketplace-stats/user_nationality/',
|
|
25436
|
+
...options
|
|
25437
|
+
});
|
|
25438
|
+
};
|
|
24619
25439
|
/**
|
|
24620
25440
|
* Return user count grouped by organization.
|
|
24621
25441
|
*/
|
|
@@ -24692,6 +25512,44 @@ export const marketplaceStatsUserOrganizationTypeCountCount = (options) => {
|
|
|
24692
25512
|
...options
|
|
24693
25513
|
});
|
|
24694
25514
|
};
|
|
25515
|
+
/**
|
|
25516
|
+
* Return user count per residence country.
|
|
25517
|
+
*/
|
|
25518
|
+
export const marketplaceStatsUserResidenceCountryList = (options) => {
|
|
25519
|
+
return (options?.client ?? _heyApiClient).get({
|
|
25520
|
+
security: [
|
|
25521
|
+
{
|
|
25522
|
+
name: 'Authorization',
|
|
25523
|
+
type: 'apiKey'
|
|
25524
|
+
},
|
|
25525
|
+
{
|
|
25526
|
+
scheme: 'bearer',
|
|
25527
|
+
type: 'http'
|
|
25528
|
+
}
|
|
25529
|
+
],
|
|
25530
|
+
url: '/api/marketplace-stats/user_residence_country/',
|
|
25531
|
+
...options
|
|
25532
|
+
});
|
|
25533
|
+
};
|
|
25534
|
+
/**
|
|
25535
|
+
* Get number of items in the collection matching the request parameters.
|
|
25536
|
+
*/
|
|
25537
|
+
export const marketplaceStatsUserResidenceCountryCount = (options) => {
|
|
25538
|
+
return (options?.client ?? _heyApiClient).head({
|
|
25539
|
+
security: [
|
|
25540
|
+
{
|
|
25541
|
+
name: 'Authorization',
|
|
25542
|
+
type: 'apiKey'
|
|
25543
|
+
},
|
|
25544
|
+
{
|
|
25545
|
+
scheme: 'bearer',
|
|
25546
|
+
type: 'http'
|
|
25547
|
+
}
|
|
25548
|
+
],
|
|
25549
|
+
url: '/api/marketplace-stats/user_residence_country/',
|
|
25550
|
+
...options
|
|
25551
|
+
});
|
|
25552
|
+
};
|
|
24695
25553
|
export const marketplaceTagsList = (options) => {
|
|
24696
25554
|
return (options?.client ?? _heyApiClient).get({
|
|
24697
25555
|
security: [
|
|
@@ -34375,6 +35233,142 @@ export const projectCreditsUpdate = (options) => {
|
|
|
34375
35233
|
}
|
|
34376
35234
|
});
|
|
34377
35235
|
};
|
|
35236
|
+
export const projectEndDateChangeRequestsList = (options) => {
|
|
35237
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35238
|
+
security: [
|
|
35239
|
+
{
|
|
35240
|
+
name: 'Authorization',
|
|
35241
|
+
type: 'apiKey'
|
|
35242
|
+
},
|
|
35243
|
+
{
|
|
35244
|
+
scheme: 'bearer',
|
|
35245
|
+
type: 'http'
|
|
35246
|
+
}
|
|
35247
|
+
],
|
|
35248
|
+
url: '/api/project-end-date-change-requests/',
|
|
35249
|
+
...options
|
|
35250
|
+
});
|
|
35251
|
+
};
|
|
35252
|
+
/**
|
|
35253
|
+
* Get number of items in the collection matching the request parameters.
|
|
35254
|
+
*/
|
|
35255
|
+
export const projectEndDateChangeRequestsCount = (options) => {
|
|
35256
|
+
return (options?.client ?? _heyApiClient).head({
|
|
35257
|
+
security: [
|
|
35258
|
+
{
|
|
35259
|
+
name: 'Authorization',
|
|
35260
|
+
type: 'apiKey'
|
|
35261
|
+
},
|
|
35262
|
+
{
|
|
35263
|
+
scheme: 'bearer',
|
|
35264
|
+
type: 'http'
|
|
35265
|
+
}
|
|
35266
|
+
],
|
|
35267
|
+
url: '/api/project-end-date-change-requests/',
|
|
35268
|
+
...options
|
|
35269
|
+
});
|
|
35270
|
+
};
|
|
35271
|
+
export const projectEndDateChangeRequestsCreate = (options) => {
|
|
35272
|
+
return (options.client ?? _heyApiClient).post({
|
|
35273
|
+
security: [
|
|
35274
|
+
{
|
|
35275
|
+
name: 'Authorization',
|
|
35276
|
+
type: 'apiKey'
|
|
35277
|
+
},
|
|
35278
|
+
{
|
|
35279
|
+
scheme: 'bearer',
|
|
35280
|
+
type: 'http'
|
|
35281
|
+
}
|
|
35282
|
+
],
|
|
35283
|
+
url: '/api/project-end-date-change-requests/',
|
|
35284
|
+
...options,
|
|
35285
|
+
headers: {
|
|
35286
|
+
'Content-Type': 'application/json',
|
|
35287
|
+
...options.headers
|
|
35288
|
+
}
|
|
35289
|
+
});
|
|
35290
|
+
};
|
|
35291
|
+
export const projectEndDateChangeRequestsRetrieve = (options) => {
|
|
35292
|
+
return (options.client ?? _heyApiClient).get({
|
|
35293
|
+
security: [
|
|
35294
|
+
{
|
|
35295
|
+
name: 'Authorization',
|
|
35296
|
+
type: 'apiKey'
|
|
35297
|
+
},
|
|
35298
|
+
{
|
|
35299
|
+
scheme: 'bearer',
|
|
35300
|
+
type: 'http'
|
|
35301
|
+
}
|
|
35302
|
+
],
|
|
35303
|
+
url: '/api/project-end-date-change-requests/{uuid}/',
|
|
35304
|
+
...options
|
|
35305
|
+
});
|
|
35306
|
+
};
|
|
35307
|
+
/**
|
|
35308
|
+
* Approve project end date change request
|
|
35309
|
+
*/
|
|
35310
|
+
export const projectEndDateChangeRequestsApprove = (options) => {
|
|
35311
|
+
return (options.client ?? _heyApiClient).post({
|
|
35312
|
+
security: [
|
|
35313
|
+
{
|
|
35314
|
+
name: 'Authorization',
|
|
35315
|
+
type: 'apiKey'
|
|
35316
|
+
},
|
|
35317
|
+
{
|
|
35318
|
+
scheme: 'bearer',
|
|
35319
|
+
type: 'http'
|
|
35320
|
+
}
|
|
35321
|
+
],
|
|
35322
|
+
url: '/api/project-end-date-change-requests/{uuid}/approve/',
|
|
35323
|
+
...options,
|
|
35324
|
+
headers: {
|
|
35325
|
+
'Content-Type': 'application/json',
|
|
35326
|
+
...options.headers
|
|
35327
|
+
}
|
|
35328
|
+
});
|
|
35329
|
+
};
|
|
35330
|
+
/**
|
|
35331
|
+
* Cancel project end date change request. Only the creator can cancel.
|
|
35332
|
+
*/
|
|
35333
|
+
export const projectEndDateChangeRequestsCancel = (options) => {
|
|
35334
|
+
return (options.client ?? _heyApiClient).post({
|
|
35335
|
+
security: [
|
|
35336
|
+
{
|
|
35337
|
+
name: 'Authorization',
|
|
35338
|
+
type: 'apiKey'
|
|
35339
|
+
},
|
|
35340
|
+
{
|
|
35341
|
+
scheme: 'bearer',
|
|
35342
|
+
type: 'http'
|
|
35343
|
+
}
|
|
35344
|
+
],
|
|
35345
|
+
url: '/api/project-end-date-change-requests/{uuid}/cancel/',
|
|
35346
|
+
...options
|
|
35347
|
+
});
|
|
35348
|
+
};
|
|
35349
|
+
/**
|
|
35350
|
+
* Reject project end date change request
|
|
35351
|
+
*/
|
|
35352
|
+
export const projectEndDateChangeRequestsReject = (options) => {
|
|
35353
|
+
return (options.client ?? _heyApiClient).post({
|
|
35354
|
+
security: [
|
|
35355
|
+
{
|
|
35356
|
+
name: 'Authorization',
|
|
35357
|
+
type: 'apiKey'
|
|
35358
|
+
},
|
|
35359
|
+
{
|
|
35360
|
+
scheme: 'bearer',
|
|
35361
|
+
type: 'http'
|
|
35362
|
+
}
|
|
35363
|
+
],
|
|
35364
|
+
url: '/api/project-end-date-change-requests/{uuid}/reject/',
|
|
35365
|
+
...options,
|
|
35366
|
+
headers: {
|
|
35367
|
+
'Content-Type': 'application/json',
|
|
35368
|
+
...options.headers
|
|
35369
|
+
}
|
|
35370
|
+
});
|
|
35371
|
+
};
|
|
34378
35372
|
export const projectPermissionsReviewsList = (options) => {
|
|
34379
35373
|
return (options?.client ?? _heyApiClient).get({
|
|
34380
35374
|
security: [
|