@springtree/eva-services-core-management 3.0.0-beta.50 → 3.0.0-beta.51

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.
@@ -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: CasesPushCase_PushCaseTopic<ID_TYPE>;
1185
+ CaseTopic?: CasesPushCase_PushCaseTopic<ID_TYPE>;
1198
1186
  ClosingTime?: string;
1199
1187
  CustomFields?: Record<string, TAnyValue | null>;
1200
1188
  Customer?: CasesPushCase_PushCaseCustomer<ID_TYPE>;
@@ -5311,7 +5299,7 @@ export interface GiftCardsListProductGiftCardsResponse_ProductGiftCardDto<ID_TYP
5311
5299
  /**
5312
5300
  * Entity type: GiftCardConfiguration
5313
5301
  */
5314
- GiftCardConfigurationID: ID_TYPE;
5302
+ GiftCardConfigurationID?: ID_TYPE;
5315
5303
  GiftCardConfigurationName?: string;
5316
5304
  /**
5317
5305
  * Entity type: ProductGiftCard
@@ -5454,11 +5442,11 @@ export interface CreateStation<ID_TYPE = string> {
5454
5442
  * Used to differentiate between fiscalized stations and other (e.g. safes) devices
5455
5443
  */
5456
5444
  IsPointOfSale?: boolean;
5457
- Name: string;
5445
+ Name?: string;
5458
5446
  /**
5459
5447
  * Entity type: OrganizationUnit
5460
5448
  */
5461
- OrganizationUnitID: ID_TYPE;
5449
+ OrganizationUnitID?: ID_TYPE;
5462
5450
  }
5463
5451
  export interface CreateStationResponse<ID_TYPE = string> {
5464
5452
  Error?: ServiceError<ID_TYPE>;
@@ -8155,7 +8143,7 @@ export interface CreateUnitPriceCorrectionReason<ID_TYPE = string> {
8155
8143
  /**
8156
8144
  * Entity type: OrganizationUnitSet
8157
8145
  */
8158
- OrganizationUnitSetID: ID_TYPE;
8146
+ OrganizationUnitSetID?: ID_TYPE;
8159
8147
  Priority?: number;
8160
8148
  }
8161
8149
  export interface CreateUnitPriceCorrectionReasonResponse<ID_TYPE = string> {
@@ -8375,6 +8363,20 @@ export interface DeleteReturnReason<ID_TYPE = string> {
8375
8363
  ID: ID_TYPE;
8376
8364
  }
8377
8365
  /**
8366
+ * Get all return reasons
8367
+ */
8368
+ export interface GetReturnReasons<ID_TYPE = string> {
8369
+ /**
8370
+ * Entity type: OrganizationUnit
8371
+ */
8372
+ OrganizationUnitID?: ID_TYPE;
8373
+ /**
8374
+ * Entity type: OrganizationUnitSet
8375
+ */
8376
+ OrganizationUnitSetID?: ID_TYPE;
8377
+ Type?: DataModelsReturnReasonType;
8378
+ }
8379
+ /**
8378
8380
  * Get the reasons by type.
8379
8381
  */
8380
8382
  export interface GetReturnReasonsByType<ID_TYPE = string> {
@@ -8392,6 +8394,28 @@ export interface OrdersReturnReasonsGetReturnReasonsByTypeResponse_Reason<ID_TYP
8392
8394
  Name?: string;
8393
8395
  RemarkType: DataModelsReturnReasonRemarkType;
8394
8396
  }
8397
+ export interface GetReturnReasonsResponse<ID_TYPE = string> {
8398
+ Error?: ServiceError<ID_TYPE>;
8399
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
8400
+ Reasons?: OrdersReturnReasonsGetReturnReasonsResponse_ReturnReasonDto<ID_TYPE>[];
8401
+ }
8402
+ export interface OrdersReturnReasonsGetReturnReasonsResponse_ReturnReasonDto<ID_TYPE = string> {
8403
+ BackendID?: string;
8404
+ Description?: string;
8405
+ /**
8406
+ * Entity type: ReturnReason
8407
+ */
8408
+ ID: ID_TYPE;
8409
+ Name: string;
8410
+ /**
8411
+ * Entity type: OrganizationUnitSet
8412
+ */
8413
+ OrganizationUnitSetID?: ID_TYPE;
8414
+ OrganizationUnitSetName?: string;
8415
+ Priority: number;
8416
+ RemarkType: DataModelsReturnReasonRemarkType;
8417
+ Type: DataModelsReturnReasonType;
8418
+ }
8395
8419
  /**
8396
8420
  * List all return reasons. Does not support sorting. Always sorted by `Priority`
8397
8421
  */
@@ -8969,12 +8993,6 @@ export interface DeleteOrganizationUnitCurrency<ID_TYPE = string> {
8969
8993
  */
8970
8994
  ID: ID_TYPE;
8971
8995
  }
8972
- export interface DeleteOrganizationUnitGroup<ID_TYPE = string> {
8973
- /**
8974
- * Entity type: OrganizationUnitGroup
8975
- */
8976
- ID: ID_TYPE;
8977
- }
8978
8996
  /**
8979
8997
  * Delete a single existing OpeningHour for an OrganizationUnit
8980
8998
  */
@@ -9443,7 +9461,7 @@ export interface GetPaymentTypeByIDResponse<ID_TYPE = string> {
9443
9461
  /**
9444
9462
  * Entity type: PaymentMethod
9445
9463
  */
9446
- PaymentMethodID: ID_TYPE;
9464
+ PaymentMethodID?: ID_TYPE;
9447
9465
  PaymentMethodIsCustom: boolean;
9448
9466
  PaymentMethodName?: string;
9449
9467
  PrintOnDocuments: boolean;
@@ -9743,7 +9761,7 @@ export interface PaymentMethodsListPaymentTypesResponse_PaymentTypeDto<ID_TYPE =
9743
9761
  /**
9744
9762
  * Entity type: PaymentMethod
9745
9763
  */
9746
- PaymentMethodID: ID_TYPE;
9764
+ PaymentMethodID?: ID_TYPE;
9747
9765
  PaymentMethodName?: string;
9748
9766
  PrintOnDocuments: boolean;
9749
9767
  ReturnAction: DataModelsPaymentReturnActions;
@@ -9971,7 +9989,7 @@ export interface PaymentSettlementsListPaymentSettlementFilesResponse_PaymentSet
9971
9989
  * Entity type: PaymentTransactionSettlementFile
9972
9990
  */
9973
9991
  ID: ID_TYPE;
9974
- Name: string;
9992
+ Name?: string;
9975
9993
  OriginalBlobID: string;
9976
9994
  OriginalDownloadUrl: string;
9977
9995
  Status: DataModelsPaymentTransactionSettlementFileStatus;
@@ -11981,9 +11999,9 @@ export interface RightsRoleDto<ID_TYPE = string> {
11981
11999
  * Entity type: Role
11982
12000
  */
11983
12001
  ID: ID_TYPE;
11984
- IsSystemDefined: boolean;
12002
+ IsSystemDefined?: boolean;
11985
12003
  Name?: string;
11986
- UserType: UserTypes;
12004
+ UserType?: UserTypes;
11987
12005
  }
11988
12006
  export interface RightsRoleOrganizationUnitSet<ID_TYPE = string> {
11989
12007
  EndDate?: string;
@@ -14636,10 +14654,6 @@ export interface GetEmployeeDataResponse<ID_TYPE = string> {
14636
14654
  EmployeeNumber?: string;
14637
14655
  Error?: ServiceError<ID_TYPE>;
14638
14656
  Function?: string;
14639
- /**
14640
- * Entity type: UserData
14641
- */
14642
- ID?: ID_TYPE;
14643
14657
  ManagerEmailAddress?: string;
14644
14658
  ManagerFullName?: string;
14645
14659
  /**