@springtree/eva-services-core-management 3.0.0-beta.12 → 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",
@@ -666,6 +670,7 @@ export interface GetCaseByIDResponse {
666
670
  * Entity type: Blob
667
671
  */
668
672
  BlobIDs?: string[];
673
+ Blobs?: CasesGetCaseByIDResponse_CaseBlobModel[];
669
674
  CaseTopic?: CasesGetCaseByIDResponse_CaseTopicData;
670
675
  ClosingTime?: string;
671
676
  CreatedBy?: CasesGetCaseByIDResponse_User;
@@ -718,6 +723,13 @@ export interface GetCaseByIDResponse {
718
723
  SummaryLastModifiedByID?: string;
719
724
  Title?: string;
720
725
  }
726
+ export interface CasesGetCaseByIDResponse_CaseBlobModel {
727
+ /**
728
+ * Entity type: Blob
729
+ */
730
+ ID: string;
731
+ Url?: string;
732
+ }
721
733
  export interface CasesGetCaseByIDResponse_CaseRepair {
722
734
  CompletionTime?: string;
723
735
  CreationTime: string;
@@ -739,6 +751,8 @@ export interface CasesGetCaseByIDResponse_CaseRepairTask {
739
751
  }
740
752
  export interface CasesGetCaseByIDResponse_CaseTopicData {
741
753
  CaseTopic?: CasesGetCaseByIDResponse_CaseTopicData;
754
+ TopicBackendID?: string;
755
+ TopicDisplayName?: string;
742
756
  /**
743
757
  * Entity type: CaseTopic
744
758
  */
@@ -850,6 +864,7 @@ export interface GetCaseTopic {
850
864
  export interface GetCaseTopicResponse {
851
865
  BackendID?: string;
852
866
  Description?: string;
867
+ DisplayName?: string;
853
868
  Error?: ServiceError;
854
869
  /**
855
870
  * Entity type: CaseTopic
@@ -974,6 +989,7 @@ export interface ListCaseTopicsResponse {
974
989
  export interface CasesListCaseTopicsResponse_CaseTopic {
975
990
  BackendID?: string;
976
991
  Description?: string;
992
+ DisplayName?: string;
977
993
  /**
978
994
  * Entity type: CaseTopic
979
995
  */
@@ -6136,7 +6152,7 @@ export interface LoyaltyPushLoyaltyProgram {
6136
6152
  /**
6137
6153
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6138
6154
  */
6139
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
6155
+ AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6140
6156
  /**
6141
6157
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6142
6158
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6149,42 +6165,42 @@ export interface LoyaltyPushLoyaltyProgram {
6149
6165
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6150
6166
  */
6151
6167
  AutoSubscribeCustomer?: boolean;
6152
- Budget?: number;
6168
+ Budget: number | null | undefined;
6153
6169
  /**
6154
6170
  * Entity type: Currency
6155
6171
  */
6156
- BudgetCurrencyID?: string;
6172
+ BudgetCurrencyID: string | null | undefined;
6157
6173
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6158
- Data?: TAnyValue;
6174
+ Data: TAnyValue | null | undefined;
6159
6175
  DeactivateWhenBudgetIsReached?: boolean;
6160
- Description?: string;
6161
- EndDate?: string;
6162
- Handler: string;
6176
+ Description: string | null | undefined;
6177
+ EndDate: string | null | undefined;
6178
+ Handler?: string;
6163
6179
  /**
6164
6180
  * Entity type: LoyaltyProgram
6165
6181
  */
6166
6182
  ID: string;
6167
- LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
6183
+ LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6168
6184
  /**
6169
6185
  * Entity type: LoyaltyProgramGroup
6170
6186
  */
6171
- LoyaltyProgramGroupID?: string;
6172
- Name: string;
6173
- Options: DataModelsLoyaltyProgramOptions;
6187
+ LoyaltyProgramGroupID: string | null | undefined;
6188
+ Name?: string;
6189
+ Options?: DataModelsLoyaltyProgramOptions;
6174
6190
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6175
6191
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6176
6192
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6177
- PointExpirationPolicyData?: Record<string, TAnyValue>;
6178
- PointExpirationPolicyType?: string;
6179
- PointPendingPolicyData?: Record<string, TAnyValue>;
6180
- 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;
6181
6197
  /**
6182
6198
  * Entity type: PriceList
6183
6199
  */
6184
6200
  PriceLists?: string[];
6185
6201
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6186
6202
  ReactivateProgramWhenPossible?: boolean;
6187
- ReloadPolicy?: string;
6203
+ ReloadPolicy: string | null | undefined;
6188
6204
  /**
6189
6205
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6190
6206
  *
@@ -6197,7 +6213,7 @@ export interface LoyaltyPushLoyaltyProgram {
6197
6213
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6198
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.
6199
6215
  */
6200
- RequireManualUserIdentifier?: boolean;
6216
+ RequireManualUserIdentifier: boolean | null | undefined;
6201
6217
  RequiredCustomFields?: string[];
6202
6218
  /**
6203
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.
@@ -6216,29 +6232,29 @@ export interface LoyaltyPushLoyaltyProgram {
6216
6232
  /**
6217
6233
  * Handling when a user is unsubscribed and re-subscribes.
6218
6234
  */
6219
- ResubscribeHandling: DataModelsResubscribeHandlingType;
6220
- StartDate?: string;
6221
- Status: DataModelsLoyaltyProgramStatus;
6222
- UserBudget?: number;
6235
+ ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6236
+ StartDate: string | null | undefined;
6237
+ Status?: DataModelsLoyaltyProgramStatus;
6238
+ UserBudget: number | null | undefined;
6223
6239
  /**
6224
6240
  * Attention!
6225
6241
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6226
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.
6227
6243
  */
6228
- UserIdentifierPrefix?: string;
6244
+ UserIdentifierPrefix: string | null | undefined;
6229
6245
  /**
6230
6246
  * Attention!
6231
6247
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6232
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.
6233
6249
  */
6234
- UserIdentifierStartNumber?: string;
6250
+ UserIdentifierStartNumber: string | null | undefined;
6235
6251
  /**
6236
6252
  * Attention!
6237
6253
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6238
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.
6239
6255
  */
6240
- UserIdentifierSuffix?: string;
6241
- UserMaximumUsage?: number;
6256
+ UserIdentifierSuffix: string | null | undefined;
6257
+ UserMaximumUsage: number | null | undefined;
6242
6258
  }
6243
6259
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition {
6244
6260
  Data: Record<string, TAnyValue>;
@@ -6394,7 +6410,7 @@ export interface PushLoyaltyProgram_Async {
6394
6410
  /**
6395
6411
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6396
6412
  */
6397
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
6413
+ AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6398
6414
  /**
6399
6415
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6400
6416
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6407,42 +6423,42 @@ export interface PushLoyaltyProgram_Async {
6407
6423
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6408
6424
  */
6409
6425
  AutoSubscribeCustomer?: boolean;
6410
- Budget?: number;
6426
+ Budget: number | null | undefined;
6411
6427
  /**
6412
6428
  * Entity type: Currency
6413
6429
  */
6414
- BudgetCurrencyID?: string;
6430
+ BudgetCurrencyID: string | null | undefined;
6415
6431
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6416
- Data?: TAnyValue;
6432
+ Data: TAnyValue | null | undefined;
6417
6433
  DeactivateWhenBudgetIsReached?: boolean;
6418
- Description?: string;
6419
- EndDate?: string;
6420
- Handler: string;
6434
+ Description: string | null | undefined;
6435
+ EndDate: string | null | undefined;
6436
+ Handler?: string;
6421
6437
  /**
6422
6438
  * Entity type: LoyaltyProgram
6423
6439
  */
6424
6440
  ID: string;
6425
- LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
6441
+ LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6426
6442
  /**
6427
6443
  * Entity type: LoyaltyProgramGroup
6428
6444
  */
6429
- LoyaltyProgramGroupID?: string;
6430
- Name: string;
6431
- Options: DataModelsLoyaltyProgramOptions;
6445
+ LoyaltyProgramGroupID: string | null | undefined;
6446
+ Name?: string;
6447
+ Options?: DataModelsLoyaltyProgramOptions;
6432
6448
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6433
6449
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6434
6450
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6435
- PointExpirationPolicyData?: Record<string, TAnyValue>;
6436
- PointExpirationPolicyType?: string;
6437
- PointPendingPolicyData?: Record<string, TAnyValue>;
6438
- 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;
6439
6455
  /**
6440
6456
  * Entity type: PriceList
6441
6457
  */
6442
6458
  PriceLists?: string[];
6443
6459
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6444
6460
  ReactivateProgramWhenPossible?: boolean;
6445
- ReloadPolicy?: string;
6461
+ ReloadPolicy: string | null | undefined;
6446
6462
  /**
6447
6463
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6448
6464
  *
@@ -6455,7 +6471,7 @@ export interface PushLoyaltyProgram_Async {
6455
6471
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6456
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.
6457
6473
  */
6458
- RequireManualUserIdentifier?: boolean;
6474
+ RequireManualUserIdentifier: boolean | null | undefined;
6459
6475
  RequiredCustomFields?: string[];
6460
6476
  /**
6461
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.
@@ -6474,29 +6490,29 @@ export interface PushLoyaltyProgram_Async {
6474
6490
  /**
6475
6491
  * Handling when a user is unsubscribed and re-subscribes.
6476
6492
  */
6477
- ResubscribeHandling: DataModelsResubscribeHandlingType;
6478
- StartDate?: string;
6479
- Status: DataModelsLoyaltyProgramStatus;
6480
- UserBudget?: number;
6493
+ ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6494
+ StartDate: string | null | undefined;
6495
+ Status?: DataModelsLoyaltyProgramStatus;
6496
+ UserBudget: number | null | undefined;
6481
6497
  /**
6482
6498
  * Attention!
6483
6499
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6484
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.
6485
6501
  */
6486
- UserIdentifierPrefix?: string;
6502
+ UserIdentifierPrefix: string | null | undefined;
6487
6503
  /**
6488
6504
  * Attention!
6489
6505
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6490
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.
6491
6507
  */
6492
- UserIdentifierStartNumber?: string;
6508
+ UserIdentifierStartNumber: string | null | undefined;
6493
6509
  /**
6494
6510
  * Attention!
6495
6511
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6496
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.
6497
6513
  */
6498
- UserIdentifierSuffix?: string;
6499
- UserMaximumUsage?: number;
6514
+ UserIdentifierSuffix: string | null | undefined;
6515
+ UserMaximumUsage: number | null | undefined;
6500
6516
  }
6501
6517
  export interface PushLoyaltyProgram_AsyncResponse {
6502
6518
  Error?: ServiceError;
@@ -6706,21 +6722,21 @@ export interface UpdateLoyaltyProgramCondition {
6706
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.
6707
6723
  */
6708
6724
  export interface UpdateLoyaltyProgramGroup {
6709
- BackendID?: string;
6725
+ BackendID: string | null | undefined;
6710
6726
  /**
6711
6727
  * Entity type: Currency
6712
6728
  */
6713
- BudgetCurrencyID?: string;
6714
- EndDate?: string;
6729
+ BudgetCurrencyID: string | null | undefined;
6730
+ EndDate: string | null | undefined;
6715
6731
  /**
6716
6732
  * Entity type: LoyaltyProgramGroup
6717
6733
  */
6718
6734
  ID: string;
6719
- Name: string;
6735
+ Name: string | null | undefined;
6720
6736
  ReactivateProgramsWhenPossible?: boolean;
6721
- StartDate?: string;
6722
- Status: DataModelsLoyaltyProgramStatus;
6723
- TaxExemptionCode?: string;
6737
+ StartDate: string | null | undefined;
6738
+ Status?: DataModelsLoyaltyProgramStatus;
6739
+ TaxExemptionCode: string | null | undefined;
6724
6740
  }
6725
6741
  /**
6726
6742
  * Update the budget on the loyalty program group.
@@ -8507,6 +8523,37 @@ export interface PaymentMethodsGetPaymentTypeByIDResponse_PaymentTypeRole {
8507
8523
  RoleID: string;
8508
8524
  }
8509
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
+ /**
8510
8557
  * Get's the ID/Name of all paymenttypes to use for filter inputs
8511
8558
  */
8512
8559
  export interface GetPaymentTypesForFilter {
@@ -9048,9 +9095,7 @@ export interface UploadPaymentSettlementFile {
9048
9095
  * Entity type: Blob
9049
9096
  */
9050
9097
  BlobID: string;
9051
- Data?: string;
9052
9098
  Handler: string;
9053
- MimeType?: string;
9054
9099
  Name: string;
9055
9100
  /**
9056
9101
  * Entity type: OrganizationUnit
@@ -9489,6 +9534,7 @@ export interface GetPriceListManualInputAdjustmentByIDResponse {
9489
9534
  * Entity type: PriceListAdjustment
9490
9535
  */
9491
9536
  PriceListAdjustmentID: string;
9537
+ ProductBackendID?: string;
9492
9538
  ProductCustomID?: string;
9493
9539
  /**
9494
9540
  * Entity type: Product
@@ -9615,6 +9661,7 @@ export interface PricingListPriceListManualInputAdjustmentsResponse_PriceListMan
9615
9661
  * Entity type: PriceListManualInputAdjustment
9616
9662
  */
9617
9663
  ID: string;
9664
+ ProductBackendID?: string;
9618
9665
  ProductCustomID?: string;
9619
9666
  /**
9620
9667
  * Entity type: Product
@@ -13896,13 +13943,7 @@ export interface ListStockForOrganizationUnitsResponse {
13896
13943
  Url?: string;
13897
13944
  }
13898
13945
  export interface EVACoreServicesStockListStockForOrganizationUnitsResponse_ProductDto {
13899
- CurrencyID?: string;
13900
13946
  Product?: SearchIProductSearchItem;
13901
- TaxCodeID: string;
13902
- TaxRate: number;
13903
- UnitCost: number;
13904
- UnitPrice: number;
13905
- UnitPriceInTax: number;
13906
13947
  }
13907
13948
  export interface EVACoreServicesStockListStockForOrganizationUnitsResponse_StockDto {
13908
13949
  OrganizationUnitCurrencyID?: string;