waldur-js-client 7.9.2-dev.0 → 7.9.2-dev.2

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
@@ -33659,6 +33659,26 @@ export const userInvitationsCreate = (options) => {
33659
33659
  }
33660
33660
  });
33661
33661
  };
33662
+ /**
33663
+ * Delete user invitation
33664
+ * Delete a user invitation. Only users with invitation management permissions can delete invitations.
33665
+ */
33666
+ export const userInvitationsDestroy = (options) => {
33667
+ return (options.client ?? _heyApiClient).delete({
33668
+ security: [
33669
+ {
33670
+ name: 'Authorization',
33671
+ type: 'apiKey'
33672
+ },
33673
+ {
33674
+ scheme: 'bearer',
33675
+ type: 'http'
33676
+ }
33677
+ ],
33678
+ url: '/api/user-invitations/{uuid}/',
33679
+ ...options
33680
+ });
33681
+ };
33662
33682
  /**
33663
33683
  * Retrieve user invitation
33664
33684
  * Retrieve details of a specific user invitation.
@@ -33679,6 +33699,54 @@ export const userInvitationsRetrieve = (options) => {
33679
33699
  ...options
33680
33700
  });
33681
33701
  };
33702
+ /**
33703
+ * Partially update user invitation
33704
+ * Partially update an existing user invitation. Only pending invitations can be edited. Allows changing email and role within the same scope.
33705
+ */
33706
+ export const userInvitationsPartialUpdate = (options) => {
33707
+ return (options.client ?? _heyApiClient).patch({
33708
+ security: [
33709
+ {
33710
+ name: 'Authorization',
33711
+ type: 'apiKey'
33712
+ },
33713
+ {
33714
+ scheme: 'bearer',
33715
+ type: 'http'
33716
+ }
33717
+ ],
33718
+ url: '/api/user-invitations/{uuid}/',
33719
+ ...options,
33720
+ headers: {
33721
+ 'Content-Type': 'application/json',
33722
+ ...options.headers
33723
+ }
33724
+ });
33725
+ };
33726
+ /**
33727
+ * Update user invitation
33728
+ * Update an existing user invitation. Only pending invitations can be edited. Allows changing email and role within the same scope.
33729
+ */
33730
+ export const userInvitationsUpdate = (options) => {
33731
+ return (options.client ?? _heyApiClient).put({
33732
+ security: [
33733
+ {
33734
+ name: 'Authorization',
33735
+ type: 'apiKey'
33736
+ },
33737
+ {
33738
+ scheme: 'bearer',
33739
+ type: 'http'
33740
+ }
33741
+ ],
33742
+ url: '/api/user-invitations/{uuid}/',
33743
+ ...options,
33744
+ headers: {
33745
+ 'Content-Type': 'application/json',
33746
+ ...options.headers
33747
+ }
33748
+ });
33749
+ };
33682
33750
  /**
33683
33751
  * Accept an invitation
33684
33752
  * Accepts an invitation for the currently authenticated user. This grants the user the specified role in the invitation's scope.