@sinoia/hubdoc-tools 1.4.0 → 1.5.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 +147 -243
- package/cli.js +89268 -0
- package/docs/llm-usage.md +314 -0
- package/package.json +29 -100
- package/LICENSE +0 -21
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.d.ts +0 -15
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.d.ts.map +0 -1
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.js +0 -37
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.js.map +0 -1
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.d.ts +0 -15
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.d.ts.map +0 -1
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.js +0 -54
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.js.map +0 -1
- package/dist/__tests__/fixtures/plugins/test-plugin/index.d.ts +0 -15
- package/dist/__tests__/fixtures/plugins/test-plugin/index.d.ts.map +0 -1
- package/dist/__tests__/fixtures/plugins/test-plugin/index.js +0 -34
- package/dist/__tests__/fixtures/plugins/test-plugin/index.js.map +0 -1
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.d.ts +0 -16
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.d.ts.map +0 -1
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.js +0 -145
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.js.map +0 -1
- package/dist/api/api/authentication-api.d.ts +0 -208
- package/dist/api/api/authentication-api.d.ts.map +0 -1
- package/dist/api/api/authentication-api.js +0 -385
- package/dist/api/api/authentication-api.js.map +0 -1
- package/dist/api/api/bulk-uploads-api.d.ts +0 -101
- package/dist/api/api/bulk-uploads-api.d.ts.map +0 -1
- package/dist/api/api/bulk-uploads-api.js +0 -195
- package/dist/api/api/bulk-uploads-api.js.map +0 -1
- package/dist/api/api/chunked-uploads-api.d.ts +0 -214
- package/dist/api/api/chunked-uploads-api.d.ts.map +0 -1
- package/dist/api/api/chunked-uploads-api.js +0 -420
- package/dist/api/api/chunked-uploads-api.js.map +0 -1
- package/dist/api/api/contacts-api.d.ts +0 -246
- package/dist/api/api/contacts-api.d.ts.map +0 -1
- package/dist/api/api/contacts-api.js +0 -465
- package/dist/api/api/contacts-api.js.map +0 -1
- package/dist/api/api/documents-api.d.ts +0 -267
- package/dist/api/api/documents-api.d.ts.map +0 -1
- package/dist/api/api/documents-api.js +0 -506
- package/dist/api/api/documents-api.js.map +0 -1
- package/dist/api/api/folders-api.d.ts +0 -255
- package/dist/api/api/folders-api.d.ts.map +0 -1
- package/dist/api/api/folders-api.js +0 -479
- package/dist/api/api/folders-api.js.map +0 -1
- package/dist/api/api/groups-api.d.ts +0 -246
- package/dist/api/api/groups-api.d.ts.map +0 -1
- package/dist/api/api/groups-api.js +0 -465
- package/dist/api/api/groups-api.js.map +0 -1
- package/dist/api/api/permissions-api.d.ts +0 -246
- package/dist/api/api/permissions-api.d.ts.map +0 -1
- package/dist/api/api/permissions-api.js +0 -465
- package/dist/api/api/permissions-api.js.map +0 -1
- package/dist/api/api/users-api.d.ts +0 -246
- package/dist/api/api/users-api.d.ts.map +0 -1
- package/dist/api/api/users-api.js +0 -465
- package/dist/api/api/users-api.js.map +0 -1
- package/dist/api/api/workspaces-api.d.ts +0 -213
- package/dist/api/api/workspaces-api.d.ts.map +0 -1
- package/dist/api/api/workspaces-api.js +0 -424
- package/dist/api/api/workspaces-api.js.map +0 -1
- package/dist/api/api.d.ts +0 -22
- package/dist/api/api.d.ts.map +0 -1
- package/dist/api/api.js +0 -40
- package/dist/api/api.js.map +0 -1
- package/dist/api/base.d.ts +0 -43
- package/dist/api/base.d.ts.map +0 -1
- package/dist/api/base.js +0 -49
- package/dist/api/base.js.map +0 -1
- package/dist/api/common.d.ts +0 -29
- package/dist/api/common.d.ts.map +0 -1
- package/dist/api/common.js +0 -109
- package/dist/api/common.js.map +0 -1
- package/dist/api/configuration.d.ts +0 -99
- package/dist/api/configuration.d.ts.map +0 -1
- package/dist/api/configuration.js +0 -49
- package/dist/api/configuration.js.map +0 -1
- package/dist/api/index.d.ts +0 -15
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/index.js +0 -33
- package/dist/api/index.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response-data.d.ts +0 -19
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response-data.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response-data.js +0 -20
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response-data.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete200-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete422-response.d.ts +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete422-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete422-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-cancel-delete422-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch200-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch200-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch200-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch200-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch400-response.d.ts +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch400-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch400-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch400-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch410-response.d.ts +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch410-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch410-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch410-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch422-response.d.ts +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch422-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch422-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-chunks-chunk-number-patch422-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post200-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post200-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post200-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post200-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post422-response.d.ts +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post422-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post422-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-complete-post422-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get200-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get200-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get200-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get200-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get404-response.d.ts +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get404-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get404-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-id-status-get404-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-post201-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-chunked-uploads-post201-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-chunked-uploads-post201-response.js +0 -16
- package/dist/api/models/api-v1-documents-chunked-uploads-post201-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-documents-post-request1.d.ts +0 -34
- package/dist/api/models/api-v1-documents-documents-post-request1.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-documents-post-request1.js +0 -16
- package/dist/api/models/api-v1-documents-documents-post-request1.js.map +0 -1
- package/dist/api/models/api-v1-documents-documents-post201-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-documents-post201-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-documents-post201-response.js +0 -16
- package/dist/api/models/api-v1-documents-documents-post201-response.js.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.d.ts +0 -17
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.js +0 -16
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.js.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.d.ts +0 -17
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.js +0 -16
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.js.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.d.ts +0 -18
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.js +0 -16
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.js.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response.d.ts +0 -17
- package/dist/api/models/api-v1-documents-folders-id-get200-response.d.ts.map +0 -1
- package/dist/api/models/api-v1-documents-folders-id-get200-response.js +0 -16
- package/dist/api/models/api-v1-documents-folders-id-get200-response.js.map +0 -1
- package/dist/api/models/bulk-upload-mutation.d.ts +0 -34
- package/dist/api/models/bulk-upload-mutation.d.ts.map +0 -1
- package/dist/api/models/bulk-upload-mutation.js +0 -16
- package/dist/api/models/bulk-upload-mutation.js.map +0 -1
- package/dist/api/models/bulk-upload.d.ts +0 -91
- package/dist/api/models/bulk-upload.d.ts.map +0 -1
- package/dist/api/models/bulk-upload.js +0 -23
- package/dist/api/models/bulk-upload.js.map +0 -1
- package/dist/api/models/chunked-upload-chunk-response.d.ts +0 -46
- package/dist/api/models/chunked-upload-chunk-response.d.ts.map +0 -1
- package/dist/api/models/chunked-upload-chunk-response.js +0 -21
- package/dist/api/models/chunked-upload-chunk-response.js.map +0 -1
- package/dist/api/models/chunked-upload-complete-request.d.ts +0 -21
- package/dist/api/models/chunked-upload-complete-request.d.ts.map +0 -1
- package/dist/api/models/chunked-upload-complete-request.js +0 -16
- package/dist/api/models/chunked-upload-complete-request.js.map +0 -1
- package/dist/api/models/chunked-upload-complete-response.d.ts +0 -37
- package/dist/api/models/chunked-upload-complete-response.d.ts.map +0 -1
- package/dist/api/models/chunked-upload-complete-response.js +0 -20
- package/dist/api/models/chunked-upload-complete-response.js.map +0 -1
- package/dist/api/models/chunked-upload-mutation.d.ts +0 -47
- package/dist/api/models/chunked-upload-mutation.d.ts.map +0 -1
- package/dist/api/models/chunked-upload-mutation.js +0 -16
- package/dist/api/models/chunked-upload-mutation.js.map +0 -1
- package/dist/api/models/chunked-upload-session-response.d.ts +0 -33
- package/dist/api/models/chunked-upload-session-response.d.ts.map +0 -1
- package/dist/api/models/chunked-upload-session-response.js +0 -16
- package/dist/api/models/chunked-upload-session-response.js.map +0 -1
- package/dist/api/models/chunked-upload-status-response.d.ts +0 -54
- package/dist/api/models/chunked-upload-status-response.d.ts.map +0 -1
- package/dist/api/models/chunked-upload-status-response.js +0 -25
- package/dist/api/models/chunked-upload-status-response.js.map +0 -1
- package/dist/api/models/chunked-upload.d.ts +0 -98
- package/dist/api/models/chunked-upload.d.ts.map +0 -1
- package/dist/api/models/chunked-upload.js +0 -25
- package/dist/api/models/chunked-upload.js.map +0 -1
- package/dist/api/models/contact-mutation.d.ts +0 -30
- package/dist/api/models/contact-mutation.d.ts.map +0 -1
- package/dist/api/models/contact-mutation.js +0 -16
- package/dist/api/models/contact-mutation.js.map +0 -1
- package/dist/api/models/contact.d.ts +0 -54
- package/dist/api/models/contact.d.ts.map +0 -1
- package/dist/api/models/contact.js +0 -16
- package/dist/api/models/contact.js.map +0 -1
- package/dist/api/models/document-document-type.d.ts +0 -19
- package/dist/api/models/document-document-type.d.ts.map +0 -1
- package/dist/api/models/document-document-type.js +0 -16
- package/dist/api/models/document-document-type.js.map +0 -1
- package/dist/api/models/document-domain.d.ts +0 -19
- package/dist/api/models/document-domain.d.ts.map +0 -1
- package/dist/api/models/document-domain.js +0 -16
- package/dist/api/models/document-domain.js.map +0 -1
- package/dist/api/models/document-folder.d.ts +0 -19
- package/dist/api/models/document-folder.d.ts.map +0 -1
- package/dist/api/models/document-folder.js +0 -16
- package/dist/api/models/document-folder.js.map +0 -1
- package/dist/api/models/document-mutation.d.ts +0 -50
- package/dist/api/models/document-mutation.d.ts.map +0 -1
- package/dist/api/models/document-mutation.js +0 -16
- package/dist/api/models/document-mutation.js.map +0 -1
- package/dist/api/models/document.d.ts +0 -73
- package/dist/api/models/document.d.ts.map +0 -1
- package/dist/api/models/document.js +0 -16
- package/dist/api/models/document.js.map +0 -1
- package/dist/api/models/folder-mutation.d.ts +0 -38
- package/dist/api/models/folder-mutation.d.ts.map +0 -1
- package/dist/api/models/folder-mutation.js +0 -16
- package/dist/api/models/folder-mutation.js.map +0 -1
- package/dist/api/models/folder-parent.d.ts +0 -19
- package/dist/api/models/folder-parent.d.ts.map +0 -1
- package/dist/api/models/folder-parent.js +0 -16
- package/dist/api/models/folder-parent.js.map +0 -1
- package/dist/api/models/folder.d.ts +0 -65
- package/dist/api/models/folder.d.ts.map +0 -1
- package/dist/api/models/folder.js +0 -16
- package/dist/api/models/folder.js.map +0 -1
- package/dist/api/models/group-mutation.d.ts +0 -26
- package/dist/api/models/group-mutation.d.ts.map +0 -1
- package/dist/api/models/group-mutation.js +0 -16
- package/dist/api/models/group-mutation.js.map +0 -1
- package/dist/api/models/group.d.ts +0 -38
- package/dist/api/models/group.d.ts.map +0 -1
- package/dist/api/models/group.js +0 -16
- package/dist/api/models/group.js.map +0 -1
- package/dist/api/models/index.d.ts +0 -55
- package/dist/api/models/index.d.ts.map +0 -1
- package/dist/api/models/index.js +0 -71
- package/dist/api/models/index.js.map +0 -1
- package/dist/api/models/model-error.d.ts +0 -26
- package/dist/api/models/model-error.d.ts.map +0 -1
- package/dist/api/models/model-error.js +0 -16
- package/dist/api/models/model-error.js.map +0 -1
- package/dist/api/models/oauth-revoke-post200-response.d.ts +0 -15
- package/dist/api/models/oauth-revoke-post200-response.d.ts.map +0 -1
- package/dist/api/models/oauth-revoke-post200-response.js +0 -16
- package/dist/api/models/oauth-revoke-post200-response.js.map +0 -1
- package/dist/api/models/permission-actor.d.ts +0 -20
- package/dist/api/models/permission-actor.d.ts.map +0 -1
- package/dist/api/models/permission-actor.js +0 -16
- package/dist/api/models/permission-actor.js.map +0 -1
- package/dist/api/models/permission-mutation.d.ts +0 -44
- package/dist/api/models/permission-mutation.d.ts.map +0 -1
- package/dist/api/models/permission-mutation.js +0 -22
- package/dist/api/models/permission-mutation.js.map +0 -1
- package/dist/api/models/permission-permissible.d.ts +0 -20
- package/dist/api/models/permission-permissible.d.ts.map +0 -1
- package/dist/api/models/permission-permissible.js +0 -16
- package/dist/api/models/permission-permissible.js.map +0 -1
- package/dist/api/models/permission.d.ts +0 -60
- package/dist/api/models/permission.d.ts.map +0 -1
- package/dist/api/models/permission.js +0 -22
- package/dist/api/models/permission.js.map +0 -1
- package/dist/api/models/token-response.d.ts +0 -41
- package/dist/api/models/token-response.d.ts.map +0 -1
- package/dist/api/models/token-response.js +0 -16
- package/dist/api/models/token-response.js.map +0 -1
- package/dist/api/models/user-mutation.d.ts +0 -45
- package/dist/api/models/user-mutation.d.ts.map +0 -1
- package/dist/api/models/user-mutation.js +0 -23
- package/dist/api/models/user-mutation.js.map +0 -1
- package/dist/api/models/user.d.ts +0 -61
- package/dist/api/models/user.d.ts.map +0 -1
- package/dist/api/models/user.js +0 -23
- package/dist/api/models/user.js.map +0 -1
- package/dist/api/models/workspace-mutation-settings-validation.d.ts +0 -26
- package/dist/api/models/workspace-mutation-settings-validation.d.ts.map +0 -1
- package/dist/api/models/workspace-mutation-settings-validation.js +0 -16
- package/dist/api/models/workspace-mutation-settings-validation.js.map +0 -1
- package/dist/api/models/workspace-mutation-settings.d.ts +0 -60
- package/dist/api/models/workspace-mutation-settings.d.ts.map +0 -1
- package/dist/api/models/workspace-mutation-settings.js +0 -16
- package/dist/api/models/workspace-mutation-settings.js.map +0 -1
- package/dist/api/models/workspace-mutation.d.ts +0 -44
- package/dist/api/models/workspace-mutation.d.ts.map +0 -1
- package/dist/api/models/workspace-mutation.js +0 -16
- package/dist/api/models/workspace-mutation.js.map +0 -1
- package/dist/api/models/workspace-settings-validation.d.ts +0 -26
- package/dist/api/models/workspace-settings-validation.d.ts.map +0 -1
- package/dist/api/models/workspace-settings-validation.js +0 -16
- package/dist/api/models/workspace-settings-validation.js.map +0 -1
- package/dist/api/models/workspace-settings.d.ts +0 -60
- package/dist/api/models/workspace-settings.d.ts.map +0 -1
- package/dist/api/models/workspace-settings.js +0 -16
- package/dist/api/models/workspace-settings.js.map +0 -1
- package/dist/api/models/workspace.d.ts +0 -62
- package/dist/api/models/workspace.d.ts.map +0 -1
- package/dist/api/models/workspace.js +0 -16
- package/dist/api/models/workspace.js.map +0 -1
- package/dist/api-client.d.ts +0 -19
- package/dist/api-client.d.ts.map +0 -1
- package/dist/api-client.js +0 -43
- package/dist/api-client.js.map +0 -1
- package/dist/cli/handlers/command-handlers.d.ts +0 -29
- package/dist/cli/handlers/command-handlers.d.ts.map +0 -1
- package/dist/cli/handlers/command-handlers.js +0 -261
- package/dist/cli/handlers/command-handlers.js.map +0 -1
- package/dist/cli/handlers/engine-handlers.d.ts +0 -15
- package/dist/cli/handlers/engine-handlers.d.ts.map +0 -1
- package/dist/cli/handlers/engine-handlers.js +0 -174
- package/dist/cli/handlers/engine-handlers.js.map +0 -1
- package/dist/cli/interactive.d.ts +0 -15
- package/dist/cli/interactive.d.ts.map +0 -1
- package/dist/cli/interactive.js +0 -234
- package/dist/cli/interactive.js.map +0 -1
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -203
- package/dist/cli.js.map +0 -1
- package/dist/commands/export-v2.d.ts +0 -45
- package/dist/commands/export-v2.d.ts.map +0 -1
- package/dist/commands/export-v2.js +0 -369
- package/dist/commands/export-v2.js.map +0 -1
- package/dist/commands/export.d.ts +0 -15
- package/dist/commands/export.d.ts.map +0 -1
- package/dist/commands/export.js +0 -188
- package/dist/commands/export.js.map +0 -1
- package/dist/commands/import-v2.d.ts +0 -32
- package/dist/commands/import-v2.d.ts.map +0 -1
- package/dist/commands/import-v2.js +0 -331
- package/dist/commands/import-v2.js.map +0 -1
- package/dist/commands/import.d.ts +0 -32
- package/dist/commands/import.d.ts.map +0 -1
- package/dist/commands/import.js +0 -315
- package/dist/commands/import.js.map +0 -1
- package/dist/index.d.ts +0 -31
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -72
- package/dist/index.js.map +0 -1
- package/dist/plugins/alfresco/index.d.ts +0 -26
- package/dist/plugins/alfresco/index.d.ts.map +0 -1
- package/dist/plugins/alfresco/index.js +0 -405
- package/dist/plugins/alfresco/index.js.map +0 -1
- package/dist/plugins/alfresco/plugin.json +0 -12
- package/dist/plugins/aws-s3/index.d.ts +0 -23
- package/dist/plugins/aws-s3/index.d.ts.map +0 -1
- package/dist/plugins/aws-s3/index.js +0 -383
- package/dist/plugins/aws-s3/index.js.map +0 -1
- package/dist/plugins/aws-s3/plugin.json +0 -12
- package/dist/plugins/azure-blob/index.d.ts +0 -23
- package/dist/plugins/azure-blob/index.d.ts.map +0 -1
- package/dist/plugins/azure-blob/index.js +0 -340
- package/dist/plugins/azure-blob/index.js.map +0 -1
- package/dist/plugins/azure-blob/plugin.json +0 -12
- package/dist/plugins/box/index.d.ts +0 -26
- package/dist/plugins/box/index.d.ts.map +0 -1
- package/dist/plugins/box/index.js +0 -387
- package/dist/plugins/box/index.js.map +0 -1
- package/dist/plugins/box/plugin.json +0 -12
- package/dist/plugins/core/index.d.ts +0 -25
- package/dist/plugins/core/index.d.ts.map +0 -1
- package/dist/plugins/core/index.js +0 -400
- package/dist/plugins/core/index.js.map +0 -1
- package/dist/plugins/core/plugin.json +0 -26
- package/dist/plugins/dropbox/index.d.ts +0 -27
- package/dist/plugins/dropbox/index.d.ts.map +0 -1
- package/dist/plugins/dropbox/index.js +0 -375
- package/dist/plugins/dropbox/index.js.map +0 -1
- package/dist/plugins/dropbox/plugin.json +0 -12
- package/dist/plugins/filesystem/index.d.ts +0 -22
- package/dist/plugins/filesystem/index.d.ts.map +0 -1
- package/dist/plugins/filesystem/index.js +0 -306
- package/dist/plugins/filesystem/index.js.map +0 -1
- package/dist/plugins/filesystem/plugin.json +0 -12
- package/dist/plugins/googledrive/index.d.ts +0 -27
- package/dist/plugins/googledrive/index.d.ts.map +0 -1
- package/dist/plugins/googledrive/index.js +0 -383
- package/dist/plugins/googledrive/index.js.map +0 -1
- package/dist/plugins/googledrive/plugin.json +0 -12
- package/dist/plugins/nuxeo/index.d.ts +0 -24
- package/dist/plugins/nuxeo/index.d.ts.map +0 -1
- package/dist/plugins/nuxeo/index.js +0 -405
- package/dist/plugins/nuxeo/index.js.map +0 -1
- package/dist/plugins/nuxeo/plugin.json +0 -12
- package/dist/plugins/o365-mail/index.d.ts +0 -26
- package/dist/plugins/o365-mail/index.d.ts.map +0 -1
- package/dist/plugins/o365-mail/index.js +0 -392
- package/dist/plugins/o365-mail/index.js.map +0 -1
- package/dist/plugins/o365-mail/plugin.json +0 -8
- package/dist/plugins/onedrive/index.d.ts +0 -25
- package/dist/plugins/onedrive/index.d.ts.map +0 -1
- package/dist/plugins/onedrive/index.js +0 -362
- package/dist/plugins/onedrive/index.js.map +0 -1
- package/dist/plugins/onedrive/plugin.json +0 -12
- package/dist/plugins/opentext/index.d.ts +0 -26
- package/dist/plugins/opentext/index.d.ts.map +0 -1
- package/dist/plugins/opentext/index.js +0 -440
- package/dist/plugins/opentext/index.js.map +0 -1
- package/dist/plugins/opentext/plugin.json +0 -12
- package/dist/plugins/sharepoint/index.d.ts +0 -27
- package/dist/plugins/sharepoint/index.d.ts.map +0 -1
- package/dist/plugins/sharepoint/index.js +0 -397
- package/dist/plugins/sharepoint/index.js.map +0 -1
- package/dist/plugins/sharepoint/plugin.json +0 -12
- package/dist/services/chunked-uploader.d.ts +0 -83
- package/dist/services/chunked-uploader.d.ts.map +0 -1
- package/dist/services/chunked-uploader.js +0 -321
- package/dist/services/chunked-uploader.js.map +0 -1
- package/dist/services/hubdoc-api-v2.d.ts +0 -150
- package/dist/services/hubdoc-api-v2.d.ts.map +0 -1
- package/dist/services/hubdoc-api-v2.js +0 -418
- package/dist/services/hubdoc-api-v2.js.map +0 -1
- package/dist/services/hubdoc-api.d.ts +0 -43
- package/dist/services/hubdoc-api.d.ts.map +0 -1
- package/dist/services/hubdoc-api.js +0 -382
- package/dist/services/hubdoc-api.js.map +0 -1
- package/dist/services/hubdoc-client.d.ts +0 -246
- package/dist/services/hubdoc-client.d.ts.map +0 -1
- package/dist/services/hubdoc-client.js +0 -714
- package/dist/services/hubdoc-client.js.map +0 -1
- package/dist/services/hubdoc-export-service.d.ts +0 -90
- package/dist/services/hubdoc-export-service.d.ts.map +0 -1
- package/dist/services/hubdoc-export-service.js +0 -443
- package/dist/services/hubdoc-export-service.js.map +0 -1
- package/dist/services/hubdoc-export-v2.d.ts +0 -77
- package/dist/services/hubdoc-export-v2.d.ts.map +0 -1
- package/dist/services/hubdoc-export-v2.js +0 -329
- package/dist/services/hubdoc-export-v2.js.map +0 -1
- package/dist/services/hubdoc-export.d.ts +0 -17
- package/dist/services/hubdoc-export.d.ts.map +0 -1
- package/dist/services/hubdoc-export.js +0 -196
- package/dist/services/hubdoc-export.js.map +0 -1
- package/dist/services/hubdoc-import-service.d.ts +0 -64
- package/dist/services/hubdoc-import-service.d.ts.map +0 -1
- package/dist/services/hubdoc-import-service.js +0 -374
- package/dist/services/hubdoc-import-service.js.map +0 -1
- package/dist/services/oauth-token-service.d.ts +0 -74
- package/dist/services/oauth-token-service.d.ts.map +0 -1
- package/dist/services/oauth-token-service.js +0 -344
- package/dist/services/oauth-token-service.js.map +0 -1
- package/dist/services/permission-manager.d.ts +0 -42
- package/dist/services/permission-manager.d.ts.map +0 -1
- package/dist/services/permission-manager.js +0 -187
- package/dist/services/permission-manager.js.map +0 -1
- package/dist/services/plugin-import.d.ts +0 -64
- package/dist/services/plugin-import.d.ts.map +0 -1
- package/dist/services/plugin-import.js +0 -284
- package/dist/services/plugin-import.js.map +0 -1
- package/dist/services/plugin-manager.d.ts +0 -73
- package/dist/services/plugin-manager.d.ts.map +0 -1
- package/dist/services/plugin-manager.js +0 -306
- package/dist/services/plugin-manager.js.map +0 -1
- package/dist/src/types/plugins.d.ts +0 -111
- package/dist/src/types/plugins.d.ts.map +0 -1
- package/dist/src/types/plugins.js +0 -3
- package/dist/src/types/plugins.js.map +0 -1
- package/dist/src/utils/concurrent-processor.d.ts +0 -63
- package/dist/src/utils/concurrent-processor.d.ts.map +0 -1
- package/dist/src/utils/concurrent-processor.js +0 -240
- package/dist/src/utils/concurrent-processor.js.map +0 -1
- package/dist/src/utils/xml-metadata.d.ts +0 -47
- package/dist/src/utils/xml-metadata.d.ts.map +0 -1
- package/dist/src/utils/xml-metadata.js +0 -200
- package/dist/src/utils/xml-metadata.js.map +0 -1
- package/dist/test/hubdoc-api-test.d.ts +0 -8
- package/dist/test/hubdoc-api-test.d.ts.map +0 -1
- package/dist/test/hubdoc-api-test.js +0 -152
- package/dist/test/hubdoc-api-test.js.map +0 -1
- package/dist/types/export.d.ts +0 -44
- package/dist/types/export.d.ts.map +0 -1
- package/dist/types/export.js +0 -3
- package/dist/types/export.js.map +0 -1
- package/dist/types/index.d.ts +0 -77
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -3
- package/dist/types/index.js.map +0 -1
- package/dist/types/plugins.d.ts +0 -111
- package/dist/types/plugins.d.ts.map +0 -1
- package/dist/types/plugins.js +0 -3
- package/dist/types/plugins.js.map +0 -1
- package/dist/utils/concurrent-processor.d.ts +0 -63
- package/dist/utils/concurrent-processor.d.ts.map +0 -1
- package/dist/utils/concurrent-processor.js +0 -240
- package/dist/utils/concurrent-processor.js.map +0 -1
- package/dist/utils/config.d.ts +0 -40
- package/dist/utils/config.d.ts.map +0 -1
- package/dist/utils/config.js +0 -249
- package/dist/utils/config.js.map +0 -1
- package/dist/utils/csv.d.ts +0 -90
- package/dist/utils/csv.d.ts.map +0 -1
- package/dist/utils/csv.js +0 -564
- package/dist/utils/csv.js.map +0 -1
- package/dist/utils/export-csv.d.ts +0 -14
- package/dist/utils/export-csv.d.ts.map +0 -1
- package/dist/utils/export-csv.js +0 -129
- package/dist/utils/export-csv.js.map +0 -1
- package/dist/utils/operation-logger.d.ts +0 -110
- package/dist/utils/operation-logger.d.ts.map +0 -1
- package/dist/utils/operation-logger.js +0 -226
- package/dist/utils/operation-logger.js.map +0 -1
- package/dist/utils/xml-metadata-generator.d.ts +0 -50
- package/dist/utils/xml-metadata-generator.d.ts.map +0 -1
- package/dist/utils/xml-metadata-generator.js +0 -162
- package/dist/utils/xml-metadata-generator.js.map +0 -1
- package/dist/utils/xml-metadata.d.ts +0 -47
- package/dist/utils/xml-metadata.d.ts.map +0 -1
- package/dist/utils/xml-metadata.js +0 -200
- package/dist/utils/xml-metadata.js.map +0 -1
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hubdoc API
|
|
3
|
-
* API documentation for Hubdoc
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: support@sinoia.fr
|
|
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, BaseAPI } from '../base';
|
|
15
|
-
import type { Workspace } from '../models';
|
|
16
|
-
import type { WorkspaceMutation } from '../models';
|
|
17
|
-
/**
|
|
18
|
-
* WorkspacesApi - axios parameter creator
|
|
19
|
-
*/
|
|
20
|
-
export declare const WorkspacesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
-
/**
|
|
22
|
-
* Récupérer la liste de tous les espaces de travail
|
|
23
|
-
* @summary Lister les espaces de travail
|
|
24
|
-
* @param {*} [options] Override http request option.
|
|
25
|
-
* @throws {RequiredError}
|
|
26
|
-
*/
|
|
27
|
-
apiV1DocumentsWorkspacesGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
-
/**
|
|
29
|
-
* Supprimer un espace de travail existant
|
|
30
|
-
* @summary Supprimer un espace de travail
|
|
31
|
-
* @param {string} id Identifiant de la ressource
|
|
32
|
-
* @param {*} [options] Override http request option.
|
|
33
|
-
* @throws {RequiredError}
|
|
34
|
-
*/
|
|
35
|
-
apiV1DocumentsWorkspacesIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
-
/**
|
|
37
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
38
|
-
* @summary Récupérer un espace de travail
|
|
39
|
-
* @param {string} id Identifiant de la ressource
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
*/
|
|
43
|
-
apiV1DocumentsWorkspacesIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
-
/**
|
|
45
|
-
* Mettre à jour un espace de travail existant
|
|
46
|
-
* @summary Mettre à jour un espace de travail
|
|
47
|
-
* @param {string} id Identifiant de la ressource
|
|
48
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
49
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
apiV1DocumentsWorkspacesIdPatch: (id: string, contentType: ApiV1DocumentsWorkspacesIdPatchContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
-
/**
|
|
55
|
-
* Créer un nouvel espace de travail
|
|
56
|
-
* @summary Créer un espace de travail
|
|
57
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
58
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
59
|
-
* @param {*} [options] Override http request option.
|
|
60
|
-
* @throws {RequiredError}
|
|
61
|
-
*/
|
|
62
|
-
apiV1DocumentsWorkspacesPost: (contentType: ApiV1DocumentsWorkspacesPostContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* WorkspacesApi - functional programming interface
|
|
66
|
-
*/
|
|
67
|
-
export declare const WorkspacesApiFp: (configuration?: Configuration) => {
|
|
68
|
-
/**
|
|
69
|
-
* Récupérer la liste de tous les espaces de travail
|
|
70
|
-
* @summary Lister les espaces de travail
|
|
71
|
-
* @param {*} [options] Override http request option.
|
|
72
|
-
* @throws {RequiredError}
|
|
73
|
-
*/
|
|
74
|
-
apiV1DocumentsWorkspacesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Workspace>>>;
|
|
75
|
-
/**
|
|
76
|
-
* Supprimer un espace de travail existant
|
|
77
|
-
* @summary Supprimer un espace de travail
|
|
78
|
-
* @param {string} id Identifiant de la ressource
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
apiV1DocumentsWorkspacesIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
83
|
-
/**
|
|
84
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
85
|
-
* @summary Récupérer un espace de travail
|
|
86
|
-
* @param {string} id Identifiant de la ressource
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
*/
|
|
90
|
-
apiV1DocumentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
91
|
-
/**
|
|
92
|
-
* Mettre à jour un espace de travail existant
|
|
93
|
-
* @summary Mettre à jour un espace de travail
|
|
94
|
-
* @param {string} id Identifiant de la ressource
|
|
95
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
96
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
apiV1DocumentsWorkspacesIdPatch(id: string, contentType: ApiV1DocumentsWorkspacesIdPatchContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
101
|
-
/**
|
|
102
|
-
* Créer un nouvel espace de travail
|
|
103
|
-
* @summary Créer un espace de travail
|
|
104
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
105
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
106
|
-
* @param {*} [options] Override http request option.
|
|
107
|
-
* @throws {RequiredError}
|
|
108
|
-
*/
|
|
109
|
-
apiV1DocumentsWorkspacesPost(contentType: ApiV1DocumentsWorkspacesPostContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* WorkspacesApi - factory interface
|
|
113
|
-
*/
|
|
114
|
-
export declare const WorkspacesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
115
|
-
/**
|
|
116
|
-
* Récupérer la liste de tous les espaces de travail
|
|
117
|
-
* @summary Lister les espaces de travail
|
|
118
|
-
* @param {*} [options] Override http request option.
|
|
119
|
-
* @throws {RequiredError}
|
|
120
|
-
*/
|
|
121
|
-
apiV1DocumentsWorkspacesGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<Workspace>>;
|
|
122
|
-
/**
|
|
123
|
-
* Supprimer un espace de travail existant
|
|
124
|
-
* @summary Supprimer un espace de travail
|
|
125
|
-
* @param {string} id Identifiant de la ressource
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
*/
|
|
129
|
-
apiV1DocumentsWorkspacesIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
132
|
-
* @summary Récupérer un espace de travail
|
|
133
|
-
* @param {string} id Identifiant de la ressource
|
|
134
|
-
* @param {*} [options] Override http request option.
|
|
135
|
-
* @throws {RequiredError}
|
|
136
|
-
*/
|
|
137
|
-
apiV1DocumentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
138
|
-
/**
|
|
139
|
-
* Mettre à jour un espace de travail existant
|
|
140
|
-
* @summary Mettre à jour un espace de travail
|
|
141
|
-
* @param {string} id Identifiant de la ressource
|
|
142
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
143
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
144
|
-
* @param {*} [options] Override http request option.
|
|
145
|
-
* @throws {RequiredError}
|
|
146
|
-
*/
|
|
147
|
-
apiV1DocumentsWorkspacesIdPatch(id: string, contentType: ApiV1DocumentsWorkspacesIdPatchContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
148
|
-
/**
|
|
149
|
-
* Créer un nouvel espace de travail
|
|
150
|
-
* @summary Créer un espace de travail
|
|
151
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
152
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
153
|
-
* @param {*} [options] Override http request option.
|
|
154
|
-
* @throws {RequiredError}
|
|
155
|
-
*/
|
|
156
|
-
apiV1DocumentsWorkspacesPost(contentType: ApiV1DocumentsWorkspacesPostContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* WorkspacesApi - object-oriented interface
|
|
160
|
-
*/
|
|
161
|
-
export declare class WorkspacesApi extends BaseAPI {
|
|
162
|
-
/**
|
|
163
|
-
* Récupérer la liste de tous les espaces de travail
|
|
164
|
-
* @summary Lister les espaces de travail
|
|
165
|
-
* @param {*} [options] Override http request option.
|
|
166
|
-
* @throws {RequiredError}
|
|
167
|
-
*/
|
|
168
|
-
apiV1DocumentsWorkspacesGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace[], any, {}>>;
|
|
169
|
-
/**
|
|
170
|
-
* Supprimer un espace de travail existant
|
|
171
|
-
* @summary Supprimer un espace de travail
|
|
172
|
-
* @param {string} id Identifiant de la ressource
|
|
173
|
-
* @param {*} [options] Override http request option.
|
|
174
|
-
* @throws {RequiredError}
|
|
175
|
-
*/
|
|
176
|
-
apiV1DocumentsWorkspacesIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
177
|
-
/**
|
|
178
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
179
|
-
* @summary Récupérer un espace de travail
|
|
180
|
-
* @param {string} id Identifiant de la ressource
|
|
181
|
-
* @param {*} [options] Override http request option.
|
|
182
|
-
* @throws {RequiredError}
|
|
183
|
-
*/
|
|
184
|
-
apiV1DocumentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any, {}>>;
|
|
185
|
-
/**
|
|
186
|
-
* Mettre à jour un espace de travail existant
|
|
187
|
-
* @summary Mettre à jour un espace de travail
|
|
188
|
-
* @param {string} id Identifiant de la ressource
|
|
189
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
190
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
191
|
-
* @param {*} [options] Override http request option.
|
|
192
|
-
* @throws {RequiredError}
|
|
193
|
-
*/
|
|
194
|
-
apiV1DocumentsWorkspacesIdPatch(id: string, contentType: ApiV1DocumentsWorkspacesIdPatchContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any, {}>>;
|
|
195
|
-
/**
|
|
196
|
-
* Créer un nouvel espace de travail
|
|
197
|
-
* @summary Créer un espace de travail
|
|
198
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
199
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
200
|
-
* @param {*} [options] Override http request option.
|
|
201
|
-
* @throws {RequiredError}
|
|
202
|
-
*/
|
|
203
|
-
apiV1DocumentsWorkspacesPost(contentType: ApiV1DocumentsWorkspacesPostContentTypeEnum, workspaceMutation: WorkspaceMutation, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any, {}>>;
|
|
204
|
-
}
|
|
205
|
-
export declare const ApiV1DocumentsWorkspacesIdPatchContentTypeEnum: {
|
|
206
|
-
readonly ApplicationJson: "application/json";
|
|
207
|
-
};
|
|
208
|
-
export type ApiV1DocumentsWorkspacesIdPatchContentTypeEnum = typeof ApiV1DocumentsWorkspacesIdPatchContentTypeEnum[keyof typeof ApiV1DocumentsWorkspacesIdPatchContentTypeEnum];
|
|
209
|
-
export declare const ApiV1DocumentsWorkspacesPostContentTypeEnum: {
|
|
210
|
-
readonly ApplicationJson: "application/json";
|
|
211
|
-
};
|
|
212
|
-
export type ApiV1DocumentsWorkspacesPostContentTypeEnum = typeof ApiV1DocumentsWorkspacesPostContentTypeEnum[keyof typeof ApiV1DocumentsWorkspacesPostContentTypeEnum];
|
|
213
|
-
//# sourceMappingURL=workspaces-api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces-api.d.ts","sourceRoot":"","sources":["../../../src/api/api/workspaces-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAEtH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD;;GAEG;AACH,eAAO,MAAM,8BAA8B,GAAa,gBAAgB,aAAa;IAE7E;;;;;OAKG;4CAC0C,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAgC9F;;;;;;OAMG;2CAC0C,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAmC/G;;;;;;OAMG;wCACuC,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAmC5G;;;;;;;;OAQG;0CACyC,MAAM,eAAe,8CAA8C,qBAAqB,iBAAiB,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA6CjN;;;;;;;OAOG;gDAC+C,2CAA2C,qBAAqB,iBAAiB,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;CA2CtM,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAY,gBAAgB,aAAa;IAG7D;;;;;OAKG;0CACyC,qBAAqB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IAMzJ;;;;;;OAMG;yCACwC,MAAM,YAAY,qBAAqB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IAM9J;;;;;;OAMG;sCACqC,MAAM,YAAY,qBAAqB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,SAAS,CAAC,CAAC;IAMhK;;;;;;;;OAQG;wCACuC,MAAM,eAAe,8CAA8C,qBAAqB,iBAAiB,YAAY,qBAAqB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,SAAS,CAAC,CAAC;IAMrQ;;;;;;;OAOG;8CAC6C,2CAA2C,qBAAqB,iBAAiB,YAAY,qBAAqB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,SAAS,CAAC,CAAC;CAO1P,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAa,gBAAgB,aAAa,EAAE,WAAW,MAAM,EAAE,QAAQ,aAAa;IAG7G;;;;;OAKG;0CACmC,qBAAqB,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAG5F;;;;;;OAMG;yCACkC,MAAM,YAAY,qBAAqB,GAAG,YAAY,CAAC,IAAI,CAAC;IAGjG;;;;;;OAMG;sCAC+B,MAAM,YAAY,qBAAqB,GAAG,YAAY,CAAC,SAAS,CAAC;IAGnG;;;;;;;;OAQG;wCACiC,MAAM,eAAe,8CAA8C,qBAAqB,iBAAiB,YAAY,qBAAqB,GAAG,YAAY,CAAC,SAAS,CAAC;IAGxM;;;;;;;OAOG;8CACuC,2CAA2C,qBAAqB,iBAAiB,YAAY,qBAAqB,GAAG,YAAY,CAAC,SAAS,CAAC;CAI7L,CAAC;AAEF;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAO;IACtC;;;;;OAKG;IACI,2BAA2B,CAAC,OAAO,CAAC,EAAE,qBAAqB;IAIlE;;;;;;OAMG;IACI,gCAAgC,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAInF;;;;;;OAMG;IACI,6BAA6B,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIhF;;;;;;;;OAQG;IACI,+BAA+B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,8CAA8C,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIrL;;;;;;;OAOG;IACI,4BAA4B,CAAC,WAAW,EAAE,2CAA2C,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGtK;AAED,eAAO,MAAM,8CAA8C;;CAEjD,CAAC;AACX,MAAM,MAAM,8CAA8C,GAAG,OAAO,8CAA8C,CAAC,MAAM,OAAO,8CAA8C,CAAC,CAAC;AAChL,eAAO,MAAM,2CAA2C;;CAE9C,CAAC;AACX,MAAM,MAAM,2CAA2C,GAAG,OAAO,2CAA2C,CAAC,MAAM,OAAO,2CAA2C,CAAC,CAAC"}
|
|
@@ -1,424 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Hubdoc API
|
|
6
|
-
* API documentation for Hubdoc
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: support@sinoia.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.ApiV1DocumentsWorkspacesPostContentTypeEnum = exports.ApiV1DocumentsWorkspacesIdPatchContentTypeEnum = exports.WorkspacesApi = exports.WorkspacesApiFactory = exports.WorkspacesApiFp = exports.WorkspacesApiAxiosParamCreator = void 0;
|
|
20
|
-
const axios_1 = __importDefault(require("axios"));
|
|
21
|
-
// Some imports not used depending on template conditions
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
const common_1 = require("../common");
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
const base_1 = require("../base");
|
|
26
|
-
/**
|
|
27
|
-
* WorkspacesApi - axios parameter creator
|
|
28
|
-
*/
|
|
29
|
-
const WorkspacesApiAxiosParamCreator = function (configuration) {
|
|
30
|
-
return {
|
|
31
|
-
/**
|
|
32
|
-
* Récupérer la liste de tous les espaces de travail
|
|
33
|
-
* @summary Lister les espaces de travail
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
*/
|
|
37
|
-
apiV1DocumentsWorkspacesGet: async (options = {}) => {
|
|
38
|
-
const localVarPath = `/api/v1/documents/workspaces`;
|
|
39
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41
|
-
let baseOptions;
|
|
42
|
-
if (configuration) {
|
|
43
|
-
baseOptions = configuration.baseOptions;
|
|
44
|
-
}
|
|
45
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
46
|
-
const localVarHeaderParameter = {};
|
|
47
|
-
const localVarQueryParameter = {};
|
|
48
|
-
// authentication OAuth2Password required
|
|
49
|
-
// oauth required
|
|
50
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
51
|
-
// authentication OAuth2AuthCode required
|
|
52
|
-
// oauth required
|
|
53
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
54
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
57
|
-
return {
|
|
58
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
59
|
-
options: localVarRequestOptions,
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* Supprimer un espace de travail existant
|
|
64
|
-
* @summary Supprimer un espace de travail
|
|
65
|
-
* @param {string} id Identifiant de la ressource
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
*/
|
|
69
|
-
apiV1DocumentsWorkspacesIdDelete: async (id, options = {}) => {
|
|
70
|
-
// verify required parameter 'id' is not null or undefined
|
|
71
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesIdDelete', 'id', id);
|
|
72
|
-
const localVarPath = `/api/v1/documents/workspaces/{id}`
|
|
73
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
74
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
76
|
-
let baseOptions;
|
|
77
|
-
if (configuration) {
|
|
78
|
-
baseOptions = configuration.baseOptions;
|
|
79
|
-
}
|
|
80
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
81
|
-
const localVarHeaderParameter = {};
|
|
82
|
-
const localVarQueryParameter = {};
|
|
83
|
-
// authentication OAuth2Password required
|
|
84
|
-
// oauth required
|
|
85
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
86
|
-
// authentication OAuth2AuthCode required
|
|
87
|
-
// oauth required
|
|
88
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
89
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
90
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
92
|
-
return {
|
|
93
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
94
|
-
options: localVarRequestOptions,
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
/**
|
|
98
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
99
|
-
* @summary Récupérer un espace de travail
|
|
100
|
-
* @param {string} id Identifiant de la ressource
|
|
101
|
-
* @param {*} [options] Override http request option.
|
|
102
|
-
* @throws {RequiredError}
|
|
103
|
-
*/
|
|
104
|
-
apiV1DocumentsWorkspacesIdGet: async (id, options = {}) => {
|
|
105
|
-
// verify required parameter 'id' is not null or undefined
|
|
106
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesIdGet', 'id', id);
|
|
107
|
-
const localVarPath = `/api/v1/documents/workspaces/{id}`
|
|
108
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
109
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
111
|
-
let baseOptions;
|
|
112
|
-
if (configuration) {
|
|
113
|
-
baseOptions = configuration.baseOptions;
|
|
114
|
-
}
|
|
115
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
116
|
-
const localVarHeaderParameter = {};
|
|
117
|
-
const localVarQueryParameter = {};
|
|
118
|
-
// authentication OAuth2Password required
|
|
119
|
-
// oauth required
|
|
120
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
121
|
-
// authentication OAuth2AuthCode required
|
|
122
|
-
// oauth required
|
|
123
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
124
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
125
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
127
|
-
return {
|
|
128
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
129
|
-
options: localVarRequestOptions,
|
|
130
|
-
};
|
|
131
|
-
},
|
|
132
|
-
/**
|
|
133
|
-
* Mettre à jour un espace de travail existant
|
|
134
|
-
* @summary Mettre à jour un espace de travail
|
|
135
|
-
* @param {string} id Identifiant de la ressource
|
|
136
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
137
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
138
|
-
* @param {*} [options] Override http request option.
|
|
139
|
-
* @throws {RequiredError}
|
|
140
|
-
*/
|
|
141
|
-
apiV1DocumentsWorkspacesIdPatch: async (id, contentType, workspaceMutation, options = {}) => {
|
|
142
|
-
// verify required parameter 'id' is not null or undefined
|
|
143
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesIdPatch', 'id', id);
|
|
144
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
145
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesIdPatch', 'contentType', contentType);
|
|
146
|
-
// verify required parameter 'workspaceMutation' is not null or undefined
|
|
147
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesIdPatch', 'workspaceMutation', workspaceMutation);
|
|
148
|
-
const localVarPath = `/api/v1/documents/workspaces/{id}`
|
|
149
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
150
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
152
|
-
let baseOptions;
|
|
153
|
-
if (configuration) {
|
|
154
|
-
baseOptions = configuration.baseOptions;
|
|
155
|
-
}
|
|
156
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
157
|
-
const localVarHeaderParameter = {};
|
|
158
|
-
const localVarQueryParameter = {};
|
|
159
|
-
// authentication OAuth2Password required
|
|
160
|
-
// oauth required
|
|
161
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
162
|
-
// authentication OAuth2AuthCode required
|
|
163
|
-
// oauth required
|
|
164
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
165
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
166
|
-
if (contentType != null) {
|
|
167
|
-
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
168
|
-
}
|
|
169
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
170
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
172
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workspaceMutation, localVarRequestOptions, configuration);
|
|
173
|
-
return {
|
|
174
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
175
|
-
options: localVarRequestOptions,
|
|
176
|
-
};
|
|
177
|
-
},
|
|
178
|
-
/**
|
|
179
|
-
* Créer un nouvel espace de travail
|
|
180
|
-
* @summary Créer un espace de travail
|
|
181
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
182
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
183
|
-
* @param {*} [options] Override http request option.
|
|
184
|
-
* @throws {RequiredError}
|
|
185
|
-
*/
|
|
186
|
-
apiV1DocumentsWorkspacesPost: async (contentType, workspaceMutation, options = {}) => {
|
|
187
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
188
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesPost', 'contentType', contentType);
|
|
189
|
-
// verify required parameter 'workspaceMutation' is not null or undefined
|
|
190
|
-
(0, common_1.assertParamExists)('apiV1DocumentsWorkspacesPost', 'workspaceMutation', workspaceMutation);
|
|
191
|
-
const localVarPath = `/api/v1/documents/workspaces`;
|
|
192
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
194
|
-
let baseOptions;
|
|
195
|
-
if (configuration) {
|
|
196
|
-
baseOptions = configuration.baseOptions;
|
|
197
|
-
}
|
|
198
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
199
|
-
const localVarHeaderParameter = {};
|
|
200
|
-
const localVarQueryParameter = {};
|
|
201
|
-
// authentication OAuth2Password required
|
|
202
|
-
// oauth required
|
|
203
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
204
|
-
// authentication OAuth2AuthCode required
|
|
205
|
-
// oauth required
|
|
206
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
207
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
208
|
-
if (contentType != null) {
|
|
209
|
-
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
210
|
-
}
|
|
211
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
212
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
213
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
214
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workspaceMutation, localVarRequestOptions, configuration);
|
|
215
|
-
return {
|
|
216
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
217
|
-
options: localVarRequestOptions,
|
|
218
|
-
};
|
|
219
|
-
},
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
exports.WorkspacesApiAxiosParamCreator = WorkspacesApiAxiosParamCreator;
|
|
223
|
-
/**
|
|
224
|
-
* WorkspacesApi - functional programming interface
|
|
225
|
-
*/
|
|
226
|
-
const WorkspacesApiFp = function (configuration) {
|
|
227
|
-
const localVarAxiosParamCreator = (0, exports.WorkspacesApiAxiosParamCreator)(configuration);
|
|
228
|
-
return {
|
|
229
|
-
/**
|
|
230
|
-
* Récupérer la liste de tous les espaces de travail
|
|
231
|
-
* @summary Lister les espaces de travail
|
|
232
|
-
* @param {*} [options] Override http request option.
|
|
233
|
-
* @throws {RequiredError}
|
|
234
|
-
*/
|
|
235
|
-
async apiV1DocumentsWorkspacesGet(options) {
|
|
236
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DocumentsWorkspacesGet(options);
|
|
237
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
238
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspacesApi.apiV1DocumentsWorkspacesGet']?.[localVarOperationServerIndex]?.url;
|
|
239
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
240
|
-
},
|
|
241
|
-
/**
|
|
242
|
-
* Supprimer un espace de travail existant
|
|
243
|
-
* @summary Supprimer un espace de travail
|
|
244
|
-
* @param {string} id Identifiant de la ressource
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
*/
|
|
248
|
-
async apiV1DocumentsWorkspacesIdDelete(id, options) {
|
|
249
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DocumentsWorkspacesIdDelete(id, options);
|
|
250
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
251
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspacesApi.apiV1DocumentsWorkspacesIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
252
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
256
|
-
* @summary Récupérer un espace de travail
|
|
257
|
-
* @param {string} id Identifiant de la ressource
|
|
258
|
-
* @param {*} [options] Override http request option.
|
|
259
|
-
* @throws {RequiredError}
|
|
260
|
-
*/
|
|
261
|
-
async apiV1DocumentsWorkspacesIdGet(id, options) {
|
|
262
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DocumentsWorkspacesIdGet(id, options);
|
|
263
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
264
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspacesApi.apiV1DocumentsWorkspacesIdGet']?.[localVarOperationServerIndex]?.url;
|
|
265
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
266
|
-
},
|
|
267
|
-
/**
|
|
268
|
-
* Mettre à jour un espace de travail existant
|
|
269
|
-
* @summary Mettre à jour un espace de travail
|
|
270
|
-
* @param {string} id Identifiant de la ressource
|
|
271
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
272
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
273
|
-
* @param {*} [options] Override http request option.
|
|
274
|
-
* @throws {RequiredError}
|
|
275
|
-
*/
|
|
276
|
-
async apiV1DocumentsWorkspacesIdPatch(id, contentType, workspaceMutation, options) {
|
|
277
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DocumentsWorkspacesIdPatch(id, contentType, workspaceMutation, options);
|
|
278
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
279
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspacesApi.apiV1DocumentsWorkspacesIdPatch']?.[localVarOperationServerIndex]?.url;
|
|
280
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
281
|
-
},
|
|
282
|
-
/**
|
|
283
|
-
* Créer un nouvel espace de travail
|
|
284
|
-
* @summary Créer un espace de travail
|
|
285
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
286
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
287
|
-
* @param {*} [options] Override http request option.
|
|
288
|
-
* @throws {RequiredError}
|
|
289
|
-
*/
|
|
290
|
-
async apiV1DocumentsWorkspacesPost(contentType, workspaceMutation, options) {
|
|
291
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DocumentsWorkspacesPost(contentType, workspaceMutation, options);
|
|
292
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
293
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspacesApi.apiV1DocumentsWorkspacesPost']?.[localVarOperationServerIndex]?.url;
|
|
294
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
295
|
-
},
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
exports.WorkspacesApiFp = WorkspacesApiFp;
|
|
299
|
-
/**
|
|
300
|
-
* WorkspacesApi - factory interface
|
|
301
|
-
*/
|
|
302
|
-
const WorkspacesApiFactory = function (configuration, basePath, axios) {
|
|
303
|
-
const localVarFp = (0, exports.WorkspacesApiFp)(configuration);
|
|
304
|
-
return {
|
|
305
|
-
/**
|
|
306
|
-
* Récupérer la liste de tous les espaces de travail
|
|
307
|
-
* @summary Lister les espaces de travail
|
|
308
|
-
* @param {*} [options] Override http request option.
|
|
309
|
-
* @throws {RequiredError}
|
|
310
|
-
*/
|
|
311
|
-
apiV1DocumentsWorkspacesGet(options) {
|
|
312
|
-
return localVarFp.apiV1DocumentsWorkspacesGet(options).then((request) => request(axios, basePath));
|
|
313
|
-
},
|
|
314
|
-
/**
|
|
315
|
-
* Supprimer un espace de travail existant
|
|
316
|
-
* @summary Supprimer un espace de travail
|
|
317
|
-
* @param {string} id Identifiant de la ressource
|
|
318
|
-
* @param {*} [options] Override http request option.
|
|
319
|
-
* @throws {RequiredError}
|
|
320
|
-
*/
|
|
321
|
-
apiV1DocumentsWorkspacesIdDelete(id, options) {
|
|
322
|
-
return localVarFp.apiV1DocumentsWorkspacesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
323
|
-
},
|
|
324
|
-
/**
|
|
325
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
326
|
-
* @summary Récupérer un espace de travail
|
|
327
|
-
* @param {string} id Identifiant de la ressource
|
|
328
|
-
* @param {*} [options] Override http request option.
|
|
329
|
-
* @throws {RequiredError}
|
|
330
|
-
*/
|
|
331
|
-
apiV1DocumentsWorkspacesIdGet(id, options) {
|
|
332
|
-
return localVarFp.apiV1DocumentsWorkspacesIdGet(id, options).then((request) => request(axios, basePath));
|
|
333
|
-
},
|
|
334
|
-
/**
|
|
335
|
-
* Mettre à jour un espace de travail existant
|
|
336
|
-
* @summary Mettre à jour un espace de travail
|
|
337
|
-
* @param {string} id Identifiant de la ressource
|
|
338
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
339
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
340
|
-
* @param {*} [options] Override http request option.
|
|
341
|
-
* @throws {RequiredError}
|
|
342
|
-
*/
|
|
343
|
-
apiV1DocumentsWorkspacesIdPatch(id, contentType, workspaceMutation, options) {
|
|
344
|
-
return localVarFp.apiV1DocumentsWorkspacesIdPatch(id, contentType, workspaceMutation, options).then((request) => request(axios, basePath));
|
|
345
|
-
},
|
|
346
|
-
/**
|
|
347
|
-
* Créer un nouvel espace de travail
|
|
348
|
-
* @summary Créer un espace de travail
|
|
349
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
350
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
351
|
-
* @param {*} [options] Override http request option.
|
|
352
|
-
* @throws {RequiredError}
|
|
353
|
-
*/
|
|
354
|
-
apiV1DocumentsWorkspacesPost(contentType, workspaceMutation, options) {
|
|
355
|
-
return localVarFp.apiV1DocumentsWorkspacesPost(contentType, workspaceMutation, options).then((request) => request(axios, basePath));
|
|
356
|
-
},
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
exports.WorkspacesApiFactory = WorkspacesApiFactory;
|
|
360
|
-
/**
|
|
361
|
-
* WorkspacesApi - object-oriented interface
|
|
362
|
-
*/
|
|
363
|
-
class WorkspacesApi extends base_1.BaseAPI {
|
|
364
|
-
/**
|
|
365
|
-
* Récupérer la liste de tous les espaces de travail
|
|
366
|
-
* @summary Lister les espaces de travail
|
|
367
|
-
* @param {*} [options] Override http request option.
|
|
368
|
-
* @throws {RequiredError}
|
|
369
|
-
*/
|
|
370
|
-
apiV1DocumentsWorkspacesGet(options) {
|
|
371
|
-
return (0, exports.WorkspacesApiFp)(this.configuration).apiV1DocumentsWorkspacesGet(options).then((request) => request(this.axios, this.basePath));
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Supprimer un espace de travail existant
|
|
375
|
-
* @summary Supprimer un espace de travail
|
|
376
|
-
* @param {string} id Identifiant de la ressource
|
|
377
|
-
* @param {*} [options] Override http request option.
|
|
378
|
-
* @throws {RequiredError}
|
|
379
|
-
*/
|
|
380
|
-
apiV1DocumentsWorkspacesIdDelete(id, options) {
|
|
381
|
-
return (0, exports.WorkspacesApiFp)(this.configuration).apiV1DocumentsWorkspacesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Récupérer un espace de travail spécifique par identifiant
|
|
385
|
-
* @summary Récupérer un espace de travail
|
|
386
|
-
* @param {string} id Identifiant de la ressource
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
*/
|
|
390
|
-
apiV1DocumentsWorkspacesIdGet(id, options) {
|
|
391
|
-
return (0, exports.WorkspacesApiFp)(this.configuration).apiV1DocumentsWorkspacesIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* Mettre à jour un espace de travail existant
|
|
395
|
-
* @summary Mettre à jour un espace de travail
|
|
396
|
-
* @param {string} id Identifiant de la ressource
|
|
397
|
-
* @param {ApiV1DocumentsWorkspacesIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
398
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
399
|
-
* @param {*} [options] Override http request option.
|
|
400
|
-
* @throws {RequiredError}
|
|
401
|
-
*/
|
|
402
|
-
apiV1DocumentsWorkspacesIdPatch(id, contentType, workspaceMutation, options) {
|
|
403
|
-
return (0, exports.WorkspacesApiFp)(this.configuration).apiV1DocumentsWorkspacesIdPatch(id, contentType, workspaceMutation, options).then((request) => request(this.axios, this.basePath));
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* Créer un nouvel espace de travail
|
|
407
|
-
* @summary Créer un espace de travail
|
|
408
|
-
* @param {ApiV1DocumentsWorkspacesPostContentTypeEnum} contentType Type de contenu de la requête
|
|
409
|
-
* @param {WorkspaceMutation} workspaceMutation
|
|
410
|
-
* @param {*} [options] Override http request option.
|
|
411
|
-
* @throws {RequiredError}
|
|
412
|
-
*/
|
|
413
|
-
apiV1DocumentsWorkspacesPost(contentType, workspaceMutation, options) {
|
|
414
|
-
return (0, exports.WorkspacesApiFp)(this.configuration).apiV1DocumentsWorkspacesPost(contentType, workspaceMutation, options).then((request) => request(this.axios, this.basePath));
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
exports.WorkspacesApi = WorkspacesApi;
|
|
418
|
-
exports.ApiV1DocumentsWorkspacesIdPatchContentTypeEnum = {
|
|
419
|
-
ApplicationJson: 'application/json'
|
|
420
|
-
};
|
|
421
|
-
exports.ApiV1DocumentsWorkspacesPostContentTypeEnum = {
|
|
422
|
-
ApplicationJson: 'application/json'
|
|
423
|
-
};
|
|
424
|
-
//# sourceMappingURL=workspaces-api.js.map
|