n8n-nodes-base 1.86.1 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/credentials/HttpBearerAuth.credentials.js +63 -0
- package/dist/credentials/HttpBearerAuth.credentials.js.map +1 -0
- package/dist/credentials/MicrosoftAzureCosmosDbSharedKeyApi.credentials.js +109 -0
- package/dist/credentials/MicrosoftAzureCosmosDbSharedKeyApi.credentials.js.map +1 -0
- package/dist/credentials/SalesforceJwtApi.credentials.js +60 -0
- package/dist/credentials/SalesforceJwtApi.credentials.js.map +1 -1
- package/dist/known/credentials.json +11 -0
- package/dist/known/nodes.json +4 -0
- package/dist/nodes/Brevo/__schema__/v1.0.0/contact/getAll.json +1 -9
- package/dist/nodes/Dropbox/__schema__/v1.0.0/file/download.json +2 -5
- package/dist/nodes/EmailReadImap/v2/utils.js +4 -1
- package/dist/nodes/EmailReadImap/v2/utils.js.map +1 -1
- package/dist/nodes/Form/Form.node.js +2 -2
- package/dist/nodes/Form/Form.node.js.map +1 -1
- package/dist/nodes/Form/v2/FormTriggerV2.node.js +2 -2
- package/dist/nodes/Form/v2/FormTriggerV2.node.js.map +1 -1
- package/dist/nodes/Google/Analytics/__schema__/v2.0.0/report/get.json +2 -2
- package/dist/nodes/Google/Calendar/__schema__/v1.3.0/event/getAll.json +7 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/__schema__/v1.1.0/document/get.json +1 -13
- package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/get.json +1 -7
- package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/getAll.json +1 -7
- package/dist/nodes/Google/Gmail/__schema__/v2.1.0/thread/get.json +4 -4
- package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/get.json +1 -35
- package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/rate.json +9 -0
- package/dist/nodes/HaloPSA/__schema__/v1.0.0/client/getAll.json +147 -1
- package/dist/nodes/Hubspot/__schema__/v2.1.0/company/getAll.json +1 -4
- package/dist/nodes/Hubspot/__schema__/v2.1.0/contact/search.json +4 -1
- package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/getAll.json +1 -52
- package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/search.json +5 -2
- package/dist/nodes/Hubspot/__schema__/v2.1.0/ticket/get.json +1 -258
- package/dist/nodes/ItemLists/__schema__/v3.0.0/itemList/limit.json +9 -0
- package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +84 -1
- package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +4 -565
- package/dist/nodes/Lemlist/__schema__/v2.0.0/campaign/getAll.json +1 -10
- package/dist/nodes/Linear/__schema__/v1.0.0/issue/create.json +12 -1
- package/dist/nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.node.js +87 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.node.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.node.json +18 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.svg +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/common.js +163 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/common.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/Container.resource.js +141 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/Container.resource.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/create.operation.js +166 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/create.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/delete.operation.js +40 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/delete.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/get.operation.js +47 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/get.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/getAll.operation.js +47 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/container/getAll.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/index.js +42 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/index.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/Item.resource.js +210 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/Item.resource.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/create.operation.js +72 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/create.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/delete.operation.js +64 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/delete.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/get.operation.js +77 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/get.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/getAll.operation.js +48 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/getAll.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/query.operation.js +102 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/query.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/update.operation.js +83 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/descriptions/item/update.operation.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/constants.js +52 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/constants.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/errorHandler.js +108 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/errorHandler.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/interfaces.js +17 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/interfaces.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/utils.js +200 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/helpers/utils.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/methods/index.js +39 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/methods/index.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/methods/listSearch.js +75 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/methods/listSearch.js.map +1 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/transport/index.js +43 -0
- package/dist/nodes/Microsoft/AzureCosmosDb/transport/index.js.map +1 -0
- package/dist/nodes/Microsoft/OneDrive/__schema__/v1.0.0/file/download.json +92 -1
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +3 -81
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/get.json +28 -1
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/getAll.json +82 -1
- package/dist/nodes/Nasa/__schema__/v1.0.0/donkiSolarFlare/get.json +4 -1
- package/dist/nodes/Notion/__schema__/v2.2.0/databasePage/create.json +1 -4
- package/dist/nodes/Notion/__schema__/v2.2.0/databasePage/getAll.json +1 -4
- package/dist/nodes/Odoo/__schema__/v1.0.0/custom/get.json +1 -4
- package/dist/nodes/Odoo/__schema__/v1.0.0/custom/getAll.json +4 -1
- package/dist/nodes/Odoo/__schema__/v1.0.0/opportunity/getAll.json +1 -4
- package/dist/nodes/Phantombuster/__schema__/v1.0.0/agent/getOutput.json +1 -10
- package/dist/nodes/Pipedrive/__schema__/v1.0.0/person/search.json +12 -1
- package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/getAll.json +2 -2
- package/dist/nodes/Salesforce/__schema__/v1.0.0/opportunity/getAll.json +4 -1
- package/dist/nodes/Salesforce/__schema__/v1.0.0/search/query.json +1 -4
- package/dist/nodes/ServiceNow/__schema__/v1.0.0/tableRecord/getAll.json +1 -4
- package/dist/nodes/Slack/__schema__/v2.3.0/channel/history.json +4 -44
- package/dist/nodes/Ssh/__schema__/v1.0.0/command/execute.json +1 -4
- package/dist/nodes/Supabase/__schema__/v1.0.0/row/delete.json +7 -1
- package/dist/nodes/Telegram/__schema__/v1.2.0/chat/get.json +1 -10
- package/dist/nodes/Telegram/__schema__/v1.2.0/chat/member.json +1 -4
- package/dist/nodes/Transform/Summarize/utils.js +1 -1
- package/dist/nodes/Transform/Summarize/utils.js.map +1 -1
- package/dist/nodes/Trello/__schema__/v1.0.0/list/getAll.json +1 -4
- package/dist/nodes/Trello/__schema__/v1.0.0/list/getCards.json +4 -7
- package/dist/nodes/Twitter/__schema__/v2.0.0/tweet/search.json +1 -4
- package/dist/nodes/Wait/Wait.node.js +2 -2
- package/dist/nodes/Wait/Wait.node.js.map +1 -1
- package/dist/nodes/Webhook/error.d.ts +8 -0
- package/dist/nodes/Webhook/utils.d.ts +32 -0
- package/dist/nodes/Webhook/utils.js +13 -0
- package/dist/nodes/Webhook/utils.js.map +1 -1
- package/dist/nodes/Wordpress/__schema__/v1.0.0/post/getAll.json +9 -1
- package/dist/nodes/Zoho/__schema__/v1.0.0/contact/getAll.json +1 -15
- package/dist/test/nodes/FakeCredentialsMap.js +36 -0
- package/dist/test/nodes/FakeCredentialsMap.js.map +1 -1
- package/dist/test/nodes/Helpers.js +1 -1
- package/dist/test/nodes/Helpers.js.map +1 -1
- package/dist/types/credentials.json +3 -1
- package/dist/types/nodes.json +6 -5
- package/package.json +12 -9
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var AzureCosmosDb_node_exports = {};
|
|
20
|
+
__export(AzureCosmosDb_node_exports, {
|
|
21
|
+
AzureCosmosDb: () => AzureCosmosDb
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(AzureCosmosDb_node_exports);
|
|
24
|
+
var import_n8n_workflow = require("n8n-workflow");
|
|
25
|
+
var import_descriptions = require("./descriptions");
|
|
26
|
+
var import_methods = require("./methods");
|
|
27
|
+
class AzureCosmosDb {
|
|
28
|
+
constructor() {
|
|
29
|
+
this.description = {
|
|
30
|
+
displayName: "Azure Cosmos DB",
|
|
31
|
+
name: "azureCosmosDb",
|
|
32
|
+
icon: {
|
|
33
|
+
light: "file:AzureCosmosDb.svg",
|
|
34
|
+
dark: "file:AzureCosmosDb.svg"
|
|
35
|
+
},
|
|
36
|
+
group: ["transform"],
|
|
37
|
+
version: 1,
|
|
38
|
+
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
39
|
+
description: "Interact with Azure Cosmos DB API",
|
|
40
|
+
defaults: {
|
|
41
|
+
name: "Azure Cosmos DB"
|
|
42
|
+
},
|
|
43
|
+
inputs: [import_n8n_workflow.NodeConnectionTypes.Main],
|
|
44
|
+
outputs: [import_n8n_workflow.NodeConnectionTypes.Main],
|
|
45
|
+
credentials: [
|
|
46
|
+
{
|
|
47
|
+
name: "microsoftAzureCosmosDbSharedKeyApi",
|
|
48
|
+
required: true
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
requestDefaults: {
|
|
52
|
+
baseURL: "=https://{{ $credentials.account }}.documents.azure.com/dbs/{{ $credentials.database }}",
|
|
53
|
+
json: true,
|
|
54
|
+
ignoreHttpStatusErrors: true
|
|
55
|
+
},
|
|
56
|
+
properties: [
|
|
57
|
+
{
|
|
58
|
+
displayName: "Resource",
|
|
59
|
+
name: "resource",
|
|
60
|
+
type: "options",
|
|
61
|
+
noDataExpression: true,
|
|
62
|
+
options: [
|
|
63
|
+
{
|
|
64
|
+
name: "Container",
|
|
65
|
+
value: "container"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "Item",
|
|
69
|
+
value: "item"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
default: "container"
|
|
73
|
+
},
|
|
74
|
+
...import_descriptions.container.description,
|
|
75
|
+
...import_descriptions.item.description
|
|
76
|
+
]
|
|
77
|
+
};
|
|
78
|
+
this.methods = {
|
|
79
|
+
listSearch: import_methods.listSearch
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
+
0 && (module.exports = {
|
|
85
|
+
AzureCosmosDb
|
|
86
|
+
});
|
|
87
|
+
//# sourceMappingURL=AzureCosmosDb.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.node.ts"],"sourcesContent":["import type { INodeType, INodeTypeDescription } from 'n8n-workflow';\nimport { NodeConnectionTypes } from 'n8n-workflow';\n\nimport { container, item } from './descriptions';\nimport { listSearch } from './methods';\n\nexport class AzureCosmosDb implements INodeType {\n\tdescription: INodeTypeDescription = {\n\t\tdisplayName: 'Azure Cosmos DB',\n\t\tname: 'azureCosmosDb',\n\t\ticon: {\n\t\t\tlight: 'file:AzureCosmosDb.svg',\n\t\t\tdark: 'file:AzureCosmosDb.svg',\n\t\t},\n\t\tgroup: ['transform'],\n\t\tversion: 1,\n\t\tsubtitle: '={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}',\n\t\tdescription: 'Interact with Azure Cosmos DB API',\n\t\tdefaults: {\n\t\t\tname: 'Azure Cosmos DB',\n\t\t},\n\t\tinputs: [NodeConnectionTypes.Main],\n\t\toutputs: [NodeConnectionTypes.Main],\n\t\tcredentials: [\n\t\t\t{\n\t\t\t\tname: 'microsoftAzureCosmosDbSharedKeyApi',\n\t\t\t\trequired: true,\n\t\t\t},\n\t\t],\n\t\trequestDefaults: {\n\t\t\tbaseURL:\n\t\t\t\t'=https://{{ $credentials.account }}.documents.azure.com/dbs/{{ $credentials.database }}',\n\t\t\tjson: true,\n\t\t\tignoreHttpStatusErrors: true,\n\t\t},\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Resource',\n\t\t\t\tname: 'resource',\n\t\t\t\ttype: 'options',\n\t\t\t\tnoDataExpression: true,\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Container',\n\t\t\t\t\t\tvalue: 'container',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Item',\n\t\t\t\t\t\tvalue: 'item',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tdefault: 'container',\n\t\t\t},\n\n\t\t\t...container.description,\n\t\t\t...item.description,\n\t\t],\n\t};\n\n\tmethods = {\n\t\tlistSearch,\n\t};\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAoC;AAEpC,0BAAgC;AAChC,qBAA2B;AAEpB,MAAM,cAAmC;AAAA,EAAzC;AACN,uBAAoC;AAAA,MACnC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,QACL,OAAO;AAAA,QACP,MAAM;AAAA,MACP;AAAA,MACA,OAAO,CAAC,WAAW;AAAA,MACnB,SAAS;AAAA,MACT,UAAU;AAAA,MACV,aAAa;AAAA,MACb,UAAU;AAAA,QACT,MAAM;AAAA,MACP;AAAA,MACA,QAAQ,CAAC,wCAAoB,IAAI;AAAA,MACjC,SAAS,CAAC,wCAAoB,IAAI;AAAA,MAClC,aAAa;AAAA,QACZ;AAAA,UACC,MAAM;AAAA,UACN,UAAU;AAAA,QACX;AAAA,MACD;AAAA,MACA,iBAAiB;AAAA,QAChB,SACC;AAAA,QACD,MAAM;AAAA,QACN,wBAAwB;AAAA,MACzB;AAAA,MACA,YAAY;AAAA,QACX;AAAA,UACC,aAAa;AAAA,UACb,MAAM;AAAA,UACN,MAAM;AAAA,UACN,kBAAkB;AAAA,UAClB,SAAS;AAAA,YACR;AAAA,cACC,MAAM;AAAA,cACN,OAAO;AAAA,YACR;AAAA,YACA;AAAA,cACC,MAAM;AAAA,cACN,OAAO;AAAA,YACR;AAAA,UACD;AAAA,UACA,SAAS;AAAA,QACV;AAAA,QAEA,GAAG,8BAAU;AAAA,QACb,GAAG,yBAAK;AAAA,MACT;AAAA,IACD;AAEA,mBAAU;AAAA,MACT;AAAA,IACD;AAAA;AACD;","names":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-base.azureCosmosDb",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": ["Data & Storage"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://docs.n8n.io/integrations/builtin/credentials/microsoft/"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"primaryDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.azureCosmosDb/"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M105.825 58.635c5.491 22.449-8.458 45.049-31.156 50.48-22.695 5.429-45.547-8.365-51.036-30.815-5.492-22.449 8.458-45.049 31.153-50.48l.078-.018c22.588-5.46 45.374 8.223 50.896 30.565l.065.268Z" fill="#59B3D8"/><path fill-rule="evenodd" clip-rule="evenodd" d="M58.747 85.194c-.013-6.137-5.055-11.1-11.259-11.085h-1.701c1.442-5.932-2.248-11.895-8.246-13.322a11.182 11.182 0 0 0-2.703-.306H23.162c-2.525 12.851 1.246 26.127 10.174 35.796h14.149c6.205.015 11.247-4.948 11.262-11.083ZM72.69 39.233c0 .649.085 1.296.255 1.925h-4.861c-6.445 0-11.667 5.168-11.667 11.543 0 6.372 5.222 11.54 11.667 11.54h38.645c-1.258-13.787-9.486-26.01-21.862-32.477h-4.605c-4.177-.002-7.562 3.339-7.572 7.469Zm34.043 33.587H83.679c-5.259-.013-9.531 4.187-9.552 9.385a9.241 9.241 0 0 0 1.148 4.471c-5.003 1.546-7.792 6.814-6.228 11.765 1.242 3.934 4.938 6.607 9.106 6.589h6.427c12.314-6.454 20.607-18.51 22.153-32.21Z" fill="#B6DEEC"/><path fill-rule="evenodd" clip-rule="evenodd" d="M17.382 40.624a1.286 1.286 0 0 1-1.3-1.275v-.003c-.021-8.064-6.637-14.587-14.79-14.579A1.286 1.286 0 0 1 0 23.489c0-.703.579-1.275 1.292-1.275 8.143.007 14.756-6.503 14.79-14.554a1.29 1.29 0 0 1 1.356-1.227c.672.028 1.21.56 1.241 1.227.021 8.061 6.639 14.584 14.792 14.577.713 0 1.292.572 1.292 1.277 0 .706-.579 1.279-1.292 1.279-8.148-.011-14.766 6.507-14.792 14.566-.01.7-.589 1.265-1.297 1.265Z" fill="#B7D332"/><path fill-rule="evenodd" clip-rule="evenodd" d="M108.6 122.793a.764.764 0 0 1-.768-.759c-.018-4.821-3.98-8.719-8.854-8.709a.762.762 0 0 1-.77-.756c0-.419.342-.759.765-.759h.005c4.872.002 8.826-3.893 8.844-8.711a.77.77 0 0 1 .778-.767.77.77 0 0 1 .775.767c.018 4.818 3.972 8.713 8.843 8.711a.761.761 0 0 1 .77.756.759.759 0 0 1-.765.759h-.005c-4.871-.002-8.828 3.893-8.843 8.714a.764.764 0 0 1-.773.754h-.002Z" fill="#0072C5"/><path fill-rule="evenodd" clip-rule="evenodd" d="M126.317 30.84c-4.035-6.539-14.175-8.049-29.306-4.384a121.688 121.688 0 0 0-13.893 4.384 42.829 42.829 0 0 1 8.187 5.173c2.574-.836 5.101-1.59 7.512-2.173a53.33 53.33 0 0 1 12.335-1.727c4.957 0 7.691 1.211 8.606 2.686 1.496 2.423.119 8.816-8.681 18.871-1.566 1.789-3.326 3.601-5.179 5.423a175.936 175.936 0 0 1-31.843 24.149 176.032 176.032 0 0 1-36.329 17.105c-15.317 4.936-25.773 4.836-28.119 1.048-2.342-3.788 2.344-13.048 13.776-24.29a41.005 41.005 0 0 1-.938-9.735c-18.2 16.271-24.09 30.365-19.387 37.981 2.463 3.985 7.844 6.229 15.705 6.229a80.772 80.772 0 0 0 27.183-5.932 194.648 194.648 0 0 0 32.11-15.926 193.405 193.405 0 0 0 28.884-21.148 118.565 118.565 0 0 0 9.947-9.941c10.207-11.655 13.466-21.268 9.43-27.793Z" fill="#000"/></svg>
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var common_exports = {};
|
|
20
|
+
__export(common_exports, {
|
|
21
|
+
containerResourceLocator: () => containerResourceLocator,
|
|
22
|
+
itemResourceLocator: () => itemResourceLocator,
|
|
23
|
+
paginationParameters: () => paginationParameters
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(common_exports);
|
|
26
|
+
var import_constants = require("../helpers/constants");
|
|
27
|
+
var import_utils = require("../helpers/utils");
|
|
28
|
+
const containerResourceLocator = {
|
|
29
|
+
displayName: "Container",
|
|
30
|
+
name: "container",
|
|
31
|
+
default: {
|
|
32
|
+
mode: "list",
|
|
33
|
+
value: ""
|
|
34
|
+
},
|
|
35
|
+
modes: [
|
|
36
|
+
{
|
|
37
|
+
displayName: "From list",
|
|
38
|
+
name: "list",
|
|
39
|
+
type: "list",
|
|
40
|
+
typeOptions: {
|
|
41
|
+
searchListMethod: "searchContainers",
|
|
42
|
+
searchable: true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: "By ID",
|
|
47
|
+
name: "id",
|
|
48
|
+
hint: "Enter the container ID",
|
|
49
|
+
placeholder: "e.g. AndersenFamily",
|
|
50
|
+
type: "string",
|
|
51
|
+
validation: [
|
|
52
|
+
{
|
|
53
|
+
type: "regex",
|
|
54
|
+
properties: {
|
|
55
|
+
regex: "^[\\w+=,.@-]+$",
|
|
56
|
+
errorMessage: "The container ID must follow the allowed pattern"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
required: true,
|
|
63
|
+
type: "resourceLocator"
|
|
64
|
+
};
|
|
65
|
+
const itemResourceLocator = {
|
|
66
|
+
displayName: "Item",
|
|
67
|
+
name: "item",
|
|
68
|
+
default: {
|
|
69
|
+
mode: "list",
|
|
70
|
+
value: ""
|
|
71
|
+
},
|
|
72
|
+
displayOptions: {
|
|
73
|
+
hide: {
|
|
74
|
+
...import_utils.untilContainerSelected
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
modes: [
|
|
78
|
+
{
|
|
79
|
+
displayName: "From list",
|
|
80
|
+
name: "list",
|
|
81
|
+
type: "list",
|
|
82
|
+
typeOptions: {
|
|
83
|
+
searchListMethod: "searchItems",
|
|
84
|
+
searchable: true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
displayName: "By ID",
|
|
89
|
+
name: "id",
|
|
90
|
+
hint: "Enter the item ID",
|
|
91
|
+
placeholder: "e.g. AndersenFamily",
|
|
92
|
+
type: "string",
|
|
93
|
+
validation: [
|
|
94
|
+
{
|
|
95
|
+
type: "regex",
|
|
96
|
+
properties: {
|
|
97
|
+
regex: "^[\\w+=,.@-]+$",
|
|
98
|
+
errorMessage: "The item ID must follow the allowed pattern"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
required: true,
|
|
105
|
+
type: "resourceLocator"
|
|
106
|
+
};
|
|
107
|
+
const paginationParameters = [
|
|
108
|
+
{
|
|
109
|
+
displayName: "Return All",
|
|
110
|
+
name: "returnAll",
|
|
111
|
+
default: false,
|
|
112
|
+
description: "Whether to return all results or only up to a given limit",
|
|
113
|
+
routing: {
|
|
114
|
+
send: {
|
|
115
|
+
paginate: "={{ $value }}"
|
|
116
|
+
},
|
|
117
|
+
operations: {
|
|
118
|
+
pagination: {
|
|
119
|
+
type: "generic",
|
|
120
|
+
properties: {
|
|
121
|
+
continue: `={{ !!$response.headers?.["${import_constants.HeaderConstants.X_MS_CONTINUATION}"] }}`,
|
|
122
|
+
request: {
|
|
123
|
+
headers: {
|
|
124
|
+
[import_constants.HeaderConstants.X_MS_CONTINUATION]: `={{ $response.headers?.["${import_constants.HeaderConstants.X_MS_CONTINUATION}"] }}`
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
type: "boolean"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
displayName: "Limit",
|
|
135
|
+
name: "limit",
|
|
136
|
+
default: 50,
|
|
137
|
+
description: "Max number of results to return",
|
|
138
|
+
displayOptions: {
|
|
139
|
+
show: {
|
|
140
|
+
returnAll: [false]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
routing: {
|
|
144
|
+
request: {
|
|
145
|
+
headers: {
|
|
146
|
+
[import_constants.HeaderConstants.X_MS_MAX_ITEM_COUNT]: "={{ $value || undefined }}"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
type: "number",
|
|
151
|
+
typeOptions: {
|
|
152
|
+
minValue: 1
|
|
153
|
+
},
|
|
154
|
+
validateType: "number"
|
|
155
|
+
}
|
|
156
|
+
];
|
|
157
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
158
|
+
0 && (module.exports = {
|
|
159
|
+
containerResourceLocator,
|
|
160
|
+
itemResourceLocator,
|
|
161
|
+
paginationParameters
|
|
162
|
+
});
|
|
163
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../nodes/Microsoft/AzureCosmosDb/descriptions/common.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\n\nimport { HeaderConstants } from '../helpers/constants';\nimport { untilContainerSelected } from '../helpers/utils';\n\nexport const containerResourceLocator: INodeProperties = {\n\tdisplayName: 'Container',\n\tname: 'container',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From list',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'searchContainers',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\thint: 'Enter the container ID',\n\t\t\tplaceholder: 'e.g. AndersenFamily',\n\t\t\ttype: 'string',\n\t\t\tvalidation: [\n\t\t\t\t{\n\t\t\t\t\ttype: 'regex',\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tregex: '^[\\\\w+=,.@-]+$',\n\t\t\t\t\t\terrorMessage: 'The container ID must follow the allowed pattern',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t],\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n\nexport const itemResourceLocator: INodeProperties = {\n\tdisplayName: 'Item',\n\tname: 'item',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tdisplayOptions: {\n\t\thide: {\n\t\t\t...untilContainerSelected,\n\t\t},\n\t},\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From list',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'searchItems',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\thint: 'Enter the item ID',\n\t\t\tplaceholder: 'e.g. AndersenFamily',\n\t\t\ttype: 'string',\n\t\t\tvalidation: [\n\t\t\t\t{\n\t\t\t\t\ttype: 'regex',\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tregex: '^[\\\\w+=,.@-]+$',\n\t\t\t\t\t\terrorMessage: 'The item ID must follow the allowed pattern',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t],\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n\nexport const paginationParameters: INodeProperties[] = [\n\t{\n\t\tdisplayName: 'Return All',\n\t\tname: 'returnAll',\n\t\tdefault: false,\n\t\tdescription: 'Whether to return all results or only up to a given limit',\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tpaginate: '={{ $value }}',\n\t\t\t},\n\t\t\toperations: {\n\t\t\t\tpagination: {\n\t\t\t\t\ttype: 'generic',\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tcontinue: `={{ !!$response.headers?.[\"${HeaderConstants.X_MS_CONTINUATION}\"] }}`,\n\t\t\t\t\t\trequest: {\n\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\t[HeaderConstants.X_MS_CONTINUATION]: `={{ $response.headers?.[\"${HeaderConstants.X_MS_CONTINUATION}\"] }}`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\ttype: 'boolean',\n\t},\n\t{\n\t\tdisplayName: 'Limit',\n\t\tname: 'limit',\n\t\tdefault: 50,\n\t\tdescription: 'Max number of results to return',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\treturnAll: [false],\n\t\t\t},\n\t\t},\n\t\trouting: {\n\t\t\trequest: {\n\t\t\t\theaders: {\n\t\t\t\t\t[HeaderConstants.X_MS_MAX_ITEM_COUNT]: '={{ $value || undefined }}',\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\ttype: 'number',\n\t\ttypeOptions: {\n\t\t\tminValue: 1,\n\t\t},\n\t\tvalidateType: 'number',\n\t},\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,uBAAgC;AAChC,mBAAuC;AAEhC,MAAM,2BAA4C;AAAA,EACxD,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,MACN,YAAY;AAAA,QACX;AAAA,UACC,MAAM;AAAA,UACN,YAAY;AAAA,YACX,OAAO;AAAA,YACP,cAAc;AAAA,UACf;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EACA,UAAU;AAAA,EACV,MAAM;AACP;AAEO,MAAM,sBAAuC;AAAA,EACnD,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,gBAAgB;AAAA,IACf,MAAM;AAAA,MACL,GAAG;AAAA,IACJ;AAAA,EACD;AAAA,EACA,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,MACN,YAAY;AAAA,QACX;AAAA,UACC,MAAM;AAAA,UACN,YAAY;AAAA,YACX,OAAO;AAAA,YACP,cAAc;AAAA,UACf;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EACA,UAAU;AAAA,EACV,MAAM;AACP;AAEO,MAAM,uBAA0C;AAAA,EACtD;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,SAAS;AAAA,MACR,MAAM;AAAA,QACL,UAAU;AAAA,MACX;AAAA,MACA,YAAY;AAAA,QACX,YAAY;AAAA,UACX,MAAM;AAAA,UACN,YAAY;AAAA,YACX,UAAU,8BAA8B,iCAAgB,iBAAiB;AAAA,YACzE,SAAS;AAAA,cACR,SAAS;AAAA,gBACR,CAAC,iCAAgB,iBAAiB,GAAG,4BAA4B,iCAAgB,iBAAiB;AAAA,cACnG;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,IACA,MAAM;AAAA,EACP;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,WAAW,CAAC,KAAK;AAAA,MAClB;AAAA,IACD;AAAA,IACA,SAAS;AAAA,MACR,SAAS;AAAA,QACR,SAAS;AAAA,UACR,CAAC,iCAAgB,mBAAmB,GAAG;AAAA,QACxC;AAAA,MACD;AAAA,IACD;AAAA,IACA,MAAM;AAAA,IACN,aAAa;AAAA,MACZ,UAAU;AAAA,IACX;AAAA,IACA,cAAc;AAAA,EACf;AACD;","names":[]}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var Container_resource_exports = {};
|
|
30
|
+
__export(Container_resource_exports, {
|
|
31
|
+
description: () => description
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(Container_resource_exports);
|
|
34
|
+
var create = __toESM(require("./create.operation"));
|
|
35
|
+
var del = __toESM(require("./delete.operation"));
|
|
36
|
+
var get = __toESM(require("./get.operation"));
|
|
37
|
+
var getAll = __toESM(require("./getAll.operation"));
|
|
38
|
+
var import_errorHandler = require("../../helpers/errorHandler");
|
|
39
|
+
var import_utils = require("../../helpers/utils");
|
|
40
|
+
const description = [
|
|
41
|
+
{
|
|
42
|
+
displayName: "Operation",
|
|
43
|
+
name: "operation",
|
|
44
|
+
type: "options",
|
|
45
|
+
noDataExpression: true,
|
|
46
|
+
displayOptions: {
|
|
47
|
+
show: {
|
|
48
|
+
resource: ["container"]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
options: [
|
|
52
|
+
{
|
|
53
|
+
name: "Create",
|
|
54
|
+
value: "create",
|
|
55
|
+
description: "Create a container",
|
|
56
|
+
routing: {
|
|
57
|
+
request: {
|
|
58
|
+
method: "POST",
|
|
59
|
+
url: "/colls"
|
|
60
|
+
},
|
|
61
|
+
output: {
|
|
62
|
+
postReceive: [import_errorHandler.handleError]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
action: "Create container"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "Delete",
|
|
69
|
+
value: "delete",
|
|
70
|
+
description: "Delete a container",
|
|
71
|
+
routing: {
|
|
72
|
+
request: {
|
|
73
|
+
method: "DELETE",
|
|
74
|
+
url: '=/colls/{{ $parameter["container"] }}'
|
|
75
|
+
},
|
|
76
|
+
output: {
|
|
77
|
+
postReceive: [
|
|
78
|
+
import_errorHandler.handleError,
|
|
79
|
+
{
|
|
80
|
+
type: "set",
|
|
81
|
+
properties: {
|
|
82
|
+
value: '={{ { "deleted": true } }}'
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
action: "Delete container"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "Get",
|
|
92
|
+
value: "get",
|
|
93
|
+
description: "Retrieve a container",
|
|
94
|
+
routing: {
|
|
95
|
+
request: {
|
|
96
|
+
method: "GET",
|
|
97
|
+
url: '=/colls/{{ $parameter["container"] }}'
|
|
98
|
+
},
|
|
99
|
+
output: {
|
|
100
|
+
postReceive: [import_errorHandler.handleError, import_utils.simplifyData]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
action: "Get container"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "Get Many",
|
|
107
|
+
value: "getAll",
|
|
108
|
+
description: "Retrieve a list of containers",
|
|
109
|
+
routing: {
|
|
110
|
+
request: {
|
|
111
|
+
method: "GET",
|
|
112
|
+
url: "/colls"
|
|
113
|
+
},
|
|
114
|
+
output: {
|
|
115
|
+
postReceive: [
|
|
116
|
+
import_errorHandler.handleError,
|
|
117
|
+
{
|
|
118
|
+
type: "rootProperty",
|
|
119
|
+
properties: {
|
|
120
|
+
property: "DocumentCollections"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
import_utils.simplifyData
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
action: "Get many containers"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
default: "getAll"
|
|
131
|
+
},
|
|
132
|
+
...create.description,
|
|
133
|
+
...del.description,
|
|
134
|
+
...get.description,
|
|
135
|
+
...getAll.description
|
|
136
|
+
];
|
|
137
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
138
|
+
0 && (module.exports = {
|
|
139
|
+
description
|
|
140
|
+
});
|
|
141
|
+
//# sourceMappingURL=Container.resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../nodes/Microsoft/AzureCosmosDb/descriptions/container/Container.resource.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\n\nimport * as create from './create.operation';\nimport * as del from './delete.operation';\nimport * as get from './get.operation';\nimport * as getAll from './getAll.operation';\nimport { handleError } from '../../helpers/errorHandler';\nimport { simplifyData } from '../../helpers/utils';\n\nexport const description: INodeProperties[] = [\n\t{\n\t\tdisplayName: 'Operation',\n\t\tname: 'operation',\n\t\ttype: 'options',\n\t\tnoDataExpression: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tresource: ['container'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Create',\n\t\t\t\tvalue: 'create',\n\t\t\t\tdescription: 'Create a container',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\turl: '/colls',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [handleError],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Create container',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Delete',\n\t\t\t\tvalue: 'delete',\n\t\t\t\tdescription: 'Delete a container',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'DELETE',\n\t\t\t\t\t\turl: '=/colls/{{ $parameter[\"container\"] }}',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [\n\t\t\t\t\t\t\thandleError,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'set',\n\t\t\t\t\t\t\t\tproperties: {\n\t\t\t\t\t\t\t\t\tvalue: '={{ { \"deleted\": true } }}',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Delete container',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Get',\n\t\t\t\tvalue: 'get',\n\t\t\t\tdescription: 'Retrieve a container',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'GET',\n\t\t\t\t\t\turl: '=/colls/{{ $parameter[\"container\"] }}',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [handleError, simplifyData],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Get container',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Get Many',\n\t\t\t\tvalue: 'getAll',\n\t\t\t\tdescription: 'Retrieve a list of containers',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'GET',\n\t\t\t\t\t\turl: '/colls',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [\n\t\t\t\t\t\t\thandleError,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'rootProperty',\n\t\t\t\t\t\t\t\tproperties: {\n\t\t\t\t\t\t\t\t\tproperty: 'DocumentCollections',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsimplifyData,\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Get many containers',\n\t\t\t},\n\t\t],\n\t\tdefault: 'getAll',\n\t},\n\n\t...create.description,\n\t...del.description,\n\t...get.description,\n\t...getAll.description,\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,aAAwB;AACxB,UAAqB;AACrB,UAAqB;AACrB,aAAwB;AACxB,0BAA4B;AAC5B,mBAA6B;AAEtB,MAAM,cAAiC;AAAA,EAC7C;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,UAAU,CAAC,WAAW;AAAA,MACvB;AAAA,IACD;AAAA,IACA,SAAS;AAAA,MACR;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,UACN;AAAA,UACA,QAAQ;AAAA,YACP,aAAa,CAAC,+BAAW;AAAA,UAC1B;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,MACA;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,UACN;AAAA,UACA,QAAQ;AAAA,YACP,aAAa;AAAA,cACZ;AAAA,cACA;AAAA,gBACC,MAAM;AAAA,gBACN,YAAY;AAAA,kBACX,OAAO;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,MACA;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,UACN;AAAA,UACA,QAAQ;AAAA,YACP,aAAa,CAAC,iCAAa,yBAAY;AAAA,UACxC;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,MACA;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,UACN;AAAA,UACA,QAAQ;AAAA,YACP,aAAa;AAAA,cACZ;AAAA,cACA;AAAA,gBACC,MAAM;AAAA,gBACN,YAAY;AAAA,kBACX,UAAU;AAAA,gBACX;AAAA,cACD;AAAA,cACA;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,IACD;AAAA,IACA,SAAS;AAAA,EACV;AAAA,EAEA,GAAG,OAAO;AAAA,EACV,GAAG,IAAI;AAAA,EACP,GAAG,IAAI;AAAA,EACP,GAAG,OAAO;AACX;","names":[]}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var create_operation_exports = {};
|
|
20
|
+
__export(create_operation_exports, {
|
|
21
|
+
description: () => description
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(create_operation_exports);
|
|
24
|
+
var import_n8n_workflow = require("n8n-workflow");
|
|
25
|
+
var import_constants = require("../../helpers/constants");
|
|
26
|
+
var import_utils = require("../../helpers/utils");
|
|
27
|
+
const properties = [
|
|
28
|
+
{
|
|
29
|
+
displayName: "ID",
|
|
30
|
+
name: "containerCreate",
|
|
31
|
+
default: "",
|
|
32
|
+
description: "Unique identifier for the new container",
|
|
33
|
+
placeholder: "e.g. Container1",
|
|
34
|
+
required: true,
|
|
35
|
+
routing: {
|
|
36
|
+
send: {
|
|
37
|
+
preSend: [
|
|
38
|
+
async function(requestOptions) {
|
|
39
|
+
const id = this.getNodeParameter("containerCreate");
|
|
40
|
+
if (/\s/.test(id)) {
|
|
41
|
+
throw new import_n8n_workflow.OperationalError("The container ID must not contain spaces.");
|
|
42
|
+
}
|
|
43
|
+
if (!/^[a-zA-Z0-9-_]+$/.test(id)) {
|
|
44
|
+
throw new import_n8n_workflow.OperationalError(
|
|
45
|
+
"The container ID may only contain letters, numbers, hyphens, and underscores."
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
requestOptions.body.id = id;
|
|
49
|
+
return requestOptions;
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
type: "string"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
displayName: "Partition Key",
|
|
58
|
+
name: "partitionKey",
|
|
59
|
+
default: '{\n "paths": [\n "/id"\n ],\n "kind": "Hash",\n "version": 2\n}',
|
|
60
|
+
description: "The partition key is used to automatically distribute data across partitions for scalability. Choose a property in your JSON document that has a wide range of values and evenly distributes request volume.",
|
|
61
|
+
required: true,
|
|
62
|
+
routing: {
|
|
63
|
+
send: {
|
|
64
|
+
preSend: [
|
|
65
|
+
async function(requestOptions) {
|
|
66
|
+
const rawPartitionKey = this.getNodeParameter("partitionKey");
|
|
67
|
+
const partitionKey = (0, import_utils.processJsonInput)(rawPartitionKey, "Partition Key", {
|
|
68
|
+
paths: ["/id"],
|
|
69
|
+
kind: "Hash",
|
|
70
|
+
version: 2
|
|
71
|
+
});
|
|
72
|
+
requestOptions.body.partitionKey = partitionKey;
|
|
73
|
+
return requestOptions;
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
type: "json"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
displayName: "Additional Fields",
|
|
82
|
+
name: "additionalFields",
|
|
83
|
+
default: {},
|
|
84
|
+
options: [
|
|
85
|
+
{
|
|
86
|
+
displayName: "Indexing Policy",
|
|
87
|
+
name: "indexingPolicy",
|
|
88
|
+
default: '{\n "indexingMode": "consistent",\n "automatic": true,\n "includedPaths": [\n {\n "path": "/*"\n }\n ],\n "excludedPaths": []\n}',
|
|
89
|
+
description: "This value is used to configure indexing policy",
|
|
90
|
+
routing: {
|
|
91
|
+
send: {
|
|
92
|
+
preSend: [
|
|
93
|
+
async function(requestOptions) {
|
|
94
|
+
const rawIndexingPolicy = this.getNodeParameter(
|
|
95
|
+
"additionalFields.indexingPolicy"
|
|
96
|
+
);
|
|
97
|
+
const indexPolicy = (0, import_utils.processJsonInput)(rawIndexingPolicy, "Indexing Policy");
|
|
98
|
+
requestOptions.body.indexingPolicy = indexPolicy;
|
|
99
|
+
return requestOptions;
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
type: "json"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: "Max RU/s (for Autoscale)",
|
|
108
|
+
name: "maxThroughput",
|
|
109
|
+
default: 1e3,
|
|
110
|
+
description: "The user specified autoscale max RU/s",
|
|
111
|
+
displayOptions: {
|
|
112
|
+
hide: {
|
|
113
|
+
"/additionalFields.offerThroughput": [{ _cnd: { exists: true } }]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
routing: {
|
|
117
|
+
request: {
|
|
118
|
+
headers: {
|
|
119
|
+
[import_constants.HeaderConstants.X_MS_COSMOS_OFFER_AUTOPILOT_SETTING]: "={{ $value }}"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
type: "number",
|
|
124
|
+
typeOptions: {
|
|
125
|
+
minValue: 1e3
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
displayName: "Manual Throughput RU/s",
|
|
130
|
+
name: "offerThroughput",
|
|
131
|
+
default: 400,
|
|
132
|
+
description: "The user specified manual throughput (RU/s) for the collection expressed in units of 100 request units per second",
|
|
133
|
+
displayOptions: {
|
|
134
|
+
hide: {
|
|
135
|
+
"/additionalFields.maxThroughput": [{ _cnd: { exists: true } }]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
routing: {
|
|
139
|
+
request: {
|
|
140
|
+
headers: {
|
|
141
|
+
[import_constants.HeaderConstants.X_MS_OFFER_THROUGHPUT]: "={{ $value }}"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
type: "number",
|
|
146
|
+
typeOptions: {
|
|
147
|
+
minValue: 400
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
placeholder: "Add Option",
|
|
152
|
+
type: "collection"
|
|
153
|
+
}
|
|
154
|
+
];
|
|
155
|
+
const displayOptions = {
|
|
156
|
+
show: {
|
|
157
|
+
resource: ["container"],
|
|
158
|
+
operation: ["create"]
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
|
|
162
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
163
|
+
0 && (module.exports = {
|
|
164
|
+
description
|
|
165
|
+
});
|
|
166
|
+
//# sourceMappingURL=create.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../nodes/Microsoft/AzureCosmosDb/descriptions/container/create.operation.ts"],"sourcesContent":["import type {\n\tIDataObject,\n\tIExecuteSingleFunctions,\n\tIHttpRequestOptions,\n\tINodeProperties,\n} from 'n8n-workflow';\nimport { OperationalError, updateDisplayOptions } from 'n8n-workflow';\n\nimport { HeaderConstants } from '../../helpers/constants';\nimport { processJsonInput } from '../../helpers/utils';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\tdisplayName: 'ID',\n\t\tname: 'containerCreate',\n\t\tdefault: '',\n\t\tdescription: 'Unique identifier for the new container',\n\t\tplaceholder: 'e.g. Container1',\n\t\trequired: true,\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tpreSend: [\n\t\t\t\t\tasync function (\n\t\t\t\t\t\tthis: IExecuteSingleFunctions,\n\t\t\t\t\t\trequestOptions: IHttpRequestOptions,\n\t\t\t\t\t): Promise<IHttpRequestOptions> {\n\t\t\t\t\t\tconst id = this.getNodeParameter('containerCreate') as string;\n\n\t\t\t\t\t\tif (/\\s/.test(id)) {\n\t\t\t\t\t\t\tthrow new OperationalError('The container ID must not contain spaces.');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!/^[a-zA-Z0-9-_]+$/.test(id)) {\n\t\t\t\t\t\t\tthrow new OperationalError(\n\t\t\t\t\t\t\t\t'The container ID may only contain letters, numbers, hyphens, and underscores.',\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t(requestOptions.body as IDataObject).id = id;\n\n\t\t\t\t\t\treturn requestOptions;\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\ttype: 'string',\n\t},\n\t{\n\t\tdisplayName: 'Partition Key',\n\t\tname: 'partitionKey',\n\t\tdefault: '{\\n\\t\"paths\": [\\n\\t\\t\"/id\"\\n\\t],\\n\\t\"kind\": \"Hash\",\\n\\t\"version\": 2\\n}',\n\t\tdescription:\n\t\t\t'The partition key is used to automatically distribute data across partitions for scalability. Choose a property in your JSON document that has a wide range of values and evenly distributes request volume.',\n\t\trequired: true,\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tpreSend: [\n\t\t\t\t\tasync function (\n\t\t\t\t\t\tthis: IExecuteSingleFunctions,\n\t\t\t\t\t\trequestOptions: IHttpRequestOptions,\n\t\t\t\t\t): Promise<IHttpRequestOptions> {\n\t\t\t\t\t\tconst rawPartitionKey = this.getNodeParameter('partitionKey') as IDataObject;\n\t\t\t\t\t\tconst partitionKey = processJsonInput(rawPartitionKey, 'Partition Key', {\n\t\t\t\t\t\t\tpaths: ['/id'],\n\t\t\t\t\t\t\tkind: 'Hash',\n\t\t\t\t\t\t\tversion: 2,\n\t\t\t\t\t\t});\n\t\t\t\t\t\t(requestOptions.body as IDataObject).partitionKey = partitionKey;\n\t\t\t\t\t\treturn requestOptions;\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\ttype: 'json',\n\t},\n\t{\n\t\tdisplayName: 'Additional Fields',\n\t\tname: 'additionalFields',\n\t\tdefault: {},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Indexing Policy',\n\t\t\t\tname: 'indexingPolicy',\n\t\t\t\tdefault:\n\t\t\t\t\t'{\\n\\t\"indexingMode\": \"consistent\",\\n\\t\"automatic\": true,\\n\\t\"includedPaths\": [\\n\\t\\t{\\n\\t\\t\\t\"path\": \"/*\"\\n\\t\\t}\\n\\t],\\n\\t\"excludedPaths\": []\\n}',\n\t\t\t\tdescription: 'This value is used to configure indexing policy',\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\tpreSend: [\n\t\t\t\t\t\t\tasync function (\n\t\t\t\t\t\t\t\tthis: IExecuteSingleFunctions,\n\t\t\t\t\t\t\t\trequestOptions: IHttpRequestOptions,\n\t\t\t\t\t\t\t): Promise<IHttpRequestOptions> {\n\t\t\t\t\t\t\t\tconst rawIndexingPolicy = this.getNodeParameter(\n\t\t\t\t\t\t\t\t\t'additionalFields.indexingPolicy',\n\t\t\t\t\t\t\t\t) as IDataObject;\n\t\t\t\t\t\t\t\tconst indexPolicy = processJsonInput(rawIndexingPolicy, 'Indexing Policy');\n\t\t\t\t\t\t\t\t(requestOptions.body as IDataObject).indexingPolicy = indexPolicy;\n\t\t\t\t\t\t\t\treturn requestOptions;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttype: 'json',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Max RU/s (for Autoscale)',\n\t\t\t\tname: 'maxThroughput',\n\t\t\t\tdefault: 1000,\n\t\t\t\tdescription: 'The user specified autoscale max RU/s',\n\t\t\t\tdisplayOptions: {\n\t\t\t\t\thide: {\n\t\t\t\t\t\t'/additionalFields.offerThroughput': [{ _cnd: { exists: true } }],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t[HeaderConstants.X_MS_COSMOS_OFFER_AUTOPILOT_SETTING]: '={{ $value }}',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttype: 'number',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tminValue: 1000,\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Manual Throughput RU/s',\n\t\t\t\tname: 'offerThroughput',\n\t\t\t\tdefault: 400,\n\t\t\t\tdescription:\n\t\t\t\t\t'The user specified manual throughput (RU/s) for the collection expressed in units of 100 request units per second',\n\t\t\t\tdisplayOptions: {\n\t\t\t\t\thide: {\n\t\t\t\t\t\t'/additionalFields.maxThroughput': [{ _cnd: { exists: true } }],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t[HeaderConstants.X_MS_OFFER_THROUGHPUT]: '={{ $value }}',\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttype: 'number',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tminValue: 400,\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t\tplaceholder: 'Add Option',\n\t\ttype: 'collection',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['container'],\n\t\toperation: ['create'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":"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","names":[]}
|