oro-sdk-apis 1.53.0 → 1.54.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/practice.d.ts +34 -0
- package/dist/oro-sdk-apis.cjs.development.js +402 -819
- 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 +402 -819
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +4 -4
- package/package.json +1 -1
- package/src/models/practice.ts +37 -1
- package/src/services/practice.ts +6 -5
- package/LICENSE +0 -21
@@ -435,10 +435,44 @@ export interface PracticePaymentIntent {
|
|
435
435
|
* It will be used to create the consult when stripe use our hook.
|
436
436
|
*/
|
437
437
|
export interface ConsultRequestMetadata {
|
438
|
+
/**
|
439
|
+
* Defines the kind of `PaymentIntentRequestMetadata` it is
|
440
|
+
*
|
441
|
+
* Note: it can be `undefined` to handle backward compatibility when this interface didn't had a `kind`
|
442
|
+
*/
|
443
|
+
kind: 'ConsultRequestMetadata' | undefined;
|
444
|
+
/**
|
445
|
+
* The specialty required by the consultation
|
446
|
+
*/
|
438
447
|
tagSpecialtyRequired: string;
|
448
|
+
/**
|
449
|
+
* The locality required for the consultation in iso. COUNTRY (ISO 3166) - PROVINCE - COUNTY - CITY
|
450
|
+
*/
|
439
451
|
isoLocalityRequired?: string;
|
452
|
+
/**
|
453
|
+
* The language required for the consultation. Should respect ISO 639-3 https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
|
454
|
+
*/
|
440
455
|
isoLanguageRequired: string;
|
441
456
|
}
|
457
|
+
/**
|
458
|
+
* This interface is used as metadata when creating Stripe Invoice.
|
459
|
+
* It will be used to refill a treatment plan of a consult.
|
460
|
+
*/
|
461
|
+
export interface RefillTreatmentRequestMetadata {
|
462
|
+
/**
|
463
|
+
* Defines the kind of `PaymentIntentRequestMetadata` it is
|
464
|
+
*/
|
465
|
+
kind: 'RefillTreatmentRequestMetadata';
|
466
|
+
/**
|
467
|
+
* The consult uuid to refill
|
468
|
+
*/
|
469
|
+
consultUuid: string;
|
470
|
+
}
|
471
|
+
/**
|
472
|
+
* This interface is used as metadata when creating Stripe Invoice.
|
473
|
+
* It will be used when stripe uses our hook.
|
474
|
+
*/
|
475
|
+
export declare type PaymentIntentRequestMetadata = ConsultRequestMetadata | RefillTreatmentRequestMetadata;
|
442
476
|
export interface AssignmentRequest {
|
443
477
|
uuidAssignor: string;
|
444
478
|
uuidPractitioner?: string;
|