@silexpert/core 1.1.245 → 1.1.247
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 +8 -1
- package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/cjs/api/resources/Qonto.js +23 -0
- package/dist/cjs/api/resources/Qonto.js.map +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.js +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts +1 -0
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.js +6 -0
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts +47 -0
- package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/qonto/Create.js +210 -0
- package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts +93 -0
- package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/qonto/Query.js +7 -0
- package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/UpdateSociety.d.ts +17 -17
- package/dist/cjs/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/UpdateSociety.js +17 -17
- package/dist/cjs/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/dist/cjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.d.ts +1 -1
- package/dist/cjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.js +2 -1
- package/dist/cjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -3
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -3
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Qonto.d.ts +8 -1
- package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
- package/dist/mjs/api/resources/Qonto.js +23 -0
- package/dist/mjs/api/resources/Qonto.js.map +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.js +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts +1 -0
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.js +7 -0
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts +47 -0
- package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/qonto/Create.js +233 -0
- package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts +93 -0
- package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/qonto/Query.js +24 -1
- package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/UpdateSociety.d.ts +17 -17
- package/dist/mjs/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/UpdateSociety.js +17 -17
- package/dist/mjs/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/dist/mjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.d.ts +1 -1
- package/dist/mjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.js +2 -1
- package/dist/mjs/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -3
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -3
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Qonto.ts +30 -1
- package/ts/api/resources/WorkingSchedule.ts +1 -1
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +5 -0
- package/ts/types/Interface/api/qonto/Create.ts +167 -0
- package/ts/types/Interface/api/qonto/Query.ts +103 -1
- package/ts/types/Interface/api/society/UpdateSociety.ts +17 -17
- package/ts/types/Interface/api/workingSchedule/QueryAvailableTimeSlot.ts +3 -2
- package/ts/types/Interface/models/ISocietyConfig.ts +1 -0
- package/ts/types/index.ts +1 -3
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.js +0 -30
- package/dist/cjs/types/Interface/api/qonto/CreateImportation.js.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.js +0 -28
- package/dist/cjs/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.js +0 -28
- package/dist/cjs/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.js +0 -28
- package/dist/mjs/types/Interface/api/qonto/CreateImportation.js.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.js +0 -26
- package/dist/mjs/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.js +0 -26
- package/dist/mjs/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
- package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
- package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
- package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ProcessBankAccount, CreateQontoConnection, CreateImportation, GetConnectionInformation, GetQontoOrganization, IBankAccount, IBankConnection, ReadCreateConnection, UpdateConnection, CreateImportationResult, CreateQontoRegistration, ReadQontoRegistration, CreateRegistrationFile, CreateWebhookConfig, ReadQontoWebhookConfig } from '../../types';
|
|
2
3
|
import { Resource } from '../Resource';
|
|
3
4
|
export declare class Qonto extends Resource {
|
|
4
5
|
delete(idBankConnection: number): Promise<IBankAccount>;
|
|
@@ -7,5 +8,11 @@ export declare class Qonto extends Resource {
|
|
|
7
8
|
processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]>;
|
|
8
9
|
create(payload: CreateQontoConnection): Promise<ReadCreateConnection>;
|
|
9
10
|
updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection>;
|
|
11
|
+
createRegistration(params: CreateQontoRegistration): Promise<ReadQontoRegistration>;
|
|
12
|
+
getRegistration(idRegistration: string): Promise<ReadQontoRegistration>;
|
|
13
|
+
createRegistrationFile(idRegistration: string, params: CreateRegistrationFile): Promise<ReadQontoRegistration>;
|
|
14
|
+
getRegistrationFileBuffer(idRegistration: string, idFile: string): Promise<Buffer>;
|
|
15
|
+
createWebhookConfig(params: CreateWebhookConfig): Promise<ReadQontoWebhookConfig>;
|
|
16
|
+
triggerNewMailForRegistrationLink(idRegistration: string): Promise<void>;
|
|
10
17
|
}
|
|
11
18
|
//# 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,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"Qonto.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,sBAAsB,EACvR,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;IAIrE,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAI/F,kBAAkB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAInF,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAIvE,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAS9G,yBAAyB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIlF,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIjF,iCAAiC,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGzE"}
|
|
@@ -21,6 +21,29 @@ class Qonto extends Resource_1.Resource {
|
|
|
21
21
|
updateConnection(idBankConnection, payload) {
|
|
22
22
|
return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);
|
|
23
23
|
}
|
|
24
|
+
createRegistration(params) {
|
|
25
|
+
return this.axios.$post('connectors/qonto/registrations', params);
|
|
26
|
+
}
|
|
27
|
+
getRegistration(idRegistration) {
|
|
28
|
+
return this.axios.$post(`connectors/qonto/registrations/${idRegistration}`);
|
|
29
|
+
}
|
|
30
|
+
createRegistrationFile(idRegistration, params) {
|
|
31
|
+
return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/files`, params, {
|
|
32
|
+
responseType: 'arraybuffer',
|
|
33
|
+
headers: {
|
|
34
|
+
Accept: 'application/pdf',
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
getRegistrationFileBuffer(idRegistration, idFile) {
|
|
39
|
+
return this.axios.$get(`connectors/qonto/registrations/${idRegistration}/files/${idFile}/download`);
|
|
40
|
+
}
|
|
41
|
+
createWebhookConfig(params) {
|
|
42
|
+
return this.axios.$post('connectors/qonto/registrations/webhooks-configs', params);
|
|
43
|
+
}
|
|
44
|
+
triggerNewMailForRegistrationLink(idRegistration) {
|
|
45
|
+
return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/email`);
|
|
46
|
+
}
|
|
24
47
|
}
|
|
25
48
|
exports.Qonto = Qonto;
|
|
26
49
|
//# sourceMappingURL=Qonto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":";;;AAKA,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,a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IACrG,CAAC;IAED,MAAM,CAAC,OAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB,CAAC,gBAAwB,EAAE,OAAyB;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gCAAgC,gBAAgB,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED,kBAAkB,CAAC,MAA+B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC;IAED,eAAe,CAAC,cAAsB;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kCAAkC,cAAc,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,sBAAsB,CAAC,cAAsB,EAAE,MAA8B;QAC3E,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kCAAkC,cAAc,QAAQ,EAAE,MAAM,EAAE;YACxF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,yBAAyB,CAAC,cAAsB,EAAE,MAAc;QAC9D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kCAAkC,cAAc,UAAU,MAAM,WAAW,CAAC,CAAC;IACtG,CAAC;IAED,mBAAmB,CAAC,MAA2B;QAC7C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iDAAiD,EAAE,MAAM,CAAC,CAAC;IACrF,CAAC;IAED,iCAAiC,CAAC,cAAsB;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kCAAkC,cAAc,QAAQ,CAAC,CAAC;IACpF,CAAC;CACF;AArDD,sBAqDC","sourcesContent":["import {\n ProcessBankAccount,\n CreateQontoConnection,\n CreateImportation, GetConnectionInformation, GetQontoOrganization, IBankAccount, IBankConnection, ReadCreateConnection, UpdateConnection, CreateImportationResult, CreateQontoRegistration, ReadQontoRegistration, CreateRegistrationFile, CreateWebhookConfig, ReadQontoWebhookConfig,\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 updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection> {\n return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);\n }\n\n createRegistration(params: CreateQontoRegistration): Promise<ReadQontoRegistration> {\n return this.axios.$post('connectors/qonto/registrations', params);\n }\n\n getRegistration(idRegistration: string): Promise<ReadQontoRegistration> {\n return this.axios.$post(`connectors/qonto/registrations/${idRegistration}`);\n }\n\n createRegistrationFile(idRegistration: string, params: CreateRegistrationFile): Promise<ReadQontoRegistration> {\n return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/files`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getRegistrationFileBuffer(idRegistration: string, idFile: string): Promise<Buffer> {\n return this.axios.$get(`connectors/qonto/registrations/${idRegistration}/files/${idFile}/download`);\n }\n\n createWebhookConfig(params: CreateWebhookConfig): Promise<ReadQontoWebhookConfig> {\n return this.axios.$post('connectors/qonto/registrations/webhooks-configs', params);\n }\n\n triggerNewMailForRegistrationLink(idRegistration: string): Promise<void> {\n return this.axios.$post(`connectors/qonto/registrations/${idRegistration}/email`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkingSchedule.js","sourceRoot":"","sources":["../../../../ts/api/resources/WorkingSchedule.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,8BAA8B,CAAC,MAAc,EAAE,SAAe,EAAE,OAAa;QAC3E,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iDAAiD,EAAE;YACxE,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE;SACvC,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,SAAkB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE,MAAM,EAAE;YAClD,MAAM,EAAE,EAAE,SAAS,EAAE;YACrB,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,GAAG,CAAC,EAAU;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;IAClD,CAAC;IAED,qBAAqB,CAAC,MAA8B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sCAAsC,EAAE;YAC7D,MAAM
|
|
1
|
+
{"version":3,"file":"WorkingSchedule.js","sourceRoot":"","sources":["../../../../ts/api/resources/WorkingSchedule.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,8BAA8B,CAAC,MAAc,EAAE,SAAe,EAAE,OAAa;QAC3E,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iDAAiD,EAAE;YACxE,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE;SACvC,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,SAAkB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE,MAAM,EAAE;YAClD,MAAM,EAAE,EAAE,SAAS,EAAE;YACrB,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,GAAG,CAAC,EAAU;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;IAClD,CAAC;IAED,qBAAqB,CAAC,MAA8B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sCAAsC,EAAE;YAC7D,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF;AA1BD,0CA0BC","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryAvailableTimeSlot, ReadWorkingSchedule, SpecialHours, TimeSlots } from '../..';\n\nexport class WorkingSchedule extends Resource {\n getSpecialHoursForCollaborator(idUser: number, startDate: Date, endDate: Date): Promise<SpecialHours> {\n return this.axios.$get('/workingSchedule/special-hours-for-collaborator', {\n params: { idUser, startDate, endDate },\n });\n }\n\n getPdf(id: number, modifDate?: string): Promise<Buffer> {\n return this.axios.$get(`workingSchedule/${id}/pdf`, {\n params: { modifDate },\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n get(id: number): Promise<ReadWorkingSchedule> {\n return this.axios.$get(`workingSchedule/${id}`);\n }\n\n getAvailableTimeSlots(params: QueryAvailableTimeSlot): Promise<TimeSlots[]> {\n return this.axios.$get('workingSchedule/available-time-slots', {\n params,\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryBankStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankStatement/QueryBankStatement.ts"],"names":[],"mappings":"AAIA,qBAAa,mBAAmB;IAG5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryBankStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankStatement/QueryBankStatement.ts"],"names":[],"mappings":"AAIA,qBAAa,mBAAmB;IAG5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,MAAM,CAAC;IAKtB,SAAS,EAAE,MAAM,CAAC;IAMlB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEzB,IAAI,EAAE,IAAI,CAAC;CACZ"}
|
|
@@ -26,6 +26,12 @@ __decorate([
|
|
|
26
26
|
(0, class_validator_1.IsNotEmpty)(),
|
|
27
27
|
__metadata("design:type", Number)
|
|
28
28
|
], UploadBankStatement.prototype, "idBankAccount", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, utils_1.ApiProperty)(),
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], UploadBankStatement.prototype, "idSociety", void 0);
|
|
29
35
|
__decorate([
|
|
30
36
|
(0, utils_1.ApiPropertyOptional)(),
|
|
31
37
|
(0, class_validator_1.IsBoolean)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryBankStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankStatement/QueryBankStatement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"QueryBankStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankStatement/QueryBankStatement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,mBAAmB;CAsB/B;AArBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAmB,GAAE;;qDACF;AAEpB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAExB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACO;AAEpB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACY;AAnB3B,kDAsBC","sourcesContent":["import { IsBoolean, IsNotEmpty, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UploadBankStatement {\n @IsOptional()\n @ApiPropertyOptional()\n tokenCsv?: string;\n\n @ApiProperty()\n @IsNumber()\n @IsNotEmpty()\n idBankAccount: number;\n\n @ApiProperty()\n @IsNumber()\n @IsNotEmpty()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n fromRevision?: boolean;\n\n file: File;\n}"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { RegistrationFileType, ReadStakeHolders } from './Query';
|
|
2
|
+
import { TFile } from '../file/TFile';
|
|
3
|
+
export declare class CreateImportation {
|
|
4
|
+
minDate?: string;
|
|
5
|
+
maxDate?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class CreateQontoConnection {
|
|
8
|
+
login: string;
|
|
9
|
+
password: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class ProcessBankAccount {
|
|
12
|
+
idsSlugToAdd: Array<string>;
|
|
13
|
+
idsSlugToRemove: Array<string>;
|
|
14
|
+
}
|
|
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
|
+
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,iBAAiB;IAI1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,qBAAa,qBAAqB;IAG9B,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;CACpB;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M,CAAC;CAC1B;AAED,qBAAa,mBAAmB;IAG5B,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,EAAE,MAAM,CAAC;IAMf,OAAO,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateWebhookConfig = exports.CreateRegistrationFile = exports.CreateQontoRegistration = exports.ProcessBankAccount = exports.CreateQontoConnection = exports.CreateImportation = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
|
+
class CreateImportation {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsDateString)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateImportation.prototype, "minDate", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsDateString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreateImportation.prototype, "maxDate", void 0);
|
|
30
|
+
exports.CreateImportation = CreateImportation;
|
|
31
|
+
class CreateQontoConnection {
|
|
32
|
+
}
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, utils_1.ApiProperty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], CreateQontoConnection.prototype, "login", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.ApiProperty)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CreateQontoConnection.prototype, "password", void 0);
|
|
43
|
+
exports.CreateQontoConnection = CreateQontoConnection;
|
|
44
|
+
class ProcessBankAccount {
|
|
45
|
+
}
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, utils_1.ApiProperty)(),
|
|
48
|
+
(0, class_validator_1.IsArray)(),
|
|
49
|
+
__metadata("design:type", Array)
|
|
50
|
+
], ProcessBankAccount.prototype, "idsSlugToAdd", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, utils_1.ApiProperty)(),
|
|
53
|
+
(0, class_validator_1.IsArray)(),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
|
|
56
|
+
exports.ProcessBankAccount = ProcessBankAccount;
|
|
57
|
+
class CreateQontoRegistration {
|
|
58
|
+
}
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, utils_1.ApiProperty)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], CreateQontoRegistration.prototype, "legalFlow", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, utils_1.ApiProperty)(),
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CreateQontoRegistration.prototype, "locale", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
__metadata("design:type", Object)
|
|
74
|
+
], CreateQontoRegistration.prototype, "firstName", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
77
|
+
(0, class_validator_1.IsString)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
|
+
], CreateQontoRegistration.prototype, "lastName", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
83
|
+
(0, class_validator_1.IsString)(),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
__metadata("design:type", Object)
|
|
86
|
+
], CreateQontoRegistration.prototype, "email", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, utils_1.ApiProperty)(),
|
|
89
|
+
(0, class_validator_1.IsString)(),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], CreateQontoRegistration.prototype, "entityType", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
94
|
+
(0, class_validator_1.IsString)(),
|
|
95
|
+
(0, class_validator_1.IsOptional)(),
|
|
96
|
+
__metadata("design:type", Object)
|
|
97
|
+
], CreateQontoRegistration.prototype, "legalName", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
100
|
+
(0, class_validator_1.IsString)(),
|
|
101
|
+
(0, class_validator_1.IsOptional)(),
|
|
102
|
+
__metadata("design:type", Object)
|
|
103
|
+
], CreateQontoRegistration.prototype, "legalForm", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
106
|
+
(0, class_validator_1.IsString)(),
|
|
107
|
+
(0, class_validator_1.IsOptional)(),
|
|
108
|
+
__metadata("design:type", Object)
|
|
109
|
+
], CreateQontoRegistration.prototype, "number", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
112
|
+
(0, class_validator_1.IsString)(),
|
|
113
|
+
(0, class_validator_1.IsOptional)(),
|
|
114
|
+
__metadata("design:type", Object)
|
|
115
|
+
], CreateQontoRegistration.prototype, "sector", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
118
|
+
(0, class_validator_1.IsString)(),
|
|
119
|
+
(0, class_validator_1.IsOptional)(),
|
|
120
|
+
__metadata("design:type", Object)
|
|
121
|
+
], CreateQontoRegistration.prototype, "registrationDate", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
124
|
+
(0, class_validator_1.IsString)(),
|
|
125
|
+
(0, class_validator_1.IsOptional)(),
|
|
126
|
+
__metadata("design:type", Object)
|
|
127
|
+
], CreateQontoRegistration.prototype, "vatNumber", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
130
|
+
(0, class_validator_1.IsString)(),
|
|
131
|
+
(0, class_validator_1.IsOptional)(),
|
|
132
|
+
__metadata("design:type", Object)
|
|
133
|
+
], CreateQontoRegistration.prototype, "addressStreet", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
136
|
+
(0, class_validator_1.IsString)(),
|
|
137
|
+
(0, class_validator_1.IsOptional)(),
|
|
138
|
+
__metadata("design:type", Object)
|
|
139
|
+
], CreateQontoRegistration.prototype, "addressStreet2", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
142
|
+
(0, class_validator_1.IsString)(),
|
|
143
|
+
(0, class_validator_1.IsOptional)(),
|
|
144
|
+
__metadata("design:type", Object)
|
|
145
|
+
], CreateQontoRegistration.prototype, "postalCode", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
148
|
+
(0, class_validator_1.IsString)(),
|
|
149
|
+
(0, class_validator_1.IsOptional)(),
|
|
150
|
+
__metadata("design:type", Object)
|
|
151
|
+
], CreateQontoRegistration.prototype, "city", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
154
|
+
(0, class_validator_1.IsString)(),
|
|
155
|
+
(0, class_validator_1.IsOptional)(),
|
|
156
|
+
__metadata("design:type", Object)
|
|
157
|
+
], CreateQontoRegistration.prototype, "country", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, utils_1.ApiProperty)(),
|
|
160
|
+
(0, class_validator_1.IsString)(),
|
|
161
|
+
__metadata("design:type", String)
|
|
162
|
+
], CreateQontoRegistration.prototype, "totalCapitalAmount", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, utils_1.ApiProperty)(),
|
|
165
|
+
__metadata("design:type", Array)
|
|
166
|
+
], CreateQontoRegistration.prototype, "stakeHolders", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, utils_1.ApiProperty)(),
|
|
169
|
+
(0, class_validator_1.IsNumber)(),
|
|
170
|
+
__metadata("design:type", Number)
|
|
171
|
+
], CreateQontoRegistration.prototype, "idSociety", void 0);
|
|
172
|
+
exports.CreateQontoRegistration = CreateQontoRegistration;
|
|
173
|
+
class CreateRegistrationFile {
|
|
174
|
+
}
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, utils_1.ApiProperty)(),
|
|
177
|
+
__metadata("design:type", Object)
|
|
178
|
+
], CreateRegistrationFile.prototype, "file", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, utils_1.ApiProperty)(),
|
|
181
|
+
__metadata("design:type", String)
|
|
182
|
+
], CreateRegistrationFile.prototype, "fileType", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
185
|
+
(0, class_validator_1.IsString)(),
|
|
186
|
+
(0, class_validator_1.IsOptional)(),
|
|
187
|
+
__metadata("design:type", String)
|
|
188
|
+
], CreateRegistrationFile.prototype, "stakeholderId", void 0);
|
|
189
|
+
exports.CreateRegistrationFile = CreateRegistrationFile;
|
|
190
|
+
class CreateWebhookConfig {
|
|
191
|
+
}
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, utils_1.ApiProperty)(),
|
|
194
|
+
(0, class_validator_1.IsString)(),
|
|
195
|
+
__metadata("design:type", String)
|
|
196
|
+
], CreateWebhookConfig.prototype, "callbackUrl", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, utils_1.ApiProperty)(),
|
|
199
|
+
(0, class_validator_1.IsString)(),
|
|
200
|
+
__metadata("design:type", String)
|
|
201
|
+
], CreateWebhookConfig.prototype, "secret", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
204
|
+
(0, class_validator_1.IsBoolean)(),
|
|
205
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
206
|
+
(0, class_validator_1.IsOptional)(),
|
|
207
|
+
__metadata("design:type", Boolean)
|
|
208
|
+
], CreateWebhookConfig.prototype, "enabled", void 0);
|
|
209
|
+
exports.CreateWebhookConfig = CreateWebhookConfig;
|
|
210
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmG;AACnG,6CAAqE;AAGrE,sFAA2E;AAE3E,MAAa,iBAAiB;CAU7B;AATC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4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C,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wDACW;AAEtB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;mDACM;AAEjB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAbrB,kDAcC","sourcesContent":["import { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { RegistrationFileType, ReadStakeHolders } from './Query';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\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\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n\n\n\n\nexport class CreateQontoRegistration {\n @ApiProperty()\n @IsString()\n legalFlow: 'company_creation' | 'existing_company';\n\n @ApiProperty()\n @IsString()\n locale: 'en' | 'fr' | 'it' | 'es' | 'de';\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n firstName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n lastName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n email?: string | null;\n\n @ApiProperty()\n @IsString()\n entityType: 'freelancer' | 'company';\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n legalName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n legalForm?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n number?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n sector?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n registrationDate?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n vatNumber?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n addressStreet?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n addressStreet2?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n postalCode?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n country?: string | null;\n\n @ApiProperty()\n @IsString()\n totalCapitalAmount: string;\n\n @ApiProperty()\n stakeHolders: ReadStakeHolders;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n}\n\n\nexport class CreateRegistrationFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n fileType: RegistrationFileType;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n stakeholderId?: string;\n}\n\nexport class CreateWebhookConfig {\n @ApiProperty()\n @IsString()\n callbackUrl: string;\n\n @ApiProperty()\n @IsString()\n secret: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n enabled: boolean;\n}"]}
|
|
@@ -74,4 +74,97 @@ 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
|
+
export type ReadOrganization = {
|
|
104
|
+
id?: string;
|
|
105
|
+
entity_type: 'freelancer' | 'company';
|
|
106
|
+
legal_name: string | null;
|
|
107
|
+
legal_form: string | null;
|
|
108
|
+
legal_number?: string | null;
|
|
109
|
+
legal_sector?: string | null;
|
|
110
|
+
legal_registration_date?: string | null;
|
|
111
|
+
legal_vat_number?: string | null;
|
|
112
|
+
address: {
|
|
113
|
+
line_1: string | null;
|
|
114
|
+
line_2?: string | null;
|
|
115
|
+
postal_code: string | null;
|
|
116
|
+
city: string | null;
|
|
117
|
+
country: string | null;
|
|
118
|
+
};
|
|
119
|
+
total_capital_amount: {
|
|
120
|
+
value: string;
|
|
121
|
+
currency: 'EUR';
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare class ReadStakeHolder {
|
|
125
|
+
id?: string;
|
|
126
|
+
capital_amount: {
|
|
127
|
+
value: string;
|
|
128
|
+
currency: 'EUR';
|
|
129
|
+
};
|
|
130
|
+
is_owner: boolean | null;
|
|
131
|
+
first_name: string | null;
|
|
132
|
+
last_name: string | null;
|
|
133
|
+
email: string | null;
|
|
134
|
+
gender: 'male' | 'female' | 'other' | null;
|
|
135
|
+
phone_number: string | null;
|
|
136
|
+
nationality: string | null;
|
|
137
|
+
birth_date: string | null;
|
|
138
|
+
birth_address: {
|
|
139
|
+
postal_code: string | null;
|
|
140
|
+
city: string | null;
|
|
141
|
+
country: string | null;
|
|
142
|
+
};
|
|
143
|
+
residence_address: {
|
|
144
|
+
line_1: string | null;
|
|
145
|
+
postal_code: string | null;
|
|
146
|
+
city: string | null;
|
|
147
|
+
country: string | null;
|
|
148
|
+
};
|
|
149
|
+
shareholding_type: 'physical' | null;
|
|
150
|
+
}
|
|
151
|
+
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';
|
|
77
170
|
//# 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,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AE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,kCAAkC,GAAG,+BAA+B,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,+BAA+B,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReadQontoRegistrationFile = exports.ReadStakeHolder = void 0;
|
|
4
|
+
class ReadStakeHolder {
|
|
5
|
+
}
|
|
6
|
+
exports.ReadStakeHolder = ReadStakeHolder;
|
|
7
|
+
class ReadQontoRegistrationFile {
|
|
8
|
+
}
|
|
9
|
+
exports.ReadQontoRegistrationFile = ReadQontoRegistrationFile;
|
|
3
10
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n }\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n }\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[],\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean,\n attachment_required: boolean,\n card_last_digits: string | null,\n category: string | null,\n id: string | null\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size:string;\n url: string | null;\n }\n};"]}
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":";;;AAmIA,MAAa,eAAe;CA0B3B;AA1BD,0CA0BC;AAID,MAAa,yBAAyB;CASrC;AATD,8DASC","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n }\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n }\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[],\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean,\n attachment_required: boolean,\n card_last_digits: string | null,\n category: string | null,\n id: string | null\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size:string;\n url: string | null;\n }\n};\n\n\nexport type ReadQontoRegistration = {\n id: string;\n legal_flow: string; // Registration type => company_creation (Company in creation), existing_company (Company already exists)\n flow: {\n type: 'manual' | 'seamless', // which type of flow the user will be redirected\n breakdown: {\n code: string;\n detail: string;\n source: {\n pointer: string;\n }\n } | null;\n };\n status: 'created' | 'pending' | 'user_started' | 'price_plan_selected' | 'contract_signed' | 'submitted' | 'capital_deposit_activated' | 'capital_deposit_request_signed' | 'capital_deposit_certificate_signed' | 'completed';\n redirection_link: string; // link where the user is redirected\n created_at: string;\n updated_at: string;\n locale: string;\n partner_user: {\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n };\n organization: ReadOrganization,\n stakeholders: ReadStakeHolder[]\n};\n\nexport type ReadOrganization = {\n id?: string;\n entity_type: 'freelancer' | 'company';\n legal_name: string | null;\n legal_form: string | null;\n legal_number?: string | null;\n legal_sector?: string | null;\n legal_registration_date?: string | null;\n legal_vat_number?: string | null;\n address: {\n line_1: string | null;\n line_2?: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n total_capital_amount: {\n value: string;\n currency: 'EUR'\n }\n};\n\nexport class ReadStakeHolder {\n id?: string;\n capital_amount: {\n value: string;\n currency: 'EUR'\n };\n is_owner: boolean | null;\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n gender: 'male' | 'female' | 'other' | null;\n phone_number: string | null;\n nationality: string | null; // ISO country code\n birth_date: string | null;\n birth_address: {\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n residence_address: {\n line_1: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n shareholding_type: 'physical' | null;\n}\n\nexport type ReadStakeHolders = ReadStakeHolder[];\n\nexport class ReadQontoRegistrationFile {\n id: string;\n filename: string;\n filesize_bytes: number;\n url: string; // TTL of 2 hours\n created_at: string;\n file_type: string;\n stakeholder_id: string | null;\n\n}\n\nexport type ReadQontoWebhookConfig = {\n id: string;\n created_at: string;\n updated_at: string;\n callback_url: string;\n enabled: boolean;\n secret: string;\n};\n\nexport type RegistrationFileType = 'organization-deposit-certificate' | 'organization-proof-of-address' | 'organization-by-laws' | 'organization-kbis' | 'stakeholder-proof-of-identity' | 'stakeholder-residence-permit';"]}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { ISociety } from '../../models/ISociety';
|
|
2
2
|
export declare class UpdateSociety {
|
|
3
3
|
idTypeCompta?: number;
|
|
4
|
-
idUser?: number;
|
|
5
|
-
name?: string;
|
|
6
|
-
address?: string;
|
|
7
|
-
city?: string;
|
|
8
|
-
zipCode?: string;
|
|
9
|
-
idCountry?: number;
|
|
10
|
-
idActivity?: number;
|
|
11
|
-
idVatRegime?: number;
|
|
12
|
-
idLegalForm?: number;
|
|
13
|
-
idFiscalRegime?: number;
|
|
14
|
-
profitsType?: number;
|
|
15
|
-
idTaxSystem?: number;
|
|
4
|
+
idUser?: number | null;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
address?: string | null;
|
|
7
|
+
city?: string | null;
|
|
8
|
+
zipCode?: string | null;
|
|
9
|
+
idCountry?: number | null;
|
|
10
|
+
idActivity?: number | null;
|
|
11
|
+
idVatRegime?: number | null;
|
|
12
|
+
idLegalForm?: number | null;
|
|
13
|
+
idFiscalRegime?: number | null;
|
|
14
|
+
profitsType?: number | null;
|
|
15
|
+
idTaxSystem?: number | null;
|
|
16
16
|
exercicePeriod?: {
|
|
17
17
|
start: string;
|
|
18
18
|
end: string;
|
|
19
19
|
};
|
|
20
|
-
confirmedAt?: string;
|
|
21
|
-
socialCapital?: string;
|
|
22
|
-
siret?: string;
|
|
23
|
-
oldNafCode?: string;
|
|
24
|
-
vatUploadDay?: number;
|
|
20
|
+
confirmedAt?: string | null;
|
|
21
|
+
socialCapital?: string | null;
|
|
22
|
+
siret?: string | null;
|
|
23
|
+
oldNafCode?: string | null;
|
|
24
|
+
vatUploadDay?: number | null;
|
|
25
25
|
startAt?: Date;
|
|
26
26
|
canceledFirstStepTourAt?: Date;
|
|
27
27
|
autoAnnotate?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,aAAa;IAEtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,aAAa;IAEtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,cAAc,CAAC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