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

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.
@@ -691,7 +691,7 @@ export interface GetCaseByIDResponse {
691
691
  * Entity type: CustomField
692
692
  */
693
693
  CustomFieldValuesWithOptions?: Record<string, DataModelsCustomFieldValueWithOptions>;
694
- Customer?: CasesGetCaseByIDResponse_CustomerInfo;
694
+ Customer?: CasesGetCaseByIDResponse_UserInfo;
695
695
  /**
696
696
  * Entity type: User
697
697
  */
@@ -752,6 +752,7 @@ export interface CasesGetCaseByIDResponse_CaseRepair {
752
752
  * Entity type: Repair
753
753
  */
754
754
  ID: string;
755
+ RepairAssignee?: CasesGetCaseByIDResponse_UserInfo;
755
756
  RepairTask?: CasesGetCaseByIDResponse_CaseRepairTask;
756
757
  SerialNumber?: string;
757
758
  SerialNumberRegistrationStatus?: DataModelsSerialNumberRegistrationStatus;
@@ -774,14 +775,6 @@ export interface CasesGetCaseByIDResponse_CaseTopicData {
774
775
  TopicID?: string;
775
776
  TopicName?: string;
776
777
  }
777
- export interface CasesGetCaseByIDResponse_CustomerInfo {
778
- BackendID?: string;
779
- EmailAddress?: string;
780
- FirstName?: string;
781
- FullName?: string;
782
- LastName?: string;
783
- PhoneNumber?: string;
784
- }
785
778
  export interface CasesGetCaseByIDResponse_RelatedItem {
786
779
  /**
787
780
  * Entity type: CaseRelatedItem
@@ -811,6 +804,18 @@ export interface CasesGetCaseByIDResponse_User {
811
804
  ID?: string;
812
805
  LastName?: string;
813
806
  }
807
+ export interface CasesGetCaseByIDResponse_UserInfo {
808
+ BackendID?: string;
809
+ EmailAddress?: string;
810
+ FirstName?: string;
811
+ FullName?: string;
812
+ /**
813
+ * Entity type: User
814
+ */
815
+ ID: string;
816
+ LastName?: string;
817
+ PhoneNumber?: string;
818
+ }
814
819
  /**
815
820
  * Get case interaction
816
821
  */
@@ -1107,6 +1112,12 @@ export interface PushCase {
1107
1112
  Assignee?: CasesPushCase_PushCaseAssignee;
1108
1113
  BackendID: string;
1109
1114
  CaseRelatedItems?: CasesPushCase_PushCaseRelatedItems;
1115
+ /**
1116
+ * The topic that this case is a part of. If a BackendID is provided and a CaseTopic exists with that ID, that CaseTopic is used, no matter what Name or ParentBackendID are passed and if they match.
1117
+ * 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.
1118
+ * If none of these conditions are met, a new CaseTopic is created.
1119
+ */
1120
+ CaseTopic?: CasesPushCase_PushCaseTopic;
1110
1121
  ClosingTime?: string;
1111
1122
  CustomFields?: Record<string, TAnyValue | null>;
1112
1123
  Customer?: CasesPushCase_PushCaseCustomer;
@@ -1124,7 +1135,7 @@ export interface PushCase {
1124
1135
  Status: string;
1125
1136
  Summary?: string;
1126
1137
  Title: string;
1127
- Topic: string;
1138
+ Topic?: string;
1128
1139
  /**
1129
1140
  * Setting this to true will update the case information if it already exists instead of throwing an error.
1130
1141
  */
@@ -1245,6 +1256,17 @@ export interface CasesPushCase_PushCaseRelatedItems {
1245
1256
  */
1246
1257
  OrderID?: string;
1247
1258
  }
1259
+ export interface CasesPushCase_PushCaseTopic {
1260
+ BackendID: string;
1261
+ /**
1262
+ * Required if pushing and creating a previously non-existent CaseTopic
1263
+ */
1264
+ Name?: string;
1265
+ /**
1266
+ * Provide a ParentID, or nothing if the CaseTopic should be root-level.
1267
+ */
1268
+ ParentBackendID?: string;
1269
+ }
1248
1270
  export interface PushCaseResponse {
1249
1271
  Error?: ServiceError;
1250
1272
  /**
@@ -4789,7 +4811,10 @@ export interface CreateDevice {
4789
4811
  * Entity type: Station
4790
4812
  */
4791
4813
  StationID?: string;
4792
- TypeID: string;
4814
+ /**
4815
+ * Entity type: DeviceType
4816
+ */
4817
+ TypeID?: number;
4793
4818
  }
4794
4819
  export interface CreateDeviceResponse {
4795
4820
  Error?: ServiceError;
@@ -5055,7 +5080,10 @@ export interface UpdateDevice {
5055
5080
  * Entity type: Station
5056
5081
  */
5057
5082
  StationID?: string | null;
5058
- TypeID?: string;
5083
+ /**
5084
+ * Entity type: DeviceType
5085
+ */
5086
+ TypeID?: number;
5059
5087
  }
5060
5088
  /**
5061
5089
  * Updates an existing OpenCashDrawerReason with a new Name and Description.
@@ -5192,6 +5220,9 @@ export interface UpdateInquiry {
5192
5220
  Name?: string;
5193
5221
  OneTimeUseOnly?: boolean;
5194
5222
  PromptUser?: boolean;
5223
+ /**
5224
+ * Entity type: Script
5225
+ */
5195
5226
  ScriptID?: string | null;
5196
5227
  }
5197
5228
  /**
@@ -6745,6 +6776,9 @@ export interface UpdateLoyaltyProgram {
6745
6776
  */
6746
6777
  ID: string;
6747
6778
  LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6779
+ /**
6780
+ * Entity type: LoyaltyProgramGroup
6781
+ */
6748
6782
  LoyaltyProgramGroupID?: string | null;
6749
6783
  Name?: string;
6750
6784
  Options?: DataModelsLoyaltyProgramOptions;
@@ -7216,13 +7250,22 @@ export interface PreviewMessageTemplateResponse {
7216
7250
  Url?: string;
7217
7251
  }
7218
7252
  export interface SendSampleMailMessageTemplate {
7253
+ /**
7254
+ * Entity type: Country
7255
+ */
7219
7256
  CountryID?: string;
7220
7257
  Destination?: DataModelsMessageTemplateDestinations;
7221
7258
  EmailAddress?: string;
7222
7259
  Helpers?: string;
7260
+ /**
7261
+ * Entity type: Language
7262
+ */
7223
7263
  LanguageID?: string;
7224
7264
  Layout?: string;
7225
7265
  Name?: string;
7266
+ /**
7267
+ * Entity type: OrganizationUnit
7268
+ */
7226
7269
  OrganizationUnitID?: string;
7227
7270
  SampleData?: Record<string, TAnyValue>;
7228
7271
  Template?: string;
@@ -7276,7 +7319,7 @@ export interface OrdersCheckoutOptionDto {
7276
7319
  CategoryName: string;
7277
7320
  ConfigData?: Record<string, TAnyValue>;
7278
7321
  Description?: string;
7279
- Handler: 'Certification' | 'CustomerReferences' | 'CustomFieldLine' | 'CustomField' | 'Delivery' | 'ElectronicInvoice' | 'FiscalID' | 'FiscalRemark' | 'GiftWrapping' | 'LotteryNumber' | 'OrderBackendIdentifier' | 'PartialShipment' | 'PickupPoint' | 'ProductSearchTemplate' | 'QuickBuy' | 'Remark' | 'RequestedDate' | 'SerialNumberValidation' | 'SoldBy' | 'TaxExempt' | 'TaxRegistrationNumber' | 'VerifyOrder' | 'SignOrder' | 'GlobalBlue';
7322
+ Handler: 'Certification' | 'CustomerReferences' | 'CustomFieldLine' | 'CustomField' | 'Delivery' | 'ElectronicInvoice' | 'FiscalID' | 'FiscalRemark' | 'GiftWrapping' | 'LotteryNumber' | 'OrderBackendIdentifier' | 'PartialShipment' | 'PickupPoint' | 'ProductSearchTemplate' | 'QuickBuy' | 'Remark' | 'RequestedDate' | 'SoldBy' | 'TaxExempt' | 'TaxRegistrationNumber' | 'VerifyOrder' | 'SignOrder' | 'GlobalBlue';
7280
7323
  /**
7281
7324
  * Entity type: CheckoutOption
7282
7325
  */
@@ -7305,7 +7348,7 @@ export interface CreateCheckoutOption {
7305
7348
  CategoryID?: string;
7306
7349
  Data?: OrdersCheckoutOptionsICheckoutOptionConfigData;
7307
7350
  Description?: string;
7308
- Handler: 'Certification' | 'CustomerReferences' | 'CustomFieldLine' | 'CustomField' | 'Delivery' | 'ElectronicInvoice' | 'FiscalID' | 'FiscalRemark' | 'GiftWrapping' | 'LotteryNumber' | 'OrderBackendIdentifier' | 'PartialShipment' | 'PickupPoint' | 'ProductSearchTemplate' | 'QuickBuy' | 'Remark' | 'RequestedDate' | 'SerialNumberValidation' | 'SoldBy' | 'TaxExempt' | 'TaxRegistrationNumber' | 'VerifyOrder' | 'SignOrder' | 'GlobalBlue';
7351
+ Handler: 'Certification' | 'CustomerReferences' | 'CustomFieldLine' | 'CustomField' | 'Delivery' | 'ElectronicInvoice' | 'FiscalID' | 'FiscalRemark' | 'GiftWrapping' | 'LotteryNumber' | 'OrderBackendIdentifier' | 'PartialShipment' | 'PickupPoint' | 'ProductSearchTemplate' | 'QuickBuy' | 'Remark' | 'RequestedDate' | 'SoldBy' | 'TaxExempt' | 'TaxRegistrationNumber' | 'VerifyOrder' | 'SignOrder' | 'GlobalBlue';
7309
7352
  IsActive?: boolean;
7310
7353
  Name: string;
7311
7354
  /**
@@ -7710,7 +7753,7 @@ export interface UpdateCheckoutOption {
7710
7753
  CategoryID?: string | null;
7711
7754
  Data?: OrdersCheckoutOptionsICheckoutOptionConfigData | null;
7712
7755
  Description?: string | null;
7713
- Handler?: 'Certification' | 'CustomerReferences' | 'CustomFieldLine' | 'CustomField' | 'Delivery' | 'ElectronicInvoice' | 'FiscalID' | 'FiscalRemark' | 'GiftWrapping' | 'LotteryNumber' | 'OrderBackendIdentifier' | 'PartialShipment' | 'PickupPoint' | 'ProductSearchTemplate' | 'QuickBuy' | 'Remark' | 'RequestedDate' | 'SerialNumberValidation' | 'SoldBy' | 'TaxExempt' | 'TaxRegistrationNumber' | 'VerifyOrder' | 'SignOrder' | 'GlobalBlue';
7756
+ Handler?: 'Certification' | 'CustomerReferences' | 'CustomFieldLine' | 'CustomField' | 'Delivery' | 'ElectronicInvoice' | 'FiscalID' | 'FiscalRemark' | 'GiftWrapping' | 'LotteryNumber' | 'OrderBackendIdentifier' | 'PartialShipment' | 'PickupPoint' | 'ProductSearchTemplate' | 'QuickBuy' | 'Remark' | 'RequestedDate' | 'SoldBy' | 'TaxExempt' | 'TaxRegistrationNumber' | 'VerifyOrder' | 'SignOrder' | 'GlobalBlue';
7714
7757
  /**
7715
7758
  * Entity type: CheckoutOption
7716
7759
  */
@@ -8049,6 +8092,19 @@ export interface PreviewOrganizationUnitSetResponse {
8049
8092
  Set?: OrganizationUnitSetsOrganizationUnitSetDetails;
8050
8093
  }
8051
8094
  /**
8095
+ * Takes in all subsets of an organization unit set and sets their sequences. All subsets are required.
8096
+ */
8097
+ export interface SetOrganizationUnitSubsetSequences {
8098
+ /**
8099
+ * Entity type: OrganizationUnitSet
8100
+ */
8101
+ OrganizationUnitSetID: string;
8102
+ /**
8103
+ * Entity type: OrganizationUnitSet
8104
+ */
8105
+ SubsetIDs: string[];
8106
+ }
8107
+ /**
8052
8108
  * Updates an OrganizationUnitSet.
8053
8109
  *
8054
8110
  * Optionally a definition can be provided, which defines a set of filters.
@@ -8198,6 +8254,9 @@ export interface DeleteOrganizationUnitCurrency {
8198
8254
  ID: string;
8199
8255
  }
8200
8256
  export interface DeleteOrganizationUnitGroup {
8257
+ /**
8258
+ * Entity type: OrganizationUnitGroup
8259
+ */
8201
8260
  ID: string;
8202
8261
  }
8203
8262
  /**
@@ -8828,6 +8887,9 @@ export interface ListPaymentTransactionSettlements {
8828
8887
  MerchantReference?: string;
8829
8888
  PaymentReference?: string;
8830
8889
  SubType?: string;
8890
+ /**
8891
+ * Entity type: PaymentTransactionSettlementType
8892
+ */
8831
8893
  TypeID?: string;
8832
8894
  }
8833
8895
  /**
@@ -10974,6 +11036,9 @@ export interface RightsFunctionalityWithScope {
10974
11036
  Scope?: SecurityFunctionalityScope;
10975
11037
  }
10976
11038
  export interface GetAvailableRoles {
11039
+ /**
11040
+ * Entity type: User
11041
+ */
10977
11042
  UserID: string;
10978
11043
  }
10979
11044
  export interface GetAvailableRolesResponse {
@@ -11488,6 +11553,9 @@ export interface CreateShippingCost {
11488
11553
  }
11489
11554
  export interface CreateShippingCostResponse {
11490
11555
  Error?: ServiceError;
11556
+ /**
11557
+ * Entity type: ShippingCost
11558
+ */
11491
11559
  ID: string;
11492
11560
  Metadata?: ResponseMessageMetadata;
11493
11561
  }
@@ -11500,6 +11568,10 @@ export interface CreateShippingMethod {
11500
11568
  */
11501
11569
  CarrierID: string;
11502
11570
  Code?: string;
11571
+ /**
11572
+ * Optional additional custom fields
11573
+ */
11574
+ CustomFields?: DataModelsCustomFieldKeyValue[];
11503
11575
  DeliveryType?: DataModelsShippingMethodDeliveryTypes;
11504
11576
  ExcludeProductsFromShippingMethod?: boolean;
11505
11577
  Handler?: string;
@@ -11617,6 +11689,9 @@ export interface DeletePackage {
11617
11689
  * Delete a `ShippingCost`
11618
11690
  */
11619
11691
  export interface DeleteShippingCost {
11692
+ /**
11693
+ * Entity type: ShippingCost
11694
+ */
11620
11695
  ID: string;
11621
11696
  }
11622
11697
  /**
@@ -11728,15 +11803,30 @@ export interface GetShippingCostByID {
11728
11803
  export interface GetShippingCostByIDResponse {
11729
11804
  Amount: number;
11730
11805
  BackendID?: string;
11806
+ /**
11807
+ * Entity type: Country
11808
+ */
11731
11809
  CountryID?: string;
11810
+ /**
11811
+ * Entity type: Currency
11812
+ */
11732
11813
  CurrencyID?: string;
11733
11814
  Error?: ServiceError;
11815
+ /**
11816
+ * Entity type: ShippingCost
11817
+ */
11734
11818
  ID: string;
11735
11819
  MaximumOrderAmount?: number;
11736
11820
  Metadata?: ResponseMessageMetadata;
11737
11821
  MinimumOrderAmount?: number;
11822
+ /**
11823
+ * Entity type: OrganizationUnit
11824
+ */
11738
11825
  OrganizationUnitID?: string;
11739
11826
  OrganizationUnitName?: string;
11827
+ /**
11828
+ * Entity type: ShippingMethod
11829
+ */
11740
11830
  ShippingMethodID?: string;
11741
11831
  ShippingMethodName?: string;
11742
11832
  ZipCodes?: string[];
@@ -11758,6 +11848,10 @@ export interface GetShippingMethodByIDResponse {
11758
11848
  CarrierID: string;
11759
11849
  CarrierName?: string;
11760
11850
  Code?: string;
11851
+ /**
11852
+ * Entity type: CustomField
11853
+ */
11854
+ CustomFieldValuesWithOptions?: Record<string, DataModelsCustomFieldValueWithOptions>;
11761
11855
  DeliveryType: DataModelsShippingMethodDeliveryTypes;
11762
11856
  Error?: ServiceError;
11763
11857
  ExcludeProductsFromShippingMethod: boolean;
@@ -11851,6 +11945,10 @@ export interface ShippingListManagementShippingMethodsResponse_Data {
11851
11945
  CarrierID: string;
11852
11946
  CarrierName?: string;
11853
11947
  Code?: string;
11948
+ /**
11949
+ * Entity type: CustomField
11950
+ */
11951
+ CustomFieldValuesWithOptions?: Record<string, DataModelsCustomFieldValueWithOptions>;
11854
11952
  DeliveryType: DataModelsShippingMethodDeliveryTypes;
11855
11953
  Handler?: string;
11856
11954
  /**
@@ -11984,13 +12082,28 @@ export interface RemovePackageFromCarrier {
11984
12082
  export interface ShippingShippingCostDto {
11985
12083
  Amount: number;
11986
12084
  BackendID?: string;
12085
+ /**
12086
+ * Entity type: Country
12087
+ */
11987
12088
  CountryID?: string;
12089
+ /**
12090
+ * Entity type: Currency
12091
+ */
11988
12092
  CurrencyID?: string;
12093
+ /**
12094
+ * Entity type: ShippingCost
12095
+ */
11989
12096
  ID: string;
11990
12097
  MaximumOrderAmount?: number;
11991
12098
  MinimumOrderAmount?: number;
12099
+ /**
12100
+ * Entity type: OrganizationUnit
12101
+ */
11992
12102
  OrganizationUnitID?: string;
11993
12103
  OrganizationUnitName?: string;
12104
+ /**
12105
+ * Entity type: ShippingMethod
12106
+ */
11994
12107
  ShippingMethodID?: string;
11995
12108
  ShippingMethodName?: string;
11996
12109
  ZipCodes?: string[];
@@ -12100,6 +12213,9 @@ export interface UpdateShippingCost {
12100
12213
  * Entity type: Currency
12101
12214
  */
12102
12215
  CurrencyID: string;
12216
+ /**
12217
+ * Entity type: ShippingCost
12218
+ */
12103
12219
  ID: string;
12104
12220
  MaximumOrderAmount?: number;
12105
12221
  MinimumOrderAmount?: number;
@@ -12122,6 +12238,7 @@ export interface UpdateShippingMethod {
12122
12238
  */
12123
12239
  CarrierID: string;
12124
12240
  Code?: string;
12241
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
12125
12242
  DeliveryType?: DataModelsShippingMethodDeliveryTypes;
12126
12243
  ExcludeProductsFromShippingMethod?: boolean;
12127
12244
  Handler?: string;
@@ -12192,6 +12309,9 @@ export interface UpdateShippingRestriction {
12192
12309
  */
12193
12310
  ProductPropertyTypeID?: string | null;
12194
12311
  ProductPropertyTypeValues?: string[] | null;
12312
+ /**
12313
+ * Entity type: ProductSearchTemplate
12314
+ */
12195
12315
  ProductSearchTemplateID?: string | null;
12196
12316
  /**
12197
12317
  * Entity type: Script
@@ -12340,6 +12460,9 @@ export interface ListStockAllocationRulesResponse {
12340
12460
  * Reallocates the stock for a StockLocationRule with `Type` = `Limitation`.
12341
12461
  */
12342
12462
  export interface RefillStockAllocation {
12463
+ /**
12464
+ * Entity type: StockAllocationRule
12465
+ */
12343
12466
  ID: string;
12344
12467
  ValueOverride?: number;
12345
12468
  }