@silexpert/core 1.3.149 → 1.3.150-levy-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/DashboardLayout.d.ts +4 -3
- package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -1
- package/dist/cjs/api/resources/DashboardLayout.js +3 -0
- package/dist/cjs/api/resources/DashboardLayout.js.map +1 -1
- package/dist/cjs/api/resources/StripeCustomer.d.ts +6 -0
- package/dist/cjs/api/resources/StripeCustomer.d.ts.map +1 -0
- package/dist/cjs/api/resources/StripeCustomer.js +11 -0
- package/dist/cjs/api/resources/StripeCustomer.js.map +1 -0
- package/dist/cjs/types/Enum/VisualizedInformation.d.ts +2 -1
- package/dist/cjs/types/Enum/VisualizedInformation.d.ts.map +1 -1
- package/dist/cjs/types/Enum/VisualizedInformation.js +1 -0
- package/dist/cjs/types/Enum/VisualizedInformation.js.map +1 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +3 -11
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js +8 -0
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +6 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +11 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +20 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDashboardLayout.d.ts +10 -0
- package/dist/cjs/types/Interface/models/IDashboardLayout.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IDashboardLayout.js +3 -0
- package/dist/cjs/types/Interface/models/IDashboardLayout.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.d.ts.map +1 -1
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +4 -3
- package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.js +3 -0
- package/dist/mjs/api/resources/DashboardLayout.js.map +1 -1
- package/dist/mjs/api/resources/StripeCustomer.d.ts +6 -0
- package/dist/mjs/api/resources/StripeCustomer.d.ts.map +1 -0
- package/dist/mjs/api/resources/StripeCustomer.js +7 -0
- package/dist/mjs/api/resources/StripeCustomer.js.map +1 -0
- package/dist/mjs/types/Enum/VisualizedInformation.d.ts +2 -1
- package/dist/mjs/types/Enum/VisualizedInformation.d.ts.map +1 -1
- package/dist/mjs/types/Enum/VisualizedInformation.js +1 -0
- package/dist/mjs/types/Enum/VisualizedInformation.js.map +1 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +3 -11
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +6 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +10 -0
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +21 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDashboardLayout.d.ts +10 -0
- package/dist/mjs/types/Interface/models/IDashboardLayout.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IDashboardLayout.js +2 -0
- package/dist/mjs/types/Interface/models/IDashboardLayout.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.d.ts.map +1 -1
- package/dist/mjs/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/DashboardLayout.ts +7 -3
- package/ts/api/resources/StripeCustomer.ts +8 -0
- package/ts/types/Enum/VisualizedInformation.ts +1 -0
- package/ts/types/Interface/api/DashboardLayout.ts +3 -12
- package/ts/types/Interface/api/balanceSheet/Query.ts +8 -1
- package/ts/types/Interface/api/config/ConfigType.ts +4 -1
- package/ts/types/Interface/api/stripe/Create.ts +8 -0
- package/ts/types/Interface/api/stripe/QueryStripe.ts +15 -0
- package/ts/types/Interface/models/IDashboardLayout.ts +10 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/brands.ts +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { DashboardBlock,
|
|
1
|
+
import { DashboardBlock, ReadDashboardLayoutItem, IDashboardLayout } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class DashboardLayout extends Resource {
|
|
4
|
-
createOrUpdate(idSociety: number, jsonLayout:
|
|
5
|
-
findOneByUserAndSociety(idSociety: number): Promise<
|
|
4
|
+
createOrUpdate(idSociety: number, jsonLayout: ReadDashboardLayoutItem[]): Promise<IDashboardLayout>;
|
|
5
|
+
findOneByUserAndSociety(idSociety: number): Promise<ReadDashboardLayoutItem[]>;
|
|
6
6
|
deleteByUserAndSociety(idSociety: number): Promise<true>;
|
|
7
7
|
getAvailableDashboardBlocks(idSociety: number): Promise<DashboardBlock[]>;
|
|
8
|
+
createDefaultLayout(idSociety: number): Promise<ReadDashboardLayoutItem[]>;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=DashboardLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAInG,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC;IAI9E,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAIzE,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC;CAG3E"}
|
|
@@ -15,6 +15,9 @@ class DashboardLayout extends Resource_1.Resource {
|
|
|
15
15
|
getAvailableDashboardBlocks(idSociety) {
|
|
16
16
|
return this.axios.$get(`/societies/${idSociety}/dashboards/features`);
|
|
17
17
|
}
|
|
18
|
+
createDefaultLayout(idSociety) {
|
|
19
|
+
return this.axios.$post(`/societies/${idSociety}/dashboards/layouts/default`);
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
22
|
exports.DashboardLayout = DashboardLayout;
|
|
20
23
|
//# sourceMappingURL=DashboardLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,cAAc,CAAC,SAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,cAAc,CAAC,SAAiB,EAAE,UAAqC;QACrE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,qBAAqB,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,uBAAuB,CAAC,SAAiB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,qBAAqB,CAAC,CAAC;IACvE,CAAC;IAED,sBAAsB,CAAC,SAAiB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,SAAS,qBAAqB,CAAC,CAAC;IAC1E,CAAC;IAED,2BAA2B,CAAC,SAAiB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,sBAAsB,CAAC,CAAC;IACxE,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,6BAA6B,CAAC,CAAC;IAChF,CAAC;CACF;AApBD,0CAoBC","sourcesContent":["import { DashboardBlock, ReadDashboardLayoutItem, IDashboardLayout } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class DashboardLayout extends Resource {\n createOrUpdate(idSociety: number, jsonLayout: ReadDashboardLayoutItem[]): Promise<IDashboardLayout> {\n return this.axios.$post(`/societies/${idSociety}/dashboards/layouts`, { jsonLayout });\n }\n\n findOneByUserAndSociety(idSociety: number): Promise<ReadDashboardLayoutItem[]> {\n return this.axios.$get(`/societies/${idSociety}/dashboards/layouts`);\n }\n\n deleteByUserAndSociety(idSociety: number): Promise<true> {\n return this.axios.$delete(`/societies/${idSociety}/dashboards/layouts`);\n }\n\n getAvailableDashboardBlocks(idSociety: number): Promise<DashboardBlock[]> {\n return this.axios.$get(`/societies/${idSociety}/dashboards/features`);\n }\n\n createDefaultLayout(idSociety: number): Promise<ReadDashboardLayoutItem[]> {\n return this.axios.$post(`/societies/${idSociety}/dashboards/layouts/default`);\n }\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CreateCustomerPaymentMethodPortal } from '../../types';
|
|
2
|
+
import { Resource } from '../Resource';
|
|
3
|
+
export declare class StripeCustomer extends Resource {
|
|
4
|
+
configurePaymentMethods(payload: CreateCustomerPaymentMethodPortal): Promise<string>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=StripeCustomer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeCustomer.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/StripeCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,uBAAuB,CAAC,OAAO,EAAE,iCAAiC,GAAG,OAAO,CAAC,MAAM,CAAC;CAGrF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StripeCustomer = void 0;
|
|
4
|
+
const Resource_1 = require("../Resource");
|
|
5
|
+
class StripeCustomer extends Resource_1.Resource {
|
|
6
|
+
configurePaymentMethods(payload) {
|
|
7
|
+
return this.axios.post('connector/stripe/customers/configure-payment-methods', payload);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.StripeCustomer = StripeCustomer;
|
|
11
|
+
//# sourceMappingURL=StripeCustomer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/StripeCustomer.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,cAAe,SAAQ,mBAAQ;IAC1C,uBAAuB,CAAC,OAA0C;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sDAAsD,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAJD,wCAIC","sourcesContent":["import { CreateCustomerPaymentMethodPortal } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class StripeCustomer extends Resource {\n configurePaymentMethods(payload: CreateCustomerPaymentMethodPortal): Promise<string> {\n return this.axios.post('connector/stripe/customers/configure-payment-methods', payload);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizedInformation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,IAAI;IACZ,QAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"VisualizedInformation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,IAAI;IACZ,QAAQ,IAAI;IACZ,OAAO,IAAI;CACZ"}
|
|
@@ -5,5 +5,6 @@ var VisualizedInformationState;
|
|
|
5
5
|
(function (VisualizedInformationState) {
|
|
6
6
|
VisualizedInformationState[VisualizedInformationState["CANCELED"] = 0] = "CANCELED";
|
|
7
7
|
VisualizedInformationState[VisualizedInformationState["APPROVED"] = 1] = "APPROVED";
|
|
8
|
+
VisualizedInformationState[VisualizedInformationState["PENDING"] = 2] = "PENDING";
|
|
8
9
|
})(VisualizedInformationState || (exports.VisualizedInformationState = VisualizedInformationState = {}));
|
|
9
10
|
//# sourceMappingURL=VisualizedInformation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizedInformation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"VisualizedInformation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACpC,mFAAY,CAAA;IACZ,mFAAY,CAAA;IACZ,iFAAW,CAAA;AACb,CAAC,EAJW,0BAA0B,0CAA1B,0BAA0B,QAIrC","sourcesContent":["export enum VisualizedInformationState {\n CANCELED = 0,\n APPROVED = 1,\n PENDING = 2,\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DashboardBlock } from '../../Enum/DashboardBlock';
|
|
2
|
-
export interface
|
|
2
|
+
export interface ReadDashboardLayoutItem {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
5
5
|
w: number;
|
|
@@ -8,17 +8,9 @@ export interface IDashboardLayoutItem {
|
|
|
8
8
|
metadata?: Record<string, any>;
|
|
9
9
|
}
|
|
10
10
|
export interface ICreateDashboardLayoutRequest {
|
|
11
|
-
jsonLayout:
|
|
11
|
+
jsonLayout: ReadDashboardLayoutItem[];
|
|
12
12
|
}
|
|
13
13
|
export interface IUpdateDashboardLayoutRequest {
|
|
14
|
-
jsonLayout:
|
|
15
|
-
}
|
|
16
|
-
export interface IDashboardLayoutResponse {
|
|
17
|
-
id: number;
|
|
18
|
-
idUser: number;
|
|
19
|
-
idSociety: number;
|
|
20
|
-
jsonLayout: IDashboardLayoutItem[];
|
|
21
|
-
createdAt: Date;
|
|
22
|
-
updatedAt: Date;
|
|
14
|
+
jsonLayout: ReadDashboardLayoutItem[];
|
|
23
15
|
}
|
|
24
16
|
//# sourceMappingURL=DashboardLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,uBAAuB;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,cAAc,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,EAAE,uBAAuB,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,EAAE,uBAAuB,EAAE,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardBlock } from '../../Enum/DashboardBlock';\n\nexport interface
|
|
1
|
+
{"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardBlock } from '../../Enum/DashboardBlock';\n\nexport interface ReadDashboardLayoutItem {\n x: number;\n y: number;\n w: number;\n h: number;\n i: DashboardBlock;\n metadata?: Record<string, any>;\n}\n\nexport interface ICreateDashboardLayoutRequest {\n jsonLayout: ReadDashboardLayoutItem[];\n}\n\nexport interface IUpdateDashboardLayoutRequest {\n jsonLayout: ReadDashboardLayoutItem[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,0BAA0B;IAGrC,IAAI,EAAE,MAAM,CAAC;IAKb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,+BAA+B;IAI1C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iCAAiC;IAG5C,IAAI,EAAE,MAAM,CAAC;IAMb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,oCAAoC;IAG/C,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,4BAA4B;IAGvC,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,cAAc,EAAE,MAAM,CAAC;IAIvB,UAAU,EAAE,MAAM,CAAC;IAInB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,qBAAa,6BAA6B;IAGxC,WAAW,EAAE,MAAM,CAAC;IAKpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAI3B,SAAS,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAC;IAIf,aAAa,EAAE,MAAM,CAAC;IAatB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,iCAAiC;IAE5C,IAAI,EAAE,KAAK,CAAC;CACb"}
|
|
@@ -13,6 +13,7 @@ exports.QueryValidateBalanceSheetByImport = exports.CreateBalanceSheetAttestatio
|
|
|
13
13
|
const utils_1 = require("../../../../utils");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const Supervision_1 = require("../../../Enum/Supervision");
|
|
16
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
17
|
class QueryBalanceSheetStatistic {
|
|
17
18
|
}
|
|
18
19
|
exports.QueryBalanceSheetStatistic = QueryBalanceSheetStatistic;
|
|
@@ -44,6 +45,13 @@ __decorate([
|
|
|
44
45
|
(0, class_validator_1.IsDateString)(),
|
|
45
46
|
__metadata("design:type", String)
|
|
46
47
|
], QueryBalanceSheetMonthlyStatistic.prototype, "date", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsBoolean)(),
|
|
52
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], QueryBalanceSheetMonthlyStatistic.prototype, "isYearly", void 0);
|
|
47
55
|
class QueryBalanceSheetSupervisedStatistic {
|
|
48
56
|
}
|
|
49
57
|
exports.QueryBalanceSheetSupervisedStatistic = QueryBalanceSheetSupervisedStatistic;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAChG,2DAAwD;AAExD,sFAA2E;AAE3E,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAGjB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACK;AAGpB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACF;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;mEACO;AAGrB,MAAa,oCAAoC;CAchD;AAdD,oFAcC;AAXC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;kEACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,G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;IADC,IAAA,mBAAW,GAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
|
|
@@ -33,6 +33,9 @@ export interface ConfigType {
|
|
|
33
33
|
sharper: LambdaInfos;
|
|
34
34
|
chartizer: LambdaInfos;
|
|
35
35
|
authentication?: Authentication;
|
|
36
|
+
powens: {
|
|
37
|
+
url: string;
|
|
38
|
+
};
|
|
36
39
|
}
|
|
37
40
|
interface Authentication {
|
|
38
41
|
token: string;
|
|
@@ -69,6 +72,7 @@ interface Caarl {
|
|
|
69
72
|
}
|
|
70
73
|
interface Yousign {
|
|
71
74
|
workspaceId: string;
|
|
75
|
+
url: string;
|
|
72
76
|
}
|
|
73
77
|
export type BucketName = 'resources-local-dev' | 'resources-anytime' | 'resources-comptalib' | 'resources-eunomia' | 'resources-legalstart' | 'resources-pourcentage' | 'resources-statuts-express' | 'resources-clementine' | 'resources-comptalib-staging' | 'clementine-website' | 'resources-internal' | 'sales-contract';
|
|
74
78
|
interface AwsClementine {
|
|
@@ -174,7 +178,8 @@ interface IDocus {
|
|
|
174
178
|
callbackurl: string;
|
|
175
179
|
}
|
|
176
180
|
interface Inpi {
|
|
177
|
-
|
|
181
|
+
admin: string;
|
|
182
|
+
user: string;
|
|
178
183
|
}
|
|
179
184
|
interface Brevo {
|
|
180
185
|
lists: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,WAAW,CAAC;IACrB,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,WAAW,CAAC;IACvB,cAAc,CAAC,EAAE,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO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U,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC;CACb;AAED,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,OAAO;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,MAAM;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,KAAK;IACb,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: { url: string };\n inpi: Inpi;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication?: Authentication;\n}\n\ninterface Authentication {\n token: string;\n}\n\ninterface LambdaInfos {\n url: string;\n}\n\ninterface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\ninterface MachineLearning {\n transactionAnnotation: string;\n}\n\ninterface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\ninterface Redis {\n host: string;\n port: number;\n}\n\ninterface RedisPrimary {\n replicationGroupId: string;\n}\n\ninterface Caarl {\n api: string;\n bundle: string;\n}\n\ninterface Yousign {\n workspaceId: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\ninterface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\ninterface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\ninterface Client {\n host: string;\n hostFull: string;\n}\n\ninterface Twilio {\n accountSID: string;\n number: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\ninterface Pappers {\n token: string;\n url: string;\n}\n\ninterface Shine {\n host: string;\n hostV3: string;\n leadHost: string;\n publicHost: string;\n clientId: string;\n sendLeadClientId: string;\n updateLeadClientId: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\ninterface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\ninterface Crisp {\n identifier: string;\n}\n\ninterface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\ninterface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\ninterface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\ninterface Test {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\ninterface Wsdl {\n url: string;\n}\n\ninterface Production {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\ninterface Wsdl2 {\n url: string;\n}\n\ninterface Pdfizer {\n url: string;\n}\n\ninterface IDocus {\n baseUrl: string;\n callbackurl: string;\n}\n\ninterface Inpi {\n
|
|
1
|
+
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: { url: string };\n inpi: Inpi;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication?: Authentication;\n powens: { url: string };\n}\n\ninterface Authentication {\n token: string;\n}\n\ninterface LambdaInfos {\n url: string;\n}\n\ninterface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\ninterface MachineLearning {\n transactionAnnotation: string;\n}\n\ninterface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\ninterface Redis {\n host: string;\n port: number;\n}\n\ninterface RedisPrimary {\n replicationGroupId: string;\n}\n\ninterface Caarl {\n api: string;\n bundle: string;\n}\n\ninterface Yousign {\n workspaceId: string;\n url: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\ninterface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\ninterface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\ninterface Client {\n host: string;\n hostFull: string;\n}\n\ninterface Twilio {\n accountSID: string;\n number: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\ninterface Pappers {\n token: string;\n url: string;\n}\n\ninterface Shine {\n host: string;\n hostV3: string;\n leadHost: string;\n publicHost: string;\n clientId: string;\n sendLeadClientId: string;\n updateLeadClientId: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\ninterface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\ninterface Crisp {\n identifier: string;\n}\n\ninterface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\ninterface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\ninterface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\ninterface Test {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\ninterface Wsdl {\n url: string;\n}\n\ninterface Production {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\ninterface Wsdl2 {\n url: string;\n}\n\ninterface Pdfizer {\n url: string;\n}\n\ninterface IDocus {\n baseUrl: string;\n callbackurl: string;\n}\n\ninterface Inpi {\n admin: string;\n user: string;\n}\n\ninterface Brevo {\n lists: {\n hot: number;\n paying: number;\n cold: number;\n churned: number;\n };\n}\n\ninterface Echo {\n url: string;\n //accountid: string;\n //apikey: string;\n token: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,CAAC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AE,MAAM,CAAC;IAKvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,qBAAqB;IAGhC,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iCAAiC;IAK5C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreatePaymentLocation = exports.CreatePaymentSession = exports.CreatePurchaseSession = exports.CreateTapToPayConnectionToken = exports.CreateTapToPayIntent = exports.PostProcessPaymentAutomatically = exports.UpdatePaymentMethod = exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOffApp = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
12
|
+
exports.CreateCustomerPaymentMethodPortal = exports.CreatePaymentLocation = exports.CreatePaymentSession = exports.CreatePurchaseSession = exports.CreateTapToPayConnectionToken = exports.CreateTapToPayIntent = exports.PostProcessPaymentAutomatically = exports.UpdatePaymentMethod = exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOffApp = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
@@ -317,4 +317,14 @@ __decorate([
|
|
|
317
317
|
(0, class_validator_1.IsInt)(),
|
|
318
318
|
__metadata("design:type", Number)
|
|
319
319
|
], CreatePaymentLocation.prototype, "idCountry", void 0);
|
|
320
|
+
class CreateCustomerPaymentMethodPortal {
|
|
321
|
+
}
|
|
322
|
+
exports.CreateCustomerPaymentMethodPortal = CreateCustomerPaymentMethodPortal;
|
|
323
|
+
__decorate([
|
|
324
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
325
|
+
(0, class_validator_1.IsBoolean)(),
|
|
326
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
327
|
+
(0, class_validator_1.IsOptional)(),
|
|
328
|
+
__metadata("design:type", Boolean)
|
|
329
|
+
], CreateCustomerPaymentMethodPortal.prototype, "isSoftware", void 0);
|
|
320
330
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuH;AACvH,6CAAqE;AAErE,sFAA2E;AAC3E,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;gDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;iDACQ;AAGrB,MA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AE;;mDACE;AAIb;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;sDACK;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n description?: string;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n idempotencyKey?: string;\n}\n\nexport class CreatePaymentLocation {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n address: string;\n\n @ApiProperty()\n @IsString()\n city: string;\n\n @ApiProperty()\n @IsString()\n zipCode: string;\n\n @ApiProperty()\n @IsInt()\n idCountry: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuH;AACvH,6CAAqE;AAErE,sFAA2E;AAC3E,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;gDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;iDACQ;AAGrB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;kEAAC;AAGjB,M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AA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACQ","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n description?: string;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n idempotencyKey?: string;\n}\n\nexport class CreatePaymentLocation {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n address: string;\n\n @ApiProperty()\n @IsString()\n city: string;\n\n @ApiProperty()\n @IsString()\n zipCode: string;\n\n @ApiProperty()\n @IsInt()\n idCountry: number;\n}\n\nexport class CreateCustomerPaymentMethodPortal {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isSoftware?: boolean;\n}\n"]}
|
|
@@ -17,4 +17,9 @@ export declare class QueryStripePurchaseHook {
|
|
|
17
17
|
export declare class QueryStripePaymentHook {
|
|
18
18
|
isSoftware?: boolean;
|
|
19
19
|
}
|
|
20
|
+
export declare class QueryProcessCustomerPaymentMethods {
|
|
21
|
+
context: string;
|
|
22
|
+
isSoftware: boolean;
|
|
23
|
+
idUser: number;
|
|
24
|
+
}
|
|
20
25
|
//# sourceMappingURL=QueryStripe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,sBAAsB;IAKjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,sBAAsB;IAKjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,qBAAa,kCAAkC;IAG7C,OAAO,EAAE,MAAM,CAAC;IAKhB,UAAU,EAAE,OAAO,CAAC;IAIpB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryStripePaymentHook = exports.QueryStripePurchaseHook = exports.QueryStripePrice = exports.QueryStripeSubscriptionId = exports.QueryStripeSession = exports.RetrievePaymentMethodsParams = void 0;
|
|
12
|
+
exports.QueryProcessCustomerPaymentMethods = exports.QueryStripePaymentHook = exports.QueryStripePurchaseHook = exports.QueryStripePrice = exports.QueryStripeSubscriptionId = exports.QueryStripeSession = exports.RetrievePaymentMethodsParams = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
@@ -73,4 +73,23 @@ __decorate([
|
|
|
73
73
|
(0, boolean_transform_1.ToBoolean)(),
|
|
74
74
|
__metadata("design:type", Boolean)
|
|
75
75
|
], QueryStripePaymentHook.prototype, "isSoftware", void 0);
|
|
76
|
+
class QueryProcessCustomerPaymentMethods {
|
|
77
|
+
}
|
|
78
|
+
exports.QueryProcessCustomerPaymentMethods = QueryProcessCustomerPaymentMethods;
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, utils_1.ApiProperty)({ description: 'Context identifier to link the visualized information' }),
|
|
81
|
+
(0, class_validator_1.IsString)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], QueryProcessCustomerPaymentMethods.prototype, "context", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, utils_1.ApiProperty)(),
|
|
86
|
+
(0, class_validator_1.IsBoolean)(),
|
|
87
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
88
|
+
__metadata("design:type", Boolean)
|
|
89
|
+
], QueryProcessCustomerPaymentMethods.prototype, "isSoftware", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, utils_1.ApiProperty)(),
|
|
92
|
+
(0, class_validator_1.IsNumber)(),
|
|
93
|
+
__metadata("design:type", Number)
|
|
94
|
+
], QueryProcessCustomerPaymentMethods.prototype, "idUser", void 0);
|
|
76
95
|
//# sourceMappingURL=QueryStripe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAC5E,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,4BAA4B;CASxC;AATD,oEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACQ;AAKnB;IAHC,IAAA,2BAAmB,EAAC,EAAE,QAAQ,EAAE,qCAAqC,EAAE,CAAC;IACxE,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACK;AAGpB,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO;AAGrB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACQ;AAGrB,MAAa,gBAAgB;CAK5B;AALD,4CAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACQ;AAGtB,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;2DACQ;AAGtB,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACS","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiPropertyOptional({ describe: 'Search into payment method metadata' })\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePaymentHook {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSoftware?: boolean;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAC5E,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,4BAA4B;CASxC;AATD,oEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACQ;AAKnB;IAHC,IAAA,2BAAmB,EAAC,EAAE,QAAQ,EAAE,qCAAqC,EAAE,CAAC;IACxE,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACK;AAGpB,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO;AAGrB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACQ;AAGrB,MAAa,gBAAgB;CAK5B;AALD,4CAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACQ;AAGtB,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;2DACQ;AAGtB,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACS;AAGvB,MAAa,kCAAkC;CAa9C;AAbD,gFAaC;AAVC;IAFC,IAAA,mBAAW,EAAC,EAAE,WAAW,EAAE,uDAAuD,EAAE,CAAC;IACrF,IAAA,0BAAQ,GAAE;;mEACK;AAKhB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;sEACQ;AAIpB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;kEACI","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiPropertyOptional({ describe: 'Search into payment method metadata' })\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePaymentHook {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSoftware?: boolean;\n}\n\nexport class QueryProcessCustomerPaymentMethods {\n @ApiProperty({ description: 'Context identifier to link the visualized information' })\n @IsString()\n context: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty()\n @IsNumber()\n idUser: number;\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReadDashboardLayoutItem } from '../api/DashboardLayout';
|
|
2
|
+
export interface IDashboardLayout {
|
|
3
|
+
id: number;
|
|
4
|
+
idUser: number;
|
|
5
|
+
idSociety: number;
|
|
6
|
+
jsonLayout: ReadDashboardLayoutItem[];
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=IDashboardLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDashboardLayout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDashboardLayout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"","sourcesContent":["import { ReadDashboardLayoutItem } from '../api/DashboardLayout';\n\nexport interface IDashboardLayout {\n id: number;\n idUser: number;\n idSociety: number;\n jsonLayout: ReadDashboardLayoutItem[];\n createdAt: Date;\n updatedAt: Date;\n}\n"]}
|
|
@@ -53,6 +53,7 @@ export * from './Interface/models/ICountry';
|
|
|
53
53
|
export * from './Interface/models/ICurrency';
|
|
54
54
|
export * from './Interface/models/ICustomerIsRegime';
|
|
55
55
|
export * from './Interface/models/ICustomerSignature';
|
|
56
|
+
export * from './Interface/models/IDashboardLayout';
|
|
56
57
|
export * from './Interface/models/ICustomerVat';
|
|
57
58
|
export * from './Interface/models/ICustomisation';
|
|
58
59
|
export * from './Interface/models/ICycle';
|