oneentry 1.0.20 → 1.0.22

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
  ```
@@ -673,6 +822,8 @@ const { Products } = defineOneEntry('your-url')
673
822
 
674
823
  This module accepts a set of user parameters called userQuery. If the parameters are not passed to the method, the default value will be applied.
675
824
 
825
+ Parameters:
826
+
676
827
  ```
677
828
  {
678
829
  offset: 0,
@@ -681,11 +832,11 @@ This module accepts a set of user parameters called userQuery. If the parameters
681
832
  conditionValue: null,
682
833
  conditionMarker: null,
683
834
  attributeMarker: null,
684
- langCode: 'en_US',
685
835
  sortOrder: 'DESC',
686
836
  sortKey: 'id'
687
837
  }
688
838
  ```
839
+
689
840
  "conditionMarker" by which values are filtered (not set by default), possible values:
690
841
  > 'in' - Contains,
691
842
  >
@@ -703,10 +854,66 @@ This module accepts a set of user parameters called userQuery. If the parameters
703
854
  >
704
855
  > 'nexs' - Does not exist
705
856
 
857
+ 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"
858
+
859
+ Example
860
+
861
+ ```
862
+ const value = await Products.getProducts('en_US')
863
+
864
+ "localizeInfos": {
865
+ {
866
+ "title": "Catalog",
867
+ "content": "Content from catalog",
868
+ "menuTitle": "Catalog"
869
+ }
870
+ },
871
+ "attributeValues": {
872
+ {
873
+ "marker": {
874
+ "value": "Value",
875
+ "type": "string"
876
+ }
877
+ }
878
+ }
879
+ ```
880
+ Or
881
+ ```
882
+ const value = await Products.getProducts([ 'en_US', 'it_IT' ])
883
+
884
+ "localizeInfos": {
885
+ en_US: {
886
+ "title": "Catalog",
887
+ "content": "Content from catalog",
888
+ "menuTitle": "Catalog"
889
+ },
890
+ it_IT: {
891
+ "title": "Catalogo",
892
+ "content": "Contenuto dal catalogo",
893
+ "menuTitle": "Catalogo"
894
+ }
895
+ },
896
+ "attributeValues": {
897
+ en_US: {
898
+ "marker": {
899
+ "value": "Value",
900
+ "type": "string"
901
+ }
902
+ },
903
+ it_IT: {
904
+ "marker": {
905
+ "value": "Valore",
906
+ "type": "string"
907
+ }
908
+ }
909
+ }
910
+ ```
911
+
912
+
706
913
  ### getProducts
707
914
 
708
915
  ```
709
- const value = await Products.getProducts()
916
+ const value = await Products.getProducts('en_US')
710
917
  ```
711
918
 
712
919
  > 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 +961,7 @@ Example return:
754
961
  ### getProductsEmptyPage
755
962
 
756
963
  ```
757
- const value = await Products.getProductsEmptyPage()
964
+ const value = await Products.getProductsEmptyPage('en_US')
758
965
  ```
759
966
 
760
967
  > 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 +1011,7 @@ Example return:
804
1011
  ### getProductsPageById
805
1012
 
806
1013
  ```
807
- const value = await Products.getProductsPageById(1)
1014
+ const value = await Products.getProductsPageById(1, 'en_US')
808
1015
  ```
809
1016
 
810
1017
  > 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 +1060,7 @@ Example return:
853
1060
  ### getProductsPageByUrl
854
1061
 
855
1062
  ```
856
- const value = await Products.getProductsPageByUrl('cup')
1063
+ const value = await Products.getProductsPageByUrl('cup', 'en_US')
857
1064
  ```
858
1065
 
859
1066
  > 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 +1109,7 @@ Example return:
902
1109
  ### getRelatedProductsById
903
1110
 
904
1111
  ```
905
- const value = await Products.getRelatedProductsById(1)
1112
+ const value = await Products.getRelatedProductsById(1, ''en_US'', {limit:20, offset:1})
906
1113
  ```
907
1114
 
908
1115
  > 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 +1157,7 @@ Example return:
950
1157
  ### getProductById
951
1158
 
952
1159
  ```
953
- const value = await Products.getProductById(1)
1160
+ const value = await Products.getProductById(1, 'en_US')
954
1161
  ```
955
1162
 
956
1163
  > 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 +1271,7 @@ Example return:
1064
1271
  ### searchProduct
1065
1272
 
1066
1273
  ```
1067
- const value = await Products.searchProduct('cup')
1274
+ const value = await Products.searchProduct('cup', 'en_US')
1068
1275
  ```
1069
1276
 
1070
1277
  > 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 +1319,16 @@ Example return:
1112
1319
  ]
1113
1320
  ```
1114
1321
 
1115
- ## ProductStatus
1322
+ ## ProductStatuses
1116
1323
 
1117
1324
  ```
1118
- const { ProductStatus } = defineOneEntry('your-url');
1325
+ const { ProductStatuses } = defineOneEntry('your-url');
1119
1326
  ```
1120
1327
 
1121
1328
  ### getProductStatuses
1122
1329
 
1123
1330
  ```
1124
- const value = await ProductStatus.getProductStatuses()
1331
+ const value = await ProductStatuses.getProductStatuses()
1125
1332
  ```
1126
1333
 
1127
1334
  > 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 +1352,7 @@ Example return:
1145
1352
  ### getProductStatusesById
1146
1353
 
1147
1354
  ```
1148
- const value = await ProductStatus.getProductStatusesById(1)
1355
+ const value = await ProductStatuses.getProductStatusesById(1)
1149
1356
  ```
1150
1357
 
1151
1358
  > 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 +1374,7 @@ Example return:
1167
1374
  ### getProductsByStatusMarker
1168
1375
 
1169
1376
  ```
1170
- const value = await ProductStatus.getProductsByStatusMarker('marker')
1377
+ const value = await ProductStatuses.getProductsByStatusMarker('marker')
1171
1378
  ```
1172
1379
 
1173
1380
  > 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 +1396,7 @@ Example return:
1189
1396
  ### validateMarker
1190
1397
 
1191
1398
  ```
1192
- const value = await ProductStatus.validateMarker('marker')
1399
+ const value = await ProductStatuses.validateMarker('marker')
1193
1400
  ```
1194
1401
 
1195
1402
  > 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 +1482,16 @@ Example return:
1275
1482
  ]
1276
1483
  ```
1277
1484
 
1278
- ## TemplatesPreview
1485
+ ## TemplatePreviews
1279
1486
 
1280
1487
  ```
1281
- const { TemplatesPreview } = defineOneEntry('your-url')
1488
+ const { TemplatePreviews } = defineOneEntry('your-url')
1282
1489
  ```
1283
1490
 
1284
1491
  ### getTemplatesPreview
1285
1492
 
1286
1493
  ```
1287
- const value = await TemplatesPreview.getTemplatesPreview()
1494
+ const value = await TemplatePreviews.getTemplatesPreview()
1288
1495
  ```
1289
1496
 
1290
1497
  > This method retrieves all template objects from the API. It returns a Promise that resolves to an array of TemplatePreviewsEntity template objects.
@@ -1320,7 +1527,7 @@ Example return:
1320
1527
  ### getTemplatesPreviewById
1321
1528
 
1322
1529
  ```
1323
- const value = await TemplatesPreview.getTemplatesPreviewById(1)
1530
+ const value = await TemplatePreviews.getTemplatesPreviewById(1)
1324
1531
  ```
1325
1532
 
1326
1533
  > 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 +1562,7 @@ Example return:
1355
1562
  ### getTemplatesPreviewByMarker
1356
1563
 
1357
1564
  ```
1358
- const value = await TemplatesPreview.getTemplatesPreviewByMarker('marker')
1565
+ const value = await TemplatePreviews.getTemplatesPreviewByMarker('marker')
1359
1566
  ```
1360
1567
 
1361
1568
  > 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,13 +1,14 @@
1
1
  {
2
2
  "name": "oneentry",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
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
+ "author": "ONEENTRY PORTAL CO.",
11
+ "license": "ISC",
11
12
  "dependencies": {
12
13
  "jsdoc": "^4.0.2",
13
14
  "typescript": "^5.2.2"