@commercetools-frontend-extensions/change-history 8.30.0 → 8.31.0

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.
Files changed (32) hide show
  1. package/dist/commercetools-frontend-extensions-change-history.cjs.dev.js +10244 -10595
  2. package/dist/commercetools-frontend-extensions-change-history.cjs.prod.js +9545 -9818
  3. package/dist/commercetools-frontend-extensions-change-history.esm.js +10124 -10477
  4. package/dist/{de-b245b4c9.cjs.dev.js → de-2d0dac29.cjs.prod.js} +7 -3
  5. package/dist/{de-72b56e58.esm.js → de-5a7519c6.esm.js} +7 -3
  6. package/dist/{de-f114d6a4.cjs.prod.js → de-e4cdf8e8.cjs.dev.js} +7 -3
  7. package/dist/declarations/src/components/change-history/change-history.d.ts +4 -4
  8. package/dist/declarations/src/components/change-history-link/change-history-link.d.ts +10 -9
  9. package/dist/declarations/src/constants/constants.d.ts +147 -0
  10. package/dist/declarations/src/constants/filters.d.ts +44 -0
  11. package/dist/declarations/src/constants/index.d.ts +5 -0
  12. package/dist/declarations/src/constants/intervals.d.ts +18 -0
  13. package/dist/declarations/src/constants/resource-change-input.d.ts +31 -0
  14. package/dist/declarations/src/i18n/load-i18n.d.ts +8 -0
  15. package/dist/declarations/src/types/common-types.d.ts +4 -7
  16. package/dist/declarations/types/src/generated/change-history.d.ts +52 -2
  17. package/dist/{en-453cd5f9.esm.js → en-435e2878.esm.js} +4 -0
  18. package/dist/{en-7ace6551.cjs.dev.js → en-d3f15762.cjs.dev.js} +4 -0
  19. package/dist/{en-e3b6907e.cjs.prod.js → en-f686bae6.cjs.prod.js} +4 -0
  20. package/dist/{es-e82913af.cjs.prod.js → es-470d7c59.cjs.prod.js} +6 -2
  21. package/dist/{es-b027454b.esm.js → es-c15fdbfa.esm.js} +6 -2
  22. package/dist/{es-50e021f2.cjs.dev.js → es-de7e09de.cjs.dev.js} +6 -2
  23. package/dist/{fr-FR-f0f2dd31.cjs.dev.js → fr-FR-1afefd2c.cjs.prod.js} +6 -2
  24. package/dist/{fr-FR-a2638177.esm.js → fr-FR-5fe78c89.esm.js} +6 -2
  25. package/dist/{fr-FR-32b2c489.cjs.prod.js → fr-FR-8909c899.cjs.dev.js} +6 -2
  26. package/dist/{pt-BR-9a9eeba2.esm.js → pt-BR-c621f022.esm.js} +7 -3
  27. package/dist/{pt-BR-f170f5c6.cjs.dev.js → pt-BR-cacedef8.cjs.dev.js} +7 -3
  28. package/dist/{pt-BR-e422e938.cjs.prod.js → pt-BR-cb7d18e7.cjs.prod.js} +7 -3
  29. package/package.json +22 -23
  30. package/dist/zh-CN-29aa5f88.cjs.dev.js +0 -3662
  31. package/dist/zh-CN-316e5511.esm.js +0 -3660
  32. package/dist/zh-CN-31b7f960.cjs.prod.js +0 -3662
@@ -27,6 +27,10 @@ var de = {
27
27
  developer_comment: "Message for when an entity has been deleted",
28
28
  string: "Deleted entity"
29
29
  },
30
+ "ChangeHistory.explorePremium.altImagePremiumHero": {
31
+ developer_comment: "Alt description for the Premium Hero image.",
32
+ string: "Premium features banner"
33
+ },
30
34
  "ChangeHistory.explorePremium.basicVsPremiumBody": {
31
35
  developer_comment: "Text for the body of the basic vs premium section",
32
36
  string: "Audit log Standard bietet nur Einblicke in die von Merchant Center-Benutzern vorgenommenen Änderungen. Die meisten Änderungen, beispielsweise Produktänderungen, werden jedoch über einen Integrationspunkt oder eine API-Nachricht initiiert. Nur Audit log Premium kann Änderungen aus API-Nachrichten, Massenimporten und benutzerdefinierten Objekten nachverfolgen und diese Informationen bis zu 3 Jahre lang aufbewahren."
@@ -169,7 +173,7 @@ var de = {
169
173
  },
170
174
  "ChangeHistory.filters.basicFilterGroupTitle": {
171
175
  developer_comment: "Label for basic filter group title",
172
- string: "Basic"
176
+ string: "Standard"
173
177
  },
174
178
  "ChangeHistory.filters.businessUnitFilter": {
175
179
  developer_comment: "Label for business unit filter",
@@ -213,11 +217,11 @@ var de = {
213
217
  },
214
218
  "ChangeHistory.filters.premiumFeatureTooltip": {
215
219
  developer_comment: "Title for the tooltip on disabled filter options when on Basic Tier",
216
- string: "Upgrade to Premium tier for access"
220
+ string: "Upgrade auf die Premium-Zugangsstufe"
217
221
  },
218
222
  "ChangeHistory.filters.premiumFilterGroupTitle": {
219
223
  developer_comment: "Label for premium filter group title",
220
- string: "Premium only"
224
+ string: "Nur Premium"
221
225
  },
222
226
  "ChangeHistory.filters.resourceTypeFilter": {
223
227
  developer_comment: "Label for filter entity type",
@@ -25,6 +25,10 @@ var de = {
25
25
  developer_comment: "Message for when an entity has been deleted",
26
26
  string: "Deleted entity"
27
27
  },
28
+ "ChangeHistory.explorePremium.altImagePremiumHero": {
29
+ developer_comment: "Alt description for the Premium Hero image.",
30
+ string: "Premium features banner"
31
+ },
28
32
  "ChangeHistory.explorePremium.basicVsPremiumBody": {
29
33
  developer_comment: "Text for the body of the basic vs premium section",
30
34
  string: "Audit log Standard bietet nur Einblicke in die von Merchant Center-Benutzern vorgenommenen Änderungen. Die meisten Änderungen, beispielsweise Produktänderungen, werden jedoch über einen Integrationspunkt oder eine API-Nachricht initiiert. Nur Audit log Premium kann Änderungen aus API-Nachrichten, Massenimporten und benutzerdefinierten Objekten nachverfolgen und diese Informationen bis zu 3 Jahre lang aufbewahren."
@@ -167,7 +171,7 @@ var de = {
167
171
  },
168
172
  "ChangeHistory.filters.basicFilterGroupTitle": {
169
173
  developer_comment: "Label for basic filter group title",
170
- string: "Basic"
174
+ string: "Standard"
171
175
  },
172
176
  "ChangeHistory.filters.businessUnitFilter": {
173
177
  developer_comment: "Label for business unit filter",
@@ -211,11 +215,11 @@ var de = {
211
215
  },
212
216
  "ChangeHistory.filters.premiumFeatureTooltip": {
213
217
  developer_comment: "Title for the tooltip on disabled filter options when on Basic Tier",
214
- string: "Upgrade to Premium tier for access"
218
+ string: "Upgrade auf die Premium-Zugangsstufe"
215
219
  },
216
220
  "ChangeHistory.filters.premiumFilterGroupTitle": {
217
221
  developer_comment: "Label for premium filter group title",
218
- string: "Premium only"
222
+ string: "Nur Premium"
219
223
  },
220
224
  "ChangeHistory.filters.resourceTypeFilter": {
221
225
  developer_comment: "Label for filter entity type",
@@ -27,6 +27,10 @@ var de = {
27
27
  developer_comment: "Message for when an entity has been deleted",
28
28
  string: "Deleted entity"
29
29
  },
30
+ "ChangeHistory.explorePremium.altImagePremiumHero": {
31
+ developer_comment: "Alt description for the Premium Hero image.",
32
+ string: "Premium features banner"
33
+ },
30
34
  "ChangeHistory.explorePremium.basicVsPremiumBody": {
31
35
  developer_comment: "Text for the body of the basic vs premium section",
32
36
  string: "Audit log Standard bietet nur Einblicke in die von Merchant Center-Benutzern vorgenommenen Änderungen. Die meisten Änderungen, beispielsweise Produktänderungen, werden jedoch über einen Integrationspunkt oder eine API-Nachricht initiiert. Nur Audit log Premium kann Änderungen aus API-Nachrichten, Massenimporten und benutzerdefinierten Objekten nachverfolgen und diese Informationen bis zu 3 Jahre lang aufbewahren."
@@ -169,7 +173,7 @@ var de = {
169
173
  },
170
174
  "ChangeHistory.filters.basicFilterGroupTitle": {
171
175
  developer_comment: "Label for basic filter group title",
172
- string: "Basic"
176
+ string: "Standard"
173
177
  },
174
178
  "ChangeHistory.filters.businessUnitFilter": {
175
179
  developer_comment: "Label for business unit filter",
@@ -213,11 +217,11 @@ var de = {
213
217
  },
214
218
  "ChangeHistory.filters.premiumFeatureTooltip": {
215
219
  developer_comment: "Title for the tooltip on disabled filter options when on Basic Tier",
216
- string: "Upgrade to Premium tier for access"
220
+ string: "Upgrade auf die Premium-Zugangsstufe"
217
221
  },
218
222
  "ChangeHistory.filters.premiumFilterGroupTitle": {
219
223
  developer_comment: "Label for premium filter group title",
220
- string: "Premium only"
224
+ string: "Nur Premium"
221
225
  },
222
226
  "ChangeHistory.filters.resourceTypeFilter": {
223
227
  developer_comment: "Label for filter entity type",
@@ -1,5 +1,5 @@
1
+ declare const ChangeHistoryRoutes: {
2
+ (): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
+ displayName: string;
4
+ };
1
5
  export default ChangeHistoryRoutes;
2
- declare function ChangeHistoryRoutes(): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
- declare namespace ChangeHistoryRoutes {
4
- let displayName: string;
5
- }
@@ -1,12 +1,13 @@
1
- export default ChangeHistoryLink;
1
+ import type { TResourceModalType } from "../../constants/index.js";
2
+ type TChangeHistoryLinkProps = {
3
+ to: string;
4
+ resource?: TResourceModalType;
5
+ };
2
6
  /**
3
7
  * Renders a link for opening a change history in-context view
4
8
  */
5
- declare function ChangeHistoryLink(props: any): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
6
- declare namespace ChangeHistoryLink {
7
- let displayName: string;
8
- namespace propTypes {
9
- let to: any;
10
- let resource: any;
11
- }
12
- }
9
+ declare const ChangeHistoryLink: {
10
+ (props: TChangeHistoryLinkProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
11
+ displayName: string;
12
+ };
13
+ export default ChangeHistoryLink;
@@ -0,0 +1,147 @@
1
+ import { ValueOf } from "../types/common-types.js";
2
+ import { TierLevels } from "../../types/src/generated/change-history.js";
3
+ export declare const PERMISSIONS: {
4
+ readonly ViewAuditLog: "ViewAuditLog";
5
+ readonly ViewBusinessUnits: "ViewBusinessUnits";
6
+ readonly ViewCartDiscounts: "ViewCartDiscounts";
7
+ readonly ViewCategories: "ViewCategories";
8
+ readonly ViewCustomers: "ViewCustomers";
9
+ readonly ViewCustomerGroups: "ViewCustomerGroups";
10
+ readonly ViewCustomObjets: "ViewCustomObjets";
11
+ readonly ViewDeveloperSettings: "ViewDeveloperSettings";
12
+ readonly ViewDiscountCodes: "ViewDiscountCodes";
13
+ readonly ViewMessages: "ViewMessages";
14
+ readonly ViewOrders: "ViewOrders";
15
+ readonly ViewProducts: "ViewProducts";
16
+ readonly ViewProductDiscounts: "ViewProductDiscounts";
17
+ readonly ViewProductSelections: "ViewProductSelections";
18
+ readonly ViewProductTypes: "ViewProductTypes";
19
+ readonly ViewProjectSettings: "ViewProjectSettings";
20
+ readonly ViewQuotes: "ViewQuotes";
21
+ };
22
+ export declare const DATA_FENCE_RESOURCE_TYPES: {
23
+ readonly CUSTOMERS: "customers";
24
+ readonly ORDERS: "orders";
25
+ };
26
+ export declare const DATA_FENCE_PERMISSION_TYPES: {
27
+ readonly MANAGE: "manage";
28
+ readonly VIEW: "view";
29
+ };
30
+ export declare const PERMISSION_RESOURCES: {
31
+ readonly canViewAssociateRoles: readonly ["AssociateRole"];
32
+ readonly canViewBusinessUnits: readonly ["BusinessUnit"];
33
+ readonly canViewCartDiscounts: readonly ["CartDiscount"];
34
+ readonly canViewCategories: readonly ["Category"];
35
+ readonly canViewCustomers: readonly ["Customer"];
36
+ readonly canViewCustomerGroups: readonly ["CustomerGroup"];
37
+ readonly canViewCustomObjects: readonly ["CustomObject"];
38
+ readonly canViewDiscountCodes: readonly ["DiscountCode"];
39
+ readonly canViewProducts: readonly ["Product", "InventoryEntry", "Review"];
40
+ readonly canViewProductDiscounts: readonly ["ProductDiscount"];
41
+ readonly canViewProductSelections: readonly ["ProductSelection"];
42
+ readonly canViewProductTypes: readonly ["ProductType"];
43
+ readonly canViewProjectSettings: readonly ["Channel", "Store", "TaxCategory", "Zone"];
44
+ readonly canViewOrders: readonly ["Order"];
45
+ readonly canViewPayments: readonly ["Payment"];
46
+ readonly canViewQuotes: readonly ["Quote"];
47
+ readonly canViewQuoteRequests: readonly ["QuoteRequest"];
48
+ readonly canViewShoppingLists: readonly ["ShoppingList"];
49
+ readonly canViewStagedQuotes: readonly ["StagedQuote"];
50
+ readonly canViewStates: readonly ["State"];
51
+ readonly canViewTypes: readonly ["Type"];
52
+ };
53
+ export declare const ASSOCIATE_ROLE_PERMISSIONS: {
54
+ readonly ACCEPT_MY_QUOTES: "AcceptMyQuotes";
55
+ readonly ACCEPT_OTHERS_QUOTES: "AcceptOthersQuotes";
56
+ readonly ADD_CHILD_UNITS: "AddChildUnits";
57
+ readonly CREATE_MY_CARTS: "CreateMyCarts";
58
+ readonly CREATE_MY_ORDERS_FROM_MY_CARTS: "CreateMyOrdersFromMyCarts";
59
+ readonly CREATE_MY_ORDERS_FROM_MY_QUOTES: "CreateMyOrdersFromMyQuotes";
60
+ readonly CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS: "CreateMyQuoteRequestsFromMyCarts";
61
+ readonly CREATE_ORDERS_FROM_OTHERS_CARTS: "CreateOrdersFromOthersCarts";
62
+ readonly CREATE_ORDERS_FROM_OTHERS_QUOTES: "CreateOrdersFromOthersQuotes";
63
+ readonly CREATE_OTHERS_CARTS: "CreateOthersCarts";
64
+ readonly CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS: "CreateQuoteRequestsFromOthersCarts";
65
+ readonly DECLINE_MY_QUOTES: "DeclineMyQuotes";
66
+ readonly DECLINE_OTHERS_QUOTES: "DeclineOthersQuotes";
67
+ readonly DELETE_MY_CARTS: "DeleteMyCarts";
68
+ readonly DELETE_OTHERS_CARTS: "DeleteOthersCarts";
69
+ readonly REASSIGN_MY_QUOTES: "ReassignMyQuotes";
70
+ readonly REASSIGN_OTHERS_QUOTES: "ReassignOthersQuotes";
71
+ readonly RENEGOTIATE_MY_QUOTES: "RenegotiateMyQuotes";
72
+ readonly RENEGOTIATE_OTHERS_QUOTES: "RenegotiateOthersQuotes";
73
+ readonly UPDATE_ASSOCIATES: "UpdateAssociates";
74
+ readonly UPDATE_BUSINESS_UNIT_DETAILS: "UpdateBusinessUnitDetails";
75
+ readonly UPDATE_MY_CARTS: "UpdateMyCarts";
76
+ readonly UPDATE_MY_ORDERS: "UpdateMyOrders";
77
+ readonly UPDATE_MY_QUOTE_REQUESTS: "UpdateMyQuoteRequests";
78
+ readonly UPDATE_OTHERS_CARTS: "UpdateOthersCarts";
79
+ readonly UPDATE_OTHERS_ORDERS: "UpdateOthersOrders";
80
+ readonly UPDATE_OTHERS_QUOTE_REQUESTS: "UpdateOthersQuoteRequests";
81
+ readonly UPDATE_PARENT_UNIT: "UpdateParentUnit";
82
+ readonly VIEW_MY_CARTS: "ViewMyCarts";
83
+ readonly VIEW_MY_ORDERS: "ViewMyOrders";
84
+ readonly VIEW_MY_QUOTES: "ViewMyQuotes";
85
+ readonly VIEW_MY_QUOTE_REQUESTS: "ViewMyQuoteRequests";
86
+ readonly VIEW_OTHERS_CARTS: "ViewOthersCarts";
87
+ readonly VIEW_OTHERS_ORDERS: "ViewOthersOrders";
88
+ readonly VIEW_OTHERS_QUOTES: "ViewOthersQuotes";
89
+ readonly VIEW_OTHERS_QUOTE_REQUESTS: "ViewOthersQuoteRequests";
90
+ };
91
+ export declare const SEARCH_SLICE_NAME_CHANGE_HISTORY = "change-history";
92
+ export declare const DEFAULT_TIER_VALUE = TierLevels.Basic;
93
+ export declare const FIELD_TYPES: {
94
+ readonly Money: "Money";
95
+ readonly LocalizedString: "LocalizedString";
96
+ readonly Time: "Time";
97
+ readonly DateTime: "DateTime";
98
+ readonly Boolean: "Boolean";
99
+ readonly String: "String";
100
+ readonly Enum: "Enum";
101
+ readonly LocalizedEnum: "LocalizedEnum";
102
+ readonly Number: "Number";
103
+ readonly Date: "Date";
104
+ readonly Reference: "Reference";
105
+ readonly Set: "Set";
106
+ };
107
+ export declare const COLUMNS: {
108
+ readonly ACTION: "action";
109
+ readonly BUSINESS_UNIT: "businessUnit";
110
+ readonly CHANGES: "additionalData";
111
+ readonly LAST_MODIFIED: "lastModifiedAt";
112
+ readonly RESOURCE: "resource";
113
+ readonly RESOURCE_TYPE: "resourceType";
114
+ readonly STORES: "stores";
115
+ readonly MODIFIED_BY: "modifiedBy";
116
+ readonly VERSION: "version";
117
+ };
118
+ export type TColumns = ValueOf<typeof COLUMNS>;
119
+ export declare const permissions: {
120
+ readonly ViewCustomerGroups: "ViewCustomerGroups";
121
+ readonly ViewCustomObjects: "ViewCustomObjects";
122
+ readonly ViewStates: "ViewStates";
123
+ };
124
+ export declare const PRECISION_TYPES: {
125
+ readonly highPrecision: "highPrecision";
126
+ readonly centPrecision: "centPrecision";
127
+ };
128
+ export declare const MODIFIED_BY_TYPES: {
129
+ readonly USER: "user";
130
+ readonly EXTERNAL_USER: "externalUser";
131
+ readonly ASSOCIATE: "associate";
132
+ };
133
+ export declare const CHANGE_HISTORY_DOCUMENTATION = "https://docs.commercetools.com/merchant-center/change-history";
134
+ export declare const USER_RESEARCH_PROGRAM = "https://ok.commercetools.com/user-research-program?utm_term=auditlog_general";
135
+ export declare const STORAGE_KEYS: {
136
+ readonly DISMISSALS: "dismissals";
137
+ readonly EXPIRY: "expiry";
138
+ readonly RECORD_STATUS: "record-status";
139
+ readonly USER_RESEARCH: "user-research";
140
+ readonly WELCOME_DIALOG: "welcome-modal";
141
+ };
142
+ export declare const AVATAR_COLORS: {
143
+ readonly ACCENT: "accent";
144
+ readonly PURPLE: "purple";
145
+ readonly TURQUOISE: "turquoise";
146
+ readonly BROWN: "brown";
147
+ };
@@ -0,0 +1,44 @@
1
+ import { ValueOf } from "../types/common-types.js";
2
+ export declare const FILTER_OPTION_KEYS: {
3
+ readonly API_CLIENT: "apiClientId";
4
+ readonly BUSINESS_UNIT: "businessUnit";
5
+ readonly CHANGE: "resourceChange";
6
+ readonly CHANGE_TYPE: "changeType";
7
+ readonly CUSTOMER_ID: "customerId";
8
+ readonly DATE_RANGE: "createdAt";
9
+ readonly ENTITY_ID: "resourceId";
10
+ readonly ENTITY_TYPE: "resource.typeId";
11
+ readonly EXCLUDE_PLATFORM_CHANGES: "excludePlatformInitiatedChanges";
12
+ readonly SOURCE: "isPlatformClient";
13
+ readonly STORES: "stores";
14
+ readonly MODIFIED_BY: "createdBy.id";
15
+ };
16
+ export type TFilterOptionKey = ValueOf<typeof FILTER_OPTION_KEYS>;
17
+ export declare const FILTER_TYPES: {
18
+ readonly lessThan: "lessThan";
19
+ readonly moreThan: "moreThan";
20
+ readonly equalTo: "equalTo";
21
+ readonly range: "range";
22
+ readonly missing: "missing";
23
+ readonly missingIn: "missingIn";
24
+ readonly in: "in";
25
+ readonly resourceChange: "resourceChange";
26
+ };
27
+ export type TFilterTypeKeys = keyof typeof FILTER_TYPES;
28
+ export type TFilterType = ValueOf<typeof FILTER_TYPES>;
29
+ export declare const quickFilterToday = "today";
30
+ export declare const quickFilterYesterday = "yesterday";
31
+ export declare const quickFilterLast7Days = "last7Days";
32
+ export declare const quickFilterLast30Days = "last30Days";
33
+ export declare const quickFilterCustom = "custom";
34
+ export declare const TOOL_OPTIONS: {
35
+ readonly MERCHANT_CENTER: "MERCHANT_CENTER";
36
+ readonly IMPEX: "IMPEX";
37
+ readonly OUT_OF_PLATFORM: "API_CLIENT";
38
+ };
39
+ export type TToolOptions = ValueOf<typeof TOOL_OPTIONS>;
40
+ export declare const SOURCE_OPTIONS: {
41
+ readonly MERCHANT_CENTER: "MerchantCenter";
42
+ readonly IMPEX: "ImpEx";
43
+ readonly API_CLIENT: "ApiClient";
44
+ };
@@ -0,0 +1,5 @@
1
+ export * from "./resource-change-input.js";
2
+ export * from "./constants.js";
3
+ export * from "./filters.js";
4
+ export * from "./intervals.js";
5
+ export * from "./resource-types.js";
@@ -0,0 +1,18 @@
1
+ export declare const REMINDER_OPTION_1_HOUR = "1hour";
2
+ export declare const REMINDER_OPTION_4_HOUR = "4hour";
3
+ export declare const REMINDER_OPTION_1_DAY = "1day";
4
+ export declare const REMINDER_OPTION_2_DAY = "2day";
5
+ export declare const REMINDER_OPTION_3_DAY = "3day";
6
+ export declare const REMINDER_OPTION_5_DAY = "5day";
7
+ export declare const REMINDER_OPTION_7_DAY = "7day";
8
+ export declare const REMINDER_OPTION_10_DAY = "10day";
9
+ export declare const INTERVALS_IN_SECONDS: {
10
+ "1hour": number;
11
+ "4hour": number;
12
+ "1day": number;
13
+ "2day": number;
14
+ "3day": number;
15
+ "5day": number;
16
+ "7day": number;
17
+ "10day": number;
18
+ };
@@ -0,0 +1,31 @@
1
+ import { ResourceChangeInput } from "../../types/src/generated/change-history.js";
2
+ import { ValueOf } from "../types/common-types.js";
3
+ export declare const SUBSCRIPTION_CHANGE_TYPE_NAME: {
4
+ readonly ADD_CHANGES: "addChanges";
5
+ readonly REMOVE_CHANGES: "removeChanges";
6
+ readonly REMOVE_MESSAGES: "removeMessages";
7
+ readonly ADD_MESSAGES: "addMessages";
8
+ readonly ADD_TRIGGERS: "addTriggers";
9
+ };
10
+ export declare const STORE_CHANGE_TYPE_NAME: {
11
+ readonly ADD_DISTRIBUTION_CHANNEL: "addDistributionChannel";
12
+ readonly ADD_SUPPLY_CHANNEL: "addSupplyChannel";
13
+ readonly REMOVE_DISTRIBUTION_CHANNEL: "removeDistributionChannel";
14
+ readonly REMOVE_SUPPLY_CHANNEL: "removeSupplyChannel";
15
+ };
16
+ export declare const DISCOUNT_CHANGE_TYPE_NAME: {
17
+ readonly REMOVE_VALID_FROM: "removeValidFrom";
18
+ readonly REMOVE_VALID_UNTIL: "removeValidUntil";
19
+ };
20
+ export declare const UNKNOWN_CHANGE_TYPE_NAME: {
21
+ readonly UNKNOWN_CHANGE: "unknownChange";
22
+ };
23
+ export type TResourceChangeInputName = ValueOf<typeof ResourceChangeInput> | typeof UNKNOWN_CHANGE_TYPE_NAME.UNKNOWN_CHANGE;
24
+ export declare const composedValues: readonly [ResourceChangeInput.AddAddress, ResourceChangeInput.AddAsset, ResourceChangeInput.AddAssociate, ResourceChangeInput.AddAttributeDefinition, ResourceChangeInput.AddBillingAddressId, ResourceChangeInput.AddCustomLineItem, ResourceChangeInput.AddDelivery, ResourceChangeInput.AddDiscountCode, ResourceChangeInput.AddEnumValue, ResourceChangeInput.AddExternalImage, ResourceChangeInput.AddFieldDefinition, ResourceChangeInput.AddInheritedAssociate, ResourceChangeInput.AddInterfaceInteraction, ResourceChangeInput.AddItemShippingAddress, ResourceChangeInput.AddLineItem, ResourceChangeInput.AddLocalizedEnumValue, ResourceChangeInput.AddLocation, ResourceChangeInput.AddParcelToDelivery, ResourceChangeInput.AddPayment, ResourceChangeInput.AddPlainEnumValue, ResourceChangeInput.AddPrice, ResourceChangeInput.AddProperty, ResourceChangeInput.AddReturnInfo, ResourceChangeInput.AddRoles, ResourceChangeInput.AddShippingAddressId, ResourceChangeInput.AddTaxRate, ResourceChangeInput.AddTextLineItem, ResourceChangeInput.AddToCategory, ResourceChangeInput.AddTransaction, ResourceChangeInput.AddVariant, ResourceChangeInput.ChangeAddress, ResourceChangeInput.ChangeAssetName, ResourceChangeInput.ChangeAssetOrder, ResourceChangeInput.ChangeAssociate, ResourceChangeInput.ChangeAttributeConstraint, ResourceChangeInput.ChangeAttributeOrderByName, ResourceChangeInput.ChangeCustomLineItemQuantity, ResourceChangeInput.ChangeEnumKey, ResourceChangeInput.ChangeEnumValueLabel, ResourceChangeInput.ChangeEnumValueOrder, ResourceChangeInput.ChangeFieldDefinitionOrder, ResourceChangeInput.ChangeInheritedAssociate, ResourceChangeInput.ChangeInputHint, ResourceChangeInput.ChangeIsSearchable, ResourceChangeInput.ChangeLineItemQuantity, ResourceChangeInput.ChangeLocalizedEnumValueLabel, ResourceChangeInput.ChangeLocalizedEnumValueOrder, ResourceChangeInput.ChangePlainEnumValueLabel, ResourceChangeInput.ChangePlainEnumValueOrder, ResourceChangeInput.ChangePrice, ResourceChangeInput.ChangeStatus, ResourceChangeInput.ChangeTextLineItemName, ResourceChangeInput.ChangeTextLineItemQuantity, ResourceChangeInput.RemoveAddress, ResourceChangeInput.RemoveAsset, ResourceChangeInput.RemoveAssociate, ResourceChangeInput.RemoveAttributeDefinition, ResourceChangeInput.RemoveBillingAddressId, ResourceChangeInput.RemoveCustomLineItem, ResourceChangeInput.RemoveDelivery, ResourceChangeInput.RemoveDiscountCode, ResourceChangeInput.RemoveEnumValues, ResourceChangeInput.RemoveFieldDefinition, ResourceChangeInput.RemoveFromCategory, ResourceChangeInput.RemoveImage, ResourceChangeInput.RemoveInheritedAssociate, ResourceChangeInput.RemoveItemShippingAddress, ResourceChangeInput.RemoveLineItem, ResourceChangeInput.RemoveLocation, ResourceChangeInput.RemoveParcelFromDelivery, ResourceChangeInput.RemovePayment, ResourceChangeInput.RemovePrice, ResourceChangeInput.RemoveProperty, ResourceChangeInput.RemoveRoles, ResourceChangeInput.RemoveShippingAddressId, ResourceChangeInput.RemoveTaxRate, ResourceChangeInput.RemoveTextLineItem, ResourceChangeInput.RemoveVariant, ResourceChangeInput.RequestQuoteRenegotiation, ResourceChangeInput.SetAddressCustomField, ResourceChangeInput.SetAddressCustomType, ResourceChangeInput.SetAssetCustomField, ResourceChangeInput.SetAssetCustomType, ResourceChangeInput.SetAssetDescription, ResourceChangeInput.SetAssetKey, ResourceChangeInput.SetAssetSources, ResourceChangeInput.SetAssetTags, ResourceChangeInput.SetAttribute, ResourceChangeInput.SetCustomField, ResourceChangeInput.SetCustomLineItemCustomField, ResourceChangeInput.SetCustomLineItemCustomType, ResourceChangeInput.SetCustomLineItemMoney, ResourceChangeInput.SetCustomLineItemShippingDetails, ResourceChangeInput.SetCustomLineItemTaxedPrice, ResourceChangeInput.SetCustomLineItemTaxAmount, ResourceChangeInput.SetCustomLineItemTaxCategory, ResourceChangeInput.SetCustomLineItemTaxRate, ResourceChangeInput.SetCustomLineItemTotalPrice, ResourceChangeInput.SetDefaultBillingAddress, ResourceChangeInput.SetDefaultShippingAddress, ResourceChangeInput.SetDeliveryAddress, ResourceChangeInput.SetDeliveryCustomField, ResourceChangeInput.SetDeliveryItems, ResourceChangeInput.SetDiscountedPrice, ResourceChangeInput.SetLineItemCustomField, ResourceChangeInput.SetLineItemCustomType, ResourceChangeInput.SetLineItemDiscountedPrice, ResourceChangeInput.SetLineItemDiscountedPricePerQuantity, ResourceChangeInput.SetLineItemDistributionChannel, ResourceChangeInput.SetLineItemPrice, ResourceChangeInput.SetLineItemProductSlug, ResourceChangeInput.SetLineItemShippingDetails, ResourceChangeInput.SetLineItemTaxedPrice, ResourceChangeInput.SetLineItemTaxAmount, ResourceChangeInput.SetLineItemTaxRate, ResourceChangeInput.SetLineItemTotalPrice, ResourceChangeInput.SetParcelCustomField, ResourceChangeInput.SetParcelItems, ResourceChangeInput.SetParcelMeasurements, ResourceChangeInput.SetParcelTrackingData, ResourceChangeInput.SetProperty, ResourceChangeInput.SetReturnItemCustomField, ResourceChangeInput.SetTextLineItemCustomField, ResourceChangeInput.SetTextLineItemCustomType, ResourceChangeInput.SetTextLineItemDescription, ResourceChangeInput.SetValue, ResourceChangeInput.SetVariantAvailability, ResourceChangeInput.SetTransactionCustomField, ResourceChangeInput.TransitionCustomLineItemState, ResourceChangeInput.TransitionLineItemState, ResourceChangeInput.UpdateItemShippingAddress, ResourceChangeInput.UpdateSyncInfo];
25
+ export type TComposedValues = (typeof composedValues)[number];
26
+ export declare const multiComposedValues: readonly [ResourceChangeInput.AddProduct, ResourceChangeInput.RemoveProduct];
27
+ export type TMultiComposedValues = (typeof multiComposedValues)[number];
28
+ export declare const changesWithoutValues: readonly [ResourceChangeInput.Publish, ResourceChangeInput.SetPassword, "unknownChange", ResourceChangeInput.Unpublish, ResourceChangeInput.VerifyEmail];
29
+ export type TChangesWithoutValues = (typeof changesWithoutValues)[number];
30
+ export declare const PRODUCT_ADD_CHANGE_TYPE_NAMES: readonly [ResourceChangeInput.AddPrice, ResourceChangeInput.AddExternalImage, ResourceChangeInput.AddAsset];
31
+ export declare const PRODUCT_REMOVE_CHANGE_TYPE_NAMES: readonly [ResourceChangeInput.RemovePrice, ResourceChangeInput.RemoveAsset, ResourceChangeInput.RemoveImage];
@@ -26,6 +26,10 @@ export function loadMessages(locale: any): Promise<{
26
26
  developer_comment: string;
27
27
  string: string;
28
28
  };
29
+ "ChangeHistory.explorePremium.altImagePremiumHero": {
30
+ developer_comment: string;
31
+ string: string;
32
+ };
29
33
  "ChangeHistory.explorePremium.basicVsPremiumBody": {
30
34
  developer_comment: string;
31
35
  string: string;
@@ -3683,6 +3687,10 @@ export function loadMessages(locale: any): Promise<{
3683
3687
  developer_comment: string;
3684
3688
  string: string;
3685
3689
  };
3690
+ "ChangeHistory.explorePremium.altImagePremiumHero": {
3691
+ developer_comment: string;
3692
+ string: string;
3693
+ };
3686
3694
  "ChangeHistory.explorePremium.basicVsPremiumBody": {
3687
3695
  developer_comment: string;
3688
3696
  string: string;
@@ -1,13 +1,10 @@
1
+ import { MessageDescriptor } from 'react-intl';
1
2
  import { TUser } from "../../types/src/generated/change-history.js";
2
- export type TMessage = {
3
- description?: string;
4
- defaultMessage: string;
5
- id: string;
6
- };
3
+ export type TISODateString = string;
7
4
  export type TIntl = {
8
- formatMessage: (message: TMessage) => string;
5
+ formatMessage: (message: MessageDescriptor) => string;
9
6
  };
10
7
  export type ValueOf<T> = T[keyof T];
11
- export type TALUser = {
8
+ export type TALUsers = {
12
9
  [id: string]: TUser;
13
10
  };