oneentry 1.0.20 → 1.0.21

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
@@ -27,17 +27,17 @@ To use the OneEntry Headless CMS SDK in your project, import the defineOneEntry
27
27
  import { defineOneEntry } from 'oneentry'
28
28
 
29
29
  const {
30
- Product,
31
- Page,
32
- ProductStatus,
33
- Templates,
34
- TemplatesPreview,
35
- AttributeSet,
36
- Admins,
37
- GeneralTypes,
38
- Locales,
39
- Menus,
40
- Modules
30
+ Admins,
31
+ Forms,
32
+ FormData,
33
+ GeneralTypes,
34
+ Locales,
35
+ Menus,
36
+ Pages,
37
+ Products,
38
+ ProductStatuses,
39
+ Templates,
40
+ TemplatePreviews
41
41
  } = defineOneEntry('your-url')
42
42
  ```
43
43
  >
@@ -46,9 +46,6 @@ Modules
46
46
  ```
47
47
  const api = defineOneEntry('your-url')
48
48
  ```
49
- # Classes and Methods
50
-
51
- The OneEntry Headless CMS SDK contains two classes: ProductApi and PageApi.
52
49
 
53
50
  ## Admins
54
51
 
@@ -151,7 +148,7 @@ Example return:
151
148
  "processingType": "email",
152
149
  "localizeInfos": {
153
150
  "en_US": {
154
- "title": "Моя форма",
151
+ "title": "My form",
155
152
  "titleForSite": "",
156
153
  "successMessage": "",
157
154
  "unsuccessMessage": "",
@@ -175,14 +172,30 @@ Example return:
175
172
  }
176
173
  ```
177
174
 
178
- ## FormsData
175
+ ## FormData
179
176
 
180
- const { FormsData } = defineOneEntry('your-url');
177
+ const { FormData } = defineOneEntry('your-url');
181
178
 
182
179
  ### postFormsData
183
180
 
184
181
  ```
185
- const value = await FormsData.postFormsData()
182
+ const value = await FormData.postFormsData(data)
183
+ ```
184
+
185
+ >The method takes as a parameter request body
186
+
187
+ Example
188
+ ```
189
+ {
190
+ "formIdentifier": "my-form",
191
+ "formData": [
192
+ {
193
+ "marker": "name_1",
194
+ "value": "Name",
195
+ "langCode": "en_US"
196
+ }
197
+ ]
198
+ }
186
199
  ```
187
200
 
188
201
  > This method retrieves all form data objects from the API. It returns a Promise that resolves to an array of objects of type CreateFormDataDto.
@@ -197,7 +210,7 @@ Example return:
197
210
  "formData": {
198
211
  "en_US": [
199
212
  {
200
- "marker": "naimenovanie_1",
213
+ "marker": "name_1",
201
214
  "value": "Name"
202
215
  }
203
216
  ]
@@ -208,7 +221,7 @@ Example return:
208
221
  ### getFormsData
209
222
 
210
223
  ```
211
- const value = await FormsData.getFormsData()
224
+ const value = await FormData.getFormsData()
212
225
  ```
213
226
 
214
227
  > This method creates form data objects by sending a request to the API. It accepts an array of objects of type IFormsPost as the request body to provide the necessary form data. It returns a Promise that resolves to the created CreateFormDataDto objects.
@@ -224,7 +237,7 @@ Example return:
224
237
  "formData": {
225
238
  "en_US": [
226
239
  {
227
- "marker": "naimenovanie_1",
240
+ "marker": "name_1",
228
241
  "value": "Name"
229
242
  }
230
243
  ]
@@ -236,7 +249,7 @@ Example return:
236
249
  ### getFormsDataByMarker
237
250
 
238
251
  ```
239
- const value = await FormsData.getFormsDataByMarker('my-marker')
252
+ const value = await FormData.getFormsDataByMarker('my-marker')
240
253
  ```
241
254
 
242
255
  > This method retrieves a specific form data object by its marker from the API. It accepts a marker parameter as the marker of the form data. It returns a Promise that resolves to an array of objects of type FormDataEntity.
@@ -251,7 +264,7 @@ Example return:
251
264
  "formData": {
252
265
  "en_US": [
253
266
  {
254
- "marker": "naimenovanie_1",
267
+ "marker": "name_1",
255
268
  "value": "Name"
256
269
  }
257
270
  ]
@@ -280,6 +293,7 @@ Example return:
280
293
  }
281
294
  ]
282
295
  ```
296
+
283
297
  ## Locales
284
298
 
285
299
  ```
@@ -358,6 +372,62 @@ Example return:
358
372
  ```
359
373
  const { Pages } = defineOneEntry('your-url')
360
374
  ```
375
+ > In some methods, the langcode parameter can be either a string or an array of strings. It depends on which set of values will contain "attributeValues" and "localizeInfos"
376
+
377
+ Example
378
+
379
+ ```
380
+ const value = await Pages.getRootPages('en_US')
381
+
382
+ "localizeInfos": {
383
+ {
384
+ "title": "Catalog",
385
+ "content": "Content from catalog",
386
+ "menuTitle": "Catalog"
387
+ }
388
+ },
389
+ "attributeValues": {
390
+ {
391
+ "marker": {
392
+ "value": "Value",
393
+ "type": "string"
394
+ }
395
+ }
396
+ }
397
+ ```
398
+ Or
399
+ ```
400
+ const value = await Pages.getRootPages([ 'en_US', 'it_IT' ])
401
+
402
+ "localizeInfos": {
403
+ en_US: {
404
+ "title": "Catalog",
405
+ "content": "Content from catalog",
406
+ "menuTitle": "Catalog"
407
+ },
408
+ it_IT: {
409
+ "title": "Catalogo",
410
+ "content": "Contenuto dal catalogo",
411
+ "menuTitle": "Catalogo"
412
+ }
413
+ },
414
+ "attributeValues": {
415
+ en_US: {
416
+ "marker": {
417
+ "value": "Value",
418
+ "type": "string"
419
+ }
420
+ },
421
+ it_IT: {
422
+ "marker": {
423
+ "value": "Valore",
424
+ "type": "string"
425
+ }
426
+ }
427
+ }
428
+ ```
429
+
430
+
361
431
 
362
432
  ### getRootPages
363
433
 
@@ -413,7 +483,7 @@ Example return:
413
483
  ### getCatalogPages
414
484
 
415
485
  ```
416
- const value = await Pages.getCatalogPages({langCode:'en_US', limit:20, offset:5})
486
+ const value = await Pages.getCatalogPages(langCode = 'en_US', limit = 20, offset = 5)
417
487
  ```
418
488
 
419
489
  > This method retrieves all page objects with product information as an array from the API. It accepts two optional parameters limit and offset for pagination and language code parameter. It returns a Promise that resolves to an array of ContentIndexedPageDto objects or an empty array [] if there is no data.
@@ -599,6 +669,85 @@ Example return:
599
669
  }
600
670
  ```
601
671
 
672
+ ### getChildPagesByParentUrl
673
+
674
+ ```
675
+ const value = await Pages.getChildPagesByParentUrl('shop', 'en_US')
676
+ ```
677
+ > Getting child pages with information about products in the form of an array. Returns all created pages as an array of AdminIndexedPageDto objects or an empty array [] (if there is no data) for the selected parent.
678
+
679
+ Example return:
680
+ ```
681
+ {
682
+ "id": 1764,
683
+ "parentId": 0,
684
+ "config": {
685
+ "rowsPerPage": 1,
686
+ "productsPerRow": 1
687
+ },
688
+ "pageUrl": "string",
689
+ "depth": 3,
690
+ "localizeInfos": {
691
+ "en_US": {
692
+ "title": "Catalog",
693
+ "content": "Content for catalog",
694
+ "menuTitle": "Catalog"
695
+ }
696
+ },
697
+ "isVisible": true,
698
+ "products": 0,
699
+ "attributeSetId": 7,
700
+ "isSync": true,
701
+ "isEdit": true,
702
+ "userEditId": 0,
703
+ "position": 0,
704
+ "generalTypeId": 2,
705
+ "templateId": 0,
706
+ "attributesSets": {
707
+ "id7": 7,
708
+ "string_id18": ""
709
+ },
710
+ "childrenCount": 0,
711
+ "showChildren": true,
712
+ "version": 10
713
+ }
714
+ ```
715
+
716
+ ### getFormsByPageUrl
717
+ ```
718
+ const value = await Pages.getFormsByPageUrl('shop', 'en_US')
719
+ ```
720
+ > Get PositionFormDto objects for a related form by url. Returns an array of PositionFormDto objects.
721
+ ```
722
+ {
723
+ "id": 1764,
724
+ "updatedDate": "2023-11-12T12:51:45.623Z",
725
+ "version": 10,
726
+ "identifier": "marker",
727
+ "attributesSets": {
728
+ "string_id19": "",
729
+ "string_id18": ""
730
+ },
731
+ "attributeSetId": 0,
732
+ "processingType": "db",
733
+ "localizeInfos": {
734
+ "en_US": {
735
+ "title": "My form",
736
+ "titleForSite": "",
737
+ "successMessage": "",
738
+ "unsuccessMessage": "",
739
+ "urlAddress": "",
740
+ "database": "0",
741
+ "script": "0"
742
+ }
743
+ },
744
+ "processingData": {},
745
+ "position": 0,
746
+ "positionId": 12
747
+ }
748
+ ```
749
+
750
+
602
751
  ### getConfigPageByUrl
603
752
 
604
753
  ```
@@ -681,7 +830,6 @@ This module accepts a set of user parameters called userQuery. If the parameters
681
830
  conditionValue: null,
682
831
  conditionMarker: null,
683
832
  attributeMarker: null,
684
- langCode: 'en_US',
685
833
  sortOrder: 'DESC',
686
834
  sortKey: 'id'
687
835
  }
@@ -703,10 +851,66 @@ This module accepts a set of user parameters called userQuery. If the parameters
703
851
  >
704
852
  > 'nexs' - Does not exist
705
853
 
854
+ In some methods, the langcode parameter (default 'en_US') can be either a string or an array of strings. It depends on which set of values will contain "attributeValues" and "localizeInfos"
855
+
856
+ Example
857
+
858
+ ```
859
+ const value = await Products.getProducts('en_US')
860
+
861
+ "localizeInfos": {
862
+ {
863
+ "title": "Catalog",
864
+ "content": "Content from catalog",
865
+ "menuTitle": "Catalog"
866
+ }
867
+ },
868
+ "attributeValues": {
869
+ {
870
+ "marker": {
871
+ "value": "Value",
872
+ "type": "string"
873
+ }
874
+ }
875
+ }
876
+ ```
877
+ Or
878
+ ```
879
+ const value = await Products.getProducts([ 'en_US', 'it_IT' ])
880
+
881
+ "localizeInfos": {
882
+ en_US: {
883
+ "title": "Catalog",
884
+ "content": "Content from catalog",
885
+ "menuTitle": "Catalog"
886
+ },
887
+ it_IT: {
888
+ "title": "Catalogo",
889
+ "content": "Contenuto dal catalogo",
890
+ "menuTitle": "Catalogo"
891
+ }
892
+ },
893
+ "attributeValues": {
894
+ en_US: {
895
+ "marker": {
896
+ "value": "Value",
897
+ "type": "string"
898
+ }
899
+ },
900
+ it_IT: {
901
+ "marker": {
902
+ "value": "Valore",
903
+ "type": "string"
904
+ }
905
+ }
906
+ }
907
+ ```
908
+
909
+
706
910
  ### getProducts
707
911
 
708
912
  ```
709
- const value = await Products.getProducts()
913
+ const value = await Products.getProducts('en_US')
710
914
  ```
711
915
 
712
916
  > This method searches for product page objects with pagination and filtering based on the provided query parameters (userQuery). It returns a Promise that resolves to a list of products (IProduct[]).
@@ -754,7 +958,7 @@ Example return:
754
958
  ### getProductsEmptyPage
755
959
 
756
960
  ```
757
- const value = await Products.getProductsEmptyPage()
961
+ const value = await Products.getProductsEmptyPage('en_US')
758
962
  ```
759
963
 
760
964
  > This method searches for product page objects with pagination that do not have a category, based on the provided query parameters (userQuery). It returns a Promise that resolves to an array of items, where each item is a ContentIndexedProductDto object.
@@ -804,7 +1008,7 @@ Example return:
804
1008
  ### getProductsPageById
805
1009
 
806
1010
  ```
807
- const value = await Products.getProductsPageById(1)
1011
+ const value = await Products.getProductsPageById(1, 'en_US')
808
1012
  ```
809
1013
 
810
1014
  > This method searches for all product page objects with pagination for the selected category based on the page identifier (id). It accepts an optional userQuery parameter to set query parameters for the search. The query parameters include limit, offset, statusMarker, conditionValue, conditionMarker, attributeMarker, sortOrder, and sortKey. It returns a Promise that resolves to an array of ContentIndexedProductDto objects.
@@ -853,7 +1057,7 @@ Example return:
853
1057
  ### getProductsPageByUrl
854
1058
 
855
1059
  ```
856
- const value = await Products.getProductsPageByUrl('cup')
1060
+ const value = await Products.getProductsPageByUrl('cup', 'en_US')
857
1061
  ```
858
1062
 
859
1063
  > This method searches for all product page objects with pagination for the selected category based on the page URL (url). It accepts an optional userQuery parameter to set query parameters for the search. The query parameters include limit, offset, statusMarker, conditionValue, conditionMarker, attributeMarker, sortOrder, and sortKey. It returns a Promise that resolves to an array of ContentIndexedProductDto objects.
@@ -902,7 +1106,7 @@ Example return:
902
1106
  ### getRelatedProductsById
903
1107
 
904
1108
  ```
905
- const value = await Products.getRelatedProductsById(1)
1109
+ const value = await Products.getRelatedProductsById(1, ''en_US'', {limit:20, offset:1})
906
1110
  ```
907
1111
 
908
1112
  > This method retrieves all related product page objects for a specific product based on its identifier (id) from the API. It accepts an optional userQuery parameter for additional query parameters such as limit, offset, sortOrder, and sortKey. It returns a Promise that resolves to an array of ContentIndexedProductDto objects.
@@ -950,7 +1154,7 @@ Example return:
950
1154
  ### getProductById
951
1155
 
952
1156
  ```
953
- const value = await Products.getProductById(1)
1157
+ const value = await Products.getProductById(1, 'en_US')
954
1158
  ```
955
1159
 
956
1160
  > This method retrieves a single product object based on its identifier (id) from the API. It returns a Promise that resolves to a ContentIndexedProductDto object for the product.
@@ -1064,7 +1268,7 @@ Example return:
1064
1268
  ### searchProduct
1065
1269
 
1066
1270
  ```
1067
- const value = await Products.searchProduct('cup')
1271
+ const value = await Products.searchProduct('cup', 'en_US')
1068
1272
  ```
1069
1273
 
1070
1274
  > This method performs a quick search for product page objects based on a text query name. The search is performed on the title field of the localizeInfos object, taking the specified lang language code into consideration. It returns a Promise that resolves to an array of ContentIndexedProductDto objects.
@@ -1112,16 +1316,16 @@ Example return:
1112
1316
  ]
1113
1317
  ```
1114
1318
 
1115
- ## ProductStatus
1319
+ ## ProductStatuses
1116
1320
 
1117
1321
  ```
1118
- const { ProductStatus } = defineOneEntry('your-url');
1322
+ const { ProductStatuses } = defineOneEntry('your-url');
1119
1323
  ```
1120
1324
 
1121
1325
  ### getProductStatuses
1122
1326
 
1123
1327
  ```
1124
- const value = await ProductStatus.getProductStatuses()
1328
+ const value = await ProductStatuses.getProductStatuses()
1125
1329
  ```
1126
1330
 
1127
1331
  > This method searches for all product status objects from the API. It returns a Promise that resolves to an array of product status objects.
@@ -1145,7 +1349,7 @@ Example return:
1145
1349
  ### getProductStatusesById
1146
1350
 
1147
1351
  ```
1148
- const value = await ProductStatus.getProductStatusesById(1)
1352
+ const value = await ProductStatuses.getProductStatusesById(1)
1149
1353
  ```
1150
1354
 
1151
1355
  > This method searches for a product status object based on its identifier (id) from the API. It returns a Promise that resolves to a product status object.
@@ -1167,7 +1371,7 @@ Example return:
1167
1371
  ### getProductsByStatusMarker
1168
1372
 
1169
1373
  ```
1170
- const value = await ProductStatus.getProductsByStatusMarker('marker')
1374
+ const value = await ProductStatuses.getProductsByStatusMarker('marker')
1171
1375
  ```
1172
1376
 
1173
1377
  > This method searches for a product status object based on its textual identifier (marker) from the API. It returns a Promise that resolves to a product status object.
@@ -1189,7 +1393,7 @@ Example return:
1189
1393
  ### validateMarker
1190
1394
 
1191
1395
  ```
1192
- const value = await ProductStatus.validateMarker('marker')
1396
+ const value = await ProductStatuses.validateMarker('marker')
1193
1397
  ```
1194
1398
 
1195
1399
  > This method checks the existence of a textual identifier (marker). It takes a marker parameter as input, representing the product marker to validate. It returns a Promise that resolves to true if the textual identifier (marker) exists or false if it doesn't.
@@ -1275,16 +1479,16 @@ Example return:
1275
1479
  ]
1276
1480
  ```
1277
1481
 
1278
- ## TemplatesPreview
1482
+ ## TemplatePreviews
1279
1483
 
1280
1484
  ```
1281
- const { TemplatesPreview } = defineOneEntry('your-url')
1485
+ const { TemplatePreviews } = defineOneEntry('your-url')
1282
1486
  ```
1283
1487
 
1284
1488
  ### getTemplatesPreview
1285
1489
 
1286
1490
  ```
1287
- const value = await TemplatesPreview.getTemplatesPreview()
1491
+ const value = await TemplatePreviews.getTemplatesPreview()
1288
1492
  ```
1289
1493
 
1290
1494
  > This method retrieves all template objects from the API. It returns a Promise that resolves to an array of TemplatePreviewsEntity template objects.
@@ -1320,7 +1524,7 @@ Example return:
1320
1524
  ### getTemplatesPreviewById
1321
1525
 
1322
1526
  ```
1323
- const value = await TemplatesPreview.getTemplatesPreviewById(1)
1527
+ const value = await TemplatePreviews.getTemplatesPreviewById(1)
1324
1528
  ```
1325
1529
 
1326
1530
  > This method retrieves a single template object based on its identifier (id) from the API. It returns a Promise that resolves to a TemplatePreviewsEntity object.
@@ -1355,7 +1559,7 @@ Example return:
1355
1559
  ### getTemplatesPreviewByMarker
1356
1560
 
1357
1561
  ```
1358
- const value = await TemplatesPreview.getTemplatesPreviewByMarker('marker')
1562
+ const value = await TemplatePreviews.getTemplatesPreviewByMarker('marker')
1359
1563
  ```
1360
1564
 
1361
1565
  > This method retrieves a single template object based on its textual identifier (marker) from the API. It returns a Promise that resolves to a TemplatePreviewsEntity object.
package/dist/index.d.ts CHANGED
@@ -12,15 +12,15 @@ import FormsDataApi from "./formsData/formsDataApi";
12
12
  interface IDefineApi {
13
13
  Admins: AdminsApi;
14
14
  Forms: FormsApi;
15
- FormsData: FormsDataApi;
15
+ FormData: FormsDataApi;
16
16
  GeneralTypes: GeneralTypesApi;
17
17
  Locales: LocalesApi;
18
18
  Menus: MenusApi;
19
- Page: PageApi;
20
- Product: ProductApi;
21
- ProductStatus: ProductStatusesApi;
19
+ Pages: PageApi;
20
+ Products: ProductApi;
21
+ ProductStatuses: ProductStatusesApi;
22
22
  Templates: TemplatesApi;
23
- TemplatesPreview: TemplatesPreviewApi;
23
+ TemplatePreviews: TemplatesPreviewApi;
24
24
  }
25
25
  /**
26
26
  * Define API.
package/dist/index.js CHANGED
@@ -18,29 +18,29 @@ const formsDataApi_1 = require("./formsData/formsDataApi");
18
18
  * @returns {IDefineApi} - List of methods set.
19
19
  */
20
20
  function defineOneEntry(url) {
21
- const Product = new productsApi_1.default(url);
22
- const Page = new pagesApi_1.default(url);
23
- const ProductStatus = new productStatusesApi_1.default(url);
24
- const Templates = new templatesApi_1.default(url);
25
- const TemplatesPreview = new templatesPreviewApi_1.default(url);
26
21
  const Admins = new adminsApi_1.default(url);
22
+ const Forms = new formsApi_1.default(url);
23
+ const FormData = new formsDataApi_1.default(url);
27
24
  const GeneralTypes = new GeneralTypesApi_1.default(url);
28
25
  const Locales = new localesApi_1.default(url);
29
26
  const Menus = new menusApi_1.default(url);
30
- const Forms = new formsApi_1.default(url);
31
- const FormsData = new formsDataApi_1.default(url);
27
+ const Pages = new pagesApi_1.default(url);
28
+ const Products = new productsApi_1.default(url);
29
+ const ProductStatuses = new productStatusesApi_1.default(url);
30
+ const Templates = new templatesApi_1.default(url);
31
+ const TemplatePreviews = new templatesPreviewApi_1.default(url);
32
32
  return {
33
33
  Admins,
34
34
  Forms,
35
- FormsData,
35
+ FormData,
36
36
  GeneralTypes,
37
37
  Locales,
38
38
  Menus,
39
- Page,
40
- Product,
41
- ProductStatus,
39
+ Pages,
40
+ Products,
41
+ ProductStatuses,
42
42
  Templates,
43
- TemplatesPreview
43
+ TemplatePreviews
44
44
  };
45
45
  }
46
46
  exports.defineOneEntry = defineOneEntry;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,wDAA+C;AAC/C,+CAAuC;AACvC,8EAAuE;AACvE,2DAAoD;AACpD,iFAA0E;AAC1E,kDAA0C;AAC1C,qEAA6D;AAC7D,qDAA6C;AAC7C,+CAAwC;AACxC,+CAAwC;AACxC,2DAAoD;AAgBpD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,GAAU;IACrC,MAAM,OAAO,GAAc,IAAI,qBAAU,CAAC,GAAG,CAAC,CAAA;IAC9C,MAAM,IAAI,GAAW,IAAI,kBAAO,CAAC,GAAG,CAAC,CAAA;IACrC,MAAM,aAAa,GAAsB,IAAI,4BAAkB,CAAC,GAAG,CAAC,CAAA;IACpE,MAAM,SAAS,GAAiB,IAAI,sBAAY,CAAC,GAAG,CAAC,CAAA;IACrD,MAAM,gBAAgB,GAAwB,IAAI,6BAAmB,CAAC,GAAG,CAAC,CAAA;IAC1E,MAAM,MAAM,GAAc,IAAI,mBAAS,CAAC,GAAG,CAAC,CAAA;IAC5C,MAAM,YAAY,GAAqB,IAAI,yBAAe,CAAC,GAAG,CAAC,CAAA;IAC/D,MAAM,OAAO,GAAe,IAAI,oBAAU,CAAC,GAAG,CAAC,CAAA;IAC/C,MAAM,KAAK,GAAa,IAAI,kBAAQ,CAAC,GAAG,CAAC,CAAA;IACzC,MAAM,KAAK,GAAa,IAAI,kBAAQ,CAAC,GAAG,CAAC,CAAA;IACzC,MAAM,SAAS,GAAiB,IAAI,sBAAY,CAAC,GAAG,CAAC,CAAA;IAErD,OAAO;QACH,MAAM;QACN,KAAK;QACL,SAAS;QACT,YAAY;QACZ,OAAO;QACP,KAAK;QACL,IAAI;QACJ,OAAO;QACP,aAAa;QACb,SAAS;QACT,gBAAgB;KACnB,CAAA;AACL,CAAC;AA1BD,wCA0BC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,wDAA+C;AAC/C,+CAAuC;AACvC,8EAAuE;AACvE,2DAAoD;AACpD,iFAA0E;AAC1E,kDAA0C;AAC1C,qEAA6D;AAC7D,qDAA6C;AAC7C,+CAAwC;AACxC,+CAAwC;AACxC,2DAAoD;AAgBpD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,GAAU;IACrC,MAAM,MAAM,GAAc,IAAI,mBAAS,CAAC,GAAG,CAAC,CAAA;IAC5C,MAAM,KAAK,GAAa,IAAI,kBAAQ,CAAC,GAAG,CAAC,CAAA;IACzC,MAAM,QAAQ,GAAiB,IAAI,sBAAY,CAAC,GAAG,CAAC,CAAA;IACpD,MAAM,YAAY,GAAqB,IAAI,yBAAe,CAAC,GAAG,CAAC,CAAA;IAC/D,MAAM,OAAO,GAAe,IAAI,oBAAU,CAAC,GAAG,CAAC,CAAA;IAC/C,MAAM,KAAK,GAAa,IAAI,kBAAQ,CAAC,GAAG,CAAC,CAAA;IACzC,MAAM,KAAK,GAAW,IAAI,kBAAO,CAAC,GAAG,CAAC,CAAA;IACtC,MAAM,QAAQ,GAAc,IAAI,qBAAU,CAAC,GAAG,CAAC,CAAA;IAC/C,MAAM,eAAe,GAAsB,IAAI,4BAAkB,CAAC,GAAG,CAAC,CAAA;IACtE,MAAM,SAAS,GAAiB,IAAI,sBAAY,CAAC,GAAG,CAAC,CAAA;IACrD,MAAM,gBAAgB,GAAwB,IAAI,6BAAmB,CAAC,GAAG,CAAC,CAAA;IAE1E,OAAO;QACH,MAAM;QACN,KAAK;QACL,QAAQ;QACR,YAAY;QACZ,OAAO;QACP,KAAK;QACL,KAAK;QACL,QAAQ;QACR,eAAe;QACf,SAAS;QACT,gBAAgB;KACnB,CAAA;AACL,CAAC;AA1BD,wCA0BC"}
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "oneentry",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "/dist"
9
9
  ],
10
- "author": "OneEntry",
10
+
11
+ "author": "ONEENTRY PORTAL CO.",
12
+ "license": "ISC",
11
13
  "dependencies": {
12
14
  "jsdoc": "^4.0.2",
13
15
  "typescript": "^5.2.2"
14
16
  }
15
- }
17
+ }