@springtree/eva-services-core-management 3.0.0-beta.14 → 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.
@@ -379,7 +379,7 @@ export interface ListAccountsResponse {
379
379
  * Update an existing Account. Make sure all properties are filled.
380
380
  */
381
381
  export interface UpdateAccount {
382
- BackendCode: string | null | undefined;
382
+ BackendCode?: string | null;
383
383
  BookingFlags?: DataModelsBookingFlags;
384
384
  /**
385
385
  * Entity type: Account
@@ -387,7 +387,7 @@ export interface UpdateAccount {
387
387
  ID: string;
388
388
  Name?: string;
389
389
  ObjectAccount?: string;
390
- Subsidiary: string | null | undefined;
390
+ Subsidiary?: string | null;
391
391
  Type?: DataModelsAccountType;
392
392
  }
393
393
  export interface AuditingConfigurationResponse {
@@ -527,7 +527,7 @@ export interface CreateCase {
527
527
  * Can only be set once. Can be updated when not set on create.
528
528
  */
529
529
  OriginatingOrganizationUnitID?: string;
530
- Priority: DataModelsCasePriority;
530
+ Priority?: DataModelsCasePriority;
531
531
  Title: string;
532
532
  /**
533
533
  * Entity type: CaseTopic
@@ -543,7 +543,7 @@ export interface CreateCaseInteraction {
543
543
  * Entity type: Case
544
544
  */
545
545
  CaseID: string;
546
- InteractionType: DataModelsInteractionType;
546
+ InteractionType?: DataModelsInteractionType;
547
547
  Text: string;
548
548
  }
549
549
  export interface CreateCaseInteractionResponse {
@@ -566,7 +566,7 @@ export interface CreateCaseResponse {
566
566
  * Creates a new case status
567
567
  */
568
568
  export interface CreateCaseStatus {
569
- Action: DataModelsCaseStatusAction;
569
+ Action?: DataModelsCaseStatusAction;
570
570
  BackendID?: string;
571
571
  Color?: string;
572
572
  Description?: string;
@@ -1094,7 +1094,7 @@ export interface PushCase {
1094
1094
  CaseRelatedItems?: CasesPushCase_PushCaseRelatedItems;
1095
1095
  ClosingTime?: string;
1096
1096
  CustomFields?: Record<string, TAnyValue | null>;
1097
- Customer: CasesPushCase_PushCaseCustomer | undefined;
1097
+ Customer?: CasesPushCase_PushCaseCustomer;
1098
1098
  Description: string;
1099
1099
  /**
1100
1100
  * Setting this to true will try to suppress as many event exports as possible that might result from this call.
@@ -1103,7 +1103,7 @@ export interface PushCase {
1103
1103
  Interactions?: CasesPushCase_PushCaseInteraction[];
1104
1104
  LastInteractionTime?: string;
1105
1105
  OriginatingOrganizationUnitBackendID?: string;
1106
- Priority: DataModelsCasePriority;
1106
+ Priority?: DataModelsCasePriority;
1107
1107
  ReportingTime?: string;
1108
1108
  Solution?: string;
1109
1109
  Status: string;
@@ -1203,7 +1203,7 @@ export interface CasesPushCase_PushCaseInteraction {
1203
1203
  */
1204
1204
  Delete?: boolean;
1205
1205
  Text?: string;
1206
- Type: DataModelsInteractionType;
1206
+ Type?: DataModelsInteractionType;
1207
1207
  }
1208
1208
  export interface CasesPushCase_PushCaseRelatedItem {
1209
1209
  /**
@@ -1310,18 +1310,18 @@ export interface UpdateCase {
1310
1310
  * Entity type: OrganizationUnit
1311
1311
  * OU the case is assigned to. When set this will influence visibility.
1312
1312
  */
1313
- AssignedOrganizationUnitID: string | null | undefined;
1314
- BackendID: string | null | undefined;
1313
+ AssignedOrganizationUnitID?: string | null;
1314
+ BackendID?: string | null;
1315
1315
  /**
1316
1316
  * Optional additional custom fields
1317
1317
  */
1318
- CustomFields: DataModelsCustomFieldKeyValue[] | null | undefined;
1318
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
1319
1319
  /**
1320
1320
  * Entity type: User
1321
1321
  */
1322
- CustomerID: string | null | undefined;
1322
+ CustomerID?: string | null;
1323
1323
  Description?: string;
1324
- ExternalOrderIdentifier: string | null | undefined;
1324
+ ExternalOrderIdentifier?: string | null;
1325
1325
  /**
1326
1326
  * Entity type: Case
1327
1327
  */
@@ -1330,7 +1330,7 @@ export interface UpdateCase {
1330
1330
  * Entity type: OrganizationUnit
1331
1331
  * Can only be set once. Can be updated when not set on create.
1332
1332
  */
1333
- OriginatingOrganizationUnitID: string | null | undefined;
1333
+ OriginatingOrganizationUnitID?: string | null;
1334
1334
  Title?: string;
1335
1335
  /**
1336
1336
  * Entity type: CaseTopic
@@ -1341,7 +1341,7 @@ export interface UpdateCase {
1341
1341
  * Update a case interaction
1342
1342
  */
1343
1343
  export interface UpdateCaseInteraction {
1344
- BackendID: string | null | undefined;
1344
+ BackendID?: string | null;
1345
1345
  /**
1346
1346
  * Entity type: Interaction
1347
1347
  */
@@ -1355,7 +1355,7 @@ export interface UpdateCaseState {
1355
1355
  /**
1356
1356
  * Entity type: User
1357
1357
  */
1358
- AssigneeID: string | null | undefined;
1358
+ AssigneeID?: string | null;
1359
1359
  /**
1360
1360
  * Entity type: Case
1361
1361
  */
@@ -1364,7 +1364,7 @@ export interface UpdateCaseState {
1364
1364
  /**
1365
1365
  * The solution for the case
1366
1366
  */
1367
- Solution: string | null | undefined;
1367
+ Solution?: string | null;
1368
1368
  /**
1369
1369
  * Entity type: CaseStatus
1370
1370
  */
@@ -1380,9 +1380,9 @@ export interface UpdateCaseStateResponse {
1380
1380
  */
1381
1381
  export interface UpdateCaseStatus {
1382
1382
  Action?: DataModelsCaseStatusAction;
1383
- BackendID: string | null | undefined;
1384
- Color: string | null | undefined;
1385
- Description: string | null | undefined;
1383
+ BackendID?: string | null;
1384
+ Color?: string | null;
1385
+ Description?: string | null;
1386
1386
  /**
1387
1387
  * Entity type: CaseStatus
1388
1388
  */
@@ -1392,7 +1392,7 @@ export interface UpdateCaseStatus {
1392
1392
  /**
1393
1393
  * Entity type: Script
1394
1394
  */
1395
- ScriptID: string | null | undefined;
1395
+ ScriptID?: string | null;
1396
1396
  }
1397
1397
  /**
1398
1398
  * Update an existing case summary.
@@ -1411,8 +1411,8 @@ export interface UpdateCaseSummary {
1411
1411
  * Update a case topic
1412
1412
  */
1413
1413
  export interface UpdateCaseTopic {
1414
- BackendID: string | null | undefined;
1415
- Description: string | null | undefined;
1414
+ BackendID?: string | null;
1415
+ Description?: string | null;
1416
1416
  /**
1417
1417
  * Entity type: CaseTopic
1418
1418
  */
@@ -1527,34 +1527,34 @@ export interface ListCompaniesResponse {
1527
1527
  * Updates a Company. Fields not provided in the request are ignored.
1528
1528
  */
1529
1529
  export interface UpdateCompany {
1530
- AccountHolderName: string | null | undefined;
1531
- BIC: string | null | undefined;
1532
- BackendID: string | null | undefined;
1533
- ContactEmailAddress: string | null | undefined;
1534
- ContactPhoneNumber: string | null | undefined;
1535
- EntityType: string | null | undefined;
1536
- EstablishedDate: string | null | undefined;
1537
- FiscalID: string | null | undefined;
1538
- 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;
1539
1539
  /**
1540
1540
  * Entity type: Company
1541
1541
  */
1542
1542
  ID: string;
1543
- IndustryCode: string | null | undefined;
1544
- InvoiceAddress: AddressesAddressDataDto | undefined;
1545
- InvoiceEmailAddress: string | null | undefined;
1546
- LogoID: string | null | undefined;
1547
- Name: string | null | undefined;
1548
- RegistrationCity: string | null | undefined;
1549
- RegistrationCountryID: string | null | undefined;
1550
- RegistrationCountrySubdivisionID: string | null | undefined;
1551
- RegistrationNumber: string | null | undefined;
1552
- SocialCapital: number | null | undefined;
1553
- 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;
1554
1554
  Type?: DataModelsCompanyType;
1555
- VatNumber: string | null | undefined;
1556
- VisitorsAddress: AddressesAddressDataDto | undefined;
1557
- WasteDisposalNumber: string | null | undefined;
1555
+ VatNumber?: string | null;
1556
+ VisitorsAddress?: AddressesAddressDataDto;
1557
+ WasteDisposalNumber?: string | null;
1558
1558
  }
1559
1559
  export interface ValidateCompany {
1560
1560
  AccountHolderName?: string;
@@ -1689,7 +1689,7 @@ export interface GetAppSettingsForOrganizationUnit {
1689
1689
  * Entity type: OrganizationUnit
1690
1690
  */
1691
1691
  OrganizationUnitID: string;
1692
- SortDirection: SortDirection;
1692
+ SortDirection?: SortDirection;
1693
1693
  SortProperty?: string;
1694
1694
  }
1695
1695
  export interface GetAppSettingsForOrganizationUnitResponse {
@@ -1898,7 +1898,7 @@ export interface ListSettings {
1898
1898
  */
1899
1899
  OrganizationUnitID: string;
1900
1900
  ShowDeprecationsOnly?: boolean;
1901
- SortDirection: SortDirection;
1901
+ SortDirection?: SortDirection;
1902
1902
  SortProperty?: string;
1903
1903
  TypedFilter?: ConfigurationListSettingsTypedFilters;
1904
1904
  }
@@ -1910,7 +1910,7 @@ export interface ListSettingsPerOrganizationUnit {
1910
1910
  FunctionalityCategory?: string;
1911
1911
  Key?: string;
1912
1912
  ShowDeprecationsOnly?: boolean;
1913
- SortDirection: SortDirection;
1913
+ SortDirection?: SortDirection;
1914
1914
  SortProperty?: string;
1915
1915
  TypedFilter?: ConfigurationListSettingsTypedFilters;
1916
1916
  }
@@ -2131,13 +2131,13 @@ export interface CostPriceCalculationsGetCostPriceCalculationsResponse_Item {
2131
2131
  Name: string;
2132
2132
  }
2133
2133
  export interface UpdateCostPriceCalculation {
2134
- BackendID: string | null | undefined;
2134
+ BackendID?: string | null;
2135
2135
  Factor?: number;
2136
2136
  /**
2137
2137
  * Entity type: CostPriceCalculation
2138
2138
  */
2139
2139
  ID: string;
2140
- Name: string | null | undefined;
2140
+ Name?: string | null;
2141
2141
  }
2142
2142
  /**
2143
2143
  * Create a new Culture
@@ -2322,7 +2322,7 @@ export interface CulturesListOrganizationUnitLanguagesResponse_OrganizationUnitL
2322
2322
  */
2323
2323
  export interface CreateCustomField {
2324
2324
  BackendID?: string;
2325
- DataType: DataModelsCustomFieldDataTypes;
2325
+ DataType?: DataModelsCustomFieldDataTypes;
2326
2326
  DisplayName?: string;
2327
2327
  EnumValues?: Record<string, string | null>;
2328
2328
  InputHint?: string;
@@ -2534,23 +2534,23 @@ export interface CustomFieldsListCustomFieldsResponse_CustomFieldDto {
2534
2534
  * Set options for custom fields
2535
2535
  */
2536
2536
  export interface SetCustomFieldOptions {
2537
- CustomFieldDefaultValue: DataModelsCustomFieldValue | undefined;
2537
+ CustomFieldDefaultValue?: DataModelsCustomFieldValue;
2538
2538
  /**
2539
2539
  * Entity type: CustomField
2540
2540
  */
2541
2541
  CustomFieldID: string;
2542
- EditableByUserTypes: UserTypes | undefined;
2542
+ EditableByUserTypes?: UserTypes;
2543
2543
  /**
2544
2544
  * Entity type: Script
2545
2545
  */
2546
- EligibilityScriptID: string | null | undefined;
2547
- IsRequired: boolean | null | undefined;
2548
- MaximumDate: string | null | undefined;
2549
- MaximumLength: number | null | undefined;
2550
- MaximumValue: number | null | undefined;
2551
- MinimumDate: string | null | undefined;
2552
- MinimumLength: number | null | undefined;
2553
- 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;
2554
2554
  /**
2555
2555
  * Entity type: OrganizationUnitSet
2556
2556
  */
@@ -2558,8 +2558,8 @@ export interface SetCustomFieldOptions {
2558
2558
  /**
2559
2559
  * Entity type: Script
2560
2560
  */
2561
- SecurityScriptID: string | null | undefined;
2562
- VisibleByUserTypes: UserTypes | undefined;
2561
+ SecurityScriptID?: string | null;
2562
+ VisibleByUserTypes?: UserTypes;
2563
2563
  }
2564
2564
  export interface UnsetCustomFieldOptions {
2565
2565
  /**
@@ -2575,17 +2575,17 @@ export interface UnsetCustomFieldOptions {
2575
2575
  * Update an existing custom CustomField.
2576
2576
  */
2577
2577
  export interface UpdateCustomField {
2578
- BackendID: string | null | undefined;
2579
- DisplayName: string | null | undefined;
2580
- EnumValues: Record<string, string | null> | null | undefined;
2578
+ BackendID?: string | null;
2579
+ DisplayName?: string | null;
2580
+ EnumValues?: Record<string, string | null> | null;
2581
2581
  /**
2582
2582
  * Entity type: CustomField
2583
2583
  */
2584
2584
  ID: string;
2585
- InputHint: string | null | undefined;
2586
- Name: string | null | undefined;
2585
+ InputHint?: string | null;
2586
+ Name?: string | null;
2587
2587
  Order?: number;
2588
- TypeKey: string | null | undefined;
2588
+ TypeKey?: string | null;
2589
2589
  }
2590
2590
  /**
2591
2591
  * Add required custom fields to ManualDiscount
@@ -2636,8 +2636,8 @@ export interface CreateDiscount {
2636
2636
  */
2637
2637
  CampaignID?: string;
2638
2638
  CannotApplyToOwnOrder?: boolean;
2639
- CompliancyRule: DataModelsDiscountCompliancyRule;
2640
- ConditionType: DataModelsDiscountConditionTypes;
2639
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
2640
+ ConditionType?: DataModelsDiscountConditionTypes;
2641
2641
  Conditions?: DiscountsCreateDiscount_DiscountConditionDto[];
2642
2642
  CouponHandler?: string;
2643
2643
  CouponsGeneratedByOtherDiscount?: boolean;
@@ -2656,10 +2656,10 @@ export interface CreateDiscount {
2656
2656
  DaysApplicable?: DaysOfWeek;
2657
2657
  DeactivateWhenBudgetReached?: boolean;
2658
2658
  Description: string;
2659
- DiscountOrderType: DataModelsDiscountOrderTypes;
2659
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
2660
2660
  Enable?: boolean;
2661
2661
  EndDate?: string;
2662
- FinancialDispersion: DataModelsFinancialDespersionType;
2662
+ FinancialDispersion?: DataModelsFinancialDespersionType;
2663
2663
  /**
2664
2664
  * Entity type: Blob
2665
2665
  */
@@ -2700,7 +2700,7 @@ export interface CreateDiscount {
2700
2700
  */
2701
2701
  RoleIDs?: string[];
2702
2702
  StartDate?: string;
2703
- Trigger: DataModelsDiscountTriggers;
2703
+ Trigger?: DataModelsDiscountTriggers;
2704
2704
  UserUsageLimit?: number;
2705
2705
  UserUsageReloadStrategy?: string;
2706
2706
  }
@@ -2749,12 +2749,12 @@ export interface CreateDiscountCouponResponse {
2749
2749
  * Create a discount from the given template with the overwrites with the values given in the request.
2750
2750
  */
2751
2751
  export interface CreateDiscountFromTemplate {
2752
- BackendID: string | null | undefined;
2752
+ BackendID?: string | null;
2753
2753
  /**
2754
2754
  * Entity type: DiscountCampaign
2755
2755
  */
2756
- CampaignID: string | null | undefined;
2757
- CompliancyRule: DataModelsDiscountCompliancyRule;
2756
+ CampaignID?: string | null;
2757
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
2758
2758
  CreateAsActive?: boolean;
2759
2759
  /**
2760
2760
  * Entity type: Currency
@@ -2762,12 +2762,12 @@ export interface CreateDiscountFromTemplate {
2762
2762
  CurrencyID: string;
2763
2763
  Description: string;
2764
2764
  EndDate?: string;
2765
- FinancialDispersion: DataModelsFinancialDespersionType;
2765
+ FinancialDispersion?: DataModelsFinancialDespersionType;
2766
2766
  /**
2767
2767
  * Entity type: DiscountTemplate
2768
2768
  */
2769
2769
  ID: string;
2770
- ImageBlobID: string | null | undefined;
2770
+ ImageBlobID?: string | null;
2771
2771
  IsExclusive?: boolean;
2772
2772
  /**
2773
2773
  * Entity type: DiscountLayer
@@ -2776,16 +2776,16 @@ export interface CreateDiscountFromTemplate {
2776
2776
  /**
2777
2777
  * Entity type: LedgerClass
2778
2778
  */
2779
- LedgerClassID: string | null | undefined;
2779
+ LedgerClassID?: string | null;
2780
2780
  LoyaltyPointWithdrawal?: number;
2781
2781
  /**
2782
2782
  * Entity type: LoyaltyProgram
2783
2783
  */
2784
2784
  LoyaltyProgramID?: string;
2785
2785
  MarketingDescription?: string;
2786
- MaximumUsage: number | null | undefined;
2787
- MaximumUsagePerOrder: number | null | undefined;
2788
- MaximumUsagePerUser: number | null | undefined;
2786
+ MaximumUsage?: number | null;
2787
+ MaximumUsagePerOrder?: number | null;
2788
+ MaximumUsagePerUser?: number | null;
2789
2789
  NeedsReason?: boolean;
2790
2790
  /**
2791
2791
  * Entity type: OrganizationUnitSet
@@ -2797,8 +2797,8 @@ export interface CreateDiscountFromTemplate {
2797
2797
  */
2798
2798
  RestitutionOrganizationUnitID?: string;
2799
2799
  StartDate?: string;
2800
- UserUsageLimit: number | null | undefined;
2801
- UserUsageReloadStrategy: string | null | undefined;
2800
+ UserUsageLimit?: number | null;
2801
+ UserUsageReloadStrategy?: string | null;
2802
2802
  }
2803
2803
  /**
2804
2804
  * Create a new DiscountLayer
@@ -2831,18 +2831,18 @@ export interface CreateDiscountResponse {
2831
2831
  export interface CreateDiscountTemplate {
2832
2832
  ActionData: DiscountsIDiscountActionData;
2833
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';
2834
- AppliesTo: DataModelsDiscountAppliesTo;
2834
+ AppliesTo?: DataModelsDiscountAppliesTo;
2835
2835
  BackendID?: string;
2836
2836
  /**
2837
2837
  * Entity type: DiscountCampaign
2838
2838
  */
2839
2839
  CampaignID?: string;
2840
- ConditionType: DataModelsDiscountConditionTypes;
2840
+ ConditionType?: DataModelsDiscountConditionTypes;
2841
2841
  Conditions?: DiscountsCreateDiscountTemplate_Condition[];
2842
2842
  CouponHandler?: string;
2843
2843
  CouponsGeneratedByOtherDiscount?: boolean;
2844
2844
  Description: string;
2845
- DiscountOrderType: DataModelsDiscountOrderTypes;
2845
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
2846
2846
  ImageBlobID?: string;
2847
2847
  IsActive?: boolean;
2848
2848
  IsExclusive?: boolean;
@@ -2858,7 +2858,7 @@ export interface CreateDiscountTemplate {
2858
2858
  * Entity type: OrganizationUnit
2859
2859
  */
2860
2860
  RestitutionOrganizationUnitID?: string;
2861
- Trigger: DataModelsDiscountTriggers;
2861
+ Trigger?: DataModelsDiscountTriggers;
2862
2862
  UserUsageLimit?: number;
2863
2863
  UserUsageReloadStrategy?: string;
2864
2864
  }
@@ -3752,10 +3752,10 @@ export interface UpdateDiscount {
3752
3752
  */
3753
3753
  CampaignID?: string;
3754
3754
  CannotApplyToOwnOrder?: boolean;
3755
- CompliancyRule: DataModelsDiscountCompliancyRule;
3756
- ConditionType: DataModelsDiscountConditionTypes;
3755
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
3756
+ ConditionType?: DataModelsDiscountConditionTypes;
3757
3757
  Conditions?: DiscountsUpdateDiscount_DiscountConditionDto[];
3758
- CouponHandler: string | null | undefined;
3758
+ CouponHandler?: string | null;
3759
3759
  CouponsGeneratedByOtherDiscount?: boolean;
3760
3760
  /**
3761
3761
  * Entity type: Currency
@@ -3764,7 +3764,7 @@ export interface UpdateDiscount {
3764
3764
  /**
3765
3765
  * Optional additional custom fields
3766
3766
  */
3767
- CustomFields: DataModelsCustomFieldKeyValue[] | null | undefined;
3767
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
3768
3768
  /**
3769
3769
  * Entity type: CustomField
3770
3770
  */
@@ -3772,10 +3772,10 @@ export interface UpdateDiscount {
3772
3772
  DaysApplicable?: DaysOfWeek;
3773
3773
  DeactivateWhenBudgetReached?: boolean;
3774
3774
  Description: string;
3775
- DiscountOrderType: DataModelsDiscountOrderTypes;
3775
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
3776
3776
  Enable?: boolean;
3777
3777
  EndDate?: string;
3778
- FinancialDispersion: DataModelsFinancialDespersionType;
3778
+ FinancialDispersion?: DataModelsFinancialDespersionType;
3779
3779
  /**
3780
3780
  * Entity type: Discount
3781
3781
  */
@@ -3807,14 +3807,14 @@ export interface UpdateDiscount {
3807
3807
  /**
3808
3808
  * For a manual discount, these will indicate custom fields that need to be filled in order to apply the discount.
3809
3809
  */
3810
- RequiredCustomFields: string[] | null | undefined;
3810
+ RequiredCustomFields?: string[] | null;
3811
3811
  /**
3812
3812
  * Entity type: OrganizationUnit
3813
3813
  */
3814
3814
  RestitutionOrganizationUnitID?: string;
3815
3815
  RoleIDs?: string[];
3816
3816
  StartDate?: string;
3817
- Trigger: DataModelsDiscountTriggers;
3817
+ Trigger?: DataModelsDiscountTriggers;
3818
3818
  UserUsageLimit?: number;
3819
3819
  UserUsageReloadStrategy?: string;
3820
3820
  }
@@ -3830,21 +3830,21 @@ export interface DiscountsUpdateDiscount_DiscountConditionDto {
3830
3830
  * Update an existing DiscountCampaign
3831
3831
  */
3832
3832
  export interface UpdateDiscountCampaign {
3833
- BackendID: string | null | undefined;
3834
- BackendSystemID: string | null | undefined;
3833
+ BackendID?: string | null;
3834
+ BackendSystemID?: string | null;
3835
3835
  /**
3836
3836
  * Entity type: Currency
3837
3837
  */
3838
- CurrencyID: string | null | undefined;
3839
- Description: string | null | undefined;
3840
- EndDate: string | null | undefined;
3838
+ CurrencyID?: string | null;
3839
+ Description?: string | null;
3840
+ EndDate?: string | null;
3841
3841
  /**
3842
3842
  * Entity type: DiscountCampaign
3843
3843
  */
3844
3844
  ID: string;
3845
3845
  KeepDiscountsWithinCampaignTimespan?: boolean;
3846
- Name: string | null | undefined;
3847
- StartDate: string | null | undefined;
3846
+ Name?: string | null;
3847
+ StartDate?: string | null;
3848
3848
  }
3849
3849
  /**
3850
3850
  * Update the budget on the discount campaign.
@@ -3856,7 +3856,7 @@ export interface UpdateDiscountCampaignBudget {
3856
3856
  /**
3857
3857
  * Entity type: Currency
3858
3858
  */
3859
- CurrencyID: string | null | undefined;
3859
+ CurrencyID?: string | null;
3860
3860
  DeactivateDiscountsWhenBudgetIsReached?: boolean;
3861
3861
  /**
3862
3862
  * Entity type: DiscountCampaign
@@ -3900,18 +3900,18 @@ export interface UpdateDiscountLayer {
3900
3900
  export interface UpdateDiscountTemplate {
3901
3901
  ActionData: DiscountsIDiscountActionData;
3902
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';
3903
- AppliesTo: DataModelsDiscountAppliesTo;
3903
+ AppliesTo?: DataModelsDiscountAppliesTo;
3904
3904
  BackendID?: string;
3905
3905
  /**
3906
3906
  * Entity type: DiscountCampaign
3907
3907
  */
3908
3908
  CampaignID?: string;
3909
- ConditionType: DataModelsDiscountConditionTypes;
3909
+ ConditionType?: DataModelsDiscountConditionTypes;
3910
3910
  Conditions?: DiscountsUpdateDiscountTemplate_Condition[];
3911
3911
  CouponHandler?: string;
3912
3912
  CouponsGeneratedByOtherDiscount?: boolean;
3913
3913
  Description: string;
3914
- DiscountOrderType: DataModelsDiscountOrderTypes;
3914
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
3915
3915
  /**
3916
3916
  * Entity type: DiscountTemplate
3917
3917
  */
@@ -3931,7 +3931,7 @@ export interface UpdateDiscountTemplate {
3931
3931
  * Entity type: OrganizationUnit
3932
3932
  */
3933
3933
  RestitutionOrganizationUnitID?: string;
3934
- Trigger: DataModelsDiscountTriggers;
3934
+ Trigger?: DataModelsDiscountTriggers;
3935
3935
  UserUsageLimit?: number;
3936
3936
  UserUsageReloadStrategy?: string;
3937
3937
  }
@@ -3988,8 +3988,8 @@ export interface ValidateDiscount {
3988
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';
3989
3989
  AppliesTo?: DataModelsDiscountAppliesTo;
3990
3990
  BackendID?: string;
3991
- CompliancyRule: DataModelsDiscountCompliancyRule;
3992
- ConditionType: DataModelsDiscountConditionTypes;
3991
+ CompliancyRule?: DataModelsDiscountCompliancyRule;
3992
+ ConditionType?: DataModelsDiscountConditionTypes;
3993
3993
  Conditions?: DiscountsValidateDiscount_DiscountConditionDto[];
3994
3994
  CouponHandler?: string;
3995
3995
  CouponsGeneratedByOtherDiscount?: boolean;
@@ -4007,9 +4007,9 @@ export interface ValidateDiscount {
4007
4007
  CustomUserUsageLimitFieldID?: string;
4008
4008
  DaysApplicable?: DaysOfWeek;
4009
4009
  Description?: string;
4010
- DiscountOrderType: DataModelsDiscountOrderTypes;
4010
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
4011
4011
  EndDate?: string;
4012
- FinancialDispersion: DataModelsFinancialDespersionType;
4012
+ FinancialDispersion?: DataModelsFinancialDespersionType;
4013
4013
  /**
4014
4014
  * Entity type: Discount
4015
4015
  */
@@ -4046,7 +4046,7 @@ export interface ValidateDiscount {
4046
4046
  */
4047
4047
  RestitutionOrganizationUnitID?: string;
4048
4048
  StartDate: string;
4049
- Trigger: DataModelsDiscountTriggers;
4049
+ Trigger?: DataModelsDiscountTriggers;
4050
4050
  }
4051
4051
  export interface DiscountsValidateDiscount_DiscountConditionDto {
4052
4052
  Data?: IConditionData;
@@ -4072,14 +4072,14 @@ export interface DiscountsValidateDiscountResponse_CustomFieldMessage {
4072
4072
  export interface ValidateDiscountTemplate {
4073
4073
  ActionData: DiscountsIDiscountActionData;
4074
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';
4075
- AppliesTo: DataModelsDiscountAppliesTo;
4075
+ AppliesTo?: DataModelsDiscountAppliesTo;
4076
4076
  BackendID?: string;
4077
- ConditionType: DataModelsDiscountConditionTypes;
4077
+ ConditionType?: DataModelsDiscountConditionTypes;
4078
4078
  Conditions?: DiscountsValidateDiscountTemplate_Condition[];
4079
4079
  CouponHandler?: string;
4080
4080
  CouponsGeneratedByOtherDiscount?: boolean;
4081
4081
  Description: string;
4082
- DiscountOrderType: DataModelsDiscountOrderTypes;
4082
+ DiscountOrderType?: DataModelsDiscountOrderTypes;
4083
4083
  IsExclusive?: boolean;
4084
4084
  /**
4085
4085
  * Entity type: LedgerClass
@@ -4093,7 +4093,7 @@ export interface ValidateDiscountTemplate {
4093
4093
  * Entity type: OrganizationUnit
4094
4094
  */
4095
4095
  RestitutionOrganizationUnitID?: string;
4096
- Trigger: DataModelsDiscountTriggers;
4096
+ Trigger?: DataModelsDiscountTriggers;
4097
4097
  UserUsageLimit?: number;
4098
4098
  UserUsageReloadStrategy?: string;
4099
4099
  }
@@ -4130,14 +4130,14 @@ export interface VerifyDiscount {
4130
4130
  * Create a new entity field validator
4131
4131
  */
4132
4132
  export interface CreateEntityFieldValidator {
4133
- ApplyFor: DataModelsEntityFieldValidatorUserTypes;
4134
- Entity: DataModelsEntityFieldValidatorEntityTypes;
4133
+ ApplyFor?: DataModelsEntityFieldValidatorUserTypes;
4134
+ Entity?: DataModelsEntityFieldValidatorEntityTypes;
4135
4135
  EntityFieldName: string;
4136
4136
  /**
4137
4137
  * This must be of object that inherits the class EntityFieldValidatorBase. For example StringEntityFieldValidator or DefaultEntityFieldValidator
4138
4138
  */
4139
4139
  ValidatorData: EntityFieldValidatorsValidatorsEntityFieldValidatorBase;
4140
- ValidatorType: DataModelsEntityFieldValidatorType;
4140
+ ValidatorType?: DataModelsEntityFieldValidatorType;
4141
4141
  }
4142
4142
  export interface CreateEntityFieldValidatorResponse {
4143
4143
  Error?: ServiceError;
@@ -4218,7 +4218,7 @@ export interface UpdateEntityFieldValidator {
4218
4218
  * Entity type: EntityFieldValidator
4219
4219
  */
4220
4220
  ID: string;
4221
- ValidatorData: EntityFieldValidatorsValidatorsEntityFieldValidatorBase | null | undefined;
4221
+ ValidatorData?: EntityFieldValidatorsValidatorsEntityFieldValidatorBase | null;
4222
4222
  }
4223
4223
  /**
4224
4224
  * -
@@ -4301,7 +4301,7 @@ export interface FinanceCashExpenseTypeOrganizationUnitSet {
4301
4301
  * An example of this might be tips left by a customer.
4302
4302
  */
4303
4303
  export interface CreateCashExpenseType {
4304
- AmountType: DataModelsCashExpenseAmountTypes;
4304
+ AmountType?: DataModelsCashExpenseAmountTypes;
4305
4305
  BackendID?: string;
4306
4306
  Description?: string;
4307
4307
  LedgerClassID?: string;
@@ -4444,7 +4444,7 @@ export interface FinanceListExchangeRatesResponse_ExchangeRateDto {
4444
4444
  * Updates a cash expense type. All properties except for its Name can be updated.
4445
4445
  */
4446
4446
  export interface UpdateCashExpenseType {
4447
- AmountType: DataModelsCashExpenseAmountTypes;
4447
+ AmountType?: DataModelsCashExpenseAmountTypes;
4448
4448
  BackendID?: string;
4449
4449
  Description?: string;
4450
4450
  /**
@@ -4476,7 +4476,7 @@ export interface CreateGiftCardConfiguration {
4476
4476
  Data?: TAnyValue;
4477
4477
  Handler: string;
4478
4478
  Name: string;
4479
- UsageType: GiftCardsConfigurationGiftCardConfigurationUsageTypes;
4479
+ UsageType?: GiftCardsConfigurationGiftCardConfigurationUsageTypes;
4480
4480
  }
4481
4481
  export interface CreateGiftCardConfigurationResponse {
4482
4482
  Error?: ServiceError;
@@ -4641,8 +4641,8 @@ export interface UpdateGiftCardConfiguration {
4641
4641
  /**
4642
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.
4643
4643
  */
4644
- CardType: string | null | undefined;
4645
- Data: TAnyValue | null | undefined;
4644
+ CardType?: string | null;
4645
+ Data?: TAnyValue | null;
4646
4646
  Handler?: string;
4647
4647
  /**
4648
4648
  * Entity type: GiftCardConfiguration
@@ -4658,11 +4658,11 @@ export interface UpdateProductGiftCard {
4658
4658
  /**
4659
4659
  * Communication options for digital giftcards
4660
4660
  */
4661
- CommunicationOptions: GiftCardsConfigurationProductGiftCardCommunicationOptions | undefined;
4661
+ CommunicationOptions?: GiftCardsConfigurationProductGiftCardCommunicationOptions;
4662
4662
  /**
4663
4663
  * Entity type: GiftCardConfiguration
4664
4664
  */
4665
- GiftCardConfigurationID: string | null | undefined;
4665
+ GiftCardConfigurationID?: string | null;
4666
4666
  /**
4667
4667
  * Entity type: ProductGiftCard
4668
4668
  */
@@ -4683,7 +4683,7 @@ export interface CreateClientApplication {
4683
4683
  BackendID: string;
4684
4684
  Name: string;
4685
4685
  NotificationConfiguration?: string;
4686
- Type: DataModelsClientApplicationType;
4686
+ Type?: DataModelsClientApplicationType;
4687
4687
  }
4688
4688
  export interface CreateClientApplicationResponse {
4689
4689
  Error?: ServiceError;
@@ -4936,17 +4936,17 @@ export interface UpdateClientApplication {
4936
4936
  */
4937
4937
  ID: string;
4938
4938
  Name?: string;
4939
- NotificationConfiguration: string | null | undefined;
4939
+ NotificationConfiguration?: string | null;
4940
4940
  Type?: DataModelsClientApplicationType;
4941
4941
  }
4942
4942
  /**
4943
4943
  * Updates a device
4944
4944
  */
4945
4945
  export interface UpdateDevice {
4946
- Address: string | null | undefined;
4947
- AssemblyName: string | null | undefined;
4948
- BackendID: string | null | undefined;
4949
- Data: DevicesIDeviceTypeData | null | undefined;
4946
+ Address?: string | null;
4947
+ AssemblyName?: string | null;
4948
+ BackendID?: string | null;
4949
+ Data?: DevicesIDeviceTypeData | null;
4950
4950
  /**
4951
4951
  * Entity type: Device
4952
4952
  */
@@ -4955,15 +4955,15 @@ export interface UpdateDevice {
4955
4955
  /**
4956
4956
  * Entity type: OrganizationUnit
4957
4957
  */
4958
- OrganizationUnitID: string | null | undefined;
4958
+ OrganizationUnitID?: string | null;
4959
4959
  /**
4960
4960
  * Entity type: PrinterType
4961
4961
  */
4962
- PrinterTypeID: string | null | undefined;
4962
+ PrinterTypeID?: string | null;
4963
4963
  /**
4964
4964
  * Entity type: Station
4965
4965
  */
4966
- StationID: string | null | undefined;
4966
+ StationID?: string | null;
4967
4967
  TypeID?: string;
4968
4968
  }
4969
4969
  /**
@@ -4991,11 +4991,11 @@ export interface UpdateOrganizationUnitPublicIpAddress {
4991
4991
  * Updates a station.
4992
4992
  */
4993
4993
  export interface UpdateStation {
4994
- BackendID: string | null | undefined;
4994
+ BackendID?: string | null;
4995
4995
  /**
4996
4996
  * Optional additional custom fields
4997
4997
  */
4998
- CustomFields: DataModelsCustomFieldKeyValue[] | null | undefined;
4998
+ CustomFields?: DataModelsCustomFieldKeyValue[] | null;
4999
4999
  /**
5000
5000
  * Entity type: Station
5001
5001
  */
@@ -5100,7 +5100,7 @@ export interface ListInquiriesResponse {
5100
5100
  * Update an inquiry
5101
5101
  */
5102
5102
  export interface UpdateInquiry {
5103
- Description: string | null | undefined;
5103
+ Description?: string | null;
5104
5104
  /**
5105
5105
  * Entity type: Inquiry
5106
5106
  */
@@ -5108,13 +5108,13 @@ export interface UpdateInquiry {
5108
5108
  Name?: string;
5109
5109
  OneTimeUseOnly?: boolean;
5110
5110
  PromptUser?: boolean;
5111
- ScriptID: string | null | undefined;
5111
+ ScriptID?: string | null;
5112
5112
  }
5113
5113
  /**
5114
5114
  * Updates an inquiry item
5115
5115
  */
5116
5116
  export interface UpdateInquiryItem {
5117
- Description: string | null | undefined;
5117
+ Description?: string | null;
5118
5118
  /**
5119
5119
  * Entity type: InquiryItem
5120
5120
  */
@@ -5221,7 +5221,7 @@ export interface CreateLoyaltyProgram {
5221
5221
  LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
5222
5222
  LoyaltyProgramGroupID?: string;
5223
5223
  Name: string;
5224
- Options: DataModelsLoyaltyProgramOptions;
5224
+ Options?: DataModelsLoyaltyProgramOptions;
5225
5225
  PointExpirationPolicyData?: Record<string, TAnyValue>;
5226
5226
  PointExpirationPolicyType?: string;
5227
5227
  PointPendingPolicyData?: Record<string, TAnyValue>;
@@ -5259,7 +5259,7 @@ export interface CreateLoyaltyProgram {
5259
5259
  */
5260
5260
  ResubscribeHandling?: DataModelsResubscribeHandlingType;
5261
5261
  StartDate?: string;
5262
- Status: DataModelsLoyaltyProgramStatus;
5262
+ Status?: DataModelsLoyaltyProgramStatus;
5263
5263
  UserBudget?: number;
5264
5264
  /**
5265
5265
  * Attention!
@@ -5316,7 +5316,7 @@ export interface CreateLoyaltyProgramGroup {
5316
5316
  EndDate?: string;
5317
5317
  Name: string;
5318
5318
  StartDate?: string;
5319
- Status: DataModelsLoyaltyProgramStatus;
5319
+ Status?: DataModelsLoyaltyProgramStatus;
5320
5320
  TaxExemptionCode?: string;
5321
5321
  }
5322
5322
  export interface CreateLoyaltyProgramGroupResponse {
@@ -5347,9 +5347,9 @@ export interface CreateLoyaltyProgramPaymentType {
5347
5347
  ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
5348
5348
  Required?: boolean;
5349
5349
  Sequence?: number;
5350
- TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
5350
+ TaxHandling?: DataModelsLoyaltyPaymentTaxHandlingType;
5351
5351
  UserBudget?: number;
5352
- UserBudgetDeduction: DataModelsUserBudgetDeduction;
5352
+ UserBudgetDeduction?: DataModelsUserBudgetDeduction;
5353
5353
  UserMaximumUsage?: number;
5354
5354
  }
5355
5355
  export interface CreateLoyaltyProgramPaymentTypeResponse {
@@ -6152,7 +6152,7 @@ export interface LoyaltyPushLoyaltyProgram {
6152
6152
  /**
6153
6153
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6154
6154
  */
6155
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6155
+ AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6156
6156
  /**
6157
6157
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6158
6158
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6165,16 +6165,16 @@ export interface LoyaltyPushLoyaltyProgram {
6165
6165
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6166
6166
  */
6167
6167
  AutoSubscribeCustomer?: boolean;
6168
- Budget: number | null | undefined;
6168
+ Budget?: number | null;
6169
6169
  /**
6170
6170
  * Entity type: Currency
6171
6171
  */
6172
- BudgetCurrencyID: string | null | undefined;
6172
+ BudgetCurrencyID?: string | null;
6173
6173
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6174
- Data: TAnyValue | null | undefined;
6174
+ Data?: TAnyValue | null;
6175
6175
  DeactivateWhenBudgetIsReached?: boolean;
6176
- Description: string | null | undefined;
6177
- EndDate: string | null | undefined;
6176
+ Description?: string | null;
6177
+ EndDate?: string | null;
6178
6178
  Handler?: string;
6179
6179
  /**
6180
6180
  * Entity type: LoyaltyProgram
@@ -6184,23 +6184,23 @@ export interface LoyaltyPushLoyaltyProgram {
6184
6184
  /**
6185
6185
  * Entity type: LoyaltyProgramGroup
6186
6186
  */
6187
- LoyaltyProgramGroupID: string | null | undefined;
6187
+ LoyaltyProgramGroupID?: string | null;
6188
6188
  Name?: string;
6189
6189
  Options?: DataModelsLoyaltyProgramOptions;
6190
6190
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6191
6191
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6192
6192
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6193
- PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6194
- PointExpirationPolicyType: string | null | undefined;
6195
- PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6196
- PointPendingPolicyType: string | null | undefined;
6193
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6194
+ PointExpirationPolicyType?: string | null;
6195
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6196
+ PointPendingPolicyType?: string | null;
6197
6197
  /**
6198
6198
  * Entity type: PriceList
6199
6199
  */
6200
6200
  PriceLists?: string[];
6201
6201
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6202
6202
  ReactivateProgramWhenPossible?: boolean;
6203
- ReloadPolicy: string | null | undefined;
6203
+ ReloadPolicy?: string | null;
6204
6204
  /**
6205
6205
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6206
6206
  *
@@ -6213,7 +6213,7 @@ export interface LoyaltyPushLoyaltyProgram {
6213
6213
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6214
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.
6215
6215
  */
6216
- RequireManualUserIdentifier: boolean | null | undefined;
6216
+ RequireManualUserIdentifier?: boolean | null;
6217
6217
  RequiredCustomFields?: string[];
6218
6218
  /**
6219
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.
@@ -6232,29 +6232,29 @@ export interface LoyaltyPushLoyaltyProgram {
6232
6232
  /**
6233
6233
  * Handling when a user is unsubscribed and re-subscribes.
6234
6234
  */
6235
- ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6236
- StartDate: string | null | undefined;
6235
+ ResubscribeHandling?: DataModelsResubscribeHandlingType;
6236
+ StartDate?: string | null;
6237
6237
  Status?: DataModelsLoyaltyProgramStatus;
6238
- UserBudget: number | null | undefined;
6238
+ UserBudget?: number | null;
6239
6239
  /**
6240
6240
  * Attention!
6241
6241
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6242
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.
6243
6243
  */
6244
- UserIdentifierPrefix: string | null | undefined;
6244
+ UserIdentifierPrefix?: string | null;
6245
6245
  /**
6246
6246
  * Attention!
6247
6247
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6248
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.
6249
6249
  */
6250
- UserIdentifierStartNumber: string | null | undefined;
6250
+ UserIdentifierStartNumber?: string | null;
6251
6251
  /**
6252
6252
  * Attention!
6253
6253
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6254
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.
6255
6255
  */
6256
- UserIdentifierSuffix: string | null | undefined;
6257
- UserMaximumUsage: number | null | undefined;
6256
+ UserIdentifierSuffix?: string | null;
6257
+ UserMaximumUsage?: number | null;
6258
6258
  }
6259
6259
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition {
6260
6260
  Data: Record<string, TAnyValue>;
@@ -6286,9 +6286,9 @@ export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType {
6286
6286
  ProductLimitation?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType_ProductLimitationData;
6287
6287
  Required?: boolean;
6288
6288
  Sequence?: number;
6289
- TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
6289
+ TaxHandling?: DataModelsLoyaltyPaymentTaxHandlingType;
6290
6290
  UserBudget?: number;
6291
- UserBudgetDeduction: DataModelsUserBudgetDeduction;
6291
+ UserBudgetDeduction?: DataModelsUserBudgetDeduction;
6292
6292
  UserMaximumUsage?: number;
6293
6293
  }
6294
6294
  export interface LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType_ProductLimitationData {
@@ -6383,7 +6383,7 @@ export interface PushLoyaltyProgramGroup_Async {
6383
6383
  ID: string;
6384
6384
  Name: string;
6385
6385
  StartDate?: string;
6386
- Status: DataModelsLoyaltyProgramStatus;
6386
+ Status?: DataModelsLoyaltyProgramStatus;
6387
6387
  TaxExemptionCode?: string;
6388
6388
  }
6389
6389
  export interface PushLoyaltyProgramGroup_AsyncResponse {
@@ -6410,7 +6410,7 @@ export interface PushLoyaltyProgram_Async {
6410
6410
  /**
6411
6411
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6412
6412
  */
6413
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6413
+ AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6414
6414
  /**
6415
6415
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6416
6416
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6423,16 +6423,16 @@ export interface PushLoyaltyProgram_Async {
6423
6423
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6424
6424
  */
6425
6425
  AutoSubscribeCustomer?: boolean;
6426
- Budget: number | null | undefined;
6426
+ Budget?: number | null;
6427
6427
  /**
6428
6428
  * Entity type: Currency
6429
6429
  */
6430
- BudgetCurrencyID: string | null | undefined;
6430
+ BudgetCurrencyID?: string | null;
6431
6431
  Conditions?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramCondition[];
6432
- Data: TAnyValue | null | undefined;
6432
+ Data?: TAnyValue | null;
6433
6433
  DeactivateWhenBudgetIsReached?: boolean;
6434
- Description: string | null | undefined;
6435
- EndDate: string | null | undefined;
6434
+ Description?: string | null;
6435
+ EndDate?: string | null;
6436
6436
  Handler?: string;
6437
6437
  /**
6438
6438
  * Entity type: LoyaltyProgram
@@ -6442,23 +6442,23 @@ export interface PushLoyaltyProgram_Async {
6442
6442
  /**
6443
6443
  * Entity type: LoyaltyProgramGroup
6444
6444
  */
6445
- LoyaltyProgramGroupID: string | null | undefined;
6445
+ LoyaltyProgramGroupID?: string | null;
6446
6446
  Name?: string;
6447
6447
  Options?: DataModelsLoyaltyProgramOptions;
6448
6448
  OrganizationUnitSets?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramOrganizationUnitSet[];
6449
6449
  PaymentTypes?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramPaymentType[];
6450
6450
  PointAwardingRules?: LoyaltyPushLoyaltyProgram_PushPointAwardingRule[];
6451
- PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6452
- PointExpirationPolicyType: string | null | undefined;
6453
- PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6454
- PointPendingPolicyType: string | null | undefined;
6451
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6452
+ PointExpirationPolicyType?: string | null;
6453
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6454
+ PointPendingPolicyType?: string | null;
6455
6455
  /**
6456
6456
  * Entity type: PriceList
6457
6457
  */
6458
6458
  PriceLists?: string[];
6459
6459
  ProductLimitations?: LoyaltyPushLoyaltyProgram_PushLoyaltyProgramProductLimitation[];
6460
6460
  ReactivateProgramWhenPossible?: boolean;
6461
- ReloadPolicy: string | null | undefined;
6461
+ ReloadPolicy?: string | null;
6462
6462
  /**
6463
6463
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6464
6464
  *
@@ -6471,7 +6471,7 @@ export interface PushLoyaltyProgram_Async {
6471
6471
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6472
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.
6473
6473
  */
6474
- RequireManualUserIdentifier: boolean | null | undefined;
6474
+ RequireManualUserIdentifier?: boolean | null;
6475
6475
  RequiredCustomFields?: string[];
6476
6476
  /**
6477
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.
@@ -6490,29 +6490,29 @@ export interface PushLoyaltyProgram_Async {
6490
6490
  /**
6491
6491
  * Handling when a user is unsubscribed and re-subscribes.
6492
6492
  */
6493
- ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6494
- StartDate: string | null | undefined;
6493
+ ResubscribeHandling?: DataModelsResubscribeHandlingType;
6494
+ StartDate?: string | null;
6495
6495
  Status?: DataModelsLoyaltyProgramStatus;
6496
- UserBudget: number | null | undefined;
6496
+ UserBudget?: number | null;
6497
6497
  /**
6498
6498
  * Attention!
6499
6499
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6500
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.
6501
6501
  */
6502
- UserIdentifierPrefix: string | null | undefined;
6502
+ UserIdentifierPrefix?: string | null;
6503
6503
  /**
6504
6504
  * Attention!
6505
6505
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6506
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.
6507
6507
  */
6508
- UserIdentifierStartNumber: string | null | undefined;
6508
+ UserIdentifierStartNumber?: string | null;
6509
6509
  /**
6510
6510
  * Attention!
6511
6511
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6512
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.
6513
6513
  */
6514
- UserIdentifierSuffix: string | null | undefined;
6515
- UserMaximumUsage: number | null | undefined;
6514
+ UserIdentifierSuffix?: string | null;
6515
+ UserMaximumUsage?: number | null;
6516
6516
  }
6517
6517
  export interface PushLoyaltyProgram_AsyncResponse {
6518
6518
  Error?: ServiceError;
@@ -6598,7 +6598,7 @@ export interface UpdateLoyaltyProgram {
6598
6598
  /**
6599
6599
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6600
6600
  */
6601
- AllowUnsubscribeBy: DataModelsAllowUnsubscribeByType | undefined;
6601
+ AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6602
6602
  /**
6603
6603
  * When true, the loyalty program will not automatically be applied to the order when a customer is attached and all conditions are met.
6604
6604
  * When false, the loyalty program will automatically be applied if all conditions are met.
@@ -6611,27 +6611,27 @@ export interface UpdateLoyaltyProgram {
6611
6611
  * This is ignore when`RequiresSubscribedCustomer` or `RequiresSubscriptionValidation` is set to true.
6612
6612
  */
6613
6613
  AutoSubscribeCustomer?: boolean;
6614
- BackendID: string | null | undefined;
6614
+ BackendID?: string | null;
6615
6615
  /**
6616
6616
  * Entity type: Currency
6617
6617
  */
6618
- BudgetCurrencyID: string | null | undefined;
6619
- Data: TAnyValue | null | undefined;
6620
- Description: string | null | undefined;
6621
- EndDate: string | null | undefined;
6618
+ BudgetCurrencyID?: string | null;
6619
+ Data?: TAnyValue | null;
6620
+ Description?: string | null;
6621
+ EndDate?: string | null;
6622
6622
  /**
6623
6623
  * Entity type: LoyaltyProgram
6624
6624
  */
6625
6625
  ID: string;
6626
6626
  LoyaltyPointUsageOptions?: DataModelsLoyaltyPointUsageOptions;
6627
- LoyaltyProgramGroupID: string | null | undefined;
6627
+ LoyaltyProgramGroupID?: string | null;
6628
6628
  Name?: string;
6629
6629
  Options?: DataModelsLoyaltyProgramOptions;
6630
- PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6631
- PointExpirationPolicyType: string | null | undefined;
6632
- PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6633
- PointPendingPolicyType: string | null | undefined;
6634
- 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;
6635
6635
  /**
6636
6636
  * When true, the loyalty program will only be applied when a customer is attached to the order.
6637
6637
  *
@@ -6644,7 +6644,7 @@ export interface UpdateLoyaltyProgram {
6644
6644
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6645
6645
  * This value cannot be changed after it is set in either the create or update.
6646
6646
  */
6647
- RequireManualUserIdentifier: boolean | null | undefined;
6647
+ RequireManualUserIdentifier?: boolean | null;
6648
6648
  /**
6649
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.
6650
6650
  * Also, this will make the `RequireCustomer` automatically true and `AutoSubscribeCustomer` false.
@@ -6662,29 +6662,29 @@ export interface UpdateLoyaltyProgram {
6662
6662
  /**
6663
6663
  * Handling when a user is unsubscribed and re-subscribes.
6664
6664
  */
6665
- ResubscribeHandling: DataModelsResubscribeHandlingType | undefined;
6666
- StartDate: string | null | undefined;
6665
+ ResubscribeHandling?: DataModelsResubscribeHandlingType;
6666
+ StartDate?: string | null;
6667
6667
  Status?: DataModelsLoyaltyProgramStatus;
6668
- UserBudget: number | null | undefined;
6668
+ UserBudget?: number | null;
6669
6669
  /**
6670
6670
  * Attention!
6671
6671
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6672
6672
  * This value cannot be changed after it is set in either the create or update.
6673
6673
  */
6674
- UserIdentifierPrefix: string | null | undefined;
6674
+ UserIdentifierPrefix?: string | null;
6675
6675
  /**
6676
6676
  * Attention!
6677
6677
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6678
6678
  * This value cannot be changed after it is set in either the create or update.
6679
6679
  */
6680
- UserIdentifierStartNumber: string | null | undefined;
6680
+ UserIdentifierStartNumber?: string | null;
6681
6681
  /**
6682
6682
  * Attention!
6683
6683
  * This value will be used to create a subscription when either `RequiredCustomer` or `AutoSubscribeCustomer` is set to true.
6684
6684
  * This value cannot be changed after it is set in either the create or update.
6685
6685
  */
6686
- UserIdentifierSuffix: string | null | undefined;
6687
- UserMaximumUsage: number | null | undefined;
6686
+ UserIdentifierSuffix?: string | null;
6687
+ UserMaximumUsage?: number | null;
6688
6688
  }
6689
6689
  /**
6690
6690
  * Update the budget on the loyalty program group.
@@ -6722,21 +6722,21 @@ export interface UpdateLoyaltyProgramCondition {
6722
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.
6723
6723
  */
6724
6724
  export interface UpdateLoyaltyProgramGroup {
6725
- BackendID: string | null | undefined;
6725
+ BackendID?: string | null;
6726
6726
  /**
6727
6727
  * Entity type: Currency
6728
6728
  */
6729
- BudgetCurrencyID: string | null | undefined;
6730
- EndDate: string | null | undefined;
6729
+ BudgetCurrencyID?: string | null;
6730
+ EndDate?: string | null;
6731
6731
  /**
6732
6732
  * Entity type: LoyaltyProgramGroup
6733
6733
  */
6734
6734
  ID: string;
6735
- Name: string | null | undefined;
6735
+ Name?: string | null;
6736
6736
  ReactivateProgramsWhenPossible?: boolean;
6737
- StartDate: string | null | undefined;
6737
+ StartDate?: string | null;
6738
6738
  Status?: DataModelsLoyaltyProgramStatus;
6739
- TaxExemptionCode: string | null | undefined;
6739
+ TaxExemptionCode?: string | null;
6740
6740
  }
6741
6741
  /**
6742
6742
  * Update the budget on the loyalty program group.
@@ -6769,9 +6769,9 @@ export interface UpdateLoyaltyProgramPaymentType {
6769
6769
  ProductLimitation?: LoyaltyLoyaltyProgramProductLimitationData;
6770
6770
  Required?: boolean;
6771
6771
  Sequence?: number;
6772
- TaxHandling: DataModelsLoyaltyPaymentTaxHandlingType;
6772
+ TaxHandling?: DataModelsLoyaltyPaymentTaxHandlingType;
6773
6773
  UserBudget?: number;
6774
- UserBudgetDeduction: DataModelsUserBudgetDeduction;
6774
+ UserBudgetDeduction?: DataModelsUserBudgetDeduction;
6775
6775
  UserMaximumUsage?: number;
6776
6776
  }
6777
6777
  /**
@@ -6792,25 +6792,25 @@ export interface UpdateLoyaltyProgramProductLimitation {
6792
6792
  */
6793
6793
  export interface UpdatePointAwardingRule {
6794
6794
  ApplyRecursive?: boolean;
6795
- BackendID: string | null | undefined;
6795
+ BackendID?: string | null;
6796
6796
  Conditions?: LoyaltyUpdatePointAwardingRule_Condition[];
6797
- Description: string | null | undefined;
6797
+ Description?: string | null;
6798
6798
  Enabled?: boolean;
6799
- EndDate: string | null | undefined;
6799
+ EndDate?: string | null;
6800
6800
  /**
6801
6801
  * Entity type: PointAwardingRule
6802
6802
  */
6803
6803
  ID: string;
6804
- MarketingDescription: string | null | undefined;
6804
+ MarketingDescription?: string | null;
6805
6805
  Name?: string;
6806
6806
  /**
6807
6807
  * Entity type: OrganizationUnitSet
6808
6808
  */
6809
6809
  OrganizationUnitSetID?: string;
6810
- PointExpirationPolicyData: Record<string, TAnyValue> | null | undefined;
6811
- PointExpirationPolicyType: string | null | undefined;
6812
- PointPendingPolicyData: Record<string, TAnyValue> | null | undefined;
6813
- PointPendingPolicyType: string | null | undefined;
6810
+ PointExpirationPolicyData?: Record<string, TAnyValue> | null;
6811
+ PointExpirationPolicyType?: string | null;
6812
+ PointPendingPolicyData?: Record<string, TAnyValue> | null;
6813
+ PointPendingPolicyType?: string | null;
6814
6814
  PointsToAward?: number;
6815
6815
  StartDate?: string;
6816
6816
  }
@@ -6845,7 +6845,7 @@ export interface CreateMessageTemplate {
6845
6845
  * Entity type: Country
6846
6846
  */
6847
6847
  CountryID?: string;
6848
- Destination: DataModelsMessageTemplateDestinations;
6848
+ Destination?: DataModelsMessageTemplateDestinations;
6849
6849
  Footer?: string;
6850
6850
  Header?: string;
6851
6851
  Helpers?: string;
@@ -6862,7 +6862,7 @@ export interface CreateMessageTemplate {
6862
6862
  OrganizationUnitID?: string;
6863
6863
  PaperProperties?: DataModelsPaperProperties;
6864
6864
  Template: string;
6865
- Type: DataModelsMessageTemplateTypes;
6865
+ Type?: DataModelsMessageTemplateTypes;
6866
6866
  }
6867
6867
  export interface CreateMessageTemplateResponse {
6868
6868
  Error?: ServiceError;
@@ -7058,7 +7058,7 @@ export interface PreviewMessageTemplate {
7058
7058
  * Entity type: Country
7059
7059
  */
7060
7060
  CountryID?: string;
7061
- Destination: DataModelsMessageTemplateDestinations;
7061
+ Destination?: DataModelsMessageTemplateDestinations;
7062
7062
  Footer?: string;
7063
7063
  /**
7064
7064
  * A preview will be generated, even if device is known
@@ -7082,9 +7082,9 @@ export interface PreviewMessageTemplate {
7082
7082
  * Entity type: Station
7083
7083
  */
7084
7084
  StationID?: string;
7085
- TargetContentType: MessageTemplatesMessageTargetContentTypes;
7085
+ TargetContentType?: MessageTemplatesMessageTargetContentTypes;
7086
7086
  Template: string;
7087
- Type: DataModelsMessageTemplateTypes;
7087
+ Type?: DataModelsMessageTemplateTypes;
7088
7088
  }
7089
7089
  export interface PreviewMessageTemplateResponse {
7090
7090
  Error?: ServiceError;
@@ -7095,7 +7095,7 @@ export interface PreviewMessageTemplateResponse {
7095
7095
  }
7096
7096
  export interface SendSampleMailMessageTemplate {
7097
7097
  CountryID?: string;
7098
- Destination: DataModelsMessageTemplateDestinations;
7098
+ Destination?: DataModelsMessageTemplateDestinations;
7099
7099
  EmailAddress?: string;
7100
7100
  Helpers?: string;
7101
7101
  LanguageID?: string;
@@ -7104,7 +7104,7 @@ export interface SendSampleMailMessageTemplate {
7104
7104
  OrganizationUnitID?: string;
7105
7105
  SampleData?: Record<string, TAnyValue>;
7106
7106
  Template?: string;
7107
- Type: DataModelsMessageTemplateTypes;
7107
+ Type?: DataModelsMessageTemplateTypes;
7108
7108
  }
7109
7109
  /**
7110
7110
  * Update an existing MessageTemplate
@@ -7113,11 +7113,11 @@ export interface UpdateMessageTemplate {
7113
7113
  /**
7114
7114
  * Entity type: Country
7115
7115
  */
7116
- CountryID: string | null | undefined;
7116
+ CountryID?: string | null;
7117
7117
  Destination?: DataModelsMessageTemplateDestinations;
7118
- Footer: string | null | undefined;
7119
- Header: string | null | undefined;
7120
- Helpers: string | null | undefined;
7118
+ Footer?: string | null;
7119
+ Header?: string | null;
7120
+ Helpers?: string | null;
7121
7121
  /**
7122
7122
  * Entity type: MessageTemplate
7123
7123
  */
@@ -7126,14 +7126,14 @@ export interface UpdateMessageTemplate {
7126
7126
  /**
7127
7127
  * Entity type: Language
7128
7128
  */
7129
- LanguageID: string | null | undefined;
7130
- Layout: string | null | undefined;
7129
+ LanguageID?: string | null;
7130
+ Layout?: string | null;
7131
7131
  Name?: string;
7132
7132
  /**
7133
7133
  * Entity type: OrganizationUnit
7134
7134
  */
7135
- OrganizationUnitID: string | null | undefined;
7136
- PaperProperties: DataModelsPaperProperties | undefined;
7135
+ OrganizationUnitID?: string | null;
7136
+ PaperProperties?: DataModelsPaperProperties;
7137
7137
  Template?: string;
7138
7138
  }
7139
7139
  export interface OrdersCheckoutOptionCategoryDto {
@@ -7492,7 +7492,7 @@ export interface DeleteReturnReason {
7492
7492
  * Get the reasons by type.
7493
7493
  */
7494
7494
  export interface GetReturnReasonsByType {
7495
- Type: DataModelsReturnReasonType;
7495
+ Type?: DataModelsReturnReasonType;
7496
7496
  }
7497
7497
  export interface GetReturnReasonsByTypeResponse {
7498
7498
  Error?: ServiceError;
@@ -7552,8 +7552,8 @@ export interface OrdersReturnReasonsListReturnReasonsResponse_Reason {
7552
7552
  * Update a return reason
7553
7553
  */
7554
7554
  export interface UpdateReturnReason {
7555
- BackendID: string | null | undefined;
7556
- Description: string | null | undefined;
7555
+ BackendID?: string | null;
7556
+ Description?: string | null;
7557
7557
  /**
7558
7558
  * Entity type: ReturnReason
7559
7559
  */
@@ -7576,9 +7576,9 @@ export interface UpdateCheckoutOption {
7576
7576
  /**
7577
7577
  * Entity type: CheckoutOptionCategory
7578
7578
  */
7579
- CategoryID: string | null | undefined;
7580
- Data: OrdersCheckoutOptionsICheckoutOptionConfigData | null | undefined;
7581
- Description: string | null | undefined;
7579
+ CategoryID?: string | null;
7580
+ Data?: OrdersCheckoutOptionsICheckoutOptionConfigData | null;
7581
+ Description?: string | null;
7582
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';
7583
7583
  /**
7584
7584
  * Entity type: CheckoutOption
@@ -7589,18 +7589,18 @@ export interface UpdateCheckoutOption {
7589
7589
  /**
7590
7590
  * Entity type: OrganizationUnitSet
7591
7591
  */
7592
- OrganizationUnitSetID: string | null | undefined;
7592
+ OrganizationUnitSetID?: string | null;
7593
7593
  /**
7594
7594
  * Entity type: Script
7595
7595
  */
7596
- ScriptID: string | null | undefined;
7596
+ ScriptID?: string | null;
7597
7597
  Sequence?: number;
7598
7598
  }
7599
7599
  /**
7600
7600
  * Update an existing CheckoutOptionCategory
7601
7601
  */
7602
7602
  export interface UpdateCheckoutOptionCategory {
7603
- Description: string | null | undefined;
7603
+ Description?: string | null;
7604
7604
  /**
7605
7605
  * Entity type: CheckoutOptionCategory
7606
7606
  */
@@ -7635,8 +7635,8 @@ export interface UpdateOrderLedgerTypeResponse {
7635
7635
  Name?: string;
7636
7636
  }
7637
7637
  export interface UpdateRefundCorrectionReason {
7638
- BackendID: string | null | undefined;
7639
- Description: string | null | undefined;
7638
+ BackendID?: string | null;
7639
+ Description?: string | null;
7640
7640
  /**
7641
7641
  * Entity type: RefundCorrectionReason
7642
7642
  */
@@ -7652,8 +7652,8 @@ export interface UpdateRefundCorrectionReason {
7652
7652
  * Update an existing UnitPriceCorrectionReason
7653
7653
  */
7654
7654
  export interface UpdateUnitPriceCorrectionReason {
7655
- BackendID: string | null | undefined;
7656
- Description: string | null | undefined;
7655
+ BackendID?: string | null;
7656
+ Description?: string | null;
7657
7657
  /**
7658
7658
  * Entity type: UnitPriceCorrectionReason
7659
7659
  */
@@ -7683,7 +7683,7 @@ export interface CreateOrUpdateOrganizationUnitSubset {
7683
7683
  * Entity type: OrganizationUnitSet
7684
7684
  */
7685
7685
  SubsetID: string;
7686
- Type: DataModelsOrganizationUnitSetOperatorTypes;
7686
+ Type?: DataModelsOrganizationUnitSetOperatorTypes;
7687
7687
  }
7688
7688
  /**
7689
7689
  * Creates a new `OrganizationUnitSet`.
@@ -7715,14 +7715,14 @@ export interface CreateOrganizationUnitSet {
7715
7715
  * When specified, adds the sets contained in Subsets as a subset of the new set.
7716
7716
  */
7717
7717
  Subsets?: OrganizationUnitSetsCreateOrganizationUnitSet_OrganizationUnitSubSetDefinition[];
7718
- Type: DataModelsOrganizationUnitSetTypes;
7718
+ Type?: DataModelsOrganizationUnitSetTypes;
7719
7719
  }
7720
7720
  export interface OrganizationUnitSetsCreateOrganizationUnitSet_OrganizationUnitSubSetDefinition {
7721
7721
  /**
7722
7722
  * Entity type: OrganizationUnitSet
7723
7723
  */
7724
7724
  ID: string;
7725
- OperatorType: DataModelsOrganizationUnitSetOperatorTypes;
7725
+ OperatorType?: DataModelsOrganizationUnitSetOperatorTypes;
7726
7726
  }
7727
7727
  /**
7728
7728
  * Creates a new OrganizationUnitSetScope.
@@ -7886,7 +7886,7 @@ export interface OrganizationUnitSetsPreviewOrganizationUnitSet_PreviewOrganizat
7886
7886
  * Entity type: OrganizationUnitSubset
7887
7887
  */
7888
7888
  ID: string;
7889
- OperatorType: DataModelsOrganizationUnitSetOperatorTypes;
7889
+ OperatorType?: DataModelsOrganizationUnitSetOperatorTypes;
7890
7890
  SequenceNumber?: number;
7891
7891
  }
7892
7892
  export interface PreviewOrganizationUnitSetResponse {
@@ -7904,9 +7904,9 @@ export interface PreviewOrganizationUnitSetResponse {
7904
7904
  * it, pass the definition you got back from the `GetOrganizationUnitSet` service.
7905
7905
  */
7906
7906
  export interface UpdateOrganizationUnitSet {
7907
- BackendID: string | null | undefined;
7908
- Definition: DataModelsOrganizationUnitSetDefinition | undefined;
7909
- Description: string | null | undefined;
7907
+ BackendID?: string | null;
7908
+ Definition?: DataModelsOrganizationUnitSetDefinition;
7909
+ Description?: string | null;
7910
7910
  /**
7911
7911
  * Entity type: OrganizationUnitSet
7912
7912
  */
@@ -7915,7 +7915,7 @@ export interface UpdateOrganizationUnitSet {
7915
7915
  /**
7916
7916
  * Entity type: OrganizationUnitSetScope
7917
7917
  */
7918
- ScopeID: string | null | undefined;
7918
+ ScopeID?: string | null;
7919
7919
  }
7920
7920
  /**
7921
7921
  * Updates a OrganizationUnitSetScope.
@@ -8207,7 +8207,7 @@ export interface UpdateCashHandler {
8207
8207
  * Entity type: CashHandler
8208
8208
  */
8209
8209
  ID: string;
8210
- MaxAmountPerOrder: number | null | undefined;
8210
+ MaxAmountPerOrder?: number | null;
8211
8211
  Name?: string;
8212
8212
  RoundingFactor?: number;
8213
8213
  }
@@ -8300,15 +8300,15 @@ export interface UpdateOrganizationUnitRegularOpeningHours {
8300
8300
  * When this OrganizationUnitSet doesn't have this PaymentType yet, it will be created. If it already exists the fields will be updated.
8301
8301
  */
8302
8302
  export interface CreateOrUpdateOrganizationUnitSetPaymentType {
8303
- AuthorizationExpirationInDays: number | null | undefined;
8304
- CaptureMoment: DataModelsPaymentTypeCaptureMoment | undefined;
8303
+ AuthorizationExpirationInDays?: number | null;
8304
+ CaptureMoment?: DataModelsPaymentTypeCaptureMoment;
8305
8305
  /**
8306
8306
  * Entity type: Product
8307
8307
  */
8308
- DigitalGiftCardProductID: string | null | undefined;
8309
- DisableForCarryOutOrders: boolean | null | undefined;
8310
- DisableForDeliveryOrders: boolean | null | undefined;
8311
- DisableForReserveOrders: boolean | null | undefined;
8308
+ DigitalGiftCardProductID?: string | null;
8309
+ DisableForCarryOutOrders?: boolean | null;
8310
+ DisableForDeliveryOrders?: boolean | null;
8311
+ DisableForReserveOrders?: boolean | null;
8312
8312
  /**
8313
8313
  * Entity type: OrganizationUnitSet
8314
8314
  */
@@ -8317,7 +8317,7 @@ export interface CreateOrUpdateOrganizationUnitSetPaymentType {
8317
8317
  * Entity type: PaymentType
8318
8318
  */
8319
8319
  PaymentTypeID: string;
8320
- RefundPriority: number | null | undefined;
8320
+ RefundPriority?: number | null;
8321
8321
  }
8322
8322
  /**
8323
8323
  * Create a new custom PaymentMethod.
@@ -8356,8 +8356,8 @@ export interface CreatePaymentType {
8356
8356
  AutoFinalizeOnOrderPaid?: boolean;
8357
8357
  BackendID?: string;
8358
8358
  BackendRelationID?: string;
8359
- CashJournalMethod: DataModelsPaymentCashJournalMethod;
8360
- Category: DataModelsPaymentTypeCategory;
8359
+ CashJournalMethod?: DataModelsPaymentCashJournalMethod;
8360
+ Category?: DataModelsPaymentTypeCategory;
8361
8361
  Code: string;
8362
8362
  IsActive?: boolean;
8363
8363
  /**
@@ -8371,7 +8371,7 @@ export interface CreatePaymentType {
8371
8371
  */
8372
8372
  PaymentMethodID: string;
8373
8373
  PrintOnDocuments?: boolean;
8374
- ReturnAction: DataModelsPaymentReturnActions;
8374
+ ReturnAction?: DataModelsPaymentReturnActions;
8375
8375
  Roles?: PaymentMethodsCreatePaymentType_PaymentTypeRole[];
8376
8376
  /**
8377
8377
  * Entity type: Script
@@ -8897,7 +8897,7 @@ export interface UpdatePaymentMethod {
8897
8897
  * Update the description of a PaymentTransactionLedgerType. Only custom made types can be updated.
8898
8898
  */
8899
8899
  export interface UpdatePaymentTransactionLedgerType {
8900
- Description: string | null | undefined;
8900
+ Description?: string | null;
8901
8901
  /**
8902
8902
  * Entity type: PaymentTransactionLedgerType
8903
8903
  */
@@ -8908,8 +8908,8 @@ export interface UpdatePaymentTransactionLedgerType {
8908
8908
  */
8909
8909
  export interface UpdatePaymentType {
8910
8910
  AutoFinalizeOnOrderPaid?: boolean;
8911
- BackendID: string | null | undefined;
8912
- BackendRelationID: string | null | undefined;
8911
+ BackendID?: string | null;
8912
+ BackendRelationID?: string | null;
8913
8913
  CashJournalMethod?: DataModelsPaymentCashJournalMethod;
8914
8914
  Category?: DataModelsPaymentTypeCategory;
8915
8915
  Code?: string;
@@ -8921,49 +8921,49 @@ export interface UpdatePaymentType {
8921
8921
  /**
8922
8922
  * Entity type: LedgerClass
8923
8923
  */
8924
- LedgerClassID: string | null | undefined;
8924
+ LedgerClassID?: string | null;
8925
8925
  Name?: string;
8926
- Options: PaymentMethodsUpdatePaymentType_PaymentTypeOptionsMaybe | undefined;
8926
+ Options?: PaymentMethodsUpdatePaymentType_PaymentTypeOptionsMaybe;
8927
8927
  /**
8928
8928
  * Entity type: PaymentMethod
8929
8929
  */
8930
8930
  PaymentMethodID?: string;
8931
8931
  PrintOnDocuments?: boolean;
8932
8932
  ReturnAction?: DataModelsPaymentReturnActions;
8933
- Roles: PaymentMethodsUpdatePaymentType_PaymentTypeRole[] | null | undefined;
8933
+ Roles?: PaymentMethodsUpdatePaymentType_PaymentTypeRole[] | null;
8934
8934
  /**
8935
8935
  * Entity type: Script
8936
8936
  */
8937
- ScriptID: string | null | undefined;
8937
+ ScriptID?: string | null;
8938
8938
  }
8939
8939
  export interface PaymentMethodsUpdatePaymentType_PaymentTypeOptionsMaybe {
8940
- BlockOverPayments: boolean | null | undefined;
8941
- CanBeCancelled: boolean | null | undefined;
8942
- CanBeRefunded: boolean | null | undefined;
8940
+ BlockOverPayments?: boolean | null;
8941
+ CanBeCancelled?: boolean | null;
8942
+ CanBeRefunded?: boolean | null;
8943
8943
  /**
8944
8944
  * Setting this to false results in refund only, will therefor only work with CanBeRefunded:true and CanRefundWithoutOriginalPaymentTransaction:true
8945
8945
  */
8946
- CanBeUsedForPayments: boolean | null | undefined;
8947
- CanRefundWithoutOriginalPaymentTransaction: boolean | null | undefined;
8946
+ CanBeUsedForPayments?: boolean | null;
8947
+ CanRefundWithoutOriginalPaymentTransaction?: boolean | null;
8948
8948
  /**
8949
8949
  * Entity type: GiftCardConfiguration
8950
8950
  */
8951
- GiftCardConfigurationID: string | null | undefined;
8951
+ GiftCardConfigurationID?: string | null;
8952
8952
  /**
8953
8953
  * Entity type: LoyaltyProgram
8954
8954
  */
8955
- LoyaltyProgramID: string | null | undefined;
8956
- OnlyAvailableInLocalMode: boolean | null | undefined;
8957
- Pending: boolean | null | undefined;
8958
- PinHandler: string | null | undefined;
8959
- RefundPending: boolean | null | undefined;
8960
- RequiredFunctionality: string | null | undefined;
8961
- RequiredFunctionalityScope: SecurityFunctionalityScope | undefined;
8962
- RequiredUserType: UserTypes | undefined;
8963
- RequiresAmount: boolean | null | undefined;
8964
- RequiresConfirmationForPayments: boolean | null | undefined;
8965
- RequiresConfirmationForRefunds: boolean | null | undefined;
8966
- 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;
8967
8967
  }
8968
8968
  export interface PaymentMethodsUpdatePaymentType_PaymentTypeRole {
8969
8969
  /**
@@ -9244,15 +9244,15 @@ export interface RemovePersonalizedPromotionProducts {
9244
9244
  * Update an existing personalized promotion.
9245
9245
  */
9246
9246
  export interface UpdatePersonalizedPromotion {
9247
- BackendID: string | null | undefined;
9248
- Description: string | null | undefined;
9247
+ BackendID?: string | null;
9248
+ Description?: string | null;
9249
9249
  /**
9250
9250
  * Entity type: PersonalizedPromotion
9251
9251
  */
9252
9252
  ID: string;
9253
9253
  LockAfterFirstApply?: boolean;
9254
- MaximumDistinctProducts: number | null | undefined;
9255
- Name: string | null | undefined;
9254
+ MaximumDistinctProducts?: number | null;
9255
+ Name?: string | null;
9256
9256
  }
9257
9257
  /**
9258
9258
  * Create a new PriceList
@@ -9367,7 +9367,7 @@ export interface CreatePriceListResponse {
9367
9367
  export interface CreatePriceListUsageType {
9368
9368
  Description?: string;
9369
9369
  Name: string;
9370
- RequiredUserType: UserTypes;
9370
+ RequiredUserType?: UserTypes;
9371
9371
  }
9372
9372
  export interface CreatePriceListUsageTypeResponse {
9373
9373
  Error?: ServiceError;
@@ -9834,8 +9834,8 @@ export interface PricingPriceListDto {
9834
9834
  * Update an existing PriceList
9835
9835
  */
9836
9836
  export interface UpdatePriceList {
9837
- BackendID: string | null | undefined;
9838
- BackendSystemID: string | null | undefined;
9837
+ BackendID?: string | null;
9838
+ BackendSystemID?: string | null;
9839
9839
  /**
9840
9840
  * Entity type: Currency
9841
9841
  */
@@ -9848,13 +9848,13 @@ export interface UpdatePriceList {
9848
9848
  IsActive?: boolean;
9849
9849
  IsFinalSalePriceList?: boolean;
9850
9850
  Name?: string;
9851
- TimeZone: string | null | undefined;
9851
+ TimeZone?: string | null;
9852
9852
  }
9853
9853
  /**
9854
9854
  * Update an existing PriceListAdjustment
9855
9855
  */
9856
9856
  export interface UpdatePriceListAdjustment {
9857
- BackendID: string | null | undefined;
9857
+ BackendID?: string | null;
9858
9858
  Data?: PricingIPriceListAdjustmentData;
9859
9859
  EffectiveDate: string;
9860
9860
  ExpireDate?: string;
@@ -9869,7 +9869,7 @@ export interface UpdatePriceListAdjustment {
9869
9869
  * Entity type: PriceListAdjustment
9870
9870
  */
9871
9871
  ParentAdjustmentID?: string;
9872
- PricingGroupID: string | null | undefined;
9872
+ PricingGroupID?: string | null;
9873
9873
  Sequence?: number;
9874
9874
  /**
9875
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.
@@ -9909,7 +9909,7 @@ export interface UpdatePriceListOrganizationUnit {
9909
9909
  * Entity type: PriceListUsageType
9910
9910
  */
9911
9911
  PriceListUsageTypeID: string;
9912
- PricingGroupID: string | null | undefined;
9912
+ PricingGroupID?: string | null;
9913
9913
  /**
9914
9914
  * Entity type: OrganizationUnit
9915
9915
  */
@@ -9921,7 +9921,7 @@ export interface UpdatePriceListUsageType {
9921
9921
  * Entity type: PriceListUsageType
9922
9922
  */
9923
9923
  ID: string;
9924
- RequiredUserType: UserTypes;
9924
+ RequiredUserType?: UserTypes;
9925
9925
  }
9926
9926
  /**
9927
9927
  * Upload an excel file containing all ManualInputPriceListAdjustments for the given PriceListAdjustment. These will replace all exisiting adjustments.
@@ -10033,7 +10033,7 @@ export interface CreateProductBarcode {
10033
10033
  */
10034
10034
  export interface CreateProductRequirement {
10035
10035
  BackendID?: string;
10036
- DataType: DataModelsProductRequirementDataTypes;
10036
+ DataType?: DataModelsProductRequirementDataTypes;
10037
10037
  Handler?: string;
10038
10038
  Name: string;
10039
10039
  OrderType?: DataModelsOrderTypes;
@@ -10061,7 +10061,7 @@ export interface CreateProductSearchTemplate {
10061
10061
  IncludeLeafProducts?: boolean;
10062
10062
  MinimumRefreshInterval?: string;
10063
10063
  Name: string;
10064
- Type: DataModelsProductSearchTemplateTypes;
10064
+ Type?: DataModelsProductSearchTemplateTypes;
10065
10065
  }
10066
10066
  export interface CreateProductSearchTemplateResponse {
10067
10067
  Error?: ServiceError;
@@ -10096,7 +10096,7 @@ export interface CreateSupplierProduct {
10096
10096
  Description?: string;
10097
10097
  PreferredMinimumOrderQuantity?: number;
10098
10098
  PrimitiveName: string;
10099
- Status: DataModelsProductStatus;
10099
+ Status?: DataModelsProductStatus;
10100
10100
  /**
10101
10101
  * Entity type: OrganizationUnit
10102
10102
  */
@@ -10523,7 +10523,7 @@ export interface ProductsProductRequirementDto {
10523
10523
  */
10524
10524
  export interface UpdateProductRequirement {
10525
10525
  BackendID?: string;
10526
- DataType: DataModelsProductRequirementDataTypes;
10526
+ DataType?: DataModelsProductRequirementDataTypes;
10527
10527
  Handler?: string;
10528
10528
  /**
10529
10529
  * Entity type: ProductRequirement
@@ -10541,15 +10541,15 @@ export interface UpdateProductRequirement {
10541
10541
  * Update an existing ProductSearchTemplate
10542
10542
  */
10543
10543
  export interface UpdateProductSearchTemplate {
10544
- AggregationOptions: Record<string, SearchAggregationFilterModel> | null | undefined;
10545
- BackendID: string | null | undefined;
10544
+ AggregationOptions?: Record<string, SearchAggregationFilterModel> | null;
10545
+ BackendID?: string | null;
10546
10546
  Filters?: Record<string, SearchFilterModel>;
10547
10547
  /**
10548
10548
  * Entity type: ProductSearchTemplate
10549
10549
  */
10550
10550
  ID: string;
10551
10551
  IncludeLeafProducts?: boolean;
10552
- MinimumRefreshInterval: string | null | undefined;
10552
+ MinimumRefreshInterval?: string | null;
10553
10553
  Name?: string;
10554
10554
  Type?: DataModelsProductSearchTemplateTypes;
10555
10555
  }
@@ -10584,7 +10584,7 @@ export interface UpdateSupplierProduct {
10584
10584
  ID: string;
10585
10585
  PreferredMinimumOrderQuantity?: number;
10586
10586
  PrimitiveName: string;
10587
- Status: DataModelsProductStatus;
10587
+ Status?: DataModelsProductStatus;
10588
10588
  /**
10589
10589
  * Entity type: TaxCode
10590
10590
  */
@@ -11053,17 +11053,17 @@ export interface SetUserRoles {
11053
11053
  * Update a role.
11054
11054
  */
11055
11055
  export interface UpdateRole {
11056
- Code: string | null | undefined;
11056
+ Code?: string | null;
11057
11057
  /**
11058
11058
  * If this is set, any users that have not logged in after said days will get disabled
11059
11059
  */
11060
- DeactivateUserAfterInactiveDays: number | null | undefined;
11060
+ DeactivateUserAfterInactiveDays?: number | null;
11061
11061
  /**
11062
11062
  * Entity type: Role
11063
11063
  */
11064
11064
  ID: string;
11065
11065
  Name?: string;
11066
- UserType: UserTypes | undefined;
11066
+ UserType?: UserTypes;
11067
11067
  }
11068
11068
  /**
11069
11069
  * Update functionalities on a role.
@@ -11079,12 +11079,12 @@ export interface RightsUpdateRoleFunctionalities_FunctionalityToUpdate {
11079
11079
  /**
11080
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`.
11081
11081
  */
11082
- ElevationScope: SecurityFunctionalityScope | undefined;
11082
+ ElevationScope?: SecurityFunctionalityScope;
11083
11083
  Functionality: string;
11084
11084
  /**
11085
11085
  * Scopes available for this functionality. Should be set to `None (0)` for unscoped functionalities. To remove this functionality, set to `null`.
11086
11086
  */
11087
- Scope: SecurityFunctionalityScope | undefined;
11087
+ Scope?: SecurityFunctionalityScope;
11088
11088
  }
11089
11089
  export interface UpdateRoleSet {
11090
11090
  BackendID?: string;
@@ -11261,7 +11261,7 @@ export interface CreateShippingMethod {
11261
11261
  */
11262
11262
  CarrierID: string;
11263
11263
  Code?: string;
11264
- DeliveryType: DataModelsShippingMethodDeliveryTypes;
11264
+ DeliveryType?: DataModelsShippingMethodDeliveryTypes;
11265
11265
  ExcludeProductsFromShippingMethod?: boolean;
11266
11266
  Handler?: string;
11267
11267
  InvoicingHandledByCarrier?: boolean;
@@ -11325,7 +11325,7 @@ export interface CreateShippingRestriction {
11325
11325
  * Entity type: Script
11326
11326
  */
11327
11327
  ScriptID?: string;
11328
- Type: DataModelsShippingRestrictionType;
11328
+ Type?: DataModelsShippingRestrictionType;
11329
11329
  ZipCodeFrom?: string;
11330
11330
  ZipCodeTo?: string;
11331
11331
  }
@@ -11834,7 +11834,7 @@ export interface UpdateShippingMethod {
11834
11834
  */
11835
11835
  CarrierID: string;
11836
11836
  Code?: string;
11837
- DeliveryType: DataModelsShippingMethodDeliveryTypes;
11837
+ DeliveryType?: DataModelsShippingMethodDeliveryTypes;
11838
11838
  ExcludeProductsFromShippingMethod?: boolean;
11839
11839
  Handler?: string;
11840
11840
  /**
@@ -11886,7 +11886,7 @@ export interface UpdateShippingRestriction {
11886
11886
  /**
11887
11887
  * Entity type: Country
11888
11888
  */
11889
- CountryID: string | null | undefined;
11889
+ CountryID?: string | null;
11890
11890
  /**
11891
11891
  * Entity type: ShippingRestriction
11892
11892
  */
@@ -11894,24 +11894,24 @@ export interface UpdateShippingRestriction {
11894
11894
  /**
11895
11895
  * Entity type: OrganizationUnit
11896
11896
  */
11897
- OrganizationUnitID: string | null | undefined;
11897
+ OrganizationUnitID?: string | null;
11898
11898
  /**
11899
11899
  * Entity type: OrganizationUnitSet
11900
11900
  */
11901
- OrganizationUnitSetID: string | null | undefined;
11901
+ OrganizationUnitSetID?: string | null;
11902
11902
  /**
11903
11903
  * Entity type: ProductPropertyType
11904
11904
  */
11905
- ProductPropertyTypeID: string | null | undefined;
11906
- ProductPropertyTypeValues: string[] | null | undefined;
11907
- ProductSearchTemplateID: string | null | undefined;
11905
+ ProductPropertyTypeID?: string | null;
11906
+ ProductPropertyTypeValues?: string[] | null;
11907
+ ProductSearchTemplateID?: string | null;
11908
11908
  /**
11909
11909
  * Entity type: Script
11910
11910
  */
11911
- ScriptID: string | null | undefined;
11911
+ ScriptID?: string | null;
11912
11912
  Type?: DataModelsShippingRestrictionType;
11913
- ZipCodeFrom: string | null | undefined;
11914
- ZipCodeTo: string | null | undefined;
11913
+ ZipCodeFrom?: string | null;
11914
+ ZipCodeTo?: string | null;
11915
11915
  }
11916
11916
  /**
11917
11917
  * Upload ShippingRestrictions. Expected format is an Excel file.
@@ -11960,9 +11960,9 @@ export interface CreateStockAllocationRule {
11960
11960
  ProductSearchTemplateID?: string;
11961
11961
  RefillPeriodInDays?: number;
11962
11962
  StartDate?: string;
11963
- Type: DataModelsStockAllocationRuleTypes;
11963
+ Type?: DataModelsStockAllocationRuleTypes;
11964
11964
  Value?: number;
11965
- ValueType: DataModelsStockAllocationRuleValueTypes;
11965
+ ValueType?: DataModelsStockAllocationRuleValueTypes;
11966
11966
  }
11967
11967
  /**
11968
11968
  * Create a new StockLabel
@@ -12057,13 +12057,13 @@ export interface UpdateStockAllocationRule {
12057
12057
  * Update the description or ledgerclass of StockLabel
12058
12058
  */
12059
12059
  export interface UpdateStockLabel {
12060
- Description: string | null | undefined;
12061
- DisplayName: string | null | undefined;
12060
+ Description?: string | null;
12061
+ DisplayName?: string | null;
12062
12062
  /**
12063
12063
  * Entity type: StockLabel
12064
12064
  */
12065
12065
  ID: string;
12066
- LedgerClassID: string | null | undefined;
12066
+ LedgerClassID?: string | null;
12067
12067
  }
12068
12068
  /**
12069
12069
  * A service to upload an Excel containing StockAllocationRules that should be created or updated according to the values specified in the sheet.
@@ -12188,8 +12188,8 @@ export interface StockMutationsStockMutationReason {
12188
12188
  * Update a custom or internal stock mutation reason. The name cannot be modified for internal reasons.
12189
12189
  */
12190
12190
  export interface UpdateStockMutationReason {
12191
- BackendID: string | null | undefined;
12192
- Description: string | null | undefined;
12191
+ BackendID?: string | null;
12192
+ Description?: string | null;
12193
12193
  /**
12194
12194
  * Entity type: StockMutationReasons
12195
12195
  */
@@ -12343,7 +12343,7 @@ export interface CreateUserRequirement {
12343
12343
  Display?: boolean;
12344
12344
  Preferred?: boolean;
12345
12345
  Property: string;
12346
- RequiredFor: UsersUserRequirementsUserRequirementFor;
12346
+ RequiredFor?: UsersUserRequirementsUserRequirementFor;
12347
12347
  /**
12348
12348
  * Entity type: Script
12349
12349
  */
@@ -12360,7 +12360,7 @@ export interface CreateUserRequirement {
12360
12360
  * Entity type: UserRequirementSet
12361
12361
  */
12362
12362
  UserRequirementSetID?: string;
12363
- UserType: UserTypes;
12363
+ UserType?: UserTypes;
12364
12364
  }
12365
12365
  export interface CreateUserRequirementResponse {
12366
12366
  Error?: ServiceError;
@@ -12525,16 +12525,16 @@ export interface CreateEmployeeUserResponse {
12525
12525
  * Create or update employeedata for a user
12526
12526
  */
12527
12527
  export interface CreateOrUpdateEmployeeData {
12528
- EmployeeNumber: string | null | undefined;
12529
- Function: string | null | undefined;
12528
+ EmployeeNumber?: string | null;
12529
+ Function?: string | null;
12530
12530
  /**
12531
12531
  * Entity type: User
12532
12532
  */
12533
- ManagerID: string | null | undefined;
12533
+ ManagerID?: string | null;
12534
12534
  /**
12535
12535
  * Entity type: OrganizationUnit
12536
12536
  */
12537
- PrimaryOrganizationUnitID: string | null | undefined;
12537
+ PrimaryOrganizationUnitID?: string | null;
12538
12538
  /**
12539
12539
  * Entity type: User
12540
12540
  */
@@ -13072,8 +13072,8 @@ export interface UpdateSubscription {
13072
13072
  /**
13073
13073
  * The (optional) BackendID of the subscription
13074
13074
  */
13075
- BackendID: string | null | undefined;
13076
- Description: string | null | undefined;
13075
+ BackendID?: string | null;
13076
+ Description?: string | null;
13077
13077
  /**
13078
13078
  * Entity type: Subscription
13079
13079
  */
@@ -13081,7 +13081,7 @@ export interface UpdateSubscription {
13081
13081
  /**
13082
13082
  * Entity type: Inquiry
13083
13083
  */
13084
- InquiryID: string | null | undefined;
13084
+ InquiryID?: string | null;
13085
13085
  /**
13086
13086
  * The name of the subscription
13087
13087
  */
@@ -13127,17 +13127,17 @@ export interface UpdateSubscriptionUserRequirements {
13127
13127
  Requirements: UsersUpdateSubscriptionUserRequirements_UserRequirementDto[];
13128
13128
  }
13129
13129
  export interface UsersUpdateSubscriptionUserRequirements_UserRequirementDto {
13130
- AccountType: DataModelsUserAccountType | undefined;
13131
- CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13130
+ AccountType?: DataModelsUserAccountType;
13131
+ CustomValidators?: Record<string, TAnyValue | null> | null;
13132
13132
  Display?: boolean;
13133
13133
  /**
13134
13134
  * Entity type: UserRequirement
13135
13135
  */
13136
13136
  ID?: string;
13137
13137
  Preferred?: boolean;
13138
- Property: string | null | undefined;
13138
+ Property?: string | null;
13139
13139
  RequiredFor?: UsersUserRequirementsUserRequirementFor;
13140
- UserType: UserTypes | undefined;
13140
+ UserType?: UserTypes;
13141
13141
  }
13142
13142
  /**
13143
13143
  * Update an existing UserOrigin
@@ -13158,24 +13158,24 @@ export interface UpdateUserOrigin {
13158
13158
  * Updates an existing UserRequirement.
13159
13159
  */
13160
13160
  export interface UpdateUserRequirement {
13161
- AccountType: DataModelsUserAccountType | undefined;
13162
- CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13161
+ AccountType?: DataModelsUserAccountType;
13162
+ CustomValidators?: Record<string, TAnyValue | null> | null;
13163
13163
  Display?: boolean;
13164
13164
  /**
13165
13165
  * Entity type: UserRequirement
13166
13166
  */
13167
13167
  ID: string;
13168
13168
  Preferred?: boolean;
13169
- Property: string | null | undefined;
13169
+ Property?: string | null;
13170
13170
  RequiredFor?: UsersUserRequirementsUserRequirementFor;
13171
13171
  /**
13172
13172
  * Entity type: Script
13173
13173
  */
13174
- ScriptID: string | null | undefined;
13174
+ ScriptID?: string | null;
13175
13175
  /**
13176
13176
  * Entity type: ShippingMethod
13177
13177
  */
13178
- ShippingMethodID: string | null | undefined;
13178
+ ShippingMethodID?: string | null;
13179
13179
  UserType?: UserTypes;
13180
13180
  }
13181
13181
  /**
@@ -13186,7 +13186,7 @@ export interface UpdateUserRequirementSet {
13186
13186
  * Entity type: UserRequirementSet
13187
13187
  */
13188
13188
  ID: string;
13189
- Name: string | null | undefined;
13189
+ Name?: string | null;
13190
13190
  /**
13191
13191
  * Entity type: OrganizationUnitSet
13192
13192
  */
@@ -13203,25 +13203,25 @@ export interface UpdateUserRequirementSetRequirements {
13203
13203
  Requirements?: UsersUpdateUserRequirementSetRequirements_UserRequirementDto[];
13204
13204
  }
13205
13205
  export interface UsersUpdateUserRequirementSetRequirements_UserRequirementDto {
13206
- AccountType: DataModelsUserAccountType | undefined;
13207
- CustomValidators: Record<string, TAnyValue | null> | null | undefined;
13206
+ AccountType?: DataModelsUserAccountType;
13207
+ CustomValidators?: Record<string, TAnyValue | null> | null;
13208
13208
  Display?: boolean;
13209
13209
  /**
13210
13210
  * Entity type: UserRequirement
13211
13211
  */
13212
13212
  ID?: string;
13213
13213
  Preferred?: boolean;
13214
- Property: string | null | undefined;
13214
+ Property?: string | null;
13215
13215
  RequiredFor?: UsersUserRequirementsUserRequirementFor;
13216
13216
  /**
13217
13217
  * Entity type: Script
13218
13218
  */
13219
- ScriptID: string | null | undefined;
13219
+ ScriptID?: string | null;
13220
13220
  /**
13221
13221
  * Entity type: ShippingMethod
13222
13222
  */
13223
- ShippingMethodID: string | null | undefined;
13224
- UserType: UserTypes | undefined;
13223
+ ShippingMethodID?: string | null;
13224
+ UserType?: UserTypes;
13225
13225
  }
13226
13226
  /**
13227
13227
  * Get the wishlist by ID.
@@ -13434,7 +13434,7 @@ export interface VisibilityGroupsListVisibilityGroupsResponse_VisibilityGroupDto
13434
13434
  */
13435
13435
  export interface UpdateVisibilityGroup {
13436
13436
  AllowCustomerStandardAccounts?: boolean;
13437
- Description: string | null | undefined;
13437
+ Description?: string | null;
13438
13438
  /**
13439
13439
  * Entity type: VisibilityGroup
13440
13440
  */
@@ -13469,7 +13469,7 @@ export interface EVACoreServicesAssortmentsAddProductsToAssortment_AssortmentPro
13469
13469
  * Entity type: Product
13470
13470
  */
13471
13471
  ProductID: string;
13472
- ProductStatus: DataModelsProductStatus;
13472
+ ProductStatus?: DataModelsProductStatus;
13473
13473
  ProductStatusesToIgnoreToChildProducts?: DataModelsProductStatus;
13474
13474
  StartDate?: string;
13475
13475
  }
@@ -13517,7 +13517,7 @@ export interface EVACoreServicesAssortmentsCreateAssortment_AssortmentProduct {
13517
13517
  * Entity type: Product
13518
13518
  */
13519
13519
  ProductID: string;
13520
- ProductStatus: DataModelsProductStatus;
13520
+ ProductStatus?: DataModelsProductStatus;
13521
13521
  StartDate?: string;
13522
13522
  }
13523
13523
  export interface CreateAssortmentResponse {
@@ -13763,7 +13763,7 @@ export interface ExportGeneralLedgerSummaryToExcel {
13763
13763
  export interface CreateFraudItem {
13764
13764
  Data?: string;
13765
13765
  Object?: TAnyValue;
13766
- Type: DataModelsFraudDataType;
13766
+ Type?: DataModelsFraudDataType;
13767
13767
  }
13768
13768
  export interface CreateFraudItemResponse {
13769
13769
  Error?: ServiceError;