@silexpert/core 2.0.90 → 2.0.92
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/api/resources/KycMandate.d.ts +2 -2
- package/dist/api/resources/KycMandate.d.ts.map +1 -1
- package/dist/api/resources/KycMandate.js +1 -1
- package/dist/api/resources/KycMandate.js.map +1 -1
- package/dist/types/Interface/api/kyc/Query.d.ts +1 -1
- package/dist/types/Interface/api/kyc/Query.d.ts.map +1 -1
- package/dist/types/Interface/api/kyc/Query.js +1 -1
- package/dist/types/Interface/api/kyc/Query.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/KycMandate.ts +5 -8
- package/ts/types/Interface/api/kyc/Query.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _InvoicingKycMAndateWithDirectoryLineInfo, BasePaginate,
|
|
1
|
+
import { _InvoicingKycMAndateWithDirectoryLineInfo, BasePaginate, QueryMandatePaginate } from '#types/index.js';
|
|
2
2
|
import { Resource } from '../Resource.js';
|
|
3
3
|
export declare class KycMandate extends Resource {
|
|
4
4
|
getAllBySociety(idSociety: number): Promise<_InvoicingKycMAndateWithDirectoryLineInfo[]>;
|
|
5
5
|
delete(idSociety: number, idMandate: number): Promise<number>;
|
|
6
|
-
getAllPaginate(params: QueryMandatePaginate): Promise<BasePaginate<
|
|
6
|
+
getAllPaginate(params: QueryMandatePaginate): Promise<BasePaginate<_InvoicingKycMAndateWithDirectoryLineInfo>>;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=KycMandate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KycMandate.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/KycMandate.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"KycMandate.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/KycMandate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAChH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,UAAW,SAAQ,QAAQ;IAC/B,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,yCAAyC,EAAE,CAAC;IAIxF,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7D,cAAc,CACnB,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAAC,YAAY,CAAC,yCAAyC,CAAC,CAAC;CAGpE"}
|
|
@@ -7,7 +7,7 @@ export class KycMandate extends Resource {
|
|
|
7
7
|
return this.axios.$delete(`/societies/${idSociety}/mandates/${idMandate}`);
|
|
8
8
|
}
|
|
9
9
|
getAllPaginate(params) {
|
|
10
|
-
return this.axios.$get('/societies/mandates/list');
|
|
10
|
+
return this.axios.$get('/societies/mandates/list', { params });
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=KycMandate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KycMandate.js","sourceRoot":"","sources":["../../../ts/api/resources/KycMandate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KycMandate.js","sourceRoot":"","sources":["../../../ts/api/resources/KycMandate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,OAAO,UAAW,SAAQ,QAAQ;IAC/B,eAAe,CAAC,SAAiB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,WAAW,CAAC,CAAC;IAC7D,CAAC;IAEM,MAAM,CAAC,SAAiB,EAAE,SAAiB;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,SAAS,aAAa,SAAS,EAAE,CAAC,CAAC;IAC7E,CAAC;IAEM,cAAc,CACnB,MAA4B;QAE5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import { _InvoicingKycMAndateWithDirectoryLineInfo, BasePaginate, QueryMandatePaginate } from '#types/index.js';\nimport { Resource } from '../Resource.js';\n\nexport class KycMandate extends Resource {\n public getAllBySociety(idSociety: number): Promise<_InvoicingKycMAndateWithDirectoryLineInfo[]> {\n return this.axios.$get(`/societies/${idSociety}/mandates`);\n }\n\n public delete(idSociety: number, idMandate: number): Promise<number> {\n return this.axios.$delete(`/societies/${idSociety}/mandates/${idMandate}`);\n }\n\n public getAllPaginate(\n params: QueryMandatePaginate,\n ): Promise<BasePaginate<_InvoicingKycMAndateWithDirectoryLineInfo>> {\n return this.axios.$get('/societies/mandates/list', { params });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/kyc/Query.ts"],"names":[],"mappings":"AAIA,qBAAa,oBAAoB;IAI/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAM7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,YAAY,CAAC,EAAE,OAAO,CAAC;IAMvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAMhB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,UAAU,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/kyc/Query.ts"],"names":[],"mappings":"AAIA,qBAAa,oBAAoB;IAI/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAM7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,YAAY,CAAC,EAAE,OAAO,CAAC;IAMvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAMhB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/kyc/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE5F,MAAM,OAAO,oBAAoB;IAI/B,kBAAkB,CAAU;IAK5B,gBAAgB,CAAU;IAK1B,gBAAgB,CAAU;IAK1B,aAAa,CAAU;IAMvB,kBAAkB,CAAW;IAM7B,iBAAiB,CAAW;IAM5B,YAAY,CAAW;IAMvB,KAAK,CAAW;IAMhB,gBAAgB,CAAW;IAK3B,UAAU,
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/kyc/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MA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AKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACI;AAMf;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACD","sourcesContent":["import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';\nimport { ApiPropertyOptional } from '@nestjs/swagger';\nimport { IsArray, IsBoolean, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\n\nexport class QueryMandatePaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n effectiveDateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n effectiveDateEnd?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n onboardingStatus?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mandateStatus?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isReceptionAddress?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEmissionAddress?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n sentToDocoon?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isKyc?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n hasDirectoryLine?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idSociety?: number[];\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
_InvoicingKycMAndateWithDirectoryLineInfo,
|
|
3
|
-
BasePaginate,
|
|
4
|
-
IEInvoicingKycAndMandate,
|
|
5
|
-
QueryMandatePaginate,
|
|
6
|
-
} from '#types/index.js';
|
|
1
|
+
import { _InvoicingKycMAndateWithDirectoryLineInfo, BasePaginate, QueryMandatePaginate } from '#types/index.js';
|
|
7
2
|
import { Resource } from '../Resource.js';
|
|
8
3
|
|
|
9
4
|
export class KycMandate extends Resource {
|
|
@@ -15,7 +10,9 @@ export class KycMandate extends Resource {
|
|
|
15
10
|
return this.axios.$delete(`/societies/${idSociety}/mandates/${idMandate}`);
|
|
16
11
|
}
|
|
17
12
|
|
|
18
|
-
public getAllPaginate(
|
|
19
|
-
|
|
13
|
+
public getAllPaginate(
|
|
14
|
+
params: QueryMandatePaginate,
|
|
15
|
+
): Promise<BasePaginate<_InvoicingKycMAndateWithDirectoryLineInfo>> {
|
|
16
|
+
return this.axios.$get('/societies/mandates/list', { params });
|
|
20
17
|
}
|
|
21
18
|
}
|