academe-kit 0.2.4 → 0.2.6

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
@@ -6969,12 +6969,18 @@ interface components {
6969
6969
  serieId?: string;
6970
6970
  };
6971
6971
  CreateSerieDto: {
6972
- /** @example 1st Grade */
6973
- name: string;
6972
+ /**
6973
+ * @description Grade/year level (e.g., 1 for 1st grade, 2 for 2nd grade)
6974
+ * @example 1
6975
+ */
6976
+ value: number;
6974
6977
  };
6975
6978
  UpdateSerieDto: {
6976
- /** @example 1st Grade */
6977
- name?: string;
6979
+ /**
6980
+ * @description Grade/year level (e.g., 1 for 1st grade, 2 for 2nd grade)
6981
+ * @example 1
6982
+ */
6983
+ value?: number;
6978
6984
  };
6979
6985
  CreateShiftDto: {
6980
6986
  /**
@@ -8329,6 +8335,51 @@ declare function createInstitutionService(apiClient: AcademeApiClient): {
8329
8335
  };
8330
8336
  };
8331
8337
  }, `${string}/${string}`>>;
8338
+ getGroupUsers(institutionId: string): Promise<openapi_fetch.FetchResponse<{
8339
+ parameters: {
8340
+ query?: never;
8341
+ header?: never;
8342
+ path: {
8343
+ institutionId: string;
8344
+ };
8345
+ cookie?: never;
8346
+ };
8347
+ requestBody?: never;
8348
+ responses: {
8349
+ 200: {
8350
+ headers: {
8351
+ [name: string]: unknown;
8352
+ };
8353
+ content: {
8354
+ "application/json": {
8355
+ status?: string;
8356
+ data?: {
8357
+ [key: string]: {
8358
+ id?: string;
8359
+ firstName?: string;
8360
+ lastName?: string;
8361
+ email?: string;
8362
+ document?: string;
8363
+ phone?: string;
8364
+ isActive?: boolean;
8365
+ assignedAt?: string;
8366
+ assignedBy?: string;
8367
+ }[];
8368
+ };
8369
+ };
8370
+ };
8371
+ };
8372
+ 401: components["responses"]["Unauthorized"];
8373
+ 404: components["responses"]["NotFound"];
8374
+ 500: components["responses"]["ServerError"];
8375
+ };
8376
+ }, {
8377
+ params: {
8378
+ path: {
8379
+ institutionId: string;
8380
+ };
8381
+ };
8382
+ }, `${string}/${string}`>>;
8332
8383
  };
8333
8384
  type InstitutionService = ReturnType<typeof createInstitutionService>;
8334
8385
 
@@ -9512,7 +9563,7 @@ declare function createSerieService(apiClient: AcademeApiClient): {
9512
9563
  };
9513
9564
  }, {
9514
9565
  body: {
9515
- name: string;
9566
+ value: number;
9516
9567
  };
9517
9568
  }, `${string}/${string}`>>;
9518
9569
  /**
@@ -9557,7 +9608,7 @@ declare function createSerieService(apiClient: AcademeApiClient): {
9557
9608
  };
9558
9609
  };
9559
9610
  body: {
9560
- name?: string;
9611
+ value?: number;
9561
9612
  };
9562
9613
  }, `${string}/${string}`>>;
9563
9614
  /**
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