@springtree/eva-services-core-management 3.0.0-beta.51 → 3.0.0-beta.53
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/lib/eva-services-core-management.d.ts +50 -0
- package/lib/eva-services-core-management.d.ts.map +1 -1
- package/lib/eva-services-core-management.js.map +1 -1
- package/lib/eva-services-core-management.services.d.ts +7 -1
- package/lib/eva-services-core-management.services.d.ts.map +1 -1
- package/lib/eva-services-core-management.services.js +6 -0
- package/lib/eva-services-core-management.services.js.map +1 -1
- package/package.json +3 -3
|
@@ -3151,12 +3151,18 @@ export interface CreateDiscountFromTemplate<ID_TYPE = string> {
|
|
|
3151
3151
|
* Entity type: DiscountCampaign
|
|
3152
3152
|
*/
|
|
3153
3153
|
CampaignID?: ID_TYPE | null;
|
|
3154
|
+
CannotApplyToOwnOrder?: boolean;
|
|
3154
3155
|
CompliancyRule?: DataModelsDiscountCompliancyRule;
|
|
3155
3156
|
CreateAsActive?: boolean;
|
|
3156
3157
|
/**
|
|
3157
3158
|
* Entity type: Currency
|
|
3158
3159
|
*/
|
|
3159
3160
|
CurrencyID: string;
|
|
3161
|
+
/**
|
|
3162
|
+
* Optional additional custom fields
|
|
3163
|
+
*/
|
|
3164
|
+
CustomFields?: DataModelsCustomFieldKeyValue<ID_TYPE>[];
|
|
3165
|
+
DaysApplicable?: DaysOfWeek;
|
|
3160
3166
|
Description: string;
|
|
3161
3167
|
EndDate?: string;
|
|
3162
3168
|
FinancialDispersion?: DataModelsFinancialDespersionType;
|
|
@@ -3243,10 +3249,12 @@ export interface CreateDiscountTemplate<ID_TYPE = string> {
|
|
|
3243
3249
|
* Entity type: DiscountCampaign
|
|
3244
3250
|
*/
|
|
3245
3251
|
CampaignID?: ID_TYPE;
|
|
3252
|
+
CannotApplyToOwnOrder?: boolean;
|
|
3246
3253
|
ConditionType?: DataModelsDiscountConditionTypes;
|
|
3247
3254
|
Conditions?: DiscountsCreateDiscountTemplate_Condition<ID_TYPE>[];
|
|
3248
3255
|
CouponHandler?: string;
|
|
3249
3256
|
CouponsGeneratedByOtherDiscount?: boolean;
|
|
3257
|
+
DaysApplicable?: DaysOfWeek;
|
|
3250
3258
|
Description: string;
|
|
3251
3259
|
DiscountOrderType?: DataModelsDiscountOrderTypes;
|
|
3252
3260
|
ImageBlobID?: string;
|
|
@@ -3698,6 +3706,7 @@ export interface GetDiscountTemplateByIDResponse<ID_TYPE = string> {
|
|
|
3698
3706
|
* Entity type: DiscountCampaign
|
|
3699
3707
|
*/
|
|
3700
3708
|
CampaignID?: ID_TYPE;
|
|
3709
|
+
CannotApplyToOwnOrder: boolean;
|
|
3701
3710
|
ConditionType: DataModelsDiscountConditionTypes;
|
|
3702
3711
|
Conditions?: DiscountsGetDiscountTemplateByIDResponse_Condition<ID_TYPE>[];
|
|
3703
3712
|
CouponHandler?: string;
|
|
@@ -3705,6 +3714,7 @@ export interface GetDiscountTemplateByIDResponse<ID_TYPE = string> {
|
|
|
3705
3714
|
CreatedByFullName?: string;
|
|
3706
3715
|
CreatedByID: ID_TYPE;
|
|
3707
3716
|
CreationTime: string;
|
|
3717
|
+
DaysApplicable?: DaysOfWeek;
|
|
3708
3718
|
Description?: string;
|
|
3709
3719
|
DiscountOrderType: DataModelsDiscountOrderTypes;
|
|
3710
3720
|
Error?: ServiceError<ID_TYPE>;
|
|
@@ -4358,10 +4368,12 @@ export interface UpdateDiscountTemplate<ID_TYPE = string> {
|
|
|
4358
4368
|
* Entity type: DiscountCampaign
|
|
4359
4369
|
*/
|
|
4360
4370
|
CampaignID?: ID_TYPE;
|
|
4371
|
+
CannotApplyToOwnOrder?: boolean;
|
|
4361
4372
|
ConditionType?: DataModelsDiscountConditionTypes;
|
|
4362
4373
|
Conditions?: DiscountsUpdateDiscountTemplate_Condition<ID_TYPE>[];
|
|
4363
4374
|
CouponHandler?: string;
|
|
4364
4375
|
CouponsGeneratedByOtherDiscount?: boolean;
|
|
4376
|
+
DaysApplicable?: DaysOfWeek;
|
|
4365
4377
|
Description: string;
|
|
4366
4378
|
DiscountOrderType?: DataModelsDiscountOrderTypes;
|
|
4367
4379
|
/**
|
|
@@ -4530,10 +4542,12 @@ export interface ValidateDiscountTemplate<ID_TYPE = string> {
|
|
|
4530
4542
|
ActionType: 'V2:DISCOUNTAMOUNT' | 'V2:CUSTOMERAGE' | 'V2:TIEREDCUSTOMERAGE' | 'V2:GENERATEDISCOUNTCOUPON' | 'V2:GETAPRODUCT' | 'V2:LOYALTYTIEREDDISCOUNTAMOUNT' | 'V2:LOYALTYTIEREDDISCOUNTPERCENTAGE' | 'V2:ORDERTIEREDDISCOUNTAMOUNT' | 'V2:ORDERTIEREDDISCOUNTPERCENTAGE' | 'V2:ORIGINATINGORDERDISCOUNT' | 'V2:OTHERCOSTS' | 'V2:DISCOUNTPERCENTAGE' | 'V2:TIEREDPICKAPRODUCT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTSETDISCOUNTAMOUNT' | 'V2:PRODUCTSETFIXEDPRICE' | 'V2:PRODUCTSETFREEPRODUCT' | 'V2:PRODUCTSETDISCOUNTPERCENTAGE' | 'V2:CUSTOMFIELDVALUEDETERMINEDDISCOUNT' | 'DEFAULT' | 'RITUALSEMPLOYEE' | 'V2:RITUALSEMPLOYEE';
|
|
4531
4543
|
AppliesTo?: DataModelsDiscountAppliesTo;
|
|
4532
4544
|
BackendID?: string;
|
|
4545
|
+
CannotApplyToOwnOrder?: boolean;
|
|
4533
4546
|
ConditionType?: DataModelsDiscountConditionTypes;
|
|
4534
4547
|
Conditions?: DiscountsValidateDiscountTemplate_Condition<ID_TYPE>[];
|
|
4535
4548
|
CouponHandler?: string;
|
|
4536
4549
|
CouponsGeneratedByOtherDiscount?: boolean;
|
|
4550
|
+
DaysApplicable?: DaysOfWeek;
|
|
4537
4551
|
Description: string;
|
|
4538
4552
|
DiscountOrderType?: DataModelsDiscountOrderTypes;
|
|
4539
4553
|
IsExclusive?: boolean;
|
|
@@ -13895,6 +13909,42 @@ export interface GetSurveyTranslatableItemsResponse<ID_TYPE = string> {
|
|
|
13895
13909
|
TranslatableItems?: SurveysTranslatableItem<ID_TYPE>[];
|
|
13896
13910
|
}
|
|
13897
13911
|
/**
|
|
13912
|
+
* Returns the translation status of the survey.
|
|
13913
|
+
*/
|
|
13914
|
+
export interface GetSurveyTranslationStatus<ID_TYPE = string> {
|
|
13915
|
+
/**
|
|
13916
|
+
* Entity type: Country
|
|
13917
|
+
*/
|
|
13918
|
+
CountryID?: string;
|
|
13919
|
+
/**
|
|
13920
|
+
* Entity type: Language
|
|
13921
|
+
*/
|
|
13922
|
+
LanguageID?: string;
|
|
13923
|
+
/**
|
|
13924
|
+
* Entity type: Survey
|
|
13925
|
+
*/
|
|
13926
|
+
SurveyID: ID_TYPE;
|
|
13927
|
+
}
|
|
13928
|
+
export interface GetSurveyTranslationStatusResponse<ID_TYPE = string> {
|
|
13929
|
+
Error?: ServiceError<ID_TYPE>;
|
|
13930
|
+
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
13931
|
+
Statuses?: SurveysGetSurveyTranslationStatusResponse_TranslationStatus<ID_TYPE>[];
|
|
13932
|
+
}
|
|
13933
|
+
export interface SurveysGetSurveyTranslationStatusResponse_TranslationStatus<ID_TYPE = string> {
|
|
13934
|
+
/**
|
|
13935
|
+
* Entity type: Country
|
|
13936
|
+
*/
|
|
13937
|
+
CountryID?: string;
|
|
13938
|
+
/**
|
|
13939
|
+
* Entity type: Language
|
|
13940
|
+
*/
|
|
13941
|
+
LanguageID?: string;
|
|
13942
|
+
/**
|
|
13943
|
+
* Percentage of translations that are set. 0-100
|
|
13944
|
+
*/
|
|
13945
|
+
Progress: number;
|
|
13946
|
+
}
|
|
13947
|
+
/**
|
|
13898
13948
|
* List the available custom fields for a given survey context
|
|
13899
13949
|
*/
|
|
13900
13950
|
export interface ListCustomFieldsForSurvey<ID_TYPE = string> {
|