@tonysamperi/ts-mapi-core 1.8.0-next.0 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +0 -1
- package/dist/cjs/dynamo.cjs +2 -0
- package/dist/cjs/dynamo.cjs.map +1 -0
- package/dist/{esm/services/smp-dynamo.service.d.ts → cjs/dynamo.d.cts} +1 -1
- package/dist/cjs/firebase.cjs +2 -0
- package/dist/cjs/firebase.cjs.map +1 -0
- package/dist/{esm/services/firebase/smp-firebase.service.d.ts → cjs/firebase.d.cts} +10 -5
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1002 -78
- package/dist/cjs/rxjs.cjs +2 -0
- package/dist/cjs/rxjs.cjs.map +1 -0
- package/dist/cjs/rxjs.d.cts +106 -0
- package/dist/{esm/shared/utils/cache/smp-abstract-cache-strategy.class.d.ts → cjs/smp-cached-value.interface-BdPg-J7L.d.cts} +6 -1
- package/dist/cjs/smp-generic-response-base.interface-D0jHrkjw.d.cts +27 -0
- package/dist/cjs/smp-social-sign-in-ux-modes.enum-Cw9H3EqT.d.cts +12 -0
- package/dist/cjs/zod.cjs +2 -0
- package/dist/cjs/zod.cjs.map +1 -0
- package/dist/cjs/zod.d.cts +45 -0
- package/dist/esm/chunk-DIVAYUSN.js +1 -0
- package/dist/esm/chunk-VBEMFJKM.js +1 -0
- package/dist/{cjs/services/smp-dynamo.service.d.cts → esm/dynamo.d.ts} +1 -1
- package/dist/esm/dynamo.js +1 -0
- package/dist/{cjs/services/firebase/smp-firebase.service.d.cts → esm/firebase.d.ts} +10 -5
- package/dist/esm/firebase.js +1 -0
- package/dist/esm/index.d.ts +1000 -64
- package/dist/esm/index.js +1 -1
- package/dist/esm/rxjs.d.ts +106 -0
- package/dist/esm/rxjs.js +1 -0
- package/dist/{cjs/shared/utils/cache/smp-abstract-cache-strategy.class.d.cts → esm/smp-cached-value.interface-BdPg-J7L.d.ts} +6 -1
- package/dist/esm/smp-generic-response-base.interface-D0jHrkjw.d.ts +27 -0
- package/dist/esm/smp-social-sign-in-ux-modes.enum-Cw9H3EqT.d.ts +12 -0
- package/dist/esm/zod.d.ts +45 -0
- package/dist/esm/zod.js +1 -0
- package/package.json +39 -14
- package/dist/cjs/services/firebase/index.cjs +0 -2
- package/dist/cjs/services/firebase/index.cjs.map +0 -1
- package/dist/cjs/services/firebase/index.d.cts +0 -7
- package/dist/cjs/services/firebase/smp-firebase-service-config.interface.cjs +0 -2
- package/dist/cjs/services/firebase/smp-firebase-service-config.interface.cjs.map +0 -1
- package/dist/cjs/services/firebase/smp-firebase-service-config.interface.d.cts +0 -12
- package/dist/cjs/services/firebase/smp-firebase.service.cjs +0 -2
- package/dist/cjs/services/firebase/smp-firebase.service.cjs.map +0 -1
- package/dist/cjs/services/http/index.cjs +0 -2
- package/dist/cjs/services/http/index.cjs.map +0 -1
- package/dist/cjs/services/http/index.d.cts +0 -12
- package/dist/cjs/services/http/smp-dynamic-fetch-return.type.cjs +0 -2
- package/dist/cjs/services/http/smp-dynamic-fetch-return.type.cjs.map +0 -1
- package/dist/cjs/services/http/smp-dynamic-fetch-return.type.d.cts +0 -3
- package/dist/cjs/services/http/smp-http-config.interface.cjs +0 -2
- package/dist/cjs/services/http/smp-http-config.interface.cjs.map +0 -1
- package/dist/cjs/services/http/smp-http-config.interface.d.cts +0 -16
- package/dist/cjs/services/http/smp-http-session-storage-cache.class.cjs +0 -2
- package/dist/cjs/services/http/smp-http-session-storage-cache.class.cjs.map +0 -1
- package/dist/cjs/services/http/smp-http-session-storage-cache.class.d.cts +0 -11
- package/dist/cjs/services/http/smp-http-status-code.enum.cjs +0 -2
- package/dist/cjs/services/http/smp-http-status-code.enum.cjs.map +0 -1
- package/dist/cjs/services/http/smp-http-status-code.enum.d.cts +0 -70
- package/dist/cjs/services/http/smp-http.service.cjs +0 -2
- package/dist/cjs/services/http/smp-http.service.cjs.map +0 -1
- package/dist/cjs/services/http/smp-http.service.d.cts +0 -46
- package/dist/cjs/services/index.cjs +0 -2
- package/dist/cjs/services/index.cjs.map +0 -1
- package/dist/cjs/services/index.d.cts +0 -22
- package/dist/cjs/services/smp-dynamo.service.cjs +0 -2
- package/dist/cjs/services/smp-dynamo.service.cjs.map +0 -1
- package/dist/cjs/shared/api/index.cjs +0 -2
- package/dist/cjs/shared/api/index.cjs.map +0 -1
- package/dist/cjs/shared/api/index.d.cts +0 -11
- package/dist/cjs/shared/api/smp-api-common-utils.class.cjs +0 -2
- package/dist/cjs/shared/api/smp-api-common-utils.class.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-api-common-utils.class.d.cts +0 -15
- package/dist/cjs/shared/api/smp-error-response-create-opts.interface.cjs +0 -2
- package/dist/cjs/shared/api/smp-error-response-create-opts.interface.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-error-response-create-opts.interface.d.cts +0 -13
- package/dist/cjs/shared/api/smp-error-response.class.cjs +0 -2
- package/dist/cjs/shared/api/smp-error-response.class.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-error-response.class.d.cts +0 -25
- package/dist/cjs/shared/api/smp-generic-response-base.interface.cjs +0 -2
- package/dist/cjs/shared/api/smp-generic-response-base.interface.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-generic-response-base.interface.d.cts +0 -9
- package/dist/cjs/shared/api/smp-generic-response.class.cjs +0 -2
- package/dist/cjs/shared/api/smp-generic-response.class.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-generic-response.class.d.cts +0 -20
- package/dist/cjs/shared/api/smp-healtz.const.cjs +0 -2
- package/dist/cjs/shared/api/smp-healtz.const.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-healtz.const.d.cts +0 -5
- package/dist/cjs/shared/api/smp-response-message-base.interface.cjs +0 -2
- package/dist/cjs/shared/api/smp-response-message-base.interface.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-response-message-base.interface.d.cts +0 -8
- package/dist/cjs/shared/api/smp-response-message-types.enum.cjs +0 -2
- package/dist/cjs/shared/api/smp-response-message-types.enum.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-response-message-types.enum.d.cts +0 -8
- package/dist/cjs/shared/api/smp-response-message.class.cjs +0 -2
- package/dist/cjs/shared/api/smp-response-message.class.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-response-message.class.d.cts +0 -13
- package/dist/cjs/shared/api/smp-rest-verbs.enum.cjs +0 -2
- package/dist/cjs/shared/api/smp-rest-verbs.enum.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-rest-verbs.enum.d.cts +0 -9
- package/dist/cjs/shared/common/index.cjs +0 -2
- package/dist/cjs/shared/common/index.cjs.map +0 -1
- package/dist/cjs/shared/common/index.d.cts +0 -6
- package/dist/cjs/shared/common/smp-base-jwt-token-plain.interface.cjs +0 -2
- package/dist/cjs/shared/common/smp-base-jwt-token-plain.interface.cjs.map +0 -1
- package/dist/cjs/shared/common/smp-base-jwt-token-plain.interface.d.cts +0 -7
- package/dist/cjs/shared/common/smp-base-jwt-token.class.cjs +0 -2
- package/dist/cjs/shared/common/smp-base-jwt-token.class.cjs.map +0 -1
- package/dist/cjs/shared/common/smp-base-jwt-token.class.d.cts +0 -14
- package/dist/cjs/shared/common/smp-generic-constructor.type.cjs +0 -2
- package/dist/cjs/shared/common/smp-generic-constructor.type.cjs.map +0 -1
- package/dist/cjs/shared/common/smp-generic-constructor.type.d.cts +0 -3
- package/dist/cjs/shared/common/smp-primitive.type.cjs +0 -2
- package/dist/cjs/shared/common/smp-primitive.type.cjs.map +0 -1
- package/dist/cjs/shared/common/smp-primitive.type.d.cts +0 -3
- package/dist/cjs/shared/common/smp-social-sign-in-keys.enum.cjs +0 -2
- package/dist/cjs/shared/common/smp-social-sign-in-keys.enum.cjs.map +0 -1
- package/dist/cjs/shared/common/smp-social-sign-in-keys.enum.d.cts +0 -7
- package/dist/cjs/shared/common/smp-social-sign-in-ux-modes.enum.cjs +0 -2
- package/dist/cjs/shared/common/smp-social-sign-in-ux-modes.enum.cjs.map +0 -1
- package/dist/cjs/shared/common/smp-social-sign-in-ux-modes.enum.d.cts +0 -6
- package/dist/cjs/shared/crypto/index.cjs +0 -2
- package/dist/cjs/shared/crypto/index.cjs.map +0 -1
- package/dist/cjs/shared/crypto/index.d.cts +0 -3
- package/dist/cjs/shared/crypto/smp-aes-crypt.class.cjs +0 -2
- package/dist/cjs/shared/crypto/smp-aes-crypt.class.cjs.map +0 -1
- package/dist/cjs/shared/crypto/smp-aes-crypt.class.d.cts +0 -1
- package/dist/cjs/shared/crypto/smp-crypto.class.cjs +0 -2
- package/dist/cjs/shared/crypto/smp-crypto.class.cjs.map +0 -1
- package/dist/cjs/shared/crypto/smp-crypto.class.d.cts +0 -10
- package/dist/cjs/shared/crypto/smp-secure-code.class.cjs +0 -2
- package/dist/cjs/shared/crypto/smp-secure-code.class.cjs.map +0 -1
- package/dist/cjs/shared/crypto/smp-secure-code.class.d.cts +0 -20
- package/dist/cjs/shared/firebase/index.cjs +0 -2
- package/dist/cjs/shared/firebase/index.cjs.map +0 -1
- package/dist/cjs/shared/firebase/index.d.cts +0 -1
- package/dist/cjs/shared/firebase/smp-firebase-errors.enum.cjs +0 -2
- package/dist/cjs/shared/firebase/smp-firebase-errors.enum.cjs.map +0 -1
- package/dist/cjs/shared/firebase/smp-firebase-errors.enum.d.cts +0 -14
- package/dist/cjs/shared/giftcard/index.cjs +0 -2
- package/dist/cjs/shared/giftcard/index.cjs.map +0 -1
- package/dist/cjs/shared/giftcard/index.d.cts +0 -8
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-config.interface.cjs +0 -2
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-config.interface.cjs.map +0 -1
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-config.interface.d.cts +0 -11
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-hash-strategies.enum.cjs +0 -2
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-hash-strategies.enum.cjs.map +0 -1
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-hash-strategies.enum.d.cts +0 -8
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-ops.enum.cjs +0 -2
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-ops.enum.cjs.map +0 -1
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-ops.enum.d.cts +0 -16
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-plain.interface.cjs +0 -2
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-plain.interface.cjs.map +0 -1
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction-plain.interface.d.cts +0 -8
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction.class.cjs +0 -2
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction.class.cjs.map +0 -1
- package/dist/cjs/shared/giftcard/smp-giftcard-transaction.class.d.cts +0 -56
- package/dist/cjs/shared/marketing-cloud/index.cjs +0 -2
- package/dist/cjs/shared/marketing-cloud/index.cjs.map +0 -1
- package/dist/cjs/shared/marketing-cloud/index.d.cts +0 -2
- package/dist/cjs/shared/marketing-cloud/smp-marketing-cloud-validation-response.interface.cjs +0 -2
- package/dist/cjs/shared/marketing-cloud/smp-marketing-cloud-validation-response.interface.cjs.map +0 -1
- package/dist/cjs/shared/marketing-cloud/smp-marketing-cloud-validation-response.interface.d.cts +0 -14
- package/dist/cjs/shared/marketing-cloud/smp-marketing-cloud-validators.enum.cjs +0 -2
- package/dist/cjs/shared/marketing-cloud/smp-marketing-cloud-validators.enum.cjs.map +0 -1
- package/dist/cjs/shared/marketing-cloud/smp-marketing-cloud-validators.enum.d.cts +0 -7
- package/dist/cjs/shared/rxjs/index.cjs +0 -2
- package/dist/cjs/shared/rxjs/index.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/index.d.cts +0 -10
- package/dist/cjs/shared/rxjs/smp-abstract-rxjs-ttl-cache-strategy.class.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-abstract-rxjs-ttl-cache-strategy.class.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-abstract-rxjs-ttl-cache-strategy.class.d.cts +0 -17
- package/dist/cjs/shared/rxjs/smp-rxjs-catch-only.function.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-rxjs-catch-only.function.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-rxjs-catch-only.function.d.cts +0 -5
- package/dist/cjs/shared/rxjs/smp-rxjs-in-memory-cache.class.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-rxjs-in-memory-cache.class.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-rxjs-in-memory-cache.class.d.cts +0 -15
- package/dist/cjs/shared/rxjs/smp-rxjs-queue.function.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-rxjs-queue.function.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-rxjs-queue.function.d.cts +0 -11
- package/dist/cjs/shared/rxjs/smp-rxjs-sequence.function.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-rxjs-sequence.function.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-rxjs-sequence.function.d.cts +0 -12
- package/dist/cjs/shared/rxjs/smp-rxjs-throw-if-empty.function.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-rxjs-throw-if-empty.function.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-rxjs-throw-if-empty.function.d.cts +0 -38
- package/dist/cjs/shared/rxjs/smp-rxjs-throw-on-condition.function.cjs +0 -2
- package/dist/cjs/shared/rxjs/smp-rxjs-throw-on-condition.function.cjs.map +0 -1
- package/dist/cjs/shared/rxjs/smp-rxjs-throw-on-condition.function.d.cts +0 -30
- package/dist/cjs/shared/utils/cache/index.cjs +0 -2
- package/dist/cjs/shared/utils/cache/index.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/index.d.cts +0 -7
- package/dist/cjs/shared/utils/cache/smp-abstract-cache-strategy.class.cjs +0 -2
- package/dist/cjs/shared/utils/cache/smp-abstract-cache-strategy.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/smp-abstract-ttl-cache-strategy.class.cjs +0 -2
- package/dist/cjs/shared/utils/cache/smp-abstract-ttl-cache-strategy.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/smp-abstract-ttl-cache-strategy.class.d.cts +0 -17
- package/dist/cjs/shared/utils/cache/smp-browser-cache.class.cjs +0 -2
- package/dist/cjs/shared/utils/cache/smp-browser-cache.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/smp-browser-cache.class.d.cts +0 -16
- package/dist/cjs/shared/utils/cache/smp-cached-value.interface.cjs +0 -2
- package/dist/cjs/shared/utils/cache/smp-cached-value.interface.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/smp-cached-value.interface.d.cts +0 -6
- package/dist/cjs/shared/utils/cache/smp-in-memory-cache.class.cjs +0 -2
- package/dist/cjs/shared/utils/cache/smp-in-memory-cache.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/smp-in-memory-cache.class.d.cts +0 -15
- package/dist/cjs/shared/utils/cache/smp-is-smp-cached-value.function.cjs +0 -2
- package/dist/cjs/shared/utils/cache/smp-is-smp-cached-value.function.cjs.map +0 -1
- package/dist/cjs/shared/utils/cache/smp-is-smp-cached-value.function.d.cts +0 -9
- package/dist/cjs/shared/utils/index.cjs +0 -2
- package/dist/cjs/shared/utils/index.cjs.map +0 -1
- package/dist/cjs/shared/utils/index.d.cts +0 -15
- package/dist/cjs/shared/utils/smp-apply-mixin.function.cjs +0 -2
- package/dist/cjs/shared/utils/smp-apply-mixin.function.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-apply-mixin.function.d.cts +0 -5
- package/dist/cjs/shared/utils/smp-ascii-words.function.cjs +0 -2
- package/dist/cjs/shared/utils/smp-ascii-words.function.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-ascii-words.function.d.cts +0 -3
- package/dist/cjs/shared/utils/smp-common-utils.class.cjs +0 -2
- package/dist/cjs/shared/utils/smp-common-utils.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-common-utils.class.d.cts +0 -101
- package/dist/cjs/shared/utils/smp-filter-exception.class.cjs +0 -2
- package/dist/cjs/shared/utils/smp-filter-exception.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-filter-exception.class.d.cts +0 -7
- package/dist/cjs/shared/utils/smp-noop.function.cjs +0 -2
- package/dist/cjs/shared/utils/smp-noop.function.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-noop.function.d.cts +0 -3
- package/dist/cjs/shared/utils/smp-regular-expressions.class.cjs +0 -2
- package/dist/cjs/shared/utils/smp-regular-expressions.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-regular-expressions.class.d.cts +0 -16
- package/dist/cjs/shared/utils/smp-sid.class.cjs +0 -2
- package/dist/cjs/shared/utils/smp-sid.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-sid.class.d.cts +0 -18
- package/dist/cjs/shared/utils/smp-unicode-words.class.cjs +0 -2
- package/dist/cjs/shared/utils/smp-unicode-words.class.cjs.map +0 -1
- package/dist/cjs/shared/utils/smp-unicode-words.class.d.cts +0 -15
- package/dist/cjs/shared/zod/index.cjs +0 -2
- package/dist/cjs/shared/zod/index.cjs.map +0 -1
- package/dist/cjs/shared/zod/index.d.cts +0 -3
- package/dist/cjs/shared/zod/smp-zod-date-time.definition.cjs +0 -2
- package/dist/cjs/shared/zod/smp-zod-date-time.definition.cjs.map +0 -1
- package/dist/cjs/shared/zod/smp-zod-date-time.definition.d.cts +0 -28
- package/dist/cjs/smp-aes-crypt.class-CI82T7GV.d.cts +0 -470
- package/dist/cjs/smp-logger-methods.class-F7p-lMeQ.d.cts +0 -66
- package/dist/esm/chunk-2JBVVJ2E.js +0 -0
- package/dist/esm/chunk-2UDNZC5A.js +0 -1
- package/dist/esm/chunk-2YYH6VGI.js +0 -1
- package/dist/esm/chunk-3HRZ6R3F.js +0 -1
- package/dist/esm/chunk-4LYXZUNL.js +0 -0
- package/dist/esm/chunk-4TNTWTMN.js +0 -1
- package/dist/esm/chunk-4UTF5FWK.js +0 -1
- package/dist/esm/chunk-553CS7VH.js +0 -0
- package/dist/esm/chunk-5VCNTUI6.js +0 -1
- package/dist/esm/chunk-5WULAY6L.js +0 -1
- package/dist/esm/chunk-7CWGJ3NF.js +0 -1
- package/dist/esm/chunk-AV6X4R7W.js +0 -0
- package/dist/esm/chunk-BHFFGFHY.js +0 -0
- package/dist/esm/chunk-C3LKT6AF.js +0 -1
- package/dist/esm/chunk-CFV5G67M.js +0 -1
- package/dist/esm/chunk-D66G2KIE.js +0 -0
- package/dist/esm/chunk-DADFHUII.js +0 -1
- package/dist/esm/chunk-DGUMFWCQ.js +0 -0
- package/dist/esm/chunk-DOKJQH4K.js +0 -1
- package/dist/esm/chunk-EB55SS67.js +0 -0
- package/dist/esm/chunk-ELQKTQ6W.js +0 -0
- package/dist/esm/chunk-ET5LYR3A.js +0 -1
- package/dist/esm/chunk-FLTR4ZY6.js +0 -1
- package/dist/esm/chunk-FTXCYY5S.js +0 -1
- package/dist/esm/chunk-FUHGPBNJ.js +0 -1
- package/dist/esm/chunk-G7PUYG2K.js +0 -1
- package/dist/esm/chunk-GRXWCGMW.js +0 -1
- package/dist/esm/chunk-HM7F3YYW.js +0 -0
- package/dist/esm/chunk-HOM5S5W3.js +0 -0
- package/dist/esm/chunk-I3CNDIWD.js +0 -0
- package/dist/esm/chunk-JE3FPJGV.js +0 -1
- package/dist/esm/chunk-JXSMI3MI.js +0 -1
- package/dist/esm/chunk-L7KNFRNV.js +0 -1
- package/dist/esm/chunk-MLBCWEB4.js +0 -1
- package/dist/esm/chunk-MRKAFTDG.js +0 -1
- package/dist/esm/chunk-NIN4PUZX.js +0 -0
- package/dist/esm/chunk-NQICKEAS.js +0 -0
- package/dist/esm/chunk-O7TJDNO6.js +0 -0
- package/dist/esm/chunk-OUSY7GMI.js +0 -1
- package/dist/esm/chunk-PKEW426R.js +0 -0
- package/dist/esm/chunk-Q77KUWBZ.js +0 -0
- package/dist/esm/chunk-QK6DPGU6.js +0 -1
- package/dist/esm/chunk-QPKVVZUA.js +0 -1
- package/dist/esm/chunk-QRCMHI3B.js +0 -1
- package/dist/esm/chunk-QTWLHW3D.js +0 -1
- package/dist/esm/chunk-QW43DOPY.js +0 -1
- package/dist/esm/chunk-QWZP25QT.js +0 -1
- package/dist/esm/chunk-R6VG4656.js +0 -1
- package/dist/esm/chunk-RAJGA43T.js +0 -1
- package/dist/esm/chunk-RAVJJJYE.js +0 -1
- package/dist/esm/chunk-RCI7NEJO.js +0 -1
- package/dist/esm/chunk-RGLXAD7B.js +0 -1
- package/dist/esm/chunk-RJBWCWAE.js +0 -1
- package/dist/esm/chunk-SDQLEPBS.js +0 -0
- package/dist/esm/chunk-SJOEBOGG.js +0 -1
- package/dist/esm/chunk-SPPRTVHH.js +0 -1
- package/dist/esm/chunk-SXISZIFJ.js +0 -0
- package/dist/esm/chunk-SZM4WHQJ.js +0 -0
- package/dist/esm/chunk-TGY6ZSQU.js +0 -1
- package/dist/esm/chunk-TSC2BSSL.js +0 -1
- package/dist/esm/chunk-U5DBFRKV.js +0 -0
- package/dist/esm/chunk-VHMV4QQT.js +0 -1
- package/dist/esm/chunk-WTEJYEK2.js +0 -0
- package/dist/esm/chunk-XZEYUIQ6.js +0 -1
- package/dist/esm/chunk-YEQJ4M3P.js +0 -1
- package/dist/esm/chunk-ZKODHJSY.js +0 -1
- package/dist/esm/chunk-ZNC4KYAS.js +0 -1
- package/dist/esm/chunk-ZTDFA2UA.js +0 -1
- package/dist/esm/chunk-ZYPNYJVE.js +0 -0
- package/dist/esm/services/firebase/index.d.ts +0 -7
- package/dist/esm/services/firebase/index.js +0 -1
- package/dist/esm/services/firebase/smp-firebase-service-config.interface.d.ts +0 -12
- package/dist/esm/services/firebase/smp-firebase-service-config.interface.js +0 -0
- package/dist/esm/services/firebase/smp-firebase.service.js +0 -1
- package/dist/esm/services/http/index.d.ts +0 -12
- package/dist/esm/services/http/index.js +0 -1
- package/dist/esm/services/http/smp-dynamic-fetch-return.type.d.ts +0 -3
- package/dist/esm/services/http/smp-dynamic-fetch-return.type.js +0 -0
- package/dist/esm/services/http/smp-http-config.interface.d.ts +0 -16
- package/dist/esm/services/http/smp-http-config.interface.js +0 -1
- package/dist/esm/services/http/smp-http-session-storage-cache.class.d.ts +0 -11
- package/dist/esm/services/http/smp-http-session-storage-cache.class.js +0 -1
- package/dist/esm/services/http/smp-http-status-code.enum.d.ts +0 -70
- package/dist/esm/services/http/smp-http-status-code.enum.js +0 -1
- package/dist/esm/services/http/smp-http.service.d.ts +0 -46
- package/dist/esm/services/http/smp-http.service.js +0 -1
- package/dist/esm/services/index.d.ts +0 -22
- package/dist/esm/services/index.js +0 -1
- package/dist/esm/services/smp-dynamo.service.js +0 -1
- package/dist/esm/shared/api/index.d.ts +0 -11
- package/dist/esm/shared/api/index.js +0 -1
- package/dist/esm/shared/api/smp-api-common-utils.class.d.ts +0 -15
- package/dist/esm/shared/api/smp-api-common-utils.class.js +0 -1
- package/dist/esm/shared/api/smp-error-response-create-opts.interface.d.ts +0 -13
- package/dist/esm/shared/api/smp-error-response-create-opts.interface.js +0 -1
- package/dist/esm/shared/api/smp-error-response.class.d.ts +0 -25
- package/dist/esm/shared/api/smp-error-response.class.js +0 -1
- package/dist/esm/shared/api/smp-generic-response-base.interface.d.ts +0 -9
- package/dist/esm/shared/api/smp-generic-response-base.interface.js +0 -1
- package/dist/esm/shared/api/smp-generic-response.class.d.ts +0 -20
- package/dist/esm/shared/api/smp-generic-response.class.js +0 -1
- package/dist/esm/shared/api/smp-healtz.const.d.ts +0 -5
- package/dist/esm/shared/api/smp-healtz.const.js +0 -1
- package/dist/esm/shared/api/smp-response-message-base.interface.d.ts +0 -8
- package/dist/esm/shared/api/smp-response-message-base.interface.js +0 -1
- package/dist/esm/shared/api/smp-response-message-types.enum.d.ts +0 -8
- package/dist/esm/shared/api/smp-response-message-types.enum.js +0 -1
- package/dist/esm/shared/api/smp-response-message.class.d.ts +0 -13
- package/dist/esm/shared/api/smp-response-message.class.js +0 -1
- package/dist/esm/shared/api/smp-rest-verbs.enum.d.ts +0 -9
- package/dist/esm/shared/api/smp-rest-verbs.enum.js +0 -1
- package/dist/esm/shared/common/index.d.ts +0 -6
- package/dist/esm/shared/common/index.js +0 -1
- package/dist/esm/shared/common/smp-base-jwt-token-plain.interface.d.ts +0 -7
- package/dist/esm/shared/common/smp-base-jwt-token-plain.interface.js +0 -1
- package/dist/esm/shared/common/smp-base-jwt-token.class.d.ts +0 -14
- package/dist/esm/shared/common/smp-base-jwt-token.class.js +0 -1
- package/dist/esm/shared/common/smp-generic-constructor.type.d.ts +0 -3
- package/dist/esm/shared/common/smp-generic-constructor.type.js +0 -1
- package/dist/esm/shared/common/smp-primitive.type.d.ts +0 -3
- package/dist/esm/shared/common/smp-primitive.type.js +0 -1
- package/dist/esm/shared/common/smp-social-sign-in-keys.enum.d.ts +0 -7
- package/dist/esm/shared/common/smp-social-sign-in-keys.enum.js +0 -1
- package/dist/esm/shared/common/smp-social-sign-in-ux-modes.enum.d.ts +0 -6
- package/dist/esm/shared/common/smp-social-sign-in-ux-modes.enum.js +0 -1
- package/dist/esm/shared/crypto/index.d.ts +0 -3
- package/dist/esm/shared/crypto/index.js +0 -1
- package/dist/esm/shared/crypto/smp-aes-crypt.class.d.ts +0 -1
- package/dist/esm/shared/crypto/smp-aes-crypt.class.js +0 -1
- package/dist/esm/shared/crypto/smp-crypto.class.d.ts +0 -10
- package/dist/esm/shared/crypto/smp-crypto.class.js +0 -1
- package/dist/esm/shared/crypto/smp-secure-code.class.d.ts +0 -20
- package/dist/esm/shared/crypto/smp-secure-code.class.js +0 -1
- package/dist/esm/shared/firebase/index.d.ts +0 -1
- package/dist/esm/shared/firebase/index.js +0 -1
- package/dist/esm/shared/firebase/smp-firebase-errors.enum.d.ts +0 -14
- package/dist/esm/shared/firebase/smp-firebase-errors.enum.js +0 -1
- package/dist/esm/shared/giftcard/index.d.ts +0 -8
- package/dist/esm/shared/giftcard/index.js +0 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-config.interface.d.ts +0 -11
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-config.interface.js +0 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-hash-strategies.enum.d.ts +0 -8
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-hash-strategies.enum.js +0 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-ops.enum.d.ts +0 -16
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-ops.enum.js +0 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-plain.interface.d.ts +0 -8
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-plain.interface.js +0 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction.class.d.ts +0 -56
- package/dist/esm/shared/giftcard/smp-giftcard-transaction.class.js +0 -1
- package/dist/esm/shared/marketing-cloud/index.d.ts +0 -2
- package/dist/esm/shared/marketing-cloud/index.js +0 -1
- package/dist/esm/shared/marketing-cloud/smp-marketing-cloud-validation-response.interface.d.ts +0 -14
- package/dist/esm/shared/marketing-cloud/smp-marketing-cloud-validation-response.interface.js +0 -1
- package/dist/esm/shared/marketing-cloud/smp-marketing-cloud-validators.enum.d.ts +0 -7
- package/dist/esm/shared/marketing-cloud/smp-marketing-cloud-validators.enum.js +0 -1
- package/dist/esm/shared/rxjs/index.d.ts +0 -10
- package/dist/esm/shared/rxjs/index.js +0 -1
- package/dist/esm/shared/rxjs/smp-abstract-rxjs-ttl-cache-strategy.class.d.ts +0 -17
- package/dist/esm/shared/rxjs/smp-abstract-rxjs-ttl-cache-strategy.class.js +0 -1
- package/dist/esm/shared/rxjs/smp-rxjs-catch-only.function.d.ts +0 -5
- package/dist/esm/shared/rxjs/smp-rxjs-catch-only.function.js +0 -1
- package/dist/esm/shared/rxjs/smp-rxjs-in-memory-cache.class.d.ts +0 -15
- package/dist/esm/shared/rxjs/smp-rxjs-in-memory-cache.class.js +0 -1
- package/dist/esm/shared/rxjs/smp-rxjs-queue.function.d.ts +0 -11
- package/dist/esm/shared/rxjs/smp-rxjs-queue.function.js +0 -1
- package/dist/esm/shared/rxjs/smp-rxjs-sequence.function.d.ts +0 -12
- package/dist/esm/shared/rxjs/smp-rxjs-sequence.function.js +0 -1
- package/dist/esm/shared/rxjs/smp-rxjs-throw-if-empty.function.d.ts +0 -38
- package/dist/esm/shared/rxjs/smp-rxjs-throw-if-empty.function.js +0 -1
- package/dist/esm/shared/rxjs/smp-rxjs-throw-on-condition.function.d.ts +0 -30
- package/dist/esm/shared/rxjs/smp-rxjs-throw-on-condition.function.js +0 -1
- package/dist/esm/shared/utils/cache/index.d.ts +0 -7
- package/dist/esm/shared/utils/cache/index.js +0 -1
- package/dist/esm/shared/utils/cache/smp-abstract-cache-strategy.class.js +0 -1
- package/dist/esm/shared/utils/cache/smp-abstract-ttl-cache-strategy.class.d.ts +0 -17
- package/dist/esm/shared/utils/cache/smp-abstract-ttl-cache-strategy.class.js +0 -1
- package/dist/esm/shared/utils/cache/smp-browser-cache.class.d.ts +0 -16
- package/dist/esm/shared/utils/cache/smp-browser-cache.class.js +0 -1
- package/dist/esm/shared/utils/cache/smp-cached-value.interface.d.ts +0 -6
- package/dist/esm/shared/utils/cache/smp-cached-value.interface.js +0 -1
- package/dist/esm/shared/utils/cache/smp-in-memory-cache.class.d.ts +0 -15
- package/dist/esm/shared/utils/cache/smp-in-memory-cache.class.js +0 -1
- package/dist/esm/shared/utils/cache/smp-is-smp-cached-value.function.d.ts +0 -9
- package/dist/esm/shared/utils/cache/smp-is-smp-cached-value.function.js +0 -1
- package/dist/esm/shared/utils/index.d.ts +0 -15
- package/dist/esm/shared/utils/index.js +0 -1
- package/dist/esm/shared/utils/smp-apply-mixin.function.d.ts +0 -5
- package/dist/esm/shared/utils/smp-apply-mixin.function.js +0 -1
- package/dist/esm/shared/utils/smp-ascii-words.function.d.ts +0 -3
- package/dist/esm/shared/utils/smp-ascii-words.function.js +0 -1
- package/dist/esm/shared/utils/smp-common-utils.class.d.ts +0 -101
- package/dist/esm/shared/utils/smp-common-utils.class.js +0 -1
- package/dist/esm/shared/utils/smp-filter-exception.class.d.ts +0 -7
- package/dist/esm/shared/utils/smp-filter-exception.class.js +0 -1
- package/dist/esm/shared/utils/smp-noop.function.d.ts +0 -3
- package/dist/esm/shared/utils/smp-noop.function.js +0 -1
- package/dist/esm/shared/utils/smp-regular-expressions.class.d.ts +0 -16
- package/dist/esm/shared/utils/smp-regular-expressions.class.js +0 -1
- package/dist/esm/shared/utils/smp-sid.class.d.ts +0 -18
- package/dist/esm/shared/utils/smp-sid.class.js +0 -1
- package/dist/esm/shared/utils/smp-unicode-words.class.d.ts +0 -15
- package/dist/esm/shared/utils/smp-unicode-words.class.js +0 -1
- package/dist/esm/shared/zod/index.d.ts +0 -3
- package/dist/esm/shared/zod/index.js +0 -1
- package/dist/esm/shared/zod/smp-zod-date-time.definition.d.ts +0 -28
- package/dist/esm/shared/zod/smp-zod-date-time.definition.js +0 -1
- package/dist/esm/smp-aes-crypt.class-CI82T7GV.d.ts +0 -470
- package/dist/esm/smp-logger-methods.class-F7p-lMeQ.d.ts +0 -66
- /package/dist/esm/{chunk-QYDMV6LH.js → chunk-F3OJMKBL.js} +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
type ObsFnMap = Record<string, () => Observable<any>>;
|
|
4
|
-
declare function smpRxjsQueue<T extends any[]>(source: {
|
|
5
|
-
[K in keyof T]: () => Observable<T[K]>;
|
|
6
|
-
}): Observable<T>;
|
|
7
|
-
declare function smpRxjsQueue<T extends ObsFnMap>(source: T): Observable<{
|
|
8
|
-
[K in keyof T]: T[K] extends () => Observable<infer U> ? U : never;
|
|
9
|
-
}>;
|
|
10
|
-
|
|
11
|
-
export { smpRxjsQueue };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-2UDNZC5A.js";import"../../chunk-EI7MMDWY.js";export{a as smpRxjsQueue};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Old version of the sequence. Now rewritten using recursion, which is way faster.
|
|
5
|
-
* But you can use this if you want to stick with the rxjs pattern
|
|
6
|
-
* @param steps
|
|
7
|
-
*/
|
|
8
|
-
declare function smpRxjsSequence<T extends any[]>(steps: {
|
|
9
|
-
[K in keyof T]: () => Observable<T[K]>;
|
|
10
|
-
}): Observable<T>;
|
|
11
|
-
|
|
12
|
-
export { smpRxjsSequence };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-L7KNFRNV.js";import"../../chunk-EI7MMDWY.js";export{a as smpRxjsSequence};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* If the source observable completes emitting an empty value (empty array or object will be considered empty), it will emit
|
|
5
|
-
* an error. The error will be created at that time by the optional
|
|
6
|
-
* `errorFactory` argument, otherwise, the error will be {@link Error}.
|
|
7
|
-
*
|
|
8
|
-
* ## Example
|
|
9
|
-
*
|
|
10
|
-
* Throw an error if the query didn't match anything
|
|
11
|
-
*
|
|
12
|
-
* ```ts
|
|
13
|
-
* import { of, takeUntil, timer, throwIfEmpty } from 'rxjs';
|
|
14
|
-
*
|
|
15
|
-
* const query$ = of([]);
|
|
16
|
-
*
|
|
17
|
-
* query$.pipe(
|
|
18
|
-
* smpRxjsThrowIfEmpty(() => new Error('The query had no results'))
|
|
19
|
-
* )
|
|
20
|
-
* .subscribe({
|
|
21
|
-
* next() {
|
|
22
|
-
* console.log("The query had results");
|
|
23
|
-
* },
|
|
24
|
-
* error(err) {
|
|
25
|
-
* console.error(err.message);
|
|
26
|
-
* }
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @param errorFactory A factory function called to produce the
|
|
31
|
-
* error to be thrown when the source observable completes without emitting a
|
|
32
|
-
* value.
|
|
33
|
-
* @return A function that returns an Observable that throws an error if the
|
|
34
|
-
* source Observable completed without emitting.
|
|
35
|
-
*/
|
|
36
|
-
declare function smpRxjsThrowIfEmpty<T>(errorFactory?: (value: T) => any): OperatorFunction<T, T>;
|
|
37
|
-
|
|
38
|
-
export { smpRxjsThrowIfEmpty };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-FLTR4ZY6.js";import"../../chunk-EI7MMDWY.js";export{a as smpRxjsThrowIfEmpty};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OperatorFunction } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Custom RxJS operator that filters the source observable based on a condition
|
|
5
|
-
* and throws an error if the resulting observable is empty.
|
|
6
|
-
*
|
|
7
|
-
* @template T The type of items emitted by the source observable.
|
|
8
|
-
* @param {function(T): boolean} condition - A function that takes a value from the source observable and returns a boolean.
|
|
9
|
-
* If the function returns `true`, the value will be emitted; otherwise, it will be filtered out.
|
|
10
|
-
* @param {function(): Error} [errorFactory] - An optional function that returns an error to be thrown if the resulting observable is empty.
|
|
11
|
-
* If not provided, a default error will be thrown.
|
|
12
|
-
* @returns {OperatorFunction<T, T>} An operator function that can be used in the RxJS pipeline.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* import { of } from 'rxjs';
|
|
16
|
-
* import { smpRxjsThrowOnCondition } from "./path-to-your-file";
|
|
17
|
-
*
|
|
18
|
-
* const source$ = of(1, 5, -3, 7, 12).pipe(
|
|
19
|
-
* smpRxjsThrowOnCondition(value => value >= 0, () => new Error("Value is less than 0")),
|
|
20
|
-
* smpRxjsThrowOnCondition(value => value > 12, () => new Error("Value is lower than 12"))
|
|
21
|
-
* );
|
|
22
|
-
*
|
|
23
|
-
* source$.subscribe({
|
|
24
|
-
* next: value => console.log("Value:", value),
|
|
25
|
-
* error: err => console.error("Error:", err)
|
|
26
|
-
* });
|
|
27
|
-
*/
|
|
28
|
-
declare function smpRxjsThrowOnCondition<T>(condition: (value: T) => boolean, errorFactory?: () => any): OperatorFunction<T, T>;
|
|
29
|
-
|
|
30
|
-
export { smpRxjsThrowOnCondition };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-QWZP25QT.js";import"../../chunk-FLTR4ZY6.js";import"../../chunk-EI7MMDWY.js";export{a as smpRxjsThrowOnCondition};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { SmpAbstractCacheStrategy } from './smp-abstract-cache-strategy.class.js';
|
|
2
|
-
export { SmpAbstractTtlCacheStrategy } from './smp-abstract-ttl-cache-strategy.class.js';
|
|
3
|
-
export { SmpBrowserCache } from './smp-browser-cache.class.js';
|
|
4
|
-
export { SmpCachedValue } from './smp-cached-value.interface.js';
|
|
5
|
-
export { SmpInMemoryCache } from './smp-in-memory-cache.class.js';
|
|
6
|
-
export { smpIsSmpCachedValue } from './smp-is-smp-cached-value.function.js';
|
|
7
|
-
import 'rxjs';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../../chunk-DGUMFWCQ.js";import"../../../chunk-EB55SS67.js";import{a as e}from"../../../chunk-SJOEBOGG.js";import{a as d}from"../../../chunk-QK6DPGU6.js";import{a as c}from"../../../chunk-FTXCYY5S.js";import{a}from"../../../chunk-DADFHUII.js";import{a as b}from"../../../chunk-5VCNTUI6.js";import"../../../chunk-EI7MMDWY.js";export{a as SmpAbstractCacheStrategy,c as SmpAbstractTtlCacheStrategy,d as SmpBrowserCache,e as SmpInMemoryCache,b as smpIsSmpCachedValue};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-DADFHUII.js";import"../../../chunk-EI7MMDWY.js";export{a as SmpAbstractCacheStrategy};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SmpAbstractCacheStrategy } from './smp-abstract-cache-strategy.class.js';
|
|
2
|
-
import { SmpCachedValue } from './smp-cached-value.interface.js';
|
|
3
|
-
import 'rxjs';
|
|
4
|
-
|
|
5
|
-
declare abstract class SmpAbstractTtlCacheStrategy extends SmpAbstractCacheStrategy {
|
|
6
|
-
protected abstract _flushRaw(): void;
|
|
7
|
-
protected abstract _readRaw(key: string): unknown | undefined;
|
|
8
|
-
protected abstract _removeRaw(key: string): void;
|
|
9
|
-
protected abstract _writeRaw(key: string, value: unknown, ttl?: number): void;
|
|
10
|
-
flush(): void;
|
|
11
|
-
read<T = unknown>(key: string): T | undefined;
|
|
12
|
-
remove(key: string): void;
|
|
13
|
-
write<T = unknown>(key: string, value: T, ttl?: number): void;
|
|
14
|
-
protected _isSmpCachedValue<T>(value: unknown): value is SmpCachedValue<T>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { SmpAbstractTtlCacheStrategy };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-FTXCYY5S.js";import"../../../chunk-DADFHUII.js";import"../../../chunk-5VCNTUI6.js";import"../../../chunk-EI7MMDWY.js";export{a as SmpAbstractTtlCacheStrategy};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SmpAbstractTtlCacheStrategy } from './smp-abstract-ttl-cache-strategy.class.js';
|
|
2
|
-
import './smp-abstract-cache-strategy.class.js';
|
|
3
|
-
import 'rxjs';
|
|
4
|
-
import './smp-cached-value.interface.js';
|
|
5
|
-
|
|
6
|
-
declare class SmpBrowserCache extends SmpAbstractTtlCacheStrategy {
|
|
7
|
-
protected _storage: typeof localStorage | typeof sessionStorage;
|
|
8
|
-
protected _prefix: string;
|
|
9
|
-
constructor(_storage: typeof localStorage | typeof sessionStorage, _prefix: string);
|
|
10
|
-
protected _flushRaw(): void;
|
|
11
|
-
protected _readRaw(key: string): unknown | undefined;
|
|
12
|
-
protected _removeRaw(key: string): void;
|
|
13
|
-
protected _writeRaw(key: string, value: unknown): void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { SmpBrowserCache };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-QK6DPGU6.js";import"../../../chunk-FTXCYY5S.js";import"../../../chunk-DADFHUII.js";import"../../../chunk-5VCNTUI6.js";import"../../../chunk-EI7MMDWY.js";export{a as SmpBrowserCache};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../../chunk-EB55SS67.js";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SmpAbstractTtlCacheStrategy } from './smp-abstract-ttl-cache-strategy.class.js';
|
|
2
|
-
import './smp-abstract-cache-strategy.class.js';
|
|
3
|
-
import 'rxjs';
|
|
4
|
-
import './smp-cached-value.interface.js';
|
|
5
|
-
|
|
6
|
-
declare class SmpInMemoryCache extends SmpAbstractTtlCacheStrategy {
|
|
7
|
-
private static _storage;
|
|
8
|
-
protected get _staticSelf(): typeof SmpInMemoryCache;
|
|
9
|
-
protected _flushRaw(): void;
|
|
10
|
-
protected _readRaw(key: string): unknown | undefined;
|
|
11
|
-
protected _removeRaw(key: string): void;
|
|
12
|
-
protected _writeRaw(key: string, value: unknown): void;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { SmpInMemoryCache };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-SJOEBOGG.js";import"../../../chunk-FTXCYY5S.js";import"../../../chunk-DADFHUII.js";import"../../../chunk-5VCNTUI6.js";import"../../../chunk-EI7MMDWY.js";export{a as SmpInMemoryCache};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-5VCNTUI6.js";import"../../../chunk-EI7MMDWY.js";export{a as smpIsSmpCachedValue};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { smpApplyMixin } from './smp-apply-mixin.function.js';
|
|
2
|
-
export { SmpCommonUtils } from './smp-common-utils.class.js';
|
|
3
|
-
export { SmpFilterException } from './smp-filter-exception.class.js';
|
|
4
|
-
export { SmpSid } from './smp-sid.class.js';
|
|
5
|
-
export { smpNoop } from './smp-noop.function.js';
|
|
6
|
-
export { SmpRegularExpressions } from './smp-regular-expressions.class.js';
|
|
7
|
-
export { SmpAbstractCacheStrategy } from './cache/smp-abstract-cache-strategy.class.js';
|
|
8
|
-
export { SmpAbstractTtlCacheStrategy } from './cache/smp-abstract-ttl-cache-strategy.class.js';
|
|
9
|
-
export { SmpBrowserCache } from './cache/smp-browser-cache.class.js';
|
|
10
|
-
export { SmpCachedValue } from './cache/smp-cached-value.interface.js';
|
|
11
|
-
export { SmpInMemoryCache } from './cache/smp-in-memory-cache.class.js';
|
|
12
|
-
export { smpIsSmpCachedValue } from './cache/smp-is-smp-cached-value.function.js';
|
|
13
|
-
import '../common/smp-generic-constructor.type.js';
|
|
14
|
-
import '../api/smp-rest-verbs.enum.js';
|
|
15
|
-
import 'rxjs';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../chunk-PKEW426R.js";import"../../chunk-DGUMFWCQ.js";import"../../chunk-EB55SS67.js";import{a as h}from"../../chunk-ZTDFA2UA.js";import{a as i}from"../../chunk-4UTF5FWK.js";import"../../chunk-NIN4PUZX.js";import{a as k}from"../../chunk-RGLXAD7B.js";import{a as j}from"../../chunk-SPPRTVHH.js";import"../../chunk-DOKJQH4K.js";import{a as g}from"../../chunk-ZKODHJSY.js";import"../../chunk-R6VG4656.js";import"../../chunk-VHMV4QQT.js";import{a as f}from"../../chunk-ZNC4KYAS.js";import{a as e}from"../../chunk-SJOEBOGG.js";import{a as d}from"../../chunk-QK6DPGU6.js";import{a as c}from"../../chunk-FTXCYY5S.js";import{a}from"../../chunk-DADFHUII.js";import{a as b}from"../../chunk-5VCNTUI6.js";import"../../chunk-EI7MMDWY.js";export{a as SmpAbstractCacheStrategy,c as SmpAbstractTtlCacheStrategy,d as SmpBrowserCache,h as SmpCommonUtils,i as SmpFilterException,e as SmpInMemoryCache,k as SmpRegularExpressions,j as SmpSid,g as smpApplyMixin,b as smpIsSmpCachedValue,f as smpNoop};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-ZKODHJSY.js";import"../../chunk-EI7MMDWY.js";export{a as smpApplyMixin};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-R6VG4656.js";import"../../chunk-EI7MMDWY.js";export{a as smpAsciiWords};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { SmpRestVerbs } from '../api/smp-rest-verbs.enum.js';
|
|
2
|
-
|
|
3
|
-
declare class SmpCommonUtils {
|
|
4
|
-
/**
|
|
5
|
-
* Removes items the predicate returns truthy for from the source array and returns them
|
|
6
|
-
*/
|
|
7
|
-
static arrayRemove<T = any>(array: T[], iteratee: (item: T, index: number) => any): T[];
|
|
8
|
-
static assertIsArray<T>(entity: T[], withMessage?: string): asserts entity is T[];
|
|
9
|
-
static assertIsBoolean(entity: any, withMessage?: string): asserts entity is boolean;
|
|
10
|
-
static assertIsFunction(entity: any, withMessage?: string): asserts entity is Function;
|
|
11
|
-
static assertIsInstance(entity: any, klass: new (...args: any[]) => any, withMessage?: string): asserts entity is typeof klass;
|
|
12
|
-
static assertIsNotEmpty(val: any, withMessage?: string): void;
|
|
13
|
-
static assertIsNumber(entity: any, withMessage?: string): asserts entity is number;
|
|
14
|
-
static assertIsNumeric(entity: any, withMessage?: string): void;
|
|
15
|
-
static assertIsObject(entity: any, withMessage?: string): asserts entity is object;
|
|
16
|
-
static assertIsString(entity: any, withMessage?: string): asserts entity is string;
|
|
17
|
-
static assertIsTruthy<T>(condition: T, withMessage?: string): asserts condition;
|
|
18
|
-
static buildPath(...args: any[]): string;
|
|
19
|
-
static downloadBlob(blob: Blob, filename: string): void;
|
|
20
|
-
static generateRandomHexString(length?: number): string;
|
|
21
|
-
static generateUUID(): string;
|
|
22
|
-
static getDecimalPrecision(val: number | string): number;
|
|
23
|
-
/**
|
|
24
|
-
* More accurately check the type of JavaScript object
|
|
25
|
-
* @param {Object} entity The object
|
|
26
|
-
* @return {String} The object type
|
|
27
|
-
*/
|
|
28
|
-
static getType(entity: any): string;
|
|
29
|
-
static isBoolean(value: any): value is boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Returns true if string is a valid CSS color
|
|
32
|
-
* @param str
|
|
33
|
-
*/
|
|
34
|
-
static isColor(str: string): boolean;
|
|
35
|
-
static isEmpty(entity: any): boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @param value1 {any} first term of comparison
|
|
39
|
-
* @param value2 {any} second term of comparison
|
|
40
|
-
*
|
|
41
|
-
* @returns boolean
|
|
42
|
-
*/
|
|
43
|
-
static isEqual(value1: any, value2: any): boolean;
|
|
44
|
-
static isFormField(el: HTMLElement): boolean;
|
|
45
|
-
static isFunction(entity: any): entity is Function;
|
|
46
|
-
static isNotEmpty(entity: any): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Returns true if the entity is a number
|
|
49
|
-
* @param entity
|
|
50
|
-
*/
|
|
51
|
-
static isNumber(entity: any): entity is number;
|
|
52
|
-
/**
|
|
53
|
-
* Returns true whether you're dealing with a numeric entity. Use isNumber if you want exact type check
|
|
54
|
-
* @param entity
|
|
55
|
-
*/
|
|
56
|
-
static isNumeric(entity: any): boolean;
|
|
57
|
-
static isObject(entity: any): entity is object;
|
|
58
|
-
/**
|
|
59
|
-
* This one is from underscore.js 1.13.6
|
|
60
|
-
* It basically checks if a value is generically an object (meaning Array, Date, Map).
|
|
61
|
-
* If you want a strict check use SmpCommonUtils.isObject instead.
|
|
62
|
-
* [TS] TODO: It would be nice to exclude String, Number, Boolean and Symbol, but for now, this will do
|
|
63
|
-
* @param entity
|
|
64
|
-
* @returns {boolean}
|
|
65
|
-
*/
|
|
66
|
-
static isPrimitive(entity: any): boolean;
|
|
67
|
-
static isString(entity: any): entity is string;
|
|
68
|
-
static isWindows(): boolean;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @param objLike object or array
|
|
72
|
-
* @param iteratee the map fn
|
|
73
|
-
*/
|
|
74
|
-
static mapObject<T = any>(objLike: any, iteratee: (v: any, indexOrKey: string | number, arr?: string[]) => any): T[];
|
|
75
|
-
static mapObjectKeys<T extends string = string>(obj: Record<T, any>, callback: (key: string, value: any) => any): Record<string, any>;
|
|
76
|
-
static mapObjectValues<T extends string = string>(obj: Partial<Record<T, any>>, callback: (value: any, key: string) => any): Record<string, any>;
|
|
77
|
-
static noop(): void;
|
|
78
|
-
static objectHasValue<T extends object>(obj: T, value: any): boolean;
|
|
79
|
-
static omit<T extends object, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
|
|
80
|
-
static parseBoolean(str?: string): boolean;
|
|
81
|
-
static parseJsonSafely<T = any>(str: string): T | void;
|
|
82
|
-
static pick<T extends object, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
|
|
83
|
-
static runSafely<V = any, U = any, T extends Function = (...args: V[]) => U>(fn?: T, thisArg?: null, params?: V[]): U | void;
|
|
84
|
-
static sleep(timeToDelay: number): Promise<unknown>;
|
|
85
|
-
static sprintf(str: string, ...argv: (string | number | symbol)[]): string;
|
|
86
|
-
static stripComments(html: string): string;
|
|
87
|
-
static submitFakeForm<T extends object = object>({ action, method, data, target }: {
|
|
88
|
-
action: string;
|
|
89
|
-
method: SmpRestVerbs;
|
|
90
|
-
data?: T;
|
|
91
|
-
target?: "_blank" | "_self";
|
|
92
|
-
}): void;
|
|
93
|
-
static toCamelCase(s: string): string;
|
|
94
|
-
static toKebabCase(s: string): string;
|
|
95
|
-
static toPascalCase(s: string): string;
|
|
96
|
-
static toSnakeCase(s: string): string;
|
|
97
|
-
static toUpperSnakeCase(s: string): string;
|
|
98
|
-
static words(string: string, pattern?: RegExp): string[];
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export { SmpCommonUtils };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-ZTDFA2UA.js";import"../../chunk-DOKJQH4K.js";import"../../chunk-R6VG4656.js";import"../../chunk-VHMV4QQT.js";import"../../chunk-EI7MMDWY.js";export{a as SmpCommonUtils};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-4UTF5FWK.js";import"../../chunk-EI7MMDWY.js";export{a as SmpFilterException};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../chunk-NIN4PUZX.js";import{a}from"../../chunk-ZNC4KYAS.js";import"../../chunk-EI7MMDWY.js";export{a as smpNoop};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare class SmpRegularExpressions {
|
|
2
|
-
static get COUNTRY(): RegExp;
|
|
3
|
-
static get DOMAIN(): RegExp;
|
|
4
|
-
static get EMAIL(): RegExp;
|
|
5
|
-
static get LANGUAGE(): RegExp;
|
|
6
|
-
static get LATIN_CHARS(): RegExp;
|
|
7
|
-
static get LOCALE(): RegExp;
|
|
8
|
-
static get NO_EMOJI_NO_PUNCTUATION(): RegExp;
|
|
9
|
-
static get PHONE_NUMBER(): RegExp;
|
|
10
|
-
static get PHONE_NUMBER_BY_PREFIX(): Record<string, Record<string, RegExp>>;
|
|
11
|
-
static get TAXCODE_BY_COUNTRY(): Record<string, Record<string, RegExp>>;
|
|
12
|
-
protected static _country: RegExp;
|
|
13
|
-
protected static _language: RegExp;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { SmpRegularExpressions };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-RGLXAD7B.js";import"../../chunk-EI7MMDWY.js";export{a as SmpRegularExpressions};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SmpCachedValue } from './cache/smp-cached-value.interface.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A util to generate session ids
|
|
5
|
-
*/
|
|
6
|
-
declare class SmpSid implements SmpCachedValue<string> {
|
|
7
|
-
value: string;
|
|
8
|
-
expiry: number;
|
|
9
|
-
get active(): boolean;
|
|
10
|
-
get expired(): boolean;
|
|
11
|
-
get valid(): boolean;
|
|
12
|
-
protected _controlSuffix: string;
|
|
13
|
-
constructor(value?: string, expiry?: number);
|
|
14
|
-
static parse(raw: SmpCachedValue<string>): SmpSid;
|
|
15
|
-
toPlain(): SmpCachedValue<string>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { SmpSid };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-SPPRTVHH.js";import"../../chunk-EI7MMDWY.js";export{a as SmpSid};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare class SmpUnicodeWords {
|
|
2
|
-
static readonly HAS_UNICODE_WORD: (string: string) => boolean;
|
|
3
|
-
static readonly RE_UNICODE_WORDS: RegExp;
|
|
4
|
-
static readonly RS_EMOJI: string;
|
|
5
|
-
/**
|
|
6
|
-
* Splits a Unicode `string` into an array of its words.
|
|
7
|
-
*
|
|
8
|
-
* @private
|
|
9
|
-
* @param string {string} string: the string to inspect.
|
|
10
|
-
* @returns {Array<string>} Returns the words of `string`.
|
|
11
|
-
*/
|
|
12
|
-
static unicodeWords(string: string): string[] | null;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { SmpUnicodeWords };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-DOKJQH4K.js";import"../../chunk-EI7MMDWY.js";export{a as SmpUnicodeWords};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../chunk-O7TJDNO6.js";import{a,b}from"../../chunk-QPKVVZUA.js";import"../../chunk-EI7MMDWY.js";export{a as SmpZodDateTime,b as smpZodDateTime};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import z, { ZodTypeDef, ParseInput, ParseReturnType } from 'zod';
|
|
2
|
-
import { DateTime } from 'ts-luxon';
|
|
3
|
-
|
|
4
|
-
interface SmpZodDateTimeCheck {
|
|
5
|
-
kind: "min" | "max" | "between";
|
|
6
|
-
min?: DateTime;
|
|
7
|
-
max?: DateTime;
|
|
8
|
-
message?: string;
|
|
9
|
-
}
|
|
10
|
-
interface SmpZodDateTimeDef extends ZodTypeDef {
|
|
11
|
-
coerce: boolean;
|
|
12
|
-
checks: SmpZodDateTimeCheck[];
|
|
13
|
-
typeName: "SmpZodDateTime";
|
|
14
|
-
}
|
|
15
|
-
declare class SmpZodDateTime extends z.ZodType<DateTime, SmpZodDateTimeDef> {
|
|
16
|
-
constructor(def?: Partial<SmpZodDateTimeDef>);
|
|
17
|
-
_parse(input: ParseInput): ParseReturnType<DateTime>;
|
|
18
|
-
between(min: DateTime, max: DateTime, message?: string): this;
|
|
19
|
-
coerce(): this;
|
|
20
|
-
max(max: DateTime, message?: string): this;
|
|
21
|
-
min(min: DateTime, message?: string): this;
|
|
22
|
-
private _coerceToDateTime;
|
|
23
|
-
}
|
|
24
|
-
declare const smpZodDateTime: (opts?: {
|
|
25
|
-
coerce?: boolean;
|
|
26
|
-
}) => SmpZodDateTime;
|
|
27
|
-
|
|
28
|
-
export { SmpZodDateTime, smpZodDateTime };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-QPKVVZUA.js";import"../../chunk-EI7MMDWY.js";export{a as SmpZodDateTime,b as smpZodDateTime};
|