@springtree/eva-services-core-management 3.0.0-beta.13 → 3.0.0-beta.14

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.
@@ -109,6 +109,10 @@ export declare const enum Errors {
109
109
  */
110
110
  GiftCards_InvalidProductType = "GiftCards:InvalidProductType",
111
111
  /**
112
+ * Field '{:string}' is required for the creation of a new Loyalty Program.
113
+ */
114
+ LoyaltyProgram_MissingFieldOnLoyaltyProgramCreation = "LoyaltyProgram:MissingFieldOnLoyaltyProgramCreation",
115
+ /**
112
116
  * There already exists opening hours for organization {organizationUnitName:string} and day {dayOfWeek:EVA.Core.DayOfWeek}
113
117
  */
114
118
  OpeningHours_DuplicateOpeningHoursDayOfWeek = "OpeningHours:DuplicateOpeningHoursDayOfWeek",
@@ -747,6 +751,8 @@ export interface CasesGetCaseByIDResponse_CaseRepairTask {
747
751
  }
748
752
  export interface CasesGetCaseByIDResponse_CaseTopicData {
749
753
  CaseTopic?: CasesGetCaseByIDResponse_CaseTopicData;
754
+ TopicBackendID?: string;
755
+ TopicDisplayName?: string;
750
756
  /**
751
757
  * Entity type: CaseTopic
752
758
  */
@@ -858,6 +864,7 @@ export interface GetCaseTopic {
858
864
  export interface GetCaseTopicResponse {
859
865
  BackendID?: string;
860
866
  Description?: string;
867
+ DisplayName?: string;
861
868
  Error?: ServiceError;
862
869
  /**
863
870
  * Entity type: CaseTopic
@@ -982,6 +989,7 @@ export interface ListCaseTopicsResponse {
982
989
  export interface CasesListCaseTopicsResponse_CaseTopic {
983
990
  BackendID?: string;
984
991
  Description?: string;
992
+ DisplayName?: string;
985
993
  /**
986
994
  * Entity type: CaseTopic
987
995
  */
@@ -6144,7 +6152,7 @@ export interface LoyaltyPushLoyaltyProgram {
6144
6152
  /**
6145
6153
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6146
6154
  */
6147
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
6155
+ AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6148
6156
  /**
6149
6157
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6150
6158
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6157,42 +6165,42 @@ export interface LoyaltyPushLoyaltyProgram {
6157
6165
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6158
6166
  */
6159
6167
  AutoSubscribeCustomer?: boolean;
6160
- Budget?: number;
6168
+ Budget: number | null | undefined;
6161
6169
  /**
6162
6170
  * Entity type: Currency
6163
6171
  */
6164
- BudgetCurrencyID?: string;
6172
+ BudgetCurrencyID: string | null | undefined;
6165
6173
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6166
- Data?: TAnyValue;
6174
+ Data: TAnyValue | null | undefined;
6167
6175
  DeactivateWhenBudgetIsReached?: boolean;
6168
- Description?: string;
6169
- EndDate?: string;
6170
- Handler: string;
6176
+ Description: string | null | undefined;
6177
+ EndDate: string | null | undefined;
6178
+ Handler?: string;
6171
6179
  /**
6172
6180
  * Entity type: LoyaltyProgram
6173
6181
  */
6174
6182
  ID: string;
6175
- LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
6183
+ LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6176
6184
  /**
6177
6185
  * Entity type: LoyaltyProgramGroup
6178
6186
  */
6179
- LoyaltyProgramGroupID?: string;
6180
- Name: string;
6181
- Options: DataModelsLoyaltyProgramOptions;
6187
+ LoyaltyProgramGroupID: string | null | undefined;
6188
+ Name?: string;
6189
+ Options?: DataModelsLoyaltyProgramOptions;
6182
6190
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6183
6191
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6184
6192
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6185
- PointExpirationPolicyData?: Record<string, TAnyValue>;
6186
- PointExpirationPolicyType?: string;
6187
- PointPendingPolicyData?: Record<string, TAnyValue>;
6188
- PointPendingPolicyType?: string;
6193
+ PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6194
+ PointExpirationPolicyType: string | null | undefined;
6195
+ PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6196
+ PointPendingPolicyType: string | null | undefined;
6189
6197
  /**
6190
6198
  * Entity type: PriceList
6191
6199
  */
6192
6200
  PriceLists?: string[];
6193
6201
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6194
6202
  ReactivateProgramWhenPossible?: boolean;
6195
- ReloadPolicy?: string;
6203
+ ReloadPolicy: string | null | undefined;
6196
6204
  /**
6197
6205
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6198
6206
  *
@@ -6205,7 +6213,7 @@ export interface LoyaltyPushLoyaltyProgram {
6205
6213
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6206
6214
  * 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.
6207
6215
  */
6208
- RequireManualUserIdentifier?: boolean;
6216
+ RequireManualUserIdentifier: boolean | null | undefined;
6209
6217
  RequiredCustomFields?: string[];
6210
6218
  /**
6211
6219
  * 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.
@@ -6224,29 +6232,29 @@ export interface LoyaltyPushLoyaltyProgram {
6224
6232
  /**
6225
6233
  * Handling when a user is unsubscribed and re-subscribes.
6226
6234
  */
6227
- ResubscribeHandling: DataModelsResubscribeHandlingType;
6228
- StartDate?: string;
6229
- Status: DataModelsLoyaltyProgramStatus;
6230
- UserBudget?: number;
6235
+ ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6236
+ StartDate: string | null | undefined;
6237
+ Status?: DataModelsLoyaltyProgramStatus;
6238
+ UserBudget: number | null | undefined;
6231
6239
  /**
6232
6240
  * Attention!
6233
6241
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6234
6242
  * 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.
6235
6243
  */
6236
- UserIdentifierPrefix?: string;
6244
+ UserIdentifierPrefix: string | null | undefined;
6237
6245
  /**
6238
6246
  * Attention!
6239
6247
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6240
6248
  * 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.
6241
6249
  */
6242
- UserIdentifierStartNumber?: string;
6250
+ UserIdentifierStartNumber: string | null | undefined;
6243
6251
  /**
6244
6252
  * Attention!
6245
6253
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6246
6254
  * 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.
6247
6255
  */
6248
- UserIdentifierSuffix?: string;
6249
- UserMaximumUsage?: number;
6256
+ UserIdentifierSuffix: string | null | undefined;
6257
+ UserMaximumUsage: number | null | undefined;
6250
6258
  }
6251
6259
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition {
6252
6260
  Data: Record<string, TAnyValue>;
@@ -6402,7 +6410,7 @@ export interface PushLoyaltyProgram_Async {
6402
6410
  /**
6403
6411
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6404
6412
  */
6405
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
6413
+ AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6406
6414
  /**
6407
6415
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6408
6416
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6415,42 +6423,42 @@ export interface PushLoyaltyProgram_Async {
6415
6423
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6416
6424
  */
6417
6425
  AutoSubscribeCustomer?: boolean;
6418
- Budget?: number;
6426
+ Budget: number | null | undefined;
6419
6427
  /**
6420
6428
  * Entity type: Currency
6421
6429
  */
6422
- BudgetCurrencyID?: string;
6430
+ BudgetCurrencyID: string | null | undefined;
6423
6431
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6424
- Data?: TAnyValue;
6432
+ Data: TAnyValue | null | undefined;
6425
6433
  DeactivateWhenBudgetIsReached?: boolean;
6426
- Description?: string;
6427
- EndDate?: string;
6428
- Handler: string;
6434
+ Description: string | null | undefined;
6435
+ EndDate: string | null | undefined;
6436
+ Handler?: string;
6429
6437
  /**
6430
6438
  * Entity type: LoyaltyProgram
6431
6439
  */
6432
6440
  ID: string;
6433
- LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
6441
+ LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6434
6442
  /**
6435
6443
  * Entity type: LoyaltyProgramGroup
6436
6444
  */
6437
- LoyaltyProgramGroupID?: string;
6438
- Name: string;
6439
- Options: DataModelsLoyaltyProgramOptions;
6445
+ LoyaltyProgramGroupID: string | null | undefined;
6446
+ Name?: string;
6447
+ Options?: DataModelsLoyaltyProgramOptions;
6440
6448
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6441
6449
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6442
6450
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6443
- PointExpirationPolicyData?: Record<string, TAnyValue>;
6444
- PointExpirationPolicyType?: string;
6445
- PointPendingPolicyData?: Record<string, TAnyValue>;
6446
- PointPendingPolicyType?: string;
6451
+ PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6452
+ PointExpirationPolicyType: string | null | undefined;
6453
+ PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6454
+ PointPendingPolicyType: string | null | undefined;
6447
6455
  /**
6448
6456
  * Entity type: PriceList
6449
6457
  */
6450
6458
  PriceLists?: string[];
6451
6459
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6452
6460
  ReactivateProgramWhenPossible?: boolean;
6453
- ReloadPolicy?: string;
6461
+ ReloadPolicy: string | null | undefined;
6454
6462
  /**
6455
6463
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6456
6464
  *
@@ -6463,7 +6471,7 @@ export interface PushLoyaltyProgram_Async {
6463
6471
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6464
6472
  * 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.
6465
6473
  */
6466
- RequireManualUserIdentifier?: boolean;
6474
+ RequireManualUserIdentifier: boolean | null | undefined;
6467
6475
  RequiredCustomFields?: string[];
6468
6476
  /**
6469
6477
  * 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.
@@ -6482,29 +6490,29 @@ export interface PushLoyaltyProgram_Async {
6482
6490
  /**
6483
6491
  * Handling when a user is unsubscribed and re-subscribes.
6484
6492
  */
6485
- ResubscribeHandling: DataModelsResubscribeHandlingType;
6486
- StartDate?: string;
6487
- Status: DataModelsLoyaltyProgramStatus;
6488
- UserBudget?: number;
6493
+ ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6494
+ StartDate: string | null | undefined;
6495
+ Status?: DataModelsLoyaltyProgramStatus;
6496
+ UserBudget: number | null | undefined;
6489
6497
  /**
6490
6498
  * Attention!
6491
6499
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6492
6500
  * 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.
6493
6501
  */
6494
- UserIdentifierPrefix?: string;
6502
+ UserIdentifierPrefix: string | null | undefined;
6495
6503
  /**
6496
6504
  * Attention!
6497
6505
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6498
6506
  * 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.
6499
6507
  */
6500
- UserIdentifierStartNumber?: string;
6508
+ UserIdentifierStartNumber: string | null | undefined;
6501
6509
  /**
6502
6510
  * Attention!
6503
6511
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6504
6512
  * 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.
6505
6513
  */
6506
- UserIdentifierSuffix?: string;
6507
- UserMaximumUsage?: number;
6514
+ UserIdentifierSuffix: string | null | undefined;
6515
+ UserMaximumUsage: number | null | undefined;
6508
6516
  }
6509
6517
  export interface PushLoyaltyProgram_AsyncResponse {
6510
6518
  Error?: ServiceError;
@@ -6714,21 +6722,21 @@ export interface UpdateLoyaltyProgramCondition {
6714
6722
  * When a change to Status, StartDate, EndDate or Currency leads to the group being reactivate, all related loyalty programs will also be reactive when the option ReactivateProgramsWhenPossible is set to true. Otherwise all deactivated programs need to be manually reactivated.
6715
6723
  */
6716
6724
  export interface UpdateLoyaltyProgramGroup {
6717
- BackendID?: string;
6725
+ BackendID: string | null | undefined;
6718
6726
  /**
6719
6727
  * Entity type: Currency
6720
6728
  */
6721
- BudgetCurrencyID?: string;
6722
- EndDate?: string;
6729
+ BudgetCurrencyID: string | null | undefined;
6730
+ EndDate: string | null | undefined;
6723
6731
  /**
6724
6732
  * Entity type: LoyaltyProgramGroup
6725
6733
  */
6726
6734
  ID: string;
6727
- Name: string;
6735
+ Name: string | null | undefined;
6728
6736
  ReactivateProgramsWhenPossible?: boolean;
6729
- StartDate?: string;
6730
- Status: DataModelsLoyaltyProgramStatus;
6731
- TaxExemptionCode?: string;
6737
+ StartDate: string | null | undefined;
6738
+ Status?: DataModelsLoyaltyProgramStatus;
6739
+ TaxExemptionCode: string | null | undefined;
6732
6740
  }
6733
6741
  /**
6734
6742
  * Update the budget on the loyalty program group.
@@ -8515,6 +8523,37 @@ export interface PaymentMethodsGetPaymentTypeByIDResponse_PaymentTypeRole {
8515
8523
  RoleID: string;
8516
8524
  }
8517
8525
  /**
8526
+ * Get CustomFields for the given payment type.
8527
+ */
8528
+ export interface GetPaymentTypeCustomFields {
8529
+ /**
8530
+ * Entity type: PaymentType
8531
+ */
8532
+ PaymentTypeID: string;
8533
+ }
8534
+ export interface GetPaymentTypeCustomFieldsResponse {
8535
+ CustomFields?: PaymentMethodsGetPaymentTypeCustomFieldsResponse_CustomFieldDto[];
8536
+ Error?: ServiceError;
8537
+ Metadata?: ResponseMessageMetadata;
8538
+ }
8539
+ export interface PaymentMethodsGetPaymentTypeCustomFieldsResponse_CustomFieldDto {
8540
+ BackendID?: string;
8541
+ DataType: DataModelsCustomFieldDataTypes;
8542
+ DisplayName?: string;
8543
+ /**
8544
+ * Entity type: CustomField
8545
+ */
8546
+ ID: string;
8547
+ IsArray: boolean;
8548
+ Name: string;
8549
+ Order: number;
8550
+ /**
8551
+ * Entity type: CustomFieldType
8552
+ */
8553
+ TypeID: string;
8554
+ TypeName: string;
8555
+ }
8556
+ /**
8518
8557
  * Get's the ID/Name of all paymenttypes to use for filter inputs
8519
8558
  */
8520
8559
  export interface GetPaymentTypesForFilter {