@wix/auto_sdk_loyalty_programs 1.0.29 → 1.0.31
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +8 -66
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -460
- package/build/cjs/index.typings.js +8 -66
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +7 -62
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -460
- package/build/es/index.typings.mjs +7 -62
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -66
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -460
- package/build/internal/cjs/index.typings.js +8 -66
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +7 -62
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -460
- package/build/internal/es/index.typings.mjs +7 -62
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { GetLoyaltyProgramResponse, BulkGetLoyaltyProgramResponse, LoyaltyProgram, UpdateLoyaltyProgramResponse, ActivateLoyaltyProgramResponse, PauseLoyaltyProgramResponse, GetLoyaltyProgramPremiumFeaturesResponse, EnablePointsExpirationResponse, DisablePointsExpirationResponse, ProgramUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, ActivateLoyaltyProgramRequest,
|
|
3
|
+
export { ActionEvent, ActivateLoyaltyProgramRequest, AssignedFromFloatingReason, BaseEventMetadata, BooleanFeature, BulkGetLoyaltyProgramRequest, CancelRequestedReason, ContractSwitchedReason, DisablePointsExpirationRequest, DomainEvent, DomainEventBodyOneOf, Empty, EnablePointsExpirationRequest, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeatureQuantityInfoOneOf, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, FocalPoint, GetLoyaltyProgramDescriptionRequest, GetLoyaltyProgramDescriptionResponse, GetLoyaltyProgramPremiumFeaturesRequest, GetLoyaltyProgramRequest, IdentificationData, IdentificationDataIdOneOf, LoyaltyAppInstallation, LoyaltyProgramActivated, LoyaltyProgramDescriptionUpdated, ManualFeatureCreationReason, MessageEnvelope, MigratedFromLegacyReason, NewFeatureReason, PauseLoyaltyProgramRequest, PointDefinition, PointsExpiration, PointsExpirationChanges, PointsExpirationConfigurationChanged, PointsExpirationDisabled, PointsExpirationEnabled, PremiumFeatures, ProgramInSite, ProgramStatus, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RestoreInfo, SocialMediaChannel, SocialMediaSettings, Status, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, Type, UnAssingedToFloatingReason, UpdateLoyaltyProgramDescriptionRequest, UpdateLoyaltyProgramDescriptionResponse, UpdateLoyaltyProgramRequest, V1Type, WebhookIdentityType } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type ProgramNonNullablePaths = `status` | `pointsExpiration.status` | `pointsExpiration.monthsOfInactivity` | `pointsExpiration.expiringPointsPercentage` | `premiumFeatures.loyaltyProgram` | `premiumFeatures.tiers` | `premiumFeatures.pointsExpiration`;
|
|
6
6
|
declare function getLoyaltyProgram$1(httpClient: HttpClient): GetLoyaltyProgramSignature;
|
package/build/cjs/index.js
CHANGED
|
@@ -20,14 +20,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
-
DeleteStatus: () => DeleteStatus,
|
|
24
23
|
FeaturePeriod: () => FeaturePeriod,
|
|
25
|
-
Namespace: () => Namespace,
|
|
26
24
|
ProgramStatus: () => ProgramStatus,
|
|
27
|
-
SiteCreatedContext: () => SiteCreatedContext,
|
|
28
|
-
State: () => State,
|
|
29
25
|
Status: () => Status,
|
|
30
26
|
Type: () => Type,
|
|
27
|
+
V1Type: () => V1Type,
|
|
31
28
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
32
29
|
activateLoyaltyProgram: () => activateLoyaltyProgram4,
|
|
33
30
|
bulkGetLoyaltyProgram: () => bulkGetLoyaltyProgram4,
|
|
@@ -445,64 +442,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
|
|
|
445
442
|
Type2["TIKTOK"] = "TIKTOK";
|
|
446
443
|
return Type2;
|
|
447
444
|
})(Type || {});
|
|
448
|
-
var State = /* @__PURE__ */ ((State2) => {
|
|
449
|
-
State2["UNKNOWN"] = "UNKNOWN";
|
|
450
|
-
State2["ENABLED"] = "ENABLED";
|
|
451
|
-
State2["DISABLED"] = "DISABLED";
|
|
452
|
-
State2["PENDING"] = "PENDING";
|
|
453
|
-
State2["DEMO"] = "DEMO";
|
|
454
|
-
return State2;
|
|
455
|
-
})(State || {});
|
|
456
|
-
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
457
|
-
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
458
|
-
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
459
|
-
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
460
|
-
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
461
|
-
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
462
|
-
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
463
|
-
return SiteCreatedContext2;
|
|
464
|
-
})(SiteCreatedContext || {});
|
|
465
|
-
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
466
|
-
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
467
|
-
Namespace2["WIX"] = "WIX";
|
|
468
|
-
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
469
|
-
Namespace2["ALBUMS"] = "ALBUMS";
|
|
470
|
-
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
471
|
-
Namespace2["HOTELS"] = "HOTELS";
|
|
472
|
-
Namespace2["CLUBS"] = "CLUBS";
|
|
473
|
-
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
474
|
-
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
475
|
-
Namespace2["LOGOS"] = "LOGOS";
|
|
476
|
-
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
477
|
-
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
478
|
-
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
479
|
-
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
480
|
-
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
481
|
-
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
482
|
-
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
483
|
-
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
484
|
-
Namespace2["HEADLESS"] = "HEADLESS";
|
|
485
|
-
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
486
|
-
Namespace2["RISE"] = "RISE";
|
|
487
|
-
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
488
|
-
Namespace2["NOWNIA"] = "NOWNIA";
|
|
489
|
-
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
490
|
-
Namespace2["CODUX"] = "CODUX";
|
|
491
|
-
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
492
|
-
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
493
|
-
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
494
|
-
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
495
|
-
Namespace2["MIMIR"] = "MIMIR";
|
|
496
|
-
return Namespace2;
|
|
497
|
-
})(Namespace || {});
|
|
498
|
-
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
499
|
-
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
500
|
-
DeleteStatus2["TRASH"] = "TRASH";
|
|
501
|
-
DeleteStatus2["DELETED"] = "DELETED";
|
|
502
|
-
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
503
|
-
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
504
|
-
return DeleteStatus2;
|
|
505
|
-
})(DeleteStatus || {});
|
|
506
445
|
var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
|
|
507
446
|
FeaturePeriod2["NO_PERIOD"] = "NO_PERIOD";
|
|
508
447
|
FeaturePeriod2["MILLISECOND"] = "MILLISECOND";
|
|
@@ -515,6 +454,12 @@ var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
|
|
|
515
454
|
FeaturePeriod2["YEAR"] = "YEAR";
|
|
516
455
|
return FeaturePeriod2;
|
|
517
456
|
})(FeaturePeriod || {});
|
|
457
|
+
var V1Type = /* @__PURE__ */ ((V1Type2) => {
|
|
458
|
+
V1Type2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
459
|
+
V1Type2["INSTALLED"] = "INSTALLED";
|
|
460
|
+
V1Type2["DELETED"] = "DELETED";
|
|
461
|
+
return V1Type2;
|
|
462
|
+
})(V1Type || {});
|
|
518
463
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
519
464
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
520
465
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -852,14 +797,11 @@ var disablePointsExpiration4 = /* @__PURE__ */ (0, import_rest_modules3.createRE
|
|
|
852
797
|
var onProgramUpdated2 = (0, import_event_definition_modules.createEventModule)(onProgramUpdated);
|
|
853
798
|
// Annotate the CommonJS export names for ESM import in node:
|
|
854
799
|
0 && (module.exports = {
|
|
855
|
-
DeleteStatus,
|
|
856
800
|
FeaturePeriod,
|
|
857
|
-
Namespace,
|
|
858
801
|
ProgramStatus,
|
|
859
|
-
SiteCreatedContext,
|
|
860
|
-
State,
|
|
861
802
|
Status,
|
|
862
803
|
Type,
|
|
804
|
+
V1Type,
|
|
863
805
|
WebhookIdentityType,
|
|
864
806
|
activateLoyaltyProgram,
|
|
865
807
|
bulkGetLoyaltyProgram,
|