@sinoia/hubdoc-tools 1.0.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -34
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.d.ts +15 -0
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.d.ts.map +1 -0
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.js +37 -0
- package/dist/__tests__/fixtures/plugins/connection-plugin/index.js.map +1 -0
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.d.ts +15 -0
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.d.ts.map +1 -0
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.js +54 -0
- package/dist/__tests__/fixtures/plugins/scan-plugin/index.js.map +1 -0
- package/dist/__tests__/fixtures/plugins/test-plugin/index.d.ts +15 -0
- package/dist/__tests__/fixtures/plugins/test-plugin/index.d.ts.map +1 -0
- package/dist/__tests__/fixtures/plugins/test-plugin/index.js +34 -0
- package/dist/__tests__/fixtures/plugins/test-plugin/index.js.map +1 -0
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.d.ts +16 -0
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.d.ts.map +1 -0
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.js +145 -0
- package/dist/__tests__/fixtures/plugins/workflow-plugin/index.js.map +1 -0
- package/dist/api/api/authentication-api.d.ts +208 -0
- package/dist/api/api/authentication-api.d.ts.map +1 -0
- package/dist/api/api/authentication-api.js +385 -0
- package/dist/api/api/authentication-api.js.map +1 -0
- package/dist/api/api/bulk-uploads-api.d.ts +101 -0
- package/dist/api/api/bulk-uploads-api.d.ts.map +1 -0
- package/dist/api/api/bulk-uploads-api.js +195 -0
- package/dist/api/api/bulk-uploads-api.js.map +1 -0
- package/dist/api/api/contacts-api.d.ts +246 -0
- package/dist/api/api/contacts-api.d.ts.map +1 -0
- package/dist/api/api/contacts-api.js +465 -0
- package/dist/api/api/contacts-api.js.map +1 -0
- package/dist/api/api/documents-api.d.ts +267 -0
- package/dist/api/api/documents-api.d.ts.map +1 -0
- package/dist/api/api/documents-api.js +506 -0
- package/dist/api/api/documents-api.js.map +1 -0
- package/dist/api/api/folders-api.d.ts +255 -0
- package/dist/api/api/folders-api.d.ts.map +1 -0
- package/dist/api/api/folders-api.js +479 -0
- package/dist/api/api/folders-api.js.map +1 -0
- package/dist/api/api/groups-api.d.ts +246 -0
- package/dist/api/api/groups-api.d.ts.map +1 -0
- package/dist/api/api/groups-api.js +465 -0
- package/dist/api/api/groups-api.js.map +1 -0
- package/dist/api/api/permissions-api.d.ts +246 -0
- package/dist/api/api/permissions-api.d.ts.map +1 -0
- package/dist/api/api/permissions-api.js +465 -0
- package/dist/api/api/permissions-api.js.map +1 -0
- package/dist/api/api/workspaces-api.d.ts +213 -0
- package/dist/api/api/workspaces-api.d.ts.map +1 -0
- package/dist/api/api/workspaces-api.js +424 -0
- package/dist/api/api/workspaces-api.js.map +1 -0
- package/dist/api/api.d.ts +20 -0
- package/dist/api/api.d.ts.map +1 -0
- package/dist/api/api.js +38 -0
- package/dist/api/api.js.map +1 -0
- package/dist/api/base.d.ts +43 -0
- package/dist/api/base.d.ts.map +1 -0
- package/dist/api/base.js +49 -0
- package/dist/api/base.js.map +1 -0
- package/dist/api/common.d.ts +29 -0
- package/dist/api/common.d.ts.map +1 -0
- package/dist/api/common.js +109 -0
- package/dist/api/common.js.map +1 -0
- package/dist/api/configuration.d.ts +99 -0
- package/dist/api/configuration.d.ts.map +1 -0
- package/dist/api/configuration.js +49 -0
- package/dist/api/configuration.js.map +1 -0
- package/dist/api/index.d.ts +15 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +33 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/models/api-v1-documents-documents-post-request1.d.ts +34 -0
- package/dist/api/models/api-v1-documents-documents-post-request1.d.ts.map +1 -0
- package/dist/api/models/api-v1-documents-documents-post-request1.js +16 -0
- package/dist/api/models/api-v1-documents-documents-post-request1.js.map +1 -0
- package/dist/api/models/api-v1-documents-documents-post201-response.d.ts +17 -0
- package/dist/api/models/api-v1-documents-documents-post201-response.d.ts.map +1 -0
- package/dist/api/models/api-v1-documents-documents-post201-response.js +16 -0
- package/dist/api/models/api-v1-documents-documents-post201-response.js.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.d.ts +17 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.d.ts.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.js +16 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of.js.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.d.ts +17 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.d.ts.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.js +16 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner-one-of1.js.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.d.ts +18 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.d.ts.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.js +16 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response-all-of-items-inner.js.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response.d.ts +17 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response.d.ts.map +1 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response.js +16 -0
- package/dist/api/models/api-v1-documents-folders-id-get200-response.js.map +1 -0
- package/dist/api/models/bulk-upload-mutation.d.ts +34 -0
- package/dist/api/models/bulk-upload-mutation.d.ts.map +1 -0
- package/dist/api/models/bulk-upload-mutation.js +16 -0
- package/dist/api/models/bulk-upload-mutation.js.map +1 -0
- package/dist/api/models/bulk-upload.d.ts +91 -0
- package/dist/api/models/bulk-upload.d.ts.map +1 -0
- package/dist/api/models/bulk-upload.js +23 -0
- package/dist/api/models/bulk-upload.js.map +1 -0
- package/dist/api/models/contact-mutation.d.ts +30 -0
- package/dist/api/models/contact-mutation.d.ts.map +1 -0
- package/dist/api/models/contact-mutation.js +16 -0
- package/dist/api/models/contact-mutation.js.map +1 -0
- package/dist/api/models/contact.d.ts +54 -0
- package/dist/api/models/contact.d.ts.map +1 -0
- package/dist/api/models/contact.js +16 -0
- package/dist/api/models/contact.js.map +1 -0
- package/dist/api/models/document-document-type.d.ts +19 -0
- package/dist/api/models/document-document-type.d.ts.map +1 -0
- package/dist/api/models/document-document-type.js +16 -0
- package/dist/api/models/document-document-type.js.map +1 -0
- package/dist/api/models/document-domain.d.ts +19 -0
- package/dist/api/models/document-domain.d.ts.map +1 -0
- package/dist/api/models/document-domain.js +16 -0
- package/dist/api/models/document-domain.js.map +1 -0
- package/dist/api/models/document-folder.d.ts +19 -0
- package/dist/api/models/document-folder.d.ts.map +1 -0
- package/dist/api/models/document-folder.js +16 -0
- package/dist/api/models/document-folder.js.map +1 -0
- package/dist/api/models/document-mutation.d.ts +50 -0
- package/dist/api/models/document-mutation.d.ts.map +1 -0
- package/dist/api/models/document-mutation.js +16 -0
- package/dist/api/models/document-mutation.js.map +1 -0
- package/dist/api/models/document.d.ts +73 -0
- package/dist/api/models/document.d.ts.map +1 -0
- package/dist/api/models/document.js +16 -0
- package/dist/api/models/document.js.map +1 -0
- package/dist/api/models/folder-mutation.d.ts +38 -0
- package/dist/api/models/folder-mutation.d.ts.map +1 -0
- package/dist/api/models/folder-mutation.js +16 -0
- package/dist/api/models/folder-mutation.js.map +1 -0
- package/dist/api/models/folder-parent.d.ts +19 -0
- package/dist/api/models/folder-parent.d.ts.map +1 -0
- package/dist/api/models/folder-parent.js +16 -0
- package/dist/api/models/folder-parent.js.map +1 -0
- package/dist/api/models/folder.d.ts +65 -0
- package/dist/api/models/folder.d.ts.map +1 -0
- package/dist/api/models/folder.js +16 -0
- package/dist/api/models/folder.js.map +1 -0
- package/dist/api/models/group-mutation.d.ts +26 -0
- package/dist/api/models/group-mutation.d.ts.map +1 -0
- package/dist/api/models/group-mutation.js +16 -0
- package/dist/api/models/group-mutation.js.map +1 -0
- package/dist/api/models/group.d.ts +38 -0
- package/dist/api/models/group.d.ts.map +1 -0
- package/dist/api/models/group.js +16 -0
- package/dist/api/models/group.js.map +1 -0
- package/dist/api/models/index.d.ts +35 -0
- package/dist/api/models/index.d.ts.map +1 -0
- package/dist/api/models/index.js +51 -0
- package/dist/api/models/index.js.map +1 -0
- package/dist/api/models/model-error.d.ts +26 -0
- package/dist/api/models/model-error.d.ts.map +1 -0
- package/dist/api/models/model-error.js +16 -0
- package/dist/api/models/model-error.js.map +1 -0
- package/dist/api/models/oauth-revoke-post200-response.d.ts +15 -0
- package/dist/api/models/oauth-revoke-post200-response.d.ts.map +1 -0
- package/dist/api/models/oauth-revoke-post200-response.js +16 -0
- package/dist/api/models/oauth-revoke-post200-response.js.map +1 -0
- package/dist/api/models/permission-actor.d.ts +20 -0
- package/dist/api/models/permission-actor.d.ts.map +1 -0
- package/dist/api/models/permission-actor.js +16 -0
- package/dist/api/models/permission-actor.js.map +1 -0
- package/dist/api/models/permission-mutation.d.ts +44 -0
- package/dist/api/models/permission-mutation.d.ts.map +1 -0
- package/dist/api/models/permission-mutation.js +22 -0
- package/dist/api/models/permission-mutation.js.map +1 -0
- package/dist/api/models/permission-permissible.d.ts +20 -0
- package/dist/api/models/permission-permissible.d.ts.map +1 -0
- package/dist/api/models/permission-permissible.js +16 -0
- package/dist/api/models/permission-permissible.js.map +1 -0
- package/dist/api/models/permission.d.ts +60 -0
- package/dist/api/models/permission.d.ts.map +1 -0
- package/dist/api/models/permission.js +22 -0
- package/dist/api/models/permission.js.map +1 -0
- package/dist/api/models/token-response.d.ts +41 -0
- package/dist/api/models/token-response.d.ts.map +1 -0
- package/dist/api/models/token-response.js +16 -0
- package/dist/api/models/token-response.js.map +1 -0
- package/dist/api/models/user.d.ts +18 -0
- package/dist/api/models/user.d.ts.map +1 -0
- package/dist/api/models/user.js +16 -0
- package/dist/api/models/user.js.map +1 -0
- package/dist/api/models/workspace-mutation-settings-validation.d.ts +26 -0
- package/dist/api/models/workspace-mutation-settings-validation.d.ts.map +1 -0
- package/dist/api/models/workspace-mutation-settings-validation.js +16 -0
- package/dist/api/models/workspace-mutation-settings-validation.js.map +1 -0
- package/dist/api/models/workspace-mutation-settings.d.ts +60 -0
- package/dist/api/models/workspace-mutation-settings.d.ts.map +1 -0
- package/dist/api/models/workspace-mutation-settings.js +16 -0
- package/dist/api/models/workspace-mutation-settings.js.map +1 -0
- package/dist/api/models/workspace-mutation.d.ts +44 -0
- package/dist/api/models/workspace-mutation.d.ts.map +1 -0
- package/dist/api/models/workspace-mutation.js +16 -0
- package/dist/api/models/workspace-mutation.js.map +1 -0
- package/dist/api/models/workspace-settings-validation.d.ts +26 -0
- package/dist/api/models/workspace-settings-validation.d.ts.map +1 -0
- package/dist/api/models/workspace-settings-validation.js +16 -0
- package/dist/api/models/workspace-settings-validation.js.map +1 -0
- package/dist/api/models/workspace-settings.d.ts +60 -0
- package/dist/api/models/workspace-settings.d.ts.map +1 -0
- package/dist/api/models/workspace-settings.js +16 -0
- package/dist/api/models/workspace-settings.js.map +1 -0
- package/dist/api/models/workspace.d.ts +62 -0
- package/dist/api/models/workspace.d.ts.map +1 -0
- package/dist/api/models/workspace.js +16 -0
- package/dist/api/models/workspace.js.map +1 -0
- package/dist/cli/handlers/command-handlers.d.ts +29 -0
- package/dist/cli/handlers/command-handlers.d.ts.map +1 -0
- package/dist/cli/handlers/command-handlers.js +261 -0
- package/dist/cli/handlers/command-handlers.js.map +1 -0
- package/dist/cli/handlers/engine-handlers.d.ts +15 -0
- package/dist/cli/handlers/engine-handlers.d.ts.map +1 -0
- package/dist/cli/handlers/engine-handlers.js +174 -0
- package/dist/cli/handlers/engine-handlers.js.map +1 -0
- package/dist/cli/interactive.d.ts +15 -0
- package/dist/cli/interactive.d.ts.map +1 -0
- package/dist/cli/interactive.js +234 -0
- package/dist/cli/interactive.js.map +1 -0
- package/dist/cli.js +31 -739
- package/dist/cli.js.map +1 -1
- package/dist/commands/export.d.ts +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +1 -1
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/import.js +1 -1
- package/dist/commands/import.js.map +1 -1
- package/dist/index.d.ts +27 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -20
- package/dist/index.js.map +1 -1
- package/dist/services/hubdoc-api.d.ts +5 -0
- package/dist/services/hubdoc-api.d.ts.map +1 -1
- package/dist/services/hubdoc-api.js +48 -26
- package/dist/services/hubdoc-api.js.map +1 -1
- package/dist/services/hubdoc-export.d.ts +1 -1
- package/dist/services/hubdoc-export.d.ts.map +1 -1
- package/dist/services/hubdoc-export.js +1 -1
- package/dist/services/hubdoc-export.js.map +1 -1
- package/dist/services/oauth-token-service.d.ts +27 -14
- package/dist/services/oauth-token-service.d.ts.map +1 -1
- package/dist/services/oauth-token-service.js +147 -80
- package/dist/services/oauth-token-service.js.map +1 -1
- package/dist/services/plugin-import.d.ts +2 -2
- package/dist/services/plugin-import.d.ts.map +1 -1
- package/dist/services/plugin-import.js +2 -2
- package/dist/services/plugin-import.js.map +1 -1
- package/dist/services/plugin-manager.d.ts +1 -1
- package/dist/services/plugin-manager.d.ts.map +1 -1
- package/dist/services/plugin-manager.js +2 -2
- package/dist/services/plugin-manager.js.map +1 -1
- package/dist/types/index.d.ts +12 -37
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/config.d.ts +30 -1
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +187 -40
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/csv.d.ts +1 -0
- package/dist/utils/csv.d.ts.map +1 -1
- package/dist/utils/csv.js +21 -0
- package/dist/utils/csv.js.map +1 -1
- package/package.json +23 -6
- package/.env.example +0 -23
- package/BAUTECH_HubDoc_Import.pptx +0 -0
- package/CHANGELOG.md +0 -127
- package/DEMO-DOCUMENTATION.html +0 -356
- package/DEMO-DOCUMENTATION.md +0 -411
- package/EXPORT-DOCUMENTATION.md +0 -333
- package/HUBDOC-API-V2.md +0 -248
- package/INSTALL.md +0 -175
- package/PACKAGING.md +0 -206
- package/PLUGINS.md +0 -328
- package/PRESENTATION-CLIENT.md +0 -100
- package/README-hubdoc-tool.md +0 -369
- package/README-npm.md +0 -238
- package/TESTING.md +0 -129
- package/config-examples/README.md +0 -36
- package/config-examples/alfresco-config.example.json +0 -8
- package/config-examples/azure-blob-config.example.json +0 -7
- package/config-examples/box-config.example.json +0 -5
- package/config-examples/nuxeo-config.example.json +0 -8
- package/config-examples/opentext-config.example.json +0 -7
- package/config-examples/s3-config.example.json +0 -8
- package/config-examples/sharepoint-config.example.json +0 -7
- package/demo/README.md +0 -199
- package/demo/demo-script.md +0 -284
- package/demo/generate-sample-csv.js +0 -351
- package/demo/mapping_bautech_15k.csv +0 -1
- package/demo/simulate-import.js +0 -273
- 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/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/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-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-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/docs/README.md +0 -65
- package/docs/connectors/alfresco.md +0 -211
- package/docs/connectors/aws-s3.md +0 -187
- package/docs/connectors/azure-blob.md +0 -195
- package/docs/connectors/box.md +0 -115
- package/docs/connectors/nuxeo.md +0 -214
- package/docs/connectors/opentext.md +0 -234
- package/docs/connectors/sharepoint.md +0 -207
- package/documentation.html +0 -273
- package/jest.config.js +0 -15
- package/plugins/core/README.md +0 -122
- package/plugins/core/TESTING.md +0 -155
- package/plugins/core/plugin.json +0 -26
- package/plugins/dropbox/plugin.json +0 -12
- package/plugins/filesystem/plugin.json +0 -12
- package/plugins/googledrive/plugin.json +0 -12
- package/plugins/onedrive/TESTING.md +0 -197
- package/plugins/onedrive/plugin.json +0 -12
- package/scripts/build-windows-installer.ps1 +0 -132
- package/scripts/build-windows-installer.sh +0 -106
- package/scripts/prepare-publish.js +0 -62
- package/scripts/restore-package.js +0 -29
|
@@ -0,0 +1,465 @@
|
|
|
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.ApiV1ContactsPostContentTypeEnum = exports.ApiV1ContactsIdPatchContentTypeEnum = exports.ApiV1ContactsGetDirectionEnum = exports.ContactsApi = exports.ContactsApiFactory = exports.ContactsApiFp = exports.ContactsApiAxiosParamCreator = 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
|
+
* ContactsApi - axios parameter creator
|
|
28
|
+
*/
|
|
29
|
+
const ContactsApiAxiosParamCreator = function (configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* Récupère une liste de contacts selon les paramètres de filtrage fournis. **Filtrage avancé avec Ransack :** - Utilisez le paramètre `q` pour des recherches avancées - Exemple : `q[email_address_cont]=example.com` pour chercher les contacts avec une adresse contenant \"example.com\"
|
|
33
|
+
* @summary Lister les contacts
|
|
34
|
+
* @param {string} [sort] Champ de tri (email_address, first_name, last_name, created_at, updated_at, etc.)
|
|
35
|
+
* @param {ApiV1ContactsGetDirectionEnum} [direction] Direction du tri
|
|
36
|
+
* @param {number} [perPage] Nombre d\'éléments par page
|
|
37
|
+
* @param {number} [page] Numéro de page
|
|
38
|
+
* @param {{ [key: string]: any; }} [q] Filtres Ransack pour recherche avancée. Exemples : - `q[email_address_cont]=example.com` : email contenant \"example.com\" - `q[first_name_eq]=John` : prénom exacte - `q[last_name_start]=Doe` : nom commençant par \"Doe\" - `q[external_id_eq]=ext-123` : identifiant externe exact
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
apiV1ContactsGet: async (sort, direction, perPage, page, q, options = {}) => {
|
|
43
|
+
const localVarPath = `/api/v1/contacts`;
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
51
|
+
const localVarHeaderParameter = {};
|
|
52
|
+
const localVarQueryParameter = {};
|
|
53
|
+
// authentication OAuth2Password required
|
|
54
|
+
// oauth required
|
|
55
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
56
|
+
// authentication OAuth2AuthCode required
|
|
57
|
+
// oauth required
|
|
58
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
59
|
+
if (sort !== undefined) {
|
|
60
|
+
localVarQueryParameter['sort'] = sort;
|
|
61
|
+
}
|
|
62
|
+
if (direction !== undefined) {
|
|
63
|
+
localVarQueryParameter['direction'] = direction;
|
|
64
|
+
}
|
|
65
|
+
if (perPage !== undefined) {
|
|
66
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
67
|
+
}
|
|
68
|
+
if (page !== undefined) {
|
|
69
|
+
localVarQueryParameter['page'] = page;
|
|
70
|
+
}
|
|
71
|
+
if (q !== undefined) {
|
|
72
|
+
for (const [key, value] of Object.entries(q)) {
|
|
73
|
+
localVarQueryParameter[key] = value;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
79
|
+
return {
|
|
80
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Supprimer un contact existant
|
|
86
|
+
* @summary Supprimer un contact
|
|
87
|
+
* @param {string} id Identifiant de la ressource
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
apiV1ContactsIdDelete: async (id, options = {}) => {
|
|
92
|
+
// verify required parameter 'id' is not null or undefined
|
|
93
|
+
(0, common_1.assertParamExists)('apiV1ContactsIdDelete', 'id', id);
|
|
94
|
+
const localVarPath = `/api/v1/contacts/{id}`
|
|
95
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
96
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
97
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
98
|
+
let baseOptions;
|
|
99
|
+
if (configuration) {
|
|
100
|
+
baseOptions = configuration.baseOptions;
|
|
101
|
+
}
|
|
102
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
103
|
+
const localVarHeaderParameter = {};
|
|
104
|
+
const localVarQueryParameter = {};
|
|
105
|
+
// authentication OAuth2Password required
|
|
106
|
+
// oauth required
|
|
107
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
108
|
+
// authentication OAuth2AuthCode required
|
|
109
|
+
// oauth required
|
|
110
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
111
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
114
|
+
return {
|
|
115
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
116
|
+
options: localVarRequestOptions,
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
/**
|
|
120
|
+
* Récupérer un contact spécifique par identifiant
|
|
121
|
+
* @summary Récupérer un contact
|
|
122
|
+
* @param {string} id Identifiant de la ressource
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
apiV1ContactsIdGet: async (id, options = {}) => {
|
|
127
|
+
// verify required parameter 'id' is not null or undefined
|
|
128
|
+
(0, common_1.assertParamExists)('apiV1ContactsIdGet', 'id', id);
|
|
129
|
+
const localVarPath = `/api/v1/contacts/{id}`
|
|
130
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
132
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
133
|
+
let baseOptions;
|
|
134
|
+
if (configuration) {
|
|
135
|
+
baseOptions = configuration.baseOptions;
|
|
136
|
+
}
|
|
137
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
138
|
+
const localVarHeaderParameter = {};
|
|
139
|
+
const localVarQueryParameter = {};
|
|
140
|
+
// authentication OAuth2Password required
|
|
141
|
+
// oauth required
|
|
142
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
143
|
+
// authentication OAuth2AuthCode required
|
|
144
|
+
// oauth required
|
|
145
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
146
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
149
|
+
return {
|
|
150
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
151
|
+
options: localVarRequestOptions,
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
/**
|
|
155
|
+
* Mettre à jour un contact existant
|
|
156
|
+
* @summary Mettre à jour un contact
|
|
157
|
+
* @param {string} id Identifiant de la ressource
|
|
158
|
+
* @param {ApiV1ContactsIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
159
|
+
* @param {ContactMutation} contactMutation
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
apiV1ContactsIdPatch: async (id, contentType, contactMutation, options = {}) => {
|
|
164
|
+
// verify required parameter 'id' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('apiV1ContactsIdPatch', 'id', id);
|
|
166
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
167
|
+
(0, common_1.assertParamExists)('apiV1ContactsIdPatch', 'contentType', contentType);
|
|
168
|
+
// verify required parameter 'contactMutation' is not null or undefined
|
|
169
|
+
(0, common_1.assertParamExists)('apiV1ContactsIdPatch', 'contactMutation', contactMutation);
|
|
170
|
+
const localVarPath = `/api/v1/contacts/{id}`
|
|
171
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
174
|
+
let baseOptions;
|
|
175
|
+
if (configuration) {
|
|
176
|
+
baseOptions = configuration.baseOptions;
|
|
177
|
+
}
|
|
178
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
179
|
+
const localVarHeaderParameter = {};
|
|
180
|
+
const localVarQueryParameter = {};
|
|
181
|
+
// authentication OAuth2Password required
|
|
182
|
+
// oauth required
|
|
183
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
184
|
+
// authentication OAuth2AuthCode required
|
|
185
|
+
// oauth required
|
|
186
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
187
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
188
|
+
if (contentType != null) {
|
|
189
|
+
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
190
|
+
}
|
|
191
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
194
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(contactMutation, localVarRequestOptions, configuration);
|
|
195
|
+
return {
|
|
196
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
197
|
+
options: localVarRequestOptions,
|
|
198
|
+
};
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* Créer un nouveau contact
|
|
202
|
+
* @summary Créer un contact
|
|
203
|
+
* @param {ApiV1ContactsPostContentTypeEnum} contentType Type de contenu de la requête
|
|
204
|
+
* @param {ContactMutation} contactMutation
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
apiV1ContactsPost: async (contentType, contactMutation, options = {}) => {
|
|
209
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
210
|
+
(0, common_1.assertParamExists)('apiV1ContactsPost', 'contentType', contentType);
|
|
211
|
+
// verify required parameter 'contactMutation' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('apiV1ContactsPost', 'contactMutation', contactMutation);
|
|
213
|
+
const localVarPath = `/api/v1/contacts`;
|
|
214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
215
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
|
+
let baseOptions;
|
|
217
|
+
if (configuration) {
|
|
218
|
+
baseOptions = configuration.baseOptions;
|
|
219
|
+
}
|
|
220
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
221
|
+
const localVarHeaderParameter = {};
|
|
222
|
+
const localVarQueryParameter = {};
|
|
223
|
+
// authentication OAuth2Password required
|
|
224
|
+
// oauth required
|
|
225
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2Password", ["read"], configuration);
|
|
226
|
+
// authentication OAuth2AuthCode required
|
|
227
|
+
// oauth required
|
|
228
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2AuthCode", ["read"], configuration);
|
|
229
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
230
|
+
if (contentType != null) {
|
|
231
|
+
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
232
|
+
}
|
|
233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
236
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(contactMutation, localVarRequestOptions, configuration);
|
|
237
|
+
return {
|
|
238
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
};
|
|
241
|
+
},
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator;
|
|
245
|
+
/**
|
|
246
|
+
* ContactsApi - functional programming interface
|
|
247
|
+
*/
|
|
248
|
+
const ContactsApiFp = function (configuration) {
|
|
249
|
+
const localVarAxiosParamCreator = (0, exports.ContactsApiAxiosParamCreator)(configuration);
|
|
250
|
+
return {
|
|
251
|
+
/**
|
|
252
|
+
* Récupère une liste de contacts selon les paramètres de filtrage fournis. **Filtrage avancé avec Ransack :** - Utilisez le paramètre `q` pour des recherches avancées - Exemple : `q[email_address_cont]=example.com` pour chercher les contacts avec une adresse contenant \"example.com\"
|
|
253
|
+
* @summary Lister les contacts
|
|
254
|
+
* @param {string} [sort] Champ de tri (email_address, first_name, last_name, created_at, updated_at, etc.)
|
|
255
|
+
* @param {ApiV1ContactsGetDirectionEnum} [direction] Direction du tri
|
|
256
|
+
* @param {number} [perPage] Nombre d\'éléments par page
|
|
257
|
+
* @param {number} [page] Numéro de page
|
|
258
|
+
* @param {{ [key: string]: any; }} [q] Filtres Ransack pour recherche avancée. Exemples : - `q[email_address_cont]=example.com` : email contenant \"example.com\" - `q[first_name_eq]=John` : prénom exacte - `q[last_name_start]=Doe` : nom commençant par \"Doe\" - `q[external_id_eq]=ext-123` : identifiant externe exact
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
async apiV1ContactsGet(sort, direction, perPage, page, q, options) {
|
|
263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContactsGet(sort, direction, perPage, page, q, options);
|
|
264
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
265
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ContactsApi.apiV1ContactsGet']?.[localVarOperationServerIndex]?.url;
|
|
266
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
267
|
+
},
|
|
268
|
+
/**
|
|
269
|
+
* Supprimer un contact existant
|
|
270
|
+
* @summary Supprimer un contact
|
|
271
|
+
* @param {string} id Identifiant de la ressource
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
async apiV1ContactsIdDelete(id, options) {
|
|
276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContactsIdDelete(id, options);
|
|
277
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
278
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ContactsApi.apiV1ContactsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
279
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
280
|
+
},
|
|
281
|
+
/**
|
|
282
|
+
* Récupérer un contact spécifique par identifiant
|
|
283
|
+
* @summary Récupérer un contact
|
|
284
|
+
* @param {string} id Identifiant de la ressource
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
async apiV1ContactsIdGet(id, options) {
|
|
289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContactsIdGet(id, options);
|
|
290
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
291
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ContactsApi.apiV1ContactsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
292
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
293
|
+
},
|
|
294
|
+
/**
|
|
295
|
+
* Mettre à jour un contact existant
|
|
296
|
+
* @summary Mettre à jour un contact
|
|
297
|
+
* @param {string} id Identifiant de la ressource
|
|
298
|
+
* @param {ApiV1ContactsIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
299
|
+
* @param {ContactMutation} contactMutation
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
async apiV1ContactsIdPatch(id, contentType, contactMutation, options) {
|
|
304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContactsIdPatch(id, contentType, contactMutation, options);
|
|
305
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
306
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ContactsApi.apiV1ContactsIdPatch']?.[localVarOperationServerIndex]?.url;
|
|
307
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* Créer un nouveau contact
|
|
311
|
+
* @summary Créer un contact
|
|
312
|
+
* @param {ApiV1ContactsPostContentTypeEnum} contentType Type de contenu de la requête
|
|
313
|
+
* @param {ContactMutation} contactMutation
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
*/
|
|
317
|
+
async apiV1ContactsPost(contentType, contactMutation, options) {
|
|
318
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContactsPost(contentType, contactMutation, options);
|
|
319
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
320
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ContactsApi.apiV1ContactsPost']?.[localVarOperationServerIndex]?.url;
|
|
321
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
322
|
+
},
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
exports.ContactsApiFp = ContactsApiFp;
|
|
326
|
+
/**
|
|
327
|
+
* ContactsApi - factory interface
|
|
328
|
+
*/
|
|
329
|
+
const ContactsApiFactory = function (configuration, basePath, axios) {
|
|
330
|
+
const localVarFp = (0, exports.ContactsApiFp)(configuration);
|
|
331
|
+
return {
|
|
332
|
+
/**
|
|
333
|
+
* Récupère une liste de contacts selon les paramètres de filtrage fournis. **Filtrage avancé avec Ransack :** - Utilisez le paramètre `q` pour des recherches avancées - Exemple : `q[email_address_cont]=example.com` pour chercher les contacts avec une adresse contenant \"example.com\"
|
|
334
|
+
* @summary Lister les contacts
|
|
335
|
+
* @param {string} [sort] Champ de tri (email_address, first_name, last_name, created_at, updated_at, etc.)
|
|
336
|
+
* @param {ApiV1ContactsGetDirectionEnum} [direction] Direction du tri
|
|
337
|
+
* @param {number} [perPage] Nombre d\'éléments par page
|
|
338
|
+
* @param {number} [page] Numéro de page
|
|
339
|
+
* @param {{ [key: string]: any; }} [q] Filtres Ransack pour recherche avancée. Exemples : - `q[email_address_cont]=example.com` : email contenant \"example.com\" - `q[first_name_eq]=John` : prénom exacte - `q[last_name_start]=Doe` : nom commençant par \"Doe\" - `q[external_id_eq]=ext-123` : identifiant externe exact
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
*/
|
|
343
|
+
apiV1ContactsGet(sort, direction, perPage, page, q, options) {
|
|
344
|
+
return localVarFp.apiV1ContactsGet(sort, direction, perPage, page, q, options).then((request) => request(axios, basePath));
|
|
345
|
+
},
|
|
346
|
+
/**
|
|
347
|
+
* Supprimer un contact existant
|
|
348
|
+
* @summary Supprimer un contact
|
|
349
|
+
* @param {string} id Identifiant de la ressource
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
apiV1ContactsIdDelete(id, options) {
|
|
354
|
+
return localVarFp.apiV1ContactsIdDelete(id, options).then((request) => request(axios, basePath));
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
* Récupérer un contact spécifique par identifiant
|
|
358
|
+
* @summary Récupérer un contact
|
|
359
|
+
* @param {string} id Identifiant de la ressource
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
apiV1ContactsIdGet(id, options) {
|
|
364
|
+
return localVarFp.apiV1ContactsIdGet(id, options).then((request) => request(axios, basePath));
|
|
365
|
+
},
|
|
366
|
+
/**
|
|
367
|
+
* Mettre à jour un contact existant
|
|
368
|
+
* @summary Mettre à jour un contact
|
|
369
|
+
* @param {string} id Identifiant de la ressource
|
|
370
|
+
* @param {ApiV1ContactsIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
371
|
+
* @param {ContactMutation} contactMutation
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
apiV1ContactsIdPatch(id, contentType, contactMutation, options) {
|
|
376
|
+
return localVarFp.apiV1ContactsIdPatch(id, contentType, contactMutation, options).then((request) => request(axios, basePath));
|
|
377
|
+
},
|
|
378
|
+
/**
|
|
379
|
+
* Créer un nouveau contact
|
|
380
|
+
* @summary Créer un contact
|
|
381
|
+
* @param {ApiV1ContactsPostContentTypeEnum} contentType Type de contenu de la requête
|
|
382
|
+
* @param {ContactMutation} contactMutation
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
apiV1ContactsPost(contentType, contactMutation, options) {
|
|
387
|
+
return localVarFp.apiV1ContactsPost(contentType, contactMutation, options).then((request) => request(axios, basePath));
|
|
388
|
+
},
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
exports.ContactsApiFactory = ContactsApiFactory;
|
|
392
|
+
/**
|
|
393
|
+
* ContactsApi - object-oriented interface
|
|
394
|
+
*/
|
|
395
|
+
class ContactsApi extends base_1.BaseAPI {
|
|
396
|
+
/**
|
|
397
|
+
* Récupère une liste de contacts selon les paramètres de filtrage fournis. **Filtrage avancé avec Ransack :** - Utilisez le paramètre `q` pour des recherches avancées - Exemple : `q[email_address_cont]=example.com` pour chercher les contacts avec une adresse contenant \"example.com\"
|
|
398
|
+
* @summary Lister les contacts
|
|
399
|
+
* @param {string} [sort] Champ de tri (email_address, first_name, last_name, created_at, updated_at, etc.)
|
|
400
|
+
* @param {ApiV1ContactsGetDirectionEnum} [direction] Direction du tri
|
|
401
|
+
* @param {number} [perPage] Nombre d\'éléments par page
|
|
402
|
+
* @param {number} [page] Numéro de page
|
|
403
|
+
* @param {{ [key: string]: any; }} [q] Filtres Ransack pour recherche avancée. Exemples : - `q[email_address_cont]=example.com` : email contenant \"example.com\" - `q[first_name_eq]=John` : prénom exacte - `q[last_name_start]=Doe` : nom commençant par \"Doe\" - `q[external_id_eq]=ext-123` : identifiant externe exact
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
apiV1ContactsGet(sort, direction, perPage, page, q, options) {
|
|
408
|
+
return (0, exports.ContactsApiFp)(this.configuration).apiV1ContactsGet(sort, direction, perPage, page, q, options).then((request) => request(this.axios, this.basePath));
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Supprimer un contact existant
|
|
412
|
+
* @summary Supprimer un contact
|
|
413
|
+
* @param {string} id Identifiant de la ressource
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
apiV1ContactsIdDelete(id, options) {
|
|
418
|
+
return (0, exports.ContactsApiFp)(this.configuration).apiV1ContactsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Récupérer un contact spécifique par identifiant
|
|
422
|
+
* @summary Récupérer un contact
|
|
423
|
+
* @param {string} id Identifiant de la ressource
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
apiV1ContactsIdGet(id, options) {
|
|
428
|
+
return (0, exports.ContactsApiFp)(this.configuration).apiV1ContactsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Mettre à jour un contact existant
|
|
432
|
+
* @summary Mettre à jour un contact
|
|
433
|
+
* @param {string} id Identifiant de la ressource
|
|
434
|
+
* @param {ApiV1ContactsIdPatchContentTypeEnum} contentType Type de contenu de la requête
|
|
435
|
+
* @param {ContactMutation} contactMutation
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
apiV1ContactsIdPatch(id, contentType, contactMutation, options) {
|
|
440
|
+
return (0, exports.ContactsApiFp)(this.configuration).apiV1ContactsIdPatch(id, contentType, contactMutation, options).then((request) => request(this.axios, this.basePath));
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Créer un nouveau contact
|
|
444
|
+
* @summary Créer un contact
|
|
445
|
+
* @param {ApiV1ContactsPostContentTypeEnum} contentType Type de contenu de la requête
|
|
446
|
+
* @param {ContactMutation} contactMutation
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
apiV1ContactsPost(contentType, contactMutation, options) {
|
|
451
|
+
return (0, exports.ContactsApiFp)(this.configuration).apiV1ContactsPost(contentType, contactMutation, options).then((request) => request(this.axios, this.basePath));
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
exports.ContactsApi = ContactsApi;
|
|
455
|
+
exports.ApiV1ContactsGetDirectionEnum = {
|
|
456
|
+
Asc: 'asc',
|
|
457
|
+
Desc: 'desc'
|
|
458
|
+
};
|
|
459
|
+
exports.ApiV1ContactsIdPatchContentTypeEnum = {
|
|
460
|
+
ApplicationJson: 'application/json'
|
|
461
|
+
};
|
|
462
|
+
exports.ApiV1ContactsPostContentTypeEnum = {
|
|
463
|
+
ApplicationJson: 'application/json'
|
|
464
|
+
};
|
|
465
|
+
//# source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