@wix/auto_sdk_crm_pipelines 1.0.0 → 1.0.1
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 +76 -130
- package/build/cjs/index.js +194 -977
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +998 -15
- package/build/cjs/index.typings.js +146 -767
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +133 -1005
- package/build/cjs/meta.js +128 -682
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +76 -130
- package/build/es/index.mjs +184 -947
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +998 -15
- package/build/es/index.typings.mjs +138 -743
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +133 -1005
- package/build/es/meta.mjs +121 -659
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +76 -163
- package/build/internal/cjs/index.js +194 -977
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +998 -15
- package/build/internal/cjs/index.typings.js +146 -767
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +133 -1005
- package/build/internal/cjs/meta.js +128 -682
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +76 -163
- package/build/internal/es/index.mjs +184 -947
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +998 -15
- package/build/internal/es/index.typings.mjs +138 -743
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +133 -1005
- package/build/internal/es/meta.mjs +121 -659
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
- package/build/cjs/crm-pipelines-v1-card-pipelines.universal-DGtqU_Zb.d.ts +0 -2265
- package/build/es/crm-pipelines-v1-card-pipelines.universal-DGtqU_Zb.d.mts +0 -2265
- package/build/internal/cjs/crm-pipelines-v1-card-pipelines.universal-BHszxzqA.d.ts +0 -2303
- package/build/internal/es/crm-pipelines-v1-card-pipelines.universal-BHszxzqA.d.mts +0 -2303
package/build/cjs/meta.js
CHANGED
|
@@ -20,123 +20,101 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
-
AggregationTypeOriginal: () => AggregationType,
|
|
24
|
-
IntervalOriginal: () => Interval,
|
|
25
|
-
MissingValuesOriginal: () => MissingValues,
|
|
26
|
-
ModeOriginal: () => Mode,
|
|
27
|
-
NameFormatOriginal: () => NameFormat,
|
|
28
|
-
NestedAggregationTypeOriginal: () => NestedAggregationType,
|
|
29
23
|
OutcomeOriginal: () => Outcome,
|
|
30
|
-
PriorityOriginal: () => Priority,
|
|
31
|
-
ScalarTypeOriginal: () => ScalarType,
|
|
32
|
-
SortDirectionOriginal: () => SortDirection,
|
|
33
24
|
SortOrderOriginal: () => SortOrder,
|
|
34
|
-
SortTypeOriginal: () => SortType,
|
|
35
25
|
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
getCard: () => getCard2,
|
|
44
|
-
moveCard: () => moveCard2,
|
|
45
|
-
queryCards: () => queryCards2,
|
|
46
|
-
searchCards: () => searchCards2,
|
|
47
|
-
searchCardsByStage: () => searchCardsByStage2,
|
|
48
|
-
updateCard: () => updateCard2
|
|
26
|
+
bulkUpdatePipelineTags: () => bulkUpdatePipelineTags2,
|
|
27
|
+
bulkUpdatePipelineTagsByFilter: () => bulkUpdatePipelineTagsByFilter2,
|
|
28
|
+
createPipeline: () => createPipeline2,
|
|
29
|
+
deletePipeline: () => deletePipeline2,
|
|
30
|
+
getPipeline: () => getPipeline2,
|
|
31
|
+
queryPipelines: () => queryPipelines2,
|
|
32
|
+
updatePipeline: () => updatePipeline2
|
|
49
33
|
});
|
|
50
34
|
module.exports = __toCommonJS(meta_exports);
|
|
51
35
|
|
|
52
|
-
// src/crm-pipelines-v1-
|
|
36
|
+
// src/crm-pipelines-v1-pipeline-pipelines.http.ts
|
|
53
37
|
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
54
|
-
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
55
|
-
var import_float2 = require("@wix/sdk-runtime/transformations/float");
|
|
56
38
|
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
57
39
|
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
58
40
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
59
41
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
60
42
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
61
|
-
function
|
|
43
|
+
function resolveWixCrmPipelinesPipelinesV1PipelinesUrl(opts) {
|
|
62
44
|
const domainToMappings = {
|
|
63
45
|
"manage._base_domain_": [
|
|
64
46
|
{
|
|
65
|
-
srcPath: "/_api/
|
|
66
|
-
destPath: "/v1/
|
|
47
|
+
srcPath: "/_api/pipelines-app/v1/pipelines",
|
|
48
|
+
destPath: "/v1/pipelines"
|
|
67
49
|
},
|
|
68
50
|
{
|
|
69
|
-
srcPath: "/_api/
|
|
70
|
-
destPath: "/v1/bulk/
|
|
51
|
+
srcPath: "/_api/pipelines-app/v1/bulk/pipelines/",
|
|
52
|
+
destPath: "/v1/bulk/pipelines/"
|
|
71
53
|
},
|
|
72
54
|
{
|
|
73
|
-
srcPath: "/_api/
|
|
74
|
-
destPath: "/v1/
|
|
55
|
+
srcPath: "/_api/pipelines/v1/pipelines",
|
|
56
|
+
destPath: "/v1/pipelines"
|
|
75
57
|
},
|
|
76
58
|
{
|
|
77
|
-
srcPath: "/_api/
|
|
78
|
-
destPath: "/v1/bulk/
|
|
59
|
+
srcPath: "/_api/pipelines/v1/bulk/pipelines",
|
|
60
|
+
destPath: "/v1/bulk/pipelines"
|
|
79
61
|
}
|
|
80
62
|
],
|
|
81
63
|
_: [
|
|
82
64
|
{
|
|
83
|
-
srcPath: "/_api/
|
|
84
|
-
destPath: "/v1/
|
|
65
|
+
srcPath: "/_api/pipelines/v1/pipelines",
|
|
66
|
+
destPath: "/v1/pipelines"
|
|
85
67
|
},
|
|
86
68
|
{
|
|
87
|
-
srcPath: "/_api/
|
|
88
|
-
destPath: "/v1/bulk/
|
|
69
|
+
srcPath: "/_api/pipelines/v1/bulk/pipelines",
|
|
70
|
+
destPath: "/v1/bulk/pipelines"
|
|
89
71
|
}
|
|
90
72
|
],
|
|
91
73
|
"*.dev.wix-code.com": [
|
|
92
74
|
{
|
|
93
|
-
srcPath: "/_api/
|
|
94
|
-
destPath: "/v1/
|
|
75
|
+
srcPath: "/_api/pipelines/v1/pipelines",
|
|
76
|
+
destPath: "/v1/pipelines"
|
|
95
77
|
},
|
|
96
78
|
{
|
|
97
|
-
srcPath: "/_api/
|
|
98
|
-
destPath: "/v1/bulk/
|
|
79
|
+
srcPath: "/_api/pipelines/v1/bulk/pipelines",
|
|
80
|
+
destPath: "/v1/bulk/pipelines"
|
|
99
81
|
}
|
|
100
82
|
],
|
|
101
83
|
"www.wixapis.com": [
|
|
102
84
|
{
|
|
103
|
-
srcPath: "/crm/pipelines/v1/
|
|
104
|
-
destPath: "/v1/
|
|
85
|
+
srcPath: "/crm/pipelines/v1/pipelines",
|
|
86
|
+
destPath: "/v1/pipelines"
|
|
105
87
|
},
|
|
106
88
|
{
|
|
107
|
-
srcPath: "/crm/pipelines/v1/bulk/
|
|
108
|
-
destPath: "/v1/bulk/
|
|
89
|
+
srcPath: "/crm/pipelines/v1/bulk/pipelines",
|
|
90
|
+
destPath: "/v1/bulk/pipelines"
|
|
109
91
|
}
|
|
110
92
|
]
|
|
111
93
|
};
|
|
112
94
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
113
95
|
}
|
|
114
96
|
var PACKAGE_NAME = "@wix/auto_sdk_crm_pipelines";
|
|
115
|
-
function
|
|
116
|
-
function
|
|
97
|
+
function createPipeline(payload) {
|
|
98
|
+
function __createPipeline({ host }) {
|
|
117
99
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
118
100
|
{
|
|
119
101
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
120
102
|
paths: [
|
|
121
|
-
{ path: "
|
|
122
|
-
{ path: "
|
|
123
|
-
{ path: "card.stageUpdatedDate" },
|
|
124
|
-
{ path: "card.dueDate" },
|
|
125
|
-
{ path: "card.staleDate" },
|
|
126
|
-
{ path: "card.linkedEntities.linkedDate" }
|
|
103
|
+
{ path: "pipeline.createdDate" },
|
|
104
|
+
{ path: "pipeline.updatedDate" }
|
|
127
105
|
]
|
|
128
106
|
}
|
|
129
107
|
]);
|
|
130
108
|
const metadata = {
|
|
131
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
109
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
132
110
|
method: "POST",
|
|
133
|
-
methodFqn: "wix.crm.pipelines.
|
|
111
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.CreatePipeline",
|
|
134
112
|
packageName: PACKAGE_NAME,
|
|
135
113
|
migrationOptions: {
|
|
136
114
|
optInTransformResponse: true
|
|
137
115
|
},
|
|
138
|
-
url:
|
|
139
|
-
protoPath: "/v1/
|
|
116
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
117
|
+
protoPath: "/v1/pipelines",
|
|
140
118
|
data: serializedData,
|
|
141
119
|
host
|
|
142
120
|
}),
|
|
@@ -145,32 +123,28 @@ function createCard(payload) {
|
|
|
145
123
|
{
|
|
146
124
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
147
125
|
paths: [
|
|
148
|
-
{ path: "
|
|
149
|
-
{ path: "
|
|
150
|
-
{ path: "card.stageUpdatedDate" },
|
|
151
|
-
{ path: "card.dueDate" },
|
|
152
|
-
{ path: "card.staleDate" },
|
|
153
|
-
{ path: "card.linkedEntities.linkedDate" }
|
|
126
|
+
{ path: "pipeline.createdDate" },
|
|
127
|
+
{ path: "pipeline.updatedDate" }
|
|
154
128
|
]
|
|
155
129
|
}
|
|
156
130
|
])
|
|
157
131
|
};
|
|
158
132
|
return metadata;
|
|
159
133
|
}
|
|
160
|
-
return
|
|
134
|
+
return __createPipeline;
|
|
161
135
|
}
|
|
162
|
-
function
|
|
163
|
-
function
|
|
136
|
+
function getPipeline(payload) {
|
|
137
|
+
function __getPipeline({ host }) {
|
|
164
138
|
const metadata = {
|
|
165
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
139
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
166
140
|
method: "GET",
|
|
167
|
-
methodFqn: "wix.crm.pipelines.
|
|
141
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.GetPipeline",
|
|
168
142
|
packageName: PACKAGE_NAME,
|
|
169
143
|
migrationOptions: {
|
|
170
144
|
optInTransformResponse: true
|
|
171
145
|
},
|
|
172
|
-
url:
|
|
173
|
-
protoPath: "/v1/
|
|
146
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
147
|
+
protoPath: "/v1/pipelines/{pipelineId}",
|
|
174
148
|
data: payload,
|
|
175
149
|
host
|
|
176
150
|
}),
|
|
@@ -179,22 +153,18 @@ function getCard(payload) {
|
|
|
179
153
|
{
|
|
180
154
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
181
155
|
paths: [
|
|
182
|
-
{ path: "
|
|
183
|
-
{ path: "
|
|
184
|
-
{ path: "card.stageUpdatedDate" },
|
|
185
|
-
{ path: "card.dueDate" },
|
|
186
|
-
{ path: "card.staleDate" },
|
|
187
|
-
{ path: "card.linkedEntities.linkedDate" }
|
|
156
|
+
{ path: "pipeline.createdDate" },
|
|
157
|
+
{ path: "pipeline.updatedDate" }
|
|
188
158
|
]
|
|
189
159
|
}
|
|
190
160
|
])
|
|
191
161
|
};
|
|
192
162
|
return metadata;
|
|
193
163
|
}
|
|
194
|
-
return
|
|
164
|
+
return __getPipeline;
|
|
195
165
|
}
|
|
196
|
-
function
|
|
197
|
-
function
|
|
166
|
+
function updatePipeline(payload) {
|
|
167
|
+
function __updatePipeline({ host }) {
|
|
198
168
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
199
169
|
{
|
|
200
170
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
@@ -203,25 +173,21 @@ function updateCard(payload) {
|
|
|
203
173
|
{
|
|
204
174
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
205
175
|
paths: [
|
|
206
|
-
{ path: "
|
|
207
|
-
{ path: "
|
|
208
|
-
{ path: "card.stageUpdatedDate" },
|
|
209
|
-
{ path: "card.dueDate" },
|
|
210
|
-
{ path: "card.staleDate" },
|
|
211
|
-
{ path: "card.linkedEntities.linkedDate" }
|
|
176
|
+
{ path: "pipeline.createdDate" },
|
|
177
|
+
{ path: "pipeline.updatedDate" }
|
|
212
178
|
]
|
|
213
179
|
}
|
|
214
180
|
]);
|
|
215
181
|
const metadata = {
|
|
216
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
182
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
217
183
|
method: "PATCH",
|
|
218
|
-
methodFqn: "wix.crm.pipelines.
|
|
184
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.UpdatePipeline",
|
|
219
185
|
packageName: PACKAGE_NAME,
|
|
220
186
|
migrationOptions: {
|
|
221
187
|
optInTransformResponse: true
|
|
222
188
|
},
|
|
223
|
-
url:
|
|
224
|
-
protoPath: "/v1/
|
|
189
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
190
|
+
protoPath: "/v1/pipelines/{pipeline.id}",
|
|
225
191
|
data: serializedData,
|
|
226
192
|
host
|
|
227
193
|
}),
|
|
@@ -230,66 +196,28 @@ function updateCard(payload) {
|
|
|
230
196
|
{
|
|
231
197
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
232
198
|
paths: [
|
|
233
|
-
{ path: "
|
|
234
|
-
{ path: "
|
|
235
|
-
{ path: "card.stageUpdatedDate" },
|
|
236
|
-
{ path: "card.dueDate" },
|
|
237
|
-
{ path: "card.staleDate" },
|
|
238
|
-
{ path: "card.linkedEntities.linkedDate" }
|
|
199
|
+
{ path: "pipeline.createdDate" },
|
|
200
|
+
{ path: "pipeline.updatedDate" }
|
|
239
201
|
]
|
|
240
202
|
}
|
|
241
203
|
])
|
|
242
204
|
};
|
|
243
205
|
return metadata;
|
|
244
206
|
}
|
|
245
|
-
return
|
|
207
|
+
return __updatePipeline;
|
|
246
208
|
}
|
|
247
|
-
function
|
|
248
|
-
function
|
|
209
|
+
function deletePipeline(payload) {
|
|
210
|
+
function __deletePipeline({ host }) {
|
|
249
211
|
const metadata = {
|
|
250
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
251
|
-
method: "PATCH",
|
|
252
|
-
methodFqn: "wix.crm.pipelines.cards.v1.Cards.MoveCard",
|
|
253
|
-
packageName: PACKAGE_NAME,
|
|
254
|
-
migrationOptions: {
|
|
255
|
-
optInTransformResponse: true
|
|
256
|
-
},
|
|
257
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
258
|
-
protoPath: "/v1/cards/move/{cardId}",
|
|
259
|
-
data: payload,
|
|
260
|
-
host
|
|
261
|
-
}),
|
|
262
|
-
data: payload,
|
|
263
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
264
|
-
{
|
|
265
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
266
|
-
paths: [
|
|
267
|
-
{ path: "card.createdDate" },
|
|
268
|
-
{ path: "card.updatedDate" },
|
|
269
|
-
{ path: "card.stageUpdatedDate" },
|
|
270
|
-
{ path: "card.dueDate" },
|
|
271
|
-
{ path: "card.staleDate" },
|
|
272
|
-
{ path: "card.linkedEntities.linkedDate" }
|
|
273
|
-
]
|
|
274
|
-
}
|
|
275
|
-
])
|
|
276
|
-
};
|
|
277
|
-
return metadata;
|
|
278
|
-
}
|
|
279
|
-
return __moveCard;
|
|
280
|
-
}
|
|
281
|
-
function deleteCard(payload) {
|
|
282
|
-
function __deleteCard({ host }) {
|
|
283
|
-
const metadata = {
|
|
284
|
-
entityFqdn: "wix.crm.pipelines.v1.card",
|
|
212
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
285
213
|
method: "DELETE",
|
|
286
|
-
methodFqn: "wix.crm.pipelines.
|
|
214
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.DeletePipeline",
|
|
287
215
|
packageName: PACKAGE_NAME,
|
|
288
216
|
migrationOptions: {
|
|
289
217
|
optInTransformResponse: true
|
|
290
218
|
},
|
|
291
|
-
url:
|
|
292
|
-
protoPath: "/v1/
|
|
219
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
220
|
+
protoPath: "/v1/pipelines/{pipelineId}",
|
|
293
221
|
data: payload,
|
|
294
222
|
host
|
|
295
223
|
}),
|
|
@@ -297,20 +225,20 @@ function deleteCard(payload) {
|
|
|
297
225
|
};
|
|
298
226
|
return metadata;
|
|
299
227
|
}
|
|
300
|
-
return
|
|
228
|
+
return __deletePipeline;
|
|
301
229
|
}
|
|
302
|
-
function
|
|
303
|
-
function
|
|
230
|
+
function queryPipelines(payload) {
|
|
231
|
+
function __queryPipelines({ host }) {
|
|
304
232
|
const metadata = {
|
|
305
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
233
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
306
234
|
method: "GET",
|
|
307
|
-
methodFqn: "wix.crm.pipelines.
|
|
235
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.QueryPipelines",
|
|
308
236
|
packageName: PACKAGE_NAME,
|
|
309
237
|
migrationOptions: {
|
|
310
238
|
optInTransformResponse: true
|
|
311
239
|
},
|
|
312
|
-
url:
|
|
313
|
-
protoPath: "/v1/
|
|
240
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
241
|
+
protoPath: "/v1/pipelines/query",
|
|
314
242
|
data: payload,
|
|
315
243
|
host
|
|
316
244
|
}),
|
|
@@ -319,20 +247,16 @@ function queryCards(payload) {
|
|
|
319
247
|
{
|
|
320
248
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
321
249
|
paths: [
|
|
322
|
-
{ path: "
|
|
323
|
-
{ path: "
|
|
324
|
-
{ path: "cards.stageUpdatedDate" },
|
|
325
|
-
{ path: "cards.dueDate" },
|
|
326
|
-
{ path: "cards.staleDate" },
|
|
327
|
-
{ path: "cards.linkedEntities.linkedDate" }
|
|
250
|
+
{ path: "pipelines.createdDate" },
|
|
251
|
+
{ path: "pipelines.updatedDate" }
|
|
328
252
|
]
|
|
329
253
|
}
|
|
330
254
|
]),
|
|
331
255
|
fallback: [
|
|
332
256
|
{
|
|
333
257
|
method: "POST",
|
|
334
|
-
url:
|
|
335
|
-
protoPath: "/v1/
|
|
258
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
259
|
+
protoPath: "/v1/pipelines/query",
|
|
336
260
|
data: payload,
|
|
337
261
|
host
|
|
338
262
|
}),
|
|
@@ -342,290 +266,20 @@ function queryCards(payload) {
|
|
|
342
266
|
};
|
|
343
267
|
return metadata;
|
|
344
268
|
}
|
|
345
|
-
return
|
|
346
|
-
}
|
|
347
|
-
function searchCards(payload) {
|
|
348
|
-
function __searchCards({ host }) {
|
|
349
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
350
|
-
{
|
|
351
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
352
|
-
paths: [
|
|
353
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
354
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
355
|
-
{
|
|
356
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
360
|
-
}
|
|
361
|
-
]
|
|
362
|
-
}
|
|
363
|
-
]);
|
|
364
|
-
const metadata = {
|
|
365
|
-
entityFqdn: "wix.crm.pipelines.v1.card",
|
|
366
|
-
method: "GET",
|
|
367
|
-
methodFqn: "wix.crm.pipelines.cards.v1.Cards.SearchCards",
|
|
368
|
-
packageName: PACKAGE_NAME,
|
|
369
|
-
migrationOptions: {
|
|
370
|
-
optInTransformResponse: true
|
|
371
|
-
},
|
|
372
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
373
|
-
protoPath: "/v1/cards/search",
|
|
374
|
-
data: serializedData,
|
|
375
|
-
host
|
|
376
|
-
}),
|
|
377
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
|
|
378
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
379
|
-
{
|
|
380
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
381
|
-
paths: [
|
|
382
|
-
{ path: "cards.createdDate" },
|
|
383
|
-
{ path: "cards.updatedDate" },
|
|
384
|
-
{ path: "cards.stageUpdatedDate" },
|
|
385
|
-
{ path: "cards.dueDate" },
|
|
386
|
-
{ path: "cards.staleDate" },
|
|
387
|
-
{ path: "cards.linkedEntities.linkedDate" }
|
|
388
|
-
]
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
392
|
-
paths: [
|
|
393
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
394
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
395
|
-
{
|
|
396
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
406
|
-
},
|
|
407
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
408
|
-
{
|
|
409
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
413
|
-
}
|
|
414
|
-
]
|
|
415
|
-
}
|
|
416
|
-
]),
|
|
417
|
-
fallback: [
|
|
418
|
-
{
|
|
419
|
-
method: "POST",
|
|
420
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
421
|
-
protoPath: "/v1/cards/search",
|
|
422
|
-
data: serializedData,
|
|
423
|
-
host
|
|
424
|
-
}),
|
|
425
|
-
data: serializedData
|
|
426
|
-
}
|
|
427
|
-
]
|
|
428
|
-
};
|
|
429
|
-
return metadata;
|
|
430
|
-
}
|
|
431
|
-
return __searchCards;
|
|
269
|
+
return __queryPipelines;
|
|
432
270
|
}
|
|
433
|
-
function
|
|
434
|
-
function
|
|
435
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
436
|
-
{
|
|
437
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
438
|
-
paths: [
|
|
439
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
440
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
441
|
-
{
|
|
442
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
446
|
-
}
|
|
447
|
-
]
|
|
448
|
-
}
|
|
449
|
-
]);
|
|
271
|
+
function bulkUpdatePipelineTags(payload) {
|
|
272
|
+
function __bulkUpdatePipelineTags({ host }) {
|
|
450
273
|
const metadata = {
|
|
451
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
452
|
-
method: "GET",
|
|
453
|
-
methodFqn: "wix.crm.pipelines.cards.v1.Cards.SearchCardsByStage",
|
|
454
|
-
packageName: PACKAGE_NAME,
|
|
455
|
-
migrationOptions: {
|
|
456
|
-
optInTransformResponse: true
|
|
457
|
-
},
|
|
458
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
459
|
-
protoPath: "/v1/cards/search-by-stage",
|
|
460
|
-
data: serializedData,
|
|
461
|
-
host
|
|
462
|
-
}),
|
|
463
|
-
params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
|
|
464
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
465
|
-
{
|
|
466
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
467
|
-
paths: [
|
|
468
|
-
{ path: "results.cards.createdDate" },
|
|
469
|
-
{ path: "results.cards.updatedDate" },
|
|
470
|
-
{ path: "results.cards.stageUpdatedDate" },
|
|
471
|
-
{ path: "results.cards.dueDate" },
|
|
472
|
-
{ path: "results.cards.staleDate" },
|
|
473
|
-
{ path: "results.cards.linkedEntities.linkedDate" }
|
|
474
|
-
]
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
478
|
-
paths: [
|
|
479
|
-
{ path: "results.aggregationData.results.ranges.results.from" },
|
|
480
|
-
{ path: "results.aggregationData.results.ranges.results.to" },
|
|
481
|
-
{
|
|
482
|
-
path: "results.aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
path: "results.aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
path: "results.aggregationData.results.nested.results.results.*.range.from"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
path: "results.aggregationData.results.nested.results.results.*.range.to"
|
|
492
|
-
},
|
|
493
|
-
{ path: "results.aggregationData.results.scalar.value" },
|
|
494
|
-
{
|
|
495
|
-
path: "results.aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
path: "results.aggregationData.results.nested.results.results.*.scalar.value"
|
|
499
|
-
}
|
|
500
|
-
]
|
|
501
|
-
}
|
|
502
|
-
]),
|
|
503
|
-
fallback: [
|
|
504
|
-
{
|
|
505
|
-
method: "POST",
|
|
506
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
507
|
-
protoPath: "/v1/cards/search-by-stage",
|
|
508
|
-
data: serializedData,
|
|
509
|
-
host
|
|
510
|
-
}),
|
|
511
|
-
data: serializedData
|
|
512
|
-
}
|
|
513
|
-
]
|
|
514
|
-
};
|
|
515
|
-
return metadata;
|
|
516
|
-
}
|
|
517
|
-
return __searchCardsByStage;
|
|
518
|
-
}
|
|
519
|
-
function bulkCreateCards(payload) {
|
|
520
|
-
function __bulkCreateCards({ host }) {
|
|
521
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
522
|
-
{
|
|
523
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
524
|
-
paths: [
|
|
525
|
-
{ path: "cards.createdDate" },
|
|
526
|
-
{ path: "cards.updatedDate" },
|
|
527
|
-
{ path: "cards.stageUpdatedDate" },
|
|
528
|
-
{ path: "cards.dueDate" },
|
|
529
|
-
{ path: "cards.staleDate" },
|
|
530
|
-
{ path: "cards.linkedEntities.linkedDate" }
|
|
531
|
-
]
|
|
532
|
-
}
|
|
533
|
-
]);
|
|
534
|
-
const metadata = {
|
|
535
|
-
entityFqdn: "wix.crm.pipelines.v1.card",
|
|
274
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
536
275
|
method: "POST",
|
|
537
|
-
methodFqn: "wix.crm.pipelines.
|
|
276
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.BulkUpdatePipelineTags",
|
|
538
277
|
packageName: PACKAGE_NAME,
|
|
539
278
|
migrationOptions: {
|
|
540
279
|
optInTransformResponse: true
|
|
541
280
|
},
|
|
542
|
-
url:
|
|
543
|
-
protoPath: "/v1/bulk/
|
|
544
|
-
data: serializedData,
|
|
545
|
-
host
|
|
546
|
-
}),
|
|
547
|
-
data: serializedData,
|
|
548
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
549
|
-
{
|
|
550
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
551
|
-
paths: [
|
|
552
|
-
{ path: "results.item.createdDate" },
|
|
553
|
-
{ path: "results.item.updatedDate" },
|
|
554
|
-
{ path: "results.item.stageUpdatedDate" },
|
|
555
|
-
{ path: "results.item.dueDate" },
|
|
556
|
-
{ path: "results.item.staleDate" },
|
|
557
|
-
{ path: "results.item.linkedEntities.linkedDate" }
|
|
558
|
-
]
|
|
559
|
-
}
|
|
560
|
-
])
|
|
561
|
-
};
|
|
562
|
-
return metadata;
|
|
563
|
-
}
|
|
564
|
-
return __bulkCreateCards;
|
|
565
|
-
}
|
|
566
|
-
function bulkUpdateCards(payload) {
|
|
567
|
-
function __bulkUpdateCards({ host }) {
|
|
568
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
569
|
-
{
|
|
570
|
-
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
571
|
-
paths: [{ path: "cards.fieldMask" }]
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
575
|
-
paths: [
|
|
576
|
-
{ path: "cards.card.createdDate" },
|
|
577
|
-
{ path: "cards.card.updatedDate" },
|
|
578
|
-
{ path: "cards.card.stageUpdatedDate" },
|
|
579
|
-
{ path: "cards.card.dueDate" },
|
|
580
|
-
{ path: "cards.card.staleDate" },
|
|
581
|
-
{ path: "cards.card.linkedEntities.linkedDate" }
|
|
582
|
-
]
|
|
583
|
-
}
|
|
584
|
-
]);
|
|
585
|
-
const metadata = {
|
|
586
|
-
entityFqdn: "wix.crm.pipelines.v1.card",
|
|
587
|
-
method: "POST",
|
|
588
|
-
methodFqn: "wix.crm.pipelines.cards.v1.Cards.BulkUpdateCards",
|
|
589
|
-
packageName: PACKAGE_NAME,
|
|
590
|
-
migrationOptions: {
|
|
591
|
-
optInTransformResponse: true
|
|
592
|
-
},
|
|
593
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
594
|
-
protoPath: "/v1/bulk/cards/update",
|
|
595
|
-
data: serializedData,
|
|
596
|
-
host
|
|
597
|
-
}),
|
|
598
|
-
data: serializedData,
|
|
599
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
600
|
-
{
|
|
601
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
602
|
-
paths: [
|
|
603
|
-
{ path: "results.item.createdDate" },
|
|
604
|
-
{ path: "results.item.updatedDate" },
|
|
605
|
-
{ path: "results.item.stageUpdatedDate" },
|
|
606
|
-
{ path: "results.item.dueDate" },
|
|
607
|
-
{ path: "results.item.staleDate" },
|
|
608
|
-
{ path: "results.item.linkedEntities.linkedDate" }
|
|
609
|
-
]
|
|
610
|
-
}
|
|
611
|
-
])
|
|
612
|
-
};
|
|
613
|
-
return metadata;
|
|
614
|
-
}
|
|
615
|
-
return __bulkUpdateCards;
|
|
616
|
-
}
|
|
617
|
-
function bulkDeleteCards(payload) {
|
|
618
|
-
function __bulkDeleteCards({ host }) {
|
|
619
|
-
const metadata = {
|
|
620
|
-
entityFqdn: "wix.crm.pipelines.v1.card",
|
|
621
|
-
method: "POST",
|
|
622
|
-
methodFqn: "wix.crm.pipelines.cards.v1.Cards.BulkDeleteCards",
|
|
623
|
-
packageName: PACKAGE_NAME,
|
|
624
|
-
migrationOptions: {
|
|
625
|
-
optInTransformResponse: true
|
|
626
|
-
},
|
|
627
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
628
|
-
protoPath: "/v1/bulk/cards/delete",
|
|
281
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
282
|
+
protoPath: "/v1/bulk/pipelines/update-tags",
|
|
629
283
|
data: payload,
|
|
630
284
|
host
|
|
631
285
|
}),
|
|
@@ -633,20 +287,20 @@ function bulkDeleteCards(payload) {
|
|
|
633
287
|
};
|
|
634
288
|
return metadata;
|
|
635
289
|
}
|
|
636
|
-
return
|
|
290
|
+
return __bulkUpdatePipelineTags;
|
|
637
291
|
}
|
|
638
|
-
function
|
|
639
|
-
function
|
|
292
|
+
function bulkUpdatePipelineTagsByFilter(payload) {
|
|
293
|
+
function __bulkUpdatePipelineTagsByFilter({ host }) {
|
|
640
294
|
const metadata = {
|
|
641
|
-
entityFqdn: "wix.crm.pipelines.v1.
|
|
295
|
+
entityFqdn: "wix.crm.pipelines.v1.pipeline",
|
|
642
296
|
method: "POST",
|
|
643
|
-
methodFqn: "wix.crm.pipelines.
|
|
297
|
+
methodFqn: "wix.crm.pipelines.pipelines.v1.Pipelines.BulkUpdatePipelineTagsByFilter",
|
|
644
298
|
packageName: PACKAGE_NAME,
|
|
645
299
|
migrationOptions: {
|
|
646
300
|
optInTransformResponse: true
|
|
647
301
|
},
|
|
648
|
-
url:
|
|
649
|
-
protoPath: "/v1/bulk/
|
|
302
|
+
url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({
|
|
303
|
+
protoPath: "/v1/bulk/pipelines/update-tags-by-filter",
|
|
650
304
|
data: payload,
|
|
651
305
|
host
|
|
652
306
|
}),
|
|
@@ -654,38 +308,10 @@ function bulkUpdateCardTags(payload) {
|
|
|
654
308
|
};
|
|
655
309
|
return metadata;
|
|
656
310
|
}
|
|
657
|
-
return
|
|
658
|
-
}
|
|
659
|
-
function bulkUpdateCardTagsByFilter(payload) {
|
|
660
|
-
function __bulkUpdateCardTagsByFilter({ host }) {
|
|
661
|
-
const metadata = {
|
|
662
|
-
entityFqdn: "wix.crm.pipelines.v1.card",
|
|
663
|
-
method: "POST",
|
|
664
|
-
methodFqn: "wix.crm.pipelines.cards.v1.Cards.BulkUpdateCardTagsByFilter",
|
|
665
|
-
packageName: PACKAGE_NAME,
|
|
666
|
-
migrationOptions: {
|
|
667
|
-
optInTransformResponse: true
|
|
668
|
-
},
|
|
669
|
-
url: resolveWixCrmPipelinesCardsV1CardsUrl({
|
|
670
|
-
protoPath: "/v1/bulk/cards/update-tags-by-filter",
|
|
671
|
-
data: payload,
|
|
672
|
-
host
|
|
673
|
-
}),
|
|
674
|
-
data: payload
|
|
675
|
-
};
|
|
676
|
-
return metadata;
|
|
677
|
-
}
|
|
678
|
-
return __bulkUpdateCardTagsByFilter;
|
|
311
|
+
return __bulkUpdatePipelineTagsByFilter;
|
|
679
312
|
}
|
|
680
313
|
|
|
681
|
-
// src/crm-pipelines-v1-
|
|
682
|
-
var Priority = /* @__PURE__ */ ((Priority2) => {
|
|
683
|
-
Priority2["P1_URGENT"] = "P1_URGENT";
|
|
684
|
-
Priority2["P2_HIGH"] = "P2_HIGH";
|
|
685
|
-
Priority2["P3_MEDIUM"] = "P3_MEDIUM";
|
|
686
|
-
Priority2["P4_LOW"] = "P4_LOW";
|
|
687
|
-
return Priority2;
|
|
688
|
-
})(Priority || {});
|
|
314
|
+
// src/crm-pipelines-v1-pipeline-pipelines.types.ts
|
|
689
315
|
var Outcome = /* @__PURE__ */ ((Outcome2) => {
|
|
690
316
|
Outcome2["NONE"] = "NONE";
|
|
691
317
|
Outcome2["WON"] = "WON";
|
|
@@ -697,62 +323,6 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
697
323
|
SortOrder2["DESC"] = "DESC";
|
|
698
324
|
return SortOrder2;
|
|
699
325
|
})(SortOrder || {});
|
|
700
|
-
var SortType = /* @__PURE__ */ ((SortType2) => {
|
|
701
|
-
SortType2["COUNT"] = "COUNT";
|
|
702
|
-
SortType2["VALUE"] = "VALUE";
|
|
703
|
-
return SortType2;
|
|
704
|
-
})(SortType || {});
|
|
705
|
-
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
706
|
-
SortDirection2["DESC"] = "DESC";
|
|
707
|
-
SortDirection2["ASC"] = "ASC";
|
|
708
|
-
return SortDirection2;
|
|
709
|
-
})(SortDirection || {});
|
|
710
|
-
var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
711
|
-
MissingValues2["EXCLUDE"] = "EXCLUDE";
|
|
712
|
-
MissingValues2["INCLUDE"] = "INCLUDE";
|
|
713
|
-
return MissingValues2;
|
|
714
|
-
})(MissingValues || {});
|
|
715
|
-
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
716
|
-
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
717
|
-
ScalarType2["MIN"] = "MIN";
|
|
718
|
-
ScalarType2["MAX"] = "MAX";
|
|
719
|
-
return ScalarType2;
|
|
720
|
-
})(ScalarType || {});
|
|
721
|
-
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
722
|
-
NestedAggregationType2["VALUE"] = "VALUE";
|
|
723
|
-
NestedAggregationType2["RANGE"] = "RANGE";
|
|
724
|
-
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
725
|
-
NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
726
|
-
return NestedAggregationType2;
|
|
727
|
-
})(NestedAggregationType || {});
|
|
728
|
-
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
729
|
-
Interval2["YEAR"] = "YEAR";
|
|
730
|
-
Interval2["MONTH"] = "MONTH";
|
|
731
|
-
Interval2["WEEK"] = "WEEK";
|
|
732
|
-
Interval2["DAY"] = "DAY";
|
|
733
|
-
Interval2["HOUR"] = "HOUR";
|
|
734
|
-
Interval2["MINUTE"] = "MINUTE";
|
|
735
|
-
Interval2["SECOND"] = "SECOND";
|
|
736
|
-
return Interval2;
|
|
737
|
-
})(Interval || {});
|
|
738
|
-
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
739
|
-
AggregationType2["VALUE"] = "VALUE";
|
|
740
|
-
AggregationType2["RANGE"] = "RANGE";
|
|
741
|
-
AggregationType2["SCALAR"] = "SCALAR";
|
|
742
|
-
AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
743
|
-
AggregationType2["NESTED"] = "NESTED";
|
|
744
|
-
return AggregationType2;
|
|
745
|
-
})(AggregationType || {});
|
|
746
|
-
var Mode = /* @__PURE__ */ ((Mode2) => {
|
|
747
|
-
Mode2["OR"] = "OR";
|
|
748
|
-
Mode2["AND"] = "AND";
|
|
749
|
-
return Mode2;
|
|
750
|
-
})(Mode || {});
|
|
751
|
-
var NameFormat = /* @__PURE__ */ ((NameFormat2) => {
|
|
752
|
-
NameFormat2["BY_FIRST_NAME"] = "BY_FIRST_NAME";
|
|
753
|
-
NameFormat2["BY_LAST_NAME"] = "BY_LAST_NAME";
|
|
754
|
-
return NameFormat2;
|
|
755
|
-
})(NameFormat || {});
|
|
756
326
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
757
327
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
758
328
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -762,10 +332,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
762
332
|
return WebhookIdentityType2;
|
|
763
333
|
})(WebhookIdentityType || {});
|
|
764
334
|
|
|
765
|
-
// src/crm-pipelines-v1-
|
|
766
|
-
function
|
|
335
|
+
// src/crm-pipelines-v1-pipeline-pipelines.meta.ts
|
|
336
|
+
function createPipeline2() {
|
|
767
337
|
const payload = {};
|
|
768
|
-
const getRequestOptions =
|
|
338
|
+
const getRequestOptions = createPipeline(payload);
|
|
769
339
|
const getUrl = (context) => {
|
|
770
340
|
const { url } = getRequestOptions(context);
|
|
771
341
|
return url;
|
|
@@ -773,7 +343,7 @@ function createCard2() {
|
|
|
773
343
|
return {
|
|
774
344
|
getUrl,
|
|
775
345
|
httpMethod: "POST",
|
|
776
|
-
path: "/v1/
|
|
346
|
+
path: "/v1/pipelines",
|
|
777
347
|
pathParams: {},
|
|
778
348
|
__requestType: null,
|
|
779
349
|
__originalRequestType: null,
|
|
@@ -781,9 +351,9 @@ function createCard2() {
|
|
|
781
351
|
__originalResponseType: null
|
|
782
352
|
};
|
|
783
353
|
}
|
|
784
|
-
function
|
|
785
|
-
const payload = {
|
|
786
|
-
const getRequestOptions =
|
|
354
|
+
function getPipeline2() {
|
|
355
|
+
const payload = { pipelineId: ":pipelineId" };
|
|
356
|
+
const getRequestOptions = getPipeline(payload);
|
|
787
357
|
const getUrl = (context) => {
|
|
788
358
|
const { url } = getRequestOptions(context);
|
|
789
359
|
return url;
|
|
@@ -791,17 +361,17 @@ function getCard2() {
|
|
|
791
361
|
return {
|
|
792
362
|
getUrl,
|
|
793
363
|
httpMethod: "GET",
|
|
794
|
-
path: "/v1/
|
|
795
|
-
pathParams: {
|
|
364
|
+
path: "/v1/pipelines/{pipelineId}",
|
|
365
|
+
pathParams: { pipelineId: "pipelineId" },
|
|
796
366
|
__requestType: null,
|
|
797
367
|
__originalRequestType: null,
|
|
798
368
|
__responseType: null,
|
|
799
369
|
__originalResponseType: null
|
|
800
370
|
};
|
|
801
371
|
}
|
|
802
|
-
function
|
|
803
|
-
const payload = {
|
|
804
|
-
const getRequestOptions =
|
|
372
|
+
function updatePipeline2() {
|
|
373
|
+
const payload = { pipeline: { id: ":pipelineId" } };
|
|
374
|
+
const getRequestOptions = updatePipeline(payload);
|
|
805
375
|
const getUrl = (context) => {
|
|
806
376
|
const { url } = getRequestOptions(context);
|
|
807
377
|
return url;
|
|
@@ -809,35 +379,17 @@ function updateCard2() {
|
|
|
809
379
|
return {
|
|
810
380
|
getUrl,
|
|
811
381
|
httpMethod: "PATCH",
|
|
812
|
-
path: "/v1/
|
|
813
|
-
pathParams: {
|
|
382
|
+
path: "/v1/pipelines/{pipeline.id}",
|
|
383
|
+
pathParams: { pipelineId: "pipelineId" },
|
|
814
384
|
__requestType: null,
|
|
815
385
|
__originalRequestType: null,
|
|
816
386
|
__responseType: null,
|
|
817
387
|
__originalResponseType: null
|
|
818
388
|
};
|
|
819
389
|
}
|
|
820
|
-
function
|
|
821
|
-
const payload = {
|
|
822
|
-
const getRequestOptions =
|
|
823
|
-
const getUrl = (context) => {
|
|
824
|
-
const { url } = getRequestOptions(context);
|
|
825
|
-
return url;
|
|
826
|
-
};
|
|
827
|
-
return {
|
|
828
|
-
getUrl,
|
|
829
|
-
httpMethod: "PATCH",
|
|
830
|
-
path: "/v1/cards/move/{cardId}",
|
|
831
|
-
pathParams: { cardId: "cardId" },
|
|
832
|
-
__requestType: null,
|
|
833
|
-
__originalRequestType: null,
|
|
834
|
-
__responseType: null,
|
|
835
|
-
__originalResponseType: null
|
|
836
|
-
};
|
|
837
|
-
}
|
|
838
|
-
function deleteCard2() {
|
|
839
|
-
const payload = { cardId: ":cardId" };
|
|
840
|
-
const getRequestOptions = deleteCard(payload);
|
|
390
|
+
function deletePipeline2() {
|
|
391
|
+
const payload = { pipelineId: ":pipelineId" };
|
|
392
|
+
const getRequestOptions = deletePipeline(payload);
|
|
841
393
|
const getUrl = (context) => {
|
|
842
394
|
const { url } = getRequestOptions(context);
|
|
843
395
|
return url;
|
|
@@ -845,53 +397,17 @@ function deleteCard2() {
|
|
|
845
397
|
return {
|
|
846
398
|
getUrl,
|
|
847
399
|
httpMethod: "DELETE",
|
|
848
|
-
path: "/v1/
|
|
849
|
-
pathParams: {
|
|
850
|
-
__requestType: null,
|
|
851
|
-
__originalRequestType: null,
|
|
852
|
-
__responseType: null,
|
|
853
|
-
__originalResponseType: null
|
|
854
|
-
};
|
|
855
|
-
}
|
|
856
|
-
function queryCards2() {
|
|
857
|
-
const payload = {};
|
|
858
|
-
const getRequestOptions = queryCards(payload);
|
|
859
|
-
const getUrl = (context) => {
|
|
860
|
-
const { url } = getRequestOptions(context);
|
|
861
|
-
return url;
|
|
862
|
-
};
|
|
863
|
-
return {
|
|
864
|
-
getUrl,
|
|
865
|
-
httpMethod: "GET",
|
|
866
|
-
path: "/v1/cards/query",
|
|
867
|
-
pathParams: {},
|
|
868
|
-
__requestType: null,
|
|
869
|
-
__originalRequestType: null,
|
|
870
|
-
__responseType: null,
|
|
871
|
-
__originalResponseType: null
|
|
872
|
-
};
|
|
873
|
-
}
|
|
874
|
-
function searchCards2() {
|
|
875
|
-
const payload = {};
|
|
876
|
-
const getRequestOptions = searchCards(payload);
|
|
877
|
-
const getUrl = (context) => {
|
|
878
|
-
const { url } = getRequestOptions(context);
|
|
879
|
-
return url;
|
|
880
|
-
};
|
|
881
|
-
return {
|
|
882
|
-
getUrl,
|
|
883
|
-
httpMethod: "GET",
|
|
884
|
-
path: "/v1/cards/search",
|
|
885
|
-
pathParams: {},
|
|
400
|
+
path: "/v1/pipelines/{pipelineId}",
|
|
401
|
+
pathParams: { pipelineId: "pipelineId" },
|
|
886
402
|
__requestType: null,
|
|
887
403
|
__originalRequestType: null,
|
|
888
404
|
__responseType: null,
|
|
889
405
|
__originalResponseType: null
|
|
890
406
|
};
|
|
891
407
|
}
|
|
892
|
-
function
|
|
408
|
+
function queryPipelines2() {
|
|
893
409
|
const payload = {};
|
|
894
|
-
const getRequestOptions =
|
|
410
|
+
const getRequestOptions = queryPipelines(payload);
|
|
895
411
|
const getUrl = (context) => {
|
|
896
412
|
const { url } = getRequestOptions(context);
|
|
897
413
|
return url;
|
|
@@ -899,61 +415,7 @@ function searchCardsByStage2() {
|
|
|
899
415
|
return {
|
|
900
416
|
getUrl,
|
|
901
417
|
httpMethod: "GET",
|
|
902
|
-
path: "/v1/
|
|
903
|
-
pathParams: {},
|
|
904
|
-
__requestType: null,
|
|
905
|
-
__originalRequestType: null,
|
|
906
|
-
__responseType: null,
|
|
907
|
-
__originalResponseType: null
|
|
908
|
-
};
|
|
909
|
-
}
|
|
910
|
-
function bulkCreateCards2() {
|
|
911
|
-
const payload = {};
|
|
912
|
-
const getRequestOptions = bulkCreateCards(payload);
|
|
913
|
-
const getUrl = (context) => {
|
|
914
|
-
const { url } = getRequestOptions(context);
|
|
915
|
-
return url;
|
|
916
|
-
};
|
|
917
|
-
return {
|
|
918
|
-
getUrl,
|
|
919
|
-
httpMethod: "POST",
|
|
920
|
-
path: "/v1/bulk/cards/create",
|
|
921
|
-
pathParams: {},
|
|
922
|
-
__requestType: null,
|
|
923
|
-
__originalRequestType: null,
|
|
924
|
-
__responseType: null,
|
|
925
|
-
__originalResponseType: null
|
|
926
|
-
};
|
|
927
|
-
}
|
|
928
|
-
function bulkUpdateCards2() {
|
|
929
|
-
const payload = {};
|
|
930
|
-
const getRequestOptions = bulkUpdateCards(payload);
|
|
931
|
-
const getUrl = (context) => {
|
|
932
|
-
const { url } = getRequestOptions(context);
|
|
933
|
-
return url;
|
|
934
|
-
};
|
|
935
|
-
return {
|
|
936
|
-
getUrl,
|
|
937
|
-
httpMethod: "POST",
|
|
938
|
-
path: "/v1/bulk/cards/update",
|
|
939
|
-
pathParams: {},
|
|
940
|
-
__requestType: null,
|
|
941
|
-
__originalRequestType: null,
|
|
942
|
-
__responseType: null,
|
|
943
|
-
__originalResponseType: null
|
|
944
|
-
};
|
|
945
|
-
}
|
|
946
|
-
function bulkDeleteCards2() {
|
|
947
|
-
const payload = {};
|
|
948
|
-
const getRequestOptions = bulkDeleteCards(payload);
|
|
949
|
-
const getUrl = (context) => {
|
|
950
|
-
const { url } = getRequestOptions(context);
|
|
951
|
-
return url;
|
|
952
|
-
};
|
|
953
|
-
return {
|
|
954
|
-
getUrl,
|
|
955
|
-
httpMethod: "POST",
|
|
956
|
-
path: "/v1/bulk/cards/delete",
|
|
418
|
+
path: "/v1/pipelines/query",
|
|
957
419
|
pathParams: {},
|
|
958
420
|
__requestType: null,
|
|
959
421
|
__originalRequestType: null,
|
|
@@ -961,9 +423,9 @@ function bulkDeleteCards2() {
|
|
|
961
423
|
__originalResponseType: null
|
|
962
424
|
};
|
|
963
425
|
}
|
|
964
|
-
function
|
|
426
|
+
function bulkUpdatePipelineTags2() {
|
|
965
427
|
const payload = {};
|
|
966
|
-
const getRequestOptions =
|
|
428
|
+
const getRequestOptions = bulkUpdatePipelineTags(payload);
|
|
967
429
|
const getUrl = (context) => {
|
|
968
430
|
const { url } = getRequestOptions(context);
|
|
969
431
|
return url;
|
|
@@ -971,7 +433,7 @@ function bulkUpdateCardTags2() {
|
|
|
971
433
|
return {
|
|
972
434
|
getUrl,
|
|
973
435
|
httpMethod: "POST",
|
|
974
|
-
path: "/v1/bulk/
|
|
436
|
+
path: "/v1/bulk/pipelines/update-tags",
|
|
975
437
|
pathParams: {},
|
|
976
438
|
__requestType: null,
|
|
977
439
|
__originalRequestType: null,
|
|
@@ -979,9 +441,9 @@ function bulkUpdateCardTags2() {
|
|
|
979
441
|
__originalResponseType: null
|
|
980
442
|
};
|
|
981
443
|
}
|
|
982
|
-
function
|
|
444
|
+
function bulkUpdatePipelineTagsByFilter2() {
|
|
983
445
|
const payload = {};
|
|
984
|
-
const getRequestOptions =
|
|
446
|
+
const getRequestOptions = bulkUpdatePipelineTagsByFilter(payload);
|
|
985
447
|
const getUrl = (context) => {
|
|
986
448
|
const { url } = getRequestOptions(context);
|
|
987
449
|
return url;
|
|
@@ -989,7 +451,7 @@ function bulkUpdateCardTagsByFilter2() {
|
|
|
989
451
|
return {
|
|
990
452
|
getUrl,
|
|
991
453
|
httpMethod: "POST",
|
|
992
|
-
path: "/v1/bulk/
|
|
454
|
+
path: "/v1/bulk/pipelines/update-tags-by-filter",
|
|
993
455
|
pathParams: {},
|
|
994
456
|
__requestType: null,
|
|
995
457
|
__originalRequestType: null,
|
|
@@ -999,31 +461,15 @@ function bulkUpdateCardTagsByFilter2() {
|
|
|
999
461
|
}
|
|
1000
462
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1001
463
|
0 && (module.exports = {
|
|
1002
|
-
AggregationTypeOriginal,
|
|
1003
|
-
IntervalOriginal,
|
|
1004
|
-
MissingValuesOriginal,
|
|
1005
|
-
ModeOriginal,
|
|
1006
|
-
NameFormatOriginal,
|
|
1007
|
-
NestedAggregationTypeOriginal,
|
|
1008
464
|
OutcomeOriginal,
|
|
1009
|
-
PriorityOriginal,
|
|
1010
|
-
ScalarTypeOriginal,
|
|
1011
|
-
SortDirectionOriginal,
|
|
1012
465
|
SortOrderOriginal,
|
|
1013
|
-
SortTypeOriginal,
|
|
1014
466
|
WebhookIdentityTypeOriginal,
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
getCard,
|
|
1023
|
-
moveCard,
|
|
1024
|
-
queryCards,
|
|
1025
|
-
searchCards,
|
|
1026
|
-
searchCardsByStage,
|
|
1027
|
-
updateCard
|
|
467
|
+
bulkUpdatePipelineTags,
|
|
468
|
+
bulkUpdatePipelineTagsByFilter,
|
|
469
|
+
createPipeline,
|
|
470
|
+
deletePipeline,
|
|
471
|
+
getPipeline,
|
|
472
|
+
queryPipelines,
|
|
473
|
+
updatePipeline
|
|
1028
474
|
});
|
|
1029
475
|
//# sourceMappingURL=meta.js.map
|