Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xrm-ex

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xrm-ex - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

package.json
{
"name": "xrm-ex",
"version": "2.1.0",
"version": "2.2.0",
"description": "Xrm-Ex is a JavaScript framework that simplifies the usage of Dynamics 365 Client API. It provides intuitive wrappers for formContext and Xrm Object, helping developers reduce the amount of code, increase maintainability, and decrease errors. Ideal for developers looking to leverage the power of Dynamics 365 Client API within the TypeScript ecosystem.",

@@ -5,0 +5,0 @@ "keywords": [

![NPM](https://img.shields.io/npm/l/xrm-ex)
![NPM](https://img.shields.io/npm/v/xrm-ex)
![NPM](https://img.shields.io/npm/d18m/xrm-ex)
![GitHub Workflow Status](https://github.com/AhashSritharan/Xrm-Ex/actions/workflows/XrmEx.yml/badge.svg?branch%253Dmain)

@@ -380,11 +381,6 @@

let response2 = await XrmEx.executeAction(
"theia_TestActionContact",
[
{ Name: "Amount", Type: "Integer", Value: 5 },
{
Name: "Account",
Type: "EntityReference",
Value: fields.Customer.Value[0],
},
],
"theia_TestActionContact",{
Amount: 5,
Account: fields.Customer.Value[0]
},
XrmEx.Form.entityReference

@@ -391,0 +387,0 @@ );

@@ -61,2 +61,14 @@ /// <reference types="xrm" />

/**
* Executes a request.
* @param {string} actionName - The unique name of the request.
* @param {RequestParameter[] | object} requestParameters - An array of objects with the parameter name, type, and value.
* @param {EntityReference} [boundEntity] - An optional EntityReference of the bound entity.
* @param {number} [operationType] - The type of the request. 0 for functions 1 for actions, 2 for CRUD operations.
* @returns {Promise<any>} - A Promise with the request response.
* @throws {Error} - Throws an error if the request parameter is not of a supported type or has an invalid value.
*/
function execute(actionName: string, requestParameters: RequestParameter[] | {
[key: string]: any;
}, boundEntity?: EntityReference, operationType?: number): Promise<any>;
/**
* Executes an Action.

@@ -69,5 +81,3 @@ * @param {string} actionName - The unique name of the action.

*/
function executeAction(actionName: string, requestParameters: RequestParameter[] | {
[key: string]: any;
}, boundEntity?: EntityReference, isFunction?: boolean): Promise<any>;
function executeAction(functionName: string, requestParameters: RequestParameter[] | object, boundEntity?: EntityReference): Promise<any>;
/**

@@ -83,2 +93,11 @@ * Executes a Function.

/**
* Executes a CRUD request.
* @param {string} messageName - The unique name of the request.
* @param {RequestParameter[] | object} requestParameters - An array of objects with the parameter name, type, and value.
* @param {EntityReference} [boundEntity] - An optional EntityReference of the bound entity.
* @returns {Promise<any>} - A Promise with the request response.
* @throws {Error} - Throws an error if the request parameter is not of a supported type or has an invalid value.
*/
function executeCRUD(functionName: string, requestParameters: RequestParameter[] | object, boundEntity?: EntityReference): Promise<any>;
/**
* Makes a GUID lowercase and removes brackets.

@@ -396,3 +415,2 @@ * @param {string} guid - The GUID to normalize.

export class Field implements Xrm.Attributes.Attribute {
static allFields: Field[];
readonly Name: string;

@@ -399,0 +417,0 @@ protected _attribute?: Xrm.Attributes.Attribute;

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc