waldur-js-client 8.0.9-dev.0 → 8.0.9-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.gen.d.ts +98 -8
- package/dist/sdk.gen.js +668 -9
- package/dist/types.gen.d.ts +1081 -102
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -10114,6 +10114,34 @@ export const customersUpdateProjectDigestConfigUpdate = (options) => {
|
|
|
10114
10114
|
}
|
|
10115
10115
|
});
|
|
10116
10116
|
};
|
|
10117
|
+
/**
|
|
10118
|
+
* Update default affiliations for an organization
|
|
10119
|
+
* Replaces the organization's default affiliation list. Project creators in the organization will be limited to choosing from this list when affiliating a project. Staff-only.
|
|
10120
|
+
*/
|
|
10121
|
+
export const customersUpdateDefaultAffiliations = (options) => {
|
|
10122
|
+
return (options.client ?? _heyApiClient).post({
|
|
10123
|
+
security: [
|
|
10124
|
+
{
|
|
10125
|
+
name: 'Authorization',
|
|
10126
|
+
type: 'apiKey'
|
|
10127
|
+
},
|
|
10128
|
+
{
|
|
10129
|
+
scheme: 'bearer',
|
|
10130
|
+
type: 'http'
|
|
10131
|
+
},
|
|
10132
|
+
{
|
|
10133
|
+
scheme: 'bearer',
|
|
10134
|
+
type: 'http'
|
|
10135
|
+
}
|
|
10136
|
+
],
|
|
10137
|
+
url: '/api/customers/{uuid}/update_default_affiliations/',
|
|
10138
|
+
...options,
|
|
10139
|
+
headers: {
|
|
10140
|
+
'Content-Type': 'application/json',
|
|
10141
|
+
...options.headers
|
|
10142
|
+
}
|
|
10143
|
+
});
|
|
10144
|
+
};
|
|
10117
10145
|
/**
|
|
10118
10146
|
* Update organization groups for a customer
|
|
10119
10147
|
* Assigns a customer to one or more organization groups. This action is restricted to staff users.
|
|
@@ -18424,6 +18452,161 @@ export const marketplaceOfferingFilesRetrieve = (options) => {
|
|
|
18424
18452
|
...options
|
|
18425
18453
|
});
|
|
18426
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
|
+
};
|
|
18427
18610
|
export const marketplaceOfferingPermissionsList = (options) => {
|
|
18428
18611
|
return (options?.client ?? _heyApiClient).get({
|
|
18429
18612
|
security: [
|
|
@@ -23046,6 +23229,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
23046
23229
|
}
|
|
23047
23230
|
});
|
|
23048
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
|
+
};
|
|
23049
23260
|
/**
|
|
23050
23261
|
* Bind / unbind offering to a service profile
|
|
23051
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).
|
|
@@ -24349,6 +24560,34 @@ export const marketplaceProviderResourcesAddUser = (options) => {
|
|
|
24349
24560
|
}
|
|
24350
24561
|
});
|
|
24351
24562
|
};
|
|
24563
|
+
/**
|
|
24564
|
+
* Adjust resource start and end dates (staff only)
|
|
24565
|
+
* 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.
|
|
24566
|
+
*/
|
|
24567
|
+
export const marketplaceProviderResourcesAdjustDates = (options) => {
|
|
24568
|
+
return (options.client ?? _heyApiClient).post({
|
|
24569
|
+
security: [
|
|
24570
|
+
{
|
|
24571
|
+
name: 'Authorization',
|
|
24572
|
+
type: 'apiKey'
|
|
24573
|
+
},
|
|
24574
|
+
{
|
|
24575
|
+
scheme: 'bearer',
|
|
24576
|
+
type: 'http'
|
|
24577
|
+
},
|
|
24578
|
+
{
|
|
24579
|
+
scheme: 'bearer',
|
|
24580
|
+
type: 'http'
|
|
24581
|
+
}
|
|
24582
|
+
],
|
|
24583
|
+
url: '/api/marketplace-provider-resources/{uuid}/adjust_dates/',
|
|
24584
|
+
...options,
|
|
24585
|
+
headers: {
|
|
24586
|
+
'Content-Type': 'application/json',
|
|
24587
|
+
...options.headers
|
|
24588
|
+
}
|
|
24589
|
+
});
|
|
24590
|
+
};
|
|
24352
24591
|
/**
|
|
24353
24592
|
* Revoke a role from a user
|
|
24354
24593
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -25884,6 +26123,34 @@ export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
|
25884
26123
|
...options
|
|
25885
26124
|
});
|
|
25886
26125
|
};
|
|
26126
|
+
/**
|
|
26127
|
+
* Recover a soft-deleted resource project
|
|
26128
|
+
* 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.
|
|
26129
|
+
*/
|
|
26130
|
+
export const marketplaceResourceProjectsRecover = (options) => {
|
|
26131
|
+
return (options.client ?? _heyApiClient).post({
|
|
26132
|
+
security: [
|
|
26133
|
+
{
|
|
26134
|
+
name: 'Authorization',
|
|
26135
|
+
type: 'apiKey'
|
|
26136
|
+
},
|
|
26137
|
+
{
|
|
26138
|
+
scheme: 'bearer',
|
|
26139
|
+
type: 'http'
|
|
26140
|
+
},
|
|
26141
|
+
{
|
|
26142
|
+
scheme: 'bearer',
|
|
26143
|
+
type: 'http'
|
|
26144
|
+
}
|
|
26145
|
+
],
|
|
26146
|
+
url: '/api/marketplace-resource-projects/{uuid}/recover/',
|
|
26147
|
+
...options,
|
|
26148
|
+
headers: {
|
|
26149
|
+
'Content-Type': 'application/json',
|
|
26150
|
+
...options.headers
|
|
26151
|
+
}
|
|
26152
|
+
});
|
|
26153
|
+
};
|
|
25887
26154
|
/**
|
|
25888
26155
|
* Update a user's role expiration
|
|
25889
26156
|
* 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.
|
|
@@ -26068,6 +26335,34 @@ export const marketplaceResourcesAddUser = (options) => {
|
|
|
26068
26335
|
}
|
|
26069
26336
|
});
|
|
26070
26337
|
};
|
|
26338
|
+
/**
|
|
26339
|
+
* Adjust resource start and end dates (staff only)
|
|
26340
|
+
* 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.
|
|
26341
|
+
*/
|
|
26342
|
+
export const marketplaceResourcesAdjustDates = (options) => {
|
|
26343
|
+
return (options.client ?? _heyApiClient).post({
|
|
26344
|
+
security: [
|
|
26345
|
+
{
|
|
26346
|
+
name: 'Authorization',
|
|
26347
|
+
type: 'apiKey'
|
|
26348
|
+
},
|
|
26349
|
+
{
|
|
26350
|
+
scheme: 'bearer',
|
|
26351
|
+
type: 'http'
|
|
26352
|
+
},
|
|
26353
|
+
{
|
|
26354
|
+
scheme: 'bearer',
|
|
26355
|
+
type: 'http'
|
|
26356
|
+
}
|
|
26357
|
+
],
|
|
26358
|
+
url: '/api/marketplace-resources/{uuid}/adjust_dates/',
|
|
26359
|
+
...options,
|
|
26360
|
+
headers: {
|
|
26361
|
+
'Content-Type': 'application/json',
|
|
26362
|
+
...options.headers
|
|
26363
|
+
}
|
|
26364
|
+
});
|
|
26365
|
+
};
|
|
26071
26366
|
/**
|
|
26072
26367
|
* Revoke a role from a user
|
|
26073
26368
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -28733,6 +29028,77 @@ export const marketplaceSiteAgentIdentitiesCleanupOrphaned = (options) => {
|
|
|
28733
29028
|
}
|
|
28734
29029
|
});
|
|
28735
29030
|
};
|
|
29031
|
+
export const marketplaceSiteAgentLogsList = (options) => {
|
|
29032
|
+
return (options?.client ?? _heyApiClient).get({
|
|
29033
|
+
security: [
|
|
29034
|
+
{
|
|
29035
|
+
name: 'Authorization',
|
|
29036
|
+
type: 'apiKey'
|
|
29037
|
+
},
|
|
29038
|
+
{
|
|
29039
|
+
scheme: 'bearer',
|
|
29040
|
+
type: 'http'
|
|
29041
|
+
},
|
|
29042
|
+
{
|
|
29043
|
+
scheme: 'bearer',
|
|
29044
|
+
type: 'http'
|
|
29045
|
+
}
|
|
29046
|
+
],
|
|
29047
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29048
|
+
...options
|
|
29049
|
+
});
|
|
29050
|
+
};
|
|
29051
|
+
/**
|
|
29052
|
+
* Get number of items in the collection matching the request parameters.
|
|
29053
|
+
*/
|
|
29054
|
+
export const marketplaceSiteAgentLogsCount = (options) => {
|
|
29055
|
+
return (options?.client ?? _heyApiClient).head({
|
|
29056
|
+
security: [
|
|
29057
|
+
{
|
|
29058
|
+
name: 'Authorization',
|
|
29059
|
+
type: 'apiKey'
|
|
29060
|
+
},
|
|
29061
|
+
{
|
|
29062
|
+
scheme: 'bearer',
|
|
29063
|
+
type: 'http'
|
|
29064
|
+
},
|
|
29065
|
+
{
|
|
29066
|
+
scheme: 'bearer',
|
|
29067
|
+
type: 'http'
|
|
29068
|
+
}
|
|
29069
|
+
],
|
|
29070
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29071
|
+
...options
|
|
29072
|
+
});
|
|
29073
|
+
};
|
|
29074
|
+
/**
|
|
29075
|
+
* Push site agent logs
|
|
29076
|
+
* Receive a batch of log entries from a site agent. Send a list where each entry includes agent_identity_uuid.
|
|
29077
|
+
*/
|
|
29078
|
+
export const marketplaceSiteAgentLogsCreate = (options) => {
|
|
29079
|
+
return (options.client ?? _heyApiClient).post({
|
|
29080
|
+
security: [
|
|
29081
|
+
{
|
|
29082
|
+
name: 'Authorization',
|
|
29083
|
+
type: 'apiKey'
|
|
29084
|
+
},
|
|
29085
|
+
{
|
|
29086
|
+
scheme: 'bearer',
|
|
29087
|
+
type: 'http'
|
|
29088
|
+
},
|
|
29089
|
+
{
|
|
29090
|
+
scheme: 'bearer',
|
|
29091
|
+
type: 'http'
|
|
29092
|
+
}
|
|
29093
|
+
],
|
|
29094
|
+
url: '/api/marketplace-site-agent-logs/',
|
|
29095
|
+
...options,
|
|
29096
|
+
headers: {
|
|
29097
|
+
'Content-Type': 'application/json',
|
|
29098
|
+
...options.headers
|
|
29099
|
+
}
|
|
29100
|
+
});
|
|
29101
|
+
};
|
|
28736
29102
|
export const marketplaceSiteAgentProcessorsList = (options) => {
|
|
28737
29103
|
return (options?.client ?? _heyApiClient).get({
|
|
28738
29104
|
security: [
|
|
@@ -36145,10 +36511,10 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
|
|
|
36145
36511
|
});
|
|
36146
36512
|
};
|
|
36147
36513
|
/**
|
|
36148
|
-
* Update
|
|
36149
|
-
* Assigns
|
|
36514
|
+
* Update affiliation for a project
|
|
36515
|
+
* Assigns the project to a single affiliation (or clears it when null).
|
|
36150
36516
|
*/
|
|
36151
|
-
export const
|
|
36517
|
+
export const openportalUnmanagedProjectsUpdateAffiliation = (options) => {
|
|
36152
36518
|
return (options.client ?? _heyApiClient).post({
|
|
36153
36519
|
security: [
|
|
36154
36520
|
{
|
|
@@ -36164,7 +36530,7 @@ export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options
|
|
|
36164
36530
|
type: 'http'
|
|
36165
36531
|
}
|
|
36166
36532
|
],
|
|
36167
|
-
url: '/api/openportal-unmanaged-projects/{uuid}/
|
|
36533
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliation/',
|
|
36168
36534
|
...options,
|
|
36169
36535
|
headers: {
|
|
36170
36536
|
'Content-Type': 'application/json',
|
|
@@ -44340,7 +44706,7 @@ export const personalAccessTokensRetrieve = (options) => {
|
|
|
44340
44706
|
};
|
|
44341
44707
|
/**
|
|
44342
44708
|
* Rotate a personal access token
|
|
44343
|
-
* Atomically revoke the old token and create a new one with the same scopes.
|
|
44709
|
+
* Atomically revoke the old token and create a new one with the same scopes and bindings.
|
|
44344
44710
|
*/
|
|
44345
44711
|
export const personalAccessTokensRotate = (options) => {
|
|
44346
44712
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -44362,6 +44728,60 @@ export const personalAccessTokensRotate = (options) => {
|
|
|
44362
44728
|
...options
|
|
44363
44729
|
});
|
|
44364
44730
|
};
|
|
44731
|
+
/**
|
|
44732
|
+
* List entity types the caller can bind each permission to
|
|
44733
|
+
* For each permission, which TYPE_MAP keys the caller could bind a PAT to.
|
|
44734
|
+
*
|
|
44735
|
+
* Drives the create-PAT frontend's type picker. For staff users every
|
|
44736
|
+
* type is offered for every permission (they bypass UserRole checks).
|
|
44737
|
+
* For other users we return only types where they hold an active role
|
|
44738
|
+
* granting the permission directly (the binding then inherits to
|
|
44739
|
+
* descendants at request time).
|
|
44740
|
+
*/
|
|
44741
|
+
export const personalAccessTokensAvailableBindingTargetsList = (options) => {
|
|
44742
|
+
return (options?.client ?? _heyApiClient).get({
|
|
44743
|
+
security: [
|
|
44744
|
+
{
|
|
44745
|
+
name: 'Authorization',
|
|
44746
|
+
type: 'apiKey'
|
|
44747
|
+
},
|
|
44748
|
+
{
|
|
44749
|
+
scheme: 'bearer',
|
|
44750
|
+
type: 'http'
|
|
44751
|
+
},
|
|
44752
|
+
{
|
|
44753
|
+
scheme: 'bearer',
|
|
44754
|
+
type: 'http'
|
|
44755
|
+
}
|
|
44756
|
+
],
|
|
44757
|
+
url: '/api/personal-access-tokens/available_binding_targets/',
|
|
44758
|
+
...options
|
|
44759
|
+
});
|
|
44760
|
+
};
|
|
44761
|
+
/**
|
|
44762
|
+
* List entity types the caller can bind each permission to
|
|
44763
|
+
* Get number of items in the collection matching the request parameters.
|
|
44764
|
+
*/
|
|
44765
|
+
export const personalAccessTokensAvailableBindingTargetsCount = (options) => {
|
|
44766
|
+
return (options?.client ?? _heyApiClient).head({
|
|
44767
|
+
security: [
|
|
44768
|
+
{
|
|
44769
|
+
name: 'Authorization',
|
|
44770
|
+
type: 'apiKey'
|
|
44771
|
+
},
|
|
44772
|
+
{
|
|
44773
|
+
scheme: 'bearer',
|
|
44774
|
+
type: 'http'
|
|
44775
|
+
},
|
|
44776
|
+
{
|
|
44777
|
+
scheme: 'bearer',
|
|
44778
|
+
type: 'http'
|
|
44779
|
+
}
|
|
44780
|
+
],
|
|
44781
|
+
url: '/api/personal-access-tokens/available_binding_targets/',
|
|
44782
|
+
...options
|
|
44783
|
+
});
|
|
44784
|
+
};
|
|
44365
44785
|
/**
|
|
44366
44786
|
* List available scopes for PAT creation
|
|
44367
44787
|
* Return permissions the current user can delegate to a PAT.
|
|
@@ -45394,10 +45814,10 @@ export const projectsSyncUserRoles = (options) => {
|
|
|
45394
45814
|
});
|
|
45395
45815
|
};
|
|
45396
45816
|
/**
|
|
45397
|
-
* Update
|
|
45398
|
-
* Assigns
|
|
45817
|
+
* Update affiliation for a project
|
|
45818
|
+
* Assigns the project to a single affiliation (or clears it when null).
|
|
45399
45819
|
*/
|
|
45400
|
-
export const
|
|
45820
|
+
export const projectsUpdateAffiliation = (options) => {
|
|
45401
45821
|
return (options.client ?? _heyApiClient).post({
|
|
45402
45822
|
security: [
|
|
45403
45823
|
{
|
|
@@ -45413,7 +45833,7 @@ export const projectsUpdateAffiliatedOrganizations = (options) => {
|
|
|
45413
45833
|
type: 'http'
|
|
45414
45834
|
}
|
|
45415
45835
|
],
|
|
45416
|
-
url: '/api/projects/{uuid}/
|
|
45836
|
+
url: '/api/projects/{uuid}/update_affiliation/',
|
|
45417
45837
|
...options,
|
|
45418
45838
|
headers: {
|
|
45419
45839
|
'Content-Type': 'application/json',
|
|
@@ -45953,6 +46373,33 @@ export const proposalProposalsChecklistReviewRetrieve = (options) => {
|
|
|
45953
46373
|
...options
|
|
45954
46374
|
});
|
|
45955
46375
|
};
|
|
46376
|
+
/**
|
|
46377
|
+
* Complete the current workflow step with an outcome.
|
|
46378
|
+
*/
|
|
46379
|
+
export const proposalProposalsCompleteWorkflowStep = (options) => {
|
|
46380
|
+
return (options.client ?? _heyApiClient).post({
|
|
46381
|
+
security: [
|
|
46382
|
+
{
|
|
46383
|
+
name: 'Authorization',
|
|
46384
|
+
type: 'apiKey'
|
|
46385
|
+
},
|
|
46386
|
+
{
|
|
46387
|
+
scheme: 'bearer',
|
|
46388
|
+
type: 'http'
|
|
46389
|
+
},
|
|
46390
|
+
{
|
|
46391
|
+
scheme: 'bearer',
|
|
46392
|
+
type: 'http'
|
|
46393
|
+
}
|
|
46394
|
+
],
|
|
46395
|
+
url: '/api/proposal-proposals/{uuid}/complete_workflow_step/',
|
|
46396
|
+
...options,
|
|
46397
|
+
headers: {
|
|
46398
|
+
'Content-Type': 'application/json',
|
|
46399
|
+
...options.headers
|
|
46400
|
+
}
|
|
46401
|
+
});
|
|
46402
|
+
};
|
|
45956
46403
|
/**
|
|
45957
46404
|
* Get checklist completion status with review triggers (reviewers only).
|
|
45958
46405
|
*/
|
|
@@ -46105,6 +46552,33 @@ export const proposalProposalsReject = (options) => {
|
|
|
46105
46552
|
}
|
|
46106
46553
|
});
|
|
46107
46554
|
};
|
|
46555
|
+
/**
|
|
46556
|
+
* Reject the proposal at the current workflow step.
|
|
46557
|
+
*/
|
|
46558
|
+
export const proposalProposalsRejectWorkflowStep = (options) => {
|
|
46559
|
+
return (options.client ?? _heyApiClient).post({
|
|
46560
|
+
security: [
|
|
46561
|
+
{
|
|
46562
|
+
name: 'Authorization',
|
|
46563
|
+
type: 'apiKey'
|
|
46564
|
+
},
|
|
46565
|
+
{
|
|
46566
|
+
scheme: 'bearer',
|
|
46567
|
+
type: 'http'
|
|
46568
|
+
},
|
|
46569
|
+
{
|
|
46570
|
+
scheme: 'bearer',
|
|
46571
|
+
type: 'http'
|
|
46572
|
+
}
|
|
46573
|
+
],
|
|
46574
|
+
url: '/api/proposal-proposals/{uuid}/reject_workflow_step/',
|
|
46575
|
+
...options,
|
|
46576
|
+
headers: {
|
|
46577
|
+
'Content-Type': 'application/json',
|
|
46578
|
+
...options.headers
|
|
46579
|
+
}
|
|
46580
|
+
});
|
|
46581
|
+
};
|
|
46108
46582
|
/**
|
|
46109
46583
|
* List resources for a proposal.
|
|
46110
46584
|
*/
|
|
@@ -46348,6 +46822,29 @@ export const proposalProposalsUpdateUser = (options) => {
|
|
|
46348
46822
|
}
|
|
46349
46823
|
});
|
|
46350
46824
|
};
|
|
46825
|
+
/**
|
|
46826
|
+
* List all workflow step instances for this proposal.
|
|
46827
|
+
*/
|
|
46828
|
+
export const proposalProposalsWorkflowStatesList = (options) => {
|
|
46829
|
+
return (options.client ?? _heyApiClient).get({
|
|
46830
|
+
security: [
|
|
46831
|
+
{
|
|
46832
|
+
name: 'Authorization',
|
|
46833
|
+
type: 'apiKey'
|
|
46834
|
+
},
|
|
46835
|
+
{
|
|
46836
|
+
scheme: 'bearer',
|
|
46837
|
+
type: 'http'
|
|
46838
|
+
},
|
|
46839
|
+
{
|
|
46840
|
+
scheme: 'bearer',
|
|
46841
|
+
type: 'http'
|
|
46842
|
+
}
|
|
46843
|
+
],
|
|
46844
|
+
url: '/api/proposal-proposals/{uuid}/workflow_states/',
|
|
46845
|
+
...options
|
|
46846
|
+
});
|
|
46847
|
+
};
|
|
46351
46848
|
/**
|
|
46352
46849
|
* Get checklist template for creating new objects.
|
|
46353
46850
|
*/
|
|
@@ -47741,6 +48238,144 @@ export const proposalProtectedCallsUpdateUser = (options) => {
|
|
|
47741
48238
|
}
|
|
47742
48239
|
});
|
|
47743
48240
|
};
|
|
48241
|
+
/**
|
|
48242
|
+
* List workflow steps for a call.
|
|
48243
|
+
*/
|
|
48244
|
+
export const proposalProtectedCallsWorkflowStepsList = (options) => {
|
|
48245
|
+
return (options.client ?? _heyApiClient).get({
|
|
48246
|
+
security: [
|
|
48247
|
+
{
|
|
48248
|
+
name: 'Authorization',
|
|
48249
|
+
type: 'apiKey'
|
|
48250
|
+
},
|
|
48251
|
+
{
|
|
48252
|
+
scheme: 'bearer',
|
|
48253
|
+
type: 'http'
|
|
48254
|
+
},
|
|
48255
|
+
{
|
|
48256
|
+
scheme: 'bearer',
|
|
48257
|
+
type: 'http'
|
|
48258
|
+
}
|
|
48259
|
+
],
|
|
48260
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/',
|
|
48261
|
+
...options
|
|
48262
|
+
});
|
|
48263
|
+
};
|
|
48264
|
+
/**
|
|
48265
|
+
* Create or update a workflow step for a call.
|
|
48266
|
+
*/
|
|
48267
|
+
export const proposalProtectedCallsWorkflowStepsSet = (options) => {
|
|
48268
|
+
return (options.client ?? _heyApiClient).post({
|
|
48269
|
+
security: [
|
|
48270
|
+
{
|
|
48271
|
+
name: 'Authorization',
|
|
48272
|
+
type: 'apiKey'
|
|
48273
|
+
},
|
|
48274
|
+
{
|
|
48275
|
+
scheme: 'bearer',
|
|
48276
|
+
type: 'http'
|
|
48277
|
+
},
|
|
48278
|
+
{
|
|
48279
|
+
scheme: 'bearer',
|
|
48280
|
+
type: 'http'
|
|
48281
|
+
}
|
|
48282
|
+
],
|
|
48283
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/',
|
|
48284
|
+
...options,
|
|
48285
|
+
headers: {
|
|
48286
|
+
'Content-Type': 'application/json',
|
|
48287
|
+
...options.headers
|
|
48288
|
+
}
|
|
48289
|
+
});
|
|
48290
|
+
};
|
|
48291
|
+
export const proposalProtectedCallsWorkflowStepsDestroy = (options) => {
|
|
48292
|
+
return (options.client ?? _heyApiClient).delete({
|
|
48293
|
+
security: [
|
|
48294
|
+
{
|
|
48295
|
+
name: 'Authorization',
|
|
48296
|
+
type: 'apiKey'
|
|
48297
|
+
},
|
|
48298
|
+
{
|
|
48299
|
+
scheme: 'bearer',
|
|
48300
|
+
type: 'http'
|
|
48301
|
+
},
|
|
48302
|
+
{
|
|
48303
|
+
scheme: 'bearer',
|
|
48304
|
+
type: 'http'
|
|
48305
|
+
}
|
|
48306
|
+
],
|
|
48307
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48308
|
+
...options
|
|
48309
|
+
});
|
|
48310
|
+
};
|
|
48311
|
+
export const proposalProtectedCallsWorkflowStepsRetrieve = (options) => {
|
|
48312
|
+
return (options.client ?? _heyApiClient).get({
|
|
48313
|
+
security: [
|
|
48314
|
+
{
|
|
48315
|
+
name: 'Authorization',
|
|
48316
|
+
type: 'apiKey'
|
|
48317
|
+
},
|
|
48318
|
+
{
|
|
48319
|
+
scheme: 'bearer',
|
|
48320
|
+
type: 'http'
|
|
48321
|
+
},
|
|
48322
|
+
{
|
|
48323
|
+
scheme: 'bearer',
|
|
48324
|
+
type: 'http'
|
|
48325
|
+
}
|
|
48326
|
+
],
|
|
48327
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48328
|
+
...options
|
|
48329
|
+
});
|
|
48330
|
+
};
|
|
48331
|
+
export const proposalProtectedCallsWorkflowStepsPartialUpdate = (options) => {
|
|
48332
|
+
return (options.client ?? _heyApiClient).patch({
|
|
48333
|
+
security: [
|
|
48334
|
+
{
|
|
48335
|
+
name: 'Authorization',
|
|
48336
|
+
type: 'apiKey'
|
|
48337
|
+
},
|
|
48338
|
+
{
|
|
48339
|
+
scheme: 'bearer',
|
|
48340
|
+
type: 'http'
|
|
48341
|
+
},
|
|
48342
|
+
{
|
|
48343
|
+
scheme: 'bearer',
|
|
48344
|
+
type: 'http'
|
|
48345
|
+
}
|
|
48346
|
+
],
|
|
48347
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48348
|
+
...options,
|
|
48349
|
+
headers: {
|
|
48350
|
+
'Content-Type': 'application/json',
|
|
48351
|
+
...options.headers
|
|
48352
|
+
}
|
|
48353
|
+
});
|
|
48354
|
+
};
|
|
48355
|
+
export const proposalProtectedCallsWorkflowStepsUpdate = (options) => {
|
|
48356
|
+
return (options.client ?? _heyApiClient).put({
|
|
48357
|
+
security: [
|
|
48358
|
+
{
|
|
48359
|
+
name: 'Authorization',
|
|
48360
|
+
type: 'apiKey'
|
|
48361
|
+
},
|
|
48362
|
+
{
|
|
48363
|
+
scheme: 'bearer',
|
|
48364
|
+
type: 'http'
|
|
48365
|
+
},
|
|
48366
|
+
{
|
|
48367
|
+
scheme: 'bearer',
|
|
48368
|
+
type: 'http'
|
|
48369
|
+
}
|
|
48370
|
+
],
|
|
48371
|
+
url: '/api/proposal-protected-calls/{uuid}/workflow_steps/{obj_uuid}/',
|
|
48372
|
+
...options,
|
|
48373
|
+
headers: {
|
|
48374
|
+
'Content-Type': 'application/json',
|
|
48375
|
+
...options.headers
|
|
48376
|
+
}
|
|
48377
|
+
});
|
|
48378
|
+
};
|
|
47744
48379
|
/**
|
|
47745
48380
|
* Get available compliance checklists for call creation/editing.
|
|
47746
48381
|
*/
|
|
@@ -58348,6 +58983,30 @@ export const usersPullRemoteUser = (options) => {
|
|
|
58348
58983
|
...options
|
|
58349
58984
|
});
|
|
58350
58985
|
};
|
|
58986
|
+
/**
|
|
58987
|
+
* Pull SCIM attributes from external IdP for this user
|
|
58988
|
+
* 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.
|
|
58989
|
+
*/
|
|
58990
|
+
export const usersPullScimAttributes = (options) => {
|
|
58991
|
+
return (options.client ?? _heyApiClient).post({
|
|
58992
|
+
security: [
|
|
58993
|
+
{
|
|
58994
|
+
name: 'Authorization',
|
|
58995
|
+
type: 'apiKey'
|
|
58996
|
+
},
|
|
58997
|
+
{
|
|
58998
|
+
scheme: 'bearer',
|
|
58999
|
+
type: 'http'
|
|
59000
|
+
},
|
|
59001
|
+
{
|
|
59002
|
+
scheme: 'bearer',
|
|
59003
|
+
type: 'http'
|
|
59004
|
+
}
|
|
59005
|
+
],
|
|
59006
|
+
url: '/api/users/{uuid}/pull_scim_attributes/',
|
|
59007
|
+
...options
|
|
59008
|
+
});
|
|
59009
|
+
};
|
|
58351
59010
|
/**
|
|
58352
59011
|
* Refresh user auth token
|
|
58353
59012
|
*/
|