@tonysamperi/ts-mapi-core 1.7.0 → 1.8.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 +6 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1273 -64
- package/dist/esm/chunk-2UDNZC5A.js +1 -0
- package/dist/esm/chunk-3HRZ6R3F.js +1 -0
- package/dist/esm/chunk-4TNTWTMN.js +1 -0
- package/dist/esm/chunk-5WULAY6L.js +1 -0
- package/dist/esm/{chunk-V2OQU7B5.js → chunk-7CWGJ3NF.js} +1 -1
- package/dist/esm/{chunk-S3E7FKAY.js → chunk-CFV5G67M.js} +1 -1
- package/dist/esm/{chunk-ENM3HAPF.js → chunk-D2XOH6K4.js} +1 -1
- package/dist/esm/{chunk-YYOHQHR4.js → chunk-ET5LYR3A.js} +1 -1
- package/dist/esm/{chunk-3AFPQCOH.js → chunk-FTXCYY5S.js} +1 -1
- package/dist/esm/chunk-G7PUYG2K.js +1 -0
- package/dist/esm/chunk-GRXWCGMW.js +1 -0
- package/dist/esm/chunk-JXSMI3MI.js +1 -0
- package/dist/esm/chunk-L7KNFRNV.js +1 -0
- package/dist/esm/chunk-LD5COSFG.js +1 -0
- package/dist/esm/chunk-MLBCWEB4.js +1 -0
- package/dist/esm/{chunk-NVYQBLR6.js → chunk-MRKAFTDG.js} +1 -1
- package/dist/esm/chunk-OUSY7GMI.js +1 -0
- package/dist/esm/{chunk-GALYBKBP.js → chunk-QK6DPGU6.js} +1 -1
- package/dist/esm/chunk-QRCMHI3B.js +1 -0
- package/dist/esm/chunk-QYDMV6LH.js +1 -0
- package/dist/esm/chunk-RAJGA43T.js +1 -0
- package/dist/esm/chunk-RAVJJJYE.js +1 -0
- package/dist/esm/{chunk-FAUAQNPB.js → chunk-SJOEBOGG.js} +1 -1
- package/dist/esm/chunk-SPPRTVHH.js +1 -0
- package/dist/esm/chunk-STU5GUNH.js +1 -0
- package/dist/esm/chunk-TGY6ZSQU.js +1 -0
- package/dist/esm/chunk-V6NBH54E.js +1 -0
- package/dist/esm/chunk-VHMV4QQT.js +1 -0
- package/dist/esm/chunk-WTLVPDI2.js +1 -0
- package/dist/esm/chunk-XF457SYA.js +1 -0
- package/dist/esm/{chunk-JFKLRHIQ.js → chunk-YEQJ4M3P.js} +1 -1
- package/dist/esm/{chunk-DTVHTARR.js → chunk-ZTDFA2UA.js} +1 -1
- package/dist/esm/index.d.ts +6 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/services/firebase/index.d.ts +1 -1
- package/dist/esm/services/firebase/index.js +1 -1
- package/dist/esm/services/firebase/smp-firebase-service-config.interface.d.ts +1 -1
- package/dist/esm/services/firebase/smp-firebase-service-config.interface.js +0 -1
- package/dist/esm/services/firebase/smp-firebase.service.d.ts +1 -1
- package/dist/esm/services/firebase/smp-firebase.service.js +1 -1
- package/dist/esm/services/http/index.js +1 -1
- package/dist/esm/services/http/smp-http-session-storage-cache.class.js +1 -1
- package/dist/esm/services/http/smp-http-status-code.enum.js +1 -1
- package/dist/esm/services/http/smp-http.service.js +1 -1
- package/dist/esm/services/index.d.ts +1 -1
- package/dist/esm/services/index.js +1 -1
- package/dist/esm/services/smp-dynamo.service.d.ts +1 -1
- package/dist/esm/services/smp-dynamo.service.js +1 -1
- package/dist/esm/shared/api/index.d.ts +2 -2
- package/dist/esm/shared/api/index.js +1 -1
- package/dist/esm/shared/api/smp-api-common-utils.class.d.ts +1 -1
- package/dist/esm/shared/api/smp-api-common-utils.class.js +1 -1
- package/dist/esm/shared/api/smp-error-response-create-opts.interface.js +1 -0
- package/dist/esm/shared/api/smp-error-response.class.d.ts +1 -1
- package/dist/esm/shared/api/smp-error-response.class.js +1 -1
- package/dist/esm/shared/api/smp-generic-response.class.js +1 -1
- package/dist/esm/shared/api/smp-response-message-types.enum.js +1 -1
- package/dist/esm/shared/api/smp-response-message.class.js +1 -1
- package/dist/esm/shared/api/smp-rest-verbs.enum.js +1 -1
- package/dist/esm/shared/common/index.d.ts +2 -0
- package/dist/esm/shared/common/index.js +1 -1
- package/dist/esm/shared/common/smp-base-jwt-token-plain.interface.d.ts +7 -0
- package/dist/esm/shared/common/smp-base-jwt-token-plain.interface.js +1 -0
- package/dist/esm/shared/common/smp-base-jwt-token.class.d.ts +14 -0
- package/dist/esm/shared/common/smp-base-jwt-token.class.js +1 -0
- package/dist/esm/shared/common/smp-generic-constructor.type.d.ts +1 -1
- package/dist/esm/shared/common/smp-social-sign-in-keys.enum.js +1 -1
- package/dist/esm/shared/common/smp-social-sign-in-ux-modes.enum.js +1 -1
- package/dist/esm/shared/crypto/index.js +1 -1
- package/dist/esm/shared/crypto/smp-aes-crypt.class.js +1 -1
- package/dist/esm/shared/crypto/smp-secure-code.class.js +1 -1
- package/dist/esm/shared/firebase/index.js +1 -1
- package/dist/esm/shared/firebase/smp-firebase-errors.enum.js +1 -1
- package/dist/esm/shared/giftcard/index.d.ts +1 -1
- package/dist/esm/shared/giftcard/index.js +1 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-hash-strategies.enum.js +1 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction-ops.enum.js +1 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction.class.d.ts +1 -1
- package/dist/esm/shared/giftcard/smp-giftcard-transaction.class.js +1 -1
- package/dist/esm/shared/marketing-cloud/index.js +1 -1
- package/dist/esm/shared/marketing-cloud/smp-marketing-cloud-validators.enum.js +1 -1
- package/dist/esm/shared/rxjs/index.js +1 -1
- package/dist/esm/shared/rxjs/smp-abstract-rxjs-ttl-cache-strategy.class.js +1 -1
- package/dist/esm/shared/rxjs/smp-rxjs-in-memory-cache.class.js +1 -1
- package/dist/esm/shared/rxjs/smp-rxjs-queue.function.d.ts +3 -15
- package/dist/esm/shared/rxjs/smp-rxjs-queue.function.js +1 -1
- package/dist/esm/shared/rxjs/smp-rxjs-sequence.function.d.ts +4 -3
- package/dist/esm/shared/rxjs/smp-rxjs-sequence.function.js +1 -1
- package/dist/esm/shared/utils/cache/index.js +1 -1
- package/dist/esm/shared/utils/cache/smp-abstract-cache-strategy.class.d.ts +6 -0
- package/dist/esm/shared/utils/cache/smp-abstract-ttl-cache-strategy.class.js +1 -1
- package/dist/esm/shared/utils/cache/smp-browser-cache.class.js +1 -1
- package/dist/esm/shared/utils/cache/smp-in-memory-cache.class.js +1 -1
- package/dist/esm/shared/utils/index.d.ts +1 -1
- package/dist/esm/shared/utils/index.js +1 -1
- package/dist/esm/shared/utils/smp-common-utils.class.js +1 -1
- package/dist/esm/shared/utils/smp-noop.function.d.ts +1 -3
- package/dist/esm/shared/utils/smp-noop.function.js +1 -1
- package/dist/esm/shared/utils/smp-sid.class.js +1 -1
- package/package.json +3 -2
- 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/firebase/smp-firebase.service.d.cts +0 -56
- 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/services/smp-dynamo.service.d.cts +0 -39
- 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-build-opts.interface.cjs +0 -2
- package/dist/cjs/shared/api/smp-error-response-build-opts.interface.cjs.map +0 -1
- package/dist/cjs/shared/api/smp-error-response-build-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 -4
- 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 -23
- 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 -11
- 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-cache-strategy.class.d.cts +0 -10
- 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-3TSDCOVH.js +0 -1
- package/dist/esm/chunk-4A2VEL4I.js +0 -1
- package/dist/esm/chunk-4NS456EU.js +0 -1
- package/dist/esm/chunk-5XYURNIE.js +0 -1
- package/dist/esm/chunk-7MD4IY4X.js +0 -1
- package/dist/esm/chunk-C3LKT6AF.js +0 -1
- package/dist/esm/chunk-JF4ZPHEK.js +0 -1
- package/dist/esm/chunk-JXXO4LSO.js +0 -1
- package/dist/esm/chunk-LB7RIIRT.js +0 -1
- package/dist/esm/chunk-MMNEY2JK.js +0 -1
- package/dist/esm/chunk-NIN4PUZX.js +0 -0
- package/dist/esm/chunk-QECKVXF4.js +0 -1
- package/dist/esm/chunk-RCI7NEJO.js +0 -1
- package/dist/esm/chunk-S7DRNW2X.js +0 -1
- package/dist/esm/chunk-U4GEYICC.js +0 -1
- package/dist/esm/chunk-VP72PKJQ.js +0 -1
- package/dist/esm/chunk-W462XDMF.js +0 -1
- package/dist/esm/chunk-WLD2KYV4.js +0 -1
- package/dist/esm/chunk-YFGB7SCJ.js +0 -0
- package/dist/esm/chunk-Z3K5PNSB.js +0 -1
- package/dist/esm/chunk-Z5KZUWJJ.js +0 -1
- package/dist/esm/chunk-Z7KKB4KI.js +0 -1
- package/dist/esm/chunk-ZNC4KYAS.js +0 -1
- package/dist/esm/shared/api/smp-error-response-build-opts.interface.js +0 -1
- package/dist/esm/smp-logger-methods.class-F7p-lMeQ.d.ts +0 -66
- /package/dist/esm/{chunk-EHABREBA.js → chunk-2JBVVJ2E.js} +0 -0
- /package/dist/esm/{chunk-FAYDNSZG.js → chunk-HM7F3YYW.js} +0 -0
- /package/dist/esm/{chunk-NHNK7NE2.js → chunk-I3CNDIWD.js} +0 -0
- /package/dist/esm/shared/api/{smp-error-response-build-opts.interface.d.ts → smp-error-response-create-opts.interface.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./chunk-RCI7NEJO.js";import{a as s}from"./chunk-EI7MMDWY.js";var o=class{static{s(this,"SmpApiCommonUtils")}static _javascriptVariablePattern="[a-zA-Z_$][a-zA-Z_$0-9]*";static _logger=new i;static _pathParamRegex=new RegExp(`\\{(${this._javascriptVariablePattern})\\}`,"g");static credentialsToBasicAuth(t,e){return`Basic ${Buffer.from(`${t}:${e}`).toString("base64")}`}static fromBearer(t=""){return t.split(" ")[1]}static getCountryFromReferer(t){return this.getLocaleFromReferer(t)?.split("-")[0]?.toUpperCase()}static getLanguageFromReferer(t){return this.getLocaleFromReferer(t)?.split("-")[1]}static getLocaleFromReferer(t){return t?.match(/\/([A-Z]{2}-[A-Z]{2})\//i)?.[1]}static interpolateParams(t,e){try{return t.replace(this._pathParamRegex,(r,c)=>{let a=e[c];return a!==void 0?encodeURIComponent(a):r})}catch(r){this._logger.warn(`${this.constructor.name}: couldn't interpolate params`,r)}return t}};export{o as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a=function(t){return t.ListDetectiveValidator="ListDetectiveValidator",t.MXValidator="MXValidator",t.SyntaxValidator="SyntaxValidator",t}({});export{a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-EI7MMDWY.js";import{concatMap as p,from as t,toArray as n}from"rxjs";function m(o){return t(o).pipe(p(e=>e()),n())}r(m,"smpRxjsSequence");export{m as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var u=function(t){return t.DIFFERENT_CREDENTIAL="auth/account-exists-with-different-credential",t.DIFFERENT_CREDENTIAL_APPLE="auth/account-exists-with-different-credential/apple",t.DIFFERENT_CREDENTIAL_FACEBOOK="auth/account-exists-with-different-credential/facebook",t.DIFFERENT_CREDENTIAL_GOOGLE="auth/account-exists-with-different-credential/google",t.EMAIL_EXISTS="auth/email-already-exists",t.INVALID_ACTION_CODE="auth/invalid-action-code",t.POPUP_BLOCKED="auth/popup-blocked",t.POPUP_CLOSED_BY_USER="auth/popup-closed-by-user",t.USER_NOT_FOUND="auth/user-not-found",t.WRONG_PASSWORD="auth/wrong-password",t}({});export{u as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-EI7MMDWY.js";import{DateTime as i}from"ts-luxon";var r=class s{static{e(this,"SmpSid")}value;expiry;get active(){return this.value.endsWith(this._controlSuffix)}get expired(){return i.now().ts>this.expiry}get valid(){return!this.expired}_controlSuffix;constructor(t=`sid-xxxx-${+i.now().ts}`,x=0){this.value=t,this.expiry=x,this._controlSuffix="$1"}static parse(t){return new s(t.value,t.expiry)}toPlain(){return{value:this.value,expiry:this.expiry}}};export{r as a};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var R=function(N){return N.INFO="INFO",N.SUCCESS="SUCCESS",N.WARNING="WARNING",N.ERROR="ERROR",N}({});export{R as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-ZNC4KYAS.js";import{a as s}from"./chunk-EI7MMDWY.js";var r=class{static{s(this,"SmpConsoleOnlyMethods")}constructor(){this.group=t,this.groupCollapsed=t,this.groupEnd=t,this.time=t,this.timeEnd=t}},h=class e extends r{static{s(this,"SmpLoggerMethods")}constructor(){super(...arguments),this.debug=t,this.error=t,this.info=t,this.log=t,this.warn=t}static describe(){return Object.getOwnPropertyNames(new e).map(o=>o)}};export{h as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i,b as r,e as d,f as _,g as o,h as n,i as e}from"./chunk-XZEYUIQ6.js";import{a as s}from"./chunk-EI7MMDWY.js";var h=class{static{s(this,"SmpAesCrypt")}_password;_salt;_initVector;get _iv(){return this._initVector?i.parse(this._initVector):void 0}_mode;_padding;constructor(t,a,p){this._password=t,this._salt=a,this._initVector=p,this._mode=d,this._padding=_}decryptAES(t){return e.decrypt(t,this._buildKey(),{iv:this._iv,mode:this._mode,padding:this._padding}).toString(r)}encryptAES(t){return e.encrypt(t,this._buildKey(),{iv:this._iv,mode:this._mode,padding:this._padding}).toString()}_buildKey(){return n.execute(this._password,i.parse(this._salt),{keySize:256/32,iterations:1e3,hasher:o})}};export{h as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var M=function(A){return A.MD5="MD5",A.MD5_HMAC="MD5_HMAC",A.SHA1="SHA1",A.SHA1_HMAC="SHA1_HMAC",A}({});export{M as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b as c,d as h}from"./chunk-XZEYUIQ6.js";import{a as r}from"./chunk-Z7KKB4KI.js";import{a as o}from"./chunk-Z5KZUWJJ.js";import{a as s}from"./chunk-EI7MMDWY.js";var n=class{static{s(this,"SmpSecureCode")}_baseCode;get baseCode(){return this._baseCode}get secureCode(){return this._encode()}_crcLength;_seed;constructor(e){this._baseCode=e,this._crcLength=5,this._seed="changeme"}static check(e,t){if(new this(e).secureCode!==t)throw r.create({messages:"WRONG_SECURE_CODE",errorCode:"WRONG_SECURE_CODE",status:o.BadRequest})}_encode(){let e=new h;return e.update(c.parse(this._seed+this._baseCode)),e.finalize().toString(a).substring(0,this._crcLength).toUpperCase()}};export{n as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk-RCI7NEJO.js";import{a}from"./chunk-EI7MMDWY.js";import{DynamoDB as c}from"@aws-sdk/client-dynamodb";import{marshall as m,unmarshall as h}from"@aws-sdk/util-dynamodb";var _=function(r){return r.CouldNotDelete="ERR_COULD_NOT_DELETE",r.CouldNotRead="ERR_COULD_NOT_READ",r.CouldNotWrite="ERR_COULD_NOT_WRITE",r.ConditionalCheckFailedException="ERR_DUPE_TOKEN",r}(_||{}),s=class{static{a(this,"SmpDynamoService")}_config;_tableName;get marshall(){return m}get unmarshall(){return h}_db;_logger;constructor(e,o){this._config=e,this._tableName=o,this._db=new c([this._buildConfig()]),this._logger=new l}_buildConfig(){return this._config}_delete(e,o=this._tableName,i){let n={TableName:o,Key:this.marshall(e),...i};return this._db.deleteItem(n).catch(t=>(this._logger.error("DynamoActionTokensService: couldn't write token to DB",t),Promise.reject(_[t.code]||"ERR_COULD_NOT_DELETE")))}_read(e,o=this._tableName,i){let n={TableName:o,Key:this.marshall(e),...i};return this._db.getItem(n).catch(t=>(this._logger.error("DynamoActionTokensService: couldn't write token to DB",t),Promise.reject(_[t.code]||"ERR_COULD_NOT_READ")))}_write(e,o=this._tableName,i){let n={TableName:o,Item:this.marshall(e),...i};return this._db.putItem(n).catch(t=>(this._logger.error("DynamoActionTokensService: couldn't write token to DB",t),Promise.reject(_[t.code]||"ERR_COULD_NOT_WRITE")))}};export{s as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var E=function(O){return O.APPLE="APPLE",O.FACEBOOK="FACEBOOK",O.GOOGLE="GOOGLE",O}({});export{E as a};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk-EI7MMDWY.js";import{map as i,of as f,defer as m,switchMap as o}from"rxjs";function s(r){let e=[],t=u(n=>n>=r.length?f(e):m(()=>r[n]()).pipe(o(p=>(e.push(p),t(n+1)))),"runStep");return t(0)}u(s,"smpRxjsSequence");function c(r){return Array.isArray(r)?s(r).pipe(i(e=>e)):s(Object.values(r)).pipe(i(e=>Object.keys(r).reduce((t,n,p)=>(t[n]=e[p],t),{})))}u(c,"smpRxjsQueue");export{c as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}({});export{n as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as f}from"./chunk-YYOHQHR4.js";import{a as u}from"./chunk-S3E7FKAY.js";import{a}from"./chunk-EI7MMDWY.js";import{Expose as d,plainToInstance as E}from"class-transformer";function l(r,e,t,s){var n=arguments.length,o=n<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,t):s,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,t,s);else for(var c=r.length-1;c>=0;c--)(p=r[c])&&(o=(n<3?p(o):n>3?p(e,t,o):p(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o}a(l,"_ts_decorate");function m(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}a(m,"_ts_metadata");var i=class r extends f{static{a(this,"SmpErrorResponse")}_errorCode;_status;static get DEFAULT_MESSAGES(){return[new u("GENERIC_ERROR")]}get errorCode(){return this._errorCode}get status(){return this._status}get timestamp(){return this._timestamp}_timestamp;constructor(e=r.DEFAULT_MESSAGES,t="GENERIC_ERROR",s=500,n){super(e,n),this._errorCode=t,this._status=s,this._timestamp=Date.now()}static create({messages:e=r.DEFAULT_MESSAGES,...t}={}){return new r(u.sanitizeMessages(e),t.errorCode,t.status,t.data)}static fromPlain(e){let t=E(_,e,{excludePrefixes:["_"]}),s=new r;return Object.getOwnPropertyNames(t).forEach(n=>{n in s&&(s[n]=t[n])}),s}};l([d(),m("design:type",Object),m("design:paramtypes",[])],i.prototype,"errorCode",null);l([d(),m("design:type",Number),m("design:paramtypes",[])],i.prototype,"timestamp",null);var _=class extends i{static{a(this,"SmpErrorResponseMutable")}set errorCode(e){this._errorCode=e}set status(e){this._status=e}set timestamp(e){this._timestamp=e}};export{i as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-EI7MMDWY.js";function n(){}o(n,"smpNoop");export{n as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../chunk-NHNK7NE2.js";
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
type SmpLoggerMethodKeys = keyof SmpLoggerMethods;
|
|
2
|
-
|
|
3
|
-
declare class SmpConsoleOnlyMethods {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a new inline group in the Web Console log.
|
|
6
|
-
* @param groupTitle An optional title for the group.
|
|
7
|
-
*/
|
|
8
|
-
group: (groupTitle?: string) => void;
|
|
9
|
-
/**
|
|
10
|
-
* Creates a new inline group in the Web Console log that is initially collapsed.
|
|
11
|
-
* @param groupTitle An optional title for the group.
|
|
12
|
-
*/
|
|
13
|
-
groupCollapsed: (groupTitle?: string) => void;
|
|
14
|
-
/**
|
|
15
|
-
* Exits the current inline group in the Web Console.
|
|
16
|
-
*/
|
|
17
|
-
groupEnd: () => void;
|
|
18
|
-
/**
|
|
19
|
-
* Starts a timer you can use to track how long an operation takes.
|
|
20
|
-
* It works only with log {@link KikLoggingLevels} equal or higher than DEBUG.
|
|
21
|
-
*
|
|
22
|
-
* @param timerName The name to give the new timer. This will identify the timer.
|
|
23
|
-
*/
|
|
24
|
-
time: (timerName?: string) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Stops a timer that was previously started by calling {@link KikLoggingLevels.time}.
|
|
27
|
-
* It works only with log {@link KikLoggingLevels} equal or higher than DEBUG.
|
|
28
|
-
*
|
|
29
|
-
* @param timerName The name of the timer to stop. Once stopped, the elapsed time is automatically displayed in the Web Console.
|
|
30
|
-
*/
|
|
31
|
-
timeEnd: (timerName?: string) => void;
|
|
32
|
-
}
|
|
33
|
-
declare class SmpLoggerMethods extends SmpConsoleOnlyMethods {
|
|
34
|
-
/**
|
|
35
|
-
* Outputs a debugging message to the Web Console.
|
|
36
|
-
* @param message A JavaScript string containing zero or more substitution strings.
|
|
37
|
-
* @param optionalParams A list of JavaScript objects to output
|
|
38
|
-
* OR JavaScript objects with which to replace substitution strings within message.
|
|
39
|
-
*/
|
|
40
|
-
debug: (message?: any, ...optionalParams: any[]) => void;
|
|
41
|
-
/**
|
|
42
|
-
* Outputs an error message to the Web Console.
|
|
43
|
-
* @param message A JavaScript string containing zero or more substitution strings.
|
|
44
|
-
* @param optionalParams A list of JavaScript objects to output
|
|
45
|
-
* OR JavaScript objects with which to replace substitution strings within message.
|
|
46
|
-
*/
|
|
47
|
-
error: (message?: any, ...optionalParams: any[]) => void;
|
|
48
|
-
/**
|
|
49
|
-
* Outputs an informational message to the Web Console.
|
|
50
|
-
* @param message A JavaScript string containing zero or more substitution strings.
|
|
51
|
-
* @param optionalParams A list of JavaScript objects to output
|
|
52
|
-
* OR JavaScript objects with which to replace substitution strings within message.
|
|
53
|
-
*/
|
|
54
|
-
info: (message?: any, ...optionalParams: any[]) => void;
|
|
55
|
-
/**
|
|
56
|
-
* Outputs a message to the Web Console.
|
|
57
|
-
* @param message A JavaScript string containing zero or more substitution strings.
|
|
58
|
-
* @param optionalParams A list of JavaScript objects to output
|
|
59
|
-
* OR JavaScript objects with which to replace substitution strings within message.
|
|
60
|
-
*/
|
|
61
|
-
log: (message?: any, ...optionalParams: any[]) => void;
|
|
62
|
-
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
63
|
-
static describe(): SmpLoggerMethodKeys[];
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { SmpLoggerMethods as S };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|