@wix/auto_sdk_packages_packages 1.0.6 → 1.0.8
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 +10 -27
- package/build/cjs/index.js +39 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +20 -27
- package/build/cjs/index.typings.js +39 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +934 -1
- package/build/cjs/meta.js +195 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +10 -27
- package/build/es/index.mjs +38 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +20 -27
- package/build/es/index.typings.mjs +38 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +934 -1
- package/build/es/meta.mjs +177 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -27
- package/build/internal/cjs/index.js +39 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +20 -27
- package/build/internal/cjs/index.typings.js +39 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +934 -1
- package/build/internal/cjs/meta.js +195 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -27
- package/build/internal/es/index.mjs +38 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +20 -27
- package/build/internal/es/index.typings.mjs +38 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +934 -1
- package/build/internal/es/meta.mjs +177 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -32,6 +32,7 @@ __export(index_exports, {
|
|
|
32
32
|
ProductAdjustment: () => ProductAdjustment,
|
|
33
33
|
ProviderName: () => ProviderName,
|
|
34
34
|
ReactivationReasonEnum: () => ReactivationReasonEnum,
|
|
35
|
+
RefundType: () => RefundType,
|
|
35
36
|
SortOrder: () => SortOrder,
|
|
36
37
|
Status: () => Status,
|
|
37
38
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
@@ -94,6 +95,9 @@ function createPackage(payload) {
|
|
|
94
95
|
method: "POST",
|
|
95
96
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CreatePackage",
|
|
96
97
|
packageName: PACKAGE_NAME,
|
|
98
|
+
migrationOptions: {
|
|
99
|
+
optInTransformResponse: true
|
|
100
|
+
},
|
|
97
101
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
98
102
|
protoPath: "/v1/packages",
|
|
99
103
|
data: serializedData,
|
|
@@ -134,6 +138,9 @@ function createPackageV2(payload) {
|
|
|
134
138
|
method: "POST",
|
|
135
139
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CreatePackageV2",
|
|
136
140
|
packageName: PACKAGE_NAME,
|
|
141
|
+
migrationOptions: {
|
|
142
|
+
optInTransformResponse: true
|
|
143
|
+
},
|
|
137
144
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
138
145
|
protoPath: "/v2/packages",
|
|
139
146
|
data: serializedData,
|
|
@@ -164,6 +171,9 @@ function cancelPackage(payload) {
|
|
|
164
171
|
method: "DELETE",
|
|
165
172
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CancelPackage",
|
|
166
173
|
packageName: PACKAGE_NAME,
|
|
174
|
+
migrationOptions: {
|
|
175
|
+
optInTransformResponse: true
|
|
176
|
+
},
|
|
167
177
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
168
178
|
protoPath: "/v1/packages/{id}",
|
|
169
179
|
data: payload,
|
|
@@ -194,6 +204,9 @@ function getPackage(payload) {
|
|
|
194
204
|
method: "GET",
|
|
195
205
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.GetPackage",
|
|
196
206
|
packageName: PACKAGE_NAME,
|
|
207
|
+
migrationOptions: {
|
|
208
|
+
optInTransformResponse: true
|
|
209
|
+
},
|
|
197
210
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
198
211
|
protoPath: "/v1/packages/{id}",
|
|
199
212
|
data: payload,
|
|
@@ -224,6 +237,9 @@ function queryPackages(payload) {
|
|
|
224
237
|
method: "POST",
|
|
225
238
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.QueryPackages",
|
|
226
239
|
packageName: PACKAGE_NAME,
|
|
240
|
+
migrationOptions: {
|
|
241
|
+
optInTransformResponse: true
|
|
242
|
+
},
|
|
227
243
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
228
244
|
protoPath: "/v1/packages/query",
|
|
229
245
|
data: payload,
|
|
@@ -254,6 +270,9 @@ function assignProductInstanceToSite(payload) {
|
|
|
254
270
|
method: "PATCH",
|
|
255
271
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.AssignProductInstanceToSite",
|
|
256
272
|
packageName: PACKAGE_NAME,
|
|
273
|
+
migrationOptions: {
|
|
274
|
+
optInTransformResponse: true
|
|
275
|
+
},
|
|
257
276
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
258
277
|
protoPath: "/v1/packages/product-instances/{instanceId}/{siteId}",
|
|
259
278
|
data: payload,
|
|
@@ -284,6 +303,9 @@ function unassignProductInstanceFromSite(payload) {
|
|
|
284
303
|
method: "PATCH",
|
|
285
304
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.UnassignProductInstanceFromSite",
|
|
286
305
|
packageName: PACKAGE_NAME,
|
|
306
|
+
migrationOptions: {
|
|
307
|
+
optInTransformResponse: true
|
|
308
|
+
},
|
|
287
309
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
288
310
|
protoPath: "/v1/packages/product-instances/{instanceId}/unassign",
|
|
289
311
|
data: payload,
|
|
@@ -314,6 +336,9 @@ function cancelProductInstance(payload) {
|
|
|
314
336
|
method: "DELETE",
|
|
315
337
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.CancelProductInstance",
|
|
316
338
|
packageName: PACKAGE_NAME,
|
|
339
|
+
migrationOptions: {
|
|
340
|
+
optInTransformResponse: true
|
|
341
|
+
},
|
|
317
342
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
318
343
|
protoPath: "/v1/packages/product-instances/{instanceId}",
|
|
319
344
|
data: payload,
|
|
@@ -344,6 +369,9 @@ function adjustProductInstanceSpecifications(payload) {
|
|
|
344
369
|
method: "PATCH",
|
|
345
370
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.AdjustProductInstanceSpecifications",
|
|
346
371
|
packageName: PACKAGE_NAME,
|
|
372
|
+
migrationOptions: {
|
|
373
|
+
optInTransformResponse: true
|
|
374
|
+
},
|
|
347
375
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
348
376
|
protoPath: "/v1/packages/product-instances/{instanceId}",
|
|
349
377
|
data: payload,
|
|
@@ -374,6 +402,9 @@ function updatePackageExternalId(payload) {
|
|
|
374
402
|
method: "PATCH",
|
|
375
403
|
methodFqn: "com.wixpress.premium.reseller.packages.v1.Packages.UpdatePackageExternalId",
|
|
376
404
|
packageName: PACKAGE_NAME,
|
|
405
|
+
migrationOptions: {
|
|
406
|
+
optInTransformResponse: true
|
|
407
|
+
},
|
|
377
408
|
url: resolveComWixpressPremiumResellerPackagesV1PackagesUrl({
|
|
378
409
|
protoPath: "/v1/packages/update/{packageId}/{externalId}",
|
|
379
410
|
data: payload,
|
|
@@ -472,6 +503,13 @@ var Initiator = /* @__PURE__ */ ((Initiator2) => {
|
|
|
472
503
|
Initiator2["PASSIVE"] = "PASSIVE";
|
|
473
504
|
return Initiator2;
|
|
474
505
|
})(Initiator || {});
|
|
506
|
+
var RefundType = /* @__PURE__ */ ((RefundType2) => {
|
|
507
|
+
RefundType2["UNKNOWN"] = "UNKNOWN";
|
|
508
|
+
RefundType2["NO_REFUND"] = "NO_REFUND";
|
|
509
|
+
RefundType2["FULL_REFUND"] = "FULL_REFUND";
|
|
510
|
+
RefundType2["PRORATED_REFUND"] = "PRORATED_REFUND";
|
|
511
|
+
return RefundType2;
|
|
512
|
+
})(RefundType || {});
|
|
475
513
|
var UnassignReason = /* @__PURE__ */ ((UnassignReason2) => {
|
|
476
514
|
UnassignReason2["UNKNOWN"] = "UNKNOWN";
|
|
477
515
|
UnassignReason2["USER_REQUESTED"] = "USER_REQUESTED";
|
|
@@ -937,6 +975,7 @@ var updatePackageExternalId4 = /* @__PURE__ */ (0, import_rest_modules3.createRE
|
|
|
937
975
|
ProductAdjustment,
|
|
938
976
|
ProviderName,
|
|
939
977
|
ReactivationReasonEnum,
|
|
978
|
+
RefundType,
|
|
940
979
|
SortOrder,
|
|
941
980
|
Status,
|
|
942
981
|
SubscriptionStatus,
|