@wix/auto_sdk_pricing-plans_plans 1.0.98 → 1.0.100
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 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -1
- package/build/cjs/index.typings.js +8 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +6 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -1
- package/build/es/index.typings.mjs +6 -1
- 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 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -1
- package/build/internal/cjs/index.typings.js +8 -2
- 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 +6 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -1
- package/build/internal/es/index.typings.mjs +6 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
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 { ListPublicPlansOptions, ListPublicPlansResponse, ListPublicPlansApplicationErrors, Plan, GetPlanApplicationErrors, ListPlansOptions, ListPlansResponse, ListPlansApplicationErrors, ListPlansValidationErrors, GetPlanStatsResponse, GetPlanStatsApplicationErrors, CreatePlanApplicationErrors, CreatePlanValidationErrors, UpdatePlan, UpdatePlanApplicationErrors, UpdatePlanValidationErrors, SetPlanVisibilityResponse, SetPlanVisibilityApplicationErrors, MakePlanPrimaryResponse, MakePlanPrimaryApplicationErrors, ClearPrimaryApplicationErrors, ArchivePlanResponse, ArchivePlanApplicationErrors, PlanBuyerCanCancelUpdatedEnvelope, PlanCreatedEnvelope, PlanArchivedEnvelope, PlanUpdatedEnvelope, PlansQueryBuilder, PlanQuery, typedQueryPublicPlans } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, AppliedAt, AppliedAtWithLiterals, ArchivePlanRequest, ArchivedFilter, ArchivedFilterWithLiterals, ArrangePlansRequest, ArrangePlansResponse, BaseEventMetadata, BulkActionMetadata, BulkArchivePlanRequest, BulkArchivePlanResponse, BulkPlanResult, BuyerCanCancelUpdated, ClearPrimaryRequest, ClearPrimaryResponse, CommonQueryWithEntityContext, CountPlansRequest, CountPlansResponse, CreatePlanRequest, CreatePlanResponse, Cursors, DomainEvent, DomainEventBodyOneOf, Duration, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Fee, FeeConfig, GetPlanRequest, GetPlanResponse, GetPlanStatsRequest, GetPlansPremiumStatusRequest, GetPlansPremiumStatusResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, ListPlansRequest, ListPublicPlansRequest, MakePlanPrimaryRequest, MessageEnvelope, Money, Paging, PagingMetadataV2, PeriodUnit, PeriodUnitWithLiterals, PlanArchived, PlanQuerySpec, PlansQueryResult, Pricing, PricingPricingModelOneOf, PublicFilter, PublicFilterWithLiterals, PublicPlan, QueryPublicPlansApplicationErrors, QueryPublicPlansRequest, QueryPublicPlansResponse, QueryPublicPlansValidationErrors, QueryV2, Recurrence, RestoreInfo, SearchPlansRequest, SearchPlansResponse, SetPlanVisibilityRequest, SortOrder, SortOrderWithLiterals, Sorting, StringList, UpdatePlanRequest, UpdatePlanResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, AppliedAt, AppliedAtWithLiterals, ArchivePlanRequest, ArchivedFilter, ArchivedFilterWithLiterals, ArrangePlansRequest, ArrangePlansResponse, BaseEventMetadata, BulkActionMetadata, BulkArchivePlanRequest, BulkArchivePlanResponse, BulkPlanResult, BuyerCanCancelUpdated, ClearPrimaryRequest, ClearPrimaryResponse, CommonQueryWithEntityContext, CountPlansRequest, CountPlansResponse, CreatePlanRequest, CreatePlanResponse, Cursors, DomainEvent, DomainEventBodyOneOf, Duration, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Fee, FeeConfig, GetPlanRequest, GetPlanResponse, GetPlanStatsRequest, GetPlansPremiumStatusRequest, GetPlansPremiumStatusResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, ListPlansRequest, ListPublicPlansRequest, MakePlanPrimaryRequest, MessageEnvelope, Money, Paging, PagingMetadataV2, PeriodUnit, PeriodUnitWithLiterals, PlanArchived, PlanQuerySpec, PlansQueryResult, Pricing, PricingPricingModelOneOf, PublicFilter, PublicFilterWithLiterals, PublicPlan, QueryPublicPlansApplicationErrors, QueryPublicPlansRequest, QueryPublicPlansResponse, QueryPublicPlansValidationErrors, QueryV2, Recurrence, RestoreInfo, SearchPlansRequest, SearchPlansResponse, SetPlanVisibilityRequest, SortOrder, SortOrderWithLiterals, Sorting, StringList, UpdatePlanRequest, UpdatePlanResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function listPublicPlans$1(httpClient: HttpClient): ListPublicPlansSignature;
|
|
6
6
|
interface ListPublicPlansSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -40,7 +40,8 @@ __export(index_exports, {
|
|
|
40
40
|
onPlanUpdated: () => onPlanUpdated2,
|
|
41
41
|
queryPublicPlans: () => queryPublicPlans4,
|
|
42
42
|
setPlanVisibility: () => setPlanVisibility4,
|
|
43
|
-
updatePlan: () => updatePlan4
|
|
43
|
+
updatePlan: () => updatePlan4,
|
|
44
|
+
utils: () => utils
|
|
44
45
|
});
|
|
45
46
|
module.exports = __toCommonJS(index_exports);
|
|
46
47
|
|
|
@@ -475,6 +476,7 @@ function archivePlan(payload) {
|
|
|
475
476
|
|
|
476
477
|
// src/pricing-plans-v2-plan-plans.universal.ts
|
|
477
478
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
479
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
478
480
|
var PeriodUnit = /* @__PURE__ */ ((PeriodUnit2) => {
|
|
479
481
|
PeriodUnit2["UNDEFINED"] = "UNDEFINED";
|
|
480
482
|
PeriodUnit2["DAY"] = "DAY";
|
|
@@ -610,6 +612,9 @@ async function typedQueryPublicPlans(query) {
|
|
|
610
612
|
throw transformedError;
|
|
611
613
|
}
|
|
612
614
|
}
|
|
615
|
+
var utils = {
|
|
616
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
617
|
+
};
|
|
613
618
|
async function getPlan2(_id) {
|
|
614
619
|
const { httpClient, sideEffects } = arguments[1];
|
|
615
620
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id });
|
|
@@ -1038,6 +1043,7 @@ var onPlanUpdated2 = (0, import_event_definition_modules.createEventModule)(onPl
|
|
|
1038
1043
|
onPlanUpdated,
|
|
1039
1044
|
queryPublicPlans,
|
|
1040
1045
|
setPlanVisibility,
|
|
1041
|
-
updatePlan
|
|
1046
|
+
updatePlan,
|
|
1047
|
+
utils
|
|
1042
1048
|
});
|
|
1043
1049
|
//# sourceMappingURL=index.js.map
|