@springtree/eva-services-core-management 3.0.0-beta.23 → 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
  */
@@ -12019,6 +12144,9 @@ export interface ShippingListShippingMethodsResponse_ShippingMethodDto {
12019
12144
  */
12020
12145
  CarrierID: string;
12021
12146
  CarrierName?: string;
12147
+ /**
12148
+ * Entity type: ShippingMethod
12149
+ */
12022
12150
  ID: string;
12023
12151
  Name?: string;
12024
12152
  /**
@@ -12714,7 +12842,7 @@ export interface CreateSubscription {
12714
12842
  */
12715
12843
  ResubscribeHandling?: DataModelsResubscribeHandlingType;
12716
12844
  UserIdentifierPrefix?: string;
12717
- UserIdentifierStartNumber?: string;
12845
+ UserIdentifierStartNumber?: number;
12718
12846
  UserIdentifierSuffix?: string;
12719
12847
  }
12720
12848
  /**
@@ -13369,7 +13497,7 @@ export interface UsersListSubscriptionsResponse_SubscriptionDto {
13369
13497
  Type: DataModelsSubscriptionType;
13370
13498
  UserIdentifierCurrentNumber?: string;
13371
13499
  UserIdentifierPrefix?: string;
13372
- UserIdentifierStartNumber?: string;
13500
+ UserIdentifierStartNumber?: number;
13373
13501
  UserIdentifierSuffix?: string;
13374
13502
  }
13375
13503
  /**
@@ -13902,15 +14030,21 @@ export interface AddProductsToAssortment {
13902
14030
  UpdateOnly?: boolean;
13903
14031
  }
13904
14032
  export interface EVACoreServicesAssortmentsAddProductsToAssortment_AssortmentProduct {
14033
+ AnnouncementDate?: string;
13905
14034
  EndDate?: string;
14035
+ IgnoreAnnouncementDateToChildProducts?: boolean;
13906
14036
  IgnoreEndDateToChildProducts?: boolean;
14037
+ IgnorePreSaleDateToChildProducts?: boolean;
14038
+ IgnoreShipmentDateToChildProducts?: boolean;
13907
14039
  IgnoreStartDateToChildProducts?: boolean;
14040
+ PreSaleDate?: string;
13908
14041
  /**
13909
14042
  * Entity type: Product
13910
14043
  */
13911
14044
  ProductID: string;
13912
14045
  ProductStatus?: DataModelsProductStatus;
13913
14046
  ProductStatusesToIgnoreToChildProducts?: DataModelsProductStatus;
14047
+ ShipmentDate?: string;
13914
14048
  StartDate?: string;
13915
14049
  }
13916
14050
  /**
@@ -13952,12 +14086,15 @@ export interface CreateAssortment {
13952
14086
  Products?: EVACoreServicesAssortmentsCreateAssortment_AssortmentProduct[];
13953
14087
  }
13954
14088
  export interface EVACoreServicesAssortmentsCreateAssortment_AssortmentProduct {
14089
+ AnnouncementDate?: string;
13955
14090
  EndDate?: string;
14091
+ PreSaleDate?: string;
13956
14092
  /**
13957
14093
  * Entity type: Product
13958
14094
  */
13959
14095
  ProductID: string;
13960
14096
  ProductStatus?: DataModelsProductStatus;
14097
+ ShipmentDate?: string;
13961
14098
  StartDate?: string;
13962
14099
  }
13963
14100
  export interface CreateAssortmentResponse {
@@ -14050,11 +14187,13 @@ export interface GetAssortmentProductTreeResponse {
14050
14187
  Parent?: EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetAssortmentProductTreeProduct;
14051
14188
  }
14052
14189
  export interface EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetAssortmentProductTreeProduct {
14190
+ AnnouncementDate?: string;
14053
14191
  Children?: EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetAssortmentProductTreeProduct[];
14054
14192
  EndDate?: string;
14055
14193
  IsIncludedInAssortment: boolean;
14056
14194
  IsRequestedProduct: boolean;
14057
14195
  MixedProductStatuses: DataModelsProductStatus;
14196
+ PreSaleDate?: string;
14058
14197
  /**
14059
14198
  * Entity type: Product
14060
14199
  */
@@ -14066,6 +14205,7 @@ export interface EVACoreServicesAssortmentsGetAssortmentProductTreeResponse_GetA
14066
14205
  ProductID: string;
14067
14206
  ProductStatus: DataModelsProductStatus;
14068
14207
  ProductType: DataModelsProductTypes;
14208
+ ShipmentDate?: string;
14069
14209
  StartDate?: string;
14070
14210
  }
14071
14211
  /**
@@ -14088,10 +14228,12 @@ export interface GetAssortmentRootProductsResponse {
14088
14228
  Result?: PagedResult<EVACoreServicesAssortmentsGetAssortmentRootProductsResponse_AssortmentProduct>;
14089
14229
  }
14090
14230
  export interface EVACoreServicesAssortmentsGetAssortmentRootProductsResponse_AssortmentProduct {
14231
+ AnnouncementDate?: string;
14091
14232
  EndDate?: string;
14092
14233
  HasChildren: boolean;
14093
14234
  IsPartiallyIncludedInAssortment: boolean;
14094
14235
  MixedProductStatuses: DataModelsProductStatus;
14236
+ PreSaleDate?: string;
14095
14237
  ProductBackendID?: string;
14096
14238
  ProductDetails?: SearchIProductSearchItem;
14097
14239
  /**
@@ -14100,6 +14242,7 @@ export interface EVACoreServicesAssortmentsGetAssortmentRootProductsResponse_Ass
14100
14242
  ProductID: string;
14101
14243
  ProductStatus: DataModelsProductStatus;
14102
14244
  ProductType: DataModelsProductTypes;
14245
+ ShipmentDate?: string;
14103
14246
  StartDate?: string;
14104
14247
  }
14105
14248
  /**
@@ -14116,6 +14259,7 @@ export interface ListAssortmentProductsResponse {
14116
14259
  Result?: PagedResult<EVACoreServicesAssortmentsListAssortmentProductsResponse_AssortmentProduct>;
14117
14260
  }
14118
14261
  export interface EVACoreServicesAssortmentsListAssortmentProductsResponse_AssortmentProduct {
14262
+ AnnouncementDate?: string;
14119
14263
  AssortmentCode?: string;
14120
14264
  /**
14121
14265
  * Entity type: Assortment
@@ -14123,6 +14267,7 @@ export interface EVACoreServicesAssortmentsListAssortmentProductsResponse_Assort
14123
14267
  AssortmentID: string;
14124
14268
  AssortmentName?: string;
14125
14269
  EndDate?: string;
14270
+ PreSaleDate?: string;
14126
14271
  /**
14127
14272
  * Entity type: Product
14128
14273
  */
@@ -14134,6 +14279,7 @@ export interface EVACoreServicesAssortmentsListAssortmentProductsResponse_Assort
14134
14279
  ProductID: string;
14135
14280
  ProductStatus: DataModelsProductStatus;
14136
14281
  ProductType: DataModelsProductTypes;
14282
+ ShipmentDate?: string;
14137
14283
  StartDate?: string;
14138
14284
  }
14139
14285
  /**
@@ -14495,7 +14641,6 @@ export interface CreateIdentificationPinForEmployee {
14495
14641
  export interface CreateIdentificationPinForEmployeeResponse {
14496
14642
  Error?: ServiceError;
14497
14643
  Metadata?: ResponseMessageMetadata;
14498
- Pin?: string;
14499
14644
  }
14500
14645
  export interface GenerateIdentificationPinForEmployee {
14501
14646
  /**