@springtree/eva-services-core-management 3.0.0-beta.2 → 3.0.0-beta.4
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 +245 -41
- 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 +21 -15
- package/lib/eva-services-core-management.services.d.ts.map +1 -1
- package/lib/eva-services-core-management.services.js +21 -15
- package/lib/eva-services-core-management.services.js.map +1 -1
- package/package.json +3 -3
|
@@ -2994,6 +2994,7 @@ export interface GetDiscountByIDResponse {
|
|
|
2994
2994
|
* Entity type: DiscountCampaign
|
|
2995
2995
|
*/
|
|
2996
2996
|
CampaignID?: string;
|
|
2997
|
+
CannotApplyToOwnOrder: boolean;
|
|
2997
2998
|
CompliancyRule: DataModelsDiscountCompliancyRule;
|
|
2998
2999
|
ConditionType: DataModelsDiscountConditionTypes;
|
|
2999
3000
|
Conditions?: DiscountsGetDiscountByIDResponse_DiscountCondition[];
|
|
@@ -5036,19 +5037,6 @@ export interface ArchivePointAwardingRule {
|
|
|
5036
5037
|
ID: string;
|
|
5037
5038
|
}
|
|
5038
5039
|
/**
|
|
5039
|
-
* Attach a product limitation to a payment type.
|
|
5040
|
-
*/
|
|
5041
|
-
export interface AttachLoyaltyProgramProductLimitationToPaymentType {
|
|
5042
|
-
/**
|
|
5043
|
-
* Entity type: LoyaltyProgramPaymentType
|
|
5044
|
-
*/
|
|
5045
|
-
LoyaltyProgramPaymentTypeID: string;
|
|
5046
|
-
/**
|
|
5047
|
-
* Entity type: LoyaltyProgramProductLimitation
|
|
5048
|
-
*/
|
|
5049
|
-
LoyaltyProgramProductLimitationID: string;
|
|
5050
|
-
}
|
|
5051
|
-
/**
|
|
5052
5040
|
* Attach a loyalty program to an order
|
|
5053
5041
|
*/
|
|
5054
5042
|
export interface AttachLoyaltyProgramToOrder {
|
|
@@ -5064,6 +5052,9 @@ export interface AttachLoyaltyProgramToOrder {
|
|
|
5064
5052
|
* Entity type: User
|
|
5065
5053
|
*/
|
|
5066
5054
|
UserID?: string;
|
|
5055
|
+
/**
|
|
5056
|
+
* When set, the UserID will also become required so we can verify the UserIdentifier.
|
|
5057
|
+
*/
|
|
5067
5058
|
UserIdentifier?: string;
|
|
5068
5059
|
}
|
|
5069
5060
|
/**
|
|
@@ -5221,6 +5212,7 @@ export interface CreateLoyaltyProgramPaymentType {
|
|
|
5221
5212
|
* Entity type: PaymentType
|
|
5222
5213
|
*/
|
|
5223
5214
|
PaymentTypeID: string;
|
|
5215
|
+
ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
|
|
5224
5216
|
Required?: boolean;
|
|
5225
5217
|
Sequence?: number;
|
|
5226
5218
|
TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
|
|
@@ -5264,6 +5256,10 @@ export interface CreateLoyaltyProgramResponse {
|
|
|
5264
5256
|
*/
|
|
5265
5257
|
ID: string;
|
|
5266
5258
|
Metadata?: ResponseMessageMetadata;
|
|
5259
|
+
/**
|
|
5260
|
+
* Entity type: Subscription
|
|
5261
|
+
*/
|
|
5262
|
+
SubscriptionID: string;
|
|
5267
5263
|
}
|
|
5268
5264
|
/**
|
|
5269
5265
|
* Create a point awarding rule.
|
|
@@ -5382,19 +5378,6 @@ export interface DetachLoyaltyProgramFromOrder {
|
|
|
5382
5378
|
OrderID: string;
|
|
5383
5379
|
}
|
|
5384
5380
|
/**
|
|
5385
|
-
* Detach a product limitation from a payment type.
|
|
5386
|
-
*/
|
|
5387
|
-
export interface DetachLoyaltyProgramProductLimitationFromPaymentType {
|
|
5388
|
-
/**
|
|
5389
|
-
* Entity type: LoyaltyProgramPaymentType
|
|
5390
|
-
*/
|
|
5391
|
-
LoyaltyProgramPaymentTypeID: string;
|
|
5392
|
-
/**
|
|
5393
|
-
* Entity type: LoyaltyProgramProductLimitation
|
|
5394
|
-
*/
|
|
5395
|
-
LoyaltyProgramProductLimitationID: string;
|
|
5396
|
-
}
|
|
5397
|
-
/**
|
|
5398
5381
|
* Disable a point awarding rule
|
|
5399
5382
|
*/
|
|
5400
5383
|
export interface DisablePointAwardingRule {
|
|
@@ -5531,6 +5514,7 @@ export interface GetLoyaltyProgramPaymentTypeResponse {
|
|
|
5531
5514
|
*/
|
|
5532
5515
|
PaymentTypeID: string;
|
|
5533
5516
|
PaymentTypeName?: string;
|
|
5517
|
+
ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
|
|
5534
5518
|
Required: boolean;
|
|
5535
5519
|
Sequence: number;
|
|
5536
5520
|
TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
|
|
@@ -5646,6 +5630,34 @@ export interface GetLoyaltyProgramResponse {
|
|
|
5646
5630
|
UserMaximumUsage?: number;
|
|
5647
5631
|
}
|
|
5648
5632
|
/**
|
|
5633
|
+
* Get the available loyalty program payment methods for the given order.
|
|
5634
|
+
*/
|
|
5635
|
+
export interface GetOrderLoyaltyProgramPaymentTypes {
|
|
5636
|
+
/**
|
|
5637
|
+
* Entity type: Order
|
|
5638
|
+
*/
|
|
5639
|
+
OrderID: string;
|
|
5640
|
+
}
|
|
5641
|
+
export interface GetOrderLoyaltyProgramPaymentTypesResponse {
|
|
5642
|
+
Error?: ServiceError;
|
|
5643
|
+
Metadata?: ResponseMessageMetadata;
|
|
5644
|
+
Options?: LoyaltyGetOrderLoyaltyProgramPaymentTypesResponse_Option[];
|
|
5645
|
+
}
|
|
5646
|
+
export interface LoyaltyGetOrderLoyaltyProgramPaymentTypesResponse_Option {
|
|
5647
|
+
BackendID?: string;
|
|
5648
|
+
/**
|
|
5649
|
+
* Entity type: LoyaltyProgramPaymentType
|
|
5650
|
+
*/
|
|
5651
|
+
ID: string;
|
|
5652
|
+
/**
|
|
5653
|
+
* Entity type: PaymentType
|
|
5654
|
+
*/
|
|
5655
|
+
PaymentTypeID: string;
|
|
5656
|
+
PaymentTypeName?: string;
|
|
5657
|
+
Required: boolean;
|
|
5658
|
+
Sequence: number;
|
|
5659
|
+
}
|
|
5660
|
+
/**
|
|
5649
5661
|
* Get loyalty point rule.
|
|
5650
5662
|
*/
|
|
5651
5663
|
export interface GetPointAwardingRule {
|
|
@@ -5862,7 +5874,21 @@ export interface LoyaltyListLoyaltyProgramProductLimitationsResponse_Item {
|
|
|
5862
5874
|
*/
|
|
5863
5875
|
ID: string;
|
|
5864
5876
|
Name?: string;
|
|
5877
|
+
/**
|
|
5878
|
+
* The quantity limit over the entire product limitation product set per order.
|
|
5879
|
+
*/
|
|
5880
|
+
OverallQuantityLimitPerOrder?: number;
|
|
5881
|
+
/**
|
|
5882
|
+
* The quantity limit over the entire product limitation product set per user.
|
|
5883
|
+
*/
|
|
5884
|
+
OverallQuantityLimitPerUser?: number;
|
|
5885
|
+
/**
|
|
5886
|
+
* The quantity limit per product within the product limitation product set per order.
|
|
5887
|
+
*/
|
|
5865
5888
|
QuantityLimitPerOrder?: number;
|
|
5889
|
+
/**
|
|
5890
|
+
* The quantity limit per product within the product limitation product set per user.
|
|
5891
|
+
*/
|
|
5866
5892
|
QuantityLimitPerUser?: number;
|
|
5867
5893
|
}
|
|
5868
5894
|
/**
|
|
@@ -5935,6 +5961,14 @@ export interface LoyaltyListPointAwardingRulesResponse_Rule {
|
|
|
5935
5961
|
export interface LoyaltyLoyaltyProgramProductLimitationData {
|
|
5936
5962
|
Filters?: Record<string, SearchFilterModel>;
|
|
5937
5963
|
/**
|
|
5964
|
+
* The quantity limit over the entire product limitation product set per order.
|
|
5965
|
+
*/
|
|
5966
|
+
OverallQuantityLimitPerOrder?: number;
|
|
5967
|
+
/**
|
|
5968
|
+
* The quantity limit over the entire product limitation product set per user.
|
|
5969
|
+
*/
|
|
5970
|
+
OverallQuantityLimitPerUser?: number;
|
|
5971
|
+
/**
|
|
5938
5972
|
* Entity type: Product
|
|
5939
5973
|
*/
|
|
5940
5974
|
ProductIDs?: string[];
|
|
@@ -5942,17 +5976,25 @@ export interface LoyaltyLoyaltyProgramProductLimitationData {
|
|
|
5942
5976
|
* Entity type: ProductSearchTemplate
|
|
5943
5977
|
*/
|
|
5944
5978
|
ProductSearchID?: string;
|
|
5979
|
+
/**
|
|
5980
|
+
* The quantity limit per product within the product limitation product set per order.
|
|
5981
|
+
*/
|
|
5945
5982
|
QuantityLimitPerOrder?: number;
|
|
5983
|
+
/**
|
|
5984
|
+
* The quantity limit per product within the product limitation product set per user.
|
|
5985
|
+
*/
|
|
5946
5986
|
QuantityLimitPerUser?: number;
|
|
5947
5987
|
}
|
|
5948
5988
|
/**
|
|
5949
5989
|
* Push a LoyaltyProgram.
|
|
5990
|
+
* If it doesn't exist it will be created, otherwise is will be updated.
|
|
5991
|
+
* Sub entities will also be created or updated, but will not be removed.
|
|
5950
5992
|
*/
|
|
5951
|
-
export interface
|
|
5993
|
+
export interface LoyaltyPushLoyaltyProgram {
|
|
5952
5994
|
/**
|
|
5953
5995
|
* Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
|
|
5954
5996
|
*/
|
|
5955
|
-
AllowUnsubscribeBy
|
|
5997
|
+
AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
|
|
5956
5998
|
/**
|
|
5957
5999
|
* When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
|
|
5958
6000
|
* When false, the loyalty program will automatically be applied if all conditions are met.
|
|
@@ -5980,7 +6022,7 @@ export interface PushLoyaltyProgram {
|
|
|
5980
6022
|
* Entity type: LoyaltyProgram
|
|
5981
6023
|
*/
|
|
5982
6024
|
ID: string;
|
|
5983
|
-
LoyaltyPointUsageOptions
|
|
6025
|
+
LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
|
|
5984
6026
|
/**
|
|
5985
6027
|
* Entity type: LoyaltyProgramGroup
|
|
5986
6028
|
*/
|
|
@@ -5990,12 +6032,12 @@ export interface PushLoyaltyProgram {
|
|
|
5990
6032
|
OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
|
|
5991
6033
|
PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
|
|
5992
6034
|
PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
|
|
5993
|
-
PointExpirationPolicyData?: TAnyValue
|
|
6035
|
+
PointExpirationPolicyData?: Record<string, TAnyValue>;
|
|
5994
6036
|
PointExpirationPolicyType?: string;
|
|
5995
|
-
PointPendingPolicyData?: TAnyValue
|
|
6037
|
+
PointPendingPolicyData?: Record<string, TAnyValue>;
|
|
5996
6038
|
PointPendingPolicyType?: string;
|
|
5997
6039
|
/**
|
|
5998
|
-
* Entity type:
|
|
6040
|
+
* Entity type: PriceList
|
|
5999
6041
|
*/
|
|
6000
6042
|
PriceLists?: string[];
|
|
6001
6043
|
ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
|
|
@@ -6031,7 +6073,7 @@ export interface PushLoyaltyProgram {
|
|
|
6031
6073
|
/**
|
|
6032
6074
|
* Handling when a user is unsubscribed and re-subscribes.
|
|
6033
6075
|
*/
|
|
6034
|
-
ResubscribeHandling
|
|
6076
|
+
ResubscribeHandling: DataModelsResubscribeHandlingType;
|
|
6035
6077
|
StartDate?: string;
|
|
6036
6078
|
Status: DataModelsLoyaltyProgramStatus;
|
|
6037
6079
|
UserBudget?: number;
|
|
@@ -6056,7 +6098,7 @@ export interface PushLoyaltyProgram {
|
|
|
6056
6098
|
UserMaximumUsage?: number;
|
|
6057
6099
|
}
|
|
6058
6100
|
export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition {
|
|
6059
|
-
Data: TAnyValue
|
|
6101
|
+
Data: Record<string, TAnyValue>;
|
|
6060
6102
|
/**
|
|
6061
6103
|
* Entity type: LoyaltyProgramCondition
|
|
6062
6104
|
*/
|
|
@@ -6091,9 +6133,12 @@ export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType {
|
|
|
6091
6133
|
UserMaximumUsage?: number;
|
|
6092
6134
|
}
|
|
6093
6135
|
export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation {
|
|
6136
|
+
ApplyToPriceList?: boolean;
|
|
6094
6137
|
Filters?: Record<string, SearchFilterModel>;
|
|
6095
6138
|
ID: string;
|
|
6096
6139
|
Name: string;
|
|
6140
|
+
OverallQuantityLimitPerOrder?: number;
|
|
6141
|
+
OverallQuantityLimitPerUser?: number;
|
|
6097
6142
|
/**
|
|
6098
6143
|
* Entity type: Product
|
|
6099
6144
|
*/
|
|
@@ -6137,6 +6182,125 @@ export interface PushLoyaltyProgramResponse {
|
|
|
6137
6182
|
*/
|
|
6138
6183
|
ID: string;
|
|
6139
6184
|
Metadata?: ResponseMessageMetadata;
|
|
6185
|
+
/**
|
|
6186
|
+
* Entity type: Subscription
|
|
6187
|
+
*/
|
|
6188
|
+
SubscriptionID: string;
|
|
6189
|
+
}
|
|
6190
|
+
export interface PushLoyaltyProgram_Async {
|
|
6191
|
+
/**
|
|
6192
|
+
* Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
|
|
6193
|
+
*/
|
|
6194
|
+
AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
|
|
6195
|
+
/**
|
|
6196
|
+
* When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
|
|
6197
|
+
* When false, the loyalty program will automatically be applied if all conditions are met.
|
|
6198
|
+
*/
|
|
6199
|
+
ApplyManuallyOnly?: boolean;
|
|
6200
|
+
/**
|
|
6201
|
+
* When true, if a non anonymous customer is attached to the order they will be automatically subscribed on finishing the order.
|
|
6202
|
+
* When false, the customer will not be subscribed.
|
|
6203
|
+
*
|
|
6204
|
+
* This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
|
|
6205
|
+
*/
|
|
6206
|
+
AutoSubscribeCustomer?: boolean;
|
|
6207
|
+
Budget?: number;
|
|
6208
|
+
/**
|
|
6209
|
+
* Entity type: Currency
|
|
6210
|
+
*/
|
|
6211
|
+
BudgetCurrencyID?: string;
|
|
6212
|
+
Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
|
|
6213
|
+
Data?: TAnyValue;
|
|
6214
|
+
DeactivateWhenBudgetIsReached?: boolean;
|
|
6215
|
+
Description?: string;
|
|
6216
|
+
EndDate?: string;
|
|
6217
|
+
Handler: string;
|
|
6218
|
+
/**
|
|
6219
|
+
* Entity type: LoyaltyProgram
|
|
6220
|
+
*/
|
|
6221
|
+
ID: string;
|
|
6222
|
+
LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
|
|
6223
|
+
/**
|
|
6224
|
+
* Entity type: LoyaltyProgramGroup
|
|
6225
|
+
*/
|
|
6226
|
+
LoyaltyProgramGroupID?: string;
|
|
6227
|
+
Name: string;
|
|
6228
|
+
Options: DataModelsLoyaltyProgramOptions;
|
|
6229
|
+
OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
|
|
6230
|
+
PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
|
|
6231
|
+
PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
|
|
6232
|
+
PointExpirationPolicyData?: Record<string, TAnyValue>;
|
|
6233
|
+
PointExpirationPolicyType?: string;
|
|
6234
|
+
PointPendingPolicyData?: Record<string, TAnyValue>;
|
|
6235
|
+
PointPendingPolicyType?: string;
|
|
6236
|
+
/**
|
|
6237
|
+
* Entity type: PriceList
|
|
6238
|
+
*/
|
|
6239
|
+
PriceLists?: string[];
|
|
6240
|
+
ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
|
|
6241
|
+
ReactivateProgramWhenPossible?: boolean;
|
|
6242
|
+
ReloadPolicy?: string;
|
|
6243
|
+
/**
|
|
6244
|
+
* When true, the loyalty program will only be applied when a customer is attached to the order.
|
|
6245
|
+
*
|
|
6246
|
+
* When false, the loyalty program can be attached to the order even if there is no customer attached.
|
|
6247
|
+
*/
|
|
6248
|
+
RequireCustomer?: boolean;
|
|
6249
|
+
/**
|
|
6250
|
+
* When set to true, subscribing the user will require a UserIdentifier to be given.
|
|
6251
|
+
* Attention!
|
|
6252
|
+
* This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
|
|
6253
|
+
* 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.
|
|
6254
|
+
*/
|
|
6255
|
+
RequireManualUserIdentifier?: boolean;
|
|
6256
|
+
/**
|
|
6257
|
+
* 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.
|
|
6258
|
+
* Also, this will make the `RequireCustomer` automatically true and `AutoSubscribeCustomer` false.
|
|
6259
|
+
*
|
|
6260
|
+
* When false, the loyalty program can be attached to the order if a customer is attached that isn't already subscribed to the loyalty program.
|
|
6261
|
+
*/
|
|
6262
|
+
RequiresSubscribedCustomer?: boolean;
|
|
6263
|
+
/**
|
|
6264
|
+
* When true, the order will require that the attached customer on the order will be validated by providing the UserIdentifier in the `AttachBenefitProgramToOrder` service.
|
|
6265
|
+
* Also, this will make the `RequireCustomer` and `RequiresSubscribedCustomer` automatically true and `AutoSubscribeCustomer` false.
|
|
6266
|
+
*
|
|
6267
|
+
* When false, this validation isn't required.
|
|
6268
|
+
*/
|
|
6269
|
+
RequiresSubscriptionValidation?: boolean;
|
|
6270
|
+
/**
|
|
6271
|
+
* Handling when a user is unsubscribed and re-subscribes.
|
|
6272
|
+
*/
|
|
6273
|
+
ResubscribeHandling: DataModelsResubscribeHandlingType;
|
|
6274
|
+
StartDate?: string;
|
|
6275
|
+
Status: DataModelsLoyaltyProgramStatus;
|
|
6276
|
+
UserBudget?: number;
|
|
6277
|
+
/**
|
|
6278
|
+
* Attention!
|
|
6279
|
+
* This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
|
|
6280
|
+
* 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.
|
|
6281
|
+
*/
|
|
6282
|
+
UserIdentifierPrefix?: string;
|
|
6283
|
+
/**
|
|
6284
|
+
* Attention!
|
|
6285
|
+
* This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
|
|
6286
|
+
* 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.
|
|
6287
|
+
*/
|
|
6288
|
+
UserIdentifierStartNumber?: string;
|
|
6289
|
+
/**
|
|
6290
|
+
* Attention!
|
|
6291
|
+
* This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
|
|
6292
|
+
* 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.
|
|
6293
|
+
*/
|
|
6294
|
+
UserIdentifierSuffix?: string;
|
|
6295
|
+
UserMaximumUsage?: number;
|
|
6296
|
+
}
|
|
6297
|
+
export interface PushLoyaltyProgram_AsyncResponse {
|
|
6298
|
+
Error?: ServiceError;
|
|
6299
|
+
JobID?: string;
|
|
6300
|
+
Metadata?: ResponseMessageMetadata;
|
|
6301
|
+
}
|
|
6302
|
+
export interface PushLoyaltyProgram_AsyncResult {
|
|
6303
|
+
JobID?: string;
|
|
6140
6304
|
}
|
|
6141
6305
|
/**
|
|
6142
6306
|
* Rebalance loyalty points of a user
|
|
@@ -6181,6 +6345,19 @@ export interface RemoveLoyaltyProgramPriceList {
|
|
|
6181
6345
|
PriceListID: string;
|
|
6182
6346
|
}
|
|
6183
6347
|
/**
|
|
6348
|
+
* Set the loyalty program payment types for the order.
|
|
6349
|
+
*/
|
|
6350
|
+
export interface SetOrderLoyaltyProgramPaymentTypes {
|
|
6351
|
+
/**
|
|
6352
|
+
* Entity type: Order
|
|
6353
|
+
*/
|
|
6354
|
+
OrderID: string;
|
|
6355
|
+
/**
|
|
6356
|
+
* Entity type: LoyaltyProgramPaymentType
|
|
6357
|
+
*/
|
|
6358
|
+
SelectedLoyaltyProgramPaymentTypes: string[];
|
|
6359
|
+
}
|
|
6360
|
+
/**
|
|
6184
6361
|
* Update an existing LoyaltyProgram
|
|
6185
6362
|
*/
|
|
6186
6363
|
export interface UpdateLoyaltyProgram {
|
|
@@ -6355,6 +6532,7 @@ export interface UpdateLoyaltyProgramPaymentType {
|
|
|
6355
6532
|
ID: string;
|
|
6356
6533
|
MaximumAmountPerOrder?: number;
|
|
6357
6534
|
MaximumPercentageOfUserBudgetPerOrder?: number;
|
|
6535
|
+
ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
|
|
6358
6536
|
Required?: boolean;
|
|
6359
6537
|
Sequence?: number;
|
|
6360
6538
|
TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
|
|
@@ -8858,6 +9036,10 @@ export interface CreatePriceListAdjustment {
|
|
|
8858
9036
|
PriceListID: string;
|
|
8859
9037
|
PricingGroupID?: string;
|
|
8860
9038
|
Sequence?: number;
|
|
9039
|
+
/**
|
|
9040
|
+
* If set to true, this will skip the recalculation of the price list after the adjustment is updated, defaults to false so it will always recalculate. Recalculation happens periodically thereafter.
|
|
9041
|
+
*/
|
|
9042
|
+
SkipRecalculation?: boolean;
|
|
8861
9043
|
Type: string;
|
|
8862
9044
|
}
|
|
8863
9045
|
export interface CreatePriceListAdjustmentResponse {
|
|
@@ -8954,6 +9136,10 @@ export interface DeletePriceListAdjustment {
|
|
|
8954
9136
|
* Entity type: PriceListAdjustment
|
|
8955
9137
|
*/
|
|
8956
9138
|
ID: string;
|
|
9139
|
+
/**
|
|
9140
|
+
* If set to true, this will skip the recalculation of the price list after the adjustment is updated, defaults to false so it will always recalculate. Recalculation happens periodically thereafter.
|
|
9141
|
+
*/
|
|
9142
|
+
SkipRecalculation?: boolean;
|
|
8957
9143
|
}
|
|
8958
9144
|
/**
|
|
8959
9145
|
* Delete a PriceListManualInputAdjustment
|
|
@@ -9428,6 +9614,10 @@ export interface UpdatePriceListAdjustment {
|
|
|
9428
9614
|
ParentAdjustmentID?: string;
|
|
9429
9615
|
PricingGroupID: string | null | undefined;
|
|
9430
9616
|
Sequence?: number;
|
|
9617
|
+
/**
|
|
9618
|
+
* If set to true, this will skip the recalculation of the price list after the adjustment is updated, defaults to false so it will always recalculate. Recalculation happens periodically thereafter.
|
|
9619
|
+
*/
|
|
9620
|
+
SkipRecalculation?: boolean;
|
|
9431
9621
|
Type: string;
|
|
9432
9622
|
}
|
|
9433
9623
|
/**
|
|
@@ -10798,7 +10988,6 @@ export interface CreateShippingCost {
|
|
|
10798
10988
|
* Entity type: ShippingMethod
|
|
10799
10989
|
*/
|
|
10800
10990
|
ShippingMethodID?: string;
|
|
10801
|
-
UnitPriceInTax?: number;
|
|
10802
10991
|
ZipCodes?: string[];
|
|
10803
10992
|
}
|
|
10804
10993
|
export interface CreateShippingCostResponse {
|
|
@@ -11025,7 +11214,6 @@ export interface GetShippingCostByIDResponse {
|
|
|
11025
11214
|
OrganizationUnitName?: string;
|
|
11026
11215
|
ShippingMethodID?: string;
|
|
11027
11216
|
ShippingMethodName?: string;
|
|
11028
|
-
UnitPriceInTax: number;
|
|
11029
11217
|
ZipCodes?: string[];
|
|
11030
11218
|
}
|
|
11031
11219
|
/**
|
|
@@ -11252,7 +11440,6 @@ export interface ShippingShippingCostDto {
|
|
|
11252
11440
|
OrganizationUnitName?: string;
|
|
11253
11441
|
ShippingMethodID?: string;
|
|
11254
11442
|
ShippingMethodName?: string;
|
|
11255
|
-
UnitPriceInTax: number;
|
|
11256
11443
|
ZipCodes?: string[];
|
|
11257
11444
|
}
|
|
11258
11445
|
export interface ShippingShippingRestrictionDto {
|
|
@@ -11371,7 +11558,6 @@ export interface UpdateShippingCost {
|
|
|
11371
11558
|
* Entity type: ShippingMethod
|
|
11372
11559
|
*/
|
|
11373
11560
|
ShippingMethodID?: string;
|
|
11374
|
-
UnitPriceInTax?: number;
|
|
11375
11561
|
ZipCodes?: string[];
|
|
11376
11562
|
}
|
|
11377
11563
|
/**
|
|
@@ -13698,7 +13884,7 @@ export interface EVACoreServicesUsersListUserBoughtProductsResponse_BoughtProduc
|
|
|
13698
13884
|
WarrantyExpiryDate?: string;
|
|
13699
13885
|
}
|
|
13700
13886
|
/**
|
|
13701
|
-
* Push bought products for users. Only accepts
|
|
13887
|
+
* Push bought products for users. Only accepts 10000 users per request
|
|
13702
13888
|
*/
|
|
13703
13889
|
export interface EVACoreServicesUsersPushBoughtProductsForUsers {
|
|
13704
13890
|
BoughtProductsForUsers?: EVACoreServicesUsersPushBoughtProductsForUsers_PushedBoughtProductForUser[];
|
|
@@ -13712,16 +13898,34 @@ export interface EVACoreServicesUsersPushBoughtProductsForUsers_PushedBoughtProd
|
|
|
13712
13898
|
}
|
|
13713
13899
|
export interface PushBoughtProductsForUsersResponse {
|
|
13714
13900
|
Error?: ServiceError;
|
|
13715
|
-
FailedBoughtProductsForUsers?:
|
|
13901
|
+
FailedBoughtProductsForUsers?: EVACoreServicesUsersPushBoughtProductsForUsersResponse_FailedUserBoughtProductsForUser[];
|
|
13716
13902
|
Metadata?: ResponseMessageMetadata;
|
|
13903
|
+
SuccessfulBoughtProductsForUsers?: EVACoreServicesUsersPushBoughtProductsForUsersResponse_SuccessfulUserBoughtProductsForUser[];
|
|
13717
13904
|
}
|
|
13718
|
-
export interface
|
|
13905
|
+
export interface EVACoreServicesUsersPushBoughtProductsForUsersResponse_BoughtProduct {
|
|
13906
|
+
ProductBackendID?: string;
|
|
13719
13907
|
/**
|
|
13720
13908
|
* Entity type: Product
|
|
13721
13909
|
*/
|
|
13722
13910
|
ProductID: string;
|
|
13723
13911
|
SerialNumber?: string;
|
|
13724
13912
|
}
|
|
13913
|
+
export interface EVACoreServicesUsersPushBoughtProductsForUsersResponse_FailedUserBoughtProductsForUser {
|
|
13914
|
+
BoughtProducts?: EVACoreServicesUsersPushBoughtProductsForUsersResponse_BoughtProduct[];
|
|
13915
|
+
UserBackendID?: string;
|
|
13916
|
+
/**
|
|
13917
|
+
* Entity type: User
|
|
13918
|
+
*/
|
|
13919
|
+
UserID: string;
|
|
13920
|
+
}
|
|
13921
|
+
export interface EVACoreServicesUsersPushBoughtProductsForUsersResponse_SuccessfulUserBoughtProductsForUser {
|
|
13922
|
+
BoughtProducts?: EVACoreServicesUsersPushBoughtProductsForUsersResponse_BoughtProduct[];
|
|
13923
|
+
UserBackendID?: string;
|
|
13924
|
+
/**
|
|
13925
|
+
* Entity type: User
|
|
13926
|
+
*/
|
|
13927
|
+
UserID: string;
|
|
13928
|
+
}
|
|
13725
13929
|
export interface PushBoughtProductsForUsers_Async {
|
|
13726
13930
|
BoughtProductsForUsers?: EVACoreServicesUsersPushBoughtProductsForUsers_PushedBoughtProductForUser[];
|
|
13727
13931
|
}
|