@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":";;;AAuGA,MAAa,eAAe;CA0B3B;AA1BD,0CA0BC","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\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"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface SellsyConnectionStatus {
|
|
2
|
+
connected: boolean;
|
|
3
|
+
refreshed?: boolean;
|
|
4
|
+
needReauth?: boolean;
|
|
5
|
+
lastSync?: Date | string;
|
|
6
|
+
expiresAt?: Date;
|
|
7
|
+
expiresIn?: number;
|
|
8
|
+
message?: string;
|
|
9
|
+
error?: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=SellsyConnectionStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SellsyConnectionStatus.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SellsyConnectionStatus.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"","sourcesContent":["export interface SellsyConnectionStatus {\n connected: boolean;\n refreshed?: boolean;\n needReauth?: boolean;\n lastSync?: Date | string;\n expiresAt?: Date;\n expiresIn?: number;\n message?: string;\n error?: string;\n}\n"]}
|
|
@@ -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"}
|
|
@@ -15,34 +15,5 @@ export class Qonto extends Resource {
|
|
|
15
15
|
create(payload) {
|
|
16
16
|
return this.axios.$post('connectors/qonto/connections', payload);
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated use create
|
|
20
|
-
*/
|
|
21
|
-
updateConnection(idBankConnection, payload) {
|
|
22
|
-
return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);
|
|
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
|
-
}
|
|
47
18
|
}
|
|
48
19
|
//# 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,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;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","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,16 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
export class Sellsy extends Resource {
|
|
3
|
+
oauthCallback(payload) {
|
|
4
|
+
return this.axios.$post('/auth/sellsy/callback', payload);
|
|
5
|
+
}
|
|
6
|
+
disconnect(idSociety) {
|
|
7
|
+
return this.axios.$post('/auth/sellsy/disconnect', { idSociety });
|
|
8
|
+
}
|
|
9
|
+
getConnectionStatus(societyId) {
|
|
10
|
+
return this.axios.$get('/auth/sellsy/status', { params: { societyId } });
|
|
11
|
+
}
|
|
12
|
+
createInvoices(payload) {
|
|
13
|
+
return this.axios.$post('/connectors/sellsy/invoices', payload);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Sellsy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sellsy.js","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;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","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,25 +1,100 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
11
|
+
import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
|
|
12
|
+
import { Type } from 'class-transformer';
|
|
13
|
+
import { ConnectorType } from '../Enum/ConnectorType';
|
|
1
14
|
export class FormConnector {
|
|
2
|
-
// @ApiProperty()
|
|
3
15
|
id;
|
|
4
|
-
// @ApiProperty()
|
|
5
16
|
username;
|
|
6
|
-
// @ApiProperty()
|
|
7
17
|
pass;
|
|
8
|
-
// @ApiProperty()
|
|
9
18
|
url;
|
|
10
|
-
// @ApiProperty()
|
|
11
19
|
token;
|
|
12
|
-
// @ApiProperty()
|
|
13
20
|
token2;
|
|
14
|
-
// @ApiProperty()
|
|
15
21
|
token3;
|
|
16
|
-
// @ApiProperty()
|
|
17
22
|
token4;
|
|
18
|
-
// @ApiProperty()
|
|
19
23
|
date;
|
|
20
|
-
// @ApiProperty()
|
|
21
24
|
idTypeConnector;
|
|
22
|
-
// @ApiProperty()
|
|
23
25
|
idSociety;
|
|
26
|
+
expiresIn;
|
|
24
27
|
}
|
|
28
|
+
__decorate([
|
|
29
|
+
ApiPropertyOptional(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
IsNumber(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], FormConnector.prototype, "id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
ApiPropertyOptional(),
|
|
36
|
+
IsOptional(),
|
|
37
|
+
IsString(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], FormConnector.prototype, "username", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
ApiPropertyOptional(),
|
|
42
|
+
IsOptional(),
|
|
43
|
+
IsString(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], FormConnector.prototype, "pass", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
ApiPropertyOptional(),
|
|
48
|
+
IsOptional(),
|
|
49
|
+
IsString(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], FormConnector.prototype, "url", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
ApiPropertyOptional(),
|
|
54
|
+
IsOptional(),
|
|
55
|
+
IsString(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], FormConnector.prototype, "token", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
ApiPropertyOptional(),
|
|
60
|
+
IsOptional(),
|
|
61
|
+
IsString(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], FormConnector.prototype, "token2", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
ApiPropertyOptional(),
|
|
66
|
+
IsOptional(),
|
|
67
|
+
IsString(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], FormConnector.prototype, "token3", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
ApiPropertyOptional(),
|
|
72
|
+
IsOptional(),
|
|
73
|
+
IsString(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], FormConnector.prototype, "token4", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
ApiPropertyOptional({ type: String, format: 'date-time' }),
|
|
78
|
+
IsOptional(),
|
|
79
|
+
IsDate(),
|
|
80
|
+
Type(() => Date),
|
|
81
|
+
__metadata("design:type", Date)
|
|
82
|
+
], FormConnector.prototype, "date", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
ApiProperty({ enum: ConnectorType }),
|
|
85
|
+
IsEnum(ConnectorType),
|
|
86
|
+
__metadata("design:type", Number)
|
|
87
|
+
], FormConnector.prototype, "idTypeConnector", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
ApiPropertyOptional(),
|
|
90
|
+
IsOptional(),
|
|
91
|
+
IsNumber(),
|
|
92
|
+
__metadata("design:type", Number)
|
|
93
|
+
], FormConnector.prototype, "idSociety", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
ApiPropertyOptional(),
|
|
96
|
+
IsOptional(),
|
|
97
|
+
IsNumber(),
|
|
98
|
+
__metadata("design:type", Number)
|
|
99
|
+
], FormConnector.prototype, "expiresIn", void 0);
|
|
25
100
|
//# 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,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,OAAO,aAAa;IAIxB,EAAE,CAAU;IAKZ,QAAQ,CAAU;IAKlB,IAAI,CAAU;IAKd,GAAG,CAAU;IAKb,KAAK,CAAU;IAKf,MAAM,CAAU;IAKhB,MAAM,CAAU;IAKhB,MAAM,CAAU;IAMhB,IAAI,CAAQ;IAIZ,eAAe,CAAgB;IAK/B,SAAS,CAAU;IAKnB,SAAS,CAAU;CACpB;AAxDC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yCACC;AAKZ;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2CACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0CACE;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAMhB;IAJC,mBAAmB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IAC1D,UAAU,EAAE;IACZ,MAAM,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACV,IAAI;2CAAC;AAIZ;IAFC,WAAW,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;IACpC,MAAM,CAAC,aAAa,CAAC;;sDACS;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsString, IsOptional, 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"}
|
|
@@ -7,9 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsDateString, IsOptional, IsString, IsArray
|
|
10
|
+
import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';
|
|
11
11
|
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
12
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
12
|
export class CreateImportation {
|
|
14
13
|
minDate;
|
|
15
14
|
maxDate;
|
|
@@ -54,180 +53,4 @@ __decorate([
|
|
|
54
53
|
IsArray(),
|
|
55
54
|
__metadata("design:type", Array)
|
|
56
55
|
], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
|
|
57
|
-
export class CreateQontoRegistration {
|
|
58
|
-
legalFlow;
|
|
59
|
-
locale;
|
|
60
|
-
firstName;
|
|
61
|
-
lastName;
|
|
62
|
-
email;
|
|
63
|
-
entityType;
|
|
64
|
-
legalName;
|
|
65
|
-
legalForm;
|
|
66
|
-
number;
|
|
67
|
-
sector;
|
|
68
|
-
registrationDate;
|
|
69
|
-
vatNumber;
|
|
70
|
-
addressStreet;
|
|
71
|
-
addressStreet2;
|
|
72
|
-
postalCode;
|
|
73
|
-
city;
|
|
74
|
-
country;
|
|
75
|
-
totalCapitalAmount;
|
|
76
|
-
stakeHolders;
|
|
77
|
-
idSociety;
|
|
78
|
-
}
|
|
79
|
-
__decorate([
|
|
80
|
-
ApiProperty(),
|
|
81
|
-
IsString(),
|
|
82
|
-
__metadata("design:type", String)
|
|
83
|
-
], CreateQontoRegistration.prototype, "legalFlow", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
ApiProperty(),
|
|
86
|
-
IsString(),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], CreateQontoRegistration.prototype, "locale", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
ApiPropertyOptional(),
|
|
91
|
-
IsString(),
|
|
92
|
-
IsOptional(),
|
|
93
|
-
__metadata("design:type", Object)
|
|
94
|
-
], CreateQontoRegistration.prototype, "firstName", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
ApiPropertyOptional(),
|
|
97
|
-
IsString(),
|
|
98
|
-
IsOptional(),
|
|
99
|
-
__metadata("design:type", Object)
|
|
100
|
-
], CreateQontoRegistration.prototype, "lastName", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
ApiPropertyOptional(),
|
|
103
|
-
IsString(),
|
|
104
|
-
IsOptional(),
|
|
105
|
-
__metadata("design:type", Object)
|
|
106
|
-
], CreateQontoRegistration.prototype, "email", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
ApiProperty(),
|
|
109
|
-
IsString(),
|
|
110
|
-
__metadata("design:type", String)
|
|
111
|
-
], CreateQontoRegistration.prototype, "entityType", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
ApiPropertyOptional(),
|
|
114
|
-
IsString(),
|
|
115
|
-
IsOptional(),
|
|
116
|
-
__metadata("design:type", Object)
|
|
117
|
-
], CreateQontoRegistration.prototype, "legalName", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
ApiPropertyOptional(),
|
|
120
|
-
IsString(),
|
|
121
|
-
IsOptional(),
|
|
122
|
-
__metadata("design:type", Object)
|
|
123
|
-
], CreateQontoRegistration.prototype, "legalForm", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
ApiPropertyOptional(),
|
|
126
|
-
IsString(),
|
|
127
|
-
IsOptional(),
|
|
128
|
-
__metadata("design:type", Object)
|
|
129
|
-
], CreateQontoRegistration.prototype, "number", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
ApiPropertyOptional(),
|
|
132
|
-
IsString(),
|
|
133
|
-
IsOptional(),
|
|
134
|
-
__metadata("design:type", Object)
|
|
135
|
-
], CreateQontoRegistration.prototype, "sector", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
ApiPropertyOptional(),
|
|
138
|
-
IsString(),
|
|
139
|
-
IsOptional(),
|
|
140
|
-
__metadata("design:type", Object)
|
|
141
|
-
], CreateQontoRegistration.prototype, "registrationDate", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
ApiPropertyOptional(),
|
|
144
|
-
IsString(),
|
|
145
|
-
IsOptional(),
|
|
146
|
-
__metadata("design:type", Object)
|
|
147
|
-
], CreateQontoRegistration.prototype, "vatNumber", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
ApiPropertyOptional(),
|
|
150
|
-
IsString(),
|
|
151
|
-
IsOptional(),
|
|
152
|
-
__metadata("design:type", Object)
|
|
153
|
-
], CreateQontoRegistration.prototype, "addressStreet", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
ApiPropertyOptional(),
|
|
156
|
-
IsString(),
|
|
157
|
-
IsOptional(),
|
|
158
|
-
__metadata("design:type", Object)
|
|
159
|
-
], CreateQontoRegistration.prototype, "addressStreet2", void 0);
|
|
160
|
-
__decorate([
|
|
161
|
-
ApiPropertyOptional(),
|
|
162
|
-
IsString(),
|
|
163
|
-
IsOptional(),
|
|
164
|
-
__metadata("design:type", Object)
|
|
165
|
-
], CreateQontoRegistration.prototype, "postalCode", void 0);
|
|
166
|
-
__decorate([
|
|
167
|
-
ApiPropertyOptional(),
|
|
168
|
-
IsString(),
|
|
169
|
-
IsOptional(),
|
|
170
|
-
__metadata("design:type", Object)
|
|
171
|
-
], CreateQontoRegistration.prototype, "city", void 0);
|
|
172
|
-
__decorate([
|
|
173
|
-
ApiPropertyOptional(),
|
|
174
|
-
IsString(),
|
|
175
|
-
IsOptional(),
|
|
176
|
-
__metadata("design:type", Object)
|
|
177
|
-
], CreateQontoRegistration.prototype, "country", void 0);
|
|
178
|
-
__decorate([
|
|
179
|
-
ApiProperty(),
|
|
180
|
-
IsString(),
|
|
181
|
-
__metadata("design:type", String)
|
|
182
|
-
], CreateQontoRegistration.prototype, "totalCapitalAmount", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
ApiProperty(),
|
|
185
|
-
__metadata("design:type", Array)
|
|
186
|
-
], CreateQontoRegistration.prototype, "stakeHolders", void 0);
|
|
187
|
-
__decorate([
|
|
188
|
-
ApiProperty(),
|
|
189
|
-
IsNumber(),
|
|
190
|
-
__metadata("design:type", Number)
|
|
191
|
-
], CreateQontoRegistration.prototype, "idSociety", void 0);
|
|
192
|
-
export class CreateRegistrationFile {
|
|
193
|
-
file;
|
|
194
|
-
fileType;
|
|
195
|
-
stakeholderId;
|
|
196
|
-
}
|
|
197
|
-
__decorate([
|
|
198
|
-
ApiProperty(),
|
|
199
|
-
__metadata("design:type", Object)
|
|
200
|
-
], CreateRegistrationFile.prototype, "file", void 0);
|
|
201
|
-
__decorate([
|
|
202
|
-
ApiProperty(),
|
|
203
|
-
__metadata("design:type", String)
|
|
204
|
-
], CreateRegistrationFile.prototype, "fileType", void 0);
|
|
205
|
-
__decorate([
|
|
206
|
-
ApiPropertyOptional(),
|
|
207
|
-
IsString(),
|
|
208
|
-
IsOptional(),
|
|
209
|
-
__metadata("design:type", String)
|
|
210
|
-
], CreateRegistrationFile.prototype, "stakeholderId", void 0);
|
|
211
|
-
export class CreateWebhookConfig {
|
|
212
|
-
callbackUrl;
|
|
213
|
-
secret;
|
|
214
|
-
enabled;
|
|
215
|
-
}
|
|
216
|
-
__decorate([
|
|
217
|
-
ApiProperty(),
|
|
218
|
-
IsString(),
|
|
219
|
-
__metadata("design:type", String)
|
|
220
|
-
], CreateWebhookConfig.prototype, "callbackUrl", void 0);
|
|
221
|
-
__decorate([
|
|
222
|
-
ApiProperty(),
|
|
223
|
-
IsString(),
|
|
224
|
-
__metadata("design:type", String)
|
|
225
|
-
], CreateWebhookConfig.prototype, "secret", void 0);
|
|
226
|
-
__decorate([
|
|
227
|
-
ApiPropertyOptional(),
|
|
228
|
-
IsBoolean(),
|
|
229
|
-
ToBoolean(),
|
|
230
|
-
IsOptional(),
|
|
231
|
-
__metadata("design:type", Boolean)
|
|
232
|
-
], CreateWebhookConfig.prototype, "enabled", void 0);
|
|
233
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,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,iBAAiB;IAI5B,OAAO,CAAU;IAKjB,OAAO,CAAU;CAClB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;kDACE;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;kDACE;AAGnB,MAAM,OAAO,qBAAqB;IAGhC,KAAK,CAAS;IAId,QAAQ,CAAS;CAClB;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM;AAGnB,MAAM,OAAO,kBAAkB;IAG7B,YAAY,CAAgB;IAI5B,eAAe,CAAgB;CAChC;AALC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACI,KAAK;wDAAS;AAI5B;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;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"]}
|