@springtree/eva-services-core-management 3.0.0-beta.7 → 3.0.0-beta.9

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.
@@ -3562,6 +3562,41 @@ export interface MoveDiscountLayer {
3562
3562
  ID: string;
3563
3563
  }
3564
3564
  /**
3565
+ * Push a DiscountCoupon
3566
+ */
3567
+ export interface PushDiscountCoupons {
3568
+ Coupons?: DiscountsPushDiscountCoupons_PushedCoupon[];
3569
+ /**
3570
+ * Entity type: Discount
3571
+ */
3572
+ DiscountID?: string;
3573
+ }
3574
+ export interface DiscountsPushDiscountCoupons_PushedCoupon {
3575
+ CouponCode?: string;
3576
+ IsActive?: boolean;
3577
+ MaximumUsage?: number;
3578
+ /**
3579
+ * Entity type: Order
3580
+ */
3581
+ OrderID?: string;
3582
+ /**
3583
+ * Entity type: User
3584
+ */
3585
+ UserID?: string;
3586
+ }
3587
+ export interface PushDiscountCouponsResponse {
3588
+ CreatedCoupons?: DiscountsPushDiscountCouponsResponse_CreatedCoupon[];
3589
+ Error?: ServiceError;
3590
+ Metadata?: ResponseMessageMetadata;
3591
+ }
3592
+ export interface DiscountsPushDiscountCouponsResponse_CreatedCoupon {
3593
+ /**
3594
+ * Entity type: DiscountCoupon
3595
+ */
3596
+ ID: string;
3597
+ IsDuplicateCoupon: boolean;
3598
+ }
3599
+ /**
3565
3600
  * Remove required custom fields from ManualDiscount
3566
3601
  */
3567
3602
  export interface RemoveRequiredCustomFieldsFromManualDiscount {
@@ -3892,24 +3927,6 @@ export interface UploadCouponExcelResponse {
3892
3927
  IsProcessedAsync: boolean;
3893
3928
  Metadata?: ResponseMessageMetadata;
3894
3929
  }
3895
- export interface UploadCouponExcel_Async {
3896
- /**
3897
- * Entity type: Blob
3898
- */
3899
- BlobID?: string;
3900
- /**
3901
- * Entity type: Discount
3902
- */
3903
- DiscountID: string;
3904
- }
3905
- export interface UploadCouponExcel_AsyncResponse {
3906
- Error?: ServiceError;
3907
- JobID?: string;
3908
- Metadata?: ResponseMessageMetadata;
3909
- }
3910
- export interface UploadCouponExcel_AsyncResult {
3911
- JobID?: string;
3912
- }
3913
3930
  /**
3914
3931
  * Validates the given discount information
3915
3932
  */
@@ -6213,7 +6230,7 @@ export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType {
6213
6230
  * Entity type: PaymentType
6214
6231
  */
6215
6232
  PaymentTypeID: string;
6216
- ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
6233
+ ProductLimitation?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType_ProductLimitationData;
6217
6234
  Required?: boolean;
6218
6235
  Sequence?: number;
6219
6236
  TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
@@ -6221,6 +6238,33 @@ export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType {
6221
6238
  UserBudgetDeduction: DataModelsUserBudgetDeduction;
6222
6239
  UserMaximumUsage?: number;
6223
6240
  }
6241
+ export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType_ProductLimitationData {
6242
+ Filters?: Record<string, SearchFilterModel>;
6243
+ /**
6244
+ * The quantity limit over the entire product limitation product set per order.
6245
+ */
6246
+ OverallQuantityLimitPerOrder?: number;
6247
+ /**
6248
+ * The quantity limit over the entire product limitation product set per user.
6249
+ */
6250
+ OverallQuantityLimitPerUser?: number;
6251
+ /**
6252
+ * Entity type: Product
6253
+ */
6254
+ ProductIDs?: string[];
6255
+ /**
6256
+ * Entity type: ProductSearchTemplate
6257
+ */
6258
+ ProductSearchID?: string;
6259
+ /**
6260
+ * The quantity limit per product within the product limitation product set per order.
6261
+ */
6262
+ QuantityLimitPerOrder?: number;
6263
+ /**
6264
+ * The quantity limit per product within the product limitation product set per user.
6265
+ */
6266
+ QuantityLimitPerUser?: number;
6267
+ }
6224
6268
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation {
6225
6269
  ApplyToPriceList?: boolean;
6226
6270
  Filters?: Record<string, SearchFilterModel>;
@@ -6264,6 +6308,39 @@ export interface LoyaltyPushLoyaltyProgram_PushPointAwardingRuleCondition {
6264
6308
  ID: string;
6265
6309
  Type: 'ORDERAMOUNT' | 'PRODUCT' | 'USERCUSTOMFIELD';
6266
6310
  }
6311
+ export interface PushLoyaltyProgramGroupResponse {
6312
+ Error?: ServiceError;
6313
+ /**
6314
+ * Entity type: LoyaltyProgram
6315
+ */
6316
+ ID: string;
6317
+ Metadata?: ResponseMessageMetadata;
6318
+ }
6319
+ export interface PushLoyaltyProgramGroup_Async {
6320
+ Budget?: number;
6321
+ /**
6322
+ * Entity type: Currency
6323
+ */
6324
+ BudgetCurrencyID?: string;
6325
+ DeactivateWhenBudgetIsReached?: boolean;
6326
+ EndDate?: string;
6327
+ /**
6328
+ * Entity type: LoyaltyProgramGroup
6329
+ */
6330
+ ID: string;
6331
+ Name: string;
6332
+ StartDate?: string;
6333
+ Status: DataModelsLoyaltyProgramStatus;
6334
+ TaxExemptionCode?: string;
6335
+ }
6336
+ export interface PushLoyaltyProgramGroup_AsyncResponse {
6337
+ Error?: ServiceError;
6338
+ JobID?: string;
6339
+ Metadata?: ResponseMessageMetadata;
6340
+ }
6341
+ export interface PushLoyaltyProgramGroup_AsyncResult {
6342
+ JobID?: string;
6343
+ }
6267
6344
  export interface PushLoyaltyProgramResponse {
6268
6345
  Error?: ServiceError;
6269
6346
  /**
@@ -12180,6 +12257,7 @@ export interface CreateUserOriginResponse {
12180
12257
  * Creates a new UserRequirement and returns the ID of the new record.
12181
12258
  */
12182
12259
  export interface CreateUserRequirement {
12260
+ AccountType?: DataModelsUserAccountType;
12183
12261
  CustomValidators?: Record<string, TAnyValue | null>;
12184
12262
  Display?: boolean;
12185
12263
  Preferred?: boolean;
@@ -12615,6 +12693,7 @@ export interface GetUserRequirement {
12615
12693
  ID: string;
12616
12694
  }
12617
12695
  export interface GetUserRequirementResponse {
12696
+ AccountType?: DataModelsUserAccountType;
12618
12697
  CustomValidators?: Record<string, TAnyValue | null>;
12619
12698
  Display: boolean;
12620
12699
  Error?: ServiceError;
@@ -12838,6 +12917,7 @@ export interface ListUserRequirementsResponse {
12838
12917
  Result?: PagedResult<UsersListUserRequirementsResponse_UserRequirementDto>;
12839
12918
  }
12840
12919
  export interface UsersListUserRequirementsResponse_UserRequirementDto {
12920
+ AccountType?: DataModelsUserAccountType;
12841
12921
  CustomValidators?: Record<string, TAnyValue | null>;
12842
12922
  Display: boolean;
12843
12923
  /**
@@ -12966,6 +13046,7 @@ export interface UpdateSubscriptionUserRequirements {
12966
13046
  Requirements: UsersUpdateSubscriptionUserRequirements_UserRequirementDto[];
12967
13047
  }
12968
13048
  export interface UsersUpdateSubscriptionUserRequirements_UserRequirementDto {
13049
+ AccountType: DataModelsUserAccountType | undefined;
12969
13050
  CustomValidators: Record<string, TAnyValue | null> | null | undefined;
12970
13051
  Display?: boolean;
12971
13052
  /**
@@ -12996,6 +13077,7 @@ export interface UpdateUserOrigin {
12996
13077
  * Updates an existing UserRequirement.
12997
13078
  */
12998
13079
  export interface UpdateUserRequirement {
13080
+ AccountType: DataModelsUserAccountType | undefined;
12999
13081
  CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13000
13082
  Display?: boolean;
13001
13083
  /**
@@ -13040,6 +13122,7 @@ export interface UpdateUserRequirementSetRequirements {
13040
13122
  Requirements?: UsersUpdateUserRequirementSetRequirements_UserRequirementDto[];
13041
13123
  }
13042
13124
  export interface UsersUpdateUserRequirementSetRequirements_UserRequirementDto {
13125
+ AccountType: DataModelsUserAccountType | undefined;
13043
13126
  CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13044
13127
  Display?: boolean;
13045
13128
  /**