sdk-sapi-promarketing 0.0.8 → 0.0.10
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3462,7 +3462,7 @@ declare class ValidateService extends RequestBase {
|
|
|
3462
3462
|
* @param options Represent value options.
|
|
3463
3463
|
* @returns These returns values unknown.
|
|
3464
3464
|
*/
|
|
3465
|
-
getDocumentValidationBySkin: (document: string, playerPreregisterId: string) =>
|
|
3465
|
+
getDocumentValidationBySkin: (document: string, playerPreregisterId: string) => Promise<ValidateDocumentBySkinType>;
|
|
3466
3466
|
/**
|
|
3467
3467
|
* Get document validation by skin.
|
|
3468
3468
|
*
|
|
@@ -3721,7 +3721,7 @@ declare class SelfLimitationService extends RequestBase {
|
|
|
3721
3721
|
* @param typeSelfLimitation - The type of self-limitation to cancel.
|
|
3722
3722
|
* @returns A promise with the server response about the cancellation status.
|
|
3723
3723
|
*/
|
|
3724
|
-
postSelfLimitationCancel: (selfLimitation: SelfLimitationEnum, typeSelfLimitation: TypeSelfLimitationEnum) => Promise<CommonMessageType>;
|
|
3724
|
+
postSelfLimitationCancel: (selfLimitation: SelfLimitationEnum, typeSelfLimitation: TypeSelfLimitationEnum | null) => Promise<CommonMessageType>;
|
|
3725
3725
|
/**
|
|
3726
3726
|
* Creates or updates a self-limitation configuration for the given path.
|
|
3727
3727
|
*
|
|
@@ -3829,7 +3829,7 @@ declare class PaymentService extends RequestBase {
|
|
|
3829
3829
|
* @param options - Represent value options.
|
|
3830
3830
|
* @returns These returns a list with payment methods.
|
|
3831
3831
|
*/
|
|
3832
|
-
getPaymentDetails: (payment_id: string, options?: {}) => Promise<
|
|
3832
|
+
getPaymentDetails: (payment_id: string, options?: {}) => Promise<PaymentDetailsType>;
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
3835
3835
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3462,7 +3462,7 @@ declare class ValidateService extends RequestBase {
|
|
|
3462
3462
|
* @param options Represent value options.
|
|
3463
3463
|
* @returns These returns values unknown.
|
|
3464
3464
|
*/
|
|
3465
|
-
getDocumentValidationBySkin: (document: string, playerPreregisterId: string) =>
|
|
3465
|
+
getDocumentValidationBySkin: (document: string, playerPreregisterId: string) => Promise<ValidateDocumentBySkinType>;
|
|
3466
3466
|
/**
|
|
3467
3467
|
* Get document validation by skin.
|
|
3468
3468
|
*
|
|
@@ -3721,7 +3721,7 @@ declare class SelfLimitationService extends RequestBase {
|
|
|
3721
3721
|
* @param typeSelfLimitation - The type of self-limitation to cancel.
|
|
3722
3722
|
* @returns A promise with the server response about the cancellation status.
|
|
3723
3723
|
*/
|
|
3724
|
-
postSelfLimitationCancel: (selfLimitation: SelfLimitationEnum, typeSelfLimitation: TypeSelfLimitationEnum) => Promise<CommonMessageType>;
|
|
3724
|
+
postSelfLimitationCancel: (selfLimitation: SelfLimitationEnum, typeSelfLimitation: TypeSelfLimitationEnum | null) => Promise<CommonMessageType>;
|
|
3725
3725
|
/**
|
|
3726
3726
|
* Creates or updates a self-limitation configuration for the given path.
|
|
3727
3727
|
*
|
|
@@ -3829,7 +3829,7 @@ declare class PaymentService extends RequestBase {
|
|
|
3829
3829
|
* @param options - Represent value options.
|
|
3830
3830
|
* @returns These returns a list with payment methods.
|
|
3831
3831
|
*/
|
|
3832
|
-
getPaymentDetails: (payment_id: string, options?: {}) => Promise<
|
|
3832
|
+
getPaymentDetails: (payment_id: string, options?: {}) => Promise<PaymentDetailsType>;
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
3835
3835
|
/**
|
package/dist/index.js
CHANGED
|
@@ -839,7 +839,7 @@ var ValidateService = class extends RequestBase {
|
|
|
839
839
|
* @param options Represent value options.
|
|
840
840
|
* @returns These returns values unknown.
|
|
841
841
|
*/
|
|
842
|
-
getDocumentValidationBySkin = (document, playerPreregisterId) =>
|
|
842
|
+
getDocumentValidationBySkin = (document, playerPreregisterId) => this.postBase(`/document`, {
|
|
843
843
|
headers: headersApplicationJson,
|
|
844
844
|
body: JSON.stringify({
|
|
845
845
|
document_rut: document,
|
|
@@ -1764,7 +1764,7 @@ var PaymentService = class extends RequestBase {
|
|
|
1764
1764
|
* @param options - Represent value options.
|
|
1765
1765
|
* @returns These returns a list with payment methods.
|
|
1766
1766
|
*/
|
|
1767
|
-
getPaymentDetails = async (payment_id, options = {}) =>
|
|
1767
|
+
getPaymentDetails = async (payment_id, options = {}) => this.getBase(
|
|
1768
1768
|
`/details/payment-id/${payment_id}`,
|
|
1769
1769
|
options,
|
|
1770
1770
|
false
|