@scalemule/sdk 0.0.3 → 0.0.4
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.mts +0 -8
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -4
- package/dist/index.mjs +0 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4270,7 +4270,6 @@ interface ProjectGrant {
|
|
|
4270
4270
|
project_id: string;
|
|
4271
4271
|
role: string;
|
|
4272
4272
|
user_email: string;
|
|
4273
|
-
team_invitation_id?: string;
|
|
4274
4273
|
status: 'pending' | 'redeemed' | 'revoked' | 'expired';
|
|
4275
4274
|
created_by: string;
|
|
4276
4275
|
created_at: string;
|
|
@@ -4393,13 +4392,6 @@ declare class AgentProjectsService extends ServiceModule {
|
|
|
4393
4392
|
getGrant(id: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
|
|
4394
4393
|
/** Public endpoint — no auth required. Returns masked email + project name. */
|
|
4395
4394
|
getGrantInfo(id: string, options?: RequestOptions): Promise<ApiResponse<GrantInfo>>;
|
|
4396
|
-
/** Internal-only — link grant to team invitation. Requires x-sm-internal-token header. */
|
|
4397
|
-
updateGrant(id: string, data: {
|
|
4398
|
-
team_id: string;
|
|
4399
|
-
team_invitation_id: string;
|
|
4400
|
-
team_invitation_token_hash: string;
|
|
4401
|
-
expires_at?: string;
|
|
4402
|
-
}, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
|
|
4403
4395
|
revokeGrant(id: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4404
4396
|
redeemGrant(id: string, options?: RequestOptions): Promise<ApiResponse<RedeemResult>>;
|
|
4405
4397
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4270,7 +4270,6 @@ interface ProjectGrant {
|
|
|
4270
4270
|
project_id: string;
|
|
4271
4271
|
role: string;
|
|
4272
4272
|
user_email: string;
|
|
4273
|
-
team_invitation_id?: string;
|
|
4274
4273
|
status: 'pending' | 'redeemed' | 'revoked' | 'expired';
|
|
4275
4274
|
created_by: string;
|
|
4276
4275
|
created_at: string;
|
|
@@ -4393,13 +4392,6 @@ declare class AgentProjectsService extends ServiceModule {
|
|
|
4393
4392
|
getGrant(id: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
|
|
4394
4393
|
/** Public endpoint — no auth required. Returns masked email + project name. */
|
|
4395
4394
|
getGrantInfo(id: string, options?: RequestOptions): Promise<ApiResponse<GrantInfo>>;
|
|
4396
|
-
/** Internal-only — link grant to team invitation. Requires x-sm-internal-token header. */
|
|
4397
|
-
updateGrant(id: string, data: {
|
|
4398
|
-
team_id: string;
|
|
4399
|
-
team_invitation_id: string;
|
|
4400
|
-
team_invitation_token_hash: string;
|
|
4401
|
-
expires_at?: string;
|
|
4402
|
-
}, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
|
|
4403
4395
|
revokeGrant(id: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4404
4396
|
redeemGrant(id: string, options?: RequestOptions): Promise<ApiResponse<RedeemResult>>;
|
|
4405
4397
|
}
|
package/dist/index.js
CHANGED
|
@@ -4916,10 +4916,6 @@ var AgentProjectsService = class extends ServiceModule {
|
|
|
4916
4916
|
async getGrantInfo(id, options) {
|
|
4917
4917
|
return this._get(`/project-grants/${id}/info`, { skipAuth: true, ...options });
|
|
4918
4918
|
}
|
|
4919
|
-
/** Internal-only — link grant to team invitation. Requires x-sm-internal-token header. */
|
|
4920
|
-
async updateGrant(id, data, options) {
|
|
4921
|
-
return this.patch(`/project-grants/${id}`, data, options);
|
|
4922
|
-
}
|
|
4923
4919
|
async revokeGrant(id, options) {
|
|
4924
4920
|
return this.del(`/project-grants/${id}`, options);
|
|
4925
4921
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -4564,10 +4564,6 @@ var AgentProjectsService = class extends ServiceModule {
|
|
|
4564
4564
|
async getGrantInfo(id, options) {
|
|
4565
4565
|
return this._get(`/project-grants/${id}/info`, { skipAuth: true, ...options });
|
|
4566
4566
|
}
|
|
4567
|
-
/** Internal-only — link grant to team invitation. Requires x-sm-internal-token header. */
|
|
4568
|
-
async updateGrant(id, data, options) {
|
|
4569
|
-
return this.patch(`/project-grants/${id}`, data, options);
|
|
4570
|
-
}
|
|
4571
4567
|
async revokeGrant(id, options) {
|
|
4572
4568
|
return this.del(`/project-grants/${id}`, options);
|
|
4573
4569
|
}
|