@wix/auto_sdk_ecom_subscription-contracts 1.0.121 → 1.0.123
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.js +18 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -10
- package/build/cjs/index.typings.js +11 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +10 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +4 -4
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +18 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -10
- package/build/es/index.typings.mjs +11 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +10 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +4 -4
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +18 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -10
- package/build/internal/cjs/index.typings.js +11 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +10 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +4 -4
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +18 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -10
- package/build/internal/es/index.typings.mjs +11 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +10 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +4 -4
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -52,6 +52,16 @@ function resolveWixEcomSubscriptionContractsV1SubscriptionContractsUrl(opts) {
|
|
|
52
52
|
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
53
53
|
destPath: "/v1/bulk/subscription-contracts"
|
|
54
54
|
}
|
|
55
|
+
],
|
|
56
|
+
"manage._base_domain_": [
|
|
57
|
+
{
|
|
58
|
+
srcPath: "/ecom/subscription-contracts/v1/subscription-contracts",
|
|
59
|
+
destPath: "/v1/subscription-contracts"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
srcPath: "/ecom/subscription-contracts/v1/bulk/subscription-contracts",
|
|
63
|
+
destPath: "/v1/bulk/subscription-contracts"
|
|
64
|
+
}
|
|
55
65
|
]
|
|
56
66
|
};
|
|
57
67
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -624,9 +634,7 @@ async function typedQuerySubscriptionContracts(query) {
|
|
|
624
634
|
}
|
|
625
635
|
}
|
|
626
636
|
var utils = {
|
|
627
|
-
query:
|
|
628
|
-
...createQueryUtils()
|
|
629
|
-
}
|
|
637
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
630
638
|
};
|
|
631
639
|
|
|
632
640
|
// src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.public.ts
|
|
@@ -650,7 +658,7 @@ function typedQuerySubscriptionContracts2(httpClient) {
|
|
|
650
658
|
{ httpClient }
|
|
651
659
|
);
|
|
652
660
|
}
|
|
653
|
-
var onSubscriptionContractCreated = EventDefinition(
|
|
661
|
+
var onSubscriptionContractCreated = /* @__PURE__ */ EventDefinition(
|
|
654
662
|
"wix.ecom.subscription_contracts.v1.subscription_contract_created",
|
|
655
663
|
true,
|
|
656
664
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -696,7 +704,7 @@ var onSubscriptionContractCreated = EventDefinition(
|
|
|
696
704
|
])
|
|
697
705
|
)
|
|
698
706
|
)();
|
|
699
|
-
var onSubscriptionContractDeleted = EventDefinition(
|
|
707
|
+
var onSubscriptionContractDeleted = /* @__PURE__ */ EventDefinition(
|
|
700
708
|
"wix.ecom.subscription_contracts.v1.subscription_contract_deleted",
|
|
701
709
|
true,
|
|
702
710
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -742,7 +750,7 @@ var onSubscriptionContractDeleted = EventDefinition(
|
|
|
742
750
|
])
|
|
743
751
|
)
|
|
744
752
|
)();
|
|
745
|
-
var onSubscriptionContractUpdated = EventDefinition(
|
|
753
|
+
var onSubscriptionContractUpdated = /* @__PURE__ */ EventDefinition(
|
|
746
754
|
"wix.ecom.subscription_contracts.v1.subscription_contract_updated",
|
|
747
755
|
true,
|
|
748
756
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -827,7 +835,7 @@ import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
|
827
835
|
import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
|
|
828
836
|
import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
|
|
829
837
|
function customQuerySubscriptionContracts(httpClient) {
|
|
830
|
-
const router = createQueryOverloadRouter({
|
|
838
|
+
const router = /* @__PURE__ */ createQueryOverloadRouter({
|
|
831
839
|
builderQueryFunction: () => querySubscriptionContracts3(httpClient)(),
|
|
832
840
|
typedQueryFunction: (query) => typedQuerySubscriptionContracts2(httpClient)(query),
|
|
833
841
|
hasOptionsParameter: false
|
|
@@ -839,13 +847,13 @@ function customQuerySubscriptionContracts(httpClient) {
|
|
|
839
847
|
}
|
|
840
848
|
var getSubscriptionContract4 = /* @__PURE__ */ createRESTModule(getSubscriptionContract3);
|
|
841
849
|
var querySubscriptionContracts4 = /* @__PURE__ */ createRESTModule(customQuerySubscriptionContracts);
|
|
842
|
-
var onSubscriptionContractCreated2 = createEventModule(
|
|
850
|
+
var onSubscriptionContractCreated2 = /* @__PURE__ */ createEventModule(
|
|
843
851
|
onSubscriptionContractCreated
|
|
844
852
|
);
|
|
845
|
-
var onSubscriptionContractDeleted2 = createEventModule(
|
|
853
|
+
var onSubscriptionContractDeleted2 = /* @__PURE__ */ createEventModule(
|
|
846
854
|
onSubscriptionContractDeleted
|
|
847
855
|
);
|
|
848
|
-
var onSubscriptionContractUpdated2 = createEventModule(
|
|
856
|
+
var onSubscriptionContractUpdated2 = /* @__PURE__ */ createEventModule(
|
|
849
857
|
onSubscriptionContractUpdated
|
|
850
858
|
);
|
|
851
859
|
export {
|