@wix/auto_sdk_containers_plans 1.0.0
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 +708 -0
- package/build/cjs/index.js +731 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +642 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +678 -0
- package/build/cjs/meta.js +571 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/index.d.mts +708 -0
- package/build/es/index.mjs +694 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +1 -0
- package/build/es/index.typings.mjs +605 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +678 -0
- package/build/es/meta.mjs +531 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/internal/cjs/index.d.ts +132 -0
- package/build/internal/cjs/index.typings.d.ts +842 -0
- package/build/internal/cjs/meta.d.ts +726 -0
- package/build/internal/es/index.d.mts +132 -0
- package/build/internal/es/index.typings.d.mts +842 -0
- package/build/internal/es/meta.d.mts +726 -0
- package/meta/package.json +3 -0
- package/package.json +54 -0
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// meta.ts
|
|
21
|
+
var meta_exports = {};
|
|
22
|
+
__export(meta_exports, {
|
|
23
|
+
PlanPartTypeOriginal: () => PlanPartType,
|
|
24
|
+
PlanStatusOriginal: () => PlanStatus,
|
|
25
|
+
PlatformOriginal: () => Platform,
|
|
26
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
27
|
+
createAndGeneratePlan: () => createAndGeneratePlan2,
|
|
28
|
+
createPlan: () => createPlan2,
|
|
29
|
+
deletePlan: () => deletePlan2,
|
|
30
|
+
finalizePlan: () => finalizePlan2,
|
|
31
|
+
generatePlan: () => generatePlan2,
|
|
32
|
+
getPlan: () => getPlan2,
|
|
33
|
+
getPlanByProjectId: () => getPlanByProjectId2,
|
|
34
|
+
modifyPlan: () => modifyPlan2,
|
|
35
|
+
regenerateIcon: () => regenerateIcon2,
|
|
36
|
+
updatePlan: () => updatePlan2
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(meta_exports);
|
|
39
|
+
|
|
40
|
+
// src/containers-plans-v1-plan-plans.http.ts
|
|
41
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
42
|
+
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
43
|
+
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
44
|
+
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
45
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
46
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
47
|
+
function resolveWixContainersPlansV1ContainersPlansUrl(opts) {
|
|
48
|
+
const domainToMappings = {
|
|
49
|
+
"manage._base_domain_": [
|
|
50
|
+
{
|
|
51
|
+
srcPath: "/_api/containers-plans",
|
|
52
|
+
destPath: ""
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
};
|
|
56
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
57
|
+
}
|
|
58
|
+
var PACKAGE_NAME = "@wix/auto_sdk_containers_plans";
|
|
59
|
+
function createPlan(payload) {
|
|
60
|
+
function __createPlan({ host }) {
|
|
61
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
62
|
+
{
|
|
63
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
64
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
65
|
+
}
|
|
66
|
+
]);
|
|
67
|
+
const metadata = {
|
|
68
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
69
|
+
method: "POST",
|
|
70
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.CreatePlan",
|
|
71
|
+
packageName: PACKAGE_NAME,
|
|
72
|
+
migrationOptions: {
|
|
73
|
+
optInTransformResponse: true
|
|
74
|
+
},
|
|
75
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
76
|
+
protoPath: "/v1/plans",
|
|
77
|
+
data: serializedData,
|
|
78
|
+
host
|
|
79
|
+
}),
|
|
80
|
+
data: serializedData,
|
|
81
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
82
|
+
{
|
|
83
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
84
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
85
|
+
}
|
|
86
|
+
])
|
|
87
|
+
};
|
|
88
|
+
return metadata;
|
|
89
|
+
}
|
|
90
|
+
return __createPlan;
|
|
91
|
+
}
|
|
92
|
+
function createAndGeneratePlan(payload) {
|
|
93
|
+
function __createAndGeneratePlan({ host }) {
|
|
94
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
95
|
+
{
|
|
96
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
97
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
98
|
+
}
|
|
99
|
+
]);
|
|
100
|
+
const metadata = {
|
|
101
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
102
|
+
method: "POST",
|
|
103
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.CreateAndGeneratePlan",
|
|
104
|
+
packageName: PACKAGE_NAME,
|
|
105
|
+
migrationOptions: {
|
|
106
|
+
optInTransformResponse: true
|
|
107
|
+
},
|
|
108
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
109
|
+
protoPath: "/v1/plans/create-and-generate",
|
|
110
|
+
data: serializedData,
|
|
111
|
+
host
|
|
112
|
+
}),
|
|
113
|
+
data: serializedData,
|
|
114
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
115
|
+
{
|
|
116
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
117
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
118
|
+
}
|
|
119
|
+
])
|
|
120
|
+
};
|
|
121
|
+
return metadata;
|
|
122
|
+
}
|
|
123
|
+
return __createAndGeneratePlan;
|
|
124
|
+
}
|
|
125
|
+
function getPlan(payload) {
|
|
126
|
+
function __getPlan({ host }) {
|
|
127
|
+
const metadata = {
|
|
128
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
129
|
+
method: "GET",
|
|
130
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.GetPlan",
|
|
131
|
+
packageName: PACKAGE_NAME,
|
|
132
|
+
migrationOptions: {
|
|
133
|
+
optInTransformResponse: true
|
|
134
|
+
},
|
|
135
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
136
|
+
protoPath: "/v1/plans/{planId}",
|
|
137
|
+
data: payload,
|
|
138
|
+
host
|
|
139
|
+
}),
|
|
140
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
141
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
142
|
+
{
|
|
143
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
144
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
145
|
+
}
|
|
146
|
+
])
|
|
147
|
+
};
|
|
148
|
+
return metadata;
|
|
149
|
+
}
|
|
150
|
+
return __getPlan;
|
|
151
|
+
}
|
|
152
|
+
function getPlanByProjectId(payload) {
|
|
153
|
+
function __getPlanByProjectId({ host }) {
|
|
154
|
+
const metadata = {
|
|
155
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
156
|
+
method: "GET",
|
|
157
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.GetPlanByProjectId",
|
|
158
|
+
packageName: PACKAGE_NAME,
|
|
159
|
+
migrationOptions: {
|
|
160
|
+
optInTransformResponse: true
|
|
161
|
+
},
|
|
162
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
163
|
+
protoPath: "/v1/plans/by-project/{projectId}",
|
|
164
|
+
data: payload,
|
|
165
|
+
host
|
|
166
|
+
}),
|
|
167
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
168
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
169
|
+
{
|
|
170
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
171
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
172
|
+
}
|
|
173
|
+
])
|
|
174
|
+
};
|
|
175
|
+
return metadata;
|
|
176
|
+
}
|
|
177
|
+
return __getPlanByProjectId;
|
|
178
|
+
}
|
|
179
|
+
function updatePlan(payload) {
|
|
180
|
+
function __updatePlan({ host }) {
|
|
181
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
182
|
+
{
|
|
183
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
184
|
+
paths: [{ path: "fieldMask" }]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
188
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
189
|
+
}
|
|
190
|
+
]);
|
|
191
|
+
const metadata = {
|
|
192
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
193
|
+
method: "PATCH",
|
|
194
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.UpdatePlan",
|
|
195
|
+
packageName: PACKAGE_NAME,
|
|
196
|
+
migrationOptions: {
|
|
197
|
+
optInTransformResponse: true
|
|
198
|
+
},
|
|
199
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
200
|
+
protoPath: "/v1/plans/{plan.id}",
|
|
201
|
+
data: serializedData,
|
|
202
|
+
host
|
|
203
|
+
}),
|
|
204
|
+
data: serializedData,
|
|
205
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
206
|
+
{
|
|
207
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
208
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
209
|
+
}
|
|
210
|
+
])
|
|
211
|
+
};
|
|
212
|
+
return metadata;
|
|
213
|
+
}
|
|
214
|
+
return __updatePlan;
|
|
215
|
+
}
|
|
216
|
+
function deletePlan(payload) {
|
|
217
|
+
function __deletePlan({ host }) {
|
|
218
|
+
const metadata = {
|
|
219
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
220
|
+
method: "DELETE",
|
|
221
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.DeletePlan",
|
|
222
|
+
packageName: PACKAGE_NAME,
|
|
223
|
+
migrationOptions: {
|
|
224
|
+
optInTransformResponse: true
|
|
225
|
+
},
|
|
226
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
227
|
+
protoPath: "/v1/plans/{planId}",
|
|
228
|
+
data: payload,
|
|
229
|
+
host
|
|
230
|
+
}),
|
|
231
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
232
|
+
};
|
|
233
|
+
return metadata;
|
|
234
|
+
}
|
|
235
|
+
return __deletePlan;
|
|
236
|
+
}
|
|
237
|
+
function generatePlan(payload) {
|
|
238
|
+
function __generatePlan({ host }) {
|
|
239
|
+
const metadata = {
|
|
240
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
241
|
+
method: "POST",
|
|
242
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.GeneratePlan",
|
|
243
|
+
packageName: PACKAGE_NAME,
|
|
244
|
+
migrationOptions: {
|
|
245
|
+
optInTransformResponse: true
|
|
246
|
+
},
|
|
247
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
248
|
+
protoPath: "/v1/plans/{planId}/generate",
|
|
249
|
+
data: payload,
|
|
250
|
+
host
|
|
251
|
+
}),
|
|
252
|
+
data: payload,
|
|
253
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
254
|
+
{
|
|
255
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
256
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
257
|
+
}
|
|
258
|
+
])
|
|
259
|
+
};
|
|
260
|
+
return metadata;
|
|
261
|
+
}
|
|
262
|
+
return __generatePlan;
|
|
263
|
+
}
|
|
264
|
+
function modifyPlan(payload) {
|
|
265
|
+
function __modifyPlan({ host }) {
|
|
266
|
+
const metadata = {
|
|
267
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
268
|
+
method: "POST",
|
|
269
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.ModifyPlan",
|
|
270
|
+
packageName: PACKAGE_NAME,
|
|
271
|
+
migrationOptions: {
|
|
272
|
+
optInTransformResponse: true
|
|
273
|
+
},
|
|
274
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
275
|
+
protoPath: "/v1/plans/{planId}/modify",
|
|
276
|
+
data: payload,
|
|
277
|
+
host
|
|
278
|
+
}),
|
|
279
|
+
data: payload,
|
|
280
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
281
|
+
{
|
|
282
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
283
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
284
|
+
}
|
|
285
|
+
])
|
|
286
|
+
};
|
|
287
|
+
return metadata;
|
|
288
|
+
}
|
|
289
|
+
return __modifyPlan;
|
|
290
|
+
}
|
|
291
|
+
function regenerateIcon(payload) {
|
|
292
|
+
function __regenerateIcon({ host }) {
|
|
293
|
+
const metadata = {
|
|
294
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
295
|
+
method: "POST",
|
|
296
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.RegenerateIcon",
|
|
297
|
+
packageName: PACKAGE_NAME,
|
|
298
|
+
migrationOptions: {
|
|
299
|
+
optInTransformResponse: true
|
|
300
|
+
},
|
|
301
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
302
|
+
protoPath: "/v1/plans/{planId}/regenerate-icon",
|
|
303
|
+
data: payload,
|
|
304
|
+
host
|
|
305
|
+
}),
|
|
306
|
+
data: payload
|
|
307
|
+
};
|
|
308
|
+
return metadata;
|
|
309
|
+
}
|
|
310
|
+
return __regenerateIcon;
|
|
311
|
+
}
|
|
312
|
+
function finalizePlan(payload) {
|
|
313
|
+
function __finalizePlan({ host }) {
|
|
314
|
+
const metadata = {
|
|
315
|
+
entityFqdn: "wix.containers.plans.v1.plan",
|
|
316
|
+
method: "POST",
|
|
317
|
+
methodFqn: "wix.containers.plans.v1.ContainersPlans.FinalizePlan",
|
|
318
|
+
packageName: PACKAGE_NAME,
|
|
319
|
+
migrationOptions: {
|
|
320
|
+
optInTransformResponse: true
|
|
321
|
+
},
|
|
322
|
+
url: resolveWixContainersPlansV1ContainersPlansUrl({
|
|
323
|
+
protoPath: "/v1/plans/{planId}/finalize",
|
|
324
|
+
data: payload,
|
|
325
|
+
host
|
|
326
|
+
}),
|
|
327
|
+
data: payload,
|
|
328
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
329
|
+
{
|
|
330
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
331
|
+
paths: [{ path: "plan.createdDate" }, { path: "plan.updatedDate" }]
|
|
332
|
+
}
|
|
333
|
+
])
|
|
334
|
+
};
|
|
335
|
+
return metadata;
|
|
336
|
+
}
|
|
337
|
+
return __finalizePlan;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// src/containers-plans-v1-plan-plans.types.ts
|
|
341
|
+
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
342
|
+
Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
|
|
343
|
+
return Platform2;
|
|
344
|
+
})(Platform || {});
|
|
345
|
+
var PlanStatus = /* @__PURE__ */ ((PlanStatus2) => {
|
|
346
|
+
PlanStatus2["DRAFT"] = "DRAFT";
|
|
347
|
+
PlanStatus2["FINALIZED"] = "FINALIZED";
|
|
348
|
+
return PlanStatus2;
|
|
349
|
+
})(PlanStatus || {});
|
|
350
|
+
var PlanPartType = /* @__PURE__ */ ((PlanPartType2) => {
|
|
351
|
+
PlanPartType2["APP_NAME"] = "APP_NAME";
|
|
352
|
+
PlanPartType2["APP_DESCRIPTION"] = "APP_DESCRIPTION";
|
|
353
|
+
PlanPartType2["BUSINESS_GOAL"] = "BUSINESS_GOAL";
|
|
354
|
+
PlanPartType2["AUDIENCE"] = "AUDIENCE";
|
|
355
|
+
PlanPartType2["FEATURE"] = "FEATURE";
|
|
356
|
+
PlanPartType2["SCREEN"] = "SCREEN";
|
|
357
|
+
PlanPartType2["WIX_INTEGRATION"] = "WIX_INTEGRATION";
|
|
358
|
+
PlanPartType2["THIRD_PARTY_INTEGRATION"] = "THIRD_PARTY_INTEGRATION";
|
|
359
|
+
PlanPartType2["BRAND_IDENTITY"] = "BRAND_IDENTITY";
|
|
360
|
+
PlanPartType2["COLOR_THEME"] = "COLOR_THEME";
|
|
361
|
+
PlanPartType2["TEXT_THEME"] = "TEXT_THEME";
|
|
362
|
+
return PlanPartType2;
|
|
363
|
+
})(PlanPartType || {});
|
|
364
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
365
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
366
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
367
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
368
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
369
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
370
|
+
return WebhookIdentityType2;
|
|
371
|
+
})(WebhookIdentityType || {});
|
|
372
|
+
|
|
373
|
+
// src/containers-plans-v1-plan-plans.meta.ts
|
|
374
|
+
function createPlan2() {
|
|
375
|
+
const payload = {};
|
|
376
|
+
const getRequestOptions = createPlan(payload);
|
|
377
|
+
const getUrl = (context) => {
|
|
378
|
+
const { url } = getRequestOptions(context);
|
|
379
|
+
return url;
|
|
380
|
+
};
|
|
381
|
+
return {
|
|
382
|
+
getUrl,
|
|
383
|
+
httpMethod: "POST",
|
|
384
|
+
path: "/v1/plans",
|
|
385
|
+
pathParams: {},
|
|
386
|
+
__requestType: null,
|
|
387
|
+
__originalRequestType: null,
|
|
388
|
+
__responseType: null,
|
|
389
|
+
__originalResponseType: null
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
function createAndGeneratePlan2() {
|
|
393
|
+
const payload = {};
|
|
394
|
+
const getRequestOptions = createAndGeneratePlan(payload);
|
|
395
|
+
const getUrl = (context) => {
|
|
396
|
+
const { url } = getRequestOptions(context);
|
|
397
|
+
return url;
|
|
398
|
+
};
|
|
399
|
+
return {
|
|
400
|
+
getUrl,
|
|
401
|
+
httpMethod: "POST",
|
|
402
|
+
path: "/v1/plans/create-and-generate",
|
|
403
|
+
pathParams: {},
|
|
404
|
+
__requestType: null,
|
|
405
|
+
__originalRequestType: null,
|
|
406
|
+
__responseType: null,
|
|
407
|
+
__originalResponseType: null
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
function getPlan2() {
|
|
411
|
+
const payload = { planId: ":planId" };
|
|
412
|
+
const getRequestOptions = getPlan(payload);
|
|
413
|
+
const getUrl = (context) => {
|
|
414
|
+
const { url } = getRequestOptions(context);
|
|
415
|
+
return url;
|
|
416
|
+
};
|
|
417
|
+
return {
|
|
418
|
+
getUrl,
|
|
419
|
+
httpMethod: "GET",
|
|
420
|
+
path: "/v1/plans/{planId}",
|
|
421
|
+
pathParams: { planId: "planId" },
|
|
422
|
+
__requestType: null,
|
|
423
|
+
__originalRequestType: null,
|
|
424
|
+
__responseType: null,
|
|
425
|
+
__originalResponseType: null
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
function getPlanByProjectId2() {
|
|
429
|
+
const payload = { projectId: ":projectId" };
|
|
430
|
+
const getRequestOptions = getPlanByProjectId(payload);
|
|
431
|
+
const getUrl = (context) => {
|
|
432
|
+
const { url } = getRequestOptions(context);
|
|
433
|
+
return url;
|
|
434
|
+
};
|
|
435
|
+
return {
|
|
436
|
+
getUrl,
|
|
437
|
+
httpMethod: "GET",
|
|
438
|
+
path: "/v1/plans/by-project/{projectId}",
|
|
439
|
+
pathParams: { projectId: "projectId" },
|
|
440
|
+
__requestType: null,
|
|
441
|
+
__originalRequestType: null,
|
|
442
|
+
__responseType: null,
|
|
443
|
+
__originalResponseType: null
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
function updatePlan2() {
|
|
447
|
+
const payload = { plan: { id: ":planId" } };
|
|
448
|
+
const getRequestOptions = updatePlan(payload);
|
|
449
|
+
const getUrl = (context) => {
|
|
450
|
+
const { url } = getRequestOptions(context);
|
|
451
|
+
return url;
|
|
452
|
+
};
|
|
453
|
+
return {
|
|
454
|
+
getUrl,
|
|
455
|
+
httpMethod: "PATCH",
|
|
456
|
+
path: "/v1/plans/{plan.id}",
|
|
457
|
+
pathParams: { planId: "planId" },
|
|
458
|
+
__requestType: null,
|
|
459
|
+
__originalRequestType: null,
|
|
460
|
+
__responseType: null,
|
|
461
|
+
__originalResponseType: null
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
function deletePlan2() {
|
|
465
|
+
const payload = { planId: ":planId" };
|
|
466
|
+
const getRequestOptions = deletePlan(payload);
|
|
467
|
+
const getUrl = (context) => {
|
|
468
|
+
const { url } = getRequestOptions(context);
|
|
469
|
+
return url;
|
|
470
|
+
};
|
|
471
|
+
return {
|
|
472
|
+
getUrl,
|
|
473
|
+
httpMethod: "DELETE",
|
|
474
|
+
path: "/v1/plans/{planId}",
|
|
475
|
+
pathParams: { planId: "planId" },
|
|
476
|
+
__requestType: null,
|
|
477
|
+
__originalRequestType: null,
|
|
478
|
+
__responseType: null,
|
|
479
|
+
__originalResponseType: null
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
function generatePlan2() {
|
|
483
|
+
const payload = { planId: ":planId" };
|
|
484
|
+
const getRequestOptions = generatePlan(payload);
|
|
485
|
+
const getUrl = (context) => {
|
|
486
|
+
const { url } = getRequestOptions(context);
|
|
487
|
+
return url;
|
|
488
|
+
};
|
|
489
|
+
return {
|
|
490
|
+
getUrl,
|
|
491
|
+
httpMethod: "POST",
|
|
492
|
+
path: "/v1/plans/{planId}/generate",
|
|
493
|
+
pathParams: { planId: "planId" },
|
|
494
|
+
__requestType: null,
|
|
495
|
+
__originalRequestType: null,
|
|
496
|
+
__responseType: null,
|
|
497
|
+
__originalResponseType: null
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
function modifyPlan2() {
|
|
501
|
+
const payload = { planId: ":planId" };
|
|
502
|
+
const getRequestOptions = modifyPlan(payload);
|
|
503
|
+
const getUrl = (context) => {
|
|
504
|
+
const { url } = getRequestOptions(context);
|
|
505
|
+
return url;
|
|
506
|
+
};
|
|
507
|
+
return {
|
|
508
|
+
getUrl,
|
|
509
|
+
httpMethod: "POST",
|
|
510
|
+
path: "/v1/plans/{planId}/modify",
|
|
511
|
+
pathParams: { planId: "planId" },
|
|
512
|
+
__requestType: null,
|
|
513
|
+
__originalRequestType: null,
|
|
514
|
+
__responseType: null,
|
|
515
|
+
__originalResponseType: null
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
function regenerateIcon2() {
|
|
519
|
+
const payload = { planId: ":planId" };
|
|
520
|
+
const getRequestOptions = regenerateIcon(payload);
|
|
521
|
+
const getUrl = (context) => {
|
|
522
|
+
const { url } = getRequestOptions(context);
|
|
523
|
+
return url;
|
|
524
|
+
};
|
|
525
|
+
return {
|
|
526
|
+
getUrl,
|
|
527
|
+
httpMethod: "POST",
|
|
528
|
+
path: "/v1/plans/{planId}/regenerate-icon",
|
|
529
|
+
pathParams: { planId: "planId" },
|
|
530
|
+
__requestType: null,
|
|
531
|
+
__originalRequestType: null,
|
|
532
|
+
__responseType: null,
|
|
533
|
+
__originalResponseType: null
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
function finalizePlan2() {
|
|
537
|
+
const payload = { planId: ":planId" };
|
|
538
|
+
const getRequestOptions = finalizePlan(payload);
|
|
539
|
+
const getUrl = (context) => {
|
|
540
|
+
const { url } = getRequestOptions(context);
|
|
541
|
+
return url;
|
|
542
|
+
};
|
|
543
|
+
return {
|
|
544
|
+
getUrl,
|
|
545
|
+
httpMethod: "POST",
|
|
546
|
+
path: "/v1/plans/{planId}/finalize",
|
|
547
|
+
pathParams: { planId: "planId" },
|
|
548
|
+
__requestType: null,
|
|
549
|
+
__originalRequestType: null,
|
|
550
|
+
__responseType: null,
|
|
551
|
+
__originalResponseType: null
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
555
|
+
0 && (module.exports = {
|
|
556
|
+
PlanPartTypeOriginal,
|
|
557
|
+
PlanStatusOriginal,
|
|
558
|
+
PlatformOriginal,
|
|
559
|
+
WebhookIdentityTypeOriginal,
|
|
560
|
+
createAndGeneratePlan,
|
|
561
|
+
createPlan,
|
|
562
|
+
deletePlan,
|
|
563
|
+
finalizePlan,
|
|
564
|
+
generatePlan,
|
|
565
|
+
getPlan,
|
|
566
|
+
getPlanByProjectId,
|
|
567
|
+
modifyPlan,
|
|
568
|
+
regenerateIcon,
|
|
569
|
+
updatePlan
|
|
570
|
+
});
|
|
571
|
+
//# sourceMappingURL=meta.js.map
|