@agility/management-sdk 0.1.1 → 0.1.3

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.
Files changed (56) hide show
  1. package/README.md +395 -395
  2. package/dist/apiMethods/assetMethods.d.ts +14 -14
  3. package/dist/apiMethods/assetMethods.js +172 -95
  4. package/dist/apiMethods/batchMethods.d.ts +11 -11
  5. package/dist/apiMethods/batchMethods.js +117 -65
  6. package/dist/apiMethods/clientInstance.d.ts +8 -8
  7. package/dist/apiMethods/clientInstance.js +137 -77
  8. package/dist/apiMethods/containerMethods.d.ts +16 -16
  9. package/dist/apiMethods/containerMethods.js +189 -105
  10. package/dist/apiMethods/contentMethods.d.ts +20 -20
  11. package/dist/apiMethods/contentMethods.js +359 -175
  12. package/dist/apiMethods/instanceUserMethods.d.ts +13 -13
  13. package/dist/apiMethods/instanceUserMethods.js +111 -57
  14. package/dist/apiMethods/modelMethods.d.ts +13 -13
  15. package/dist/apiMethods/modelMethods.js +150 -81
  16. package/dist/apiMethods/pageMethods.d.ts +20 -20
  17. package/dist/apiMethods/pageMethods.js +323 -159
  18. package/dist/enums/batchOperationType.d.ts +19 -19
  19. package/dist/enums/batchOperationType.js +23 -23
  20. package/dist/enums/batchState..d.ts +7 -7
  21. package/dist/enums/batchState..js +11 -11
  22. package/dist/index.d.ts +21 -21
  23. package/dist/index.js +33 -37
  24. package/dist/models/batch.d.ts +29 -29
  25. package/dist/models/batch.js +9 -6
  26. package/dist/models/batchItem.d.ts +13 -13
  27. package/dist/models/batchItem.js +9 -6
  28. package/dist/models/container.d.ts +47 -47
  29. package/dist/models/container.js +9 -6
  30. package/dist/models/contentItem.d.ts +37 -37
  31. package/dist/models/contentItem.js +33 -18
  32. package/dist/models/contentViewColumn.d.ts +8 -8
  33. package/dist/models/contentViewColumn.js +9 -6
  34. package/dist/models/exception.d.ts +4 -4
  35. package/dist/models/exception.js +26 -10
  36. package/dist/models/instanceRole.d.ts +7 -7
  37. package/dist/models/instanceRole.js +9 -6
  38. package/dist/models/instanceUser.d.ts +14 -14
  39. package/dist/models/instanceUser.js +9 -6
  40. package/dist/models/media.d.ts +30 -30
  41. package/dist/models/media.js +15 -9
  42. package/dist/models/model.d.ts +30 -30
  43. package/dist/models/model.js +15 -9
  44. package/dist/models/notification.d.ts +13 -13
  45. package/dist/models/notification.js +9 -6
  46. package/dist/models/options.d.ts +10 -10
  47. package/dist/models/options.js +28 -25
  48. package/dist/models/pageItem.d.ts +56 -56
  49. package/dist/models/pageItem.js +39 -21
  50. package/dist/models/sitemap.d.ts +20 -20
  51. package/dist/models/sitemap.js +15 -9
  52. package/dist/models/websiteUser.d.ts +22 -22
  53. package/dist/models/websiteUser.js +15 -9
  54. package/license.txt +20 -20
  55. package/package.json +39 -39
  56. package/tsconfig.json +14 -14
@@ -1,30 +1,30 @@
1
- export declare class Media {
2
- hasChildren: boolean;
3
- mediaID: number;
4
- fileName: string;
5
- containerID: number;
6
- containerOriginUrl: string;
7
- containerEdgeUrl: string;
8
- originKey: string;
9
- modifiedBy: number | null;
10
- modifiedByName: string | null;
11
- dateModified: string | null;
12
- size: number;
13
- isFolder: boolean;
14
- isDeleted: boolean;
15
- mediaGroupingID: number;
16
- mediaGroupingName: string | null;
17
- mediaGroupingSortOrder: number;
18
- contentType: string;
19
- gridThumbnailID: number | null;
20
- gridThumbnailSuffix: string | null;
21
- rowNumber: number | null;
22
- originUrl: string;
23
- edgeUrl: string;
24
- isImage: boolean | null;
25
- isSvg: boolean | null;
26
- }
27
- export declare class AssetMediaList {
28
- assetMedias: (Media | null)[];
29
- totalCount: number | null;
30
- }
1
+ export declare class Media {
2
+ hasChildren: boolean;
3
+ mediaID: number;
4
+ fileName: string;
5
+ containerID: number;
6
+ containerOriginUrl: string;
7
+ containerEdgeUrl: string;
8
+ originKey: string;
9
+ modifiedBy: number | null;
10
+ modifiedByName: string | null;
11
+ dateModified: string | null;
12
+ size: number;
13
+ isFolder: boolean;
14
+ isDeleted: boolean;
15
+ mediaGroupingID: number;
16
+ mediaGroupingName: string | null;
17
+ mediaGroupingSortOrder: number;
18
+ contentType: string;
19
+ gridThumbnailID: number | null;
20
+ gridThumbnailSuffix: string | null;
21
+ rowNumber: number | null;
22
+ originUrl: string;
23
+ edgeUrl: string;
24
+ isImage: boolean | null;
25
+ isSvg: boolean | null;
26
+ }
27
+ export declare class AssetMediaList {
28
+ assetMedias: (Media | null)[];
29
+ totalCount: number | null;
30
+ }
@@ -1,9 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssetMediaList = exports.Media = void 0;
4
- class Media {
5
- }
6
- exports.Media = Media;
7
- class AssetMediaList {
8
- }
9
- exports.AssetMediaList = AssetMediaList;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssetMediaList = exports.Media = void 0;
4
+ var Media = /** @class */ (function () {
5
+ function Media() {
6
+ }
7
+ return Media;
8
+ }());
9
+ exports.Media = Media;
10
+ var AssetMediaList = /** @class */ (function () {
11
+ function AssetMediaList() {
12
+ }
13
+ return AssetMediaList;
14
+ }());
15
+ exports.AssetMediaList = AssetMediaList;
@@ -1,30 +1,30 @@
1
- export declare class Model {
2
- id: number | null;
3
- lastModifiedDate: string | null;
4
- displayName: string | null;
5
- referenceName: string | null;
6
- lastModifiedBy: string | null;
7
- fields: ModelField[];
8
- lastModifiedAuthorID: number | null;
9
- description: string | null;
10
- allowTagging: boolean | null;
11
- contentDefinitionTypeName: string | null;
12
- isPublished: boolean | null;
13
- wasUnpublished: boolean | null;
14
- }
15
- export declare class ModelField {
16
- name: string | null;
17
- label: string | null;
18
- type: string | null;
19
- settings: {
20
- [key: string]: string;
21
- };
22
- labelHelpDescription: string | null;
23
- itemOrder: number | null;
24
- designerOnly: boolean | null;
25
- isDataField: boolean | null;
26
- editable: boolean | null;
27
- hiddenField: boolean | null;
28
- fieldID: string | null;
29
- description: string | null;
30
- }
1
+ export declare class Model {
2
+ id: number | null;
3
+ lastModifiedDate: string | null;
4
+ displayName: string | null;
5
+ referenceName: string | null;
6
+ lastModifiedBy: string | null;
7
+ fields: ModelField[];
8
+ lastModifiedAuthorID: number | null;
9
+ description: string | null;
10
+ allowTagging: boolean | null;
11
+ contentDefinitionTypeName: string | null;
12
+ isPublished: boolean | null;
13
+ wasUnpublished: boolean | null;
14
+ }
15
+ export declare class ModelField {
16
+ name: string | null;
17
+ label: string | null;
18
+ type: string | null;
19
+ settings: {
20
+ [key: string]: string;
21
+ };
22
+ labelHelpDescription: string | null;
23
+ itemOrder: number | null;
24
+ designerOnly: boolean | null;
25
+ isDataField: boolean | null;
26
+ editable: boolean | null;
27
+ hiddenField: boolean | null;
28
+ fieldID: string | null;
29
+ description: string | null;
30
+ }
@@ -1,9 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModelField = exports.Model = void 0;
4
- class Model {
5
- }
6
- exports.Model = Model;
7
- class ModelField {
8
- }
9
- exports.ModelField = ModelField;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModelField = exports.Model = void 0;
4
+ var Model = /** @class */ (function () {
5
+ function Model() {
6
+ }
7
+ return Model;
8
+ }());
9
+ exports.Model = Model;
10
+ var ModelField = /** @class */ (function () {
11
+ function ModelField() {
12
+ }
13
+ return ModelField;
14
+ }());
15
+ exports.ModelField = ModelField;
@@ -1,13 +1,13 @@
1
- export declare class Notification {
2
- notificationID: number | null;
3
- userID: number | null;
4
- contentViewID: number | null;
5
- pageItemContainerID: number | null;
6
- createdAuthorID: number | null;
7
- createdDate: string | null;
8
- userName: string | null;
9
- firstName: string | null;
10
- lastName: string | null;
11
- emailAddress: string | null;
12
- notificationTypeName: string | null;
13
- }
1
+ export declare class Notification {
2
+ notificationID: number | null;
3
+ userID: number | null;
4
+ contentViewID: number | null;
5
+ pageItemContainerID: number | null;
6
+ createdAuthorID: number | null;
7
+ createdDate: string | null;
8
+ userName: string | null;
9
+ firstName: string | null;
10
+ lastName: string | null;
11
+ emailAddress: string | null;
12
+ notificationTypeName: string | null;
13
+ }
@@ -1,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Notification = void 0;
4
- class Notification {
5
- }
6
- exports.Notification = Notification;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Notification = void 0;
4
+ var Notification = /** @class */ (function () {
5
+ function Notification() {
6
+ }
7
+ return Notification;
8
+ }());
9
+ exports.Notification = Notification;
@@ -1,10 +1,10 @@
1
- export declare class Options {
2
- locale: string | null;
3
- token: string | null;
4
- baseUrl: string | null;
5
- guid: string;
6
- refresh_token: string | null;
7
- duration: number | 3000;
8
- retryCount: number | 500;
9
- determineBaseUrl(guid: string): string;
10
- }
1
+ export declare class Options {
2
+ locale: string | null;
3
+ token: string | null;
4
+ baseUrl: string | null;
5
+ guid: string;
6
+ refresh_token: string | null;
7
+ duration: number | 3000;
8
+ retryCount: number | 500;
9
+ determineBaseUrl(guid: string): string;
10
+ }
@@ -1,25 +1,28 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Options = void 0;
4
- class Options {
5
- determineBaseUrl(guid) {
6
- var seperator = guid.split('-');
7
- if (seperator[1] === 'd') {
8
- return "https://mgmt-dev.aglty.io";
9
- }
10
- else if (seperator[1] === 'u') {
11
- return "https://mgmt.aglty.io";
12
- }
13
- else if (seperator[1] === 'ca') {
14
- return "https://mgmt-ca.aglty.io";
15
- }
16
- else if (seperator[1] === 'eu') {
17
- return "https://mgmt-aus.aglty.io";
18
- }
19
- else if (seperator[1] === 'aus') {
20
- return "https://mgmt-aus.aglty.io";
21
- }
22
- return "https://mgmt.aglty.io";
23
- }
24
- }
25
- exports.Options = Options;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Options = void 0;
4
+ var Options = /** @class */ (function () {
5
+ function Options() {
6
+ }
7
+ Options.prototype.determineBaseUrl = function (guid) {
8
+ var seperator = guid.split('-');
9
+ if (seperator[1] === 'd') {
10
+ return "https://mgmt-dev.aglty.io";
11
+ }
12
+ else if (seperator[1] === 'u') {
13
+ return "https://mgmt.aglty.io";
14
+ }
15
+ else if (seperator[1] === 'ca') {
16
+ return "https://mgmt-ca.aglty.io";
17
+ }
18
+ else if (seperator[1] === 'eu') {
19
+ return "https://mgmt-aus.aglty.io";
20
+ }
21
+ else if (seperator[1] === 'aus') {
22
+ return "https://mgmt-aus.aglty.io";
23
+ }
24
+ return "https://mgmt.aglty.io";
25
+ };
26
+ return Options;
27
+ }());
28
+ exports.Options = Options;
@@ -1,56 +1,56 @@
1
- import { SeoProperties } from "./contentItem";
2
- export declare class PageItem {
3
- pageID: number | null;
4
- name: string | null;
5
- path: string | null;
6
- title: string | null;
7
- menuText: string | null;
8
- pageType: string | null;
9
- templateName: string | null;
10
- redirectUrl: string | null;
11
- securePage: boolean | null;
12
- excludeFromOutputCache: boolean | null;
13
- visible: PageVisible | null;
14
- seo: SeoProperties | null;
15
- scripts: PageScripts | null;
16
- dynamic: PageDynamic | null;
17
- properties: PageItemProperties | null;
18
- zones: {
19
- [key: string]: PageModule[];
20
- } | null;
21
- parentPageID: number | null;
22
- placeBeforePageItemID: number | null;
23
- channelID: number | null;
24
- releaseDate: string | null;
25
- pullDate: string | null;
26
- }
27
- export declare class PageVisible {
28
- menu: boolean | null;
29
- sitemap: boolean | null;
30
- }
31
- export declare class PageScripts {
32
- excludedFromGlobal: boolean;
33
- top: string | null;
34
- bottom: string | null;
35
- }
36
- export declare class PageDynamic {
37
- referenceName: string | null;
38
- fieldName: string | null;
39
- titleFormula: string | null;
40
- menuTextFormula: string | null;
41
- pageNameFormula: string | null;
42
- visibleOnMenu: boolean | null;
43
- visibleOnSitemap: boolean | null;
44
- }
45
- export declare class PageItemProperties {
46
- state: number | null;
47
- modified: string | null;
48
- versionID: number | null;
49
- }
50
- export declare class PageModule {
51
- module: string | null;
52
- item: any | null;
53
- }
54
- export interface Dictionary<T> {
55
- [Key: string]: T;
56
- }
1
+ import { SeoProperties } from "./contentItem";
2
+ export declare class PageItem {
3
+ pageID: number | null;
4
+ name: string | null;
5
+ path: string | null;
6
+ title: string | null;
7
+ menuText: string | null;
8
+ pageType: string | null;
9
+ templateName: string | null;
10
+ redirectUrl: string | null;
11
+ securePage: boolean | null;
12
+ excludeFromOutputCache: boolean | null;
13
+ visible: PageVisible | null;
14
+ seo: SeoProperties | null;
15
+ scripts: PageScripts | null;
16
+ dynamic: PageDynamic | null;
17
+ properties: PageItemProperties | null;
18
+ zones: {
19
+ [key: string]: PageModule[];
20
+ } | null;
21
+ parentPageID: number | null;
22
+ placeBeforePageItemID: number | null;
23
+ channelID: number | null;
24
+ releaseDate: string | null;
25
+ pullDate: string | null;
26
+ }
27
+ export declare class PageVisible {
28
+ menu: boolean | null;
29
+ sitemap: boolean | null;
30
+ }
31
+ export declare class PageScripts {
32
+ excludedFromGlobal: boolean;
33
+ top: string | null;
34
+ bottom: string | null;
35
+ }
36
+ export declare class PageDynamic {
37
+ referenceName: string | null;
38
+ fieldName: string | null;
39
+ titleFormula: string | null;
40
+ menuTextFormula: string | null;
41
+ pageNameFormula: string | null;
42
+ visibleOnMenu: boolean | null;
43
+ visibleOnSitemap: boolean | null;
44
+ }
45
+ export declare class PageItemProperties {
46
+ state: number | null;
47
+ modified: string | null;
48
+ versionID: number | null;
49
+ }
50
+ export declare class PageModule {
51
+ module: string | null;
52
+ item: any | null;
53
+ }
54
+ export interface Dictionary<T> {
55
+ [Key: string]: T;
56
+ }
@@ -1,21 +1,39 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PageModule = exports.PageItemProperties = exports.PageDynamic = exports.PageScripts = exports.PageVisible = exports.PageItem = void 0;
4
- class PageItem {
5
- }
6
- exports.PageItem = PageItem;
7
- class PageVisible {
8
- }
9
- exports.PageVisible = PageVisible;
10
- class PageScripts {
11
- }
12
- exports.PageScripts = PageScripts;
13
- class PageDynamic {
14
- }
15
- exports.PageDynamic = PageDynamic;
16
- class PageItemProperties {
17
- }
18
- exports.PageItemProperties = PageItemProperties;
19
- class PageModule {
20
- }
21
- exports.PageModule = PageModule;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PageModule = exports.PageItemProperties = exports.PageDynamic = exports.PageScripts = exports.PageVisible = exports.PageItem = void 0;
4
+ var PageItem = /** @class */ (function () {
5
+ function PageItem() {
6
+ }
7
+ return PageItem;
8
+ }());
9
+ exports.PageItem = PageItem;
10
+ var PageVisible = /** @class */ (function () {
11
+ function PageVisible() {
12
+ }
13
+ return PageVisible;
14
+ }());
15
+ exports.PageVisible = PageVisible;
16
+ var PageScripts = /** @class */ (function () {
17
+ function PageScripts() {
18
+ }
19
+ return PageScripts;
20
+ }());
21
+ exports.PageScripts = PageScripts;
22
+ var PageDynamic = /** @class */ (function () {
23
+ function PageDynamic() {
24
+ }
25
+ return PageDynamic;
26
+ }());
27
+ exports.PageDynamic = PageDynamic;
28
+ var PageItemProperties = /** @class */ (function () {
29
+ function PageItemProperties() {
30
+ }
31
+ return PageItemProperties;
32
+ }());
33
+ exports.PageItemProperties = PageItemProperties;
34
+ var PageModule = /** @class */ (function () {
35
+ function PageModule() {
36
+ }
37
+ return PageModule;
38
+ }());
39
+ exports.PageModule = PageModule;
@@ -1,20 +1,20 @@
1
- export declare class Sitemap {
2
- digitalChannelID: number | null;
3
- name: string | null;
4
- digitalChannelTypeName: string | null;
5
- isDefaultChannel: boolean;
6
- pages: (SitemapItem | null)[];
7
- }
8
- export declare class SitemapItem {
9
- pageID: number | null;
10
- parentPageID: number | null;
11
- pageName: string | null;
12
- title: string | null;
13
- pageType: string | null;
14
- languageCode: string | null;
15
- pageMode: number | null;
16
- dynamicPageContentReferenceName: string | null;
17
- dynamicPageContentViewFieldName: string | null;
18
- uRL: string | null;
19
- childPages: (SitemapItem | null)[];
20
- }
1
+ export declare class Sitemap {
2
+ digitalChannelID: number | null;
3
+ name: string | null;
4
+ digitalChannelTypeName: string | null;
5
+ isDefaultChannel: boolean;
6
+ pages: (SitemapItem | null)[];
7
+ }
8
+ export declare class SitemapItem {
9
+ pageID: number | null;
10
+ parentPageID: number | null;
11
+ pageName: string | null;
12
+ title: string | null;
13
+ pageType: string | null;
14
+ languageCode: string | null;
15
+ pageMode: number | null;
16
+ dynamicPageContentReferenceName: string | null;
17
+ dynamicPageContentViewFieldName: string | null;
18
+ uRL: string | null;
19
+ childPages: (SitemapItem | null)[];
20
+ }
@@ -1,9 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SitemapItem = exports.Sitemap = void 0;
4
- class Sitemap {
5
- }
6
- exports.Sitemap = Sitemap;
7
- class SitemapItem {
8
- }
9
- exports.SitemapItem = SitemapItem;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SitemapItem = exports.Sitemap = void 0;
4
+ var Sitemap = /** @class */ (function () {
5
+ function Sitemap() {
6
+ }
7
+ return Sitemap;
8
+ }());
9
+ exports.Sitemap = Sitemap;
10
+ var SitemapItem = /** @class */ (function () {
11
+ function SitemapItem() {
12
+ }
13
+ return SitemapItem;
14
+ }());
15
+ exports.SitemapItem = SitemapItem;
@@ -1,22 +1,22 @@
1
- import { InstanceRole } from "./instanceRole";
2
- export declare class WebsiteUser {
3
- userID: number | null;
4
- userName: string | null;
5
- firstName: string | null;
6
- lastName: string | null;
7
- emailAddress: string | null;
8
- isDeleted: boolean;
9
- fullName: string | null;
10
- isTeamUser: boolean;
11
- isSuspended: boolean;
12
- teamID: number | null;
13
- userRoles: InstanceRole[];
14
- userPermissions: InstancePermission[];
15
- loginDate: string | null;
16
- isOrgAdmin: boolean;
17
- }
18
- export declare class InstancePermission {
19
- permissionType: string | null;
20
- permissionID: number;
21
- name: string | null;
22
- }
1
+ import { InstanceRole } from "./instanceRole";
2
+ export declare class WebsiteUser {
3
+ userID: number | null;
4
+ userName: string | null;
5
+ firstName: string | null;
6
+ lastName: string | null;
7
+ emailAddress: string | null;
8
+ isDeleted: boolean;
9
+ fullName: string | null;
10
+ isTeamUser: boolean;
11
+ isSuspended: boolean;
12
+ teamID: number | null;
13
+ userRoles: InstanceRole[];
14
+ userPermissions: InstancePermission[];
15
+ loginDate: string | null;
16
+ isOrgAdmin: boolean;
17
+ }
18
+ export declare class InstancePermission {
19
+ permissionType: string | null;
20
+ permissionID: number;
21
+ name: string | null;
22
+ }
@@ -1,9 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstancePermission = exports.WebsiteUser = void 0;
4
- class WebsiteUser {
5
- }
6
- exports.WebsiteUser = WebsiteUser;
7
- class InstancePermission {
8
- }
9
- exports.InstancePermission = InstancePermission;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InstancePermission = exports.WebsiteUser = void 0;
4
+ var WebsiteUser = /** @class */ (function () {
5
+ function WebsiteUser() {
6
+ }
7
+ return WebsiteUser;
8
+ }());
9
+ exports.WebsiteUser = WebsiteUser;
10
+ var InstancePermission = /** @class */ (function () {
11
+ function InstancePermission() {
12
+ }
13
+ return InstancePermission;
14
+ }());
15
+ exports.InstancePermission = InstancePermission;
package/license.txt CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) [year] [fullname]
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) [year] [fullname]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.