n8n-nodes-base 1.119.1 → 1.120.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/nodes/DataTable/DataTable.node.json +17 -1
- package/dist/nodes/Form/utils/utils.d.ts.map +1 -1
- package/dist/nodes/Form/utils/utils.js +3 -2
- package/dist/nodes/Form/utils/utils.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.d.ts.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.js +9 -4
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/DocumentDescription.js +1 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/DocumentDescription.js.map +1 -1
- package/dist/nodes/Salesforce/SalesforceTrigger.node.js +1 -1
- package/dist/nodes/Salesforce/SalesforceTrigger.node.js.map +1 -1
- package/dist/nodes/Set/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Set/v2/helpers/utils.js +4 -16
- package/dist/nodes/Set/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Stripe/Stripe.node.d.ts.map +1 -1
- package/dist/nodes/Stripe/Stripe.node.js +51 -0
- package/dist/nodes/Stripe/Stripe.node.js.map +1 -1
- package/dist/nodes/Stripe/descriptions/MeterEventDescription.d.ts +4 -0
- package/dist/nodes/Stripe/descriptions/MeterEventDescription.d.ts.map +1 -0
- package/dist/nodes/Stripe/descriptions/MeterEventDescription.js +135 -0
- package/dist/nodes/Stripe/descriptions/MeterEventDescription.js.map +1 -0
- package/dist/nodes/Stripe/descriptions/index.d.ts +1 -0
- package/dist/nodes/Stripe/descriptions/index.d.ts.map +1 -1
- package/dist/nodes/Stripe/descriptions/index.js +1 -0
- package/dist/nodes/Stripe/descriptions/index.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/nodes.json +6 -6
- package/package.json +7 -7
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.meterEventFields = exports.meterEventOperations = void 0;
|
|
4
|
+
exports.meterEventOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
default: 'create',
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Create',
|
|
14
|
+
value: 'create',
|
|
15
|
+
description: 'Create a meter event',
|
|
16
|
+
action: 'Create a meter event',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
displayOptions: {
|
|
20
|
+
show: {
|
|
21
|
+
resource: ['meterEvent'],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
exports.meterEventFields = [
|
|
27
|
+
// ----------------------------------
|
|
28
|
+
// meterEvent: create
|
|
29
|
+
// ----------------------------------
|
|
30
|
+
{
|
|
31
|
+
displayName: 'Event Name',
|
|
32
|
+
name: 'eventName',
|
|
33
|
+
type: 'string',
|
|
34
|
+
required: true,
|
|
35
|
+
default: '',
|
|
36
|
+
description: 'The name of the meter event. Corresponds with the event_name field on a meter.',
|
|
37
|
+
displayOptions: {
|
|
38
|
+
show: {
|
|
39
|
+
resource: ['meterEvent'],
|
|
40
|
+
operation: ['create'],
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Customer ID',
|
|
46
|
+
name: 'customerId',
|
|
47
|
+
type: 'string',
|
|
48
|
+
required: true,
|
|
49
|
+
default: '',
|
|
50
|
+
description: 'The Stripe customer ID associated with this meter event',
|
|
51
|
+
displayOptions: {
|
|
52
|
+
show: {
|
|
53
|
+
resource: ['meterEvent'],
|
|
54
|
+
operation: ['create'],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Value',
|
|
60
|
+
name: 'value',
|
|
61
|
+
type: 'number',
|
|
62
|
+
required: true,
|
|
63
|
+
default: 1,
|
|
64
|
+
description: 'The value of the meter event. Must be an integer. Can be positive or negative.',
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['meterEvent'],
|
|
68
|
+
operation: ['create'],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Additional Fields',
|
|
74
|
+
name: 'additionalFields',
|
|
75
|
+
type: 'collection',
|
|
76
|
+
placeholder: 'Add Field',
|
|
77
|
+
default: {},
|
|
78
|
+
displayOptions: {
|
|
79
|
+
show: {
|
|
80
|
+
resource: ['meterEvent'],
|
|
81
|
+
operation: ['create'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
options: [
|
|
85
|
+
{
|
|
86
|
+
displayName: 'Identifier',
|
|
87
|
+
name: 'identifier',
|
|
88
|
+
type: 'string',
|
|
89
|
+
default: '',
|
|
90
|
+
description: 'A unique identifier for the event. If not provided, one will be generated. Uniqueness is enforced within a rolling 24 hour window.',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
displayName: 'Timestamp',
|
|
94
|
+
name: 'timestamp',
|
|
95
|
+
type: 'dateTime',
|
|
96
|
+
default: '',
|
|
97
|
+
description: 'The time of the event. Measured in seconds since the Unix epoch. Must be within the past 35 calendar days or up to 5 minutes in the future. Defaults to current time if not specified.',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
displayName: 'Custom Payload Properties',
|
|
101
|
+
name: 'customPayload',
|
|
102
|
+
type: 'fixedCollection',
|
|
103
|
+
default: {},
|
|
104
|
+
placeholder: 'Add Custom Property',
|
|
105
|
+
description: 'Additional custom properties to include in the event payload. Use this for custom meter configurations with non-default payload keys.',
|
|
106
|
+
typeOptions: {
|
|
107
|
+
multipleValues: true,
|
|
108
|
+
},
|
|
109
|
+
options: [
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Properties',
|
|
112
|
+
name: 'properties',
|
|
113
|
+
values: [
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Key',
|
|
116
|
+
name: 'key',
|
|
117
|
+
type: 'string',
|
|
118
|
+
default: '',
|
|
119
|
+
description: 'The property key',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Value',
|
|
123
|
+
name: 'value',
|
|
124
|
+
type: 'string',
|
|
125
|
+
default: '',
|
|
126
|
+
description: 'The property value',
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
];
|
|
135
|
+
//# sourceMappingURL=MeterEventDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeterEventDescription.js","sourceRoot":"","sources":["../../../../nodes/Stripe/descriptions/MeterEventDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,sBAAsB;aAC9B;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,YAAY,CAAC;aACxB;SACD;KACD;CACD,CAAC;AAEW,QAAA,gBAAgB,GAAsB;IAClD,qCAAqC;IACrC,2BAA2B;IAC3B,qCAAqC;IACrC;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,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ACX,WAAW,EACV,wLAAwL;aACzL;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,iBAAiB;gBACvB,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qBAAqB;gBAClC,WAAW,EACV,uIAAuI;gBACxI,WAAW,EAAE;oBACZ,cAAc,EAAE,IAAI;iBACpB;gBACD,OAAO,EAAE;oBACR;wBACC,WAAW,EAAE,YAAY;wBACzB,IAAI,EAAE,YAAY;wBAClB,MAAM,EAAE;4BACP;gCACC,WAAW,EAAE,KAAK;gCAClB,IAAI,EAAE,KAAK;gCACX,IAAI,EAAE,QAAQ;gCACd,OAAO,EAAE,EAAE;gCACX,WAAW,EAAE,kBAAkB;6BAC/B;4BACD;gCACC,WAAW,EAAE,OAAO;gCACpB,IAAI,EAAE,OAAO;gCACb,IAAI,EAAE,QAAQ;gCACd,OAAO,EAAE,EAAE;gCACX,WAAW,EAAE,oBAAoB;6BACjC;yBACD;qBACD;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -3,6 +3,7 @@ export * from './CustomerCardDescription';
|
|
|
3
3
|
export * from './ChargeDescription';
|
|
4
4
|
export * from './CouponDescription';
|
|
5
5
|
export * from './CustomerDescription';
|
|
6
|
+
export * from './MeterEventDescription';
|
|
6
7
|
export * from './SourceDescription';
|
|
7
8
|
export * from './TokenDescription';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../nodes/Stripe/descriptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../nodes/Stripe/descriptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./CustomerCardDescription"), exports);
|
|
|
19
19
|
__exportStar(require("./ChargeDescription"), exports);
|
|
20
20
|
__exportStar(require("./CouponDescription"), exports);
|
|
21
21
|
__exportStar(require("./CustomerDescription"), exports);
|
|
22
|
+
__exportStar(require("./MeterEventDescription"), exports);
|
|
22
23
|
__exportStar(require("./SourceDescription"), exports);
|
|
23
24
|
__exportStar(require("./TokenDescription"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Stripe/descriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,wDAAsC;AACtC,sDAAoC;AACpC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Stripe/descriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,wDAAsC;AACtC,0DAAwC;AACxC,sDAAoC;AACpC,qDAAmC"}
|