@silexpert/core 1.3.140 → 1.3.142-ttp-0

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.
Files changed (35) hide show
  1. package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts +4 -0
  2. package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/PaymentExpectationCustomer.js +8 -0
  4. package/dist/cjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +2 -2
  6. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +4 -4
  8. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/payment/Params.d.ts +1 -0
  10. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/payment/Params.js +9 -0
  12. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +2 -4
  14. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  16. package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts +4 -0
  17. package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  18. package/dist/mjs/api/resources/PaymentExpectationCustomer.js +8 -0
  19. package/dist/mjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
  20. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +2 -2
  21. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  22. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +5 -5
  23. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  24. package/dist/mjs/types/Interface/api/payment/Params.d.ts +1 -0
  25. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  26. package/dist/mjs/types/Interface/api/payment/Params.js +7 -0
  27. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  28. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +2 -4
  29. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  30. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  31. package/package.json +1 -1
  32. package/ts/api/resources/PaymentExpectationCustomer.ts +10 -0
  33. package/ts/types/Interface/api/card/QueryUserCards.ts +5 -5
  34. package/ts/types/Interface/api/payment/Params.ts +5 -0
  35. package/ts/types/Interface/api/society/ReadSociety.ts +2 -4
@@ -12,6 +12,10 @@ export declare class PaymentExpectationCustomer extends Resource {
12
12
  refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
13
13
  create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
14
14
  send(id: number, payload: SendPaymentExpectationCustomer): Promise<true>;
15
+ /**
16
+ * TAP TO PAY - STRIPE
17
+ */
18
+ getAllLocations(idSociety: number): Promise<Stripe.ApiList<Stripe.Terminal.Location>>;
15
19
  createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken>;
16
20
  createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>>;
17
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,kCAAkC,EAClC,2BAA2B,EAC3B,kCAAkC,EAClC,sCAAsC,EACtC,4CAA4C,EAC5C,4CAA4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,EAAE,8BAA8B,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxE;;OAEG;IAEH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAMrF,6BAA6B,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;IAI/G,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;CAGpG"}
@@ -32,6 +32,14 @@ class PaymentExpectationCustomer extends Resource_1.Resource {
32
32
  send(id, payload) {
33
33
  return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);
34
34
  }
35
+ /**
36
+ * TAP TO PAY - STRIPE
37
+ */
38
+ getAllLocations(idSociety) {
39
+ return this.axios.$get('/stripe/tap-to-pay/locations', {
40
+ params: { idSociety },
41
+ });
42
+ }
35
43
  createTapToPayConnectionToken(payload) {
36
44
  return this.axios.$post('/stripe/tap-to-pay/tokens', payload);
37
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAoBvC,MAAa,0BAA2B,SAAQ,mBAAQ;IACtD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,YAAY,CACV,MAAoD,EACpD,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,gCAAgC,gDAC9E,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,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IAChE,CAAC;IAED,oBAAoB,CAAC,OAA6B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AA/CD,gEA+CC","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n ReadPaymentIntent,\n SendPaymentExpectationCustomer,\n CreateTapToPayIntent,\n CreateTapToPayConnectionToken,\n} from '../../types';\nimport Stripe from 'stripe';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<ReadPaymentIntent | IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n\n send(id: number, payload: SendPaymentExpectationCustomer): Promise<true> {\n return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);\n }\n\n createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken> {\n return this.axios.$post('/stripe/tap-to-pay/tokens', payload);\n }\n\n createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/tap-to-pay/intents', payload);\n }\n}\n"]}
1
+ {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAoBvC,MAAa,0BAA2B,SAAQ,mBAAQ;IACtD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,YAAY,CACV,MAAoD,EACpD,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,gCAAgC,gDAC9E,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GACpC,CAAC,MAAM,CAAC,CAAC,CAAC,E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AC;IAED,6BAA6B,CAAC,OAAsC;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED,oBAAoB,CAAC,OAA6B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AAzDD,gEAyDC","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n ReadPaymentIntent,\n SendPaymentExpectationCustomer,\n CreateTapToPayIntent,\n CreateTapToPayConnectionToken,\n} from '../../types';\nimport Stripe from 'stripe';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<ReadPaymentIntent | IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n\n send(id: number, payload: SendPaymentExpectationCustomer): Promise<true> {\n return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);\n }\n\n /**\n * TAP TO PAY - STRIPE\n */\n\n getAllLocations(idSociety: number): Promise<Stripe.ApiList<Stripe.Terminal.Location>> {\n return this.axios.$get('/stripe/tap-to-pay/locations', {\n params: { idSociety },\n });\n }\n\n createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken> {\n return this.axios.$post('/stripe/tap-to-pay/tokens', payload);\n }\n\n createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/tap-to-pay/intents', payload);\n }\n}\n"]}
@@ -2,8 +2,8 @@ import { CardType, CardState } from '../../../Enum/Card';
2
2
  export declare class QueryUserCards {
3
3
  idUsers?: number[];
4
4
  idTeam?: number;
5
- startDate?: Date;
6
- endDate?: Date;
5
+ startDate?: string;
6
+ endDate?: string;
7
7
  search?: string;
8
8
  types?: CardType[];
9
9
  states?: CardState[];
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUserCards.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGzD,qBAAa,cAAc;IAIjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,qBAAa,uBAAwB,SAAQ,cAAc;IAIzD,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAItB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B"}
1
+ {"version":3,"file":"QueryUserCards.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGzD,qBAAa,cAAc;IAIjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,qBAAa,uBAAwB,SAAQ,cAAc;IAIzD,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAItB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B"}
@@ -32,14 +32,14 @@ __decorate([
32
32
  __decorate([
33
33
  (0, utils_1.ApiPropertyOptional)(),
34
34
  (0, class_validator_1.IsOptional)(),
35
- (0, class_validator_1.IsDate)(),
36
- __metadata("design:type", Date)
35
+ (0, class_validator_1.IsDateString)(),
36
+ __metadata("design:type", String)
37
37
  ], QueryUserCards.prototype, "startDate", void 0);
38
38
  __decorate([
39
39
  (0, utils_1.ApiPropertyOptional)(),
40
40
  (0, class_validator_1.IsOptional)(),
41
- (0, class_validator_1.IsDate)(),
42
- __metadata("design:type", Date)
41
+ (0, class_validator_1.IsDateString)(),
42
+ __metadata("design:type", String)
43
43
  ], QueryUserCards.prototype, "endDate", void 0);
44
44
  __decorate([
45
45
  (0, utils_1.ApiPropertyOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUserCards.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuG;AACvG,6CAAqE;AACrE,6CAAyD;AACzD,sFAA2E;AAE3E,MAAa,cAAc;CAyC1B;AAzCD,wCAyCC;AArCS;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO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,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACS,IAAI;oDAAC;AAKf;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACa;AAKhB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;kDACiB;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAS,CAAC;;kDACQ","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardType, CardState } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryUserCards {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare idUsers?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idTeam?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare states?: CardState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare includePostponed?: boolean;\n}\n\nexport class QueryUserCardsPaginated extends QueryUserCards {\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n}\n\n/**\n * @deprecated Use QueryUserCards instead\n */\nexport class QueryUserCardsAdmin {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}\n"]}
1
+ {"version":3,"file":"QueryUserCards.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqH;AACrH,6CAAqE;AACrE,6CAAyD;AACzD,sFAA2E;AAE3E,MAAa,cAAc;CAyC1B;AAzCD,wCAyCC;AArCS;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACiB;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACgB;AAKhB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;iDACY;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;+CACU;AAKjB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACa;AAKhB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;6CACiB;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;8CACmB;AAMrB;IAJP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;wDACuB;AAGrC,MAAa,uBAAwB,SAAQ,cAAc;CAU1D;AAVD,0DAUC;AANC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;qDACM;AAKb;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;sDACO;AAGhB;;GAEG;AACH,MAAa,mBAAmB;CA8B/B;AA9BD,kDA8BC;AA1BS;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mDACgB;AAKhB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAKjB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACS,IAAI;oDAAC;AAKf;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACa;AAKhB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;kDACiB;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAS,CAAC;;kDACQ","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardType, CardState } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryUserCards {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare idUsers?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idTeam?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare states?: CardState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare includePostponed?: boolean;\n}\n\nexport class QueryUserCardsPaginated extends QueryUserCards {\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n}\n\n/**\n * @deprecated Use QueryUserCards instead\n */\nexport class QueryUserCardsAdmin {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}\n"]}
@@ -4,6 +4,7 @@ export declare class CreatePaymentsAutoBilling {
4
4
  export declare class CreatePaymentsRebilling {
5
5
  idSociety: number;
6
6
  endDate?: string;
7
+ nbExercicesToGenerate?: number;
7
8
  }
8
9
  export declare class UpdateCollectable {
9
10
  listIdPayment: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAGlC,SA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,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
@@ -23,6 +23,9 @@ __decorate([
23
23
  __metadata("design:type", Number)
24
24
  ], CreatePaymentsAutoBilling.prototype, "idSociety", void 0);
25
25
  class CreatePaymentsRebilling {
26
+ constructor() {
27
+ this.nbExercicesToGenerate = 1;
28
+ }
26
29
  }
27
30
  exports.CreatePaymentsRebilling = CreatePaymentsRebilling;
28
31
  __decorate([
@@ -39,6 +42,12 @@ __decorate([
39
42
  }),
40
43
  __metadata("design:type", String)
41
44
  ], CreatePaymentsRebilling.prototype, "endDate", void 0);
45
+ __decorate([
46
+ (0, utils_1.ApiPropertyOptional)(),
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsInt)(),
49
+ __metadata("design:type", Number)
50
+ ], CreatePaymentsRebilling.prototype, "nbExercicesToGenerate", void 0);
42
51
  class UpdateCollectable {
43
52
  }
44
53
  exports.UpdateCollectable = UpdateCollectable;
@@ -1 +1 @@
1
- {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoG;AACpG,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,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,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;6CACK;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;iDACS;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;uDACe;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;wDACgB;AAM5B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;sDACc;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACY;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;kDAAC","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
1
+ {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoG;AACpG,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAA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rB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;8CACM;AAMlB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;6CACK;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;iDACS;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;uDACe;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;wDACgB;AAM5B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;sDACc;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACY;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;kDAAC","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { IFile, TypeFile } from '../../..';
1
+ import { IFile, IGedFile, TypeFile } from '../../..';
2
2
  export type UnpaidDetail = {
3
3
  datePayment: Date;
4
4
  amount: number;
@@ -12,10 +12,7 @@ export type ReadInvalidFieldState = {
12
12
  field: string;
13
13
  };
14
14
  export type ReadAskOrRequiredDocuments = {
15
- idGedFile?: number;
16
- idFile?: number;
17
15
  name: string;
18
- status: string;
19
16
  idGedFolder: number;
20
17
  idGedFileType?: number;
21
18
  typeFile?: TypeFile;
@@ -23,5 +20,6 @@ export type ReadAskOrRequiredDocuments = {
23
20
  idExercice?: number;
24
21
  idBalanceSheet?: number;
25
22
  idBankAccount?: number;
23
+ gedFiles: IGedFile[];
26
24
  };
27
25
  //# sourceMappingURL=ReadSociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n idGedFile?: number;\n idFile?: number;\n name: string;\n status: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n};\n"]}
1
+ {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, IGedFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n name: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n gedFiles: IGedFile[];\n};\n"]}
@@ -12,6 +12,10 @@ export declare class PaymentExpectationCustomer extends Resource {
12
12
  refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
13
13
  create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
14
14
  send(id: number, payload: SendPaymentExpectationCustomer): Promise<true>;
15
+ /**
16
+ * TAP TO PAY - STRIPE
17
+ */
18
+ getAllLocations(idSociety: number): Promise<Stripe.ApiList<Stripe.Terminal.Location>>;
15
19
  createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken>;
16
20
  createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>>;
17
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["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AM,EAAE,4CAA4C,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGlG,MAAM,CAAC,MAAM,EAAE,6CAA6C,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGnG,MAAM,CAAC,MAAM,EAAE,uCAAuC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAI7F,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,8BAA8B,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxE;;OAEG;IAEH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAMrF,6BAA6B,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;IAI/G,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;CAGpG"}
@@ -33,6 +33,14 @@ export class PaymentExpectationCustomer extends Resource {
33
33
  send(id, payload) {
34
34
  return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);
35
35
  }
36
+ /**
37
+ * TAP TO PAY - STRIPE
38
+ */
39
+ getAllLocations(idSociety) {
40
+ return this.axios.$get('/stripe/tap-to-pay/locations', {
41
+ params: { idSociety },
42
+ });
43
+ }
36
44
  createTapToPayConnectionToken(payload) {
37
45
  return this.axios.$post('/stripe/tap-to-pay/tokens', payload);
38
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAoBvC,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,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S,6BAA6B,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC;IAED,IAAI,CAAC,EAAU,EAAE,OAAuC;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0CAA0C,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAED,6BAA6B,CAAC,OAAsC;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED,oBAAoB,CAAC,OAA6B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n ReadPaymentIntent,\n SendPaymentExpectationCustomer,\n CreateTapToPayIntent,\n CreateTapToPayConnectionToken,\n} from '../../types';\nimport Stripe from 'stripe';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<ReadPaymentIntent | IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n\n send(id: number, payload: SendPaymentExpectationCustomer): Promise<true> {\n return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);\n }\n\n createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken> {\n return this.axios.$post('/stripe/tap-to-pay/tokens', payload);\n }\n\n createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/tap-to-pay/intents', payload);\n }\n}\n"]}
1
+ {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAoBvC,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,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AAE,MAAM,CAAC,CAAC;IAC7F,CAAC;IAED,IAAI,CAAC,EAAU,EAAE,OAAuC;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0CAA0C,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAED;;OAEG;IAEH,eAAe,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACrD,MAAM,EAAE,EAAE,SAAS,EAAE;SACtB,CAAC,CAAC;IACL,CAAC;IAED,6BAA6B,CAAC,OAAsC;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED,oBAAoB,CAAC,OAA6B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n ReadPaymentIntent,\n SendPaymentExpectationCustomer,\n CreateTapToPayIntent,\n CreateTapToPayConnectionToken,\n} from '../../types';\nimport Stripe from 'stripe';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<ReadPaymentIntent | IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n\n send(id: number, payload: SendPaymentExpectationCustomer): Promise<true> {\n return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);\n }\n\n /**\n * TAP TO PAY - STRIPE\n */\n\n getAllLocations(idSociety: number): Promise<Stripe.ApiList<Stripe.Terminal.Location>> {\n return this.axios.$get('/stripe/tap-to-pay/locations', {\n params: { idSociety },\n });\n }\n\n createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken> {\n return this.axios.$post('/stripe/tap-to-pay/tokens', payload);\n }\n\n createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/tap-to-pay/intents', payload);\n }\n}\n"]}
@@ -2,8 +2,8 @@ import { CardType, CardState } from '../../../Enum/Card';
2
2
  export declare class QueryUserCards {
3
3
  idUsers?: number[];
4
4
  idTeam?: number;
5
- startDate?: Date;
6
- endDate?: Date;
5
+ startDate?: string;
6
+ endDate?: string;
7
7
  search?: string;
8
8
  types?: CardType[];
9
9
  states?: CardState[];
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUserCards.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGzD,qBAAa,cAAc;IAIjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,qBAAa,uBAAwB,SAAQ,cAAc;IAIzD,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAItB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B"}
1
+ {"version":3,"file":"QueryUserCards.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGzD,qBAAa,cAAc;IAIjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,qBAAa,uBAAwB,SAAQ,cAAc;IAIzD,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAItB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAKnB,KAAK,CAAC,EAAE,SAAS,CAAC;CAC3B"}
@@ -7,7 +7,7 @@ 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 { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
10
+ import { IsArray, IsBoolean, IsDate, IsDateString, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { CardState } from '../../../Enum/Card';
13
13
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -28,14 +28,14 @@ __decorate([
28
28
  __decorate([
29
29
  ApiPropertyOptional(),
30
30
  IsOptional(),
31
- IsDate(),
32
- __metadata("design:type", Date)
31
+ IsDateString(),
32
+ __metadata("design:type", String)
33
33
  ], QueryUserCards.prototype, "startDate", void 0);
34
34
  __decorate([
35
35
  ApiPropertyOptional(),
36
36
  IsOptional(),
37
- IsDate(),
38
- __metadata("design:type", Date)
37
+ IsDateString(),
38
+ __metadata("design:type", String)
39
39
  ], QueryUserCards.prototype, "endDate", void 0);
40
40
  __decorate([
41
41
  ApiPropertyOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUserCards.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAY,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,cAAc;CAyC1B;AArCS;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;+CACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8CACgB;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACW,IAAI;iDAAC;AAKjB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACS,IAAI;+CAAC;AAKf;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACa;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;6CACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;8CACmB;AAMrB;IAJP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACuB;AAGrC,MAAM,OAAO,uBAAwB,SAAQ,cAAc;IAIzD,IAAI,CAAS;IAKb,KAAK,CAAS;CACf;AANC;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;qDACM;AAKb;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;sDACO;AAGhB;;GAEG;AACH,MAAM,OAAO,mBAAmB;CA8B/B;AA1BS;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;mDACgB;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACW,IAAI;sDAAC;AAKjB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACS,IAAI;oDAAC;AAKf;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACa;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;kDACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,CAAC;;kDACQ","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardType, CardState } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryUserCards {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare idUsers?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idTeam?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare states?: CardState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare includePostponed?: boolean;\n}\n\nexport class QueryUserCardsPaginated extends QueryUserCards {\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n}\n\n/**\n * @deprecated Use QueryUserCards instead\n */\nexport class QueryUserCardsAdmin {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}\n"]}
1
+ {"version":3,"file":"QueryUserCards.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/QueryUserCards.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACrH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAY,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,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AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;kDACiB;AAKnB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,CAAC;;kDACQ","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardType, CardState } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryUserCards {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare idUsers?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idTeam?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare states?: CardState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare includePostponed?: boolean;\n}\n\nexport class QueryUserCardsPaginated extends QueryUserCards {\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n}\n\n/**\n * @deprecated Use QueryUserCards instead\n */\nexport class QueryUserCardsAdmin {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare types?: CardType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n declare state?: CardState;\n}\n"]}
@@ -4,6 +4,7 @@ export declare class CreatePaymentsAutoBilling {
4
4
  export declare class CreatePaymentsRebilling {
5
5
  idSociety: number;
6
6
  endDate?: string;
7
+ nbExercicesToGenerate?: number;
7
8
  }
8
9
  export declare class UpdateCollectable {
9
10
  listIdPayment: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,iBAAiB;IAG5B,aAAa,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,qBAAqB,CAAC,EAAE,MAAM,CAAK;CACpC;AAED,qBAAa,iBAAiB;IAG5B,aAAa,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
@@ -22,6 +22,7 @@ __decorate([
22
22
  export class CreatePaymentsRebilling {
23
23
  idSociety;
24
24
  endDate;
25
+ nbExercicesToGenerate = 1;
25
26
  }
26
27
  __decorate([
27
28
  ApiProperty(),
@@ -37,6 +38,12 @@ __decorate([
37
38
  }),
38
39
  __metadata("design:type", String)
39
40
  ], CreatePaymentsRebilling.prototype, "endDate", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ IsOptional(),
44
+ IsInt(),
45
+ __metadata("design:type", Number)
46
+ ], CreatePaymentsRebilling.prototype, "nbExercicesToGenerate", void 0);
40
47
  export class UpdateCollectable {
41
48
  listIdPayment;
42
49
  isCollectable;
@@ -1 +1 @@
1
- {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,yBAAyB;IAIpC,SAAS,CAAU;CACpB;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACW;AAErB,MAAM,OAAO,uBAAuB;IAGlC,SAAS,CAAS;IAQlB,OAAO,CAAU;CAClB;AATC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;0DACU;AAQlB;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,OAAO,CAAC,yBAAyB,EAAE;QAClC,OAAO,EAAE,qCAAqC;KAC/C,CAAC;;wDACe;AAGnB,MAAM,OAAO,iBAAiB;IAG5B,aAAa,CAAW;IAMxB,aAAa,CAAU;CACxB;AAPC;IAFC,WAAW,EAAE;IACb,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACE;AAMxB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACW;AAGzB,MAAM,OAAO,aAAa;IAIxB,MAAM,CAAU;IAKhB,WAAW,CAAU;IAKrB,UAAU,CAAU;IAKpB,eAAe,CAAU;IAKzB,YAAY,CAAU;IAMtB,OAAO,CAAW;IAMlB,MAAM,CAAW;IAMjB,UAAU,CAAW;IAMrB,gBAAgB,CAAW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{ IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
1
+ {"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,yBAAyB;IAIpC,SAAS,CAAU;CACpB;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACW;AAErB,MAAM,OAAO,uBAAuB;IAGlC,SAAS,CAAS;IAQlB,OAAO,CAAU;IAKjB,qBAAqB,GAAY,CAAC,CAAC;CACpC;AAdC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;0DACU;AAQlB;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,OAAO,CAAC,yBAAyB,EAAE;QAClC,OAAO,EAAE,qCAAqC;KAC/C,CAAC;;wDACe;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;sEAC2B;AAGrC,MAAM,OAAO,iBAAiB;IAG5B,aAAa,CAAW;IAMxB,aAAa,CAAU;CACxB;AAPC;IAFC,WAAW,EAAE;IACb,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACE;AAMxB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACW;A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EAAE;IACZ,QAAQ,EAAE;;8CACM;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;kDAAC","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { IFile, TypeFile } from '../../..';
1
+ import { IFile, IGedFile, TypeFile } from '../../..';
2
2
  export type UnpaidDetail = {
3
3
  datePayment: Date;
4
4
  amount: number;
@@ -12,10 +12,7 @@ export type ReadInvalidFieldState = {
12
12
  field: string;
13
13
  };
14
14
  export type ReadAskOrRequiredDocuments = {
15
- idGedFile?: number;
16
- idFile?: number;
17
15
  name: string;
18
- status: string;
19
16
  idGedFolder: number;
20
17
  idGedFileType?: number;
21
18
  typeFile?: TypeFile;
@@ -23,5 +20,6 @@ export type ReadAskOrRequiredDocuments = {
23
20
  idExercice?: number;
24
21
  idBalanceSheet?: number;
25
22
  idBankAccount?: number;
23
+ gedFiles: IGedFile[];
26
24
  };
27
25
  //# sourceMappingURL=ReadSociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n idGedFile?: number;\n idFile?: number;\n name: string;\n status: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n};\n"]}
1
+ {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, IGedFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n name: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n gedFiles: IGedFile[];\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.140",
3
+ "version": "1.3.142-ttp-0",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -59,6 +59,16 @@ export class PaymentExpectationCustomer extends Resource {
59
59
  return this.axios.$post(`/society/payment-expectation-customers/${id}/send`, payload);
60
60
  }
61
61
 
62
+ /**
63
+ * TAP TO PAY - STRIPE
64
+ */
65
+
66
+ getAllLocations(idSociety: number): Promise<Stripe.ApiList<Stripe.Terminal.Location>> {
67
+ return this.axios.$get('/stripe/tap-to-pay/locations', {
68
+ params: { idSociety },
69
+ });
70
+ }
71
+
62
72
  createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken> {
63
73
  return this.axios.$post('/stripe/tap-to-pay/tokens', payload);
64
74
  }
@@ -1,4 +1,4 @@
1
- import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
1
+ import { IsArray, IsBoolean, IsDate, IsDateString, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { CardType, CardState } from '../../../Enum/Card';
4
4
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -16,13 +16,13 @@ export class QueryUserCards {
16
16
 
17
17
  @ApiPropertyOptional()
18
18
  @IsOptional()
19
- @IsDate()
20
- declare startDate?: Date;
19
+ @IsDateString()
20
+ declare startDate?: string;
21
21
 
22
22
  @ApiPropertyOptional()
23
23
  @IsOptional()
24
- @IsDate()
25
- declare endDate?: Date;
24
+ @IsDateString()
25
+ declare endDate?: string;
26
26
 
27
27
  @ApiPropertyOptional()
28
28
  @IsOptional()
@@ -20,6 +20,11 @@ export class CreatePaymentsRebilling {
20
20
  message: 'endDate doit être au format YYYY-MM',
21
21
  })
22
22
  endDate?: string;
23
+
24
+ @ApiPropertyOptional()
25
+ @IsOptional()
26
+ @IsInt()
27
+ nbExercicesToGenerate?: number = 1;
23
28
  }
24
29
 
25
30
  export class UpdateCollectable {
@@ -1,4 +1,4 @@
1
- import { IFile, TypeFile } from '../../..';
1
+ import { IFile, IGedFile, TypeFile } from '../../..';
2
2
 
3
3
  export type UnpaidDetail = {
4
4
  datePayment: Date;
@@ -15,10 +15,7 @@ export type ReadInvalidFieldState = {
15
15
  };
16
16
 
17
17
  export type ReadAskOrRequiredDocuments = {
18
- idGedFile?: number;
19
- idFile?: number;
20
18
  name: string;
21
- status: string;
22
19
  idGedFolder: number;
23
20
  idGedFileType?: number;
24
21
  typeFile?: TypeFile;
@@ -26,4 +23,5 @@ export type ReadAskOrRequiredDocuments = {
26
23
  idExercice?: number;
27
24
  idBalanceSheet?: number;
28
25
  idBankAccount?: number;
26
+ gedFiles: IGedFile[];
29
27
  };