waldur-js-client 7.9.6-dev.5 → 7.9.6-dev.7

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 CHANGED
@@ -5958,7 +5958,7 @@ export declare const userGroupInvitationsCancel: <ThrowOnError extends boolean =
5958
5958
  export declare const userGroupInvitationsProjectsList: <ThrowOnError extends boolean = false>(options: Options<UserGroupInvitationsProjectsListData, ThrowOnError>) => import("./client").RequestResult<UserGroupInvitationsProjectsListResponses, unknown, ThrowOnError, "fields">;
5959
5959
  /**
5960
5960
  * Submit a permission request
5961
- * Creates a permission request based on a group invitation for the currently authenticated user.
5961
+ * Creates a permission request based on a group invitation for the currently authenticated user. If the invitation has auto_approve enabled and the user matches the required patterns, the request is automatically approved.
5962
5962
  */
5963
5963
  export declare const userGroupInvitationsSubmitRequest: <ThrowOnError extends boolean = false>(options: Options<UserGroupInvitationsSubmitRequestData, ThrowOnError>) => import("./client").RequestResult<UserGroupInvitationsSubmitRequestResponses, unknown, ThrowOnError, "fields">;
5964
5964
  /**
package/dist/sdk.gen.js CHANGED
@@ -34149,7 +34149,7 @@ export const userGroupInvitationsProjectsList = (options) => {
34149
34149
  };
34150
34150
  /**
34151
34151
  * Submit a permission request
34152
- * Creates a permission request based on a group invitation for the currently authenticated user.
34152
+ * Creates a permission request based on a group invitation for the currently authenticated user. If the invitation has auto_approve enabled and the user matches the required patterns, the request is automatically approved.
34153
34153
  */
34154
34154
  export const userGroupInvitationsSubmitRequest = (options) => {
34155
34155
  return (options.client ?? _heyApiClient).post({
@@ -3698,6 +3698,10 @@ export type GroupInvitation = {
3698
3698
  * Create project and grant project permissions instead of customer permissions
3699
3699
  */
3700
3700
  auto_create_project?: boolean;
3701
+ /**
3702
+ * Automatically approve permission requests from users matching email patterns or affiliations
3703
+ */
3704
+ auto_approve?: boolean;
3701
3705
  /**
3702
3706
  * Template for project name. Supports {username}, {email}, {full_name} variables
3703
3707
  */
@@ -3730,6 +3734,10 @@ export type GroupInvitationRequest = {
3730
3734
  * Create project and grant project permissions instead of customer permissions
3731
3735
  */
3732
3736
  auto_create_project?: boolean;
3737
+ /**
3738
+ * Automatically approve permission requests from users matching email patterns or affiliations
3739
+ */
3740
+ auto_approve?: boolean;
3733
3741
  /**
3734
3742
  * Template for project name. Supports {username}, {email}, {full_name} variables
3735
3743
  */
@@ -7828,6 +7836,7 @@ export type OnboardingVerification = {
7828
7836
  */
7829
7837
  legal_name?: string;
7830
7838
  status: OnboardingVerificationStatusEnum;
7839
+ readonly justifications: Array<OnboardingJustification>;
7831
7840
  /**
7832
7841
  * Method used for validation
7833
7842
  */
@@ -15599,6 +15608,10 @@ export type SubmitRequestResponse = {
15599
15608
  * UUID of the invitation scope
15600
15609
  */
15601
15610
  scope_uuid: string;
15611
+ /**
15612
+ * Whether the request was automatically approved
15613
+ */
15614
+ auto_approved: boolean;
15602
15615
  };
15603
15616
  export type SubresourceOffering = {
15604
15617
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.6-dev.5",
3
+ "version": "7.9.6-dev.7",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",