@silexpert/core 1.3.98 → 1.3.99-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/Qonto.d.ts +1 -11
- package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/cjs/api/resources/Qonto.js +0 -29
- package/dist/cjs/api/resources/Qonto.js.map +1 -1
- package/dist/cjs/api/resources/Sellsy.d.ts +19 -0
- package/dist/cjs/api/resources/Sellsy.d.ts.map +1 -0
- package/dist/cjs/api/resources/Sellsy.js +20 -0
- package/dist/cjs/api/resources/Sellsy.js.map +1 -0
- package/dist/cjs/types/Form/FormConnector.d.ts +1 -0
- package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/cjs/types/Form/FormConnector.js +85 -0
- package/dist/cjs/types/Form/FormConnector.js.map +1 -1
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +12 -0
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js +3 -0
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +1 -0
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts +0 -34
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Create.js +1 -155
- package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts +0 -44
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Query.js +1 -4
- package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +11 -0
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +3 -0
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +1 -0
- package/dist/mjs/api/resources/Qonto.d.ts +1 -11
- package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/mjs/api/resources/Qonto.js +0 -29
- package/dist/mjs/api/resources/Qonto.js.map +1 -1
- package/dist/mjs/api/resources/Sellsy.d.ts +19 -0
- package/dist/mjs/api/resources/Sellsy.d.ts.map +1 -0
- package/dist/mjs/api/resources/Sellsy.js +16 -0
- package/dist/mjs/api/resources/Sellsy.js.map +1 -0
- package/dist/mjs/types/Form/FormConnector.d.ts +1 -0
- package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/mjs/types/Form/FormConnector.js +86 -11
- package/dist/mjs/types/Form/FormConnector.js.map +1 -1
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +12 -0
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +2 -0
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +1 -0
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts +0 -34
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Create.js +1 -178
- package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts +0 -44
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Query.js +0 -9
- package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +11 -0
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +2 -0
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/Qonto.ts +0 -43
- package/ts/api/resources/Sellsy.ts +24 -0
- package/ts/types/Form/FormConnector.ts +41 -11
- package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +12 -0
- package/ts/types/Interface/api/qonto/Create.ts +1 -128
- package/ts/types/Interface/api/qonto/Query.ts +0 -64
- package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +10 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProcessBankAccount, CreateQontoConnection, CreateImportation, GetConnectionInformation, GetQontoOrganization, IBankAccount,
|
|
1
|
+
import { ProcessBankAccount, CreateQontoConnection, CreateImportation, GetConnectionInformation, GetQontoOrganization, IBankAccount, ReadCreateConnection, CreateImportationResult } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Qonto extends Resource {
|
|
4
4
|
delete(idBankConnection: number): Promise<IBankAccount>;
|
|
@@ -6,15 +6,5 @@ export declare class Qonto extends Resource {
|
|
|
6
6
|
importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<CreateImportationResult>;
|
|
7
7
|
processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]>;
|
|
8
8
|
create(payload: CreateQontoConnection): Promise<ReadCreateConnection>;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated use create
|
|
11
|
-
*/
|
|
12
|
-
updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection>;
|
|
13
|
-
createRegistration(params: CreateQontoRegistration): Promise<ReadQontoRegistration>;
|
|
14
|
-
getRegistration(idRegistration: string): Promise<ReadQontoRegistration>;
|
|
15
|
-
createRegistrationFile(idRegistration: string, params: CreateRegistrationFile): Promise<ReadQontoRegistration>;
|
|
16
|
-
getRegistrationFileBuffer(idRegistration: string, idFile: string): Promise<Buffer>;
|
|
17
|
-
createWebhookConfig(params: CreateWebhookConfig): Promise<ReadQontoWebhookConfig>;
|
|
18
|
-
triggerNewMailForRegistrationLink(idRegistration: string): Promise<void>;
|
|
19
9
|
}
|
|
20
10
|
//# sourceMappingURL=Qonto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Qonto.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"Qonto.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAIvD,cAAc,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIhF,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAItG,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAIlG,MAAM,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAGtE"}
|
|
@@ -18,35 +18,6 @@ class Qonto extends Resource_1.Resource {
|
|
|
18
18
|
create(payload) {
|
|
19
19
|
return this.axios.$post('connectors/qonto/connections', payload);
|
|
20
20
|
}
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated use create
|
|
23
|
-
*/
|
|
24
|
-
updateConnection(idBankConnection, payload) {
|
|
25
|
-
return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);
|
|
26
|
-
}
|
|
27
|
-
createRegistration(params) {
|
|
28
|
-
return this.axios.$post('connectors/qonto/registrations', params);
|
|
29
|
-
}
|
|
30
|
-
getRegistration(idRegistration) {
|
|
31
|
-
return this.axios.$post(`connectors/qonto/registrations/${idRegistration}`);
|
|
32
|
-
}
|
|
33
|
-
createRegistrationFile(idRegistration, params) {
|
|
34
|
-
return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/files`, params, {
|
|
35
|
-
responseType: 'arraybuffer',
|
|
36
|
-
headers: {
|
|
37
|
-
Accept: 'application/pdf',
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
getRegistrationFileBuffer(idRegistration, idFile) {
|
|
42
|
-
return this.axios.$get(`connectors/qonto/registrations/${idRegistration}/files/${idFile}/download`);
|
|
43
|
-
}
|
|
44
|
-
createWebhookConfig(params) {
|
|
45
|
-
return this.axios.$post('connectors/qonto/registrations/webhooks-configs', params);
|
|
46
|
-
}
|
|
47
|
-
triggerNewMailForRegistrationLink(idRegistration) {
|
|
48
|
-
return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/email`);
|
|
49
|
-
}
|
|
50
21
|
}
|
|
51
22
|
exports.Qonto = Qonto;
|
|
52
23
|
//# sourceMappingURL=Qonto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":";;;AAUA,0CAAuC;AAEvC,MAAa,KAAM,SAAQ,mBAAQ;IACjC,MAAM,CAAC,gBAAwB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,gCAAgC,gBAAgB,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,cAAc,CAAC,OAAiC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,iBAAiB,CAAC,aAAqB,EAAE,OAA0B;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED,kBAAkB,CAAC,gBAAwB,EAAE,OAA2B;QACtE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,gBAAgB,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;IAED,MAAM,CAAC,OAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CACF;AApBD,sBAoBC","sourcesContent":["import {\n ProcessBankAccount,\n CreateQontoConnection,\n CreateImportation,\n GetConnectionInformation,\n GetQontoOrganization,\n IBankAccount,\n ReadCreateConnection,\n CreateImportationResult,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(idBankConnection: number): Promise<IBankAccount> {\n return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);\n }\n\n getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {\n return this.axios.$get('connectors/qonto/connections', { params: queries });\n }\n\n importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<CreateImportationResult> {\n return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);\n }\n\n processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {\n return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);\n }\n\n create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {\n return this.axios.$post('connectors/qonto/connections', payload);\n }\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';
|
|
3
|
+
export declare class Sellsy extends Resource {
|
|
4
|
+
oauthCallback(payload: {
|
|
5
|
+
code: string;
|
|
6
|
+
codeVerifier: string;
|
|
7
|
+
idSociety: number;
|
|
8
|
+
}): Promise<{
|
|
9
|
+
success: boolean;
|
|
10
|
+
message: string;
|
|
11
|
+
}>;
|
|
12
|
+
disconnect(idSociety: number): Promise<{
|
|
13
|
+
success: boolean;
|
|
14
|
+
message: string;
|
|
15
|
+
}>;
|
|
16
|
+
getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus>;
|
|
17
|
+
createInvoices(payload: any): Promise<any>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Sellsy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sellsy.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AAEjG,qBAAa,MAAO,SAAQ,QAAQ;IAClC,aAAa,CAAC,OAAO,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAIlD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIvE,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;CAG3C"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Sellsy = void 0;
|
|
4
|
+
const Resource_1 = require("../Resource");
|
|
5
|
+
class Sellsy extends Resource_1.Resource {
|
|
6
|
+
oauthCallback(payload) {
|
|
7
|
+
return this.axios.$post('/auth/sellsy/callback', payload);
|
|
8
|
+
}
|
|
9
|
+
disconnect(idSociety) {
|
|
10
|
+
return this.axios.$post('/auth/sellsy/disconnect', { idSociety });
|
|
11
|
+
}
|
|
12
|
+
getConnectionStatus(societyId) {
|
|
13
|
+
return this.axios.$get('/auth/sellsy/status', { params: { societyId } });
|
|
14
|
+
}
|
|
15
|
+
createInvoices(payload) {
|
|
16
|
+
return this.axios.$post('/connectors/sellsy/invoices', payload);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Sellsy = Sellsy;
|
|
20
|
+
//# sourceMappingURL=Sellsy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sellsy.js","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,MAAO,SAAQ,mBAAQ;IAClC,aAAa,CAAC,OAIb;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,cAAc,CAAC,OAAY;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AApBD,wBAoBC","sourcesContent":["import { Resource } from '../Resource';\nimport { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';\n\nexport class Sellsy extends Resource {\n oauthCallback(payload: {\n code: string;\n codeVerifier: string;\n idSociety: number;\n }): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/auth/sellsy/callback', payload);\n }\n\n disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/auth/sellsy/disconnect', { idSociety });\n }\n\n getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {\n return this.axios.$get('/auth/sellsy/status', { params: { societyId } });\n }\n\n createInvoices(payload: any): Promise<any> {\n return this.axios.$post('/connectors/sellsy/invoices', payload);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAIxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,eAAe,EAAE,aAAa,CAAC;IAK/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,7 +1,92 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.FormConnector = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const ConnectorType_1 = require("../Enum/ConnectorType");
|
|
4
17
|
class FormConnector {
|
|
5
18
|
}
|
|
6
19
|
exports.FormConnector = FormConnector;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], FormConnector.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], FormConnector.prototype, "username", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], FormConnector.prototype, "pass", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], FormConnector.prototype, "url", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], FormConnector.prototype, "token", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], FormConnector.prototype, "token2", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], FormConnector.prototype, "token3", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
(0, class_validator_1.IsString)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], FormConnector.prototype, "token4", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, swagger_1.ApiPropertyOptional)({ type: String, format: 'date-time' }),
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.IsDate)(),
|
|
72
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], FormConnector.prototype, "date", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, swagger_1.ApiProperty)({ enum: ConnectorType_1.ConnectorType }),
|
|
77
|
+
(0, class_validator_1.IsEnum)(ConnectorType_1.ConnectorType),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], FormConnector.prototype, "idTypeConnector", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
(0, class_validator_1.IsNumber)(),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], FormConnector.prototype, "idSociety", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
(0, class_validator_1.IsNumber)(),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], FormConnector.prototype, "expiresIn", void 0);
|
|
7
92
|
//# sourceMappingURL=FormConnector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAAiF;AACjF,yDAAyC;AACzC,yDAAsD;AAEtD,MAAa,aAAa;CA4DzB;AA5DD,sCA4DC;AAxDC;IAHC,IAAA,6BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;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, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n @ApiPropertyOptional({ type: String, format: 'date-time' })\n @IsOptional()\n @IsDate()\n @Type(() => Date)\n date?: Date;\n\n @ApiProperty({ enum: ConnectorType })\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface OAuthTokenRequest {
|
|
2
|
+
clientId: string;
|
|
3
|
+
redirectUri: string;
|
|
4
|
+
codeVerifier: string;
|
|
5
|
+
code: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SellsyTokenResponse {
|
|
8
|
+
access_token: string;
|
|
9
|
+
refresh_token: string;
|
|
10
|
+
expires_in: number;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=OAuthTokenRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OAuthTokenRequest.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OAuthTokenRequest.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"","sourcesContent":["export interface OAuthTokenRequest {\n clientId: string;\n redirectUri: string;\n codeVerifier: string;\n code: string;\n}\n\nexport interface SellsyTokenResponse {\n access_token: string;\n refresh_token: string;\n expires_in: number;\n}\n"]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { RegistrationFileType, ReadStakeHolders } from './Query';
|
|
2
|
-
import { TFile } from '../file/TFile';
|
|
3
1
|
export declare class CreateImportation {
|
|
4
2
|
minDate?: string;
|
|
5
3
|
maxDate?: string;
|
|
@@ -12,36 +10,4 @@ export declare class ProcessBankAccount {
|
|
|
12
10
|
idsSlugToAdd: Array<string>;
|
|
13
11
|
idsSlugToRemove: Array<string>;
|
|
14
12
|
}
|
|
15
|
-
export declare class CreateQontoRegistration {
|
|
16
|
-
legalFlow: 'company_creation' | 'existing_company';
|
|
17
|
-
locale: 'en' | 'fr' | 'it' | 'es' | 'de';
|
|
18
|
-
firstName?: string | null;
|
|
19
|
-
lastName?: string | null;
|
|
20
|
-
email?: string | null;
|
|
21
|
-
entityType: 'freelancer' | 'company';
|
|
22
|
-
legalName?: string | null;
|
|
23
|
-
legalForm?: string | null;
|
|
24
|
-
number?: string | null;
|
|
25
|
-
sector?: string | null;
|
|
26
|
-
registrationDate?: string | null;
|
|
27
|
-
vatNumber?: string | null;
|
|
28
|
-
addressStreet?: string | null;
|
|
29
|
-
addressStreet2?: string | null;
|
|
30
|
-
postalCode?: string | null;
|
|
31
|
-
city?: string | null;
|
|
32
|
-
country?: string | null;
|
|
33
|
-
totalCapitalAmount: string;
|
|
34
|
-
stakeHolders: ReadStakeHolders;
|
|
35
|
-
idSociety: number;
|
|
36
|
-
}
|
|
37
|
-
export declare class CreateRegistrationFile {
|
|
38
|
-
file: TFile;
|
|
39
|
-
fileType: RegistrationFileType;
|
|
40
|
-
stakeholderId?: string;
|
|
41
|
-
}
|
|
42
|
-
export declare class CreateWebhookConfig {
|
|
43
|
-
callbackUrl: string;
|
|
44
|
-
secret: string;
|
|
45
|
-
enabled: boolean;
|
|
46
|
-
}
|
|
47
13
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAI5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,qBAAqB;IAGhC,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,kBAAkB;IAG7B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAI5B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -9,10 +9,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.ProcessBankAccount = exports.CreateQontoConnection = exports.CreateImportation = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
|
-
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
15
|
class CreateImportation {
|
|
17
16
|
}
|
|
18
17
|
exports.CreateImportation = CreateImportation;
|
|
@@ -54,157 +53,4 @@ __decorate([
|
|
|
54
53
|
(0, class_validator_1.IsArray)(),
|
|
55
54
|
__metadata("design:type", Array)
|
|
56
55
|
], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
|
|
57
|
-
class CreateQontoRegistration {
|
|
58
|
-
}
|
|
59
|
-
exports.CreateQontoRegistration = CreateQontoRegistration;
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, utils_1.ApiProperty)(),
|
|
62
|
-
(0, class_validator_1.IsString)(),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], CreateQontoRegistration.prototype, "legalFlow", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, utils_1.ApiProperty)(),
|
|
67
|
-
(0, class_validator_1.IsString)(),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], CreateQontoRegistration.prototype, "locale", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
72
|
-
(0, class_validator_1.IsString)(),
|
|
73
|
-
(0, class_validator_1.IsOptional)(),
|
|
74
|
-
__metadata("design:type", Object)
|
|
75
|
-
], CreateQontoRegistration.prototype, "firstName", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
78
|
-
(0, class_validator_1.IsString)(),
|
|
79
|
-
(0, class_validator_1.IsOptional)(),
|
|
80
|
-
__metadata("design:type", Object)
|
|
81
|
-
], CreateQontoRegistration.prototype, "lastName", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
84
|
-
(0, class_validator_1.IsString)(),
|
|
85
|
-
(0, class_validator_1.IsOptional)(),
|
|
86
|
-
__metadata("design:type", Object)
|
|
87
|
-
], CreateQontoRegistration.prototype, "email", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, utils_1.ApiProperty)(),
|
|
90
|
-
(0, class_validator_1.IsString)(),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], CreateQontoRegistration.prototype, "entityType", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
95
|
-
(0, class_validator_1.IsString)(),
|
|
96
|
-
(0, class_validator_1.IsOptional)(),
|
|
97
|
-
__metadata("design:type", Object)
|
|
98
|
-
], CreateQontoRegistration.prototype, "legalName", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
101
|
-
(0, class_validator_1.IsString)(),
|
|
102
|
-
(0, class_validator_1.IsOptional)(),
|
|
103
|
-
__metadata("design:type", Object)
|
|
104
|
-
], CreateQontoRegistration.prototype, "legalForm", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
107
|
-
(0, class_validator_1.IsString)(),
|
|
108
|
-
(0, class_validator_1.IsOptional)(),
|
|
109
|
-
__metadata("design:type", Object)
|
|
110
|
-
], CreateQontoRegistration.prototype, "number", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
113
|
-
(0, class_validator_1.IsString)(),
|
|
114
|
-
(0, class_validator_1.IsOptional)(),
|
|
115
|
-
__metadata("design:type", Object)
|
|
116
|
-
], CreateQontoRegistration.prototype, "sector", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
119
|
-
(0, class_validator_1.IsString)(),
|
|
120
|
-
(0, class_validator_1.IsOptional)(),
|
|
121
|
-
__metadata("design:type", Object)
|
|
122
|
-
], CreateQontoRegistration.prototype, "registrationDate", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
125
|
-
(0, class_validator_1.IsString)(),
|
|
126
|
-
(0, class_validator_1.IsOptional)(),
|
|
127
|
-
__metadata("design:type", Object)
|
|
128
|
-
], CreateQontoRegistration.prototype, "vatNumber", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
131
|
-
(0, class_validator_1.IsString)(),
|
|
132
|
-
(0, class_validator_1.IsOptional)(),
|
|
133
|
-
__metadata("design:type", Object)
|
|
134
|
-
], CreateQontoRegistration.prototype, "addressStreet", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
137
|
-
(0, class_validator_1.IsString)(),
|
|
138
|
-
(0, class_validator_1.IsOptional)(),
|
|
139
|
-
__metadata("design:type", Object)
|
|
140
|
-
], CreateQontoRegistration.prototype, "addressStreet2", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
143
|
-
(0, class_validator_1.IsString)(),
|
|
144
|
-
(0, class_validator_1.IsOptional)(),
|
|
145
|
-
__metadata("design:type", Object)
|
|
146
|
-
], CreateQontoRegistration.prototype, "postalCode", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
149
|
-
(0, class_validator_1.IsString)(),
|
|
150
|
-
(0, class_validator_1.IsOptional)(),
|
|
151
|
-
__metadata("design:type", Object)
|
|
152
|
-
], CreateQontoRegistration.prototype, "city", void 0);
|
|
153
|
-
__decorate([
|
|
154
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
155
|
-
(0, class_validator_1.IsString)(),
|
|
156
|
-
(0, class_validator_1.IsOptional)(),
|
|
157
|
-
__metadata("design:type", Object)
|
|
158
|
-
], CreateQontoRegistration.prototype, "country", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, utils_1.ApiProperty)(),
|
|
161
|
-
(0, class_validator_1.IsString)(),
|
|
162
|
-
__metadata("design:type", String)
|
|
163
|
-
], CreateQontoRegistration.prototype, "totalCapitalAmount", void 0);
|
|
164
|
-
__decorate([
|
|
165
|
-
(0, utils_1.ApiProperty)(),
|
|
166
|
-
__metadata("design:type", Array)
|
|
167
|
-
], CreateQontoRegistration.prototype, "stakeHolders", void 0);
|
|
168
|
-
__decorate([
|
|
169
|
-
(0, utils_1.ApiProperty)(),
|
|
170
|
-
(0, class_validator_1.IsNumber)(),
|
|
171
|
-
__metadata("design:type", Number)
|
|
172
|
-
], CreateQontoRegistration.prototype, "idSociety", void 0);
|
|
173
|
-
class CreateRegistrationFile {
|
|
174
|
-
}
|
|
175
|
-
exports.CreateRegistrationFile = CreateRegistrationFile;
|
|
176
|
-
__decorate([
|
|
177
|
-
(0, utils_1.ApiProperty)(),
|
|
178
|
-
__metadata("design:type", Object)
|
|
179
|
-
], CreateRegistrationFile.prototype, "file", void 0);
|
|
180
|
-
__decorate([
|
|
181
|
-
(0, utils_1.ApiProperty)(),
|
|
182
|
-
__metadata("design:type", String)
|
|
183
|
-
], CreateRegistrationFile.prototype, "fileType", void 0);
|
|
184
|
-
__decorate([
|
|
185
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
186
|
-
(0, class_validator_1.IsString)(),
|
|
187
|
-
(0, class_validator_1.IsOptional)(),
|
|
188
|
-
__metadata("design:type", String)
|
|
189
|
-
], CreateRegistrationFile.prototype, "stakeholderId", void 0);
|
|
190
|
-
class CreateWebhookConfig {
|
|
191
|
-
}
|
|
192
|
-
exports.CreateWebhookConfig = CreateWebhookConfig;
|
|
193
|
-
__decorate([
|
|
194
|
-
(0, utils_1.ApiProperty)(),
|
|
195
|
-
(0, class_validator_1.IsString)(),
|
|
196
|
-
__metadata("design:type", String)
|
|
197
|
-
], CreateWebhookConfig.prototype, "callbackUrl", void 0);
|
|
198
|
-
__decorate([
|
|
199
|
-
(0, utils_1.ApiProperty)(),
|
|
200
|
-
(0, class_validator_1.IsString)(),
|
|
201
|
-
__metadata("design:type", String)
|
|
202
|
-
], CreateWebhookConfig.prototype, "secret", void 0);
|
|
203
|
-
__decorate([
|
|
204
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
205
|
-
(0, class_validator_1.IsBoolean)(),
|
|
206
|
-
(0, boolean_transform_1.ToBoolean)(),
|
|
207
|
-
(0, class_validator_1.IsOptional)(),
|
|
208
|
-
__metadata("design:type", Boolean)
|
|
209
|
-
], CreateWebhookConfig.prototype, "enabled", void 0);
|
|
210
56
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,6CAAqE;AAErE,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;kDACE;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;kDACE;AAGnB,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACM;AAGnB,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACI,KAAK;wDAAS;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACO,KAAK;2DAAS","sourcesContent":["import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n}\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n"]}
|
|
@@ -74,32 +74,6 @@ export type GetQontoAttachment = {
|
|
|
74
74
|
url: string | null;
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
export type ReadQontoRegistration = {
|
|
78
|
-
id: string;
|
|
79
|
-
legal_flow: string;
|
|
80
|
-
flow: {
|
|
81
|
-
type: 'manual' | 'seamless';
|
|
82
|
-
breakdown: {
|
|
83
|
-
code: string;
|
|
84
|
-
detail: string;
|
|
85
|
-
source: {
|
|
86
|
-
pointer: string;
|
|
87
|
-
};
|
|
88
|
-
} | null;
|
|
89
|
-
};
|
|
90
|
-
status: 'created' | 'pending' | 'user_started' | 'price_plan_selected' | 'contract_signed' | 'submitted' | 'capital_deposit_activated' | 'capital_deposit_request_signed' | 'capital_deposit_certificate_signed' | 'completed';
|
|
91
|
-
redirection_link: string;
|
|
92
|
-
created_at: string;
|
|
93
|
-
updated_at: string;
|
|
94
|
-
locale: string;
|
|
95
|
-
partner_user: {
|
|
96
|
-
first_name: string | null;
|
|
97
|
-
last_name: string | null;
|
|
98
|
-
email: string | null;
|
|
99
|
-
};
|
|
100
|
-
organization: ReadOrganization;
|
|
101
|
-
stakeholders: ReadStakeHolder[];
|
|
102
|
-
};
|
|
103
77
|
export type ReadOrganization = {
|
|
104
78
|
id?: string;
|
|
105
79
|
entity_type: 'freelancer' | 'company';
|
|
@@ -149,22 +123,4 @@ export declare class ReadStakeHolder {
|
|
|
149
123
|
shareholding_type: 'physical' | null;
|
|
150
124
|
}
|
|
151
125
|
export type ReadStakeHolders = ReadStakeHolder[];
|
|
152
|
-
export declare class ReadQontoRegistrationFile {
|
|
153
|
-
id: string;
|
|
154
|
-
filename: string;
|
|
155
|
-
filesize_bytes: number;
|
|
156
|
-
url: string;
|
|
157
|
-
created_at: string;
|
|
158
|
-
file_type: string;
|
|
159
|
-
stakeholder_id: string | null;
|
|
160
|
-
}
|
|
161
|
-
export type ReadQontoWebhookConfig = {
|
|
162
|
-
id: string;
|
|
163
|
-
created_at: string;
|
|
164
|
-
updated_at: string;
|
|
165
|
-
callback_url: string;
|
|
166
|
-
enabled: boolean;
|
|
167
|
-
secret: string;
|
|
168
|
-
};
|
|
169
|
-
export type RegistrationFileType = 'organization-deposit-certificate' | 'organization-proof-of-address' | 'organization-by-laws' | 'organization-kbis' | 'stakeholder-proof-of-identity' | 'stakeholder-residence-permit';
|
|
170
126
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wBAAwB,EAAE,MAAM,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,GAAG,IAA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adStakeHolder = void 0;
|
|
4
4
|
class ReadStakeHolder {
|
|
5
5
|
}
|
|
6
6
|
exports.ReadStakeHolder = ReadStakeHolder;
|
|
7
|
-
class ReadQontoRegistrationFile {
|
|
8
|
-
}
|
|
9
|
-
exports.ReadQontoRegistrationFile = ReadQontoRegistrationFile;
|
|
10
7
|
//# sourceMappingURL=Query.js.map
|