academe-kit 0.2.4 → 0.2.5

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.ts CHANGED
@@ -8329,6 +8329,51 @@ declare function createInstitutionService(apiClient: AcademeApiClient): {
8329
8329
  };
8330
8330
  };
8331
8331
  }, `${string}/${string}`>>;
8332
+ getGroupUsers(institutionId: string): Promise<openapi_fetch.FetchResponse<{
8333
+ parameters: {
8334
+ query?: never;
8335
+ header?: never;
8336
+ path: {
8337
+ institutionId: string;
8338
+ };
8339
+ cookie?: never;
8340
+ };
8341
+ requestBody?: never;
8342
+ responses: {
8343
+ 200: {
8344
+ headers: {
8345
+ [name: string]: unknown;
8346
+ };
8347
+ content: {
8348
+ "application/json": {
8349
+ status?: string;
8350
+ data?: {
8351
+ [key: string]: {
8352
+ id?: string;
8353
+ firstName?: string;
8354
+ lastName?: string;
8355
+ email?: string;
8356
+ document?: string;
8357
+ phone?: string;
8358
+ isActive?: boolean;
8359
+ assignedAt?: string;
8360
+ assignedBy?: string;
8361
+ }[];
8362
+ };
8363
+ };
8364
+ };
8365
+ };
8366
+ 401: components["responses"]["Unauthorized"];
8367
+ 404: components["responses"]["NotFound"];
8368
+ 500: components["responses"]["ServerError"];
8369
+ };
8370
+ }, {
8371
+ params: {
8372
+ path: {
8373
+ institutionId: string;
8374
+ };
8375
+ };
8376
+ }, `${string}/${string}`>>;
8332
8377
  };
8333
8378
  type InstitutionService = ReturnType<typeof createInstitutionService>;
8334
8379
 
package/dist/index.esm.js CHANGED
@@ -2808,6 +2808,7 @@ function createInstitutionService(apiClient) {
2808
2808
  body: data,
2809
2809
  });
2810
2810
  },
2811
+ // Institution Classrooms
2811
2812
  getClassrooms(institutionId, options) {
2812
2813
  return apiClient.GET('/institutions/{institutionId}/classrooms', {
2813
2814
  params: {
@@ -2886,6 +2887,11 @@ function createInstitutionService(apiClient) {
2886
2887
  params: { path: { institutionId, registrationId } },
2887
2888
  });
2888
2889
  },
2890
+ getGroupUsers(institutionId) {
2891
+ return apiClient.GET('/institutions/{institutionId}/groups/users', {
2892
+ params: { path: { institutionId } },
2893
+ });
2894
+ },
2889
2895
  };
2890
2896
  }
2891
2897