waldur-js-client 8.0.9-dev.48 → 8.0.9-dev.49
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/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +7 -1
- package/dist/sdk.gen.js +18 -0
- package/dist/types.gen.d.ts +35 -1
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -11161,6 +11161,24 @@ export const marketplaceOfferingUsersUpdateRestricted = (options) => (options.cl
|
|
|
11161
11161
|
...options.headers
|
|
11162
11162
|
}
|
|
11163
11163
|
});
|
|
11164
|
+
/**
|
|
11165
|
+
* Update runtime state
|
|
11166
|
+
*
|
|
11167
|
+
* Allows a service provider to set the operational/access state of an offering user. Unlike the lifecycle state, this can be updated at any time (except when the account is Deleted). Use this to signal access blockers such as pending Terms of Use acceptance or pending account linking (e.g. MyAccessID).
|
|
11168
|
+
*/
|
|
11169
|
+
export const marketplaceOfferingUsersUpdateRuntimeState = (options) => (options.client ?? client).post({
|
|
11170
|
+
security: [
|
|
11171
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
11172
|
+
{ scheme: 'bearer', type: 'http' },
|
|
11173
|
+
{ scheme: 'bearer', type: 'http' }
|
|
11174
|
+
],
|
|
11175
|
+
url: '/api/marketplace-offering-users/{uuid}/update_runtime_state/',
|
|
11176
|
+
...options,
|
|
11177
|
+
headers: {
|
|
11178
|
+
'Content-Type': 'application/json',
|
|
11179
|
+
...options.headers
|
|
11180
|
+
}
|
|
11181
|
+
});
|
|
11164
11182
|
/**
|
|
11165
11183
|
* Get checklist template for creating new objects.
|
|
11166
11184
|
*/
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -13406,6 +13406,7 @@ export type OfferingUser = {
|
|
|
13406
13406
|
*/
|
|
13407
13407
|
readonly is_restricted?: boolean;
|
|
13408
13408
|
state?: OfferingUserState;
|
|
13409
|
+
runtime_state?: RuntimeStateEnum;
|
|
13409
13410
|
/**
|
|
13410
13411
|
* Additional comment for pending states like validation or account linking
|
|
13411
13412
|
*/
|
|
@@ -13528,6 +13529,12 @@ export type OfferingUserUpdateRestrictionRequest = {
|
|
|
13528
13529
|
*/
|
|
13529
13530
|
is_restricted: boolean;
|
|
13530
13531
|
};
|
|
13532
|
+
export type OfferingUserUpdateRuntimeStateRequest = {
|
|
13533
|
+
/**
|
|
13534
|
+
* Operational/access state of the user account.
|
|
13535
|
+
*/
|
|
13536
|
+
runtime_state: RuntimeStateEnum;
|
|
13537
|
+
};
|
|
13531
13538
|
export type OidcEndpoints = {
|
|
13532
13539
|
/**
|
|
13533
13540
|
* OIDC authorization endpoint
|
|
@@ -24389,6 +24396,7 @@ export type RuleTestMatchResponse = {
|
|
|
24389
24396
|
customer_lookup_ambiguous: boolean;
|
|
24390
24397
|
resolved_project_name: string | null;
|
|
24391
24398
|
};
|
|
24399
|
+
export type RuntimeStateEnum = 'Active' | 'Pending account linking' | 'Pending additional validation';
|
|
24392
24400
|
export type RuntimeStates = {
|
|
24393
24401
|
/**
|
|
24394
24402
|
* Value of the runtime state
|
|
@@ -29985,7 +29993,7 @@ export type OfferingPermissionOEnum = '-created' | '-email' | '-expiration_time'
|
|
|
29985
29993
|
export type OfferingReferralOEnum = '-published' | '-relation_type' | '-resource_type' | 'published' | 'relation_type' | 'resource_type';
|
|
29986
29994
|
export type OfferingTermsOfServiceOEnum = '-created' | '-modified' | '-version' | 'created' | 'modified' | 'version';
|
|
29987
29995
|
export type UserChecklistCompletionOEnum = '-is_completed' | '-modified' | 'is_completed' | 'modified';
|
|
29988
|
-
export type OfferingUserFieldEnum = 'consent_data' | 'created' | 'customer_name' | 'customer_uuid' | 'has_compliance_checklist' | 'has_consent' | 'is_profile_complete' | 'is_restricted' | 'missing_profile_attributes' | 'modified' | 'offering' | 'offering_has_active_tos' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_active_isds' | 'user_address' | 'user_affiliations' | 'user_birth_date' | 'user_civil_number' | 'user_country_of_residence' | 'user_eduperson_assurance' | 'user_email' | 'user_first_name' | 'user_full_name' | 'user_gender' | 'user_identity_source' | 'user_job_title' | 'user_last_name' | 'user_nationalities' | 'user_nationality' | 'user_organization' | 'user_organization_country' | 'user_organization_registry_code' | 'user_organization_type' | 'user_personal_title' | 'user_phone_number' | 'user_place_of_birth' | 'user_username' | 'user_uuid' | 'username' | 'uuid';
|
|
29996
|
+
export type OfferingUserFieldEnum = 'consent_data' | 'created' | 'customer_name' | 'customer_uuid' | 'has_compliance_checklist' | 'has_consent' | 'is_profile_complete' | 'is_restricted' | 'missing_profile_attributes' | 'modified' | 'offering' | 'offering_has_active_tos' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'runtime_state' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_active_isds' | 'user_address' | 'user_affiliations' | 'user_birth_date' | 'user_civil_number' | 'user_country_of_residence' | 'user_eduperson_assurance' | 'user_email' | 'user_first_name' | 'user_full_name' | 'user_gender' | 'user_identity_source' | 'user_job_title' | 'user_last_name' | 'user_nationalities' | 'user_nationality' | 'user_organization' | 'user_organization_country' | 'user_organization_registry_code' | 'user_organization_type' | 'user_personal_title' | 'user_phone_number' | 'user_place_of_birth' | 'user_username' | 'user_uuid' | 'username' | 'uuid';
|
|
29989
29997
|
export type OfferingUserOEnum = '-created' | '-modified' | '-username' | 'created' | 'modified' | 'username';
|
|
29990
29998
|
export type OrderDetailsFieldEnum = 'accepting_terms_of_service' | 'activation_price' | 'attachment' | 'attributes' | 'auto_approved' | 'auto_approved_by_rule_uuid' | 'auto_approved_cost_limit_snapshot' | 'backend_id' | 'callback_url' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'completed_at' | 'consumer_message' | 'consumer_message_attachment' | 'consumer_rejection_comment' | 'consumer_reviewed_at' | 'consumer_reviewed_by' | 'consumer_reviewed_by_full_name' | 'consumer_reviewed_by_username' | 'cost' | 'created' | 'created_by_civil_number' | 'created_by_email' | 'created_by_full_name' | 'created_by_organization' | 'created_by_organization_registry_code' | 'created_by_username' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'error_message' | 'error_traceback' | 'error_updated_at' | 'fixed_price' | 'issue' | 'limits' | 'marketplace_resource_uuid' | 'modified' | 'new_cost_estimate' | 'new_plan_name' | 'new_plan_uuid' | 'offering' | 'offering_billable' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'old_cost_estimate' | 'old_plan_name' | 'old_plan_uuid' | 'order_subtype' | 'output' | 'output_updated_at' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project_description' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_message' | 'provider_message_attachment' | 'provider_message_url' | 'provider_name' | 'provider_rejection_comment' | 'provider_reviewed_at' | 'provider_reviewed_by' | 'provider_reviewed_by_full_name' | 'provider_reviewed_by_username' | 'provider_slug' | 'provider_uuid' | 'request_comment' | 'resource_name' | 'resource_type' | 'resource_uuid' | 'slug' | 'start_date' | 'state' | 'termination_comment' | 'type' | 'url' | 'uuid';
|
|
29991
29999
|
export type OrderDetailsOEnum = '-consumer_reviewed_at' | '-cost' | '-created' | '-state' | 'consumer_reviewed_at' | 'cost' | 'created' | 'state';
|
|
@@ -47774,6 +47782,12 @@ export type MarketplaceOfferingUsersListData = {
|
|
|
47774
47782
|
* Search by offering name, username or user name
|
|
47775
47783
|
*/
|
|
47776
47784
|
query?: string;
|
|
47785
|
+
/**
|
|
47786
|
+
* Offering user runtime state
|
|
47787
|
+
*
|
|
47788
|
+
*
|
|
47789
|
+
*/
|
|
47790
|
+
runtime_state?: Array<RuntimeStateEnum>;
|
|
47777
47791
|
/**
|
|
47778
47792
|
* Offering user state
|
|
47779
47793
|
*
|
|
@@ -47863,6 +47877,12 @@ export type MarketplaceOfferingUsersCountData = {
|
|
|
47863
47877
|
* Search by offering name, username or user name
|
|
47864
47878
|
*/
|
|
47865
47879
|
query?: string;
|
|
47880
|
+
/**
|
|
47881
|
+
* Offering user runtime state
|
|
47882
|
+
*
|
|
47883
|
+
*
|
|
47884
|
+
*/
|
|
47885
|
+
runtime_state?: Array<RuntimeStateEnum>;
|
|
47866
47886
|
/**
|
|
47867
47887
|
* Offering user state
|
|
47868
47888
|
*
|
|
@@ -48230,6 +48250,20 @@ export type MarketplaceOfferingUsersUpdateRestrictedResponses = {
|
|
|
48230
48250
|
*/
|
|
48231
48251
|
200: unknown;
|
|
48232
48252
|
};
|
|
48253
|
+
export type MarketplaceOfferingUsersUpdateRuntimeStateData = {
|
|
48254
|
+
body: OfferingUserUpdateRuntimeStateRequest;
|
|
48255
|
+
path: {
|
|
48256
|
+
uuid: string;
|
|
48257
|
+
};
|
|
48258
|
+
query?: never;
|
|
48259
|
+
url: '/api/marketplace-offering-users/{uuid}/update_runtime_state/';
|
|
48260
|
+
};
|
|
48261
|
+
export type MarketplaceOfferingUsersUpdateRuntimeStateResponses = {
|
|
48262
|
+
/**
|
|
48263
|
+
* No response body
|
|
48264
|
+
*/
|
|
48265
|
+
200: unknown;
|
|
48266
|
+
};
|
|
48233
48267
|
export type MarketplaceOfferingUsersChecklistTemplateRetrieveData = {
|
|
48234
48268
|
body?: never;
|
|
48235
48269
|
path?: never;
|