Socket
Socket
Sign inDemoInstall

@kontent-ai/delivery-sdk

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kontent-ai/delivery-sdk - npm Package Compare versions

Comparing version 12.3.0 to 12.4.0

dist/cjs/mappers/sync.mapper.d.ts

2

dist/bundles/report.json

@@ -1,1 +0,1 @@

[{"label":"kontent-delivery.umd.js","isAsset":true,"statSize":295786,"parsedSize":371348,"gzipSize":59738,"groups":[{"label":"lib","path":"./lib","statSize":165416,"groups":[{"label":"client","path":"./lib/client","statSize":4449,"groups":[{"id":"./lib/client/delivery-client.factory.ts","label":"delivery-client.factory.ts","path":"./lib/client/delivery-client.factory.ts","statSize":332},{"id":"./lib/client/delivery-client.ts","label":"delivery-client.ts","path":"./lib/client/delivery-client.ts","statSize":3084},{"id":"./lib/client/idelivery-client.interface.ts","label":"idelivery-client.interface.ts","path":"./lib/client/idelivery-client.interface.ts","statSize":79},{"id":"./lib/client/index.ts","label":"index.ts","path":"./lib/client/index.ts","statSize":954}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./lib/config","statSize":907,"groups":[{"id":"./lib/config/delivery-configs.ts","label":"delivery-configs.ts","path":"./lib/config/delivery-configs.ts","statSize":79},{"id":"./lib/config/index.ts","label":"index.ts","path":"./lib/config/index.ts","statSize":828}],"parsedSize":0,"gzipSize":0},{"label":"contracts","path":"./lib/contracts","statSize":900,"groups":[{"id":"./lib/contracts/contracts.ts","label":"contracts.ts","path":"./lib/contracts/contracts.ts","statSize":79},{"id":"./lib/contracts/index.ts","label":"index.ts","path":"./lib/contracts/index.ts","statSize":821}],"parsedSize":0,"gzipSize":0},{"label":"elements","path":"./lib/elements","statSize":1977,"groups":[{"id":"./lib/elements/element-models.ts","label":"element-models.ts","path":"./lib/elements/element-models.ts","statSize":79},{"id":"./lib/elements/element-resolver.ts","label":"element-resolver.ts","path":"./lib/elements/element-resolver.ts","statSize":79},{"id":"./lib/elements/element-type.ts","label":"element-type.ts","path":"./lib/elements/element-type.ts","statSize":761},{"id":"./lib/elements/elements.ts","label":"elements.ts","path":"./lib/elements/elements.ts","statSize":79},{"id":"./lib/elements/index.ts","label":"index.ts","path":"./lib/elements/index.ts","statSize":979}],"parsedSize":0,"gzipSize":0},{"label":"images","path":"./lib/images","statSize":6896,"groups":[{"id":"./lib/images/image-url-transformation-builder.factory.ts","label":"image-url-transformation-builder.factory.ts","path":"./lib/images/image-url-transformation-builder.factory.ts","statSize":380},{"id":"./lib/images/image-url-transformation-builder.ts","label":"image-url-transformation-builder.ts","path":"./lib/images/image-url-transformation-builder.ts","statSize":5463},{"id":"./lib/images/image.models.ts","label":"image.models.ts","path":"./lib/images/image.models.ts","statSize":79},{"id":"./lib/images/index.ts","label":"index.ts","path":"./lib/images/index.ts","statSize":974}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":1398,"parsedSize":371348,"gzipSize":59738},{"label":"mappers","path":"./lib/mappers","statSize":28928,"groups":[{"id":"./lib/mappers/element.mapper.ts","label":"element.mapper.ts","path":"./lib/mappers/element.mapper.ts","statSize":17713},{"id":"./lib/mappers/generic-element.mapper.ts","label":"generic-element.mapper.ts","path":"./lib/mappers/generic-element.mapper.ts","statSize":600},{"id":"./lib/mappers/index.ts","label":"index.ts","path":"./lib/mappers/index.ts","statSize":1095},{"id":"./lib/mappers/item.mapper.ts","label":"item.mapper.ts","path":"./lib/mappers/item.mapper.ts","statSize":4476},{"id":"./lib/mappers/language.mapper.ts","label":"language.mapper.ts","path":"./lib/mappers/language.mapper.ts","statSize":532},{"id":"./lib/mappers/taxonomy.mapper.ts","label":"taxonomy.mapper.ts","path":"./lib/mappers/taxonomy.mapper.ts","statSize":2163},{"id":"./lib/mappers/type.mapper.ts","label":"type.mapper.ts","path":"./lib/mappers/type.mapper.ts","statSize":2349}],"parsedSize":0,"gzipSize":0},{"label":"models","path":"./lib/models","statSize":18304,"groups":[{"label":"common","path":"./lib/models/common","statSize":16695,"groups":[{"id":"./lib/models/common/base-responses.ts","label":"base-responses.ts","path":"./lib/models/common/base-responses.ts","statSize":79},{"id":"./lib/models/common/common-models.ts","label":"common-models.ts","path":"./lib/models/common/common-models.ts","statSize":380},{"id":"./lib/models/common/filters.ts","label":"filters.ts","path":"./lib/models/common/filters.ts","statSize":8747},{"id":"./lib/models/common/headers.ts","label":"headers.ts","path":"./lib/models/common/headers.ts","statSize":458},{"id":"./lib/models/common/index.ts","label":"index.ts","path":"./lib/models/common/index.ts","statSize":1123},{"id":"./lib/models/common/pagination.class.ts","label":"pagination.class.ts","path":"./lib/models/common/pagination.class.ts","statSize":79},{"id":"./lib/models/common/parameters.ts","label":"parameters.ts","path":"./lib/models/common/parameters.ts","statSize":5750},{"id":"./lib/models/common/sort-order.ts","label":"sort-order.ts","path":"./lib/models/common/sort-order.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"id":"./lib/models/content-type-models.ts","label":"content-type-models.ts","path":"./lib/models/content-type-models.ts","statSize":79},{"id":"./lib/models/element-models.ts","label":"element-models.ts","path":"./lib/models/element-models.ts","statSize":79},{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":1135},{"id":"./lib/models/item-models.ts","label":"item-models.ts","path":"./lib/models/item-models.ts","statSize":79},{"id":"./lib/models/language-models.ts","label":"language-models.ts","path":"./lib/models/language-models.ts","statSize":79},{"id":"./lib/models/responses.ts","label":"responses.ts","path":"./lib/models/responses.ts","statSize":79},{"id":"./lib/models/taxonomy-models.ts","label":"taxonomy-models.ts","path":"./lib/models/taxonomy-models.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./lib/parser","statSize":23426,"groups":[{"label":"implementation","path":"./lib/parser/implementation","statSize":17251,"groups":[{"id":"./lib/parser/implementation/async-browser-parser.class.ts","label":"async-browser-parser.class.ts","path":"./lib/parser/implementation/async-browser-parser.class.ts","statSize":9377},{"id":"./lib/parser/implementation/browser-parser.class.ts","label":"browser-parser.class.ts","path":"./lib/parser/implementation/browser-parser.class.ts","statSize":7874}],"parsedSize":0,"gzipSize":0},{"id":"./lib/parser/index.ts","label":"index.ts","path":"./lib/parser/index.ts","statSize":1089},{"id":"./lib/parser/parse-models.ts","label":"parse-models.ts","path":"./lib/parser/parse-models.ts","statSize":467},{"id":"./lib/parser/parser-configuration.ts","label":"parser-configuration.ts","path":"./lib/parser/parser-configuration.ts","statSize":743},{"id":"./lib/parser/parser.helper.ts","label":"parser.helper.ts","path":"./lib/parser/parser.helper.ts","statSize":3876}],"parsedSize":0,"gzipSize":0},{"label":"query","path":"./lib/query","statSize":29657,"groups":[{"label":"common","path":"./lib/query/common","statSize":10608,"groups":[{"id":"./lib/query/common/base-listing-query.class.ts","label":"base-listing-query.class.ts","path":"./lib/query/common/base-listing-query.class.ts","statSize":7303},{"id":"./lib/query/common/base-query.class.ts","label":"base-query.class.ts","path":"./lib/query/common/base-query.class.ts","statSize":3305}],"parsedSize":0,"gzipSize":0},{"label":"element","path":"./lib/query/element","statSize":1268,"groups":[{"id":"./lib/query/element/element-query.class.ts","label":"element-query.class.ts","path":"./lib/query/element/element-query.class.ts","statSize":1268}],"parsedSize":0,"gzipSize":0},{"id":"./lib/query/index.ts","label":"index.ts","path":"./lib/query/index.ts","statSize":1453},{"label":"item","path":"./lib/query/item","statSize":5773,"groups":[{"id":"./lib/query/item/multiple-items-query.class.ts","label":"multiple-items-query.class.ts","path":"./lib/query/item/multiple-items-query.class.ts","statSize":3523},{"id":"./lib/query/item/single-item-query.class.ts","label":"single-item-query.class.ts","path":"./lib/query/item/single-item-query.class.ts","statSize":2250}],"parsedSize":0,"gzipSize":0},{"label":"items-feed","path":"./lib/query/items-feed","statSize":3039,"groups":[{"id":"./lib/query/items-feed/items-feed-query.class.ts","label":"items-feed-query.class.ts","path":"./lib/query/items-feed/items-feed-query.class.ts","statSize":3039}],"parsedSize":0,"gzipSize":0},{"label":"language","path":"./lib/query/language","statSize":2163,"groups":[{"id":"./lib/query/language/languages-query.class.ts","label":"languages-query.class.ts","path":"./lib/query/language/languages-query.class.ts","statSize":2163}],"parsedSize":0,"gzipSize":0},{"label":"taxonomy","path":"./lib/query/taxonomy","statSize":3236,"groups":[{"id":"./lib/query/taxonomy/taxonomies-query.class.ts","label":"taxonomies-query.class.ts","path":"./lib/query/taxonomy/taxonomies-query.class.ts","statSize":2012},{"id":"./lib/query/taxonomy/taxonomy-query.class.ts","label":"taxonomy-query.class.ts","path":"./lib/query/taxonomy/taxonomy-query.class.ts","statSize":1224}],"parsedSize":0,"gzipSize":0},{"label":"type","path":"./lib/query/type","statSize":2117,"groups":[{"id":"./lib/query/type/multiple-type-query.class.ts","label":"multiple-type-query.class.ts","path":"./lib/query/type/multiple-type-query.class.ts","statSize":1048},{"id":"./lib/query/type/single-type-query.class.ts","label":"single-type-query.class.ts","path":"./lib/query/type/single-type-query.class.ts","statSize":1069}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"resolvers","path":"./lib/resolvers","statSize":21858,"groups":[{"id":"./lib/resolvers/index.ts","label":"index.ts","path":"./lib/resolvers/index.ts","statSize":1441},{"label":"property-name","path":"./lib/resolvers/property-name","statSize":2293,"groups":[{"id":"./lib/resolvers/property-name/camel-case-property-name-resolver.class.ts","label":"camel-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/camel-case-property-name-resolver.class.ts","statSize":662},{"id":"./lib/resolvers/property-name/pascal-case-property-name-resolver.class.ts","label":"pascal-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/pascal-case-property-name-resolver.class.ts","statSize":666},{"id":"./lib/resolvers/property-name/snake-case-property-name-resolver.class.ts","label":"snake-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/snake-case-property-name-resolver.class.ts","statSize":965}],"parsedSize":0,"gzipSize":0},{"label":"rich-text","path":"./lib/resolvers/rich-text","statSize":18124,"groups":[{"label":"async","path":"./lib/resolvers/rich-text/async","statSize":5699,"groups":[{"id":"./lib/resolvers/rich-text/async/async-rich-text-html-resolver.ts","label":"async-rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/async/async-rich-text-html-resolver.ts","statSize":5699}],"parsedSize":0,"gzipSize":0},{"label":"base","path":"./lib/resolvers/rich-text/base","statSize":955,"groups":[{"id":"./lib/resolvers/rich-text/base/base-async-rich-text-resolver.ts","label":"base-async-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-async-rich-text-resolver.ts","statSize":490},{"id":"./lib/resolvers/rich-text/base/base-rich-text-resolver.ts","label":"base-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-rich-text-resolver.ts","statSize":465}],"parsedSize":0,"gzipSize":0},{"id":"./lib/resolvers/rich-text/rich-text-resolver.models.ts","label":"rich-text-resolver.models.ts","path":"./lib/resolvers/rich-text/rich-text-resolver.models.ts","statSize":79},{"label":"sync","path":"./lib/resolvers/rich-text/sync","statSize":11391,"groups":[{"id":"./lib/resolvers/rich-text/sync/rich-text-html-resolver.ts","label":"rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-html-resolver.ts","statSize":4009},{"id":"./lib/resolvers/rich-text/sync/rich-text-json-resolver.ts","label":"rich-text-json-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-json-resolver.ts","statSize":984},{"id":"./lib/resolvers/rich-text/sync/rich-text-object-resolver.ts","label":"rich-text-object-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-object-resolver.ts","statSize":6398}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":"./lib/sdk-info.generated.ts","label":"sdk-info.generated.ts","path":"./lib/sdk-info.generated.ts","statSize":217},{"label":"services","path":"./lib/services","statSize":23323,"groups":[{"id":"./lib/services/base-delivery-query.service.ts","label":"base-delivery-query.service.ts","path":"./lib/services/base-delivery-query.service.ts","statSize":10661},{"id":"./lib/services/delivery-query.service.ts","label":"delivery-query.service.ts","path":"./lib/services/delivery-query.service.ts","statSize":7947},{"id":"./lib/services/index.ts","label":"index.ts","path":"./lib/services/index.ts","statSize":888},{"id":"./lib/services/mapping.service.ts","label":"mapping.service.ts","path":"./lib/services/mapping.service.ts","statSize":3827}],"parsedSize":0,"gzipSize":0},{"label":"utilities","path":"./lib/utilities","statSize":3176,"groups":[{"id":"./lib/utilities/delivery-url.helper.ts","label":"delivery-url.helper.ts","path":"./lib/utilities/delivery-url.helper.ts","statSize":602},{"id":"./lib/utilities/guid.helper.ts","label":"guid.helper.ts","path":"./lib/utilities/guid.helper.ts","statSize":324},{"id":"./lib/utilities/index.ts","label":"index.ts","path":"./lib/utilities/index.ts","statSize":989},{"id":"./lib/utilities/linked-items.helper.ts","label":"linked-items.helper.ts","path":"./lib/utilities/linked-items.helper.ts","statSize":541},{"id":"./lib/utilities/text-helper.ts","label":"text-helper.ts","path":"./lib/utilities/text-helper.ts","statSize":720}],"parsedSize":0,"gzipSize":0}],"parsedSize":371348,"gzipSize":59738},{"label":"node_modules","path":"./node_modules","statSize":130370,"groups":[{"label":"@kontent-ai/core-sdk/dist/es6","path":"./node_modules/@kontent-ai/core-sdk/dist/es6","statSize":27664,"groups":[{"label":"helpers","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers","statSize":8834,"groups":[{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/enum.helper.js","label":"enum.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/enum.helper.js","statSize":1542},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/header.helper.js","label":"header.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/header.helper.js","statSize":530},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/headers-helper.js","label":"headers-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/headers-helper.js","statSize":338},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/index.js","statSize":198},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/retry-helper.js","label":"retry-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/retry-helper.js","statSize":5587},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/url.helper.js","label":"url.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/url.helper.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http","statSize":17701,"groups":[{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.debugger.js","label":"http.debugger.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.debugger.js","statSize":416},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.functions.js","label":"http.functions.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.functions.js","statSize":13290},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.models.js","label":"http.models.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.models.js","statSize":51},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.service.js","label":"http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.service.js","statSize":2559},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/ihttp.service.js","label":"ihttp.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/ihttp.service.js","statSize":53},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/index.js","statSize":239},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/test-http.service.js","label":"test-http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/test-http.service.js","statSize":1093}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js","statSize":131},{"label":"models","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models","statSize":998,"groups":[{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/index.js","statSize":125},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/isdk-info.js","label":"isdk-info.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/isdk-info.js","statSize":49},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/parameters.js","label":"parameters.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/parameters.js","statSize":774},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/url.models.js","label":"url.models.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/url.models.js","statSize":50}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"axios","path":"./node_modules/axios","statSize":58121,"groups":[{"id":"./node_modules/axios/index.js","label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":58081,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":7391,"groups":[{"id":"./node_modules/axios/lib/adapters/xhr.js","label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":7391}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/axios.js","label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1799},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":3144,"groups":[{"id":"./node_modules/axios/lib/cancel/CancelToken.js","label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2497},{"id":"./node_modules/axios/lib/cancel/CanceledError.js","label":"CanceledError.js","path":"./node_modules/axios/lib/cancel/CanceledError.js","statSize":545},{"id":"./node_modules/axios/lib/cancel/isCancel.js","label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":15705,"groups":[{"id":"./node_modules/axios/lib/core/Axios.js","label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4582},{"id":"./node_modules/axios/lib/core/AxiosError.js","label":"AxiosError.js","path":"./node_modules/axios/lib/core/AxiosError.js","statSize":2254},{"id":"./node_modules/axios/lib/core/InterceptorManager.js","label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":"./node_modules/axios/lib/core/buildFullPath.js","label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":"./node_modules/axios/lib/core/dispatchRequest.js","label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2140},{"id":"./node_modules/axios/lib/core/mergeConfig.js","label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3235},{"id":"./node_modules/axios/lib/core/settle.js","label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":799},{"id":"./node_modules/axios/lib/core/transformData.js","label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":637}],"parsedSize":0,"gzipSize":0},{"label":"defaults","path":"./node_modules/axios/lib/defaults","statSize":4191,"groups":[{"id":"./node_modules/axios/lib/defaults/index.js","label":"index.js","path":"./node_modules/axios/lib/defaults/index.js","statSize":4071},{"id":"./node_modules/axios/lib/defaults/transitional.js","label":"transitional.js","path":"./node_modules/axios/lib/defaults/transitional.js","statSize":120}],"parsedSize":0,"gzipSize":0},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":"./node_modules/axios/lib/env/data.js","label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":13817,"groups":[{"id":"./node_modules/axios/lib/helpers/bind.js","label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":"./node_modules/axios/lib/helpers/buildURL.js","label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":"./node_modules/axios/lib/helpers/combineURLs.js","label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":"./node_modules/axios/lib/helpers/cookies.js","label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":561},{"id":"./node_modules/axios/lib/helpers/isAxiosError.js","label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":373},{"id":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":"./node_modules/axios/lib/helpers/null.js","label":"null.js","path":"./node_modules/axios/lib/helpers/null.js","statSize":58},{"id":"./node_modules/axios/lib/helpers/parseHeaders.js","label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":"./node_modules/axios/lib/helpers/parseProtocol.js","label":"parseProtocol.js","path":"./node_modules/axios/lib/helpers/parseProtocol.js","statSize":152},{"id":"./node_modules/axios/lib/helpers/spread.js","label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":"./node_modules/axios/lib/helpers/toFormData.js","label":"toFormData.js","path":"./node_modules/axios/lib/helpers/toFormData.js","statSize":1784},{"id":"./node_modules/axios/lib/helpers/validator.js","label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2555}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/utils.js","label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":11991}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"querystringify","path":"./node_modules/querystringify","statSize":2564,"groups":[{"id":"./node_modules/querystringify/index.js","label":"index.js","path":"./node_modules/querystringify/index.js","statSize":2564}],"parsedSize":0,"gzipSize":0},{"label":"requires-port","path":"./node_modules/requires-port","statSize":753,"groups":[{"id":"./node_modules/requires-port/index.js","label":"index.js","path":"./node_modules/requires-port/index.js","statSize":753}],"parsedSize":0,"gzipSize":0},{"label":"url-parse","path":"./node_modules/url-parse","statSize":16622,"groups":[{"id":"./node_modules/url-parse/index.js","label":"index.js","path":"./node_modules/url-parse/index.js","statSize":16622}],"parsedSize":0,"gzipSize":0},{"label":"uuid/dist/commonjs-browser","path":"./node_modules/uuid/dist/commonjs-browser","statSize":24646,"groups":[{"id":"./node_modules/uuid/dist/commonjs-browser/index.js","label":"index.js","path":"./node_modules/uuid/dist/commonjs-browser/index.js","statSize":1792},{"id":"./node_modules/uuid/dist/commonjs-browser/md5.js","label":"md5.js","path":"./node_modules/uuid/dist/commonjs-browser/md5.js","statSize":7015},{"id":"./node_modules/uuid/dist/commonjs-browser/native.js","label":"native.js","path":"./node_modules/uuid/dist/commonjs-browser/native.js","statSize":271},{"id":"./node_modules/uuid/dist/commonjs-browser/nil.js","label":"nil.js","path":"./node_modules/uuid/dist/commonjs-browser/nil.js","statSize":188},{"id":"./node_modules/uuid/dist/commonjs-browser/parse.js","label":"parse.js","path":"./node_modules/uuid/dist/commonjs-browser/parse.js","statSize":1380},{"id":"./node_modules/uuid/dist/commonjs-browser/regex.js","label":"regex.js","path":"./node_modules/uuid/dist/commonjs-browser/regex.js","statSize":267},{"id":"./node_modules/uuid/dist/commonjs-browser/rng.js","label":"rng.js","path":"./node_modules/uuid/dist/commonjs-browser/rng.js","statSize":927},{"id":"./node_modules/uuid/dist/commonjs-browser/sha1.js","label":"sha1.js","path":"./node_modules/uuid/dist/commonjs-browser/sha1.js","statSize":2609},{"id":"./node_modules/uuid/dist/commonjs-browser/stringify.js","label":"stringify.js","path":"./node_modules/uuid/dist/commonjs-browser/stringify.js","statSize":1795},{"id":"./node_modules/uuid/dist/commonjs-browser/v1.js","label":"v1.js","path":"./node_modules/uuid/dist/commonjs-browser/v1.js","statSize":3602},{"id":"./node_modules/uuid/dist/commonjs-browser/v3.js","label":"v3.js","path":"./node_modules/uuid/dist/commonjs-browser/v3.js","statSize":414},{"id":"./node_modules/uuid/dist/commonjs-browser/v35.js","label":"v35.js","path":"./node_modules/uuid/dist/commonjs-browser/v35.js","statSize":2076},{"id":"./node_modules/uuid/dist/commonjs-browser/v4.js","label":"v4.js","path":"./node_modules/uuid/dist/commonjs-browser/v4.js","statSize":1009},{"id":"./node_modules/uuid/dist/commonjs-browser/v5.js","label":"v5.js","path":"./node_modules/uuid/dist/commonjs-browser/v5.js","statSize":417},{"id":"./node_modules/uuid/dist/commonjs-browser/validate.js","label":"validate.js","path":"./node_modules/uuid/dist/commonjs-browser/validate.js","statSize":410},{"id":"./node_modules/uuid/dist/commonjs-browser/version.js","label":"version.js","path":"./node_modules/uuid/dist/commonjs-browser/version.js","statSize":474}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}]
[{"label":"kontent-delivery.umd.js","isAsset":true,"statSize":303791,"parsedSize":381328,"gzipSize":60555,"groups":[{"label":"lib","path":"./lib","statSize":173421,"groups":[{"label":"client","path":"./lib/client","statSize":4803,"groups":[{"id":"./lib/client/delivery-client.factory.ts","label":"delivery-client.factory.ts","path":"./lib/client/delivery-client.factory.ts","statSize":332},{"id":"./lib/client/delivery-client.ts","label":"delivery-client.ts","path":"./lib/client/delivery-client.ts","statSize":3438},{"id":"./lib/client/idelivery-client.interface.ts","label":"idelivery-client.interface.ts","path":"./lib/client/idelivery-client.interface.ts","statSize":79},{"id":"./lib/client/index.ts","label":"index.ts","path":"./lib/client/index.ts","statSize":954}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./lib/config","statSize":907,"groups":[{"id":"./lib/config/delivery-configs.ts","label":"delivery-configs.ts","path":"./lib/config/delivery-configs.ts","statSize":79},{"id":"./lib/config/index.ts","label":"index.ts","path":"./lib/config/index.ts","statSize":828}],"parsedSize":0,"gzipSize":0},{"label":"contracts","path":"./lib/contracts","statSize":900,"groups":[{"id":"./lib/contracts/contracts.ts","label":"contracts.ts","path":"./lib/contracts/contracts.ts","statSize":79},{"id":"./lib/contracts/index.ts","label":"index.ts","path":"./lib/contracts/index.ts","statSize":821}],"parsedSize":0,"gzipSize":0},{"label":"elements","path":"./lib/elements","statSize":1977,"groups":[{"id":"./lib/elements/element-models.ts","label":"element-models.ts","path":"./lib/elements/element-models.ts","statSize":79},{"id":"./lib/elements/element-resolver.ts","label":"element-resolver.ts","path":"./lib/elements/element-resolver.ts","statSize":79},{"id":"./lib/elements/element-type.ts","label":"element-type.ts","path":"./lib/elements/element-type.ts","statSize":761},{"id":"./lib/elements/elements.ts","label":"elements.ts","path":"./lib/elements/elements.ts","statSize":79},{"id":"./lib/elements/index.ts","label":"index.ts","path":"./lib/elements/index.ts","statSize":979}],"parsedSize":0,"gzipSize":0},{"label":"images","path":"./lib/images","statSize":6896,"groups":[{"id":"./lib/images/image-url-transformation-builder.factory.ts","label":"image-url-transformation-builder.factory.ts","path":"./lib/images/image-url-transformation-builder.factory.ts","statSize":380},{"id":"./lib/images/image-url-transformation-builder.ts","label":"image-url-transformation-builder.ts","path":"./lib/images/image-url-transformation-builder.ts","statSize":5463},{"id":"./lib/images/image.models.ts","label":"image.models.ts","path":"./lib/images/image.models.ts","statSize":79},{"id":"./lib/images/index.ts","label":"index.ts","path":"./lib/images/index.ts","statSize":974}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":1398,"parsedSize":381328,"gzipSize":60555},{"label":"mappers","path":"./lib/mappers","statSize":29611,"groups":[{"id":"./lib/mappers/element.mapper.ts","label":"element.mapper.ts","path":"./lib/mappers/element.mapper.ts","statSize":17713},{"id":"./lib/mappers/generic-element.mapper.ts","label":"generic-element.mapper.ts","path":"./lib/mappers/generic-element.mapper.ts","statSize":637},{"id":"./lib/mappers/index.ts","label":"index.ts","path":"./lib/mappers/index.ts","statSize":1145},{"id":"./lib/mappers/item.mapper.ts","label":"item.mapper.ts","path":"./lib/mappers/item.mapper.ts","statSize":4476},{"id":"./lib/mappers/language.mapper.ts","label":"language.mapper.ts","path":"./lib/mappers/language.mapper.ts","statSize":532},{"id":"./lib/mappers/sync.mapper.ts","label":"sync.mapper.ts","path":"./lib/mappers/sync.mapper.ts","statSize":596},{"id":"./lib/mappers/taxonomy.mapper.ts","label":"taxonomy.mapper.ts","path":"./lib/mappers/taxonomy.mapper.ts","statSize":2163},{"id":"./lib/mappers/type.mapper.ts","label":"type.mapper.ts","path":"./lib/mappers/type.mapper.ts","statSize":2349}],"parsedSize":0,"gzipSize":0},{"label":"models","path":"./lib/models","statSize":18433,"groups":[{"label":"common","path":"./lib/models/common","statSize":16695,"groups":[{"id":"./lib/models/common/base-responses.ts","label":"base-responses.ts","path":"./lib/models/common/base-responses.ts","statSize":79},{"id":"./lib/models/common/common-models.ts","label":"common-models.ts","path":"./lib/models/common/common-models.ts","statSize":380},{"id":"./lib/models/common/filters.ts","label":"filters.ts","path":"./lib/models/common/filters.ts","statSize":8747},{"id":"./lib/models/common/headers.ts","label":"headers.ts","path":"./lib/models/common/headers.ts","statSize":458},{"id":"./lib/models/common/index.ts","label":"index.ts","path":"./lib/models/common/index.ts","statSize":1123},{"id":"./lib/models/common/pagination.class.ts","label":"pagination.class.ts","path":"./lib/models/common/pagination.class.ts","statSize":79},{"id":"./lib/models/common/parameters.ts","label":"parameters.ts","path":"./lib/models/common/parameters.ts","statSize":5750},{"id":"./lib/models/common/sort-order.ts","label":"sort-order.ts","path":"./lib/models/common/sort-order.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"id":"./lib/models/content-type-models.ts","label":"content-type-models.ts","path":"./lib/models/content-type-models.ts","statSize":79},{"id":"./lib/models/element-models.ts","label":"element-models.ts","path":"./lib/models/element-models.ts","statSize":79},{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":1185},{"id":"./lib/models/item-models.ts","label":"item-models.ts","path":"./lib/models/item-models.ts","statSize":79},{"id":"./lib/models/language-models.ts","label":"language-models.ts","path":"./lib/models/language-models.ts","statSize":79},{"id":"./lib/models/responses.ts","label":"responses.ts","path":"./lib/models/responses.ts","statSize":79},{"id":"./lib/models/sync-models.ts","label":"sync-models.ts","path":"./lib/models/sync-models.ts","statSize":79},{"id":"./lib/models/taxonomy-models.ts","label":"taxonomy-models.ts","path":"./lib/models/taxonomy-models.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./lib/parser","statSize":23426,"groups":[{"label":"implementation","path":"./lib/parser/implementation","statSize":17251,"groups":[{"id":"./lib/parser/implementation/async-browser-parser.class.ts","label":"async-browser-parser.class.ts","path":"./lib/parser/implementation/async-browser-parser.class.ts","statSize":9377},{"id":"./lib/parser/implementation/browser-parser.class.ts","label":"browser-parser.class.ts","path":"./lib/parser/implementation/browser-parser.class.ts","statSize":7874}],"parsedSize":0,"gzipSize":0},{"id":"./lib/parser/index.ts","label":"index.ts","path":"./lib/parser/index.ts","statSize":1089},{"id":"./lib/parser/parse-models.ts","label":"parse-models.ts","path":"./lib/parser/parse-models.ts","statSize":467},{"id":"./lib/parser/parser-configuration.ts","label":"parser-configuration.ts","path":"./lib/parser/parser-configuration.ts","statSize":743},{"id":"./lib/parser/parser.helper.ts","label":"parser.helper.ts","path":"./lib/parser/parser.helper.ts","statSize":3876}],"parsedSize":0,"gzipSize":0},{"label":"query","path":"./lib/query","statSize":33770,"groups":[{"label":"common","path":"./lib/query/common","statSize":11146,"groups":[{"id":"./lib/query/common/base-item-listing-query.class.ts","label":"base-item-listing-query.class.ts","path":"./lib/query/common/base-item-listing-query.class.ts","statSize":5722},{"id":"./lib/query/common/base-listing-query.class.ts","label":"base-listing-query.class.ts","path":"./lib/query/common/base-listing-query.class.ts","statSize":2119},{"id":"./lib/query/common/base-query.class.ts","label":"base-query.class.ts","path":"./lib/query/common/base-query.class.ts","statSize":3305}],"parsedSize":0,"gzipSize":0},{"label":"element","path":"./lib/query/element","statSize":1231,"groups":[{"id":"./lib/query/element/element-query.class.ts","label":"element-query.class.ts","path":"./lib/query/element/element-query.class.ts","statSize":1231}],"parsedSize":0,"gzipSize":0},{"id":"./lib/query/index.ts","label":"index.ts","path":"./lib/query/index.ts","statSize":1592},{"label":"item","path":"./lib/query/item","statSize":5792,"groups":[{"id":"./lib/query/item/multiple-items-query.class.ts","label":"multiple-items-query.class.ts","path":"./lib/query/item/multiple-items-query.class.ts","statSize":3542},{"id":"./lib/query/item/single-item-query.class.ts","label":"single-item-query.class.ts","path":"./lib/query/item/single-item-query.class.ts","statSize":2250}],"parsedSize":0,"gzipSize":0},{"label":"items-feed","path":"./lib/query/items-feed","statSize":3059,"groups":[{"id":"./lib/query/items-feed/items-feed-query.class.ts","label":"items-feed-query.class.ts","path":"./lib/query/items-feed/items-feed-query.class.ts","statSize":3059}],"parsedSize":0,"gzipSize":0},{"label":"language","path":"./lib/query/language","statSize":1877,"groups":[{"id":"./lib/query/language/languages-query.class.ts","label":"languages-query.class.ts","path":"./lib/query/language/languages-query.class.ts","statSize":1877}],"parsedSize":0,"gzipSize":0},{"label":"sync","path":"./lib/query/sync","statSize":3140,"groups":[{"id":"./lib/query/sync/initialize-sync-query.class.ts","label":"initialize-sync-query.class.ts","path":"./lib/query/sync/initialize-sync-query.class.ts","statSize":1911},{"id":"./lib/query/sync/sync-changes-query.class.ts","label":"sync-changes-query.class.ts","path":"./lib/query/sync/sync-changes-query.class.ts","statSize":1229}],"parsedSize":0,"gzipSize":0},{"label":"taxonomy","path":"./lib/query/taxonomy","statSize":2950,"groups":[{"id":"./lib/query/taxonomy/taxonomies-query.class.ts","label":"taxonomies-query.class.ts","path":"./lib/query/taxonomy/taxonomies-query.class.ts","statSize":1726},{"id":"./lib/query/taxonomy/taxonomy-query.class.ts","label":"taxonomy-query.class.ts","path":"./lib/query/taxonomy/taxonomy-query.class.ts","statSize":1224}],"parsedSize":0,"gzipSize":0},{"label":"type","path":"./lib/query/type","statSize":2983,"groups":[{"id":"./lib/query/type/multiple-type-query.class.ts","label":"multiple-type-query.class.ts","path":"./lib/query/type/multiple-type-query.class.ts","statSize":1914},{"id":"./lib/query/type/single-type-query.class.ts","label":"single-type-query.class.ts","path":"./lib/query/type/single-type-query.class.ts","statSize":1069}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"resolvers","path":"./lib/resolvers","statSize":21858,"groups":[{"id":"./lib/resolvers/index.ts","label":"index.ts","path":"./lib/resolvers/index.ts","statSize":1441},{"label":"property-name","path":"./lib/resolvers/property-name","statSize":2293,"groups":[{"id":"./lib/resolvers/property-name/camel-case-property-name-resolver.class.ts","label":"camel-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/camel-case-property-name-resolver.class.ts","statSize":662},{"id":"./lib/resolvers/property-name/pascal-case-property-name-resolver.class.ts","label":"pascal-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/pascal-case-property-name-resolver.class.ts","statSize":666},{"id":"./lib/resolvers/property-name/snake-case-property-name-resolver.class.ts","label":"snake-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/snake-case-property-name-resolver.class.ts","statSize":965}],"parsedSize":0,"gzipSize":0},{"label":"rich-text","path":"./lib/resolvers/rich-text","statSize":18124,"groups":[{"label":"async","path":"./lib/resolvers/rich-text/async","statSize":5699,"groups":[{"id":"./lib/resolvers/rich-text/async/async-rich-text-html-resolver.ts","label":"async-rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/async/async-rich-text-html-resolver.ts","statSize":5699}],"parsedSize":0,"gzipSize":0},{"label":"base","path":"./lib/resolvers/rich-text/base","statSize":955,"groups":[{"id":"./lib/resolvers/rich-text/base/base-async-rich-text-resolver.ts","label":"base-async-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-async-rich-text-resolver.ts","statSize":490},{"id":"./lib/resolvers/rich-text/base/base-rich-text-resolver.ts","label":"base-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-rich-text-resolver.ts","statSize":465}],"parsedSize":0,"gzipSize":0},{"id":"./lib/resolvers/rich-text/rich-text-resolver.models.ts","label":"rich-text-resolver.models.ts","path":"./lib/resolvers/rich-text/rich-text-resolver.models.ts","statSize":79},{"label":"sync","path":"./lib/resolvers/rich-text/sync","statSize":11391,"groups":[{"id":"./lib/resolvers/rich-text/sync/rich-text-html-resolver.ts","label":"rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-html-resolver.ts","statSize":4009},{"id":"./lib/resolvers/rich-text/sync/rich-text-json-resolver.ts","label":"rich-text-json-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-json-resolver.ts","statSize":984},{"id":"./lib/resolvers/rich-text/sync/rich-text-object-resolver.ts","label":"rich-text-object-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-object-resolver.ts","statSize":6398}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":"./lib/sdk-info.generated.ts","label":"sdk-info.generated.ts","path":"./lib/sdk-info.generated.ts","statSize":217},{"label":"services","path":"./lib/services","statSize":26049,"groups":[{"id":"./lib/services/base-delivery-query.service.ts","label":"base-delivery-query.service.ts","path":"./lib/services/base-delivery-query.service.ts","statSize":11741},{"id":"./lib/services/delivery-query.service.ts","label":"delivery-query.service.ts","path":"./lib/services/delivery-query.service.ts","statSize":9240},{"id":"./lib/services/index.ts","label":"index.ts","path":"./lib/services/index.ts","statSize":888},{"id":"./lib/services/mapping.service.ts","label":"mapping.service.ts","path":"./lib/services/mapping.service.ts","statSize":4180}],"parsedSize":0,"gzipSize":0},{"label":"utilities","path":"./lib/utilities","statSize":3176,"groups":[{"id":"./lib/utilities/delivery-url.helper.ts","label":"delivery-url.helper.ts","path":"./lib/utilities/delivery-url.helper.ts","statSize":602},{"id":"./lib/utilities/guid.helper.ts","label":"guid.helper.ts","path":"./lib/utilities/guid.helper.ts","statSize":324},{"id":"./lib/utilities/index.ts","label":"index.ts","path":"./lib/utilities/index.ts","statSize":989},{"id":"./lib/utilities/linked-items.helper.ts","label":"linked-items.helper.ts","path":"./lib/utilities/linked-items.helper.ts","statSize":541},{"id":"./lib/utilities/text-helper.ts","label":"text-helper.ts","path":"./lib/utilities/text-helper.ts","statSize":720}],"parsedSize":0,"gzipSize":0}],"parsedSize":381328,"gzipSize":60555},{"label":"node_modules","path":"./node_modules","statSize":130370,"groups":[{"label":"@kontent-ai/core-sdk/dist/es6","path":"./node_modules/@kontent-ai/core-sdk/dist/es6","statSize":27664,"groups":[{"label":"helpers","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers","statSize":8834,"groups":[{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/enum.helper.js","label":"enum.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/enum.helper.js","statSize":1542},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/header.helper.js","label":"header.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/header.helper.js","statSize":530},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/headers-helper.js","label":"headers-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/headers-helper.js","statSize":338},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/index.js","statSize":198},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/retry-helper.js","label":"retry-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/retry-helper.js","statSize":5587},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/url.helper.js","label":"url.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/helpers/url.helper.js","statSize":639}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http","statSize":17701,"groups":[{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.debugger.js","label":"http.debugger.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.debugger.js","statSize":416},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.functions.js","label":"http.functions.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.functions.js","statSize":13290},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.models.js","label":"http.models.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.models.js","statSize":51},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.service.js","label":"http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/http.service.js","statSize":2559},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/ihttp.service.js","label":"ihttp.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/ihttp.service.js","statSize":53},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/index.js","statSize":239},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/test-http.service.js","label":"test-http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/http/test-http.service.js","statSize":1093}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js","statSize":131},{"label":"models","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models","statSize":998,"groups":[{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/index.js","label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/index.js","statSize":125},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/isdk-info.js","label":"isdk-info.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/isdk-info.js","statSize":49},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/parameters.js","label":"parameters.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/parameters.js","statSize":774},{"id":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/url.models.js","label":"url.models.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/models/url.models.js","statSize":50}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"axios","path":"./node_modules/axios","statSize":58121,"groups":[{"id":"./node_modules/axios/index.js","label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":58081,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":7391,"groups":[{"id":"./node_modules/axios/lib/adapters/xhr.js","label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":7391}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/axios.js","label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1799},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":3144,"groups":[{"id":"./node_modules/axios/lib/cancel/CancelToken.js","label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2497},{"id":"./node_modules/axios/lib/cancel/CanceledError.js","label":"CanceledError.js","path":"./node_modules/axios/lib/cancel/CanceledError.js","statSize":545},{"id":"./node_modules/axios/lib/cancel/isCancel.js","label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":15705,"groups":[{"id":"./node_modules/axios/lib/core/Axios.js","label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4582},{"id":"./node_modules/axios/lib/core/AxiosError.js","label":"AxiosError.js","path":"./node_modules/axios/lib/core/AxiosError.js","statSize":2254},{"id":"./node_modules/axios/lib/core/InterceptorManager.js","label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":"./node_modules/axios/lib/core/buildFullPath.js","label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":"./node_modules/axios/lib/core/dispatchRequest.js","label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2140},{"id":"./node_modules/axios/lib/core/mergeConfig.js","label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3235},{"id":"./node_modules/axios/lib/core/settle.js","label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":799},{"id":"./node_modules/axios/lib/core/transformData.js","label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":637}],"parsedSize":0,"gzipSize":0},{"label":"defaults","path":"./node_modules/axios/lib/defaults","statSize":4191,"groups":[{"id":"./node_modules/axios/lib/defaults/index.js","label":"index.js","path":"./node_modules/axios/lib/defaults/index.js","statSize":4071},{"id":"./node_modules/axios/lib/defaults/transitional.js","label":"transitional.js","path":"./node_modules/axios/lib/defaults/transitional.js","statSize":120}],"parsedSize":0,"gzipSize":0},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":"./node_modules/axios/lib/env/data.js","label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":13817,"groups":[{"id":"./node_modules/axios/lib/helpers/bind.js","label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":"./node_modules/axios/lib/helpers/buildURL.js","label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":"./node_modules/axios/lib/helpers/combineURLs.js","label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":"./node_modules/axios/lib/helpers/cookies.js","label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":561},{"id":"./node_modules/axios/lib/helpers/isAxiosError.js","label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":373},{"id":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":"./node_modules/axios/lib/helpers/null.js","label":"null.js","path":"./node_modules/axios/lib/helpers/null.js","statSize":58},{"id":"./node_modules/axios/lib/helpers/parseHeaders.js","label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":"./node_modules/axios/lib/helpers/parseProtocol.js","label":"parseProtocol.js","path":"./node_modules/axios/lib/helpers/parseProtocol.js","statSize":152},{"id":"./node_modules/axios/lib/helpers/spread.js","label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":"./node_modules/axios/lib/helpers/toFormData.js","label":"toFormData.js","path":"./node_modules/axios/lib/helpers/toFormData.js","statSize":1784},{"id":"./node_modules/axios/lib/helpers/validator.js","label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2555}],"parsedSize":0,"gzipSize":0},{"id":"./node_modules/axios/lib/utils.js","label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":11991}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"querystringify","path":"./node_modules/querystringify","statSize":2564,"groups":[{"id":"./node_modules/querystringify/index.js","label":"index.js","path":"./node_modules/querystringify/index.js","statSize":2564}],"parsedSize":0,"gzipSize":0},{"label":"requires-port","path":"./node_modules/requires-port","statSize":753,"groups":[{"id":"./node_modules/requires-port/index.js","label":"index.js","path":"./node_modules/requires-port/index.js","statSize":753}],"parsedSize":0,"gzipSize":0},{"label":"url-parse","path":"./node_modules/url-parse","statSize":16622,"groups":[{"id":"./node_modules/url-parse/index.js","label":"index.js","path":"./node_modules/url-parse/index.js","statSize":16622}],"parsedSize":0,"gzipSize":0},{"label":"uuid/dist/commonjs-browser","path":"./node_modules/uuid/dist/commonjs-browser","statSize":24646,"groups":[{"id":"./node_modules/uuid/dist/commonjs-browser/index.js","label":"index.js","path":"./node_modules/uuid/dist/commonjs-browser/index.js","statSize":1792},{"id":"./node_modules/uuid/dist/commonjs-browser/md5.js","label":"md5.js","path":"./node_modules/uuid/dist/commonjs-browser/md5.js","statSize":7015},{"id":"./node_modules/uuid/dist/commonjs-browser/native.js","label":"native.js","path":"./node_modules/uuid/dist/commonjs-browser/native.js","statSize":271},{"id":"./node_modules/uuid/dist/commonjs-browser/nil.js","label":"nil.js","path":"./node_modules/uuid/dist/commonjs-browser/nil.js","statSize":188},{"id":"./node_modules/uuid/dist/commonjs-browser/parse.js","label":"parse.js","path":"./node_modules/uuid/dist/commonjs-browser/parse.js","statSize":1380},{"id":"./node_modules/uuid/dist/commonjs-browser/regex.js","label":"regex.js","path":"./node_modules/uuid/dist/commonjs-browser/regex.js","statSize":267},{"id":"./node_modules/uuid/dist/commonjs-browser/rng.js","label":"rng.js","path":"./node_modules/uuid/dist/commonjs-browser/rng.js","statSize":927},{"id":"./node_modules/uuid/dist/commonjs-browser/sha1.js","label":"sha1.js","path":"./node_modules/uuid/dist/commonjs-browser/sha1.js","statSize":2609},{"id":"./node_modules/uuid/dist/commonjs-browser/stringify.js","label":"stringify.js","path":"./node_modules/uuid/dist/commonjs-browser/stringify.js","statSize":1795},{"id":"./node_modules/uuid/dist/commonjs-browser/v1.js","label":"v1.js","path":"./node_modules/uuid/dist/commonjs-browser/v1.js","statSize":3602},{"id":"./node_modules/uuid/dist/commonjs-browser/v3.js","label":"v3.js","path":"./node_modules/uuid/dist/commonjs-browser/v3.js","statSize":414},{"id":"./node_modules/uuid/dist/commonjs-browser/v35.js","label":"v35.js","path":"./node_modules/uuid/dist/commonjs-browser/v35.js","statSize":2076},{"id":"./node_modules/uuid/dist/commonjs-browser/v4.js","label":"v4.js","path":"./node_modules/uuid/dist/commonjs-browser/v4.js","statSize":1009},{"id":"./node_modules/uuid/dist/commonjs-browser/v5.js","label":"v5.js","path":"./node_modules/uuid/dist/commonjs-browser/v5.js","statSize":417},{"id":"./node_modules/uuid/dist/commonjs-browser/validate.js","label":"validate.js","path":"./node_modules/uuid/dist/commonjs-browser/validate.js","statSize":410},{"id":"./node_modules/uuid/dist/commonjs-browser/version.js","label":"version.js","path":"./node_modules/uuid/dist/commonjs-browser/version.js","statSize":474}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"index":true}}]

@@ -1,1 +0,1 @@

[{"label":"kontent-delivery.umd.min.js","isAsset":true,"statSize":295583,"parsedSize":118144,"gzipSize":27744,"groups":[{"label":"lib","path":"./lib","statSize":165416,"groups":[{"label":"client","path":"./lib/client","statSize":4449,"groups":[{"id":7384,"label":"delivery-client.factory.ts","path":"./lib/client/delivery-client.factory.ts","statSize":332},{"id":7262,"label":"delivery-client.ts","path":"./lib/client/delivery-client.ts","statSize":3084},{"id":5357,"label":"idelivery-client.interface.ts","path":"./lib/client/idelivery-client.interface.ts","statSize":79},{"id":7038,"label":"index.ts","path":"./lib/client/index.ts","statSize":954}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./lib/config","statSize":907,"groups":[{"id":7769,"label":"delivery-configs.ts","path":"./lib/config/delivery-configs.ts","statSize":79},{"id":9059,"label":"index.ts","path":"./lib/config/index.ts","statSize":828}],"parsedSize":0,"gzipSize":0},{"label":"contracts","path":"./lib/contracts","statSize":900,"groups":[{"id":2051,"label":"contracts.ts","path":"./lib/contracts/contracts.ts","statSize":79},{"id":3719,"label":"index.ts","path":"./lib/contracts/index.ts","statSize":821}],"parsedSize":0,"gzipSize":0},{"label":"elements","path":"./lib/elements","statSize":1977,"groups":[{"id":6175,"label":"element-models.ts","path":"./lib/elements/element-models.ts","statSize":79},{"id":4377,"label":"element-resolver.ts","path":"./lib/elements/element-resolver.ts","statSize":79},{"id":6391,"label":"element-type.ts","path":"./lib/elements/element-type.ts","statSize":761},{"id":1037,"label":"elements.ts","path":"./lib/elements/elements.ts","statSize":79},{"id":5687,"label":"index.ts","path":"./lib/elements/index.ts","statSize":979}],"parsedSize":0,"gzipSize":0},{"label":"images","path":"./lib/images","statSize":6896,"groups":[{"id":8014,"label":"image-url-transformation-builder.factory.ts","path":"./lib/images/image-url-transformation-builder.factory.ts","statSize":380},{"id":9250,"label":"image-url-transformation-builder.ts","path":"./lib/images/image-url-transformation-builder.ts","statSize":5463},{"id":4141,"label":"image.models.ts","path":"./lib/images/image.models.ts","statSize":79},{"id":8233,"label":"index.ts","path":"./lib/images/index.ts","statSize":974}],"parsedSize":0,"gzipSize":0},{"id":8713,"label":"index.ts","path":"./lib/index.ts","statSize":1398,"parsedSize":118144,"gzipSize":27744},{"label":"mappers","path":"./lib/mappers","statSize":28928,"groups":[{"id":409,"label":"element.mapper.ts","path":"./lib/mappers/element.mapper.ts","statSize":17713},{"id":6622,"label":"generic-element.mapper.ts","path":"./lib/mappers/generic-element.mapper.ts","statSize":600},{"id":5201,"label":"index.ts","path":"./lib/mappers/index.ts","statSize":1095},{"id":5854,"label":"item.mapper.ts","path":"./lib/mappers/item.mapper.ts","statSize":4476},{"id":8778,"label":"language.mapper.ts","path":"./lib/mappers/language.mapper.ts","statSize":532},{"id":2514,"label":"taxonomy.mapper.ts","path":"./lib/mappers/taxonomy.mapper.ts","statSize":2163},{"id":5459,"label":"type.mapper.ts","path":"./lib/mappers/type.mapper.ts","statSize":2349}],"parsedSize":0,"gzipSize":0},{"label":"models","path":"./lib/models","statSize":18304,"groups":[{"label":"common","path":"./lib/models/common","statSize":16695,"groups":[{"id":5398,"label":"base-responses.ts","path":"./lib/models/common/base-responses.ts","statSize":79},{"id":4047,"label":"common-models.ts","path":"./lib/models/common/common-models.ts","statSize":380},{"id":6667,"label":"filters.ts","path":"./lib/models/common/filters.ts","statSize":8747},{"id":5138,"label":"headers.ts","path":"./lib/models/common/headers.ts","statSize":458},{"id":1838,"label":"index.ts","path":"./lib/models/common/index.ts","statSize":1123},{"id":803,"label":"pagination.class.ts","path":"./lib/models/common/pagination.class.ts","statSize":79},{"id":7768,"label":"parameters.ts","path":"./lib/models/common/parameters.ts","statSize":5750},{"id":2523,"label":"sort-order.ts","path":"./lib/models/common/sort-order.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"id":4088,"label":"content-type-models.ts","path":"./lib/models/content-type-models.ts","statSize":79},{"id":238,"label":"element-models.ts","path":"./lib/models/element-models.ts","statSize":79},{"id":4339,"label":"index.ts","path":"./lib/models/index.ts","statSize":1135},{"id":8741,"label":"item-models.ts","path":"./lib/models/item-models.ts","statSize":79},{"id":1540,"label":"language-models.ts","path":"./lib/models/language-models.ts","statSize":79},{"id":6469,"label":"responses.ts","path":"./lib/models/responses.ts","statSize":79},{"id":888,"label":"taxonomy-models.ts","path":"./lib/models/taxonomy-models.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./lib/parser","statSize":23426,"groups":[{"label":"implementation","path":"./lib/parser/implementation","statSize":17251,"groups":[{"id":6937,"label":"async-browser-parser.class.ts","path":"./lib/parser/implementation/async-browser-parser.class.ts","statSize":9377},{"id":2791,"label":"browser-parser.class.ts","path":"./lib/parser/implementation/browser-parser.class.ts","statSize":7874}],"parsedSize":0,"gzipSize":0},{"id":9802,"label":"index.ts","path":"./lib/parser/index.ts","statSize":1089},{"id":5246,"label":"parse-models.ts","path":"./lib/parser/parse-models.ts","statSize":467},{"id":55,"label":"parser-configuration.ts","path":"./lib/parser/parser-configuration.ts","statSize":743},{"id":5291,"label":"parser.helper.ts","path":"./lib/parser/parser.helper.ts","statSize":3876}],"parsedSize":0,"gzipSize":0},{"label":"query","path":"./lib/query","statSize":29657,"groups":[{"label":"common","path":"./lib/query/common","statSize":10608,"groups":[{"id":8335,"label":"base-listing-query.class.ts","path":"./lib/query/common/base-listing-query.class.ts","statSize":7303},{"id":5166,"label":"base-query.class.ts","path":"./lib/query/common/base-query.class.ts","statSize":3305}],"parsedSize":0,"gzipSize":0},{"label":"element","path":"./lib/query/element","statSize":1268,"groups":[{"id":7902,"label":"element-query.class.ts","path":"./lib/query/element/element-query.class.ts","statSize":1268}],"parsedSize":0,"gzipSize":0},{"id":4607,"label":"index.ts","path":"./lib/query/index.ts","statSize":1453},{"label":"item","path":"./lib/query/item","statSize":5773,"groups":[{"id":7860,"label":"multiple-items-query.class.ts","path":"./lib/query/item/multiple-items-query.class.ts","statSize":3523},{"id":5437,"label":"single-item-query.class.ts","path":"./lib/query/item/single-item-query.class.ts","statSize":2250}],"parsedSize":0,"gzipSize":0},{"label":"items-feed","path":"./lib/query/items-feed","statSize":3039,"groups":[{"id":4714,"label":"items-feed-query.class.ts","path":"./lib/query/items-feed/items-feed-query.class.ts","statSize":3039}],"parsedSize":0,"gzipSize":0},{"label":"language","path":"./lib/query/language","statSize":2163,"groups":[{"id":895,"label":"languages-query.class.ts","path":"./lib/query/language/languages-query.class.ts","statSize":2163}],"parsedSize":0,"gzipSize":0},{"label":"taxonomy","path":"./lib/query/taxonomy","statSize":3236,"groups":[{"id":5199,"label":"taxonomies-query.class.ts","path":"./lib/query/taxonomy/taxonomies-query.class.ts","statSize":2012},{"id":2341,"label":"taxonomy-query.class.ts","path":"./lib/query/taxonomy/taxonomy-query.class.ts","statSize":1224}],"parsedSize":0,"gzipSize":0},{"label":"type","path":"./lib/query/type","statSize":2117,"groups":[{"id":9780,"label":"multiple-type-query.class.ts","path":"./lib/query/type/multiple-type-query.class.ts","statSize":1048},{"id":9911,"label":"single-type-query.class.ts","path":"./lib/query/type/single-type-query.class.ts","statSize":1069}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"resolvers","path":"./lib/resolvers","statSize":21858,"groups":[{"id":9616,"label":"index.ts","path":"./lib/resolvers/index.ts","statSize":1441},{"label":"property-name","path":"./lib/resolvers/property-name","statSize":2293,"groups":[{"id":2698,"label":"camel-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/camel-case-property-name-resolver.class.ts","statSize":662},{"id":3737,"label":"pascal-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/pascal-case-property-name-resolver.class.ts","statSize":666},{"id":8035,"label":"snake-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/snake-case-property-name-resolver.class.ts","statSize":965}],"parsedSize":0,"gzipSize":0},{"label":"rich-text","path":"./lib/resolvers/rich-text","statSize":18124,"groups":[{"label":"async","path":"./lib/resolvers/rich-text/async","statSize":5699,"groups":[{"id":1729,"label":"async-rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/async/async-rich-text-html-resolver.ts","statSize":5699}],"parsedSize":0,"gzipSize":0},{"label":"base","path":"./lib/resolvers/rich-text/base","statSize":955,"groups":[{"id":9834,"label":"base-async-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-async-rich-text-resolver.ts","statSize":490},{"id":582,"label":"base-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-rich-text-resolver.ts","statSize":465}],"parsedSize":0,"gzipSize":0},{"id":3084,"label":"rich-text-resolver.models.ts","path":"./lib/resolvers/rich-text/rich-text-resolver.models.ts","statSize":79},{"label":"sync","path":"./lib/resolvers/rich-text/sync","statSize":11391,"groups":[{"id":4317,"label":"rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-html-resolver.ts","statSize":4009},{"id":6611,"label":"rich-text-json-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-json-resolver.ts","statSize":984},{"id":954,"label":"rich-text-object-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-object-resolver.ts","statSize":6398}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":8990,"label":"sdk-info.generated.ts","path":"./lib/sdk-info.generated.ts","statSize":217},{"label":"services","path":"./lib/services","statSize":23323,"groups":[{"id":6297,"label":"base-delivery-query.service.ts","path":"./lib/services/base-delivery-query.service.ts","statSize":10661},{"id":8897,"label":"delivery-query.service.ts","path":"./lib/services/delivery-query.service.ts","statSize":7947},{"id":9287,"label":"index.ts","path":"./lib/services/index.ts","statSize":888},{"id":1367,"label":"mapping.service.ts","path":"./lib/services/mapping.service.ts","statSize":3827}],"parsedSize":0,"gzipSize":0},{"label":"utilities","path":"./lib/utilities","statSize":3176,"groups":[{"id":772,"label":"delivery-url.helper.ts","path":"./lib/utilities/delivery-url.helper.ts","statSize":602},{"id":2271,"label":"guid.helper.ts","path":"./lib/utilities/guid.helper.ts","statSize":324},{"id":317,"label":"index.ts","path":"./lib/utilities/index.ts","statSize":989},{"id":968,"label":"linked-items.helper.ts","path":"./lib/utilities/linked-items.helper.ts","statSize":541},{"id":6720,"label":"text-helper.ts","path":"./lib/utilities/text-helper.ts","statSize":720}],"parsedSize":0,"gzipSize":0}],"parsedSize":118144,"gzipSize":27744},{"label":"node_modules","path":"./node_modules","statSize":130167,"groups":[{"label":"@kontent-ai/core-sdk/dist/es6","path":"./node_modules/@kontent-ai/core-sdk/dist/es6","statSize":27461,"groups":[{"id":3925,"label":"index.js + 13 modules (concatenated)","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)","statSize":27461,"concatenated":true,"groups":[{"label":"node_modules/@kontent-ai/core-sdk/dist/es6","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6","statSize":27461,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/index.js","statSize":131,"inaccurateSizes":true},{"label":"helpers","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers","statSize":8834,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/index.js","statSize":198,"inaccurateSizes":true},{"id":null,"label":"url.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/url.helper.js","statSize":639,"inaccurateSizes":true},{"id":null,"label":"header.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/header.helper.js","statSize":530,"inaccurateSizes":true},{"id":null,"label":"enum.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/enum.helper.js","statSize":1542,"inaccurateSizes":true},{"id":null,"label":"retry-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/retry-helper.js","statSize":5587,"inaccurateSizes":true},{"id":null,"label":"headers-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/headers-helper.js","statSize":338,"inaccurateSizes":true}],"inaccurateSizes":true},{"label":"models","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/models","statSize":899,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/models/index.js","statSize":125,"inaccurateSizes":true},{"id":null,"label":"parameters.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/models/parameters.js","statSize":774,"inaccurateSizes":true}],"inaccurateSizes":true},{"label":"http","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http","statSize":17597,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/index.js","statSize":239,"inaccurateSizes":true},{"id":null,"label":"http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/http.service.js","statSize":2559,"inaccurateSizes":true},{"id":null,"label":"http.functions.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/http.functions.js","statSize":13290,"inaccurateSizes":true},{"id":null,"label":"http.debugger.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/http.debugger.js","statSize":416,"inaccurateSizes":true},{"id":null,"label":"test-http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/test-http.service.js","statSize":1093,"inaccurateSizes":true}],"inaccurateSizes":true}],"inaccurateSizes":true}]}],"parsedSize":0,"gzipSize":0},{"label":"axios","path":"./node_modules/axios","statSize":58121,"groups":[{"id":9669,"label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":58081,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":7391,"groups":[{"id":5448,"label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":7391}],"parsedSize":0,"gzipSize":0},{"id":1609,"label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1799},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":3144,"groups":[{"id":4972,"label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2497},{"id":644,"label":"CanceledError.js","path":"./node_modules/axios/lib/cancel/CanceledError.js","statSize":545},{"id":6502,"label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":15705,"groups":[{"id":321,"label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4582},{"id":2648,"label":"AxiosError.js","path":"./node_modules/axios/lib/core/AxiosError.js","statSize":2254},{"id":782,"label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":4097,"label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":3572,"label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2140},{"id":7185,"label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3235},{"id":6026,"label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":799},{"id":8527,"label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":637}],"parsedSize":0,"gzipSize":0},{"label":"defaults","path":"./node_modules/axios/lib/defaults","statSize":4191,"groups":[{"id":5546,"label":"index.js","path":"./node_modules/axios/lib/defaults/index.js","statSize":4071},{"id":7874,"label":"transitional.js","path":"./node_modules/axios/lib/defaults/transitional.js","statSize":120}],"parsedSize":0,"gzipSize":0},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":7288,"label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":13817,"groups":[{"id":1849,"label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":5327,"label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":7303,"label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":4372,"label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":1793,"label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":561},{"id":6268,"label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":373},{"id":7985,"label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":6016,"label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":1623,"label":"null.js","path":"./node_modules/axios/lib/helpers/null.js","statSize":58},{"id":4109,"label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":205,"label":"parseProtocol.js","path":"./node_modules/axios/lib/helpers/parseProtocol.js","statSize":152},{"id":8030,"label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":7675,"label":"toFormData.js","path":"./node_modules/axios/lib/helpers/toFormData.js","statSize":1784},{"id":4875,"label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2555}],"parsedSize":0,"gzipSize":0},{"id":4867,"label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":11991}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"querystringify","path":"./node_modules/querystringify","statSize":2564,"groups":[{"id":7129,"label":"index.js","path":"./node_modules/querystringify/index.js","statSize":2564}],"parsedSize":0,"gzipSize":0},{"label":"requires-port","path":"./node_modules/requires-port","statSize":753,"groups":[{"id":7418,"label":"index.js","path":"./node_modules/requires-port/index.js","statSize":753}],"parsedSize":0,"gzipSize":0},{"label":"url-parse","path":"./node_modules/url-parse","statSize":16622,"groups":[{"id":4564,"label":"index.js","path":"./node_modules/url-parse/index.js","statSize":16622}],"parsedSize":0,"gzipSize":0},{"label":"uuid/dist/commonjs-browser","path":"./node_modules/uuid/dist/commonjs-browser","statSize":24646,"groups":[{"id":7429,"label":"index.js","path":"./node_modules/uuid/dist/commonjs-browser/index.js","statSize":1792},{"id":4163,"label":"md5.js","path":"./node_modules/uuid/dist/commonjs-browser/md5.js","statSize":7015},{"id":4790,"label":"native.js","path":"./node_modules/uuid/dist/commonjs-browser/native.js","statSize":271},{"id":6314,"label":"nil.js","path":"./node_modules/uuid/dist/commonjs-browser/nil.js","statSize":188},{"id":8222,"label":"parse.js","path":"./node_modules/uuid/dist/commonjs-browser/parse.js","statSize":1380},{"id":58,"label":"regex.js","path":"./node_modules/uuid/dist/commonjs-browser/regex.js","statSize":267},{"id":3319,"label":"rng.js","path":"./node_modules/uuid/dist/commonjs-browser/rng.js","statSize":927},{"id":3757,"label":"sha1.js","path":"./node_modules/uuid/dist/commonjs-browser/sha1.js","statSize":2609},{"id":4008,"label":"stringify.js","path":"./node_modules/uuid/dist/commonjs-browser/stringify.js","statSize":1795},{"id":3990,"label":"v1.js","path":"./node_modules/uuid/dist/commonjs-browser/v1.js","statSize":3602},{"id":8237,"label":"v3.js","path":"./node_modules/uuid/dist/commonjs-browser/v3.js","statSize":414},{"id":7925,"label":"v35.js","path":"./node_modules/uuid/dist/commonjs-browser/v35.js","statSize":2076},{"id":5355,"label":"v4.js","path":"./node_modules/uuid/dist/commonjs-browser/v4.js","statSize":1009},{"id":3764,"label":"v5.js","path":"./node_modules/uuid/dist/commonjs-browser/v5.js","statSize":417},{"id":6435,"label":"validate.js","path":"./node_modules/uuid/dist/commonjs-browser/validate.js","statSize":410},{"id":8464,"label":"version.js","path":"./node_modules/uuid/dist/commonjs-browser/version.js","statSize":474}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}]
[{"label":"kontent-delivery.umd.min.js","isAsset":true,"statSize":303588,"parsedSize":121433,"gzipSize":28159,"groups":[{"label":"lib","path":"./lib","statSize":173421,"groups":[{"label":"client","path":"./lib/client","statSize":4803,"groups":[{"id":7384,"label":"delivery-client.factory.ts","path":"./lib/client/delivery-client.factory.ts","statSize":332},{"id":7262,"label":"delivery-client.ts","path":"./lib/client/delivery-client.ts","statSize":3438},{"id":5357,"label":"idelivery-client.interface.ts","path":"./lib/client/idelivery-client.interface.ts","statSize":79},{"id":7038,"label":"index.ts","path":"./lib/client/index.ts","statSize":954}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./lib/config","statSize":907,"groups":[{"id":7769,"label":"delivery-configs.ts","path":"./lib/config/delivery-configs.ts","statSize":79},{"id":9059,"label":"index.ts","path":"./lib/config/index.ts","statSize":828}],"parsedSize":0,"gzipSize":0},{"label":"contracts","path":"./lib/contracts","statSize":900,"groups":[{"id":2051,"label":"contracts.ts","path":"./lib/contracts/contracts.ts","statSize":79},{"id":3719,"label":"index.ts","path":"./lib/contracts/index.ts","statSize":821}],"parsedSize":0,"gzipSize":0},{"label":"elements","path":"./lib/elements","statSize":1977,"groups":[{"id":6175,"label":"element-models.ts","path":"./lib/elements/element-models.ts","statSize":79},{"id":4377,"label":"element-resolver.ts","path":"./lib/elements/element-resolver.ts","statSize":79},{"id":6391,"label":"element-type.ts","path":"./lib/elements/element-type.ts","statSize":761},{"id":1037,"label":"elements.ts","path":"./lib/elements/elements.ts","statSize":79},{"id":5687,"label":"index.ts","path":"./lib/elements/index.ts","statSize":979}],"parsedSize":0,"gzipSize":0},{"label":"images","path":"./lib/images","statSize":6896,"groups":[{"id":8014,"label":"image-url-transformation-builder.factory.ts","path":"./lib/images/image-url-transformation-builder.factory.ts","statSize":380},{"id":9250,"label":"image-url-transformation-builder.ts","path":"./lib/images/image-url-transformation-builder.ts","statSize":5463},{"id":4141,"label":"image.models.ts","path":"./lib/images/image.models.ts","statSize":79},{"id":8233,"label":"index.ts","path":"./lib/images/index.ts","statSize":974}],"parsedSize":0,"gzipSize":0},{"id":8713,"label":"index.ts","path":"./lib/index.ts","statSize":1398,"parsedSize":121433,"gzipSize":28159},{"label":"mappers","path":"./lib/mappers","statSize":29611,"groups":[{"id":409,"label":"element.mapper.ts","path":"./lib/mappers/element.mapper.ts","statSize":17713},{"id":6622,"label":"generic-element.mapper.ts","path":"./lib/mappers/generic-element.mapper.ts","statSize":637},{"id":5201,"label":"index.ts","path":"./lib/mappers/index.ts","statSize":1145},{"id":5854,"label":"item.mapper.ts","path":"./lib/mappers/item.mapper.ts","statSize":4476},{"id":8778,"label":"language.mapper.ts","path":"./lib/mappers/language.mapper.ts","statSize":532},{"id":5038,"label":"sync.mapper.ts","path":"./lib/mappers/sync.mapper.ts","statSize":596},{"id":2514,"label":"taxonomy.mapper.ts","path":"./lib/mappers/taxonomy.mapper.ts","statSize":2163},{"id":5459,"label":"type.mapper.ts","path":"./lib/mappers/type.mapper.ts","statSize":2349}],"parsedSize":0,"gzipSize":0},{"label":"models","path":"./lib/models","statSize":18433,"groups":[{"label":"common","path":"./lib/models/common","statSize":16695,"groups":[{"id":5398,"label":"base-responses.ts","path":"./lib/models/common/base-responses.ts","statSize":79},{"id":4047,"label":"common-models.ts","path":"./lib/models/common/common-models.ts","statSize":380},{"id":6667,"label":"filters.ts","path":"./lib/models/common/filters.ts","statSize":8747},{"id":5138,"label":"headers.ts","path":"./lib/models/common/headers.ts","statSize":458},{"id":1838,"label":"index.ts","path":"./lib/models/common/index.ts","statSize":1123},{"id":803,"label":"pagination.class.ts","path":"./lib/models/common/pagination.class.ts","statSize":79},{"id":7768,"label":"parameters.ts","path":"./lib/models/common/parameters.ts","statSize":5750},{"id":2523,"label":"sort-order.ts","path":"./lib/models/common/sort-order.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"id":4088,"label":"content-type-models.ts","path":"./lib/models/content-type-models.ts","statSize":79},{"id":238,"label":"element-models.ts","path":"./lib/models/element-models.ts","statSize":79},{"id":4339,"label":"index.ts","path":"./lib/models/index.ts","statSize":1185},{"id":8741,"label":"item-models.ts","path":"./lib/models/item-models.ts","statSize":79},{"id":1540,"label":"language-models.ts","path":"./lib/models/language-models.ts","statSize":79},{"id":6469,"label":"responses.ts","path":"./lib/models/responses.ts","statSize":79},{"id":4265,"label":"sync-models.ts","path":"./lib/models/sync-models.ts","statSize":79},{"id":888,"label":"taxonomy-models.ts","path":"./lib/models/taxonomy-models.ts","statSize":79}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./lib/parser","statSize":23426,"groups":[{"label":"implementation","path":"./lib/parser/implementation","statSize":17251,"groups":[{"id":6937,"label":"async-browser-parser.class.ts","path":"./lib/parser/implementation/async-browser-parser.class.ts","statSize":9377},{"id":2791,"label":"browser-parser.class.ts","path":"./lib/parser/implementation/browser-parser.class.ts","statSize":7874}],"parsedSize":0,"gzipSize":0},{"id":9802,"label":"index.ts","path":"./lib/parser/index.ts","statSize":1089},{"id":5246,"label":"parse-models.ts","path":"./lib/parser/parse-models.ts","statSize":467},{"id":55,"label":"parser-configuration.ts","path":"./lib/parser/parser-configuration.ts","statSize":743},{"id":5291,"label":"parser.helper.ts","path":"./lib/parser/parser.helper.ts","statSize":3876}],"parsedSize":0,"gzipSize":0},{"label":"query","path":"./lib/query","statSize":33770,"groups":[{"label":"common","path":"./lib/query/common","statSize":11146,"groups":[{"id":9561,"label":"base-item-listing-query.class.ts","path":"./lib/query/common/base-item-listing-query.class.ts","statSize":5722},{"id":8335,"label":"base-listing-query.class.ts","path":"./lib/query/common/base-listing-query.class.ts","statSize":2119},{"id":5166,"label":"base-query.class.ts","path":"./lib/query/common/base-query.class.ts","statSize":3305}],"parsedSize":0,"gzipSize":0},{"label":"element","path":"./lib/query/element","statSize":1231,"groups":[{"id":7902,"label":"element-query.class.ts","path":"./lib/query/element/element-query.class.ts","statSize":1231}],"parsedSize":0,"gzipSize":0},{"id":4607,"label":"index.ts","path":"./lib/query/index.ts","statSize":1592},{"label":"item","path":"./lib/query/item","statSize":5792,"groups":[{"id":7860,"label":"multiple-items-query.class.ts","path":"./lib/query/item/multiple-items-query.class.ts","statSize":3542},{"id":5437,"label":"single-item-query.class.ts","path":"./lib/query/item/single-item-query.class.ts","statSize":2250}],"parsedSize":0,"gzipSize":0},{"label":"items-feed","path":"./lib/query/items-feed","statSize":3059,"groups":[{"id":4714,"label":"items-feed-query.class.ts","path":"./lib/query/items-feed/items-feed-query.class.ts","statSize":3059}],"parsedSize":0,"gzipSize":0},{"label":"language","path":"./lib/query/language","statSize":1877,"groups":[{"id":895,"label":"languages-query.class.ts","path":"./lib/query/language/languages-query.class.ts","statSize":1877}],"parsedSize":0,"gzipSize":0},{"label":"sync","path":"./lib/query/sync","statSize":3140,"groups":[{"id":4175,"label":"initialize-sync-query.class.ts","path":"./lib/query/sync/initialize-sync-query.class.ts","statSize":1911},{"id":1348,"label":"sync-changes-query.class.ts","path":"./lib/query/sync/sync-changes-query.class.ts","statSize":1229}],"parsedSize":0,"gzipSize":0},{"label":"taxonomy","path":"./lib/query/taxonomy","statSize":2950,"groups":[{"id":5199,"label":"taxonomies-query.class.ts","path":"./lib/query/taxonomy/taxonomies-query.class.ts","statSize":1726},{"id":2341,"label":"taxonomy-query.class.ts","path":"./lib/query/taxonomy/taxonomy-query.class.ts","statSize":1224}],"parsedSize":0,"gzipSize":0},{"label":"type","path":"./lib/query/type","statSize":2983,"groups":[{"id":9780,"label":"multiple-type-query.class.ts","path":"./lib/query/type/multiple-type-query.class.ts","statSize":1914},{"id":9911,"label":"single-type-query.class.ts","path":"./lib/query/type/single-type-query.class.ts","statSize":1069}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"resolvers","path":"./lib/resolvers","statSize":21858,"groups":[{"id":9616,"label":"index.ts","path":"./lib/resolvers/index.ts","statSize":1441},{"label":"property-name","path":"./lib/resolvers/property-name","statSize":2293,"groups":[{"id":2698,"label":"camel-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/camel-case-property-name-resolver.class.ts","statSize":662},{"id":3737,"label":"pascal-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/pascal-case-property-name-resolver.class.ts","statSize":666},{"id":8035,"label":"snake-case-property-name-resolver.class.ts","path":"./lib/resolvers/property-name/snake-case-property-name-resolver.class.ts","statSize":965}],"parsedSize":0,"gzipSize":0},{"label":"rich-text","path":"./lib/resolvers/rich-text","statSize":18124,"groups":[{"label":"async","path":"./lib/resolvers/rich-text/async","statSize":5699,"groups":[{"id":1729,"label":"async-rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/async/async-rich-text-html-resolver.ts","statSize":5699}],"parsedSize":0,"gzipSize":0},{"label":"base","path":"./lib/resolvers/rich-text/base","statSize":955,"groups":[{"id":9834,"label":"base-async-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-async-rich-text-resolver.ts","statSize":490},{"id":582,"label":"base-rich-text-resolver.ts","path":"./lib/resolvers/rich-text/base/base-rich-text-resolver.ts","statSize":465}],"parsedSize":0,"gzipSize":0},{"id":3084,"label":"rich-text-resolver.models.ts","path":"./lib/resolvers/rich-text/rich-text-resolver.models.ts","statSize":79},{"label":"sync","path":"./lib/resolvers/rich-text/sync","statSize":11391,"groups":[{"id":4317,"label":"rich-text-html-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-html-resolver.ts","statSize":4009},{"id":6611,"label":"rich-text-json-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-json-resolver.ts","statSize":984},{"id":954,"label":"rich-text-object-resolver.ts","path":"./lib/resolvers/rich-text/sync/rich-text-object-resolver.ts","statSize":6398}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":8990,"label":"sdk-info.generated.ts","path":"./lib/sdk-info.generated.ts","statSize":217},{"label":"services","path":"./lib/services","statSize":26049,"groups":[{"id":6297,"label":"base-delivery-query.service.ts","path":"./lib/services/base-delivery-query.service.ts","statSize":11741},{"id":8897,"label":"delivery-query.service.ts","path":"./lib/services/delivery-query.service.ts","statSize":9240},{"id":9287,"label":"index.ts","path":"./lib/services/index.ts","statSize":888},{"id":1367,"label":"mapping.service.ts","path":"./lib/services/mapping.service.ts","statSize":4180}],"parsedSize":0,"gzipSize":0},{"label":"utilities","path":"./lib/utilities","statSize":3176,"groups":[{"id":772,"label":"delivery-url.helper.ts","path":"./lib/utilities/delivery-url.helper.ts","statSize":602},{"id":2271,"label":"guid.helper.ts","path":"./lib/utilities/guid.helper.ts","statSize":324},{"id":317,"label":"index.ts","path":"./lib/utilities/index.ts","statSize":989},{"id":968,"label":"linked-items.helper.ts","path":"./lib/utilities/linked-items.helper.ts","statSize":541},{"id":6720,"label":"text-helper.ts","path":"./lib/utilities/text-helper.ts","statSize":720}],"parsedSize":0,"gzipSize":0}],"parsedSize":121433,"gzipSize":28159},{"label":"node_modules","path":"./node_modules","statSize":130167,"groups":[{"label":"@kontent-ai/core-sdk/dist/es6","path":"./node_modules/@kontent-ai/core-sdk/dist/es6","statSize":27461,"groups":[{"id":3925,"label":"index.js + 13 modules (concatenated)","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)","statSize":27461,"concatenated":true,"groups":[{"label":"node_modules/@kontent-ai/core-sdk/dist/es6","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6","statSize":27461,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/index.js","statSize":131,"inaccurateSizes":true},{"label":"helpers","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers","statSize":8834,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/index.js","statSize":198,"inaccurateSizes":true},{"id":null,"label":"url.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/url.helper.js","statSize":639,"inaccurateSizes":true},{"id":null,"label":"header.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/header.helper.js","statSize":530,"inaccurateSizes":true},{"id":null,"label":"enum.helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/enum.helper.js","statSize":1542,"inaccurateSizes":true},{"id":null,"label":"retry-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/retry-helper.js","statSize":5587,"inaccurateSizes":true},{"id":null,"label":"headers-helper.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/helpers/headers-helper.js","statSize":338,"inaccurateSizes":true}],"inaccurateSizes":true},{"label":"models","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/models","statSize":899,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/models/index.js","statSize":125,"inaccurateSizes":true},{"id":null,"label":"parameters.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/models/parameters.js","statSize":774,"inaccurateSizes":true}],"inaccurateSizes":true},{"label":"http","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http","statSize":17597,"groups":[{"id":null,"label":"index.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/index.js","statSize":239,"inaccurateSizes":true},{"id":null,"label":"http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/http.service.js","statSize":2559,"inaccurateSizes":true},{"id":null,"label":"http.functions.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/http.functions.js","statSize":13290,"inaccurateSizes":true},{"id":null,"label":"http.debugger.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/http.debugger.js","statSize":416,"inaccurateSizes":true},{"id":null,"label":"test-http.service.js","path":"./node_modules/@kontent-ai/core-sdk/dist/es6/index.js + 13 modules (concatenated)/node_modules/@kontent-ai/core-sdk/dist/es6/http/test-http.service.js","statSize":1093,"inaccurateSizes":true}],"inaccurateSizes":true}],"inaccurateSizes":true}]}],"parsedSize":0,"gzipSize":0},{"label":"axios","path":"./node_modules/axios","statSize":58121,"groups":[{"id":9669,"label":"index.js","path":"./node_modules/axios/index.js","statSize":40},{"label":"lib","path":"./node_modules/axios/lib","statSize":58081,"groups":[{"label":"adapters","path":"./node_modules/axios/lib/adapters","statSize":7391,"groups":[{"id":5448,"label":"xhr.js","path":"./node_modules/axios/lib/adapters/xhr.js","statSize":7391}],"parsedSize":0,"gzipSize":0},{"id":1609,"label":"axios.js","path":"./node_modules/axios/lib/axios.js","statSize":1799},{"label":"cancel","path":"./node_modules/axios/lib/cancel","statSize":3144,"groups":[{"id":4972,"label":"CancelToken.js","path":"./node_modules/axios/lib/cancel/CancelToken.js","statSize":2497},{"id":644,"label":"CanceledError.js","path":"./node_modules/axios/lib/cancel/CanceledError.js","statSize":545},{"id":6502,"label":"isCancel.js","path":"./node_modules/axios/lib/cancel/isCancel.js","statSize":102}],"parsedSize":0,"gzipSize":0},{"label":"core","path":"./node_modules/axios/lib/core","statSize":15705,"groups":[{"id":321,"label":"Axios.js","path":"./node_modules/axios/lib/core/Axios.js","statSize":4582},{"id":2648,"label":"AxiosError.js","path":"./node_modules/axios/lib/core/AxiosError.js","statSize":2254},{"id":782,"label":"InterceptorManager.js","path":"./node_modules/axios/lib/core/InterceptorManager.js","statSize":1363},{"id":4097,"label":"buildFullPath.js","path":"./node_modules/axios/lib/core/buildFullPath.js","statSize":695},{"id":3572,"label":"dispatchRequest.js","path":"./node_modules/axios/lib/core/dispatchRequest.js","statSize":2140},{"id":7185,"label":"mergeConfig.js","path":"./node_modules/axios/lib/core/mergeConfig.js","statSize":3235},{"id":6026,"label":"settle.js","path":"./node_modules/axios/lib/core/settle.js","statSize":799},{"id":8527,"label":"transformData.js","path":"./node_modules/axios/lib/core/transformData.js","statSize":637}],"parsedSize":0,"gzipSize":0},{"label":"defaults","path":"./node_modules/axios/lib/defaults","statSize":4191,"groups":[{"id":5546,"label":"index.js","path":"./node_modules/axios/lib/defaults/index.js","statSize":4071},{"id":7874,"label":"transitional.js","path":"./node_modules/axios/lib/defaults/transitional.js","statSize":120}],"parsedSize":0,"gzipSize":0},{"label":"env","path":"./node_modules/axios/lib/env","statSize":43,"groups":[{"id":7288,"label":"data.js","path":"./node_modules/axios/lib/env/data.js","statSize":43}],"parsedSize":0,"gzipSize":0},{"label":"helpers","path":"./node_modules/axios/lib/helpers","statSize":13817,"groups":[{"id":1849,"label":"bind.js","path":"./node_modules/axios/lib/helpers/bind.js","statSize":256},{"id":5327,"label":"buildURL.js","path":"./node_modules/axios/lib/helpers/buildURL.js","statSize":1644},{"id":7303,"label":"combineURLs.js","path":"./node_modules/axios/lib/helpers/combineURLs.js","statSize":380},{"id":4372,"label":"cookies.js","path":"./node_modules/axios/lib/helpers/cookies.js","statSize":1435},{"id":1793,"label":"isAbsoluteURL.js","path":"./node_modules/axios/lib/helpers/isAbsoluteURL.js","statSize":561},{"id":6268,"label":"isAxiosError.js","path":"./node_modules/axios/lib/helpers/isAxiosError.js","statSize":373},{"id":7985,"label":"isURLSameOrigin.js","path":"./node_modules/axios/lib/helpers/isURLSameOrigin.js","statSize":2305},{"id":6016,"label":"normalizeHeaderName.js","path":"./node_modules/axios/lib/helpers/normalizeHeaderName.js","statSize":357},{"id":1623,"label":"null.js","path":"./node_modules/axios/lib/helpers/null.js","statSize":58},{"id":4109,"label":"parseHeaders.js","path":"./node_modules/axios/lib/helpers/parseHeaders.js","statSize":1393},{"id":205,"label":"parseProtocol.js","path":"./node_modules/axios/lib/helpers/parseProtocol.js","statSize":152},{"id":8030,"label":"spread.js","path":"./node_modules/axios/lib/helpers/spread.js","statSize":564},{"id":7675,"label":"toFormData.js","path":"./node_modules/axios/lib/helpers/toFormData.js","statSize":1784},{"id":4875,"label":"validator.js","path":"./node_modules/axios/lib/helpers/validator.js","statSize":2555}],"parsedSize":0,"gzipSize":0},{"id":4867,"label":"utils.js","path":"./node_modules/axios/lib/utils.js","statSize":11991}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"querystringify","path":"./node_modules/querystringify","statSize":2564,"groups":[{"id":7129,"label":"index.js","path":"./node_modules/querystringify/index.js","statSize":2564}],"parsedSize":0,"gzipSize":0},{"label":"requires-port","path":"./node_modules/requires-port","statSize":753,"groups":[{"id":7418,"label":"index.js","path":"./node_modules/requires-port/index.js","statSize":753}],"parsedSize":0,"gzipSize":0},{"label":"url-parse","path":"./node_modules/url-parse","statSize":16622,"groups":[{"id":4564,"label":"index.js","path":"./node_modules/url-parse/index.js","statSize":16622}],"parsedSize":0,"gzipSize":0},{"label":"uuid/dist/commonjs-browser","path":"./node_modules/uuid/dist/commonjs-browser","statSize":24646,"groups":[{"id":7429,"label":"index.js","path":"./node_modules/uuid/dist/commonjs-browser/index.js","statSize":1792},{"id":4163,"label":"md5.js","path":"./node_modules/uuid/dist/commonjs-browser/md5.js","statSize":7015},{"id":4790,"label":"native.js","path":"./node_modules/uuid/dist/commonjs-browser/native.js","statSize":271},{"id":6314,"label":"nil.js","path":"./node_modules/uuid/dist/commonjs-browser/nil.js","statSize":188},{"id":8222,"label":"parse.js","path":"./node_modules/uuid/dist/commonjs-browser/parse.js","statSize":1380},{"id":58,"label":"regex.js","path":"./node_modules/uuid/dist/commonjs-browser/regex.js","statSize":267},{"id":3319,"label":"rng.js","path":"./node_modules/uuid/dist/commonjs-browser/rng.js","statSize":927},{"id":3757,"label":"sha1.js","path":"./node_modules/uuid/dist/commonjs-browser/sha1.js","statSize":2609},{"id":4008,"label":"stringify.js","path":"./node_modules/uuid/dist/commonjs-browser/stringify.js","statSize":1795},{"id":3990,"label":"v1.js","path":"./node_modules/uuid/dist/commonjs-browser/v1.js","statSize":3602},{"id":8237,"label":"v3.js","path":"./node_modules/uuid/dist/commonjs-browser/v3.js","statSize":414},{"id":7925,"label":"v35.js","path":"./node_modules/uuid/dist/commonjs-browser/v35.js","statSize":2076},{"id":5355,"label":"v4.js","path":"./node_modules/uuid/dist/commonjs-browser/v4.js","statSize":1009},{"id":3764,"label":"v5.js","path":"./node_modules/uuid/dist/commonjs-browser/v5.js","statSize":417},{"id":6435,"label":"validate.js","path":"./node_modules/uuid/dist/commonjs-browser/validate.js","statSize":410},{"id":8464,"label":"version.js","path":"./node_modules/uuid/dist/commonjs-browser/version.js","statSize":474}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"index":true}}]
import { IDeliveryClientConfig } from '../config';
import { IContentItem } from '../models';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { IMappingService } from '../services';

@@ -57,2 +57,10 @@ import { IDeliveryClient } from './idelivery-client.interface';

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}

@@ -85,4 +85,16 @@ "use strict";

}
/**
* Gets query for initializing sync
*/
initializeSync() {
return new query_1.InitializeSyncQuery(this.config, this.queryService);
}
/**
* Gets query fetching delta updates of content items
*/
syncChanges() {
return new query_1.SyncChangesQuery(this.config, this.queryService);
}
}
exports.DeliveryClient = DeliveryClient;
//# sourceMappingURL=delivery-client.js.map
import { IContentItem } from '../models';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { IMappingService } from '../services';

@@ -48,2 +48,10 @@ export interface IDeliveryClient {

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}

@@ -13,3 +13,3 @@ export declare namespace Contracts {

name: string;
taxonomyGroup?: string;
taxonomy_group?: string;
options?: IElementOptionContract[];

@@ -28,2 +28,17 @@ }

}
interface IContentItemDeltaContract {
codename: string;
id: string;
type: string;
language: string;
collection: string;
change_type: 'changed' | 'deleted';
timestamp: string;
}
interface IInitializeSyncContract {
items: IContentItemDeltaContract[];
}
interface ISyncChangesContract {
items: IContentItemDeltaContract[];
}
interface ILanguageContract {

@@ -37,7 +52,3 @@ system: {

interface IViewContentTypeElementContract {
type: string;
name: string;
codename: string;
taxonomy_group?: string;
options?: IElementOptionContract[];
element: IContentTypeElementContract;
}

@@ -44,0 +55,0 @@ interface IElementContract {

@@ -9,8 +9,9 @@ "use strict";

}
const element = response.element;
return {
codename: response.codename,
name: response.name,
type: response.type,
options: response.options ? response.options : [],
taxonomyGroup: response.taxonomy_group
codename: element.codename,
name: element.name,
type: element.type,
options: element.options ? element.options : [],
taxonomyGroup: element.taxonomy_group
};

@@ -17,0 +18,0 @@ }

@@ -7,1 +7,2 @@ export * from './element.mapper';

export * from './language.mapper';
export * from './sync.mapper';

@@ -23,2 +23,3 @@ "use strict";

__exportStar(require("./language.mapper"), exports);
__exportStar(require("./sync.mapper"), exports);
//# sourceMappingURL=index.js.map

@@ -22,3 +22,3 @@ import { IQueryConfig } from './common/common-models';

*/
codename: string;
codename?: string;
/**

@@ -25,0 +25,0 @@ * Type of the element

@@ -8,1 +8,2 @@ export * from './common';

export * from './responses';
export * from './sync-models';

@@ -24,2 +24,3 @@ "use strict";

__exportStar(require("./responses"), exports);
__exportStar(require("./sync-models"), exports);
//# sourceMappingURL=index.js.map

@@ -9,2 +9,3 @@ import { Contracts } from '../contracts';

import { ILanguage } from './language-models';
import { IContentItemDelta } from './sync-models';
import { ITaxonomyGroup } from './taxonomy-models';

@@ -53,2 +54,12 @@ export declare namespace Responses {

}
interface IInitializeSyncResponse extends IKontentResponse {
items: IContentItemDelta[];
}
interface ISyncChangesResponse extends IKontentResponse {
items: IContentItemDelta[];
}
interface ISyncChangesAllResponse extends IKontentListAllResponse {
items: IContentItemDelta[];
responses: IDeliveryNetworkResponse<ISyncChangesResponse, Contracts.ISyncChangesContract>[];
}
interface IListLanguagesResponse extends IKontentListResponse {

@@ -55,0 +66,0 @@ items: ILanguage[];

import { IDeliveryClientConfig } from '../../config';
import { IGroupedNetworkResponse, IKontentListAllResponse, IKontentListResponse, IDeliveryNetworkResponse, IListAllQueryConfig, IQueryConfig, SortOrder } from '../../models';
import { IGroupedNetworkResponse, IKontentListAllResponse, IKontentListResponse, IDeliveryNetworkResponse, IListAllQueryConfig, IQueryConfig } from '../../models';
import { QueryService } from '../../services';

@@ -10,109 +10,2 @@ import { BaseQuery } from './base-query.class';

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element: string): this;
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element: string): this;
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element: string, value: string): this;
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element: string, value: string): this;
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element: string, values: string[]): this;
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element: string, values: string[]): this;
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element: string, values: string[]): this;
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element: string, value: string): this;
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element: string, value: string): this;
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element: string, values: string[]): this;
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element: string, values: string[]): this;
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element: string, value: string): this;
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element: string, value: string): this;
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element: string, lowerValue: number, higherValue: number): this;
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit: number): this;
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element: string, sortOrder: SortOrder): this;
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element: string): this;
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element: string): this;
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip: number): this;
/**
* Sets continuation token header

@@ -119,0 +12,0 @@ */

@@ -13,166 +13,2 @@ "use strict";

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element) {
this.parameters.push(new models_1.Filters.EmptyFilter(element));
return this;
}
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element) {
this.parameters.push(new models_1.Filters.NotEmptyFilter(element));
return this;
}
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element, value) {
this.parameters.push(new models_1.Filters.EqualsFilter(element, value));
return this;
}
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element, value) {
this.parameters.push(new models_1.Filters.NotEqualsFilter(element, value));
return this;
}
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element, values) {
this.parameters.push(new models_1.Filters.AllFilter(element, values));
return this;
}
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element, values) {
this.parameters.push(new models_1.Filters.AnyFilter(element, values));
return this;
}
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element, values) {
this.parameters.push(new models_1.Filters.ContainsFilter(element, values));
return this;
}
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element, value) {
this.parameters.push(new models_1.Filters.GreaterThanFilter(element, value));
return this;
}
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element, value) {
this.parameters.push(new models_1.Filters.GreaterThanOrEqualFilter(element, value));
return this;
}
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element, values) {
this.parameters.push(new models_1.Filters.InFilter(element, values));
return this;
}
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element, values) {
this.parameters.push(new models_1.Filters.NotInFilter(element, values));
return this;
}
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element, value) {
this.parameters.push(new models_1.Filters.LessThanFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element, value) {
this.parameters.push(new models_1.Filters.LessThanOrEqualFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element, lowerValue, higherValue) {
this.parameters.push(new models_1.Filters.RangeFilter(element, lowerValue, higherValue));
return this;
}
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit) {
this.parameters.push(new models_1.Parameters.LimitParameter(limit));
return this;
}
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element, sortOrder) {
this.parameters.push(new models_1.Parameters.OrderParameter(element, sortOrder));
return this;
}
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element) {
this.parameters.push(new models_1.Parameters.OrderParameter(element, 'desc'));
return this;
}
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element) {
this.parameters.push(new models_1.Parameters.OrderParameter(element, 'asc'));
return this;
}
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip) {
this.parameters.push(new models_1.Parameters.SkipParameter(skip));
return this;
}
/**
* Sets continuation token header

@@ -184,3 +20,3 @@ */

let queryHeaders = (_a = this._queryConfig.customHeaders) !== null && _a !== void 0 ? _a : [];
queryHeaders = queryHeaders.filter(m => m.header !== models_1.continuationTokenHeaderName);
queryHeaders = queryHeaders.filter((m) => m.header !== models_1.continuationTokenHeaderName);
this._queryConfig.customHeaders = queryHeaders;

@@ -187,0 +23,0 @@ this.withHeaders([

@@ -25,4 +25,3 @@ "use strict";

getUrl() {
const action = '/types/' + this.typeCodename + '/elements/' + this.elementCodename;
return super.resolveUrlInternal(action);
return super.resolveUrlInternal(`/types/${this.typeCodename}/elements/${this.elementCodename}`);
}

@@ -29,0 +28,0 @@ map(json) {

@@ -11,1 +11,3 @@ export * from './common/base-query.class';

export * from './language/languages-query.class';
export * from './sync/initialize-sync-query.class';
export * from './sync/sync-changes-query.class';

@@ -27,2 +27,4 @@ "use strict";

__exportStar(require("./language/languages-query.class"), exports);
__exportStar(require("./sync/initialize-sync-query.class"), exports);
__exportStar(require("./sync/sync-changes-query.class"), exports);
//# sourceMappingURL=index.js.map

@@ -5,4 +5,4 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
export declare class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<Responses.IListContentItemsResponse<TContentItem>, Responses.IListContentItemsAllResponse<TContentItem>, IItemQueryConfig, Contracts.IListContentItemsContract> {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export declare class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<Responses.IListContentItemsResponse<TContentItem>, Responses.IListContentItemsAllResponse<TContentItem>, IItemQueryConfig, Contracts.IListContentItemsContract> {
protected config: IDeliveryClientConfig;

@@ -9,0 +9,0 @@ protected queryService: QueryService;

@@ -5,4 +5,4 @@ "use strict";

const models_1 = require("../../models");
const base_listing_query_class_1 = require("../common/base-listing-query.class");
class MultipleItemsQuery extends base_listing_query_class_1.BaseListingQuery {
const base_item_listing_query_class_1 = require("../common/base-item-listing-query.class");
class MultipleItemsQuery extends base_item_listing_query_class_1.BaseItemListingQuery {
constructor(config, queryService) {

@@ -9,0 +9,0 @@ super(config, queryService);

@@ -5,4 +5,4 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
export declare class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<Responses.IListItemsFeedResponse<TContentItem>, Responses.IListItemsFeedAllResponse<TContentItem>, IItemQueryConfig, Contracts.IItemsFeedContract> {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export declare class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<Responses.IListItemsFeedResponse<TContentItem>, Responses.IListItemsFeedAllResponse<TContentItem>, IItemQueryConfig, Contracts.IItemsFeedContract> {
protected config: IDeliveryClientConfig;

@@ -9,0 +9,0 @@ protected queryService: QueryService;

@@ -5,4 +5,4 @@ "use strict";

const models_1 = require("../../models");
const base_listing_query_class_1 = require("../common/base-listing-query.class");
class ItemsFeedQuery extends base_listing_query_class_1.BaseListingQuery {
const base_item_listing_query_class_1 = require("../common/base-item-listing-query.class");
class ItemsFeedQuery extends base_item_listing_query_class_1.BaseItemListingQuery {
constructor(config, queryService) {

@@ -70,3 +70,3 @@ super(config, queryService);

const action = '/items-feed';
// add default language is necessry
// add default language is necessary
this.processDefaultLanguageParameter();

@@ -73,0 +73,0 @@ return super.resolveUrlInternal(action);

@@ -25,6 +25,2 @@ import { Contracts } from '../../contracts';

skipParameter(skip: number): this;
/**
* Sets continuation token header
*/
withContinuationToken(token: string): this;
toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListLanguagesResponse, Contracts.IListLanguagesContract>>;

@@ -31,0 +27,0 @@ getUrl(): string;

@@ -33,14 +33,2 @@ "use strict";

}
/**
* Sets continuation token header
*/
withContinuationToken(token) {
this.withHeaders([
{
header: models_1.continuationTokenHeaderName,
value: token
}
]);
return this;
}
toPromise() {

@@ -47,0 +35,0 @@ var _a;

@@ -26,6 +26,2 @@ import { Contracts } from '../../contracts';

toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListTaxonomiesResponse, Contracts.IListTaxonomyGroupsContract>>;
/**
* Sets continuation token header
*/
withContinuationToken(token: string): this;
getUrl(): string;

@@ -32,0 +28,0 @@ map(json: any): Responses.IListTaxonomiesResponse;

@@ -37,14 +37,2 @@ "use strict";

}
/**
* Sets continuation token header
*/
withContinuationToken(token) {
this.withHeaders([
{
header: models_1.continuationTokenHeaderName,
value: token
}
]);
return this;
}
getUrl() {

@@ -51,0 +39,0 @@ const action = '/' + this.taxonomiesEndpoint;

@@ -11,2 +11,17 @@ import { Contracts } from '../../contracts';

constructor(config: IDeliveryClientConfig, queryService: QueryService);
/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames: string[]): this;
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit: number): this;
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip: number): this;
toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListContentTypesResponse, Contracts.IListContentTypeContract>>;

@@ -13,0 +28,0 @@ getUrl(): string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MultipleTypeQuery = void 0;
const models_1 = require("../../models");
const base_listing_query_class_1 = require("../common/base-listing-query.class");

@@ -12,2 +13,26 @@ class MultipleTypeQuery extends base_listing_query_class_1.BaseListingQuery {

}
/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames) {
this.parameters.push(new models_1.Parameters.ElementsParameter(elementCodenames));
return this;
}
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit) {
this.parameters.push(new models_1.Parameters.LimitParameter(limit));
return this;
}
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip) {
this.parameters.push(new models_1.Parameters.SkipParameter(skip));
return this;
}
toPromise() {

@@ -14,0 +39,0 @@ var _a;

@@ -6,5 +6,5 @@ "use strict";

host: 'npmjs.com',
version: '12.3.0',
version: '12.4.0',
name: '@kontent-ai/delivery-sdk'
};
//# sourceMappingURL=sdk-info.generated.js.map

@@ -61,2 +61,10 @@ import { IResponse, IHeader, IHttpService, IQueryParameter } from '@kontent-ai/core-sdk';

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
protected postResponseAsync<TRawData>(url: string, body: any, queryConfig?: IQueryConfig, serviceConfig?: {
headers?: IHeader[];
}): Promise<IResponse<TRawData>>;
/**
* Http GET response

@@ -63,0 +71,0 @@ * @param url Url of request

@@ -104,2 +104,31 @@ "use strict";

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
postResponseAsync(url, body, queryConfig, serviceConfig) {
return __awaiter(this, void 0, void 0, function* () {
if (!queryConfig) {
queryConfig = {};
}
if (!serviceConfig) {
serviceConfig = {};
}
try {
return yield this.httpService.postAsync({
url: url,
body: body
}, {
cancelToken: queryConfig === null || queryConfig === void 0 ? void 0 : queryConfig.cancelToken,
responseType: 'json',
retryStrategy: this.config.retryStrategy,
headers: this.getHeaders(queryConfig, serviceConfig.headers ? serviceConfig.headers : [])
});
}
catch (error) {
throw this.mapDeliveryError(error);
}
});
}
/**
* Http GET response

@@ -106,0 +135,0 @@ * @param url Url of request

import { IHttpService } from '@kontent-ai/core-sdk';
import { IDeliveryClientConfig } from '../config';
import { Contracts } from '../contracts';
import { Responses, IContentItem, IContentTypeQueryConfig, IGroupedNetworkResponse, IItemQueryConfig, IDeliveryNetworkResponse, ILanguagesQueryConfig, ITaxonomyQueryConfig } from '../models';
import { Responses, IContentItem, IContentTypeQueryConfig, IGroupedNetworkResponse, IItemQueryConfig, IDeliveryNetworkResponse, ILanguagesQueryConfig, ITaxonomyQueryConfig, ISyncInitQueryConfig } from '../models';
import { IKontentListAllResponse, IKontentListResponse, IListAllQueryConfig, ISDKInfo } from '../models/common/common-models';

@@ -41,2 +41,17 @@ import { BaseDeliveryQueryService } from './base-delivery-query.service';

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
initializeSync(url: string, queryConfig: ISyncInitQueryConfig): Promise<IDeliveryNetworkResponse<Responses.IInitializeSyncResponse, Contracts.IInitializeSyncContract>>;
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
syncChanges(url: string, queryConfig: IContentTypeQueryConfig): Promise<IDeliveryNetworkResponse<Responses.ISyncChangesResponse, Contracts.ISyncChangesContract>>;
/**
* Gets languages

@@ -43,0 +58,0 @@ * @param url Url

@@ -74,2 +74,27 @@ "use strict";

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
initializeSync(url, queryConfig) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.postResponseAsync(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.initializeContentSync(response.data), response);
});
}
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
syncChanges(url, queryConfig) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.getResponseAsync(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.syncChanges(response.data), response);
});
}
/**
* Gets languages

@@ -76,0 +101,0 @@ * @param url Url

@@ -14,2 +14,4 @@ import { IDeliveryClientConfig } from '../config';

listLanguagesResponse(data: Contracts.IListLanguagesContract): Responses.IListLanguagesResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
}

@@ -23,2 +25,3 @@ export declare class MappingService implements IMappingService {

private readonly genericElementMapper;
private readonly syncMapper;
constructor(config: IDeliveryClientConfig);

@@ -69,3 +72,5 @@ /**

viewContentTypeElementResponse(data: Contracts.IViewContentTypeElementContract): Responses.IViewContentTypeElementResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
private mapPagination;
}

@@ -13,2 +13,3 @@ "use strict";

this.genericElementMapper = new mappers_1.GenericElementMapper();
this.syncMapper = new mappers_1.SyncMapper();
}

@@ -108,2 +109,12 @@ /**

}
initializeContentSync(data) {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
syncChanges(data) {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
mapPagination(paginationContract) {

@@ -110,0 +121,0 @@ var _a;

import { IDeliveryClientConfig } from '../config';
import { IContentItem } from '../models';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { IMappingService } from '../services';

@@ -57,2 +57,10 @@ import { IDeliveryClient } from './idelivery-client.interface';

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}
import { HttpService } from '@kontent-ai/core-sdk';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { sdkInfo } from '../sdk-info.generated';

@@ -82,3 +82,15 @@ import { MappingService, QueryService } from '../services';

}
/**
* Gets query for initializing sync
*/
initializeSync() {
return new InitializeSyncQuery(this.config, this.queryService);
}
/**
* Gets query fetching delta updates of content items
*/
syncChanges() {
return new SyncChangesQuery(this.config, this.queryService);
}
}
//# sourceMappingURL=delivery-client.js.map
import { IContentItem } from '../models';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { IMappingService } from '../services';

@@ -48,2 +48,10 @@ export interface IDeliveryClient {

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}

@@ -13,3 +13,3 @@ export declare namespace Contracts {

name: string;
taxonomyGroup?: string;
taxonomy_group?: string;
options?: IElementOptionContract[];

@@ -28,2 +28,17 @@ }

}
interface IContentItemDeltaContract {
codename: string;
id: string;
type: string;
language: string;
collection: string;
change_type: 'changed' | 'deleted';
timestamp: string;
}
interface IInitializeSyncContract {
items: IContentItemDeltaContract[];
}
interface ISyncChangesContract {
items: IContentItemDeltaContract[];
}
interface ILanguageContract {

@@ -37,7 +52,3 @@ system: {

interface IViewContentTypeElementContract {
type: string;
name: string;
codename: string;
taxonomy_group?: string;
options?: IElementOptionContract[];
element: IContentTypeElementContract;
}

@@ -44,0 +55,0 @@ interface IElementContract {

@@ -6,8 +6,9 @@ export class GenericElementMapper {

}
const element = response.element;
return {
codename: response.codename,
name: response.name,
type: response.type,
options: response.options ? response.options : [],
taxonomyGroup: response.taxonomy_group
codename: element.codename,
name: element.name,
type: element.type,
options: element.options ? element.options : [],
taxonomyGroup: element.taxonomy_group
};

@@ -14,0 +15,0 @@ }

@@ -7,1 +7,2 @@ export * from './element.mapper';

export * from './language.mapper';
export * from './sync.mapper';

@@ -7,2 +7,3 @@ export * from './element.mapper';

export * from './language.mapper';
export * from './sync.mapper';
//# sourceMappingURL=index.js.map

@@ -22,3 +22,3 @@ import { IQueryConfig } from './common/common-models';

*/
codename: string;
codename?: string;
/**

@@ -25,0 +25,0 @@ * Type of the element

@@ -8,1 +8,2 @@ export * from './common';

export * from './responses';
export * from './sync-models';

@@ -8,2 +8,3 @@ export * from './common';

export * from './responses';
export * from './sync-models';
//# sourceMappingURL=index.js.map

@@ -9,2 +9,3 @@ import { Contracts } from '../contracts';

import { ILanguage } from './language-models';
import { IContentItemDelta } from './sync-models';
import { ITaxonomyGroup } from './taxonomy-models';

@@ -53,2 +54,12 @@ export declare namespace Responses {

}
interface IInitializeSyncResponse extends IKontentResponse {
items: IContentItemDelta[];
}
interface ISyncChangesResponse extends IKontentResponse {
items: IContentItemDelta[];
}
interface ISyncChangesAllResponse extends IKontentListAllResponse {
items: IContentItemDelta[];
responses: IDeliveryNetworkResponse<ISyncChangesResponse, Contracts.ISyncChangesContract>[];
}
interface IListLanguagesResponse extends IKontentListResponse {

@@ -55,0 +66,0 @@ items: ILanguage[];

import { IDeliveryClientConfig } from '../../config';
import { IGroupedNetworkResponse, IKontentListAllResponse, IKontentListResponse, IDeliveryNetworkResponse, IListAllQueryConfig, IQueryConfig, SortOrder } from '../../models';
import { IGroupedNetworkResponse, IKontentListAllResponse, IKontentListResponse, IDeliveryNetworkResponse, IListAllQueryConfig, IQueryConfig } from '../../models';
import { QueryService } from '../../services';

@@ -10,109 +10,2 @@ import { BaseQuery } from './base-query.class';

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element: string): this;
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element: string): this;
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element: string, value: string): this;
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element: string, value: string): this;
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element: string, values: string[]): this;
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element: string, values: string[]): this;
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element: string, values: string[]): this;
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element: string, value: string): this;
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element: string, value: string): this;
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element: string, values: string[]): this;
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element: string, values: string[]): this;
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element: string, value: string): this;
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element: string, value: string): this;
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element: string, lowerValue: number, higherValue: number): this;
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit: number): this;
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element: string, sortOrder: SortOrder): this;
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element: string): this;
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element: string): this;
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip: number): this;
/**
* Sets continuation token header

@@ -119,0 +12,0 @@ */

@@ -1,2 +0,2 @@

import { continuationTokenHeaderName, Filters, Parameters } from '../../models';
import { continuationTokenHeaderName } from '../../models';
import { BaseQuery } from './base-query.class';

@@ -10,166 +10,2 @@ export class BaseListingQuery extends BaseQuery {

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element) {
this.parameters.push(new Filters.EmptyFilter(element));
return this;
}
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element) {
this.parameters.push(new Filters.NotEmptyFilter(element));
return this;
}
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element, value) {
this.parameters.push(new Filters.EqualsFilter(element, value));
return this;
}
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element, value) {
this.parameters.push(new Filters.NotEqualsFilter(element, value));
return this;
}
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element, values) {
this.parameters.push(new Filters.AllFilter(element, values));
return this;
}
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element, values) {
this.parameters.push(new Filters.AnyFilter(element, values));
return this;
}
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element, values) {
this.parameters.push(new Filters.ContainsFilter(element, values));
return this;
}
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element, value) {
this.parameters.push(new Filters.GreaterThanFilter(element, value));
return this;
}
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element, value) {
this.parameters.push(new Filters.GreaterThanOrEqualFilter(element, value));
return this;
}
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element, values) {
this.parameters.push(new Filters.InFilter(element, values));
return this;
}
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element, values) {
this.parameters.push(new Filters.NotInFilter(element, values));
return this;
}
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element, value) {
this.parameters.push(new Filters.LessThanFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element, value) {
this.parameters.push(new Filters.LessThanOrEqualFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element, lowerValue, higherValue) {
this.parameters.push(new Filters.RangeFilter(element, lowerValue, higherValue));
return this;
}
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit) {
this.parameters.push(new Parameters.LimitParameter(limit));
return this;
}
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element, sortOrder) {
this.parameters.push(new Parameters.OrderParameter(element, sortOrder));
return this;
}
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element) {
this.parameters.push(new Parameters.OrderParameter(element, 'desc'));
return this;
}
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element) {
this.parameters.push(new Parameters.OrderParameter(element, 'asc'));
return this;
}
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip) {
this.parameters.push(new Parameters.SkipParameter(skip));
return this;
}
/**
* Sets continuation token header

@@ -181,3 +17,3 @@ */

let queryHeaders = (_a = this._queryConfig.customHeaders) !== null && _a !== void 0 ? _a : [];
queryHeaders = queryHeaders.filter(m => m.header !== continuationTokenHeaderName);
queryHeaders = queryHeaders.filter((m) => m.header !== continuationTokenHeaderName);
this._queryConfig.customHeaders = queryHeaders;

@@ -184,0 +20,0 @@ this.withHeaders([

@@ -22,4 +22,3 @@ import { BaseQuery } from '../common/base-query.class';

getUrl() {
const action = '/types/' + this.typeCodename + '/elements/' + this.elementCodename;
return super.resolveUrlInternal(action);
return super.resolveUrlInternal(`/types/${this.typeCodename}/elements/${this.elementCodename}`);
}

@@ -26,0 +25,0 @@ map(json) {

@@ -11,1 +11,3 @@ export * from './common/base-query.class';

export * from './language/languages-query.class';
export * from './sync/initialize-sync-query.class';
export * from './sync/sync-changes-query.class';

@@ -11,2 +11,4 @@ export * from './common/base-query.class';

export * from './language/languages-query.class';
export * from './sync/initialize-sync-query.class';
export * from './sync/sync-changes-query.class';
//# sourceMappingURL=index.js.map

@@ -5,4 +5,4 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
export declare class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<Responses.IListContentItemsResponse<TContentItem>, Responses.IListContentItemsAllResponse<TContentItem>, IItemQueryConfig, Contracts.IListContentItemsContract> {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export declare class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<Responses.IListContentItemsResponse<TContentItem>, Responses.IListContentItemsAllResponse<TContentItem>, IItemQueryConfig, Contracts.IListContentItemsContract> {
protected config: IDeliveryClientConfig;

@@ -9,0 +9,0 @@ protected queryService: QueryService;

import { Filters, Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';
export class MultipleItemsQuery extends BaseListingQuery {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export class MultipleItemsQuery extends BaseItemListingQuery {
constructor(config, queryService) {

@@ -5,0 +5,0 @@ super(config, queryService);

@@ -5,4 +5,4 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
export declare class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<Responses.IListItemsFeedResponse<TContentItem>, Responses.IListItemsFeedAllResponse<TContentItem>, IItemQueryConfig, Contracts.IItemsFeedContract> {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export declare class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<Responses.IListItemsFeedResponse<TContentItem>, Responses.IListItemsFeedAllResponse<TContentItem>, IItemQueryConfig, Contracts.IItemsFeedContract> {
protected config: IDeliveryClientConfig;

@@ -9,0 +9,0 @@ protected queryService: QueryService;

import { Filters, Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';
export class ItemsFeedQuery extends BaseListingQuery {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export class ItemsFeedQuery extends BaseItemListingQuery {
constructor(config, queryService) {

@@ -66,3 +66,3 @@ super(config, queryService);

const action = '/items-feed';
// add default language is necessry
// add default language is necessary
this.processDefaultLanguageParameter();

@@ -69,0 +69,0 @@ return super.resolveUrlInternal(action);

@@ -25,6 +25,2 @@ import { Contracts } from '../../contracts';

skipParameter(skip: number): this;
/**
* Sets continuation token header
*/
withContinuationToken(token: string): this;
toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListLanguagesResponse, Contracts.IListLanguagesContract>>;

@@ -31,0 +27,0 @@ getUrl(): string;

@@ -1,2 +0,2 @@

import { continuationTokenHeaderName, Parameters } from '../../models';
import { Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';

@@ -30,14 +30,2 @@ export class LanguagesQuery extends BaseListingQuery {

}
/**
* Sets continuation token header
*/
withContinuationToken(token) {
this.withHeaders([
{
header: continuationTokenHeaderName,
value: token
}
]);
return this;
}
toPromise() {

@@ -44,0 +32,0 @@ var _a;

@@ -26,6 +26,2 @@ import { Contracts } from '../../contracts';

toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListTaxonomiesResponse, Contracts.IListTaxonomyGroupsContract>>;
/**
* Sets continuation token header
*/
withContinuationToken(token: string): this;
getUrl(): string;

@@ -32,0 +28,0 @@ map(json: any): Responses.IListTaxonomiesResponse;

@@ -1,2 +0,2 @@

import { continuationTokenHeaderName, Parameters } from '../../models';
import { Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';

@@ -34,14 +34,2 @@ export class TaxonomiesQuery extends BaseListingQuery {

}
/**
* Sets continuation token header
*/
withContinuationToken(token) {
this.withHeaders([
{
header: continuationTokenHeaderName,
value: token
}
]);
return this;
}
getUrl() {

@@ -48,0 +36,0 @@ const action = '/' + this.taxonomiesEndpoint;

@@ -11,2 +11,17 @@ import { Contracts } from '../../contracts';

constructor(config: IDeliveryClientConfig, queryService: QueryService);
/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames: string[]): this;
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit: number): this;
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip: number): this;
toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListContentTypesResponse, Contracts.IListContentTypeContract>>;

@@ -13,0 +28,0 @@ getUrl(): string;

@@ -0,1 +1,2 @@

import { Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';

@@ -9,2 +10,26 @@ export class MultipleTypeQuery extends BaseListingQuery {

}
/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames) {
this.parameters.push(new Parameters.ElementsParameter(elementCodenames));
return this;
}
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit) {
this.parameters.push(new Parameters.LimitParameter(limit));
return this;
}
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip) {
this.parameters.push(new Parameters.SkipParameter(skip));
return this;
}
toPromise() {

@@ -11,0 +36,0 @@ var _a;

export const sdkInfo = {
host: 'npmjs.com',
version: '12.3.0',
version: '12.4.0',
name: '@kontent-ai/delivery-sdk'
};
//# sourceMappingURL=sdk-info.generated.js.map

@@ -61,2 +61,10 @@ import { IResponse, IHeader, IHttpService, IQueryParameter } from '@kontent-ai/core-sdk';

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
protected postResponseAsync<TRawData>(url: string, body: any, queryConfig?: IQueryConfig, serviceConfig?: {
headers?: IHeader[];
}): Promise<IResponse<TRawData>>;
/**
* Http GET response

@@ -63,0 +71,0 @@ * @param url Url of request

@@ -101,2 +101,31 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
postResponseAsync(url, body, queryConfig, serviceConfig) {
return __awaiter(this, void 0, void 0, function* () {
if (!queryConfig) {
queryConfig = {};
}
if (!serviceConfig) {
serviceConfig = {};
}
try {
return yield this.httpService.postAsync({
url: url,
body: body
}, {
cancelToken: queryConfig === null || queryConfig === void 0 ? void 0 : queryConfig.cancelToken,
responseType: 'json',
retryStrategy: this.config.retryStrategy,
headers: this.getHeaders(queryConfig, serviceConfig.headers ? serviceConfig.headers : [])
});
}
catch (error) {
throw this.mapDeliveryError(error);
}
});
}
/**
* Http GET response

@@ -103,0 +132,0 @@ * @param url Url of request

import { IHttpService } from '@kontent-ai/core-sdk';
import { IDeliveryClientConfig } from '../config';
import { Contracts } from '../contracts';
import { Responses, IContentItem, IContentTypeQueryConfig, IGroupedNetworkResponse, IItemQueryConfig, IDeliveryNetworkResponse, ILanguagesQueryConfig, ITaxonomyQueryConfig } from '../models';
import { Responses, IContentItem, IContentTypeQueryConfig, IGroupedNetworkResponse, IItemQueryConfig, IDeliveryNetworkResponse, ILanguagesQueryConfig, ITaxonomyQueryConfig, ISyncInitQueryConfig } from '../models';
import { IKontentListAllResponse, IKontentListResponse, IListAllQueryConfig, ISDKInfo } from '../models/common/common-models';

@@ -41,2 +41,17 @@ import { BaseDeliveryQueryService } from './base-delivery-query.service';

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
initializeSync(url: string, queryConfig: ISyncInitQueryConfig): Promise<IDeliveryNetworkResponse<Responses.IInitializeSyncResponse, Contracts.IInitializeSyncContract>>;
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
syncChanges(url: string, queryConfig: IContentTypeQueryConfig): Promise<IDeliveryNetworkResponse<Responses.ISyncChangesResponse, Contracts.ISyncChangesContract>>;
/**
* Gets languages

@@ -43,0 +58,0 @@ * @param url Url

@@ -71,2 +71,27 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
initializeSync(url, queryConfig) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.postResponseAsync(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.initializeContentSync(response.data), response);
});
}
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
syncChanges(url, queryConfig) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.getResponseAsync(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.syncChanges(response.data), response);
});
}
/**
* Gets languages

@@ -73,0 +98,0 @@ * @param url Url

@@ -14,2 +14,4 @@ import { IDeliveryClientConfig } from '../config';

listLanguagesResponse(data: Contracts.IListLanguagesContract): Responses.IListLanguagesResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
}

@@ -23,2 +25,3 @@ export declare class MappingService implements IMappingService {

private readonly genericElementMapper;
private readonly syncMapper;
constructor(config: IDeliveryClientConfig);

@@ -69,3 +72,5 @@ /**

viewContentTypeElementResponse(data: Contracts.IViewContentTypeElementContract): Responses.IViewContentTypeElementResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
private mapPagination;
}

@@ -1,2 +0,2 @@

import { GenericElementMapper, ItemMapper, LanguageMapper, TaxonomyMapper, TypeMapper } from '../mappers';
import { SyncMapper, GenericElementMapper, ItemMapper, LanguageMapper, TaxonomyMapper, TypeMapper } from '../mappers';
export class MappingService {

@@ -10,2 +10,3 @@ constructor(config) {

this.genericElementMapper = new GenericElementMapper();
this.syncMapper = new SyncMapper();
}

@@ -105,2 +106,12 @@ /**

}
initializeContentSync(data) {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
syncChanges(data) {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
mapPagination(paginationContract) {

@@ -107,0 +118,0 @@ var _a;

import { IDeliveryClientConfig } from '../config';
import { IContentItem } from '../models';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { IMappingService } from '../services';

@@ -57,2 +57,10 @@ import { IDeliveryClient } from './idelivery-client.interface';

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}
import { HttpService } from '@kontent-ai/core-sdk';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { sdkInfo } from '../sdk-info.generated';

@@ -82,3 +82,15 @@ import { MappingService, QueryService } from '../services';

}
/**
* Gets query for initializing sync
*/
initializeSync() {
return new InitializeSyncQuery(this.config, this.queryService);
}
/**
* Gets query fetching delta updates of content items
*/
syncChanges() {
return new SyncChangesQuery(this.config, this.queryService);
}
}
//# sourceMappingURL=delivery-client.js.map
import { IContentItem } from '../models';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery } from '../query';
import { ElementQuery, ItemsFeedQuery, MultipleItemsQuery, MultipleTypeQuery, SingleItemQuery, SingleTypeQuery, TaxonomiesQuery, TaxonomyQuery, LanguagesQuery, InitializeSyncQuery, SyncChangesQuery } from '../query';
import { IMappingService } from '../services';

@@ -48,2 +48,10 @@ export interface IDeliveryClient {

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}

@@ -13,3 +13,3 @@ export declare namespace Contracts {

name: string;
taxonomyGroup?: string;
taxonomy_group?: string;
options?: IElementOptionContract[];

@@ -28,2 +28,17 @@ }

}
interface IContentItemDeltaContract {
codename: string;
id: string;
type: string;
language: string;
collection: string;
change_type: 'changed' | 'deleted';
timestamp: string;
}
interface IInitializeSyncContract {
items: IContentItemDeltaContract[];
}
interface ISyncChangesContract {
items: IContentItemDeltaContract[];
}
interface ILanguageContract {

@@ -37,7 +52,3 @@ system: {

interface IViewContentTypeElementContract {
type: string;
name: string;
codename: string;
taxonomy_group?: string;
options?: IElementOptionContract[];
element: IContentTypeElementContract;
}

@@ -44,0 +55,0 @@ interface IElementContract {

@@ -6,8 +6,9 @@ export class GenericElementMapper {

}
const element = response.element;
return {
codename: response.codename,
name: response.name,
type: response.type,
options: response.options ? response.options : [],
taxonomyGroup: response.taxonomy_group
codename: element.codename,
name: element.name,
type: element.type,
options: element.options ? element.options : [],
taxonomyGroup: element.taxonomy_group
};

@@ -14,0 +15,0 @@ }

@@ -7,1 +7,2 @@ export * from './element.mapper';

export * from './language.mapper';
export * from './sync.mapper';

@@ -7,2 +7,3 @@ export * from './element.mapper';

export * from './language.mapper';
export * from './sync.mapper';
//# sourceMappingURL=index.js.map

@@ -22,3 +22,3 @@ import { IQueryConfig } from './common/common-models';

*/
codename: string;
codename?: string;
/**

@@ -25,0 +25,0 @@ * Type of the element

@@ -8,1 +8,2 @@ export * from './common';

export * from './responses';
export * from './sync-models';

@@ -8,2 +8,3 @@ export * from './common';

export * from './responses';
export * from './sync-models';
//# sourceMappingURL=index.js.map

@@ -9,2 +9,3 @@ import { Contracts } from '../contracts';

import { ILanguage } from './language-models';
import { IContentItemDelta } from './sync-models';
import { ITaxonomyGroup } from './taxonomy-models';

@@ -53,2 +54,12 @@ export declare namespace Responses {

}
interface IInitializeSyncResponse extends IKontentResponse {
items: IContentItemDelta[];
}
interface ISyncChangesResponse extends IKontentResponse {
items: IContentItemDelta[];
}
interface ISyncChangesAllResponse extends IKontentListAllResponse {
items: IContentItemDelta[];
responses: IDeliveryNetworkResponse<ISyncChangesResponse, Contracts.ISyncChangesContract>[];
}
interface IListLanguagesResponse extends IKontentListResponse {

@@ -55,0 +66,0 @@ items: ILanguage[];

import { IDeliveryClientConfig } from '../../config';
import { IGroupedNetworkResponse, IKontentListAllResponse, IKontentListResponse, IDeliveryNetworkResponse, IListAllQueryConfig, IQueryConfig, SortOrder } from '../../models';
import { IGroupedNetworkResponse, IKontentListAllResponse, IKontentListResponse, IDeliveryNetworkResponse, IListAllQueryConfig, IQueryConfig } from '../../models';
import { QueryService } from '../../services';

@@ -10,109 +10,2 @@ import { BaseQuery } from './base-query.class';

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element: string): this;
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element: string): this;
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element: string, value: string): this;
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element: string, value: string): this;
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element: string, values: string[]): this;
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element: string, values: string[]): this;
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element: string, values: string[]): this;
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element: string, value: string): this;
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element: string, value: string): this;
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element: string, values: string[]): this;
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element: string, values: string[]): this;
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element: string, value: string): this;
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element: string, value: string): this;
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element: string, lowerValue: number, higherValue: number): this;
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit: number): this;
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element: string, sortOrder: SortOrder): this;
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element: string): this;
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element: string): this;
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip: number): this;
/**
* Sets continuation token header

@@ -119,0 +12,0 @@ */

@@ -1,2 +0,2 @@

import { continuationTokenHeaderName, Filters, Parameters } from '../../models';
import { continuationTokenHeaderName } from '../../models';
import { BaseQuery } from './base-query.class';

@@ -10,166 +10,2 @@ export class BaseListingQuery extends BaseQuery {

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element) {
this.parameters.push(new Filters.EmptyFilter(element));
return this;
}
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element) {
this.parameters.push(new Filters.NotEmptyFilter(element));
return this;
}
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element, value) {
this.parameters.push(new Filters.EqualsFilter(element, value));
return this;
}
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element, value) {
this.parameters.push(new Filters.NotEqualsFilter(element, value));
return this;
}
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element, values) {
this.parameters.push(new Filters.AllFilter(element, values));
return this;
}
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element, values) {
this.parameters.push(new Filters.AnyFilter(element, values));
return this;
}
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element, values) {
this.parameters.push(new Filters.ContainsFilter(element, values));
return this;
}
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element, value) {
this.parameters.push(new Filters.GreaterThanFilter(element, value));
return this;
}
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element, value) {
this.parameters.push(new Filters.GreaterThanOrEqualFilter(element, value));
return this;
}
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element, values) {
this.parameters.push(new Filters.InFilter(element, values));
return this;
}
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element, values) {
this.parameters.push(new Filters.NotInFilter(element, values));
return this;
}
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element, value) {
this.parameters.push(new Filters.LessThanFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element, value) {
this.parameters.push(new Filters.LessThanOrEqualFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element, lowerValue, higherValue) {
this.parameters.push(new Filters.RangeFilter(element, lowerValue, higherValue));
return this;
}
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit) {
this.parameters.push(new Parameters.LimitParameter(limit));
return this;
}
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element, sortOrder) {
this.parameters.push(new Parameters.OrderParameter(element, sortOrder));
return this;
}
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element) {
this.parameters.push(new Parameters.OrderParameter(element, 'desc'));
return this;
}
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element) {
this.parameters.push(new Parameters.OrderParameter(element, 'asc'));
return this;
}
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip) {
this.parameters.push(new Parameters.SkipParameter(skip));
return this;
}
/**
* Sets continuation token header

@@ -181,3 +17,3 @@ */

let queryHeaders = (_a = this._queryConfig.customHeaders) !== null && _a !== void 0 ? _a : [];
queryHeaders = queryHeaders.filter(m => m.header !== continuationTokenHeaderName);
queryHeaders = queryHeaders.filter((m) => m.header !== continuationTokenHeaderName);
this._queryConfig.customHeaders = queryHeaders;

@@ -184,0 +20,0 @@ this.withHeaders([

@@ -22,4 +22,3 @@ import { BaseQuery } from '../common/base-query.class';

getUrl() {
const action = '/types/' + this.typeCodename + '/elements/' + this.elementCodename;
return super.resolveUrlInternal(action);
return super.resolveUrlInternal(`/types/${this.typeCodename}/elements/${this.elementCodename}`);
}

@@ -26,0 +25,0 @@ map(json) {

@@ -11,1 +11,3 @@ export * from './common/base-query.class';

export * from './language/languages-query.class';
export * from './sync/initialize-sync-query.class';
export * from './sync/sync-changes-query.class';

@@ -11,2 +11,4 @@ export * from './common/base-query.class';

export * from './language/languages-query.class';
export * from './sync/initialize-sync-query.class';
export * from './sync/sync-changes-query.class';
//# sourceMappingURL=index.js.map

@@ -5,4 +5,4 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
export declare class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<Responses.IListContentItemsResponse<TContentItem>, Responses.IListContentItemsAllResponse<TContentItem>, IItemQueryConfig, Contracts.IListContentItemsContract> {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export declare class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<Responses.IListContentItemsResponse<TContentItem>, Responses.IListContentItemsAllResponse<TContentItem>, IItemQueryConfig, Contracts.IListContentItemsContract> {
protected config: IDeliveryClientConfig;

@@ -9,0 +9,0 @@ protected queryService: QueryService;

import { Filters, Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';
export class MultipleItemsQuery extends BaseListingQuery {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export class MultipleItemsQuery extends BaseItemListingQuery {
constructor(config, queryService) {

@@ -5,0 +5,0 @@ super(config, queryService);

@@ -5,4 +5,4 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
export declare class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<Responses.IListItemsFeedResponse<TContentItem>, Responses.IListItemsFeedAllResponse<TContentItem>, IItemQueryConfig, Contracts.IItemsFeedContract> {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export declare class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<Responses.IListItemsFeedResponse<TContentItem>, Responses.IListItemsFeedAllResponse<TContentItem>, IItemQueryConfig, Contracts.IItemsFeedContract> {
protected config: IDeliveryClientConfig;

@@ -9,0 +9,0 @@ protected queryService: QueryService;

import { Filters, Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';
export class ItemsFeedQuery extends BaseListingQuery {
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export class ItemsFeedQuery extends BaseItemListingQuery {
constructor(config, queryService) {

@@ -66,3 +66,3 @@ super(config, queryService);

const action = '/items-feed';
// add default language is necessry
// add default language is necessary
this.processDefaultLanguageParameter();

@@ -69,0 +69,0 @@ return super.resolveUrlInternal(action);

@@ -25,6 +25,2 @@ import { Contracts } from '../../contracts';

skipParameter(skip: number): this;
/**
* Sets continuation token header
*/
withContinuationToken(token: string): this;
toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListLanguagesResponse, Contracts.IListLanguagesContract>>;

@@ -31,0 +27,0 @@ getUrl(): string;

@@ -1,2 +0,2 @@

import { continuationTokenHeaderName, Parameters } from '../../models';
import { Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';

@@ -30,14 +30,2 @@ export class LanguagesQuery extends BaseListingQuery {

}
/**
* Sets continuation token header
*/
withContinuationToken(token) {
this.withHeaders([
{
header: continuationTokenHeaderName,
value: token
}
]);
return this;
}
toPromise() {

@@ -44,0 +32,0 @@ var _a;

@@ -26,6 +26,2 @@ import { Contracts } from '../../contracts';

toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListTaxonomiesResponse, Contracts.IListTaxonomyGroupsContract>>;
/**
* Sets continuation token header
*/
withContinuationToken(token: string): this;
getUrl(): string;

@@ -32,0 +28,0 @@ map(json: any): Responses.IListTaxonomiesResponse;

@@ -1,2 +0,2 @@

import { continuationTokenHeaderName, Parameters } from '../../models';
import { Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';

@@ -34,14 +34,2 @@ export class TaxonomiesQuery extends BaseListingQuery {

}
/**
* Sets continuation token header
*/
withContinuationToken(token) {
this.withHeaders([
{
header: continuationTokenHeaderName,
value: token
}
]);
return this;
}
getUrl() {

@@ -48,0 +36,0 @@ const action = '/' + this.taxonomiesEndpoint;

@@ -11,2 +11,17 @@ import { Contracts } from '../../contracts';

constructor(config: IDeliveryClientConfig, queryService: QueryService);
/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames: string[]): this;
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit: number): this;
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip: number): this;
toPromise(): Promise<IDeliveryNetworkResponse<Responses.IListContentTypesResponse, Contracts.IListContentTypeContract>>;

@@ -13,0 +28,0 @@ getUrl(): string;

@@ -0,1 +1,2 @@

import { Parameters } from '../../models';
import { BaseListingQuery } from '../common/base-listing-query.class';

@@ -9,2 +10,26 @@ export class MultipleTypeQuery extends BaseListingQuery {

}
/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames) {
this.parameters.push(new Parameters.ElementsParameter(elementCodenames));
return this;
}
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit) {
this.parameters.push(new Parameters.LimitParameter(limit));
return this;
}
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip) {
this.parameters.push(new Parameters.SkipParameter(skip));
return this;
}
toPromise() {

@@ -11,0 +36,0 @@ var _a;

export const sdkInfo = {
host: 'npmjs.com',
version: '12.3.0',
version: '12.4.0',
name: '@kontent-ai/delivery-sdk'
};
//# sourceMappingURL=sdk-info.generated.js.map

@@ -61,2 +61,10 @@ import { IResponse, IHeader, IHttpService, IQueryParameter } from '@kontent-ai/core-sdk';

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
protected postResponseAsync<TRawData>(url: string, body: any, queryConfig?: IQueryConfig, serviceConfig?: {
headers?: IHeader[];
}): Promise<IResponse<TRawData>>;
/**
* Http GET response

@@ -63,0 +71,0 @@ * @param url Url of request

@@ -101,2 +101,31 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
postResponseAsync(url, body, queryConfig, serviceConfig) {
return __awaiter(this, void 0, void 0, function* () {
if (!queryConfig) {
queryConfig = {};
}
if (!serviceConfig) {
serviceConfig = {};
}
try {
return yield this.httpService.postAsync({
url: url,
body: body
}, {
cancelToken: queryConfig === null || queryConfig === void 0 ? void 0 : queryConfig.cancelToken,
responseType: 'json',
retryStrategy: this.config.retryStrategy,
headers: this.getHeaders(queryConfig, serviceConfig.headers ? serviceConfig.headers : [])
});
}
catch (error) {
throw this.mapDeliveryError(error);
}
});
}
/**
* Http GET response

@@ -103,0 +132,0 @@ * @param url Url of request

import { IHttpService } from '@kontent-ai/core-sdk';
import { IDeliveryClientConfig } from '../config';
import { Contracts } from '../contracts';
import { Responses, IContentItem, IContentTypeQueryConfig, IGroupedNetworkResponse, IItemQueryConfig, IDeliveryNetworkResponse, ILanguagesQueryConfig, ITaxonomyQueryConfig } from '../models';
import { Responses, IContentItem, IContentTypeQueryConfig, IGroupedNetworkResponse, IItemQueryConfig, IDeliveryNetworkResponse, ILanguagesQueryConfig, ITaxonomyQueryConfig, ISyncInitQueryConfig } from '../models';
import { IKontentListAllResponse, IKontentListResponse, IListAllQueryConfig, ISDKInfo } from '../models/common/common-models';

@@ -41,2 +41,17 @@ import { BaseDeliveryQueryService } from './base-delivery-query.service';

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
initializeSync(url: string, queryConfig: ISyncInitQueryConfig): Promise<IDeliveryNetworkResponse<Responses.IInitializeSyncResponse, Contracts.IInitializeSyncContract>>;
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
syncChanges(url: string, queryConfig: IContentTypeQueryConfig): Promise<IDeliveryNetworkResponse<Responses.ISyncChangesResponse, Contracts.ISyncChangesContract>>;
/**
* Gets languages

@@ -43,0 +58,0 @@ * @param url Url

@@ -71,2 +71,27 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
initializeSync(url, queryConfig) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.postResponseAsync(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.initializeContentSync(response.data), response);
});
}
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
syncChanges(url, queryConfig) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.getResponseAsync(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.syncChanges(response.data), response);
});
}
/**
* Gets languages

@@ -73,0 +98,0 @@ * @param url Url

@@ -14,2 +14,4 @@ import { IDeliveryClientConfig } from '../config';

listLanguagesResponse(data: Contracts.IListLanguagesContract): Responses.IListLanguagesResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
}

@@ -23,2 +25,3 @@ export declare class MappingService implements IMappingService {

private readonly genericElementMapper;
private readonly syncMapper;
constructor(config: IDeliveryClientConfig);

@@ -69,3 +72,5 @@ /**

viewContentTypeElementResponse(data: Contracts.IViewContentTypeElementContract): Responses.IViewContentTypeElementResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
private mapPagination;
}

@@ -1,2 +0,2 @@

import { GenericElementMapper, ItemMapper, LanguageMapper, TaxonomyMapper, TypeMapper } from '../mappers';
import { SyncMapper, GenericElementMapper, ItemMapper, LanguageMapper, TaxonomyMapper, TypeMapper } from '../mappers';
export class MappingService {

@@ -10,2 +10,3 @@ constructor(config) {

this.genericElementMapper = new GenericElementMapper();
this.syncMapper = new SyncMapper();
}

@@ -105,2 +106,12 @@ /**

}
initializeContentSync(data) {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
syncChanges(data) {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
mapPagination(paginationContract) {

@@ -107,0 +118,0 @@ var _a;

@@ -14,3 +14,5 @@ import { HttpService } from '@kontent-ai/core-sdk';

TaxonomyQuery,
LanguagesQuery
LanguagesQuery,
InitializeSyncQuery,
SyncChangesQuery
} from '../query';

@@ -115,2 +117,16 @@ import { sdkInfo } from '../sdk-info.generated';

}
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery {
return new InitializeSyncQuery(this.config, this.queryService);
}
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery {
return new SyncChangesQuery(this.config, this.queryService);
}
}

@@ -12,2 +12,4 @@ import { IContentItem } from '../models';

LanguagesQuery,
InitializeSyncQuery,
SyncChangesQuery
} from '../query';

@@ -69,2 +71,12 @@ import { IMappingService } from '../services';

element(typeCodename: string, elementCodename: string): ElementQuery;
/**
* Gets query for initializing sync
*/
initializeSync(): InitializeSyncQuery;
/**
* Gets query fetching delta updates of content items
*/
syncChanges(): SyncChangesQuery;
}

@@ -14,3 +14,3 @@ export namespace Contracts {

name: string;
taxonomyGroup?: string;
taxonomy_group?: string;
options?: IElementOptionContract[];

@@ -33,2 +33,20 @@ }

export interface IContentItemDeltaContract {
codename: string;
id: string;
type: string;
language: string;
collection: string;
change_type: 'changed' | 'deleted';
timestamp: string;
}
export interface IInitializeSyncContract {
items: IContentItemDeltaContract[];
}
export interface ISyncChangesContract {
items: IContentItemDeltaContract[];
}
export interface ILanguageContract {

@@ -43,7 +61,3 @@ system: {

export interface IViewContentTypeElementContract {
type: string;
name: string;
codename: string;
taxonomy_group?: string;
options?: IElementOptionContract[];
element: IContentTypeElementContract;
}

@@ -50,0 +64,0 @@

@@ -10,10 +10,12 @@ import { Contracts } from '../contracts';

const element = response.element;
return {
codename: response.codename,
name: response.name,
type: response.type,
options: response.options ? response.options : [],
taxonomyGroup: response.taxonomy_group
codename: element.codename,
name: element.name,
type: element.type,
options: element.options ? element.options : [],
taxonomyGroup: element.taxonomy_group
};
}
}

@@ -7,1 +7,2 @@ export * from './element.mapper';

export * from './language.mapper';
export * from './sync.mapper';

@@ -36,3 +36,3 @@ import { Contracts } from '../contracts';

elementNames.forEach((elementName: string) => {
const typeElement = type.elements[elementName] as Contracts.IViewContentTypeElementContract;
const typeElement = type.elements[elementName];

@@ -39,0 +39,0 @@ if (!typeElement) {

@@ -30,3 +30,3 @@ import { IQueryConfig } from './common/common-models';

*/
codename: string;
codename?: string;

@@ -33,0 +33,0 @@ /**

@@ -8,2 +8,3 @@ export * from './common';

export * from './responses';
export * from './sync-models';

@@ -1,3 +0,2 @@

import {Contracts } from '../contracts';
import { Contracts } from '../contracts';
import { IDeliveryNetworkResponse } from './common/base-responses';

@@ -10,2 +9,3 @@ import { IKontentListAllResponse, IKontentListResponse, IKontentResponse } from './common/common-models';

import { ILanguage } from './language-models';
import { IContentItemDelta } from './sync-models';
import { ITaxonomyGroup } from './taxonomy-models';

@@ -60,3 +60,6 @@

items: TContentItem[];
responses: IDeliveryNetworkResponse<IListContentItemsResponse<TContentItem>, Contracts.IListContentItemsContract>[];
responses: IDeliveryNetworkResponse<
IListContentItemsResponse<TContentItem>,
Contracts.IListContentItemsContract
>[];
}

@@ -70,2 +73,15 @@

export interface IInitializeSyncResponse extends IKontentResponse {
items: IContentItemDelta[];
}
export interface ISyncChangesResponse extends IKontentResponse {
items: IContentItemDelta[];
}
export interface ISyncChangesAllResponse extends IKontentListAllResponse {
items: IContentItemDelta[];
responses: IDeliveryNetworkResponse<ISyncChangesResponse, Contracts.ISyncChangesContract>[];
}
export interface IListLanguagesResponse extends IKontentListResponse {

@@ -72,0 +88,0 @@ items: ILanguage[];

import { IDeliveryClientConfig } from '../../config';
import {
continuationTokenHeaderName,
Filters,
IGroupedNetworkResponse,

@@ -10,5 +9,3 @@ IKontentListAllResponse,

IListAllQueryConfig,
IQueryConfig,
Parameters,
SortOrder
IQueryConfig
} from '../../models';

@@ -24,3 +21,2 @@ import { QueryService } from '../../services';

> extends BaseQuery<TResponse, TQueryConfig, TContract> {
constructor(protected config: IDeliveryClientConfig, protected queryService: QueryService) {

@@ -31,185 +27,2 @@ super(config, queryService);

/**
* Empty filter condition
* @param element Element with empty value
*/
emptyFilter(element: string): this {
this.parameters.push(new Filters.EmptyFilter(element));
return this;
}
/**
* Not empty filter condition
* @param element Element with non-empty value
*/
notEmptyFilter(element: string): this {
this.parameters.push(new Filters.NotEmptyFilter(element));
return this;
}
/**
* Equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
equalsFilter(element: string, value: string): this {
this.parameters.push(new Filters.EqualsFilter(element, value));
return this;
}
/**
* Not equals filter condition
* @param element Element to filter. Example: 'elements.movie'
* @param value Value to match. Example: 'Kingsman'
*/
notEqualsFilter(element: string, value: string): this {
this.parameters.push(new Filters.NotEqualsFilter(element, value));
return this;
}
/**
* All filter
* @param element Element to filter.
* @param values Values
*/
allFilter(element: string, values: string[]): this {
this.parameters.push(new Filters.AllFilter(element, values));
return this;
}
/**
* Any filter
* @param element Element to filter.
* @param values Values
*/
anyFilter(element: string, values: string[]): this {
this.parameters.push(new Filters.AnyFilter(element, values));
return this;
}
/**
* Contains filter
* @param element Element to filter.
* @param values Values
*/
containsFilter(element: string, values: string[]): this {
this.parameters.push(new Filters.ContainsFilter(element, values));
return this;
}
/**
* Greater then filter
* @param element Element to filter.
* @param value Value
*/
greaterThanFilter(element: string, value: string): this {
this.parameters.push(new Filters.GreaterThanFilter(element, value));
return this;
}
/**
* Greater then or equals filter
* @param element Element to filter.
* @param value Value
*/
greaterThanOrEqualFilter(element: string, value: string): this {
this.parameters.push(new Filters.GreaterThanOrEqualFilter(element, value));
return this;
}
/**
* In filter
* @param element Element to filter.
* @param values Values
*/
inFilter(element: string, values: string[]): this {
this.parameters.push(new Filters.InFilter(element, values));
return this;
}
/**
* Not in filter
* @param element Element to filter.
* @param values Values
*/
notInFilter(element: string, values: string[]): this {
this.parameters.push(new Filters.NotInFilter(element, values));
return this;
}
/**
* Less then filter
* @param element Element to filter.
* @param value Value
*/
lessThanFilter(element: string, value: string): this {
this.parameters.push(new Filters.LessThanFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param value Value
*/
lessThanOrEqualFilter(element: string, value: string): this {
this.parameters.push(new Filters.LessThanOrEqualFilter(element, value));
return this;
}
/**
* @param element Element to filter.
* @param lowerValue Lower value of range (e.g. 2)
* @param higherValue Higher value of range (e.g. 10)
*/
rangeFilter(element: string, lowerValue: number, higherValue: number): this {
this.parameters.push(new Filters.RangeFilter(element, lowerValue, higherValue));
return this;
}
/**
* Limits the number of items returned by query
* @param limit Number of items to load
*/
limitParameter(limit: number): this {
this.parameters.push(new Parameters.LimitParameter(limit));
return this;
}
/**
* Orders query based on given element and sort order
* @param element Element by which to order
* @param sortOrder Asc/Desc order type
*/
orderParameter(element: string, sortOrder: SortOrder): this {
this.parameters.push(new Parameters.OrderParameter(element, sortOrder));
return this;
}
/**
* Sets descending order on given element
* @param element Element by which to order
*/
orderByDescending(element: string): this {
this.parameters.push(new Parameters.OrderParameter(element, 'desc'));
return this;
}
/**
* Sets Ascending order on given element
* @param element Element by which to order
*/
orderByAscending(element: string): this {
this.parameters.push(new Parameters.OrderParameter(element, 'asc'));
return this;
}
/**
* Skips the selected number of items
* @param skip Number of items to skip
*/
skipParameter(skip: number): this {
this.parameters.push(new Parameters.SkipParameter(skip));
return this;
}
/**
* Sets continuation token header

@@ -220,3 +33,3 @@ */

let queryHeaders = this._queryConfig.customHeaders ?? [];
queryHeaders = queryHeaders.filter(m => m.header !== continuationTokenHeaderName);
queryHeaders = queryHeaders.filter((m) => m.header !== continuationTokenHeaderName);

@@ -238,3 +51,5 @@ this._queryConfig.customHeaders = queryHeaders;

*/
toAllPromise(queryAllConfig?: IListAllQueryConfig<TResponse, TContract>): Promise<IGroupedNetworkResponse<TAllResponse>> {
toAllPromise(
queryAllConfig?: IListAllQueryConfig<TResponse, TContract>
): Promise<IGroupedNetworkResponse<TAllResponse>> {
return this.queryService.getListAllResponse<TResponse, TAllResponse, TContract>({

@@ -265,3 +80,6 @@ page: 1,

protected abstract allResponseFactory(items: any[], responses: IDeliveryNetworkResponse<TResponse, TContract>[]): TAllResponse;
protected abstract allResponseFactory(
items: any[],
responses: IDeliveryNetworkResponse<TResponse, TContract>[]
): TAllResponse;
}

@@ -42,5 +42,3 @@ import { Contracts } from '../../contracts';

getUrl(): string {
const action = '/types/' + this.typeCodename + '/elements/' + this.elementCodename;
return super.resolveUrlInternal(action);
return super.resolveUrlInternal(`/types/${this.typeCodename}/elements/${this.elementCodename}`);
}

@@ -47,0 +45,0 @@

@@ -11,1 +11,3 @@ export * from './common/base-query.class';

export * from './language/languages-query.class';
export * from './sync/initialize-sync-query.class';
export * from './sync/sync-changes-query.class';

@@ -5,5 +5,5 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<
export class MultipleItemsQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<
Responses.IListContentItemsResponse<TContentItem>,

@@ -10,0 +10,0 @@ Responses.IListContentItemsAllResponse<TContentItem>,

@@ -5,5 +5,5 @@ import { Contracts } from '../../contracts';

import { QueryService } from '../../services';
import { BaseListingQuery } from '../common/base-listing-query.class';
import { BaseItemListingQuery } from '../common/base-item-listing-query.class';
export class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseListingQuery<
export class ItemsFeedQuery<TContentItem extends IContentItem = IContentItem> extends BaseItemListingQuery<
Responses.IListItemsFeedResponse<TContentItem>,

@@ -86,3 +86,3 @@ Responses.IListItemsFeedAllResponse<TContentItem>,

// add default language is necessry
// add default language is necessary
this.processDefaultLanguageParameter();

@@ -89,0 +89,0 @@

import { Contracts } from '../../contracts';
import { IDeliveryClientConfig } from '../../config';
import {
continuationTokenHeaderName,
IDeliveryNetworkResponse,

@@ -48,16 +47,2 @@ ILanguagesQueryConfig,

/**
* Sets continuation token header
*/
withContinuationToken(token: string): this {
this.withHeaders([
{
header: continuationTokenHeaderName,
value: token
}
]);
return this;
}
toPromise(): Promise<

@@ -64,0 +49,0 @@ IDeliveryNetworkResponse<Responses.IListLanguagesResponse, Contracts.IListLanguagesContract>

import { Contracts } from '../../contracts';
import { IDeliveryClientConfig } from '../../config';
import {
continuationTokenHeaderName,
IDeliveryNetworkResponse,

@@ -57,16 +56,2 @@ ITaxonomyQueryConfig,

/**
* Sets continuation token header
*/
withContinuationToken(token: string): this {
this.withHeaders([
{
header: continuationTokenHeaderName,
value: token
}
]);
return this;
}
getUrl(): string {

@@ -73,0 +58,0 @@ const action = '/' + this.taxonomiesEndpoint;

import { Contracts } from '../../contracts';
import { IDeliveryClientConfig } from '../../config';
import { IContentTypeQueryConfig, IDeliveryNetworkResponse, Responses } from '../../models';
import { IContentTypeQueryConfig, IDeliveryNetworkResponse, Parameters, Responses } from '../../models';
import { QueryService } from '../../services';

@@ -13,3 +13,2 @@ import { BaseListingQuery } from '../common/base-listing-query.class';

> {
protected _queryConfig: IContentTypeQueryConfig = {};

@@ -21,2 +20,29 @@

/**
* Used to limit the number of elements returned by query.
* @param elementCodenames Array of element codenames to fetch
*/
elementsParameter(elementCodenames: string[]): this {
this.parameters.push(new Parameters.ElementsParameter(elementCodenames));
return this;
}
/**
* Limits the number of taxonomies returned by query
* @param limit Number of taxonomies to load
*/
limitParameter(limit: number): this {
this.parameters.push(new Parameters.LimitParameter(limit));
return this;
}
/**
* Skips the selected number of taxonomies
* @param skip Number of taxonomies to skip
*/
skipParameter(skip: number): this {
this.parameters.push(new Parameters.SkipParameter(skip));
return this;
}
toPromise(): Promise<

@@ -40,6 +66,3 @@ IDeliveryNetworkResponse<Responses.IListContentTypesResponse, Contracts.IListContentTypeContract>

items: any[],
responses: IDeliveryNetworkResponse<
Responses.IListContentTypesResponse,
Contracts.IListContentTypeContract
>[]
responses: IDeliveryNetworkResponse<Responses.IListContentTypesResponse, Contracts.IListContentTypeContract>[]
): Responses.IListContentTypesAllResponse {

@@ -46,0 +69,0 @@ return {

@@ -5,4 +5,4 @@

host: 'npmjs.com',
version: '12.3.0',
version: '12.4.0',
name: '@kontent-ai/delivery-sdk'
};

@@ -41,3 +41,3 @@ import { IResponse, IHeader, IHttpService, IQueryParameter, urlHelper } from '@kontent-ai/core-sdk';

*/
public readonly sdkInfo: ISDKInfo,
public readonly sdkInfo: ISDKInfo,
/**

@@ -118,2 +118,41 @@ * Mapping service

/**
* Http POST response
* @param url Url of request
* @param queryConfig Query config configuration
*/
protected async postResponseAsync<TRawData>(
url: string,
body: any,
queryConfig?: IQueryConfig,
serviceConfig?: {
headers?: IHeader[];
}
): Promise<IResponse<TRawData>> {
if (!queryConfig) {
queryConfig = {};
}
if (!serviceConfig) {
serviceConfig = {};
}
try {
return await this.httpService.postAsync<TRawData>(
{
url: url,
body: body
},
{
cancelToken: queryConfig?.cancelToken,
responseType: 'json',
retryStrategy: this.config.retryStrategy,
headers: this.getHeaders(queryConfig, serviceConfig.headers ? serviceConfig.headers : [])
}
);
} catch (error) {
throw this.mapDeliveryError(error);
}
}
/**
* Http GET response

@@ -120,0 +159,0 @@ * @param url Url of request

import { IHttpService } from '@kontent-ai/core-sdk';
import { IDeliveryClientConfig } from '../config';
import { Contracts } from '../contracts';
import {
Contracts
} from '../contracts';
import {
Responses,

@@ -15,3 +13,4 @@ IContentItem,

ILanguagesQueryConfig,
ITaxonomyQueryConfig
ITaxonomyQueryConfig,
ISyncInitQueryConfig
} from '../models';

@@ -115,2 +114,33 @@ import {

/**
* Initializes synchronization of changes in content items based on the specified parameters. After the initialization,
* you'll get an X-Continuation token in the response.
* Use the token to synchronize changes in the content items matching the initialization criteria.
* @param url Url
* @param queryConfig Query configuration
*/
async initializeSync(
url: string,
queryConfig: ISyncInitQueryConfig
): Promise<IDeliveryNetworkResponse<Responses.IInitializeSyncResponse, Contracts.IInitializeSyncContract>> {
const response = await this.postResponseAsync<Contracts.IInitializeSyncContract>(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.initializeContentSync(response.data), response);
}
/**
* Retrieve a list of delta updates to recently changed content items in the specified project.
* The types of items you get is determined by the X-Continuation token you use.
* @param url Url used to get multiple types
* @param queryConfig Query configuration
*/
async syncChanges(
url: string,
queryConfig: IContentTypeQueryConfig
): Promise<IDeliveryNetworkResponse<Responses.ISyncChangesResponse, Contracts.ISyncChangesContract>> {
const response = await this.getResponseAsync<Contracts.ISyncChangesContract>(url, queryConfig);
return this.mapNetworkResponse(this.mappingService.syncChanges(response.data), response);
}
/**
* Gets languages

@@ -168,6 +198,3 @@ * @param url Url

> {
const response = await this.getResponseAsync<Contracts.IViewContentTypeElementContract>(
url,
queryConfig
);
const response = await this.getResponseAsync<Contracts.IViewContentTypeElementContract>(url, queryConfig);

@@ -174,0 +201,0 @@ return this.mapNetworkResponse(this.mappingService.viewContentTypeElementResponse(response.data), response);

import { IDeliveryClientConfig } from '../config';
import { Contracts } from '../contracts';
import { GenericElementMapper, ItemMapper, LanguageMapper, TaxonomyMapper, TypeMapper } from '../mappers';
import { SyncMapper, GenericElementMapper, ItemMapper, LanguageMapper, TaxonomyMapper, TypeMapper } from '../mappers';
import { Responses, IContentItem, IPagination } from '../models';

@@ -32,2 +32,4 @@

listLanguagesResponse(data: Contracts.IListLanguagesContract): Responses.IListLanguagesResponse;
initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse;
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse;
}

@@ -41,2 +43,3 @@

private readonly genericElementMapper: GenericElementMapper;
private readonly syncMapper: SyncMapper;

@@ -49,2 +52,3 @@ constructor(readonly config: IDeliveryClientConfig) {

this.genericElementMapper = new GenericElementMapper();
this.syncMapper = new SyncMapper();
}

@@ -165,2 +169,14 @@

initializeContentSync(data: Contracts.IInitializeSyncContract): Responses.IInitializeSyncResponse {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
syncChanges(data: Contracts.ISyncChangesContract): Responses.ISyncChangesResponse {
return {
items: data.items.map((m) => this.syncMapper.mapContentItemDelta(m))
};
}
private mapPagination(paginationContract: Contracts.IPaginationContract): IPagination {

@@ -167,0 +183,0 @@ return {

{
"name": "@kontent-ai/delivery-sdk",
"version": "12.3.0",
"version": "12.4.0",
"repository": {

@@ -70,3 +70,3 @@ "type": "git",

"@types/jasmine": "4.3.0",
"@types/node": "18.8.2",
"@types/node": "18.11.7",
"@types/uuid": "8.3.4",

@@ -86,3 +86,3 @@ "colors": "1.4.0",

"lcov-parse": "1.0.0",
"mocha": "10.0.0",
"mocha": "10.1.0",
"standard-version": "9.5.0",

@@ -93,5 +93,5 @@ "ts-loader": "9.4.1",

"webpack": "5.74.0",
"webpack-bundle-analyzer": "4.6.1",
"webpack-bundle-analyzer": "4.7.0",
"webpack-cli": "4.10.0"
}
}

@@ -57,3 +57,3 @@ [![npm version](https://badge.fury.io/js/%40kontent-ai%2Fdelivery-sdk.svg)](https://badge.fury.io/js/%40kontent-ai%2Fdelivery-sdk)

```typescript
import { IContentItem, Elements, createDeliveryClient } from '@kontent-ai/delivery-sdk';
import { type IContentItem, type Elements, createDeliveryClient } from '@kontent-ai/delivery-sdk';

@@ -60,0 +60,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc