@flosum/salesforce 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/axios-interceptors/auth.axios-interceptor.js +1 -0
- package/dist/cjs/axios-interceptors/proxy.axios-interceptor.js +1 -0
- package/dist/cjs/axios-interceptors/refresh-auth.interceptor.js +1 -0
- package/dist/cjs/axios-interceptors/retry.axios-interceptor.js +1 -0
- package/dist/cjs/classes/authorization-manager.fixture.js +1 -0
- package/dist/cjs/classes/authorization-manager.js +1 -0
- package/dist/cjs/classes/automation-process-manager/base-automation-process.js +1 -0
- package/dist/cjs/classes/automation-process-manager/flows-automation-process.fixtures.js +1 -0
- package/dist/cjs/classes/automation-process-manager/flows-automation-process.js +1 -0
- package/dist/cjs/classes/automation-process-manager/manager-automation-process.js +1 -0
- package/dist/cjs/classes/automation-process-manager/triggers-automation-process.fixtures.js +1 -0
- package/dist/cjs/classes/automation-process-manager/triggers-automation-process.js +1 -0
- package/dist/cjs/classes/automation-process-manager/validation-rules-automation-process.fixtures.js +1 -0
- package/dist/cjs/classes/automation-process-manager/validation-rules-automation-process.js +1 -0
- package/dist/cjs/classes/automation-process-manager/workflows-automation-process.fixtures.js +1 -0
- package/dist/cjs/classes/automation-process-manager/workflows-automation-process.js +1 -0
- package/dist/cjs/classes/clause-builder.js +1 -0
- package/dist/cjs/classes/declarative-filter-eval.js +1 -0
- package/dist/cjs/classes/deploy-data/base-bulk-v1-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/base-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/base-rest-binary-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/base-rest-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/binary-bulk-v1-deploy-data.fixtures.js +1 -0
- package/dist/cjs/classes/deploy-data/binary-bulk-v1-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/composite-binary-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/delete-bulk-v1-deploy-data.fixtures.js +1 -0
- package/dist/cjs/classes/deploy-data/delete-bulk-v1-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/rest-simple-deploy-data.fixtures.js +1 -0
- package/dist/cjs/classes/deploy-data/rest-simple-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/rest-sobject-binary-deploy-data.fixtures.js +1 -0
- package/dist/cjs/classes/deploy-data/rest-sobject-binary-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-data/simple-bulk-v1-deploy-data.fixtures.js +1 -0
- package/dist/cjs/classes/deploy-data/simple-bulk-v1-deploy-data.js +1 -0
- package/dist/cjs/classes/deploy-metadata/base.deploy.js +1 -0
- package/dist/cjs/classes/deploy-metadata/binary.deploy.js +1 -0
- package/dist/cjs/classes/deploy-metadata/default.deploy.js +1 -0
- package/dist/cjs/classes/deploy-metadata/parsers/base.deploy-preparer.js +1 -0
- package/dist/cjs/classes/deploy-metadata/parsers/composite.deploy-preparer.js +1 -0
- package/dist/cjs/classes/deploy-metadata/parsers/default.deploy-preparer.js +1 -0
- package/dist/cjs/classes/deploy-metadata/parsers/factory.deploy-preparer.js +1 -0
- package/dist/cjs/classes/error/bulk1-error.js +1 -0
- package/dist/cjs/classes/error/error-factory.js +1 -0
- package/dist/cjs/classes/error/rest-error.js +1 -0
- package/dist/cjs/classes/error/salesforce-deploy-metadata-error.js +1 -0
- package/dist/cjs/classes/error/soap-error.js +1 -0
- package/dist/cjs/classes/index.js +1 -0
- package/dist/cjs/classes/logger.js +1 -0
- package/dist/cjs/classes/pk-chunking.fixtures.js +1 -0
- package/dist/cjs/classes/pk-chunking.js +1 -0
- package/dist/cjs/classes/query-builder.js +1 -0
- package/dist/cjs/classes/retrieve-binary/apex-rest-retrieve-binary.js +1 -0
- package/dist/cjs/classes/retrieve-binary/base-retrieve-binary.js +1 -0
- package/dist/cjs/classes/retrieve-binary/rest-retrieve-binary.js +1 -0
- package/dist/cjs/classes/retrieve-data/base-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk1-custom-pk-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk1-pk-retrieve-data.fixtures.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk1-pk-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk1-retrieve-data.fixtures.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk1-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk2-retrieve-data.fixtures.js +1 -0
- package/dist/cjs/classes/retrieve-data/bulk2-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/custom-rest-retrieve-data.fixtures.js +1 -0
- package/dist/cjs/classes/retrieve-data/custom-rest-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/standard-rest-pk-limit-retrieve-data.fixtures.js +1 -0
- package/dist/cjs/classes/retrieve-data/standard-rest-pk-limit-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/standard-rest-pk-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-data/standard-rest-retrieve-data.fixtures.js +1 -0
- package/dist/cjs/classes/retrieve-data/standard-rest-retrieve-data.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/base.retrieve.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/full.retrieve.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/base-metadata.handler.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/bundle-metadata.handler.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/child-metadata.handler.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/default-metadata.handler.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/metadata-handler-factory.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/parent-metadata.handler.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/handlers/with-meta-xml-metadata.handler.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/base.folder.list-metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/base.list-metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/default.list-metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/folder-list.metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/manager.list-metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/parent.list-metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/record-types.list-metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/list-metadata/sub-folder-list.metadata.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/partial.retrieve.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/retrievers/base.retriever.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/retrievers/default.retriever.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/retrievers/read.retriever.js +1 -0
- package/dist/cjs/classes/retrieve-metadata/retrievers/retriever-manager.js +1 -0
- package/dist/cjs/classes/salesforce-error.class.js +1 -0
- package/dist/cjs/commands/index.js +1 -0
- package/dist/cjs/commands/sfdx/base-sfdx.command.js +1 -0
- package/dist/cjs/commands/sfdx/config-set-sfdx.command.js +1 -0
- package/dist/cjs/commands/sfdx/create-project-sfdx.command.js +1 -0
- package/dist/cjs/commands/sfdx/describe-metadata-sfdx.command.js +1 -0
- package/dist/cjs/commands/sfdx/list-metadata-sfdx.command.js +1 -0
- package/dist/cjs/commands/sfdx/source-retrieve-sfdx.command.js +1 -0
- package/dist/cjs/commands/soap/base-soap.command.js +1 -0
- package/dist/cjs/commands/soap/check-deploy-status-soap.command.js +1 -0
- package/dist/cjs/commands/soap/check-retrieve-status-soap.command.js +1 -0
- package/dist/cjs/commands/soap/deploy-soap-command.js +1 -0
- package/dist/cjs/commands/soap/deploy-soap-compose.js +1 -0
- package/dist/cjs/commands/soap/describe-metadata-soap.command.js +1 -0
- package/dist/cjs/commands/soap/list-metadata-soap.command.js +1 -0
- package/dist/cjs/commands/soap/list-metadata-soap.compose.js +1 -0
- package/dist/cjs/commands/soap/read-metadata-soap.command.js +1 -0
- package/dist/cjs/commands/soap/read-metadata-soap.compose.js +1 -0
- package/dist/cjs/commands/soap/retrieve-soap-command.js +1 -0
- package/dist/cjs/commands/soap/retrieve-soap.compose.js +1 -0
- package/dist/cjs/constants/bulk.constants.js +1 -0
- package/dist/cjs/constants/business-account-standard-fields.constants.js +1 -0
- package/dist/cjs/constants/composite.constants.js +1 -0
- package/dist/cjs/constants/custom-rest-body.constants.js +1 -0
- package/dist/cjs/constants/fields.constants.js +1 -0
- package/dist/cjs/constants/index.js +1 -0
- package/dist/cjs/constants/metadata.constants.js +1 -0
- package/dist/cjs/constants/person-account-standard-fields.constants.js +1 -0
- package/dist/cjs/constants/rest-query.constants.js +1 -0
- package/dist/cjs/constants/salesforce.constants.js +1 -0
- package/dist/cjs/constants/sfdx.constants.js +1 -0
- package/dist/cjs/constants/sobject.constants.js +1 -0
- package/dist/cjs/enums/bulk1.enums.js +1 -0
- package/dist/cjs/enums/bulk2.enums.js +1 -0
- package/dist/cjs/enums/declarative-filter.enums.js +1 -0
- package/dist/cjs/enums/deploy.metadata.enums.js +1 -0
- package/dist/cjs/enums/describe.enums.js +1 -0
- package/dist/cjs/enums/field-type.enum.js +1 -0
- package/dist/cjs/enums/index.js +1 -0
- package/dist/cjs/enums/organization-type.enum.js +1 -0
- package/dist/cjs/enums/query.enums.js +1 -0
- package/dist/cjs/enums/retreive.metadata.enums.js +1 -0
- package/dist/cjs/enums/soap.enums.js +1 -0
- package/dist/cjs/enums/type.metadata.enum.js +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/interfaces/axios-interceptor.interfaces.js +1 -0
- package/dist/cjs/interfaces/bulk1.interfaces.js +1 -0
- package/dist/cjs/interfaces/bulk2.interfaces.js +1 -0
- package/dist/cjs/interfaces/composite.interfaces.js +1 -0
- package/dist/cjs/interfaces/declarative-filter.interfaces.js +1 -0
- package/dist/cjs/interfaces/deploy.interfaces.js +1 -0
- package/dist/cjs/interfaces/describe.interfaces.js +1 -0
- package/dist/cjs/interfaces/index.js +1 -0
- package/dist/cjs/interfaces/internal/tooling-api.interfaces.js +1 -0
- package/dist/cjs/interfaces/knowledge.interfaces.js +1 -0
- package/dist/cjs/interfaces/limit.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/base.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/config.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/deploy-metadata.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/describe-metadata.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/list-metadata.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/logger.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/read-metadata.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/retrieve-metadata.interfaces.js +1 -0
- package/dist/cjs/interfaces/metadata/type.interfaces.js +1 -0
- package/dist/cjs/interfaces/query.interfaces.js +1 -0
- package/dist/cjs/interfaces/rest.interfaces.js +1 -0
- package/dist/cjs/interfaces/retrieve-binary.interfaces.js +1 -0
- package/dist/cjs/interfaces/retrieve.interfaces.js +1 -0
- package/dist/cjs/interfaces/token.interfaces.js +1 -0
- package/dist/cjs/services/apex-rest.service.js +1 -0
- package/dist/cjs/services/bulk1.service.js +1 -0
- package/dist/cjs/services/bulk2.service.js +1 -0
- package/dist/cjs/services/composite.service.js +1 -0
- package/dist/cjs/services/crud.service.js +1 -0
- package/dist/cjs/services/describe.service.js +1 -0
- package/dist/cjs/services/index.js +1 -0
- package/dist/cjs/services/knowledge.service.js +1 -0
- package/dist/cjs/services/limit.service.js +1 -0
- package/dist/cjs/services/oauth.service.js +1 -0
- package/dist/cjs/services/packages.service.js +1 -0
- package/dist/cjs/services/query.service.js +1 -0
- package/dist/cjs/services/rest.service.js +1 -0
- package/dist/cjs/utils/array.utils.js +1 -0
- package/dist/cjs/utils/axios-instance.utils.js +1 -0
- package/dist/cjs/utils/bulk.utils.js +1 -0
- package/dist/cjs/utils/describe.utils.js +1 -0
- package/dist/cjs/utils/field.utils.js +1 -0
- package/dist/cjs/utils/index.js +1 -0
- package/dist/cjs/utils/info.utils.js +1 -0
- package/dist/cjs/utils/object-utils.js +1 -0
- package/dist/cjs/utils/organization.utils.js +1 -0
- package/dist/cjs/utils/promise.utils.js +1 -0
- package/dist/cjs/utils/query.utils.js +1 -0
- package/dist/cjs/utils/rest-query.utils.js +1 -0
- package/dist/cjs/utils/salesforce.utils.js +1 -0
- package/dist/cjs/utils/sfdx.utils.js +1 -0
- package/dist/cjs/utils/sobject.utils.js +1 -0
- package/dist/cjs/utils/test.utils.js +1 -0
- package/dist/cjs/utils/timer.utils.js +1 -0
- package/dist/esm/index.mjs +206 -0
- package/dist/typings/axios-interceptors/auth.axios-interceptor.d.ts +8 -0
- package/dist/typings/axios-interceptors/proxy.axios-interceptor.d.ts +8 -0
- package/dist/typings/axios-interceptors/refresh-auth.interceptor.d.ts +8 -0
- package/dist/typings/axios-interceptors/retry.axios-interceptor.d.ts +21 -0
- package/dist/typings/classes/authorization-manager.d.ts +15 -0
- package/dist/typings/classes/authorization-manager.fixture.d.ts +4 -0
- package/dist/typings/classes/automation-process-manager/base-automation-process.d.ts +17 -0
- package/dist/typings/classes/automation-process-manager/flows-automation-process.d.ts +7 -0
- package/dist/typings/classes/automation-process-manager/flows-automation-process.fixtures.d.ts +23 -0
- package/dist/typings/classes/automation-process-manager/manager-automation-process.d.ts +27 -0
- package/dist/typings/classes/automation-process-manager/triggers-automation-process.d.ts +7 -0
- package/dist/typings/classes/automation-process-manager/triggers-automation-process.fixtures.d.ts +23 -0
- package/dist/typings/classes/automation-process-manager/validation-rules-automation-process.d.ts +7 -0
- package/dist/typings/classes/automation-process-manager/validation-rules-automation-process.fixtures.d.ts +23 -0
- package/dist/typings/classes/automation-process-manager/workflows-automation-process.d.ts +8 -0
- package/dist/typings/classes/automation-process-manager/workflows-automation-process.fixtures.d.ts +22 -0
- package/dist/typings/classes/clause-builder.d.ts +15 -0
- package/dist/typings/classes/declarative-filter-eval.d.ts +20 -0
- package/dist/typings/classes/deploy-data/base-bulk-v1-deploy-data.d.ts +16 -0
- package/dist/typings/classes/deploy-data/base-deploy-data.d.ts +12 -0
- package/dist/typings/classes/deploy-data/base-rest-binary-deploy-data.d.ts +6 -0
- package/dist/typings/classes/deploy-data/base-rest-deploy-data.d.ts +6 -0
- package/dist/typings/classes/deploy-data/binary-bulk-v1-deploy-data.d.ts +6 -0
- package/dist/typings/classes/deploy-data/binary-bulk-v1-deploy-data.fixtures.d.ts +62 -0
- package/dist/typings/classes/deploy-data/composite-binary-deploy-data.d.ts +7 -0
- package/dist/typings/classes/deploy-data/delete-bulk-v1-deploy-data.d.ts +6 -0
- package/dist/typings/classes/deploy-data/delete-bulk-v1-deploy-data.fixtures.d.ts +56 -0
- package/dist/typings/classes/deploy-data/rest-simple-deploy-data.d.ts +6 -0
- package/dist/typings/classes/deploy-data/rest-simple-deploy-data.fixtures.d.ts +12 -0
- package/dist/typings/classes/deploy-data/rest-sobject-binary-deploy-data.d.ts +7 -0
- package/dist/typings/classes/deploy-data/rest-sobject-binary-deploy-data.fixtures.d.ts +36 -0
- package/dist/typings/classes/deploy-data/simple-bulk-v1-deploy-data.d.ts +6 -0
- package/dist/typings/classes/deploy-data/simple-bulk-v1-deploy-data.fixtures.d.ts +58 -0
- package/dist/typings/classes/deploy-metadata/base.deploy.d.ts +13 -0
- package/dist/typings/classes/deploy-metadata/binary.deploy.d.ts +8 -0
- package/dist/typings/classes/deploy-metadata/default.deploy.d.ts +15 -0
- package/dist/typings/classes/deploy-metadata/parsers/base.deploy-preparer.d.ts +11 -0
- package/dist/typings/classes/deploy-metadata/parsers/composite.deploy-preparer.d.ts +22 -0
- package/dist/typings/classes/deploy-metadata/parsers/default.deploy-preparer.d.ts +10 -0
- package/dist/typings/classes/deploy-metadata/parsers/factory.deploy-preparer.d.ts +8 -0
- package/dist/typings/classes/error/bulk1-error.d.ts +5 -0
- package/dist/typings/classes/error/error-factory.d.ts +4 -0
- package/dist/typings/classes/error/rest-error.d.ts +11 -0
- package/dist/typings/classes/error/salesforce-deploy-metadata-error.d.ts +5 -0
- package/dist/typings/classes/error/soap-error.d.ts +5 -0
- package/dist/typings/classes/index.d.ts +36 -0
- package/dist/typings/classes/logger.d.ts +4 -0
- package/dist/typings/classes/pk-chunking.d.ts +12 -0
- package/dist/typings/classes/pk-chunking.fixtures.d.ts +5 -0
- package/dist/typings/classes/query-builder.d.ts +82 -0
- package/dist/typings/classes/retrieve-binary/apex-rest-retrieve-binary.d.ts +8 -0
- package/dist/typings/classes/retrieve-binary/base-retrieve-binary.d.ts +9 -0
- package/dist/typings/classes/retrieve-binary/rest-retrieve-binary.d.ts +7 -0
- package/dist/typings/classes/retrieve-data/base-retrieve-data.d.ts +12 -0
- package/dist/typings/classes/retrieve-data/bulk1-custom-pk-retrieve-data.d.ts +26 -0
- package/dist/typings/classes/retrieve-data/bulk1-pk-retrieve-data.d.ts +28 -0
- package/dist/typings/classes/retrieve-data/bulk1-pk-retrieve-data.fixtures.d.ts +38 -0
- package/dist/typings/classes/retrieve-data/bulk1-retrieve-data.d.ts +24 -0
- package/dist/typings/classes/retrieve-data/bulk1-retrieve-data.fixtures.d.ts +37 -0
- package/dist/typings/classes/retrieve-data/bulk2-retrieve-data.d.ts +19 -0
- package/dist/typings/classes/retrieve-data/bulk2-retrieve-data.fixtures.d.ts +8 -0
- package/dist/typings/classes/retrieve-data/custom-rest-retrieve-data.d.ts +12 -0
- package/dist/typings/classes/retrieve-data/custom-rest-retrieve-data.fixtures.d.ts +8 -0
- package/dist/typings/classes/retrieve-data/standard-rest-pk-limit-retrieve-data.d.ts +14 -0
- package/dist/typings/classes/retrieve-data/standard-rest-pk-limit-retrieve-data.fixtures.d.ts +6 -0
- package/dist/typings/classes/retrieve-data/standard-rest-pk-retrieve-data.d.ts +17 -0
- package/dist/typings/classes/retrieve-data/standard-rest-retrieve-data.d.ts +14 -0
- package/dist/typings/classes/retrieve-data/standard-rest-retrieve-data.fixtures.d.ts +6 -0
- package/dist/typings/classes/retrieve-metadata/base.retrieve.d.ts +16 -0
- package/dist/typings/classes/retrieve-metadata/full.retrieve.d.ts +4 -0
- package/dist/typings/classes/retrieve-metadata/handlers/base-metadata.handler.d.ts +11 -0
- package/dist/typings/classes/retrieve-metadata/handlers/bundle-metadata.handler.d.ts +5 -0
- package/dist/typings/classes/retrieve-metadata/handlers/child-metadata.handler.d.ts +7 -0
- package/dist/typings/classes/retrieve-metadata/handlers/default-metadata.handler.d.ts +5 -0
- package/dist/typings/classes/retrieve-metadata/handlers/metadata-handler-factory.d.ts +6 -0
- package/dist/typings/classes/retrieve-metadata/handlers/parent-metadata.handler.d.ts +7 -0
- package/dist/typings/classes/retrieve-metadata/handlers/with-meta-xml-metadata.handler.d.ts +5 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/base.folder.list-metadata.d.ts +20 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/base.list-metadata.d.ts +16 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/default.list-metadata.d.ts +15 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/folder-list.metadata.d.ts +16 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/manager.list-metadata.d.ts +13 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/parent.list-metadata.d.ts +18 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/record-types.list-metadata.d.ts +15 -0
- package/dist/typings/classes/retrieve-metadata/list-metadata/sub-folder-list.metadata.d.ts +5 -0
- package/dist/typings/classes/retrieve-metadata/partial.retrieve.d.ts +9 -0
- package/dist/typings/classes/retrieve-metadata/retrievers/base.retriever.d.ts +11 -0
- package/dist/typings/classes/retrieve-metadata/retrievers/default.retriever.d.ts +7 -0
- package/dist/typings/classes/retrieve-metadata/retrievers/read.retriever.d.ts +7 -0
- package/dist/typings/classes/retrieve-metadata/retrievers/retriever-manager.d.ts +21 -0
- package/dist/typings/classes/salesforce-error.class.d.ts +5 -0
- package/dist/typings/commands/index.d.ts +13 -0
- package/dist/typings/commands/sfdx/base-sfdx.command.d.ts +9 -0
- package/dist/typings/commands/sfdx/config-set-sfdx.command.d.ts +6 -0
- package/dist/typings/commands/sfdx/create-project-sfdx.command.d.ts +6 -0
- package/dist/typings/commands/sfdx/describe-metadata-sfdx.command.d.ts +6 -0
- package/dist/typings/commands/sfdx/list-metadata-sfdx.command.d.ts +6 -0
- package/dist/typings/commands/sfdx/source-retrieve-sfdx.command.d.ts +6 -0
- package/dist/typings/commands/soap/base-soap.command.d.ts +12 -0
- package/dist/typings/commands/soap/check-deploy-status-soap.command.d.ts +11 -0
- package/dist/typings/commands/soap/check-retrieve-status-soap.command.d.ts +11 -0
- package/dist/typings/commands/soap/deploy-soap-command.d.ts +12 -0
- package/dist/typings/commands/soap/deploy-soap-compose.d.ts +12 -0
- package/dist/typings/commands/soap/describe-metadata-soap.command.d.ts +11 -0
- package/dist/typings/commands/soap/list-metadata-soap.command.d.ts +11 -0
- package/dist/typings/commands/soap/list-metadata-soap.compose.d.ts +14 -0
- package/dist/typings/commands/soap/read-metadata-soap.command.d.ts +10 -0
- package/dist/typings/commands/soap/read-metadata-soap.compose.d.ts +14 -0
- package/dist/typings/commands/soap/retrieve-soap-command.d.ts +10 -0
- package/dist/typings/commands/soap/retrieve-soap.compose.d.ts +13 -0
- package/dist/typings/constants/bulk.constants.d.ts +5 -0
- package/dist/typings/constants/business-account-standard-fields.constants.d.ts +1 -0
- package/dist/typings/constants/composite.constants.d.ts +3 -0
- package/dist/typings/constants/custom-rest-body.constants.d.ts +3 -0
- package/dist/typings/constants/fields.constants.d.ts +3 -0
- package/dist/typings/constants/index.d.ts +11 -0
- package/dist/typings/constants/metadata.constants.d.ts +48 -0
- package/dist/typings/constants/person-account-standard-fields.constants.d.ts +1 -0
- package/dist/typings/constants/rest-query.constants.d.ts +3 -0
- package/dist/typings/constants/salesforce.constants.d.ts +51 -0
- package/dist/typings/constants/sfdx.constants.d.ts +4 -0
- package/dist/typings/constants/sobject.constants.d.ts +17 -0
- package/dist/typings/enums/bulk1.enums.d.ts +42 -0
- package/dist/typings/enums/bulk2.enums.d.ts +23 -0
- package/dist/typings/enums/declarative-filter.enums.d.ts +15 -0
- package/dist/typings/enums/deploy.metadata.enums.d.ts +20 -0
- package/dist/typings/enums/describe.enums.d.ts +5 -0
- package/dist/typings/enums/field-type.enum.d.ts +29 -0
- package/dist/typings/enums/index.d.ts +9 -0
- package/dist/typings/enums/organization-type.enum.d.ts +4 -0
- package/dist/typings/enums/query.enums.d.ts +4 -0
- package/dist/typings/enums/retreive.metadata.enums.d.ts +20 -0
- package/dist/typings/enums/soap.enums.d.ts +9 -0
- package/dist/typings/enums/type.metadata.enum.d.ts +120 -0
- package/dist/typings/index.d.ts +7 -0
- package/dist/typings/interfaces/axios-interceptor.interfaces.d.ts +4 -0
- package/dist/typings/interfaces/bulk1.interfaces.d.ts +52 -0
- package/dist/typings/interfaces/bulk2.interfaces.d.ts +36 -0
- package/dist/typings/interfaces/composite.interfaces.d.ts +11 -0
- package/dist/typings/interfaces/declarative-filter.interfaces.d.ts +6 -0
- package/dist/typings/interfaces/deploy.interfaces.d.ts +75 -0
- package/dist/typings/interfaces/describe.interfaces.d.ts +166 -0
- package/dist/typings/interfaces/index.d.ts +20 -0
- package/dist/typings/interfaces/internal/tooling-api.interfaces.d.ts +33 -0
- package/dist/typings/interfaces/knowledge.interfaces.d.ts +16 -0
- package/dist/typings/interfaces/limit.interfaces.d.ts +202 -0
- package/dist/typings/interfaces/metadata/base.interfaces.d.ts +25 -0
- package/dist/typings/interfaces/metadata/config.interfaces.d.ts +7 -0
- package/dist/typings/interfaces/metadata/deploy-metadata.interfaces.d.ts +109 -0
- package/dist/typings/interfaces/metadata/describe-metadata.interfaces.d.ts +42 -0
- package/dist/typings/interfaces/metadata/list-metadata.interfaces.d.ts +49 -0
- package/dist/typings/interfaces/metadata/logger.interfaces.d.ts +4 -0
- package/dist/typings/interfaces/metadata/read-metadata.interfaces.d.ts +27 -0
- package/dist/typings/interfaces/metadata/retrieve-metadata.interfaces.d.ts +95 -0
- package/dist/typings/interfaces/metadata/type.interfaces.d.ts +207 -0
- package/dist/typings/interfaces/query.interfaces.d.ts +6 -0
- package/dist/typings/interfaces/rest.interfaces.d.ts +4 -0
- package/dist/typings/interfaces/retrieve-binary.interfaces.d.ts +18 -0
- package/dist/typings/interfaces/retrieve.interfaces.d.ts +61 -0
- package/dist/typings/interfaces/token.interfaces.d.ts +13 -0
- package/dist/typings/services/apex-rest.service.d.ts +4 -0
- package/dist/typings/services/bulk1.service.d.ts +16 -0
- package/dist/typings/services/bulk2.service.d.ts +7 -0
- package/dist/typings/services/composite.service.d.ts +8 -0
- package/dist/typings/services/crud.service.d.ts +4 -0
- package/dist/typings/services/describe.service.d.ts +7 -0
- package/dist/typings/services/index.d.ts +12 -0
- package/dist/typings/services/knowledge.service.d.ts +6 -0
- package/dist/typings/services/limit.service.d.ts +5 -0
- package/dist/typings/services/oauth.service.d.ts +6 -0
- package/dist/typings/services/packages.service.d.ts +18 -0
- package/dist/typings/services/query.service.d.ts +6 -0
- package/dist/typings/services/rest.service.d.ts +8 -0
- package/dist/typings/utils/array.utils.d.ts +3 -0
- package/dist/typings/utils/axios-instance.utils.d.ts +6 -0
- package/dist/typings/utils/bulk.utils.d.ts +5 -0
- package/dist/typings/utils/describe.utils.d.ts +5 -0
- package/dist/typings/utils/field.utils.d.ts +26 -0
- package/dist/typings/utils/index.d.ts +12 -0
- package/dist/typings/utils/info.utils.d.ts +3 -0
- package/dist/typings/utils/object-utils.d.ts +4 -0
- package/dist/typings/utils/organization.utils.d.ts +4 -0
- package/dist/typings/utils/promise.utils.d.ts +3 -0
- package/dist/typings/utils/query.utils.d.ts +11 -0
- package/dist/typings/utils/rest-query.utils.d.ts +4 -0
- package/dist/typings/utils/salesforce.utils.d.ts +8 -0
- package/dist/typings/utils/sfdx.utils.d.ts +3 -0
- package/dist/typings/utils/sobject.utils.d.ts +29 -0
- package/dist/typings/utils/test.utils.d.ts +4 -0
- package/dist/typings/utils/timer.utils.d.ts +3 -0
- package/package.json +89 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x5520a2=_0x15e2;(function(_0x325074,_0x1b08e6){const _0x1243ab=_0x15e2,_0x371afe=_0x325074();while(!![]){try{const _0xd0500=parseInt(_0x1243ab(0x8c))/0x1+-parseInt(_0x1243ab(0x8a))/0x2*(parseInt(_0x1243ab(0x75))/0x3)+parseInt(_0x1243ab(0x7f))/0x4+parseInt(_0x1243ab(0x7a))/0x5+parseInt(_0x1243ab(0x8d))/0x6*(parseInt(_0x1243ab(0x8f))/0x7)+parseInt(_0x1243ab(0x8e))/0x8*(parseInt(_0x1243ab(0x81))/0x9)+parseInt(_0x1243ab(0x84))/0xa*(-parseInt(_0x1243ab(0x7d))/0xb);if(_0xd0500===_0x1b08e6)break;else _0x371afe['push'](_0x371afe['shift']());}catch(_0x2e2196){_0x371afe['push'](_0x371afe['shift']());}}}(_0x1701,0x2f94e));function _0x1701(){const _0x304fcb=['then','create','../classes/error/error-factory','3904YxZhqB','__esModule','113780ljJhOY','9534NypkQu','78680ZBsGQH','1631nLLTAC','sObjectCollections','value','defineProperty','597QLbOKO','__importDefault','default','apply','patch','1936830iAJYvz','/sobjects/','/services/data/v','220JbdRJT','done','495336MGPbib','throw','63JntLZa','__awaiter','next','240360hLmHJO','/composite/sobjects/','post'];_0x1701=function(){return _0x304fcb;};return _0x1701();}var __awaiter=this&&this[_0x5520a2(0x82)]||function(_0x7fbb75,_0x104573,_0x3457cc,_0x572083){function _0x4fc784(_0x1965fa){return _0x1965fa instanceof _0x3457cc?_0x1965fa:new _0x3457cc(function(_0x6af7b1){_0x6af7b1(_0x1965fa);});}return new(_0x3457cc||(_0x3457cc=Promise))(function(_0x2b7427,_0x1da95e){const _0x4a3507=_0x15e2;function _0x396267(_0x4a5ef5){const _0x3ed61d=_0x15e2;try{_0x1408fe(_0x572083[_0x3ed61d(0x83)](_0x4a5ef5));}catch(_0x3c86bd){_0x1da95e(_0x3c86bd);}}function _0x51e724(_0x23cee5){const _0x38f979=_0x15e2;try{_0x1408fe(_0x572083[_0x38f979(0x80)](_0x23cee5));}catch(_0x5d3a4b){_0x1da95e(_0x5d3a4b);}}function _0x1408fe(_0x575964){const _0x3453bf=_0x15e2;_0x575964[_0x3453bf(0x7e)]?_0x2b7427(_0x575964[_0x3453bf(0x91)]):_0x4fc784(_0x575964[_0x3453bf(0x91)])[_0x3453bf(0x87)](_0x396267,_0x51e724);}_0x1408fe((_0x572083=_0x572083[_0x4a3507(0x78)](_0x7fbb75,_0x104573||[]))[_0x4a3507(0x83)]());});},__importDefault=this&&this[_0x5520a2(0x76)]||function(_0x5d432f){const _0x295e18=_0x5520a2;return _0x5d432f&&_0x5d432f[_0x295e18(0x8b)]?_0x5d432f:{'default':_0x5d432f};};Object[_0x5520a2(0x74)](exports,_0x5520a2(0x8b),{'value':!![]});const error_factory_1=__importDefault(require(_0x5520a2(0x89)));function _0x15e2(_0x30e537,_0x22f598){const _0x1701dd=_0x1701();return _0x15e2=function(_0x15e228,_0x52ad82){_0x15e228=_0x15e228-0x74;let _0x322a23=_0x1701dd[_0x15e228];return _0x322a23;},_0x15e2(_0x30e537,_0x22f598);}class RestService{static['createSObject'](_0x43f66b,_0x15ff13,_0x57ad2b,_0x8f93e6,_0x228122){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x64f5a9=_0x15e2;try{const {data:_0x28e0b6}=yield _0x43f66b[_0x64f5a9(0x86)](_0x64f5a9(0x7c)+_0x228122+_0x64f5a9(0x7b)+_0x57ad2b,_0x8f93e6,_0x15ff13);return _0x28e0b6;}catch(_0x12632e){throw yield error_factory_1[_0x64f5a9(0x77)][_0x64f5a9(0x88)](_0x12632e);}});}static['patchSObject'](_0x2e5a96,_0x54e3b3,_0x85bb9f,_0x16361e,_0x1d1ab0,_0x3d5ea8){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5b2bec=_0x15e2;try{const {data:_0x72087d}=yield _0x2e5a96[_0x5b2bec(0x79)]('/services/data/v'+_0x3d5ea8+_0x5b2bec(0x7b)+_0x85bb9f+'/'+_0x16361e,_0x1d1ab0,_0x54e3b3);return _0x72087d;}catch(_0x145f22){throw yield error_factory_1[_0x5b2bec(0x77)][_0x5b2bec(0x88)](_0x145f22);}});}static[_0x5520a2(0x90)](_0x39b57c,_0x3106c7,_0xe33e49,_0x11ef37,_0x1d8d88,_0x8b8829){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x12b47b=_0x15e2;try{const {data:_0x4c0e49}=yield _0x39b57c[_0x12b47b(0x79)]('/services/data/v'+_0x1d8d88+_0x12b47b(0x85)+_0xe33e49+'/'+_0x11ef37,_0x8b8829,_0x3106c7);return _0x4c0e49;}catch(_0x4da8e1){throw yield error_factory_1[_0x12b47b(0x77)][_0x12b47b(0x88)](_0x4da8e1);}});}}exports[_0x5520a2(0x77)]=RestService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x374796=_0x80a6;function _0x80a6(_0x5e25ac,_0x1b7f43){const _0x555344=_0x5553();return _0x80a6=function(_0x80a6a,_0x1624ff){_0x80a6a=_0x80a6a-0x19a;let _0x539093=_0x555344[_0x80a6a];return _0x539093;},_0x80a6(_0x5e25ac,_0x1b7f43);}(function(_0x2e8ee0,_0x5d39fc){const _0x34e241=_0x80a6,_0x52585d=_0x2e8ee0();while(!![]){try{const _0x2d4b47=parseInt(_0x34e241(0x19d))/0x1*(parseInt(_0x34e241(0x1a8))/0x2)+parseInt(_0x34e241(0x1a3))/0x3+parseInt(_0x34e241(0x1a1))/0x4+parseInt(_0x34e241(0x19f))/0x5+-parseInt(_0x34e241(0x1a4))/0x6*(parseInt(_0x34e241(0x1a0))/0x7)+-parseInt(_0x34e241(0x19b))/0x8*(-parseInt(_0x34e241(0x19e))/0x9)+-parseInt(_0x34e241(0x1a5))/0xa;if(_0x2d4b47===_0x5d39fc)break;else _0x52585d['push'](_0x52585d['shift']());}catch(_0x46d090){_0x52585d['push'](_0x52585d['shift']());}}}(_0x5553,0xe6add));Object[_0x374796(0x1a6)](exports,'__esModule',{'value':!![]}),exports[_0x374796(0x19a)]=void 0x0;class ArrayUtils{static[_0x374796(0x1a2)](_0x28cb2e,_0x1bbbc8){const _0x2ec980=_0x374796;return _0x28cb2e[_0x2ec980(0x1a7)]((_0x17c8e8,_0x189c0c,_0x2aa50e)=>{const _0x9bb79e=_0x2ec980,_0x29d25d=Math['floor'](_0x2aa50e/_0x1bbbc8);if(!_0x17c8e8[_0x29d25d])_0x17c8e8[_0x29d25d]=[_0x189c0c];else _0x17c8e8[_0x29d25d][_0x9bb79e(0x19c)](_0x189c0c);return _0x17c8e8;},[]);}}function _0x5553(){const _0x595aff=['splitOnChunks','1775124BtiPIS','306660WWIeKk','36439990fGHmUy','defineProperty','reduce','1405988GOESIX','ArrayUtils','553544umiDgk','push','1yXjgCm','153KddwgT','8212615OQkUyB','56epihne','3536936ixRDXD'];_0x5553=function(){return _0x595aff;};return _0x5553();}exports[_0x374796(0x19a)]=ArrayUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x381cdb=_0x213e;(function(_0x3f05de,_0x55a8e6){const _0x47dd08=_0x213e,_0x3a81cf=_0x3f05de();while(!![]){try{const _0x33cb7a=-parseInt(_0x47dd08(0x94))/0x1*(-parseInt(_0x47dd08(0x98))/0x2)+-parseInt(_0x47dd08(0x91))/0x3*(parseInt(_0x47dd08(0xa1))/0x4)+-parseInt(_0x47dd08(0xa5))/0x5+-parseInt(_0x47dd08(0xa8))/0x6*(parseInt(_0x47dd08(0xa0))/0x7)+-parseInt(_0x47dd08(0x97))/0x8+-parseInt(_0x47dd08(0xa6))/0x9+parseInt(_0x47dd08(0x90))/0xa*(parseInt(_0x47dd08(0x9f))/0xb);if(_0x33cb7a===_0x55a8e6)break;else _0x3a81cf['push'](_0x3a81cf['shift']());}catch(_0x242c76){_0x3a81cf['push'](_0x3a81cf['shift']());}}}(_0x22e2,0x2a154));var __awaiter=this&&this[_0x381cdb(0x96)]||function(_0x30d8b9,_0x4e5499,_0x4a9466,_0xdeea46){function _0x1874a6(_0x4c55e3){return _0x4c55e3 instanceof _0x4a9466?_0x4c55e3:new _0x4a9466(function(_0x4c084e){_0x4c084e(_0x4c55e3);});}return new(_0x4a9466||(_0x4a9466=Promise))(function(_0x3e94d4,_0x4e2c11){const _0x4832fc=_0x213e;function _0x1c392f(_0xe950a7){try{_0x126951(_0xdeea46['next'](_0xe950a7));}catch(_0x101d8b){_0x4e2c11(_0x101d8b);}}function _0x5871c5(_0x2d3f03){const _0x22d5bf=_0x213e;try{_0x126951(_0xdeea46[_0x22d5bf(0x9c)](_0x2d3f03));}catch(_0x3b66dd){_0x4e2c11(_0x3b66dd);}}function _0x126951(_0x1f41be){const _0x16389b=_0x213e;_0x1f41be[_0x16389b(0xa3)]?_0x3e94d4(_0x1f41be[_0x16389b(0xa2)]):_0x1874a6(_0x1f41be[_0x16389b(0xa2)])[_0x16389b(0x9d)](_0x1c392f,_0x5871c5);}_0x126951((_0xdeea46=_0xdeea46[_0x4832fc(0x9e)](_0x30d8b9,_0x4e5499||[]))['next']());});},__importDefault=this&&this[_0x381cdb(0x9a)]||function(_0x252ef8){const _0x14eea3=_0x381cdb;return _0x252ef8&&_0x252ef8[_0x14eea3(0x99)]?_0x252ef8:{'default':_0x252ef8};};Object[_0x381cdb(0x93)](exports,_0x381cdb(0x99),{'value':!![]});function _0x22e2(){const _0x352941=['apply','11HzNQry','14XGVVmP','284FhSfhY','value','done','../axios-interceptors/auth.axios-interceptor','775495OpacZc','1973943wPyTvS','init','707934OSxQQO','default','../axios-interceptors/proxy.axios-interceptor','8164670pZzjcG','2613uIGzWQ','create','defineProperty','851CanecD','axios','__awaiter','1347448gLdxJk','462GCEAdS','__esModule','__importDefault','../axios-interceptors/refresh-auth.interceptor','throw','then'];_0x22e2=function(){return _0x352941;};return _0x22e2();}function _0x213e(_0x2227e7,_0x3b2178){const _0x22e2df=_0x22e2();return _0x213e=function(_0x213efa,_0x11705b){_0x213efa=_0x213efa-0x90;let _0xe346b8=_0x22e2df[_0x213efa];return _0xe346b8;},_0x213e(_0x2227e7,_0x3b2178);}const axios_1=__importDefault(require(_0x381cdb(0x95))),retry_axios_interceptor_1=__importDefault(require('../axios-interceptors/retry.axios-interceptor')),proxy_axios_interceptor_1=__importDefault(require(_0x381cdb(0xaa))),auth_axios_interceptor_1=__importDefault(require(_0x381cdb(0xa4))),refresh_auth_interceptor_1=__importDefault(require(_0x381cdb(0x9b)));class AxiosInstanceUtils{static[_0x381cdb(0x92)](_0x44135a,_0x2a30a4=[],_0x376b65={},_0x5d8dbe=[]){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b5bbe=_0x213e,_0x173371=axios_1[_0x3b5bbe(0xa9)][_0x3b5bbe(0x92)](_0x376b65);for(const _0x586547 of[new retry_axios_interceptor_1[(_0x3b5bbe(0xa9))](_0x5d8dbe),new proxy_axios_interceptor_1[(_0x3b5bbe(0xa9))](),new auth_axios_interceptor_1['default'](_0x44135a),new refresh_auth_interceptor_1[(_0x3b5bbe(0xa9))](_0x44135a),..._0x2a30a4]){yield _0x586547[_0x3b5bbe(0xa7)](_0x173371);}return _0x173371;});}}exports[_0x381cdb(0xa9)]=AxiosInstanceUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x758d(){const _0x37f9be=['UNSUPPORTED_OBJECTS','9000FakFdz','isFeedEntity','../constants/bulk.constants','8038755LBYtGV','1272VGEDAL','default','3116120kvMYgV','isSupport','1662498WTXLdj','10ybedOb','isSupportPk','includes','1755512odAGQO','isShareEntity','./sobject.utils','48264FytxNV','5yPxyza','647484Xjpklt','__esModule','__importDefault','SUPPORTED_OBJECTS'];_0x758d=function(){return _0x37f9be;};return _0x758d();}const _0x1e13f2=_0xab08;(function(_0xe8c249,_0x342a72){const _0x1a9e92=_0xab08,_0x365c3e=_0xe8c249();while(!![]){try{const _0x2be529=-parseInt(_0x1a9e92(0x1d7))/0x1*(-parseInt(_0x1a9e92(0x1d6))/0x2)+-parseInt(_0x1a9e92(0x1cf))/0x3+parseInt(_0x1a9e92(0x1cb))/0x4*(-parseInt(_0x1a9e92(0x1c7))/0x5)+-parseInt(_0x1a9e92(0x1d8))/0x6+parseInt(_0x1a9e92(0x1cd))/0x7+parseInt(_0x1a9e92(0x1d3))/0x8+parseInt(_0x1a9e92(0x1ca))/0x9*(parseInt(_0x1a9e92(0x1d0))/0xa);if(_0x2be529===_0x342a72)break;else _0x365c3e['push'](_0x365c3e['shift']());}catch(_0x377be5){_0x365c3e['push'](_0x365c3e['shift']());}}}(_0x758d,0x6c646));var __importDefault=this&&this[_0x1e13f2(0x1da)]||function(_0x208933){const _0x4cd400=_0x1e13f2;return _0x208933&&_0x208933[_0x4cd400(0x1d9)]?_0x208933:{'default':_0x208933};};Object['defineProperty'](exports,_0x1e13f2(0x1d9),{'value':!![]});const bulk_constants_1=__importDefault(require(_0x1e13f2(0x1c9))),sobject_utils_1=__importDefault(require(_0x1e13f2(0x1d5)));function _0xab08(_0x4709cb,_0x2ab0f7){const _0x758d11=_0x758d();return _0xab08=function(_0xab089,_0x1a608c){_0xab089=_0xab089-0x1c5;let _0x1856ae=_0x758d11[_0xab089];return _0x1856ae;},_0xab08(_0x4709cb,_0x2ab0f7);}class BulkUtils{static[_0x1e13f2(0x1ce)]({keyPrefix:_0x54d318,name:_0x5e3e65,associateEntityType:_0x55ff70}){const _0x29ce87=_0x1e13f2;return _0x54d318&&!bulk_constants_1['default'][_0x29ce87(0x1c6)]['includes'](_0x5e3e65)||bulk_constants_1[_0x29ce87(0x1cc)][_0x29ce87(0x1c5)][_0x29ce87(0x1d2)](_0x5e3e65)||sobject_utils_1[_0x29ce87(0x1cc)][_0x29ce87(0x1c8)](_0x55ff70)||sobject_utils_1[_0x29ce87(0x1cc)][_0x29ce87(0x1d4)](_0x55ff70)||sobject_utils_1[_0x29ce87(0x1cc)]['isHistoryEntity'](_0x55ff70);}static[_0x1e13f2(0x1d1)]({name:_0x11730c,custom:_0x50af82}){const _0x459995=_0x1e13f2;if(_0x50af82)return!![];return bulk_constants_1[_0x459995(0x1cc)]['PK_SUPPORT_STANDARD_OBJECTS'][_0x459995(0x1d2)](_0x11730c);}}exports['default']=BulkUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var _0x4e6ef7=_0x3f06;(function(_0x1a9604,_0x27db87){var _0x3ebb1a=_0x3f06,_0x14fe74=_0x1a9604();while(!![]){try{var _0x5acfb6=-parseInt(_0x3ebb1a(0x1b5))/0x1*(-parseInt(_0x3ebb1a(0x1b4))/0x2)+parseInt(_0x3ebb1a(0x1c3))/0x3*(parseInt(_0x3ebb1a(0x1b9))/0x4)+-parseInt(_0x3ebb1a(0x1be))/0x5*(parseInt(_0x3ebb1a(0x1b7))/0x6)+-parseInt(_0x3ebb1a(0x1c2))/0x7*(-parseInt(_0x3ebb1a(0x1c5))/0x8)+-parseInt(_0x3ebb1a(0x1bf))/0x9*(parseInt(_0x3ebb1a(0x1bd))/0xa)+parseInt(_0x3ebb1a(0x1b8))/0xb+-parseInt(_0x3ebb1a(0x1ba))/0xc;if(_0x5acfb6===_0x27db87)break;else _0x14fe74['push'](_0x14fe74['shift']());}catch(_0x300f59){_0x14fe74['push'](_0x14fe74['shift']());}}}(_0x16c1,0x455dc));function _0x3f06(_0xf2242,_0x42e31a){var _0x16c1e4=_0x16c1();return _0x3f06=function(_0x3f0658,_0x9d2c7a){_0x3f0658=_0x3f0658-0x1b4;var _0x36c956=_0x16c1e4[_0x3f0658];return _0x36c956;},_0x3f06(_0xf2242,_0x42e31a);}Object[_0x4e6ef7(0x1c4)](exports,'__esModule',{'value':!![]});class DescribeUtils{static[_0x4e6ef7(0x1bc)](_0x577bad,_0x35521d){return!_0x577bad&&!_0x35521d;}static[_0x4e6ef7(0x1b6)](_0x112b9b){var _0x237059=_0x4e6ef7;if(_0x112b9b[_0x237059(0x1c0)])return 0x2;if(_0x112b9b[_0x237059(0x1c1)])return 0x0;return 0x1;}}function _0x16c1(){var _0x4fa622=['defineProperty','307864ZUYlsY','226rJXaOt','275jmjDaF','calculateFilesCount','676272zApZST','3447114AYsxul','4xBBuEe','3447132dzELpI','default','isRequiredField','10BiwaEu','15rOfXdi','4003119prSAeS','metaFile','parentXmlName','98oPbeLA','1413303nwqVNM'];_0x16c1=function(){return _0x4fa622;};return _0x16c1();}exports[_0x4e6ef7(0x1bb)]=DescribeUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x18c8(){const _0x5888a5=['keys','Account','2032694luNxqI','map','subRequestQuery','isBusinessAccount','4020936vcMcdX','Name','add','set','isPersonAccount','51416BlVmVp','../services/composite.service','next','2454354dFgHaB','message','getIdsByObjectName','__Length__s','then','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20Id\x20IN\x20(\x27','isReference','7yiUqfn','1198056fDjXAb','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SELECT\x20Id\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20','errorCode','address','records','reference','join','isCompound','PERSON_ACCOUNT_STANDARD_FIELDS','default','BUSINESS_ACCOUNT_STANDARD_FIELDS','12bVsIwO','__importDefault','@flosum-service/utils','includes','push','../constants/salesforce.constants','BINARY_LENGTH_FIELDS','ArrayUtils','../classes/salesforce-error.class','MAX_SUB_REQUESTS_QUERY','done','reduce','splitOnChunks','has','getBodyLengthField','../constants/composite.constants','5BroPBN','746198zdEPXE','replace','get','13412440gRfnTM','location','Knowledge__kav','value','__esModule','throw','endsWith'];_0x18c8=function(){return _0x5888a5;};return _0x18c8();}const _0x1938f3=_0x5a7e;(function(_0x41d524,_0xddd9fa){const _0xe66a01=_0x5a7e,_0x2bd005=_0x41d524();while(!![]){try{const _0x19a48f=parseInt(_0xe66a01(0x1b2))/0x1+parseInt(_0xe66a01(0x1be))/0x2+-parseInt(_0xe66a01(0x1d2))/0x3*(-parseInt(_0xe66a01(0x1a1))/0x4)+-parseInt(_0xe66a01(0x1b1))/0x5*(parseInt(_0xe66a01(0x1c2))/0x6)+parseInt(_0xe66a01(0x1d1))/0x7*(parseInt(_0xe66a01(0x1c7))/0x8)+-parseInt(_0xe66a01(0x1ca))/0x9+-parseInt(_0xe66a01(0x1b5))/0xa;if(_0x19a48f===_0xddd9fa)break;else _0x2bd005['push'](_0x2bd005['shift']());}catch(_0x2fd578){_0x2bd005['push'](_0x2bd005['shift']());}}}(_0x18c8,0xa6baa));var __awaiter=this&&this['__awaiter']||function(_0x432c6d,_0x2fe5dd,_0x1c1072,_0x13e1fe){function _0x3f16df(_0x4a88f9){return _0x4a88f9 instanceof _0x1c1072?_0x4a88f9:new _0x1c1072(function(_0x47bb3a){_0x47bb3a(_0x4a88f9);});}return new(_0x1c1072||(_0x1c1072=Promise))(function(_0x5576b6,_0x163051){const _0x291376=_0x5a7e;function _0x4f6c5e(_0x18b8c5){const _0xc661c8=_0x5a7e;try{_0x8a94ce(_0x13e1fe[_0xc661c8(0x1c9)](_0x18b8c5));}catch(_0x4e34ac){_0x163051(_0x4e34ac);}}function _0x457076(_0x2bec05){const _0x1c1568=_0x5a7e;try{_0x8a94ce(_0x13e1fe[_0x1c1568(0x1ba)](_0x2bec05));}catch(_0x51e7e6){_0x163051(_0x51e7e6);}}function _0x8a94ce(_0x19a561){const _0x65c768=_0x5a7e;_0x19a561[_0x65c768(0x1ab)]?_0x5576b6(_0x19a561[_0x65c768(0x1b8)]):_0x3f16df(_0x19a561[_0x65c768(0x1b8)])[_0x65c768(0x1ce)](_0x4f6c5e,_0x457076);}_0x8a94ce((_0x13e1fe=_0x13e1fe['apply'](_0x432c6d,_0x2fe5dd||[]))[_0x291376(0x1c9)]());});},__importDefault=this&&this[_0x1938f3(0x1a2)]||function(_0x2750a5){const _0x447c63=_0x1938f3;return _0x2750a5&&_0x2750a5[_0x447c63(0x1b9)]?_0x2750a5:{'default':_0x2750a5};};Object['defineProperty'](exports,_0x1938f3(0x1b9),{'value':!![]});const salesforce_constants_1=__importDefault(require(_0x1938f3(0x1a6))),utils_1=require(_0x1938f3(0x1a3)),composite_service_1=__importDefault(require(_0x1938f3(0x1c8))),composite_constants_1=__importDefault(require(_0x1938f3(0x1b0))),salesforce_error_class_1=__importDefault(require(_0x1938f3(0x1a9)));function _0x5a7e(_0x9606b9,_0x4da518){const _0x18c8e3=_0x18c8();return _0x5a7e=function(_0x5a7e61,_0x23e3df){_0x5a7e61=_0x5a7e61-0x19d;let _0x13aad8=_0x18c8e3[_0x5a7e61];return _0x13aad8;},_0x5a7e(_0x9606b9,_0x4da518);}class FieldUtils{static[_0x1938f3(0x1c6)](_0x400013){const _0x2e9eac=_0x1938f3;return salesforce_constants_1[_0x2e9eac(0x19f)][_0x2e9eac(0x19e)][_0x2e9eac(0x1a4)](_0x400013)||_0x400013[_0x2e9eac(0x1bb)]('__pc');}static[_0x1938f3(0x1c1)](_0x1ba56c){const _0x10bc04=_0x1938f3;return salesforce_constants_1[_0x10bc04(0x19f)][_0x10bc04(0x1a0)][_0x10bc04(0x1a4)](_0x1ba56c);}static[_0x1938f3(0x1d0)](_0x2c8e6f,_0x11a048){const _0x18e377=_0x1938f3;return _0x2c8e6f===_0x18e377(0x1d7)||_0x11a048===0x0;}static[_0x1938f3(0x1af)](_0x9234a1,_0x1aa9e6){const _0x401b07=_0x1938f3;if(_0x9234a1===_0x401b07(0x1b7))return _0x1aa9e6[_0x401b07(0x1b3)]('__Body__s',_0x401b07(0x1cd));if(salesforce_constants_1[_0x401b07(0x19f)][_0x401b07(0x1a7)][_0x9234a1])return salesforce_constants_1['default']['BINARY_LENGTH_FIELDS'][_0x9234a1];throw new Error('Binary\x20field\x20size\x20field\x20not\x20found.');}static['isBodyLengthField'](_0x3d95b6,_0x27fdaf){const _0x4c973a=_0x1938f3;if(_0x3d95b6==='Knowledge__kav')return _0x27fdaf[_0x4c973a(0x1bb)]('__Length__s');if(salesforce_constants_1[_0x4c973a(0x19f)]['BINARY_LENGTH_FIELDS'][_0x3d95b6])return salesforce_constants_1[_0x4c973a(0x19f)]['BINARY_LENGTH_FIELDS'][_0x3d95b6]===_0x27fdaf;return![];}static[_0x1938f3(0x19d)](_0x4a8d43){const _0x27d695=_0x1938f3;return _0x4a8d43===_0x27d695(0x1d5)||_0x4a8d43===_0x27d695(0x1b6);}static['getCompound']({fields:_0x3fadcf,name:_0x6d59fd}){const _0x5e2065=_0x1938f3;return _0x3fadcf[_0x5e2065(0x1ac)]((_0x2318f3,{compoundFieldName:_0xe4ad9})=>{const _0xf1f161=_0x5e2065;return _0xe4ad9&&(_0x6d59fd!==_0xf1f161(0x1bd)||_0xe4ad9!==_0xf1f161(0x1c3))&&_0x2318f3[_0xf1f161(0x1c4)](_0xe4ad9),_0x2318f3;},new Set());}static['getExistId'](_0x5c6e6e,_0x6804a1,_0x553d6b,_0x4d4b57){var _0x501efe,_0x608823;return __awaiter(this,void 0x0,void 0x0,function*(){const _0xb1bd64=_0x5a7e,_0x4239b5=0x1f4,_0x3d4159=FieldUtils['getIdsByObjectName'](_0x553d6b,_0x4d4b57),_0x484fe2=[..._0x3d4159[_0xb1bd64(0x1bc)]()][_0xb1bd64(0x1ac)]((_0x16c57f,_0x29e643)=>{const _0x3f5f16=_0xb1bd64,_0x111479=utils_1[_0x3f5f16(0x1a8)][_0x3f5f16(0x1ad)](_0x3d4159['get'](_0x29e643),_0x4239b5),_0x6fdd59=_0x111479[_0x3f5f16(0x1bf)]((_0x52f650,_0x2d235c)=>{const _0x20c776=_0x3f5f16,_0x3a4874=_0x20c776(0x1d3)+_0x29e643+_0x20c776(0x1cf)+_0x52f650[_0x20c776(0x1d8)]('\x27,\x27')+'\x27)';return composite_service_1['default'][_0x20c776(0x1c0)](_0x29e643+'_'+_0x2d235c,_0x3a4874,_0x6804a1);});return _0x16c57f[_0x3f5f16(0x1a5)](..._0x6fdd59),_0x16c57f;},[]),_0x13d05d=[];for(const _0x1950ac of utils_1[_0xb1bd64(0x1a8)][_0xb1bd64(0x1ad)](_0x484fe2,composite_constants_1[_0xb1bd64(0x19f)][_0xb1bd64(0x1aa)])){const _0x5784d6=yield composite_service_1[_0xb1bd64(0x19f)]['composite'](_0x5c6e6e,{},_0x1950ac,!![],_0x6804a1);for(const {httpStatusCode:_0xeac60c,body:_0x1544ca}of _0x5784d6){if(_0xeac60c!==0xc8)throw new salesforce_error_class_1[(_0xb1bd64(0x19f))](((_0x501efe=_0x1544ca['at'](0x0))===null||_0x501efe===void 0x0?void 0x0:_0x501efe[_0xb1bd64(0x1cb)])||JSON['stringify'](_0x1544ca),((_0x608823=_0x1544ca['at'](0x0))===null||_0x608823===void 0x0?void 0x0:_0x608823[_0xb1bd64(0x1d4)])||null);for(const {Id:_0x262eaf}of _0x1544ca[_0xb1bd64(0x1d6)]){_0x13d05d[_0xb1bd64(0x1a5)](_0x262eaf);}}}return _0x13d05d;});}static[_0x1938f3(0x1cc)](_0x4dd447,_0x14a803){const _0x469ffe=_0x1938f3;return _0x14a803[_0x469ffe(0x1ac)]((_0x515340,_0x57f514)=>{const _0x28631d=_0x469ffe,_0x1d29e5=_0x57f514['substring'](0x0,0x3);if(!_0x4dd447[_0x28631d(0x1ae)](_0x1d29e5))return _0x515340;const _0xfea410=_0x4dd447[_0x28631d(0x1b4)](_0x1d29e5);return!_0x515340[_0x28631d(0x1ae)](_0xfea410)&&_0x515340[_0x28631d(0x1c5)](_0xfea410,[]),_0x515340[_0x28631d(0x1b4)](_0xfea410)[_0x28631d(0x1a5)](_0x57f514),_0x515340;},new Map());}}exports[_0x1938f3(0x19f)]=FieldUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x50dbe9=_0xeff7;(function(_0xe0b8a6,_0x271245){const _0x6d278f=_0xeff7,_0xc3c140=_0xe0b8a6();while(!![]){try{const _0x1e3f4e=parseInt(_0x6d278f(0x148))/0x1*(parseInt(_0x6d278f(0x14c))/0x2)+-parseInt(_0x6d278f(0x151))/0x3*(parseInt(_0x6d278f(0x13a))/0x4)+parseInt(_0x6d278f(0x138))/0x5+-parseInt(_0x6d278f(0x137))/0x6+parseInt(_0x6d278f(0x136))/0x7*(parseInt(_0x6d278f(0x131))/0x8)+parseInt(_0x6d278f(0x132))/0x9+parseInt(_0x6d278f(0x141))/0xa*(parseInt(_0x6d278f(0x135))/0xb);if(_0x1e3f4e===_0x271245)break;else _0xc3c140['push'](_0xc3c140['shift']());}catch(_0x387e5c){_0xc3c140['push'](_0xc3c140['shift']());}}}(_0x3dd6,0x8fb6b));var __importDefault=this&&this[_0x50dbe9(0x14a)]||function(_0x58fa27){return _0x58fa27&&_0x58fa27['__esModule']?_0x58fa27:{'default':_0x58fa27};};Object[_0x50dbe9(0x146)](exports,_0x50dbe9(0x13e),{'value':!![]}),exports[_0x50dbe9(0x145)]=exports[_0x50dbe9(0x14b)]=exports[_0x50dbe9(0x152)]=exports['QueryUtils']=exports[_0x50dbe9(0x14f)]=exports[_0x50dbe9(0x149)]=exports['BulkUtils']=exports[_0x50dbe9(0x14e)]=exports[_0x50dbe9(0x134)]=exports[_0x50dbe9(0x14d)]=exports['SObjectUtils']=void 0x0;const sobject_utils_1=__importDefault(require(_0x50dbe9(0x13c)));exports['SObjectUtils']=sobject_utils_1[_0x50dbe9(0x150)];const field_utils_1=__importDefault(require(_0x50dbe9(0x13d)));exports[_0x50dbe9(0x14d)]=field_utils_1[_0x50dbe9(0x150)];const axios_instance_utils_1=__importDefault(require(_0x50dbe9(0x140)));exports[_0x50dbe9(0x134)]=axios_instance_utils_1[_0x50dbe9(0x150)];const salesforce_utils_1=__importDefault(require(_0x50dbe9(0x147)));exports['SalesforceUtils']=salesforce_utils_1['default'];const bulk_utils_1=__importDefault(require(_0x50dbe9(0x142)));exports[_0x50dbe9(0x13b)]=bulk_utils_1[_0x50dbe9(0x150)];const rest_query_utils_1=__importDefault(require(_0x50dbe9(0x139)));exports[_0x50dbe9(0x149)]=rest_query_utils_1[_0x50dbe9(0x150)];function _0xeff7(_0x57531e,_0x5c48d6){const _0x3dd6d8=_0x3dd6();return _0xeff7=function(_0xeff747,_0x1e26e0){_0xeff747=_0xeff747-0x131;let _0x2d686b=_0x3dd6d8[_0xeff747];return _0x2d686b;},_0xeff7(_0x57531e,_0x5c48d6);}const sfdx_utils_1=__importDefault(require(_0x50dbe9(0x133)));exports['SFDXUtils']=sfdx_utils_1[_0x50dbe9(0x150)];function _0x3dd6(){const _0x32be25=['./query.utils','OrganizationUtils','defineProperty','./salesforce.utils','11965tKAYGV','RestQueryUtils','__importDefault','TimerUtils','134XXbLEJ','FieldUtils','SalesforceUtils','SFDXUtils','default','3TZUpqq','InfoUtils','3820632TJLHag','1463634ykmmxt','./sfdx.utils','AxiosInstanceUtils','191697iPtETf','7mJbmNX','4377636pymJBr','3677630yTPaDp','./rest-query.utils','3645640zbiZOm','BulkUtils','./sobject.utils','./field.utils','__esModule','./info.utils','./axios-instance.utils','30RlMOJz','./bulk.utils','QueryUtils'];_0x3dd6=function(){return _0x32be25;};return _0x3dd6();}const query_utils_1=__importDefault(require(_0x50dbe9(0x144)));exports[_0x50dbe9(0x143)]=query_utils_1[_0x50dbe9(0x150)];const info_utils_1=__importDefault(require(_0x50dbe9(0x13f)));exports[_0x50dbe9(0x152)]=info_utils_1[_0x50dbe9(0x150)];const timer_utils_1=__importDefault(require('./timer.utils'));exports[_0x50dbe9(0x14b)]=timer_utils_1[_0x50dbe9(0x150)];const organization_utils_1=__importDefault(require('./organization.utils'));exports['OrganizationUtils']=organization_utils_1[_0x50dbe9(0x150)];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x161a78=_0x587a;(function(_0x32218e,_0x1010cc){const _0x3f7543=_0x587a,_0xdce1be=_0x32218e();while(!![]){try{const _0x1b2412=-parseInt(_0x3f7543(0x1bc))/0x1+-parseInt(_0x3f7543(0x1bb))/0x2+-parseInt(_0x3f7543(0x1b7))/0x3*(-parseInt(_0x3f7543(0x1b3))/0x4)+-parseInt(_0x3f7543(0x1b4))/0x5*(-parseInt(_0x3f7543(0x1ba))/0x6)+-parseInt(_0x3f7543(0x1b5))/0x7+parseInt(_0x3f7543(0x1b2))/0x8*(parseInt(_0x3f7543(0x1b1))/0x9)+-parseInt(_0x3f7543(0x1b6))/0xa*(-parseInt(_0x3f7543(0x1b8))/0xb);if(_0x1b2412===_0x1010cc)break;else _0xdce1be['push'](_0xdce1be['shift']());}catch(_0x11d01b){_0xdce1be['push'](_0xdce1be['shift']());}}}(_0x1c08,0xc7845));function _0x587a(_0x581fa6,_0x101abd){const _0x1c08d3=_0x1c08();return _0x587a=function(_0x587a5a,_0xe1c95c){_0x587a5a=_0x587a5a-0x1b0;let _0x5f1332=_0x1c08d3[_0x587a5a];return _0x5f1332;},_0x587a(_0x581fa6,_0x101abd);}Object[_0x161a78(0x1b0)](exports,_0x161a78(0x1be),{'value':!![]});class InfoUtils{static[_0x161a78(0x1b9)](_0x3b27c7,_0x44fd00){const _0x18f055={};for(const _0x5405cd of _0x3b27c7){if(_0x5405cd[_0x44fd00]===null||_0x5405cd[_0x44fd00]===undefined)continue;_0x18f055[_0x5405cd[_0x44fd00]]=(_0x18f055[_0x5405cd[_0x44fd00]]||0x0)+0x1;}return _0x18f055;}}function _0x1c08(){const _0x4fc98d=['5yDHGZa','9905385JjgKVb','40SlQMwJ','1885173GvxaOJ','5432251NYpbWU','getCountMap','5422206JwNAMB','2600778xmXawY','1397359cKrJaH','default','__esModule','defineProperty','11547garVLz','4952PuBgIm','8AATckx'];_0x1c08=function(){return _0x4fc98d;};return _0x1c08();}exports[_0x161a78(0x1bd)]=InfoUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x3d98f3=_0x37de;(function(_0xceb59,_0x585e04){const _0xbf955f=_0x37de,_0x4b5d2c=_0xceb59();while(!![]){try{const _0x3bdf2b=-parseInt(_0xbf955f(0x14e))/0x1+parseInt(_0xbf955f(0x14a))/0x2*(parseInt(_0xbf955f(0x14b))/0x3)+parseInt(_0xbf955f(0x14c))/0x4+parseInt(_0xbf955f(0x154))/0x5*(-parseInt(_0xbf955f(0x149))/0x6)+-parseInt(_0xbf955f(0x152))/0x7*(parseInt(_0xbf955f(0x151))/0x8)+parseInt(_0xbf955f(0x146))/0x9*(-parseInt(_0xbf955f(0x14f))/0xa)+parseInt(_0xbf955f(0x147))/0xb;if(_0x3bdf2b===_0x585e04)break;else _0x4b5d2c['push'](_0x4b5d2c['shift']());}catch(_0x404b1f){_0x4b5d2c['push'](_0x4b5d2c['shift']());}}}(_0x1779,0xb4c68));function _0x37de(_0x55bbe0,_0x226f93){const _0x177957=_0x1779();return _0x37de=function(_0x37de5e,_0x8f8089){_0x37de5e=_0x37de5e-0x146;let _0x102991=_0x177957[_0x37de5e];return _0x102991;},_0x37de(_0x55bbe0,_0x226f93);}function _0x1779(){const _0x48cd6a=['push','10pQahwo','9yCoJgV','16724290ecRkvW','defineProperty','3362298neCtQM','2zjHybC','1624599TijHVb','4397060vCOMdk','default','862144GBOcLF','1442790hIdyqA','convertToArrays','2348344eLNAwY','7baquuk'];_0x1779=function(){return _0x48cd6a;};return _0x1779();}Object[_0x3d98f3(0x148)](exports,'__esModule',{'value':!![]});class ObjectUtils{static[_0x3d98f3(0x150)](_0x4d3021,_0x5a7052){for(const _0x189ea1 of _0x5a7052){_0x4d3021[_0x189ea1]&&!Array['isArray'](_0x4d3021[_0x189ea1])&&(_0x4d3021[_0x189ea1]=[_0x4d3021[_0x189ea1]]);}}static['pushToArrayByKey'](_0x45e7a2,_0xa54f4f,_0x3689ee){const _0x2e485d=_0x3d98f3;if(!_0x45e7a2[_0xa54f4f]){_0x45e7a2[_0xa54f4f]=[_0x3689ee];return;}_0x45e7a2[_0xa54f4f][_0x2e485d(0x153)](_0x3689ee);}}exports[_0x3d98f3(0x14d)]=ObjectUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x220f44=_0x5deb;function _0x14c8(){const _0xa0d1f4=['1685744gwQebO','899934ngoUDq','646389BPxlkS','https://test.salesforce.com','552100PLgnVU','4jjmwmi','defineProperty','OrganizationType','8HXctaR','8399ADGVAP','../enums','50Typgob','https://login.salesforce.com','default','1542012KICMZj','PRODUCTION','SANDBOX','337323ILrDOC'];_0x14c8=function(){return _0xa0d1f4;};return _0x14c8();}function _0x5deb(_0x38d45a,_0x52d760){const _0x14c8a4=_0x14c8();return _0x5deb=function(_0x5deb5a,_0x4296a9){_0x5deb5a=_0x5deb5a-0x82;let _0x43ccf8=_0x14c8a4[_0x5deb5a];return _0x43ccf8;},_0x5deb(_0x38d45a,_0x52d760);}(function(_0x54130c,_0x1c8fce){const _0x58b391=_0x5deb,_0x11cbae=_0x54130c();while(!![]){try{const _0x213bff=parseInt(_0x58b391(0x8c))/0x1+parseInt(_0x58b391(0x88))/0x2*(-parseInt(_0x58b391(0x82))/0x3)+-parseInt(_0x58b391(0x83))/0x4+parseInt(_0x58b391(0x87))/0x5+parseInt(_0x58b391(0x91))/0x6+parseInt(_0x58b391(0x84))/0x7*(parseInt(_0x58b391(0x8b))/0x8)+-parseInt(_0x58b391(0x85))/0x9*(-parseInt(_0x58b391(0x8e))/0xa);if(_0x213bff===_0x1c8fce)break;else _0x11cbae['push'](_0x11cbae['shift']());}catch(_0x1ce9fb){_0x11cbae['push'](_0x11cbae['shift']());}}}(_0x14c8,0x35052));Object[_0x220f44(0x89)](exports,'__esModule',{'value':!![]});const enums_1=require(_0x220f44(0x8d));class OrganizationUtils{static['getLoginUrl'](_0x20b7a9){const _0x1cb897=_0x220f44;switch(_0x20b7a9){case enums_1[_0x1cb897(0x8a)][_0x1cb897(0x92)]:return _0x1cb897(0x8f);case enums_1[_0x1cb897(0x8a)][_0x1cb897(0x93)]:return _0x1cb897(0x86);}}}exports[_0x220f44(0x90)]=OrganizationUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';(function(_0xa35198,_0x4b9217){var _0x22a51d=_0x33a5,_0x45b184=_0xa35198();while(!![]){try{var _0x3c1fb9=parseInt(_0x22a51d(0x1bc))/0x1*(-parseInt(_0x22a51d(0x1b1))/0x2)+-parseInt(_0x22a51d(0x1ba))/0x3*(-parseInt(_0x22a51d(0x1af))/0x4)+-parseInt(_0x22a51d(0x1b6))/0x5+-parseInt(_0x22a51d(0x1b7))/0x6*(-parseInt(_0x22a51d(0x1b3))/0x7)+parseInt(_0x22a51d(0x1b9))/0x8*(parseInt(_0x22a51d(0x1bb))/0x9)+parseInt(_0x22a51d(0x1b5))/0xa*(parseInt(_0x22a51d(0x1b0))/0xb)+parseInt(_0x22a51d(0x1b8))/0xc;if(_0x3c1fb9===_0x4b9217)break;else _0x45b184['push'](_0x45b184['shift']());}catch(_0x29dbb0){_0x45b184['push'](_0x45b184['shift']());}}}(_0x38d7,0xc45dc));Object['defineProperty'](exports,'__esModule',{'value':!![]});class PromiseUtils{static['isSettled'](_0x5250b5){var _0x513b34=_0x33a5;return _0x5250b5[_0x513b34(0x1b2)]===_0x513b34(0x1b4);}}function _0x33a5(_0x3e6691,_0xabf9b2){var _0x38d758=_0x38d7();return _0x33a5=function(_0x33a5e7,_0x12c777){_0x33a5e7=_0x33a5e7-0x1af;var _0x25fba0=_0x38d758[_0x33a5e7];return _0x25fba0;},_0x33a5(_0x3e6691,_0xabf9b2);}exports['default']=PromiseUtils;function _0x38d7(){var _0x563156=['33tepaBn','8882OuBqNj','status','21JiIdWf','fulfilled','98400tzSsrc','6519060aRnwEn','2761980lsbgDt','6485604DZrjkC','396272nOaANm','1111461iFzFFZ','90ngZNUG','243RxmvEa','8xxSizu'];_0x38d7=function(){return _0x563156;};return _0x38d7();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x1568ce=_0x26b0;(function(_0xd89c96,_0x304433){const _0x3d0cbd=_0x26b0,_0x131e6e=_0xd89c96();while(!![]){try{const _0x447417=-parseInt(_0x3d0cbd(0x20b))/0x1+parseInt(_0x3d0cbd(0x1f6))/0x2*(parseInt(_0x3d0cbd(0x200))/0x3)+parseInt(_0x3d0cbd(0x211))/0x4+-parseInt(_0x3d0cbd(0x1f8))/0x5*(-parseInt(_0x3d0cbd(0x218))/0x6)+-parseInt(_0x3d0cbd(0x209))/0x7*(parseInt(_0x3d0cbd(0x203))/0x8)+-parseInt(_0x3d0cbd(0x202))/0x9*(parseInt(_0x3d0cbd(0x201))/0xa)+-parseInt(_0x3d0cbd(0x216))/0xb*(parseInt(_0x3d0cbd(0x204))/0xc);if(_0x447417===_0x304433)break;else _0x131e6e['push'](_0x131e6e['shift']());}catch(_0x32b9f9){_0x131e6e['push'](_0x131e6e['shift']());}}}(_0x2cd4,0xcafd5));Object['defineProperty'](exports,_0x1568ce(0x215),{'value':!![]});class QueryUtils{static[_0x1568ce(0x1fe)](_0x458624,_0x485067,_0x50bf6c,_0x18ebbd=![]){const _0x3f6c76=_0x1568ce;if(!_0x458624['maxSize'])return Number['MAX_SAFE_INTEGER'];const _0x5c666a=0x64,_0x174065=_0x458624[_0x3f6c76(0x1ff)](_0x18ebbd)['length'],_0x3b9403=_0x458624[_0x3f6c76(0x212)]-_0x174065-_0x5c666a,_0x5f55f0=_0x485067['length']+_0x3f6c76(0x20f)[_0x3f6c76(0x20a)],_0x1b50c4=_0x3b9403-_0x5f55f0,_0x42a352=QueryUtils[_0x3f6c76(0x1f2)]('\x27')[_0x3f6c76(0x20a)]*0x2+_0x50bf6c+QueryUtils['encode'](',')[_0x3f6c76(0x20a)];return Math[_0x3f6c76(0x1f7)](_0x1b50c4/_0x42a352);}static[_0x1568ce(0x1f2)](_0x238faf){const _0x3881ca=_0x1568ce;return encodeURIComponent(_0x238faf)[_0x3881ca(0x20d)](/'/gi,_0x3881ca(0x207))[_0x3881ca(0x20d)](/%2C/gi,',')['replace'](/%24/gi,'$')[_0x3881ca(0x20d)](/%2B/gi,'+');}static[_0x1568ce(0x1f5)](_0x193a4f){const _0x665e7d=_0x1568ce;return _0x193a4f?_0x665e7d(0x213):_0x665e7d(0x20e);}static['escapeString'](_0x4bc777){const _0x3e20d1=_0x1568ce,_0x522b2f=_0x4bc777[_0x3e20d1(0x20d)](new RegExp(_0x3e20d1(0x1f4),'g'),_0x4089a7=>{if(_0x4089a7==='\x27')return'\x5c\x27';return _0x4089a7;});return'\x27'+_0x522b2f+'\x27';}static[_0x1568ce(0x1f9)](_0x5cde40){const _0x2ae3e7=_0x1568ce;if(_0x5cde40===null)return _0x2ae3e7(0x1fc);if(_0x5cde40 instanceof Date)return _0x5cde40[_0x2ae3e7(0x205)]();switch(typeof _0x5cde40){case'boolean':return QueryUtils[_0x2ae3e7(0x1f5)](_0x5cde40);case _0x2ae3e7(0x208):return _0x5cde40;case _0x2ae3e7(0x210):if(Array[_0x2ae3e7(0x1f3)](_0x5cde40))return _0x5cde40[_0x2ae3e7(0x214)](_0x49f0bb=>QueryUtils[_0x2ae3e7(0x1f9)](_0x49f0bb))[_0x2ae3e7(0x217)](',');return JSON[_0x2ae3e7(0x1fb)](_0x5cde40);case _0x2ae3e7(0x1fd):return QueryUtils[_0x2ae3e7(0x20c)](_0x5cde40);default:throw new Error(_0x2ae3e7(0x1fa)+typeof _0x5cde40+'.');}}}function _0x26b0(_0x340251,_0x2aef0f){const _0x2cd4a2=_0x2cd4();return _0x26b0=function(_0x26b07b,_0x12b4db){_0x26b07b=_0x26b07b-0x1f2;let _0x3d0f50=_0x2cd4a2[_0x26b07b];return _0x3d0f50;},_0x26b0(_0x340251,_0x2aef0f);}function _0x2cd4(){const _0x1a07db=['3440340vfoyRj','310sfcNSK','213507xjPzJq','13456YPvjNv','8630916MXDSzS','toISOString','default','%27','number','1701NCgzSF','length','518810Dqvgwl','escapeString','replace','FALSE','IN\x20()','object','3796180CSWbrJ','maxSize','TRUE','map','__esModule','11UIhvlS','join','36taWciD','encode','isArray','\x5c[\x27]|\x27','convertToBoolean','2cIpjxt','floor','931510YavwrC','convertValue','Unsupported\x20query\x20type\x20','stringify','NULL','string','getMaxInOperatorItemsSize','build'];_0x2cd4=function(){return _0x1a07db;};return _0x2cd4();}exports[_0x1568ce(0x206)]=QueryUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x18bc93=_0x3ef7;(function(_0x4d9cf9,_0x22ba46){const _0x1b8dc3=_0x3ef7,_0x286c3d=_0x4d9cf9();while(!![]){try{const _0x4b84b7=parseInt(_0x1b8dc3(0x1c2))/0x1*(-parseInt(_0x1b8dc3(0x1bf))/0x2)+-parseInt(_0x1b8dc3(0x1c0))/0x3+-parseInt(_0x1b8dc3(0x1b7))/0x4*(parseInt(_0x1b8dc3(0x1c6))/0x5)+-parseInt(_0x1b8dc3(0x1c5))/0x6+parseInt(_0x1b8dc3(0x1bd))/0x7+-parseInt(_0x1b8dc3(0x1bb))/0x8*(parseInt(_0x1b8dc3(0x1b3))/0x9)+parseInt(_0x1b8dc3(0x1be))/0xa;if(_0x4b84b7===_0x22ba46)break;else _0x286c3d['push'](_0x286c3d['shift']());}catch(_0x523d31){_0x286c3d['push'](_0x286c3d['shift']());}}}(_0x2e92,0xad58d));var __importDefault=this&&this[_0x18bc93(0x1c1)]||function(_0x9b3e63){const _0x12838c=_0x18bc93;return _0x9b3e63&&_0x9b3e63[_0x12838c(0x1b6)]?_0x9b3e63:{'default':_0x9b3e63};};function _0x2e92(){const _0x35083f=['default','8659088YvlkHm','includes','2554111SbMzYT','38142310fMdmAP','92504ECGiMJ','178113bZbrFq','__importDefault','20GtxfPx','isHistoryEntity','isShareEntity','3117000MuckVG','10udxYPJ','../constants/rest-query.constants','9FwwVsA','defineProperty','isTag','__esModule','1765556maxsJw','isFeedEntity','./sobject.utils'];_0x2e92=function(){return _0x35083f;};return _0x2e92();}Object[_0x18bc93(0x1b4)](exports,_0x18bc93(0x1b6),{'value':!![]});const sobject_utils_1=__importDefault(require(_0x18bc93(0x1b9))),rest_query_constants_1=__importDefault(require(_0x18bc93(0x1b2)));class RestQueryUtils{static['isSupportPk']({name:_0x514022,custom:_0xddf421,associateEntityType:_0x394977}){const _0x2a7bc7=_0x18bc93;if(sobject_utils_1[_0x2a7bc7(0x1ba)][_0x2a7bc7(0x1b5)](_0x514022)||_0xddf421||sobject_utils_1[_0x2a7bc7(0x1ba)][_0x2a7bc7(0x1b8)](_0x394977)||sobject_utils_1[_0x2a7bc7(0x1ba)][_0x2a7bc7(0x1c3)](_0x394977)||sobject_utils_1[_0x2a7bc7(0x1ba)][_0x2a7bc7(0x1c4)](_0x394977))return!![];return rest_query_constants_1[_0x2a7bc7(0x1ba)]['PK_SUPPORT_STANDARD_OBJECTS'][_0x2a7bc7(0x1bc)](_0x514022);}}function _0x3ef7(_0x329bee,_0xc46d54){const _0x2e92c1=_0x2e92();return _0x3ef7=function(_0x3ef78b,_0x5a4a46){_0x3ef78b=_0x3ef78b-0x1b2;let _0x4a0131=_0x2e92c1[_0x3ef78b];return _0x4a0131;},_0x3ef7(_0x329bee,_0xc46d54);}exports[_0x18bc93(0x1ba)]=RestQueryUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0xae16(_0x243554,_0x46f5c0){var _0x271c72=_0x271c();return _0xae16=function(_0xae16d5,_0xaac778){_0xae16d5=_0xae16d5-0x1da;var _0xc8423c=_0x271c72[_0xae16d5];return _0xc8423c;},_0xae16(_0x243554,_0x46f5c0);}var _0x2f83de=_0xae16;(function(_0x3cf179,_0x4ad583){var _0x136805=_0xae16,_0x103a88=_0x3cf179();while(!![]){try{var _0x5df91a=parseInt(_0x136805(0x1e3))/0x1*(-parseInt(_0x136805(0x1e9))/0x2)+-parseInt(_0x136805(0x1e1))/0x3+-parseInt(_0x136805(0x1e7))/0x4+-parseInt(_0x136805(0x1da))/0x5*(parseInt(_0x136805(0x1e0))/0x6)+parseInt(_0x136805(0x1e2))/0x7+-parseInt(_0x136805(0x1e5))/0x8+-parseInt(_0x136805(0x1e4))/0x9*(-parseInt(_0x136805(0x1dc))/0xa);if(_0x5df91a===_0x4ad583)break;else _0x103a88['push'](_0x103a88['shift']());}catch(_0x378918){_0x103a88['push'](_0x103a88['shift']());}}}(_0x271c,0xc3ed7));Object[_0x2f83de(0x1dd)](exports,'__esModule',{'value':!![]});class SalesforceUtils{static[_0x2f83de(0x1de)](_0x691dd4){return'isAxiosError'in _0x691dd4;}static[_0x2f83de(0x1db)](_0x3c13da){var _0x46336c=_0x2f83de;return/\/?services\/async\/[^\/]+\/job.*/[_0x46336c(0x1e8)](_0x3c13da);}static['isQueryUrl'](_0x565c72){var _0x42b8e5=_0x2f83de;return/^\/services\/data\/v[^\/]+\/query\/.*/[_0x42b8e5(0x1e8)](_0x565c72);}static[_0x2f83de(0x1e6)](_0x44f1e9){var _0x435491=_0x2f83de;return/\/services\/Soap\/m\/\d{2}\.\d/[_0x435491(0x1e8)](_0x44f1e9);}static['extractActualContentTypeFromHeader'](_0x5a836b){var _0x231f9d=_0x2f83de;return _0x5a836b[_0x231f9d(0x1df)](';')[0x0];}}exports[_0x2f83de(0x1ea)]=SalesforceUtils;function _0x271c(){var _0x2bc589=['isBulk1Url','70gEeaky','defineProperty','isAxiosError','split','14928mIHSaT','4598682VTkmVS','7347235UGCCQl','1062107bKRNWm','6781221vSVRjf','3801224BtiXLV','isSoapUrl','5674780HiBDDX','test','2ELpkHZ','default','2075ViKpus'];_0x271c=function(){return _0x2bc589;};return _0x271c();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var _0x3d4a3f=_0x4904;(function(_0x5dc478,_0x1c807d){var _0x39c4c5=_0x4904,_0x9e10f6=_0x5dc478();while(!![]){try{var _0x2816d7=parseInt(_0x39c4c5(0x145))/0x1+parseInt(_0x39c4c5(0x140))/0x2+parseInt(_0x39c4c5(0x144))/0x3*(parseInt(_0x39c4c5(0x13a))/0x4)+-parseInt(_0x39c4c5(0x149))/0x5*(parseInt(_0x39c4c5(0x139))/0x6)+-parseInt(_0x39c4c5(0x141))/0x7+-parseInt(_0x39c4c5(0x135))/0x8*(-parseInt(_0x39c4c5(0x13c))/0x9)+-parseInt(_0x39c4c5(0x148))/0xa*(parseInt(_0x39c4c5(0x147))/0xb);if(_0x2816d7===_0x1c807d)break;else _0x9e10f6['push'](_0x9e10f6['shift']());}catch(_0x13bd73){_0x9e10f6['push'](_0x9e10f6['shift']());}}}(_0x4cda,0xa4308));var __importDefault=this&&this[_0x3d4a3f(0x146)]||function(_0x2bcf9a){var _0x5be289=_0x3d4a3f;return _0x2bcf9a&&_0x2bcf9a[_0x5be289(0x13f)]?_0x2bcf9a:{'default':_0x2bcf9a};};function _0x4cda(){var _0x48b8c8=['../constants/sfdx.constants','5647182tgSADx','508PGbOez','defineProperty','18VUiTLU','parse','message','__esModule','404518pikcQj','496608leOpug','name','NAMED_ORG_NOT_FOUND_CODE','29505jrjOiz','113219hVPTAM','__importDefault','11bSrfMo','1625240cXpkbJ','5qHWXXU','isAuthorizationError','1130648DUYxOB','exitCode','default'];_0x4cda=function(){return _0x48b8c8;};return _0x4cda();}function _0x4904(_0xd36887,_0x130701){var _0x4cda27=_0x4cda();return _0x4904=function(_0x4904b6,_0x51878c){_0x4904b6=_0x4904b6-0x135;var _0x1d6480=_0x4cda27[_0x4904b6];return _0x1d6480;},_0x4904(_0xd36887,_0x130701);}Object[_0x3d4a3f(0x13b)](exports,'__esModule',{'value':!![]});const sfdx_constants_1=__importDefault(require(_0x3d4a3f(0x138)));class SFDXUtils{static[_0x3d4a3f(0x14a)](_0x1ff1a7){var _0x1bd010=_0x3d4a3f;let _0x19f849={};try{_0x19f849=JSON[_0x1bd010(0x13d)](_0x1ff1a7[_0x1bd010(0x13e)]);}catch(_0x3619ec){}return _0x19f849&&_0x19f849[_0x1bd010(0x136)]===0x1&&(_0x19f849['name']===sfdx_constants_1[_0x1bd010(0x137)]['INVALID_SESSION_ID_CODE']||_0x19f849[_0x1bd010(0x142)]===sfdx_constants_1[_0x1bd010(0x137)][_0x1bd010(0x143)]);}}exports['default']=SFDXUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x58e6(_0x4a408a,_0x3f0faf){const _0x21f3d2=_0x21f3();return _0x58e6=function(_0x58e6e8,_0x29c34e){_0x58e6e8=_0x58e6e8-0xcc;let _0x536e16=_0x21f3d2[_0x58e6e8];return _0x536e16;},_0x58e6(_0x4a408a,_0x3f0faf);}const _0xa1e3ca=_0x58e6;(function(_0x1e1cb6,_0x5c87df){const _0x2040c7=_0x58e6,_0x2ff5d1=_0x1e1cb6();while(!![]){try{const _0x2dfba3=parseInt(_0x2040c7(0xcd))/0x1*(parseInt(_0x2040c7(0xd3))/0x2)+parseInt(_0x2040c7(0x11f))/0x3*(-parseInt(_0x2040c7(0xdc))/0x4)+parseInt(_0x2040c7(0x114))/0x5*(-parseInt(_0x2040c7(0xfb))/0x6)+-parseInt(_0x2040c7(0xef))/0x7*(parseInt(_0x2040c7(0xf8))/0x8)+-parseInt(_0x2040c7(0xe4))/0x9*(-parseInt(_0x2040c7(0xf0))/0xa)+parseInt(_0x2040c7(0xd6))/0xb+parseInt(_0x2040c7(0xfa))/0xc*(parseInt(_0x2040c7(0xfd))/0xd);if(_0x2dfba3===_0x5c87df)break;else _0x2ff5d1['push'](_0x2ff5d1['shift']());}catch(_0x1cca2e){_0x2ff5d1['push'](_0x2ff5d1['shift']());}}}(_0x21f3,0xe7555));var __awaiter=this&&this[_0xa1e3ca(0x10b)]||function(_0x411c84,_0x276f79,_0x492e2c,_0x4f9cf9){function _0x7d5f99(_0x216bfe){return _0x216bfe instanceof _0x492e2c?_0x216bfe:new _0x492e2c(function(_0x35e178){_0x35e178(_0x216bfe);});}return new(_0x492e2c||(_0x492e2c=Promise))(function(_0x4f91e0,_0x380ed4){const _0x22da95=_0x58e6;function _0x4870d5(_0x3c84db){const _0x57801b=_0x58e6;try{_0xa02c52(_0x4f9cf9[_0x57801b(0xdf)](_0x3c84db));}catch(_0x2c9c3e){_0x380ed4(_0x2c9c3e);}}function _0x42e151(_0x5d29a8){try{_0xa02c52(_0x4f9cf9['throw'](_0x5d29a8));}catch(_0x26a19e){_0x380ed4(_0x26a19e);}}function _0xa02c52(_0x867dbc){const _0x36e944=_0x58e6;_0x867dbc[_0x36e944(0x103)]?_0x4f91e0(_0x867dbc[_0x36e944(0x109)]):_0x7d5f99(_0x867dbc[_0x36e944(0x109)])['then'](_0x4870d5,_0x42e151);}_0xa02c52((_0x4f9cf9=_0x4f9cf9[_0x22da95(0xf4)](_0x411c84,_0x276f79||[]))[_0x22da95(0xdf)]());});},__importDefault=this&&this['__importDefault']||function(_0x4ede24){return _0x4ede24&&_0x4ede24['__esModule']?_0x4ede24:{'default':_0x4ede24};};Object['defineProperty'](exports,_0xa1e3ca(0xf9),{'value':!![]});function _0x21f3(){const _0x3a4027=['__esModule','5604yHCyYh','5529882DAGbPv','composite','123097TEMlay','AssociateEntityTypeEnum','@flosum-service/utils','REQUIRED_FILTER_BY_PARENT','../classes','isHistoricalData','done','EntityDefinition.QualifiedApiName','push','MAX_QUERY_SUB_REQUESTS_PER_COMPOSITE','default','isRequiredFilterByParent','value','totalSize','__awaiter','_hd','records','FieldDefinition','../enums/query.enums','isBinaryObject','QueryUtils','SortDirection','body','10OpGsfP','some','QueryBuilder','includes','Feed','\x27\x20AND\x20QualifiedApiName\x20=\x20\x27Id\x27','getMaxInOperatorItemsSize','base64','QualifiedApiName','SalesforceConstants','httpStatusCode','15087ZtRzNa','APPROXIMATE_OBJECT_NAME_MAX_SIZE','../enums','getReferenceId','./index','where','isHistoryEntity','2cKGwLq','parentObject','isTag','__b','parse','__Tag','168938GIpNNc','../services/query.service','select','3380729LPfPFZ','ArrayUtils','isShareEntity','DeveloperName','build','isFeedEntity','932wUEJxX','Share','andWhere','next','\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20ORDER\x20BY\x20Ordinal\x20ASC\x20LIMIT\x201','QualifiedApiName\x20=\x20\x27Id\x27','map','isBig','1236834uxYXQH','fetchIndexField','getDetailsRequiredFilterByParent','fields','History','Field','APPROXIMATE_QUERY_SIZE','../services/composite.service','splitOnChunks','\x0a\x20\x20\x20\x20\x20\x20\x20\x20SELECT\x20Field.DeveloperName,\x20Index.NamespacePrefix,\x20SortDirection\x0a\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20IndexField\x0a\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20Index.SobjectType\x20=\x20\x27','endsWith','44093VfVAzj','30MYNrTD','execute','No\x20index\x20field\x20was\x20found\x20to\x20sort\x20the\x20records.','Index','apply','isExternal','__mdt','ASC','1712tWidee'];_0x21f3=function(){return _0x3a4027;};return _0x21f3();}const query_enums_1=require(_0xa1e3ca(0x10f)),query_service_1=__importDefault(require(_0xa1e3ca(0xd4))),enums_1=require(_0xa1e3ca(0x121)),sobject_constants_1=__importDefault(require('../constants/sobject.constants')),classes_1=require(_0xa1e3ca(0x101)),constants_1=require('../constants'),index_1=require(_0xa1e3ca(0x123)),utils_1=require(_0xa1e3ca(0xff)),composite_service_1=__importDefault(require(_0xa1e3ca(0xeb))),rest_error_1=__importDefault(require('../classes/error/rest-error'));class SObjectUtils{static[_0xa1e3ca(0xe3)](_0x2cb7b3){const _0x38ca97=_0xa1e3ca;return _0x2cb7b3[_0x38ca97(0xee)](_0x38ca97(0xd0));}static[_0xa1e3ca(0xf5)](_0x516da7){const _0x360115=_0xa1e3ca;return _0x516da7[_0x360115(0xee)]('__x');}static['isCustomMetadataType'](_0x1e7dd9){const _0x1a185d=_0xa1e3ca;return _0x1e7dd9['endsWith'](_0x1a185d(0xf6));}static[_0xa1e3ca(0x102)](_0xefa0a5){const _0x468712=_0xa1e3ca;return _0xefa0a5[_0x468712(0xee)](_0x468712(0x10c));}static[_0xa1e3ca(0x110)](_0x25b067){const _0x3b801d=_0xa1e3ca;return _0x25b067[_0x3b801d(0xe7)][_0x3b801d(0x115)](_0x3d703e=>_0x3d703e['type']===_0x3b801d(0x11b));}static[_0xa1e3ca(0xcf)](_0x52a2f6){const _0x90de8f=_0xa1e3ca;return _0x52a2f6[_0x90de8f(0xee)](_0x90de8f(0xd2));}static[_0xa1e3ca(0xdb)](_0x34d9db){const _0xba06a1=_0xa1e3ca;return _0x34d9db===enums_1['AssociateEntityTypeEnum'][_0xba06a1(0x118)];}static[_0xa1e3ca(0xcc)](_0x5551fe){const _0x39ce55=_0xa1e3ca;return _0x5551fe===enums_1[_0x39ce55(0xfe)][_0x39ce55(0xe8)];}static[_0xa1e3ca(0xd8)](_0x3ac122){const _0x1d32a2=_0xa1e3ca;return _0x3ac122===enums_1[_0x1d32a2(0xfe)][_0x1d32a2(0xdd)];}static['isIndexedByIdStandard'](_0xba7294){const _0x5a9ea9=_0xa1e3ca;return!sobject_constants_1[_0x5a9ea9(0x107)]['UNINDEXED_BY_ID_STANDARD_OBJECT'][_0x5a9ea9(0x117)](_0xba7294);}static[_0xa1e3ca(0x108)](_0x4ee274){const _0x1f3980=_0xa1e3ca;return!!sobject_constants_1[_0x1f3980(0x107)][_0x1f3980(0x100)][_0x4ee274];}static[_0xa1e3ca(0xe6)](_0x2e2996){const _0x21797b=_0xa1e3ca;return sobject_constants_1['default'][_0x21797b(0x100)][_0x2e2996];}static['isRequiredFilterInChild'](_0x4f18fb){const _0x51abc3=_0xa1e3ca;return Object['keys'](sobject_constants_1[_0x51abc3(0x107)][_0x51abc3(0x100)])[_0x51abc3(0x115)](_0x298299=>sobject_constants_1[_0x51abc3(0x107)]['REQUIRED_FILTER_BY_PARENT'][_0x298299][_0x51abc3(0xce)]===_0x4f18fb);}static['fetchObjectsIndexableById'](_0x3bbf58,_0xf7deab,_0x37ad0a,_0x42fab0){var _0x37e31b;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x577972=_0x58e6,_0x35c436=new classes_1[(_0x577972(0x116))]({'maxSize':constants_1[_0x577972(0x11d)][_0x577972(0xea)]})[_0x577972(0xd5)](_0x577972(0x104))['from'](_0x577972(0x10e))[_0x577972(0x124)]('IsIndexed\x20=\x20true')[_0x577972(0xde)](_0x577972(0xe1)),_0x21d28d=index_1[_0x577972(0x111)][_0x577972(0x11a)](_0x35c436,'EntityDefinition.QualifiedApiName',constants_1[_0x577972(0x11d)][_0x577972(0x120)],!![]),_0x329d67=utils_1[_0x577972(0xd7)]['splitOnChunks'](utils_1[_0x577972(0xd7)][_0x577972(0xec)](_0x37ad0a,_0x21d28d),constants_1[_0x577972(0x11d)][_0x577972(0x106)]),_0x494dd8=[];for(const _0x122b8f of _0x329d67){const _0x5125f1=_0x122b8f[_0x577972(0xe2)](_0x3f32fd=>composite_service_1[_0x577972(0x107)]['subRequestQuery'](composite_service_1['default'][_0x577972(0x122)](),_0x35c436['copy']()[_0x577972(0xde)]('EntityDefinition.QualifiedApiName\x20IN\x20(:objects)',{'objects':_0x3f32fd})[_0x577972(0xda)](),_0x42fab0)),_0x14b919=yield composite_service_1[_0x577972(0x107)][_0x577972(0xfc)](_0x3bbf58,_0xf7deab,_0x5125f1,!![],_0x42fab0);for(const _0x42c99c of _0x14b919){if(_0x42c99c[_0x577972(0x11e)]!==0xc8)throw rest_error_1[_0x577972(0x107)][_0x577972(0xd1)](_0x42c99c['body']);const _0x1c3c06=(_0x37e31b=_0x42c99c[_0x577972(0x113)])===null||_0x37e31b===void 0x0?void 0x0:_0x37e31b[_0x577972(0x10d)];if(!_0x1c3c06)continue;_0x494dd8[_0x577972(0x105)](..._0x1c3c06[_0x577972(0xe2)](_0x1c66fa=>_0x1c66fa['EntityDefinition'][_0x577972(0x11c)]));}}return _0x494dd8;});}static[_0xa1e3ca(0xe5)](_0x576aca,_0x1411c9,_0x5369bf){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x526665=_0x58e6;if(!SObjectUtils['isBig'](_0x1411c9)){const _0x64f264='\x0a\x20\x20\x20\x20\x20\x20\x20\x20SELECT\x20QualifiedApiName\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20FROM\x20FieldDefinition\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20WHERE\x20IsIndexed\x20=\x20true\x20AND\x20EntityDefinition.QualifiedApiName\x20=\x20\x27'+_0x1411c9+_0x526665(0x119),_0x10a918=yield query_service_1[_0x526665(0x107)][_0x526665(0xf1)](_0x576aca,{},_0x64f264,!![],_0x5369bf);if(!_0x10a918[_0x526665(0x10a)])throw new Error(_0x526665(0xf2));return{'field':'Id','direction':query_enums_1['SortDirection'][_0x526665(0xf7)]};}else{const _0xe6d2f9=_0x526665(0xed)+_0x1411c9+_0x526665(0xe0),_0x9a346=yield query_service_1[_0x526665(0x107)]['execute'](_0x576aca,{},_0xe6d2f9,!![],_0x5369bf);if(!_0x9a346[_0x526665(0x10a)])throw new Error(_0x526665(0xf2));const _0x4ef82d=_0x9a346['records'][0x0][_0x526665(0xe9)][_0x526665(0xd9)]+'__c',_0x38741a=_0x9a346[_0x526665(0x10d)][0x0][_0x526665(0xf3)]['NamespacePrefix'];return{'field':_0x38741a?_0x38741a+'__'+_0x4ef82d:_0x4ef82d,'direction':_0x9a346[_0x526665(0x10d)][0x0][_0x526665(0x112)]};}});}}exports[_0xa1e3ca(0x107)]=SObjectUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var _0x27b003=_0x33bb;(function(_0x8e71bf,_0x428f87){var _0xbf5570=_0x33bb,_0x2dfbfc=_0x8e71bf();while(!![]){try{var _0x4bbf5c=-parseInt(_0xbf5570(0x121))/0x1*(parseInt(_0xbf5570(0x11e))/0x2)+parseInt(_0xbf5570(0x11c))/0x3*(-parseInt(_0xbf5570(0x11f))/0x4)+-parseInt(_0xbf5570(0x120))/0x5+parseInt(_0xbf5570(0x123))/0x6*(-parseInt(_0xbf5570(0x11d))/0x7)+-parseInt(_0xbf5570(0x124))/0x8+parseInt(_0xbf5570(0x11a))/0x9+parseInt(_0xbf5570(0x119))/0xa*(parseInt(_0xbf5570(0x125))/0xb);if(_0x4bbf5c===_0x428f87)break;else _0x2dfbfc['push'](_0x2dfbfc['shift']());}catch(_0x2f9bde){_0x2dfbfc['push'](_0x2dfbfc['shift']());}}}(_0x4096,0x801aa));function _0x33bb(_0x585493,_0x547aac){var _0x4096d5=_0x4096();return _0x33bb=function(_0x33bbd5,_0x370696){_0x33bbd5=_0x33bbd5-0x115;var _0x5b3dd0=_0x4096d5[_0x33bbd5];return _0x5b3dd0;},_0x33bb(_0x585493,_0x547aac);}Object[_0x27b003(0x126)](exports,'__esModule',{'value':!![]});class TestUtils{static['isTest'](){var _0x315eca=_0x27b003;return process[_0x315eca(0x11b)][_0x315eca(0x115)]===_0x315eca(0x127);}static[_0x27b003(0x122)](){var _0x381b41=_0x27b003;return new Promise(jest[_0x381b41(0x117)]('timers')[_0x381b41(0x116)]);}}function _0x4096(){var _0x2d5a82=['16196SVcDWK','455372foHvMo','2368880FqrZjb','18kTLHes','flushPromises','5659560DwiHhm','501304VZwRoH','3633894CLdGNv','defineProperty','test','NODE_ENV','setImmediate','requireActual','default','80cderyb','3762801AonkJy','env','24XpkWFO','7mFmLWE'];_0x4096=function(){return _0x2d5a82;};return _0x4096();}exports[_0x27b003(0x118)]=TestUtils;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var _0x18b3bf=_0x3f3f;(function(_0x50e203,_0x1b281d){var _0x14b274=_0x3f3f,_0x2d9b63=_0x50e203();while(!![]){try{var _0x19bcbf=parseInt(_0x14b274(0x1d4))/0x1+-parseInt(_0x14b274(0x1d5))/0x2+-parseInt(_0x14b274(0x1d0))/0x3*(parseInt(_0x14b274(0x1d7))/0x4)+-parseInt(_0x14b274(0x1d6))/0x5+parseInt(_0x14b274(0x1d1))/0x6+parseInt(_0x14b274(0x1d8))/0x7+parseInt(_0x14b274(0x1cf))/0x8;if(_0x19bcbf===_0x1b281d)break;else _0x2d9b63['push'](_0x2d9b63['shift']());}catch(_0x48503e){_0x2d9b63['push'](_0x2d9b63['shift']());}}}(_0x2daa,0x3cc46));function _0x2daa(){var _0xf11758=['__esModule','404001OtcbcX','682134qTFGcB','1659680VbcRQq','64WQUIPW','1997814uyrefM','wait','1408280sAWvtg','31935LPGjZt','1360722coDeNB','default'];_0x2daa=function(){return _0xf11758;};return _0x2daa();}Object['defineProperty'](exports,_0x18b3bf(0x1d3),{'value':!![]});class TimerUtils{static[_0x18b3bf(0x1ce)](_0x139d15){return new Promise(_0x4a0716=>setTimeout(_0x4a0716,_0x139d15));}}function _0x3f3f(_0x172c76,_0xb50243){var _0x2daa2a=_0x2daa();return _0x3f3f=function(_0x3f3fd5,_0x30b9b4){_0x3f3fd5=_0x3f3fd5-0x1ce;var _0x15e712=_0x2daa2a[_0x3f3fd5];return _0x15e712;},_0x3f3f(_0x172c76,_0xb50243);}exports[_0x18b3bf(0x1d2)]=TimerUtils;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import SalesforcePackage from "../cjs/index.js";
|
|
2
|
+
const {
|
|
3
|
+
QueryService,
|
|
4
|
+
Bulk1Service,
|
|
5
|
+
Bulk2Service,
|
|
6
|
+
KnowledgeService,
|
|
7
|
+
CompositeService,
|
|
8
|
+
DescribeService,
|
|
9
|
+
CrudService,
|
|
10
|
+
LimitService,
|
|
11
|
+
ApexRestService,
|
|
12
|
+
PackagesService,
|
|
13
|
+
OauthService,
|
|
14
|
+
QueryBuilder,
|
|
15
|
+
SalesforceError,
|
|
16
|
+
Bulk2RetrieveData,
|
|
17
|
+
CustomRestRetrieveData,
|
|
18
|
+
StandardRestRetrieveData,
|
|
19
|
+
BaseRetrieveData,
|
|
20
|
+
BaseRetrieveBinary,
|
|
21
|
+
Bulk1PkRetrieveData,
|
|
22
|
+
Bulk1RetrieveData,
|
|
23
|
+
StandardRestPkRetrieveData,
|
|
24
|
+
RestRetrieveBinary,
|
|
25
|
+
ApexRestRetrieveBinary,
|
|
26
|
+
StandardRestPkLimitRetrieveData,
|
|
27
|
+
ErrorFactory,
|
|
28
|
+
ManagerAutomationProcess,
|
|
29
|
+
Bulk1CustomPkRetrieveData,
|
|
30
|
+
AuthorizationManager,
|
|
31
|
+
ListMetadataSoapCompose,
|
|
32
|
+
RetrieveSoapCompose,
|
|
33
|
+
ReadMetadataSoapCompose,
|
|
34
|
+
SimpleBulkv1DeployData,
|
|
35
|
+
DeleteBulkv1DeployData,
|
|
36
|
+
BaseDeployData,
|
|
37
|
+
BinaryBulkv1DeployData,
|
|
38
|
+
RestSObjectBinaryDeployData,
|
|
39
|
+
CompositeBinaryDeployData,
|
|
40
|
+
RestSimpleDeployData,
|
|
41
|
+
DeclarativeFilterEval,
|
|
42
|
+
BaseRetrieve,
|
|
43
|
+
FullRetrieve,
|
|
44
|
+
PartialRetrieve,
|
|
45
|
+
Logger,
|
|
46
|
+
ClauseBuilder,
|
|
47
|
+
BinaryDeploy,
|
|
48
|
+
DefaultDeploy,
|
|
49
|
+
SalesforceConstants,
|
|
50
|
+
BulkConstants,
|
|
51
|
+
RestQueryConstants,
|
|
52
|
+
CustomRestBodyConstants,
|
|
53
|
+
SobjectConstants,
|
|
54
|
+
SFDXConstants,
|
|
55
|
+
CompositeConstants,
|
|
56
|
+
MetadataConstants,
|
|
57
|
+
PERSON_ACCOUNT_STANDARD_FIELDS,
|
|
58
|
+
BUSINESS_ACCOUNT_STANDARD_FIELDS,
|
|
59
|
+
Bulk1JobOperation,
|
|
60
|
+
Bulk1JobState,
|
|
61
|
+
Bulk1BatchState,
|
|
62
|
+
Bulk1JobLineEnding,
|
|
63
|
+
Bulk1JobColumnDelimiter,
|
|
64
|
+
Bulk1JobContentType,
|
|
65
|
+
Bulk1BatchContentType,
|
|
66
|
+
Bulk2JobQueryState,
|
|
67
|
+
Bulk2JobQueryColumnDelimiter,
|
|
68
|
+
Bulk2JobQueryLineEnding,
|
|
69
|
+
Bulk2JobQueryOperation,
|
|
70
|
+
AssociateEntityTypeEnum,
|
|
71
|
+
SortDirection,
|
|
72
|
+
DeclarativeFilterOptions,
|
|
73
|
+
MetadataType,
|
|
74
|
+
ChildElementName,
|
|
75
|
+
ParentComponentType,
|
|
76
|
+
RetrieveResultStatus,
|
|
77
|
+
ManageableState,
|
|
78
|
+
RetrieveErrors,
|
|
79
|
+
OrganizationType,
|
|
80
|
+
SObjectUtils,
|
|
81
|
+
FieldUtils,
|
|
82
|
+
AxiosInstanceUtils,
|
|
83
|
+
SalesforceUtils,
|
|
84
|
+
BulkUtils,
|
|
85
|
+
RestQueryUtils,
|
|
86
|
+
SFDXUtils,
|
|
87
|
+
QueryUtils,
|
|
88
|
+
InfoUtils,
|
|
89
|
+
TimerUtils,
|
|
90
|
+
OrganizationUtils,
|
|
91
|
+
BaseSfdxCommand,
|
|
92
|
+
BaseSoapCommand,
|
|
93
|
+
ConfigSetSfdxCommand,
|
|
94
|
+
CreateProjectSfdxCommand,
|
|
95
|
+
DescribeMetadataSoapCommand,
|
|
96
|
+
DescribeMetadataSfdxCommand,
|
|
97
|
+
ListMetadataSoapCommand,
|
|
98
|
+
ListMetadataSfdxCommand,
|
|
99
|
+
RetrieveSoapCommand,
|
|
100
|
+
CheckRetrieveStatusSoapCommand,
|
|
101
|
+
SourceRetrieveSfdxCommand,
|
|
102
|
+
ReadMetadataSoapCommand
|
|
103
|
+
} = SalesforcePackage;
|
|
104
|
+
export {
|
|
105
|
+
QueryService,
|
|
106
|
+
Bulk1Service,
|
|
107
|
+
Bulk2Service,
|
|
108
|
+
KnowledgeService,
|
|
109
|
+
CompositeService,
|
|
110
|
+
DescribeService,
|
|
111
|
+
CrudService,
|
|
112
|
+
LimitService,
|
|
113
|
+
ApexRestService,
|
|
114
|
+
PackagesService,
|
|
115
|
+
OauthService,
|
|
116
|
+
QueryBuilder,
|
|
117
|
+
SalesforceError,
|
|
118
|
+
Bulk2RetrieveData,
|
|
119
|
+
CustomRestRetrieveData,
|
|
120
|
+
StandardRestRetrieveData,
|
|
121
|
+
BaseRetrieveData,
|
|
122
|
+
BaseRetrieveBinary,
|
|
123
|
+
Bulk1PkRetrieveData,
|
|
124
|
+
Bulk1RetrieveData,
|
|
125
|
+
StandardRestPkRetrieveData,
|
|
126
|
+
RestRetrieveBinary,
|
|
127
|
+
ApexRestRetrieveBinary,
|
|
128
|
+
StandardRestPkLimitRetrieveData,
|
|
129
|
+
ErrorFactory,
|
|
130
|
+
ManagerAutomationProcess,
|
|
131
|
+
Bulk1CustomPkRetrieveData,
|
|
132
|
+
AuthorizationManager,
|
|
133
|
+
ListMetadataSoapCompose,
|
|
134
|
+
RetrieveSoapCompose,
|
|
135
|
+
ReadMetadataSoapCompose,
|
|
136
|
+
SimpleBulkv1DeployData,
|
|
137
|
+
DeleteBulkv1DeployData,
|
|
138
|
+
BaseDeployData,
|
|
139
|
+
BinaryBulkv1DeployData,
|
|
140
|
+
RestSObjectBinaryDeployData,
|
|
141
|
+
CompositeBinaryDeployData,
|
|
142
|
+
RestSimpleDeployData,
|
|
143
|
+
DeclarativeFilterEval,
|
|
144
|
+
BaseRetrieve,
|
|
145
|
+
FullRetrieve,
|
|
146
|
+
PartialRetrieve,
|
|
147
|
+
Logger,
|
|
148
|
+
ClauseBuilder,
|
|
149
|
+
BinaryDeploy,
|
|
150
|
+
DefaultDeploy,
|
|
151
|
+
SalesforceConstants,
|
|
152
|
+
BulkConstants,
|
|
153
|
+
RestQueryConstants,
|
|
154
|
+
CustomRestBodyConstants,
|
|
155
|
+
SobjectConstants,
|
|
156
|
+
SFDXConstants,
|
|
157
|
+
CompositeConstants,
|
|
158
|
+
MetadataConstants,
|
|
159
|
+
PERSON_ACCOUNT_STANDARD_FIELDS,
|
|
160
|
+
BUSINESS_ACCOUNT_STANDARD_FIELDS,
|
|
161
|
+
Bulk1JobOperation,
|
|
162
|
+
Bulk1JobState,
|
|
163
|
+
Bulk1BatchState,
|
|
164
|
+
Bulk1JobLineEnding,
|
|
165
|
+
Bulk1JobColumnDelimiter,
|
|
166
|
+
Bulk1JobContentType,
|
|
167
|
+
Bulk1BatchContentType,
|
|
168
|
+
Bulk2JobQueryState,
|
|
169
|
+
Bulk2JobQueryColumnDelimiter,
|
|
170
|
+
Bulk2JobQueryLineEnding,
|
|
171
|
+
Bulk2JobQueryOperation,
|
|
172
|
+
AssociateEntityTypeEnum,
|
|
173
|
+
SortDirection,
|
|
174
|
+
DeclarativeFilterOptions,
|
|
175
|
+
MetadataType,
|
|
176
|
+
ChildElementName,
|
|
177
|
+
ParentComponentType,
|
|
178
|
+
RetrieveResultStatus,
|
|
179
|
+
ManageableState,
|
|
180
|
+
RetrieveErrors,
|
|
181
|
+
OrganizationType,
|
|
182
|
+
SObjectUtils,
|
|
183
|
+
FieldUtils,
|
|
184
|
+
AxiosInstanceUtils,
|
|
185
|
+
SalesforceUtils,
|
|
186
|
+
BulkUtils,
|
|
187
|
+
RestQueryUtils,
|
|
188
|
+
SFDXUtils,
|
|
189
|
+
QueryUtils,
|
|
190
|
+
InfoUtils,
|
|
191
|
+
TimerUtils,
|
|
192
|
+
OrganizationUtils,
|
|
193
|
+
BaseSfdxCommand,
|
|
194
|
+
BaseSoapCommand,
|
|
195
|
+
ConfigSetSfdxCommand,
|
|
196
|
+
CreateProjectSfdxCommand,
|
|
197
|
+
DescribeMetadataSoapCommand,
|
|
198
|
+
DescribeMetadataSfdxCommand,
|
|
199
|
+
ListMetadataSoapCommand,
|
|
200
|
+
ListMetadataSfdxCommand,
|
|
201
|
+
RetrieveSoapCommand,
|
|
202
|
+
CheckRetrieveStatusSoapCommand,
|
|
203
|
+
SourceRetrieveSfdxCommand,
|
|
204
|
+
ReadMetadataSoapCommand
|
|
205
|
+
};
|
|
206
|
+
export default SalesforcePackage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { AxiosInterceptor } from '../interfaces/axios-interceptor.interfaces';
|
|
3
|
+
import { AuthorizationManager } from '../classes';
|
|
4
|
+
export default class AuthAxiosInterceptor implements AxiosInterceptor {
|
|
5
|
+
private readonly authorizationManager;
|
|
6
|
+
constructor(authorizationManager: AuthorizationManager);
|
|
7
|
+
init(instance: AxiosInstance): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { AxiosInterceptor } from '../interfaces/axios-interceptor.interfaces';
|
|
3
|
+
export default class ProxyAxiosInterceptor implements AxiosInterceptor {
|
|
4
|
+
private instance;
|
|
5
|
+
private agent;
|
|
6
|
+
private bindAgent;
|
|
7
|
+
init(instance: AxiosInstance): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AxiosInterceptor } from '../interfaces';
|
|
2
|
+
import { AuthorizationManager } from '../classes';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
export default class RefreshAuthInterceptor implements AxiosInterceptor {
|
|
5
|
+
private readonly authorizationManager;
|
|
6
|
+
constructor(authorizationManager: AuthorizationManager);
|
|
7
|
+
init(instance: AxiosInstance): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AxiosError, AxiosInstance, AxiosRequestHeaders, AxiosResponse } from 'axios';
|
|
2
|
+
import { AxiosInterceptor } from '../interfaces/axios-interceptor.interfaces';
|
|
3
|
+
export default class RetryAxiosInterceptor implements AxiosInterceptor {
|
|
4
|
+
private readonly ignoreRetryErrorCodes;
|
|
5
|
+
private instance;
|
|
6
|
+
constructor(ignoreRetryErrorCodes?: string[]);
|
|
7
|
+
init(instance: AxiosInstance): Promise<void>;
|
|
8
|
+
handle(error: AxiosError & {
|
|
9
|
+
config: {
|
|
10
|
+
retried?: number;
|
|
11
|
+
maxRetry?: number;
|
|
12
|
+
headers: AxiosRequestHeaders;
|
|
13
|
+
};
|
|
14
|
+
}): Promise<AxiosResponse>;
|
|
15
|
+
retry(error: AxiosError & {
|
|
16
|
+
config: {
|
|
17
|
+
retried?: number;
|
|
18
|
+
maxRetry?: number;
|
|
19
|
+
};
|
|
20
|
+
}, numberOfRetry: number): Promise<AxiosResponse>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare type AuthorizationManagerOptions = {
|
|
2
|
+
accessToken: string;
|
|
3
|
+
instanceUrl: string;
|
|
4
|
+
};
|
|
5
|
+
export default abstract class AuthorizationManager {
|
|
6
|
+
private static WAIT_TIME_UPDATE_TOKEN;
|
|
7
|
+
private readonly _instanceUrl;
|
|
8
|
+
private _accessToken;
|
|
9
|
+
private _isUpdatingToken;
|
|
10
|
+
get accessToken(): string;
|
|
11
|
+
get instanceUrl(): string;
|
|
12
|
+
constructor({ accessToken, instanceUrl }: AuthorizationManagerOptions);
|
|
13
|
+
updateAuth(): Promise<void>;
|
|
14
|
+
protected abstract refreshToken(): Promise<string>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import JSZip from 'jszip';
|
|
3
|
+
import { RetrieveType } from '../../interfaces';
|
|
4
|
+
export default abstract class BaseAutomationProcess<T> {
|
|
5
|
+
protected readonly instance: AxiosInstance;
|
|
6
|
+
protected readonly objects: string[];
|
|
7
|
+
protected readonly sourceZip: JSZip;
|
|
8
|
+
protected readonly targetZip: JSZip;
|
|
9
|
+
protected initialMetadata: Map<string, T>;
|
|
10
|
+
constructor(instance: AxiosInstance, objects: string[], sourceZip: JSZip, targetZip: JSZip);
|
|
11
|
+
abstract disable(): Promise<void>;
|
|
12
|
+
abstract getXml(): Promise<RetrieveType[]>;
|
|
13
|
+
getStrippedXml(metadataType: string): RetrieveType[];
|
|
14
|
+
protected query(query: string): Promise<{
|
|
15
|
+
[fieldName: string]: string | number | boolean;
|
|
16
|
+
}[]>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import BaseAutomationProcess from './base-automation-process';
|
|
2
|
+
import { RetrieveType } from '../../interfaces';
|
|
3
|
+
export default class FlowsAutomationProcess extends BaseAutomationProcess<number> {
|
|
4
|
+
disable(): Promise<void>;
|
|
5
|
+
private setStatus;
|
|
6
|
+
getXml(): Promise<RetrieveType[]>;
|
|
7
|
+
}
|
package/dist/typings/classes/automation-process-manager/flows-automation-process.fixtures.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const flowsObjects: string[];
|
|
2
|
+
export declare const flowsToolingResponse: {
|
|
3
|
+
size: number;
|
|
4
|
+
totalSize: number;
|
|
5
|
+
done: boolean;
|
|
6
|
+
queryLocator: any;
|
|
7
|
+
entityTypeName: string;
|
|
8
|
+
records: {
|
|
9
|
+
attributes: {
|
|
10
|
+
type: string;
|
|
11
|
+
url: string;
|
|
12
|
+
};
|
|
13
|
+
DeveloperName: string;
|
|
14
|
+
NamespacePrefix: any;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
export declare const flowDefinitionsFiles: string[];
|
|
18
|
+
export declare const flowsFiles: string[];
|
|
19
|
+
export declare const flowPath: string;
|
|
20
|
+
export declare const flowDefinitionPath: string;
|
|
21
|
+
export declare const flowDefinitionXmlActive = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<FlowDefinition xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <activeVersionNumber>1</activeVersionNumber>\n</FlowDefinition>\n";
|
|
22
|
+
export declare const flowDefinitionXmlInactive = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<FlowDefinition xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <activeVersionNumber>0</activeVersionNumber>\n</FlowDefinition>\n";
|
|
23
|
+
export declare const flowXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Flow xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <apiVersion>54.0</apiVersion>\n <assignments>\n <name>Increment</name>\n <label>Increment</label>\n <locationX>1328</locationX>\n <locationY>159</locationY>\n <assignmentItems>\n <assignToReference>Total</assignToReference>\n <operator>Add</operator>\n <value>\n <elementReference>Loop_through_products.TotalPrice</elementReference>\n </value>\n </assignmentItems>\n <connector>\n <targetReference>Loop_through_products</targetReference>\n </connector>\n </assignments>\n <description>rollup demo</description>\n <interviewLabel>OpportunityProduct: Add&Update {!$Flow.CurrentDateTime}</interviewLabel>\n <label>OpportunityProduct: Add & Update</label>\n <loops>\n <name>Loop_through_products</name>\n <label>Loop through products</label>\n <locationX>979</locationX>\n <locationY>161</locationY>\n <collectionReference>Get_All_Products</collectionReference>\n <iterationOrder>Asc</iterationOrder>\n <nextValueConnector>\n <targetReference>Increment</targetReference>\n </nextValueConnector>\n <noMoreValuesConnector>\n <targetReference>Get_Opportunity</targetReference>\n </noMoreValuesConnector>\n </loops>\n <processMetadataValues>\n <name>BuilderType</name>\n <value>\n <stringValue>LightningFlowBuilder</stringValue>\n </value>\n </processMetadataValues>\n <processMetadataValues>\n <name>CanvasMode</name>\n <value>\n <stringValue>FREE_FORM_CANVAS</stringValue>\n </value>\n </processMetadataValues>\n <processMetadataValues>\n <name>OriginBuilderType</name>\n <value>\n <stringValue>LightningFlowBuilder</stringValue>\n </value>\n </processMetadataValues>\n <processType>AutoLaunchedFlow</processType>\n <recordLookups>\n <name>Get_All_Products</name>\n <label>Get All Products</label>\n <locationX>694</locationX>\n <locationY>168</locationY>\n <assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>\n <connector>\n <targetReference>Loop_through_products</targetReference>\n </connector>\n <filterLogic>and</filterLogic>\n <filters>\n <field>OpportunityId</field>\n <operator>EqualTo</operator>\n <value>\n <elementReference>$Record.OpportunityId</elementReference>\n </value>\n </filters>\n <getFirstRecordOnly>false</getFirstRecordOnly>\n <object>OpportunityLineItem</object>\n <storeOutputAutomatically>true</storeOutputAutomatically>\n </recordLookups>\n <recordLookups>\n <name>Get_Opportunity</name>\n <label>Get Opportunity</label>\n <locationX>977</locationX>\n <locationY>389</locationY>\n <assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>\n <connector>\n <targetReference>Update_Total</targetReference>\n </connector>\n <filterLogic>and</filterLogic>\n <filters>\n <field>Id</field>\n <operator>EqualTo</operator>\n <value>\n <elementReference>$Record.OpportunityId</elementReference>\n </value>\n </filters>\n <getFirstRecordOnly>true</getFirstRecordOnly>\n <object>Opportunity</object>\n <storeOutputAutomatically>true</storeOutputAutomatically>\n </recordLookups>\n <recordUpdates>\n <name>Update_Total</name>\n <label>Update Total</label>\n <locationX>974</locationX>\n <locationY>582</locationY>\n <filterLogic>and</filterLogic>\n <filters>\n <field>Id</field>\n <operator>EqualTo</operator>\n <value>\n <elementReference>$Record.OpportunityId</elementReference>\n </value>\n </filters>\n <inputAssignments>\n <field>Total__c</field>\n <value>\n <elementReference>Total</elementReference>\n </value>\n </inputAssignments>\n <object>Opportunity</object>\n </recordUpdates>\n <start>\n <locationX>182</locationX>\n <locationY>65</locationY>\n <connector>\n <targetReference>Get_All_Products</targetReference>\n </connector>\n <filterLogic>and</filterLogic>\n <filters>\n <field>TotalPrice</field>\n <operator>IsChanged</operator>\n <value>\n <booleanValue>true</booleanValue>\n </value>\n </filters>\n <object>OpportunityLineItem</object>\n <recordTriggerType>CreateAndUpdate</recordTriggerType>\n <triggerType>RecordAfterSave</triggerType>\n </start>\n <status>Obsolete</status>\n <variables>\n <name>Total</name>\n <dataType>Currency</dataType>\n <isCollection>false</isCollection>\n <isInput>false</isInput>\n <isOutput>false</isOutput>\n <scale>2</scale>\n <value>\n <numberValue>0.0</numberValue>\n </value>\n </variables>\n</Flow>\n";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
export default class ManagerAutomationProcess {
|
|
3
|
+
private readonly instance;
|
|
4
|
+
private readonly saveSourceMetadataBackup?;
|
|
5
|
+
private triggers;
|
|
6
|
+
private workflows;
|
|
7
|
+
private validationRules;
|
|
8
|
+
private flows;
|
|
9
|
+
private base64Source;
|
|
10
|
+
private base64Target;
|
|
11
|
+
private _isDisabled;
|
|
12
|
+
get isDisabled(): boolean;
|
|
13
|
+
constructor(instance: AxiosInstance, saveSourceMetadataBackup?: (base64: string) => Promise<void>);
|
|
14
|
+
init({ triggersObjects, validationRulesObjects, workflowsObjects, processBuilderObjects, }: {
|
|
15
|
+
triggersObjects: string[];
|
|
16
|
+
validationRulesObjects: string[];
|
|
17
|
+
workflowsObjects: string[];
|
|
18
|
+
processBuilderObjects: string[];
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
private generateManifest;
|
|
21
|
+
private generateBase64Target;
|
|
22
|
+
enable(): Promise<void>;
|
|
23
|
+
disable(): Promise<void>;
|
|
24
|
+
private validate;
|
|
25
|
+
private retrieveMetadata;
|
|
26
|
+
private deployMetadata;
|
|
27
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import BaseAutomationProcess from './base-automation-process';
|
|
2
|
+
import { RetrieveType } from '../../interfaces';
|
|
3
|
+
export default class TriggersAutomationProcess extends BaseAutomationProcess<string> {
|
|
4
|
+
disable(): Promise<void>;
|
|
5
|
+
private setStatus;
|
|
6
|
+
getXml(): Promise<RetrieveType[]>;
|
|
7
|
+
}
|
package/dist/typings/classes/automation-process-manager/triggers-automation-process.fixtures.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const METADATA_TYPE = "ApexTrigger";
|
|
2
|
+
export declare const triggersObjects: string[];
|
|
3
|
+
export declare const triggersToolingResponse: {
|
|
4
|
+
size: number;
|
|
5
|
+
totalSize: number;
|
|
6
|
+
done: boolean;
|
|
7
|
+
queryLocator: any;
|
|
8
|
+
entityTypeName: string;
|
|
9
|
+
records: {
|
|
10
|
+
attributes: {
|
|
11
|
+
type: string;
|
|
12
|
+
url: string;
|
|
13
|
+
};
|
|
14
|
+
Name: string;
|
|
15
|
+
TableEnumOrId: string;
|
|
16
|
+
NamespacePrefix: any;
|
|
17
|
+
Status: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
export declare const triggersFileList: string[];
|
|
21
|
+
export declare const triggerPath: string;
|
|
22
|
+
export declare const triggersXmlActive = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ApexTrigger xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <apiVersion>54.0</apiVersion>\n <status>Active</status>\n</ApexTrigger>\n";
|
|
23
|
+
export declare const triggersXmlInactive = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ApexTrigger xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <apiVersion>54.0</apiVersion>\n <status>Inactive</status>\n</ApexTrigger>\n";
|
package/dist/typings/classes/automation-process-manager/validation-rules-automation-process.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import BaseAutomationProcess from './base-automation-process';
|
|
2
|
+
import { RetrieveType } from '../../interfaces';
|
|
3
|
+
export default class ValidationRulesAutomationProcess extends BaseAutomationProcess<boolean> {
|
|
4
|
+
disable(): Promise<void>;
|
|
5
|
+
private setStatus;
|
|
6
|
+
getXml(): Promise<RetrieveType[]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const METADATA_TYPE = "ValidationRule";
|
|
2
|
+
export declare const validationRulesObjects: string[];
|
|
3
|
+
export declare const validationRulesToolingResponse: {
|
|
4
|
+
size: number;
|
|
5
|
+
totalSize: number;
|
|
6
|
+
done: boolean;
|
|
7
|
+
queryLocator: any;
|
|
8
|
+
entityTypeName: string;
|
|
9
|
+
records: {
|
|
10
|
+
attributes: {
|
|
11
|
+
type: string;
|
|
12
|
+
url: string;
|
|
13
|
+
};
|
|
14
|
+
Active: boolean;
|
|
15
|
+
ValidationName: string;
|
|
16
|
+
NamespacePrefix: any;
|
|
17
|
+
EntityDefinitionId: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
export declare const validationRulesFileList: string[];
|
|
21
|
+
export declare const validationRulePath: string;
|
|
22
|
+
export declare const validationRulesActive = "<CustomObject xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <validationRules>\n <fullName>Test_Rule</fullName>\n <active>true</active>\n <errorConditionFormula>ISNULL(Test_Number_2__c)</errorConditionFormula>\n <errorDisplayField>Test_Number_2__c</errorDisplayField>\n <errorMessage>number cannot be null</errorMessage>\n </validationRules>\n</CustomObject>\n";
|
|
23
|
+
export declare const validationRulesInactive = "<CustomObject xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <validationRules>\n <fullName>Test_Rule</fullName>\n <active>false</active>\n <errorConditionFormula>ISNULL(Test_Number_2__c)</errorConditionFormula>\n <errorDisplayField>Test_Number_2__c</errorDisplayField>\n <errorMessage>number cannot be null</errorMessage>\n </validationRules>\n</CustomObject>\n";
|