@activepieces/piece-microsoft-dynamics-crm 0.3.0 → 0.3.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/package.json +5 -5
- package/src/i18n/de.json +4 -0
- package/src/i18n/es.json +4 -0
- package/src/i18n/fr.json +4 -0
- package/src/i18n/ja.json +4 -0
- package/src/i18n/nl.json +4 -0
- package/src/i18n/pt.json +4 -0
- package/src/i18n/translation.json +4 -0
- package/src/i18n/zh.json +4 -0
- package/src/lib/actions/create-record.d.ts.map +1 -1
- package/src/lib/actions/create-record.js +5 -0
- package/src/lib/actions/create-record.js.map +1 -1
- package/src/lib/actions/delete-record.d.ts.map +1 -1
- package/src/lib/actions/delete-record.js +5 -0
- package/src/lib/actions/delete-record.js.map +1 -1
- package/src/lib/actions/get-record.d.ts.map +1 -1
- package/src/lib/actions/get-record.js +5 -0
- package/src/lib/actions/get-record.js.map +1 -1
- package/src/lib/actions/update-record.d.ts.map +1 -1
- package/src/lib/actions/update-record.js +5 -0
- package/src/lib/actions/update-record.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-microsoft-dynamics-crm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"lint": "eslint 'src/**/*.ts'"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"
|
|
12
|
-
"@activepieces/pieces-
|
|
13
|
-
"@activepieces/
|
|
14
|
-
"
|
|
11
|
+
"@activepieces/pieces-common": "0.12.3",
|
|
12
|
+
"@activepieces/pieces-framework": "0.30.0",
|
|
13
|
+
"@activepieces/shared": "0.87.1",
|
|
14
|
+
"tslib": "2.6.2"
|
|
15
15
|
}
|
|
16
16
|
}
|
package/src/i18n/de.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Customer Relationship Management Softwarepaket entwickelt von Microsoft.",
|
|
3
|
+
"Cloud Environment": "Cloud-Umgebung",
|
|
3
4
|
"Host URL (without trailing slash)": "Host-URL (ohne Schrägstrich)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "Proxy-URL mit Port",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Wählen Sie Ihre Microsoft-Cloud-Umgebung.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "Host-URL ohne Slash.Zum Beispiel **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "Dies finden Sie im Azure Portal.",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Bleiben Sie leer, wenn nicht nötig. Optionale Proxy-URL, die zur Herstellung von Verbindungen verwendet wird, wenn Proxy-Anfragen benötigt werden. Zum Beispiel: **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Kommerzielle (Global)",
|
|
12
|
+
"US Government (GCC High)": "US-Regierung (GCC High)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nFolge der [Azure App Erstellungsanleitung](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n hat die **Umleitungs-URI** auf {{redirectUrl}} gesetzt und die **Dynamics CRM (delegiert) Berechtigungen** unter **API Berechtigungen hinzufügen**.",
|
|
10
14
|
"Create Record": "Datensatz erstellen",
|
|
11
15
|
"Delete Record": "Datensatz löschen",
|
package/src/i18n/es.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Paquete de software de gestión de relaciones con el cliente desarrollado por Microsoft.",
|
|
3
|
+
"Cloud Environment": "Entorno en la nube",
|
|
3
4
|
"Host URL (without trailing slash)": "URL del host (sin barra final)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "URL del proxy con puerto",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Seleccione su entorno de nube de Microsoft.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "URL del host sin slash.Por ejemplo **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "Puede encontrarlo en el portal Azure.",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Dejar vacío si no es necesario. URL opcional del proxy usada para establecer conexiones cuando se necesitan peticiones de proxy. Por ejemplo: **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Comercial (Global)",
|
|
12
|
+
"US Government (GCC High)": "Gobierno de EEUU (GCC Alto)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nSigue la [guía de creación de Azure app](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n estableció la **URI de redireccionamiento** a {{redirectUrl}} y agregó los **permisos de dinámicas CRM (elegidos)** bajo **permisos de API**.",
|
|
10
14
|
"Create Record": "Crear registro",
|
|
11
15
|
"Delete Record": "Eliminar registro",
|
package/src/i18n/fr.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Ensemble de logiciels de gestion de la relation client développé par Microsoft.",
|
|
3
|
+
"Cloud Environment": "Environnement Cloud",
|
|
3
4
|
"Host URL (without trailing slash)": "URL de l'hôte (sans slash de fin de ligne)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "URL du proxy avec port",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Sélectionnez votre environnement de cloud Microsoft.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "URL de l'hôte sans slash.Par exemple **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "Vous pouvez le trouver sur le portail Azure.",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Laisser vide si ce n'est pas nécessaire. URL de proxy optionnelle utilisée pour établir des connexions lorsque des requêtes de proxy sont nécessaires. Par exemple : **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Commerce (Mondial)",
|
|
12
|
+
"US Government (GCC High)": "Gouvernement américain (GCC High)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.",
|
|
10
14
|
"Create Record": "Créer un enregistrement",
|
|
11
15
|
"Delete Record": "Supprimer l'enregistrement",
|
package/src/i18n/ja.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Microsoftが開発した顧客関係管理ソフトウェアパッケージ。",
|
|
3
|
+
"Cloud Environment": "クラウド環境",
|
|
3
4
|
"Host URL (without trailing slash)": "ホスト URL (末尾のスラッシュなし)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "ポート付きプロキシURL",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Microsoft クラウド環境を選択します。",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "スラッシュの末尾のないホストURL。例えば **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "これは Azure ポータルで確認できます。",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "不要な場合は空のままにしておきます。プロキシのリクエストが必要なときに接続を確立するためのオプションのプロキシ URL です。例: **https://proxy.com:8080**",
|
|
11
|
+
"Commercial (Global)": "取引(世界)",
|
|
12
|
+
"US Government (GCC High)": "米国政府(GCCハイ)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.",
|
|
10
14
|
"Create Record": "レコードを作成",
|
|
11
15
|
"Delete Record": "レコードを削除",
|
package/src/i18n/nl.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Pakket software ontwikkeld door Microsoft.",
|
|
3
|
+
"Cloud Environment": "Cloud Omgeving",
|
|
3
4
|
"Host URL (without trailing slash)": "URL van de host (zonder slash)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "ProxyURL met poort",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Selecteer je Microsoft cloud omgeving.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "Host URL zonder slash.Bijvoorbeeld **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "U vindt dit in het Azure portaal.",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Laat leeg indien niet nodig. Optionele proxy URL gebruikt voor het instellen van verbindingen wanneer proxyverzoeken nodig zijn. Bijvoorbeeld: **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Commerciële (globaal)",
|
|
12
|
+
"US Government (GCC High)": "Amerikaanse regering (GCC High)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nVolg de [Azure app creatie handleiding] (https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n zet de **Redirect URI** naar {{redirectUrl}} en voegt de **Dynamics CRM (Delegated) permissies** toe onder **API permissies**.",
|
|
10
14
|
"Create Record": "Record Maken",
|
|
11
15
|
"Delete Record": "Record verwijderen",
|
package/src/i18n/pt.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Pacote de software de gerenciamento de clientes desenvolvido pela Microsoft.",
|
|
3
|
+
"Cloud Environment": "Ambiente de Nuvem",
|
|
3
4
|
"Host URL (without trailing slash)": "Host URL (sem barra à direita)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "URL do Proxy com Porta",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Selecione seu ambiente de nuvem da Microsoft.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "Host URL sem trailing slash.Por exemplo **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "Pode encontrar isso no portal Azure .",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Manter vazio se não necessário. URL de proxy opcional usada para estabelecer conexões quando requisições de proxy é necessário. Por exemplo: **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Comercial (Global)",
|
|
12
|
+
"US Government (GCC High)": "Governo dos EUA (GCC High)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nSiga o [guia de criação do aplicativo Azure](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n defina a **URI de redirecionamento** para {{redirectUrl}} e adicione as **permissões de Dynamics CRM (Delegate)** em **permissões de API**.",
|
|
10
14
|
"Create Record": "Criar Registro",
|
|
11
15
|
"Delete Record": "Excluir registro",
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Customer relationship management software package developed by Microsoft.",
|
|
3
|
+
"Cloud Environment": "Cloud Environment",
|
|
3
4
|
"Host URL (without trailing slash)": "Host URL (without trailing slash)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "Proxy URL with Port",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Select your Microsoft cloud environment.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "Host URL without trailing slash.For example **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "You can find this in the Azure portal.",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Commercial (Global)",
|
|
12
|
+
"US Government (GCC High)": "US Government (GCC High)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.",
|
|
10
14
|
"Create Record": "Create Record",
|
|
11
15
|
"Delete Record": "Delete Record",
|
package/src/i18n/zh.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Customer relationship management software package developed by Microsoft.": "Customer relationship management software package developed by Microsoft.",
|
|
3
|
+
"Cloud Environment": "Cloud Environment",
|
|
3
4
|
"Host URL (without trailing slash)": "Host URL (without trailing slash)",
|
|
4
5
|
"Tenant ID": "Tenant ID",
|
|
5
6
|
"Proxy URL with Port": "Proxy URL with Port",
|
|
7
|
+
"Select your Microsoft cloud environment.": "Select your Microsoft cloud environment.",
|
|
6
8
|
"Host URL without trailing slash.For example **https://demo.crm.dynamics.com**": "Host URL without trailing slash.For example **https://demo.crm.dynamics.com**",
|
|
7
9
|
"You can find this in the Azure portal.": "You can find this in the Azure portal.",
|
|
8
10
|
"Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.": "Keep empty if not needed. Optional proxy URL used for establishing connections when proxying requests is needed. For example: **https://proxy.com:8080**.",
|
|
11
|
+
"Commercial (Global)": "Commercial (Global)",
|
|
12
|
+
"US Government (GCC High)": "US Government (GCC High)",
|
|
9
13
|
"\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.": "\nFollow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the **Dynamics CRM (Delegated) permissions** under **API permissions**.",
|
|
10
14
|
"Create Record": "Create Record",
|
|
11
15
|
"Delete Record": "Delete Record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;;
|
|
1
|
+
{"version":3,"file":"create-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;;EA4B7B,CAAC"}
|
|
@@ -10,6 +10,11 @@ exports.createRecordAction = (0, pieces_framework_1.createAction)({
|
|
|
10
10
|
name: 'dynamics_crm_create_record',
|
|
11
11
|
displayName: 'Create Record',
|
|
12
12
|
description: 'Creates a new record.',
|
|
13
|
+
audience: 'both',
|
|
14
|
+
aiMetadata: {
|
|
15
|
+
description: 'Creates a new record of a chosen Dynamics 365 / Dataverse entity type (e.g. accounts, contacts, leads), passing the field values for that entity. Pick the entity from its discovered entity-set name or map a raw entity-set name. Not idempotent: each call inserts a new record, so repeated calls create duplicates.',
|
|
16
|
+
idempotent: false,
|
|
17
|
+
},
|
|
13
18
|
props: {
|
|
14
19
|
entityType: common_1.DynamicsCRMCommon.entityType('Select or map the entity for which you want to create the record.'),
|
|
15
20
|
fields: common_1.DynamicsCRMCommon.entityFields(true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,uBAAuB;IACpC,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,mEAAmE,CACpE;QACD,MAAM,EAAE,0BAAiB,CAAC,YAAY,CAAC,IAAI,CAAC;KAC7C;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAElD,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAC1D,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,uBAAuB;IACpC,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,0TAA0T;QAC5T,UAAU,EAAE,KAAK;KAClB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,mEAAmE,CACpE;QACD,MAAM,EAAE,0BAAiB,CAAC,YAAY,CAAC,IAAI,CAAC;KAC7C;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAElD,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAC1D,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/delete-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;;
|
|
1
|
+
{"version":3,"file":"delete-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/delete-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;;EA4B7B,CAAC"}
|
|
@@ -10,6 +10,11 @@ exports.deleteRecordAction = (0, pieces_framework_1.createAction)({
|
|
|
10
10
|
name: 'dynamics_crm_delete_record',
|
|
11
11
|
displayName: 'Delete Record',
|
|
12
12
|
description: 'Deletes an existing record.',
|
|
13
|
+
audience: 'both',
|
|
14
|
+
aiMetadata: {
|
|
15
|
+
description: 'Permanently deletes a single record from a chosen Dynamics 365 / Dataverse entity type, identified by its record ID (the entity primary-key GUID). Use when an agent must remove a specific known record. Destructive and not idempotent: the first call removes the record and subsequent calls for the same ID fail since it no longer exists.',
|
|
16
|
+
idempotent: false,
|
|
17
|
+
},
|
|
13
18
|
props: {
|
|
14
19
|
entityType: common_1.DynamicsCRMCommon.entityType('Select or map the entity name whose records you want to delete.'),
|
|
15
20
|
recordId: common_1.DynamicsCRMCommon.recordId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/delete-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,6BAA6B;IAC1C,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,iEAAiE,CAClE;QACD,QAAQ,EAAE,0BAAiB,CAAC,QAAQ;KACrC;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAEpD,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;QAC5D,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"delete-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/delete-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,kVAAkV;QACpV,UAAU,EAAE,KAAK;KAClB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,iEAAiE,CAClE;QACD,QAAQ,EAAE,0BAAiB,CAAC,QAAQ;KACrC;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAEpD,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;QAC5D,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;;;
|
|
1
|
+
{"version":3,"file":"get-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;;;EA4B1B,CAAC"}
|
|
@@ -10,6 +10,11 @@ exports.getRecordAction = (0, pieces_framework_1.createAction)({
|
|
|
10
10
|
name: 'dynamics_crm_get_record',
|
|
11
11
|
displayName: 'Get Record',
|
|
12
12
|
description: 'Retrieves an existing record.',
|
|
13
|
+
audience: 'both',
|
|
14
|
+
aiMetadata: {
|
|
15
|
+
description: 'Fetches a single record from a chosen Dynamics 365 / Dataverse entity type by its record ID (the entity primary-key GUID). Use to read a specific known record before updating, deleting, or referencing it. Read-only and idempotent.',
|
|
16
|
+
idempotent: true,
|
|
17
|
+
},
|
|
13
18
|
props: {
|
|
14
19
|
entityType: common_1.DynamicsCRMCommon.entityType('Select or map the entity name whose records you want to retrieve.'),
|
|
15
20
|
recordId: common_1.DynamicsCRMCommon.recordId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,eAAe,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,+BAA+B;IAC5C,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,mEAAmE,CACpE;QACD,QAAQ,EAAE,0BAAiB,CAAC,QAAQ;KACrC;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAEpD,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;QACzD,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,eAAe,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,wOAAwO;QAC1O,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,mEAAmE,CACpE;QACD,QAAQ,EAAE,0BAAiB,CAAC,QAAQ;KACrC;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAEpD,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;QACzD,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/update-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;;;
|
|
1
|
+
{"version":3,"file":"update-record.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/update-record.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;;;EA6B7B,CAAC"}
|
|
@@ -10,6 +10,11 @@ exports.updateRecordAction = (0, pieces_framework_1.createAction)({
|
|
|
10
10
|
name: 'dynamics_crm_update_record',
|
|
11
11
|
displayName: 'Update Record',
|
|
12
12
|
description: 'Updates an existing record.',
|
|
13
|
+
audience: 'both',
|
|
14
|
+
aiMetadata: {
|
|
15
|
+
description: 'Updates an existing record of a chosen Dynamics 365 / Dataverse entity type, identified by its record ID (the entity primary-key GUID), applying the supplied field values. Use to modify a specific known record rather than create one. Idempotent: re-sending the same field values to the same ID leaves the record in the same final state.',
|
|
16
|
+
idempotent: true,
|
|
17
|
+
},
|
|
13
18
|
props: {
|
|
14
19
|
entityType: common_1.DynamicsCRMCommon.entityType('Select or map the entity for which you want to update the record.'),
|
|
15
20
|
recordId: common_1.DynamicsCRMCommon.recordId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/update-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,6BAA6B;IAC1C,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,mEAAmE,CACpE;QACD,QAAQ,EAAE,0BAAiB,CAAC,QAAQ;QACpC,MAAM,EAAE,0BAAiB,CAAC,YAAY,CAAC,KAAK,CAAC;KAC9C;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAE5D,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,aAAa,CAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACrE,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-record.js","sourceRoot":"","sources":["../../../../src/lib/actions/update-record.ts"],"names":[],"mappings":";;;;AAAA,qEAGwC;AACxC,kCAA0C;AAC1C,sCAA0D;AAE7C,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,sBAAe;IACrB,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,kVAAkV;QACpV,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,0BAAiB,CAAC,UAAU,CACtC,mEAAmE,CACpE;QACD,QAAQ,EAAE,0BAAiB,CAAC,QAAQ;QACpC,MAAM,EAAE,0BAAiB,CAAC,YAAY,CAAC,KAAK,CAAC;KAC9C;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAE5D,MAAM,aAAa,GAAG,UAAoB,CAAC;YAE3C,MAAM,MAAM,GAAG,IAAA,mBAAU,EACvB,OAAO,CAAC,IAAI,CACb,CAAC;YAEF,OAAO,MAAM,MAAM,CAAC,aAAa,CAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACrE,CAAC;KAAA;CACF,CAAC,CAAC"}
|