@springtree/eva-services-core-management 3.0.0-beta.40 → 3.0.0-beta.41

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.
@@ -5787,7 +5787,6 @@ export interface CreateLoyaltyProgram<ID_TYPE = string> {
5787
5787
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
5788
5788
  */
5789
5789
  AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
5790
- ApplyManuallyOnly?: boolean;
5791
5790
  /**
5792
5791
  * When true, if a non anonymous customer is attached to the order they will be automatically subscribed on finishing the order.
5793
5792
  * When false, the customer will not be subscribed.
@@ -6274,10 +6273,6 @@ export interface GetLoyaltyProgramProductLimitationResponse<ID_TYPE = string> {
6274
6273
  export interface GetLoyaltyProgramResponse<ID_TYPE = string> {
6275
6274
  AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6276
6275
  /**
6277
- * This property has been deprecated. A loyaltyprogram should always be manually applied.
6278
- */
6279
- ApplyManuallyOnly: boolean;
6280
- /**
6281
6276
  * When true, if a non anonymous customer is attached to the order they will be automatically subscribed on finishing the order.
6282
6277
  * When false, the customer will not be subscribed.
6283
6278
  *
@@ -6793,7 +6788,6 @@ export interface LoyaltyPushLoyaltyProgram<ID_TYPE = string> {
6793
6788
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
6794
6789
  */
6795
6790
  AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
6796
- ApplyManuallyOnly?: boolean;
6797
6791
  /**
6798
6792
  * When true, if a non anonymous customer is attached to the order they will be automatically subscribed on finishing the order.
6799
6793
  * When false, the customer will not be subscribed.
@@ -7049,7 +7043,6 @@ export interface PushLoyaltyProgram_Async<ID_TYPE = string> {
7049
7043
  * Indicates if the subscription can be unsubscribed and if so, who can do the unsubscribe.
7050
7044
  */
7051
7045
  AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
7052
- ApplyManuallyOnly?: boolean;
7053
7046
  /**
7054
7047
  * When true, if a non anonymous customer is attached to the order they will be automatically subscribed on finishing the order.
7055
7048
  * When false, the customer will not be subscribed.
@@ -7318,10 +7311,6 @@ export interface UpdateLoyaltyProgram<ID_TYPE = string> {
7318
7311
  */
7319
7312
  AllowUnsubscribeBy?: DataModelsAllowUnsubscribeByType;
7320
7313
  /**
7321
- * This property has been deprecated. A loyaltyprogram should always be manually applied.
7322
- */
7323
- ApplyManuallyOnly?: boolean;
7324
- /**
7325
7314
  * When true, if a non anonymous customer is attached to the order they will be automatically subscribed on finishing the order.
7326
7315
  * When false, the customer will not be subscribed.
7327
7316
  *
@@ -12988,12 +12977,12 @@ export interface DownloadStockOverview_Async<ID_TYPE = string> {
12988
12977
  DateTime?: string;
12989
12978
  /**
12990
12979
  * Entity type: OrganizationUnit
12991
- * The organization units to list the stock for, will be ignored if `OrganizationUnitSetID` is specified
12980
+ * The organization units to list the stock for
12992
12981
  */
12993
12982
  OrganizationUnitIDs?: ID_TYPE[];
12994
12983
  /**
12995
12984
  * Entity type: OrganizationUnitSet
12996
- * The organization units to list the stock for, when specified, `OrganizationUnitIDs` will be ignored
12985
+ * The organization units set to list the stock for
12997
12986
  */
12998
12987
  OrganizationUnitSetID?: ID_TYPE;
12999
12988
  /**
@@ -13649,6 +13638,55 @@ export interface SurveysGetSurveyQuestionsResponse_Route<ID_TYPE = string> {
13649
13638
  Sequence: number;
13650
13639
  }
13651
13640
  /**
13641
+ * Returns all translatable items within the survey.
13642
+ */
13643
+ export interface GetSurveyTranslatableItems<ID_TYPE = string> {
13644
+ /**
13645
+ * Entity type: Country
13646
+ * Filter on specific country. Only returns exact matches. Translations set solely on language will not be returned because the combination does not exist.
13647
+ */
13648
+ CountryID?: string;
13649
+ /**
13650
+ * Entity type: Language
13651
+ */
13652
+ LanguageID: string;
13653
+ /**
13654
+ * Entity type: Survey
13655
+ */
13656
+ SurveyID: ID_TYPE;
13657
+ }
13658
+ export interface GetSurveyTranslatableItemsResponse<ID_TYPE = string> {
13659
+ Error?: ServiceError<ID_TYPE>;
13660
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
13661
+ QuestionTranslatableItems?: SurveysQuestionTranslatableItem<ID_TYPE>[];
13662
+ TranslatableItems?: SurveysTranslatableItem<ID_TYPE>[];
13663
+ }
13664
+ /**
13665
+ * List the available custom fields for a given survey context
13666
+ */
13667
+ export interface ListCustomFieldsForSurvey<ID_TYPE = string> {
13668
+ CustomFieldName?: string;
13669
+ /**
13670
+ * Entity type: CustomFieldType
13671
+ */
13672
+ CustomFieldTypeIDs?: ID_TYPE[];
13673
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
13674
+ SurveyContext?: DataModelsSurveyContext;
13675
+ }
13676
+ export interface ListCustomFieldsForSurveyResponse<ID_TYPE = string> {
13677
+ AvailableCustomFieldTypes?: SurveysListCustomFieldsForSurveyResponse_AvailableCustomFieldType<ID_TYPE>[];
13678
+ Error?: ServiceError<ID_TYPE>;
13679
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
13680
+ Result: PagedResult<DataModelsCustomFieldMetadata<ID_TYPE>, ID_TYPE>;
13681
+ }
13682
+ export interface SurveysListCustomFieldsForSurveyResponse_AvailableCustomFieldType<ID_TYPE = string> {
13683
+ /**
13684
+ * Entity type: CustomFieldType
13685
+ */
13686
+ ID: ID_TYPE;
13687
+ Name?: string;
13688
+ }
13689
+ /**
13652
13690
  * List the surveys
13653
13691
  */
13654
13692
  export interface ListSurveys<ID_TYPE = string> {
@@ -13735,6 +13773,21 @@ export interface SurveysQuestionResponse_SurveyRemark<ID_TYPE = string> {
13735
13773
  Message?: string;
13736
13774
  Title?: string;
13737
13775
  }
13776
+ export interface SurveysQuestionRouteTranslatableItem<ID_TYPE = string> {
13777
+ /**
13778
+ * Entity type: SurveyQuestionRoute
13779
+ */
13780
+ QuestionRouteID: ID_TYPE;
13781
+ TranslatableItems: SurveysTranslatableItem<ID_TYPE>[];
13782
+ }
13783
+ export interface SurveysQuestionTranslatableItem<ID_TYPE = string> {
13784
+ /**
13785
+ * Entity type: SurveyQuestion
13786
+ */
13787
+ QuestionID: ID_TYPE;
13788
+ QuestionRouteTranslatableItems?: SurveysQuestionRouteTranslatableItem<ID_TYPE>[];
13789
+ TranslatableItems?: SurveysTranslatableItem<ID_TYPE>[];
13790
+ }
13738
13791
  /**
13739
13792
  * Takes in all routings of a question and sets their sequences.
13740
13793
  */
@@ -13762,6 +13815,25 @@ export interface SetSurveyQuestionSequences<ID_TYPE = string> {
13762
13815
  SurveyQuestionIDs: ID_TYPE[];
13763
13816
  }
13764
13817
  /**
13818
+ * Set all translatable items within the survey.
13819
+ */
13820
+ export interface SetSurveyTranslatableItems<ID_TYPE = string> {
13821
+ /**
13822
+ * Entity type: Country
13823
+ */
13824
+ CountryID?: string;
13825
+ /**
13826
+ * Entity type: Language
13827
+ */
13828
+ LanguageID: string;
13829
+ QuestionTranslatableItems?: SurveysQuestionTranslatableItem<ID_TYPE>[];
13830
+ /**
13831
+ * Entity type: Survey
13832
+ */
13833
+ SurveyID: ID_TYPE;
13834
+ TranslatableItems?: SurveysTranslatableItem<ID_TYPE>[];
13835
+ }
13836
+ /**
13765
13837
  * Start a survey
13766
13838
  */
13767
13839
  export interface StartSurvey<ID_TYPE = string> {
@@ -13829,6 +13901,11 @@ export interface SurveysSurveyQuestionDto<ID_TYPE = string> {
13829
13901
  Required: boolean;
13830
13902
  Text?: string;
13831
13903
  }
13904
+ export interface SurveysTranslatableItem<ID_TYPE = string> {
13905
+ OriginalValue?: string;
13906
+ TranslationKey: string;
13907
+ TranslationValue?: string;
13908
+ }
13832
13909
  /**
13833
13910
  * Update a survey.
13834
13911
  * NOTE THAT after update, the published survey will remain active and the current data will be taken into draft mode for republishing.