@springtree/eva-services-core-management 3.0.0-beta.50 → 3.0.0-beta.52
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 +96 -32
- package/lib/eva-services-core-management.d.ts.map +1 -1
- package/lib/eva-services-core-management.js +0 -12
- package/lib/eva-services-core-management.js.map +1 -1
- package/lib/eva-services-core-management.services.d.ts +13 -7
- package/lib/eva-services-core-management.services.d.ts.map +1 -1
- package/lib/eva-services-core-management.services.js +12 -6
- package/lib/eva-services-core-management.services.js.map +1 -1
- package/package.json +3 -3
|
@@ -45,10 +45,6 @@ export declare enum Errors {
|
|
|
45
45
|
*/
|
|
46
46
|
Cultures_MustHaveAtLeastOneLanguage = "Cultures:MustHaveAtLeastOneLanguage",
|
|
47
47
|
/**
|
|
48
|
-
* This CustomerReturnReason already exists
|
|
49
|
-
*/
|
|
50
|
-
CustomerReturnReasons_AlreadyExists = "CustomerReturnReasons:AlreadyExists",
|
|
51
|
-
/**
|
|
52
48
|
* Can't delete OrderLedgerType because it's not custom
|
|
53
49
|
*/
|
|
54
50
|
DeleteOrderLedgerType_OrderLedgerTypeNotCustom = "DeleteOrderLedgerType:OrderLedgerTypeNotCustom",
|
|
@@ -141,14 +137,6 @@ export declare enum Errors {
|
|
|
141
137
|
*/
|
|
142
138
|
OpeningHoursTypes_TypeHasTemplatesAndCannotBeDeleted = "OpeningHoursTypes:TypeHasTemplatesAndCannotBeDeleted",
|
|
143
139
|
/**
|
|
144
|
-
* OrderField with name '{0:string}' already exists.
|
|
145
|
-
*/
|
|
146
|
-
OrderFields_AlreadyExists = "OrderFields:AlreadyExists",
|
|
147
|
-
/**
|
|
148
|
-
* Unknown data type: {0:string}
|
|
149
|
-
*/
|
|
150
|
-
OrderFields_UnknownDataType = "OrderFields:UnknownDataType",
|
|
151
|
-
/**
|
|
152
140
|
* The OrganizationUnitSetScope is still being used, cannot delete.
|
|
153
141
|
*/
|
|
154
142
|
OrganizationUnitSets_CannotDeleteScopeInUse = "OrganizationUnitSets:CannotDeleteScopeInUse",
|
|
@@ -1194,7 +1182,7 @@ export interface PushCase<ID_TYPE = string> {
|
|
|
1194
1182
|
* If no CaseTopic exists with the given BackendID, but one does exist with the given Name and ParentBackendID, that CaseTopic is used instead, disregarding what BackendID was passed in the request.
|
|
1195
1183
|
* If none of these conditions are met, a new CaseTopic is created.
|
|
1196
1184
|
*/
|
|
1197
|
-
CaseTopic
|
|
1185
|
+
CaseTopic?: CasesPushCase_PushCaseTopic<ID_TYPE>;
|
|
1198
1186
|
ClosingTime?: string;
|
|
1199
1187
|
CustomFields?: Record<string, TAnyValue | null>;
|
|
1200
1188
|
Customer?: CasesPushCase_PushCaseCustomer<ID_TYPE>;
|
|
@@ -3163,12 +3151,18 @@ export interface CreateDiscountFromTemplate<ID_TYPE = string> {
|
|
|
3163
3151
|
* Entity type: DiscountCampaign
|
|
3164
3152
|
*/
|
|
3165
3153
|
CampaignID?: ID_TYPE | null;
|
|
3154
|
+
CannotApplyToOwnOrder?: boolean;
|
|
3166
3155
|
CompliancyRule?: DataModelsDiscountCompliancyRule;
|
|
3167
3156
|
CreateAsActive?: boolean;
|
|
3168
3157
|
/**
|
|
3169
3158
|
* Entity type: Currency
|
|
3170
3159
|
*/
|
|
3171
3160
|
CurrencyID: string;
|
|
3161
|
+
/**
|
|
3162
|
+
* Optional additional custom fields
|
|
3163
|
+
*/
|
|
3164
|
+
CustomFields?: DataModelsCustomFieldKeyValue<ID_TYPE>[];
|
|
3165
|
+
DaysApplicable?: DaysOfWeek;
|
|
3172
3166
|
Description: string;
|
|
3173
3167
|
EndDate?: string;
|
|
3174
3168
|
FinancialDispersion?: DataModelsFinancialDespersionType;
|
|
@@ -3255,10 +3249,12 @@ export interface CreateDiscountTemplate<ID_TYPE = string> {
|
|
|
3255
3249
|
* Entity type: DiscountCampaign
|
|
3256
3250
|
*/
|
|
3257
3251
|
CampaignID?: ID_TYPE;
|
|
3252
|
+
CannotApplyToOwnOrder?: boolean;
|
|
3258
3253
|
ConditionType?: DataModelsDiscountConditionTypes;
|
|
3259
3254
|
Conditions?: DiscountsCreateDiscountTemplate_Condition<ID_TYPE>[];
|
|
3260
3255
|
CouponHandler?: string;
|
|
3261
3256
|
CouponsGeneratedByOtherDiscount?: boolean;
|
|
3257
|
+
DaysApplicable?: DaysOfWeek;
|
|
3262
3258
|
Description: string;
|
|
3263
3259
|
DiscountOrderType?: DataModelsDiscountOrderTypes;
|
|
3264
3260
|
ImageBlobID?: string;
|
|
@@ -3710,6 +3706,7 @@ export interface GetDiscountTemplateByIDResponse<ID_TYPE = string> {
|
|
|
3710
3706
|
* Entity type: DiscountCampaign
|
|
3711
3707
|
*/
|
|
3712
3708
|
CampaignID?: ID_TYPE;
|
|
3709
|
+
CannotApplyToOwnOrder: boolean;
|
|
3713
3710
|
ConditionType: DataModelsDiscountConditionTypes;
|
|
3714
3711
|
Conditions?: DiscountsGetDiscountTemplateByIDResponse_Condition<ID_TYPE>[];
|
|
3715
3712
|
CouponHandler?: string;
|
|
@@ -3717,6 +3714,7 @@ export interface GetDiscountTemplateByIDResponse<ID_TYPE = string> {
|
|
|
3717
3714
|
CreatedByFullName?: string;
|
|
3718
3715
|
CreatedByID: ID_TYPE;
|
|
3719
3716
|
CreationTime: string;
|
|
3717
|
+
DaysApplicable?: DaysOfWeek;
|
|
3720
3718
|
Description?: string;
|
|
3721
3719
|
DiscountOrderType: DataModelsDiscountOrderTypes;
|
|
3722
3720
|
Error?: ServiceError<ID_TYPE>;
|
|
@@ -4370,10 +4368,12 @@ export interface UpdateDiscountTemplate<ID_TYPE = string> {
|
|
|
4370
4368
|
* Entity type: DiscountCampaign
|
|
4371
4369
|
*/
|
|
4372
4370
|
CampaignID?: ID_TYPE;
|
|
4371
|
+
CannotApplyToOwnOrder?: boolean;
|
|
4373
4372
|
ConditionType?: DataModelsDiscountConditionTypes;
|
|
4374
4373
|
Conditions?: DiscountsUpdateDiscountTemplate_Condition<ID_TYPE>[];
|
|
4375
4374
|
CouponHandler?: string;
|
|
4376
4375
|
CouponsGeneratedByOtherDiscount?: boolean;
|
|
4376
|
+
DaysApplicable?: DaysOfWeek;
|
|
4377
4377
|
Description: string;
|
|
4378
4378
|
DiscountOrderType?: DataModelsDiscountOrderTypes;
|
|
4379
4379
|
/**
|
|
@@ -4542,10 +4542,12 @@ export interface ValidateDiscountTemplate<ID_TYPE = string> {
|
|
|
4542
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';
|
|
4543
4543
|
AppliesTo?: DataModelsDiscountAppliesTo;
|
|
4544
4544
|
BackendID?: string;
|
|
4545
|
+
CannotApplyToOwnOrder?: boolean;
|
|
4545
4546
|
ConditionType?: DataModelsDiscountConditionTypes;
|
|
4546
4547
|
Conditions?: DiscountsValidateDiscountTemplate_Condition<ID_TYPE>[];
|
|
4547
4548
|
CouponHandler?: string;
|
|
4548
4549
|
CouponsGeneratedByOtherDiscount?: boolean;
|
|
4550
|
+
DaysApplicable?: DaysOfWeek;
|
|
4549
4551
|
Description: string;
|
|
4550
4552
|
DiscountOrderType?: DataModelsDiscountOrderTypes;
|
|
4551
4553
|
IsExclusive?: boolean;
|
|
@@ -5311,7 +5313,7 @@ export interface GiftCardsListProductGiftCardsResponse_ProductGiftCardDto<ID_TYP
|
|
|
5311
5313
|
/**
|
|
5312
5314
|
* Entity type: GiftCardConfiguration
|
|
5313
5315
|
*/
|
|
5314
|
-
GiftCardConfigurationID
|
|
5316
|
+
GiftCardConfigurationID?: ID_TYPE;
|
|
5315
5317
|
GiftCardConfigurationName?: string;
|
|
5316
5318
|
/**
|
|
5317
5319
|
* Entity type: ProductGiftCard
|
|
@@ -5454,11 +5456,11 @@ export interface CreateStation<ID_TYPE = string> {
|
|
|
5454
5456
|
* Used to differentiate between fiscalized stations and other (e.g. safes) devices
|
|
5455
5457
|
*/
|
|
5456
5458
|
IsPointOfSale?: boolean;
|
|
5457
|
-
Name
|
|
5459
|
+
Name?: string;
|
|
5458
5460
|
/**
|
|
5459
5461
|
* Entity type: OrganizationUnit
|
|
5460
5462
|
*/
|
|
5461
|
-
OrganizationUnitID
|
|
5463
|
+
OrganizationUnitID?: ID_TYPE;
|
|
5462
5464
|
}
|
|
5463
5465
|
export interface CreateStationResponse<ID_TYPE = string> {
|
|
5464
5466
|
Error?: ServiceError<ID_TYPE>;
|
|
@@ -8155,7 +8157,7 @@ export interface CreateUnitPriceCorrectionReason<ID_TYPE = string> {
|
|
|
8155
8157
|
/**
|
|
8156
8158
|
* Entity type: OrganizationUnitSet
|
|
8157
8159
|
*/
|
|
8158
|
-
OrganizationUnitSetID
|
|
8160
|
+
OrganizationUnitSetID?: ID_TYPE;
|
|
8159
8161
|
Priority?: number;
|
|
8160
8162
|
}
|
|
8161
8163
|
export interface CreateUnitPriceCorrectionReasonResponse<ID_TYPE = string> {
|
|
@@ -8375,6 +8377,20 @@ export interface DeleteReturnReason<ID_TYPE = string> {
|
|
|
8375
8377
|
ID: ID_TYPE;
|
|
8376
8378
|
}
|
|
8377
8379
|
/**
|
|
8380
|
+
* Get all return reasons
|
|
8381
|
+
*/
|
|
8382
|
+
export interface GetReturnReasons<ID_TYPE = string> {
|
|
8383
|
+
/**
|
|
8384
|
+
* Entity type: OrganizationUnit
|
|
8385
|
+
*/
|
|
8386
|
+
OrganizationUnitID?: ID_TYPE;
|
|
8387
|
+
/**
|
|
8388
|
+
* Entity type: OrganizationUnitSet
|
|
8389
|
+
*/
|
|
8390
|
+
OrganizationUnitSetID?: ID_TYPE;
|
|
8391
|
+
Type?: DataModelsReturnReasonType;
|
|
8392
|
+
}
|
|
8393
|
+
/**
|
|
8378
8394
|
* Get the reasons by type.
|
|
8379
8395
|
*/
|
|
8380
8396
|
export interface GetReturnReasonsByType<ID_TYPE = string> {
|
|
@@ -8392,6 +8408,28 @@ export interface OrdersReturnReasonsGetReturnReasonsByTypeResponse_Reason<ID_TYP
|
|
|
8392
8408
|
Name?: string;
|
|
8393
8409
|
RemarkType: DataModelsReturnReasonRemarkType;
|
|
8394
8410
|
}
|
|
8411
|
+
export interface GetReturnReasonsResponse<ID_TYPE = string> {
|
|
8412
|
+
Error?: ServiceError<ID_TYPE>;
|
|
8413
|
+
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
8414
|
+
Reasons?: OrdersReturnReasonsGetReturnReasonsResponse_ReturnReasonDto<ID_TYPE>[];
|
|
8415
|
+
}
|
|
8416
|
+
export interface OrdersReturnReasonsGetReturnReasonsResponse_ReturnReasonDto<ID_TYPE = string> {
|
|
8417
|
+
BackendID?: string;
|
|
8418
|
+
Description?: string;
|
|
8419
|
+
/**
|
|
8420
|
+
* Entity type: ReturnReason
|
|
8421
|
+
*/
|
|
8422
|
+
ID: ID_TYPE;
|
|
8423
|
+
Name: string;
|
|
8424
|
+
/**
|
|
8425
|
+
* Entity type: OrganizationUnitSet
|
|
8426
|
+
*/
|
|
8427
|
+
OrganizationUnitSetID?: ID_TYPE;
|
|
8428
|
+
OrganizationUnitSetName?: string;
|
|
8429
|
+
Priority: number;
|
|
8430
|
+
RemarkType: DataModelsReturnReasonRemarkType;
|
|
8431
|
+
Type: DataModelsReturnReasonType;
|
|
8432
|
+
}
|
|
8395
8433
|
/**
|
|
8396
8434
|
* List all return reasons. Does not support sorting. Always sorted by `Priority`
|
|
8397
8435
|
*/
|
|
@@ -8969,12 +9007,6 @@ export interface DeleteOrganizationUnitCurrency<ID_TYPE = string> {
|
|
|
8969
9007
|
*/
|
|
8970
9008
|
ID: ID_TYPE;
|
|
8971
9009
|
}
|
|
8972
|
-
export interface DeleteOrganizationUnitGroup<ID_TYPE = string> {
|
|
8973
|
-
/**
|
|
8974
|
-
* Entity type: OrganizationUnitGroup
|
|
8975
|
-
*/
|
|
8976
|
-
ID: ID_TYPE;
|
|
8977
|
-
}
|
|
8978
9010
|
/**
|
|
8979
9011
|
* Delete a single existing OpeningHour for an OrganizationUnit
|
|
8980
9012
|
*/
|
|
@@ -9443,7 +9475,7 @@ export interface GetPaymentTypeByIDResponse<ID_TYPE = string> {
|
|
|
9443
9475
|
/**
|
|
9444
9476
|
* Entity type: PaymentMethod
|
|
9445
9477
|
*/
|
|
9446
|
-
PaymentMethodID
|
|
9478
|
+
PaymentMethodID?: ID_TYPE;
|
|
9447
9479
|
PaymentMethodIsCustom: boolean;
|
|
9448
9480
|
PaymentMethodName?: string;
|
|
9449
9481
|
PrintOnDocuments: boolean;
|
|
@@ -9743,7 +9775,7 @@ export interface PaymentMethodsListPaymentTypesResponse_PaymentTypeDto<ID_TYPE =
|
|
|
9743
9775
|
/**
|
|
9744
9776
|
* Entity type: PaymentMethod
|
|
9745
9777
|
*/
|
|
9746
|
-
PaymentMethodID
|
|
9778
|
+
PaymentMethodID?: ID_TYPE;
|
|
9747
9779
|
PaymentMethodName?: string;
|
|
9748
9780
|
PrintOnDocuments: boolean;
|
|
9749
9781
|
ReturnAction: DataModelsPaymentReturnActions;
|
|
@@ -9971,7 +10003,7 @@ export interface PaymentSettlementsListPaymentSettlementFilesResponse_PaymentSet
|
|
|
9971
10003
|
* Entity type: PaymentTransactionSettlementFile
|
|
9972
10004
|
*/
|
|
9973
10005
|
ID: ID_TYPE;
|
|
9974
|
-
Name
|
|
10006
|
+
Name?: string;
|
|
9975
10007
|
OriginalBlobID: string;
|
|
9976
10008
|
OriginalDownloadUrl: string;
|
|
9977
10009
|
Status: DataModelsPaymentTransactionSettlementFileStatus;
|
|
@@ -11981,9 +12013,9 @@ export interface RightsRoleDto<ID_TYPE = string> {
|
|
|
11981
12013
|
* Entity type: Role
|
|
11982
12014
|
*/
|
|
11983
12015
|
ID: ID_TYPE;
|
|
11984
|
-
IsSystemDefined
|
|
12016
|
+
IsSystemDefined?: boolean;
|
|
11985
12017
|
Name?: string;
|
|
11986
|
-
UserType
|
|
12018
|
+
UserType?: UserTypes;
|
|
11987
12019
|
}
|
|
11988
12020
|
export interface RightsRoleOrganizationUnitSet<ID_TYPE = string> {
|
|
11989
12021
|
EndDate?: string;
|
|
@@ -13877,6 +13909,42 @@ export interface GetSurveyTranslatableItemsResponse<ID_TYPE = string> {
|
|
|
13877
13909
|
TranslatableItems?: SurveysTranslatableItem<ID_TYPE>[];
|
|
13878
13910
|
}
|
|
13879
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
|
+
/**
|
|
13880
13948
|
* List the available custom fields for a given survey context
|
|
13881
13949
|
*/
|
|
13882
13950
|
export interface ListCustomFieldsForSurvey<ID_TYPE = string> {
|
|
@@ -14636,10 +14704,6 @@ export interface GetEmployeeDataResponse<ID_TYPE = string> {
|
|
|
14636
14704
|
EmployeeNumber?: string;
|
|
14637
14705
|
Error?: ServiceError<ID_TYPE>;
|
|
14638
14706
|
Function?: string;
|
|
14639
|
-
/**
|
|
14640
|
-
* Entity type: UserData
|
|
14641
|
-
*/
|
|
14642
|
-
ID?: ID_TYPE;
|
|
14643
14707
|
ManagerEmailAddress?: string;
|
|
14644
14708
|
ManagerFullName?: string;
|
|
14645
14709
|
/**
|