orgnote-api 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/api.d.ts +112 -0
  2. package/dist/api.js +1 -0
  3. package/dist/encryption/__tests__/encryption-keys.d.ts +3 -0
  4. package/{encryption/__tests__/encryption-keys.ts → dist/encryption/__tests__/encryption-keys.js} +0 -2
  5. package/dist/encryption/__tests__/encryption.spec.d.ts +1 -0
  6. package/dist/encryption/__tests__/encryption.spec.js +287 -0
  7. package/dist/encryption/__tests__/note-encryption.spec.d.ts +1 -0
  8. package/dist/encryption/__tests__/note-encryption.spec.js +364 -0
  9. package/dist/encryption/encryption.d.ts +27 -0
  10. package/dist/encryption/encryption.js +156 -0
  11. package/dist/encryption/index.js +2 -0
  12. package/dist/encryption/note-encryption.d.ts +12 -0
  13. package/dist/encryption/note-encryption.js +42 -0
  14. package/dist/files-api.d.ts +7 -0
  15. package/dist/files-api.js +22 -0
  16. package/dist/index.js +5 -0
  17. package/dist/models/command.d.ts +29 -0
  18. package/dist/models/command.js +1 -0
  19. package/dist/models/completion.d.ts +22 -0
  20. package/dist/models/completion.js +1 -0
  21. package/dist/models/default-commands.d.ts +30 -0
  22. package/dist/models/default-commands.js +41 -0
  23. package/dist/models/editor.d.ts +23 -0
  24. package/dist/models/editor.js +1 -0
  25. package/dist/models/encryption.d.ts +31 -0
  26. package/dist/models/encryption.js +1 -0
  27. package/dist/models/extension.d.ts +34 -0
  28. package/dist/models/extension.js +1 -0
  29. package/dist/models/file-system.d.ts +23 -0
  30. package/dist/models/file-system.js +1 -0
  31. package/{models/index.ts → dist/models/index.d.ts} +2 -0
  32. package/dist/models/index.js +13 -0
  33. package/dist/models/modal.d.ts +10 -0
  34. package/dist/models/modal.js +1 -0
  35. package/dist/models/note.d.ts +23 -0
  36. package/dist/models/note.js +1 -0
  37. package/dist/models/sync.d.ts +34 -0
  38. package/dist/models/sync.js +1 -0
  39. package/dist/models/theme-variables.d.ts +192 -0
  40. package/dist/models/theme-variables.js +194 -0
  41. package/{models/vue-component.ts → dist/models/vue-component.d.ts} +1 -1
  42. package/dist/models/vue-component.js +1 -0
  43. package/dist/models/widget-type.d.ts +5 -0
  44. package/dist/models/widget-type.js +6 -0
  45. package/dist/models/widget.d.ts +51 -0
  46. package/dist/models/widget.js +1 -0
  47. package/dist/remote-api/api.d.ts +1525 -0
  48. package/{remote-api/api.ts → dist/remote-api/api.js} +246 -1149
  49. package/dist/remote-api/base.d.ts +66 -0
  50. package/{remote-api/base.ts → dist/remote-api/base.js} +13 -36
  51. package/dist/remote-api/common.d.ts +65 -0
  52. package/{remote-api/common.ts → dist/remote-api/common.js} +31 -48
  53. package/{remote-api/configuration.ts → dist/remote-api/configuration.d.ts} +3 -22
  54. package/dist/remote-api/configuration.js +95 -0
  55. package/dist/remote-api/index.d.ts +13 -0
  56. package/{remote-api/index.ts → dist/remote-api/index.js} +0 -3
  57. package/dist/tools/__tests__/find-files-diff.spec.d.ts +1 -0
  58. package/dist/tools/__tests__/find-files-diff.spec.js +110 -0
  59. package/dist/tools/__tests__/find-note-files-diff.spec.d.ts +1 -0
  60. package/dist/tools/__tests__/find-note-files-diff.spec.js +168 -0
  61. package/dist/tools/__tests__/get-file-name.spec.d.ts +1 -0
  62. package/dist/tools/__tests__/get-file-name.spec.js +14 -0
  63. package/dist/tools/__tests__/get-string-path.spec.d.ts +1 -0
  64. package/dist/tools/__tests__/get-string-path.spec.js +27 -0
  65. package/dist/tools/__tests__/is-gpg-encrypted.spec.d.ts +1 -0
  66. package/{tools/__tests__/is-gpg-encrypted.spec.ts → dist/tools/__tests__/is-gpg-encrypted.spec.js} +4 -8
  67. package/dist/tools/__tests__/is-org-file.spec.d.ts +1 -0
  68. package/dist/tools/__tests__/is-org-file.spec.js +54 -0
  69. package/dist/tools/__tests__/join.spec.d.ts +1 -0
  70. package/dist/tools/__tests__/join.spec.js +14 -0
  71. package/dist/tools/__tests__/read-org-files-recursively.spec.d.ts +1 -0
  72. package/dist/tools/__tests__/read-org-files-recursively.spec.js +51 -0
  73. package/dist/tools/extend-notes-files-diff.d.ts +3 -0
  74. package/dist/tools/extend-notes-files-diff.js +21 -0
  75. package/dist/tools/find-notes-files-diff.d.ts +5 -0
  76. package/dist/tools/find-notes-files-diff.js +108 -0
  77. package/dist/tools/get-file-name.d.ts +2 -0
  78. package/dist/tools/get-file-name.js +6 -0
  79. package/dist/tools/get-string-path.d.ts +1 -0
  80. package/dist/tools/get-string-path.js +6 -0
  81. package/dist/tools/index.d.ts +6 -0
  82. package/dist/tools/index.js +6 -0
  83. package/dist/tools/is-gpg-encrypted.d.ts +1 -0
  84. package/dist/tools/is-gpg-encrypted.js +6 -0
  85. package/dist/tools/is-org-file.d.ts +2 -0
  86. package/dist/tools/is-org-file.js +4 -0
  87. package/dist/tools/join.d.ts +1 -0
  88. package/dist/tools/join.js +3 -0
  89. package/dist/tools/mock-server.d.ts +1 -0
  90. package/dist/tools/mock-server.js +12 -0
  91. package/package.json +6 -14
  92. package/api.ts +0 -123
  93. package/encryption/__tests__/__snapshots__/note-encryption.spec.ts.snap +0 -231
  94. package/encryption/__tests__/encryption.spec.ts +0 -352
  95. package/encryption/__tests__/note-encryption.spec.ts +0 -425
  96. package/encryption/encryption.ts +0 -264
  97. package/encryption/note-encryption.ts +0 -77
  98. package/files-api.ts +0 -25
  99. package/models/command.ts +0 -45
  100. package/models/completion.ts +0 -30
  101. package/models/default-commands.ts +0 -44
  102. package/models/editor.ts +0 -27
  103. package/models/encryption.ts +0 -50
  104. package/models/extension.ts +0 -45
  105. package/models/modal.ts +0 -12
  106. package/models/note.ts +0 -26
  107. package/models/theme-variables.ts +0 -194
  108. package/models/widget-type.ts +0 -5
  109. package/models/widget.ts +0 -59
  110. package/remote-api/.gitignore +0 -4
  111. package/remote-api/.npmignore +0 -1
  112. package/remote-api/.openapi-generator/FILES +0 -8
  113. package/remote-api/.openapi-generator/VERSION +0 -1
  114. package/remote-api/.openapi-generator-ignore +0 -23
  115. package/remote-api/git_push.sh +0 -57
  116. package/tools/__tests__/find-notes-files-diff.spec.ts +0 -176
  117. package/tools/__tests__/get-string-path.spec.ts +0 -32
  118. package/tools/__tests__/is-org-file.spec.ts +0 -62
  119. package/tools/find-notes-files-diff.ts +0 -48
  120. package/tools/get-string-path.ts +0 -6
  121. package/tools/index.ts +0 -3
  122. package/tools/is-gpg-encrypted.ts +0 -6
  123. package/tools/is-org-file.ts +0 -7
  124. package/tools/mock-server.ts +0 -16
  125. /package/{encryption/index.ts → dist/encryption/index.d.ts} +0 -0
  126. /package/{index.ts → dist/index.d.ts} +0 -0
@@ -0,0 +1,1525 @@
1
+ /**
2
+ * Org Note API
3
+ * List of methods for work with Org Note.
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: artawower@protonmail.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface FilesUploadPostRequest
20
+ */
21
+ export interface FilesUploadPostRequest {
22
+ /**
23
+ * files
24
+ * @type {Array<string>}
25
+ * @memberof FilesUploadPostRequest
26
+ */
27
+ 'files': Array<string>;
28
+ }
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface HandlersCreatingNote
33
+ */
34
+ export interface HandlersCreatingNote {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof HandlersCreatingNote
39
+ */
40
+ 'content': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof HandlersCreatingNote
45
+ */
46
+ 'createdAt'?: string;
47
+ /**
48
+ *
49
+ * @type {boolean}
50
+ * @memberof HandlersCreatingNote
51
+ */
52
+ 'encrypted'?: boolean;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof HandlersCreatingNote
57
+ */
58
+ 'encryptionType'?: HandlersCreatingNoteEncryptionTypeEnum;
59
+ /**
60
+ *
61
+ * @type {Array<string>}
62
+ * @memberof HandlersCreatingNote
63
+ */
64
+ 'filePath'?: Array<string>;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof HandlersCreatingNote
69
+ */
70
+ 'id'?: string;
71
+ /**
72
+ *
73
+ * @type {ModelsNoteMeta}
74
+ * @memberof HandlersCreatingNote
75
+ */
76
+ 'meta'?: ModelsNoteMeta;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof HandlersCreatingNote
81
+ */
82
+ 'touchedAt'?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof HandlersCreatingNote
87
+ */
88
+ 'updatedAt'?: string;
89
+ }
90
+ export declare const HandlersCreatingNoteEncryptionTypeEnum: {
91
+ readonly GpgKeys: "gpgKeys";
92
+ readonly GpgPassword: "gpgPassword";
93
+ readonly Disabled: "disabled";
94
+ };
95
+ export type HandlersCreatingNoteEncryptionTypeEnum = typeof HandlersCreatingNoteEncryptionTypeEnum[keyof typeof HandlersCreatingNoteEncryptionTypeEnum];
96
+ /**
97
+ *
98
+ * @export
99
+ * @interface HandlersDeletedNote
100
+ */
101
+ export interface HandlersDeletedNote {
102
+ /**
103
+ *
104
+ * @type {Array<string>}
105
+ * @memberof HandlersDeletedNote
106
+ */
107
+ 'filePath'?: Array<string>;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof HandlersDeletedNote
112
+ */
113
+ 'id'?: string;
114
+ }
115
+ /**
116
+ *
117
+ * @export
118
+ * @interface HandlersHttpErrorAny
119
+ */
120
+ export interface HandlersHttpErrorAny {
121
+ /**
122
+ *
123
+ * @type {object}
124
+ * @memberof HandlersHttpErrorAny
125
+ */
126
+ 'data'?: object;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof HandlersHttpErrorAny
131
+ */
132
+ 'message'?: string;
133
+ }
134
+ /**
135
+ *
136
+ * @export
137
+ * @interface HandlersHttpResponseAnyAny
138
+ */
139
+ export interface HandlersHttpResponseAnyAny {
140
+ /**
141
+ *
142
+ * @type {object}
143
+ * @memberof HandlersHttpResponseAnyAny
144
+ */
145
+ 'data'?: object;
146
+ /**
147
+ *
148
+ * @type {object}
149
+ * @memberof HandlersHttpResponseAnyAny
150
+ */
151
+ 'meta'?: object;
152
+ }
153
+ /**
154
+ *
155
+ * @export
156
+ * @interface HandlersHttpResponseArrayModelsAPITokenAny
157
+ */
158
+ export interface HandlersHttpResponseArrayModelsAPITokenAny {
159
+ /**
160
+ *
161
+ * @type {Array<ModelsAPIToken>}
162
+ * @memberof HandlersHttpResponseArrayModelsAPITokenAny
163
+ */
164
+ 'data'?: Array<ModelsAPIToken>;
165
+ /**
166
+ *
167
+ * @type {object}
168
+ * @memberof HandlersHttpResponseArrayModelsAPITokenAny
169
+ */
170
+ 'meta'?: object;
171
+ }
172
+ /**
173
+ *
174
+ * @export
175
+ * @interface HandlersHttpResponseArrayModelsPublicNoteModelsPagination
176
+ */
177
+ export interface HandlersHttpResponseArrayModelsPublicNoteModelsPagination {
178
+ /**
179
+ *
180
+ * @type {Array<ModelsPublicNote>}
181
+ * @memberof HandlersHttpResponseArrayModelsPublicNoteModelsPagination
182
+ */
183
+ 'data'?: Array<ModelsPublicNote>;
184
+ /**
185
+ *
186
+ * @type {ModelsPagination}
187
+ * @memberof HandlersHttpResponseArrayModelsPublicNoteModelsPagination
188
+ */
189
+ 'meta'?: ModelsPagination;
190
+ }
191
+ /**
192
+ *
193
+ * @export
194
+ * @interface HandlersHttpResponseArrayStringAny
195
+ */
196
+ export interface HandlersHttpResponseArrayStringAny {
197
+ /**
198
+ *
199
+ * @type {Array<string>}
200
+ * @memberof HandlersHttpResponseArrayStringAny
201
+ */
202
+ 'data'?: Array<string>;
203
+ /**
204
+ *
205
+ * @type {object}
206
+ * @memberof HandlersHttpResponseArrayStringAny
207
+ */
208
+ 'meta'?: object;
209
+ }
210
+ /**
211
+ *
212
+ * @export
213
+ * @interface HandlersHttpResponseHandlersOAuthRedirectDataAny
214
+ */
215
+ export interface HandlersHttpResponseHandlersOAuthRedirectDataAny {
216
+ /**
217
+ *
218
+ * @type {HandlersOAuthRedirectData}
219
+ * @memberof HandlersHttpResponseHandlersOAuthRedirectDataAny
220
+ */
221
+ 'data'?: HandlersOAuthRedirectData;
222
+ /**
223
+ *
224
+ * @type {object}
225
+ * @memberof HandlersHttpResponseHandlersOAuthRedirectDataAny
226
+ */
227
+ 'meta'?: object;
228
+ }
229
+ /**
230
+ *
231
+ * @export
232
+ * @interface HandlersHttpResponseHandlersSyncNotesResponseAny
233
+ */
234
+ export interface HandlersHttpResponseHandlersSyncNotesResponseAny {
235
+ /**
236
+ *
237
+ * @type {HandlersSyncNotesResponse}
238
+ * @memberof HandlersHttpResponseHandlersSyncNotesResponseAny
239
+ */
240
+ 'data'?: HandlersSyncNotesResponse;
241
+ /**
242
+ *
243
+ * @type {object}
244
+ * @memberof HandlersHttpResponseHandlersSyncNotesResponseAny
245
+ */
246
+ 'meta'?: object;
247
+ }
248
+ /**
249
+ *
250
+ * @export
251
+ * @interface HandlersHttpResponseModelsAPITokenAny
252
+ */
253
+ export interface HandlersHttpResponseModelsAPITokenAny {
254
+ /**
255
+ *
256
+ * @type {ModelsAPIToken}
257
+ * @memberof HandlersHttpResponseModelsAPITokenAny
258
+ */
259
+ 'data'?: ModelsAPIToken;
260
+ /**
261
+ *
262
+ * @type {object}
263
+ * @memberof HandlersHttpResponseModelsAPITokenAny
264
+ */
265
+ 'meta'?: object;
266
+ }
267
+ /**
268
+ *
269
+ * @export
270
+ * @interface HandlersHttpResponseModelsPublicNoteAny
271
+ */
272
+ export interface HandlersHttpResponseModelsPublicNoteAny {
273
+ /**
274
+ *
275
+ * @type {ModelsPublicNote}
276
+ * @memberof HandlersHttpResponseModelsPublicNoteAny
277
+ */
278
+ 'data'?: ModelsPublicNote;
279
+ /**
280
+ *
281
+ * @type {object}
282
+ * @memberof HandlersHttpResponseModelsPublicNoteAny
283
+ */
284
+ 'meta'?: object;
285
+ }
286
+ /**
287
+ *
288
+ * @export
289
+ * @interface HandlersHttpResponseModelsUserPersonalInfoAny
290
+ */
291
+ export interface HandlersHttpResponseModelsUserPersonalInfoAny {
292
+ /**
293
+ *
294
+ * @type {ModelsUserPersonalInfo}
295
+ * @memberof HandlersHttpResponseModelsUserPersonalInfoAny
296
+ */
297
+ 'data'?: ModelsUserPersonalInfo;
298
+ /**
299
+ *
300
+ * @type {object}
301
+ * @memberof HandlersHttpResponseModelsUserPersonalInfoAny
302
+ */
303
+ 'meta'?: object;
304
+ }
305
+ /**
306
+ *
307
+ * @export
308
+ * @interface HandlersOAuthRedirectData
309
+ */
310
+ export interface HandlersOAuthRedirectData {
311
+ /**
312
+ *
313
+ * @type {string}
314
+ * @memberof HandlersOAuthRedirectData
315
+ */
316
+ 'redirectUrl'?: string;
317
+ }
318
+ /**
319
+ *
320
+ * @export
321
+ * @interface HandlersSubscribeBody
322
+ */
323
+ export interface HandlersSubscribeBody {
324
+ /**
325
+ *
326
+ * @type {string}
327
+ * @memberof HandlersSubscribeBody
328
+ */
329
+ 'email'?: string;
330
+ /**
331
+ *
332
+ * @type {string}
333
+ * @memberof HandlersSubscribeBody
334
+ */
335
+ 'token'?: string;
336
+ }
337
+ /**
338
+ *
339
+ * @export
340
+ * @interface HandlersSyncNotesRequest
341
+ */
342
+ export interface HandlersSyncNotesRequest {
343
+ /**
344
+ *
345
+ * @type {Array<string>}
346
+ * @memberof HandlersSyncNotesRequest
347
+ */
348
+ 'deletedNotesIds'?: Array<string>;
349
+ /**
350
+ *
351
+ * @type {Array<HandlersCreatingNote>}
352
+ * @memberof HandlersSyncNotesRequest
353
+ */
354
+ 'notes'?: Array<HandlersCreatingNote>;
355
+ /**
356
+ *
357
+ * @type {string}
358
+ * @memberof HandlersSyncNotesRequest
359
+ */
360
+ 'timestamp'?: string;
361
+ }
362
+ /**
363
+ *
364
+ * @export
365
+ * @interface HandlersSyncNotesResponse
366
+ */
367
+ export interface HandlersSyncNotesResponse {
368
+ /**
369
+ *
370
+ * @type {Array<HandlersDeletedNote>}
371
+ * @memberof HandlersSyncNotesResponse
372
+ */
373
+ 'deletedNotes'?: Array<HandlersDeletedNote>;
374
+ /**
375
+ *
376
+ * @type {Array<ModelsPublicNote>}
377
+ * @memberof HandlersSyncNotesResponse
378
+ */
379
+ 'notes'?: Array<ModelsPublicNote>;
380
+ }
381
+ /**
382
+ *
383
+ * @export
384
+ * @interface ModelsAPIToken
385
+ */
386
+ export interface ModelsAPIToken {
387
+ /**
388
+ *
389
+ * @type {string}
390
+ * @memberof ModelsAPIToken
391
+ */
392
+ 'id'?: string;
393
+ /**
394
+ *
395
+ * @type {string}
396
+ * @memberof ModelsAPIToken
397
+ */
398
+ 'permission'?: string;
399
+ /**
400
+ *
401
+ * @type {string}
402
+ * @memberof ModelsAPIToken
403
+ */
404
+ 'token'?: string;
405
+ }
406
+ /**
407
+ *
408
+ * @export
409
+ * @enum {string}
410
+ */
411
+ export declare const ModelsCategory: {
412
+ readonly CategoryArticle: "article";
413
+ readonly CategoryBook: "book";
414
+ readonly CategorySchedule: "schedule";
415
+ };
416
+ export type ModelsCategory = typeof ModelsCategory[keyof typeof ModelsCategory];
417
+ /**
418
+ *
419
+ * @export
420
+ * @interface ModelsNoteHeading
421
+ */
422
+ export interface ModelsNoteHeading {
423
+ /**
424
+ *
425
+ * @type {number}
426
+ * @memberof ModelsNoteHeading
427
+ */
428
+ 'level'?: number;
429
+ /**
430
+ *
431
+ * @type {string}
432
+ * @memberof ModelsNoteHeading
433
+ */
434
+ 'text'?: string;
435
+ }
436
+ /**
437
+ *
438
+ * @export
439
+ * @interface ModelsNoteLink
440
+ */
441
+ export interface ModelsNoteLink {
442
+ /**
443
+ *
444
+ * @type {string}
445
+ * @memberof ModelsNoteLink
446
+ */
447
+ 'name'?: string;
448
+ /**
449
+ *
450
+ * @type {string}
451
+ * @memberof ModelsNoteLink
452
+ */
453
+ 'url'?: string;
454
+ }
455
+ /**
456
+ *
457
+ * @export
458
+ * @interface ModelsNoteMeta
459
+ */
460
+ export interface ModelsNoteMeta {
461
+ /**
462
+ *
463
+ * @type {ModelsCategory}
464
+ * @memberof ModelsNoteMeta
465
+ */
466
+ 'category'?: ModelsCategory;
467
+ /**
468
+ *
469
+ * @type {{ [key: string]: string; }}
470
+ * @memberof ModelsNoteMeta
471
+ */
472
+ 'connectedNotes'?: {
473
+ [key: string]: string;
474
+ };
475
+ /**
476
+ *
477
+ * @type {string}
478
+ * @memberof ModelsNoteMeta
479
+ */
480
+ 'description'?: string;
481
+ /**
482
+ *
483
+ * @type {Array<ModelsNoteLink>}
484
+ * @memberof ModelsNoteMeta
485
+ */
486
+ 'externalLinks'?: Array<ModelsNoteLink>;
487
+ /**
488
+ *
489
+ * @type {Array<string>}
490
+ * @memberof ModelsNoteMeta
491
+ */
492
+ 'fileTags'?: Array<string>;
493
+ /**
494
+ *
495
+ * @type {Array<ModelsNoteHeading>}
496
+ * @memberof ModelsNoteMeta
497
+ */
498
+ 'headings'?: Array<ModelsNoteHeading>;
499
+ /**
500
+ *
501
+ * @type {Array<string>}
502
+ * @memberof ModelsNoteMeta
503
+ */
504
+ 'images'?: Array<string>;
505
+ /**
506
+ *
507
+ * @type {string}
508
+ * @memberof ModelsNoteMeta
509
+ */
510
+ 'previewImg'?: string;
511
+ /**
512
+ *
513
+ * @type {boolean}
514
+ * @memberof ModelsNoteMeta
515
+ */
516
+ 'published'?: boolean;
517
+ /**
518
+ *
519
+ * @type {string}
520
+ * @memberof ModelsNoteMeta
521
+ */
522
+ 'startup'?: string;
523
+ /**
524
+ *
525
+ * @type {string}
526
+ * @memberof ModelsNoteMeta
527
+ */
528
+ 'title'?: string;
529
+ }
530
+ /**
531
+ *
532
+ * @export
533
+ * @interface ModelsOrgNoteClientUpdateInfo
534
+ */
535
+ export interface ModelsOrgNoteClientUpdateInfo {
536
+ /**
537
+ *
538
+ * @type {string}
539
+ * @memberof ModelsOrgNoteClientUpdateInfo
540
+ */
541
+ 'changeLog'?: string;
542
+ /**
543
+ *
544
+ * @type {string}
545
+ * @memberof ModelsOrgNoteClientUpdateInfo
546
+ */
547
+ 'url'?: string;
548
+ /**
549
+ *
550
+ * @type {string}
551
+ * @memberof ModelsOrgNoteClientUpdateInfo
552
+ */
553
+ 'version'?: string;
554
+ }
555
+ /**
556
+ *
557
+ * @export
558
+ * @interface ModelsPagination
559
+ */
560
+ export interface ModelsPagination {
561
+ /**
562
+ *
563
+ * @type {number}
564
+ * @memberof ModelsPagination
565
+ */
566
+ 'limit'?: number;
567
+ /**
568
+ *
569
+ * @type {number}
570
+ * @memberof ModelsPagination
571
+ */
572
+ 'offset'?: number;
573
+ /**
574
+ *
575
+ * @type {number}
576
+ * @memberof ModelsPagination
577
+ */
578
+ 'total'?: number;
579
+ }
580
+ /**
581
+ *
582
+ * @export
583
+ * @interface ModelsPublicNote
584
+ */
585
+ export interface ModelsPublicNote {
586
+ /**
587
+ *
588
+ * @type {ModelsPublicUser}
589
+ * @memberof ModelsPublicNote
590
+ */
591
+ 'author'?: ModelsPublicUser;
592
+ /**
593
+ *
594
+ * @type {string}
595
+ * @memberof ModelsPublicNote
596
+ */
597
+ 'content': string;
598
+ /**
599
+ *
600
+ * @type {string}
601
+ * @memberof ModelsPublicNote
602
+ */
603
+ 'createdAt'?: string;
604
+ /**
605
+ *
606
+ * @type {boolean}
607
+ * @memberof ModelsPublicNote
608
+ */
609
+ 'encrypted'?: boolean;
610
+ /**
611
+ * Encrypted note content
612
+ * @type {string}
613
+ * @memberof ModelsPublicNote
614
+ */
615
+ 'encryptionType'?: ModelsPublicNoteEncryptionTypeEnum;
616
+ /**
617
+ *
618
+ * @type {Array<string>}
619
+ * @memberof ModelsPublicNote
620
+ */
621
+ 'filePath'?: Array<string>;
622
+ /**
623
+ * It\'s externalID from original note
624
+ * @type {string}
625
+ * @memberof ModelsPublicNote
626
+ */
627
+ 'id'?: string;
628
+ /**
629
+ *
630
+ * @type {boolean}
631
+ * @memberof ModelsPublicNote
632
+ */
633
+ 'isMy'?: boolean;
634
+ /**
635
+ *
636
+ * @type {ModelsNoteMeta}
637
+ * @memberof ModelsPublicNote
638
+ */
639
+ 'meta': ModelsNoteMeta;
640
+ /**
641
+ *
642
+ * @type {number}
643
+ * @memberof ModelsPublicNote
644
+ */
645
+ 'size'?: number;
646
+ /**
647
+ *
648
+ * @type {string}
649
+ * @memberof ModelsPublicNote
650
+ */
651
+ 'touchedAt'?: string;
652
+ /**
653
+ *
654
+ * @type {string}
655
+ * @memberof ModelsPublicNote
656
+ */
657
+ 'updatedAt'?: string;
658
+ }
659
+ export declare const ModelsPublicNoteEncryptionTypeEnum: {
660
+ readonly GpgKeys: "gpgKeys";
661
+ readonly GpgPassword: "gpgPassword";
662
+ readonly Disabled: "disabled";
663
+ };
664
+ export type ModelsPublicNoteEncryptionTypeEnum = typeof ModelsPublicNoteEncryptionTypeEnum[keyof typeof ModelsPublicNoteEncryptionTypeEnum];
665
+ /**
666
+ *
667
+ * @export
668
+ * @interface ModelsPublicUser
669
+ */
670
+ export interface ModelsPublicUser {
671
+ /**
672
+ *
673
+ * @type {string}
674
+ * @memberof ModelsPublicUser
675
+ */
676
+ 'avatarUrl'?: string;
677
+ /**
678
+ *
679
+ * @type {string}
680
+ * @memberof ModelsPublicUser
681
+ */
682
+ 'email'?: string;
683
+ /**
684
+ *
685
+ * @type {string}
686
+ * @memberof ModelsPublicUser
687
+ */
688
+ 'id'?: string;
689
+ /**
690
+ *
691
+ * @type {string}
692
+ * @memberof ModelsPublicUser
693
+ */
694
+ 'name'?: string;
695
+ /**
696
+ *
697
+ * @type {string}
698
+ * @memberof ModelsPublicUser
699
+ */
700
+ 'nickName'?: string;
701
+ /**
702
+ *
703
+ * @type {string}
704
+ * @memberof ModelsPublicUser
705
+ */
706
+ 'profileUrl'?: string;
707
+ }
708
+ /**
709
+ *
710
+ * @export
711
+ * @interface ModelsUserPersonalInfo
712
+ */
713
+ export interface ModelsUserPersonalInfo {
714
+ /**
715
+ *
716
+ * @type {string}
717
+ * @memberof ModelsUserPersonalInfo
718
+ */
719
+ 'active'?: string;
720
+ /**
721
+ *
722
+ * @type {string}
723
+ * @memberof ModelsUserPersonalInfo
724
+ */
725
+ 'avatarUrl'?: string;
726
+ /**
727
+ *
728
+ * @type {string}
729
+ * @memberof ModelsUserPersonalInfo
730
+ */
731
+ 'email'?: string;
732
+ /**
733
+ *
734
+ * @type {string}
735
+ * @memberof ModelsUserPersonalInfo
736
+ */
737
+ 'id'?: string;
738
+ /**
739
+ *
740
+ * @type {string}
741
+ * @memberof ModelsUserPersonalInfo
742
+ */
743
+ 'name'?: string;
744
+ /**
745
+ *
746
+ * @type {string}
747
+ * @memberof ModelsUserPersonalInfo
748
+ */
749
+ 'nickName'?: string;
750
+ /**
751
+ *
752
+ * @type {string}
753
+ * @memberof ModelsUserPersonalInfo
754
+ */
755
+ 'profileUrl'?: string;
756
+ /**
757
+ *
758
+ * @type {number}
759
+ * @memberof ModelsUserPersonalInfo
760
+ */
761
+ 'spaceLimit'?: number;
762
+ /**
763
+ *
764
+ * @type {number}
765
+ * @memberof ModelsUserPersonalInfo
766
+ */
767
+ 'usedSpace'?: number;
768
+ }
769
+ /**
770
+ * AuthApi - axios parameter creator
771
+ * @export
772
+ */
773
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
774
+ /**
775
+ * Delete user account
776
+ * @summary Delete user account
777
+ * @param {*} [options] Override http request option.
778
+ * @throws {RequiredError}
779
+ */
780
+ authAccountDelete: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
781
+ /**
782
+ * Return all available API tokens
783
+ * @summary Get API tokens
784
+ * @param {*} [options] Override http request option.
785
+ * @throws {RequiredError}
786
+ */
787
+ authApiTokensGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
788
+ /**
789
+ *
790
+ * @summary Logout
791
+ * @param {*} [options] Override http request option.
792
+ * @throws {RequiredError}
793
+ */
794
+ authLogoutGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
795
+ /**
796
+ *
797
+ * @summary Callback for OAuth
798
+ * @param {string} provider provider
799
+ * @param {*} [options] Override http request option.
800
+ * @throws {RequiredError}
801
+ */
802
+ authProviderCallbackGet: (provider: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
803
+ /**
804
+ * Entrypoint for login
805
+ * @summary OAuth Login
806
+ * @param {string} provider provider
807
+ * @param {string} [state] OAuth state
808
+ * @param {*} [options] Override http request option.
809
+ * @throws {RequiredError}
810
+ */
811
+ authProviderLoginGet: (provider: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
812
+ /**
813
+ * Subscribe for backend features, like sync notes
814
+ * @summary Subscribe
815
+ * @param {HandlersSubscribeBody} data token
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ */
819
+ authSubscribePost: (data: HandlersSubscribeBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
820
+ /**
821
+ * Create API token
822
+ * @summary Create API token
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ authTokenPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
827
+ /**
828
+ * Delete API token
829
+ * @summary Delete API token
830
+ * @param {string} tokenId token id
831
+ * @param {*} [options] Override http request option.
832
+ * @throws {RequiredError}
833
+ */
834
+ authTokenTokenIdDelete: (tokenId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
835
+ /**
836
+ * Return found user by provided token
837
+ * @summary Verify user
838
+ * @param {*} [options] Override http request option.
839
+ * @throws {RequiredError}
840
+ */
841
+ authVerifyGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
842
+ };
843
+ /**
844
+ * AuthApi - functional programming interface
845
+ * @export
846
+ */
847
+ export declare const AuthApiFp: (configuration?: Configuration) => {
848
+ /**
849
+ * Delete user account
850
+ * @summary Delete user account
851
+ * @param {*} [options] Override http request option.
852
+ * @throws {RequiredError}
853
+ */
854
+ authAccountDelete(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
855
+ /**
856
+ * Return all available API tokens
857
+ * @summary Get API tokens
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ authApiTokensGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseArrayModelsAPITokenAny>>;
862
+ /**
863
+ *
864
+ * @summary Logout
865
+ * @param {*} [options] Override http request option.
866
+ * @throws {RequiredError}
867
+ */
868
+ authLogoutGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
869
+ /**
870
+ *
871
+ * @summary Callback for OAuth
872
+ * @param {string} provider provider
873
+ * @param {*} [options] Override http request option.
874
+ * @throws {RequiredError}
875
+ */
876
+ authProviderCallbackGet(provider: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
877
+ /**
878
+ * Entrypoint for login
879
+ * @summary OAuth Login
880
+ * @param {string} provider provider
881
+ * @param {string} [state] OAuth state
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ authProviderLoginGet(provider: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseHandlersOAuthRedirectDataAny>>;
886
+ /**
887
+ * Subscribe for backend features, like sync notes
888
+ * @summary Subscribe
889
+ * @param {HandlersSubscribeBody} data token
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ authSubscribePost(data: HandlersSubscribeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
894
+ /**
895
+ * Create API token
896
+ * @summary Create API token
897
+ * @param {*} [options] Override http request option.
898
+ * @throws {RequiredError}
899
+ */
900
+ authTokenPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseModelsAPITokenAny>>;
901
+ /**
902
+ * Delete API token
903
+ * @summary Delete API token
904
+ * @param {string} tokenId token id
905
+ * @param {*} [options] Override http request option.
906
+ * @throws {RequiredError}
907
+ */
908
+ authTokenTokenIdDelete(tokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
909
+ /**
910
+ * Return found user by provided token
911
+ * @summary Verify user
912
+ * @param {*} [options] Override http request option.
913
+ * @throws {RequiredError}
914
+ */
915
+ authVerifyGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseModelsUserPersonalInfoAny>>;
916
+ };
917
+ /**
918
+ * AuthApi - factory interface
919
+ * @export
920
+ */
921
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
922
+ /**
923
+ * Delete user account
924
+ * @summary Delete user account
925
+ * @param {*} [options] Override http request option.
926
+ * @throws {RequiredError}
927
+ */
928
+ authAccountDelete(options?: any): AxiosPromise<object>;
929
+ /**
930
+ * Return all available API tokens
931
+ * @summary Get API tokens
932
+ * @param {*} [options] Override http request option.
933
+ * @throws {RequiredError}
934
+ */
935
+ authApiTokensGet(options?: any): AxiosPromise<HandlersHttpResponseArrayModelsAPITokenAny>;
936
+ /**
937
+ *
938
+ * @summary Logout
939
+ * @param {*} [options] Override http request option.
940
+ * @throws {RequiredError}
941
+ */
942
+ authLogoutGet(options?: any): AxiosPromise<object>;
943
+ /**
944
+ *
945
+ * @summary Callback for OAuth
946
+ * @param {string} provider provider
947
+ * @param {*} [options] Override http request option.
948
+ * @throws {RequiredError}
949
+ */
950
+ authProviderCallbackGet(provider: string, options?: any): AxiosPromise<object>;
951
+ /**
952
+ * Entrypoint for login
953
+ * @summary OAuth Login
954
+ * @param {string} provider provider
955
+ * @param {string} [state] OAuth state
956
+ * @param {*} [options] Override http request option.
957
+ * @throws {RequiredError}
958
+ */
959
+ authProviderLoginGet(provider: string, state?: string, options?: any): AxiosPromise<HandlersHttpResponseHandlersOAuthRedirectDataAny>;
960
+ /**
961
+ * Subscribe for backend features, like sync notes
962
+ * @summary Subscribe
963
+ * @param {HandlersSubscribeBody} data token
964
+ * @param {*} [options] Override http request option.
965
+ * @throws {RequiredError}
966
+ */
967
+ authSubscribePost(data: HandlersSubscribeBody, options?: any): AxiosPromise<object>;
968
+ /**
969
+ * Create API token
970
+ * @summary Create API token
971
+ * @param {*} [options] Override http request option.
972
+ * @throws {RequiredError}
973
+ */
974
+ authTokenPost(options?: any): AxiosPromise<HandlersHttpResponseModelsAPITokenAny>;
975
+ /**
976
+ * Delete API token
977
+ * @summary Delete API token
978
+ * @param {string} tokenId token id
979
+ * @param {*} [options] Override http request option.
980
+ * @throws {RequiredError}
981
+ */
982
+ authTokenTokenIdDelete(tokenId: string, options?: any): AxiosPromise<object>;
983
+ /**
984
+ * Return found user by provided token
985
+ * @summary Verify user
986
+ * @param {*} [options] Override http request option.
987
+ * @throws {RequiredError}
988
+ */
989
+ authVerifyGet(options?: any): AxiosPromise<HandlersHttpResponseModelsUserPersonalInfoAny>;
990
+ };
991
+ /**
992
+ * AuthApi - object-oriented interface
993
+ * @export
994
+ * @class AuthApi
995
+ * @extends {BaseAPI}
996
+ */
997
+ export declare class AuthApi extends BaseAPI {
998
+ /**
999
+ * Delete user account
1000
+ * @summary Delete user account
1001
+ * @param {*} [options] Override http request option.
1002
+ * @throws {RequiredError}
1003
+ * @memberof AuthApi
1004
+ */
1005
+ authAccountDelete(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1006
+ /**
1007
+ * Return all available API tokens
1008
+ * @summary Get API tokens
1009
+ * @param {*} [options] Override http request option.
1010
+ * @throws {RequiredError}
1011
+ * @memberof AuthApi
1012
+ */
1013
+ authApiTokensGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseArrayModelsAPITokenAny, any>>;
1014
+ /**
1015
+ *
1016
+ * @summary Logout
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ * @memberof AuthApi
1020
+ */
1021
+ authLogoutGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1022
+ /**
1023
+ *
1024
+ * @summary Callback for OAuth
1025
+ * @param {string} provider provider
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ * @memberof AuthApi
1029
+ */
1030
+ authProviderCallbackGet(provider: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1031
+ /**
1032
+ * Entrypoint for login
1033
+ * @summary OAuth Login
1034
+ * @param {string} provider provider
1035
+ * @param {string} [state] OAuth state
1036
+ * @param {*} [options] Override http request option.
1037
+ * @throws {RequiredError}
1038
+ * @memberof AuthApi
1039
+ */
1040
+ authProviderLoginGet(provider: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseHandlersOAuthRedirectDataAny, any>>;
1041
+ /**
1042
+ * Subscribe for backend features, like sync notes
1043
+ * @summary Subscribe
1044
+ * @param {HandlersSubscribeBody} data token
1045
+ * @param {*} [options] Override http request option.
1046
+ * @throws {RequiredError}
1047
+ * @memberof AuthApi
1048
+ */
1049
+ authSubscribePost(data: HandlersSubscribeBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1050
+ /**
1051
+ * Create API token
1052
+ * @summary Create API token
1053
+ * @param {*} [options] Override http request option.
1054
+ * @throws {RequiredError}
1055
+ * @memberof AuthApi
1056
+ */
1057
+ authTokenPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseModelsAPITokenAny, any>>;
1058
+ /**
1059
+ * Delete API token
1060
+ * @summary Delete API token
1061
+ * @param {string} tokenId token id
1062
+ * @param {*} [options] Override http request option.
1063
+ * @throws {RequiredError}
1064
+ * @memberof AuthApi
1065
+ */
1066
+ authTokenTokenIdDelete(tokenId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1067
+ /**
1068
+ * Return found user by provided token
1069
+ * @summary Verify user
1070
+ * @param {*} [options] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ * @memberof AuthApi
1073
+ */
1074
+ authVerifyGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseModelsUserPersonalInfoAny, any>>;
1075
+ }
1076
+ /**
1077
+ * FilesApi - axios parameter creator
1078
+ * @export
1079
+ */
1080
+ export declare const FilesApiAxiosParamCreator: (configuration?: Configuration) => {
1081
+ /**
1082
+ * Upload files.
1083
+ * @summary Upload files
1084
+ * @param {FilesUploadPostRequest} filesUploadPostRequest
1085
+ * @param {*} [options] Override http request option.
1086
+ * @throws {RequiredError}
1087
+ */
1088
+ filesUploadPost: (filesUploadPostRequest: FilesUploadPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1089
+ };
1090
+ /**
1091
+ * FilesApi - functional programming interface
1092
+ * @export
1093
+ */
1094
+ export declare const FilesApiFp: (configuration?: Configuration) => {
1095
+ /**
1096
+ * Upload files.
1097
+ * @summary Upload files
1098
+ * @param {FilesUploadPostRequest} filesUploadPostRequest
1099
+ * @param {*} [options] Override http request option.
1100
+ * @throws {RequiredError}
1101
+ */
1102
+ filesUploadPost(filesUploadPostRequest: FilesUploadPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1103
+ };
1104
+ /**
1105
+ * FilesApi - factory interface
1106
+ * @export
1107
+ */
1108
+ export declare const FilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1109
+ /**
1110
+ * Upload files.
1111
+ * @summary Upload files
1112
+ * @param {FilesUploadPostRequest} filesUploadPostRequest
1113
+ * @param {*} [options] Override http request option.
1114
+ * @throws {RequiredError}
1115
+ */
1116
+ filesUploadPost(filesUploadPostRequest: FilesUploadPostRequest, options?: any): AxiosPromise<object>;
1117
+ };
1118
+ /**
1119
+ * FilesApi - object-oriented interface
1120
+ * @export
1121
+ * @class FilesApi
1122
+ * @extends {BaseAPI}
1123
+ */
1124
+ export declare class FilesApi extends BaseAPI {
1125
+ /**
1126
+ * Upload files.
1127
+ * @summary Upload files
1128
+ * @param {FilesUploadPostRequest} filesUploadPostRequest
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ * @memberof FilesApi
1132
+ */
1133
+ filesUploadPost(filesUploadPostRequest: FilesUploadPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1134
+ }
1135
+ /**
1136
+ * NotesApi - axios parameter creator
1137
+ * @export
1138
+ */
1139
+ export declare const NotesApiAxiosParamCreator: (configuration?: Configuration) => {
1140
+ /**
1141
+ * Force delete all user notes. This operation is irreversible
1142
+ * @summary Drop all user notes
1143
+ * @param {*} [options] Override http request option.
1144
+ * @throws {RequiredError}
1145
+ */
1146
+ allNotesDelete: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1147
+ /**
1148
+ * Bulk update or insert notes
1149
+ * @summary Upsert notes
1150
+ * @param {Array<HandlersCreatingNote>} notes List of crated notes
1151
+ * @param {*} [options] Override http request option.
1152
+ * @throws {RequiredError}
1153
+ */
1154
+ notesBulkUpsertPut: (notes: Array<HandlersCreatingNote>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1155
+ /**
1156
+ * Mark notes as deleted by provided list of ids
1157
+ * @summary Delete notes
1158
+ * @param {Array<string>} ids List of ids of deleted notes
1159
+ * @param {*} [options] Override http request option.
1160
+ * @throws {RequiredError}
1161
+ */
1162
+ notesDelete: (ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1163
+ /**
1164
+ * Get all notes with optional filter
1165
+ * @summary Get notes
1166
+ * @param {number} [limit]
1167
+ * @param {number} [offset]
1168
+ * @param {string} [userId] User id of which notes to load
1169
+ * @param {string} [searchText]
1170
+ * @param {boolean} [my] Load all my own notes (user will be used from provided token)
1171
+ * @param {string} [from]
1172
+ * @param {boolean} [includeDeleted]
1173
+ * @param {*} [options] Override http request option.
1174
+ * @throws {RequiredError}
1175
+ */
1176
+ notesGet: (limit?: number, offset?: number, userId?: string, searchText?: string, my?: boolean, from?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1177
+ /**
1178
+ * get note by id
1179
+ * @summary Get note
1180
+ * @param {string} id Note ID
1181
+ * @param {*} [options] Override http request option.
1182
+ * @throws {RequiredError}
1183
+ */
1184
+ notesIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1185
+ /**
1186
+ * Create note
1187
+ * @summary Create note
1188
+ * @param {HandlersCreatingNote} note Note model
1189
+ * @param {*} [options] Override http request option.
1190
+ * @throws {RequiredError}
1191
+ */
1192
+ notesPost: (note: HandlersCreatingNote, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1193
+ /**
1194
+ * Synchronize notes with specific timestamp
1195
+ * @summary Synchronize notes
1196
+ * @param {HandlersSyncNotesRequest} data Sync notes request
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ */
1200
+ notesSyncPost: (data: HandlersSyncNotesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1201
+ };
1202
+ /**
1203
+ * NotesApi - functional programming interface
1204
+ * @export
1205
+ */
1206
+ export declare const NotesApiFp: (configuration?: Configuration) => {
1207
+ /**
1208
+ * Force delete all user notes. This operation is irreversible
1209
+ * @summary Drop all user notes
1210
+ * @param {*} [options] Override http request option.
1211
+ * @throws {RequiredError}
1212
+ */
1213
+ allNotesDelete(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1214
+ /**
1215
+ * Bulk update or insert notes
1216
+ * @summary Upsert notes
1217
+ * @param {Array<HandlersCreatingNote>} notes List of crated notes
1218
+ * @param {*} [options] Override http request option.
1219
+ * @throws {RequiredError}
1220
+ */
1221
+ notesBulkUpsertPut(notes: Array<HandlersCreatingNote>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1222
+ /**
1223
+ * Mark notes as deleted by provided list of ids
1224
+ * @summary Delete notes
1225
+ * @param {Array<string>} ids List of ids of deleted notes
1226
+ * @param {*} [options] Override http request option.
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ notesDelete(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseAnyAny>>;
1230
+ /**
1231
+ * Get all notes with optional filter
1232
+ * @summary Get notes
1233
+ * @param {number} [limit]
1234
+ * @param {number} [offset]
1235
+ * @param {string} [userId] User id of which notes to load
1236
+ * @param {string} [searchText]
1237
+ * @param {boolean} [my] Load all my own notes (user will be used from provided token)
1238
+ * @param {string} [from]
1239
+ * @param {boolean} [includeDeleted]
1240
+ * @param {*} [options] Override http request option.
1241
+ * @throws {RequiredError}
1242
+ */
1243
+ notesGet(limit?: number, offset?: number, userId?: string, searchText?: string, my?: boolean, from?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseArrayModelsPublicNoteModelsPagination>>;
1244
+ /**
1245
+ * get note by id
1246
+ * @summary Get note
1247
+ * @param {string} id Note ID
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ notesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseModelsPublicNoteAny>>;
1252
+ /**
1253
+ * Create note
1254
+ * @summary Create note
1255
+ * @param {HandlersCreatingNote} note Note model
1256
+ * @param {*} [options] Override http request option.
1257
+ * @throws {RequiredError}
1258
+ */
1259
+ notesPost(note: HandlersCreatingNote, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1260
+ /**
1261
+ * Synchronize notes with specific timestamp
1262
+ * @summary Synchronize notes
1263
+ * @param {HandlersSyncNotesRequest} data Sync notes request
1264
+ * @param {*} [options] Override http request option.
1265
+ * @throws {RequiredError}
1266
+ */
1267
+ notesSyncPost(data: HandlersSyncNotesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseHandlersSyncNotesResponseAny>>;
1268
+ };
1269
+ /**
1270
+ * NotesApi - factory interface
1271
+ * @export
1272
+ */
1273
+ export declare const NotesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1274
+ /**
1275
+ * Force delete all user notes. This operation is irreversible
1276
+ * @summary Drop all user notes
1277
+ * @param {*} [options] Override http request option.
1278
+ * @throws {RequiredError}
1279
+ */
1280
+ allNotesDelete(options?: any): AxiosPromise<void>;
1281
+ /**
1282
+ * Bulk update or insert notes
1283
+ * @summary Upsert notes
1284
+ * @param {Array<HandlersCreatingNote>} notes List of crated notes
1285
+ * @param {*} [options] Override http request option.
1286
+ * @throws {RequiredError}
1287
+ */
1288
+ notesBulkUpsertPut(notes: Array<HandlersCreatingNote>, options?: any): AxiosPromise<object>;
1289
+ /**
1290
+ * Mark notes as deleted by provided list of ids
1291
+ * @summary Delete notes
1292
+ * @param {Array<string>} ids List of ids of deleted notes
1293
+ * @param {*} [options] Override http request option.
1294
+ * @throws {RequiredError}
1295
+ */
1296
+ notesDelete(ids: Array<string>, options?: any): AxiosPromise<HandlersHttpResponseAnyAny>;
1297
+ /**
1298
+ * Get all notes with optional filter
1299
+ * @summary Get notes
1300
+ * @param {number} [limit]
1301
+ * @param {number} [offset]
1302
+ * @param {string} [userId] User id of which notes to load
1303
+ * @param {string} [searchText]
1304
+ * @param {boolean} [my] Load all my own notes (user will be used from provided token)
1305
+ * @param {string} [from]
1306
+ * @param {boolean} [includeDeleted]
1307
+ * @param {*} [options] Override http request option.
1308
+ * @throws {RequiredError}
1309
+ */
1310
+ notesGet(limit?: number, offset?: number, userId?: string, searchText?: string, my?: boolean, from?: string, includeDeleted?: boolean, options?: any): AxiosPromise<HandlersHttpResponseArrayModelsPublicNoteModelsPagination>;
1311
+ /**
1312
+ * get note by id
1313
+ * @summary Get note
1314
+ * @param {string} id Note ID
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ notesIdGet(id: string, options?: any): AxiosPromise<HandlersHttpResponseModelsPublicNoteAny>;
1319
+ /**
1320
+ * Create note
1321
+ * @summary Create note
1322
+ * @param {HandlersCreatingNote} note Note model
1323
+ * @param {*} [options] Override http request option.
1324
+ * @throws {RequiredError}
1325
+ */
1326
+ notesPost(note: HandlersCreatingNote, options?: any): AxiosPromise<object>;
1327
+ /**
1328
+ * Synchronize notes with specific timestamp
1329
+ * @summary Synchronize notes
1330
+ * @param {HandlersSyncNotesRequest} data Sync notes request
1331
+ * @param {*} [options] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ */
1334
+ notesSyncPost(data: HandlersSyncNotesRequest, options?: any): AxiosPromise<HandlersHttpResponseHandlersSyncNotesResponseAny>;
1335
+ };
1336
+ /**
1337
+ * NotesApi - object-oriented interface
1338
+ * @export
1339
+ * @class NotesApi
1340
+ * @extends {BaseAPI}
1341
+ */
1342
+ export declare class NotesApi extends BaseAPI {
1343
+ /**
1344
+ * Force delete all user notes. This operation is irreversible
1345
+ * @summary Drop all user notes
1346
+ * @param {*} [options] Override http request option.
1347
+ * @throws {RequiredError}
1348
+ * @memberof NotesApi
1349
+ */
1350
+ allNotesDelete(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1351
+ /**
1352
+ * Bulk update or insert notes
1353
+ * @summary Upsert notes
1354
+ * @param {Array<HandlersCreatingNote>} notes List of crated notes
1355
+ * @param {*} [options] Override http request option.
1356
+ * @throws {RequiredError}
1357
+ * @memberof NotesApi
1358
+ */
1359
+ notesBulkUpsertPut(notes: Array<HandlersCreatingNote>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1360
+ /**
1361
+ * Mark notes as deleted by provided list of ids
1362
+ * @summary Delete notes
1363
+ * @param {Array<string>} ids List of ids of deleted notes
1364
+ * @param {*} [options] Override http request option.
1365
+ * @throws {RequiredError}
1366
+ * @memberof NotesApi
1367
+ */
1368
+ notesDelete(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseAnyAny, any>>;
1369
+ /**
1370
+ * Get all notes with optional filter
1371
+ * @summary Get notes
1372
+ * @param {number} [limit]
1373
+ * @param {number} [offset]
1374
+ * @param {string} [userId] User id of which notes to load
1375
+ * @param {string} [searchText]
1376
+ * @param {boolean} [my] Load all my own notes (user will be used from provided token)
1377
+ * @param {string} [from]
1378
+ * @param {boolean} [includeDeleted]
1379
+ * @param {*} [options] Override http request option.
1380
+ * @throws {RequiredError}
1381
+ * @memberof NotesApi
1382
+ */
1383
+ notesGet(limit?: number, offset?: number, userId?: string, searchText?: string, my?: boolean, from?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseArrayModelsPublicNoteModelsPagination, any>>;
1384
+ /**
1385
+ * get note by id
1386
+ * @summary Get note
1387
+ * @param {string} id Note ID
1388
+ * @param {*} [options] Override http request option.
1389
+ * @throws {RequiredError}
1390
+ * @memberof NotesApi
1391
+ */
1392
+ notesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseModelsPublicNoteAny, any>>;
1393
+ /**
1394
+ * Create note
1395
+ * @summary Create note
1396
+ * @param {HandlersCreatingNote} note Note model
1397
+ * @param {*} [options] Override http request option.
1398
+ * @throws {RequiredError}
1399
+ * @memberof NotesApi
1400
+ */
1401
+ notesPost(note: HandlersCreatingNote, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1402
+ /**
1403
+ * Synchronize notes with specific timestamp
1404
+ * @summary Synchronize notes
1405
+ * @param {HandlersSyncNotesRequest} data Sync notes request
1406
+ * @param {*} [options] Override http request option.
1407
+ * @throws {RequiredError}
1408
+ * @memberof NotesApi
1409
+ */
1410
+ notesSyncPost(data: HandlersSyncNotesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseHandlersSyncNotesResponseAny, any>>;
1411
+ }
1412
+ /**
1413
+ * SystemInfoApi - axios parameter creator
1414
+ * @export
1415
+ */
1416
+ export declare const SystemInfoApiAxiosParamCreator: (configuration?: Configuration) => {
1417
+ /**
1418
+ *
1419
+ * @summary GetUpdatesFromVersion
1420
+ * @param {string} version provider
1421
+ * @param {*} [options] Override http request option.
1422
+ * @throws {RequiredError}
1423
+ */
1424
+ systemInfoClientUpdateVersionGet: (version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1425
+ };
1426
+ /**
1427
+ * SystemInfoApi - functional programming interface
1428
+ * @export
1429
+ */
1430
+ export declare const SystemInfoApiFp: (configuration?: Configuration) => {
1431
+ /**
1432
+ *
1433
+ * @summary GetUpdatesFromVersion
1434
+ * @param {string} version provider
1435
+ * @param {*} [options] Override http request option.
1436
+ * @throws {RequiredError}
1437
+ */
1438
+ systemInfoClientUpdateVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelsOrgNoteClientUpdateInfo>>;
1439
+ };
1440
+ /**
1441
+ * SystemInfoApi - factory interface
1442
+ * @export
1443
+ */
1444
+ export declare const SystemInfoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1445
+ /**
1446
+ *
1447
+ * @summary GetUpdatesFromVersion
1448
+ * @param {string} version provider
1449
+ * @param {*} [options] Override http request option.
1450
+ * @throws {RequiredError}
1451
+ */
1452
+ systemInfoClientUpdateVersionGet(version: string, options?: any): AxiosPromise<ModelsOrgNoteClientUpdateInfo>;
1453
+ };
1454
+ /**
1455
+ * SystemInfoApi - object-oriented interface
1456
+ * @export
1457
+ * @class SystemInfoApi
1458
+ * @extends {BaseAPI}
1459
+ */
1460
+ export declare class SystemInfoApi extends BaseAPI {
1461
+ /**
1462
+ *
1463
+ * @summary GetUpdatesFromVersion
1464
+ * @param {string} version provider
1465
+ * @param {*} [options] Override http request option.
1466
+ * @throws {RequiredError}
1467
+ * @memberof SystemInfoApi
1468
+ */
1469
+ systemInfoClientUpdateVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsOrgNoteClientUpdateInfo, any>>;
1470
+ }
1471
+ /**
1472
+ * TagsApi - axios parameter creator
1473
+ * @export
1474
+ */
1475
+ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) => {
1476
+ /**
1477
+ * Return list of al registered tags
1478
+ * @summary Get tags
1479
+ * @param {*} [options] Override http request option.
1480
+ * @throws {RequiredError}
1481
+ */
1482
+ tagsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1483
+ };
1484
+ /**
1485
+ * TagsApi - functional programming interface
1486
+ * @export
1487
+ */
1488
+ export declare const TagsApiFp: (configuration?: Configuration) => {
1489
+ /**
1490
+ * Return list of al registered tags
1491
+ * @summary Get tags
1492
+ * @param {*} [options] Override http request option.
1493
+ * @throws {RequiredError}
1494
+ */
1495
+ tagsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersHttpResponseArrayStringAny>>;
1496
+ };
1497
+ /**
1498
+ * TagsApi - factory interface
1499
+ * @export
1500
+ */
1501
+ export declare const TagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1502
+ /**
1503
+ * Return list of al registered tags
1504
+ * @summary Get tags
1505
+ * @param {*} [options] Override http request option.
1506
+ * @throws {RequiredError}
1507
+ */
1508
+ tagsGet(options?: any): AxiosPromise<HandlersHttpResponseArrayStringAny>;
1509
+ };
1510
+ /**
1511
+ * TagsApi - object-oriented interface
1512
+ * @export
1513
+ * @class TagsApi
1514
+ * @extends {BaseAPI}
1515
+ */
1516
+ export declare class TagsApi extends BaseAPI {
1517
+ /**
1518
+ * Return list of al registered tags
1519
+ * @summary Get tags
1520
+ * @param {*} [options] Override http request option.
1521
+ * @throws {RequiredError}
1522
+ * @memberof TagsApi
1523
+ */
1524
+ tagsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersHttpResponseArrayStringAny, any>>;
1525
+ }