@sinehypernova-0718/n8n-nodes-pinterest 0.1.0 → 0.1.1
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/README.md +34 -20
- package/dist/nodes/Pinterest/Pinterest.node.js +102 -1
- package/dist/nodes/Pinterest/Pinterest.node.js.map +1 -1
- package/dist/nodes/Pinterest/descriptions/BoardDescriptions.js +318 -2
- package/dist/nodes/Pinterest/descriptions/BoardDescriptions.js.map +1 -1
- package/dist/nodes/Pinterest/descriptions/PinDescriptions.js +131 -131
- package/dist/nodes/Pinterest/descriptions/PinDescriptions.js.map +1 -1
- package/dist/nodes/Pinterest/requests/board/createSection.d.ts +2 -0
- package/dist/nodes/Pinterest/requests/board/createSection.js +54 -0
- package/dist/nodes/Pinterest/requests/board/createSection.js.map +1 -0
- package/dist/nodes/Pinterest/requests/board/deleteSection.d.ts +2 -0
- package/dist/nodes/Pinterest/requests/board/deleteSection.js +52 -0
- package/dist/nodes/Pinterest/requests/board/deleteSection.js.map +1 -0
- package/dist/nodes/Pinterest/requests/board/index.d.ts +5 -0
- package/dist/nodes/Pinterest/requests/board/index.js +11 -1
- package/dist/nodes/Pinterest/requests/board/index.js.map +1 -1
- package/dist/nodes/Pinterest/requests/board/listSectionPins.d.ts +2 -0
- package/dist/nodes/Pinterest/requests/board/listSectionPins.js +73 -0
- package/dist/nodes/Pinterest/requests/board/listSectionPins.js.map +1 -0
- package/dist/nodes/Pinterest/requests/board/listSections.d.ts +2 -0
- package/dist/nodes/Pinterest/requests/board/listSections.js +62 -0
- package/dist/nodes/Pinterest/requests/board/listSections.js.map +1 -0
- package/dist/nodes/Pinterest/requests/board/updateSection.d.ts +2 -0
- package/dist/nodes/Pinterest/requests/board/updateSection.js +67 -0
- package/dist/nodes/Pinterest/requests/board/updateSection.js.map +1 -0
- package/dist/nodes/Pinterest/requests/index.d.ts +1 -1
- package/dist/nodes/Pinterest/requests/index.js +6 -1
- package/dist/nodes/Pinterest/requests/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,19 +14,18 @@
|
|
|
14
14
|
|
|
15
15
|
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
**@sinehypernova-0718/n8n-nodes-pinterest** brings Pinterest API operations into n8n workflows, letting you work with Pinterest resources through the workflow editor instead of manually constructing API requests.
|
|
18
18
|
|
|
19
19
|
## ✨ Features
|
|
20
20
|
|
|
21
|
-
- **Pinterest API integration** — interact with supported Pinterest resources
|
|
22
|
-
- **OAuth2 authentication** —
|
|
23
|
-
- **Native n8n interface** — select resources
|
|
24
|
-
- **Pin management** — create, retrieve, list, update, delete, and save Pins
|
|
25
|
-
- **Board management** — create, retrieve, list, update, and delete boards, and retrieve Pins associated with
|
|
26
|
-
- **Pin analytics** — retrieve analytics
|
|
27
|
-
- **Pagination support** — retrieve paginated
|
|
28
|
-
|
|
29
|
-
- **Extensible design** — add further Pinterest resources and operations while preserving the existing architecture.
|
|
21
|
+
- **Pinterest API v5 integration** — interact with supported Pinterest resources directly from n8n workflows.
|
|
22
|
+
- **OAuth2 authentication** — authorize API requests using Pinterest OAuth2 credentials.
|
|
23
|
+
- **Native n8n interface** — select resources, operations, and parameters through the workflow editor.
|
|
24
|
+
- **Pin management** — create, retrieve, list, update, delete, and save Pins.
|
|
25
|
+
- **Board management** — create, retrieve, list, update, and delete boards and board sections, and retrieve Pins associated with boards.
|
|
26
|
+
- **Pin analytics** — retrieve supported analytics metrics over specified date ranges.
|
|
27
|
+
- **Pagination support** — retrieve paginated results where supported by the relevant operation.
|
|
28
|
+
|
|
30
29
|
|
|
31
30
|
## 📁 Repository Structure
|
|
32
31
|
|
|
@@ -105,18 +104,23 @@ The Pin resource supports operations for managing Pins and retrieving their asso
|
|
|
105
104
|
| Save | Save a Pin to a board. |
|
|
106
105
|
| Get Analytics | Retrieve analytics for a Pin using supported metrics and date parameters. |
|
|
107
106
|
|
|
108
|
-
###
|
|
109
|
-
|
|
110
|
-
The Board resource supports operations for managing boards and accessing their associated Pins.
|
|
107
|
+
### Board
|
|
111
108
|
|
|
112
109
|
| Operation | Description |
|
|
113
110
|
|---|---|
|
|
114
|
-
| Create | Create a
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
| List
|
|
111
|
+
| Create | Create a new board. |
|
|
112
|
+
| Create Board Section | Create a new board section. |
|
|
113
|
+
| Delete | Delete a single board. |
|
|
114
|
+
| Delete Board Section | Delete a single board section. |
|
|
115
|
+
| Get | Get a single board. |
|
|
116
|
+
| List | List boards. |
|
|
117
|
+
| List Board Sections | List sections of a board. |
|
|
118
|
+
| List Pins | List Pins on a board. |
|
|
119
|
+
| List Pins on Board Section | List Pins on a board section. |
|
|
120
|
+
| Update | Update a single board. |
|
|
121
|
+
| Update Board Section | Update a single board section. |
|
|
122
|
+
|
|
123
|
+
The **List** operation for Pins supports **Return All** and **Limit**. The board listing operations (List, List Pins, List Board Sections, and List Pins on Board Section) follow Pinterest's pagination bookmarks and return all pages. Pin, board, and board section IDs are numeric identifiers; operations that look up a resource by ID expect digits only.
|
|
120
124
|
|
|
121
125
|
Operation parameters, filters, pagination behavior, and available analytics metrics vary by endpoint. Refer to the operation descriptions in the n8n editor and the [Pinterest API v5 documentation](https://developers.pinterest.com/docs/api/v5/) for endpoint-specific requirements.
|
|
122
126
|
|
|
@@ -177,7 +181,7 @@ The package declares its n8n node metadata and entry points in `package.json`. C
|
|
|
177
181
|
|
|
178
182
|
Refer to the repository's package metadata and release notes when evaluating compatibility with a particular n8n version.
|
|
179
183
|
|
|
180
|
-
The
|
|
184
|
+
The `0.1.x` releases are pre-1.0 releases. Operation coverage and compatibility may evolve as the integration develops.
|
|
181
185
|
|
|
182
186
|
## 🚀 Usage
|
|
183
187
|
|
|
@@ -217,6 +221,16 @@ For general workflow guidance, see the [n8n Try it out documentation](https://do
|
|
|
217
221
|
|
|
218
222
|
## 📝 Version history
|
|
219
223
|
|
|
224
|
+
### `0.1.1`
|
|
225
|
+
|
|
226
|
+
Adds board section management to the Pinterest integration for n8n.
|
|
227
|
+
|
|
228
|
+
- Adds Create Board Section, Delete Board Section, Update Board Section, and List Board Sections operations.
|
|
229
|
+
- Adds List Pins on Board Section to retrieve Pins associated with a board section.
|
|
230
|
+
- Includes pagination for the new board section listing operations where implemented.
|
|
231
|
+
|
|
232
|
+
This release extends the Board resource with board section management while preserving the existing integration structure.
|
|
233
|
+
|
|
220
234
|
### `0.1.0`
|
|
221
235
|
|
|
222
236
|
Initial pre-1.0 release of the Pinterest integration for n8n.
|
|
@@ -133,6 +133,86 @@ async function collectBoardPinsListPages(firstPageRequest, itemIndex) {
|
|
|
133
133
|
}
|
|
134
134
|
return collected;
|
|
135
135
|
}
|
|
136
|
+
async function collectBoardSectionPinsListPages(firstPageRequest, itemIndex) {
|
|
137
|
+
var _a;
|
|
138
|
+
const collected = [];
|
|
139
|
+
const seenBookmarks = new Set();
|
|
140
|
+
let requestOptions = {
|
|
141
|
+
baseURL: PINTEREST_API_BASE_URL,
|
|
142
|
+
json: true,
|
|
143
|
+
...firstPageRequest,
|
|
144
|
+
};
|
|
145
|
+
const initialBookmark = (_a = firstPageRequest.qs) === null || _a === void 0 ? void 0 : _a.bookmark;
|
|
146
|
+
if (typeof initialBookmark === 'string' && initialBookmark !== '') {
|
|
147
|
+
seenBookmarks.add(initialBookmark);
|
|
148
|
+
}
|
|
149
|
+
while (true) {
|
|
150
|
+
let response;
|
|
151
|
+
try {
|
|
152
|
+
response = (await this.helpers.httpRequestWithAuthentication.call(this, 'pinterestOAuth2Api', requestOptions));
|
|
153
|
+
}
|
|
154
|
+
catch (error) {
|
|
155
|
+
throw (0, errors_1.mapPinterestApiError)(error, { itemIndex });
|
|
156
|
+
}
|
|
157
|
+
if (Array.isArray(response === null || response === void 0 ? void 0 : response.items)) {
|
|
158
|
+
collected.push(...response.items);
|
|
159
|
+
}
|
|
160
|
+
const nextBookmark = response === null || response === void 0 ? void 0 : response.bookmark;
|
|
161
|
+
if (typeof nextBookmark !== 'string' ||
|
|
162
|
+
nextBookmark === '' ||
|
|
163
|
+
seenBookmarks.has(nextBookmark)) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
seenBookmarks.add(nextBookmark);
|
|
167
|
+
const nextPageRequest = await requests_1.listBoardSectionPinsRequest.call(this, itemIndex, nextBookmark);
|
|
168
|
+
requestOptions = {
|
|
169
|
+
baseURL: PINTEREST_API_BASE_URL,
|
|
170
|
+
json: true,
|
|
171
|
+
...nextPageRequest,
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
return collected;
|
|
175
|
+
}
|
|
176
|
+
async function collectBoardSectionsListPages(firstPageRequest, itemIndex) {
|
|
177
|
+
var _a;
|
|
178
|
+
const collected = [];
|
|
179
|
+
const seenBookmarks = new Set();
|
|
180
|
+
let requestOptions = {
|
|
181
|
+
baseURL: PINTEREST_API_BASE_URL,
|
|
182
|
+
json: true,
|
|
183
|
+
...firstPageRequest,
|
|
184
|
+
};
|
|
185
|
+
const initialBookmark = (_a = firstPageRequest.qs) === null || _a === void 0 ? void 0 : _a.bookmark;
|
|
186
|
+
if (typeof initialBookmark === 'string' && initialBookmark !== '') {
|
|
187
|
+
seenBookmarks.add(initialBookmark);
|
|
188
|
+
}
|
|
189
|
+
while (true) {
|
|
190
|
+
let response;
|
|
191
|
+
try {
|
|
192
|
+
response = (await this.helpers.httpRequestWithAuthentication.call(this, 'pinterestOAuth2Api', requestOptions));
|
|
193
|
+
}
|
|
194
|
+
catch (error) {
|
|
195
|
+
throw (0, errors_1.mapPinterestApiError)(error, { itemIndex });
|
|
196
|
+
}
|
|
197
|
+
if (Array.isArray(response === null || response === void 0 ? void 0 : response.items)) {
|
|
198
|
+
collected.push(...response.items);
|
|
199
|
+
}
|
|
200
|
+
const nextBookmark = response === null || response === void 0 ? void 0 : response.bookmark;
|
|
201
|
+
if (typeof nextBookmark !== 'string' ||
|
|
202
|
+
nextBookmark === '' ||
|
|
203
|
+
seenBookmarks.has(nextBookmark)) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
seenBookmarks.add(nextBookmark);
|
|
207
|
+
const nextPageRequest = await requests_1.listBoardSectionsRequest.call(this, itemIndex, nextBookmark);
|
|
208
|
+
requestOptions = {
|
|
209
|
+
baseURL: PINTEREST_API_BASE_URL,
|
|
210
|
+
json: true,
|
|
211
|
+
...nextPageRequest,
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
return collected;
|
|
215
|
+
}
|
|
136
216
|
class Pinterest {
|
|
137
217
|
constructor() {
|
|
138
218
|
this.description = {
|
|
@@ -222,6 +302,9 @@ class Pinterest {
|
|
|
222
302
|
case 'create':
|
|
223
303
|
requestOptions = await requests_1.createBoardRequest.call(this, i);
|
|
224
304
|
break;
|
|
305
|
+
case 'createSection':
|
|
306
|
+
requestOptions = await requests_1.createBoardSectionRequest.call(this, i);
|
|
307
|
+
break;
|
|
225
308
|
case 'get':
|
|
226
309
|
requestOptions = await requests_1.getBoardRequest.call(this, i);
|
|
227
310
|
break;
|
|
@@ -231,12 +314,24 @@ class Pinterest {
|
|
|
231
314
|
case 'listPins':
|
|
232
315
|
requestOptions = await requests_1.listBoardPinsRequest.call(this, i);
|
|
233
316
|
break;
|
|
317
|
+
case 'listSections':
|
|
318
|
+
requestOptions = await requests_1.listBoardSectionsRequest.call(this, i);
|
|
319
|
+
break;
|
|
320
|
+
case 'listSectionPins':
|
|
321
|
+
requestOptions = await requests_1.listBoardSectionPinsRequest.call(this, i);
|
|
322
|
+
break;
|
|
234
323
|
case 'delete':
|
|
235
324
|
requestOptions = await requests_1.deleteBoardRequest.call(this, i);
|
|
236
325
|
break;
|
|
326
|
+
case 'deleteSection':
|
|
327
|
+
requestOptions = await requests_1.deleteBoardSectionRequest.call(this, i);
|
|
328
|
+
break;
|
|
237
329
|
case 'update':
|
|
238
330
|
requestOptions = await requests_1.updateBoardRequest.call(this, i);
|
|
239
331
|
break;
|
|
332
|
+
case 'updateSection':
|
|
333
|
+
requestOptions = await requests_1.updateBoardSectionRequest.call(this, i);
|
|
334
|
+
break;
|
|
240
335
|
default:
|
|
241
336
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The Board operation "${operation}" is not implemented yet`, { itemIndex: i });
|
|
242
337
|
}
|
|
@@ -256,6 +351,12 @@ class Pinterest {
|
|
|
256
351
|
else if (resource === 'board' && operation === 'listPins') {
|
|
257
352
|
responseData = await collectBoardPinsListPages.call(this, requestOptions, i);
|
|
258
353
|
}
|
|
354
|
+
else if (resource === 'board' && operation === 'listSections') {
|
|
355
|
+
responseData = await collectBoardSectionsListPages.call(this, requestOptions, i);
|
|
356
|
+
}
|
|
357
|
+
else if (resource === 'board' && operation === 'listSectionPins') {
|
|
358
|
+
responseData = await collectBoardSectionPinsListPages.call(this, requestOptions, i);
|
|
359
|
+
}
|
|
259
360
|
else {
|
|
260
361
|
const options = {
|
|
261
362
|
baseURL: PINTEREST_API_BASE_URL,
|
|
@@ -279,7 +380,7 @@ class Pinterest {
|
|
|
279
380
|
continue;
|
|
280
381
|
}
|
|
281
382
|
if (error instanceof n8n_workflow_1.NodeApiError || error instanceof n8n_workflow_1.NodeOperationError) {
|
|
282
|
-
throw error;
|
|
383
|
+
throw (0, errors_1.mapPinterestApiError)(error, { itemIndex: i });
|
|
283
384
|
}
|
|
284
385
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex: i });
|
|
285
386
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pinterest.node.js","sourceRoot":"","sources":["../../../nodes/Pinterest/Pinterest.node.ts"],"names":[],"mappings":";;;AAQA,+CAAqF;AACrF,iDAAwD;AACxD,qCAAgD;AAChD,yCAeoB;AAEpB,MAAM,sBAAsB,GAAG,8BAA8B,CAAC;AAE9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iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;YAChF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAnMD,8BAmMC"}
|
|
@@ -19,12 +19,24 @@ exports.boardFields = [
|
|
|
19
19
|
description: 'Create a new board',
|
|
20
20
|
action: 'Create a board',
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Create Board Section',
|
|
24
|
+
value: 'createSection',
|
|
25
|
+
description: 'Create a new board section',
|
|
26
|
+
action: 'Create a board section',
|
|
27
|
+
},
|
|
22
28
|
{
|
|
23
29
|
name: 'Delete',
|
|
24
30
|
value: 'delete',
|
|
25
31
|
description: 'Delete a single board',
|
|
26
32
|
action: 'Delete a board',
|
|
27
33
|
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Delete Board Section',
|
|
36
|
+
value: 'deleteSection',
|
|
37
|
+
description: 'Delete a single board section',
|
|
38
|
+
action: 'Delete a board section',
|
|
39
|
+
},
|
|
28
40
|
{
|
|
29
41
|
name: 'Get',
|
|
30
42
|
value: 'get',
|
|
@@ -37,18 +49,36 @@ exports.boardFields = [
|
|
|
37
49
|
description: 'List boards',
|
|
38
50
|
action: 'List boards',
|
|
39
51
|
},
|
|
52
|
+
{
|
|
53
|
+
name: 'List Board Sections',
|
|
54
|
+
value: 'listSections',
|
|
55
|
+
description: 'List sections of a board',
|
|
56
|
+
action: 'List board sections',
|
|
57
|
+
},
|
|
40
58
|
{
|
|
41
59
|
name: 'List Pins',
|
|
42
60
|
value: 'listPins',
|
|
43
61
|
description: 'List Pins on a board',
|
|
44
62
|
action: 'List pins on a board',
|
|
45
63
|
},
|
|
64
|
+
{
|
|
65
|
+
name: 'List Pins on Board Section',
|
|
66
|
+
value: 'listSectionPins',
|
|
67
|
+
description: 'List Pins on a board section',
|
|
68
|
+
action: 'List pins on a board section',
|
|
69
|
+
},
|
|
46
70
|
{
|
|
47
71
|
name: 'Update',
|
|
48
72
|
value: 'update',
|
|
49
73
|
description: 'Update a single board',
|
|
50
74
|
action: 'Update a board',
|
|
51
75
|
},
|
|
76
|
+
{
|
|
77
|
+
name: 'Update Board Section',
|
|
78
|
+
value: 'updateSection',
|
|
79
|
+
description: 'Update a single board section',
|
|
80
|
+
action: 'Update a board section',
|
|
81
|
+
},
|
|
52
82
|
],
|
|
53
83
|
default: 'create',
|
|
54
84
|
},
|
|
@@ -173,10 +203,10 @@ exports.boardFields = [
|
|
|
173
203
|
type: 'options',
|
|
174
204
|
options: [
|
|
175
205
|
{ name: 'All', value: 'ALL' },
|
|
176
|
-
{ name: 'Public', value: 'PUBLIC' },
|
|
177
206
|
{ name: 'Protected', value: 'PROTECTED' },
|
|
178
|
-
{ name: '
|
|
207
|
+
{ name: 'Public', value: 'PUBLIC' },
|
|
179
208
|
{ name: 'Public and Secret', value: 'PUBLIC_AND_SECRET' },
|
|
209
|
+
{ name: 'Secret', value: 'SECRET' },
|
|
180
210
|
],
|
|
181
211
|
default: 'PUBLIC',
|
|
182
212
|
description: 'Filter the boards by privacy setting',
|
|
@@ -403,5 +433,291 @@ exports.boardFields = [
|
|
|
403
433
|
},
|
|
404
434
|
],
|
|
405
435
|
},
|
|
436
|
+
{
|
|
437
|
+
displayName: 'Board ID',
|
|
438
|
+
name: 'boardId',
|
|
439
|
+
type: 'string',
|
|
440
|
+
default: '',
|
|
441
|
+
required: true,
|
|
442
|
+
displayOptions: {
|
|
443
|
+
show: {
|
|
444
|
+
resource: ['board'],
|
|
445
|
+
operation: ['listSections'],
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
description: 'Numeric ID of the board whose sections you want to retrieve',
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
displayName: 'Additional Fields',
|
|
452
|
+
name: 'additionalFields',
|
|
453
|
+
type: 'collection',
|
|
454
|
+
placeholder: 'Add Field',
|
|
455
|
+
default: {},
|
|
456
|
+
displayOptions: {
|
|
457
|
+
show: {
|
|
458
|
+
resource: ['board'],
|
|
459
|
+
operation: ['listSections'],
|
|
460
|
+
},
|
|
461
|
+
},
|
|
462
|
+
options: [
|
|
463
|
+
{
|
|
464
|
+
displayName: 'Ad Account ID',
|
|
465
|
+
name: 'ad_account_id',
|
|
466
|
+
type: 'string',
|
|
467
|
+
default: '',
|
|
468
|
+
description: 'Advertising account identifier. Numeric only, up to 18 characters.',
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
displayName: 'Bookmark',
|
|
472
|
+
name: 'bookmark',
|
|
473
|
+
type: 'string',
|
|
474
|
+
default: '',
|
|
475
|
+
description: 'Pagination cursor for fetching the next page',
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
displayName: 'Page Size',
|
|
479
|
+
name: 'page_size',
|
|
480
|
+
type: 'number',
|
|
481
|
+
typeOptions: {
|
|
482
|
+
minValue: 1,
|
|
483
|
+
maxValue: 250,
|
|
484
|
+
},
|
|
485
|
+
default: 25,
|
|
486
|
+
description: 'Number of board sections to return per page, from 1 to 250',
|
|
487
|
+
},
|
|
488
|
+
],
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
displayName: 'Board ID',
|
|
492
|
+
name: 'boardId',
|
|
493
|
+
type: 'string',
|
|
494
|
+
default: '',
|
|
495
|
+
required: true,
|
|
496
|
+
displayOptions: {
|
|
497
|
+
show: {
|
|
498
|
+
resource: ['board'],
|
|
499
|
+
operation: ['createSection'],
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
description: 'Numeric ID of the board where the board section will be created',
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
displayName: 'Name',
|
|
506
|
+
name: 'name',
|
|
507
|
+
type: 'string',
|
|
508
|
+
default: '',
|
|
509
|
+
required: true,
|
|
510
|
+
displayOptions: {
|
|
511
|
+
show: {
|
|
512
|
+
resource: ['board'],
|
|
513
|
+
operation: ['createSection'],
|
|
514
|
+
},
|
|
515
|
+
},
|
|
516
|
+
description: 'Name of the board section, from 1 to 180 characters',
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
displayName: 'Additional Fields',
|
|
520
|
+
name: 'additionalFields',
|
|
521
|
+
type: 'collection',
|
|
522
|
+
placeholder: 'Add Field',
|
|
523
|
+
default: {},
|
|
524
|
+
displayOptions: {
|
|
525
|
+
show: {
|
|
526
|
+
resource: ['board'],
|
|
527
|
+
operation: ['createSection'],
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
options: [
|
|
531
|
+
{
|
|
532
|
+
displayName: 'Ad Account ID',
|
|
533
|
+
name: 'ad_account_id',
|
|
534
|
+
type: 'string',
|
|
535
|
+
default: '',
|
|
536
|
+
description: 'Advertising account identifier. Numeric only, up to 18 characters.',
|
|
537
|
+
},
|
|
538
|
+
],
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
displayName: 'Board ID',
|
|
542
|
+
name: 'boardId',
|
|
543
|
+
type: 'string',
|
|
544
|
+
default: '',
|
|
545
|
+
required: true,
|
|
546
|
+
displayOptions: {
|
|
547
|
+
show: {
|
|
548
|
+
resource: ['board'],
|
|
549
|
+
operation: ['deleteSection'],
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
description: 'Numeric ID of the board that owns the board section',
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
displayName: 'Section ID',
|
|
556
|
+
name: 'sectionId',
|
|
557
|
+
type: 'string',
|
|
558
|
+
default: '',
|
|
559
|
+
required: true,
|
|
560
|
+
displayOptions: {
|
|
561
|
+
show: {
|
|
562
|
+
resource: ['board'],
|
|
563
|
+
operation: ['deleteSection'],
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
description: 'Numeric ID of the board section to delete',
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
displayName: 'Additional Fields',
|
|
570
|
+
name: 'additionalFields',
|
|
571
|
+
type: 'collection',
|
|
572
|
+
placeholder: 'Add Field',
|
|
573
|
+
default: {},
|
|
574
|
+
displayOptions: {
|
|
575
|
+
show: {
|
|
576
|
+
resource: ['board'],
|
|
577
|
+
operation: ['deleteSection'],
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
options: [
|
|
581
|
+
{
|
|
582
|
+
displayName: 'Ad Account ID',
|
|
583
|
+
name: 'ad_account_id',
|
|
584
|
+
type: 'string',
|
|
585
|
+
default: '',
|
|
586
|
+
description: 'Advertising account identifier. Numeric only, up to 18 characters.',
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
displayName: 'Board ID',
|
|
592
|
+
name: 'boardId',
|
|
593
|
+
type: 'string',
|
|
594
|
+
default: '',
|
|
595
|
+
required: true,
|
|
596
|
+
displayOptions: {
|
|
597
|
+
show: {
|
|
598
|
+
resource: ['board'],
|
|
599
|
+
operation: ['updateSection'],
|
|
600
|
+
},
|
|
601
|
+
},
|
|
602
|
+
description: 'Numeric ID of the board that owns the board section',
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
displayName: 'Section ID',
|
|
606
|
+
name: 'sectionId',
|
|
607
|
+
type: 'string',
|
|
608
|
+
default: '',
|
|
609
|
+
required: true,
|
|
610
|
+
displayOptions: {
|
|
611
|
+
show: {
|
|
612
|
+
resource: ['board'],
|
|
613
|
+
operation: ['updateSection'],
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
description: 'Numeric ID of the board section to update',
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
displayName: 'Name',
|
|
620
|
+
name: 'name',
|
|
621
|
+
type: 'string',
|
|
622
|
+
default: '',
|
|
623
|
+
required: true,
|
|
624
|
+
displayOptions: {
|
|
625
|
+
show: {
|
|
626
|
+
resource: ['board'],
|
|
627
|
+
operation: ['updateSection'],
|
|
628
|
+
},
|
|
629
|
+
},
|
|
630
|
+
description: 'New name of the board section, from 1 to 180 characters',
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
displayName: 'Additional Fields',
|
|
634
|
+
name: 'additionalFields',
|
|
635
|
+
type: 'collection',
|
|
636
|
+
placeholder: 'Add Field',
|
|
637
|
+
default: {},
|
|
638
|
+
displayOptions: {
|
|
639
|
+
show: {
|
|
640
|
+
resource: ['board'],
|
|
641
|
+
operation: ['updateSection'],
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
options: [
|
|
645
|
+
{
|
|
646
|
+
displayName: 'Ad Account ID',
|
|
647
|
+
name: 'ad_account_id',
|
|
648
|
+
type: 'string',
|
|
649
|
+
default: '',
|
|
650
|
+
description: 'Advertising account identifier. Numeric only, up to 18 characters.',
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
displayName: 'Board ID',
|
|
656
|
+
name: 'boardId',
|
|
657
|
+
type: 'string',
|
|
658
|
+
default: '',
|
|
659
|
+
required: true,
|
|
660
|
+
displayOptions: {
|
|
661
|
+
show: {
|
|
662
|
+
resource: ['board'],
|
|
663
|
+
operation: ['listSectionPins'],
|
|
664
|
+
},
|
|
665
|
+
},
|
|
666
|
+
description: 'Numeric ID of the board that owns the board section',
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
displayName: 'Section ID',
|
|
670
|
+
name: 'sectionId',
|
|
671
|
+
type: 'string',
|
|
672
|
+
default: '',
|
|
673
|
+
required: true,
|
|
674
|
+
displayOptions: {
|
|
675
|
+
show: {
|
|
676
|
+
resource: ['board'],
|
|
677
|
+
operation: ['listSectionPins'],
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
description: 'Numeric ID of the board section whose Pins you want to retrieve',
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
displayName: 'Additional Fields',
|
|
684
|
+
name: 'additionalFields',
|
|
685
|
+
type: 'collection',
|
|
686
|
+
placeholder: 'Add Field',
|
|
687
|
+
default: {},
|
|
688
|
+
displayOptions: {
|
|
689
|
+
show: {
|
|
690
|
+
resource: ['board'],
|
|
691
|
+
operation: ['listSectionPins'],
|
|
692
|
+
},
|
|
693
|
+
},
|
|
694
|
+
options: [
|
|
695
|
+
{
|
|
696
|
+
displayName: 'Ad Account ID',
|
|
697
|
+
name: 'ad_account_id',
|
|
698
|
+
type: 'string',
|
|
699
|
+
default: '',
|
|
700
|
+
description: 'Advertising account identifier. Numeric only, up to 18 characters.',
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
displayName: 'Bookmark',
|
|
704
|
+
name: 'bookmark',
|
|
705
|
+
type: 'string',
|
|
706
|
+
default: '',
|
|
707
|
+
description: 'Pagination cursor for fetching the next page',
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
displayName: 'Page Size',
|
|
711
|
+
name: 'page_size',
|
|
712
|
+
type: 'number',
|
|
713
|
+
typeOptions: {
|
|
714
|
+
minValue: 1,
|
|
715
|
+
maxValue: 250,
|
|
716
|
+
},
|
|
717
|
+
default: 25,
|
|
718
|
+
description: 'Number of Pins to return per page, from 1 to 250',
|
|
719
|
+
},
|
|
720
|
+
],
|
|
721
|
+
},
|
|
406
722
|
];
|
|
407
723
|
//# sourceMappingURL=BoardDescriptions.js.map
|