@springtree/eva-services-core-management 3.0.0-beta.13 → 3.0.0-beta.15

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",
@@ -375,7 +379,7 @@ export interface ListAccountsResponse {
375
379
  * Update an existing Account. Make sure all properties are filled.
376
380
  */
377
381
  export interface UpdateAccount {
378
- BackendCode: string | null | undefined;
382
+ BackendCode?: string | null;
379
383
  BookingFlags?: DataModelsBookingFlags;
380
384
  /**
381
385
  * Entity type: Account
@@ -383,7 +387,7 @@ export interface UpdateAccount {
383
387
  ID: string;
384
388
  Name?: string;
385
389
  ObjectAccount?: string;
386
- Subsidiary: string | null | undefined;
390
+ Subsidiary?: string | null;
387
391
  Type?: DataModelsAccountType;
388
392
  }
389
393
  export interface AuditingConfigurationResponse {
@@ -523,7 +527,7 @@ export interface CreateCase {
523
527
  * Can only be set once. Can be updated when not set on create.
524
528
  */
525
529
  OriginatingOrganizationUnitID?: string;
526
- Priority: DataModelsCasePriority;
530
+ Priority?: DataModelsCasePriority;
527
531
  Title: string;
528
532
  /**
529
533
  * Entity type: CaseTopic
@@ -539,7 +543,7 @@ export interface CreateCaseInteraction {
539
543
  * Entity type: Case
540
544
  */
541
545
  CaseID: string;
542
- InteractionType: DataModelsInteractionType;
546
+ InteractionType?: DataModelsInteractionType;
543
547
  Text: string;
544
548
  }
545
549
  export interface CreateCaseInteractionResponse {
@@ -562,7 +566,7 @@ export interface CreateCaseResponse {
562
566
  * Creates a new case status
563
567
  */
564
568
  export interface CreateCaseStatus {
565
- Action: DataModelsCaseStatusAction;
569
+ Action?: DataModelsCaseStatusAction;
566
570
  BackendID?: string;
567
571
  Color?: string;
568
572
  Description?: string;
@@ -747,6 +751,8 @@ export interface CasesGetCaseByIDResponse_CaseRepairTask {
747
751
  }
748
752
  export interface CasesGetCaseByIDResponse_CaseTopicData {
749
753
  CaseTopic?: CasesGetCaseByIDResponse_CaseTopicData;
754
+ TopicBackendID?: string;
755
+ TopicDisplayName?: string;
750
756
  /**
751
757
  * Entity type: CaseTopic
752
758
  */
@@ -858,6 +864,7 @@ export interface GetCaseTopic {
858
864
  export interface GetCaseTopicResponse {
859
865
  BackendID?: string;
860
866
  Description?: string;
867
+ DisplayName?: string;
861
868
  Error?: ServiceError;
862
869
  /**
863
870
  * Entity type: CaseTopic
@@ -982,6 +989,7 @@ export interface ListCaseTopicsResponse {
982
989
  export interface CasesListCaseTopicsResponse_CaseTopic {
983
990
  BackendID?: string;
984
991
  Description?: string;
992
+ DisplayName?: string;
985
993
  /**
986
994
  * Entity type: CaseTopic
987
995
  */
@@ -1086,7 +1094,7 @@ export interface PushCase {
1086
1094
  CaseRelatedItems?: CasesPushCase_PushCaseRelatedItems;
1087
1095
  ClosingTime?: string;
1088
1096
  CustomFields?: Record<string, TAnyValue | null>;
1089
- Customer: CasesPushCase_PushCaseCustomer | undefined;
1097
+ Customer?: CasesPushCase_PushCaseCustomer;
1090
1098
  Description: string;
1091
1099
  /**
1092
1100
  * Setting this to true will try to suppress as many event exports as possible that might result from this call.
@@ -1095,7 +1103,7 @@ export interface PushCase {
1095
1103
  Interactions?: CasesPushCase_PushCaseInteraction[];
1096
1104
  LastInteractionTime?: string;
1097
1105
  OriginatingOrganizationUnitBackendID?: string;
1098
- Priority: DataModelsCasePriority;
1106
+ Priority?: DataModelsCasePriority;
1099
1107
  ReportingTime?: string;
1100
1108
  Solution?: string;
1101
1109
  Status: string;
@@ -1195,7 +1203,7 @@ export interface CasesPushCase_PushCaseInteraction {
1195
1203
  */
1196
1204
  Delete?: boolean;
1197
1205
  Text?: string;
1198
- Type: DataModelsInteractionType;
1206
+ Type?: DataModelsInteractionType;
1199
1207
  }
1200
1208
  export interface CasesPushCase_PushCaseRelatedItem {
1201
1209
  /**
@@ -1302,18 +1310,18 @@ export interface UpdateCase {
1302
1310
  * Entity type: OrganizationUnit
1303
1311
  * OU the case is assigned to. When set this will influence visibility.
1304
1312
  */
1305
- AssignedOrganizationUnitID: string | null | undefined;
1306
- BackendID: string | null | undefined;
1313
+ AssignedOrganizationUnitID?: string | null;
1314
+ BackendID?: string | null;
1307
1315
  /**
1308
1316
  * Optional additional custom fields
1309
1317
  */
1310
- CustomFields: DataModelsCustomFieldKeyValue[] | null | undefined;
1318
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
1311
1319
  /**
1312
1320
  * Entity type: User
1313
1321
  */
1314
- CustomerID: string | null | undefined;
1322
+ CustomerID?: string | null;
1315
1323
  Description?: string;
1316
- ExternalOrderIdentifier: string | null | undefined;
1324
+ ExternalOrderIdentifier?: string | null;
1317
1325
  /**
1318
1326
  * Entity type: Case
1319
1327
  */
@@ -1322,7 +1330,7 @@ export interface UpdateCase {
1322
1330
  * Entity type: OrganizationUnit
1323
1331
  * Can only be set once. Can be updated when not set on create.
1324
1332
  */
1325
- OriginatingOrganizationUnitID: string | null | undefined;
1333
+ OriginatingOrganizationUnitID?: string | null;
1326
1334
  Title?: string;
1327
1335
  /**
1328
1336
  * Entity type: CaseTopic
@@ -1333,7 +1341,7 @@ export interface UpdateCase {
1333
1341
  * Update a case interaction
1334
1342
  */
1335
1343
  export interface UpdateCaseInteraction {
1336
- BackendID: string | null | undefined;
1344
+ BackendID?: string | null;
1337
1345
  /**
1338
1346
  * Entity type: Interaction
1339
1347
  */
@@ -1347,7 +1355,7 @@ export interface UpdateCaseState {
1347
1355
  /**
1348
1356
  * Entity type: User
1349
1357
  */
1350
- AssigneeID: string | null | undefined;
1358
+ AssigneeID?: string | null;
1351
1359
  /**
1352
1360
  * Entity type: Case
1353
1361
  */
@@ -1356,7 +1364,7 @@ export interface UpdateCaseState {
1356
1364
  /**
1357
1365
  * The solution for the case
1358
1366
  */
1359
- Solution: string | null | undefined;
1367
+ Solution?: string | null;
1360
1368
  /**
1361
1369
  * Entity type: CaseStatus
1362
1370
  */
@@ -1372,9 +1380,9 @@ export interface UpdateCaseStateResponse {
1372
1380
  */
1373
1381
  export interface UpdateCaseStatus {
1374
1382
  Action?: DataModelsCaseStatusAction;
1375
- BackendID: string | null | undefined;
1376
- Color: string | null | undefined;
1377
- Description: string | null | undefined;
1383
+ BackendID?: string | null;
1384
+ Color?: string | null;
1385
+ Description?: string | null;
1378
1386
  /**
1379
1387
  * Entity type: CaseStatus
1380
1388
  */
@@ -1384,7 +1392,7 @@ export interface UpdateCaseStatus {
1384
1392
  /**
1385
1393
  * Entity type: Script
1386
1394
  */
1387
- ScriptID: string | null | undefined;
1395
+ ScriptID?: string | null;
1388
1396
  }
1389
1397
  /**
1390
1398
  * Update an existing case summary.
@@ -1403,8 +1411,8 @@ export interface UpdateCaseSummary {
1403
1411
  * Update a case topic
1404
1412
  */
1405
1413
  export interface UpdateCaseTopic {
1406
- BackendID: string | null | undefined;
1407
- Description: string | null | undefined;
1414
+ BackendID?: string | null;
1415
+ Description?: string | null;
1408
1416
  /**
1409
1417
  * Entity type: CaseTopic
1410
1418
  */
@@ -1519,34 +1527,34 @@ export interface ListCompaniesResponse {
1519
1527
  * Updates a Company. Fields not provided in the request are ignored.
1520
1528
  */
1521
1529
  export interface UpdateCompany {
1522
- AccountHolderName: string | null | undefined;
1523
- BIC: string | null | undefined;
1524
- BackendID: string | null | undefined;
1525
- ContactEmailAddress: string | null | undefined;
1526
- ContactPhoneNumber: string | null | undefined;
1527
- EntityType: string | null | undefined;
1528
- EstablishedDate: string | null | undefined;
1529
- FiscalID: string | null | undefined;
1530
- IBAN: string | null | undefined;
1530
+ AccountHolderName?: string | null;
1531
+ BIC?: string | null;
1532
+ BackendID?: string | null;
1533
+ ContactEmailAddress?: string | null;
1534
+ ContactPhoneNumber?: string | null;
1535
+ EntityType?: string | null;
1536
+ EstablishedDate?: string | null;
1537
+ FiscalID?: string | null;
1538
+ IBAN?: string | null;
1531
1539
  /**
1532
1540
  * Entity type: Company
1533
1541
  */
1534
1542
  ID: string;
1535
- IndustryCode: string | null | undefined;
1536
- InvoiceAddress: AddressesAddressDataDto | undefined;
1537
- InvoiceEmailAddress: string | null | undefined;
1538
- LogoID: string | null | undefined;
1539
- Name: string | null | undefined;
1540
- RegistrationCity: string | null | undefined;
1541
- RegistrationCountryID: string | null | undefined;
1542
- RegistrationCountrySubdivisionID: string | null | undefined;
1543
- RegistrationNumber: string | null | undefined;
1544
- SocialCapital: number | null | undefined;
1545
- TaxOfficeNumber: string | null | undefined;
1543
+ IndustryCode?: string | null;
1544
+ InvoiceAddress?: AddressesAddressDataDto;
1545
+ InvoiceEmailAddress?: string | null;
1546
+ LogoID?: string | null;
1547
+ Name?: string | null;
1548
+ RegistrationCity?: string | null;
1549
+ RegistrationCountryID?: string | null;
1550
+ RegistrationCountrySubdivisionID?: string | null;
1551
+ RegistrationNumber?: string | null;
1552
+ SocialCapital?: number | null;
1553
+ TaxOfficeNumber?: string | null;
1546
1554
  Type?: DataModelsCompanyType;
1547
- VatNumber: string | null | undefined;
1548
- VisitorsAddress: AddressesAddressDataDto | undefined;
1549
- WasteDisposalNumber: string | null | undefined;
1555
+ VatNumber?: string | null;
1556
+ VisitorsAddress?: AddressesAddressDataDto;
1557
+ WasteDisposalNumber?: string | null;
1550
1558
  }
1551
1559
  export interface ValidateCompany {
1552
1560
  AccountHolderName?: string;
@@ -1681,7 +1689,7 @@ export interface GetAppSettingsForOrganizationUnit {
1681
1689
  * Entity type: OrganizationUnit
1682
1690
  */
1683
1691
  OrganizationUnitID: string;
1684
- SortDirection: SortDirection;
1692
+ SortDirection?: SortDirection;
1685
1693
  SortProperty?: string;
1686
1694
  }
1687
1695
  export interface GetAppSettingsForOrganizationUnitResponse {
@@ -1890,7 +1898,7 @@ export interface ListSettings {
1890
1898
  */
1891
1899
  OrganizationUnitID: string;
1892
1900
  ShowDeprecationsOnly?: boolean;
1893
- SortDirection: SortDirection;
1901
+ SortDirection?: SortDirection;
1894
1902
  SortProperty?: string;
1895
1903
  TypedFilter?: ConfigurationListSettingsTypedFilters;
1896
1904
  }
@@ -1902,7 +1910,7 @@ export interface ListSettingsPerOrganizationUnit {
1902
1910
  FunctionalityCategory?: string;
1903
1911
  Key?: string;
1904
1912
  ShowDeprecationsOnly?: boolean;
1905
- SortDirection: SortDirection;
1913
+ SortDirection?: SortDirection;
1906
1914
  SortProperty?: string;
1907
1915
  TypedFilter?: ConfigurationListSettingsTypedFilters;
1908
1916
  }
@@ -2123,13 +2131,13 @@ export interface CostPriceCalculationsGetCostPriceCalculationsResponse_Item {
2123
2131
  Name: string;
2124
2132
  }
2125
2133
  export interface UpdateCostPriceCalculation {
2126
- BackendID: string | null | undefined;
2134
+ BackendID?: string | null;
2127
2135
  Factor?: number;
2128
2136
  /**
2129
2137
  * Entity type: CostPriceCalculation
2130
2138
  */
2131
2139
  ID: string;
2132
- Name: string | null | undefined;
2140
+ Name?: string | null;
2133
2141
  }
2134
2142
  /**
2135
2143
  * Create a new Culture
@@ -2314,7 +2322,7 @@ export interface CulturesListOrganizationUnitLanguagesResponse_OrganizationUnitL
2314
2322
  */
2315
2323
  export interface CreateCustomField {
2316
2324
  BackendID?: string;
2317
- DataType: DataModelsCustomFieldDataTypes;
2325
+ DataType?: DataModelsCustomFieldDataTypes;
2318
2326
  DisplayName?: string;
2319
2327
  EnumValues?: Record<string, string | null>;
2320
2328
  InputHint?: string;
@@ -2526,23 +2534,23 @@ export interface CustomFieldsListCustomFieldsResponse_CustomFieldDto {
2526
2534
  * Set options for custom fields
2527
2535
  */
2528
2536
  export interface SetCustomFieldOptions {
2529
- CustomFieldDefaultValue: DataModelsCustomFieldValue | undefined;
2537
+ CustomFieldDefaultValue?: DataModelsCustomFieldValue;
2530
2538
  /**
2531
2539
  * Entity type: CustomField
2532
2540
  */
2533
2541
  CustomFieldID: string;
2534
- EditableByUserTypes: UserTypes | undefined;
2542
+ EditableByUserTypes?: UserTypes;
2535
2543
  /**
2536
2544
  * Entity type: Script
2537
2545
  */
2538
- EligibilityScriptID: string | null | undefined;
2539
- IsRequired: boolean | null | undefined;
2540
- MaximumDate: string | null | undefined;
2541
- MaximumLength: number | null | undefined;
2542
- MaximumValue: number | null | undefined;
2543
- MinimumDate: string | null | undefined;
2544
- MinimumLength: number | null | undefined;
2545
- MinimumValue: number | null | undefined;
2546
+ EligibilityScriptID?: string | null;
2547
+ IsRequired?: boolean | null;
2548
+ MaximumDate?: string | null;
2549
+ MaximumLength?: number | null;
2550
+ MaximumValue?: number | null;
2551
+ MinimumDate?: string | null;
2552
+ MinimumLength?: number | null;
2553
+ MinimumValue?: number | null;
2546
2554
  /**
2547
2555
  * Entity type: OrganizationUnitSet
2548
2556
  */
@@ -2550,8 +2558,8 @@ export interface SetCustomFieldOptions {
2550
2558
  /**
2551
2559
  * Entity type: Script
2552
2560
  */
2553
- SecurityScriptID: string | null | undefined;
2554
- VisibleByUserTypes: UserTypes | undefined;
2561
+ SecurityScriptID?: string | null;
2562
+ VisibleByUserTypes?: UserTypes;
2555
2563
  }
2556
2564
  export interface UnsetCustomFieldOptions {
2557
2565
  /**
@@ -2567,17 +2575,17 @@ export interface UnsetCustomFieldOptions {
2567
2575
  * Update an existing custom CustomField.
2568
2576
  */
2569
2577
  export interface UpdateCustomField {
2570
- BackendID: string | null | undefined;
2571
- DisplayName: string | null | undefined;
2572
- EnumValues: Record<string, string | null> | null | undefined;
2578
+ BackendID?: string | null;
2579
+ DisplayName?: string | null;
2580
+ EnumValues?: Record<string, string | null> | null;
2573
2581
  /**
2574
2582
  * Entity type: CustomField
2575
2583
  */
2576
2584
  ID: string;
2577
- InputHint: string | null | undefined;
2578
- Name: string | null | undefined;
2585
+ InputHint?: string | null;
2586
+ Name?: string | null;
2579
2587
  Order?: number;
2580
- TypeKey: string | null | undefined;
2588
+ TypeKey?: string | null;
2581
2589
  }
2582
2590
  /**
2583
2591
  * Add required custom fields to ManualDiscount
@@ -2628,8 +2636,8 @@ export interface CreateDiscount {
2628
2636
  */
2629
2637
  CampaignID?: string;
2630
2638
  CannotApplyToOwnOrder?: boolean;
2631
- CompliancyRule: DataModelsDiscountCompliancyRule;
2632
- ConditionType: DataModelsDiscountConditionTypes;
2639
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
2640
+ ConditionType?: DataModelsDiscountConditionTypes;
2633
2641
  Conditions?: DiscountsCreateDiscount_DiscountConditionDto[];
2634
2642
  CouponHandler?: string;
2635
2643
  CouponsGeneratedByOtherDiscount?: boolean;
@@ -2648,10 +2656,10 @@ export interface CreateDiscount {
2648
2656
  DaysApplicable?: DaysOfWeek;
2649
2657
  DeactivateWhenBudgetReached?: boolean;
2650
2658
  Description: string;
2651
- DiscountOrderType: DataModelsDiscountOrderTypes;
2659
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
2652
2660
  Enable?: boolean;
2653
2661
  EndDate?: string;
2654
- FinancialDispersion: DataModelsFinancialDespersionType;
2662
+ FinancialDispersion?: DataModelsFinancialDespersionType;
2655
2663
  /**
2656
2664
  * Entity type: Blob
2657
2665
  */
@@ -2692,7 +2700,7 @@ export interface CreateDiscount {
2692
2700
  */
2693
2701
  RoleIDs?: string[];
2694
2702
  StartDate?: string;
2695
- Trigger: DataModelsDiscountTriggers;
2703
+ Trigger?: DataModelsDiscountTriggers;
2696
2704
  UserUsageLimit?: number;
2697
2705
  UserUsageReloadStrategy?: string;
2698
2706
  }
@@ -2741,12 +2749,12 @@ export interface CreateDiscountCouponResponse {
2741
2749
  * Create a discount from the given template with the overwrites with the values given in the request.
2742
2750
  */
2743
2751
  export interface CreateDiscountFromTemplate {
2744
- BackendID: string | null | undefined;
2752
+ BackendID?: string | null;
2745
2753
  /**
2746
2754
  * Entity type: DiscountCampaign
2747
2755
  */
2748
- CampaignID: string | null | undefined;
2749
- CompliancyRule: DataModelsDiscountCompliancyRule;
2756
+ CampaignID?: string | null;
2757
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
2750
2758
  CreateAsActive?: boolean;
2751
2759
  /**
2752
2760
  * Entity type: Currency
@@ -2754,12 +2762,12 @@ export interface CreateDiscountFromTemplate {
2754
2762
  CurrencyID: string;
2755
2763
  Description: string;
2756
2764
  EndDate?: string;
2757
- FinancialDispersion: DataModelsFinancialDespersionType;
2765
+ FinancialDispersion?: DataModelsFinancialDespersionType;
2758
2766
  /**
2759
2767
  * Entity type: DiscountTemplate
2760
2768
  */
2761
2769
  ID: string;
2762
- ImageBlobID: string | null | undefined;
2770
+ ImageBlobID?: string | null;
2763
2771
  IsExclusive?: boolean;
2764
2772
  /**
2765
2773
  * Entity type: DiscountLayer
@@ -2768,16 +2776,16 @@ export interface CreateDiscountFromTemplate {
2768
2776
  /**
2769
2777
  * Entity type: LedgerClass
2770
2778
  */
2771
- LedgerClassID: string | null | undefined;
2779
+ LedgerClassID?: string | null;
2772
2780
  LoyaltyPointWithdrawal?: number;
2773
2781
  /**
2774
2782
  * Entity type: LoyaltyProgram
2775
2783
  */
2776
2784
  LoyaltyProgramID?: string;
2777
2785
  MarketingDescription?: string;
2778
- MaximumUsage: number | null | undefined;
2779
- MaximumUsagePerOrder: number | null | undefined;
2780
- MaximumUsagePerUser: number | null | undefined;
2786
+ MaximumUsage?: number | null;
2787
+ MaximumUsagePerOrder?: number | null;
2788
+ MaximumUsagePerUser?: number | null;
2781
2789
  NeedsReason?: boolean;
2782
2790
  /**
2783
2791
  * Entity type: OrganizationUnitSet
@@ -2789,8 +2797,8 @@ export interface CreateDiscountFromTemplate {
2789
2797
  */
2790
2798
  RestitutionOrganizationUnitID?: string;
2791
2799
  StartDate?: string;
2792
- UserUsageLimit: number | null | undefined;
2793
- UserUsageReloadStrategy: string | null | undefined;
2800
+ UserUsageLimit?: number | null;
2801
+ UserUsageReloadStrategy?: string | null;
2794
2802
  }
2795
2803
  /**
2796
2804
  * Create a new DiscountLayer
@@ -2823,18 +2831,18 @@ export interface CreateDiscountResponse {
2823
2831
  export interface CreateDiscountTemplate {
2824
2832
  ActionData: DiscountsIDiscountActionData;
2825
2833
  ActionType: 'V2:DISCOUNTAMOUNT' | 'V2:CUSTOMERAGE' | 'V2:TIEREDCUSTOMERAGE' | 'V2:GENERATEDISCOUNTCOUPON' | 'V2:GETAPRODUCT' | 'V2:LOYALTYTIEREDDISCOUNTAMOUNT' | 'V2:LOYALTYTIEREDDISCOUNTPERCENTAGE' | 'V2:ORDERTIEREDDISCOUNTAMOUNT' | 'V2:ORDERTIEREDDISCOUNTPERCENTAGE' | 'V2:ORIGINATINGORDERDISCOUNT' | 'V2:OTHERCOSTS' | 'V2:DISCOUNTPERCENTAGE' | 'V2:TIEREDPICKAPRODUCT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTSETDISCOUNTAMOUNT' | 'V2:PRODUCTSETFIXEDPRICE' | 'V2:PRODUCTSETFREEPRODUCT' | 'V2:PRODUCTSETDISCOUNTPERCENTAGE' | 'V2:CUSTOMFIELDVALUEDETERMINEDDISCOUNT' | 'DEFAULT' | 'RITUALSEMPLOYEE' | 'V2:RITUALSEMPLOYEE';
2826
- AppliesTo: DataModelsDiscountAppliesTo;
2834
+ AppliesTo?: DataModelsDiscountAppliesTo;
2827
2835
  BackendID?: string;
2828
2836
  /**
2829
2837
  * Entity type: DiscountCampaign
2830
2838
  */
2831
2839
  CampaignID?: string;
2832
- ConditionType: DataModelsDiscountConditionTypes;
2840
+ ConditionType?: DataModelsDiscountConditionTypes;
2833
2841
  Conditions?: DiscountsCreateDiscountTemplate_Condition[];
2834
2842
  CouponHandler?: string;
2835
2843
  CouponsGeneratedByOtherDiscount?: boolean;
2836
2844
  Description: string;
2837
- DiscountOrderType: DataModelsDiscountOrderTypes;
2845
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
2838
2846
  ImageBlobID?: string;
2839
2847
  IsActive?: boolean;
2840
2848
  IsExclusive?: boolean;
@@ -2850,7 +2858,7 @@ export interface CreateDiscountTemplate {
2850
2858
  * Entity type: OrganizationUnit
2851
2859
  */
2852
2860
  RestitutionOrganizationUnitID?: string;
2853
- Trigger: DataModelsDiscountTriggers;
2861
+ Trigger?: DataModelsDiscountTriggers;
2854
2862
  UserUsageLimit?: number;
2855
2863
  UserUsageReloadStrategy?: string;
2856
2864
  }
@@ -3744,10 +3752,10 @@ export interface UpdateDiscount {
3744
3752
  */
3745
3753
  CampaignID?: string;
3746
3754
  CannotApplyToOwnOrder?: boolean;
3747
- CompliancyRule: DataModelsDiscountCompliancyRule;
3748
- ConditionType: DataModelsDiscountConditionTypes;
3755
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
3756
+ ConditionType?: DataModelsDiscountConditionTypes;
3749
3757
  Conditions?: DiscountsUpdateDiscount_DiscountConditionDto[];
3750
- CouponHandler: string | null | undefined;
3758
+ CouponHandler?: string | null;
3751
3759
  CouponsGeneratedByOtherDiscount?: boolean;
3752
3760
  /**
3753
3761
  * Entity type: Currency
@@ -3756,7 +3764,7 @@ export interface UpdateDiscount {
3756
3764
  /**
3757
3765
  * Optional additional custom fields
3758
3766
  */
3759
- CustomFields: DataModelsCustomFieldKeyValue[] | null | undefined;
3767
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
3760
3768
  /**
3761
3769
  * Entity type: CustomField
3762
3770
  */
@@ -3764,10 +3772,10 @@ export interface UpdateDiscount {
3764
3772
  DaysApplicable?: DaysOfWeek;
3765
3773
  DeactivateWhenBudgetReached?: boolean;
3766
3774
  Description: string;
3767
- DiscountOrderType: DataModelsDiscountOrderTypes;
3775
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
3768
3776
  Enable?: boolean;
3769
3777
  EndDate?: string;
3770
- FinancialDispersion: DataModelsFinancialDespersionType;
3778
+ FinancialDispersion?: DataModelsFinancialDespersionType;
3771
3779
  /**
3772
3780
  * Entity type: Discount
3773
3781
  */
@@ -3799,14 +3807,14 @@ export interface UpdateDiscount {
3799
3807
  /**
3800
3808
  * For a manual discount, these will indicate custom fields that need to be filled in order to apply the discount.
3801
3809
  */
3802
- RequiredCustomFields: string[] | null | undefined;
3810
+ RequiredCustomFields?: string[] | null;
3803
3811
  /**
3804
3812
  * Entity type: OrganizationUnit
3805
3813
  */
3806
3814
  RestitutionOrganizationUnitID?: string;
3807
3815
  RoleIDs?: string[];
3808
3816
  StartDate?: string;
3809
- Trigger: DataModelsDiscountTriggers;
3817
+ Trigger?: DataModelsDiscountTriggers;
3810
3818
  UserUsageLimit?: number;
3811
3819
  UserUsageReloadStrategy?: string;
3812
3820
  }
@@ -3822,21 +3830,21 @@ export interface DiscountsUpdateDiscount_DiscountConditionDto {
3822
3830
  * Update an existing DiscountCampaign
3823
3831
  */
3824
3832
  export interface UpdateDiscountCampaign {
3825
- BackendID: string | null | undefined;
3826
- BackendSystemID: string | null | undefined;
3833
+ BackendID?: string | null;
3834
+ BackendSystemID?: string | null;
3827
3835
  /**
3828
3836
  * Entity type: Currency
3829
3837
  */
3830
- CurrencyID: string | null | undefined;
3831
- Description: string | null | undefined;
3832
- EndDate: string | null | undefined;
3838
+ CurrencyID?: string | null;
3839
+ Description?: string | null;
3840
+ EndDate?: string | null;
3833
3841
  /**
3834
3842
  * Entity type: DiscountCampaign
3835
3843
  */
3836
3844
  ID: string;
3837
3845
  KeepDiscountsWithinCampaignTimespan?: boolean;
3838
- Name: string | null | undefined;
3839
- StartDate: string | null | undefined;
3846
+ Name?: string | null;
3847
+ StartDate?: string | null;
3840
3848
  }
3841
3849
  /**
3842
3850
  * Update the budget on the discount campaign.
@@ -3848,7 +3856,7 @@ export interface UpdateDiscountCampaignBudget {
3848
3856
  /**
3849
3857
  * Entity type: Currency
3850
3858
  */
3851
- CurrencyID: string | null | undefined;
3859
+ CurrencyID?: string | null;
3852
3860
  DeactivateDiscountsWhenBudgetIsReached?: boolean;
3853
3861
  /**
3854
3862
  * Entity type: DiscountCampaign
@@ -3892,18 +3900,18 @@ export interface UpdateDiscountLayer {
3892
3900
  export interface UpdateDiscountTemplate {
3893
3901
  ActionData: DiscountsIDiscountActionData;
3894
3902
  ActionType: 'V2:DISCOUNTAMOUNT' | 'V2:CUSTOMERAGE' | 'V2:TIEREDCUSTOMERAGE' | 'V2:GENERATEDISCOUNTCOUPON' | 'V2:GETAPRODUCT' | 'V2:LOYALTYTIEREDDISCOUNTAMOUNT' | 'V2:LOYALTYTIEREDDISCOUNTPERCENTAGE' | 'V2:ORDERTIEREDDISCOUNTAMOUNT' | 'V2:ORDERTIEREDDISCOUNTPERCENTAGE' | 'V2:ORIGINATINGORDERDISCOUNT' | 'V2:OTHERCOSTS' | 'V2:DISCOUNTPERCENTAGE' | 'V2:TIEREDPICKAPRODUCT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTSETDISCOUNTAMOUNT' | 'V2:PRODUCTSETFIXEDPRICE' | 'V2:PRODUCTSETFREEPRODUCT' | 'V2:PRODUCTSETDISCOUNTPERCENTAGE' | 'V2:CUSTOMFIELDVALUEDETERMINEDDISCOUNT' | 'DEFAULT' | 'RITUALSEMPLOYEE' | 'V2:RITUALSEMPLOYEE';
3895
- AppliesTo: DataModelsDiscountAppliesTo;
3903
+ AppliesTo?: DataModelsDiscountAppliesTo;
3896
3904
  BackendID?: string;
3897
3905
  /**
3898
3906
  * Entity type: DiscountCampaign
3899
3907
  */
3900
3908
  CampaignID?: string;
3901
- ConditionType: DataModelsDiscountConditionTypes;
3909
+ ConditionType?: DataModelsDiscountConditionTypes;
3902
3910
  Conditions?: DiscountsUpdateDiscountTemplate_Condition[];
3903
3911
  CouponHandler?: string;
3904
3912
  CouponsGeneratedByOtherDiscount?: boolean;
3905
3913
  Description: string;
3906
- DiscountOrderType: DataModelsDiscountOrderTypes;
3914
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
3907
3915
  /**
3908
3916
  * Entity type: DiscountTemplate
3909
3917
  */
@@ -3923,7 +3931,7 @@ export interface UpdateDiscountTemplate {
3923
3931
  * Entity type: OrganizationUnit
3924
3932
  */
3925
3933
  RestitutionOrganizationUnitID?: string;
3926
- Trigger: DataModelsDiscountTriggers;
3934
+ Trigger?: DataModelsDiscountTriggers;
3927
3935
  UserUsageLimit?: number;
3928
3936
  UserUsageReloadStrategy?: string;
3929
3937
  }
@@ -3980,8 +3988,8 @@ export interface ValidateDiscount {
3980
3988
  ActionType?: 'V2:DISCOUNTAMOUNT' | 'V2:CUSTOMERAGE' | 'V2:TIEREDCUSTOMERAGE' | 'V2:GENERATEDISCOUNTCOUPON' | 'V2:GETAPRODUCT' | 'V2:LOYALTYTIEREDDISCOUNTAMOUNT' | 'V2:LOYALTYTIEREDDISCOUNTPERCENTAGE' | 'V2:ORDERTIEREDDISCOUNTAMOUNT' | 'V2:ORDERTIEREDDISCOUNTPERCENTAGE' | 'V2:ORIGINATINGORDERDISCOUNT' | 'V2:OTHERCOSTS' | 'V2:DISCOUNTPERCENTAGE' | 'V2:TIEREDPICKAPRODUCT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTSETDISCOUNTAMOUNT' | 'V2:PRODUCTSETFIXEDPRICE' | 'V2:PRODUCTSETFREEPRODUCT' | 'V2:PRODUCTSETDISCOUNTPERCENTAGE' | 'V2:CUSTOMFIELDVALUEDETERMINEDDISCOUNT' | 'DEFAULT' | 'RITUALSEMPLOYEE' | 'V2:RITUALSEMPLOYEE';
3981
3989
  AppliesTo?: DataModelsDiscountAppliesTo;
3982
3990
  BackendID?: string;
3983
- CompliancyRule: DataModelsDiscountCompliancyRule;
3984
- ConditionType: DataModelsDiscountConditionTypes;
3991
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
3992
+ ConditionType?: DataModelsDiscountConditionTypes;
3985
3993
  Conditions?: DiscountsValidateDiscount_DiscountConditionDto[];
3986
3994
  CouponHandler?: string;
3987
3995
  CouponsGeneratedByOtherDiscount?: boolean;
@@ -3999,9 +4007,9 @@ export interface ValidateDiscount {
3999
4007
  CustomUserUsageLimitFieldID?: string;
4000
4008
  DaysApplicable?: DaysOfWeek;
4001
4009
  Description?: string;
4002
- DiscountOrderType: DataModelsDiscountOrderTypes;
4010
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
4003
4011
  EndDate?: string;
4004
- FinancialDispersion: DataModelsFinancialDespersionType;
4012
+ FinancialDispersion?: DataModelsFinancialDespersionType;
4005
4013
  /**
4006
4014
  * Entity type: Discount
4007
4015
  */
@@ -4038,7 +4046,7 @@ export interface ValidateDiscount {
4038
4046
  */
4039
4047
  RestitutionOrganizationUnitID?: string;
4040
4048
  StartDate: string;
4041
- Trigger: DataModelsDiscountTriggers;
4049
+ Trigger?: DataModelsDiscountTriggers;
4042
4050
  }
4043
4051
  export interface DiscountsValidateDiscount_DiscountConditionDto {
4044
4052
  Data?: IConditionData;
@@ -4064,14 +4072,14 @@ export interface DiscountsValidateDiscountResponse_CustomFieldMessage {
4064
4072
  export interface ValidateDiscountTemplate {
4065
4073
  ActionData: DiscountsIDiscountActionData;
4066
4074
  ActionType: 'V2:DISCOUNTAMOUNT' | 'V2:CUSTOMERAGE' | 'V2:TIEREDCUSTOMERAGE' | 'V2:GENERATEDISCOUNTCOUPON' | 'V2:GETAPRODUCT' | 'V2:LOYALTYTIEREDDISCOUNTAMOUNT' | 'V2:LOYALTYTIEREDDISCOUNTPERCENTAGE' | 'V2:ORDERTIEREDDISCOUNTAMOUNT' | 'V2:ORDERTIEREDDISCOUNTPERCENTAGE' | 'V2:ORIGINATINGORDERDISCOUNT' | 'V2:OTHERCOSTS' | 'V2:DISCOUNTPERCENTAGE' | 'V2:TIEREDPICKAPRODUCT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTAMOUNTTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTAMOUNT' | 'V2:PRODUCTQUANTITYTIEREDDISCOUNTPERCENTAGE' | 'V2:PRODUCTSETDISCOUNTAMOUNT' | 'V2:PRODUCTSETFIXEDPRICE' | 'V2:PRODUCTSETFREEPRODUCT' | 'V2:PRODUCTSETDISCOUNTPERCENTAGE' | 'V2:CUSTOMFIELDVALUEDETERMINEDDISCOUNT' | 'DEFAULT' | 'RITUALSEMPLOYEE' | 'V2:RITUALSEMPLOYEE';
4067
- AppliesTo: DataModelsDiscountAppliesTo;
4075
+ AppliesTo?: DataModelsDiscountAppliesTo;
4068
4076
  BackendID?: string;
4069
- ConditionType: DataModelsDiscountConditionTypes;
4077
+ ConditionType?: DataModelsDiscountConditionTypes;
4070
4078
  Conditions?: DiscountsValidateDiscountTemplate_Condition[];
4071
4079
  CouponHandler?: string;
4072
4080
  CouponsGeneratedByOtherDiscount?: boolean;
4073
4081
  Description: string;
4074
- DiscountOrderType: DataModelsDiscountOrderTypes;
4082
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
4075
4083
  IsExclusive?: boolean;
4076
4084
  /**
4077
4085
  * Entity type: LedgerClass
@@ -4085,7 +4093,7 @@ export interface ValidateDiscountTemplate {
4085
4093
  * Entity type: OrganizationUnit
4086
4094
  */
4087
4095
  RestitutionOrganizationUnitID?: string;
4088
- Trigger: DataModelsDiscountTriggers;
4096
+ Trigger?: DataModelsDiscountTriggers;
4089
4097
  UserUsageLimit?: number;
4090
4098
  UserUsageReloadStrategy?: string;
4091
4099
  }
@@ -4122,14 +4130,14 @@ export interface VerifyDiscount {
4122
4130
  * Create a new entity field validator
4123
4131
  */
4124
4132
  export interface CreateEntityFieldValidator {
4125
- ApplyFor: DataModelsEntityFieldValidatorUserTypes;
4126
- Entity: DataModelsEntityFieldValidatorEntityTypes;
4133
+ ApplyFor?: DataModelsEntityFieldValidatorUserTypes;
4134
+ Entity?: DataModelsEntityFieldValidatorEntityTypes;
4127
4135
  EntityFieldName: string;
4128
4136
  /**
4129
4137
  * This must be of object that inherits the class EntityFieldValidatorBase. For example StringEntityFieldValidator or DefaultEntityFieldValidator
4130
4138
  */
4131
4139
  ValidatorData: EntityFieldValidatorsValidatorsEntityFieldValidatorBase;
4132
- ValidatorType: DataModelsEntityFieldValidatorType;
4140
+ ValidatorType?: DataModelsEntityFieldValidatorType;
4133
4141
  }
4134
4142
  export interface CreateEntityFieldValidatorResponse {
4135
4143
  Error?: ServiceError;
@@ -4210,7 +4218,7 @@ export interface UpdateEntityFieldValidator {
4210
4218
  * Entity type: EntityFieldValidator
4211
4219
  */
4212
4220
  ID: string;
4213
- ValidatorData: EntityFieldValidatorsValidatorsEntityFieldValidatorBase | null | undefined;
4221
+ ValidatorData?: EntityFieldValidatorsValidatorsEntityFieldValidatorBase | null;
4214
4222
  }
4215
4223
  /**
4216
4224
  * -
@@ -4293,7 +4301,7 @@ export interface FinanceCashExpenseTypeOrganizationUnitSet {
4293
4301
  * An example of this might be tips left by a customer.
4294
4302
  */
4295
4303
  export interface CreateCashExpenseType {
4296
- AmountType: DataModelsCashExpenseAmountTypes;
4304
+ AmountType?: DataModelsCashExpenseAmountTypes;
4297
4305
  BackendID?: string;
4298
4306
  Description?: string;
4299
4307
  LedgerClassID?: string;
@@ -4436,7 +4444,7 @@ export interface FinanceListExchangeRatesResponse_ExchangeRateDto {
4436
4444
  * Updates a cash expense type. All properties except for its Name can be updated.
4437
4445
  */
4438
4446
  export interface UpdateCashExpenseType {
4439
- AmountType: DataModelsCashExpenseAmountTypes;
4447
+ AmountType?: DataModelsCashExpenseAmountTypes;
4440
4448
  BackendID?: string;
4441
4449
  Description?: string;
4442
4450
  /**
@@ -4468,7 +4476,7 @@ export interface CreateGiftCardConfiguration {
4468
4476
  Data?: TAnyValue;
4469
4477
  Handler: string;
4470
4478
  Name: string;
4471
- UsageType: GiftCardsConfigurationGiftCardConfigurationUsageTypes;
4479
+ UsageType?: GiftCardsConfigurationGiftCardConfigurationUsageTypes;
4472
4480
  }
4473
4481
  export interface CreateGiftCardConfigurationResponse {
4474
4482
  Error?: ServiceError;
@@ -4633,8 +4641,8 @@ export interface UpdateGiftCardConfiguration {
4633
4641
  /**
4634
4642
  * Some gift card handlers are able to handle multiple types of cards. With this property you can set the card the handler should work with.
4635
4643
  */
4636
- CardType: string | null | undefined;
4637
- Data: TAnyValue | null | undefined;
4644
+ CardType?: string | null;
4645
+ Data?: TAnyValue | null;
4638
4646
  Handler?: string;
4639
4647
  /**
4640
4648
  * Entity type: GiftCardConfiguration
@@ -4650,11 +4658,11 @@ export interface UpdateProductGiftCard {
4650
4658
  /**
4651
4659
  * Communication options for digital giftcards
4652
4660
  */
4653
- CommunicationOptions: GiftCardsConfigurationProductGiftCardCommunicationOptions | undefined;
4661
+ CommunicationOptions?: GiftCardsConfigurationProductGiftCardCommunicationOptions;
4654
4662
  /**
4655
4663
  * Entity type: GiftCardConfiguration
4656
4664
  */
4657
- GiftCardConfigurationID: string | null | undefined;
4665
+ GiftCardConfigurationID?: string | null;
4658
4666
  /**
4659
4667
  * Entity type: ProductGiftCard
4660
4668
  */
@@ -4675,7 +4683,7 @@ export interface CreateClientApplication {
4675
4683
  BackendID: string;
4676
4684
  Name: string;
4677
4685
  NotificationConfiguration?: string;
4678
- Type: DataModelsClientApplicationType;
4686
+ Type?: DataModelsClientApplicationType;
4679
4687
  }
4680
4688
  export interface CreateClientApplicationResponse {
4681
4689
  Error?: ServiceError;
@@ -4928,17 +4936,17 @@ export interface UpdateClientApplication {
4928
4936
  */
4929
4937
  ID: string;
4930
4938
  Name?: string;
4931
- NotificationConfiguration: string | null | undefined;
4939
+ NotificationConfiguration?: string | null;
4932
4940
  Type?: DataModelsClientApplicationType;
4933
4941
  }
4934
4942
  /**
4935
4943
  * Updates a device
4936
4944
  */
4937
4945
  export interface UpdateDevice {
4938
- Address: string | null | undefined;
4939
- AssemblyName: string | null | undefined;
4940
- BackendID: string | null | undefined;
4941
- Data: DevicesIDeviceTypeData | null | undefined;
4946
+ Address?: string | null;
4947
+ AssemblyName?: string | null;
4948
+ BackendID?: string | null;
4949
+ Data?: DevicesIDeviceTypeData | null;
4942
4950
  /**
4943
4951
  * Entity type: Device
4944
4952
  */
@@ -4947,15 +4955,15 @@ export interface UpdateDevice {
4947
4955
  /**
4948
4956
  * Entity type: OrganizationUnit
4949
4957
  */
4950
- OrganizationUnitID: string | null | undefined;
4958
+ OrganizationUnitID?: string | null;
4951
4959
  /**
4952
4960
  * Entity type: PrinterType
4953
4961
  */
4954
- PrinterTypeID: string | null | undefined;
4962
+ PrinterTypeID?: string | null;
4955
4963
  /**
4956
4964
  * Entity type: Station
4957
4965
  */
4958
- StationID: string | null | undefined;
4966
+ StationID?: string | null;
4959
4967
  TypeID?: string;
4960
4968
  }
4961
4969
  /**
@@ -4983,11 +4991,11 @@ export interface UpdateOrganizationUnitPublicIpAddress {
4983
4991
  * Updates a station.
4984
4992
  */
4985
4993
  export interface UpdateStation {
4986
- BackendID: string | null | undefined;
4994
+ BackendID?: string | null;
4987
4995
  /**
4988
4996
  * Optional additional custom fields
4989
4997
  */
4990
- CustomFields: DataModelsCustomFieldKeyValue[] | null | undefined;
4998
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
4991
4999
  /**
4992
5000
  * Entity type: Station
4993
5001
  */
@@ -5092,7 +5100,7 @@ export interface ListInquiriesResponse {
5092
5100
  * Update an inquiry
5093
5101
  */
5094
5102
  export interface UpdateInquiry {
5095
- Description: string | null | undefined;
5103
+ Description?: string | null;
5096
5104
  /**
5097
5105
  * Entity type: Inquiry
5098
5106
  */
@@ -5100,13 +5108,13 @@ export interface UpdateInquiry {
5100
5108
  Name?: string;
5101
5109
  OneTimeUseOnly?: boolean;
5102
5110
  PromptUser?: boolean;
5103
- ScriptID: string | null | undefined;
5111
+ ScriptID?: string | null;
5104
5112
  }
5105
5113
  /**
5106
5114
  * Updates an inquiry item
5107
5115
  */
5108
5116
  export interface UpdateInquiryItem {
5109
- Description: string | null | undefined;
5117
+ Description?: string | null;
5110
5118
  /**
5111
5119
  * Entity type: InquiryItem
5112
5120
  */
@@ -5213,7 +5221,7 @@ export interface CreateLoyaltyProgram {
5213
5221
  LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
5214
5222
  LoyaltyProgramGroupID?: string;
5215
5223
  Name: string;
5216
- Options: DataModelsLoyaltyProgramOptions;
5224
+ Options?: DataModelsLoyaltyProgramOptions;
5217
5225
  PointExpirationPolicyData?: Record<string, TAnyValue>;
5218
5226
  PointExpirationPolicyType?: string;
5219
5227
  PointPendingPolicyData?: Record<string, TAnyValue>;
@@ -5251,7 +5259,7 @@ export interface CreateLoyaltyProgram {
5251
5259
  */
5252
5260
  ResubscribeHandling?: DataModelsResubscribeHandlingType;
5253
5261
  StartDate?: string;
5254
- Status: DataModelsLoyaltyProgramStatus;
5262
+ Status?: DataModelsLoyaltyProgramStatus;
5255
5263
  UserBudget?: number;
5256
5264
  /**
5257
5265
  * Attention!
@@ -5308,7 +5316,7 @@ export interface CreateLoyaltyProgramGroup {
5308
5316
  EndDate?: string;
5309
5317
  Name: string;
5310
5318
  StartDate?: string;
5311
- Status: DataModelsLoyaltyProgramStatus;
5319
+ Status?: DataModelsLoyaltyProgramStatus;
5312
5320
  TaxExemptionCode?: string;
5313
5321
  }
5314
5322
  export interface CreateLoyaltyProgramGroupResponse {
@@ -5339,9 +5347,9 @@ export interface CreateLoyaltyProgramPaymentType {
5339
5347
  ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
5340
5348
  Required?: boolean;
5341
5349
  Sequence?: number;
5342
- TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
5350
+ TaxHandling?: DataModelsLoyaltyPaymentTaxHandlingType;
5343
5351
  UserBudget?: number;
5344
- UserBudgetDeduction: DataModelsUserBudgetDeduction;
5352
+ UserBudgetDeduction?: DataModelsUserBudgetDeduction;
5345
5353
  UserMaximumUsage?: number;
5346
5354
  }
5347
5355
  export interface CreateLoyaltyProgramPaymentTypeResponse {
@@ -6144,7 +6152,7 @@ export interface LoyaltyPushLoyaltyProgram {
6144
6152
  /**
6145
6153
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6146
6154
  */
6147
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
6155
+ AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6148
6156
  /**
6149
6157
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6150
6158
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6157,42 +6165,42 @@ export interface LoyaltyPushLoyaltyProgram {
6157
6165
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6158
6166
  */
6159
6167
  AutoSubscribeCustomer?: boolean;
6160
- Budget?: number;
6168
+ Budget?: number | null;
6161
6169
  /**
6162
6170
  * Entity type: Currency
6163
6171
  */
6164
- BudgetCurrencyID?: string;
6172
+ BudgetCurrencyID?: string | null;
6165
6173
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6166
- Data?: TAnyValue;
6174
+ Data?: TAnyValue | null;
6167
6175
  DeactivateWhenBudgetIsReached?: boolean;
6168
- Description?: string;
6169
- EndDate?: string;
6170
- Handler: string;
6176
+ Description?: string | null;
6177
+ EndDate?: string | null;
6178
+ Handler?: string;
6171
6179
  /**
6172
6180
  * Entity type: LoyaltyProgram
6173
6181
  */
6174
6182
  ID: string;
6175
- LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
6183
+ LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6176
6184
  /**
6177
6185
  * Entity type: LoyaltyProgramGroup
6178
6186
  */
6179
- LoyaltyProgramGroupID?: string;
6180
- Name: string;
6181
- Options: DataModelsLoyaltyProgramOptions;
6187
+ LoyaltyProgramGroupID?: string | null;
6188
+ Name?: string;
6189
+ Options?: DataModelsLoyaltyProgramOptions;
6182
6190
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6183
6191
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6184
6192
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6185
- PointExpirationPolicyData?: Record<string, TAnyValue>;
6186
- PointExpirationPolicyType?: string;
6187
- PointPendingPolicyData?: Record<string, TAnyValue>;
6188
- PointPendingPolicyType?: string;
6193
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6194
+ PointExpirationPolicyType?: string | null;
6195
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6196
+ PointPendingPolicyType?: string | null;
6189
6197
  /**
6190
6198
  * Entity type: PriceList
6191
6199
  */
6192
6200
  PriceLists?: string[];
6193
6201
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6194
6202
  ReactivateProgramWhenPossible?: boolean;
6195
- ReloadPolicy?: string;
6203
+ ReloadPolicy?: string | null;
6196
6204
  /**
6197
6205
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6198
6206
  *
@@ -6205,7 +6213,7 @@ export interface LoyaltyPushLoyaltyProgram {
6205
6213
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6206
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.
6207
6215
  */
6208
- RequireManualUserIdentifier?: boolean;
6216
+ RequireManualUserIdentifier?: boolean | null;
6209
6217
  RequiredCustomFields?: string[];
6210
6218
  /**
6211
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.
@@ -6224,29 +6232,29 @@ export interface LoyaltyPushLoyaltyProgram {
6224
6232
  /**
6225
6233
  * Handling when a user is unsubscribed and re-subscribes.
6226
6234
  */
6227
- ResubscribeHandling: DataModelsResubscribeHandlingType;
6228
- StartDate?: string;
6229
- Status: DataModelsLoyaltyProgramStatus;
6230
- UserBudget?: number;
6235
+ ResubscribeHandling?: DataModelsResubscribeHandlingType;
6236
+ StartDate?: string | null;
6237
+ Status?: DataModelsLoyaltyProgramStatus;
6238
+ UserBudget?: number | null;
6231
6239
  /**
6232
6240
  * Attention!
6233
6241
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6234
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.
6235
6243
  */
6236
- UserIdentifierPrefix?: string;
6244
+ UserIdentifierPrefix?: string | null;
6237
6245
  /**
6238
6246
  * Attention!
6239
6247
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6240
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.
6241
6249
  */
6242
- UserIdentifierStartNumber?: string;
6250
+ UserIdentifierStartNumber?: string | null;
6243
6251
  /**
6244
6252
  * Attention!
6245
6253
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6246
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.
6247
6255
  */
6248
- UserIdentifierSuffix?: string;
6249
- UserMaximumUsage?: number;
6256
+ UserIdentifierSuffix?: string | null;
6257
+ UserMaximumUsage?: number | null;
6250
6258
  }
6251
6259
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition {
6252
6260
  Data: Record<string, TAnyValue>;
@@ -6278,9 +6286,9 @@ export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType {
6278
6286
  ProductLimitation?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType_ProductLimitationData;
6279
6287
  Required?: boolean;
6280
6288
  Sequence?: number;
6281
- TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
6289
+ TaxHandling?: DataModelsLoyaltyPaymentTaxHandlingType;
6282
6290
  UserBudget?: number;
6283
- UserBudgetDeduction: DataModelsUserBudgetDeduction;
6291
+ UserBudgetDeduction?: DataModelsUserBudgetDeduction;
6284
6292
  UserMaximumUsage?: number;
6285
6293
  }
6286
6294
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType_ProductLimitationData {
@@ -6375,7 +6383,7 @@ export interface PushLoyaltyProgramGroup_Async {
6375
6383
  ID: string;
6376
6384
  Name: string;
6377
6385
  StartDate?: string;
6378
- Status: DataModelsLoyaltyProgramStatus;
6386
+ Status?: DataModelsLoyaltyProgramStatus;
6379
6387
  TaxExemptionCode?: string;
6380
6388
  }
6381
6389
  export interface PushLoyaltyProgramGroup_AsyncResponse {
@@ -6402,7 +6410,7 @@ export interface PushLoyaltyProgram_Async {
6402
6410
  /**
6403
6411
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6404
6412
  */
6405
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType;
6413
+ AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6406
6414
  /**
6407
6415
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6408
6416
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6415,42 +6423,42 @@ export interface PushLoyaltyProgram_Async {
6415
6423
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6416
6424
  */
6417
6425
  AutoSubscribeCustomer?: boolean;
6418
- Budget?: number;
6426
+ Budget?: number | null;
6419
6427
  /**
6420
6428
  * Entity type: Currency
6421
6429
  */
6422
- BudgetCurrencyID?: string;
6430
+ BudgetCurrencyID?: string | null;
6423
6431
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6424
- Data?: TAnyValue;
6432
+ Data?: TAnyValue | null;
6425
6433
  DeactivateWhenBudgetIsReached?: boolean;
6426
- Description?: string;
6427
- EndDate?: string;
6428
- Handler: string;
6434
+ Description?: string | null;
6435
+ EndDate?: string | null;
6436
+ Handler?: string;
6429
6437
  /**
6430
6438
  * Entity type: LoyaltyProgram
6431
6439
  */
6432
6440
  ID: string;
6433
- LoyaltyPointUsageOptions: DataModelsLoyaltyPointUsageOptions;
6441
+ LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6434
6442
  /**
6435
6443
  * Entity type: LoyaltyProgramGroup
6436
6444
  */
6437
- LoyaltyProgramGroupID?: string;
6438
- Name: string;
6439
- Options: DataModelsLoyaltyProgramOptions;
6445
+ LoyaltyProgramGroupID?: string | null;
6446
+ Name?: string;
6447
+ Options?: DataModelsLoyaltyProgramOptions;
6440
6448
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6441
6449
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6442
6450
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6443
- PointExpirationPolicyData?: Record<string, TAnyValue>;
6444
- PointExpirationPolicyType?: string;
6445
- PointPendingPolicyData?: Record<string, TAnyValue>;
6446
- PointPendingPolicyType?: string;
6451
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6452
+ PointExpirationPolicyType?: string | null;
6453
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6454
+ PointPendingPolicyType?: string | null;
6447
6455
  /**
6448
6456
  * Entity type: PriceList
6449
6457
  */
6450
6458
  PriceLists?: string[];
6451
6459
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6452
6460
  ReactivateProgramWhenPossible?: boolean;
6453
- ReloadPolicy?: string;
6461
+ ReloadPolicy?: string | null;
6454
6462
  /**
6455
6463
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6456
6464
  *
@@ -6463,7 +6471,7 @@ export interface PushLoyaltyProgram_Async {
6463
6471
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6464
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.
6465
6473
  */
6466
- RequireManualUserIdentifier?: boolean;
6474
+ RequireManualUserIdentifier?: boolean | null;
6467
6475
  RequiredCustomFields?: string[];
6468
6476
  /**
6469
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.
@@ -6482,29 +6490,29 @@ export interface PushLoyaltyProgram_Async {
6482
6490
  /**
6483
6491
  * Handling when a user is unsubscribed and re-subscribes.
6484
6492
  */
6485
- ResubscribeHandling: DataModelsResubscribeHandlingType;
6486
- StartDate?: string;
6487
- Status: DataModelsLoyaltyProgramStatus;
6488
- UserBudget?: number;
6493
+ ResubscribeHandling?: DataModelsResubscribeHandlingType;
6494
+ StartDate?: string | null;
6495
+ Status?: DataModelsLoyaltyProgramStatus;
6496
+ UserBudget?: number | null;
6489
6497
  /**
6490
6498
  * Attention!
6491
6499
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6492
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.
6493
6501
  */
6494
- UserIdentifierPrefix?: string;
6502
+ UserIdentifierPrefix?: string | null;
6495
6503
  /**
6496
6504
  * Attention!
6497
6505
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6498
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.
6499
6507
  */
6500
- UserIdentifierStartNumber?: string;
6508
+ UserIdentifierStartNumber?: string | null;
6501
6509
  /**
6502
6510
  * Attention!
6503
6511
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6504
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.
6505
6513
  */
6506
- UserIdentifierSuffix?: string;
6507
- UserMaximumUsage?: number;
6514
+ UserIdentifierSuffix?: string | null;
6515
+ UserMaximumUsage?: number | null;
6508
6516
  }
6509
6517
  export interface PushLoyaltyProgram_AsyncResponse {
6510
6518
  Error?: ServiceError;
@@ -6590,7 +6598,7 @@ export interface UpdateLoyaltyProgram {
6590
6598
  /**
6591
6599
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6592
6600
  */
6593
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6601
+ AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6594
6602
  /**
6595
6603
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6596
6604
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6603,27 +6611,27 @@ export interface UpdateLoyaltyProgram {
6603
6611
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6604
6612
  */
6605
6613
  AutoSubscribeCustomer?: boolean;
6606
- BackendID: string | null | undefined;
6614
+ BackendID?: string | null;
6607
6615
  /**
6608
6616
  * Entity type: Currency
6609
6617
  */
6610
- BudgetCurrencyID: string | null | undefined;
6611
- Data: TAnyValue | null | undefined;
6612
- Description: string | null | undefined;
6613
- EndDate: string | null | undefined;
6618
+ BudgetCurrencyID?: string | null;
6619
+ Data?: TAnyValue | null;
6620
+ Description?: string | null;
6621
+ EndDate?: string | null;
6614
6622
  /**
6615
6623
  * Entity type: LoyaltyProgram
6616
6624
  */
6617
6625
  ID: string;
6618
6626
  LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6619
- LoyaltyProgramGroupID: string | null | undefined;
6627
+ LoyaltyProgramGroupID?: string | null;
6620
6628
  Name?: string;
6621
6629
  Options?: DataModelsLoyaltyProgramOptions;
6622
- PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6623
- PointExpirationPolicyType: string | null | undefined;
6624
- PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6625
- PointPendingPolicyType: string | null | undefined;
6626
- ReloadPolicy: string | null | undefined;
6630
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6631
+ PointExpirationPolicyType?: string | null;
6632
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6633
+ PointPendingPolicyType?: string | null;
6634
+ ReloadPolicy?: string | null;
6627
6635
  /**
6628
6636
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6629
6637
  *
@@ -6636,7 +6644,7 @@ export interface UpdateLoyaltyProgram {
6636
6644
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6637
6645
  * This value cannot be changed after it is set in either the create or update.
6638
6646
  */
6639
- RequireManualUserIdentifier: boolean | null | undefined;
6647
+ RequireManualUserIdentifier?: boolean | null;
6640
6648
  /**
6641
6649
  * 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.
6642
6650
  * Also, this will make the `RequireCustomer` automatically true and `AutoSubscribeCustomer` false.
@@ -6654,29 +6662,29 @@ export interface UpdateLoyaltyProgram {
6654
6662
  /**
6655
6663
  * Handling when a user is unsubscribed and re-subscribes.
6656
6664
  */
6657
- ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6658
- StartDate: string | null | undefined;
6665
+ ResubscribeHandling?: DataModelsResubscribeHandlingType;
6666
+ StartDate?: string | null;
6659
6667
  Status?: DataModelsLoyaltyProgramStatus;
6660
- UserBudget: number | null | undefined;
6668
+ UserBudget?: number | null;
6661
6669
  /**
6662
6670
  * Attention!
6663
6671
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6664
6672
  * This value cannot be changed after it is set in either the create or update.
6665
6673
  */
6666
- UserIdentifierPrefix: string | null | undefined;
6674
+ UserIdentifierPrefix?: string | null;
6667
6675
  /**
6668
6676
  * Attention!
6669
6677
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6670
6678
  * This value cannot be changed after it is set in either the create or update.
6671
6679
  */
6672
- UserIdentifierStartNumber: string | null | undefined;
6680
+ UserIdentifierStartNumber?: string | null;
6673
6681
  /**
6674
6682
  * Attention!
6675
6683
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6676
6684
  * This value cannot be changed after it is set in either the create or update.
6677
6685
  */
6678
- UserIdentifierSuffix: string | null | undefined;
6679
- UserMaximumUsage: number | null | undefined;
6686
+ UserIdentifierSuffix?: string | null;
6687
+ UserMaximumUsage?: number | null;
6680
6688
  }
6681
6689
  /**
6682
6690
  * Update the budget on the loyalty program group.
@@ -6714,21 +6722,21 @@ export interface UpdateLoyaltyProgramCondition {
6714
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.
6715
6723
  */
6716
6724
  export interface UpdateLoyaltyProgramGroup {
6717
- BackendID?: string;
6725
+ BackendID?: string | null;
6718
6726
  /**
6719
6727
  * Entity type: Currency
6720
6728
  */
6721
- BudgetCurrencyID?: string;
6722
- EndDate?: string;
6729
+ BudgetCurrencyID?: string | null;
6730
+ EndDate?: string | null;
6723
6731
  /**
6724
6732
  * Entity type: LoyaltyProgramGroup
6725
6733
  */
6726
6734
  ID: string;
6727
- Name: string;
6735
+ Name?: string | null;
6728
6736
  ReactivateProgramsWhenPossible?: boolean;
6729
- StartDate?: string;
6730
- Status: DataModelsLoyaltyProgramStatus;
6731
- TaxExemptionCode?: string;
6737
+ StartDate?: string | null;
6738
+ Status?: DataModelsLoyaltyProgramStatus;
6739
+ TaxExemptionCode?: string | null;
6732
6740
  }
6733
6741
  /**
6734
6742
  * Update the budget on the loyalty program group.
@@ -6761,9 +6769,9 @@ export interface UpdateLoyaltyProgramPaymentType {
6761
6769
  ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
6762
6770
  Required?: boolean;
6763
6771
  Sequence?: number;
6764
- TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
6772
+ TaxHandling?: DataModelsLoyaltyPaymentTaxHandlingType;
6765
6773
  UserBudget?: number;
6766
- UserBudgetDeduction: DataModelsUserBudgetDeduction;
6774
+ UserBudgetDeduction?: DataModelsUserBudgetDeduction;
6767
6775
  UserMaximumUsage?: number;
6768
6776
  }
6769
6777
  /**
@@ -6784,25 +6792,25 @@ export interface UpdateLoyaltyProgramProductLimitation {
6784
6792
  */
6785
6793
  export interface UpdatePointAwardingRule {
6786
6794
  ApplyRecursive?: boolean;
6787
- BackendID: string | null | undefined;
6795
+ BackendID?: string | null;
6788
6796
  Conditions?: LoyaltyUpdatePointAwardingRule_Condition[];
6789
- Description: string | null | undefined;
6797
+ Description?: string | null;
6790
6798
  Enabled?: boolean;
6791
- EndDate: string | null | undefined;
6799
+ EndDate?: string | null;
6792
6800
  /**
6793
6801
  * Entity type: PointAwardingRule
6794
6802
  */
6795
6803
  ID: string;
6796
- MarketingDescription: string | null | undefined;
6804
+ MarketingDescription?: string | null;
6797
6805
  Name?: string;
6798
6806
  /**
6799
6807
  * Entity type: OrganizationUnitSet
6800
6808
  */
6801
6809
  OrganizationUnitSetID?: string;
6802
- PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6803
- PointExpirationPolicyType: string | null | undefined;
6804
- PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6805
- PointPendingPolicyType: string | null | undefined;
6810
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6811
+ PointExpirationPolicyType?: string | null;
6812
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6813
+ PointPendingPolicyType?: string | null;
6806
6814
  PointsToAward?: number;
6807
6815
  StartDate?: string;
6808
6816
  }
@@ -6837,7 +6845,7 @@ export interface CreateMessageTemplate {
6837
6845
  * Entity type: Country
6838
6846
  */
6839
6847
  CountryID?: string;
6840
- Destination: DataModelsMessageTemplateDestinations;
6848
+ Destination?: DataModelsMessageTemplateDestinations;
6841
6849
  Footer?: string;
6842
6850
  Header?: string;
6843
6851
  Helpers?: string;
@@ -6854,7 +6862,7 @@ export interface CreateMessageTemplate {
6854
6862
  OrganizationUnitID?: string;
6855
6863
  PaperProperties?: DataModelsPaperProperties;
6856
6864
  Template: string;
6857
- Type: DataModelsMessageTemplateTypes;
6865
+ Type?: DataModelsMessageTemplateTypes;
6858
6866
  }
6859
6867
  export interface CreateMessageTemplateResponse {
6860
6868
  Error?: ServiceError;
@@ -7050,7 +7058,7 @@ export interface PreviewMessageTemplate {
7050
7058
  * Entity type: Country
7051
7059
  */
7052
7060
  CountryID?: string;
7053
- Destination: DataModelsMessageTemplateDestinations;
7061
+ Destination?: DataModelsMessageTemplateDestinations;
7054
7062
  Footer?: string;
7055
7063
  /**
7056
7064
  * A preview will be generated, even if device is known
@@ -7074,9 +7082,9 @@ export interface PreviewMessageTemplate {
7074
7082
  * Entity type: Station
7075
7083
  */
7076
7084
  StationID?: string;
7077
- TargetContentType: MessageTemplatesMessageTargetContentTypes;
7085
+ TargetContentType?: MessageTemplatesMessageTargetContentTypes;
7078
7086
  Template: string;
7079
- Type: DataModelsMessageTemplateTypes;
7087
+ Type?: DataModelsMessageTemplateTypes;
7080
7088
  }
7081
7089
  export interface PreviewMessageTemplateResponse {
7082
7090
  Error?: ServiceError;
@@ -7087,7 +7095,7 @@ export interface PreviewMessageTemplateResponse {
7087
7095
  }
7088
7096
  export interface SendSampleMailMessageTemplate {
7089
7097
  CountryID?: string;
7090
- Destination: DataModelsMessageTemplateDestinations;
7098
+ Destination?: DataModelsMessageTemplateDestinations;
7091
7099
  EmailAddress?: string;
7092
7100
  Helpers?: string;
7093
7101
  LanguageID?: string;
@@ -7096,7 +7104,7 @@ export interface SendSampleMailMessageTemplate {
7096
7104
  OrganizationUnitID?: string;
7097
7105
  SampleData?: Record<string, TAnyValue>;
7098
7106
  Template?: string;
7099
- Type: DataModelsMessageTemplateTypes;
7107
+ Type?: DataModelsMessageTemplateTypes;
7100
7108
  }
7101
7109
  /**
7102
7110
  * Update an existing MessageTemplate
@@ -7105,11 +7113,11 @@ export interface UpdateMessageTemplate {
7105
7113
  /**
7106
7114
  * Entity type: Country
7107
7115
  */
7108
- CountryID: string | null | undefined;
7116
+ CountryID?: string | null;
7109
7117
  Destination?: DataModelsMessageTemplateDestinations;
7110
- Footer: string | null | undefined;
7111
- Header: string | null | undefined;
7112
- Helpers: string | null | undefined;
7118
+ Footer?: string | null;
7119
+ Header?: string | null;
7120
+ Helpers?: string | null;
7113
7121
  /**
7114
7122
  * Entity type: MessageTemplate
7115
7123
  */
@@ -7118,14 +7126,14 @@ export interface UpdateMessageTemplate {
7118
7126
  /**
7119
7127
  * Entity type: Language
7120
7128
  */
7121
- LanguageID: string | null | undefined;
7122
- Layout: string | null | undefined;
7129
+ LanguageID?: string | null;
7130
+ Layout?: string | null;
7123
7131
  Name?: string;
7124
7132
  /**
7125
7133
  * Entity type: OrganizationUnit
7126
7134
  */
7127
- OrganizationUnitID: string | null | undefined;
7128
- PaperProperties: DataModelsPaperProperties | undefined;
7135
+ OrganizationUnitID?: string | null;
7136
+ PaperProperties?: DataModelsPaperProperties;
7129
7137
  Template?: string;
7130
7138
  }
7131
7139
  export interface OrdersCheckoutOptionCategoryDto {
@@ -7484,7 +7492,7 @@ export interface DeleteReturnReason {
7484
7492
  * Get the reasons by type.
7485
7493
  */
7486
7494
  export interface GetReturnReasonsByType {
7487
- Type: DataModelsReturnReasonType;
7495
+ Type?: DataModelsReturnReasonType;
7488
7496
  }
7489
7497
  export interface GetReturnReasonsByTypeResponse {
7490
7498
  Error?: ServiceError;
@@ -7544,8 +7552,8 @@ export interface OrdersReturnReasonsListReturnReasonsResponse_Reason {
7544
7552
  * Update a return reason
7545
7553
  */
7546
7554
  export interface UpdateReturnReason {
7547
- BackendID: string | null | undefined;
7548
- Description: string | null | undefined;
7555
+ BackendID?: string | null;
7556
+ Description?: string | null;
7549
7557
  /**
7550
7558
  * Entity type: ReturnReason
7551
7559
  */
@@ -7568,9 +7576,9 @@ export interface UpdateCheckoutOption {
7568
7576
  /**
7569
7577
  * Entity type: CheckoutOptionCategory
7570
7578
  */
7571
- CategoryID: string | null | undefined;
7572
- Data: OrdersCheckoutOptionsICheckoutOptionConfigData | null | undefined;
7573
- Description: string | null | undefined;
7579
+ CategoryID?: string | null;
7580
+ Data?: OrdersCheckoutOptionsICheckoutOptionConfigData | null;
7581
+ Description?: string | null;
7574
7582
  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';
7575
7583
  /**
7576
7584
  * Entity type: CheckoutOption
@@ -7581,18 +7589,18 @@ export interface UpdateCheckoutOption {
7581
7589
  /**
7582
7590
  * Entity type: OrganizationUnitSet
7583
7591
  */
7584
- OrganizationUnitSetID: string | null | undefined;
7592
+ OrganizationUnitSetID?: string | null;
7585
7593
  /**
7586
7594
  * Entity type: Script
7587
7595
  */
7588
- ScriptID: string | null | undefined;
7596
+ ScriptID?: string | null;
7589
7597
  Sequence?: number;
7590
7598
  }
7591
7599
  /**
7592
7600
  * Update an existing CheckoutOptionCategory
7593
7601
  */
7594
7602
  export interface UpdateCheckoutOptionCategory {
7595
- Description: string | null | undefined;
7603
+ Description?: string | null;
7596
7604
  /**
7597
7605
  * Entity type: CheckoutOptionCategory
7598
7606
  */
@@ -7627,8 +7635,8 @@ export interface UpdateOrderLedgerTypeResponse {
7627
7635
  Name?: string;
7628
7636
  }
7629
7637
  export interface UpdateRefundCorrectionReason {
7630
- BackendID: string | null | undefined;
7631
- Description: string | null | undefined;
7638
+ BackendID?: string | null;
7639
+ Description?: string | null;
7632
7640
  /**
7633
7641
  * Entity type: RefundCorrectionReason
7634
7642
  */
@@ -7644,8 +7652,8 @@ export interface UpdateRefundCorrectionReason {
7644
7652
  * Update an existing UnitPriceCorrectionReason
7645
7653
  */
7646
7654
  export interface UpdateUnitPriceCorrectionReason {
7647
- BackendID: string | null | undefined;
7648
- Description: string | null | undefined;
7655
+ BackendID?: string | null;
7656
+ Description?: string | null;
7649
7657
  /**
7650
7658
  * Entity type: UnitPriceCorrectionReason
7651
7659
  */
@@ -7675,7 +7683,7 @@ export interface CreateOrUpdateOrganizationUnitSubset {
7675
7683
  * Entity type: OrganizationUnitSet
7676
7684
  */
7677
7685
  SubsetID: string;
7678
- Type: DataModelsOrganizationUnitSetOperatorTypes;
7686
+ Type?: DataModelsOrganizationUnitSetOperatorTypes;
7679
7687
  }
7680
7688
  /**
7681
7689
  * Creates a new `OrganizationUnitSet`.
@@ -7707,14 +7715,14 @@ export interface CreateOrganizationUnitSet {
7707
7715
  * When specified, adds the sets contained in Subsets as a subset of the new set.
7708
7716
  */
7709
7717
  Subsets?: OrganizationUnitSetsCreateOrganizationUnitSet_OrganizationUnitSubSetDefinition[];
7710
- Type: DataModelsOrganizationUnitSetTypes;
7718
+ Type?: DataModelsOrganizationUnitSetTypes;
7711
7719
  }
7712
7720
  export interface OrganizationUnitSetsCreateOrganizationUnitSet_OrganizationUnitSubSetDefinition {
7713
7721
  /**
7714
7722
  * Entity type: OrganizationUnitSet
7715
7723
  */
7716
7724
  ID: string;
7717
- OperatorType: DataModelsOrganizationUnitSetOperatorTypes;
7725
+ OperatorType?: DataModelsOrganizationUnitSetOperatorTypes;
7718
7726
  }
7719
7727
  /**
7720
7728
  * Creates a new OrganizationUnitSetScope.
@@ -7878,7 +7886,7 @@ export interface OrganizationUnitSetsPreviewOrganizationUnitSet_PreviewOrganizat
7878
7886
  * Entity type: OrganizationUnitSubset
7879
7887
  */
7880
7888
  ID: string;
7881
- OperatorType: DataModelsOrganizationUnitSetOperatorTypes;
7889
+ OperatorType?: DataModelsOrganizationUnitSetOperatorTypes;
7882
7890
  SequenceNumber?: number;
7883
7891
  }
7884
7892
  export interface PreviewOrganizationUnitSetResponse {
@@ -7896,9 +7904,9 @@ export interface PreviewOrganizationUnitSetResponse {
7896
7904
  * it, pass the definition you got back from the `GetOrganizationUnitSet` service.
7897
7905
  */
7898
7906
  export interface UpdateOrganizationUnitSet {
7899
- BackendID: string | null | undefined;
7900
- Definition: DataModelsOrganizationUnitSetDefinition | undefined;
7901
- Description: string | null | undefined;
7907
+ BackendID?: string | null;
7908
+ Definition?: DataModelsOrganizationUnitSetDefinition;
7909
+ Description?: string | null;
7902
7910
  /**
7903
7911
  * Entity type: OrganizationUnitSet
7904
7912
  */
@@ -7907,7 +7915,7 @@ export interface UpdateOrganizationUnitSet {
7907
7915
  /**
7908
7916
  * Entity type: OrganizationUnitSetScope
7909
7917
  */
7910
- ScopeID: string | null | undefined;
7918
+ ScopeID?: string | null;
7911
7919
  }
7912
7920
  /**
7913
7921
  * Updates a OrganizationUnitSetScope.
@@ -8199,7 +8207,7 @@ export interface UpdateCashHandler {
8199
8207
  * Entity type: CashHandler
8200
8208
  */
8201
8209
  ID: string;
8202
- MaxAmountPerOrder: number | null | undefined;
8210
+ MaxAmountPerOrder?: number | null;
8203
8211
  Name?: string;
8204
8212
  RoundingFactor?: number;
8205
8213
  }
@@ -8292,15 +8300,15 @@ export interface UpdateOrganizationUnitRegularOpeningHours {
8292
8300
  * When this OrganizationUnitSet doesn't have this PaymentType yet, it will be created. If it already exists the fields will be updated.
8293
8301
  */
8294
8302
  export interface CreateOrUpdateOrganizationUnitSetPaymentType {
8295
- AuthorizationExpirationInDays: number | null | undefined;
8296
- CaptureMoment: DataModelsPaymentTypeCaptureMoment | undefined;
8303
+ AuthorizationExpirationInDays?: number | null;
8304
+ CaptureMoment?: DataModelsPaymentTypeCaptureMoment;
8297
8305
  /**
8298
8306
  * Entity type: Product
8299
8307
  */
8300
- DigitalGiftCardProductID: string | null | undefined;
8301
- DisableForCarryOutOrders: boolean | null | undefined;
8302
- DisableForDeliveryOrders: boolean | null | undefined;
8303
- DisableForReserveOrders: boolean | null | undefined;
8308
+ DigitalGiftCardProductID?: string | null;
8309
+ DisableForCarryOutOrders?: boolean | null;
8310
+ DisableForDeliveryOrders?: boolean | null;
8311
+ DisableForReserveOrders?: boolean | null;
8304
8312
  /**
8305
8313
  * Entity type: OrganizationUnitSet
8306
8314
  */
@@ -8309,7 +8317,7 @@ export interface CreateOrUpdateOrganizationUnitSetPaymentType {
8309
8317
  * Entity type: PaymentType
8310
8318
  */
8311
8319
  PaymentTypeID: string;
8312
- RefundPriority: number | null | undefined;
8320
+ RefundPriority?: number | null;
8313
8321
  }
8314
8322
  /**
8315
8323
  * Create a new custom PaymentMethod.
@@ -8348,8 +8356,8 @@ export interface CreatePaymentType {
8348
8356
  AutoFinalizeOnOrderPaid?: boolean;
8349
8357
  BackendID?: string;
8350
8358
  BackendRelationID?: string;
8351
- CashJournalMethod: DataModelsPaymentCashJournalMethod;
8352
- Category: DataModelsPaymentTypeCategory;
8359
+ CashJournalMethod?: DataModelsPaymentCashJournalMethod;
8360
+ Category?: DataModelsPaymentTypeCategory;
8353
8361
  Code: string;
8354
8362
  IsActive?: boolean;
8355
8363
  /**
@@ -8363,7 +8371,7 @@ export interface CreatePaymentType {
8363
8371
  */
8364
8372
  PaymentMethodID: string;
8365
8373
  PrintOnDocuments?: boolean;
8366
- ReturnAction: DataModelsPaymentReturnActions;
8374
+ ReturnAction?: DataModelsPaymentReturnActions;
8367
8375
  Roles?: PaymentMethodsCreatePaymentType_PaymentTypeRole[];
8368
8376
  /**
8369
8377
  * Entity type: Script
@@ -8515,6 +8523,37 @@ export interface PaymentMethodsGetPaymentTypeByIDResponse_PaymentTypeRole {
8515
8523
  RoleID: string;
8516
8524
  }
8517
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
+ /**
8518
8557
  * Get's the ID/Name of all paymenttypes to use for filter inputs
8519
8558
  */
8520
8559
  export interface GetPaymentTypesForFilter {
@@ -8858,7 +8897,7 @@ export interface UpdatePaymentMethod {
8858
8897
  * Update the description of a PaymentTransactionLedgerType. Only custom made types can be updated.
8859
8898
  */
8860
8899
  export interface UpdatePaymentTransactionLedgerType {
8861
- Description: string | null | undefined;
8900
+ Description?: string | null;
8862
8901
  /**
8863
8902
  * Entity type: PaymentTransactionLedgerType
8864
8903
  */
@@ -8869,8 +8908,8 @@ export interface UpdatePaymentTransactionLedgerType {
8869
8908
  */
8870
8909
  export interface UpdatePaymentType {
8871
8910
  AutoFinalizeOnOrderPaid?: boolean;
8872
- BackendID: string | null | undefined;
8873
- BackendRelationID: string | null | undefined;
8911
+ BackendID?: string | null;
8912
+ BackendRelationID?: string | null;
8874
8913
  CashJournalMethod?: DataModelsPaymentCashJournalMethod;
8875
8914
  Category?: DataModelsPaymentTypeCategory;
8876
8915
  Code?: string;
@@ -8882,49 +8921,49 @@ export interface UpdatePaymentType {
8882
8921
  /**
8883
8922
  * Entity type: LedgerClass
8884
8923
  */
8885
- LedgerClassID: string | null | undefined;
8924
+ LedgerClassID?: string | null;
8886
8925
  Name?: string;
8887
- Options: PaymentMethodsUpdatePaymentType_PaymentTypeOptionsMaybe | undefined;
8926
+ Options?: PaymentMethodsUpdatePaymentType_PaymentTypeOptionsMaybe;
8888
8927
  /**
8889
8928
  * Entity type: PaymentMethod
8890
8929
  */
8891
8930
  PaymentMethodID?: string;
8892
8931
  PrintOnDocuments?: boolean;
8893
8932
  ReturnAction?: DataModelsPaymentReturnActions;
8894
- Roles: PaymentMethodsUpdatePaymentType_PaymentTypeRole[] | null | undefined;
8933
+ Roles?: PaymentMethodsUpdatePaymentType_PaymentTypeRole[] | null;
8895
8934
  /**
8896
8935
  * Entity type: Script
8897
8936
  */
8898
- ScriptID: string | null | undefined;
8937
+ ScriptID?: string | null;
8899
8938
  }
8900
8939
  export interface PaymentMethodsUpdatePaymentType_PaymentTypeOptionsMaybe {
8901
- BlockOverPayments: boolean | null | undefined;
8902
- CanBeCancelled: boolean | null | undefined;
8903
- CanBeRefunded: boolean | null | undefined;
8940
+ BlockOverPayments?: boolean | null;
8941
+ CanBeCancelled?: boolean | null;
8942
+ CanBeRefunded?: boolean | null;
8904
8943
  /**
8905
8944
  * Setting this to false results in refund only, will therefor only work with CanBeRefunded:true and CanRefundWithoutOriginalPaymentTransaction:true
8906
8945
  */
8907
- CanBeUsedForPayments: boolean | null | undefined;
8908
- CanRefundWithoutOriginalPaymentTransaction: boolean | null | undefined;
8946
+ CanBeUsedForPayments?: boolean | null;
8947
+ CanRefundWithoutOriginalPaymentTransaction?: boolean | null;
8909
8948
  /**
8910
8949
  * Entity type: GiftCardConfiguration
8911
8950
  */
8912
- GiftCardConfigurationID: string | null | undefined;
8951
+ GiftCardConfigurationID?: string | null;
8913
8952
  /**
8914
8953
  * Entity type: LoyaltyProgram
8915
8954
  */
8916
- LoyaltyProgramID: string | null | undefined;
8917
- OnlyAvailableInLocalMode: boolean | null | undefined;
8918
- Pending: boolean | null | undefined;
8919
- PinHandler: string | null | undefined;
8920
- RefundPending: boolean | null | undefined;
8921
- RequiredFunctionality: string | null | undefined;
8922
- RequiredFunctionalityScope: SecurityFunctionalityScope | undefined;
8923
- RequiredUserType: UserTypes | undefined;
8924
- RequiresAmount: boolean | null | undefined;
8925
- RequiresConfirmationForPayments: boolean | null | undefined;
8926
- RequiresConfirmationForRefunds: boolean | null | undefined;
8927
- RequiresInteractionForRefunds: boolean | null | undefined;
8955
+ LoyaltyProgramID?: string | null;
8956
+ OnlyAvailableInLocalMode?: boolean | null;
8957
+ Pending?: boolean | null;
8958
+ PinHandler?: string | null;
8959
+ RefundPending?: boolean | null;
8960
+ RequiredFunctionality?: string | null;
8961
+ RequiredFunctionalityScope?: SecurityFunctionalityScope;
8962
+ RequiredUserType?: UserTypes;
8963
+ RequiresAmount?: boolean | null;
8964
+ RequiresConfirmationForPayments?: boolean | null;
8965
+ RequiresConfirmationForRefunds?: boolean | null;
8966
+ RequiresInteractionForRefunds?: boolean | null;
8928
8967
  }
8929
8968
  export interface PaymentMethodsUpdatePaymentType_PaymentTypeRole {
8930
8969
  /**
@@ -9205,15 +9244,15 @@ export interface RemovePersonalizedPromotionProducts {
9205
9244
  * Update an existing personalized promotion.
9206
9245
  */
9207
9246
  export interface UpdatePersonalizedPromotion {
9208
- BackendID: string | null | undefined;
9209
- Description: string | null | undefined;
9247
+ BackendID?: string | null;
9248
+ Description?: string | null;
9210
9249
  /**
9211
9250
  * Entity type: PersonalizedPromotion
9212
9251
  */
9213
9252
  ID: string;
9214
9253
  LockAfterFirstApply?: boolean;
9215
- MaximumDistinctProducts: number | null | undefined;
9216
- Name: string | null | undefined;
9254
+ MaximumDistinctProducts?: number | null;
9255
+ Name?: string | null;
9217
9256
  }
9218
9257
  /**
9219
9258
  * Create a new PriceList
@@ -9328,7 +9367,7 @@ export interface CreatePriceListResponse {
9328
9367
  export interface CreatePriceListUsageType {
9329
9368
  Description?: string;
9330
9369
  Name: string;
9331
- RequiredUserType: UserTypes;
9370
+ RequiredUserType?: UserTypes;
9332
9371
  }
9333
9372
  export interface CreatePriceListUsageTypeResponse {
9334
9373
  Error?: ServiceError;
@@ -9795,8 +9834,8 @@ export interface PricingPriceListDto {
9795
9834
  * Update an existing PriceList
9796
9835
  */
9797
9836
  export interface UpdatePriceList {
9798
- BackendID: string | null | undefined;
9799
- BackendSystemID: string | null | undefined;
9837
+ BackendID?: string | null;
9838
+ BackendSystemID?: string | null;
9800
9839
  /**
9801
9840
  * Entity type: Currency
9802
9841
  */
@@ -9809,13 +9848,13 @@ export interface UpdatePriceList {
9809
9848
  IsActive?: boolean;
9810
9849
  IsFinalSalePriceList?: boolean;
9811
9850
  Name?: string;
9812
- TimeZone: string | null | undefined;
9851
+ TimeZone?: string | null;
9813
9852
  }
9814
9853
  /**
9815
9854
  * Update an existing PriceListAdjustment
9816
9855
  */
9817
9856
  export interface UpdatePriceListAdjustment {
9818
- BackendID: string | null | undefined;
9857
+ BackendID?: string | null;
9819
9858
  Data?: PricingIPriceListAdjustmentData;
9820
9859
  EffectiveDate: string;
9821
9860
  ExpireDate?: string;
@@ -9830,7 +9869,7 @@ export interface UpdatePriceListAdjustment {
9830
9869
  * Entity type: PriceListAdjustment
9831
9870
  */
9832
9871
  ParentAdjustmentID?: string;
9833
- PricingGroupID: string | null | undefined;
9872
+ PricingGroupID?: string | null;
9834
9873
  Sequence?: number;
9835
9874
  /**
9836
9875
  * If set to true, this will skip the recalculation of the price list after the adjustment is updated, defaults to false so it will always recalculate. Recalculation happens periodically thereafter.
@@ -9870,7 +9909,7 @@ export interface UpdatePriceListOrganizationUnit {
9870
9909
  * Entity type: PriceListUsageType
9871
9910
  */
9872
9911
  PriceListUsageTypeID: string;
9873
- PricingGroupID: string | null | undefined;
9912
+ PricingGroupID?: string | null;
9874
9913
  /**
9875
9914
  * Entity type: OrganizationUnit
9876
9915
  */
@@ -9882,7 +9921,7 @@ export interface UpdatePriceListUsageType {
9882
9921
  * Entity type: PriceListUsageType
9883
9922
  */
9884
9923
  ID: string;
9885
- RequiredUserType: UserTypes;
9924
+ RequiredUserType?: UserTypes;
9886
9925
  }
9887
9926
  /**
9888
9927
  * Upload an excel file containing all ManualInputPriceListAdjustments for the given PriceListAdjustment. These will replace all exisiting adjustments.
@@ -9994,7 +10033,7 @@ export interface CreateProductBarcode {
9994
10033
  */
9995
10034
  export interface CreateProductRequirement {
9996
10035
  BackendID?: string;
9997
- DataType: DataModelsProductRequirementDataTypes;
10036
+ DataType?: DataModelsProductRequirementDataTypes;
9998
10037
  Handler?: string;
9999
10038
  Name: string;
10000
10039
  OrderType?: DataModelsOrderTypes;
@@ -10022,7 +10061,7 @@ export interface CreateProductSearchTemplate {
10022
10061
  IncludeLeafProducts?: boolean;
10023
10062
  MinimumRefreshInterval?: string;
10024
10063
  Name: string;
10025
- Type: DataModelsProductSearchTemplateTypes;
10064
+ Type?: DataModelsProductSearchTemplateTypes;
10026
10065
  }
10027
10066
  export interface CreateProductSearchTemplateResponse {
10028
10067
  Error?: ServiceError;
@@ -10057,7 +10096,7 @@ export interface CreateSupplierProduct {
10057
10096
  Description?: string;
10058
10097
  PreferredMinimumOrderQuantity?: number;
10059
10098
  PrimitiveName: string;
10060
- Status: DataModelsProductStatus;
10099
+ Status?: DataModelsProductStatus;
10061
10100
  /**
10062
10101
  * Entity type: OrganizationUnit
10063
10102
  */
@@ -10484,7 +10523,7 @@ export interface ProductsProductRequirementDto {
10484
10523
  */
10485
10524
  export interface UpdateProductRequirement {
10486
10525
  BackendID?: string;
10487
- DataType: DataModelsProductRequirementDataTypes;
10526
+ DataType?: DataModelsProductRequirementDataTypes;
10488
10527
  Handler?: string;
10489
10528
  /**
10490
10529
  * Entity type: ProductRequirement
@@ -10502,15 +10541,15 @@ export interface UpdateProductRequirement {
10502
10541
  * Update an existing ProductSearchTemplate
10503
10542
  */
10504
10543
  export interface UpdateProductSearchTemplate {
10505
- AggregationOptions: Record<string, SearchAggregationFilterModel> | null | undefined;
10506
- BackendID: string | null | undefined;
10544
+ AggregationOptions?: Record<string, SearchAggregationFilterModel> | null;
10545
+ BackendID?: string | null;
10507
10546
  Filters?: Record<string, SearchFilterModel>;
10508
10547
  /**
10509
10548
  * Entity type: ProductSearchTemplate
10510
10549
  */
10511
10550
  ID: string;
10512
10551
  IncludeLeafProducts?: boolean;
10513
- MinimumRefreshInterval: string | null | undefined;
10552
+ MinimumRefreshInterval?: string | null;
10514
10553
  Name?: string;
10515
10554
  Type?: DataModelsProductSearchTemplateTypes;
10516
10555
  }
@@ -10545,7 +10584,7 @@ export interface UpdateSupplierProduct {
10545
10584
  ID: string;
10546
10585
  PreferredMinimumOrderQuantity?: number;
10547
10586
  PrimitiveName: string;
10548
- Status: DataModelsProductStatus;
10587
+ Status?: DataModelsProductStatus;
10549
10588
  /**
10550
10589
  * Entity type: TaxCode
10551
10590
  */
@@ -11014,17 +11053,17 @@ export interface SetUserRoles {
11014
11053
  * Update a role.
11015
11054
  */
11016
11055
  export interface UpdateRole {
11017
- Code: string | null | undefined;
11056
+ Code?: string | null;
11018
11057
  /**
11019
11058
  * If this is set, any users that have not logged in after said days will get disabled
11020
11059
  */
11021
- DeactivateUserAfterInactiveDays: number | null | undefined;
11060
+ DeactivateUserAfterInactiveDays?: number | null;
11022
11061
  /**
11023
11062
  * Entity type: Role
11024
11063
  */
11025
11064
  ID: string;
11026
11065
  Name?: string;
11027
- UserType: UserTypes | undefined;
11066
+ UserType?: UserTypes;
11028
11067
  }
11029
11068
  /**
11030
11069
  * Update functionalities on a role.
@@ -11040,12 +11079,12 @@ export interface RightsUpdateRoleFunctionalities_FunctionalityToUpdate {
11040
11079
  /**
11041
11080
  * Scopes available only when elevated for this functionality. Should be set to `None (0)` for unscoped functionalities. To remove this functionality, set to `null`.
11042
11081
  */
11043
- ElevationScope: SecurityFunctionalityScope | undefined;
11082
+ ElevationScope?: SecurityFunctionalityScope;
11044
11083
  Functionality: string;
11045
11084
  /**
11046
11085
  * Scopes available for this functionality. Should be set to `None (0)` for unscoped functionalities. To remove this functionality, set to `null`.
11047
11086
  */
11048
- Scope: SecurityFunctionalityScope | undefined;
11087
+ Scope?: SecurityFunctionalityScope;
11049
11088
  }
11050
11089
  export interface UpdateRoleSet {
11051
11090
  BackendID?: string;
@@ -11222,7 +11261,7 @@ export interface CreateShippingMethod {
11222
11261
  */
11223
11262
  CarrierID: string;
11224
11263
  Code?: string;
11225
- DeliveryType: DataModelsShippingMethodDeliveryTypes;
11264
+ DeliveryType?: DataModelsShippingMethodDeliveryTypes;
11226
11265
  ExcludeProductsFromShippingMethod?: boolean;
11227
11266
  Handler?: string;
11228
11267
  InvoicingHandledByCarrier?: boolean;
@@ -11286,7 +11325,7 @@ export interface CreateShippingRestriction {
11286
11325
  * Entity type: Script
11287
11326
  */
11288
11327
  ScriptID?: string;
11289
- Type: DataModelsShippingRestrictionType;
11328
+ Type?: DataModelsShippingRestrictionType;
11290
11329
  ZipCodeFrom?: string;
11291
11330
  ZipCodeTo?: string;
11292
11331
  }
@@ -11795,7 +11834,7 @@ export interface UpdateShippingMethod {
11795
11834
  */
11796
11835
  CarrierID: string;
11797
11836
  Code?: string;
11798
- DeliveryType: DataModelsShippingMethodDeliveryTypes;
11837
+ DeliveryType?: DataModelsShippingMethodDeliveryTypes;
11799
11838
  ExcludeProductsFromShippingMethod?: boolean;
11800
11839
  Handler?: string;
11801
11840
  /**
@@ -11847,7 +11886,7 @@ export interface UpdateShippingRestriction {
11847
11886
  /**
11848
11887
  * Entity type: Country
11849
11888
  */
11850
- CountryID: string | null | undefined;
11889
+ CountryID?: string | null;
11851
11890
  /**
11852
11891
  * Entity type: ShippingRestriction
11853
11892
  */
@@ -11855,24 +11894,24 @@ export interface UpdateShippingRestriction {
11855
11894
  /**
11856
11895
  * Entity type: OrganizationUnit
11857
11896
  */
11858
- OrganizationUnitID: string | null | undefined;
11897
+ OrganizationUnitID?: string | null;
11859
11898
  /**
11860
11899
  * Entity type: OrganizationUnitSet
11861
11900
  */
11862
- OrganizationUnitSetID: string | null | undefined;
11901
+ OrganizationUnitSetID?: string | null;
11863
11902
  /**
11864
11903
  * Entity type: ProductPropertyType
11865
11904
  */
11866
- ProductPropertyTypeID: string | null | undefined;
11867
- ProductPropertyTypeValues: string[] | null | undefined;
11868
- ProductSearchTemplateID: string | null | undefined;
11905
+ ProductPropertyTypeID?: string | null;
11906
+ ProductPropertyTypeValues?: string[] | null;
11907
+ ProductSearchTemplateID?: string | null;
11869
11908
  /**
11870
11909
  * Entity type: Script
11871
11910
  */
11872
- ScriptID: string | null | undefined;
11911
+ ScriptID?: string | null;
11873
11912
  Type?: DataModelsShippingRestrictionType;
11874
- ZipCodeFrom: string | null | undefined;
11875
- ZipCodeTo: string | null | undefined;
11913
+ ZipCodeFrom?: string | null;
11914
+ ZipCodeTo?: string | null;
11876
11915
  }
11877
11916
  /**
11878
11917
  * Upload ShippingRestrictions. Expected format is an Excel file.
@@ -11921,9 +11960,9 @@ export interface CreateStockAllocationRule {
11921
11960
  ProductSearchTemplateID?: string;
11922
11961
  RefillPeriodInDays?: number;
11923
11962
  StartDate?: string;
11924
- Type: DataModelsStockAllocationRuleTypes;
11963
+ Type?: DataModelsStockAllocationRuleTypes;
11925
11964
  Value?: number;
11926
- ValueType: DataModelsStockAllocationRuleValueTypes;
11965
+ ValueType?: DataModelsStockAllocationRuleValueTypes;
11927
11966
  }
11928
11967
  /**
11929
11968
  * Create a new StockLabel
@@ -12018,13 +12057,13 @@ export interface UpdateStockAllocationRule {
12018
12057
  * Update the description or ledgerclass of StockLabel
12019
12058
  */
12020
12059
  export interface UpdateStockLabel {
12021
- Description: string | null | undefined;
12022
- DisplayName: string | null | undefined;
12060
+ Description?: string | null;
12061
+ DisplayName?: string | null;
12023
12062
  /**
12024
12063
  * Entity type: StockLabel
12025
12064
  */
12026
12065
  ID: string;
12027
- LedgerClassID: string | null | undefined;
12066
+ LedgerClassID?: string | null;
12028
12067
  }
12029
12068
  /**
12030
12069
  * A service to upload an Excel containing StockAllocationRules that should be created or updated according to the values specified in the sheet.
@@ -12149,8 +12188,8 @@ export interface StockMutationsStockMutationReason {
12149
12188
  * Update a custom or internal stock mutation reason. The name cannot be modified for internal reasons.
12150
12189
  */
12151
12190
  export interface UpdateStockMutationReason {
12152
- BackendID: string | null | undefined;
12153
- Description: string | null | undefined;
12191
+ BackendID?: string | null;
12192
+ Description?: string | null;
12154
12193
  /**
12155
12194
  * Entity type: StockMutationReasons
12156
12195
  */
@@ -12304,7 +12343,7 @@ export interface CreateUserRequirement {
12304
12343
  Display?: boolean;
12305
12344
  Preferred?: boolean;
12306
12345
  Property: string;
12307
- RequiredFor: UsersUserRequirementsUserRequirementFor;
12346
+ RequiredFor?: UsersUserRequirementsUserRequirementFor;
12308
12347
  /**
12309
12348
  * Entity type: Script
12310
12349
  */
@@ -12321,7 +12360,7 @@ export interface CreateUserRequirement {
12321
12360
  * Entity type: UserRequirementSet
12322
12361
  */
12323
12362
  UserRequirementSetID?: string;
12324
- UserType: UserTypes;
12363
+ UserType?: UserTypes;
12325
12364
  }
12326
12365
  export interface CreateUserRequirementResponse {
12327
12366
  Error?: ServiceError;
@@ -12486,16 +12525,16 @@ export interface CreateEmployeeUserResponse {
12486
12525
  * Create or update employeedata for a user
12487
12526
  */
12488
12527
  export interface CreateOrUpdateEmployeeData {
12489
- EmployeeNumber: string | null | undefined;
12490
- Function: string | null | undefined;
12528
+ EmployeeNumber?: string | null;
12529
+ Function?: string | null;
12491
12530
  /**
12492
12531
  * Entity type: User
12493
12532
  */
12494
- ManagerID: string | null | undefined;
12533
+ ManagerID?: string | null;
12495
12534
  /**
12496
12535
  * Entity type: OrganizationUnit
12497
12536
  */
12498
- PrimaryOrganizationUnitID: string | null | undefined;
12537
+ PrimaryOrganizationUnitID?: string | null;
12499
12538
  /**
12500
12539
  * Entity type: User
12501
12540
  */
@@ -13033,8 +13072,8 @@ export interface UpdateSubscription {
13033
13072
  /**
13034
13073
  * The (optional) BackendID of the subscription
13035
13074
  */
13036
- BackendID: string | null | undefined;
13037
- Description: string | null | undefined;
13075
+ BackendID?: string | null;
13076
+ Description?: string | null;
13038
13077
  /**
13039
13078
  * Entity type: Subscription
13040
13079
  */
@@ -13042,7 +13081,7 @@ export interface UpdateSubscription {
13042
13081
  /**
13043
13082
  * Entity type: Inquiry
13044
13083
  */
13045
- InquiryID: string | null | undefined;
13084
+ InquiryID?: string | null;
13046
13085
  /**
13047
13086
  * The name of the subscription
13048
13087
  */
@@ -13088,17 +13127,17 @@ export interface UpdateSubscriptionUserRequirements {
13088
13127
  Requirements: UsersUpdateSubscriptionUserRequirements_UserRequirementDto[];
13089
13128
  }
13090
13129
  export interface UsersUpdateSubscriptionUserRequirements_UserRequirementDto {
13091
- AccountType: DataModelsUserAccountType | undefined;
13092
- CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13130
+ AccountType?: DataModelsUserAccountType;
13131
+ CustomValidators?: Record<string, TAnyValue | null> | null;
13093
13132
  Display?: boolean;
13094
13133
  /**
13095
13134
  * Entity type: UserRequirement
13096
13135
  */
13097
13136
  ID?: string;
13098
13137
  Preferred?: boolean;
13099
- Property: string | null | undefined;
13138
+ Property?: string | null;
13100
13139
  RequiredFor?: UsersUserRequirementsUserRequirementFor;
13101
- UserType: UserTypes | undefined;
13140
+ UserType?: UserTypes;
13102
13141
  }
13103
13142
  /**
13104
13143
  * Update an existing UserOrigin
@@ -13119,24 +13158,24 @@ export interface UpdateUserOrigin {
13119
13158
  * Updates an existing UserRequirement.
13120
13159
  */
13121
13160
  export interface UpdateUserRequirement {
13122
- AccountType: DataModelsUserAccountType | undefined;
13123
- CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13161
+ AccountType?: DataModelsUserAccountType;
13162
+ CustomValidators?: Record<string, TAnyValue | null> | null;
13124
13163
  Display?: boolean;
13125
13164
  /**
13126
13165
  * Entity type: UserRequirement
13127
13166
  */
13128
13167
  ID: string;
13129
13168
  Preferred?: boolean;
13130
- Property: string | null | undefined;
13169
+ Property?: string | null;
13131
13170
  RequiredFor?: UsersUserRequirementsUserRequirementFor;
13132
13171
  /**
13133
13172
  * Entity type: Script
13134
13173
  */
13135
- ScriptID: string | null | undefined;
13174
+ ScriptID?: string | null;
13136
13175
  /**
13137
13176
  * Entity type: ShippingMethod
13138
13177
  */
13139
- ShippingMethodID: string | null | undefined;
13178
+ ShippingMethodID?: string | null;
13140
13179
  UserType?: UserTypes;
13141
13180
  }
13142
13181
  /**
@@ -13147,7 +13186,7 @@ export interface UpdateUserRequirementSet {
13147
13186
  * Entity type: UserRequirementSet
13148
13187
  */
13149
13188
  ID: string;
13150
- Name: string | null | undefined;
13189
+ Name?: string | null;
13151
13190
  /**
13152
13191
  * Entity type: OrganizationUnitSet
13153
13192
  */
@@ -13164,25 +13203,25 @@ export interface UpdateUserRequirementSetRequirements {
13164
13203
  Requirements?: UsersUpdateUserRequirementSetRequirements_UserRequirementDto[];
13165
13204
  }
13166
13205
  export interface UsersUpdateUserRequirementSetRequirements_UserRequirementDto {
13167
- AccountType: DataModelsUserAccountType | undefined;
13168
- CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13206
+ AccountType?: DataModelsUserAccountType;
13207
+ CustomValidators?: Record<string, TAnyValue | null> | null;
13169
13208
  Display?: boolean;
13170
13209
  /**
13171
13210
  * Entity type: UserRequirement
13172
13211
  */
13173
13212
  ID?: string;
13174
13213
  Preferred?: boolean;
13175
- Property: string | null | undefined;
13214
+ Property?: string | null;
13176
13215
  RequiredFor?: UsersUserRequirementsUserRequirementFor;
13177
13216
  /**
13178
13217
  * Entity type: Script
13179
13218
  */
13180
- ScriptID: string | null | undefined;
13219
+ ScriptID?: string | null;
13181
13220
  /**
13182
13221
  * Entity type: ShippingMethod
13183
13222
  */
13184
- ShippingMethodID: string | null | undefined;
13185
- UserType: UserTypes | undefined;
13223
+ ShippingMethodID?: string | null;
13224
+ UserType?: UserTypes;
13186
13225
  }
13187
13226
  /**
13188
13227
  * Get the wishlist by ID.
@@ -13395,7 +13434,7 @@ export interface VisibilityGroupsListVisibilityGroupsResponse_VisibilityGroupDto
13395
13434
  */
13396
13435
  export interface UpdateVisibilityGroup {
13397
13436
  AllowCustomerStandardAccounts?: boolean;
13398
- Description: string | null | undefined;
13437
+ Description?: string | null;
13399
13438
  /**
13400
13439
  * Entity type: VisibilityGroup
13401
13440
  */
@@ -13430,7 +13469,7 @@ export interface EVACoreServicesAssortmentsAddProductsToAssortment_AssortmentPro
13430
13469
  * Entity type: Product
13431
13470
  */
13432
13471
  ProductID: string;
13433
- ProductStatus: DataModelsProductStatus;
13472
+ ProductStatus?: DataModelsProductStatus;
13434
13473
  ProductStatusesToIgnoreToChildProducts?: DataModelsProductStatus;
13435
13474
  StartDate?: string;
13436
13475
  }
@@ -13478,7 +13517,7 @@ export interface EVACoreServicesAssortmentsCreateAssortment_AssortmentProduct {
13478
13517
  * Entity type: Product
13479
13518
  */
13480
13519
  ProductID: string;
13481
- ProductStatus: DataModelsProductStatus;
13520
+ ProductStatus?: DataModelsProductStatus;
13482
13521
  StartDate?: string;
13483
13522
  }
13484
13523
  export interface CreateAssortmentResponse {
@@ -13724,7 +13763,7 @@ export interface ExportGeneralLedgerSummaryToExcel {
13724
13763
  export interface CreateFraudItem {
13725
13764
  Data?: string;
13726
13765
  Object?: TAnyValue;
13727
- Type: DataModelsFraudDataType;
13766
+ Type?: DataModelsFraudDataType;
13728
13767
  }
13729
13768
  export interface CreateFraudItemResponse {
13730
13769
  Error?: ServiceError;