@springtree/eva-services-core-management 3.0.0-beta.22 → 3.0.0-beta.24

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.
@@ -197,15 +197,15 @@ export declare const enum Errors {
197
197
  */
198
198
  Pricing_BackendIdentifiersRequired = "Pricing:BackendIdentifiersRequired",
199
199
  /**
200
- * PriceList {:int64} has the same BackendID.
200
+ * PriceList {:id} has the same BackendID.
201
201
  */
202
202
  Pricing_DuplicateBackendID = "Pricing:DuplicateBackendID",
203
203
  /**
204
- * You do not have access to pricelist {:int64}.
204
+ * You do not have access to pricelist {:id}.
205
205
  */
206
206
  Pricing_CannotViewPriceList = "Pricing:CannotViewPriceList",
207
207
  /**
208
- * Barcode {barcode:string} already exists for ProductID {productID:int64}
208
+ * Barcode {barcode:string} already exists for ProductID {productID:id}
209
209
  */
210
210
  ProductBarcodes_BarcodeAlreadyExists = "ProductBarcodes:BarcodeAlreadyExists",
211
211
  /**
@@ -265,11 +265,11 @@ export declare const enum Errors {
265
265
  */
266
266
  SettingsExcelImporter_OrganizationUnitByBackendIDNotFound = "SettingsExcelImporter:OrganizationUnitByBackendIDNotFound",
267
267
  /**
268
- * No BackendID or OrganizationUnitID provided for row {:int64}
268
+ * No BackendID or OrganizationUnitID provided for row {:id}
269
269
  */
270
270
  SettingsExcelImporter_NoOrganizationUnitIdentifier = "SettingsExcelImporter:NoOrganizationUnitIdentifier",
271
271
  /**
272
- * Value on row {:int64} looks like a masked value
272
+ * Value on row {:id} looks like a masked value
273
273
  */
274
274
  SettingsExcelImporter_MaskedValueImport = "SettingsExcelImporter:MaskedValueImport",
275
275
  /**
@@ -281,7 +281,7 @@ export declare const enum Errors {
281
281
  */
282
282
  StockAllocations_OrganizationUnitRequired = "StockAllocations:OrganizationUnitRequired",
283
283
  /**
284
- * OrganizationUnit {:int64} is not directly supplied by OrganizationUnit {:int64}.
284
+ * OrganizationUnit {:id} is not directly supplied by OrganizationUnit {:id}.
285
285
  */
286
286
  StockAllocations_InvalidOrganizationUnit = "StockAllocations:InvalidOrganizationUnit",
287
287
  /**
@@ -1568,6 +1568,56 @@ export interface ListCompaniesResponse {
1568
1568
  PreviousPageToken?: string;
1569
1569
  Results?: CompaniesListCompaniesItem[];
1570
1570
  }
1571
+ export interface PushCompanyResponse {
1572
+ Error?: ServiceError;
1573
+ /**
1574
+ * Entity type: Company
1575
+ */
1576
+ ID: string;
1577
+ Metadata?: ResponseMessageMetadata;
1578
+ }
1579
+ export interface PushCompany_Async {
1580
+ AccountHolderName?: string | null;
1581
+ BIC?: string | null;
1582
+ /**
1583
+ * Entity type: Company
1584
+ */
1585
+ BackendID: string;
1586
+ ContactEmailAddress?: string | null;
1587
+ ContactPhoneNumber?: string | null;
1588
+ EntityType?: string | null;
1589
+ EstablishedDate?: string | null;
1590
+ FiscalID?: string | null;
1591
+ IBAN?: string | null;
1592
+ IndustryCode?: string | null;
1593
+ InvoiceAddress?: AddressesAddressDataDto;
1594
+ InvoiceEmailAddress?: string | null;
1595
+ LogoID?: string | null;
1596
+ Name?: string;
1597
+ RegistrationCity?: string | null;
1598
+ /**
1599
+ * Entity type: Country
1600
+ */
1601
+ RegistrationCountryID?: string | null;
1602
+ /**
1603
+ * Entity type: CountrySubdivision
1604
+ */
1605
+ RegistrationCountrySubdivisionID?: string | null;
1606
+ RegistrationNumber?: string | null;
1607
+ SocialCapital?: number | null;
1608
+ TaxOfficeNumber?: string | null;
1609
+ VatNumber?: string | null;
1610
+ VisitorsAddress?: AddressesAddressDataDto;
1611
+ WasteDisposalNumber?: string | null;
1612
+ }
1613
+ export interface PushCompany_AsyncResponse {
1614
+ Error?: ServiceError;
1615
+ JobID?: string;
1616
+ Metadata?: ResponseMessageMetadata;
1617
+ }
1618
+ export interface PushCompany_AsyncResult {
1619
+ JobID?: string;
1620
+ }
1571
1621
  /**
1572
1622
  * Updates a Company. Fields not provided in the request are ignored.
1573
1623
  */
@@ -1607,6 +1657,10 @@ export interface ValidateCompany {
1607
1657
  /**
1608
1658
  * Entity type: Company
1609
1659
  */
1660
+ BackendID?: string;
1661
+ /**
1662
+ * Entity type: Company
1663
+ */
1610
1664
  CompanyID?: string;
1611
1665
  ContactEmailAddress?: string;
1612
1666
  ContactPhoneNumber?: string;
@@ -1748,6 +1802,7 @@ export interface GetAppSettingsForOrganizationUnitResponse {
1748
1802
  * If available a Description and/or DefaultValue will be returned
1749
1803
  */
1750
1804
  export interface GetAvailableSettings {
1805
+ Functionality?: string;
1751
1806
  }
1752
1807
  export interface GetAvailableSettingsResponse {
1753
1808
  Error?: ServiceError;
@@ -1760,6 +1815,7 @@ export interface ConfigurationGetAvailableSettingsResponse_Setting {
1760
1815
  Deprecation?: string;
1761
1816
  Description?: string;
1762
1817
  EntityType?: ConfigurationSettingValueEntityTypes;
1818
+ Functionality?: string;
1763
1819
  Key?: string;
1764
1820
  RootLevelOnly: boolean;
1765
1821
  Sensitivity: ConfigurationSettingSensitivityTypes;
@@ -4974,7 +5030,6 @@ export interface GetConfigurationQrForDevice {
4974
5030
  * Entity type: Device
4975
5031
  */
4976
5032
  DeviceID: string;
4977
- UseBase64?: boolean;
4978
5033
  }
4979
5034
  export interface GetConfigurationQrForDeviceResponse {
4980
5035
  Error?: ServiceError;
@@ -5386,7 +5441,7 @@ export interface CreateLoyaltyProgram {
5386
5441
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
5387
5442
  * 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.
5388
5443
  */
5389
- UserIdentifierStartNumber?: string;
5444
+ UserIdentifierStartNumber?: number;
5390
5445
  /**
5391
5446
  * Attention!
5392
5447
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
@@ -5872,7 +5927,7 @@ export interface GetLoyaltyProgramResponse {
5872
5927
  UsedBudget: number;
5873
5928
  UserBudget?: number;
5874
5929
  UserIdentifierPrefix?: string;
5875
- UserIdentifierStartNumber?: string;
5930
+ UserIdentifierStartNumber?: number;
5876
5931
  UserIdentifierSuffix?: string;
5877
5932
  UserMaximumUsage?: number;
5878
5933
  }
@@ -6276,6 +6331,11 @@ export interface LoyaltyListPointAwardingRulesResponse_Rule {
6276
6331
  OrganizationUnitSetName?: string;
6277
6332
  StartDate: string;
6278
6333
  }
6334
+ export declare const enum LoyaltyLoyaltyPointAdjustmentType {
6335
+ Deposit = 0,
6336
+ Withdraw = 1,
6337
+ Rebalance = 2
6338
+ }
6279
6339
  export interface LoyaltyLoyaltyProgramProductLimitationData {
6280
6340
  Filters?: Record<string, SearchFilterModel>;
6281
6341
  /**
@@ -6403,7 +6463,7 @@ export interface LoyaltyPushLoyaltyProgram {
6403
6463
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6404
6464
  * 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.
6405
6465
  */
6406
- UserIdentifierStartNumber?: string | null;
6466
+ UserIdentifierStartNumber?: number | null;
6407
6467
  /**
6408
6468
  * Attention!
6409
6469
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
@@ -6658,7 +6718,7 @@ export interface PushLoyaltyProgram_Async {
6658
6718
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6659
6719
  * 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.
6660
6720
  */
6661
- UserIdentifierStartNumber?: string | null;
6721
+ UserIdentifierStartNumber?: number | null;
6662
6722
  /**
6663
6723
  * Attention!
6664
6724
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
@@ -6704,6 +6764,48 @@ export interface RebalanceLoyaltyPoints {
6704
6764
  */
6705
6765
  UserID: string;
6706
6766
  }
6767
+ export interface RebalanceLoyaltyPointsForUsersResponse {
6768
+ Error?: ServiceError;
6769
+ FailedToAdjustUsers?: LoyaltyRebalanceLoyaltyPointsForUsersResponse_FailedToAdjustUser[];
6770
+ /**
6771
+ * Entity type: LoyaltyProgram
6772
+ */
6773
+ LoyaltyProgramID: string;
6774
+ Metadata?: ResponseMessageMetadata;
6775
+ SuccessfullyAdjustedUsers?: LoyaltyRebalanceLoyaltyPointsForUsersResponse_SuccessfullyAdjustedUser[];
6776
+ }
6777
+ export interface LoyaltyRebalanceLoyaltyPointsForUsersResponse_FailedToAdjustUser {
6778
+ AdjustmentType: LoyaltyLoyaltyPointAdjustmentType;
6779
+ ErrorIdentifier?: string;
6780
+ KeepPendingPoints: boolean;
6781
+ Points: number;
6782
+ /**
6783
+ * Entity type: User
6784
+ */
6785
+ UserID: string;
6786
+ }
6787
+ export interface LoyaltyRebalanceLoyaltyPointsForUsersResponse_SuccessfullyAdjustedUser {
6788
+ NewLoyaltyPointBalance: number;
6789
+ /**
6790
+ * Entity type: User
6791
+ */
6792
+ UserID: string;
6793
+ }
6794
+ export interface RebalanceLoyaltyPointsForUsers_Async {
6795
+ /**
6796
+ * Entity type: LoyaltyProgram
6797
+ */
6798
+ LoyaltyProgramID: string;
6799
+ UserLoyaltyPointAdjustments: LoyaltyUserLoyaltyPointAdjustment[];
6800
+ }
6801
+ export interface RebalanceLoyaltyPointsForUsers_AsyncResponse {
6802
+ Error?: ServiceError;
6803
+ JobID?: string;
6804
+ Metadata?: ResponseMessageMetadata;
6805
+ }
6806
+ export interface RebalanceLoyaltyPointsForUsers_AsyncResult {
6807
+ JobID?: string;
6808
+ }
6707
6809
  /**
6708
6810
  * Removes a price list from a loyalty program.
6709
6811
  */
@@ -6832,7 +6934,7 @@ export interface UpdateLoyaltyProgram {
6832
6934
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6833
6935
  * This value cannot be changed after it is set in either the create or update.
6834
6936
  */
6835
- UserIdentifierStartNumber?: string | null;
6937
+ UserIdentifierStartNumber?: number | null;
6836
6938
  /**
6837
6939
  * Attention!
6838
6940
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
@@ -6979,6 +7081,29 @@ export interface LoyaltyUpdatePointAwardingRule_Condition {
6979
7081
  ID?: string;
6980
7082
  Type: 'ORDERAMOUNT' | 'PRODUCT' | 'USERCUSTOMFIELD';
6981
7083
  }
7084
+ export interface LoyaltyUserLoyaltyPointAdjustment {
7085
+ /**
7086
+ * How to adjust the balance. Points can be deposited, withdrew or 'rebalanced', the latter will set the balance to the given points.
7087
+ */
7088
+ AdjustmentType?: LoyaltyLoyaltyPointAdjustmentType;
7089
+ /**
7090
+ * Expiration date will be calculated based on the loyalty program expiration policy and current date and applied to the given `NewPointBalance`. Ignored if the new balance after adjustment is 0.
7091
+ */
7092
+ ApplyProgramExpiration?: boolean;
7093
+ /**
7094
+ * Date when the new points will be expired. When null provided, the loyalty points will not expire. When date provided, the new balance will expire on that date. Ignored when `ApplyProgramExpiration` is set to true. Ignored if the new balance after adjustment is 0.
7095
+ */
7096
+ ExpirationDate?: string;
7097
+ KeepPendingPoints?: boolean;
7098
+ /**
7099
+ * The amount of points to adjust.
7100
+ */
7101
+ Points?: number;
7102
+ /**
7103
+ * Entity type: User
7104
+ */
7105
+ UserID: string;
7106
+ }
6982
7107
  /**
6983
7108
  * Withdraw loyalty points from a user
6984
7109
  */
@@ -8569,6 +8694,7 @@ export interface CreatePaymentTransactionLedgerTypeResponse {
8569
8694
  * Create a new PaymentType.
8570
8695
  */
8571
8696
  export interface CreatePaymentType {
8697
+ AllowMultiCurrency?: boolean;
8572
8698
  AutoFinalizeOnOrderPaid?: boolean;
8573
8699
  BackendID?: string;
8574
8700
  BackendRelationID?: string;
@@ -8698,6 +8824,7 @@ export interface GetPaymentTypeByID {
8698
8824
  ID: string;
8699
8825
  }
8700
8826
  export interface GetPaymentTypeByIDResponse {
8827
+ AllowMultiCurrency: boolean;
8701
8828
  AutoFinalizeOnOrderPaid: boolean;
8702
8829
  BackendID?: string;
8703
8830
  BackendRelationID?: string;
@@ -9130,6 +9257,7 @@ export interface UpdatePaymentTransactionLedgerType {
9130
9257
  * Update an existing PaymentType.
9131
9258
  */
9132
9259
  export interface UpdatePaymentType {
9260
+ AllowMultiCurrency?: boolean;
9133
9261
  AutoFinalizeOnOrderPaid?: boolean;
9134
9262
  BackendID?: string | null;
9135
9263
  BackendRelationID?: string | null;
@@ -12016,6 +12144,9 @@ export interface ShippingListShippingMethodsResponse_ShippingMethodDto {
12016
12144
  */
12017
12145
  CarrierID: string;
12018
12146
  CarrierName?: string;
12147
+ /**
12148
+ * Entity type: ShippingMethod
12149
+ */
12019
12150
  ID: string;
12020
12151
  Name?: string;
12021
12152
  /**
@@ -12711,7 +12842,7 @@ export interface CreateSubscription {
12711
12842
  */
12712
12843
  ResubscribeHandling?: DataModelsResubscribeHandlingType;
12713
12844
  UserIdentifierPrefix?: string;
12714
- UserIdentifierStartNumber?: string;
12845
+ UserIdentifierStartNumber?: number;
12715
12846
  UserIdentifierSuffix?: string;
12716
12847
  }
12717
12848
  /**
@@ -13366,7 +13497,7 @@ export interface UsersListSubscriptionsResponse_SubscriptionDto {
13366
13497
  Type: DataModelsSubscriptionType;
13367
13498
  UserIdentifierCurrentNumber?: string;
13368
13499
  UserIdentifierPrefix?: string;
13369
- UserIdentifierStartNumber?: string;
13500
+ UserIdentifierStartNumber?: number;
13370
13501
  UserIdentifierSuffix?: string;
13371
13502
  }
13372
13503
  /**
@@ -13899,15 +14030,21 @@ export interface AddProductsToAssortment {
13899
14030
  UpdateOnly?: boolean;
13900
14031
  }
13901
14032
  export interface EVACoreServicesAssortmentsAddProductsToAssortment_AssortmentProduct {
14033
+ AnnouncementDate?: string;
13902
14034
  EndDate?: string;
14035
+ IgnoreAnnouncementDateToChildProducts?: boolean;
13903
14036
  IgnoreEndDateToChildProducts?: boolean;
14037
+ IgnorePreSaleDateToChildProducts?: boolean;
14038
+ IgnoreShipmentDateToChildProducts?: boolean;
13904
14039
  IgnoreStartDateToChildProducts?: boolean;
14040
+ PreSaleDate?: string;
13905
14041
  /**
13906
14042
  * Entity type: Product
13907
14043
  */
13908
14044
  ProductID: string;
13909
14045
  ProductStatus?: DataModelsProductStatus;
13910
14046
  ProductStatusesToIgnoreToChildProducts?: DataModelsProductStatus;
14047
+ ShipmentDate?: string;
13911
14048
  StartDate?: string;
13912
14049
  }
13913
14050
  /**
@@ -13949,12 +14086,15 @@ export interface CreateAssortment {
13949
14086
  Products?: EVACoreServicesAssortmentsCreateAssortment_AssortmentProduct[];
13950
14087
  }
13951
14088
  export interface EVACoreServicesAssortmentsCreateAssortment_AssortmentProduct {
14089
+ AnnouncementDate?: string;
13952
14090
  EndDate?: string;
14091
+ PreSaleDate?: string;
13953
14092
  /**
13954
14093
  * Entity type: Product
13955
14094
  */
13956
14095
  ProductID: string;
13957
14096
  ProductStatus?: DataModelsProductStatus;
14097
+ ShipmentDate?: string;
13958
14098
  StartDate?: string;
13959
14099
  }
13960
14100
  export interface CreateAssortmentResponse {
@@ -14047,11 +14187,13 @@ export interface GetAssortmentProductTreeResponse {
14047
14187
  Parent?: EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetAssortmentProductTreeProduct;
14048
14188
  }
14049
14189
  export interface EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetAssortmentProductTreeProduct {
14190
+ AnnouncementDate?: string;
14050
14191
  Children?: EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetAssortmentProductTreeProduct[];
14051
14192
  EndDate?: string;
14052
14193
  IsIncludedInAssortment: boolean;
14053
14194
  IsRequestedProduct: boolean;
14054
14195
  MixedProductStatuses: DataModelsProductStatus;
14196
+ PreSaleDate?: string;
14055
14197
  /**
14056
14198
  * Entity type: Product
14057
14199
  */
@@ -14063,6 +14205,7 @@ export interface EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetA
14063
14205
  ProductID: string;
14064
14206
  ProductStatus: DataModelsProductStatus;
14065
14207
  ProductType: DataModelsProductTypes;
14208
+ ShipmentDate?: string;
14066
14209
  StartDate?: string;
14067
14210
  }
14068
14211
  /**
@@ -14085,10 +14228,12 @@ export interface GetAssortmentRootProductsResponse {
14085
14228
  Result?: PagedResult<EVACoreServicesAssortmentsGetAssortmentRootProductsResponse_AssortmentProduct>;
14086
14229
  }
14087
14230
  export interface EVACoreServicesAssortmentsGetAssortmentRootProductsResponse_AssortmentProduct {
14231
+ AnnouncementDate?: string;
14088
14232
  EndDate?: string;
14089
14233
  HasChildren: boolean;
14090
14234
  IsPartiallyIncludedInAssortment: boolean;
14091
14235
  MixedProductStatuses: DataModelsProductStatus;
14236
+ PreSaleDate?: string;
14092
14237
  ProductBackendID?: string;
14093
14238
  ProductDetails?: SearchIProductSearchItem;
14094
14239
  /**
@@ -14097,6 +14242,7 @@ export interface EVACoreServicesAssortmentsGetAssortmentRootProductsResponse_Ass
14097
14242
  ProductID: string;
14098
14243
  ProductStatus: DataModelsProductStatus;
14099
14244
  ProductType: DataModelsProductTypes;
14245
+ ShipmentDate?: string;
14100
14246
  StartDate?: string;
14101
14247
  }
14102
14248
  /**
@@ -14113,6 +14259,7 @@ export interface ListAssortmentProductsResponse {
14113
14259
  Result?: PagedResult<EVACoreServicesAssortmentsListAssortmentProductsResponse_AssortmentProduct>;
14114
14260
  }
14115
14261
  export interface EVACoreServicesAssortmentsListAssortmentProductsResponse_AssortmentProduct {
14262
+ AnnouncementDate?: string;
14116
14263
  AssortmentCode?: string;
14117
14264
  /**
14118
14265
  * Entity type: Assortment
@@ -14120,6 +14267,7 @@ export interface EVACoreServicesAssortmentsListAssortmentProductsResponse_Assort
14120
14267
  AssortmentID: string;
14121
14268
  AssortmentName?: string;
14122
14269
  EndDate?: string;
14270
+ PreSaleDate?: string;
14123
14271
  /**
14124
14272
  * Entity type: Product
14125
14273
  */
@@ -14131,6 +14279,7 @@ export interface EVACoreServicesAssortmentsListAssortmentProductsResponse_Assort
14131
14279
  ProductID: string;
14132
14280
  ProductStatus: DataModelsProductStatus;
14133
14281
  ProductType: DataModelsProductTypes;
14282
+ ShipmentDate?: string;
14134
14283
  StartDate?: string;
14135
14284
  }
14136
14285
  /**
@@ -14492,7 +14641,6 @@ export interface CreateIdentificationPinForEmployee {
14492
14641
  export interface CreateIdentificationPinForEmployeeResponse {
14493
14642
  Error?: ServiceError;
14494
14643
  Metadata?: ResponseMessageMetadata;
14495
- Pin?: string;
14496
14644
  }
14497
14645
  export interface GenerateIdentificationPinForEmployee {
14498
14646
  /**