waldur-js-client 8.0.9-dev.47 → 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/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
  */
@@ -5114,6 +5114,7 @@ export type ConstanceSettings = {
5114
5114
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
5115
5115
  MATRIX_ENABLED?: boolean;
5116
5116
  MATRIX_HOMESERVER_URL?: string;
5117
+ MATRIX_HOMESERVER_PUBLIC_URL?: string;
5117
5118
  MATRIX_HOMESERVER_DOMAIN?: string;
5118
5119
  MATRIX_APPSERVICE_AS_TOKEN?: string;
5119
5120
  MATRIX_APPSERVICE_HS_TOKEN?: string;
@@ -5409,6 +5410,7 @@ export type ConstanceSettingsRequest = {
5409
5410
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
5410
5411
  MATRIX_ENABLED?: boolean;
5411
5412
  MATRIX_HOMESERVER_URL?: string;
5413
+ MATRIX_HOMESERVER_PUBLIC_URL?: string;
5412
5414
  MATRIX_HOMESERVER_DOMAIN?: string;
5413
5415
  MATRIX_APPSERVICE_AS_TOKEN?: string;
5414
5416
  MATRIX_APPSERVICE_HS_TOKEN?: string;
@@ -10075,6 +10077,10 @@ export type MatrixAppserviceSetupRequest = {
10075
10077
  * Matrix homeserver base URL. Only persisted if MATRIX_HOMESERVER_URL is not already configured.
10076
10078
  */
10077
10079
  homeserver_url?: string;
10080
+ /**
10081
+ * Optional. Matrix homeserver URL used by browser clients. Leave blank when the homeserver URL above is reachable from both servers and browsers. Set this for deployments where the two differ (e.g. Docker-internal vs. Caddy-proxied). Only persisted if MATRIX_HOMESERVER_PUBLIC_URL is not already configured.
10082
+ */
10083
+ homeserver_public_url?: string;
10078
10084
  /**
10079
10085
  * Matrix homeserver server_name domain. Only persisted if MATRIX_HOMESERVER_DOMAIN is not already configured.
10080
10086
  */
@@ -13400,6 +13406,7 @@ export type OfferingUser = {
13400
13406
  */
13401
13407
  readonly is_restricted?: boolean;
13402
13408
  state?: OfferingUserState;
13409
+ runtime_state?: RuntimeStateEnum;
13403
13410
  /**
13404
13411
  * Additional comment for pending states like validation or account linking
13405
13412
  */
@@ -13522,6 +13529,12 @@ export type OfferingUserUpdateRestrictionRequest = {
13522
13529
  */
13523
13530
  is_restricted: boolean;
13524
13531
  };
13532
+ export type OfferingUserUpdateRuntimeStateRequest = {
13533
+ /**
13534
+ * Operational/access state of the user account.
13535
+ */
13536
+ runtime_state: RuntimeStateEnum;
13537
+ };
13525
13538
  export type OidcEndpoints = {
13526
13539
  /**
13527
13540
  * OIDC authorization endpoint
@@ -24383,6 +24396,7 @@ export type RuleTestMatchResponse = {
24383
24396
  customer_lookup_ambiguous: boolean;
24384
24397
  resolved_project_name: string | null;
24385
24398
  };
24399
+ export type RuntimeStateEnum = 'Active' | 'Pending account linking' | 'Pending additional validation';
24386
24400
  export type RuntimeStates = {
24387
24401
  /**
24388
24402
  * Value of the runtime state
@@ -29137,6 +29151,7 @@ export type ConstanceSettingsRequestForm = {
29137
29151
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
29138
29152
  MATRIX_ENABLED?: boolean;
29139
29153
  MATRIX_HOMESERVER_URL?: string;
29154
+ MATRIX_HOMESERVER_PUBLIC_URL?: string;
29140
29155
  MATRIX_HOMESERVER_DOMAIN?: string;
29141
29156
  MATRIX_APPSERVICE_AS_TOKEN?: string;
29142
29157
  MATRIX_APPSERVICE_HS_TOKEN?: string;
@@ -29432,6 +29447,7 @@ export type ConstanceSettingsRequestMultipart = {
29432
29447
  ENABLED_REPORTING_SCREENS?: Array<EnabledreportingscreensEnum | BlankEnum>;
29433
29448
  MATRIX_ENABLED?: boolean;
29434
29449
  MATRIX_HOMESERVER_URL?: string;
29450
+ MATRIX_HOMESERVER_PUBLIC_URL?: string;
29435
29451
  MATRIX_HOMESERVER_DOMAIN?: string;
29436
29452
  MATRIX_APPSERVICE_AS_TOKEN?: string;
29437
29453
  MATRIX_APPSERVICE_HS_TOKEN?: string;
@@ -29977,7 +29993,7 @@ export type OfferingPermissionOEnum = '-created' | '-email' | '-expiration_time'
29977
29993
  export type OfferingReferralOEnum = '-published' | '-relation_type' | '-resource_type' | 'published' | 'relation_type' | 'resource_type';
29978
29994
  export type OfferingTermsOfServiceOEnum = '-created' | '-modified' | '-version' | 'created' | 'modified' | 'version';
29979
29995
  export type UserChecklistCompletionOEnum = '-is_completed' | '-modified' | 'is_completed' | 'modified';
29980
- 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';
29981
29997
  export type OfferingUserOEnum = '-created' | '-modified' | '-username' | 'created' | 'modified' | 'username';
29982
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';
29983
29999
  export type OrderDetailsOEnum = '-consumer_reviewed_at' | '-cost' | '-created' | '-state' | 'consumer_reviewed_at' | 'cost' | 'created' | 'state';
@@ -47766,6 +47782,12 @@ export type MarketplaceOfferingUsersListData = {
47766
47782
  * Search by offering name, username or user name
47767
47783
  */
47768
47784
  query?: string;
47785
+ /**
47786
+ * Offering user runtime state
47787
+ *
47788
+ *
47789
+ */
47790
+ runtime_state?: Array<RuntimeStateEnum>;
47769
47791
  /**
47770
47792
  * Offering user state
47771
47793
  *
@@ -47855,6 +47877,12 @@ export type MarketplaceOfferingUsersCountData = {
47855
47877
  * Search by offering name, username or user name
47856
47878
  */
47857
47879
  query?: string;
47880
+ /**
47881
+ * Offering user runtime state
47882
+ *
47883
+ *
47884
+ */
47885
+ runtime_state?: Array<RuntimeStateEnum>;
47858
47886
  /**
47859
47887
  * Offering user state
47860
47888
  *
@@ -48222,6 +48250,20 @@ export type MarketplaceOfferingUsersUpdateRestrictedResponses = {
48222
48250
  */
48223
48251
  200: unknown;
48224
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
+ };
48225
48267
  export type MarketplaceOfferingUsersChecklistTemplateRetrieveData = {
48226
48268
  body?: never;
48227
48269
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.47",
3
+ "version": "8.0.9-dev.49",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",