From da71dec6b1e7c58bf4bf0e3ab8fbb14072439614 Mon Sep 17 00:00:00 2001 From: Ryan Bas <18267769+ryanbas21@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:55:15 -0700 Subject: [PATCH] chore: remove-outputs-agin --- code | 1 - .../packages/device-client/dist/index.d.ts | 1 - outputs/packages/device-client/dist/index.js | 4 - .../device-client/dist/lib/device.store.d.ts | 125 ------------- .../device-client/dist/lib/device.store.js | 176 ------------------ .../dist/lib/services/index.d.ts | 23 --- .../device-client/dist/lib/services/index.js | 71 ------- .../dist/lib/types/binding-device.types.d.ts | 30 --- .../device-client/dist/lib/types/index.d.ts | 5 - .../dist/lib/types/oath.types.d.ts | 40 ---- .../dist/lib/types/push-device.types.d.ts | 83 --------- .../lib/types/updateDeviceProfile.types.d.ts | 57 ------ .../dist/lib/types/webauthn.types.d.ts | 68 ------- .../javascript-sdk/dist/auth/enums.cjs | 1 - .../javascript-sdk/dist/auth/enums.d.cts | 40 ---- .../javascript-sdk/dist/auth/enums.d.cts.map | 1 - .../javascript-sdk/dist/auth/enums.d.ts | 40 ---- .../javascript-sdk/dist/auth/enums.d.ts.map | 1 - .../javascript-sdk/dist/auth/enums.js | 5 - .../javascript-sdk/dist/auth/index.cjs | 1 - .../javascript-sdk/dist/auth/index.d.cts | 20 -- .../javascript-sdk/dist/auth/index.d.cts.map | 1 - .../javascript-sdk/dist/auth/index.d.ts | 20 -- .../javascript-sdk/dist/auth/index.d.ts.map | 1 - .../javascript-sdk/dist/auth/index.js | 59 ------ .../javascript-sdk/dist/auth/interfaces.d.cts | 70 ------- .../dist/auth/interfaces.d.cts.map | 1 - .../javascript-sdk/dist/auth/interfaces.d.ts | 70 ------- .../dist/auth/interfaces.d.ts.map | 1 - .../javascript-sdk/dist/config/constants.cjs | 1 - .../dist/config/constants.d.cts | 6 - .../dist/config/constants.d.cts.map | 1 - .../javascript-sdk/dist/config/constants.d.ts | 6 - .../dist/config/constants.d.ts.map | 1 - .../javascript-sdk/dist/config/constants.js | 6 - .../javascript-sdk/dist/config/enums.cjs | 1 - .../javascript-sdk/dist/config/enums.d.cts | 14 -- .../dist/config/enums.d.cts.map | 1 - .../javascript-sdk/dist/config/enums.d.ts | 14 -- .../javascript-sdk/dist/config/enums.d.ts.map | 1 - .../javascript-sdk/dist/config/enums.js | 4 - .../javascript-sdk/dist/config/helpers.cjs | 1 - .../javascript-sdk/dist/config/helpers.d.cts | 12 -- .../dist/config/helpers.d.cts.map | 1 - .../javascript-sdk/dist/config/helpers.d.ts | 12 -- .../dist/config/helpers.d.ts.map | 1 - .../javascript-sdk/dist/config/helpers.js | 42 ----- .../javascript-sdk/dist/config/index.cjs | 1 - .../javascript-sdk/dist/config/index.d.cts | 44 ----- .../dist/config/index.d.cts.map | 1 - .../javascript-sdk/dist/config/index.d.ts | 44 ----- .../javascript-sdk/dist/config/index.d.ts.map | 1 - .../javascript-sdk/dist/config/index.js | 65 ------- .../dist/config/interfaces.d.cts | 128 ------------- .../dist/config/interfaces.d.cts.map | 1 - .../dist/config/interfaces.d.ts | 128 ------------- .../dist/config/interfaces.d.ts.map | 1 - .../callbacks/attribute-input-callback.cjs | 1 - .../callbacks/attribute-input-callback.d.cts | 46 ----- .../attribute-input-callback.d.cts.map | 1 - .../callbacks/attribute-input-callback.d.ts | 46 ----- .../attribute-input-callback.d.ts.map | 1 - .../callbacks/attribute-input-callback.js | 65 ------- .../fr-auth/callbacks/choice-callback.cjs | 1 - .../fr-auth/callbacks/choice-callback.d.cts | 34 ---- .../callbacks/choice-callback.d.cts.map | 1 - .../fr-auth/callbacks/choice-callback.d.ts | 34 ---- .../callbacks/choice-callback.d.ts.map | 1 - .../dist/fr-auth/callbacks/choice-callback.js | 48 ----- .../callbacks/confirmation-callback.cjs | 1 - .../callbacks/confirmation-callback.d.cts | 42 ----- .../callbacks/confirmation-callback.d.cts.map | 1 - .../callbacks/confirmation-callback.d.ts | 42 ----- .../callbacks/confirmation-callback.d.ts.map | 1 - .../callbacks/confirmation-callback.js | 59 ------ .../callbacks/device-profile-callback.cjs | 1 - .../callbacks/device-profile-callback.d.cts | 31 --- .../device-profile-callback.d.cts.map | 1 - .../callbacks/device-profile-callback.d.ts | 31 --- .../device-profile-callback.d.ts.map | 1 - .../callbacks/device-profile-callback.js | 36 ---- .../dist/fr-auth/callbacks/factory.cjs | 1 - .../dist/fr-auth/callbacks/factory.d.cts | 10 - .../dist/fr-auth/callbacks/factory.d.cts.map | 1 - .../dist/fr-auth/callbacks/factory.d.ts | 10 - .../dist/fr-auth/callbacks/factory.d.ts.map | 1 - .../dist/fr-auth/callbacks/factory.js | 81 -------- .../callbacks/hidden-value-callback.cjs | 1 - .../callbacks/hidden-value-callback.d.cts | 14 -- .../callbacks/hidden-value-callback.d.cts.map | 1 - .../callbacks/hidden-value-callback.d.ts | 14 -- .../callbacks/hidden-value-callback.d.ts.map | 1 - .../callbacks/hidden-value-callback.js | 12 -- .../dist/fr-auth/callbacks/index.cjs | 1 - .../dist/fr-auth/callbacks/index.d.cts | 47 ----- .../dist/fr-auth/callbacks/index.d.cts.map | 1 - .../dist/fr-auth/callbacks/index.d.ts | 47 ----- .../dist/fr-auth/callbacks/index.d.ts.map | 1 - .../dist/fr-auth/callbacks/index.js | 76 -------- .../fr-auth/callbacks/kba-create-callback.cjs | 1 - .../callbacks/kba-create-callback.d.cts | 31 --- .../callbacks/kba-create-callback.d.cts.map | 1 - .../callbacks/kba-create-callback.d.ts | 31 --- .../callbacks/kba-create-callback.d.ts.map | 1 - .../fr-auth/callbacks/kba-create-callback.js | 44 ----- .../fr-auth/callbacks/metadata-callback.cjs | 1 - .../fr-auth/callbacks/metadata-callback.d.cts | 18 -- .../callbacks/metadata-callback.d.cts.map | 1 - .../fr-auth/callbacks/metadata-callback.d.ts | 18 -- .../callbacks/metadata-callback.d.ts.map | 1 - .../fr-auth/callbacks/metadata-callback.js | 18 -- .../dist/fr-auth/callbacks/name-callback.cjs | 1 - .../fr-auth/callbacks/name-callback.d.cts | 22 --- .../fr-auth/callbacks/name-callback.d.cts.map | 1 - .../dist/fr-auth/callbacks/name-callback.d.ts | 22 --- .../fr-auth/callbacks/name-callback.d.ts.map | 1 - .../dist/fr-auth/callbacks/name-callback.js | 24 --- .../fr-auth/callbacks/password-callback.cjs | 1 - .../fr-auth/callbacks/password-callback.d.cts | 30 --- .../callbacks/password-callback.d.cts.map | 1 - .../fr-auth/callbacks/password-callback.d.ts | 30 --- .../callbacks/password-callback.d.ts.map | 1 - .../fr-auth/callbacks/password-callback.js | 36 ---- .../ping-protect-evaluation-callback.cjs | 1 - .../ping-protect-evaluation-callback.d.cts | 53 ------ ...ping-protect-evaluation-callback.d.cts.map | 1 - .../ping-protect-evaluation-callback.d.ts | 53 ------ .../ping-protect-evaluation-callback.d.ts.map | 1 - .../ping-protect-evaluation-callback.js | 35 ---- .../ping-protect-initialize-callback.cjs | 1 - .../ping-protect-initialize-callback.d.cts | 30 --- ...ping-protect-initialize-callback.d.cts.map | 1 - .../ping-protect-initialize-callback.d.ts | 30 --- .../ping-protect-initialize-callback.d.ts.map | 1 - .../ping-protect-initialize-callback.js | 32 ---- .../callbacks/polling-wait-callback.cjs | 1 - .../callbacks/polling-wait-callback.d.cts | 22 --- .../callbacks/polling-wait-callback.d.cts.map | 1 - .../callbacks/polling-wait-callback.d.ts | 22 --- .../callbacks/polling-wait-callback.d.ts.map | 1 - .../callbacks/polling-wait-callback.js | 24 --- .../fr-auth/callbacks/recaptcha-callback.cjs | 1 - .../callbacks/recaptcha-callback.d.cts | 22 --- .../callbacks/recaptcha-callback.d.cts.map | 1 - .../fr-auth/callbacks/recaptcha-callback.d.ts | 22 --- .../callbacks/recaptcha-callback.d.ts.map | 1 - .../fr-auth/callbacks/recaptcha-callback.js | 24 --- .../recaptcha-enterprise-callback.cjs | 1 - .../recaptcha-enterprise-callback.d.cts | 42 ----- .../recaptcha-enterprise-callback.d.cts.map | 1 - .../recaptcha-enterprise-callback.d.ts | 42 ----- .../recaptcha-enterprise-callback.d.ts.map | 1 - .../recaptcha-enterprise-callback.js | 54 ------ .../fr-auth/callbacks/redirect-callback.cjs | 1 - .../fr-auth/callbacks/redirect-callback.d.cts | 18 -- .../callbacks/redirect-callback.d.cts.map | 1 - .../fr-auth/callbacks/redirect-callback.d.ts | 18 -- .../callbacks/redirect-callback.d.ts.map | 1 - .../fr-auth/callbacks/redirect-callback.js | 18 -- .../fr-auth/callbacks/select-idp-callback.cjs | 1 - .../callbacks/select-idp-callback.d.cts | 29 --- .../callbacks/select-idp-callback.d.cts.map | 1 - .../callbacks/select-idp-callback.d.ts | 29 --- .../callbacks/select-idp-callback.d.ts.map | 1 - .../fr-auth/callbacks/select-idp-callback.js | 27 --- .../suspended-text-output-callback.cjs | 1 - .../suspended-text-output-callback.d.cts | 14 -- .../suspended-text-output-callback.d.cts.map | 1 - .../suspended-text-output-callback.d.ts | 14 -- .../suspended-text-output-callback.d.ts.map | 1 - .../suspended-text-output-callback.js | 12 -- .../terms-and-conditions-callback.cjs | 1 - .../terms-and-conditions-callback.d.cts | 30 --- .../terms-and-conditions-callback.d.cts.map | 1 - .../terms-and-conditions-callback.d.ts | 30 --- .../terms-and-conditions-callback.d.ts.map | 1 - .../terms-and-conditions-callback.js | 37 ---- .../fr-auth/callbacks/text-input-callback.cjs | 1 - .../callbacks/text-input-callback.d.cts | 22 --- .../callbacks/text-input-callback.d.cts.map | 1 - .../callbacks/text-input-callback.d.ts | 22 --- .../callbacks/text-input-callback.d.ts.map | 1 - .../fr-auth/callbacks/text-input-callback.js | 24 --- .../callbacks/text-output-callback.cjs | 1 - .../callbacks/text-output-callback.d.cts | 22 --- .../callbacks/text-output-callback.d.cts.map | 1 - .../callbacks/text-output-callback.d.ts | 22 --- .../callbacks/text-output-callback.d.ts.map | 1 - .../fr-auth/callbacks/text-output-callback.js | 24 --- .../validated-create-password-callback.cjs | 1 - .../validated-create-password-callback.d.cts | 39 ---- ...lidated-create-password-callback.d.cts.map | 1 - .../validated-create-password-callback.d.ts | 39 ---- ...alidated-create-password-callback.d.ts.map | 1 - .../validated-create-password-callback.js | 59 ------ .../validated-create-username-callback.cjs | 1 - .../validated-create-username-callback.d.cts | 39 ---- ...lidated-create-username-callback.d.cts.map | 1 - .../validated-create-username-callback.d.ts | 39 ---- ...alidated-create-username-callback.d.ts.map | 1 - .../validated-create-username-callback.js | 59 ------ .../javascript-sdk/dist/fr-auth/enums.cjs | 1 - .../javascript-sdk/dist/fr-auth/enums.d.cts | 10 - .../dist/fr-auth/enums.d.cts.map | 1 - .../javascript-sdk/dist/fr-auth/enums.d.ts | 10 - .../dist/fr-auth/enums.d.ts.map | 1 - .../javascript-sdk/dist/fr-auth/enums.js | 4 - .../dist/fr-auth/fr-login-failure.cjs | 1 - .../dist/fr-auth/fr-login-failure.d.cts | 37 ---- .../dist/fr-auth/fr-login-failure.d.cts.map | 1 - .../dist/fr-auth/fr-login-failure.d.ts | 37 ---- .../dist/fr-auth/fr-login-failure.d.ts.map | 1 - .../dist/fr-auth/fr-login-failure.js | 43 ----- .../dist/fr-auth/fr-login-success.cjs | 1 - .../dist/fr-auth/fr-login-success.d.cts | 28 --- .../dist/fr-auth/fr-login-success.d.cts.map | 1 - .../dist/fr-auth/fr-login-success.d.ts | 28 --- .../dist/fr-auth/fr-login-success.d.ts.map | 1 - .../dist/fr-auth/fr-login-success.js | 30 --- .../javascript-sdk/dist/fr-auth/fr-step.cjs | 1 - .../javascript-sdk/dist/fr-auth/fr-step.d.cts | 64 ------- .../dist/fr-auth/fr-step.d.cts.map | 1 - .../javascript-sdk/dist/fr-auth/fr-step.d.ts | 64 ------- .../dist/fr-auth/fr-step.d.ts.map | 1 - .../javascript-sdk/dist/fr-auth/fr-step.js | 66 ------- .../javascript-sdk/dist/fr-auth/index.cjs | 1 - .../javascript-sdk/dist/fr-auth/index.d.cts | 74 -------- .../dist/fr-auth/index.d.cts.map | 1 - .../javascript-sdk/dist/fr-auth/index.d.ts | 74 -------- .../dist/fr-auth/index.d.ts.map | 1 - .../javascript-sdk/dist/fr-auth/index.js | 128 ------------- .../dist/fr-auth/interfaces.d.cts | 15 -- .../dist/fr-auth/interfaces.d.cts.map | 1 - .../dist/fr-auth/interfaces.d.ts | 15 -- .../dist/fr-auth/interfaces.d.ts.map | 1 - .../dist/fr-device/collector.cjs | 1 - .../dist/fr-device/collector.d.cts | 21 --- .../dist/fr-device/collector.d.cts.map | 1 - .../dist/fr-device/collector.d.ts | 21 --- .../dist/fr-device/collector.d.ts.map | 1 - .../dist/fr-device/collector.js | 30 --- .../dist/fr-device/defaults.cjs | 1 - .../dist/fr-device/defaults.d.cts | 14 -- .../dist/fr-device/defaults.d.cts.map | 1 - .../dist/fr-device/defaults.d.ts | 14 -- .../dist/fr-device/defaults.d.ts.map | 1 - .../javascript-sdk/dist/fr-device/defaults.js | 72 ------- terminalOutput | 18 -- 248 files changed, 4909 deletions(-) delete mode 100644 code delete mode 100644 outputs/packages/device-client/dist/index.d.ts delete mode 100644 outputs/packages/device-client/dist/index.js delete mode 100644 outputs/packages/device-client/dist/lib/device.store.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/device.store.js delete mode 100644 outputs/packages/device-client/dist/lib/services/index.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/services/index.js delete mode 100644 outputs/packages/device-client/dist/lib/types/binding-device.types.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/types/index.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/types/oath.types.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/types/push-device.types.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/types/updateDeviceProfile.types.d.ts delete mode 100644 outputs/packages/device-client/dist/lib/types/webauthn.types.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/enums.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/auth/enums.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/enums.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/auth/enums.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/enums.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/auth/enums.js delete mode 100644 outputs/packages/javascript-sdk/dist/auth/index.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/auth/index.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/index.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/auth/index.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/index.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/auth/index.js delete mode 100644 outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/constants.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/config/constants.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/config/constants.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/constants.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/config/constants.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/constants.js delete mode 100644 outputs/packages/javascript-sdk/dist/config/enums.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/config/enums.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/config/enums.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/enums.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/config/enums.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/enums.js delete mode 100644 outputs/packages/javascript-sdk/dist/config/helpers.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/config/helpers.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/config/helpers.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/helpers.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/config/helpers.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/helpers.js delete mode 100644 outputs/packages/javascript-sdk/dist/config/index.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/config/index.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/config/index.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/index.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/config/index.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/index.js delete mode 100644 outputs/packages/javascript-sdk/dist/config/interfaces.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/config/interfaces.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/config/interfaces.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/config/interfaces.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/enums.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/enums.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-step.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/fr-step.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/index.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/index.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/collector.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/collector.js delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/defaults.cjs delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts.map delete mode 100644 outputs/packages/javascript-sdk/dist/fr-device/defaults.js delete mode 100644 terminalOutput diff --git a/code b/code deleted file mode 100644 index c22708346..000000000 --- a/code +++ /dev/null @@ -1 +0,0 @@ -0 \ No newline at end of file diff --git a/outputs/packages/device-client/dist/index.d.ts b/outputs/packages/device-client/dist/index.d.ts deleted file mode 100644 index 9b9a9508e..000000000 --- a/outputs/packages/device-client/dist/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './lib/device.store.js'; diff --git a/outputs/packages/device-client/dist/index.js b/outputs/packages/device-client/dist/index.js deleted file mode 100644 index e8c2d5de1..000000000 --- a/outputs/packages/device-client/dist/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import { deviceClient as o } from "./lib/device.store.js"; -export { - o as deviceClient -}; diff --git a/outputs/packages/device-client/dist/lib/device.store.d.ts b/outputs/packages/device-client/dist/lib/device.store.d.ts deleted file mode 100644 index 4433b93d2..000000000 --- a/outputs/packages/device-client/dist/lib/device.store.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { ConfigOptions } from '@forgerock/javascript-sdk'; -import { DeleteOathQuery, OathDevice, RetrieveOathQuery } from './types/oath.types.js'; -import { DeleteDeviceQuery, PushDeviceQuery } from './types/push-device.types.js'; -import { WebAuthnBody, WebAuthnQuery, WebAuthnQueryWithUUID } from './types/webauthn.types.js'; -import { BindingDeviceQuery } from './types/binding-device.types.js'; -export declare const deviceClient: (config: ConfigOptions) => { - /** - * Oath device management methods. - * - * @type {OathManagement} - */ - oath: { - /** - * Retrieves Oath devices based on the specified query. - * - * @async - * @function get - * @param {RetrieveOathQuery} query - The query used to retrieve Oath devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: (query: RetrieveOathQuery) => Promise; - /** - * Deletes an Oath device based on the provided query and device information. - * - * @async - * @function delete - * @param {DeleteOathQuery & OathDevice} query - The query and device information used to delete the Oath device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: (query: DeleteOathQuery & OathDevice) => Promise; - }; - /** - * Push device management methods. - * - * @type {PushManagement} - */ - push: { - /** - * Retrieves Push devices based on the specified query. - * - * @async - * @function get - * @param {PushDeviceQuery} query - The query used to retrieve Push devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: (query: PushDeviceQuery) => Promise; - /** - * Deletes a Push device based on the provided query. - * - * @async - * @function delete - * @param {DeleteDeviceQuery} query - The query used to delete the Push device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: (query: DeleteDeviceQuery) => Promise; - }; - /** - * WebAuthn device management methods. - * - * @type {WebAuthnManagement} - */ - webauthn: { - /** - * Retrieves WebAuthn devices based on the specified query. - * - * @async - * @function get - * @param {WebAuthnQuery} query - The query used to retrieve WebAuthn devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: (query: WebAuthnQuery) => Promise; - /** - * Updates the name of a WebAuthn device based on the provided query and body. - * - * @async - * @function update - * @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to update the WebAuthn device name. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - update: (query: WebAuthnQueryWithUUID & WebAuthnBody) => Promise; - /** - * Deletes a WebAuthn device based on the provided query and body. - * - * @async - * @function delete - * @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to delete the WebAuthn device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: (query: WebAuthnQueryWithUUID & WebAuthnBody) => Promise; - }; - /** - * Bound devices management methods. - * - * @type {BoundDevicesManagement} - */ - boundDevices: { - /** - * Retrieves bound devices based on the specified query. - * - * @async - * @function get - * @param {BindingDeviceQuery} query - The query used to retrieve bound devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: (query: BindingDeviceQuery) => Promise; - /** - * Deletes a bound device based on the provided query. - * - * @async - * @function delete - * @param {BindingDeviceQuery} query - The query used to delete the bound device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: (query: BindingDeviceQuery) => Promise; - /** - * Updates the name of a bound device based on the provided query. - * - * @async - * @function update - * @param {BindingDeviceQuery} query - The query used to update the bound device name. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - update: (query: BindingDeviceQuery) => Promise; - }; -}; diff --git a/outputs/packages/device-client/dist/lib/device.store.js b/outputs/packages/device-client/dist/lib/device.store.js deleted file mode 100644 index 825dad859..000000000 --- a/outputs/packages/device-client/dist/lib/device.store.js +++ /dev/null @@ -1,176 +0,0 @@ -import { configureStore as c } from "/home/workflows/workspace/node_modules/.pnpm/@reduxjs+toolkit@2.3.0_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs"; -import { deviceService as o } from "./services/index.js"; -const v = (n) => { - const { middleware: r, reducerPath: d, reducer: s, endpoints: a } = o({ - baseUrl: n.serverConfig.baseUrl, - realmPath: n.realmPath - }), i = c({ - reducer: { - [d]: s - }, - middleware: (t) => t().concat(r) - }); - return { - /** - * Oath device management methods. - * - * @type {OathManagement} - */ - oath: { - /** - * Retrieves Oath devices based on the specified query. - * - * @async - * @function get - * @param {RetrieveOathQuery} query - The query used to retrieve Oath devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: async function(t) { - const e = await i.dispatch(a.getOAthDevices.initiate(t)); - if (!(!e || !e.data)) - return e.data; - }, - /** - * Deletes an Oath device based on the provided query and device information. - * - * @async - * @function delete - * @param {DeleteOathQuery & OathDevice} query - The query and device information used to delete the Oath device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: async function(t) { - const e = await i.dispatch(a.deleteOathDevice.initiate(t)); - if (!(!e || !e.data)) - return e.data; - } - }, - /** - * Push device management methods. - * - * @type {PushManagement} - */ - push: { - /** - * Retrieves Push devices based on the specified query. - * - * @async - * @function get - * @param {PushDeviceQuery} query - The query used to retrieve Push devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: async function(t) { - const e = await i.dispatch(a.getPushDevices.initiate(t)); - if (!(!e || !e.data)) - return e.data; - }, - /** - * Deletes a Push device based on the provided query. - * - * @async - * @function delete - * @param {DeleteDeviceQuery} query - The query used to delete the Push device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: async function(t) { - const e = await i.dispatch(a.deletePushDevice.initiate(t)); - if (!(!e || !e.data)) - return e.data; - } - }, - /** - * WebAuthn device management methods. - * - * @type {WebAuthnManagement} - */ - webauthn: { - /** - * Retrieves WebAuthn devices based on the specified query. - * - * @async - * @function get - * @param {WebAuthnQuery} query - The query used to retrieve WebAuthn devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: async function(t) { - const e = await i.dispatch(a.getWebAuthnDevices.initiate(t)); - if (!(!e || !e.data)) - return e.data; - }, - /** - * Updates the name of a WebAuthn device based on the provided query and body. - * - * @async - * @function update - * @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to update the WebAuthn device name. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - update: async function(t) { - const e = await i.dispatch(a.updateWebAuthnDeviceName.initiate(t)); - if (!(!e || !e.data)) - return e.data; - }, - /** - * Deletes a WebAuthn device based on the provided query and body. - * - * @async - * @function delete - * @param {WebAuthnQueryWithUUID & WebAuthnBody} query - The query and body used to delete the WebAuthn device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: async function(t) { - const e = await i.dispatch(a.deleteWebAuthnDeviceName.initiate(t)); - if (!(!e || !e.data)) - return e.data; - } - }, - /** - * Bound devices management methods. - * - * @type {BoundDevicesManagement} - */ - boundDevices: { - /** - * Retrieves bound devices based on the specified query. - * - * @async - * @function get - * @param {BindingDeviceQuery} query - The query used to retrieve bound devices. - * @returns {Promise} - A promise that resolves to the retrieved data or undefined if the response is not valid. - */ - get: async function(t) { - const e = await i.dispatch(a.getBoundDevices.initiate(t)); - if (!(!e || !e.data)) - return e.data; - }, - /** - * Deletes a bound device based on the provided query. - * - * @async - * @function delete - * @param {BindingDeviceQuery} query - The query used to delete the bound device. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - delete: async function(t) { - const e = await i.dispatch(a.deleteBindingDevice.initiate(t)); - if (!(!e || !e.data)) - return e.data; - }, - /** - * Updates the name of a bound device based on the provided query. - * - * @async - * @function update - * @param {BindingDeviceQuery} query - The query used to update the bound device name. - * @returns {Promise} - A promise that resolves to the response data or undefined if the response is not valid. - */ - update: async function(t) { - const e = await i.dispatch(a.updateBindingDeviceName.initiate(t)); - if (!(!e || !e.data)) - return e.data; - } - } - }; -}; -export { - v as deviceClient -}; diff --git a/outputs/packages/device-client/dist/lib/services/index.d.ts b/outputs/packages/device-client/dist/lib/services/index.d.ts deleted file mode 100644 index b335f151f..000000000 --- a/outputs/packages/device-client/dist/lib/services/index.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { DeletedOAthDevice, DeleteOathQuery, OathDevice, OAthResponse, RetrieveOathQuery } from '../types/oath.types.js'; -import { DeleteDeviceQuery, PushDevice, PushDeviceQuery, PushDevicesResponse } from '../types/push-device.types.js'; -import { BindingDeviceQuery, Device, DeviceResponse } from '../types/binding-device.types.js'; -import { UpdatedWebAuthnDevice, WebAuthnBody, WebAuthnDevice, WebAuthnDevicesResponse, WebAuthnQuery } from '../types/webauthn.types.js'; -export declare const deviceService: ({ baseUrl, realmPath }: { - baseUrl: string; - realmPath: string; -}) => import('@reduxjs/toolkit/query').Api, { - getOAthDevices: import('@reduxjs/toolkit/query').QueryDefinition, never, OAthResponse, "deviceClient">; - deleteOathDevice: import('@reduxjs/toolkit/query').MutationDefinition, never, DeletedOAthDevice, "deviceClient">; - getPushDevices: import('@reduxjs/toolkit/query').QueryDefinition, never, PushDevicesResponse, "deviceClient">; - deletePushDevice: import('@reduxjs/toolkit/query').MutationDefinition, never, PushDevice, "deviceClient">; - getWebAuthnDevices: import('@reduxjs/toolkit/query').QueryDefinition, never, WebAuthnDevicesResponse, "deviceClient">; - updateWebAuthnDeviceName: import('@reduxjs/toolkit/query').MutationDefinition<{ - uuid: string; - } & WebAuthnQuery & WebAuthnBody, import('@reduxjs/toolkit/query').BaseQueryFn, never, UpdatedWebAuthnDevice, "deviceClient">; - deleteWebAuthnDeviceName: import('@reduxjs/toolkit/query').MutationDefinition<{ - uuid: string; - } & WebAuthnQuery & WebAuthnBody, import('@reduxjs/toolkit/query').BaseQueryFn, never, WebAuthnDevice, "deviceClient">; - getBoundDevices: import('@reduxjs/toolkit/query').MutationDefinition, never, DeviceResponse, "deviceClient">; - updateBindingDeviceName: import('@reduxjs/toolkit/query').MutationDefinition, never, Device, "deviceClient">; - deleteBindingDevice: import('@reduxjs/toolkit/query').MutationDefinition, never, Device, "deviceClient">; -}, "deviceClient", never, typeof import('@reduxjs/toolkit/query').coreModuleName>; diff --git a/outputs/packages/device-client/dist/lib/services/index.js b/outputs/packages/device-client/dist/lib/services/index.js deleted file mode 100644 index 657f9a62a..000000000 --- a/outputs/packages/device-client/dist/lib/services/index.js +++ /dev/null @@ -1,71 +0,0 @@ -import { createApi as i, fetchBaseQuery as a } from "/home/workflows/workspace/node_modules/.pnpm/@reduxjs+toolkit@2.3.0_react@18.3.1/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs"; -const d = ({ baseUrl: o, realmPath: r }) => i({ - reducerPath: "deviceClient", - baseQuery: a({ - credentials: "include", - prepareHeaders: (t) => (t.set("Content-Type", "application/json"), t.set("Accept", "application/json"), t.set("x-requested-with", "forgerock-sdk"), t.set("x-requested-platform", "javascript"), t), - baseUrl: o - }), - endpoints: (t) => ({ - // oath endpoints - getOAthDevices: t.query({ - query: ({ realm: e = r, userId: s }) => `json/realms/${e}/users/${s}/devices/2fa/oath?_queryFilter=true` - }), - deleteOathDevice: t.mutation({ - query: ({ realm: e = r, userId: s, uuid: u, ...n }) => ({ - method: "DELETE", - url: `json/realms/${e}/users/${s}/devices/2fa/oath/${u}`, - body: { uuid: u, ...n } - }) - }), - // push device - getPushDevices: t.query({ - query: ({ realm: e = r, userId: s }) => `/json/realms/${e}/users/${s}/devices/2fa/push?_queryFilter=true` - }), - deletePushDevice: t.mutation({ - query: ({ realm: e = r, userId: s, uuid: u }) => ({ - url: `/json/realms/${e}/users/${s}/devices/2fa/push/${u}`, - method: "DELETE", - body: {} - }) - }), - // webauthn devices - getWebAuthnDevices: t.query({ - query: ({ realm: e = r, userId: s }) => `/json/realms/${e}/users/${s}/devices/2fa/webauthn?_queryFilter=true` - }), - updateWebAuthnDeviceName: t.mutation({ - query: ({ realm: e = r, userId: s, ...u }) => ({ - url: `/json/realms/${e}/users/${s}/devices/2fa/webauthn/${u.uuid}`, - method: "PUT", - body: u - }) - }), - deleteWebAuthnDeviceName: t.mutation({ - query: ({ realm: e = r, userId: s, ...u }) => ({ - url: `/json/realms/${e}/users/${s}/devices/2fa/webauthn/${u.uuid}`, - method: "DELETE", - body: u - }) - }), - getBoundDevices: t.mutation({ - query: ({ realm: e = r, userId: s }) => `/json/realms/${e}/users/${s}/devices/2fa/binding?_queryFilter=true` - }), - updateBindingDeviceName: t.mutation({ - query: ({ realm: e = r, userId: s, ...u }) => ({ - url: `/json/realms/root/realms/${e}/users/${s}/devices/2fa/binding/${u.uuid}`, - method: "PUT", - body: u - }) - }), - deleteBindingDevice: t.mutation({ - query: ({ realm: e = r, userId: s, ...u }) => ({ - url: `/json/realms/root/realms/${e}/users/${s}/devices/2fa/binding/${u.uuid}`, - method: "DELETE", - body: u - }) - }) - }) -}); -export { - d as deviceService -}; diff --git a/outputs/packages/device-client/dist/lib/types/binding-device.types.d.ts b/outputs/packages/device-client/dist/lib/types/binding-device.types.d.ts deleted file mode 100644 index f7bc47b24..000000000 --- a/outputs/packages/device-client/dist/lib/types/binding-device.types.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -export type BindingDeviceQuery = { - userId: string; - realm?: string; -} & Device; -export type DeviceResponse = { - result: Device[]; - resultCount: number; - pagedResultsCookie: null; - totalPagedResultsPolicy: string; - totalPagedResults: -1; - remainingPagedResults: -1; -}; -export type Device = { - _id: string; - _rev: string; - createdDate: number; - lastAccessDate: number; - deviceId: string; - deviceName: string; - uuid: string; - key: { - kty: string; - kid: string; - use: string; - alg: string; - n: string; - e: string; - }; - deviceManagementStatus: boolean; -}; diff --git a/outputs/packages/device-client/dist/lib/types/index.d.ts b/outputs/packages/device-client/dist/lib/types/index.d.ts deleted file mode 100644 index 5a3ae88c9..000000000 --- a/outputs/packages/device-client/dist/lib/types/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './oath.types.js'; -export * from './webauthn.types.js'; -export * from './push-device.types.js'; -export * from './binding-device.types.js'; -export * from './updateDeviceProfile.types.js'; diff --git a/outputs/packages/device-client/dist/lib/types/oath.types.d.ts b/outputs/packages/device-client/dist/lib/types/oath.types.d.ts deleted file mode 100644 index 323c482f7..000000000 --- a/outputs/packages/device-client/dist/lib/types/oath.types.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export type OathDevice = { - id: string; - deviceName: string; - uuid: string; - createdDate: Date; - lastAccessDate: Date; -}; -export type DeleteOathQuery = { - realm?: string; - userId: string; - uuid: string; -}; -export type RetrieveOathQuery = { - realm?: string; - userId: string; -}; -export type OAthResponse = { - _id: string; - _rev: string; - createdDate: number; - lastAccessDate: number; - deviceName: string; - uuid: string; - deviceManagementStatus: boolean; -}[]; -export type DeletedOAthDevice = { - _id: string; - _rev: string; - uuid: string; - recoveryCodes: string[]; - createdDate: number; - lastAccessDate: number; - sharedSecret: string; - deviceName: string; - lastLogin: number; - counter: number; - checksumDigit: boolean; - truncationOffset: number; - clockDriftSeconds: number; -}; diff --git a/outputs/packages/device-client/dist/lib/types/push-device.types.d.ts b/outputs/packages/device-client/dist/lib/types/push-device.types.d.ts deleted file mode 100644 index 3b5209b92..000000000 --- a/outputs/packages/device-client/dist/lib/types/push-device.types.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -export type PushDeviceQuery = { - realm?: string; - userId: string; -}; -export type PushDeviceBody = { - id: string; - deviceName: string; - uuid: string; - createdDate: string; - lastAccessDate: string; -}; -export type DeleteDeviceQuery = { - realm?: string; - userId: string; - uuid: string; -}; -export type DeviceInfoResponse = { - result: DeviceInfo[]; - resultCount: number; - pagedResultsCookie: null; - totalPagedResultsPolicy: string; - totalPagedResults: -1; - remainingPagedResults: -1; -}; -export type DeviceInfo = { - _id: string; - _rev: string; - identifier: string; - metadata: { - platform: { - platform: string; - version: number; - device: string; - deviceName: string; - model: string; - brand: string; - locale: string; - timeZone: string; - jailBreakScore: number; - }; - hardware: { - hardware: string; - manufacturer: string; - storage: number; - memory: number; - cpu: number; - display: { - width: number; - height: number; - orientation: number; - }; - camera: { - numberOfCameras: number; - }; - }; - browser: { - userAgent: string; - }; - bluetooth: { - supported: boolean; - }; - network: { - connected: boolean; - }; - telephony: { - networkCountryIso: string; - carrierName: string; - }; - }; - lastSelectedDate: number; - alias: string; - recoveryCodes: string[]; -}; -export type PushDevicesResponse = PushDevice[]; -export type PushDevice = { - _id: string; - _rev: string; - createdDate: number; - lastAccessDate: number; - deviceName: string; - uuid: string; - deviceManagementStatus: boolean; -}; diff --git a/outputs/packages/device-client/dist/lib/types/updateDeviceProfile.types.d.ts b/outputs/packages/device-client/dist/lib/types/updateDeviceProfile.types.d.ts deleted file mode 100644 index 1f8d1cc78..000000000 --- a/outputs/packages/device-client/dist/lib/types/updateDeviceProfile.types.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -type Device = { - platform: string; - version: 34; - device: string; - deviceName: string; - model: string; - brand: string; - locale: string; - timeZone: string; - jailBreakScore: 0; -}; -type Hardware = { - hardware: string; - manufacturer: string; - storage: 5939; - memory: 2981; - cpu: 4; - display: { - width: 1440; - height: 2678; - orientation: 1; - }; - camera: { - numberOfCameras: 2; - }; -}; -type Browser = { - userAgent: string; -}; -type Bluetooth = { - supported: true; -}; -type Network = { - connected: true; -}; -type Telephony = { - networkCountryIso: 'us'; - carrierName: 'T-Mobile'; -}; -type Metadata = { - platform: Device; - hardware: Hardware; - browser: Browser; - bluetooth: Bluetooth; - network: Network; - telephony: Telephony; -}; -export type DeviceProfile = { - _id: string; - _rev: string; - identifier: string; - metadata: Metadata; - lastSelectedDate: number; - alias: 'Test3'; - recoveryCodes: []; -}; -export {}; diff --git a/outputs/packages/device-client/dist/lib/types/webauthn.types.d.ts b/outputs/packages/device-client/dist/lib/types/webauthn.types.d.ts deleted file mode 100644 index b46573623..000000000 --- a/outputs/packages/device-client/dist/lib/types/webauthn.types.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -export type WebAuthnQuery = { - realm?: string; - userId: string; -}; -export type WebAuthnQueryWithUUID = { - uuid: string; -} & WebAuthnQuery; -export type WebAuthnBody = { - id: string; - deviceName: string; - uuid: string; - credentialId: string; - createdDate: number; - lastAccessDate: number; -}; -export type WebAuthnDevicesResponse = { - result: WebAuthnDevice[]; - resultCount: number; - pagedResultsCookie: null; - totalPagedResultsPolicy: 'NONE'; - totalPagedResults: -1; - remainingPagedResults: -1; -}; -export type WebAuthnDevice = { - _id: string; - _rev: string; - createdDate: number; - lastAccessDate: number; - credentialId: string; - deviceName: string; - uuid: string; - deviceManagementStatus: boolean; -}; -export type UpdatedWebAuthnDevice = { - _id: string; - _rev: string; - uuid: string; - recoveryCodes: string[]; - createdDate: number; - lastAccessDate: number; - credentialId: string; - algorithm: string; - deviceName: string; - signCount: number; - key: { - kty: string; - x: string; - y: string; - crv: string; - }; -}; -export type WebAuthnCredential = { - _id: string; - _rev: string; - uuid: string; - recoveryCodes: string[]; - createdDate: number; - lastAccessDate: number; - credentialId: string; - algorithm: string; - deviceName: string; - key: { - kty: string; - x: string; - y: string; - crv: string; - }; -}; diff --git a/outputs/packages/javascript-sdk/dist/auth/enums.cjs b/outputs/packages/javascript-sdk/dist/auth/enums.cjs deleted file mode 100644 index be2b96106..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/enums.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(a=>(a.BadRequest="BAD_REQUEST",a.Timeout="TIMEOUT",a.Unauthorized="UNAUTHORIZED",a.Unknown="UNKNOWN",a))(t||{}),l=(a=>(a.BooleanAttributeInputCallback="BooleanAttributeInputCallback",a.ChoiceCallback="ChoiceCallback",a.ConfirmationCallback="ConfirmationCallback",a.DeviceProfileCallback="DeviceProfileCallback",a.HiddenValueCallback="HiddenValueCallback",a.KbaCreateCallback="KbaCreateCallback",a.MetadataCallback="MetadataCallback",a.NameCallback="NameCallback",a.NumberAttributeInputCallback="NumberAttributeInputCallback",a.PasswordCallback="PasswordCallback",a.PingOneProtectEvaluationCallback="PingOneProtectEvaluationCallback",a.PingOneProtectInitializeCallback="PingOneProtectInitializeCallback",a.PollingWaitCallback="PollingWaitCallback",a.ReCaptchaCallback="ReCaptchaCallback",a.ReCaptchaEnterpriseCallback="ReCaptchaEnterpriseCallback",a.RedirectCallback="RedirectCallback",a.SelectIdPCallback="SelectIdPCallback",a.StringAttributeInputCallback="StringAttributeInputCallback",a.SuspendedTextOutputCallback="SuspendedTextOutputCallback",a.TermsAndConditionsCallback="TermsAndConditionsCallback",a.TextInputCallback="TextInputCallback",a.TextOutputCallback="TextOutputCallback",a.ValidatedCreatePasswordCallback="ValidatedCreatePasswordCallback",a.ValidatedCreateUsernameCallback="ValidatedCreateUsernameCallback",a))(l||{});exports.CallbackType=l;exports.ErrorCode=t; diff --git a/outputs/packages/javascript-sdk/dist/auth/enums.d.cts b/outputs/packages/javascript-sdk/dist/auth/enums.d.cts deleted file mode 100644 index 4595685d5..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/enums.d.cts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Known errors that can occur during authentication. - */ -declare enum ErrorCode { - BadRequest = "BAD_REQUEST", - Timeout = "TIMEOUT", - Unauthorized = "UNAUTHORIZED", - Unknown = "UNKNOWN" -} -/** - * Types of callbacks directly supported by the SDK. - */ -declare enum CallbackType { - BooleanAttributeInputCallback = "BooleanAttributeInputCallback", - ChoiceCallback = "ChoiceCallback", - ConfirmationCallback = "ConfirmationCallback", - DeviceProfileCallback = "DeviceProfileCallback", - HiddenValueCallback = "HiddenValueCallback", - KbaCreateCallback = "KbaCreateCallback", - MetadataCallback = "MetadataCallback", - NameCallback = "NameCallback", - NumberAttributeInputCallback = "NumberAttributeInputCallback", - PasswordCallback = "PasswordCallback", - PingOneProtectEvaluationCallback = "PingOneProtectEvaluationCallback", - PingOneProtectInitializeCallback = "PingOneProtectInitializeCallback", - PollingWaitCallback = "PollingWaitCallback", - ReCaptchaCallback = "ReCaptchaCallback", - ReCaptchaEnterpriseCallback = "ReCaptchaEnterpriseCallback", - RedirectCallback = "RedirectCallback", - SelectIdPCallback = "SelectIdPCallback", - StringAttributeInputCallback = "StringAttributeInputCallback", - SuspendedTextOutputCallback = "SuspendedTextOutputCallback", - TermsAndConditionsCallback = "TermsAndConditionsCallback", - TextInputCallback = "TextInputCallback", - TextOutputCallback = "TextOutputCallback", - ValidatedCreatePasswordCallback = "ValidatedCreatePasswordCallback", - ValidatedCreateUsernameCallback = "ValidatedCreateUsernameCallback" -} -export { CallbackType, ErrorCode }; -//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/enums.d.cts.map b/outputs/packages/javascript-sdk/dist/auth/enums.d.cts.map deleted file mode 100644 index 04ea97dcb..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/enums.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/auth/enums.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,aAAK,SAAS;IACZ,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,aAAK,YAAY;IACf,6BAA6B,kCAAkC;IAC/D,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,4BAA4B,iCAAiC;IAC7D,gBAAgB,qBAAqB;IACrC,gCAAgC,qCAAqC;IACrE,gCAAgC,qCAAqC;IACrE,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,2BAA2B,gCAAgC;IAC3D,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,0BAA0B,+BAA+B;IACzD,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,+BAA+B,oCAAoC;IACnE,+BAA+B,oCAAoC;CACpE;AAED,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/enums.d.ts b/outputs/packages/javascript-sdk/dist/auth/enums.d.ts deleted file mode 100644 index 4595685d5..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/enums.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Known errors that can occur during authentication. - */ -declare enum ErrorCode { - BadRequest = "BAD_REQUEST", - Timeout = "TIMEOUT", - Unauthorized = "UNAUTHORIZED", - Unknown = "UNKNOWN" -} -/** - * Types of callbacks directly supported by the SDK. - */ -declare enum CallbackType { - BooleanAttributeInputCallback = "BooleanAttributeInputCallback", - ChoiceCallback = "ChoiceCallback", - ConfirmationCallback = "ConfirmationCallback", - DeviceProfileCallback = "DeviceProfileCallback", - HiddenValueCallback = "HiddenValueCallback", - KbaCreateCallback = "KbaCreateCallback", - MetadataCallback = "MetadataCallback", - NameCallback = "NameCallback", - NumberAttributeInputCallback = "NumberAttributeInputCallback", - PasswordCallback = "PasswordCallback", - PingOneProtectEvaluationCallback = "PingOneProtectEvaluationCallback", - PingOneProtectInitializeCallback = "PingOneProtectInitializeCallback", - PollingWaitCallback = "PollingWaitCallback", - ReCaptchaCallback = "ReCaptchaCallback", - ReCaptchaEnterpriseCallback = "ReCaptchaEnterpriseCallback", - RedirectCallback = "RedirectCallback", - SelectIdPCallback = "SelectIdPCallback", - StringAttributeInputCallback = "StringAttributeInputCallback", - SuspendedTextOutputCallback = "SuspendedTextOutputCallback", - TermsAndConditionsCallback = "TermsAndConditionsCallback", - TextInputCallback = "TextInputCallback", - TextOutputCallback = "TextOutputCallback", - ValidatedCreatePasswordCallback = "ValidatedCreatePasswordCallback", - ValidatedCreateUsernameCallback = "ValidatedCreateUsernameCallback" -} -export { CallbackType, ErrorCode }; -//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/enums.d.ts.map b/outputs/packages/javascript-sdk/dist/auth/enums.d.ts.map deleted file mode 100644 index 04ea97dcb..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/enums.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/auth/enums.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,aAAK,SAAS;IACZ,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,aAAK,YAAY;IACf,6BAA6B,kCAAkC;IAC/D,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,4BAA4B,iCAAiC;IAC7D,gBAAgB,qBAAqB;IACrC,gCAAgC,qCAAqC;IACrE,gCAAgC,qCAAqC;IACrE,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,2BAA2B,gCAAgC;IAC3D,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,0BAA0B,+BAA+B;IACzD,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,+BAA+B,oCAAoC;IACnE,+BAA+B,oCAAoC;CACpE;AAED,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/enums.js b/outputs/packages/javascript-sdk/dist/auth/enums.js deleted file mode 100644 index 3a5b21362..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/enums.js +++ /dev/null @@ -1,5 +0,0 @@ -var t = /* @__PURE__ */ ((a) => (a.BadRequest = "BAD_REQUEST", a.Timeout = "TIMEOUT", a.Unauthorized = "UNAUTHORIZED", a.Unknown = "UNKNOWN", a))(t || {}), l = /* @__PURE__ */ ((a) => (a.BooleanAttributeInputCallback = "BooleanAttributeInputCallback", a.ChoiceCallback = "ChoiceCallback", a.ConfirmationCallback = "ConfirmationCallback", a.DeviceProfileCallback = "DeviceProfileCallback", a.HiddenValueCallback = "HiddenValueCallback", a.KbaCreateCallback = "KbaCreateCallback", a.MetadataCallback = "MetadataCallback", a.NameCallback = "NameCallback", a.NumberAttributeInputCallback = "NumberAttributeInputCallback", a.PasswordCallback = "PasswordCallback", a.PingOneProtectEvaluationCallback = "PingOneProtectEvaluationCallback", a.PingOneProtectInitializeCallback = "PingOneProtectInitializeCallback", a.PollingWaitCallback = "PollingWaitCallback", a.ReCaptchaCallback = "ReCaptchaCallback", a.ReCaptchaEnterpriseCallback = "ReCaptchaEnterpriseCallback", a.RedirectCallback = "RedirectCallback", a.SelectIdPCallback = "SelectIdPCallback", a.StringAttributeInputCallback = "StringAttributeInputCallback", a.SuspendedTextOutputCallback = "SuspendedTextOutputCallback", a.TermsAndConditionsCallback = "TermsAndConditionsCallback", a.TextInputCallback = "TextInputCallback", a.TextOutputCallback = "TextOutputCallback", a.ValidatedCreatePasswordCallback = "ValidatedCreatePasswordCallback", a.ValidatedCreateUsernameCallback = "ValidatedCreateUsernameCallback", a))(l || {}); -export { - l as CallbackType, - t as ErrorCode -}; diff --git a/outputs/packages/javascript-sdk/dist/auth/index.cjs b/outputs/packages/javascript-sdk/dist/auth/index.cjs deleted file mode 100644 index 0cb97cea1..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/index.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const R=require("../config/index.cjs"),h=require("../config/enums.cjs"),a=require("../shared/constants.cjs"),m=require("../util/timeout.cjs"),u=require("../util/url.cjs"),q=require("../util/middleware.cjs");class T{static async next(e,t){const{middleware:i,platformHeader:n,realmPath:d,serverConfig:r,tree:o,type:c}=R.get(t),l=t?t.query:{},p=this.constructUrl(r,d,o,l),s=q({url:new URL(p),init:this.configureRequest(e)},{type:e?h.ActionTypes.Authenticate:h.ActionTypes.StartAuthenticate,payload:{tree:o,type:c||"service"}})(i);n&&(s.init.headers instanceof Headers?s.init.headers.set("X-Requested-Platform",a.X_REQUESTED_PLATFORM):Array.isArray(s.init.headers)?s.init.headers.push(["X-Requested-Platform",a.X_REQUESTED_PLATFORM]):s.init.headers?s.init.headers["X-Requested-Platform"]=a.X_REQUESTED_PLATFORM:s.init.headers={"X-Requested-Platform":a.X_REQUESTED_PLATFORM});const y=await m.withTimeout(fetch(s.url.toString(),s.init),r.timeout);return await this.getResponseJson(y)}static constructUrl(e,t,i,n){const r={...n,...i?{authIndexType:"service",authIndexValue:i}:void 0},o=Object.keys(r).length>0?`?${u.stringify(r)}`:"",c=u.getEndpointPath("authenticate",t,e.paths);return u.resolve(e.baseUrl,`${c}${o}`)}static configureRequest(e){return{body:e?JSON.stringify(e):void 0,credentials:"include",headers:new Headers({Accept:"application/json","Accept-API-Version":"protocol=1.0,resource=2.1","Content-Type":"application/json","X-Requested-With":a.REQUESTED_WITH}),method:"POST"}}static async getResponseJson(e){const t=e.headers.get("content-type"),n=t&&t.indexOf("application/json")>-1?await e.json():{};return n.status=e.status,n.ok=e.ok,n}}module.exports=T; diff --git a/outputs/packages/javascript-sdk/dist/auth/index.d.cts b/outputs/packages/javascript-sdk/dist/auth/index.d.cts deleted file mode 100644 index 8cd0b3d74..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/index.d.cts +++ /dev/null @@ -1,20 +0,0 @@ -import { StepOptions } from '../config'; -import { Step } from './interfaces'; -/** - * Provides direct access to the OpenAM authentication tree API. - */ -declare abstract class Auth { - /** - * Gets the next step in the authentication tree. - * - * @param {Step} previousStep The previous step, including any required input. - * @param {StepOptions} options Configuration default overrides. - * @return {Step} The next step in the authentication tree. - */ - static next(previousStep?: Step, options?: StepOptions): Promise; - private static constructUrl; - private static configureRequest; - private static getResponseJson; -} -export default Auth; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/index.d.cts.map b/outputs/packages/javascript-sdk/dist/auth/index.d.cts.map deleted file mode 100644 index ec5eec9d0..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/index.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,WAAW,CAAC;AAO3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzC;;GAEG;AACH,uBAAe,IAAI;IACjB;;;;;;OAMG;WACiB,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA0CnF,OAAO,CAAC,MAAM,CAAC,YAAY;IAc3B,OAAO,CAAC,MAAM,CAAC,gBAAgB;mBAgBV,eAAe;CAQrC;AAED,eAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/index.d.ts b/outputs/packages/javascript-sdk/dist/auth/index.d.ts deleted file mode 100644 index 8cd0b3d74..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/index.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { StepOptions } from '../config'; -import { Step } from './interfaces'; -/** - * Provides direct access to the OpenAM authentication tree API. - */ -declare abstract class Auth { - /** - * Gets the next step in the authentication tree. - * - * @param {Step} previousStep The previous step, including any required input. - * @param {StepOptions} options Configuration default overrides. - * @return {Step} The next step in the authentication tree. - */ - static next(previousStep?: Step, options?: StepOptions): Promise; - private static constructUrl; - private static configureRequest; - private static getResponseJson; -} -export default Auth; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/index.d.ts.map b/outputs/packages/javascript-sdk/dist/auth/index.d.ts.map deleted file mode 100644 index ec5eec9d0..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,WAAW,CAAC;AAO3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzC;;GAEG;AACH,uBAAe,IAAI;IACjB;;;;;;OAMG;WACiB,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA0CnF,OAAO,CAAC,MAAM,CAAC,YAAY;IAc3B,OAAO,CAAC,MAAM,CAAC,gBAAgB;mBAgBV,eAAe;CAQrC;AAED,eAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/index.js b/outputs/packages/javascript-sdk/dist/auth/index.js deleted file mode 100644 index a42145bc0..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/index.js +++ /dev/null @@ -1,59 +0,0 @@ -import m from "../config/index.js"; -import { ActionTypes as l } from "../config/enums.js"; -import { X_REQUESTED_PLATFORM as c, REQUESTED_WITH as f } from "../shared/constants.js"; -import { withTimeout as y } from "../util/timeout.js"; -import { stringify as g, getEndpointPath as R, resolve as q } from "../util/url.js"; -import P from "../util/middleware.js"; -class J { - /** - * Gets the next step in the authentication tree. - * - * @param {Step} previousStep The previous step, including any required input. - * @param {StepOptions} options Configuration default overrides. - * @return {Step} The next step in the authentication tree. - */ - static async next(t, e) { - const { middleware: r, platformHeader: n, realmPath: u, serverConfig: i, tree: o, type: a } = m.get(e), d = e ? e.query : {}, p = this.constructUrl(i, u, o, d), s = P( - { - url: new URL(p), - init: this.configureRequest(t) - }, - { - type: t ? l.Authenticate : l.StartAuthenticate, - payload: { - tree: o, - type: a || "service" - } - } - )(r); - n && (s.init.headers instanceof Headers ? s.init.headers.set("X-Requested-Platform", c) : Array.isArray(s.init.headers) ? s.init.headers.push(["X-Requested-Platform", c]) : s.init.headers ? s.init.headers["X-Requested-Platform"] = c : s.init.headers = { - "X-Requested-Platform": c - }); - const h = await y(fetch(s.url.toString(), s.init), i.timeout); - return await this.getResponseJson(h); - } - static constructUrl(t, e, r, n) { - const i = { ...n, ...r ? { authIndexType: "service", authIndexValue: r } : void 0 }, o = Object.keys(i).length > 0 ? `?${g(i)}` : "", a = R("authenticate", e, t.paths); - return q(t.baseUrl, `${a}${o}`); - } - static configureRequest(t) { - return { - body: t ? JSON.stringify(t) : void 0, - credentials: "include", - headers: new Headers({ - Accept: "application/json", - "Accept-API-Version": "protocol=1.0,resource=2.1", - "Content-Type": "application/json", - "X-Requested-With": f - }), - method: "POST" - }; - } - static async getResponseJson(t) { - const e = t.headers.get("content-type"), n = e && e.indexOf("application/json") > -1 ? await t.json() : {}; - return n.status = t.status, n.ok = t.ok, n; - } -} -export { - J as default -}; diff --git a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts b/outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts deleted file mode 100644 index 9b429e3b6..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts +++ /dev/null @@ -1,70 +0,0 @@ -import { CallbackType } from './enums'; -/** - * Represents the authentication tree API payload schema. - */ -interface Step { - authId?: string; - callbacks?: Callback[]; - code?: number; - description?: string; - detail?: StepDetail; - header?: string; - message?: string; - ok?: string; - realm?: string; - reason?: string; - stage?: string; - status?: number; - successUrl?: string; - tokenId?: string; -} -/** - * Represents details of a failure in an authentication step. - */ -interface StepDetail { - failedPolicyRequirements?: FailedPolicyRequirement[]; - failureUrl?: string; - result?: boolean; -} -/** - * Represents failed policies for a matching property. - */ -interface FailedPolicyRequirement { - policyRequirements: PolicyRequirement[]; - property: string; -} -/** - * Represents a failed policy policy and failed policy params. - */ -interface PolicyRequirement { - params?: Partial; - policyRequirement: string; -} -interface PolicyParams { - [key: string]: unknown; - disallowedFields: string; - duplicateValue: string; - forbiddenChars: string; - maxLength: number; - minLength: number; - numCaps: number; - numNums: number; -} -/** - * Represents the authentication tree API callback schema. - */ -interface Callback { - _id?: number; - input?: NameValue[]; - output: NameValue[]; - type: CallbackType; -} -/** - * Represents a name/value pair found in an authentication tree callback. - */ -interface NameValue { - name: string; - value: unknown; -} -export type { Callback, FailedPolicyRequirement, NameValue, PolicyParams, PolicyRequirement, Step, StepDetail, }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts.map b/outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts.map deleted file mode 100644 index 9d88b9dbe..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/auth/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;GAEG;AACH,UAAU,IAAI;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,UAAU;IAClB,wBAAwB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,uBAAuB;IAC/B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,YAAY;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,QAAQ;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,IAAI,EAAE,YAAY,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,YAAY,EACV,QAAQ,EACR,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,IAAI,EACJ,UAAU,GACX,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts b/outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts deleted file mode 100644 index 9b429e3b6..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { CallbackType } from './enums'; -/** - * Represents the authentication tree API payload schema. - */ -interface Step { - authId?: string; - callbacks?: Callback[]; - code?: number; - description?: string; - detail?: StepDetail; - header?: string; - message?: string; - ok?: string; - realm?: string; - reason?: string; - stage?: string; - status?: number; - successUrl?: string; - tokenId?: string; -} -/** - * Represents details of a failure in an authentication step. - */ -interface StepDetail { - failedPolicyRequirements?: FailedPolicyRequirement[]; - failureUrl?: string; - result?: boolean; -} -/** - * Represents failed policies for a matching property. - */ -interface FailedPolicyRequirement { - policyRequirements: PolicyRequirement[]; - property: string; -} -/** - * Represents a failed policy policy and failed policy params. - */ -interface PolicyRequirement { - params?: Partial; - policyRequirement: string; -} -interface PolicyParams { - [key: string]: unknown; - disallowedFields: string; - duplicateValue: string; - forbiddenChars: string; - maxLength: number; - minLength: number; - numCaps: number; - numNums: number; -} -/** - * Represents the authentication tree API callback schema. - */ -interface Callback { - _id?: number; - input?: NameValue[]; - output: NameValue[]; - type: CallbackType; -} -/** - * Represents a name/value pair found in an authentication tree callback. - */ -interface NameValue { - name: string; - value: unknown; -} -export type { Callback, FailedPolicyRequirement, NameValue, PolicyParams, PolicyRequirement, Step, StepDetail, }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts.map b/outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts.map deleted file mode 100644 index 9d88b9dbe..000000000 --- a/outputs/packages/javascript-sdk/dist/auth/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/auth/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;GAEG;AACH,UAAU,IAAI;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,UAAU;IAClB,wBAAwB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,uBAAuB;IAC/B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,YAAY;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,QAAQ;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,IAAI,EAAE,YAAY,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,YAAY,EACV,QAAQ,EACR,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,IAAI,EACJ,UAAU,GACX,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/constants.cjs b/outputs/packages/javascript-sdk/dist/config/constants.cjs deleted file mode 100644 index cbd5eebdc..000000000 --- a/outputs/packages/javascript-sdk/dist/config/constants.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=5*1e3,E=30*1e3,e="FR-SDK";exports.DEFAULT_OAUTH_THRESHOLD=E;exports.DEFAULT_TIMEOUT=T;exports.PREFIX=e; diff --git a/outputs/packages/javascript-sdk/dist/config/constants.d.cts b/outputs/packages/javascript-sdk/dist/config/constants.d.cts deleted file mode 100644 index 6371ecb47..000000000 --- a/outputs/packages/javascript-sdk/dist/config/constants.d.cts +++ /dev/null @@ -1,6 +0,0 @@ -/** @hidden */ -declare const DEFAULT_TIMEOUT: number; -declare const DEFAULT_OAUTH_THRESHOLD: number; -declare const PREFIX = "FR-SDK"; -export { DEFAULT_TIMEOUT, DEFAULT_OAUTH_THRESHOLD, PREFIX }; -//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/constants.d.cts.map b/outputs/packages/javascript-sdk/dist/config/constants.d.cts.map deleted file mode 100644 index 9eeab642a..000000000 --- a/outputs/packages/javascript-sdk/dist/config/constants.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAUA,cAAc;AACd,QAAA,MAAM,eAAe,QAAW,CAAC;AACjC,QAAA,MAAM,uBAAuB,QAAY,CAAC;AAC1C,QAAA,MAAM,MAAM,WAAW,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/constants.d.ts b/outputs/packages/javascript-sdk/dist/config/constants.d.ts deleted file mode 100644 index 6371ecb47..000000000 --- a/outputs/packages/javascript-sdk/dist/config/constants.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** @hidden */ -declare const DEFAULT_TIMEOUT: number; -declare const DEFAULT_OAUTH_THRESHOLD: number; -declare const PREFIX = "FR-SDK"; -export { DEFAULT_TIMEOUT, DEFAULT_OAUTH_THRESHOLD, PREFIX }; -//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/constants.d.ts.map b/outputs/packages/javascript-sdk/dist/config/constants.d.ts.map deleted file mode 100644 index 9eeab642a..000000000 --- a/outputs/packages/javascript-sdk/dist/config/constants.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAUA,cAAc;AACd,QAAA,MAAM,eAAe,QAAW,CAAC;AACjC,QAAA,MAAM,uBAAuB,QAAY,CAAC;AAC1C,QAAA,MAAM,MAAM,WAAW,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/constants.js b/outputs/packages/javascript-sdk/dist/config/constants.js deleted file mode 100644 index ce565ded3..000000000 --- a/outputs/packages/javascript-sdk/dist/config/constants.js +++ /dev/null @@ -1,6 +0,0 @@ -const T = 5e3, E = 3e4, o = "FR-SDK"; -export { - E as DEFAULT_OAUTH_THRESHOLD, - T as DEFAULT_TIMEOUT, - o as PREFIX -}; diff --git a/outputs/packages/javascript-sdk/dist/config/enums.cjs b/outputs/packages/javascript-sdk/dist/config/enums.cjs deleted file mode 100644 index 88c881a41..000000000 --- a/outputs/packages/javascript-sdk/dist/config/enums.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=(E=>(E.Authenticate="AUTHENTICATE",E.Authorize="AUTHORIZE",E.EndSession="END_SESSION",E.Logout="LOGOUT",E.ExchangeToken="EXCHANGE_TOKEN",E.RefreshToken="REFRESH_TOKEN",E.ResumeAuthenticate="RESUME_AUTHENTICATE",E.RevokeToken="REVOKE_TOKEN",E.StartAuthenticate="START_AUTHENTICATE",E.UserInfo="USER_INFO",E.WellKnown="WELL_KNOWN",E))(e||{});exports.ActionTypes=e; diff --git a/outputs/packages/javascript-sdk/dist/config/enums.d.cts b/outputs/packages/javascript-sdk/dist/config/enums.d.cts deleted file mode 100644 index ffd9a5347..000000000 --- a/outputs/packages/javascript-sdk/dist/config/enums.d.cts +++ /dev/null @@ -1,14 +0,0 @@ -export declare enum ActionTypes { - Authenticate = "AUTHENTICATE", - Authorize = "AUTHORIZE", - EndSession = "END_SESSION", - Logout = "LOGOUT", - ExchangeToken = "EXCHANGE_TOKEN", - RefreshToken = "REFRESH_TOKEN", - ResumeAuthenticate = "RESUME_AUTHENTICATE", - RevokeToken = "REVOKE_TOKEN", - StartAuthenticate = "START_AUTHENTICATE", - UserInfo = "USER_INFO", - WellKnown = "WELL_KNOWN" -} -//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/enums.d.cts.map b/outputs/packages/javascript-sdk/dist/config/enums.d.cts.map deleted file mode 100644 index dd35cf59a..000000000 --- a/outputs/packages/javascript-sdk/dist/config/enums.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/config/enums.ts"],"names":[],"mappings":"AAUA,oBAAY,WAAW;IACrB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,aAAa,mBAAmB;IAChC,YAAY,kBAAkB;IAC9B,kBAAkB,wBAAwB;IAC1C,WAAW,iBAAiB;IAC5B,iBAAiB,uBAAuB;IACxC,QAAQ,cAAc;IACtB,SAAS,eAAe;CACzB"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/enums.d.ts b/outputs/packages/javascript-sdk/dist/config/enums.d.ts deleted file mode 100644 index ffd9a5347..000000000 --- a/outputs/packages/javascript-sdk/dist/config/enums.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export declare enum ActionTypes { - Authenticate = "AUTHENTICATE", - Authorize = "AUTHORIZE", - EndSession = "END_SESSION", - Logout = "LOGOUT", - ExchangeToken = "EXCHANGE_TOKEN", - RefreshToken = "REFRESH_TOKEN", - ResumeAuthenticate = "RESUME_AUTHENTICATE", - RevokeToken = "REVOKE_TOKEN", - StartAuthenticate = "START_AUTHENTICATE", - UserInfo = "USER_INFO", - WellKnown = "WELL_KNOWN" -} -//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/enums.d.ts.map b/outputs/packages/javascript-sdk/dist/config/enums.d.ts.map deleted file mode 100644 index dd35cf59a..000000000 --- a/outputs/packages/javascript-sdk/dist/config/enums.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/config/enums.ts"],"names":[],"mappings":"AAUA,oBAAY,WAAW;IACrB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,aAAa,mBAAmB;IAChC,YAAY,kBAAkB;IAC9B,kBAAkB,wBAAwB;IAC1C,WAAW,iBAAiB;IAC5B,iBAAiB,uBAAuB;IACxC,QAAQ,cAAc;IACtB,SAAS,eAAe;CACzB"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/enums.js b/outputs/packages/javascript-sdk/dist/config/enums.js deleted file mode 100644 index 17e7c0d7c..000000000 --- a/outputs/packages/javascript-sdk/dist/config/enums.js +++ /dev/null @@ -1,4 +0,0 @@ -var e = /* @__PURE__ */ ((E) => (E.Authenticate = "AUTHENTICATE", E.Authorize = "AUTHORIZE", E.EndSession = "END_SESSION", E.Logout = "LOGOUT", E.ExchangeToken = "EXCHANGE_TOKEN", E.RefreshToken = "REFRESH_TOKEN", E.ResumeAuthenticate = "RESUME_AUTHENTICATE", E.RevokeToken = "REVOKE_TOKEN", E.StartAuthenticate = "START_AUTHENTICATE", E.UserInfo = "USER_INFO", E.WellKnown = "WELL_KNOWN", E))(e || {}); -export { - e as ActionTypes -}; diff --git a/outputs/packages/javascript-sdk/dist/config/helpers.cjs b/outputs/packages/javascript-sdk/dist/config/helpers.cjs deleted file mode 100644 index 1a368787e..000000000 --- a/outputs/packages/javascript-sdk/dist/config/helpers.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../util/middleware.cjs"),u=require("../util/timeout.cjs"),a=require("./enums.cjs");function w(e,r){if(!e.authorization_endpoint)throw new Error("Wellknown endpoint did not return `authorization_endpoint`");const i=new URL(e.authorization_endpoint).origin;let n,t;e.issuer.includes("/am/")?(n=`${e.issuer.replace("oauth2","json")}/authenticate`,t=`${e.issuer.replace("oauth2","json")}/sessions`):e.issuer.includes("/as/");const s={...n?{authenticate:new URL(n).pathname}:{},authorize:new URL(e.authorization_endpoint).pathname,accessToken:new URL(e.token_endpoint).pathname,endSession:new URL(e.end_session_endpoint).pathname,userInfo:new URL(e.userinfo_endpoint).pathname,revoke:new URL(e.revocation_endpoint).pathname,...t?{sessions:new URL(t).pathname}:{}};return{baseUrl:i,paths:s}}async function c(e){if(!e.serverConfig.wellknown)throw new Error("wellknown URL is missing in options");const o=l({url:new URL(e.serverConfig?.wellknown),init:{method:"GET"}},{type:a.ActionTypes.WellKnown,payload:{}})(e.middleware);return await(await u.withTimeout(fetch(o.url.toString(),o.init),e.serverConfig.timeout)).json()}exports.convertWellKnown=w;exports.fetchWellKnown=c; diff --git a/outputs/packages/javascript-sdk/dist/config/helpers.d.cts b/outputs/packages/javascript-sdk/dist/config/helpers.d.cts deleted file mode 100644 index 00bbab00e..000000000 --- a/outputs/packages/javascript-sdk/dist/config/helpers.d.cts +++ /dev/null @@ -1,12 +0,0 @@ -import { AsyncConfigOptions, ServerConfig, WellKnownResponse } from './interfaces'; -/** - * @function convertWellKnown - Convert the response from welknown into SDK config - * @param {WellKnownResponse} data - response from wellknown endpoint - * @returns {ServerConfig} - */ -export declare function convertWellKnown(data: WellKnownResponse, options?: ServerConfig): ServerConfig; -/** - * @function fetchWellKnown - Fetch the wellknown endpoint for OAuth/OIDC URLs - */ -export declare function fetchWellKnown(options: AsyncConfigOptions): Promise; -//# sourceMappingURL=helpers.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/helpers.d.cts.map b/outputs/packages/javascript-sdk/dist/config/helpers.d.cts.map deleted file mode 100644 index 134161f8b..000000000 --- a/outputs/packages/javascript-sdk/dist/config/helpers.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/config/helpers.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,YAAY,CAsC9F;AAED;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAoB5F"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/helpers.d.ts b/outputs/packages/javascript-sdk/dist/config/helpers.d.ts deleted file mode 100644 index 00bbab00e..000000000 --- a/outputs/packages/javascript-sdk/dist/config/helpers.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { AsyncConfigOptions, ServerConfig, WellKnownResponse } from './interfaces'; -/** - * @function convertWellKnown - Convert the response from welknown into SDK config - * @param {WellKnownResponse} data - response from wellknown endpoint - * @returns {ServerConfig} - */ -export declare function convertWellKnown(data: WellKnownResponse, options?: ServerConfig): ServerConfig; -/** - * @function fetchWellKnown - Fetch the wellknown endpoint for OAuth/OIDC URLs - */ -export declare function fetchWellKnown(options: AsyncConfigOptions): Promise; -//# sourceMappingURL=helpers.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/helpers.d.ts.map b/outputs/packages/javascript-sdk/dist/config/helpers.d.ts.map deleted file mode 100644 index 134161f8b..000000000 --- a/outputs/packages/javascript-sdk/dist/config/helpers.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/config/helpers.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,YAAY,CAsC9F;AAED;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAoB5F"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/helpers.js b/outputs/packages/javascript-sdk/dist/config/helpers.js deleted file mode 100644 index 4318f3a45..000000000 --- a/outputs/packages/javascript-sdk/dist/config/helpers.js +++ /dev/null @@ -1,42 +0,0 @@ -import l from "../util/middleware.js"; -import { withTimeout as a } from "../util/timeout.js"; -import { ActionTypes as u } from "./enums.js"; -function h(n, r) { - if (!n.authorization_endpoint) - throw new Error("Wellknown endpoint did not return `authorization_endpoint`"); - const t = new URL(n.authorization_endpoint).origin; - let e, i; - n.issuer.includes("/am/") ? (e = `${n.issuer.replace("oauth2", "json")}/authenticate`, i = `${n.issuer.replace("oauth2", "json")}/sessions`) : n.issuer.includes("/as/"); - const s = { - ...e ? { authenticate: new URL(e).pathname } : {}, - authorize: new URL(n.authorization_endpoint).pathname, - accessToken: new URL(n.token_endpoint).pathname, - endSession: new URL(n.end_session_endpoint).pathname, - userInfo: new URL(n.userinfo_endpoint).pathname, - revoke: new URL(n.revocation_endpoint).pathname, - ...i ? { sessions: new URL(i).pathname } : {} - }; - return { - baseUrl: t, - paths: s - }; -} -async function m(n) { - if (!n.serverConfig.wellknown) - throw new Error("wellknown URL is missing in options"); - const o = l( - { - url: new URL(n.serverConfig?.wellknown), - init: { method: "GET" } - }, - { - type: u.WellKnown, - payload: {} - } - )(n.middleware); - return await (await a(fetch(o.url.toString(), o.init), n.serverConfig.timeout)).json(); -} -export { - h as convertWellKnown, - m as fetchWellKnown -}; diff --git a/outputs/packages/javascript-sdk/dist/config/index.cjs b/outputs/packages/javascript-sdk/dist/config/index.cjs deleted file mode 100644 index c81939cfb..000000000 --- a/outputs/packages/javascript-sdk/dist/config/index.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("./constants.cjs"),s=require("./helpers.cjs");function l(n){return{...n,oauthThreshold:n.oauthThreshold||t.DEFAULT_OAUTH_THRESHOLD,logLevel:n.logLevel||"none",platformHeader:n.platformHeader||!1,prefix:n.prefix||t.PREFIX}}class a{static set(e){if(!this.isValid(e))throw new Error("Configuration is invalid");e.serverConfig&&this.validateServerConfig(e.serverConfig),this.options={...l(e)}}static async setAsync(e){if(!e.serverConfig.wellknown)throw new Error("Missing well-known property. Use `Config.set` method if not using well-known endpoint.");e.serverConfig.baseUrl&&console.warn("The baseUrl property passed in will be ignored, and replaced with well-known origin.");const r=await s.fetchWellKnown(e),o=s.convertWellKnown(r);delete e.serverConfig.wellknown;const i=e;i.serverConfig=o,this.set(i)}static get(e){if(!this.options&&!e)throw new Error("Configuration has not been set");const r={...this.options,...e};if(!r.serverConfig||!r.serverConfig.baseUrl)throw new Error("Server configuration has not been set");return r}static isValid(e){return!!(e&&e.serverConfig)}static validateServerConfig(e){e.timeout||(e.timeout=t.DEFAULT_TIMEOUT);const r=e.baseUrl;r&&r.charAt(r.length-1)!=="/"&&(e.baseUrl=r+"/")}}module.exports=a; diff --git a/outputs/packages/javascript-sdk/dist/config/index.d.cts b/outputs/packages/javascript-sdk/dist/config/index.d.cts deleted file mode 100644 index 61785e948..000000000 --- a/outputs/packages/javascript-sdk/dist/config/index.d.cts +++ /dev/null @@ -1,44 +0,0 @@ -import { AsyncConfigOptions, ConfigOptions, ServerConfig, StepOptions, ValidConfigOptions } from './interfaces'; -/** - * Utility for merging configuration defaults with one-off options. - * - * Example: - * - * ```js - * // Establish configuration defaults - * Config.set({ - * clientId: 'myApp', - * serverConfig: { baseUrl: 'https://openam-domain.com/am' }, - * tree: 'UsernamePassword' - * }); - * - * // Specify overrides as needed - * const configOverrides = { tree: 'PasswordlessWebAuthn' }; - * const step = await FRAuth.next(undefined, configOverrides); - */ -declare abstract class Config { - private static options; - /** - * Sets the default options. - * - * @param options The options to use as defaults - */ - static set(options: ConfigOptions): void; - /** - * @method setAsync - Asynchronously calls the WellKnown endpoint to collect the APIs for OAuth - * @param {AsyncConfigOptions} options - config options with wellknown endpoint URL - * @returns {Promise} - Returns a success or failure message object - */ - static setAsync(options: AsyncConfigOptions): Promise; - /** - * Merges the provided options with the default options. Ensures a server configuration exists. - * - * @param options The options to merge with defaults - */ - static get(options?: ConfigOptions): ValidConfigOptions; - private static isValid; - private static validateServerConfig; -} -export default Config; -export type { ConfigOptions, ServerConfig, ValidConfigOptions, StepOptions }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/index.d.cts.map b/outputs/packages/javascript-sdk/dist/config/index.d.cts.map deleted file mode 100644 index fe091ef19..000000000 --- a/outputs/packages/javascript-sdk/dist/config/index.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAiBtB;;;;;;;;;;;;;;;;GAgBG;AACH,uBAAe,MAAM;IACnB,OAAO,CAAC,MAAM,CAAC,OAAO,CAAgB;IAEtC;;;;OAIG;WACW,GAAG,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAU/C;;;;OAIG;WACiB,QAAQ,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4BxE;;;;OAIG;WACW,GAAG,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,kBAAkB;IAa9D,OAAO,CAAC,MAAM,CAAC,OAAO;IAItB,OAAO,CAAC,MAAM,CAAC,oBAAoB;CAUpC;AAED,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/index.d.ts b/outputs/packages/javascript-sdk/dist/config/index.d.ts deleted file mode 100644 index 61785e948..000000000 --- a/outputs/packages/javascript-sdk/dist/config/index.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { AsyncConfigOptions, ConfigOptions, ServerConfig, StepOptions, ValidConfigOptions } from './interfaces'; -/** - * Utility for merging configuration defaults with one-off options. - * - * Example: - * - * ```js - * // Establish configuration defaults - * Config.set({ - * clientId: 'myApp', - * serverConfig: { baseUrl: 'https://openam-domain.com/am' }, - * tree: 'UsernamePassword' - * }); - * - * // Specify overrides as needed - * const configOverrides = { tree: 'PasswordlessWebAuthn' }; - * const step = await FRAuth.next(undefined, configOverrides); - */ -declare abstract class Config { - private static options; - /** - * Sets the default options. - * - * @param options The options to use as defaults - */ - static set(options: ConfigOptions): void; - /** - * @method setAsync - Asynchronously calls the WellKnown endpoint to collect the APIs for OAuth - * @param {AsyncConfigOptions} options - config options with wellknown endpoint URL - * @returns {Promise} - Returns a success or failure message object - */ - static setAsync(options: AsyncConfigOptions): Promise; - /** - * Merges the provided options with the default options. Ensures a server configuration exists. - * - * @param options The options to merge with defaults - */ - static get(options?: ConfigOptions): ValidConfigOptions; - private static isValid; - private static validateServerConfig; -} -export default Config; -export type { ConfigOptions, ServerConfig, ValidConfigOptions, StepOptions }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/index.d.ts.map b/outputs/packages/javascript-sdk/dist/config/index.d.ts.map deleted file mode 100644 index fe091ef19..000000000 --- a/outputs/packages/javascript-sdk/dist/config/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAiBtB;;;;;;;;;;;;;;;;GAgBG;AACH,uBAAe,MAAM;IACnB,OAAO,CAAC,MAAM,CAAC,OAAO,CAAgB;IAEtC;;;;OAIG;WACW,GAAG,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAU/C;;;;OAIG;WACiB,QAAQ,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4BxE;;;;OAIG;WACW,GAAG,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,kBAAkB;IAa9D,OAAO,CAAC,MAAM,CAAC,OAAO;IAItB,OAAO,CAAC,MAAM,CAAC,oBAAoB;CAUpC;AAED,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/index.js b/outputs/packages/javascript-sdk/dist/config/index.js deleted file mode 100644 index f2f092926..000000000 --- a/outputs/packages/javascript-sdk/dist/config/index.js +++ /dev/null @@ -1,65 +0,0 @@ -import { DEFAULT_TIMEOUT as o, DEFAULT_OAUTH_THRESHOLD as s, PREFIX as l } from "./constants.js"; -import { fetchWellKnown as a, convertWellKnown as f } from "./helpers.js"; -function w(n) { - return { - ...n, - oauthThreshold: n.oauthThreshold || s, - logLevel: n.logLevel || "none", - platformHeader: n.platformHeader || !1, - prefix: n.prefix || l - }; -} -class c { - /** - * Sets the default options. - * - * @param options The options to use as defaults - */ - static set(e) { - if (!this.isValid(e)) - throw new Error("Configuration is invalid"); - e.serverConfig && this.validateServerConfig(e.serverConfig), this.options = { ...w(e) }; - } - /** - * @method setAsync - Asynchronously calls the WellKnown endpoint to collect the APIs for OAuth - * @param {AsyncConfigOptions} options - config options with wellknown endpoint URL - * @returns {Promise} - Returns a success or failure message object - */ - static async setAsync(e) { - if (!e.serverConfig.wellknown) - throw new Error( - "Missing well-known property. Use `Config.set` method if not using well-known endpoint." - ); - e.serverConfig.baseUrl && console.warn( - "The baseUrl property passed in will be ignored, and replaced with well-known origin." - ); - const r = await a(e), i = f(r); - delete e.serverConfig.wellknown; - const t = e; - t.serverConfig = i, this.set(t); - } - /** - * Merges the provided options with the default options. Ensures a server configuration exists. - * - * @param options The options to merge with defaults - */ - static get(e) { - if (!this.options && !e) - throw new Error("Configuration has not been set"); - const r = { ...this.options, ...e }; - if (!r.serverConfig || !r.serverConfig.baseUrl) - throw new Error("Server configuration has not been set"); - return r; - } - static isValid(e) { - return !!(e && e.serverConfig); - } - static validateServerConfig(e) { - e.timeout || (e.timeout = o); - const r = e.baseUrl; - r && r.charAt(r.length - 1) !== "/" && (e.baseUrl = r + "/"); - } -} -export { - c as default -}; diff --git a/outputs/packages/javascript-sdk/dist/config/interfaces.d.cts b/outputs/packages/javascript-sdk/dist/config/interfaces.d.cts deleted file mode 100644 index 734c51d35..000000000 --- a/outputs/packages/javascript-sdk/dist/config/interfaces.d.cts +++ /dev/null @@ -1,128 +0,0 @@ -import { ActionTypes } from './enums'; -import { FRCallbackFactory } from '../fr-auth/callbacks/factory'; -import { StringDict, Tokens } from '../shared/interfaces'; -type LogLevel = 'none' | 'info' | 'warn' | 'error' | 'debug'; -interface Action { - type: ActionTypes; - payload: any; -} -/** - * Custom Logger for logger - */ -interface LoggerFunctions void, E = (...msgs: unknown[]) => void, L = (...msgs: unknown[]) => void, I = (...msgs: unknown[]) => void> { - warn?: W; - error?: E; - log?: L; - info?: I; -} -/** - * Configuration options. - */ -interface ConfigOptions { - callbackFactory?: FRCallbackFactory; - clientId?: string; - middleware?: RequestMiddleware[]; - realmPath?: string; - redirectUri?: string; - scope?: string; - serverConfig?: ServerConfig; - tokenStore?: TokenStoreObject | 'sessionStorage' | 'localStorage'; - tree?: string; - type?: string; - oauthThreshold?: number; - logLevel?: LogLevel; - logger?: LoggerFunctions; - platformHeader?: boolean; - prefix?: string; -} -/** - * Async ConfigOptions for well-known endpoint usage - */ -interface AsyncConfigOptions extends Omit { - serverConfig: AsyncServerConfig; -} -type ConfigurablePaths = keyof CustomPathConfig; -/** - * Optional configuration for custom paths for actions - */ -interface CustomPathConfig { - authenticate?: string; - authorize?: string; - accessToken?: string; - endSession?: string; - userInfo?: string; - revoke?: string; - sessions?: string; -} -type RequestMiddleware = (req: RequestObj, action: Action, next: () => RequestObj) => void; -interface RequestObj { - url: URL; - init: RequestInit; -} -/** - * Configuration settings for connecting to a server. - */ -interface ServerConfig { - baseUrl: string; - paths?: CustomPathConfig; - timeout?: number; -} -/** - * Configuration settings for async config with well-known - */ -interface AsyncServerConfig extends Omit { - wellknown?: string; -} -/** - * API for implementing a custom token store - */ -interface TokenStoreObject { - get: (clientId: string) => Promise; - set: (clientId: string, token: Tokens) => Promise; - remove: (clientId: string) => Promise; -} -/** - * Configuration options with a server configuration specified. - */ -interface ValidConfigOptions extends ConfigOptions { - serverConfig: ServerConfig; - logLevel: LogLevel; -} -/** - * Represents configuration overrides used when requesting the next - * step in an authentication tree. - */ -interface StepOptions extends ConfigOptions { - query?: StringDict; -} -interface WellKnownResponse { - issuer: string; - authorization_endpoint: string; - pushed_authorization_request_endpoint?: string; - token_endpoint: string; - userinfo_endpoint: string; - end_session_endpoint: string; - introspection_endpoint: string; - revocation_endpoint: string; - jwks_uri?: string; - device_authorization_endpoint?: string; - claims_parameter_supported?: boolean; - request_parameter_supported?: boolean; - request_uri_parameter_supported?: boolean; - require_pushed_authorization_requests?: boolean; - scopes_supported?: string[]; - response_types_supported?: string[]; - response_modes_supported?: string[]; - grant_types_supported?: string[]; - subject_types_supported?: string[]; - id_token_signing_alg_values_supported?: string[]; - userinfo_signing_alg_values_supported?: string[]; - request_object_signing_alg_values_supported?: string[]; - token_endpoint_auth_methods_supported?: string[]; - token_endpoint_auth_signing_alg_values_supported?: string[]; - claim_types_supported?: string[]; - claims_supported?: string[]; - code_challenge_methods_supported?: string[]; -} -export type { Action, AsyncConfigOptions, AsyncServerConfig, ConfigOptions, ConfigurablePaths, CustomPathConfig, LogLevel, LoggerFunctions, RequestMiddleware, RequestObj, ServerConfig, TokenStoreObject, ValidConfigOptions, StepOptions, WellKnownResponse, }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/interfaces.d.cts.map b/outputs/packages/javascript-sdk/dist/config/interfaces.d.cts.map deleted file mode 100644 index 4e2108b88..000000000 --- a/outputs/packages/javascript-sdk/dist/config/interfaces.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/config/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7D,UAAU,MAAM;IACd,IAAI,EAAE,WAAW,CAAC;IAElB,OAAO,EAAE,GAAG,CAAC;CACd;AAED;;GAEG;AACH,UAAU,eAAe,CACvB,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EAChC,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EAChC,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EAChC,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI;IAEhC,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AACD;;GAEG;AACH,UAAU,aAAa;IACrB,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,GAAG,cAAc,CAAC;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,kBAAmB,SAAQ,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC;IACtE,YAAY,EAAE,iBAAiB,CAAC;CACjC;AAED,KAAK,iBAAiB,GAAG,MAAM,gBAAgB,CAAC;AAChD;;GAEG;AACH,UAAU,gBAAgB;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,iBAAiB,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,KAAK,IAAI,CAAC;AAE3F,UAAU,UAAU;IAClB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,WAAW,CAAC;CACnB;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,iBAAkB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,gBAAgB;IACxB,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAC3C,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,UAAU,kBAAmB,SAAQ,aAAa;IAChD,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;;GAGG;AACH,UAAU,WAAY,SAAQ,aAAa;IACzC,KAAK,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,qCAAqC,CAAC,EAAE,MAAM,EAAE,CAAC;IACjD,qCAAqC,CAAC,EAAE,MAAM,EAAE,CAAC;IACjD,2CAA2C,CAAC,EAAE,MAAM,EAAE,CAAC;IACvD,qCAAqC,CAAC,EAAE,MAAM,EAAE,CAAC;IACjD,gDAAgD,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5D,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,gCAAgC,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7C;AAED,YAAY,EACV,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACX,iBAAiB,GAClB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/interfaces.d.ts b/outputs/packages/javascript-sdk/dist/config/interfaces.d.ts deleted file mode 100644 index 734c51d35..000000000 --- a/outputs/packages/javascript-sdk/dist/config/interfaces.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { ActionTypes } from './enums'; -import { FRCallbackFactory } from '../fr-auth/callbacks/factory'; -import { StringDict, Tokens } from '../shared/interfaces'; -type LogLevel = 'none' | 'info' | 'warn' | 'error' | 'debug'; -interface Action { - type: ActionTypes; - payload: any; -} -/** - * Custom Logger for logger - */ -interface LoggerFunctions void, E = (...msgs: unknown[]) => void, L = (...msgs: unknown[]) => void, I = (...msgs: unknown[]) => void> { - warn?: W; - error?: E; - log?: L; - info?: I; -} -/** - * Configuration options. - */ -interface ConfigOptions { - callbackFactory?: FRCallbackFactory; - clientId?: string; - middleware?: RequestMiddleware[]; - realmPath?: string; - redirectUri?: string; - scope?: string; - serverConfig?: ServerConfig; - tokenStore?: TokenStoreObject | 'sessionStorage' | 'localStorage'; - tree?: string; - type?: string; - oauthThreshold?: number; - logLevel?: LogLevel; - logger?: LoggerFunctions; - platformHeader?: boolean; - prefix?: string; -} -/** - * Async ConfigOptions for well-known endpoint usage - */ -interface AsyncConfigOptions extends Omit { - serverConfig: AsyncServerConfig; -} -type ConfigurablePaths = keyof CustomPathConfig; -/** - * Optional configuration for custom paths for actions - */ -interface CustomPathConfig { - authenticate?: string; - authorize?: string; - accessToken?: string; - endSession?: string; - userInfo?: string; - revoke?: string; - sessions?: string; -} -type RequestMiddleware = (req: RequestObj, action: Action, next: () => RequestObj) => void; -interface RequestObj { - url: URL; - init: RequestInit; -} -/** - * Configuration settings for connecting to a server. - */ -interface ServerConfig { - baseUrl: string; - paths?: CustomPathConfig; - timeout?: number; -} -/** - * Configuration settings for async config with well-known - */ -interface AsyncServerConfig extends Omit { - wellknown?: string; -} -/** - * API for implementing a custom token store - */ -interface TokenStoreObject { - get: (clientId: string) => Promise; - set: (clientId: string, token: Tokens) => Promise; - remove: (clientId: string) => Promise; -} -/** - * Configuration options with a server configuration specified. - */ -interface ValidConfigOptions extends ConfigOptions { - serverConfig: ServerConfig; - logLevel: LogLevel; -} -/** - * Represents configuration overrides used when requesting the next - * step in an authentication tree. - */ -interface StepOptions extends ConfigOptions { - query?: StringDict; -} -interface WellKnownResponse { - issuer: string; - authorization_endpoint: string; - pushed_authorization_request_endpoint?: string; - token_endpoint: string; - userinfo_endpoint: string; - end_session_endpoint: string; - introspection_endpoint: string; - revocation_endpoint: string; - jwks_uri?: string; - device_authorization_endpoint?: string; - claims_parameter_supported?: boolean; - request_parameter_supported?: boolean; - request_uri_parameter_supported?: boolean; - require_pushed_authorization_requests?: boolean; - scopes_supported?: string[]; - response_types_supported?: string[]; - response_modes_supported?: string[]; - grant_types_supported?: string[]; - subject_types_supported?: string[]; - id_token_signing_alg_values_supported?: string[]; - userinfo_signing_alg_values_supported?: string[]; - request_object_signing_alg_values_supported?: string[]; - token_endpoint_auth_methods_supported?: string[]; - token_endpoint_auth_signing_alg_values_supported?: string[]; - claim_types_supported?: string[]; - claims_supported?: string[]; - code_challenge_methods_supported?: string[]; -} -export type { Action, AsyncConfigOptions, AsyncServerConfig, ConfigOptions, ConfigurablePaths, CustomPathConfig, LogLevel, LoggerFunctions, RequestMiddleware, RequestObj, ServerConfig, TokenStoreObject, ValidConfigOptions, StepOptions, WellKnownResponse, }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/config/interfaces.d.ts.map b/outputs/packages/javascript-sdk/dist/config/interfaces.d.ts.map deleted file mode 100644 index 4e2108b88..000000000 --- a/outputs/packages/javascript-sdk/dist/config/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/config/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7D,UAAU,MAAM;IACd,IAAI,EAAE,WAAW,CAAC;IAElB,OAAO,EAAE,GAAG,CAAC;CACd;AAED;;GAEG;AACH,UAAU,eAAe,CACvB,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EAChC,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EAChC,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,EAChC,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI;IAEhC,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AACD;;GAEG;AACH,UAAU,aAAa;IACrB,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,GAAG,cAAc,CAAC;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,kBAAmB,SAAQ,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC;IACtE,YAAY,EAAE,iBAAiB,CAAC;CACjC;AAED,KAAK,iBAAiB,GAAG,MAAM,gBAAgB,CAAC;AAChD;;GAEG;AACH,UAAU,gBAAgB;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,iBAAiB,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,KAAK,IAAI,CAAC;AAE3F,UAAU,UAAU;IAClB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,WAAW,CAAC;CACnB;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,iBAAkB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,gBAAgB;IACxB,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAC3C,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,UAAU,kBAAmB,SAAQ,aAAa;IAChD,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;;GAGG;AACH,UAAU,WAAY,SAAQ,aAAa;IACzC,KAAK,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,qCAAqC,CAAC,EAAE,MAAM,EAAE,CAAC;IACjD,qCAAqC,CAAC,EAAE,MAAM,EAAE,CAAC;IACjD,2CAA2C,CAAC,EAAE,MAAM,EAAE,CAAC;IACvD,qCAAqC,CAAC,EAAE,MAAM,EAAE,CAAC;IACjD,gDAAgD,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5D,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,gCAAgC,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7C;AAED,YAAY,EACV,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACX,iBAAiB,GAClB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.cjs deleted file mode 100644 index 78a7191ea..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const r=require("./index.cjs");class i extends r{constructor(e){super(e),this.payload=e}getName(){return this.getOutputByName("name","")}getPrompt(){return this.getOutputByName("prompt","")}isRequired(){return this.getOutputByName("required",!1)}getFailedPolicies(){const e=this.getOutputByName("failedPolicies",[]);try{return e.map(t=>JSON.parse(t))}catch{throw new Error('Unable to parse "failed policies" from the ForgeRock server. The JSON within `AttributeInputCallback` was either malformed or missing.')}}getPolicies(){return this.getOutputByName("policies",{})}setValidateOnly(e){this.setInputValue(e,/validateOnly/)}setValue(e){this.setInputValue(e)}}module.exports=i; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts deleted file mode 100644 index 57b873d7d..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts +++ /dev/null @@ -1,46 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -import { StringDict } from '../../shared/interfaces'; -/** - * Represents a callback used to collect attributes. - * - * @typeparam T Maps to StringAttributeInputCallback, NumberAttributeInputCallback and - * BooleanAttributeInputCallback, respectively - */ -declare class AttributeInputCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the attribute name. - */ - getName(): string; - /** - * Gets the attribute prompt. - */ - getPrompt(): string; - /** - * Gets whether the attribute is required. - */ - isRequired(): boolean; - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): StringDict; - /** - * Set if validating value only. - */ - setValidateOnly(value: boolean): void; - /** - * Sets the attribute's value. - */ - setValue(value: T): void; -} -export default AttributeInputCallback; -//# sourceMappingURL=attribute-input-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts.map deleted file mode 100644 index 6e065e02d..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"attribute-input-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/attribute-input-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;;;GAKG;AACH,cAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,CAAE,SAAQ,UAAU;IAI/D,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,OAAO,IAAI,MAAM;IAIxB;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAc/C;;OAEG;IAEI,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAKrC;;OAEG;IACI,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAI5C;;OAEG;IACI,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI;CAGhC;AAED,eAAe,sBAAsB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts deleted file mode 100644 index 57b873d7d..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -import { StringDict } from '../../shared/interfaces'; -/** - * Represents a callback used to collect attributes. - * - * @typeparam T Maps to StringAttributeInputCallback, NumberAttributeInputCallback and - * BooleanAttributeInputCallback, respectively - */ -declare class AttributeInputCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the attribute name. - */ - getName(): string; - /** - * Gets the attribute prompt. - */ - getPrompt(): string; - /** - * Gets whether the attribute is required. - */ - isRequired(): boolean; - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): StringDict; - /** - * Set if validating value only. - */ - setValidateOnly(value: boolean): void; - /** - * Sets the attribute's value. - */ - setValue(value: T): void; -} -export default AttributeInputCallback; -//# sourceMappingURL=attribute-input-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts.map deleted file mode 100644 index 6e065e02d..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"attribute-input-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/attribute-input-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;;;GAKG;AACH,cAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,CAAE,SAAQ,UAAU;IAI/D,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,OAAO,IAAI,MAAM;IAIxB;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAc/C;;OAEG;IAEI,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAKrC;;OAEG;IACI,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAI5C;;OAEG;IACI,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI;CAGhC;AAED,eAAe,sBAAsB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.js deleted file mode 100644 index 960561e73..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/attribute-input-callback.js +++ /dev/null @@ -1,65 +0,0 @@ -import r from "./index.js"; -class s extends r { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - super(e), this.payload = e; - } - /** - * Gets the attribute name. - */ - getName() { - return this.getOutputByName("name", ""); - } - /** - * Gets the attribute prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Gets whether the attribute is required. - */ - isRequired() { - return this.getOutputByName("required", !1); - } - /** - * Gets the callback's failed policies. - */ - getFailedPolicies() { - const e = this.getOutputByName( - "failedPolicies", - [] - ); - try { - return e.map((t) => JSON.parse(t)); - } catch { - throw new Error( - 'Unable to parse "failed policies" from the ForgeRock server. The JSON within `AttributeInputCallback` was either malformed or missing.' - ); - } - } - /** - * Gets the callback's applicable policies. - */ - // eslint-disable-next-line @typescript-eslint/no-explicit-any - getPolicies() { - return this.getOutputByName("policies", {}); - } - /** - * Set if validating value only. - */ - setValidateOnly(e) { - this.setInputValue(e, /validateOnly/); - } - /** - * Sets the attribute's value. - */ - setValue(e) { - this.setInputValue(e); - } -} -export { - s as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.cjs deleted file mode 100644 index dc7cfc634..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const s=require("./index.cjs");class o extends s{constructor(t){super(t),this.payload=t}getPrompt(){return this.getOutputByName("prompt","")}getDefaultChoice(){return this.getOutputByName("defaultChoice",0)}getChoices(){return this.getOutputByName("choices",[])}setChoiceIndex(t){const e=this.getChoices().length;if(t<0||t>e-1)throw new Error(`${t} is out of bounds`);this.setInputValue(t)}setChoiceValue(t){const e=this.getChoices().indexOf(t);if(e===-1)throw new Error(`"${t}" is not a valid choice`);this.setInputValue(e)}}module.exports=o; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts deleted file mode 100644 index 9f3d3a9f8..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts +++ /dev/null @@ -1,34 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect an answer to a choice. - */ -declare class ChoiceCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the choice's prompt. - */ - getPrompt(): string; - /** - * Gets the choice's default answer. - */ - getDefaultChoice(): number; - /** - * Gets the choice's possible answers. - */ - getChoices(): string[]; - /** - * Sets the choice's answer by index position. - */ - setChoiceIndex(index: number): void; - /** - * Sets the choice's answer by value. - */ - setChoiceValue(value: string): void; -} -export default ChoiceCallback; -//# sourceMappingURL=choice-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts.map deleted file mode 100644 index 52b1e43f3..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"choice-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/choice-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,cAAe,SAAQ,UAAU;IAIlB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,gBAAgB,IAAI,MAAM;IAIjC;;OAEG;IACI,UAAU,IAAI,MAAM,EAAE;IAI7B;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAQ1C;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAO3C;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts deleted file mode 100644 index 9f3d3a9f8..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect an answer to a choice. - */ -declare class ChoiceCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the choice's prompt. - */ - getPrompt(): string; - /** - * Gets the choice's default answer. - */ - getDefaultChoice(): number; - /** - * Gets the choice's possible answers. - */ - getChoices(): string[]; - /** - * Sets the choice's answer by index position. - */ - setChoiceIndex(index: number): void; - /** - * Sets the choice's answer by value. - */ - setChoiceValue(value: string): void; -} -export default ChoiceCallback; -//# sourceMappingURL=choice-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts.map deleted file mode 100644 index 52b1e43f3..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"choice-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/choice-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,cAAe,SAAQ,UAAU;IAIlB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,gBAAgB,IAAI,MAAM;IAIjC;;OAEG;IACI,UAAU,IAAI,MAAM,EAAE;IAI7B;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAQ1C;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAO3C;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.js deleted file mode 100644 index 1b182780c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/choice-callback.js +++ /dev/null @@ -1,48 +0,0 @@ -import o from "./index.js"; -class h extends o { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the choice's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Gets the choice's default answer. - */ - getDefaultChoice() { - return this.getOutputByName("defaultChoice", 0); - } - /** - * Gets the choice's possible answers. - */ - getChoices() { - return this.getOutputByName("choices", []); - } - /** - * Sets the choice's answer by index position. - */ - setChoiceIndex(t) { - const e = this.getChoices().length; - if (t < 0 || t > e - 1) - throw new Error(`${t} is out of bounds`); - this.setInputValue(t); - } - /** - * Sets the choice's answer by value. - */ - setChoiceValue(t) { - const e = this.getChoices().indexOf(t); - if (e === -1) - throw new Error(`"${t}" is not a valid choice`); - this.setInputValue(e); - } -} -export { - h as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.cjs deleted file mode 100644 index e9bde11db..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const s=require("./index.cjs");class r extends s{constructor(t){super(t),this.payload=t}getDefaultOption(){return Number(this.getOutputByName("defaultOption",0))}getMessageType(){return Number(this.getOutputByName("messageType",0))}getOptions(){return this.getOutputByName("options",[])}getOptionType(){return Number(this.getOutputByName("optionType",0))}getPrompt(){return this.getOutputByName("prompt","")}setOptionIndex(t){if(t!==0&&t!==1)throw new Error(`"${t}" is not a valid choice`);this.setInputValue(t)}setOptionValue(t){const e=this.getOptions().indexOf(t);if(e===-1)throw new Error(`"${t}" is not a valid choice`);this.setInputValue(e)}}module.exports=r; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts deleted file mode 100644 index 7b8750598..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts +++ /dev/null @@ -1,42 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect a confirmation to a message. - */ -declare class ConfirmationCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the index position of the confirmation's default answer. - */ - getDefaultOption(): number; - /** - * Gets the confirmation's message type. - */ - getMessageType(): number; - /** - * Gets the confirmation's possible answers. - */ - getOptions(): string[]; - /** - * Gets the confirmation's option type. - */ - getOptionType(): number; - /** - * Gets the confirmation's prompt. - */ - getPrompt(): string; - /** - * Set option index. - */ - setOptionIndex(index: number): void; - /** - * Set option value. - */ - setOptionValue(value: string): void; -} -export default ConfirmationCallback; -//# sourceMappingURL=confirmation-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts.map deleted file mode 100644 index 77034cbdd..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"confirmation-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/confirmation-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,oBAAqB,SAAQ,UAAU;IAIxB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,gBAAgB,IAAI,MAAM;IAIjC;;OAEG;IACI,cAAc,IAAI,MAAM;IAI/B;;OAEG;IACI,UAAU,IAAI,MAAM,EAAE;IAI7B;;OAEG;IACI,aAAa,IAAI,MAAM;IAI9B;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAO1C;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAO3C;AAED,eAAe,oBAAoB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts deleted file mode 100644 index 7b8750598..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect a confirmation to a message. - */ -declare class ConfirmationCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the index position of the confirmation's default answer. - */ - getDefaultOption(): number; - /** - * Gets the confirmation's message type. - */ - getMessageType(): number; - /** - * Gets the confirmation's possible answers. - */ - getOptions(): string[]; - /** - * Gets the confirmation's option type. - */ - getOptionType(): number; - /** - * Gets the confirmation's prompt. - */ - getPrompt(): string; - /** - * Set option index. - */ - setOptionIndex(index: number): void; - /** - * Set option value. - */ - setOptionValue(value: string): void; -} -export default ConfirmationCallback; -//# sourceMappingURL=confirmation-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts.map deleted file mode 100644 index 77034cbdd..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"confirmation-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/confirmation-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,oBAAqB,SAAQ,UAAU;IAIxB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,gBAAgB,IAAI,MAAM;IAIjC;;OAEG;IACI,cAAc,IAAI,MAAM;IAI/B;;OAEG;IACI,UAAU,IAAI,MAAM,EAAE;IAI7B;;OAEG;IACI,aAAa,IAAI,MAAM;IAI9B;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAO1C;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAO3C;AAED,eAAe,oBAAoB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.js deleted file mode 100644 index fc6acad56..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/confirmation-callback.js +++ /dev/null @@ -1,59 +0,0 @@ -import r from "./index.js"; -class i extends r { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the index position of the confirmation's default answer. - */ - getDefaultOption() { - return Number(this.getOutputByName("defaultOption", 0)); - } - /** - * Gets the confirmation's message type. - */ - getMessageType() { - return Number(this.getOutputByName("messageType", 0)); - } - /** - * Gets the confirmation's possible answers. - */ - getOptions() { - return this.getOutputByName("options", []); - } - /** - * Gets the confirmation's option type. - */ - getOptionType() { - return Number(this.getOutputByName("optionType", 0)); - } - /** - * Gets the confirmation's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Set option index. - */ - setOptionIndex(t) { - if (t !== 0 && t !== 1) - throw new Error(`"${t}" is not a valid choice`); - this.setInputValue(t); - } - /** - * Set option value. - */ - setOptionValue(t) { - const e = this.getOptions().indexOf(t); - if (e === -1) - throw new Error(`"${t}" is not a valid choice`); - this.setInputValue(e); - } -} -export { - i as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.cjs deleted file mode 100644 index c27a5283a..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("./index.cjs");class s extends t{constructor(e){super(e),this.payload=e}getMessage(){return this.getOutputByName("message","")}isMetadataRequired(){return this.getOutputByName("metadata",!1)}isLocationRequired(){return this.getOutputByName("location",!1)}setProfile(e){this.setInputValue(JSON.stringify(e))}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts deleted file mode 100644 index e3979c09f..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts +++ /dev/null @@ -1,31 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -import { DeviceProfileData } from '../../fr-device/interfaces'; -/** - * Represents a callback used to collect device profile data. - */ -declare class DeviceProfileCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's data. - */ - getMessage(): string; - /** - * Does callback require metadata? - */ - isMetadataRequired(): boolean; - /** - * Does callback require location data? - */ - isLocationRequired(): boolean; - /** - * Sets the profile. - */ - setProfile(profile: DeviceProfileData): void; -} -export default DeviceProfileCallback; -//# sourceMappingURL=device-profile-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts.map deleted file mode 100644 index 4e7d22063..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"device-profile-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/device-profile-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,cAAM,qBAAsB,SAAQ,UAAU;IAIzB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI;CAGpD;AAED,eAAe,qBAAqB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts deleted file mode 100644 index e3979c09f..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -import { DeviceProfileData } from '../../fr-device/interfaces'; -/** - * Represents a callback used to collect device profile data. - */ -declare class DeviceProfileCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's data. - */ - getMessage(): string; - /** - * Does callback require metadata? - */ - isMetadataRequired(): boolean; - /** - * Does callback require location data? - */ - isLocationRequired(): boolean; - /** - * Sets the profile. - */ - setProfile(profile: DeviceProfileData): void; -} -export default DeviceProfileCallback; -//# sourceMappingURL=device-profile-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts.map deleted file mode 100644 index 4e7d22063..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"device-profile-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/device-profile-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,cAAM,qBAAsB,SAAQ,UAAU;IAIzB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI;CAGpD;AAED,eAAe,qBAAqB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.js deleted file mode 100644 index 9b9b25450..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/device-profile-callback.js +++ /dev/null @@ -1,36 +0,0 @@ -import t from "./index.js"; -class i extends t { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - super(e), this.payload = e; - } - /** - * Gets the callback's data. - */ - getMessage() { - return this.getOutputByName("message", ""); - } - /** - * Does callback require metadata? - */ - isMetadataRequired() { - return this.getOutputByName("metadata", !1); - } - /** - * Does callback require location data? - */ - isLocationRequired() { - return this.getOutputByName("location", !1); - } - /** - * Sets the profile. - */ - setProfile(e) { - this.setInputValue(JSON.stringify(e)); - } -} -export { - i as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.cjs deleted file mode 100644 index bc40014b0..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("./index.cjs"),a=require("../../auth/enums.cjs"),r=require("./attribute-input-callback.cjs"),n=require("./choice-callback.cjs"),l=require("./confirmation-callback.cjs"),c=require("./device-profile-callback.cjs"),C=require("./hidden-value-callback.cjs"),u=require("./kba-create-callback.cjs"),i=require("./metadata-callback.cjs"),s=require("./name-callback.cjs"),b=require("./password-callback.cjs"),o=require("./ping-protect-evaluation-callback.cjs"),p=require("./ping-protect-initialize-callback.cjs"),k=require("./polling-wait-callback.cjs"),d=require("./recaptcha-callback.cjs"),w=require("./recaptcha-enterprise-callback.cjs"),T=require("./redirect-callback.cjs"),y=require("./select-idp-callback.cjs"),q=require("./suspended-text-output-callback.cjs"),P=require("./terms-and-conditions-callback.cjs"),m=require("./text-input-callback.cjs"),I=require("./text-output-callback.cjs"),h=require("./validated-create-password-callback.cjs"),x=require("./validated-create-username-callback.cjs");function g(e){switch(e.type){case a.CallbackType.BooleanAttributeInputCallback:return new r(e);case a.CallbackType.ChoiceCallback:return new n(e);case a.CallbackType.ConfirmationCallback:return new l(e);case a.CallbackType.DeviceProfileCallback:return new c(e);case a.CallbackType.HiddenValueCallback:return new C(e);case a.CallbackType.KbaCreateCallback:return new u(e);case a.CallbackType.MetadataCallback:return new i(e);case a.CallbackType.NameCallback:return new s(e);case a.CallbackType.NumberAttributeInputCallback:return new r(e);case a.CallbackType.PasswordCallback:return new b(e);case a.CallbackType.PingOneProtectEvaluationCallback:return new o(e);case a.CallbackType.PingOneProtectInitializeCallback:return new p(e);case a.CallbackType.PollingWaitCallback:return new k(e);case a.CallbackType.ReCaptchaCallback:return new d(e);case a.CallbackType.ReCaptchaEnterpriseCallback:return new w(e);case a.CallbackType.RedirectCallback:return new T(e);case a.CallbackType.SelectIdPCallback:return new y(e);case a.CallbackType.StringAttributeInputCallback:return new r(e);case a.CallbackType.SuspendedTextOutputCallback:return new q(e);case a.CallbackType.TermsAndConditionsCallback:return new P(e);case a.CallbackType.TextInputCallback:return new m(e);case a.CallbackType.TextOutputCallback:return new I(e);case a.CallbackType.ValidatedCreatePasswordCallback:return new h(e);case a.CallbackType.ValidatedCreateUsernameCallback:return new x(e);default:return new t(e)}}module.exports=g; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts deleted file mode 100644 index d29ad4887..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts +++ /dev/null @@ -1,10 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -type FRCallbackFactory = (callback: Callback) => FRCallback; -/** - * @hidden - */ -declare function createCallback(callback: Callback): FRCallback; -export default createCallback; -export type { FRCallbackFactory }; -//# sourceMappingURL=factory.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts.map deleted file mode 100644 index 4f1b3fb0c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/factory.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAE3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAwBtD,KAAK,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,UAAU,CAAC;AAE5D;;GAEG;AACH,iBAAS,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAqDtD;AAED,eAAe,cAAc,CAAC;AAC9B,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts deleted file mode 100644 index d29ad4887..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -type FRCallbackFactory = (callback: Callback) => FRCallback; -/** - * @hidden - */ -declare function createCallback(callback: Callback): FRCallback; -export default createCallback; -export type { FRCallbackFactory }; -//# sourceMappingURL=factory.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts.map deleted file mode 100644 index 4f1b3fb0c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/factory.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAE3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAwBtD,KAAK,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,UAAU,CAAC;AAE5D;;GAEG;AACH,iBAAS,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAqDtD;AAED,eAAe,cAAc,CAAC;AAC9B,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.js deleted file mode 100644 index ac9dd1f90..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/factory.js +++ /dev/null @@ -1,81 +0,0 @@ -import a from "./index.js"; -import { CallbackType as r } from "../../auth/enums.js"; -import t from "./attribute-input-callback.js"; -import n from "./choice-callback.js"; -import o from "./confirmation-callback.js"; -import i from "./device-profile-callback.js"; -import l from "./hidden-value-callback.js"; -import C from "./kba-create-callback.js"; -import m from "./metadata-callback.js"; -import u from "./name-callback.js"; -import p from "./password-callback.js"; -import s from "./ping-protect-evaluation-callback.js"; -import c from "./ping-protect-initialize-callback.js"; -import d from "./polling-wait-callback.js"; -import b from "./recaptcha-callback.js"; -import f from "./recaptcha-enterprise-callback.js"; -import w from "./redirect-callback.js"; -import k from "./select-idp-callback.js"; -import P from "./suspended-text-output-callback.js"; -import I from "./terms-and-conditions-callback.js"; -import T from "./text-input-callback.js"; -import O from "./text-output-callback.js"; -import g from "./validated-create-password-callback.js"; -import h from "./validated-create-username-callback.js"; -function X(e) { - switch (e.type) { - case r.BooleanAttributeInputCallback: - return new t(e); - case r.ChoiceCallback: - return new n(e); - case r.ConfirmationCallback: - return new o(e); - case r.DeviceProfileCallback: - return new i(e); - case r.HiddenValueCallback: - return new l(e); - case r.KbaCreateCallback: - return new C(e); - case r.MetadataCallback: - return new m(e); - case r.NameCallback: - return new u(e); - case r.NumberAttributeInputCallback: - return new t(e); - case r.PasswordCallback: - return new p(e); - case r.PingOneProtectEvaluationCallback: - return new s(e); - case r.PingOneProtectInitializeCallback: - return new c(e); - case r.PollingWaitCallback: - return new d(e); - case r.ReCaptchaCallback: - return new b(e); - case r.ReCaptchaEnterpriseCallback: - return new f(e); - case r.RedirectCallback: - return new w(e); - case r.SelectIdPCallback: - return new k(e); - case r.StringAttributeInputCallback: - return new t(e); - case r.SuspendedTextOutputCallback: - return new P(e); - case r.TermsAndConditionsCallback: - return new I(e); - case r.TextInputCallback: - return new T(e); - case r.TextOutputCallback: - return new O(e); - case r.ValidatedCreatePasswordCallback: - return new g(e); - case r.ValidatedCreateUsernameCallback: - return new h(e); - default: - return new a(e); - } -} -export { - X as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.cjs deleted file mode 100644 index f78cdfec6..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const s=require("./index.cjs");class t extends s{constructor(e){super(e),this.payload=e}}module.exports=t; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts deleted file mode 100644 index 0f098f8df..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts +++ /dev/null @@ -1,14 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect information indirectly from the user. - */ -declare class HiddenValueCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); -} -export default HiddenValueCallback; -//# sourceMappingURL=hidden-value-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts.map deleted file mode 100644 index b08a43500..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"hidden-value-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/hidden-value-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,mBAAoB,SAAQ,UAAU;IAIvB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;CAGrC;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts deleted file mode 100644 index 0f098f8df..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect information indirectly from the user. - */ -declare class HiddenValueCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); -} -export default HiddenValueCallback; -//# sourceMappingURL=hidden-value-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts.map deleted file mode 100644 index b08a43500..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"hidden-value-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/hidden-value-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,mBAAoB,SAAQ,UAAU;IAIvB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;CAGrC;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.js deleted file mode 100644 index 95d512263..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/hidden-value-callback.js +++ /dev/null @@ -1,12 +0,0 @@ -import e from "./index.js"; -class t extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(a) { - super(a), this.payload = a; - } -} -export { - t as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.cjs deleted file mode 100644 index 3dbfa46f5..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";class r{constructor(e){this.payload=e}getType(){return this.payload.type}getInputValue(e=0){return this.getArrayElement(this.payload.input,e).value}setInputValue(e,t=0){this.getArrayElement(this.payload.input,t).value=e}getOutputValue(e=0){return this.getArrayElement(this.payload.output,e).value}getOutputByName(e,t){const n=this.payload.output.find(u=>u.name===e);return n?n.value:t}getArrayElement(e,t=0){if(e===void 0)throw new Error(`No NameValue array was provided to search (selector ${t})`);if(typeof t=="number"){if(t<0||t>e.length-1)throw new Error(`Selector index ${t} is out of range`);return e[t]}if(typeof t=="string"){const n=e.find(u=>u.name===t);if(!n)throw new Error(`Missing callback input entry "${t}"`);return n}if(typeof t=="object"&&t.test&&t.exec){const n=e.find(u=>t.test(u.name));if(!n)throw new Error(`Missing callback input entry "${t}"`);return n}throw new Error("Invalid selector value type")}}module.exports=r; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts deleted file mode 100644 index ab210a96c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts +++ /dev/null @@ -1,47 +0,0 @@ -import { CallbackType } from '../../auth/enums'; -import { Callback } from '../../auth/interfaces'; -/** - * Base class for authentication tree callback wrappers. - */ -declare class FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the name of this callback type. - */ - getType(): CallbackType; - /** - * Gets the value of the specified input element, or the first element if `selector` is not - * provided. - * - * @param selector The index position or name of the desired element - */ - getInputValue(selector?: number | string): unknown; - /** - * Sets the value of the specified input element, or the first element if `selector` is not - * provided. - * - * @param selector The index position or name of the desired element - */ - setInputValue(value: unknown, selector?: number | string | RegExp): void; - /** - * Gets the value of the specified output element, or the first element if `selector` - * is not provided. - * - * @param selector The index position or name of the desired element - */ - getOutputValue(selector?: number | string): unknown; - /** - * Gets the value of the first output element with the specified name or the - * specified default value. - * - * @param name The name of the desired element - */ - getOutputByName(name: string, defaultValue: T): T; - private getArrayElement; -} -export default FRCallback; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts.map deleted file mode 100644 index 3c2e44b70..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/index.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,cAAM,UAAU;IAIK,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAEpC;;OAEG;IACI,OAAO,IAAI,YAAY;IAI9B;;;;;OAKG;IACI,aAAa,CAAC,QAAQ,GAAE,MAAM,GAAG,MAAU,GAAG,OAAO;IAI5D;;;;;OAKG;IACI,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,GAAE,MAAM,GAAG,MAAM,GAAG,MAAU,GAAG,IAAI;IAIlF;;;;;OAKG;IACI,cAAc,CAAC,QAAQ,GAAE,MAAM,GAAG,MAAU,GAAG,OAAO;IAI7D;;;;;OAKG;IACI,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;IAK3D,OAAO,CAAC,eAAe;CAkCxB;AAED,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts deleted file mode 100644 index ab210a96c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { CallbackType } from '../../auth/enums'; -import { Callback } from '../../auth/interfaces'; -/** - * Base class for authentication tree callback wrappers. - */ -declare class FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the name of this callback type. - */ - getType(): CallbackType; - /** - * Gets the value of the specified input element, or the first element if `selector` is not - * provided. - * - * @param selector The index position or name of the desired element - */ - getInputValue(selector?: number | string): unknown; - /** - * Sets the value of the specified input element, or the first element if `selector` is not - * provided. - * - * @param selector The index position or name of the desired element - */ - setInputValue(value: unknown, selector?: number | string | RegExp): void; - /** - * Gets the value of the specified output element, or the first element if `selector` - * is not provided. - * - * @param selector The index position or name of the desired element - */ - getOutputValue(selector?: number | string): unknown; - /** - * Gets the value of the first output element with the specified name or the - * specified default value. - * - * @param name The name of the desired element - */ - getOutputByName(name: string, defaultValue: T): T; - private getArrayElement; -} -export default FRCallback; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts.map deleted file mode 100644 index 3c2e44b70..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/index.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,cAAM,UAAU;IAIK,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAEpC;;OAEG;IACI,OAAO,IAAI,YAAY;IAI9B;;;;;OAKG;IACI,aAAa,CAAC,QAAQ,GAAE,MAAM,GAAG,MAAU,GAAG,OAAO;IAI5D;;;;;OAKG;IACI,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,GAAE,MAAM,GAAG,MAAM,GAAG,MAAU,GAAG,IAAI;IAIlF;;;;;OAKG;IACI,cAAc,CAAC,QAAQ,GAAE,MAAM,GAAG,MAAU,GAAG,OAAO;IAI7D;;;;;OAKG;IACI,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;IAK3D,OAAO,CAAC,eAAe;CAkCxB;AAED,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.js deleted file mode 100644 index c617c0527..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/index.js +++ /dev/null @@ -1,76 +0,0 @@ -class r { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - this.payload = e; - } - /** - * Gets the name of this callback type. - */ - getType() { - return this.payload.type; - } - /** - * Gets the value of the specified input element, or the first element if `selector` is not - * provided. - * - * @param selector The index position or name of the desired element - */ - getInputValue(e = 0) { - return this.getArrayElement(this.payload.input, e).value; - } - /** - * Sets the value of the specified input element, or the first element if `selector` is not - * provided. - * - * @param selector The index position or name of the desired element - */ - setInputValue(e, t = 0) { - this.getArrayElement(this.payload.input, t).value = e; - } - /** - * Gets the value of the specified output element, or the first element if `selector` - * is not provided. - * - * @param selector The index position or name of the desired element - */ - getOutputValue(e = 0) { - return this.getArrayElement(this.payload.output, e).value; - } - /** - * Gets the value of the first output element with the specified name or the - * specified default value. - * - * @param name The name of the desired element - */ - getOutputByName(e, t) { - const n = this.payload.output.find((a) => a.name === e); - return n ? n.value : t; - } - getArrayElement(e, t = 0) { - if (e === void 0) - throw new Error(`No NameValue array was provided to search (selector ${t})`); - if (typeof t == "number") { - if (t < 0 || t > e.length - 1) - throw new Error(`Selector index ${t} is out of range`); - return e[t]; - } - if (typeof t == "string") { - const n = e.find((a) => a.name === t); - if (!n) - throw new Error(`Missing callback input entry "${t}"`); - return n; - } - if (typeof t == "object" && t.test && t.exec) { - const n = e.find((a) => t.test(a.name)); - if (!n) - throw new Error(`Missing callback input entry "${t}"`); - return n; - } - throw new Error("Invalid selector value type"); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.cjs deleted file mode 100644 index 311336e71..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const n=require("./index.cjs");class r extends n{constructor(e){super(e),this.payload=e}getPrompt(){return this.getOutputByName("prompt","")}getPredefinedQuestions(){return this.getOutputByName("predefinedQuestions",[])}setQuestion(e){this.setValue("question",e)}setAnswer(e){this.setValue("answer",e)}setValue(e,s){if(!this.payload.input)throw new Error("KBA payload is missing input");const t=this.payload.input.find(i=>i.name.endsWith(e));if(!t)throw new Error(`No input has name ending in "${e}"`);t.value=s}}module.exports=r; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts deleted file mode 100644 index 600c73f29..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts +++ /dev/null @@ -1,31 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect KBA-style security questions and answers. - */ -declare class KbaCreateCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback prompt. - */ - getPrompt(): string; - /** - * Gets the callback's list of pre-defined security questions. - */ - getPredefinedQuestions(): string[]; - /** - * Sets the callback's security question. - */ - setQuestion(question: string): void; - /** - * Sets the callback's security question answer. - */ - setAnswer(answer: string): void; - private setValue; -} -export default KbaCreateCallback; -//# sourceMappingURL=kba-create-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts.map deleted file mode 100644 index 09502bca0..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"kba-create-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/kba-create-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,sBAAsB,IAAI,MAAM,EAAE;IAIzC;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI1C;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAItC,OAAO,CAAC,QAAQ;CAWjB;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts deleted file mode 100644 index 600c73f29..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect KBA-style security questions and answers. - */ -declare class KbaCreateCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback prompt. - */ - getPrompt(): string; - /** - * Gets the callback's list of pre-defined security questions. - */ - getPredefinedQuestions(): string[]; - /** - * Sets the callback's security question. - */ - setQuestion(question: string): void; - /** - * Sets the callback's security question answer. - */ - setAnswer(answer: string): void; - private setValue; -} -export default KbaCreateCallback; -//# sourceMappingURL=kba-create-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts.map deleted file mode 100644 index 09502bca0..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"kba-create-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/kba-create-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,sBAAsB,IAAI,MAAM,EAAE;IAIzC;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI1C;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAItC,OAAO,CAAC,QAAQ;CAWjB;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.js deleted file mode 100644 index 6be839df7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/kba-create-callback.js +++ /dev/null @@ -1,44 +0,0 @@ -import n from "./index.js"; -class u extends n { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the callback prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Gets the callback's list of pre-defined security questions. - */ - getPredefinedQuestions() { - return this.getOutputByName("predefinedQuestions", []); - } - /** - * Sets the callback's security question. - */ - setQuestion(t) { - this.setValue("question", t); - } - /** - * Sets the callback's security question answer. - */ - setAnswer(t) { - this.setValue("answer", t); - } - setValue(t, s) { - if (!this.payload.input) - throw new Error("KBA payload is missing input"); - const e = this.payload.input.find((i) => i.name.endsWith(t)); - if (!e) - throw new Error(`No input has name ending in "${t}"`); - e.value = s; - } -} -export { - u as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.cjs deleted file mode 100644 index 971f9466a..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class a extends e{constructor(t){super(t),this.payload=t}getData(){return this.getOutputByName("data",{})}}module.exports=a; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts deleted file mode 100644 index 7864747b0..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts +++ /dev/null @@ -1,18 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to deliver and collect miscellaneous data. - */ -declare class MetadataCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's data. - */ - getData(): T; -} -export default MetadataCallback; -//# sourceMappingURL=metadata-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts.map deleted file mode 100644 index 05952a643..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"metadata-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/metadata-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gBAAiB,SAAQ,UAAU;IAIpB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,OAAO,CAAC,CAAC,KAAK,CAAC;CAGvB;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts deleted file mode 100644 index 7864747b0..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to deliver and collect miscellaneous data. - */ -declare class MetadataCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's data. - */ - getData(): T; -} -export default MetadataCallback; -//# sourceMappingURL=metadata-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts.map deleted file mode 100644 index 05952a643..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"metadata-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/metadata-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gBAAiB,SAAQ,UAAU;IAIpB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,OAAO,CAAC,CAAC,KAAK,CAAC;CAGvB;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.js deleted file mode 100644 index 4410b838c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/metadata-callback.js +++ /dev/null @@ -1,18 +0,0 @@ -import a from "./index.js"; -class s extends a { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the callback's data. - */ - getData() { - return this.getOutputByName("data", {}); - } -} -export { - s as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.cjs deleted file mode 100644 index 4f8f435e2..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getPrompt(){return this.getOutputByName("prompt","")}setName(t){this.setInputValue(t)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts deleted file mode 100644 index d8d2c65ff..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect a username. - */ -declare class NameCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Sets the username. - */ - setName(name: string): void; -} -export default NameCallback; -//# sourceMappingURL=name-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts.map deleted file mode 100644 index 01b424060..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"name-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/name-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,YAAa,SAAQ,UAAU;IAIhB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAGnC;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts deleted file mode 100644 index d8d2c65ff..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect a username. - */ -declare class NameCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Sets the username. - */ - setName(name: string): void; -} -export default NameCallback; -//# sourceMappingURL=name-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts.map deleted file mode 100644 index 01b424060..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"name-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/name-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,YAAa,SAAQ,UAAU;IAIhB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAGnC;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.js deleted file mode 100644 index 6ea4965cf..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/name-callback.js +++ /dev/null @@ -1,24 +0,0 @@ -import e from "./index.js"; -class r extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the callback's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Sets the username. - */ - setName(t) { - this.setInputValue(t); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.cjs deleted file mode 100644 index b6d6147be..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getFailedPolicies(){return this.getOutputByName("failedPolicies",[])}getPolicies(){return this.getOutputByName("policies",[])}getPrompt(){return this.getOutputByName("prompt","")}setPassword(t){this.setInputValue(t)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts deleted file mode 100644 index 5aaa43be7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts +++ /dev/null @@ -1,30 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -/** - * Represents a callback used to collect a password. - */ -declare class PasswordCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): string[]; - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Sets the password. - */ - setPassword(password: string): void; -} -export default PasswordCallback; -//# sourceMappingURL=password-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts.map deleted file mode 100644 index c76c0b1f5..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"password-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/password-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEzE;;GAEG;AACH,cAAM,gBAAiB,SAAQ,UAAU;IAIpB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAI/C;;OAEG;IACI,WAAW,IAAI,MAAM,EAAE;IAI9B;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAG3C;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts deleted file mode 100644 index 5aaa43be7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -/** - * Represents a callback used to collect a password. - */ -declare class PasswordCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): string[]; - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Sets the password. - */ - setPassword(password: string): void; -} -export default PasswordCallback; -//# sourceMappingURL=password-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts.map deleted file mode 100644 index c76c0b1f5..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"password-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/password-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEzE;;GAEG;AACH,cAAM,gBAAiB,SAAQ,UAAU;IAIpB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAI/C;;OAEG;IACI,WAAW,IAAI,MAAM,EAAE;IAI9B;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAG3C;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.js deleted file mode 100644 index e7333a487..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/password-callback.js +++ /dev/null @@ -1,36 +0,0 @@ -import e from "./index.js"; -class r extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the callback's failed policies. - */ - getFailedPolicies() { - return this.getOutputByName("failedPolicies", []); - } - /** - * Gets the callback's applicable policies. - */ - getPolicies() { - return this.getOutputByName("policies", []); - } - /** - * Gets the callback's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Sets the password. - */ - setPassword(t) { - this.setInputValue(t); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.cjs deleted file mode 100644 index 495080510..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class a extends e{constructor(t){super(t),this.payload=t}getPauseBehavioralData(){return this.getOutputByName("pauseBehavioralData",!1)}setData(t){this.setInputValue(t,/signals/)}setClientError(t){this.setInputValue(t,/clientError/)}}module.exports=a; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts deleted file mode 100644 index 15dda1459..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts +++ /dev/null @@ -1,53 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * @class - Represents a callback used to complete and package up device and behavioral data. - */ -declare class PingOneProtectEvaluationCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's pauseBehavioralData value. - * @returns {boolean} - */ - getPauseBehavioralData(): boolean; - /** - * @method setData - Set the result of data collection - * @param {string} data - Data from calling pingProtect.get() - * @returns {void} - */ - setData(data: string): void; - /** - * @method setClientError - Set the client error message - * @param {string} errorMessage - Error message - * @returns {void} - */ - setClientError(errorMessage: string): void; -} -export default PingOneProtectEvaluationCallback; -/** - * Example of callback: -{ - "type": "PingOneProtectEvaluationCallback", - "output": [ - { - "name": "pauseBehavioralData", - "value": true - } - ], - "input": [ - { - "name": "IDToken1signals", - "value": "" - }, - { - "name": "IDToken1clientError", - "value": "" - } - ] -} -*/ -//# sourceMappingURL=ping-protect-evaluation-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts.map deleted file mode 100644 index cb20db6c6..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ping-protect-evaluation-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/ping-protect-evaluation-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gCAAiC,SAAQ,UAAU;IAIpC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;;OAGG;IACI,sBAAsB,IAAI,OAAO;IAIxC;;;;OAIG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;;;OAIG;IACI,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;CAGlD;AAED,eAAe,gCAAgC,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;EAqBE"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts deleted file mode 100644 index 15dda1459..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * @class - Represents a callback used to complete and package up device and behavioral data. - */ -declare class PingOneProtectEvaluationCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's pauseBehavioralData value. - * @returns {boolean} - */ - getPauseBehavioralData(): boolean; - /** - * @method setData - Set the result of data collection - * @param {string} data - Data from calling pingProtect.get() - * @returns {void} - */ - setData(data: string): void; - /** - * @method setClientError - Set the client error message - * @param {string} errorMessage - Error message - * @returns {void} - */ - setClientError(errorMessage: string): void; -} -export default PingOneProtectEvaluationCallback; -/** - * Example of callback: -{ - "type": "PingOneProtectEvaluationCallback", - "output": [ - { - "name": "pauseBehavioralData", - "value": true - } - ], - "input": [ - { - "name": "IDToken1signals", - "value": "" - }, - { - "name": "IDToken1clientError", - "value": "" - } - ] -} -*/ -//# sourceMappingURL=ping-protect-evaluation-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts.map deleted file mode 100644 index cb20db6c6..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ping-protect-evaluation-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/ping-protect-evaluation-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gCAAiC,SAAQ,UAAU;IAIpC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;;OAGG;IACI,sBAAsB,IAAI,OAAO;IAIxC;;;;OAIG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;;;OAIG;IACI,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;CAGlD;AAED,eAAe,gCAAgC,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;EAqBE"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.js deleted file mode 100644 index 18fd35e00..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-evaluation-callback.js +++ /dev/null @@ -1,35 +0,0 @@ -import a from "./index.js"; -class r extends a { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the callback's pauseBehavioralData value. - * @returns {boolean} - */ - getPauseBehavioralData() { - return this.getOutputByName("pauseBehavioralData", !1); - } - /** - * @method setData - Set the result of data collection - * @param {string} data - Data from calling pingProtect.get() - * @returns {void} - */ - setData(t) { - this.setInputValue(t, /signals/); - } - /** - * @method setClientError - Set the client error message - * @param {string} errorMessage - Error message - * @returns {void} - */ - setClientError(t) { - this.setInputValue(t, /clientError/); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.cjs deleted file mode 100644 index 0b9149f93..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getConfig(){return{envId:this.getOutputByName("envId",""),consoleLogEnabled:this.getOutputByName("consoleLogEnabled",!1),deviceAttributesToIgnore:this.getOutputByName("deviceAttributesToIgnore",[]),customHost:this.getOutputByName("customHost",""),lazyMetadata:this.getOutputByName("lazyMetadata",!1),behavioralDataCollection:this.getOutputByName("behavioralDataCollection",!0),deviceKeyRsyncIntervals:this.getOutputByName("deviceKeyRsyncIntervals",14),enableTrust:this.getOutputByName("enableTrust",!1),disableTags:this.getOutputByName("disableTags",!1),disableHub:this.getOutputByName("disableHub",!1)}}setClientError(t){this.setInputValue(t,/clientError/)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts deleted file mode 100644 index 5a114cd59..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts +++ /dev/null @@ -1,30 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * @class - Represents a callback used to initialize and start device and behavioral data collection. - */ -declare class PingOneProtectInitializeCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Get callback's initialization config settings - */ - getConfig(): { - envId: string; - consoleLogEnabled: boolean; - deviceAttributesToIgnore: string[]; - customHost: string; - lazyMetadata: boolean; - behavioralDataCollection: boolean; - deviceKeyRsyncIntervals: number; - enableTrust: boolean; - disableTags: boolean; - disableHub: boolean; - }; - setClientError(errorMessage: string): void; -} -export default PingOneProtectInitializeCallback; -//# sourceMappingURL=ping-protect-initialize-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts.map deleted file mode 100644 index 0e6b9b252..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ping-protect-initialize-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/ping-protect-initialize-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gCAAiC,SAAQ,UAAU;IAIpC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS;;;;;;;;;;;;IAgBT,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;CAGlD;AAED,eAAe,gCAAgC,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts deleted file mode 100644 index 5a114cd59..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * @class - Represents a callback used to initialize and start device and behavioral data collection. - */ -declare class PingOneProtectInitializeCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Get callback's initialization config settings - */ - getConfig(): { - envId: string; - consoleLogEnabled: boolean; - deviceAttributesToIgnore: string[]; - customHost: string; - lazyMetadata: boolean; - behavioralDataCollection: boolean; - deviceKeyRsyncIntervals: number; - enableTrust: boolean; - disableTags: boolean; - disableHub: boolean; - }; - setClientError(errorMessage: string): void; -} -export default PingOneProtectInitializeCallback; -//# sourceMappingURL=ping-protect-initialize-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts.map deleted file mode 100644 index 0e6b9b252..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ping-protect-initialize-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/ping-protect-initialize-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gCAAiC,SAAQ,UAAU;IAIpC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS;;;;;;;;;;;;IAgBT,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;CAGlD;AAED,eAAe,gCAAgC,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.js deleted file mode 100644 index d060d8d4b..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/ping-protect-initialize-callback.js +++ /dev/null @@ -1,32 +0,0 @@ -import e from "./index.js"; -class i extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Get callback's initialization config settings - */ - getConfig() { - return { - envId: this.getOutputByName("envId", ""), - consoleLogEnabled: this.getOutputByName("consoleLogEnabled", !1), - deviceAttributesToIgnore: this.getOutputByName("deviceAttributesToIgnore", []), - customHost: this.getOutputByName("customHost", ""), - lazyMetadata: this.getOutputByName("lazyMetadata", !1), - behavioralDataCollection: this.getOutputByName("behavioralDataCollection", !0), - deviceKeyRsyncIntervals: this.getOutputByName("deviceKeyRsyncIntervals", 14), - enableTrust: this.getOutputByName("enableTrust", !1), - disableTags: this.getOutputByName("disableTags", !1), - disableHub: this.getOutputByName("disableHub", !1) - }; - } - setClientError(t) { - this.setInputValue(t, /clientError/); - } -} -export { - i as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.cjs deleted file mode 100644 index 727f16b20..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("./index.cjs");class s extends t{constructor(e){super(e),this.payload=e}getMessage(){return this.getOutputByName("message","")}getWaitTime(){return Number(this.getOutputByName("waitTime",0))}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts deleted file mode 100644 index 788bfdd75..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to instruct the system to poll while a backend process completes. - */ -declare class PollingWaitCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the message to display while polling. - */ - getMessage(): string; - /** - * Gets the polling interval in milliseconds. - */ - getWaitTime(): number; -} -export default PollingWaitCallback; -//# sourceMappingURL=polling-wait-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts.map deleted file mode 100644 index 835014a3b..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"polling-wait-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/polling-wait-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,mBAAoB,SAAQ,UAAU;IAIvB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,WAAW,IAAI,MAAM;CAG7B;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts deleted file mode 100644 index 788bfdd75..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to instruct the system to poll while a backend process completes. - */ -declare class PollingWaitCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the message to display while polling. - */ - getMessage(): string; - /** - * Gets the polling interval in milliseconds. - */ - getWaitTime(): number; -} -export default PollingWaitCallback; -//# sourceMappingURL=polling-wait-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts.map deleted file mode 100644 index 835014a3b..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"polling-wait-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/polling-wait-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,mBAAoB,SAAQ,UAAU;IAIvB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,WAAW,IAAI,MAAM;CAG7B;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.js deleted file mode 100644 index 9a1ad97c2..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/polling-wait-callback.js +++ /dev/null @@ -1,24 +0,0 @@ -import e from "./index.js"; -class r extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the message to display while polling. - */ - getMessage() { - return this.getOutputByName("message", ""); - } - /** - * Gets the polling interval in milliseconds. - */ - getWaitTime() { - return Number(this.getOutputByName("waitTime", 0)); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.cjs deleted file mode 100644 index 6428d7e43..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getSiteKey(){return this.getOutputByName("recaptchaSiteKey","")}setResult(t){this.setInputValue(t)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts deleted file mode 100644 index b127fc22e..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to integrate reCAPTCHA. - */ -declare class ReCaptchaCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the reCAPTCHA site key. - */ - getSiteKey(): string; - /** - * Sets the reCAPTCHA result. - */ - setResult(result: string): void; -} -export default ReCaptchaCallback; -//# sourceMappingURL=recaptcha-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts.map deleted file mode 100644 index c63ba91e2..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"recaptcha-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/recaptcha-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAGvC;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts deleted file mode 100644 index b127fc22e..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to integrate reCAPTCHA. - */ -declare class ReCaptchaCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the reCAPTCHA site key. - */ - getSiteKey(): string; - /** - * Sets the reCAPTCHA result. - */ - setResult(result: string): void; -} -export default ReCaptchaCallback; -//# sourceMappingURL=recaptcha-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts.map deleted file mode 100644 index c63ba91e2..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"recaptcha-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/recaptcha-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAGvC;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.js deleted file mode 100644 index c87b230a6..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-callback.js +++ /dev/null @@ -1,24 +0,0 @@ -import e from "./index.js"; -class r extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the reCAPTCHA site key. - */ - getSiteKey() { - return this.getOutputByName("recaptchaSiteKey", ""); - } - /** - * Sets the reCAPTCHA result. - */ - setResult(t) { - this.setInputValue(t); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.cjs deleted file mode 100644 index 4283c07fb..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getSiteKey(){return this.getOutputByName("recaptchaSiteKey","")}getApiUrl(){return this.getOutputByName("captchaApiUri","")}getElementClass(){return this.getOutputByName("captchaDivClass","")}setResult(t){this.setInputValue(t)}setClientError(t){this.setInputValue(t,"IDToken1clientError")}setPayload(t){this.setInputValue(t,"IDToken1payload")}setAction(t){this.setInputValue(t,"IDToken1action")}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts deleted file mode 100644 index 95c88db17..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts +++ /dev/null @@ -1,42 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to integrate reCAPTCHA. - */ -declare class ReCaptchaEnterpriseCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the reCAPTCHA site key. - */ - getSiteKey(): string; - /** - * Get the api url - */ - getApiUrl(): string; - /** - * Get the class name - */ - getElementClass(): string; - /** - * Sets the reCAPTCHA result. - */ - setResult(result: string): void; - /** - * Set client client error - */ - setClientError(error: string): void; - /** - * Set the recaptcha payload - */ - setPayload(payload: unknown): void; - /** - * Set the recaptcha action - */ - setAction(action: string): void; -} -export default ReCaptchaEnterpriseCallback; -//# sourceMappingURL=recaptcha-enterprise-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts.map deleted file mode 100644 index a5bac9057..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"recaptcha-enterprise-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/recaptcha-enterprise-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAmBtD;;GAEG;AACH,cAAM,2BAA4B,SAAQ,UAAU;IAI/B,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,SAAS,IAAI,MAAM;IAG1B;;OAEG;IACI,eAAe,IAAI,MAAM;IAGhC;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAItC;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM;IAInC;;OAEG;IACI,UAAU,CAAC,OAAO,EAAE,OAAO;IAIlC;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM;CAGhC;AAED,eAAe,2BAA2B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts deleted file mode 100644 index 95c88db17..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to integrate reCAPTCHA. - */ -declare class ReCaptchaEnterpriseCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the reCAPTCHA site key. - */ - getSiteKey(): string; - /** - * Get the api url - */ - getApiUrl(): string; - /** - * Get the class name - */ - getElementClass(): string; - /** - * Sets the reCAPTCHA result. - */ - setResult(result: string): void; - /** - * Set client client error - */ - setClientError(error: string): void; - /** - * Set the recaptcha payload - */ - setPayload(payload: unknown): void; - /** - * Set the recaptcha action - */ - setAction(action: string): void; -} -export default ReCaptchaEnterpriseCallback; -//# sourceMappingURL=recaptcha-enterprise-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts.map deleted file mode 100644 index a5bac9057..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"recaptcha-enterprise-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/recaptcha-enterprise-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAmBtD;;GAEG;AACH,cAAM,2BAA4B,SAAQ,UAAU;IAI/B,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,SAAS,IAAI,MAAM;IAG1B;;OAEG;IACI,eAAe,IAAI,MAAM;IAGhC;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAItC;;OAEG;IACI,cAAc,CAAC,KAAK,EAAE,MAAM;IAInC;;OAEG;IACI,UAAU,CAAC,OAAO,EAAE,OAAO;IAIlC;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM;CAGhC;AAED,eAAe,2BAA2B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.js deleted file mode 100644 index fd5f07ffb..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/recaptcha-enterprise-callback.js +++ /dev/null @@ -1,54 +0,0 @@ -import e from "./index.js"; -class r extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the reCAPTCHA site key. - */ - getSiteKey() { - return this.getOutputByName("recaptchaSiteKey", ""); - } - /** - * Get the api url - */ - getApiUrl() { - return this.getOutputByName("captchaApiUri", ""); - } - /** - * Get the class name - */ - getElementClass() { - return this.getOutputByName("captchaDivClass", ""); - } - /** - * Sets the reCAPTCHA result. - */ - setResult(t) { - this.setInputValue(t); - } - /** - * Set client client error - */ - setClientError(t) { - this.setInputValue(t, "IDToken1clientError"); - } - /** - * Set the recaptcha payload - */ - setPayload(t) { - this.setInputValue(t, "IDToken1payload"); - } - /** - * Set the recaptcha action - */ - setAction(t) { - this.setInputValue(t, "IDToken1action"); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.cjs deleted file mode 100644 index f78ad2a37..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("./index.cjs");class r extends t{constructor(e){super(e),this.payload=e}getRedirectUrl(){return this.getOutputByName("redirectUrl","")}}module.exports=r; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts deleted file mode 100644 index a4eb481b1..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts +++ /dev/null @@ -1,18 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect an answer to a choice. - */ -declare class RedirectCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the redirect URL. - */ - getRedirectUrl(): string; -} -export default RedirectCallback; -//# sourceMappingURL=redirect-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts.map deleted file mode 100644 index 37ceb7173..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"redirect-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/redirect-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gBAAiB,SAAQ,UAAU;IAIpB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,cAAc,IAAI,MAAM;CAGhC;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts deleted file mode 100644 index a4eb481b1..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect an answer to a choice. - */ -declare class RedirectCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the redirect URL. - */ - getRedirectUrl(): string; -} -export default RedirectCallback; -//# sourceMappingURL=redirect-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts.map deleted file mode 100644 index 37ceb7173..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"redirect-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/redirect-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,gBAAiB,SAAQ,UAAU;IAIpB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,cAAc,IAAI,MAAM;CAGhC;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.js deleted file mode 100644 index cc9adac7c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/redirect-callback.js +++ /dev/null @@ -1,18 +0,0 @@ -import e from "./index.js"; -class c extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the redirect URL. - */ - getRedirectUrl() { - return this.getOutputByName("redirectUrl", ""); - } -} -export { - c as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.cjs deleted file mode 100644 index 301d0a3aa..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const s=require("./index.cjs");class i extends s{constructor(e){super(e),this.payload=e}getProviders(){return this.getOutputByName("providers",[])}setProvider(e){const r=this.getProviders().find(t=>t.provider===e);if(!r)throw new Error(`"${e}" is not a valid choice`);this.setInputValue(r.provider)}}module.exports=i; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts deleted file mode 100644 index c90c0a537..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts +++ /dev/null @@ -1,29 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -interface IdPValue { - provider: string; - uiConfig: { - [key: string]: string; - }; -} -/** - * Represents a callback used to collect an answer to a choice. - */ -declare class SelectIdPCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the available providers. - */ - getProviders(): IdPValue[]; - /** - * Sets the provider by name. - */ - setProvider(value: string): void; -} -export default SelectIdPCallback; -export type { IdPValue }; -//# sourceMappingURL=select-idp-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts.map deleted file mode 100644 index 9c4a55226..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"select-idp-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/select-idp-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,UAAU,QAAQ;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE;QACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAED;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,YAAY,IAAI,QAAQ,EAAE;IAIjC;;OAEG;IACI,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAOxC;AAED,eAAe,iBAAiB,CAAC;AAEjC,YAAY,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts deleted file mode 100644 index c90c0a537..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -interface IdPValue { - provider: string; - uiConfig: { - [key: string]: string; - }; -} -/** - * Represents a callback used to collect an answer to a choice. - */ -declare class SelectIdPCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the available providers. - */ - getProviders(): IdPValue[]; - /** - * Sets the provider by name. - */ - setProvider(value: string): void; -} -export default SelectIdPCallback; -export type { IdPValue }; -//# sourceMappingURL=select-idp-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts.map deleted file mode 100644 index 9c4a55226..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"select-idp-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/select-idp-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,UAAU,QAAQ;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE;QACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAED;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,YAAY,IAAI,QAAQ,EAAE;IAIjC;;OAEG;IACI,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAOxC;AAED,eAAe,iBAAiB,CAAC;AAEjC,YAAY,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.js deleted file mode 100644 index e78c8c091..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/select-idp-callback.js +++ /dev/null @@ -1,27 +0,0 @@ -import i from "./index.js"; -class d extends i { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(r) { - super(r), this.payload = r; - } - /** - * Gets the available providers. - */ - getProviders() { - return this.getOutputByName("providers", []); - } - /** - * Sets the provider by name. - */ - setProvider(r) { - const t = this.getProviders().find((e) => e.provider === r); - if (!t) - throw new Error(`"${r}" is not a valid choice`); - this.setInputValue(t.provider); - } -} -export { - d as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.cjs deleted file mode 100644 index 860504ce8..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./text-output-callback.cjs");class s extends e{constructor(t){super(t),this.payload=t}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts deleted file mode 100644 index cab3ef96c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts +++ /dev/null @@ -1,14 +0,0 @@ -import { default as TextOutputCallback } from './text-output-callback'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to display a message. - */ -declare class SuspendedTextOutputCallback extends TextOutputCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); -} -export default SuspendedTextOutputCallback; -//# sourceMappingURL=suspended-text-output-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts.map deleted file mode 100644 index f59280cb7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"suspended-text-output-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/suspended-text-output-callback.ts"],"names":[],"mappings":"AAUA,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,2BAA4B,SAAQ,kBAAkB;IAIvC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;CAGrC;AAED,eAAe,2BAA2B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts deleted file mode 100644 index cab3ef96c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { default as TextOutputCallback } from './text-output-callback'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to display a message. - */ -declare class SuspendedTextOutputCallback extends TextOutputCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); -} -export default SuspendedTextOutputCallback; -//# sourceMappingURL=suspended-text-output-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts.map deleted file mode 100644 index f59280cb7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"suspended-text-output-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/suspended-text-output-callback.ts"],"names":[],"mappings":"AAUA,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,2BAA4B,SAAQ,kBAAkB;IAIvC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;CAGrC;AAED,eAAe,2BAA2B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.js deleted file mode 100644 index 8545fe119..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/suspended-text-output-callback.js +++ /dev/null @@ -1,12 +0,0 @@ -import e from "./text-output-callback.js"; -class a extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } -} -export { - a as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.cjs deleted file mode 100644 index 13cd5263c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getTerms(){return this.getOutputByName("terms","")}getVersion(){return this.getOutputByName("version","")}getCreateDate(){const t=this.getOutputByName("createDate","");return new Date(t)}setAccepted(t=!0){this.setInputValue(t)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts deleted file mode 100644 index 47840f144..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts +++ /dev/null @@ -1,30 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect acceptance of terms and conditions. - */ -declare class TermsAndConditionsCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the terms and conditions content. - */ - getTerms(): string; - /** - * Gets the version of the terms and conditions. - */ - getVersion(): string; - /** - * Gets the date of the terms and conditions. - */ - getCreateDate(): Date; - /** - * Sets the callback's acceptance. - */ - setAccepted(accepted?: boolean): void; -} -export default TermsAndConditionsCallback; -//# sourceMappingURL=terms-and-conditions-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts.map deleted file mode 100644 index ca941fc56..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"terms-and-conditions-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/terms-and-conditions-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,0BAA2B,SAAQ,UAAU;IAI9B,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,aAAa,IAAI,IAAI;IAK5B;;OAEG;IACI,WAAW,CAAC,QAAQ,UAAO,GAAG,IAAI;CAG1C;AAED,eAAe,0BAA0B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts deleted file mode 100644 index 47840f144..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to collect acceptance of terms and conditions. - */ -declare class TermsAndConditionsCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the terms and conditions content. - */ - getTerms(): string; - /** - * Gets the version of the terms and conditions. - */ - getVersion(): string; - /** - * Gets the date of the terms and conditions. - */ - getCreateDate(): Date; - /** - * Sets the callback's acceptance. - */ - setAccepted(accepted?: boolean): void; -} -export default TermsAndConditionsCallback; -//# sourceMappingURL=terms-and-conditions-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts.map deleted file mode 100644 index ca941fc56..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"terms-and-conditions-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/terms-and-conditions-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,0BAA2B,SAAQ,UAAU;IAI9B,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,aAAa,IAAI,IAAI;IAK5B;;OAEG;IACI,WAAW,CAAC,QAAQ,UAAO,GAAG,IAAI;CAG1C;AAED,eAAe,0BAA0B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.js deleted file mode 100644 index dc3c77960..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/terms-and-conditions-callback.js +++ /dev/null @@ -1,37 +0,0 @@ -import e from "./index.js"; -class a extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the terms and conditions content. - */ - getTerms() { - return this.getOutputByName("terms", ""); - } - /** - * Gets the version of the terms and conditions. - */ - getVersion() { - return this.getOutputByName("version", ""); - } - /** - * Gets the date of the terms and conditions. - */ - getCreateDate() { - const t = this.getOutputByName("createDate", ""); - return new Date(t); - } - /** - * Sets the callback's acceptance. - */ - setAccepted(t = !0) { - this.setInputValue(t); - } -} -export { - a as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.cjs deleted file mode 100644 index d37b5b42a..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./index.cjs");class s extends e{constructor(t){super(t),this.payload=t}getPrompt(){return this.getOutputByName("prompt","")}setInput(t){this.setInputValue(t)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts deleted file mode 100644 index ec536ac22..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to retrieve input from the user. - */ -declare class TextInputCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Sets the callback's input value. - */ - setInput(input: string): void; -} -export default TextInputCallback; -//# sourceMappingURL=text-input-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts.map deleted file mode 100644 index df57aad87..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"text-input-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/text-input-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAGrC;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts deleted file mode 100644 index ec536ac22..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to retrieve input from the user. - */ -declare class TextInputCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Sets the callback's input value. - */ - setInput(input: string): void; -} -export default TextInputCallback; -//# sourceMappingURL=text-input-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts.map deleted file mode 100644 index df57aad87..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"text-input-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/text-input-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,iBAAkB,SAAQ,UAAU;IAIrB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAGrC;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.js deleted file mode 100644 index 1d848d62f..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-input-callback.js +++ /dev/null @@ -1,24 +0,0 @@ -import e from "./index.js"; -class r extends e { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(t) { - super(t), this.payload = t; - } - /** - * Gets the callback's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Sets the callback's input value. - */ - setInput(t) { - this.setInputValue(t); - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.cjs deleted file mode 100644 index a4f029938..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("./index.cjs");class s extends t{constructor(e){super(e),this.payload=e}getMessage(){return this.getOutputByName("message","")}getMessageType(){return this.getOutputByName("messageType","")}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts deleted file mode 100644 index 10b019761..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to display a message. - */ -declare class TextOutputCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the message content. - */ - getMessage(): string; - /** - * Gets the message type. - */ - getMessageType(): string; -} -export default TextOutputCallback; -//# sourceMappingURL=text-output-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts.map deleted file mode 100644 index e01e07c67..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"text-output-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/text-output-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,kBAAmB,SAAQ,UAAU;IAItB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,cAAc,IAAI,MAAM;CAGhC;AAED,eAAe,kBAAkB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts deleted file mode 100644 index 10b019761..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback } from '../../auth/interfaces'; -/** - * Represents a callback used to display a message. - */ -declare class TextOutputCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the message content. - */ - getMessage(): string; - /** - * Gets the message type. - */ - getMessageType(): string; -} -export default TextOutputCallback; -//# sourceMappingURL=text-output-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts.map deleted file mode 100644 index e01e07c67..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"text-output-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/text-output-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;GAEG;AACH,cAAM,kBAAmB,SAAQ,UAAU;IAItB,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,UAAU,IAAI,MAAM;IAI3B;;OAEG;IACI,cAAc,IAAI,MAAM;CAGhC;AAED,eAAe,kBAAkB,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.js deleted file mode 100644 index 03b3a1c84..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/text-output-callback.js +++ /dev/null @@ -1,24 +0,0 @@ -import t from "./index.js"; -class u extends t { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - super(e), this.payload = e; - } - /** - * Gets the message content. - */ - getMessage() { - return this.getOutputByName("message", ""); - } - /** - * Gets the message type. - */ - getMessageType() { - return this.getOutputByName("messageType", ""); - } -} -export { - u as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.cjs deleted file mode 100644 index 7177fed2b..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const r=require("./index.cjs");class s extends r{constructor(e){super(e),this.payload=e}getFailedPolicies(){const e=this.getOutputByName("failedPolicies",[]);try{return e.map(t=>JSON.parse(t))}catch{throw new Error('Unable to parse "failed policies" from the ForgeRock server. The JSON within `ValidatedCreatePasswordCallback` was either malformed or missing.')}}getPolicies(){return this.getOutputByName("policies",{})}getPrompt(){return this.getOutputByName("prompt","")}isRequired(){return this.getOutputByName("required",!1)}setPassword(e){this.setInputValue(e)}setValidateOnly(e){this.setInputValue(e,/validateOnly/)}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts deleted file mode 100644 index f4e6c26e7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts +++ /dev/null @@ -1,39 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -import { StringDict } from '../../shared/interfaces'; -/** - * Represents a callback used to collect a valid platform password. - */ -declare class ValidatedCreatePasswordCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): StringDict; - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Gets whether the password is required. - */ - isRequired(): boolean; - /** - * Sets the callback's password. - */ - setPassword(password: string): void; - /** - * Set if validating value only. - */ - setValidateOnly(value: boolean): void; -} -export default ValidatedCreatePasswordCallback; -//# sourceMappingURL=validated-create-password-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts.map deleted file mode 100644 index b225b57fa..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"validated-create-password-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/validated-create-password-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;GAEG;AACH,cAAM,+BAAgC,SAAQ,UAAU;IAInC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAc/C;;OAEG;IAEI,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAKrC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI1C;;OAEG;IACI,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAG7C;AAED,eAAe,+BAA+B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts deleted file mode 100644 index f4e6c26e7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -import { StringDict } from '../../shared/interfaces'; -/** - * Represents a callback used to collect a valid platform password. - */ -declare class ValidatedCreatePasswordCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): StringDict; - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Gets whether the password is required. - */ - isRequired(): boolean; - /** - * Sets the callback's password. - */ - setPassword(password: string): void; - /** - * Set if validating value only. - */ - setValidateOnly(value: boolean): void; -} -export default ValidatedCreatePasswordCallback; -//# sourceMappingURL=validated-create-password-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts.map deleted file mode 100644 index b225b57fa..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"validated-create-password-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/validated-create-password-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;GAEG;AACH,cAAM,+BAAgC,SAAQ,UAAU;IAInC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAc/C;;OAEG;IAEI,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAKrC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI1C;;OAEG;IACI,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAG7C;AAED,eAAe,+BAA+B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.js deleted file mode 100644 index 647e90b11..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-password-callback.js +++ /dev/null @@ -1,59 +0,0 @@ -import a from "./index.js"; -class i extends a { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - super(e), this.payload = e; - } - /** - * Gets the callback's failed policies. - */ - getFailedPolicies() { - const e = this.getOutputByName( - "failedPolicies", - [] - ); - try { - return e.map((t) => JSON.parse(t)); - } catch { - throw new Error( - 'Unable to parse "failed policies" from the ForgeRock server. The JSON within `ValidatedCreatePasswordCallback` was either malformed or missing.' - ); - } - } - /** - * Gets the callback's applicable policies. - */ - // eslint-disable-next-line @typescript-eslint/no-explicit-any - getPolicies() { - return this.getOutputByName("policies", {}); - } - /** - * Gets the callback's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Gets whether the password is required. - */ - isRequired() { - return this.getOutputByName("required", !1); - } - /** - * Sets the callback's password. - */ - setPassword(e) { - this.setInputValue(e); - } - /** - * Set if validating value only. - */ - setValidateOnly(e) { - this.setInputValue(e, /validateOnly/); - } -} -export { - i as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.cjs deleted file mode 100644 index c5e70db70..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const r=require("./index.cjs");class i extends r{constructor(e){super(e),this.payload=e}getPrompt(){return this.getOutputByName("prompt","")}getFailedPolicies(){const e=this.getOutputByName("failedPolicies",[]);try{return e.map(t=>JSON.parse(t))}catch{throw new Error('Unable to parse "failed policies" from the ForgeRock server. The JSON within `ValidatedCreateUsernameCallback` was either malformed or missing.')}}getPolicies(){return this.getOutputByName("policies",{})}isRequired(){return this.getOutputByName("required",!1)}setName(e){this.setInputValue(e)}setValidateOnly(e){this.setInputValue(e,/validateOnly/)}}module.exports=i; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts deleted file mode 100644 index 81e41a637..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts +++ /dev/null @@ -1,39 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -import { StringDict } from '../../shared/interfaces'; -/** - * Represents a callback used to collect a valid platform username. - */ -declare class ValidatedCreateUsernameCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): StringDict; - /** - * Gets whether the username is required. - */ - isRequired(): boolean; - /** - * Sets the callback's username. - */ - setName(name: string): void; - /** - * Set if validating value only. - */ - setValidateOnly(value: boolean): void; -} -export default ValidatedCreateUsernameCallback; -//# sourceMappingURL=validated-create-username-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts.map deleted file mode 100644 index 498441087..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"validated-create-username-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/validated-create-username-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;GAEG;AACH,cAAM,+BAAgC,SAAQ,UAAU;IAInC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAc/C;;OAEG;IAEI,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAKrC;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;OAEG;IACI,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAG7C;AAED,eAAe,+BAA+B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts deleted file mode 100644 index 81e41a637..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { default as FRCallback } from '.'; -import { Callback, PolicyRequirement } from '../../auth/interfaces'; -import { StringDict } from '../../shared/interfaces'; -/** - * Represents a callback used to collect a valid platform username. - */ -declare class ValidatedCreateUsernameCallback extends FRCallback { - payload: Callback; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Callback); - /** - * Gets the callback's prompt. - */ - getPrompt(): string; - /** - * Gets the callback's failed policies. - */ - getFailedPolicies(): PolicyRequirement[]; - /** - * Gets the callback's applicable policies. - */ - getPolicies(): StringDict; - /** - * Gets whether the username is required. - */ - isRequired(): boolean; - /** - * Sets the callback's username. - */ - setName(name: string): void; - /** - * Set if validating value only. - */ - setValidateOnly(value: boolean): void; -} -export default ValidatedCreateUsernameCallback; -//# sourceMappingURL=validated-create-username-callback.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts.map deleted file mode 100644 index 498441087..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"validated-create-username-callback.d.ts","sourceRoot":"","sources":["../../../src/fr-auth/callbacks/validated-create-username-callback.ts"],"names":[],"mappings":"AAUA,OAAO,UAAU,MAAM,GAAG,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;GAEG;AACH,cAAM,+BAAgC,SAAQ,UAAU;IAInC,OAAO,EAAE,QAAQ;IAHpC;;OAEG;gBACgB,OAAO,EAAE,QAAQ;IAIpC;;OAEG;IACI,SAAS,IAAI,MAAM;IAI1B;;OAEG;IACI,iBAAiB,IAAI,iBAAiB,EAAE;IAc/C;;OAEG;IAEI,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAKrC;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;OAEG;IACI,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAG7C;AAED,eAAe,+BAA+B,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.js b/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.js deleted file mode 100644 index 6ba8d3fbc..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/callbacks/validated-create-username-callback.js +++ /dev/null @@ -1,59 +0,0 @@ -import a from "./index.js"; -class s extends a { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - super(e), this.payload = e; - } - /** - * Gets the callback's prompt. - */ - getPrompt() { - return this.getOutputByName("prompt", ""); - } - /** - * Gets the callback's failed policies. - */ - getFailedPolicies() { - const e = this.getOutputByName( - "failedPolicies", - [] - ); - try { - return e.map((t) => JSON.parse(t)); - } catch { - throw new Error( - 'Unable to parse "failed policies" from the ForgeRock server. The JSON within `ValidatedCreateUsernameCallback` was either malformed or missing.' - ); - } - } - /** - * Gets the callback's applicable policies. - */ - // eslint-disable-next-line @typescript-eslint/no-explicit-any - getPolicies() { - return this.getOutputByName("policies", {}); - } - /** - * Gets whether the username is required. - */ - isRequired() { - return this.getOutputByName("required", !1); - } - /** - * Sets the callback's username. - */ - setName(e) { - this.setInputValue(e); - } - /** - * Set if validating value only. - */ - setValidateOnly(e) { - this.setInputValue(e, /validateOnly/); - } -} -export { - s as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/enums.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/enums.cjs deleted file mode 100644 index f36c2ad7a..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/enums.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(e=>(e.LoginFailure="LoginFailure",e.LoginSuccess="LoginSuccess",e.Step="Step",e))(i||{});exports.StepType=i; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts deleted file mode 100644 index 59992cb6f..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Types of steps returned by the authentication tree. - */ -declare enum StepType { - LoginFailure = "LoginFailure", - LoginSuccess = "LoginSuccess", - Step = "Step" -} -export { StepType }; -//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts.map deleted file mode 100644 index d2b284559..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/fr-auth/enums.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,aAAK,QAAQ;IACX,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;CACd;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts deleted file mode 100644 index 59992cb6f..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Types of steps returned by the authentication tree. - */ -declare enum StepType { - LoginFailure = "LoginFailure", - LoginSuccess = "LoginSuccess", - Step = "Step" -} -export { StepType }; -//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts.map deleted file mode 100644 index d2b284559..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/enums.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/fr-auth/enums.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,aAAK,QAAQ;IACX,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;CACd;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/enums.js b/outputs/packages/javascript-sdk/dist/fr-auth/enums.js deleted file mode 100644 index 64927363e..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/enums.js +++ /dev/null @@ -1,4 +0,0 @@ -var r = /* @__PURE__ */ ((i) => (i.LoginFailure = "LoginFailure", i.LoginSuccess = "LoginSuccess", i.Step = "Step", i))(r || {}); -export { - r as StepType -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.cjs deleted file mode 100644 index 67e095e1e..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const t=require("../fr-policy/index.cjs"),s=require("./enums.cjs");class r{constructor(e){this.payload=e,this.type=s.StepType.LoginFailure}getCode(){return Number(this.payload.code)}getDetail(){return this.payload.detail}getMessage(){return this.payload.message}getProcessedMessage(e){return t.default.parseErrors(this.payload,e)}getReason(){return this.payload.reason}}module.exports=r; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts deleted file mode 100644 index 27ac06f6e..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts +++ /dev/null @@ -1,37 +0,0 @@ -import { MessageCreator, ProcessedPropertyError } from '../fr-policy/interfaces'; -import { Step } from '../auth/interfaces'; -import { StepType } from './enums'; -import { AuthResponse, FailureDetail } from './interfaces'; -declare class FRLoginFailure implements AuthResponse { - payload: Step; - /** - * The type of step. - */ - readonly type = StepType.LoginFailure; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Step); - /** - * Gets the error code. - */ - getCode(): number; - /** - * Gets the failure details. - */ - getDetail(): FailureDetail | undefined; - /** - * Gets the failure message. - */ - getMessage(): string | undefined; - /** - * Gets processed failure message. - */ - getProcessedMessage(messageCreator?: MessageCreator): ProcessedPropertyError[]; - /** - * Gets the failure reason. - */ - getReason(): string | undefined; -} -export default FRLoginFailure; -//# sourceMappingURL=fr-login-failure.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts.map deleted file mode 100644 index ac8c9fb80..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fr-login-failure.d.ts","sourceRoot":"","sources":["../../src/fr-auth/fr-login-failure.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEhE,cAAM,cAAe,YAAW,YAAY;IASvB,OAAO,EAAE,IAAI;IARhC;;OAEG;IACH,SAAgB,IAAI,yBAAyB;IAE7C;;OAEG;gBACgB,OAAO,EAAE,IAAI;IAEhC;;OAEG;IACI,OAAO,IAAI,MAAM;IAIxB;;OAEG;IACI,SAAS,IAAI,aAAa,GAAG,SAAS;IAI7C;;OAEG;IACI,UAAU,IAAI,MAAM,GAAG,SAAS;IAIvC;;OAEG;IACI,mBAAmB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,sBAAsB,EAAE;IAIrF;;OAEG;IACI,SAAS,IAAI,MAAM,GAAG,SAAS;CAGvC;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts deleted file mode 100644 index 27ac06f6e..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { MessageCreator, ProcessedPropertyError } from '../fr-policy/interfaces'; -import { Step } from '../auth/interfaces'; -import { StepType } from './enums'; -import { AuthResponse, FailureDetail } from './interfaces'; -declare class FRLoginFailure implements AuthResponse { - payload: Step; - /** - * The type of step. - */ - readonly type = StepType.LoginFailure; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Step); - /** - * Gets the error code. - */ - getCode(): number; - /** - * Gets the failure details. - */ - getDetail(): FailureDetail | undefined; - /** - * Gets the failure message. - */ - getMessage(): string | undefined; - /** - * Gets processed failure message. - */ - getProcessedMessage(messageCreator?: MessageCreator): ProcessedPropertyError[]; - /** - * Gets the failure reason. - */ - getReason(): string | undefined; -} -export default FRLoginFailure; -//# sourceMappingURL=fr-login-failure.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts.map deleted file mode 100644 index ac8c9fb80..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fr-login-failure.d.ts","sourceRoot":"","sources":["../../src/fr-auth/fr-login-failure.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEhE,cAAM,cAAe,YAAW,YAAY;IASvB,OAAO,EAAE,IAAI;IARhC;;OAEG;IACH,SAAgB,IAAI,yBAAyB;IAE7C;;OAEG;gBACgB,OAAO,EAAE,IAAI;IAEhC;;OAEG;IACI,OAAO,IAAI,MAAM;IAIxB;;OAEG;IACI,SAAS,IAAI,aAAa,GAAG,SAAS;IAI7C;;OAEG;IACI,UAAU,IAAI,MAAM,GAAG,SAAS;IAIvC;;OAEG;IACI,mBAAmB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,sBAAsB,EAAE;IAIrF;;OAEG;IACI,SAAS,IAAI,MAAM,GAAG,SAAS;CAGvC;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.js b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.js deleted file mode 100644 index 45408f58c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-failure.js +++ /dev/null @@ -1,43 +0,0 @@ -import t from "../fr-policy/index.js"; -import { StepType as r } from "./enums.js"; -class i { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - this.payload = e, this.type = r.LoginFailure; - } - /** - * Gets the error code. - */ - getCode() { - return Number(this.payload.code); - } - /** - * Gets the failure details. - */ - getDetail() { - return this.payload.detail; - } - /** - * Gets the failure message. - */ - getMessage() { - return this.payload.message; - } - /** - * Gets processed failure message. - */ - getProcessedMessage(e) { - return t.parseErrors(this.payload, e); - } - /** - * Gets the failure reason. - */ - getReason() { - return this.payload.reason; - } -} -export { - i as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.cjs deleted file mode 100644 index 56a7cf204..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("./enums.cjs");class t{constructor(s){this.payload=s,this.type=e.StepType.LoginSuccess}getRealm(){return this.payload.realm}getSessionToken(){return this.payload.tokenId}getSuccessUrl(){return this.payload.successUrl}}module.exports=t; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts deleted file mode 100644 index 6edf9c648..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts +++ /dev/null @@ -1,28 +0,0 @@ -import { Step } from '../auth/interfaces'; -import { StepType } from './enums'; -import { AuthResponse } from './interfaces'; -declare class FRLoginSuccess implements AuthResponse { - payload: Step; - /** - * The type of step. - */ - readonly type = StepType.LoginSuccess; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Step); - /** - * Gets the step's realm. - */ - getRealm(): string | undefined; - /** - * Gets the step's session token. - */ - getSessionToken(): string | undefined; - /** - * Gets the step's success URL. - */ - getSuccessUrl(): string | undefined; -} -export default FRLoginSuccess; -//# sourceMappingURL=fr-login-success.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts.map deleted file mode 100644 index 24b9d0114..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fr-login-success.d.ts","sourceRoot":"","sources":["../../src/fr-auth/fr-login-success.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,cAAM,cAAe,YAAW,YAAY;IASvB,OAAO,EAAE,IAAI;IARhC;;OAEG;IACH,SAAgB,IAAI,yBAAyB;IAE7C;;OAEG;gBACgB,OAAO,EAAE,IAAI;IAEhC;;OAEG;IACI,QAAQ,IAAI,MAAM,GAAG,SAAS;IAIrC;;OAEG;IACI,eAAe,IAAI,MAAM,GAAG,SAAS;IAI5C;;OAEG;IACI,aAAa,IAAI,MAAM,GAAG,SAAS;CAG3C;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts deleted file mode 100644 index 6edf9c648..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Step } from '../auth/interfaces'; -import { StepType } from './enums'; -import { AuthResponse } from './interfaces'; -declare class FRLoginSuccess implements AuthResponse { - payload: Step; - /** - * The type of step. - */ - readonly type = StepType.LoginSuccess; - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(payload: Step); - /** - * Gets the step's realm. - */ - getRealm(): string | undefined; - /** - * Gets the step's session token. - */ - getSessionToken(): string | undefined; - /** - * Gets the step's success URL. - */ - getSuccessUrl(): string | undefined; -} -export default FRLoginSuccess; -//# sourceMappingURL=fr-login-success.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts.map deleted file mode 100644 index 24b9d0114..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fr-login-success.d.ts","sourceRoot":"","sources":["../../src/fr-auth/fr-login-success.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,cAAM,cAAe,YAAW,YAAY;IASvB,OAAO,EAAE,IAAI;IARhC;;OAEG;IACH,SAAgB,IAAI,yBAAyB;IAE7C;;OAEG;gBACgB,OAAO,EAAE,IAAI;IAEhC;;OAEG;IACI,QAAQ,IAAI,MAAM,GAAG,SAAS;IAIrC;;OAEG;IACI,eAAe,IAAI,MAAM,GAAG,SAAS;IAI5C;;OAEG;IACI,aAAa,IAAI,MAAM,GAAG,SAAS;CAG3C;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.js b/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.js deleted file mode 100644 index b3374f40d..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-login-success.js +++ /dev/null @@ -1,30 +0,0 @@ -import { StepType as s } from "./enums.js"; -class r { - /** - * @param payload The raw payload returned by OpenAM - */ - constructor(e) { - this.payload = e, this.type = s.LoginSuccess; - } - /** - * Gets the step's realm. - */ - getRealm() { - return this.payload.realm; - } - /** - * Gets the step's session token. - */ - getSessionToken() { - return this.payload.tokenId; - } - /** - * Gets the step's success URL. - */ - getSuccessUrl() { - return this.payload.successUrl; - } -} -export { - r as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.cjs deleted file mode 100644 index a3d18b3e8..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const l=require("./callbacks/factory.cjs"),r=require("./enums.cjs");class s{constructor(t,e){this.payload=t,this.type=r.StepType.Step,this.callbacks=[],t.callbacks&&(this.callbacks=this.convertCallbacks(t.callbacks,e))}getCallbackOfType(t){const e=this.getCallbacksOfType(t);if(e.length!==1)throw new Error(`Expected 1 callback of type "${t}", but found ${e.length}`);return e[0]}getCallbacksOfType(t){return this.callbacks.filter(e=>e.getType()===t)}setCallbackValue(t,e){const a=this.getCallbacksOfType(t);if(a.length!==1)throw new Error(`Expected 1 callback of type "${t}", but found ${a.length}`);a[0].setInputValue(e)}getDescription(){return this.payload.description}getHeader(){return this.payload.header}getStage(){return this.payload.stage}convertCallbacks(t,e){return t.map(c=>(e||l)(c)||l(c))}}module.exports=s; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts deleted file mode 100644 index 139440b86..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts +++ /dev/null @@ -1,64 +0,0 @@ -import { CallbackType } from '../auth/enums'; -import { Step } from '../auth/interfaces'; -import { default as FRCallback } from './callbacks'; -import { FRCallbackFactory } from './callbacks/factory'; -import { StepType } from './enums'; -import { AuthResponse } from './interfaces'; -/** - * Represents a single step of an authentication tree. - */ -declare class FRStep implements AuthResponse { - payload: Step; - /** - * The type of step. - */ - readonly type = StepType.Step; - /** - * The callbacks contained in this step. - */ - callbacks: FRCallback[]; - /** - * @param payload The raw payload returned by OpenAM - * @param callbackFactory A function that returns am implementation of FRCallback - */ - constructor(payload: Step, callbackFactory?: FRCallbackFactory); - /** - * Gets the first callback of the specified type in this step. - * - * @param type The type of callback to find. - */ - getCallbackOfType(type: CallbackType): T; - /** - * Gets all callbacks of the specified type in this step. - * - * @param type The type of callback to find. - */ - getCallbacksOfType(type: CallbackType): T[]; - /** - * Sets the value of the first callback of the specified type in this step. - * - * @param type The type of callback to find. - * @param value The value to set for the callback. - */ - setCallbackValue(type: CallbackType, value: unknown): void; - /** - * Gets the step's description. - */ - getDescription(): string | undefined; - /** - * Gets the step's header. - */ - getHeader(): string | undefined; - /** - * Gets the step's stage. - */ - getStage(): string | undefined; - private convertCallbacks; -} -/** - * A function that can populate the provided authentication tree step. - */ -type FRStepHandler = (step: FRStep) => void; -export default FRStep; -export type { FRStepHandler }; -//# sourceMappingURL=fr-step.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts.map deleted file mode 100644 index e69654e9b..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fr-step.d.ts","sourceRoot":"","sources":["../../src/fr-auth/fr-step.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAY,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD;;GAEG;AACH,cAAM,MAAO,YAAW,YAAY;IAgBzB,OAAO,EAAE,IAAI;IAftB;;OAEG;IACH,SAAgB,IAAI,iBAAiB;IAErC;;OAEG;IACI,SAAS,EAAE,UAAU,EAAE,CAAM;IAEpC;;;OAGG;gBAEM,OAAO,EAAE,IAAI,EACpB,eAAe,CAAC,EAAE,iBAAiB;IAOrC;;;;OAIG;IACI,iBAAiB,CAAC,CAAC,SAAS,UAAU,EAAE,IAAI,EAAE,YAAY,GAAG,CAAC;IAQrE;;;;OAIG;IACI,kBAAkB,CAAC,CAAC,SAAS,UAAU,EAAE,IAAI,EAAE,YAAY,GAAG,CAAC,EAAE;IAIxE;;;;;OAKG;IACI,gBAAgB,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI;IAQjE;;OAEG;IACI,cAAc,IAAI,MAAM,GAAG,SAAS;IAI3C;;OAEG;IACI,SAAS,IAAI,MAAM,GAAG,SAAS;IAItC;;OAEG;IACI,QAAQ,IAAI,MAAM,GAAG,SAAS;IAIrC,OAAO,CAAC,gBAAgB;CAUzB;AAED;;GAEG;AACH,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;AAE5C,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts deleted file mode 100644 index 139440b86..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { CallbackType } from '../auth/enums'; -import { Step } from '../auth/interfaces'; -import { default as FRCallback } from './callbacks'; -import { FRCallbackFactory } from './callbacks/factory'; -import { StepType } from './enums'; -import { AuthResponse } from './interfaces'; -/** - * Represents a single step of an authentication tree. - */ -declare class FRStep implements AuthResponse { - payload: Step; - /** - * The type of step. - */ - readonly type = StepType.Step; - /** - * The callbacks contained in this step. - */ - callbacks: FRCallback[]; - /** - * @param payload The raw payload returned by OpenAM - * @param callbackFactory A function that returns am implementation of FRCallback - */ - constructor(payload: Step, callbackFactory?: FRCallbackFactory); - /** - * Gets the first callback of the specified type in this step. - * - * @param type The type of callback to find. - */ - getCallbackOfType(type: CallbackType): T; - /** - * Gets all callbacks of the specified type in this step. - * - * @param type The type of callback to find. - */ - getCallbacksOfType(type: CallbackType): T[]; - /** - * Sets the value of the first callback of the specified type in this step. - * - * @param type The type of callback to find. - * @param value The value to set for the callback. - */ - setCallbackValue(type: CallbackType, value: unknown): void; - /** - * Gets the step's description. - */ - getDescription(): string | undefined; - /** - * Gets the step's header. - */ - getHeader(): string | undefined; - /** - * Gets the step's stage. - */ - getStage(): string | undefined; - private convertCallbacks; -} -/** - * A function that can populate the provided authentication tree step. - */ -type FRStepHandler = (step: FRStep) => void; -export default FRStep; -export type { FRStepHandler }; -//# sourceMappingURL=fr-step.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts.map deleted file mode 100644 index e69654e9b..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fr-step.d.ts","sourceRoot":"","sources":["../../src/fr-auth/fr-step.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAY,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD;;GAEG;AACH,cAAM,MAAO,YAAW,YAAY;IAgBzB,OAAO,EAAE,IAAI;IAftB;;OAEG;IACH,SAAgB,IAAI,iBAAiB;IAErC;;OAEG;IACI,SAAS,EAAE,UAAU,EAAE,CAAM;IAEpC;;;OAGG;gBAEM,OAAO,EAAE,IAAI,EACpB,eAAe,CAAC,EAAE,iBAAiB;IAOrC;;;;OAIG;IACI,iBAAiB,CAAC,CAAC,SAAS,UAAU,EAAE,IAAI,EAAE,YAAY,GAAG,CAAC;IAQrE;;;;OAIG;IACI,kBAAkB,CAAC,CAAC,SAAS,UAAU,EAAE,IAAI,EAAE,YAAY,GAAG,CAAC,EAAE;IAIxE;;;;;OAKG;IACI,gBAAgB,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI;IAQjE;;OAEG;IACI,cAAc,IAAI,MAAM,GAAG,SAAS;IAI3C;;OAEG;IACI,SAAS,IAAI,MAAM,GAAG,SAAS;IAItC;;OAEG;IACI,QAAQ,IAAI,MAAM,GAAG,SAAS;IAIrC,OAAO,CAAC,gBAAgB;CAUzB;AAED;;GAEG;AACH,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;AAE5C,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.js b/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.js deleted file mode 100644 index f63aeb75c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/fr-step.js +++ /dev/null @@ -1,66 +0,0 @@ -import c from "./callbacks/factory.js"; -import { StepType as r } from "./enums.js"; -class i { - /** - * @param payload The raw payload returned by OpenAM - * @param callbackFactory A function that returns am implementation of FRCallback - */ - constructor(t, e) { - this.payload = t, this.type = r.Step, this.callbacks = [], t.callbacks && (this.callbacks = this.convertCallbacks(t.callbacks, e)); - } - /** - * Gets the first callback of the specified type in this step. - * - * @param type The type of callback to find. - */ - getCallbackOfType(t) { - const e = this.getCallbacksOfType(t); - if (e.length !== 1) - throw new Error(`Expected 1 callback of type "${t}", but found ${e.length}`); - return e[0]; - } - /** - * Gets all callbacks of the specified type in this step. - * - * @param type The type of callback to find. - */ - getCallbacksOfType(t) { - return this.callbacks.filter((e) => e.getType() === t); - } - /** - * Sets the value of the first callback of the specified type in this step. - * - * @param type The type of callback to find. - * @param value The value to set for the callback. - */ - setCallbackValue(t, e) { - const a = this.getCallbacksOfType(t); - if (a.length !== 1) - throw new Error(`Expected 1 callback of type "${t}", but found ${a.length}`); - a[0].setInputValue(e); - } - /** - * Gets the step's description. - */ - getDescription() { - return this.payload.description; - } - /** - * Gets the step's header. - */ - getHeader() { - return this.payload.header; - } - /** - * Gets the step's stage. - */ - getStage() { - return this.payload.stage; - } - convertCallbacks(t, e) { - return t.map((l) => (e || c)(l) || c(l)); - } -} -export { - i as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/index.cjs b/outputs/packages/javascript-sdk/dist/fr-auth/index.cjs deleted file mode 100644 index f8757113f..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/index.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";const v=require("../config/index.cjs"),x=require("../auth/index.cjs"),w=require("../auth/enums.cjs"),q=require("./fr-login-failure.cjs"),I=require("./fr-login-success.cjs"),k=require("./fr-step.cjs");class n{static get previousStepKey(){return`${v.get().prefix}-PreviousStep`}static async next(t,r){const e=await x.next(t?t.payload:void 0,r);if(e.authId){const a=r?r.callbackFactory:void 0;return new k(e,a)}return!e.authId&&e.ok?new I(e):new q(e)}static redirect(t){const e=t.getCallbackOfType(w.CallbackType.RedirectCallback).getRedirectUrl();localStorage.setItem(this.previousStepKey,JSON.stringify(t)),location.assign(e)}static async resume(t,r){const e=new URL(t),a=e.searchParams.get("code"),i=e.searchParams.get("error"),u=e.searchParams.get("errorCode"),d=e.searchParams.get("errorMessage"),s=e.searchParams.get("form_post_entry"),l=e.searchParams.get("nonce"),g=e.searchParams.get("RelayState"),c=e.searchParams.get("responsekey"),p=e.searchParams.get("scope"),o=e.searchParams.get("state"),h=e.searchParams.get("suspendedId"),m=e.searchParams.get("authIndexValue")??void 0;let y;function f(){return a&&o||s||c}if(f()){const S=localStorage.getItem(this.previousStepKey);if(!S)throw new Error("Error: could not retrieve original redirect information.");try{y=JSON.parse(S)}catch{throw new Error("Error: could not parse redirect params or step information")}localStorage.removeItem(this.previousStepKey)}const P={...r,query:{...a&&{code:a},...i&&{error:i},...u&&{errorCode:u},...d&&{errorMessage:d},...s&&{form_post_entry:s},...l&&{nonce:l},...g&&{RelayState:g},...c&&{responsekey:c},...p&&{scope:p},...o&&{state:o},...h&&{suspendedId:h},...r&&r.query},...(r?.tree??m)&&{tree:r?.tree??m}};return await this.next(y,P)}static async start(t){return await n.next(void 0,t)}}module.exports=n; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts deleted file mode 100644 index 0e71a6eb2..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts +++ /dev/null @@ -1,74 +0,0 @@ -import { StepOptions } from '../config'; -import { default as FRLoginFailure } from './fr-login-failure'; -import { default as FRLoginSuccess } from './fr-login-success'; -import { default as FRStep } from './fr-step'; -/** - * Provides access to the OpenAM authentication tree API. - */ -declare abstract class FRAuth { - static get previousStepKey(): string; - /** - * Requests the next step in the authentication tree. - * - * Call `FRAuth.next()` recursively. At each step, check for session token or error, otherwise - * populate the step's callbacks and call `next()` again. - * - * Example: - * - * ```js - * async function nextStep(previousStep) { - * const thisStep = await FRAuth.next(previousStep); - * - * switch (thisStep.type) { - * case StepType.LoginSuccess: - * const token = thisStep.getSessionToken(); - * break; - * case StepType.LoginFailure: - * const detail = thisStep.getDetail(); - * break; - * case StepType.Step: - * // Populate `thisStep` callbacks here, and then continue - * thisStep.setInputValue('foo'); - * nextStep(thisStep); - * break; - * } - * } - * ``` - * - * @param previousStep The previous step with its callback values populated - * @param options Configuration overrides - * @return The next step in the authentication tree - */ - static next(previousStep?: FRStep, options?: StepOptions): Promise; - /** - * Redirects to the URL identified in the RedirectCallback and saves the full - * step information to localStorage for retrieval when user returns from login. - * - * Example: - * ```js - * forgerock.FRAuth.redirect(step); - * ``` - */ - static redirect(step: FRStep): void; - /** - * Resumes a tree after returning from an external client or provider. - * Requires the full URL of the current window. It will parse URL for - * key-value pairs as well as, if required, retrieves previous step. - * - * Example; - * ```js - * forgerock.FRAuth.resume(window.location.href) - * ``` - */ - static resume(url: string, options?: StepOptions): Promise; - /** - * Requests the first step in the authentication tree. - * This is essentially an alias to calling FRAuth.next without a previous step. - * - * @param options Configuration overrides - * @return The next step in the authentication tree - */ - static start(options?: StepOptions): Promise; -} -export default FRAuth; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts.map deleted file mode 100644 index f69ef4ce3..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fr-auth/index.ts"],"names":[],"mappings":"AAUA,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAIhD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B;;GAEG;AACH,uBAAe,MAAM;IACnB,WAAkB,eAAe,WAEhC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;WACiB,IAAI,CACtB,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,GAAG,cAAc,GAAG,cAAc,CAAC;IAkBpD;;;;;;;;OAQG;WACW,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQ1C;;;;;;;;;OASG;WACiB,MAAM,CACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,GAAG,cAAc,GAAG,cAAc,CAAC;IAwEpD;;;;;;OAMG;WACiB,KAAK,CACvB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,GAAG,cAAc,GAAG,cAAc,CAAC;CAGrD;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts deleted file mode 100644 index 0e71a6eb2..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { StepOptions } from '../config'; -import { default as FRLoginFailure } from './fr-login-failure'; -import { default as FRLoginSuccess } from './fr-login-success'; -import { default as FRStep } from './fr-step'; -/** - * Provides access to the OpenAM authentication tree API. - */ -declare abstract class FRAuth { - static get previousStepKey(): string; - /** - * Requests the next step in the authentication tree. - * - * Call `FRAuth.next()` recursively. At each step, check for session token or error, otherwise - * populate the step's callbacks and call `next()` again. - * - * Example: - * - * ```js - * async function nextStep(previousStep) { - * const thisStep = await FRAuth.next(previousStep); - * - * switch (thisStep.type) { - * case StepType.LoginSuccess: - * const token = thisStep.getSessionToken(); - * break; - * case StepType.LoginFailure: - * const detail = thisStep.getDetail(); - * break; - * case StepType.Step: - * // Populate `thisStep` callbacks here, and then continue - * thisStep.setInputValue('foo'); - * nextStep(thisStep); - * break; - * } - * } - * ``` - * - * @param previousStep The previous step with its callback values populated - * @param options Configuration overrides - * @return The next step in the authentication tree - */ - static next(previousStep?: FRStep, options?: StepOptions): Promise; - /** - * Redirects to the URL identified in the RedirectCallback and saves the full - * step information to localStorage for retrieval when user returns from login. - * - * Example: - * ```js - * forgerock.FRAuth.redirect(step); - * ``` - */ - static redirect(step: FRStep): void; - /** - * Resumes a tree after returning from an external client or provider. - * Requires the full URL of the current window. It will parse URL for - * key-value pairs as well as, if required, retrieves previous step. - * - * Example; - * ```js - * forgerock.FRAuth.resume(window.location.href) - * ``` - */ - static resume(url: string, options?: StepOptions): Promise; - /** - * Requests the first step in the authentication tree. - * This is essentially an alias to calling FRAuth.next without a previous step. - * - * @param options Configuration overrides - * @return The next step in the authentication tree - */ - static start(options?: StepOptions): Promise; -} -export default FRAuth; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts.map deleted file mode 100644 index f69ef4ce3..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fr-auth/index.ts"],"names":[],"mappings":"AAUA,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAIhD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B;;GAEG;AACH,uBAAe,MAAM;IACnB,WAAkB,eAAe,WAEhC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;WACiB,IAAI,CACtB,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,GAAG,cAAc,GAAG,cAAc,CAAC;IAkBpD;;;;;;;;OAQG;WACW,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQ1C;;;;;;;;;OASG;WACiB,MAAM,CACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,GAAG,cAAc,GAAG,cAAc,CAAC;IAwEpD;;;;;;OAMG;WACiB,KAAK,CACvB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,GAAG,cAAc,GAAG,cAAc,CAAC;CAGrD;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/index.js b/outputs/packages/javascript-sdk/dist/fr-auth/index.js deleted file mode 100644 index 89297b7cd..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/index.js +++ /dev/null @@ -1,128 +0,0 @@ -import v from "../config/index.js"; -import w from "../auth/index.js"; -import { CallbackType as x } from "../auth/enums.js"; -import I from "./fr-login-failure.js"; -import k from "./fr-login-success.js"; -import R from "./fr-step.js"; -class f { - static get previousStepKey() { - return `${v.get().prefix}-PreviousStep`; - } - /** - * Requests the next step in the authentication tree. - * - * Call `FRAuth.next()` recursively. At each step, check for session token or error, otherwise - * populate the step's callbacks and call `next()` again. - * - * Example: - * - * ```js - * async function nextStep(previousStep) { - * const thisStep = await FRAuth.next(previousStep); - * - * switch (thisStep.type) { - * case StepType.LoginSuccess: - * const token = thisStep.getSessionToken(); - * break; - * case StepType.LoginFailure: - * const detail = thisStep.getDetail(); - * break; - * case StepType.Step: - * // Populate `thisStep` callbacks here, and then continue - * thisStep.setInputValue('foo'); - * nextStep(thisStep); - * break; - * } - * } - * ``` - * - * @param previousStep The previous step with its callback values populated - * @param options Configuration overrides - * @return The next step in the authentication tree - */ - static async next(t, r) { - const e = await w.next(t ? t.payload : void 0, r); - if (e.authId) { - const a = r ? r.callbackFactory : void 0; - return new R(e, a); - } - return !e.authId && e.ok ? new k(e) : new I(e); - } - /** - * Redirects to the URL identified in the RedirectCallback and saves the full - * step information to localStorage for retrieval when user returns from login. - * - * Example: - * ```js - * forgerock.FRAuth.redirect(step); - * ``` - */ - static redirect(t) { - const e = t.getCallbackOfType(x.RedirectCallback).getRedirectUrl(); - localStorage.setItem(this.previousStepKey, JSON.stringify(t)), location.assign(e); - } - /** - * Resumes a tree after returning from an external client or provider. - * Requires the full URL of the current window. It will parse URL for - * key-value pairs as well as, if required, retrieves previous step. - * - * Example; - * ```js - * forgerock.FRAuth.resume(window.location.href) - * ``` - */ - static async resume(t, r) { - const e = new URL(t), a = e.searchParams.get("code"), n = e.searchParams.get("error"), i = e.searchParams.get("errorCode"), m = e.searchParams.get("errorMessage"), s = e.searchParams.get("form_post_entry"), l = e.searchParams.get("nonce"), u = e.searchParams.get("RelayState"), o = e.searchParams.get("responsekey"), d = e.searchParams.get("scope"), c = e.searchParams.get("state"), p = e.searchParams.get("suspendedId"), g = e.searchParams.get("authIndexValue") ?? void 0; - let h; - function S() { - return a && c || s || o; - } - if (S()) { - const y = localStorage.getItem(this.previousStepKey); - if (!y) - throw new Error("Error: could not retrieve original redirect information."); - try { - h = JSON.parse(y); - } catch { - throw new Error("Error: could not parse redirect params or step information"); - } - localStorage.removeItem(this.previousStepKey); - } - const P = { - ...r, - query: { - // Conditionally spread properties into object. Don't spread props with undefined/null. - ...a && { code: a }, - ...n && { error: n }, - ...i && { errorCode: i }, - ...m && { errorMessage: m }, - ...s && { form_post_entry: s }, - ...l && { nonce: l }, - ...u && { RelayState: u }, - ...o && { responsekey: o }, - ...d && { scope: d }, - ...c && { state: c }, - ...p && { suspendedId: p }, - // Allow developer to add or override params with their own. - ...r && r.query - }, - ...(r?.tree ?? g) && { - tree: r?.tree ?? g - } - }; - return await this.next(h, P); - } - /** - * Requests the first step in the authentication tree. - * This is essentially an alias to calling FRAuth.next without a previous step. - * - * @param options Configuration overrides - * @return The next step in the authentication tree - */ - static async start(t) { - return await f.next(void 0, t); - } -} -export { - f as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts b/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts deleted file mode 100644 index 43b93e2f9..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts +++ /dev/null @@ -1,15 +0,0 @@ -import { StepType } from './enums'; -/** - * Base interface for all types of authentication step responses. - */ -interface AuthResponse { - type: StepType; -} -/** - * Represents details of a failure in an authentication step. - */ -interface FailureDetail { - failureUrl?: string; -} -export type { AuthResponse, FailureDetail }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts.map deleted file mode 100644 index 03f607d2c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/fr-auth/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AACH,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,aAAa;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts b/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts deleted file mode 100644 index 43b93e2f9..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { StepType } from './enums'; -/** - * Base interface for all types of authentication step responses. - */ -interface AuthResponse { - type: StepType; -} -/** - * Represents details of a failure in an authentication step. - */ -interface FailureDetail { - failureUrl?: string; -} -export type { AuthResponse, FailureDetail }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts.map deleted file mode 100644 index 03f607d2c..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-auth/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/fr-auth/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AACH,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,aAAa;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/collector.cjs b/outputs/packages/javascript-sdk/dist/fr-device/collector.cjs deleted file mode 100644 index c73e7a699..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/collector.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";class r{reduceToObject(n,t){return n.reduce((e,o)=>{if(o.includes(".")){const l=o.split("."),s=l[0],i=l[1],d=t[s]&&t[s][i];e[i]=d??""}else e[o]=t[o]!=null?t[o]:null;return e},{})}reduceToString(n,t){return n.reduce((e,o)=>(e=`${e}${t[o].filename};`,e),"")}}module.exports=r; diff --git a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts b/outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts deleted file mode 100644 index 474fbdb70..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts +++ /dev/null @@ -1,21 +0,0 @@ -import { StringDict } from '../shared/interfaces'; -/** - * @class Collector - base class for FRDevice - * Generic collector functions for collecting a device profile attributes - */ -declare class Collector { - /** - * @method reduceToObject - goes one to two levels into source to collect attribute - * @param props - array of strings; can use dot notation for two level lookup - * @param src - source of attributes to check - */ - reduceToObject(props: string[], src: StringDict): StringDict; - /** - * @method reduceToString - goes one level into source to collect attribute - * @param props - array of strings - * @param src - source of attributes to check - */ - reduceToString(props: string[], src: any): string; -} -export default Collector; -//# sourceMappingURL=collector.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts.map deleted file mode 100644 index d16acf0ab..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../src/fr-device/collector.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,cAAM,SAAS;IACb;;;;OAIG;IAEH,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC;IAezE;;;;OAIG;IAEH,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM;CAMlD;AAED,eAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts b/outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts deleted file mode 100644 index 474fbdb70..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { StringDict } from '../shared/interfaces'; -/** - * @class Collector - base class for FRDevice - * Generic collector functions for collecting a device profile attributes - */ -declare class Collector { - /** - * @method reduceToObject - goes one to two levels into source to collect attribute - * @param props - array of strings; can use dot notation for two level lookup - * @param src - source of attributes to check - */ - reduceToObject(props: string[], src: StringDict): StringDict; - /** - * @method reduceToString - goes one level into source to collect attribute - * @param props - array of strings - * @param src - source of attributes to check - */ - reduceToString(props: string[], src: any): string; -} -export default Collector; -//# sourceMappingURL=collector.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts.map deleted file mode 100644 index d16acf0ab..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/collector.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../src/fr-device/collector.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,cAAM,SAAS;IACb;;;;OAIG;IAEH,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC;IAezE;;;;OAIG;IAEH,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM;CAMlD;AAED,eAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/collector.js b/outputs/packages/javascript-sdk/dist/fr-device/collector.js deleted file mode 100644 index 0ab24e8ae..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/collector.js +++ /dev/null @@ -1,30 +0,0 @@ -class p { - /** - * @method reduceToObject - goes one to two levels into source to collect attribute - * @param props - array of strings; can use dot notation for two level lookup - * @param src - source of attributes to check - */ - // eslint-disable-next-line - reduceToObject(n, t) { - return n.reduce((e, o) => { - if (o.includes(".")) { - const l = o.split("."), d = l[0], i = l[1], s = t[d] && t[d][i]; - e[i] = s ?? ""; - } else - e[o] = t[o] != null ? t[o] : null; - return e; - }, {}); - } - /** - * @method reduceToString - goes one level into source to collect attribute - * @param props - array of strings - * @param src - source of attributes to check - */ - // eslint-disable-next-line - reduceToString(n, t) { - return n.reduce((e, o) => (e = `${e}${t[o].filename};`, e), ""); - } -} -export { - p as default -}; diff --git a/outputs/packages/javascript-sdk/dist/fr-device/defaults.cjs b/outputs/packages/javascript-sdk/dist/fr-device/defaults.cjs deleted file mode 100644 index afef8f9ee..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/defaults.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=["userAgent","appName","appCodeName","appVersion","appMinorVersion","buildID","product","productSub","vendor","vendorSub","browserLanguage"],e=["fontNames","displayProps","browserProps","hardwareProps","platformProps"],a=30*1e3,r={mac:["Macintosh","MacIntel","MacPPC","Mac68K"],windows:["Win32","Win64","Windows","WinCE"],ios:["iPhone","iPad","iPod"]},s=["width","height","pixelDepth","orientation.angle"],n=["cursive","monospace","serif","sans-serif","fantasy","Arial","Arial Black","Arial Narrow","Arial Rounded MT Bold","Bookman Old Style","Bradley Hand ITC","Century","Century Gothic","Comic Sans MS","Courier","Courier New","Georgia","Gentium","Impact","King","Lucida Console","Lalit","Modena","Monotype Corsiva","Papyrus","Tahoma","TeX","Times","Times New Roman","Trebuchet MS","Verdana","Verona"],i=["cpuClass","deviceMemory","hardwareConcurrency","maxTouchPoints","oscpu"],t=["language","platform","userLanguage","systemLanguage"];exports.browserProps=o;exports.configurableCategories=e;exports.delay=a;exports.devicePlatforms=r;exports.displayProps=s;exports.fontNames=n;exports.hardwareProps=i;exports.platformProps=t; diff --git a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts b/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts deleted file mode 100644 index 3dccf9bb7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts +++ /dev/null @@ -1,14 +0,0 @@ -declare const browserProps: string[]; -declare const configurableCategories: string[]; -declare const delay: number; -declare const devicePlatforms: { - mac: string[]; - windows: string[]; - ios: string[]; -}; -declare const displayProps: string[]; -declare const fontNames: string[]; -declare const hardwareProps: string[]; -declare const platformProps: string[]; -export { browserProps, configurableCategories, delay, devicePlatforms, displayProps, fontNames, hardwareProps, platformProps, }; -//# sourceMappingURL=defaults.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts.map b/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts.map deleted file mode 100644 index f4a9263c6..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.cts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/fr-device/defaults.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,YAAY,UAYjB,CAAC;AACF,QAAA,MAAM,sBAAsB,UAM3B,CAAC;AACF,QAAA,MAAM,KAAK,QAAY,CAAC;AACxB,QAAA,MAAM,eAAe;;;;CAIpB,CAAC;AACF,QAAA,MAAM,YAAY,UAAyD,CAAC;AAC5E,QAAA,MAAM,SAAS,UAiCd,CAAC;AACF,QAAA,MAAM,aAAa,UAMlB,CAAC;AACF,QAAA,MAAM,aAAa,UAA6D,CAAC;AAEjF,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,KAAK,EACL,eAAe,EACf,YAAY,EACZ,SAAS,EACT,aAAa,EACb,aAAa,GACd,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts b/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts deleted file mode 100644 index 3dccf9bb7..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const browserProps: string[]; -declare const configurableCategories: string[]; -declare const delay: number; -declare const devicePlatforms: { - mac: string[]; - windows: string[]; - ios: string[]; -}; -declare const displayProps: string[]; -declare const fontNames: string[]; -declare const hardwareProps: string[]; -declare const platformProps: string[]; -export { browserProps, configurableCategories, delay, devicePlatforms, displayProps, fontNames, hardwareProps, platformProps, }; -//# sourceMappingURL=defaults.d.ts.map \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts.map b/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts.map deleted file mode 100644 index f4a9263c6..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/defaults.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/fr-device/defaults.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,YAAY,UAYjB,CAAC;AACF,QAAA,MAAM,sBAAsB,UAM3B,CAAC;AACF,QAAA,MAAM,KAAK,QAAY,CAAC;AACxB,QAAA,MAAM,eAAe;;;;CAIpB,CAAC;AACF,QAAA,MAAM,YAAY,UAAyD,CAAC;AAC5E,QAAA,MAAM,SAAS,UAiCd,CAAC;AACF,QAAA,MAAM,aAAa,UAMlB,CAAC;AACF,QAAA,MAAM,aAAa,UAA6D,CAAC;AAEjF,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,KAAK,EACL,eAAe,EACf,YAAY,EACZ,SAAS,EACT,aAAa,EACb,aAAa,GACd,CAAC"} \ No newline at end of file diff --git a/outputs/packages/javascript-sdk/dist/fr-device/defaults.js b/outputs/packages/javascript-sdk/dist/fr-device/defaults.js deleted file mode 100644 index 45cd98355..000000000 --- a/outputs/packages/javascript-sdk/dist/fr-device/defaults.js +++ /dev/null @@ -1,72 +0,0 @@ -const o = [ - "userAgent", - "appName", - "appCodeName", - "appVersion", - "appMinorVersion", - "buildID", - "product", - "productSub", - "vendor", - "vendorSub", - "browserLanguage" -], a = [ - "fontNames", - "displayProps", - "browserProps", - "hardwareProps", - "platformProps" -], e = 3e4, r = { - mac: ["Macintosh", "MacIntel", "MacPPC", "Mac68K"], - windows: ["Win32", "Win64", "Windows", "WinCE"], - ios: ["iPhone", "iPad", "iPod"] -}, n = ["width", "height", "pixelDepth", "orientation.angle"], s = [ - "cursive", - "monospace", - "serif", - "sans-serif", - "fantasy", - "Arial", - "Arial Black", - "Arial Narrow", - "Arial Rounded MT Bold", - "Bookman Old Style", - "Bradley Hand ITC", - "Century", - "Century Gothic", - "Comic Sans MS", - "Courier", - "Courier New", - "Georgia", - "Gentium", - "Impact", - "King", - "Lucida Console", - "Lalit", - "Modena", - "Monotype Corsiva", - "Papyrus", - "Tahoma", - "TeX", - "Times", - "Times New Roman", - "Trebuchet MS", - "Verdana", - "Verona" -], i = [ - "cpuClass", - "deviceMemory", - "hardwareConcurrency", - "maxTouchPoints", - "oscpu" -], t = ["language", "platform", "userLanguage", "systemLanguage"]; -export { - o as browserProps, - a as configurableCategories, - e as delay, - r as devicePlatforms, - n as displayProps, - s as fontNames, - i as hardwareProps, - t as platformProps -}; diff --git a/terminalOutput b/terminalOutput deleted file mode 100644 index 8ebb5a29c..000000000 --- a/terminalOutput +++ /dev/null @@ -1,18 +0,0 @@ -> vite build - -vite v5.4.8 building for production... -transforming... -✓ 3 modules transformed. -rendering chunks... - -[vite:dts] Start generate declaration files... -computing gzip size... -[vite:dts] Start rollup declaration files... -Analysis will use the bundled TypeScript version 5.4.2 -*** The target project appears to use TypeScript 5.5.3 which is newer than the bundled compiler engine; consider upgrading API Extractor. -[vite:dts] Declaration files built in 2054ms. - -dist/index.js  0.09 kB │ gzip: 0.09 kB -dist/lib/ping-protect.js  3.96 kB │ gzip: 1.11 kB -dist/lib/ping-signals-sdk.js 438.25 kB │ gzip: 90.13 kB -✓ built in 2.69s