@scalemule/sdk 0.0.6 → 0.0.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/index.d.mts CHANGED
@@ -2582,6 +2582,7 @@ declare class TeamsService extends ServiceModule {
2582
2582
  description?: string;
2583
2583
  }, options?: RequestOptions): Promise<ApiResponse<Team>>;
2584
2584
  list(params?: PaginationParams, requestOptions?: RequestOptions): Promise<PaginatedResponse<Team>>;
2585
+ mine(params?: PaginationParams, options?: RequestOptions): Promise<PaginatedResponse<Team>>;
2585
2586
  get(id: string, options?: RequestOptions): Promise<ApiResponse<Team>>;
2586
2587
  update(id: string, data: Partial<{
2587
2588
  name: string;
@@ -4180,6 +4181,8 @@ interface Project {
4180
4181
  name: string;
4181
4182
  description?: string;
4182
4183
  status: string;
4184
+ owner_user_id?: string;
4185
+ metadata?: Record<string, unknown>;
4183
4186
  created_at: string;
4184
4187
  updated_at: string;
4185
4188
  }
@@ -4277,6 +4280,7 @@ interface ProjectGrant {
4277
4280
  expires_at: string;
4278
4281
  redeemed_at?: string;
4279
4282
  email_sent?: boolean;
4283
+ team_invitation_id?: string;
4280
4284
  }
4281
4285
  interface GrantInfo {
4282
4286
  id: string;
@@ -4297,15 +4301,18 @@ declare class AgentProjectsService extends ServiceModule {
4297
4301
  createProject(data: {
4298
4302
  name: string;
4299
4303
  description?: string;
4304
+ metadata?: Record<string, unknown>;
4300
4305
  }, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
4301
4306
  listProjects(params?: PaginationParams & {
4302
4307
  application_id?: string;
4308
+ team_id?: string;
4303
4309
  }, options?: RequestOptions): Promise<PaginatedResponse<Project>>;
4304
4310
  getProject(id: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
4305
4311
  updateProject(id: string, data: Partial<{
4306
4312
  name: string;
4307
4313
  description: string;
4308
4314
  status: string;
4315
+ metadata: Record<string, unknown>;
4309
4316
  }>, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
4310
4317
  addMember(projectId: string, data: {
4311
4318
  user_id: string;
@@ -4390,6 +4397,8 @@ declare class AgentProjectsService extends ServiceModule {
4390
4397
  user_email: string;
4391
4398
  expires_at: string;
4392
4399
  invite_url?: string;
4400
+ team_invitation_id?: string;
4401
+ team_id?: string;
4393
4402
  }, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
4394
4403
  listGrants(projectId: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant[]>>;
4395
4404
  getGrant(id: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
package/dist/index.d.ts CHANGED
@@ -2582,6 +2582,7 @@ declare class TeamsService extends ServiceModule {
2582
2582
  description?: string;
2583
2583
  }, options?: RequestOptions): Promise<ApiResponse<Team>>;
2584
2584
  list(params?: PaginationParams, requestOptions?: RequestOptions): Promise<PaginatedResponse<Team>>;
2585
+ mine(params?: PaginationParams, options?: RequestOptions): Promise<PaginatedResponse<Team>>;
2585
2586
  get(id: string, options?: RequestOptions): Promise<ApiResponse<Team>>;
2586
2587
  update(id: string, data: Partial<{
2587
2588
  name: string;
@@ -4180,6 +4181,8 @@ interface Project {
4180
4181
  name: string;
4181
4182
  description?: string;
4182
4183
  status: string;
4184
+ owner_user_id?: string;
4185
+ metadata?: Record<string, unknown>;
4183
4186
  created_at: string;
4184
4187
  updated_at: string;
4185
4188
  }
@@ -4277,6 +4280,7 @@ interface ProjectGrant {
4277
4280
  expires_at: string;
4278
4281
  redeemed_at?: string;
4279
4282
  email_sent?: boolean;
4283
+ team_invitation_id?: string;
4280
4284
  }
4281
4285
  interface GrantInfo {
4282
4286
  id: string;
@@ -4297,15 +4301,18 @@ declare class AgentProjectsService extends ServiceModule {
4297
4301
  createProject(data: {
4298
4302
  name: string;
4299
4303
  description?: string;
4304
+ metadata?: Record<string, unknown>;
4300
4305
  }, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
4301
4306
  listProjects(params?: PaginationParams & {
4302
4307
  application_id?: string;
4308
+ team_id?: string;
4303
4309
  }, options?: RequestOptions): Promise<PaginatedResponse<Project>>;
4304
4310
  getProject(id: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
4305
4311
  updateProject(id: string, data: Partial<{
4306
4312
  name: string;
4307
4313
  description: string;
4308
4314
  status: string;
4315
+ metadata: Record<string, unknown>;
4309
4316
  }>, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
4310
4317
  addMember(projectId: string, data: {
4311
4318
  user_id: string;
@@ -4390,6 +4397,8 @@ declare class AgentProjectsService extends ServiceModule {
4390
4397
  user_email: string;
4391
4398
  expires_at: string;
4392
4399
  invite_url?: string;
4400
+ team_invitation_id?: string;
4401
+ team_id?: string;
4393
4402
  }, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
4394
4403
  listGrants(projectId: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant[]>>;
4395
4404
  getGrant(id: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
package/dist/index.js CHANGED
@@ -3919,6 +3919,9 @@ var TeamsService = class extends ServiceModule {
3919
3919
  async list(params, requestOptions) {
3920
3920
  return this._list("", params, requestOptions);
3921
3921
  }
3922
+ async mine(params, options) {
3923
+ return this._list("/mine", params, options);
3924
+ }
3922
3925
  async get(id, options) {
3923
3926
  return this._get(`/${id}`, options);
3924
3927
  }
package/dist/index.mjs CHANGED
@@ -3567,6 +3567,9 @@ var TeamsService = class extends ServiceModule {
3567
3567
  async list(params, requestOptions) {
3568
3568
  return this._list("", params, requestOptions);
3569
3569
  }
3570
+ async mine(params, options) {
3571
+ return this._list("/mine", params, options);
3572
+ }
3570
3573
  async get(id, options) {
3571
3574
  return this._get(`/${id}`, options);
3572
3575
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalemule/sdk",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Official TypeScript/JavaScript SDK for ScaleMule Backend-as-a-Service",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",