sdk-sapi-promarketing 0.0.4 → 0.0.5

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 CHANGED
@@ -4115,7 +4115,7 @@ var ValidateService$1 = class ValidateService extends RequestBase {
4115
4115
  * @param options Represent value options.
4116
4116
  * @returns These returns values unknown.
4117
4117
  */
4118
- getAffiliateValidation = (code, options = {}) => code && this.getBase(
4118
+ getAffiliateValidation = (code, options = {}) => this.getBase(
4119
4119
  `/skin/${this.context.skin}/affiliate/code/${code}`,
4120
4120
  options
4121
4121
  );
@@ -6305,7 +6305,7 @@ declare class ValidateService extends RequestBase$1 {
6305
6305
  * @param options Represent value options.
6306
6306
  * @returns These returns values unknown.
6307
6307
  */
6308
- getAffiliateValidation: (code: string, options?: {}) => "" | Promise<ValidateAffiliateCodeType>;
6308
+ getAffiliateValidation: (code: string, options?: {}) => Promise<ValidateAffiliateCodeType>;
6309
6309
  /**
6310
6310
  * Get mail validation.
6311
6311
  *
package/dist/index.d.ts CHANGED
@@ -4115,7 +4115,7 @@ var ValidateService$1 = class ValidateService extends RequestBase {
4115
4115
  * @param options Represent value options.
4116
4116
  * @returns These returns values unknown.
4117
4117
  */
4118
- getAffiliateValidation = (code, options = {}) => code && this.getBase(
4118
+ getAffiliateValidation = (code, options = {}) => this.getBase(
4119
4119
  `/skin/${this.context.skin}/affiliate/code/${code}`,
4120
4120
  options
4121
4121
  );
@@ -6305,7 +6305,7 @@ declare class ValidateService extends RequestBase$1 {
6305
6305
  * @param options Represent value options.
6306
6306
  * @returns These returns values unknown.
6307
6307
  */
6308
- getAffiliateValidation: (code: string, options?: {}) => "" | Promise<ValidateAffiliateCodeType>;
6308
+ getAffiliateValidation: (code: string, options?: {}) => Promise<ValidateAffiliateCodeType>;
6309
6309
  /**
6310
6310
  * Get mail validation.
6311
6311
  *
package/dist/index.js CHANGED
@@ -869,7 +869,7 @@ var ValidateService = class extends RequestBase {
869
869
  * @param options Represent value options.
870
870
  * @returns These returns values unknown.
871
871
  */
872
- getAffiliateValidation = (code, options = {}) => code && this.getBase(
872
+ getAffiliateValidation = (code, options = {}) => this.getBase(
873
873
  `/skin/${this.context.skin}/affiliate/code/${code}`,
874
874
  options
875
875
  );