@wix/auto_sdk_ecom_discount-rules 1.0.101 → 1.0.103

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 (37) hide show
  1. package/build/cjs/index.d.ts +3 -27
  2. package/build/cjs/index.js +0 -138
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +9 -141
  5. package/build/cjs/index.typings.js +0 -120
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +10 -106
  8. package/build/cjs/meta.js +0 -94
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +3 -27
  11. package/build/es/index.mjs +0 -136
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +9 -141
  14. package/build/es/index.typings.mjs +0 -118
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +10 -106
  17. package/build/es/meta.mjs +0 -92
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +3 -27
  20. package/build/internal/cjs/index.js +0 -138
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +9 -141
  23. package/build/internal/cjs/index.typings.js +0 -120
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +10 -106
  26. package/build/internal/cjs/meta.js +0 -94
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +3 -27
  29. package/build/internal/es/index.mjs +0 -136
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +9 -141
  32. package/build/internal/es/index.typings.mjs +0 -118
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +10 -106
  35. package/build/internal/es/meta.mjs +0 -92
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { CreateDiscountRuleRequest as CreateDiscountRuleRequest$1, CreateDiscountRuleResponse as CreateDiscountRuleResponse$1, GetDiscountRuleRequest as GetDiscountRuleRequest$1, GetDiscountRuleResponse as GetDiscountRuleResponse$1, UpdateDiscountRuleRequest as UpdateDiscountRuleRequest$1, UpdateDiscountRuleResponse as UpdateDiscountRuleResponse$1, DeleteDiscountRuleRequest as DeleteDiscountRuleRequest$1, DeleteDiscountRuleResponse as DeleteDiscountRuleResponse$1, QueryDiscountRulesRequest as QueryDiscountRulesRequest$1, QueryDiscountRulesResponse as QueryDiscountRulesResponse$1, BulkUpdateDiscountRuleTagsRequest as BulkUpdateDiscountRuleTagsRequest$1, BulkUpdateDiscountRuleTagsResponse as BulkUpdateDiscountRuleTagsResponse$1, BulkUpdateDiscountRuleTagsByFilterRequest as BulkUpdateDiscountRuleTagsByFilterRequest$1, BulkUpdateDiscountRuleTagsByFilterResponse as BulkUpdateDiscountRuleTagsByFilterResponse$1 } from './index.typings.js';
1
+ import { CreateDiscountRuleRequest as CreateDiscountRuleRequest$1, CreateDiscountRuleResponse as CreateDiscountRuleResponse$1, GetDiscountRuleRequest as GetDiscountRuleRequest$1, GetDiscountRuleResponse as GetDiscountRuleResponse$1, UpdateDiscountRuleRequest as UpdateDiscountRuleRequest$1, UpdateDiscountRuleResponse as UpdateDiscountRuleResponse$1, DeleteDiscountRuleRequest as DeleteDiscountRuleRequest$1, DeleteDiscountRuleResponse as DeleteDiscountRuleResponse$1, QueryDiscountRulesRequest as QueryDiscountRulesRequest$1, QueryDiscountRulesResponse as QueryDiscountRulesResponse$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface DiscountRule {
@@ -128,14 +128,13 @@ interface ScopeScopeItemsOneOf {
128
128
  customFilter?: CustomFilter;
129
129
  }
130
130
  declare enum ScopeType {
131
- UNDEFINED_SCOPE = "UNDEFINED_SCOPE",
132
131
  /** Specific catalog items */
133
132
  CATALOG_ITEM = "CATALOG_ITEM",
134
133
  /** Specific items by custom filters */
135
134
  CUSTOM_FILTER = "CUSTOM_FILTER"
136
135
  }
137
136
  /** @enumType */
138
- type ScopeTypeWithLiterals = ScopeType | 'UNDEFINED_SCOPE' | 'CATALOG_ITEM' | 'CUSTOM_FILTER';
137
+ type ScopeTypeWithLiterals = ScopeType | 'CATALOG_ITEM' | 'CUSTOM_FILTER';
139
138
  interface CatalogItemFilter {
140
139
  /**
141
140
  * Catalog App ID. For example, the Wix Stores, Wix Bookings, or 3rd-party [`appId`](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).
@@ -238,13 +237,11 @@ interface CustomerEligibilityOptionsOneOf {
238
237
  individualMembersInfo?: IndividualMembers;
239
238
  }
240
239
  declare enum EligibilityType {
241
- /** Eligibility type is not defined. */
242
- UNKNOWN_ELIGIBILITY_TYPE = "UNKNOWN_ELIGIBILITY_TYPE",
243
240
  /** Only specific customers based on member id. */
244
241
  INDIVIDUAL_MEMBERS = "INDIVIDUAL_MEMBERS"
245
242
  }
246
243
  /** @enumType */
247
- type EligibilityTypeWithLiterals = EligibilityType | 'UNKNOWN_ELIGIBILITY_TYPE' | 'INDIVIDUAL_MEMBERS';
244
+ type EligibilityTypeWithLiterals = EligibilityType | 'INDIVIDUAL_MEMBERS';
248
245
  interface ContactSegments {
249
246
  /**
250
247
  * Eligible segment ids.
@@ -284,7 +281,6 @@ interface IndividualMembers {
284
281
  memberIds?: string[];
285
282
  }
286
283
  declare enum TriggerType {
287
- UNDEFINED = "UNDEFINED",
288
284
  /** Operator used for chaining multiple triggers. Currently 1 `AND` chain operator is supported. */
289
285
  AND = "AND",
290
286
  /** Subtotal must be within the specified `subtotalRange` values. */
@@ -302,7 +298,7 @@ declare enum TriggerType {
302
298
  CUSTOMER_ELIGIBILITY = "CUSTOMER_ELIGIBILITY"
303
299
  }
304
300
  /** @enumType */
305
- type TriggerTypeWithLiterals = TriggerType | 'UNDEFINED' | 'AND' | 'SUBTOTAL_RANGE' | 'ITEM_QUANTITY_RANGE' | 'CUSTOM' | 'OR' | 'CUSTOMER_ELIGIBILITY';
301
+ type TriggerTypeWithLiterals = TriggerType | 'AND' | 'SUBTOTAL_RANGE' | 'ITEM_QUANTITY_RANGE' | 'CUSTOM' | 'OR' | 'CUSTOMER_ELIGIBILITY';
306
302
  interface ActiveTimeInfo {
307
303
  /** Date and time the discount rule is active **from**, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
308
304
  start?: Date | null;
@@ -314,7 +310,6 @@ interface Recurrence {
314
310
  weeklySchedule?: WeeklySchedule;
315
311
  }
316
312
  declare enum DayOfWeek {
317
- UNKOWN_DAY_OF_WEEK = "UNKOWN_DAY_OF_WEEK",
318
313
  /** Monday. */
319
314
  MON = "MON",
320
315
  /** Tuesday. */
@@ -331,7 +326,7 @@ declare enum DayOfWeek {
331
326
  SUN = "SUN"
332
327
  }
333
328
  /** @enumType */
334
- type DayOfWeekWithLiterals = DayOfWeek | 'UNKOWN_DAY_OF_WEEK' | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | 'SUN';
329
+ type DayOfWeekWithLiterals = DayOfWeek | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | 'SUN';
335
330
  interface TimeOfDay {
336
331
  /**
337
332
  * Hours. Min: `0`. Max: `23`.
@@ -420,13 +415,11 @@ interface DiscountDiscountOneOf {
420
415
  quantityBased?: QuantityBased;
421
416
  }
422
417
  declare enum Type {
423
- /** Target type is not defined */
424
- UNDEFINED = "UNDEFINED",
425
418
  /** Target type is a set of specific items */
426
419
  SPECIFIC_ITEMS = "SPECIFIC_ITEMS"
427
420
  }
428
421
  /** @enumType */
429
- type TypeWithLiterals = Type | 'UNDEFINED' | 'SPECIFIC_ITEMS';
422
+ type TypeWithLiterals = Type | 'SPECIFIC_ITEMS';
430
423
  interface SpecificItemsInfo {
431
424
  /**
432
425
  * All associated scopes for `SPECIFIC_ITEMS` target type.
@@ -463,7 +456,6 @@ interface DiscountConfig {
463
456
  price?: string;
464
457
  }
465
458
  declare enum DiscountType {
466
- UNDEFINED = "UNDEFINED",
467
459
  /** Price is reduced by percentage value. */
468
460
  PERCENTAGE = "PERCENTAGE",
469
461
  /** Price is reduced by fixed amount. */
@@ -477,7 +469,7 @@ declare enum DiscountType {
477
469
  QUANTITY_BASED = "QUANTITY_BASED"
478
470
  }
479
471
  /** @enumType */
480
- type DiscountTypeWithLiterals = DiscountType | 'UNDEFINED' | 'PERCENTAGE' | 'FIXED_AMOUNT' | 'FIXED_PRICE' | 'QUANTITY_BASED';
472
+ type DiscountTypeWithLiterals = DiscountType | 'PERCENTAGE' | 'FIXED_AMOUNT' | 'FIXED_PRICE' | 'QUANTITY_BASED';
481
473
  interface BuyXGetYInfo {
482
474
  /** Information about which items must be in the cart (buy X) for the discount to apply (get Y). */
483
475
  customerBuys?: CustomerBuy;
@@ -538,8 +530,6 @@ interface CustomerGet {
538
530
  scopes?: Scope[];
539
531
  }
540
532
  declare enum Status {
541
- /** Rule status is not defined. */
542
- UNDEFINED = "UNDEFINED",
543
533
  /** Rule status is live. */
544
534
  LIVE = "LIVE",
545
535
  /** Rule status is expired, it might have been live in the past. */
@@ -548,7 +538,7 @@ declare enum Status {
548
538
  PENDING = "PENDING"
549
539
  }
550
540
  /** @enumType */
551
- type StatusWithLiterals = Status | 'UNDEFINED' | 'LIVE' | 'EXPIRED' | 'PENDING';
541
+ type StatusWithLiterals = Status | 'LIVE' | 'EXPIRED' | 'PENDING';
552
542
  /** The discount settings */
553
543
  interface DiscountSettings {
554
544
  /** Discount applies to either `ALL_ITEMS`, or to the `LOWEST_PRICED_ITEM`. */
@@ -575,14 +565,13 @@ interface DiscountSettings {
575
565
  }
576
566
  /** TODO: check if can be removed */
577
567
  declare enum AppliedSubjectType {
578
- UNDEFINED = "UNDEFINED",
579
568
  /** Discount applies to all items at checkout. */
580
569
  ALL_ITEMS = "ALL_ITEMS",
581
570
  /** Discount applies to the lowest priced item at checkout. */
582
571
  LOWEST_PRICED_ITEM = "LOWEST_PRICED_ITEM"
583
572
  }
584
573
  /** @enumType */
585
- type AppliedSubjectTypeWithLiterals = AppliedSubjectType | 'UNDEFINED' | 'ALL_ITEMS' | 'LOWEST_PRICED_ITEM';
574
+ type AppliedSubjectTypeWithLiterals = AppliedSubjectType | 'ALL_ITEMS' | 'LOWEST_PRICED_ITEM';
586
575
  interface ExtendedFields {
587
576
  /**
588
577
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -1048,77 +1037,6 @@ interface DiscountRuleUsageLimitReached {
1048
1037
  /** Discount Rule */
1049
1038
  rule?: DiscountRule;
1050
1039
  }
1051
- interface BulkUpdateDiscountRuleTagsRequest {
1052
- /**
1053
- * IDs of discount rules to update.
1054
- * @minSize 1
1055
- * @maxSize 100
1056
- * @format GUID
1057
- */
1058
- discountRuleIds: string[];
1059
- /** Tags to assign to the discount rules. */
1060
- assignTags?: Tags;
1061
- /** Tags to unassign from the discount rules. */
1062
- unassignTags?: Tags;
1063
- }
1064
- interface BulkUpdateDiscountRuleTagsResponse {
1065
- /**
1066
- * Results
1067
- * @minSize 1
1068
- * @maxSize 100
1069
- */
1070
- results?: BulkUpdateDiscountRuleTagsResult[];
1071
- /** Metadata regarding the bulk update operation */
1072
- bulkActionMetadata?: BulkActionMetadata;
1073
- }
1074
- interface ItemMetadata {
1075
- /**
1076
- * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.
1077
- * @format GUID
1078
- */
1079
- id?: string | null;
1080
- /** Index of the item within the request array. Allows for correlation between request and response items. */
1081
- originalIndex?: number;
1082
- /** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */
1083
- success?: boolean;
1084
- /** Details about the error in case of failure. */
1085
- error?: ApplicationError;
1086
- }
1087
- interface ApplicationError {
1088
- /** Error code. */
1089
- code?: string;
1090
- /** Description of the error. */
1091
- description?: string;
1092
- /** Data related to the error. */
1093
- data?: Record<string, any> | null;
1094
- }
1095
- interface BulkUpdateDiscountRuleTagsResult {
1096
- /** Metadata regarding the specific single update operation */
1097
- itemMetadata?: ItemMetadata;
1098
- }
1099
- interface BulkActionMetadata {
1100
- /** Number of items that were successfully processed. */
1101
- totalSuccesses?: number;
1102
- /** Number of items that couldn't be processed. */
1103
- totalFailures?: number;
1104
- /** Number of failures without details because detailed failure threshold was exceeded. */
1105
- undetailedFailures?: number;
1106
- }
1107
- interface BulkUpdateDiscountRuleTagsByFilterRequest {
1108
- /** Filter. */
1109
- filter: Record<string, any> | null;
1110
- /** Tags to assign to the discount rules. */
1111
- assignTags?: Tags;
1112
- /** Tags to unassign from the discount rules. */
1113
- unassignTags?: Tags;
1114
- }
1115
- interface BulkUpdateDiscountRuleTagsByFilterResponse {
1116
- /**
1117
- * Job ID.
1118
- * @format GUID
1119
- */
1120
- jobId?: string;
1121
- }
1122
1040
  interface MessageEnvelope {
1123
1041
  /**
1124
1042
  * App instance ID.
@@ -1254,18 +1172,6 @@ type CreateDiscountRuleValidationErrors = {
1254
1172
  } | {
1255
1173
  ruleName?: 'INVALID_SCOPE';
1256
1174
  };
1257
- /** @docsIgnore */
1258
- type BulkUpdateDiscountRuleTagsApplicationErrors = {
1259
- code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
1260
- description?: string;
1261
- data?: Record<string, any>;
1262
- };
1263
- /** @docsIgnore */
1264
- type BulkUpdateDiscountRuleTagsByFilterApplicationErrors = {
1265
- code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
1266
- description?: string;
1267
- data?: Record<string, any>;
1268
- };
1269
1175
 
1270
1176
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1271
1177
  getUrl: (context: any) => string;
@@ -1288,7 +1194,5 @@ declare function deleteDiscountRule(): __PublicMethodMetaInfo<'DELETE', {
1288
1194
  discountRuleId: string;
1289
1195
  }, DeleteDiscountRuleRequest$1, DeleteDiscountRuleRequest, DeleteDiscountRuleResponse$1, DeleteDiscountRuleResponse>;
1290
1196
  declare function queryDiscountRules(): __PublicMethodMetaInfo<'POST', {}, QueryDiscountRulesRequest$1, QueryDiscountRulesRequest, QueryDiscountRulesResponse$1, QueryDiscountRulesResponse>;
1291
- declare function bulkUpdateDiscountRuleTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDiscountRuleTagsRequest$1, BulkUpdateDiscountRuleTagsRequest, BulkUpdateDiscountRuleTagsResponse$1, BulkUpdateDiscountRuleTagsResponse>;
1292
- declare function bulkUpdateDiscountRuleTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDiscountRuleTagsByFilterRequest$1, BulkUpdateDiscountRuleTagsByFilterRequest, BulkUpdateDiscountRuleTagsByFilterResponse$1, BulkUpdateDiscountRuleTagsByFilterResponse>;
1293
1197
 
1294
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ActiveTimeInfo as ActiveTimeInfoOriginal, type Address as AddressOriginal, type And as AndOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AppliedDiscountRule as AppliedDiscountRuleOriginal, AppliedSubjectType as AppliedSubjectTypeOriginal, type AppliedSubjectTypeWithLiterals as AppliedSubjectTypeWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkUpdateDiscountRuleTagsApplicationErrors as BulkUpdateDiscountRuleTagsApplicationErrorsOriginal, type BulkUpdateDiscountRuleTagsByFilterApplicationErrors as BulkUpdateDiscountRuleTagsByFilterApplicationErrorsOriginal, type BulkUpdateDiscountRuleTagsByFilterRequest as BulkUpdateDiscountRuleTagsByFilterRequestOriginal, type BulkUpdateDiscountRuleTagsByFilterResponse as BulkUpdateDiscountRuleTagsByFilterResponseOriginal, type BulkUpdateDiscountRuleTagsRequest as BulkUpdateDiscountRuleTagsRequestOriginal, type BulkUpdateDiscountRuleTagsResponse as BulkUpdateDiscountRuleTagsResponseOriginal, type BulkUpdateDiscountRuleTagsResult as BulkUpdateDiscountRuleTagsResultOriginal, type BuyXGetYInfo as BuyXGetYInfoOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogItemFilter as CatalogItemFilterOriginal, type CatalogReference as CatalogReferenceOriginal, type ContactSegments as ContactSegmentsOriginal, type ContactTags as ContactTagsOriginal, type CreateDiscountRuleApplicationErrors as CreateDiscountRuleApplicationErrorsOriginal, type CreateDiscountRuleRequest as CreateDiscountRuleRequestOriginal, type CreateDiscountRuleResponse as CreateDiscountRuleResponseOriginal, type CreateDiscountRuleValidationErrors as CreateDiscountRuleValidationErrorsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomFilter as CustomFilterOriginal, type Custom as CustomOriginal, type CustomerBuyConditionOneOf as CustomerBuyConditionOneOfOriginal, type CustomerBuy as CustomerBuyOriginal, type CustomerEligibilityOptionsOneOf as CustomerEligibilityOptionsOneOfOriginal, type CustomerEligibility as CustomerEligibilityOriginal, type CustomerGet as CustomerGetOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteDiscountRuleRequest as DeleteDiscountRuleRequestOriginal, type DeleteDiscountRuleResponse as DeleteDiscountRuleResponseOriginal, type DiscountConfig as DiscountConfigOriginal, type DiscountDiscountOneOf as DiscountDiscountOneOfOriginal, type Discount as DiscountOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, type DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReachedOriginal, type DiscountSettings as DiscountSettingsOriginal, type DiscountTrigger as DiscountTriggerOriginal, type DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOfOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type Discounts as DiscountsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, EligibilityType as EligibilityTypeOriginal, type EligibilityTypeWithLiterals as EligibilityTypeWithLiteralsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GetAppliedDiscountsRequest as GetAppliedDiscountsRequestOriginal, type GetAppliedDiscountsResponse as GetAppliedDiscountsResponseOriginal, type GetDiscountRuleRequest as GetDiscountRuleRequestOriginal, type GetDiscountRuleResponse as GetDiscountRuleResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IndividualMembers as IndividualMembersOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemQuantityRange as ItemQuantityRangeOriginal, type LineItem as LineItemOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, type Or as OrOriginal, type PlatformPagingMetadata as PlatformPagingMetadataOriginal, type PlatformPaging as PlatformPagingOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type QuantityBased as QuantityBasedOriginal, type QueryDiscountRulesRequest as QueryDiscountRulesRequestOriginal, type QueryDiscountRulesResponse as QueryDiscountRulesResponseOriginal, type Recurrence as RecurrenceOriginal, type RestoreInfo as RestoreInfoOriginal, type Scope as ScopeOriginal, type ScopeScopeItemsOneOf as ScopeScopeItemsOneOfOriginal, ScopeType as ScopeTypeOriginal, type ScopeTypeWithLiterals as ScopeTypeWithLiteralsOriginal, type ShippingInfo as ShippingInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecificItemsInfo as SpecificItemsInfoOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SubtotalRange as SubtotalRangeOriginal, type TagList as TagListOriginal, type TagReference as TagReferenceOriginal, type TagsModified as TagsModifiedOriginal, type Tags as TagsOriginal, type TimeOfDay as TimeOfDayOriginal, type TimeWindow as TimeWindowOriginal, TriggerType as TriggerTypeOriginal, type TriggerTypeWithLiterals as TriggerTypeWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateDiscountRuleRequest as UpdateDiscountRuleRequestOriginal, type UpdateDiscountRuleResponse as UpdateDiscountRuleResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WeeklySchedule as WeeklyScheduleOriginal, type __PublicMethodMetaInfo, bulkUpdateDiscountRuleTags, bulkUpdateDiscountRuleTagsByFilter, createDiscountRule, deleteDiscountRule, getDiscountRule, queryDiscountRules, updateDiscountRule };
1198
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ActiveTimeInfo as ActiveTimeInfoOriginal, type Address as AddressOriginal, type And as AndOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AppliedDiscountRule as AppliedDiscountRuleOriginal, AppliedSubjectType as AppliedSubjectTypeOriginal, type AppliedSubjectTypeWithLiterals as AppliedSubjectTypeWithLiteralsOriginal, type BuyXGetYInfo as BuyXGetYInfoOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogItemFilter as CatalogItemFilterOriginal, type CatalogReference as CatalogReferenceOriginal, type ContactSegments as ContactSegmentsOriginal, type ContactTags as ContactTagsOriginal, type CreateDiscountRuleApplicationErrors as CreateDiscountRuleApplicationErrorsOriginal, type CreateDiscountRuleRequest as CreateDiscountRuleRequestOriginal, type CreateDiscountRuleResponse as CreateDiscountRuleResponseOriginal, type CreateDiscountRuleValidationErrors as CreateDiscountRuleValidationErrorsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomFilter as CustomFilterOriginal, type Custom as CustomOriginal, type CustomerBuyConditionOneOf as CustomerBuyConditionOneOfOriginal, type CustomerBuy as CustomerBuyOriginal, type CustomerEligibilityOptionsOneOf as CustomerEligibilityOptionsOneOfOriginal, type CustomerEligibility as CustomerEligibilityOriginal, type CustomerGet as CustomerGetOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteDiscountRuleRequest as DeleteDiscountRuleRequestOriginal, type DeleteDiscountRuleResponse as DeleteDiscountRuleResponseOriginal, type DiscountConfig as DiscountConfigOriginal, type DiscountDiscountOneOf as DiscountDiscountOneOfOriginal, type Discount as DiscountOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, type DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReachedOriginal, type DiscountSettings as DiscountSettingsOriginal, type DiscountTrigger as DiscountTriggerOriginal, type DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOfOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type Discounts as DiscountsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, EligibilityType as EligibilityTypeOriginal, type EligibilityTypeWithLiterals as EligibilityTypeWithLiteralsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GetAppliedDiscountsRequest as GetAppliedDiscountsRequestOriginal, type GetAppliedDiscountsResponse as GetAppliedDiscountsResponseOriginal, type GetDiscountRuleRequest as GetDiscountRuleRequestOriginal, type GetDiscountRuleResponse as GetDiscountRuleResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IndividualMembers as IndividualMembersOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemQuantityRange as ItemQuantityRangeOriginal, type LineItem as LineItemOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, type Or as OrOriginal, type PlatformPagingMetadata as PlatformPagingMetadataOriginal, type PlatformPaging as PlatformPagingOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type QuantityBased as QuantityBasedOriginal, type QueryDiscountRulesRequest as QueryDiscountRulesRequestOriginal, type QueryDiscountRulesResponse as QueryDiscountRulesResponseOriginal, type Recurrence as RecurrenceOriginal, type RestoreInfo as RestoreInfoOriginal, type Scope as ScopeOriginal, type ScopeScopeItemsOneOf as ScopeScopeItemsOneOfOriginal, ScopeType as ScopeTypeOriginal, type ScopeTypeWithLiterals as ScopeTypeWithLiteralsOriginal, type ShippingInfo as ShippingInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecificItemsInfo as SpecificItemsInfoOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SubtotalRange as SubtotalRangeOriginal, type TagList as TagListOriginal, type TagReference as TagReferenceOriginal, type TagsModified as TagsModifiedOriginal, type Tags as TagsOriginal, type TimeOfDay as TimeOfDayOriginal, type TimeWindow as TimeWindowOriginal, TriggerType as TriggerTypeOriginal, type TriggerTypeWithLiterals as TriggerTypeWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateDiscountRuleRequest as UpdateDiscountRuleRequestOriginal, type UpdateDiscountRuleResponse as UpdateDiscountRuleResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WeeklySchedule as WeeklyScheduleOriginal, type __PublicMethodMetaInfo, createDiscountRule, deleteDiscountRule, getDiscountRule, queryDiscountRules, updateDiscountRule };
@@ -30,8 +30,6 @@ __export(meta_exports, {
30
30
  TriggerTypeOriginal: () => TriggerType,
31
31
  TypeOriginal: () => Type,
32
32
  WebhookIdentityTypeOriginal: () => WebhookIdentityType,
33
- bulkUpdateDiscountRuleTags: () => bulkUpdateDiscountRuleTags2,
34
- bulkUpdateDiscountRuleTagsByFilter: () => bulkUpdateDiscountRuleTagsByFilter2,
35
33
  createDiscountRule: () => createDiscountRule2,
36
34
  deleteDiscountRule: () => deleteDiscountRule2,
37
35
  getDiscountRule: () => getDiscountRule2,
@@ -302,63 +300,18 @@ function queryDiscountRules(payload) {
302
300
  }
303
301
  return __queryDiscountRules;
304
302
  }
305
- function bulkUpdateDiscountRuleTags(payload) {
306
- function __bulkUpdateDiscountRuleTags({ host }) {
307
- const metadata = {
308
- entityFqdn: "wix.ecom.discounts.v1.discount_rule",
309
- method: "POST",
310
- methodFqn: "com.wix.ecom.discounts.DiscountRuleService.BulkUpdateDiscountRuleTags",
311
- packageName: PACKAGE_NAME,
312
- migrationOptions: {
313
- optInTransformResponse: true
314
- },
315
- url: resolveComWixEcomDiscountsDiscountRuleServiceUrl({
316
- protoPath: "/v1/bulk/discount-rules/update-tags",
317
- data: payload,
318
- host
319
- }),
320
- data: payload
321
- };
322
- return metadata;
323
- }
324
- return __bulkUpdateDiscountRuleTags;
325
- }
326
- function bulkUpdateDiscountRuleTagsByFilter(payload) {
327
- function __bulkUpdateDiscountRuleTagsByFilter({ host }) {
328
- const metadata = {
329
- entityFqdn: "wix.ecom.discounts.v1.discount_rule",
330
- method: "POST",
331
- methodFqn: "com.wix.ecom.discounts.DiscountRuleService.BulkUpdateDiscountRuleTagsByFilter",
332
- packageName: PACKAGE_NAME,
333
- migrationOptions: {
334
- optInTransformResponse: true
335
- },
336
- url: resolveComWixEcomDiscountsDiscountRuleServiceUrl({
337
- protoPath: "/v1/bulk/discount-rules/update-tags-by-filter",
338
- data: payload,
339
- host
340
- }),
341
- data: payload
342
- };
343
- return metadata;
344
- }
345
- return __bulkUpdateDiscountRuleTagsByFilter;
346
- }
347
303
 
348
304
  // src/ecom-discounts-v1-discount-rule-discount-rules.types.ts
349
305
  var ScopeType = /* @__PURE__ */ ((ScopeType2) => {
350
- ScopeType2["UNDEFINED_SCOPE"] = "UNDEFINED_SCOPE";
351
306
  ScopeType2["CATALOG_ITEM"] = "CATALOG_ITEM";
352
307
  ScopeType2["CUSTOM_FILTER"] = "CUSTOM_FILTER";
353
308
  return ScopeType2;
354
309
  })(ScopeType || {});
355
310
  var EligibilityType = /* @__PURE__ */ ((EligibilityType2) => {
356
- EligibilityType2["UNKNOWN_ELIGIBILITY_TYPE"] = "UNKNOWN_ELIGIBILITY_TYPE";
357
311
  EligibilityType2["INDIVIDUAL_MEMBERS"] = "INDIVIDUAL_MEMBERS";
358
312
  return EligibilityType2;
359
313
  })(EligibilityType || {});
360
314
  var TriggerType = /* @__PURE__ */ ((TriggerType2) => {
361
- TriggerType2["UNDEFINED"] = "UNDEFINED";
362
315
  TriggerType2["AND"] = "AND";
363
316
  TriggerType2["SUBTOTAL_RANGE"] = "SUBTOTAL_RANGE";
364
317
  TriggerType2["ITEM_QUANTITY_RANGE"] = "ITEM_QUANTITY_RANGE";
@@ -368,7 +321,6 @@ var TriggerType = /* @__PURE__ */ ((TriggerType2) => {
368
321
  return TriggerType2;
369
322
  })(TriggerType || {});
370
323
  var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
371
- DayOfWeek2["UNKOWN_DAY_OF_WEEK"] = "UNKOWN_DAY_OF_WEEK";
372
324
  DayOfWeek2["MON"] = "MON";
373
325
  DayOfWeek2["TUE"] = "TUE";
374
326
  DayOfWeek2["WED"] = "WED";
@@ -379,12 +331,10 @@ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
379
331
  return DayOfWeek2;
380
332
  })(DayOfWeek || {});
381
333
  var Type = /* @__PURE__ */ ((Type2) => {
382
- Type2["UNDEFINED"] = "UNDEFINED";
383
334
  Type2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
384
335
  return Type2;
385
336
  })(Type || {});
386
337
  var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
387
- DiscountType2["UNDEFINED"] = "UNDEFINED";
388
338
  DiscountType2["PERCENTAGE"] = "PERCENTAGE";
389
339
  DiscountType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
390
340
  DiscountType2["FIXED_PRICE"] = "FIXED_PRICE";
@@ -392,14 +342,12 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
392
342
  return DiscountType2;
393
343
  })(DiscountType || {});
394
344
  var Status = /* @__PURE__ */ ((Status2) => {
395
- Status2["UNDEFINED"] = "UNDEFINED";
396
345
  Status2["LIVE"] = "LIVE";
397
346
  Status2["EXPIRED"] = "EXPIRED";
398
347
  Status2["PENDING"] = "PENDING";
399
348
  return Status2;
400
349
  })(Status || {});
401
350
  var AppliedSubjectType = /* @__PURE__ */ ((AppliedSubjectType2) => {
402
- AppliedSubjectType2["UNDEFINED"] = "UNDEFINED";
403
351
  AppliedSubjectType2["ALL_ITEMS"] = "ALL_ITEMS";
404
352
  AppliedSubjectType2["LOWEST_PRICED_ITEM"] = "LOWEST_PRICED_ITEM";
405
353
  return AppliedSubjectType2;
@@ -509,46 +457,6 @@ function queryDiscountRules2() {
509
457
  __originalResponseType: null
510
458
  };
511
459
  }
512
- function bulkUpdateDiscountRuleTags2() {
513
- const payload = {};
514
- const getRequestOptions = bulkUpdateDiscountRuleTags(
515
- payload
516
- );
517
- const getUrl = (context) => {
518
- const { url } = getRequestOptions(context);
519
- return url;
520
- };
521
- return {
522
- getUrl,
523
- httpMethod: "POST",
524
- path: "/v1/bulk/discount-rules/update-tags",
525
- pathParams: {},
526
- __requestType: null,
527
- __originalRequestType: null,
528
- __responseType: null,
529
- __originalResponseType: null
530
- };
531
- }
532
- function bulkUpdateDiscountRuleTagsByFilter2() {
533
- const payload = {};
534
- const getRequestOptions = bulkUpdateDiscountRuleTagsByFilter(
535
- payload
536
- );
537
- const getUrl = (context) => {
538
- const { url } = getRequestOptions(context);
539
- return url;
540
- };
541
- return {
542
- getUrl,
543
- httpMethod: "POST",
544
- path: "/v1/bulk/discount-rules/update-tags-by-filter",
545
- pathParams: {},
546
- __requestType: null,
547
- __originalRequestType: null,
548
- __responseType: null,
549
- __originalResponseType: null
550
- };
551
- }
552
460
  // Annotate the CommonJS export names for ESM import in node:
553
461
  0 && (module.exports = {
554
462
  AppliedSubjectTypeOriginal,
@@ -561,8 +469,6 @@ function bulkUpdateDiscountRuleTagsByFilter2() {
561
469
  TriggerTypeOriginal,
562
470
  TypeOriginal,
563
471
  WebhookIdentityTypeOriginal,
564
- bulkUpdateDiscountRuleTags,
565
- bulkUpdateDiscountRuleTagsByFilter,
566
472
  createDiscountRule,
567
473
  deleteDiscountRule,
568
474
  getDiscountRule,