@springtree/eva-services-core-management 3.0.0-beta.5 → 3.0.0-beta.7
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 +112 -7
- 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 +37 -1
- package/lib/eva-services-core-management.services.d.ts.map +1 -1
- package/lib/eva-services-core-management.services.js +36 -0
- package/lib/eva-services-core-management.services.js.map +1 -1
- package/package.json +3 -3
|
@@ -717,11 +717,6 @@ export interface GetCaseByIDResponse {
|
|
|
717
717
|
*/
|
|
718
718
|
SummaryLastModifiedByID?: string;
|
|
719
719
|
Title?: string;
|
|
720
|
-
/**
|
|
721
|
-
* Entity type: CaseTopic
|
|
722
|
-
*/
|
|
723
|
-
TopicID?: string;
|
|
724
|
-
TopicName?: string;
|
|
725
720
|
}
|
|
726
721
|
export interface CasesGetCaseByIDResponse_CaseRepair {
|
|
727
722
|
CompletionTime?: string;
|
|
@@ -751,6 +746,7 @@ export interface CasesGetCaseByIDResponse_CaseTopicData {
|
|
|
751
746
|
TopicName?: string;
|
|
752
747
|
}
|
|
753
748
|
export interface CasesGetCaseByIDResponse_CustomerInfo {
|
|
749
|
+
BackendID?: string;
|
|
754
750
|
EmailAddress?: string;
|
|
755
751
|
FirstName?: string;
|
|
756
752
|
FullName?: string;
|
|
@@ -2575,6 +2571,19 @@ export interface UpdateCustomField {
|
|
|
2575
2571
|
TypeKey: string | null | undefined;
|
|
2576
2572
|
}
|
|
2577
2573
|
/**
|
|
2574
|
+
* Add required custom fields to ManualDiscount
|
|
2575
|
+
*/
|
|
2576
|
+
export interface AddRequiredCustomFieldsToManualDiscount {
|
|
2577
|
+
/**
|
|
2578
|
+
* Entity type: CustomField
|
|
2579
|
+
*/
|
|
2580
|
+
CustomFieldIDs: string[];
|
|
2581
|
+
/**
|
|
2582
|
+
* Entity type: Discount
|
|
2583
|
+
*/
|
|
2584
|
+
DiscountID: string;
|
|
2585
|
+
}
|
|
2586
|
+
/**
|
|
2578
2587
|
* Add security roles to ManualDiscount
|
|
2579
2588
|
*/
|
|
2580
2589
|
export interface AddRolesToManualDiscount {
|
|
@@ -2662,6 +2671,10 @@ export interface CreateDiscount {
|
|
|
2662
2671
|
OrganizationUnitSetID: string;
|
|
2663
2672
|
PromotionLabel?: string;
|
|
2664
2673
|
/**
|
|
2674
|
+
* For a manual discount, these will indicate custom fields that need to be filled in order to apply the discount.
|
|
2675
|
+
*/
|
|
2676
|
+
RequiredCustomFields?: string[];
|
|
2677
|
+
/**
|
|
2665
2678
|
* Entity type: OrganizationUnit
|
|
2666
2679
|
*/
|
|
2667
2680
|
RestitutionOrganizationUnitID?: string;
|
|
@@ -3058,6 +3071,7 @@ export interface GetDiscountByIDResponse {
|
|
|
3058
3071
|
OrganizationUnitSetName?: string;
|
|
3059
3072
|
OrganizationUnitSetType?: DataModelsOrganizationUnitSetTypes;
|
|
3060
3073
|
PromotionLabel?: string;
|
|
3074
|
+
RequiredCustomFields?: string[];
|
|
3061
3075
|
/**
|
|
3062
3076
|
* Entity type: OrganizationUnit
|
|
3063
3077
|
*/
|
|
@@ -3548,6 +3562,20 @@ export interface MoveDiscountLayer {
|
|
|
3548
3562
|
ID: string;
|
|
3549
3563
|
}
|
|
3550
3564
|
/**
|
|
3565
|
+
* Remove required custom fields from ManualDiscount
|
|
3566
|
+
*/
|
|
3567
|
+
export interface RemoveRequiredCustomFieldsFromManualDiscount {
|
|
3568
|
+
/**
|
|
3569
|
+
* Entity type: CustomField
|
|
3570
|
+
*/
|
|
3571
|
+
CustomFieldIDs?: string[];
|
|
3572
|
+
/**
|
|
3573
|
+
* Entity type: Discount
|
|
3574
|
+
*/
|
|
3575
|
+
DiscountID: string;
|
|
3576
|
+
RemoveAllRequiredCustomFields?: boolean;
|
|
3577
|
+
}
|
|
3578
|
+
/**
|
|
3551
3579
|
* Remove security roles from ManualDiscount
|
|
3552
3580
|
*/
|
|
3553
3581
|
export interface RemoveRolesFromManualDiscount {
|
|
@@ -3632,6 +3660,15 @@ export interface DiscountsSearchDiscountsByQueryResponse_DiscountDto {
|
|
|
3632
3660
|
UserUsageReloadStrategy?: string;
|
|
3633
3661
|
}
|
|
3634
3662
|
/**
|
|
3663
|
+
* Takes in all discount layers and sets their sequences. All layers except the system layer are required.
|
|
3664
|
+
*/
|
|
3665
|
+
export interface SetDiscountLayerSequences {
|
|
3666
|
+
/**
|
|
3667
|
+
* Entity type: DiscountLayer
|
|
3668
|
+
*/
|
|
3669
|
+
Layers: string[];
|
|
3670
|
+
}
|
|
3671
|
+
/**
|
|
3635
3672
|
* Update an existing discount
|
|
3636
3673
|
*/
|
|
3637
3674
|
export interface UpdateDiscount {
|
|
@@ -3698,6 +3735,10 @@ export interface UpdateDiscount {
|
|
|
3698
3735
|
OrganizationUnitSetID: string;
|
|
3699
3736
|
PromotionLabel?: string;
|
|
3700
3737
|
/**
|
|
3738
|
+
* For a manual discount, these will indicate custom fields that need to be filled in order to apply the discount.
|
|
3739
|
+
*/
|
|
3740
|
+
RequiredCustomFields: string[] | null | undefined;
|
|
3741
|
+
/**
|
|
3701
3742
|
* Entity type: OrganizationUnit
|
|
3702
3743
|
*/
|
|
3703
3744
|
RestitutionOrganizationUnitID?: string;
|
|
@@ -3927,6 +3968,10 @@ export interface ValidateDiscount {
|
|
|
3927
3968
|
*/
|
|
3928
3969
|
OrganizationUnitSetID: string;
|
|
3929
3970
|
/**
|
|
3971
|
+
* For a manual discount, these will indicate custom fields that need to be filled in order to apply the discount.
|
|
3972
|
+
*/
|
|
3973
|
+
RequiredCustomFields?: string[];
|
|
3974
|
+
/**
|
|
3930
3975
|
* Entity type: OrganizationUnit
|
|
3931
3976
|
*/
|
|
3932
3977
|
RestitutionOrganizationUnitID?: string;
|
|
@@ -4483,6 +4528,10 @@ export interface GiftCardsListGiftCardConfigurationsResponse_GiftCardConfigurati
|
|
|
4483
4528
|
* `ProductGiftCard`: an item that describes the giftcard properties of a product with type GiftCard
|
|
4484
4529
|
*/
|
|
4485
4530
|
export interface ListProductGiftCards {
|
|
4531
|
+
/**
|
|
4532
|
+
* Entity type: ProductPropertyType
|
|
4533
|
+
*/
|
|
4534
|
+
IncludedProductProperties?: string[];
|
|
4486
4535
|
PageConfig?: PageConfig<GiftCardsListProductGiftCardsFilter>;
|
|
4487
4536
|
}
|
|
4488
4537
|
export interface ListProductGiftCardsResponse {
|
|
@@ -4505,6 +4554,7 @@ export interface GiftCardsListProductGiftCardsResponse_ProductGiftCardDto {
|
|
|
4505
4554
|
*/
|
|
4506
4555
|
ID: string;
|
|
4507
4556
|
IsDigital: boolean;
|
|
4557
|
+
Product?: SearchIProductSearchItem;
|
|
4508
4558
|
/**
|
|
4509
4559
|
* Entity type: Product
|
|
4510
4560
|
*/
|
|
@@ -5027,6 +5077,19 @@ export interface AddLoyaltyProgramPriceList {
|
|
|
5027
5077
|
PriceListID: string;
|
|
5028
5078
|
}
|
|
5029
5079
|
/**
|
|
5080
|
+
* Add a custom field requirement to the loyalty program. NOTE THAT a custom field can only be set once as a requirement.
|
|
5081
|
+
*/
|
|
5082
|
+
export interface AddLoyaltyProgramRequiredCustomField {
|
|
5083
|
+
/**
|
|
5084
|
+
* Entity type: CustomField
|
|
5085
|
+
*/
|
|
5086
|
+
CustomFieldID: string;
|
|
5087
|
+
/**
|
|
5088
|
+
* Entity type: LoyaltyProgram
|
|
5089
|
+
*/
|
|
5090
|
+
LoyaltyProgramID: string;
|
|
5091
|
+
}
|
|
5092
|
+
/**
|
|
5030
5093
|
* Archive a point awarding rule
|
|
5031
5094
|
*/
|
|
5032
5095
|
export interface ArchivePointAwardingRule {
|
|
@@ -5891,6 +5954,32 @@ export interface LoyaltyListLoyaltyProgramProductLimitationsResponse_Item {
|
|
|
5891
5954
|
QuantityLimitPerUser?: number;
|
|
5892
5955
|
}
|
|
5893
5956
|
/**
|
|
5957
|
+
* List the loyalty program CustomFieldRequirements
|
|
5958
|
+
*/
|
|
5959
|
+
export interface ListLoyaltyProgramRequiredCustomFields {
|
|
5960
|
+
InitialPageConfig?: PageTokenConfig<Record<string, string | null> | null>;
|
|
5961
|
+
/**
|
|
5962
|
+
* Entity type: LoyaltyProgram
|
|
5963
|
+
*/
|
|
5964
|
+
LoyaltyProgramID: string;
|
|
5965
|
+
PageToken?: string;
|
|
5966
|
+
}
|
|
5967
|
+
export interface ListLoyaltyProgramRequiredCustomFieldsResponse {
|
|
5968
|
+
Error?: ServiceError;
|
|
5969
|
+
Metadata?: ResponseMessageMetadata;
|
|
5970
|
+
NextPageToken?: string;
|
|
5971
|
+
PreviousPageToken?: string;
|
|
5972
|
+
Results?: LoyaltyListLoyaltyProgramRequiredCustomFieldsResponse_CustomField[];
|
|
5973
|
+
}
|
|
5974
|
+
export interface LoyaltyListLoyaltyProgramRequiredCustomFieldsResponse_CustomField {
|
|
5975
|
+
BackendID?: string;
|
|
5976
|
+
/**
|
|
5977
|
+
* Entity type: CustomField
|
|
5978
|
+
*/
|
|
5979
|
+
ID: string;
|
|
5980
|
+
Name?: string;
|
|
5981
|
+
}
|
|
5982
|
+
/**
|
|
5894
5983
|
* List the LoyaltyPrograms
|
|
5895
5984
|
*/
|
|
5896
5985
|
export interface ListLoyaltyPrograms {
|
|
@@ -6055,6 +6144,7 @@ export interface LoyaltyPushLoyaltyProgram {
|
|
|
6055
6144
|
* When this is not the case on create, this can be introduced on update. This value cannot be changed after it is set in either the create or update.
|
|
6056
6145
|
*/
|
|
6057
6146
|
RequireManualUserIdentifier?: boolean;
|
|
6147
|
+
RequiredCustomFields?: string[];
|
|
6058
6148
|
/**
|
|
6059
6149
|
* When true, the loyalty program will only be applied when a customer is attached to the order that is already subscribed to the loyalty program.
|
|
6060
6150
|
* Also, this will make the `RequireCustomer` automatically true and `AutoSubscribeCustomer` false.
|
|
@@ -6171,7 +6261,7 @@ export interface LoyaltyPushLoyaltyProgram_PushPointAwardingRule {
|
|
|
6171
6261
|
}
|
|
6172
6262
|
export interface LoyaltyPushLoyaltyProgram_PushPointAwardingRuleCondition {
|
|
6173
6263
|
Data?: LoyaltyRulesIPointAwardingConditionData;
|
|
6174
|
-
ID
|
|
6264
|
+
ID: string;
|
|
6175
6265
|
Type: 'ORDERAMOUNT' | 'PRODUCT' | 'USERCUSTOMFIELD';
|
|
6176
6266
|
}
|
|
6177
6267
|
export interface PushLoyaltyProgramResponse {
|
|
@@ -6252,6 +6342,7 @@ export interface PushLoyaltyProgram_Async {
|
|
|
6252
6342
|
* When this is not the case on create, this can be introduced on update. This value cannot be changed after it is set in either the create or update.
|
|
6253
6343
|
*/
|
|
6254
6344
|
RequireManualUserIdentifier?: boolean;
|
|
6345
|
+
RequiredCustomFields?: string[];
|
|
6255
6346
|
/**
|
|
6256
6347
|
* When true, the loyalty program will only be applied when a customer is attached to the order that is already subscribed to the loyalty program.
|
|
6257
6348
|
* Also, this will make the `RequireCustomer` automatically true and `AutoSubscribeCustomer` false.
|
|
@@ -6344,7 +6435,20 @@ export interface RemoveLoyaltyProgramPriceList {
|
|
|
6344
6435
|
PriceListID: string;
|
|
6345
6436
|
}
|
|
6346
6437
|
/**
|
|
6347
|
-
*
|
|
6438
|
+
* Removes a custom field requirement from a loyalty program.
|
|
6439
|
+
*/
|
|
6440
|
+
export interface RemoveLoyaltyProgramRequiredCustomField {
|
|
6441
|
+
/**
|
|
6442
|
+
* Entity type: CustomField
|
|
6443
|
+
*/
|
|
6444
|
+
CustomFieldID: string;
|
|
6445
|
+
/**
|
|
6446
|
+
* Entity type: LoyaltyProgram
|
|
6447
|
+
*/
|
|
6448
|
+
LoyaltyProgramID: string;
|
|
6449
|
+
}
|
|
6450
|
+
/**
|
|
6451
|
+
* Set the optional loyalty program payment types for the order.
|
|
6348
6452
|
*/
|
|
6349
6453
|
export interface SetOrderLoyaltyProgramPaymentTypes {
|
|
6350
6454
|
/**
|
|
@@ -6353,6 +6457,7 @@ export interface SetOrderLoyaltyProgramPaymentTypes {
|
|
|
6353
6457
|
OrderID: string;
|
|
6354
6458
|
/**
|
|
6355
6459
|
* Entity type: LoyaltyProgramPaymentType
|
|
6460
|
+
* When left empty no optional payment types will be available. Required payment types cannot be unselected.
|
|
6356
6461
|
*/
|
|
6357
6462
|
SelectedLoyaltyProgramPaymentTypes: string[];
|
|
6358
6463
|
}
|