sdk-sapi-promarketing 0.0.3 → 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
  *
@@ -6914,7 +6914,7 @@ declare class BonusService extends RequestBase$1 {
6914
6914
  *
6915
6915
  * @returns These returns values BonusStatusPromotionData.
6916
6916
  */
6917
- getBonusStatusPromotionAvailableCode: (code: BonusPromotionCodeEnum$1) => Promise<BonusStatusPromotionData>;
6917
+ getBonusStatusPromotionAvailableCode: (code: string) => Promise<BonusStatusPromotionData>;
6918
6918
  /**
6919
6919
  * Get bonus status finish report.
6920
6920
  *
@@ -6926,13 +6926,13 @@ declare class BonusService extends RequestBase$1 {
6926
6926
  *
6927
6927
  * @returns These returns values BonusStatusDetailsDataType.
6928
6928
  */
6929
- getBonusStatusDetails: (code: BonusPromotionCodeEnum$1, query?: {}) => Promise<BonusStatusDetailsDataType>;
6929
+ getBonusStatusDetails: (code: string, query?: {}) => Promise<BonusStatusDetailsDataType>;
6930
6930
  /**
6931
6931
  * Get bonus promotion reason.
6932
6932
  *
6933
6933
  * @returns These returns values BonusPromotionReasonDataType.
6934
6934
  */
6935
- getBonusPromotionReason: (code: BonusPromotionCodeEnum$1) => Promise<BonusPromotionReasonDataType>;
6935
+ getBonusPromotionReason: (code: string) => Promise<BonusPromotionReasonDataType>;
6936
6936
  }
6937
6937
 
6938
6938
  /**
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
  *
@@ -6914,7 +6914,7 @@ declare class BonusService extends RequestBase$1 {
6914
6914
  *
6915
6915
  * @returns These returns values BonusStatusPromotionData.
6916
6916
  */
6917
- getBonusStatusPromotionAvailableCode: (code: BonusPromotionCodeEnum$1) => Promise<BonusStatusPromotionData>;
6917
+ getBonusStatusPromotionAvailableCode: (code: string) => Promise<BonusStatusPromotionData>;
6918
6918
  /**
6919
6919
  * Get bonus status finish report.
6920
6920
  *
@@ -6926,13 +6926,13 @@ declare class BonusService extends RequestBase$1 {
6926
6926
  *
6927
6927
  * @returns These returns values BonusStatusDetailsDataType.
6928
6928
  */
6929
- getBonusStatusDetails: (code: BonusPromotionCodeEnum$1, query?: {}) => Promise<BonusStatusDetailsDataType>;
6929
+ getBonusStatusDetails: (code: string, query?: {}) => Promise<BonusStatusDetailsDataType>;
6930
6930
  /**
6931
6931
  * Get bonus promotion reason.
6932
6932
  *
6933
6933
  * @returns These returns values BonusPromotionReasonDataType.
6934
6934
  */
6935
- getBonusPromotionReason: (code: BonusPromotionCodeEnum$1) => Promise<BonusPromotionReasonDataType>;
6935
+ getBonusPromotionReason: (code: string) => Promise<BonusPromotionReasonDataType>;
6936
6936
  }
6937
6937
 
6938
6938
  /**
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
  );