@easyedu/js-lsm-api 1.119.0 → 1.120.0

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @easyedu/js-lsm-api@1.119.0
1
+ # @easyedu/js-lsm-api@1.120.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -786,7 +786,7 @@ and is automatically generated by the
786
786
  [OpenAPI Generator](https://openapi-generator.tech) project:
787
787
 
788
788
  - API version: `1.0.0`
789
- - Package version: `1.119.0`
789
+ - Package version: `1.120.0`
790
790
  - Generator version: `7.22.0`
791
791
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
792
792
 
@@ -246,7 +246,7 @@ export interface PutCourseVersionSectionRequest {
246
246
  export interface PutHostedScormExportAccessRequest {
247
247
  courseId: string;
248
248
  exportId: string;
249
- body: HostedScormAccessPolicy;
249
+ hostedScormAccessPolicy: HostedScormAccessPolicy;
250
250
  }
251
251
  export interface PutHostedScormExportStatusRequest {
252
252
  courseId: string;
@@ -40,6 +40,7 @@ const GetCourseVersionList_1 = require("../models/GetCourseVersionList");
40
40
  const GetCourseVersionProgression_1 = require("../models/GetCourseVersionProgression");
41
41
  const GetCourseVersionSection_1 = require("../models/GetCourseVersionSection");
42
42
  const GetHostedScormRegistrationList_1 = require("../models/GetHostedScormRegistrationList");
43
+ const HostedScormAccessPolicy_1 = require("../models/HostedScormAccessPolicy");
43
44
  const PostClearSessions_1 = require("../models/PostClearSessions");
44
45
  const PostClearSessionsResponse_1 = require("../models/PostClearSessionsResponse");
45
46
  const PostCourse_1 = require("../models/PostCourse");
@@ -1998,8 +1999,8 @@ class CourseApi extends runtime.BaseAPI {
1998
1999
  if (requestParameters['exportId'] == null) {
1999
2000
  throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling putHostedScormExportAccess().');
2000
2001
  }
2001
- if (requestParameters['body'] == null) {
2002
- throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling putHostedScormExportAccess().');
2002
+ if (requestParameters['hostedScormAccessPolicy'] == null) {
2003
+ throw new runtime.RequiredError('hostedScormAccessPolicy', 'Required parameter "hostedScormAccessPolicy" was null or undefined when calling putHostedScormExportAccess().');
2003
2004
  }
2004
2005
  const queryParameters = {};
2005
2006
  const headerParameters = {};
@@ -2012,7 +2013,7 @@ class CourseApi extends runtime.BaseAPI {
2012
2013
  method: 'PUT',
2013
2014
  headers: headerParameters,
2014
2015
  query: queryParameters,
2015
- body: requestParameters['body'],
2016
+ body: (0, HostedScormAccessPolicy_1.HostedScormAccessPolicyToJSON)(requestParameters['hostedScormAccessPolicy']),
2016
2017
  };
2017
2018
  });
2018
2019
  }
@@ -246,7 +246,7 @@ export interface PutCourseVersionSectionRequest {
246
246
  export interface PutHostedScormExportAccessRequest {
247
247
  courseId: string;
248
248
  exportId: string;
249
- body: HostedScormAccessPolicy;
249
+ hostedScormAccessPolicy: HostedScormAccessPolicy;
250
250
  }
251
251
  export interface PutHostedScormExportStatusRequest {
252
252
  courseId: string;
@@ -37,6 +37,7 @@ import { GetCourseVersionListFromJSON, } from '../models/GetCourseVersionList';
37
37
  import { GetCourseVersionProgressionFromJSON, } from '../models/GetCourseVersionProgression';
38
38
  import { GetCourseVersionSectionFromJSON, } from '../models/GetCourseVersionSection';
39
39
  import { GetHostedScormRegistrationListFromJSON, } from '../models/GetHostedScormRegistrationList';
40
+ import { HostedScormAccessPolicyToJSON, } from '../models/HostedScormAccessPolicy';
40
41
  import { PostClearSessionsToJSON, } from '../models/PostClearSessions';
41
42
  import { PostClearSessionsResponseFromJSON, } from '../models/PostClearSessionsResponse';
42
43
  import { PostCourseToJSON, } from '../models/PostCourse';
@@ -1995,8 +1996,8 @@ export class CourseApi extends runtime.BaseAPI {
1995
1996
  if (requestParameters['exportId'] == null) {
1996
1997
  throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling putHostedScormExportAccess().');
1997
1998
  }
1998
- if (requestParameters['body'] == null) {
1999
- throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling putHostedScormExportAccess().');
1999
+ if (requestParameters['hostedScormAccessPolicy'] == null) {
2000
+ throw new runtime.RequiredError('hostedScormAccessPolicy', 'Required parameter "hostedScormAccessPolicy" was null or undefined when calling putHostedScormExportAccess().');
2000
2001
  }
2001
2002
  const queryParameters = {};
2002
2003
  const headerParameters = {};
@@ -2009,7 +2010,7 @@ export class CourseApi extends runtime.BaseAPI {
2009
2010
  method: 'PUT',
2010
2011
  headers: headerParameters,
2011
2012
  query: queryParameters,
2012
- body: requestParameters['body'],
2013
+ body: HostedScormAccessPolicyToJSON(requestParameters['hostedScormAccessPolicy']),
2013
2014
  };
2014
2015
  });
2015
2016
  }
package/docs/CourseApi.md CHANGED
@@ -3040,7 +3040,7 @@ No authorization required
3040
3040
 
3041
3041
  ## putHostedScormExportAccess
3042
3042
 
3043
- > GetCourseExport putHostedScormExportAccess(courseId, exportId, body)
3043
+ > GetCourseExport putHostedScormExportAccess(courseId, exportId, hostedScormAccessPolicy)
3044
3044
 
3045
3045
  Update mutable access controls for a hosted SCORM export
3046
3046
 
@@ -3063,7 +3063,7 @@ async function example() {
3063
3063
  // string
3064
3064
  exportId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
3065
3065
  // HostedScormAccessPolicy
3066
- body: ...,
3066
+ hostedScormAccessPolicy: ...,
3067
3067
  } satisfies PutHostedScormExportAccessRequest;
3068
3068
 
3069
3069
  try {
@@ -3085,7 +3085,7 @@ example().catch(console.error);
3085
3085
  |------------- | ------------- | ------------- | -------------|
3086
3086
  | **courseId** | `string` | | [Defaults to `undefined`] |
3087
3087
  | **exportId** | `string` | | [Defaults to `undefined`] |
3088
- | **body** | `HostedScormAccessPolicy` | | |
3088
+ | **hostedScormAccessPolicy** | [HostedScormAccessPolicy](HostedScormAccessPolicy.md) | | |
3089
3089
 
3090
3090
  ### Return type
3091
3091
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.119.0",
3
+ "version": "1.120.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -449,7 +449,7 @@ export interface PutCourseVersionSectionRequest {
449
449
  export interface PutHostedScormExportAccessRequest {
450
450
  courseId: string;
451
451
  exportId: string;
452
- body: HostedScormAccessPolicy;
452
+ hostedScormAccessPolicy: HostedScormAccessPolicy;
453
453
  }
454
454
 
455
455
  export interface PutHostedScormExportStatusRequest {
@@ -2865,10 +2865,10 @@ export class CourseApi extends runtime.BaseAPI {
2865
2865
  );
2866
2866
  }
2867
2867
 
2868
- if (requestParameters['body'] == null) {
2868
+ if (requestParameters['hostedScormAccessPolicy'] == null) {
2869
2869
  throw new runtime.RequiredError(
2870
- 'body',
2871
- 'Required parameter "body" was null or undefined when calling putHostedScormExportAccess().'
2870
+ 'hostedScormAccessPolicy',
2871
+ 'Required parameter "hostedScormAccessPolicy" was null or undefined when calling putHostedScormExportAccess().'
2872
2872
  );
2873
2873
  }
2874
2874
 
@@ -2888,7 +2888,7 @@ export class CourseApi extends runtime.BaseAPI {
2888
2888
  method: 'PUT',
2889
2889
  headers: headerParameters,
2890
2890
  query: queryParameters,
2891
- body: requestParameters['body'] as any,
2891
+ body: HostedScormAccessPolicyToJSON(requestParameters['hostedScormAccessPolicy']),
2892
2892
  };
2893
2893
  }
2894
2894