n8n-nodes-codex 1.0.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.
Files changed (100) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +108 -0
  3. package/dist/credentials/CodexApi.credentials.d.ts +10 -0
  4. package/dist/credentials/CodexApi.credentials.js +92 -0
  5. package/dist/credentials/CodexApi.credentials.js.map +1 -0
  6. package/dist/icons/codex-dark.svg +7 -0
  7. package/dist/icons/codex-light.svg +7 -0
  8. package/dist/icons/codex.svg +7 -0
  9. package/dist/icons/github.dark.svg +3 -0
  10. package/dist/icons/github.svg +3 -0
  11. package/dist/nodes/Codex/Codex.node.d.ts +4 -0
  12. package/dist/nodes/Codex/Codex.node.js +133 -0
  13. package/dist/nodes/Codex/Codex.node.js.map +1 -0
  14. package/dist/nodes/Codex/resources/admin/index.d.ts +2 -0
  15. package/dist/nodes/Codex/resources/admin/index.js +489 -0
  16. package/dist/nodes/Codex/resources/admin/index.js.map +1 -0
  17. package/dist/nodes/Codex/resources/apiKey/index.d.ts +2 -0
  18. package/dist/nodes/Codex/resources/apiKey/index.js +233 -0
  19. package/dist/nodes/Codex/resources/apiKey/index.js.map +1 -0
  20. package/dist/nodes/Codex/resources/book/get.d.ts +2 -0
  21. package/dist/nodes/Codex/resources/book/get.js +5 -0
  22. package/dist/nodes/Codex/resources/book/get.js.map +1 -0
  23. package/dist/nodes/Codex/resources/book/index.d.ts +2 -0
  24. package/dist/nodes/Codex/resources/book/index.js +450 -0
  25. package/dist/nodes/Codex/resources/book/index.js.map +1 -0
  26. package/dist/nodes/Codex/resources/book/list.d.ts +2 -0
  27. package/dist/nodes/Codex/resources/book/list.js +81 -0
  28. package/dist/nodes/Codex/resources/book/list.js.map +1 -0
  29. package/dist/nodes/Codex/resources/book/updateMetadata.d.ts +2 -0
  30. package/dist/nodes/Codex/resources/book/updateMetadata.js +98 -0
  31. package/dist/nodes/Codex/resources/book/updateMetadata.js.map +1 -0
  32. package/dist/nodes/Codex/resources/book/updateProgress.d.ts +2 -0
  33. package/dist/nodes/Codex/resources/book/updateProgress.js +46 -0
  34. package/dist/nodes/Codex/resources/book/updateProgress.js.map +1 -0
  35. package/dist/nodes/Codex/resources/duplicate/index.d.ts +2 -0
  36. package/dist/nodes/Codex/resources/duplicate/index.js +162 -0
  37. package/dist/nodes/Codex/resources/duplicate/index.js.map +1 -0
  38. package/dist/nodes/Codex/resources/filesystem/index.d.ts +2 -0
  39. package/dist/nodes/Codex/resources/filesystem/index.js +64 -0
  40. package/dist/nodes/Codex/resources/filesystem/index.js.map +1 -0
  41. package/dist/nodes/Codex/resources/genre/index.d.ts +2 -0
  42. package/dist/nodes/Codex/resources/genre/index.js +83 -0
  43. package/dist/nodes/Codex/resources/genre/index.js.map +1 -0
  44. package/dist/nodes/Codex/resources/library/create.d.ts +2 -0
  45. package/dist/nodes/Codex/resources/library/create.js +94 -0
  46. package/dist/nodes/Codex/resources/library/create.js.map +1 -0
  47. package/dist/nodes/Codex/resources/library/delete.d.ts +2 -0
  48. package/dist/nodes/Codex/resources/library/delete.js +5 -0
  49. package/dist/nodes/Codex/resources/library/delete.js.map +1 -0
  50. package/dist/nodes/Codex/resources/library/get.d.ts +2 -0
  51. package/dist/nodes/Codex/resources/library/get.js +5 -0
  52. package/dist/nodes/Codex/resources/library/get.js.map +1 -0
  53. package/dist/nodes/Codex/resources/library/index.d.ts +2 -0
  54. package/dist/nodes/Codex/resources/library/index.js +360 -0
  55. package/dist/nodes/Codex/resources/library/index.js.map +1 -0
  56. package/dist/nodes/Codex/resources/library/list.d.ts +2 -0
  57. package/dist/nodes/Codex/resources/library/list.js +5 -0
  58. package/dist/nodes/Codex/resources/library/list.js.map +1 -0
  59. package/dist/nodes/Codex/resources/library/scan.d.ts +2 -0
  60. package/dist/nodes/Codex/resources/library/scan.js +37 -0
  61. package/dist/nodes/Codex/resources/library/scan.js.map +1 -0
  62. package/dist/nodes/Codex/resources/library/update.d.ts +2 -0
  63. package/dist/nodes/Codex/resources/library/update.js +73 -0
  64. package/dist/nodes/Codex/resources/library/update.js.map +1 -0
  65. package/dist/nodes/Codex/resources/metric/index.d.ts +2 -0
  66. package/dist/nodes/Codex/resources/metric/index.js +154 -0
  67. package/dist/nodes/Codex/resources/metric/index.js.map +1 -0
  68. package/dist/nodes/Codex/resources/misc/index.d.ts +2 -0
  69. package/dist/nodes/Codex/resources/misc/index.js +216 -0
  70. package/dist/nodes/Codex/resources/misc/index.js.map +1 -0
  71. package/dist/nodes/Codex/resources/series/get.d.ts +2 -0
  72. package/dist/nodes/Codex/resources/series/get.js +5 -0
  73. package/dist/nodes/Codex/resources/series/get.js.map +1 -0
  74. package/dist/nodes/Codex/resources/series/index.d.ts +2 -0
  75. package/dist/nodes/Codex/resources/series/index.js +1348 -0
  76. package/dist/nodes/Codex/resources/series/index.js.map +1 -0
  77. package/dist/nodes/Codex/resources/series/list.d.ts +2 -0
  78. package/dist/nodes/Codex/resources/series/list.js +108 -0
  79. package/dist/nodes/Codex/resources/series/list.js.map +1 -0
  80. package/dist/nodes/Codex/resources/series/updateMetadata.d.ts +2 -0
  81. package/dist/nodes/Codex/resources/series/updateMetadata.js +116 -0
  82. package/dist/nodes/Codex/resources/series/updateMetadata.js.map +1 -0
  83. package/dist/nodes/Codex/resources/tag/index.d.ts +2 -0
  84. package/dist/nodes/Codex/resources/tag/index.js +83 -0
  85. package/dist/nodes/Codex/resources/tag/index.js.map +1 -0
  86. package/dist/nodes/Codex/resources/task/index.d.ts +2 -0
  87. package/dist/nodes/Codex/resources/task/index.js +241 -0
  88. package/dist/nodes/Codex/resources/task/index.js.map +1 -0
  89. package/dist/nodes/Codex/resources/user/index.d.ts +2 -0
  90. package/dist/nodes/Codex/resources/user/index.js +362 -0
  91. package/dist/nodes/Codex/resources/user/index.js.map +1 -0
  92. package/dist/nodes/Codex/resources/userPreference/index.d.ts +2 -0
  93. package/dist/nodes/Codex/resources/userPreference/index.js +358 -0
  94. package/dist/nodes/Codex/resources/userPreference/index.js.map +1 -0
  95. package/dist/nodes/Codex/shared/descriptions.d.ts +6 -0
  96. package/dist/nodes/Codex/shared/descriptions.js +94 -0
  97. package/dist/nodes/Codex/shared/descriptions.js.map +1 -0
  98. package/dist/package.json +60 -0
  99. package/dist/tsconfig.tsbuildinfo +1 -0
  100. package/package.json +60 -0
@@ -0,0 +1,360 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.libraryDescription = void 0;
4
+ const descriptions_1 = require("../../shared/descriptions");
5
+ const list_1 = require("./list");
6
+ const get_1 = require("./get");
7
+ const create_1 = require("./create");
8
+ const update_1 = require("./update");
9
+ const delete_1 = require("./delete");
10
+ const scan_1 = require("./scan");
11
+ const showOnlyForLibraries = {
12
+ resource: ['library'],
13
+ };
14
+ exports.libraryDescription = [
15
+ {
16
+ displayName: 'Operation',
17
+ name: 'operation',
18
+ type: 'options',
19
+ noDataExpression: true,
20
+ displayOptions: {
21
+ show: showOnlyForLibraries,
22
+ },
23
+ options: [
24
+ {
25
+ name: 'Analyze',
26
+ value: 'analyze',
27
+ action: 'Analyze a library',
28
+ description: 'Trigger analysis of all books in the library',
29
+ routing: {
30
+ request: {
31
+ method: 'POST',
32
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/analyze',
33
+ },
34
+ },
35
+ },
36
+ {
37
+ name: 'Analyze Unanalyzed',
38
+ value: 'analyzeUnanalyzed',
39
+ action: 'Analyze unanalyzed books',
40
+ description: 'Trigger analysis of only unanalyzed books in the library',
41
+ routing: {
42
+ request: {
43
+ method: 'POST',
44
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/analyze-unanalyzed',
45
+ },
46
+ },
47
+ },
48
+ {
49
+ name: 'Cancel Scan',
50
+ value: 'cancelScan',
51
+ action: 'Cancel library scan',
52
+ description: 'Cancel an ongoing library scan',
53
+ routing: {
54
+ request: {
55
+ method: 'POST',
56
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/scan/cancel',
57
+ },
58
+ },
59
+ },
60
+ {
61
+ name: 'Create',
62
+ value: 'create',
63
+ action: 'Create a new library',
64
+ description: 'Create a new library',
65
+ routing: {
66
+ request: {
67
+ method: 'POST',
68
+ url: '/api/v1/libraries',
69
+ },
70
+ },
71
+ },
72
+ {
73
+ name: 'Delete',
74
+ value: 'delete',
75
+ action: 'Delete a library',
76
+ description: 'Delete a library',
77
+ routing: {
78
+ request: {
79
+ method: 'DELETE',
80
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}',
81
+ },
82
+ },
83
+ },
84
+ {
85
+ name: 'Generate Thumbnails',
86
+ value: 'generateThumbnails',
87
+ action: 'Generate thumbnails',
88
+ description: 'Generate thumbnails for all books in the library',
89
+ routing: {
90
+ request: {
91
+ method: 'POST',
92
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/thumbnails/generate',
93
+ },
94
+ },
95
+ },
96
+ {
97
+ name: 'Get',
98
+ value: 'get',
99
+ action: 'Get a library',
100
+ description: 'Get the data of a single library',
101
+ routing: {
102
+ request: {
103
+ method: 'GET',
104
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}',
105
+ },
106
+ },
107
+ },
108
+ {
109
+ name: 'Get Books',
110
+ value: 'getBooks',
111
+ action: 'Get books in library',
112
+ description: 'Get all books in a library',
113
+ routing: {
114
+ request: {
115
+ method: 'GET',
116
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/books',
117
+ },
118
+ },
119
+ },
120
+ {
121
+ name: 'Get Books In Progress',
122
+ value: 'getBooksInProgress',
123
+ action: 'Get in progress books',
124
+ description: 'Get books currently being read in the library',
125
+ routing: {
126
+ request: {
127
+ method: 'GET',
128
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/books/in-progress',
129
+ },
130
+ },
131
+ },
132
+ {
133
+ name: 'Get Books On Deck',
134
+ value: 'getBooksOnDeck',
135
+ action: 'Get on deck books',
136
+ description: 'Get next books to read in the library',
137
+ routing: {
138
+ request: {
139
+ method: 'GET',
140
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/books/on-deck',
141
+ },
142
+ },
143
+ },
144
+ {
145
+ name: 'Get Books Recently Added',
146
+ value: 'getBooksRecentlyAdded',
147
+ action: 'Get recently added books',
148
+ description: 'Get recently added books in the library',
149
+ routing: {
150
+ request: {
151
+ method: 'GET',
152
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/books/recently-added',
153
+ },
154
+ },
155
+ },
156
+ {
157
+ name: 'Get Books Recently Read',
158
+ value: 'getBooksRecentlyRead',
159
+ action: 'Get recently read books',
160
+ description: 'Get recently read books in the library',
161
+ routing: {
162
+ request: {
163
+ method: 'GET',
164
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/books/recently-read',
165
+ },
166
+ },
167
+ },
168
+ {
169
+ name: 'Get Books With Errors',
170
+ value: 'getBooksWithErrors',
171
+ action: 'Get books with errors',
172
+ description: 'Get books with processing errors in the library',
173
+ routing: {
174
+ request: {
175
+ method: 'GET',
176
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/books/with-errors',
177
+ },
178
+ },
179
+ },
180
+ {
181
+ name: 'Get Scan Status',
182
+ value: 'getScanStatus',
183
+ action: 'Get scan status',
184
+ description: 'Get the current scan status of a library',
185
+ routing: {
186
+ request: {
187
+ method: 'GET',
188
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/scan-status',
189
+ },
190
+ },
191
+ },
192
+ {
193
+ name: 'Get Series',
194
+ value: 'getSeries',
195
+ action: 'Get series in library',
196
+ description: 'Get all series in a library',
197
+ routing: {
198
+ request: {
199
+ method: 'GET',
200
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/series',
201
+ },
202
+ },
203
+ },
204
+ {
205
+ name: 'Get Series In Progress',
206
+ value: 'getSeriesInProgress',
207
+ action: 'Get in progress series',
208
+ description: 'Get series currently being read in the library',
209
+ routing: {
210
+ request: {
211
+ method: 'GET',
212
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/series/in-progress',
213
+ },
214
+ },
215
+ },
216
+ {
217
+ name: 'Get Series Recently Added',
218
+ value: 'getSeriesRecentlyAdded',
219
+ action: 'Get recently added series',
220
+ description: 'Get recently added series in the library',
221
+ routing: {
222
+ request: {
223
+ method: 'GET',
224
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/series/recently-added',
225
+ },
226
+ },
227
+ },
228
+ {
229
+ name: 'Get Series Recently Updated',
230
+ value: 'getSeriesRecentlyUpdated',
231
+ action: 'Get recently updated series',
232
+ description: 'Get recently updated series in the library',
233
+ routing: {
234
+ request: {
235
+ method: 'GET',
236
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/series/recently-updated',
237
+ },
238
+ },
239
+ },
240
+ {
241
+ name: 'List',
242
+ value: 'list',
243
+ action: 'List libraries',
244
+ description: 'List libraries',
245
+ routing: {
246
+ request: {
247
+ method: 'GET',
248
+ url: '/api/v1/libraries',
249
+ },
250
+ },
251
+ },
252
+ {
253
+ name: 'Preview Scan',
254
+ value: 'previewScan',
255
+ action: 'Preview scan results',
256
+ description: 'Preview what a scan would find without actually scanning',
257
+ routing: {
258
+ request: {
259
+ method: 'GET',
260
+ url: '/api/v1/libraries/preview-scan',
261
+ },
262
+ },
263
+ },
264
+ {
265
+ name: 'Purge Deleted',
266
+ value: 'purgeDeleted',
267
+ action: 'Purge deleted books',
268
+ description: 'Permanently remove books marked as deleted from the library',
269
+ routing: {
270
+ request: {
271
+ method: 'DELETE',
272
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/purge-deleted',
273
+ },
274
+ },
275
+ },
276
+ {
277
+ name: 'Scan',
278
+ value: 'scan',
279
+ action: 'Scan a library',
280
+ description: 'Trigger a scan of the library',
281
+ routing: {
282
+ request: {
283
+ method: 'POST',
284
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}/scan',
285
+ },
286
+ },
287
+ },
288
+ {
289
+ name: 'Update',
290
+ value: 'update',
291
+ action: 'Update a library',
292
+ description: 'Update a library',
293
+ routing: {
294
+ request: {
295
+ method: 'PATCH',
296
+ url: '=/api/v1/libraries/{{$parameter.libraryId}}',
297
+ },
298
+ },
299
+ },
300
+ ],
301
+ default: 'list',
302
+ },
303
+ {
304
+ ...descriptions_1.librarySelect,
305
+ displayOptions: {
306
+ show: {
307
+ ...showOnlyForLibraries,
308
+ operation: [
309
+ 'analyze',
310
+ 'analyzeUnanalyzed',
311
+ 'cancelScan',
312
+ 'delete',
313
+ 'generateThumbnails',
314
+ 'get',
315
+ 'getBooks',
316
+ 'getBooksInProgress',
317
+ 'getBooksOnDeck',
318
+ 'getBooksRecentlyAdded',
319
+ 'getBooksRecentlyRead',
320
+ 'getBooksWithErrors',
321
+ 'getScanStatus',
322
+ 'getSeries',
323
+ 'getSeriesInProgress',
324
+ 'getSeriesRecentlyAdded',
325
+ 'getSeriesRecentlyUpdated',
326
+ 'purgeDeleted',
327
+ 'scan',
328
+ 'update',
329
+ ],
330
+ },
331
+ },
332
+ },
333
+ {
334
+ displayName: 'Path',
335
+ name: 'previewPath',
336
+ type: 'string',
337
+ default: '',
338
+ required: true,
339
+ displayOptions: {
340
+ show: {
341
+ resource: ['library'],
342
+ operation: ['previewScan'],
343
+ },
344
+ },
345
+ description: 'The filesystem path to preview scanning',
346
+ routing: {
347
+ send: {
348
+ type: 'query',
349
+ property: 'path',
350
+ },
351
+ },
352
+ },
353
+ ...list_1.libraryListDescription,
354
+ ...get_1.libraryGetDescription,
355
+ ...create_1.libraryCreateDescription,
356
+ ...update_1.libraryUpdateDescription,
357
+ ...delete_1.libraryDeleteDescription,
358
+ ...scan_1.libraryScanDescription,
359
+ ];
360
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/library/index.ts"],"names":[],"mappings":";;;AACA,4DAA0D;AAC1D,iCAAgD;AAChD,+BAA8C;AAC9C,qCAAoD;AACpD,qCAAoD;AACpD,qCAAoD;AACpD,iCAAgD;AAEhD,MAAM,oBAAoB,GAAG;I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B;IAC3B,GAAG,iCAAwB;IAC3B,GAAG,iCAAwB;IAC3B,GAAG,6BAAsB;CACzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const libraryListDescription: INodeProperties[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.libraryListDescription = void 0;
4
+ exports.libraryListDescription = [];
5
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/library/list.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const libraryScanDescription: INodeProperties[];
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.libraryScanDescription = void 0;
4
+ const showOnlyForLibraryScan = {
5
+ operation: ['scan'],
6
+ resource: ['library'],
7
+ };
8
+ exports.libraryScanDescription = [
9
+ {
10
+ displayName: 'Scan Mode',
11
+ name: 'scanMode',
12
+ type: 'options',
13
+ default: 'normal',
14
+ displayOptions: {
15
+ show: showOnlyForLibraryScan,
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Normal',
20
+ value: 'normal',
21
+ description: 'Quick scan for new/modified files',
22
+ },
23
+ {
24
+ name: 'Deep',
25
+ value: 'deep',
26
+ description: 'Full scan of all files',
27
+ },
28
+ ],
29
+ routing: {
30
+ send: {
31
+ type: 'query',
32
+ property: 'mode',
33
+ },
34
+ },
35
+ },
36
+ ];
37
+ //# sourceMappingURL=scan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scan.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/library/scan.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG;IAC9B,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEW,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,mCAAmC;aAChD;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,wBAAwB;aACrC;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,MAAM;aAChB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const libraryUpdateDescription: INodeProperties[];
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.libraryUpdateDescription = void 0;
4
+ const showOnlyForLibraryUpdate = {
5
+ operation: ['update'],
6
+ resource: ['library'],
7
+ };
8
+ exports.libraryUpdateDescription = [
9
+ {
10
+ displayName: 'Update Fields',
11
+ name: 'updateFields',
12
+ type: 'collection',
13
+ placeholder: 'Add Field',
14
+ default: {},
15
+ displayOptions: {
16
+ show: showOnlyForLibraryUpdate,
17
+ },
18
+ options: [
19
+ {
20
+ displayName: 'Name',
21
+ name: 'name',
22
+ type: 'string',
23
+ default: '',
24
+ description: 'The name of the library',
25
+ routing: {
26
+ send: {
27
+ type: 'body',
28
+ property: 'name',
29
+ },
30
+ },
31
+ },
32
+ {
33
+ displayName: 'Description',
34
+ name: 'description',
35
+ type: 'string',
36
+ default: '',
37
+ routing: {
38
+ send: {
39
+ type: 'body',
40
+ property: 'description',
41
+ },
42
+ },
43
+ },
44
+ {
45
+ displayName: 'Scan Strategy',
46
+ name: 'scanStrategy',
47
+ type: 'options',
48
+ default: 'directory_as_series',
49
+ options: [
50
+ {
51
+ name: 'Directory As Series',
52
+ value: 'directory_as_series',
53
+ },
54
+ {
55
+ name: 'Single Series',
56
+ value: 'single_series',
57
+ },
58
+ {
59
+ name: 'Flat',
60
+ value: 'flat',
61
+ },
62
+ ],
63
+ routing: {
64
+ send: {
65
+ type: 'body',
66
+ property: 'scan_strategy',
67
+ },
68
+ },
69
+ },
70
+ ],
71
+ },
72
+ ];
73
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/library/update.ts"],"names":[],"mappings":";;;AAEA,MAAM,wBAAwB,GAAG;IAChC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEW,QAAA,wBAAwB,GAAsB;IAC1D;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE,wBAAwB;SAC9B;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yBAAyB;gBACtC,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,MAAM;qBAChB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,aAAa;qBACvB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,qBAAqB;gBAC9B,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,qBAAqB;wBAC3B,KAAK,EAAE,qBAAqB;qBAC5B;oBACD;wBACC,IAAI,EAAE,eAAe;wBACrB,KAAK,EAAE,eAAe;qBACtB;oBACD;wBACC,IAAI,EAAE,MAAM;wBACZ,KAAK,EAAE,MAAM;qBACb;iBACD;gBACD,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,eAAe;qBACzB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const metricDescription: INodeProperties[];
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.metricDescription = void 0;
4
+ const showOnlyForMetrics = {
5
+ resource: ['metric'],
6
+ };
7
+ exports.metricDescription = [
8
+ {
9
+ displayName: 'Operation',
10
+ name: 'operation',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: showOnlyForMetrics,
15
+ },
16
+ options: [
17
+ {
18
+ name: 'Cleanup Task Metrics',
19
+ value: 'cleanupTaskMetrics',
20
+ action: 'Cleanup task metrics',
21
+ description: 'Clean up old task metrics data',
22
+ routing: {
23
+ request: {
24
+ method: 'DELETE',
25
+ url: '/api/v1/metrics/tasks/cleanup',
26
+ },
27
+ },
28
+ },
29
+ {
30
+ name: 'Get Inventory',
31
+ value: 'getInventory',
32
+ action: 'Get inventory metrics',
33
+ description: 'Get inventory metrics (book counts, library sizes, etc.)',
34
+ routing: {
35
+ request: {
36
+ method: 'GET',
37
+ url: '/api/v1/metrics/inventory',
38
+ },
39
+ },
40
+ },
41
+ {
42
+ name: 'Get Task History',
43
+ value: 'getTaskHistory',
44
+ action: 'Get task history',
45
+ description: 'Get historical task execution data',
46
+ routing: {
47
+ request: {
48
+ method: 'GET',
49
+ url: '/api/v1/metrics/tasks/history',
50
+ },
51
+ },
52
+ },
53
+ {
54
+ name: 'Get Task Metrics',
55
+ value: 'getTaskMetrics',
56
+ action: 'Get task metrics',
57
+ description: 'Get current task queue metrics',
58
+ routing: {
59
+ request: {
60
+ method: 'GET',
61
+ url: '/api/v1/metrics/tasks',
62
+ },
63
+ },
64
+ },
65
+ ],
66
+ default: 'getInventory',
67
+ },
68
+ {
69
+ displayName: 'Filters',
70
+ name: 'filters',
71
+ type: 'collection',
72
+ placeholder: 'Add Filter',
73
+ default: {},
74
+ displayOptions: {
75
+ show: {
76
+ ...showOnlyForMetrics,
77
+ operation: ['getTaskHistory'],
78
+ },
79
+ },
80
+ options: [
81
+ {
82
+ displayName: 'Start Date',
83
+ name: 'startDate',
84
+ type: 'dateTime',
85
+ default: '',
86
+ description: 'Start date for the history range',
87
+ routing: {
88
+ send: {
89
+ type: 'query',
90
+ property: 'start_date',
91
+ },
92
+ },
93
+ },
94
+ {
95
+ displayName: 'End Date',
96
+ name: 'endDate',
97
+ type: 'dateTime',
98
+ default: '',
99
+ description: 'End date for the history range',
100
+ routing: {
101
+ send: {
102
+ type: 'query',
103
+ property: 'end_date',
104
+ },
105
+ },
106
+ },
107
+ {
108
+ displayName: 'Task Type',
109
+ name: 'taskType',
110
+ type: 'string',
111
+ default: '',
112
+ description: 'Filter by task type',
113
+ routing: {
114
+ send: {
115
+ type: 'query',
116
+ property: 'task_type',
117
+ },
118
+ },
119
+ },
120
+ ],
121
+ },
122
+ {
123
+ displayName: 'Options',
124
+ name: 'cleanupOptions',
125
+ type: 'collection',
126
+ placeholder: 'Add Option',
127
+ default: {},
128
+ displayOptions: {
129
+ show: {
130
+ ...showOnlyForMetrics,
131
+ operation: ['cleanupTaskMetrics'],
132
+ },
133
+ },
134
+ options: [
135
+ {
136
+ displayName: 'Older Than Days',
137
+ name: 'olderThanDays',
138
+ type: 'number',
139
+ typeOptions: {
140
+ minValue: 1,
141
+ },
142
+ default: 30,
143
+ description: 'Delete metrics older than this many days',
144
+ routing: {
145
+ send: {
146
+ type: 'query',
147
+ property: 'older_than_days',
148
+ },
149
+ },
150
+ },
151
+ ],
152
+ },
153
+ ];
154
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/metric/index.ts"],"names":[],"mappings":";;;AAEA,MAAM,kBAAkB,GAAG;IAC1B,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,kBAAkB;SACxB;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,sBAAsB;gBAC5B,KAAK,EAAE,oBAAoB;gBAC3B,MAAM,EAAE,sBAAsB;gBAC9B,WAAW,EAAE,gCAAgC;gBAC7C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,+BAA+B;qBACpC;iBACD;aACD;YACD;gBACC,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EAAE,0DAA0D;gBACvE,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,2BAA2B;qBAChC;iBACD;aACD;YACD;gBACC,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,gBAAgB;gBACvB,MAAM,EAAE,kBAAkB;gBAC1B,WAAW,EAAE,oCAAoC;gBACjD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK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