waldur-js-client 8.0.7-dev.2 → 8.0.7-dev.21

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
@@ -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
  */
@@ -5529,6 +5552,29 @@ export const callReviewerPoolsDecline = (options) => {
5529
5552
  }
5530
5553
  });
5531
5554
  };
5555
+ /**
5556
+ * Force-accept a pool invitation (manager override).
5557
+ */
5558
+ export const callReviewerPoolsForceAccept = (options) => {
5559
+ return (options.client ?? _heyApiClient).post({
5560
+ security: [
5561
+ {
5562
+ name: 'Authorization',
5563
+ type: 'apiKey'
5564
+ },
5565
+ {
5566
+ scheme: 'bearer',
5567
+ type: 'http'
5568
+ }
5569
+ ],
5570
+ url: '/api/call-reviewer-pools/{uuid}/force-accept/',
5571
+ ...options,
5572
+ headers: {
5573
+ 'Content-Type': 'application/json',
5574
+ ...options.headers
5575
+ }
5576
+ });
5577
+ };
5532
5578
  export const callRoundsList = (options) => {
5533
5579
  return (options?.client ?? _heyApiClient).get({
5534
5580
  security: [
@@ -11922,6 +11968,310 @@ export const managedRancherClusterResourcesAddNode = (options) => {
11922
11968
  }
11923
11969
  });
11924
11970
  };
11971
+ /**
11972
+ * List attribute options
11973
+ * Returns a paginated list of options for choice-type attributes. Filter by attribute (URL). Default option is determined by attribute.default.
11974
+ */
11975
+ export const marketplaceAttributeOptionsList = (options) => {
11976
+ return (options?.client ?? _heyApiClient).get({
11977
+ security: [
11978
+ {
11979
+ name: 'Authorization',
11980
+ type: 'apiKey'
11981
+ },
11982
+ {
11983
+ scheme: 'bearer',
11984
+ type: 'http'
11985
+ }
11986
+ ],
11987
+ url: '/api/marketplace-attribute-options/',
11988
+ ...options
11989
+ });
11990
+ };
11991
+ /**
11992
+ * List attribute options
11993
+ * Get number of items in the collection matching the request parameters.
11994
+ */
11995
+ export const marketplaceAttributeOptionsCount = (options) => {
11996
+ return (options?.client ?? _heyApiClient).head({
11997
+ security: [
11998
+ {
11999
+ name: 'Authorization',
12000
+ type: 'apiKey'
12001
+ },
12002
+ {
12003
+ scheme: 'bearer',
12004
+ type: 'http'
12005
+ }
12006
+ ],
12007
+ url: '/api/marketplace-attribute-options/',
12008
+ ...options
12009
+ });
12010
+ };
12011
+ /**
12012
+ * Create an attribute option
12013
+ * Creates a new option for a choice-type attribute. Requires staff permissions.
12014
+ */
12015
+ export const marketplaceAttributeOptionsCreate = (options) => {
12016
+ return (options.client ?? _heyApiClient).post({
12017
+ security: [
12018
+ {
12019
+ name: 'Authorization',
12020
+ type: 'apiKey'
12021
+ },
12022
+ {
12023
+ scheme: 'bearer',
12024
+ type: 'http'
12025
+ }
12026
+ ],
12027
+ url: '/api/marketplace-attribute-options/',
12028
+ ...options,
12029
+ headers: {
12030
+ 'Content-Type': 'application/json',
12031
+ ...options.headers
12032
+ }
12033
+ });
12034
+ };
12035
+ /**
12036
+ * Delete an attribute option
12037
+ * Deletes an attribute option. Requires staff permissions.
12038
+ */
12039
+ export const marketplaceAttributeOptionsDestroy = (options) => {
12040
+ return (options.client ?? _heyApiClient).delete({
12041
+ security: [
12042
+ {
12043
+ name: 'Authorization',
12044
+ type: 'apiKey'
12045
+ },
12046
+ {
12047
+ scheme: 'bearer',
12048
+ type: 'http'
12049
+ }
12050
+ ],
12051
+ url: '/api/marketplace-attribute-options/{uuid}/',
12052
+ ...options
12053
+ });
12054
+ };
12055
+ /**
12056
+ * Retrieve an attribute option
12057
+ * Returns the details of a specific attribute option.
12058
+ */
12059
+ export const marketplaceAttributeOptionsRetrieve = (options) => {
12060
+ return (options.client ?? _heyApiClient).get({
12061
+ security: [
12062
+ {
12063
+ name: 'Authorization',
12064
+ type: 'apiKey'
12065
+ },
12066
+ {
12067
+ scheme: 'bearer',
12068
+ type: 'http'
12069
+ }
12070
+ ],
12071
+ url: '/api/marketplace-attribute-options/{uuid}/',
12072
+ ...options
12073
+ });
12074
+ };
12075
+ /**
12076
+ * Partially update an attribute option
12077
+ * Partially updates an existing attribute option. To set the default option, PATCH the attribute with default=<option_key>. Requires staff permissions.
12078
+ */
12079
+ export const marketplaceAttributeOptionsPartialUpdate = (options) => {
12080
+ return (options.client ?? _heyApiClient).patch({
12081
+ security: [
12082
+ {
12083
+ name: 'Authorization',
12084
+ type: 'apiKey'
12085
+ },
12086
+ {
12087
+ scheme: 'bearer',
12088
+ type: 'http'
12089
+ }
12090
+ ],
12091
+ url: '/api/marketplace-attribute-options/{uuid}/',
12092
+ ...options,
12093
+ headers: {
12094
+ 'Content-Type': 'application/json',
12095
+ ...options.headers
12096
+ }
12097
+ });
12098
+ };
12099
+ /**
12100
+ * Update an attribute option
12101
+ * Updates an existing attribute option. Requires staff permissions.
12102
+ */
12103
+ export const marketplaceAttributeOptionsUpdate = (options) => {
12104
+ return (options.client ?? _heyApiClient).put({
12105
+ security: [
12106
+ {
12107
+ name: 'Authorization',
12108
+ type: 'apiKey'
12109
+ },
12110
+ {
12111
+ scheme: 'bearer',
12112
+ type: 'http'
12113
+ }
12114
+ ],
12115
+ url: '/api/marketplace-attribute-options/{uuid}/',
12116
+ ...options,
12117
+ headers: {
12118
+ 'Content-Type': 'application/json',
12119
+ ...options.headers
12120
+ }
12121
+ });
12122
+ };
12123
+ /**
12124
+ * List attributes
12125
+ * Returns a paginated list of all attributes. Attributes define form fields within section. Filter by section (URL).
12126
+ */
12127
+ export const marketplaceAttributesList = (options) => {
12128
+ return (options?.client ?? _heyApiClient).get({
12129
+ security: [
12130
+ {
12131
+ name: 'Authorization',
12132
+ type: 'apiKey'
12133
+ },
12134
+ {
12135
+ scheme: 'bearer',
12136
+ type: 'http'
12137
+ }
12138
+ ],
12139
+ url: '/api/marketplace-attributes/',
12140
+ ...options
12141
+ });
12142
+ };
12143
+ /**
12144
+ * List attributes
12145
+ * Get number of items in the collection matching the request parameters.
12146
+ */
12147
+ export const marketplaceAttributesCount = (options) => {
12148
+ return (options?.client ?? _heyApiClient).head({
12149
+ security: [
12150
+ {
12151
+ name: 'Authorization',
12152
+ type: 'apiKey'
12153
+ },
12154
+ {
12155
+ scheme: 'bearer',
12156
+ type: 'http'
12157
+ }
12158
+ ],
12159
+ url: '/api/marketplace-attributes/',
12160
+ ...options
12161
+ });
12162
+ };
12163
+ /**
12164
+ * Create an attribute
12165
+ * Creates a new attribute within a section. Requires staff permissions.
12166
+ */
12167
+ export const marketplaceAttributesCreate = (options) => {
12168
+ return (options.client ?? _heyApiClient).post({
12169
+ security: [
12170
+ {
12171
+ name: 'Authorization',
12172
+ type: 'apiKey'
12173
+ },
12174
+ {
12175
+ scheme: 'bearer',
12176
+ type: 'http'
12177
+ }
12178
+ ],
12179
+ url: '/api/marketplace-attributes/',
12180
+ ...options,
12181
+ headers: {
12182
+ 'Content-Type': 'application/json',
12183
+ ...options.headers
12184
+ }
12185
+ });
12186
+ };
12187
+ /**
12188
+ * Delete an attribute
12189
+ * Deletes an attribute. Requires staff permissions.
12190
+ */
12191
+ export const marketplaceAttributesDestroy = (options) => {
12192
+ return (options.client ?? _heyApiClient).delete({
12193
+ security: [
12194
+ {
12195
+ name: 'Authorization',
12196
+ type: 'apiKey'
12197
+ },
12198
+ {
12199
+ scheme: 'bearer',
12200
+ type: 'http'
12201
+ }
12202
+ ],
12203
+ url: '/api/marketplace-attributes/{uuid}/',
12204
+ ...options
12205
+ });
12206
+ };
12207
+ /**
12208
+ * Retrieve an attribute
12209
+ * Returns the details of a specific attribute, identified by its UUID.
12210
+ */
12211
+ export const marketplaceAttributesRetrieve = (options) => {
12212
+ return (options.client ?? _heyApiClient).get({
12213
+ security: [
12214
+ {
12215
+ name: 'Authorization',
12216
+ type: 'apiKey'
12217
+ },
12218
+ {
12219
+ scheme: 'bearer',
12220
+ type: 'http'
12221
+ }
12222
+ ],
12223
+ url: '/api/marketplace-attributes/{uuid}/',
12224
+ ...options
12225
+ });
12226
+ };
12227
+ /**
12228
+ * Partially update an attribute
12229
+ * Partially updates an existing attribute. Requires staff permissions.
12230
+ */
12231
+ export const marketplaceAttributesPartialUpdate = (options) => {
12232
+ return (options.client ?? _heyApiClient).patch({
12233
+ security: [
12234
+ {
12235
+ name: 'Authorization',
12236
+ type: 'apiKey'
12237
+ },
12238
+ {
12239
+ scheme: 'bearer',
12240
+ type: 'http'
12241
+ }
12242
+ ],
12243
+ url: '/api/marketplace-attributes/{uuid}/',
12244
+ ...options,
12245
+ headers: {
12246
+ 'Content-Type': 'application/json',
12247
+ ...options.headers
12248
+ }
12249
+ });
12250
+ };
12251
+ /**
12252
+ * Update an attribute
12253
+ * Updates an existing attribute. Requires staff permissions.
12254
+ */
12255
+ export const marketplaceAttributesUpdate = (options) => {
12256
+ return (options.client ?? _heyApiClient).put({
12257
+ security: [
12258
+ {
12259
+ name: 'Authorization',
12260
+ type: 'apiKey'
12261
+ },
12262
+ {
12263
+ scheme: 'bearer',
12264
+ type: 'http'
12265
+ }
12266
+ ],
12267
+ url: '/api/marketplace-attributes/{uuid}/',
12268
+ ...options,
12269
+ headers: {
12270
+ 'Content-Type': 'application/json',
12271
+ ...options.headers
12272
+ }
12273
+ });
12274
+ };
11925
12275
  export const marketplaceBookingsList = (options) => {
11926
12276
  return (options.client ?? _heyApiClient).get({
11927
12277
  security: [
@@ -13085,6 +13435,25 @@ export const marketplaceCourseAccountsRetrieve = (options) => {
13085
13435
  ...options
13086
13436
  });
13087
13437
  };
13438
+ /**
13439
+ * Retry a failed course account
13440
+ */
13441
+ export const marketplaceCourseAccountsRetry = (options) => {
13442
+ return (options.client ?? _heyApiClient).post({
13443
+ security: [
13444
+ {
13445
+ name: 'Authorization',
13446
+ type: 'apiKey'
13447
+ },
13448
+ {
13449
+ scheme: 'bearer',
13450
+ type: 'http'
13451
+ }
13452
+ ],
13453
+ url: '/api/marketplace-course-accounts/{uuid}/retry/',
13454
+ ...options
13455
+ });
13456
+ };
13088
13457
  /**
13089
13458
  * Bulk create course accounts
13090
13459
  * Creates multiple course accounts within a specified course project in a single request.
@@ -15583,6 +15952,26 @@ export const marketplaceOrdersRejectByProvider = (options) => {
15583
15952
  }
15584
15953
  });
15585
15954
  };
15955
+ /**
15956
+ * Retry an erred order
15957
+ * Resets an erred order and its resource back to an active state so that the order can be reprocessed.
15958
+ */
15959
+ export const marketplaceOrdersRetry = (options) => {
15960
+ return (options.client ?? _heyApiClient).post({
15961
+ security: [
15962
+ {
15963
+ name: 'Authorization',
15964
+ type: 'apiKey'
15965
+ },
15966
+ {
15967
+ scheme: 'bearer',
15968
+ type: 'http'
15969
+ }
15970
+ ],
15971
+ url: '/api/marketplace-orders/{uuid}/retry/',
15972
+ ...options
15973
+ });
15974
+ };
15586
15975
  /**
15587
15976
  * Set order backend ID
15588
15977
  * 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 +19174,58 @@ export const marketplaceProviderResourcesSetDownscaled = (options) => {
18785
19174
  }
18786
19175
  });
18787
19176
  };
19177
+ /**
19178
+ * Set resource effective ID
19179
+ * 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.
19180
+ */
19181
+ export const marketplaceProviderResourcesSetEffectiveId = (options) => {
19182
+ return (options.client ?? _heyApiClient).post({
19183
+ security: [
19184
+ {
19185
+ name: 'Authorization',
19186
+ type: 'apiKey'
19187
+ },
19188
+ {
19189
+ scheme: 'bearer',
19190
+ type: 'http'
19191
+ }
19192
+ ],
19193
+ url: '/api/marketplace-provider-resources/{uuid}/set_effective_id/',
19194
+ ...options,
19195
+ headers: {
19196
+ 'Content-Type': 'application/json',
19197
+ ...options.headers
19198
+ }
19199
+ });
19200
+ };
19201
+ /**
19202
+ * Set end date of the resource
19203
+ * Allows a service provider to set or update the end date for a resource.
19204
+ */
19205
+ export const marketplaceProviderResourcesSetEndDate = (options) => {
19206
+ return (options.client ?? _heyApiClient).post({
19207
+ security: [
19208
+ {
19209
+ name: 'Authorization',
19210
+ type: 'apiKey'
19211
+ },
19212
+ {
19213
+ scheme: 'bearer',
19214
+ type: 'http'
19215
+ }
19216
+ ],
19217
+ url: '/api/marketplace-provider-resources/{uuid}/set_end_date/',
19218
+ ...options,
19219
+ headers: {
19220
+ 'Content-Type': 'application/json',
19221
+ ...options.headers
19222
+ }
19223
+ });
19224
+ };
18788
19225
  /**
18789
19226
  * Set end date by provider
18790
- * Allows a service provider to set or update the end date for a resource, scheduling it for termination. A notification is sent to the consumer.
19227
+ * Deprecated: Use set_end_date instead. Allows a service provider to set or update the end date for a resource.
19228
+ * @deprecated
18791
19229
  */
18792
19230
  export const marketplaceProviderResourcesSetEndDateByProvider = (options) => {
18793
19231
  return (options.client ?? _heyApiClient).post({
@@ -18811,7 +19249,8 @@ export const marketplaceProviderResourcesSetEndDateByProvider = (options) => {
18811
19249
  };
18812
19250
  /**
18813
19251
  * Set end date of the resource by staff
18814
- * Allows a staff user to set or update the end date for a resource, which will schedule it for termination.
19252
+ * Deprecated: Use set_end_date instead. Allows a staff user to set or update the end date for a resource.
19253
+ * @deprecated
18815
19254
  */
18816
19255
  export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
18817
19256
  return (options.client ?? _heyApiClient).post({
@@ -19958,9 +20397,34 @@ export const marketplaceResourcesSetDownscaled = (options) => {
19958
20397
  }
19959
20398
  });
19960
20399
  };
20400
+ /**
20401
+ * Set end date of the resource
20402
+ * Allows a consumer (customer owner) to set or update the end date for a resource.
20403
+ */
20404
+ export const marketplaceResourcesSetEndDate = (options) => {
20405
+ return (options.client ?? _heyApiClient).post({
20406
+ security: [
20407
+ {
20408
+ name: 'Authorization',
20409
+ type: 'apiKey'
20410
+ },
20411
+ {
20412
+ scheme: 'bearer',
20413
+ type: 'http'
20414
+ }
20415
+ ],
20416
+ url: '/api/marketplace-resources/{uuid}/set_end_date/',
20417
+ ...options,
20418
+ headers: {
20419
+ 'Content-Type': 'application/json',
20420
+ ...options.headers
20421
+ }
20422
+ });
20423
+ };
19961
20424
  /**
19962
20425
  * Set end date of the resource by staff
19963
- * Allows a staff user to set or update the end date for a resource, which will schedule it for termination.
20426
+ * Deprecated: Use set_end_date instead. Allows a staff user to set or update the end date for a resource.
20427
+ * @deprecated
19964
20428
  */
19965
20429
  export const marketplaceResourcesSetEndDateByStaff = (options) => {
19966
20430
  return (options.client ?? _heyApiClient).post({
@@ -23857,9 +24321,47 @@ export const marketplaceStatsOrganizationResourceCountCount = (options) => {
23857
24321
  });
23858
24322
  };
23859
24323
  /**
23860
- * Return summary statistics for project classification.
24324
+ * Return summary statistics for project classification.
24325
+ */
24326
+ export const marketplaceStatsProjectClassificationSummaryRetrieve = (options) => {
24327
+ return (options?.client ?? _heyApiClient).get({
24328
+ security: [
24329
+ {
24330
+ name: 'Authorization',
24331
+ type: 'apiKey'
24332
+ },
24333
+ {
24334
+ scheme: 'bearer',
24335
+ type: 'http'
24336
+ }
24337
+ ],
24338
+ url: '/api/marketplace-stats/project_classification_summary/',
24339
+ ...options
24340
+ });
24341
+ };
24342
+ /**
24343
+ * Get number of items in the collection matching the request parameters.
24344
+ */
24345
+ export const marketplaceStatsProjectClassificationSummaryCount = (options) => {
24346
+ return (options?.client ?? _heyApiClient).head({
24347
+ security: [
24348
+ {
24349
+ name: 'Authorization',
24350
+ type: 'apiKey'
24351
+ },
24352
+ {
24353
+ scheme: 'bearer',
24354
+ type: 'http'
24355
+ }
24356
+ ],
24357
+ url: '/api/marketplace-stats/project_classification_summary/',
24358
+ ...options
24359
+ });
24360
+ };
24361
+ /**
24362
+ * Return project creation counts grouped by month.
23861
24363
  */
23862
- export const marketplaceStatsProjectClassificationSummaryRetrieve = (options) => {
24364
+ export const marketplaceStatsProjectCreationTrendList = (options) => {
23863
24365
  return (options?.client ?? _heyApiClient).get({
23864
24366
  security: [
23865
24367
  {
@@ -23871,14 +24373,14 @@ export const marketplaceStatsProjectClassificationSummaryRetrieve = (options) =>
23871
24373
  type: 'http'
23872
24374
  }
23873
24375
  ],
23874
- url: '/api/marketplace-stats/project_classification_summary/',
24376
+ url: '/api/marketplace-stats/project_creation_trend/',
23875
24377
  ...options
23876
24378
  });
23877
24379
  };
23878
24380
  /**
23879
24381
  * Get number of items in the collection matching the request parameters.
23880
24382
  */
23881
- export const marketplaceStatsProjectClassificationSummaryCount = (options) => {
24383
+ export const marketplaceStatsProjectCreationTrendCount = (options) => {
23882
24384
  return (options?.client ?? _heyApiClient).head({
23883
24385
  security: [
23884
24386
  {
@@ -23890,7 +24392,7 @@ export const marketplaceStatsProjectClassificationSummaryCount = (options) => {
23890
24392
  type: 'http'
23891
24393
  }
23892
24394
  ],
23893
- url: '/api/marketplace-stats/project_classification_summary/',
24395
+ url: '/api/marketplace-stats/project_creation_trend/',
23894
24396
  ...options
23895
24397
  });
23896
24398
  };
@@ -24160,6 +24662,44 @@ export const marketplaceStatsProviderResourcesCount = (options) => {
24160
24662
  ...options
24161
24663
  });
24162
24664
  };
24665
+ /**
24666
+ * Return resource creation counts grouped by month.
24667
+ */
24668
+ export const marketplaceStatsResourceCreationTrendList = (options) => {
24669
+ return (options?.client ?? _heyApiClient).get({
24670
+ security: [
24671
+ {
24672
+ name: 'Authorization',
24673
+ type: 'apiKey'
24674
+ },
24675
+ {
24676
+ scheme: 'bearer',
24677
+ type: 'http'
24678
+ }
24679
+ ],
24680
+ url: '/api/marketplace-stats/resource_creation_trend/',
24681
+ ...options
24682
+ });
24683
+ };
24684
+ /**
24685
+ * Get number of items in the collection matching the request parameters.
24686
+ */
24687
+ export const marketplaceStatsResourceCreationTrendCount = (options) => {
24688
+ return (options?.client ?? _heyApiClient).head({
24689
+ security: [
24690
+ {
24691
+ name: 'Authorization',
24692
+ type: 'apiKey'
24693
+ },
24694
+ {
24695
+ scheme: 'bearer',
24696
+ type: 'http'
24697
+ }
24698
+ ],
24699
+ url: '/api/marketplace-stats/resource_creation_trend/',
24700
+ ...options
24701
+ });
24702
+ };
24163
24703
  /**
24164
24704
  * Get resource provisioning statistics.
24165
24705
  */
@@ -24426,6 +24966,44 @@ export const marketplaceStatsResourcesMissingUsageCount = (options) => {
24426
24966
  ...options
24427
24967
  });
24428
24968
  };
24969
+ /**
24970
+ * Return top service providers by number of active resources.
24971
+ */
24972
+ export const marketplaceStatsTopServiceProvidersByResourcesList = (options) => {
24973
+ return (options?.client ?? _heyApiClient).get({
24974
+ security: [
24975
+ {
24976
+ name: 'Authorization',
24977
+ type: 'apiKey'
24978
+ },
24979
+ {
24980
+ scheme: 'bearer',
24981
+ type: 'http'
24982
+ }
24983
+ ],
24984
+ url: '/api/marketplace-stats/top_service_providers_by_resources/',
24985
+ ...options
24986
+ });
24987
+ };
24988
+ /**
24989
+ * Get number of items in the collection matching the request parameters.
24990
+ */
24991
+ export const marketplaceStatsTopServiceProvidersByResourcesCount = (options) => {
24992
+ return (options?.client ?? _heyApiClient).head({
24993
+ security: [
24994
+ {
24995
+ name: 'Authorization',
24996
+ type: 'apiKey'
24997
+ },
24998
+ {
24999
+ scheme: 'bearer',
25000
+ type: 'http'
25001
+ }
25002
+ ],
25003
+ url: '/api/marketplace-stats/top_service_providers_by_resources/',
25004
+ ...options
25005
+ });
25006
+ };
24429
25007
  /**
24430
25008
  * Total cost of active resources per offering.
24431
25009
  */
@@ -24616,6 +25194,44 @@ export const marketplaceStatsUserJobTitleCountCount = (options) => {
24616
25194
  ...options
24617
25195
  });
24618
25196
  };
25197
+ /**
25198
+ * Return user count per nationality.
25199
+ */
25200
+ export const marketplaceStatsUserNationalityList = (options) => {
25201
+ return (options?.client ?? _heyApiClient).get({
25202
+ security: [
25203
+ {
25204
+ name: 'Authorization',
25205
+ type: 'apiKey'
25206
+ },
25207
+ {
25208
+ scheme: 'bearer',
25209
+ type: 'http'
25210
+ }
25211
+ ],
25212
+ url: '/api/marketplace-stats/user_nationality/',
25213
+ ...options
25214
+ });
25215
+ };
25216
+ /**
25217
+ * Get number of items in the collection matching the request parameters.
25218
+ */
25219
+ export const marketplaceStatsUserNationalityCount = (options) => {
25220
+ return (options?.client ?? _heyApiClient).head({
25221
+ security: [
25222
+ {
25223
+ name: 'Authorization',
25224
+ type: 'apiKey'
25225
+ },
25226
+ {
25227
+ scheme: 'bearer',
25228
+ type: 'http'
25229
+ }
25230
+ ],
25231
+ url: '/api/marketplace-stats/user_nationality/',
25232
+ ...options
25233
+ });
25234
+ };
24619
25235
  /**
24620
25236
  * Return user count grouped by organization.
24621
25237
  */
@@ -24692,6 +25308,44 @@ export const marketplaceStatsUserOrganizationTypeCountCount = (options) => {
24692
25308
  ...options
24693
25309
  });
24694
25310
  };
25311
+ /**
25312
+ * Return user count per residence country.
25313
+ */
25314
+ export const marketplaceStatsUserResidenceCountryList = (options) => {
25315
+ return (options?.client ?? _heyApiClient).get({
25316
+ security: [
25317
+ {
25318
+ name: 'Authorization',
25319
+ type: 'apiKey'
25320
+ },
25321
+ {
25322
+ scheme: 'bearer',
25323
+ type: 'http'
25324
+ }
25325
+ ],
25326
+ url: '/api/marketplace-stats/user_residence_country/',
25327
+ ...options
25328
+ });
25329
+ };
25330
+ /**
25331
+ * Get number of items in the collection matching the request parameters.
25332
+ */
25333
+ export const marketplaceStatsUserResidenceCountryCount = (options) => {
25334
+ return (options?.client ?? _heyApiClient).head({
25335
+ security: [
25336
+ {
25337
+ name: 'Authorization',
25338
+ type: 'apiKey'
25339
+ },
25340
+ {
25341
+ scheme: 'bearer',
25342
+ type: 'http'
25343
+ }
25344
+ ],
25345
+ url: '/api/marketplace-stats/user_residence_country/',
25346
+ ...options
25347
+ });
25348
+ };
24695
25349
  export const marketplaceTagsList = (options) => {
24696
25350
  return (options?.client ?? _heyApiClient).get({
24697
25351
  security: [
@@ -34375,6 +35029,142 @@ export const projectCreditsUpdate = (options) => {
34375
35029
  }
34376
35030
  });
34377
35031
  };
35032
+ export const projectEndDateChangeRequestsList = (options) => {
35033
+ return (options?.client ?? _heyApiClient).get({
35034
+ security: [
35035
+ {
35036
+ name: 'Authorization',
35037
+ type: 'apiKey'
35038
+ },
35039
+ {
35040
+ scheme: 'bearer',
35041
+ type: 'http'
35042
+ }
35043
+ ],
35044
+ url: '/api/project-end-date-change-requests/',
35045
+ ...options
35046
+ });
35047
+ };
35048
+ /**
35049
+ * Get number of items in the collection matching the request parameters.
35050
+ */
35051
+ export const projectEndDateChangeRequestsCount = (options) => {
35052
+ return (options?.client ?? _heyApiClient).head({
35053
+ security: [
35054
+ {
35055
+ name: 'Authorization',
35056
+ type: 'apiKey'
35057
+ },
35058
+ {
35059
+ scheme: 'bearer',
35060
+ type: 'http'
35061
+ }
35062
+ ],
35063
+ url: '/api/project-end-date-change-requests/',
35064
+ ...options
35065
+ });
35066
+ };
35067
+ export const projectEndDateChangeRequestsCreate = (options) => {
35068
+ return (options.client ?? _heyApiClient).post({
35069
+ security: [
35070
+ {
35071
+ name: 'Authorization',
35072
+ type: 'apiKey'
35073
+ },
35074
+ {
35075
+ scheme: 'bearer',
35076
+ type: 'http'
35077
+ }
35078
+ ],
35079
+ url: '/api/project-end-date-change-requests/',
35080
+ ...options,
35081
+ headers: {
35082
+ 'Content-Type': 'application/json',
35083
+ ...options.headers
35084
+ }
35085
+ });
35086
+ };
35087
+ export const projectEndDateChangeRequestsRetrieve = (options) => {
35088
+ return (options.client ?? _heyApiClient).get({
35089
+ security: [
35090
+ {
35091
+ name: 'Authorization',
35092
+ type: 'apiKey'
35093
+ },
35094
+ {
35095
+ scheme: 'bearer',
35096
+ type: 'http'
35097
+ }
35098
+ ],
35099
+ url: '/api/project-end-date-change-requests/{uuid}/',
35100
+ ...options
35101
+ });
35102
+ };
35103
+ /**
35104
+ * Approve project end date change request
35105
+ */
35106
+ export const projectEndDateChangeRequestsApprove = (options) => {
35107
+ return (options.client ?? _heyApiClient).post({
35108
+ security: [
35109
+ {
35110
+ name: 'Authorization',
35111
+ type: 'apiKey'
35112
+ },
35113
+ {
35114
+ scheme: 'bearer',
35115
+ type: 'http'
35116
+ }
35117
+ ],
35118
+ url: '/api/project-end-date-change-requests/{uuid}/approve/',
35119
+ ...options,
35120
+ headers: {
35121
+ 'Content-Type': 'application/json',
35122
+ ...options.headers
35123
+ }
35124
+ });
35125
+ };
35126
+ /**
35127
+ * Cancel project end date change request. Only the creator can cancel.
35128
+ */
35129
+ export const projectEndDateChangeRequestsCancel = (options) => {
35130
+ return (options.client ?? _heyApiClient).post({
35131
+ security: [
35132
+ {
35133
+ name: 'Authorization',
35134
+ type: 'apiKey'
35135
+ },
35136
+ {
35137
+ scheme: 'bearer',
35138
+ type: 'http'
35139
+ }
35140
+ ],
35141
+ url: '/api/project-end-date-change-requests/{uuid}/cancel/',
35142
+ ...options
35143
+ });
35144
+ };
35145
+ /**
35146
+ * Reject project end date change request
35147
+ */
35148
+ export const projectEndDateChangeRequestsReject = (options) => {
35149
+ return (options.client ?? _heyApiClient).post({
35150
+ security: [
35151
+ {
35152
+ name: 'Authorization',
35153
+ type: 'apiKey'
35154
+ },
35155
+ {
35156
+ scheme: 'bearer',
35157
+ type: 'http'
35158
+ }
35159
+ ],
35160
+ url: '/api/project-end-date-change-requests/{uuid}/reject/',
35161
+ ...options,
35162
+ headers: {
35163
+ 'Content-Type': 'application/json',
35164
+ ...options.headers
35165
+ }
35166
+ });
35167
+ };
34378
35168
  export const projectPermissionsReviewsList = (options) => {
34379
35169
  return (options?.client ?? _heyApiClient).get({
34380
35170
  security: [