oro-sdk-apis 1.24.0 → 1.24.1
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/oro-sdk-apis.cjs.development.js +2 -3
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +2 -3
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +1 -1
- package/package.json +1 -1
- package/src/services/practice.ts +1 -2
|
@@ -73,7 +73,7 @@ export declare class PracticeService {
|
|
|
73
73
|
* @param consultRequest (optional) consult request to use. If defined, when payment service call our hooks in practice, it will try to create a consult with these infos.
|
|
74
74
|
* @returns
|
|
75
75
|
*/
|
|
76
|
-
practiceCreatePaymentsIntent(practiceUuid: Uuid, planId: number, userEmail: string, isoLocality?: string, url_subdomain?: string,
|
|
76
|
+
practiceCreatePaymentsIntent(practiceUuid: Uuid, planId: number, userEmail: string, isoLocality?: string, url_subdomain?: string, consultRequest?: ConsultRequestMetadata): Promise<PracticePaymentIntent>;
|
|
77
77
|
practiceGetPaymentsIntent(practiceUuid: Uuid, paymentIntentId: number): Promise<PracticePaymentIntent>;
|
|
78
78
|
practiceUpdatePaymentsIntent(practiceUuid: string, idPraticePaymentIntent: number, practicePaymentIntent: PracticePaymentIntent, userEmail: string, promotionCode?: string): Promise<PracticePaymentIntent>;
|
|
79
79
|
/**
|
package/package.json
CHANGED
package/src/services/practice.ts
CHANGED
|
@@ -195,7 +195,6 @@ export class PracticeService {
|
|
|
195
195
|
userEmail: string,
|
|
196
196
|
isoLocality?: string,
|
|
197
197
|
url_subdomain?: string,
|
|
198
|
-
promotionCode?: string,
|
|
199
198
|
consultRequest?: ConsultRequestMetadata
|
|
200
199
|
): Promise<PracticePaymentIntent> {
|
|
201
200
|
return this.api.post<PracticePaymentIntent>(
|
|
@@ -206,7 +205,7 @@ export class PracticeService {
|
|
|
206
205
|
isoLocality,
|
|
207
206
|
consultRequest,
|
|
208
207
|
},
|
|
209
|
-
{ params: { url_subdomain
|
|
208
|
+
{ params: { url_subdomain } }
|
|
210
209
|
)
|
|
211
210
|
}
|
|
212
211
|
|