waldur-js-client 8.0.9-dev.1 → 8.0.9-dev.11
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 +92 -2
- package/dist/sdk.gen.js +660 -1
- package/dist/types.gen.d.ts +959 -9
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -18452,6 +18452,161 @@ export const marketplaceOfferingFilesRetrieve = (options) => {
|
|
|
18452
18452
|
...options
|
|
18453
18453
|
});
|
|
18454
18454
|
};
|
|
18455
|
+
export const marketplaceOfferingGroupsList = (options) => {
|
|
18456
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18457
|
+
security: [
|
|
18458
|
+
{
|
|
18459
|
+
name: 'Authorization',
|
|
18460
|
+
type: 'apiKey'
|
|
18461
|
+
},
|
|
18462
|
+
{
|
|
18463
|
+
scheme: 'bearer',
|
|
18464
|
+
type: 'http'
|
|
18465
|
+
},
|
|
18466
|
+
{
|
|
18467
|
+
scheme: 'bearer',
|
|
18468
|
+
type: 'http'
|
|
18469
|
+
}
|
|
18470
|
+
],
|
|
18471
|
+
url: '/api/marketplace-offering-groups/',
|
|
18472
|
+
...options
|
|
18473
|
+
});
|
|
18474
|
+
};
|
|
18475
|
+
/**
|
|
18476
|
+
* Get number of items in the collection matching the request parameters.
|
|
18477
|
+
*/
|
|
18478
|
+
export const marketplaceOfferingGroupsCount = (options) => {
|
|
18479
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18480
|
+
security: [
|
|
18481
|
+
{
|
|
18482
|
+
name: 'Authorization',
|
|
18483
|
+
type: 'apiKey'
|
|
18484
|
+
},
|
|
18485
|
+
{
|
|
18486
|
+
scheme: 'bearer',
|
|
18487
|
+
type: 'http'
|
|
18488
|
+
},
|
|
18489
|
+
{
|
|
18490
|
+
scheme: 'bearer',
|
|
18491
|
+
type: 'http'
|
|
18492
|
+
}
|
|
18493
|
+
],
|
|
18494
|
+
url: '/api/marketplace-offering-groups/',
|
|
18495
|
+
...options
|
|
18496
|
+
});
|
|
18497
|
+
};
|
|
18498
|
+
export const marketplaceOfferingGroupsCreate = (options) => {
|
|
18499
|
+
return (options.client ?? _heyApiClient).post({
|
|
18500
|
+
security: [
|
|
18501
|
+
{
|
|
18502
|
+
name: 'Authorization',
|
|
18503
|
+
type: 'apiKey'
|
|
18504
|
+
},
|
|
18505
|
+
{
|
|
18506
|
+
scheme: 'bearer',
|
|
18507
|
+
type: 'http'
|
|
18508
|
+
},
|
|
18509
|
+
{
|
|
18510
|
+
scheme: 'bearer',
|
|
18511
|
+
type: 'http'
|
|
18512
|
+
}
|
|
18513
|
+
],
|
|
18514
|
+
url: '/api/marketplace-offering-groups/',
|
|
18515
|
+
...options,
|
|
18516
|
+
headers: {
|
|
18517
|
+
'Content-Type': 'application/json',
|
|
18518
|
+
...options.headers
|
|
18519
|
+
}
|
|
18520
|
+
});
|
|
18521
|
+
};
|
|
18522
|
+
export const marketplaceOfferingGroupsDestroy = (options) => {
|
|
18523
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18524
|
+
security: [
|
|
18525
|
+
{
|
|
18526
|
+
name: 'Authorization',
|
|
18527
|
+
type: 'apiKey'
|
|
18528
|
+
},
|
|
18529
|
+
{
|
|
18530
|
+
scheme: 'bearer',
|
|
18531
|
+
type: 'http'
|
|
18532
|
+
},
|
|
18533
|
+
{
|
|
18534
|
+
scheme: 'bearer',
|
|
18535
|
+
type: 'http'
|
|
18536
|
+
}
|
|
18537
|
+
],
|
|
18538
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18539
|
+
...options
|
|
18540
|
+
});
|
|
18541
|
+
};
|
|
18542
|
+
export const marketplaceOfferingGroupsRetrieve = (options) => {
|
|
18543
|
+
return (options.client ?? _heyApiClient).get({
|
|
18544
|
+
security: [
|
|
18545
|
+
{
|
|
18546
|
+
name: 'Authorization',
|
|
18547
|
+
type: 'apiKey'
|
|
18548
|
+
},
|
|
18549
|
+
{
|
|
18550
|
+
scheme: 'bearer',
|
|
18551
|
+
type: 'http'
|
|
18552
|
+
},
|
|
18553
|
+
{
|
|
18554
|
+
scheme: 'bearer',
|
|
18555
|
+
type: 'http'
|
|
18556
|
+
}
|
|
18557
|
+
],
|
|
18558
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18559
|
+
...options
|
|
18560
|
+
});
|
|
18561
|
+
};
|
|
18562
|
+
export const marketplaceOfferingGroupsPartialUpdate = (options) => {
|
|
18563
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18564
|
+
security: [
|
|
18565
|
+
{
|
|
18566
|
+
name: 'Authorization',
|
|
18567
|
+
type: 'apiKey'
|
|
18568
|
+
},
|
|
18569
|
+
{
|
|
18570
|
+
scheme: 'bearer',
|
|
18571
|
+
type: 'http'
|
|
18572
|
+
},
|
|
18573
|
+
{
|
|
18574
|
+
scheme: 'bearer',
|
|
18575
|
+
type: 'http'
|
|
18576
|
+
}
|
|
18577
|
+
],
|
|
18578
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18579
|
+
...options,
|
|
18580
|
+
headers: {
|
|
18581
|
+
'Content-Type': 'application/json',
|
|
18582
|
+
...options.headers
|
|
18583
|
+
}
|
|
18584
|
+
});
|
|
18585
|
+
};
|
|
18586
|
+
export const marketplaceOfferingGroupsUpdate = (options) => {
|
|
18587
|
+
return (options.client ?? _heyApiClient).put({
|
|
18588
|
+
security: [
|
|
18589
|
+
{
|
|
18590
|
+
name: 'Authorization',
|
|
18591
|
+
type: 'apiKey'
|
|
18592
|
+
},
|
|
18593
|
+
{
|
|
18594
|
+
scheme: 'bearer',
|
|
18595
|
+
type: 'http'
|
|
18596
|
+
},
|
|
18597
|
+
{
|
|
18598
|
+
scheme: 'bearer',
|
|
18599
|
+
type: 'http'
|
|
18600
|
+
}
|
|
18601
|
+
],
|
|
18602
|
+
url: '/api/marketplace-offering-groups/{uuid}/',
|
|
18603
|
+
...options,
|
|
18604
|
+
headers: {
|
|
18605
|
+
'Content-Type': 'application/json',
|
|
18606
|
+
...options.headers
|
|
18607
|
+
}
|
|
18608
|
+
});
|
|
18609
|
+
};
|
|
18455
18610
|
export const marketplaceOfferingPermissionsList = (options) => {
|
|
18456
18611
|
return (options?.client ?? _heyApiClient).get({
|
|
18457
18612
|
security: [
|
|
@@ -23074,6 +23229,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
23074
23229
|
}
|
|
23075
23230
|
});
|
|
23076
23231
|
};
|
|
23232
|
+
/**
|
|
23233
|
+
* Assign or clear the offering group
|
|
23234
|
+
* 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.
|
|
23235
|
+
*/
|
|
23236
|
+
export const marketplaceProviderOfferingsSetOfferingGroup = (options) => {
|
|
23237
|
+
return (options.client ?? _heyApiClient).post({
|
|
23238
|
+
security: [
|
|
23239
|
+
{
|
|
23240
|
+
name: 'Authorization',
|
|
23241
|
+
type: 'apiKey'
|
|
23242
|
+
},
|
|
23243
|
+
{
|
|
23244
|
+
scheme: 'bearer',
|
|
23245
|
+
type: 'http'
|
|
23246
|
+
},
|
|
23247
|
+
{
|
|
23248
|
+
scheme: 'bearer',
|
|
23249
|
+
type: 'http'
|
|
23250
|
+
}
|
|
23251
|
+
],
|
|
23252
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_offering_group/',
|
|
23253
|
+
...options,
|
|
23254
|
+
headers: {
|
|
23255
|
+
'Content-Type': 'application/json',
|
|
23256
|
+
...options.headers
|
|
23257
|
+
}
|
|
23258
|
+
});
|
|
23259
|
+
};
|
|
23077
23260
|
/**
|
|
23078
23261
|
* Bind / unbind offering to a service profile
|
|
23079
23262
|
* 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 +23965,34 @@ export const marketplaceProviderOfferingsUpdateThumbnail = (options) => {
|
|
|
23782
23965
|
}
|
|
23783
23966
|
});
|
|
23784
23967
|
};
|
|
23968
|
+
/**
|
|
23969
|
+
* Swap offering type
|
|
23970
|
+
* 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.
|
|
23971
|
+
*/
|
|
23972
|
+
export const marketplaceProviderOfferingsUpdateType = (options) => {
|
|
23973
|
+
return (options.client ?? _heyApiClient).post({
|
|
23974
|
+
security: [
|
|
23975
|
+
{
|
|
23976
|
+
name: 'Authorization',
|
|
23977
|
+
type: 'apiKey'
|
|
23978
|
+
},
|
|
23979
|
+
{
|
|
23980
|
+
scheme: 'bearer',
|
|
23981
|
+
type: 'http'
|
|
23982
|
+
},
|
|
23983
|
+
{
|
|
23984
|
+
scheme: 'bearer',
|
|
23985
|
+
type: 'http'
|
|
23986
|
+
}
|
|
23987
|
+
],
|
|
23988
|
+
url: '/api/marketplace-provider-offerings/{uuid}/update_type/',
|
|
23989
|
+
...options,
|
|
23990
|
+
headers: {
|
|
23991
|
+
'Content-Type': 'application/json',
|
|
23992
|
+
...options.headers
|
|
23993
|
+
}
|
|
23994
|
+
});
|
|
23995
|
+
};
|
|
23785
23996
|
/**
|
|
23786
23997
|
* Update a user's role expiration
|
|
23787
23998
|
* 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 +24588,34 @@ export const marketplaceProviderResourcesAddUser = (options) => {
|
|
|
24377
24588
|
}
|
|
24378
24589
|
});
|
|
24379
24590
|
};
|
|
24591
|
+
/**
|
|
24592
|
+
* Adjust resource start and end dates (staff only)
|
|
24593
|
+
* 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.
|
|
24594
|
+
*/
|
|
24595
|
+
export const marketplaceProviderResourcesAdjustDates = (options) => {
|
|
24596
|
+
return (options.client ?? _heyApiClient).post({
|
|
24597
|
+
security: [
|
|
24598
|
+
{
|
|
24599
|
+
name: 'Authorization',
|
|
24600
|
+
type: 'apiKey'
|
|
24601
|
+
},
|
|
24602
|
+
{
|
|
24603
|
+
scheme: 'bearer',
|
|
24604
|
+
type: 'http'
|
|
24605
|
+
},
|
|
24606
|
+
{
|
|
24607
|
+
scheme: 'bearer',
|
|
24608
|
+
type: 'http'
|
|
24609
|
+
}
|
|
24610
|
+
],
|
|
24611
|
+
url: '/api/marketplace-provider-resources/{uuid}/adjust_dates/',
|
|
24612
|
+
...options,
|
|
24613
|
+
headers: {
|
|
24614
|
+
'Content-Type': 'application/json',
|
|
24615
|
+
...options.headers
|
|
24616
|
+
}
|
|
24617
|
+
});
|
|
24618
|
+
};
|
|
24380
24619
|
/**
|
|
24381
24620
|
* Revoke a role from a user
|
|
24382
24621
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -25912,6 +26151,34 @@ export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
|
25912
26151
|
...options
|
|
25913
26152
|
});
|
|
25914
26153
|
};
|
|
26154
|
+
/**
|
|
26155
|
+
* Recover a soft-deleted resource project
|
|
26156
|
+
* 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.
|
|
26157
|
+
*/
|
|
26158
|
+
export const marketplaceResourceProjectsRecover = (options) => {
|
|
26159
|
+
return (options.client ?? _heyApiClient).post({
|
|
26160
|
+
security: [
|
|
26161
|
+
{
|
|
26162
|
+
name: 'Authorization',
|
|
26163
|
+
type: 'apiKey'
|
|
26164
|
+
},
|
|
26165
|
+
{
|
|
26166
|
+
scheme: 'bearer',
|
|
26167
|
+
type: 'http'
|
|
26168
|
+
},
|
|
26169
|
+
{
|
|
26170
|
+
scheme: 'bearer',
|
|
26171
|
+
type: 'http'
|
|
26172
|
+
}
|
|
26173
|
+
],
|
|
26174
|
+
url: '/api/marketplace-resource-projects/{uuid}/recover/',
|
|
26175
|
+
...options,
|
|
26176
|
+
headers: {
|
|
26177
|
+
'Content-Type': 'application/json',
|
|
26178
|
+
...options.headers
|
|
26179
|
+
}
|
|
26180
|
+
});
|
|
26181
|
+
};
|
|
25915
26182
|
/**
|
|
25916
26183
|
* Update a user's role expiration
|
|
25917
26184
|
* 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 +26363,34 @@ export const marketplaceResourcesAddUser = (options) => {
|
|
|
26096
26363
|
}
|
|
26097
26364
|
});
|
|
26098
26365
|
};
|
|
26366
|
+
/**
|
|
26367
|
+
* Adjust resource start and end dates (staff only)
|
|
26368
|
+
* 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.
|
|
26369
|
+
*/
|
|
26370
|
+
export const marketplaceResourcesAdjustDates = (options) => {
|
|
26371
|
+
return (options.client ?? _heyApiClient).post({
|
|
26372
|
+
security: [
|
|
26373
|
+
{
|
|
26374
|
+
name: 'Authorization',
|
|
26375
|
+
type: 'apiKey'
|
|
26376
|
+
},
|
|
26377
|
+
{
|
|
26378
|
+
scheme: 'bearer',
|
|
26379
|
+
type: 'http'
|
|
26380
|
+
},
|
|
26381
|
+
{
|
|
26382
|
+
scheme: 'bearer',
|
|
26383
|
+
type: 'http'
|
|
26384
|
+
}
|
|
26385
|
+
],
|
|
26386
|
+
url: '/api/marketplace-resources/{uuid}/adjust_dates/',
|
|
26387
|
+
...options,
|
|
26388
|
+
headers: {
|
|
26389
|
+
'Content-Type': 'application/json',
|
|
26390
|
+
...options.headers
|
|
26391
|
+
}
|
|
26392
|
+
});
|
|
26393
|
+
};
|
|
26099
26394
|
/**
|
|
26100
26395
|
* Revoke a role from a user
|
|
26101
26396
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -28761,6 +29056,77 @@ export const marketplaceSiteAgentIdentitiesCleanupOrphaned = (options) => {
|
|
|
28761
29056
|
}
|
|
28762
29057
|
});
|
|
28763
29058
|
};
|
|
29059
|
+
export const marketplaceSiteAgentLogsList = (options) => {
|
|
29060
|
+
return (options?.client ?? _heyApiClient).get({
|
|
29061
|
+
security: [
|
|
29062
|
+
{
|
|
29063
|
+
name: 'Authorization',
|
|
29064
|
+
type: 'apiKey'
|
|
29065
|
+
},
|
|
29066
|
+
{
|
|
29067
|
+
scheme: 'bearer',
|
|
29068
|
+
type: 'http'
|
|
29069
|
+
},
|
|
29070
|
+
{
|
|
29071
|
+
scheme: 'bearer',
|
|
29072
|
+
type: 'http'
|
|
29073
|
+
}
|
|
29074
|
+
],
|
|
29075
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29076
|
+
...options
|
|
29077
|
+
});
|
|
29078
|
+
};
|
|
29079
|
+
/**
|
|
29080
|
+
* Get number of items in the collection matching the request parameters.
|
|
29081
|
+
*/
|
|
29082
|
+
export const marketplaceSiteAgentLogsCount = (options) => {
|
|
29083
|
+
return (options?.client ?? _heyApiClient).head({
|
|
29084
|
+
security: [
|
|
29085
|
+
{
|
|
29086
|
+
name: 'Authorization',
|
|
29087
|
+
type: 'apiKey'
|
|
29088
|
+
},
|
|
29089
|
+
{
|
|
29090
|
+
scheme: 'bearer',
|
|
29091
|
+
type: 'http'
|
|
29092
|
+
},
|
|
29093
|
+
{
|
|
29094
|
+
scheme: 'bearer',
|
|
29095
|
+
type: 'http'
|
|
29096
|
+
}
|
|
29097
|
+
],
|
|
29098
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29099
|
+
...options
|
|
29100
|
+
});
|
|
29101
|
+
};
|
|
29102
|
+
/**
|
|
29103
|
+
* Push site agent logs
|
|
29104
|
+
* Receive a batch of log entries from a site agent. Send a list where each entry includes agent_identity_uuid.
|
|
29105
|
+
*/
|
|
29106
|
+
export const marketplaceSiteAgentLogsCreate = (options) => {
|
|
29107
|
+
return (options.client ?? _heyApiClient).post({
|
|
29108
|
+
security: [
|
|
29109
|
+
{
|
|
29110
|
+
name: 'Authorization',
|
|
29111
|
+
type: 'apiKey'
|
|
29112
|
+
},
|
|
29113
|
+
{
|
|
29114
|
+
scheme: 'bearer',
|
|
29115
|
+
type: 'http'
|
|
29116
|
+
},
|
|
29117
|
+
{
|
|
29118
|
+
scheme: 'bearer',
|
|
29119
|
+
type: 'http'
|
|
29120
|
+
}
|
|
29121
|
+
],
|
|
29122
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29123
|
+
...options,
|
|
29124
|
+
headers: {
|
|
29125
|
+
'Content-Type': 'application/json',
|
|
29126
|
+
...options.headers
|
|
29127
|
+
}
|
|
29128
|
+
});
|
|
29129
|
+
};
|
|
28764
29130
|
export const marketplaceSiteAgentProcessorsList = (options) => {
|
|
28765
29131
|
return (options?.client ?? _heyApiClient).get({
|
|
28766
29132
|
security: [
|
|
@@ -44368,7 +44734,7 @@ export const personalAccessTokensRetrieve = (options) => {
|
|
|
44368
44734
|
};
|
|
44369
44735
|
/**
|
|
44370
44736
|
* Rotate a personal access token
|
|
44371
|
-
* Atomically revoke the old token and create a new one with the same scopes.
|
|
44737
|
+
* Atomically revoke the old token and create a new one with the same scopes and bindings.
|
|
44372
44738
|
*/
|
|
44373
44739
|
export const personalAccessTokensRotate = (options) => {
|
|
44374
44740
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -44390,6 +44756,60 @@ export const personalAccessTokensRotate = (options) => {
|
|
|
44390
44756
|
...options
|
|
44391
44757
|
});
|
|
44392
44758
|
};
|
|
44759
|
+
/**
|
|
44760
|
+
* List entity types the caller can bind each permission to
|
|
44761
|
+
* For each permission, which TYPE_MAP keys the caller could bind a PAT to.
|
|
44762
|
+
*
|
|
44763
|
+
* Drives the create-PAT frontend's type picker. For staff users every
|
|
44764
|
+
* type is offered for every permission (they bypass UserRole checks).
|
|
44765
|
+
* For other users we return only types where they hold an active role
|
|
44766
|
+
* granting the permission directly (the binding then inherits to
|
|
44767
|
+
* descendants at request time).
|
|
44768
|
+
*/
|
|
44769
|
+
export const personalAccessTokensAvailableBindingTargetsList = (options) => {
|
|
44770
|
+
return (options?.client ?? _heyApiClient).get({
|
|
44771
|
+
security: [
|
|
44772
|
+
{
|
|
44773
|
+
name: 'Authorization',
|
|
44774
|
+
type: 'apiKey'
|
|
44775
|
+
},
|
|
44776
|
+
{
|
|
44777
|
+
scheme: 'bearer',
|
|
44778
|
+
type: 'http'
|
|
44779
|
+
},
|
|
44780
|
+
{
|
|
44781
|
+
scheme: 'bearer',
|
|
44782
|
+
type: 'http'
|
|
44783
|
+
}
|
|
44784
|
+
],
|
|
44785
|
+
url: '/api/personal-access-tokens/available_binding_targets/',
|
|
44786
|
+
...options
|
|
44787
|
+
});
|
|
44788
|
+
};
|
|
44789
|
+
/**
|
|
44790
|
+
* List entity types the caller can bind each permission to
|
|
44791
|
+
* Get number of items in the collection matching the request parameters.
|
|
44792
|
+
*/
|
|
44793
|
+
export const personalAccessTokensAvailableBindingTargetsCount = (options) => {
|
|
44794
|
+
return (options?.client ?? _heyApiClient).head({
|
|
44795
|
+
security: [
|
|
44796
|
+
{
|
|
44797
|
+
name: 'Authorization',
|
|
44798
|
+
type: 'apiKey'
|
|
44799
|
+
},
|
|
44800
|
+
{
|
|
44801
|
+
scheme: 'bearer',
|
|
44802
|
+
type: 'http'
|
|
44803
|
+
},
|
|
44804
|
+
{
|
|
44805
|
+
scheme: 'bearer',
|
|
44806
|
+
type: 'http'
|
|
44807
|
+
}
|
|
44808
|
+
],
|
|
44809
|
+
url: '/api/personal-access-tokens/available_binding_targets/',
|
|
44810
|
+
...options
|
|
44811
|
+
});
|
|
44812
|
+
};
|
|
44393
44813
|
/**
|
|
44394
44814
|
* List available scopes for PAT creation
|
|
44395
44815
|
* Return permissions the current user can delegate to a PAT.
|
|
@@ -45981,6 +46401,33 @@ export const proposalProposalsChecklistReviewRetrieve = (options) => {
|
|
|
45981
46401
|
...options
|
|
45982
46402
|
});
|
|
45983
46403
|
};
|
|
46404
|
+
/**
|
|
46405
|
+
* Complete the current workflow step with an outcome.
|
|
46406
|
+
*/
|
|
46407
|
+
export const proposalProposalsCompleteWorkflowStep = (options) => {
|
|
46408
|
+
return (options.client ?? _heyApiClient).post({
|
|
46409
|
+
security: [
|
|
46410
|
+
{
|
|
46411
|
+
name: 'Authorization',
|
|
46412
|
+
type: 'apiKey'
|
|
46413
|
+
},
|
|
46414
|
+
{
|
|
46415
|
+
scheme: 'bearer',
|
|
46416
|
+
type: 'http'
|
|
46417
|
+
},
|
|
46418
|
+
{
|
|
46419
|
+
scheme: 'bearer',
|
|
46420
|
+
type: 'http'
|
|
46421
|
+
}
|
|
46422
|
+
],
|
|
46423
|
+
url: '/api/proposal-proposals/{uuid}/complete_workflow_step/',
|
|
46424
|
+
...options,
|
|
46425
|
+
headers: {
|
|
46426
|
+
'Content-Type': 'application/json',
|
|
46427
|
+
...options.headers
|
|
46428
|
+
}
|
|
46429
|
+
});
|
|
46430
|
+
};
|
|
45984
46431
|
/**
|
|
45985
46432
|
* Get checklist completion status with review triggers (reviewers only).
|
|
45986
46433
|
*/
|
|
@@ -46133,6 +46580,33 @@ export const proposalProposalsReject = (options) => {
|
|
|
46133
46580
|
}
|
|
46134
46581
|
});
|
|
46135
46582
|
};
|
|
46583
|
+
/**
|
|
46584
|
+
* Reject the proposal at the current workflow step.
|
|
46585
|
+
*/
|
|
46586
|
+
export const proposalProposalsRejectWorkflowStep = (options) => {
|
|
46587
|
+
return (options.client ?? _heyApiClient).post({
|
|
46588
|
+
security: [
|
|
46589
|
+
{
|
|
46590
|
+
name: 'Authorization',
|
|
46591
|
+
type: 'apiKey'
|
|
46592
|
+
},
|
|
46593
|
+
{
|
|
46594
|
+
scheme: 'bearer',
|
|
46595
|
+
type: 'http'
|
|
46596
|
+
},
|
|
46597
|
+
{
|
|
46598
|
+
scheme: 'bearer',
|
|
46599
|
+
type: 'http'
|
|
46600
|
+
}
|
|
46601
|
+
],
|
|
46602
|
+
url: '/api/proposal-proposals/{uuid}/reject_workflow_step/',
|
|
46603
|
+
...options,
|
|
46604
|
+
headers: {
|
|
46605
|
+
'Content-Type': 'application/json',
|
|
46606
|
+
...options.headers
|
|
46607
|
+
}
|
|
46608
|
+
});
|
|
46609
|
+
};
|
|
46136
46610
|
/**
|
|
46137
46611
|
* List resources for a proposal.
|
|
46138
46612
|
*/
|
|
@@ -46376,6 +46850,29 @@ export const proposalProposalsUpdateUser = (options) => {
|
|
|
46376
46850
|
}
|
|
46377
46851
|
});
|
|
46378
46852
|
};
|
|
46853
|
+
/**
|
|
46854
|
+
* List all workflow step instances for this proposal.
|
|
46855
|
+
*/
|
|
46856
|
+
export const proposalProposalsWorkflowStatesList = (options) => {
|
|
46857
|
+
return (options.client ?? _heyApiClient).get({
|
|
46858
|
+
security: [
|
|
46859
|
+
{
|
|
46860
|
+
name: 'Authorization',
|
|
46861
|
+
type: 'apiKey'
|
|
46862
|
+
},
|
|
46863
|
+
{
|
|
46864
|
+
scheme: 'bearer',
|
|
46865
|
+
type: 'http'
|
|
46866
|
+
},
|
|
46867
|
+
{
|
|
46868
|
+
scheme: 'bearer',
|
|
46869
|
+
type: 'http'
|
|
46870
|
+
}
|
|
46871
|
+
],
|
|
46872
|
+
url: '/api/proposal-proposals/{uuid}/workflow_states/',
|
|
46873
|
+
...options
|
|
46874
|
+
});
|
|
46875
|
+
};
|
|
46379
46876
|
/**
|
|
46380
46877
|
* Get checklist template for creating new objects.
|
|
46381
46878
|
*/
|
|
@@ -47769,6 +48266,144 @@ export const proposalProtectedCallsUpdateUser = (options) => {
|
|
|
47769
48266
|
}
|
|
47770
48267
|
});
|
|
47771
48268
|
};
|
|
48269
|
+
/**
|
|
48270
|
+
* List workflow steps for a call.
|
|
48271
|
+
*/
|
|
48272
|
+
export const proposalProtectedCallsWorkflowStepsList = (options) => {
|
|
48273
|
+
return (options.client ?? _heyApiClient).get({
|
|
48274
|
+
security: [
|
|
48275
|
+
{
|
|
48276
|
+
name: 'Authorization',
|
|
48277
|
+
type: 'apiKey'
|
|
48278
|
+
},
|
|
48279
|
+
{
|
|
48280
|
+
scheme: 'bearer',
|
|
48281
|
+
type: 'http'
|
|
48282
|
+
},
|
|
48283
|
+
{
|
|
48284
|
+
scheme: 'bearer',
|
|
48285
|
+
type: 'http'
|
|
48286
|
+
}
|
|
48287
|
+
],
|
|
48288
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/',
|
|
48289
|
+
...options
|
|
48290
|
+
});
|
|
48291
|
+
};
|
|
48292
|
+
/**
|
|
48293
|
+
* Create or update a workflow step for a call.
|
|
48294
|
+
*/
|
|
48295
|
+
export const proposalProtectedCallsWorkflowStepsSet = (options) => {
|
|
48296
|
+
return (options.client ?? _heyApiClient).post({
|
|
48297
|
+
security: [
|
|
48298
|
+
{
|
|
48299
|
+
name: 'Authorization',
|
|
48300
|
+
type: 'apiKey'
|
|
48301
|
+
},
|
|
48302
|
+
{
|
|
48303
|
+
scheme: 'bearer',
|
|
48304
|
+
type: 'http'
|
|
48305
|
+
},
|
|
48306
|
+
{
|
|
48307
|
+
scheme: 'bearer',
|
|
48308
|
+
type: 'http'
|
|
48309
|
+
}
|
|
48310
|
+
],
|
|
48311
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/',
|
|
48312
|
+
...options,
|
|
48313
|
+
headers: {
|
|
48314
|
+
'Content-Type': 'application/json',
|
|
48315
|
+
...options.headers
|
|
48316
|
+
}
|
|
48317
|
+
});
|
|
48318
|
+
};
|
|
48319
|
+
export const proposalProtectedCallsWorkflowStepsDestroy = (options) => {
|
|
48320
|
+
return (options.client ?? _heyApiClient).delete({
|
|
48321
|
+
security: [
|
|
48322
|
+
{
|
|
48323
|
+
name: 'Authorization',
|
|
48324
|
+
type: 'apiKey'
|
|
48325
|
+
},
|
|
48326
|
+
{
|
|
48327
|
+
scheme: 'bearer',
|
|
48328
|
+
type: 'http'
|
|
48329
|
+
},
|
|
48330
|
+
{
|
|
48331
|
+
scheme: 'bearer',
|
|
48332
|
+
type: 'http'
|
|
48333
|
+
}
|
|
48334
|
+
],
|
|
48335
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48336
|
+
...options
|
|
48337
|
+
});
|
|
48338
|
+
};
|
|
48339
|
+
export const proposalProtectedCallsWorkflowStepsRetrieve = (options) => {
|
|
48340
|
+
return (options.client ?? _heyApiClient).get({
|
|
48341
|
+
security: [
|
|
48342
|
+
{
|
|
48343
|
+
name: 'Authorization',
|
|
48344
|
+
type: 'apiKey'
|
|
48345
|
+
},
|
|
48346
|
+
{
|
|
48347
|
+
scheme: 'bearer',
|
|
48348
|
+
type: 'http'
|
|
48349
|
+
},
|
|
48350
|
+
{
|
|
48351
|
+
scheme: 'bearer',
|
|
48352
|
+
type: 'http'
|
|
48353
|
+
}
|
|
48354
|
+
],
|
|
48355
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48356
|
+
...options
|
|
48357
|
+
});
|
|
48358
|
+
};
|
|
48359
|
+
export const proposalProtectedCallsWorkflowStepsPartialUpdate = (options) => {
|
|
48360
|
+
return (options.client ?? _heyApiClient).patch({
|
|
48361
|
+
security: [
|
|
48362
|
+
{
|
|
48363
|
+
name: 'Authorization',
|
|
48364
|
+
type: 'apiKey'
|
|
48365
|
+
},
|
|
48366
|
+
{
|
|
48367
|
+
scheme: 'bearer',
|
|
48368
|
+
type: 'http'
|
|
48369
|
+
},
|
|
48370
|
+
{
|
|
48371
|
+
scheme: 'bearer',
|
|
48372
|
+
type: 'http'
|
|
48373
|
+
}
|
|
48374
|
+
],
|
|
48375
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48376
|
+
...options,
|
|
48377
|
+
headers: {
|
|
48378
|
+
'Content-Type': 'application/json',
|
|
48379
|
+
...options.headers
|
|
48380
|
+
}
|
|
48381
|
+
});
|
|
48382
|
+
};
|
|
48383
|
+
export const proposalProtectedCallsWorkflowStepsUpdate = (options) => {
|
|
48384
|
+
return (options.client ?? _heyApiClient).put({
|
|
48385
|
+
security: [
|
|
48386
|
+
{
|
|
48387
|
+
name: 'Authorization',
|
|
48388
|
+
type: 'apiKey'
|
|
48389
|
+
},
|
|
48390
|
+
{
|
|
48391
|
+
scheme: 'bearer',
|
|
48392
|
+
type: 'http'
|
|
48393
|
+
},
|
|
48394
|
+
{
|
|
48395
|
+
scheme: 'bearer',
|
|
48396
|
+
type: 'http'
|
|
48397
|
+
}
|
|
48398
|
+
],
|
|
48399
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48400
|
+
...options,
|
|
48401
|
+
headers: {
|
|
48402
|
+
'Content-Type': 'application/json',
|
|
48403
|
+
...options.headers
|
|
48404
|
+
}
|
|
48405
|
+
});
|
|
48406
|
+
};
|
|
47772
48407
|
/**
|
|
47773
48408
|
* Get available compliance checklists for call creation/editing.
|
|
47774
48409
|
*/
|
|
@@ -58376,6 +59011,30 @@ export const usersPullRemoteUser = (options) => {
|
|
|
58376
59011
|
...options
|
|
58377
59012
|
});
|
|
58378
59013
|
};
|
|
59014
|
+
/**
|
|
59015
|
+
* Pull SCIM attributes from external IdP for this user
|
|
59016
|
+
* 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.
|
|
59017
|
+
*/
|
|
59018
|
+
export const usersPullScimAttributes = (options) => {
|
|
59019
|
+
return (options.client ?? _heyApiClient).post({
|
|
59020
|
+
security: [
|
|
59021
|
+
{
|
|
59022
|
+
name: 'Authorization',
|
|
59023
|
+
type: 'apiKey'
|
|
59024
|
+
},
|
|
59025
|
+
{
|
|
59026
|
+
scheme: 'bearer',
|
|
59027
|
+
type: 'http'
|
|
59028
|
+
},
|
|
59029
|
+
{
|
|
59030
|
+
scheme: 'bearer',
|
|
59031
|
+
type: 'http'
|
|
59032
|
+
}
|
|
59033
|
+
],
|
|
59034
|
+
url: '/api/users/{uuid}/pull_scim_attributes/',
|
|
59035
|
+
...options
|
|
59036
|
+
});
|
|
59037
|
+
};
|
|
58379
59038
|
/**
|
|
58380
59039
|
* Refresh user auth token
|
|
58381
59040
|
*/
|