waldur-js-client 8.0.9-dev.2 → 8.0.9-dev.20
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 +110 -4
- package/dist/sdk.gen.js +781 -3
- package/dist/types.gen.d.ts +1345 -44
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -165,6 +165,34 @@ export const apiAuthTaraInitRetrieve = (options) => {
|
|
|
165
165
|
...options
|
|
166
166
|
});
|
|
167
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* Exchange code for token
|
|
170
|
+
* Exchanges a short-lived one-time code for an authentication token.
|
|
171
|
+
*/
|
|
172
|
+
export const apiAuthTokenExchange = (options) => {
|
|
173
|
+
return (options.client ?? _heyApiClient).post({
|
|
174
|
+
security: [
|
|
175
|
+
{
|
|
176
|
+
name: 'Authorization',
|
|
177
|
+
type: 'apiKey'
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
scheme: 'bearer',
|
|
181
|
+
type: 'http'
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
scheme: 'bearer',
|
|
185
|
+
type: 'http'
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
url: '/api-auth/token-exchange/',
|
|
189
|
+
...options,
|
|
190
|
+
headers: {
|
|
191
|
+
'Content-Type': 'application/json',
|
|
192
|
+
...options.headers
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
};
|
|
168
196
|
/**
|
|
169
197
|
* List access subnets
|
|
170
198
|
* Retrieve a list of access subnets. Staff and support users can see all subnets, while other users can only see subnets associated with customers they have a role in.
|
|
@@ -3224,6 +3252,34 @@ export const autoprovisioningRulesUpdate = (options) => {
|
|
|
3224
3252
|
}
|
|
3225
3253
|
});
|
|
3226
3254
|
};
|
|
3255
|
+
/**
|
|
3256
|
+
* Dry-run rule evaluation against a target user.
|
|
3257
|
+
* Evaluate this rule against the given user without provisioning. Returns per-filter outcomes, the customer-lookup verdict (when the rule uses use_user_organization_as_customer_name) and a top-line would_provision flag together with a human-readable block_reason.
|
|
3258
|
+
*/
|
|
3259
|
+
export const autoprovisioningRulesTestMatch = (options) => {
|
|
3260
|
+
return (options.client ?? _heyApiClient).post({
|
|
3261
|
+
security: [
|
|
3262
|
+
{
|
|
3263
|
+
name: 'Authorization',
|
|
3264
|
+
type: 'apiKey'
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
scheme: 'bearer',
|
|
3268
|
+
type: 'http'
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
scheme: 'bearer',
|
|
3272
|
+
type: 'http'
|
|
3273
|
+
}
|
|
3274
|
+
],
|
|
3275
|
+
url: '/api/autoprovisioning-rules/{uuid}/test-match/',
|
|
3276
|
+
...options,
|
|
3277
|
+
headers: {
|
|
3278
|
+
'Content-Type': 'application/json',
|
|
3279
|
+
...options.headers
|
|
3280
|
+
}
|
|
3281
|
+
});
|
|
3282
|
+
};
|
|
3227
3283
|
export const awsImagesList = (options) => {
|
|
3228
3284
|
return (options?.client ?? _heyApiClient).get({
|
|
3229
3285
|
security: [
|
|
@@ -18452,6 +18508,161 @@ export const marketplaceOfferingFilesRetrieve = (options) => {
|
|
|
18452
18508
|
...options
|
|
18453
18509
|
});
|
|
18454
18510
|
};
|
|
18511
|
+
export const marketplaceOfferingGroupsList = (options) => {
|
|
18512
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18513
|
+
security: [
|
|
18514
|
+
{
|
|
18515
|
+
name: 'Authorization',
|
|
18516
|
+
type: 'apiKey'
|
|
18517
|
+
},
|
|
18518
|
+
{
|
|
18519
|
+
scheme: 'bearer',
|
|
18520
|
+
type: 'http'
|
|
18521
|
+
},
|
|
18522
|
+
{
|
|
18523
|
+
scheme: 'bearer',
|
|
18524
|
+
type: 'http'
|
|
18525
|
+
}
|
|
18526
|
+
],
|
|
18527
|
+
url: '/api/marketplace-offering-groups/',
|
|
18528
|
+
...options
|
|
18529
|
+
});
|
|
18530
|
+
};
|
|
18531
|
+
/**
|
|
18532
|
+
* Get number of items in the collection matching the request parameters.
|
|
18533
|
+
*/
|
|
18534
|
+
export const marketplaceOfferingGroupsCount = (options) => {
|
|
18535
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18536
|
+
security: [
|
|
18537
|
+
{
|
|
18538
|
+
name: 'Authorization',
|
|
18539
|
+
type: 'apiKey'
|
|
18540
|
+
},
|
|
18541
|
+
{
|
|
18542
|
+
scheme: 'bearer',
|
|
18543
|
+
type: 'http'
|
|
18544
|
+
},
|
|
18545
|
+
{
|
|
18546
|
+
scheme: 'bearer',
|
|
18547
|
+
type: 'http'
|
|
18548
|
+
}
|
|
18549
|
+
],
|
|
18550
|
+
url: '/api/marketplace-offering-groups/',
|
|
18551
|
+
...options
|
|
18552
|
+
});
|
|
18553
|
+
};
|
|
18554
|
+
export const marketplaceOfferingGroupsCreate = (options) => {
|
|
18555
|
+
return (options.client ?? _heyApiClient).post({
|
|
18556
|
+
security: [
|
|
18557
|
+
{
|
|
18558
|
+
name: 'Authorization',
|
|
18559
|
+
type: 'apiKey'
|
|
18560
|
+
},
|
|
18561
|
+
{
|
|
18562
|
+
scheme: 'bearer',
|
|
18563
|
+
type: 'http'
|
|
18564
|
+
},
|
|
18565
|
+
{
|
|
18566
|
+
scheme: 'bearer',
|
|
18567
|
+
type: 'http'
|
|
18568
|
+
}
|
|
18569
|
+
],
|
|
18570
|
+
url: '/api/marketplace-offering-groups/',
|
|
18571
|
+
...options,
|
|
18572
|
+
headers: {
|
|
18573
|
+
'Content-Type': 'application/json',
|
|
18574
|
+
...options.headers
|
|
18575
|
+
}
|
|
18576
|
+
});
|
|
18577
|
+
};
|
|
18578
|
+
export const marketplaceOfferingGroupsDestroy = (options) => {
|
|
18579
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18580
|
+
security: [
|
|
18581
|
+
{
|
|
18582
|
+
name: 'Authorization',
|
|
18583
|
+
type: 'apiKey'
|
|
18584
|
+
},
|
|
18585
|
+
{
|
|
18586
|
+
scheme: 'bearer',
|
|
18587
|
+
type: 'http'
|
|
18588
|
+
},
|
|
18589
|
+
{
|
|
18590
|
+
scheme: 'bearer',
|
|
18591
|
+
type: 'http'
|
|
18592
|
+
}
|
|
18593
|
+
],
|
|
18594
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18595
|
+
...options
|
|
18596
|
+
});
|
|
18597
|
+
};
|
|
18598
|
+
export const marketplaceOfferingGroupsRetrieve = (options) => {
|
|
18599
|
+
return (options.client ?? _heyApiClient).get({
|
|
18600
|
+
security: [
|
|
18601
|
+
{
|
|
18602
|
+
name: 'Authorization',
|
|
18603
|
+
type: 'apiKey'
|
|
18604
|
+
},
|
|
18605
|
+
{
|
|
18606
|
+
scheme: 'bearer',
|
|
18607
|
+
type: 'http'
|
|
18608
|
+
},
|
|
18609
|
+
{
|
|
18610
|
+
scheme: 'bearer',
|
|
18611
|
+
type: 'http'
|
|
18612
|
+
}
|
|
18613
|
+
],
|
|
18614
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18615
|
+
...options
|
|
18616
|
+
});
|
|
18617
|
+
};
|
|
18618
|
+
export const marketplaceOfferingGroupsPartialUpdate = (options) => {
|
|
18619
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18620
|
+
security: [
|
|
18621
|
+
{
|
|
18622
|
+
name: 'Authorization',
|
|
18623
|
+
type: 'apiKey'
|
|
18624
|
+
},
|
|
18625
|
+
{
|
|
18626
|
+
scheme: 'bearer',
|
|
18627
|
+
type: 'http'
|
|
18628
|
+
},
|
|
18629
|
+
{
|
|
18630
|
+
scheme: 'bearer',
|
|
18631
|
+
type: 'http'
|
|
18632
|
+
}
|
|
18633
|
+
],
|
|
18634
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18635
|
+
...options,
|
|
18636
|
+
headers: {
|
|
18637
|
+
'Content-Type': 'application/json',
|
|
18638
|
+
...options.headers
|
|
18639
|
+
}
|
|
18640
|
+
});
|
|
18641
|
+
};
|
|
18642
|
+
export const marketplaceOfferingGroupsUpdate = (options) => {
|
|
18643
|
+
return (options.client ?? _heyApiClient).put({
|
|
18644
|
+
security: [
|
|
18645
|
+
{
|
|
18646
|
+
name: 'Authorization',
|
|
18647
|
+
type: 'apiKey'
|
|
18648
|
+
},
|
|
18649
|
+
{
|
|
18650
|
+
scheme: 'bearer',
|
|
18651
|
+
type: 'http'
|
|
18652
|
+
},
|
|
18653
|
+
{
|
|
18654
|
+
scheme: 'bearer',
|
|
18655
|
+
type: 'http'
|
|
18656
|
+
}
|
|
18657
|
+
],
|
|
18658
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18659
|
+
...options,
|
|
18660
|
+
headers: {
|
|
18661
|
+
'Content-Type': 'application/json',
|
|
18662
|
+
...options.headers
|
|
18663
|
+
}
|
|
18664
|
+
});
|
|
18665
|
+
};
|
|
18455
18666
|
export const marketplaceOfferingPermissionsList = (options) => {
|
|
18456
18667
|
return (options?.client ?? _heyApiClient).get({
|
|
18457
18668
|
security: [
|
|
@@ -21497,6 +21708,161 @@ export const marketplaceProjectEstimatedCostPoliciesActionsCount = (options) =>
|
|
|
21497
21708
|
...options
|
|
21498
21709
|
});
|
|
21499
21710
|
};
|
|
21711
|
+
export const marketplaceProjectOrderAutoApprovalsList = (options) => {
|
|
21712
|
+
return (options?.client ?? _heyApiClient).get({
|
|
21713
|
+
security: [
|
|
21714
|
+
{
|
|
21715
|
+
name: 'Authorization',
|
|
21716
|
+
type: 'apiKey'
|
|
21717
|
+
},
|
|
21718
|
+
{
|
|
21719
|
+
scheme: 'bearer',
|
|
21720
|
+
type: 'http'
|
|
21721
|
+
},
|
|
21722
|
+
{
|
|
21723
|
+
scheme: 'bearer',
|
|
21724
|
+
type: 'http'
|
|
21725
|
+
}
|
|
21726
|
+
],
|
|
21727
|
+
url: '/api/marketplace-project-order-auto-approvals/',
|
|
21728
|
+
...options
|
|
21729
|
+
});
|
|
21730
|
+
};
|
|
21731
|
+
/**
|
|
21732
|
+
* Get number of items in the collection matching the request parameters.
|
|
21733
|
+
*/
|
|
21734
|
+
export const marketplaceProjectOrderAutoApprovalsCount = (options) => {
|
|
21735
|
+
return (options?.client ?? _heyApiClient).head({
|
|
21736
|
+
security: [
|
|
21737
|
+
{
|
|
21738
|
+
name: 'Authorization',
|
|
21739
|
+
type: 'apiKey'
|
|
21740
|
+
},
|
|
21741
|
+
{
|
|
21742
|
+
scheme: 'bearer',
|
|
21743
|
+
type: 'http'
|
|
21744
|
+
},
|
|
21745
|
+
{
|
|
21746
|
+
scheme: 'bearer',
|
|
21747
|
+
type: 'http'
|
|
21748
|
+
}
|
|
21749
|
+
],
|
|
21750
|
+
url: '/api/marketplace-project-order-auto-approvals/',
|
|
21751
|
+
...options
|
|
21752
|
+
});
|
|
21753
|
+
};
|
|
21754
|
+
export const marketplaceProjectOrderAutoApprovalsCreate = (options) => {
|
|
21755
|
+
return (options.client ?? _heyApiClient).post({
|
|
21756
|
+
security: [
|
|
21757
|
+
{
|
|
21758
|
+
name: 'Authorization',
|
|
21759
|
+
type: 'apiKey'
|
|
21760
|
+
},
|
|
21761
|
+
{
|
|
21762
|
+
scheme: 'bearer',
|
|
21763
|
+
type: 'http'
|
|
21764
|
+
},
|
|
21765
|
+
{
|
|
21766
|
+
scheme: 'bearer',
|
|
21767
|
+
type: 'http'
|
|
21768
|
+
}
|
|
21769
|
+
],
|
|
21770
|
+
url: '/api/marketplace-project-order-auto-approvals/',
|
|
21771
|
+
...options,
|
|
21772
|
+
headers: {
|
|
21773
|
+
'Content-Type': 'application/json',
|
|
21774
|
+
...options.headers
|
|
21775
|
+
}
|
|
21776
|
+
});
|
|
21777
|
+
};
|
|
21778
|
+
export const marketplaceProjectOrderAutoApprovalsDestroy = (options) => {
|
|
21779
|
+
return (options.client ?? _heyApiClient).delete({
|
|
21780
|
+
security: [
|
|
21781
|
+
{
|
|
21782
|
+
name: 'Authorization',
|
|
21783
|
+
type: 'apiKey'
|
|
21784
|
+
},
|
|
21785
|
+
{
|
|
21786
|
+
scheme: 'bearer',
|
|
21787
|
+
type: 'http'
|
|
21788
|
+
},
|
|
21789
|
+
{
|
|
21790
|
+
scheme: 'bearer',
|
|
21791
|
+
type: 'http'
|
|
21792
|
+
}
|
|
21793
|
+
],
|
|
21794
|
+
url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
|
|
21795
|
+
...options
|
|
21796
|
+
});
|
|
21797
|
+
};
|
|
21798
|
+
export const marketplaceProjectOrderAutoApprovalsRetrieve = (options) => {
|
|
21799
|
+
return (options.client ?? _heyApiClient).get({
|
|
21800
|
+
security: [
|
|
21801
|
+
{
|
|
21802
|
+
name: 'Authorization',
|
|
21803
|
+
type: 'apiKey'
|
|
21804
|
+
},
|
|
21805
|
+
{
|
|
21806
|
+
scheme: 'bearer',
|
|
21807
|
+
type: 'http'
|
|
21808
|
+
},
|
|
21809
|
+
{
|
|
21810
|
+
scheme: 'bearer',
|
|
21811
|
+
type: 'http'
|
|
21812
|
+
}
|
|
21813
|
+
],
|
|
21814
|
+
url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
|
|
21815
|
+
...options
|
|
21816
|
+
});
|
|
21817
|
+
};
|
|
21818
|
+
export const marketplaceProjectOrderAutoApprovalsPartialUpdate = (options) => {
|
|
21819
|
+
return (options.client ?? _heyApiClient).patch({
|
|
21820
|
+
security: [
|
|
21821
|
+
{
|
|
21822
|
+
name: 'Authorization',
|
|
21823
|
+
type: 'apiKey'
|
|
21824
|
+
},
|
|
21825
|
+
{
|
|
21826
|
+
scheme: 'bearer',
|
|
21827
|
+
type: 'http'
|
|
21828
|
+
},
|
|
21829
|
+
{
|
|
21830
|
+
scheme: 'bearer',
|
|
21831
|
+
type: 'http'
|
|
21832
|
+
}
|
|
21833
|
+
],
|
|
21834
|
+
url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
|
|
21835
|
+
...options,
|
|
21836
|
+
headers: {
|
|
21837
|
+
'Content-Type': 'application/json',
|
|
21838
|
+
...options.headers
|
|
21839
|
+
}
|
|
21840
|
+
});
|
|
21841
|
+
};
|
|
21842
|
+
export const marketplaceProjectOrderAutoApprovalsUpdate = (options) => {
|
|
21843
|
+
return (options.client ?? _heyApiClient).put({
|
|
21844
|
+
security: [
|
|
21845
|
+
{
|
|
21846
|
+
name: 'Authorization',
|
|
21847
|
+
type: 'apiKey'
|
|
21848
|
+
},
|
|
21849
|
+
{
|
|
21850
|
+
scheme: 'bearer',
|
|
21851
|
+
type: 'http'
|
|
21852
|
+
},
|
|
21853
|
+
{
|
|
21854
|
+
scheme: 'bearer',
|
|
21855
|
+
type: 'http'
|
|
21856
|
+
}
|
|
21857
|
+
],
|
|
21858
|
+
url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
|
|
21859
|
+
...options,
|
|
21860
|
+
headers: {
|
|
21861
|
+
'Content-Type': 'application/json',
|
|
21862
|
+
...options.headers
|
|
21863
|
+
}
|
|
21864
|
+
});
|
|
21865
|
+
};
|
|
21500
21866
|
/**
|
|
21501
21867
|
* List service accounts
|
|
21502
21868
|
*/
|
|
@@ -23074,6 +23440,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
23074
23440
|
}
|
|
23075
23441
|
});
|
|
23076
23442
|
};
|
|
23443
|
+
/**
|
|
23444
|
+
* Assign or clear the offering group
|
|
23445
|
+
* Sets the offering's ``offering_group`` FK. Pass ``offering_group: <uuid>`` to assign a group, or ``offering_group: null`` to clear it. The group must belong to the same customer as the offering.
|
|
23446
|
+
*/
|
|
23447
|
+
export const marketplaceProviderOfferingsSetOfferingGroup = (options) => {
|
|
23448
|
+
return (options.client ?? _heyApiClient).post({
|
|
23449
|
+
security: [
|
|
23450
|
+
{
|
|
23451
|
+
name: 'Authorization',
|
|
23452
|
+
type: 'apiKey'
|
|
23453
|
+
},
|
|
23454
|
+
{
|
|
23455
|
+
scheme: 'bearer',
|
|
23456
|
+
type: 'http'
|
|
23457
|
+
},
|
|
23458
|
+
{
|
|
23459
|
+
scheme: 'bearer',
|
|
23460
|
+
type: 'http'
|
|
23461
|
+
}
|
|
23462
|
+
],
|
|
23463
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_offering_group/',
|
|
23464
|
+
...options,
|
|
23465
|
+
headers: {
|
|
23466
|
+
'Content-Type': 'application/json',
|
|
23467
|
+
...options.headers
|
|
23468
|
+
}
|
|
23469
|
+
});
|
|
23470
|
+
};
|
|
23077
23471
|
/**
|
|
23078
23472
|
* Bind / unbind offering to a service profile
|
|
23079
23473
|
* Sets the offering's `profile` FK. Pass `profile: <uuid>` to bind, or `profile: null` to unbind. Requires UPDATE_OFFERING permission on the offering's customer (service-provider owners and staff). Triggers async reconciliation of RoleAvailability rows on this offering against the profile's role catalog (or wipes them on unbind).
|
|
@@ -23782,6 +24176,34 @@ export const marketplaceProviderOfferingsUpdateThumbnail = (options) => {
|
|
|
23782
24176
|
}
|
|
23783
24177
|
});
|
|
23784
24178
|
};
|
|
24179
|
+
/**
|
|
24180
|
+
* Swap offering type
|
|
24181
|
+
* Changes the offering's `type` between Marketplace.Basic and the site-agent type (Marketplace.Slurm). Both plugins share the same data shape (the site-agent processors inherit from Basic and only delegate the send paths to the external agent), so the swap is safe in either direction. Refused if the offering's current type is not in the swappable set.
|
|
24182
|
+
*/
|
|
24183
|
+
export const marketplaceProviderOfferingsUpdateType = (options) => {
|
|
24184
|
+
return (options.client ?? _heyApiClient).post({
|
|
24185
|
+
security: [
|
|
24186
|
+
{
|
|
24187
|
+
name: 'Authorization',
|
|
24188
|
+
type: 'apiKey'
|
|
24189
|
+
},
|
|
24190
|
+
{
|
|
24191
|
+
scheme: 'bearer',
|
|
24192
|
+
type: 'http'
|
|
24193
|
+
},
|
|
24194
|
+
{
|
|
24195
|
+
scheme: 'bearer',
|
|
24196
|
+
type: 'http'
|
|
24197
|
+
}
|
|
24198
|
+
],
|
|
24199
|
+
url: '/api/marketplace-provider-offerings/{uuid}/update_type/',
|
|
24200
|
+
...options,
|
|
24201
|
+
headers: {
|
|
24202
|
+
'Content-Type': 'application/json',
|
|
24203
|
+
...options.headers
|
|
24204
|
+
}
|
|
24205
|
+
});
|
|
24206
|
+
};
|
|
23785
24207
|
/**
|
|
23786
24208
|
* Update a user's role expiration
|
|
23787
24209
|
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
@@ -24377,6 +24799,34 @@ export const marketplaceProviderResourcesAddUser = (options) => {
|
|
|
24377
24799
|
}
|
|
24378
24800
|
});
|
|
24379
24801
|
};
|
|
24802
|
+
/**
|
|
24803
|
+
* Adjust resource start and end dates (staff only)
|
|
24804
|
+
* Updates both the originating order's start_date and the resource's end_date in one atomic operation. Intended for helpdesk-style prepaid offerings where staff need to shift the service window forward. Does not regenerate invoices, issue credits, or send notifications.
|
|
24805
|
+
*/
|
|
24806
|
+
export const marketplaceProviderResourcesAdjustDates = (options) => {
|
|
24807
|
+
return (options.client ?? _heyApiClient).post({
|
|
24808
|
+
security: [
|
|
24809
|
+
{
|
|
24810
|
+
name: 'Authorization',
|
|
24811
|
+
type: 'apiKey'
|
|
24812
|
+
},
|
|
24813
|
+
{
|
|
24814
|
+
scheme: 'bearer',
|
|
24815
|
+
type: 'http'
|
|
24816
|
+
},
|
|
24817
|
+
{
|
|
24818
|
+
scheme: 'bearer',
|
|
24819
|
+
type: 'http'
|
|
24820
|
+
}
|
|
24821
|
+
],
|
|
24822
|
+
url: '/api/marketplace-provider-resources/{uuid}/adjust_dates/',
|
|
24823
|
+
...options,
|
|
24824
|
+
headers: {
|
|
24825
|
+
'Content-Type': 'application/json',
|
|
24826
|
+
...options.headers
|
|
24827
|
+
}
|
|
24828
|
+
});
|
|
24829
|
+
};
|
|
24380
24830
|
/**
|
|
24381
24831
|
* Revoke a role from a user
|
|
24382
24832
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -25912,6 +26362,34 @@ export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
|
25912
26362
|
...options
|
|
25913
26363
|
});
|
|
25914
26364
|
};
|
|
26365
|
+
/**
|
|
26366
|
+
* Recover a soft-deleted resource project
|
|
26367
|
+
* Flips is_removed back to False on a previously soft-deleted resource project. Optionally restores the team members captured at soft-delete time, or sends them new invitations. Pass ?include_removed=true on the lookup so the soft-deleted row can be resolved.
|
|
26368
|
+
*/
|
|
26369
|
+
export const marketplaceResourceProjectsRecover = (options) => {
|
|
26370
|
+
return (options.client ?? _heyApiClient).post({
|
|
26371
|
+
security: [
|
|
26372
|
+
{
|
|
26373
|
+
name: 'Authorization',
|
|
26374
|
+
type: 'apiKey'
|
|
26375
|
+
},
|
|
26376
|
+
{
|
|
26377
|
+
scheme: 'bearer',
|
|
26378
|
+
type: 'http'
|
|
26379
|
+
},
|
|
26380
|
+
{
|
|
26381
|
+
scheme: 'bearer',
|
|
26382
|
+
type: 'http'
|
|
26383
|
+
}
|
|
26384
|
+
],
|
|
26385
|
+
url: '/api/marketplace-resource-projects/{uuid}/recover/',
|
|
26386
|
+
...options,
|
|
26387
|
+
headers: {
|
|
26388
|
+
'Content-Type': 'application/json',
|
|
26389
|
+
...options.headers
|
|
26390
|
+
}
|
|
26391
|
+
});
|
|
26392
|
+
};
|
|
25915
26393
|
/**
|
|
25916
26394
|
* Update a user's role expiration
|
|
25917
26395
|
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
@@ -26096,6 +26574,34 @@ export const marketplaceResourcesAddUser = (options) => {
|
|
|
26096
26574
|
}
|
|
26097
26575
|
});
|
|
26098
26576
|
};
|
|
26577
|
+
/**
|
|
26578
|
+
* Adjust resource start and end dates (staff only)
|
|
26579
|
+
* Updates both the originating order's start_date and the resource's end_date in one atomic operation. Intended for helpdesk-style prepaid offerings where staff need to shift the service window forward. Does not regenerate invoices, issue credits, or send notifications.
|
|
26580
|
+
*/
|
|
26581
|
+
export const marketplaceResourcesAdjustDates = (options) => {
|
|
26582
|
+
return (options.client ?? _heyApiClient).post({
|
|
26583
|
+
security: [
|
|
26584
|
+
{
|
|
26585
|
+
name: 'Authorization',
|
|
26586
|
+
type: 'apiKey'
|
|
26587
|
+
},
|
|
26588
|
+
{
|
|
26589
|
+
scheme: 'bearer',
|
|
26590
|
+
type: 'http'
|
|
26591
|
+
},
|
|
26592
|
+
{
|
|
26593
|
+
scheme: 'bearer',
|
|
26594
|
+
type: 'http'
|
|
26595
|
+
}
|
|
26596
|
+
],
|
|
26597
|
+
url: '/api/marketplace-resources/{uuid}/adjust_dates/',
|
|
26598
|
+
...options,
|
|
26599
|
+
headers: {
|
|
26600
|
+
'Content-Type': 'application/json',
|
|
26601
|
+
...options.headers
|
|
26602
|
+
}
|
|
26603
|
+
});
|
|
26604
|
+
};
|
|
26099
26605
|
/**
|
|
26100
26606
|
* Revoke a role from a user
|
|
26101
26607
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -27969,6 +28475,29 @@ export const marketplaceServiceProvidersOfferingsList = (options) => {
|
|
|
27969
28475
|
...options
|
|
27970
28476
|
});
|
|
27971
28477
|
};
|
|
28478
|
+
/**
|
|
28479
|
+
* List distinct offering types for a service provider
|
|
28480
|
+
*/
|
|
28481
|
+
export const marketplaceServiceProvidersOfferingsTypesList = (options) => {
|
|
28482
|
+
return (options.client ?? _heyApiClient).get({
|
|
28483
|
+
security: [
|
|
28484
|
+
{
|
|
28485
|
+
name: 'Authorization',
|
|
28486
|
+
type: 'apiKey'
|
|
28487
|
+
},
|
|
28488
|
+
{
|
|
28489
|
+
scheme: 'bearer',
|
|
28490
|
+
type: 'http'
|
|
28491
|
+
},
|
|
28492
|
+
{
|
|
28493
|
+
scheme: 'bearer',
|
|
28494
|
+
type: 'http'
|
|
28495
|
+
}
|
|
28496
|
+
],
|
|
28497
|
+
url: '/api/marketplace-service-providers/{service_provider_uuid}/offerings/types/',
|
|
28498
|
+
...options
|
|
28499
|
+
});
|
|
28500
|
+
};
|
|
27972
28501
|
/**
|
|
27973
28502
|
* List project permissions of a service provider
|
|
27974
28503
|
* Returns a paginated list of project permissions for all projects that have consumed resources from the specified service provider.
|
|
@@ -28761,6 +29290,77 @@ export const marketplaceSiteAgentIdentitiesCleanupOrphaned = (options) => {
|
|
|
28761
29290
|
}
|
|
28762
29291
|
});
|
|
28763
29292
|
};
|
|
29293
|
+
export const marketplaceSiteAgentLogsList = (options) => {
|
|
29294
|
+
return (options?.client ?? _heyApiClient).get({
|
|
29295
|
+
security: [
|
|
29296
|
+
{
|
|
29297
|
+
name: 'Authorization',
|
|
29298
|
+
type: 'apiKey'
|
|
29299
|
+
},
|
|
29300
|
+
{
|
|
29301
|
+
scheme: 'bearer',
|
|
29302
|
+
type: 'http'
|
|
29303
|
+
},
|
|
29304
|
+
{
|
|
29305
|
+
scheme: 'bearer',
|
|
29306
|
+
type: 'http'
|
|
29307
|
+
}
|
|
29308
|
+
],
|
|
29309
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29310
|
+
...options
|
|
29311
|
+
});
|
|
29312
|
+
};
|
|
29313
|
+
/**
|
|
29314
|
+
* Get number of items in the collection matching the request parameters.
|
|
29315
|
+
*/
|
|
29316
|
+
export const marketplaceSiteAgentLogsCount = (options) => {
|
|
29317
|
+
return (options?.client ?? _heyApiClient).head({
|
|
29318
|
+
security: [
|
|
29319
|
+
{
|
|
29320
|
+
name: 'Authorization',
|
|
29321
|
+
type: 'apiKey'
|
|
29322
|
+
},
|
|
29323
|
+
{
|
|
29324
|
+
scheme: 'bearer',
|
|
29325
|
+
type: 'http'
|
|
29326
|
+
},
|
|
29327
|
+
{
|
|
29328
|
+
scheme: 'bearer',
|
|
29329
|
+
type: 'http'
|
|
29330
|
+
}
|
|
29331
|
+
],
|
|
29332
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29333
|
+
...options
|
|
29334
|
+
});
|
|
29335
|
+
};
|
|
29336
|
+
/**
|
|
29337
|
+
* Push site agent logs
|
|
29338
|
+
* Receive a batch of log entries from a site agent. Send a list where each entry includes agent_identity_uuid.
|
|
29339
|
+
*/
|
|
29340
|
+
export const marketplaceSiteAgentLogsCreate = (options) => {
|
|
29341
|
+
return (options.client ?? _heyApiClient).post({
|
|
29342
|
+
security: [
|
|
29343
|
+
{
|
|
29344
|
+
name: 'Authorization',
|
|
29345
|
+
type: 'apiKey'
|
|
29346
|
+
},
|
|
29347
|
+
{
|
|
29348
|
+
scheme: 'bearer',
|
|
29349
|
+
type: 'http'
|
|
29350
|
+
},
|
|
29351
|
+
{
|
|
29352
|
+
scheme: 'bearer',
|
|
29353
|
+
type: 'http'
|
|
29354
|
+
}
|
|
29355
|
+
],
|
|
29356
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29357
|
+
...options,
|
|
29358
|
+
headers: {
|
|
29359
|
+
'Content-Type': 'application/json',
|
|
29360
|
+
...options.headers
|
|
29361
|
+
}
|
|
29362
|
+
});
|
|
29363
|
+
};
|
|
28764
29364
|
export const marketplaceSiteAgentProcessorsList = (options) => {
|
|
28765
29365
|
return (options?.client ?? _heyApiClient).get({
|
|
28766
29366
|
security: [
|
|
@@ -32165,6 +32765,52 @@ export const marketplaceStatsUserAffiliationCountCount = (options) => {
|
|
|
32165
32765
|
...options
|
|
32166
32766
|
});
|
|
32167
32767
|
};
|
|
32768
|
+
/**
|
|
32769
|
+
* Paginated affiliation rows with parsed organization, country, category and identifier fields. Drives the affiliation details table; the unparsed aggregate counts remain available via user_affiliation_count.
|
|
32770
|
+
*/
|
|
32771
|
+
export const marketplaceStatsUserAffiliationDetailsList = (options) => {
|
|
32772
|
+
return (options?.client ?? _heyApiClient).get({
|
|
32773
|
+
security: [
|
|
32774
|
+
{
|
|
32775
|
+
name: 'Authorization',
|
|
32776
|
+
type: 'apiKey'
|
|
32777
|
+
},
|
|
32778
|
+
{
|
|
32779
|
+
scheme: 'bearer',
|
|
32780
|
+
type: 'http'
|
|
32781
|
+
},
|
|
32782
|
+
{
|
|
32783
|
+
scheme: 'bearer',
|
|
32784
|
+
type: 'http'
|
|
32785
|
+
}
|
|
32786
|
+
],
|
|
32787
|
+
url: '/api/marketplace-stats/user_affiliation_details/',
|
|
32788
|
+
...options
|
|
32789
|
+
});
|
|
32790
|
+
};
|
|
32791
|
+
/**
|
|
32792
|
+
* Get number of items in the collection matching the request parameters.
|
|
32793
|
+
*/
|
|
32794
|
+
export const marketplaceStatsUserAffiliationDetailsCount = (options) => {
|
|
32795
|
+
return (options?.client ?? _heyApiClient).head({
|
|
32796
|
+
security: [
|
|
32797
|
+
{
|
|
32798
|
+
name: 'Authorization',
|
|
32799
|
+
type: 'apiKey'
|
|
32800
|
+
},
|
|
32801
|
+
{
|
|
32802
|
+
scheme: 'bearer',
|
|
32803
|
+
type: 'http'
|
|
32804
|
+
},
|
|
32805
|
+
{
|
|
32806
|
+
scheme: 'bearer',
|
|
32807
|
+
type: 'http'
|
|
32808
|
+
}
|
|
32809
|
+
],
|
|
32810
|
+
url: '/api/marketplace-stats/user_affiliation_details/',
|
|
32811
|
+
...options
|
|
32812
|
+
});
|
|
32813
|
+
};
|
|
32168
32814
|
/**
|
|
32169
32815
|
* Return user count grouped by authentication method.
|
|
32170
32816
|
*/
|
|
@@ -44368,7 +45014,7 @@ export const personalAccessTokensRetrieve = (options) => {
|
|
|
44368
45014
|
};
|
|
44369
45015
|
/**
|
|
44370
45016
|
* Rotate a personal access token
|
|
44371
|
-
* Atomically revoke the old token and create a new one with the same scopes.
|
|
45017
|
+
* Atomically revoke the old token and create a new one with the same scopes and bindings.
|
|
44372
45018
|
*/
|
|
44373
45019
|
export const personalAccessTokensRotate = (options) => {
|
|
44374
45020
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -44390,6 +45036,60 @@ export const personalAccessTokensRotate = (options) => {
|
|
|
44390
45036
|
...options
|
|
44391
45037
|
});
|
|
44392
45038
|
};
|
|
45039
|
+
/**
|
|
45040
|
+
* List entity types the caller can bind each permission to
|
|
45041
|
+
* For each permission, which TYPE_MAP keys the caller could bind a PAT to.
|
|
45042
|
+
*
|
|
45043
|
+
* Drives the create-PAT frontend's type picker. For staff users every
|
|
45044
|
+
* type is offered for every permission (they bypass UserRole checks).
|
|
45045
|
+
* For other users we return only types where they hold an active role
|
|
45046
|
+
* granting the permission directly (the binding then inherits to
|
|
45047
|
+
* descendants at request time).
|
|
45048
|
+
*/
|
|
45049
|
+
export const personalAccessTokensAvailableBindingTargetsList = (options) => {
|
|
45050
|
+
return (options?.client ?? _heyApiClient).get({
|
|
45051
|
+
security: [
|
|
45052
|
+
{
|
|
45053
|
+
name: 'Authorization',
|
|
45054
|
+
type: 'apiKey'
|
|
45055
|
+
},
|
|
45056
|
+
{
|
|
45057
|
+
scheme: 'bearer',
|
|
45058
|
+
type: 'http'
|
|
45059
|
+
},
|
|
45060
|
+
{
|
|
45061
|
+
scheme: 'bearer',
|
|
45062
|
+
type: 'http'
|
|
45063
|
+
}
|
|
45064
|
+
],
|
|
45065
|
+
url: '/api/personal-access-tokens/available_binding_targets/',
|
|
45066
|
+
...options
|
|
45067
|
+
});
|
|
45068
|
+
};
|
|
45069
|
+
/**
|
|
45070
|
+
* List entity types the caller can bind each permission to
|
|
45071
|
+
* Get number of items in the collection matching the request parameters.
|
|
45072
|
+
*/
|
|
45073
|
+
export const personalAccessTokensAvailableBindingTargetsCount = (options) => {
|
|
45074
|
+
return (options?.client ?? _heyApiClient).head({
|
|
45075
|
+
security: [
|
|
45076
|
+
{
|
|
45077
|
+
name: 'Authorization',
|
|
45078
|
+
type: 'apiKey'
|
|
45079
|
+
},
|
|
45080
|
+
{
|
|
45081
|
+
scheme: 'bearer',
|
|
45082
|
+
type: 'http'
|
|
45083
|
+
},
|
|
45084
|
+
{
|
|
45085
|
+
scheme: 'bearer',
|
|
45086
|
+
type: 'http'
|
|
45087
|
+
}
|
|
45088
|
+
],
|
|
45089
|
+
url: '/api/personal-access-tokens/available_binding_targets/',
|
|
45090
|
+
...options
|
|
45091
|
+
});
|
|
45092
|
+
};
|
|
44393
45093
|
/**
|
|
44394
45094
|
* List available scopes for PAT creation
|
|
44395
45095
|
* Return permissions the current user can delegate to a PAT.
|
|
@@ -47029,6 +47729,33 @@ export const proposalProtectedCallsDetectConflicts = (options) => {
|
|
|
47029
47729
|
}
|
|
47030
47730
|
});
|
|
47031
47731
|
};
|
|
47732
|
+
/**
|
|
47733
|
+
* Duplicate a call. The new call inherits the source call's configuration (offerings, rounds, workflow steps, resource templates, role mappings, documents, and COI/matching/assignment/applicant-visibility settings) and starts in draft state. Proposals, reviews, team permissions, and reviewer-pool memberships are not copied.
|
|
47734
|
+
*/
|
|
47735
|
+
export const proposalProtectedCallsDuplicate = (options) => {
|
|
47736
|
+
return (options.client ?? _heyApiClient).post({
|
|
47737
|
+
security: [
|
|
47738
|
+
{
|
|
47739
|
+
name: 'Authorization',
|
|
47740
|
+
type: 'apiKey'
|
|
47741
|
+
},
|
|
47742
|
+
{
|
|
47743
|
+
scheme: 'bearer',
|
|
47744
|
+
type: 'http'
|
|
47745
|
+
},
|
|
47746
|
+
{
|
|
47747
|
+
scheme: 'bearer',
|
|
47748
|
+
type: 'http'
|
|
47749
|
+
}
|
|
47750
|
+
],
|
|
47751
|
+
url: '/api/proposal-protected-calls/{uuid}/duplicate/',
|
|
47752
|
+
...options,
|
|
47753
|
+
headers: {
|
|
47754
|
+
'Content-Type': 'application/json',
|
|
47755
|
+
...options.headers
|
|
47756
|
+
}
|
|
47757
|
+
});
|
|
47758
|
+
};
|
|
47032
47759
|
/**
|
|
47033
47760
|
* Generate assignment batches for reviewers. Uses the affinity matrix and COI records to assign reviewers to proposals.
|
|
47034
47761
|
*/
|
|
@@ -47633,6 +48360,33 @@ export const proposalProtectedCallsRoundsSet = (options) => {
|
|
|
47633
48360
|
}
|
|
47634
48361
|
});
|
|
47635
48362
|
};
|
|
48363
|
+
/**
|
|
48364
|
+
* Create multiple rounds on a call at a fixed cadence. Spacing is controlled by ``cadence`` (monthly/quarterly/biannual/yearly/custom). Each round's ``cutoff_time`` is derived as ``start_time + submission_window_days``. Fixed-date allocation is not supported in bulk mode.
|
|
48365
|
+
*/
|
|
48366
|
+
export const proposalProtectedCallsRoundsBulkSet = (options) => {
|
|
48367
|
+
return (options.client ?? _heyApiClient).post({
|
|
48368
|
+
security: [
|
|
48369
|
+
{
|
|
48370
|
+
name: 'Authorization',
|
|
48371
|
+
type: 'apiKey'
|
|
48372
|
+
},
|
|
48373
|
+
{
|
|
48374
|
+
scheme: 'bearer',
|
|
48375
|
+
type: 'http'
|
|
48376
|
+
},
|
|
48377
|
+
{
|
|
48378
|
+
scheme: 'bearer',
|
|
48379
|
+
type: 'http'
|
|
48380
|
+
}
|
|
48381
|
+
],
|
|
48382
|
+
url: '/api/proposal-protected-calls/{uuid}/rounds-bulk-set/',
|
|
48383
|
+
...options,
|
|
48384
|
+
headers: {
|
|
48385
|
+
'Content-Type': 'application/json',
|
|
48386
|
+
...options.headers
|
|
48387
|
+
}
|
|
48388
|
+
});
|
|
48389
|
+
};
|
|
47636
48390
|
export const proposalProtectedCallsRoundsDestroy = (options) => {
|
|
47637
48391
|
return (options.client ?? _heyApiClient).delete({
|
|
47638
48392
|
security: [
|
|
@@ -48630,7 +49384,7 @@ export const publicMaintenanceAnnouncementsRetrieve = (options) => {
|
|
|
48630
49384
|
};
|
|
48631
49385
|
/**
|
|
48632
49386
|
* Execute read-only SQL query
|
|
48633
|
-
* Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires
|
|
49387
|
+
* Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires staff user permissions.
|
|
48634
49388
|
*/
|
|
48635
49389
|
export const query = (options) => {
|
|
48636
49390
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -54745,7 +55499,7 @@ export const statsDatabaseRetrieve = (options) => {
|
|
|
54745
55499
|
};
|
|
54746
55500
|
/**
|
|
54747
55501
|
* Execute read-only SQL query
|
|
54748
|
-
* Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires
|
|
55502
|
+
* Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires staff user permissions.
|
|
54749
55503
|
*/
|
|
54750
55504
|
export const statsQuery = (options) => {
|
|
54751
55505
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -58591,6 +59345,30 @@ export const usersPullRemoteUser = (options) => {
|
|
|
58591
59345
|
...options
|
|
58592
59346
|
});
|
|
58593
59347
|
};
|
|
59348
|
+
/**
|
|
59349
|
+
* Pull SCIM attributes from external IdP for this user
|
|
59350
|
+
* Staff-only action that pulls the user's attributes from the configured external SCIM 2.0 directory (SCIM_PULL_API_URL). Pulled attributes are merged via the same source-aware policy as inbound SCIM and the Identity Bridge.
|
|
59351
|
+
*/
|
|
59352
|
+
export const usersPullScimAttributes = (options) => {
|
|
59353
|
+
return (options.client ?? _heyApiClient).post({
|
|
59354
|
+
security: [
|
|
59355
|
+
{
|
|
59356
|
+
name: 'Authorization',
|
|
59357
|
+
type: 'apiKey'
|
|
59358
|
+
},
|
|
59359
|
+
{
|
|
59360
|
+
scheme: 'bearer',
|
|
59361
|
+
type: 'http'
|
|
59362
|
+
},
|
|
59363
|
+
{
|
|
59364
|
+
scheme: 'bearer',
|
|
59365
|
+
type: 'http'
|
|
59366
|
+
}
|
|
59367
|
+
],
|
|
59368
|
+
url: '/api/users/{uuid}/pull_scim_attributes/',
|
|
59369
|
+
...options
|
|
59370
|
+
});
|
|
59371
|
+
};
|
|
58594
59372
|
/**
|
|
58595
59373
|
* Refresh user auth token
|
|
58596
59374
|
*/
|