@silexpert/core 1.3.142-ttp-0 → 1.3.142

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.
@@ -12,10 +12,6 @@ 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>>;
19
15
  createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken>;
20
16
  createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>>;
21
17
  }
@@ -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,4CAA4C,EAC5C,YAAY,EACZ,6CAA6C,EAC7C,uCAAuC,EACvC,kCAAkC,EAClC,iDAAiD,EACjD,iBAAiB,EACjB,8BAA8B,EAC9B,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,aAAa,CAAC;AACrB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,0BAA2B,SAAQ,QAAQ;IACtD,GAAG,CAAC,MAAM,EAAE,kCAAkC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGrF,YAAY,CACV,MAAM,EAAE,4CAA4C,EACp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CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;CAGpG"}
@@ -32,14 +32,6 @@ 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
- }
43
35
  createTapToPayConnectionToken(payload) {
44
36
  return this.axios.$post('/stripe/tap-to-pay/tokens', payload);
45
37
  }
@@ -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,CAAC,EAAE,CAAC,GACpC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7B,MAAM,IACN,CAAC;IACL,CAAC;IACD,KAAK,CAAC,MAAyD;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,sCAAsC,EAAE;YACzF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,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'../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"]}
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,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KA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O,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"]}
@@ -12,10 +12,6 @@ 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>>;
19
15
  createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken>;
20
16
  createTapToPayIntent(payload: CreateTapToPayIntent): Promise<Stripe.Response<Stripe.PaymentIntent>>;
21
17
  }
@@ -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,QAA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G7F,MAAM,CAAC,MAAM,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,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,14 +33,6 @@ 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
- }
44
36
  createTapToPayConnectionToken(payload) {
45
37
  return this.axios.$post('/stripe/tap-to-pay/tokens', payload);
46
38
  }
@@ -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,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,YAAY,CACV,MAAoD,EACpD,WAAyB,EACzB,MAAoB;QAE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AAC,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"]}
1
+ {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectationCustomer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AAS,kCAAkC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACnH,CAAC;IACD,MAAM,CAAC,MAA+C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,SAAS,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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.142-ttp-0",
3
+ "version": "1.3.142",
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,16 +59,6 @@ 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
-
72
62
  createTapToPayConnectionToken(payload: CreateTapToPayConnectionToken): Promise<Stripe.Terminal.ConnectionToken> {
73
63
  return this.axios.$post('/stripe/tap-to-pay/tokens', payload);
74
64
  }