@wix/auto_sdk_crm_labels 1.0.60 → 1.0.62
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 +5 -15
- package/build/cjs/index.js +20 -278
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -0
- package/build/cjs/index.typings.js +6 -264
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +5 -15
- package/build/es/index.mjs +20 -268
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -0
- package/build/es/index.typings.mjs +6 -254
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -15
- package/build/internal/cjs/index.js +20 -278
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -0
- package/build/internal/cjs/index.typings.js +6 -264
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +5 -15
- package/build/internal/es/index.mjs +20 -268
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -0
- package/build/internal/es/index.typings.mjs +6 -254
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -252,236 +252,6 @@ function queryLabels(payload) {
|
|
|
252
252
|
|
|
253
253
|
// src/contacts-v4-label-labels.universal.ts
|
|
254
254
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
255
|
-
|
|
256
|
-
// src/contacts-v4-label-labels.schemas.ts
|
|
257
|
-
import * as z from "zod";
|
|
258
|
-
var ListLabelsRequest = z.object({
|
|
259
|
-
options: z.object({
|
|
260
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).optional(),
|
|
261
|
-
namespace: z.string().describe("Filter for labels in the specified namespace.").min(3).max(25).optional().nullable(),
|
|
262
|
-
startsWith: z.string().describe(
|
|
263
|
-
"Filter for labels where `displayName` starts with the specified case-sensitive string."
|
|
264
|
-
).min(1).max(180).optional().nullable(),
|
|
265
|
-
sort: z.object({
|
|
266
|
-
fieldName: z.string().describe("Name of the field to sort by.").max(3e3).optional(),
|
|
267
|
-
order: z.enum(["ASC", "DESC"]).optional()
|
|
268
|
-
}).describe("Sorting options.").optional(),
|
|
269
|
-
paging: z.object({
|
|
270
|
-
limit: z.number().int().describe(
|
|
271
|
-
"Number of items to return.\n\nDefaults to `1000`. <br>\nMaximum: `2000`."
|
|
272
|
-
).min(0).optional().nullable(),
|
|
273
|
-
offset: z.number().int().describe("Number of items to skip in the current sort order.").min(0).optional().nullable()
|
|
274
|
-
}).describe("Paging options.").optional(),
|
|
275
|
-
language: z.string().optional().nullable()
|
|
276
|
-
}).optional()
|
|
277
|
-
});
|
|
278
|
-
var ListLabelsResponse = z.object({
|
|
279
|
-
labels: z.array(
|
|
280
|
-
z.object({
|
|
281
|
-
namespace: z.string().describe(
|
|
282
|
-
"Label namespace.\n\nLabels created by calling the Find Or Create Label method\nare automatically assigned to the `custom` namespace."
|
|
283
|
-
).min(1).max(25).optional().nullable(),
|
|
284
|
-
namespaceDisplayName: z.string().describe(
|
|
285
|
-
"Display name for the namespace,\nused to organize the list of labels in the site dashboard."
|
|
286
|
-
).min(1).max(180).optional().nullable(),
|
|
287
|
-
key: z.string().describe(
|
|
288
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
289
|
-
).min(1).max(80).optional(),
|
|
290
|
-
displayName: z.string().describe("Label display name shown in the dashboard.").min(1).max(180).optional(),
|
|
291
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).describe("Label type indicating how the label was created.").optional(),
|
|
292
|
-
_createdDate: z.date().describe("Date and time the label was created.").optional().nullable(),
|
|
293
|
-
_updatedDate: z.date().describe("Date and time the label was last updated.").optional().nullable()
|
|
294
|
-
})
|
|
295
|
-
).optional(),
|
|
296
|
-
metadata: z.object({
|
|
297
|
-
count: z.number().int().describe("Number of items returned.").optional().nullable(),
|
|
298
|
-
offset: z.number().int().describe("Requested offset.").optional().nullable(),
|
|
299
|
-
total: z.number().int().describe("Number of items that matched the query.").optional().nullable(),
|
|
300
|
-
tooManyToCount: z.boolean().describe(
|
|
301
|
-
"Indicates if `total` calculation timed out before the response was sent.\nTypically this happens if there is a large set of results."
|
|
302
|
-
).optional().nullable()
|
|
303
|
-
}).describe("Metadata for the page of results.").optional()
|
|
304
|
-
});
|
|
305
|
-
var FindOrCreateLabelRequest = z.object({
|
|
306
|
-
displayName: z.string().describe(
|
|
307
|
-
"Display name to retrieve or create.\n\nIf an existing label is an exact match\nfor the specified display name,\nthe existing label is returned.\nIf not, a new label is created and returned."
|
|
308
|
-
).min(1).max(180),
|
|
309
|
-
options: z.object({
|
|
310
|
-
language: z.string().describe(
|
|
311
|
-
"Language for localization.\n2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format."
|
|
312
|
-
).optional().nullable()
|
|
313
|
-
}).describe("Language options.").optional()
|
|
314
|
-
});
|
|
315
|
-
var FindOrCreateLabelResponse = z.object({
|
|
316
|
-
label: z.object({
|
|
317
|
-
namespace: z.string().describe(
|
|
318
|
-
"Label namespace.\n\nLabels created by calling the Find Or Create Label method\nare automatically assigned to the `custom` namespace."
|
|
319
|
-
).min(1).max(25).optional().nullable(),
|
|
320
|
-
namespaceDisplayName: z.string().describe(
|
|
321
|
-
"Display name for the namespace,\nused to organize the list of labels in the site dashboard."
|
|
322
|
-
).min(1).max(180).optional().nullable(),
|
|
323
|
-
key: z.string().describe(
|
|
324
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
325
|
-
).min(1).max(80).optional(),
|
|
326
|
-
displayName: z.string().describe("Label display name shown in the dashboard.").min(1).max(180).optional(),
|
|
327
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).describe("Label type indicating how the label was created.").optional(),
|
|
328
|
-
_createdDate: z.date().describe("Date and time the label was created.").optional().nullable(),
|
|
329
|
-
_updatedDate: z.date().describe("Date and time the label was last updated.").optional().nullable()
|
|
330
|
-
}).describe("Label that was found or created.").optional(),
|
|
331
|
-
newLabel: z.boolean().describe(
|
|
332
|
-
"Indicates whether the label was just created or already existed.\n\nReturns `true` if the label was just created."
|
|
333
|
-
).optional()
|
|
334
|
-
});
|
|
335
|
-
var GetLabelRequest = z.object({
|
|
336
|
-
key: z.string().describe(
|
|
337
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
338
|
-
).min(1).max(80),
|
|
339
|
-
options: z.object({
|
|
340
|
-
language: z.string().describe(
|
|
341
|
-
"Language for localization.\n2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format."
|
|
342
|
-
).optional().nullable()
|
|
343
|
-
}).describe("Language options.").optional()
|
|
344
|
-
});
|
|
345
|
-
var GetLabelResponse = z.object({
|
|
346
|
-
namespace: z.string().describe(
|
|
347
|
-
"Label namespace.\n\nLabels created by calling the Find Or Create Label method\nare automatically assigned to the `custom` namespace."
|
|
348
|
-
).min(1).max(25).optional().nullable(),
|
|
349
|
-
namespaceDisplayName: z.string().describe(
|
|
350
|
-
"Display name for the namespace,\nused to organize the list of labels in the site dashboard."
|
|
351
|
-
).min(1).max(180).optional().nullable(),
|
|
352
|
-
key: z.string().describe(
|
|
353
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
354
|
-
).min(1).max(80).optional(),
|
|
355
|
-
displayName: z.string().describe("Label display name shown in the dashboard.").min(1).max(180).optional(),
|
|
356
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).describe("Label type indicating how the label was created.").optional(),
|
|
357
|
-
_createdDate: z.date().describe("Date and time the label was created.").optional().nullable(),
|
|
358
|
-
_updatedDate: z.date().describe("Date and time the label was last updated.").optional().nullable()
|
|
359
|
-
});
|
|
360
|
-
var RenameLabelRequest = z.object({
|
|
361
|
-
key: z.string().describe(
|
|
362
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
363
|
-
).min(1).max(80),
|
|
364
|
-
label: z.object({
|
|
365
|
-
namespace: z.string().describe(
|
|
366
|
-
"Label namespace.\n\nLabels created by calling the Find Or Create Label method\nare automatically assigned to the `custom` namespace."
|
|
367
|
-
).min(1).max(25).optional().nullable(),
|
|
368
|
-
namespaceDisplayName: z.string().describe(
|
|
369
|
-
"Display name for the namespace,\nused to organize the list of labels in the site dashboard."
|
|
370
|
-
).min(1).max(180).optional().nullable(),
|
|
371
|
-
key: z.string().describe(
|
|
372
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
373
|
-
).min(1).max(80).optional(),
|
|
374
|
-
displayName: z.string().describe("Label display name shown in the dashboard.").min(1).max(180),
|
|
375
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).optional(),
|
|
376
|
-
_createdDate: z.date().describe("Date and time the label was created.").optional().nullable(),
|
|
377
|
-
_updatedDate: z.date().describe("Date and time the label was last updated.").optional().nullable()
|
|
378
|
-
}).describe("Label to rename. "),
|
|
379
|
-
options: z.object({
|
|
380
|
-
language: z.string().describe(
|
|
381
|
-
"Language for localization.\n2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format."
|
|
382
|
-
).optional().nullable()
|
|
383
|
-
}).describe("Language options.").optional()
|
|
384
|
-
});
|
|
385
|
-
var RenameLabelResponse = z.object({
|
|
386
|
-
namespace: z.string().describe(
|
|
387
|
-
"Label namespace.\n\nLabels created by calling the Find Or Create Label method\nare automatically assigned to the `custom` namespace."
|
|
388
|
-
).min(1).max(25).optional().nullable(),
|
|
389
|
-
namespaceDisplayName: z.string().describe(
|
|
390
|
-
"Display name for the namespace,\nused to organize the list of labels in the site dashboard."
|
|
391
|
-
).min(1).max(180).optional().nullable(),
|
|
392
|
-
key: z.string().describe(
|
|
393
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
394
|
-
).min(1).max(80).optional(),
|
|
395
|
-
displayName: z.string().describe("Label display name shown in the dashboard.").min(1).max(180).optional(),
|
|
396
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).describe("Label type indicating how the label was created.").optional(),
|
|
397
|
-
_createdDate: z.date().describe("Date and time the label was created.").optional().nullable(),
|
|
398
|
-
_updatedDate: z.date().describe("Date and time the label was last updated.").optional().nullable()
|
|
399
|
-
});
|
|
400
|
-
var DeleteLabelRequest = z.object({
|
|
401
|
-
key: z.string().describe("Label key to delete.").min(1).max(80)
|
|
402
|
-
});
|
|
403
|
-
var DeleteLabelResponse = z.object({});
|
|
404
|
-
var QueryLabelsRequest = z.object({
|
|
405
|
-
query: z.object({
|
|
406
|
-
filter: z.object({
|
|
407
|
-
key: z.object({
|
|
408
|
-
$eq: z.string(),
|
|
409
|
-
$in: z.array(z.string()),
|
|
410
|
-
$ne: z.string()
|
|
411
|
-
}).partial().strict().optional(),
|
|
412
|
-
displayName: z.object({
|
|
413
|
-
$eq: z.string(),
|
|
414
|
-
$in: z.array(z.string()),
|
|
415
|
-
$ne: z.string(),
|
|
416
|
-
$startsWith: z.string()
|
|
417
|
-
}).partial().strict().optional(),
|
|
418
|
-
_createdDate: z.object({
|
|
419
|
-
$eq: z.string(),
|
|
420
|
-
$gt: z.string(),
|
|
421
|
-
$gte: z.string(),
|
|
422
|
-
$lt: z.string(),
|
|
423
|
-
$lte: z.string(),
|
|
424
|
-
$ne: z.string()
|
|
425
|
-
}).partial().strict().optional(),
|
|
426
|
-
_updatedDate: z.object({
|
|
427
|
-
$eq: z.string(),
|
|
428
|
-
$gt: z.string(),
|
|
429
|
-
$gte: z.string(),
|
|
430
|
-
$lt: z.string(),
|
|
431
|
-
$lte: z.string(),
|
|
432
|
-
$ne: z.string()
|
|
433
|
-
}).partial().strict().optional(),
|
|
434
|
-
namespace: z.object({ $eq: z.string(), $ne: z.string() }).partial().strict().optional(),
|
|
435
|
-
labelType: z.union([
|
|
436
|
-
z.string(),
|
|
437
|
-
z.object({ $eq: z.string() }).partial().strict()
|
|
438
|
-
]).optional(),
|
|
439
|
-
$and: z.array(z.any()).optional(),
|
|
440
|
-
$or: z.array(z.any()).optional(),
|
|
441
|
-
$not: z.any().optional()
|
|
442
|
-
}).strict().optional(),
|
|
443
|
-
sort: z.array(
|
|
444
|
-
z.object({
|
|
445
|
-
fieldName: z.enum(["displayName", "_createdDate", "_updatedDate"]).optional(),
|
|
446
|
-
order: z.enum(["ASC", "DESC"]).optional()
|
|
447
|
-
})
|
|
448
|
-
).optional()
|
|
449
|
-
}).catchall(z.any()).describe("Query options."),
|
|
450
|
-
options: z.object({
|
|
451
|
-
language: z.string().describe(
|
|
452
|
-
"Language for localization.\n2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format."
|
|
453
|
-
).optional().nullable()
|
|
454
|
-
}).describe("Language options.").optional()
|
|
455
|
-
});
|
|
456
|
-
var QueryLabelsResponse = z.object({
|
|
457
|
-
labels: z.array(
|
|
458
|
-
z.object({
|
|
459
|
-
namespace: z.string().describe(
|
|
460
|
-
"Label namespace.\n\nLabels created by calling the Find Or Create Label method\nare automatically assigned to the `custom` namespace."
|
|
461
|
-
).min(1).max(25).optional().nullable(),
|
|
462
|
-
namespaceDisplayName: z.string().describe(
|
|
463
|
-
"Display name for the namespace,\nused to organize the list of labels in the site dashboard."
|
|
464
|
-
).min(1).max(180).optional().nullable(),
|
|
465
|
-
key: z.string().describe(
|
|
466
|
-
"Label key.\n\n`key` is generated when the label is created.\nIt can't be modified, even if `displayName` is updated."
|
|
467
|
-
).min(1).max(80).optional(),
|
|
468
|
-
displayName: z.string().describe("Label display name shown in the dashboard.").min(1).max(180).optional(),
|
|
469
|
-
labelType: z.enum(["SYSTEM", "USER_DEFINED", "WIX_APP_DEFINED"]).describe("Label type indicating how the label was created.").optional(),
|
|
470
|
-
_createdDate: z.date().describe("Date and time the label was created.").optional().nullable(),
|
|
471
|
-
_updatedDate: z.date().describe("Date and time the label was last updated.").optional().nullable()
|
|
472
|
-
})
|
|
473
|
-
).optional(),
|
|
474
|
-
pagingMetadata: z.object({
|
|
475
|
-
count: z.number().int().describe("Number of items returned.").optional().nullable(),
|
|
476
|
-
offset: z.number().int().describe("Requested offset.").optional().nullable(),
|
|
477
|
-
total: z.number().int().describe("Number of items that matched the query.").optional().nullable(),
|
|
478
|
-
tooManyToCount: z.boolean().describe(
|
|
479
|
-
"Indicates if `total` calculation timed out before the response was sent.\nTypically this happens if there is a large set of results."
|
|
480
|
-
).optional().nullable()
|
|
481
|
-
}).describe("Details on the paged set of results returned.").optional()
|
|
482
|
-
});
|
|
483
|
-
|
|
484
|
-
// src/contacts-v4-label-labels.universal.ts
|
|
485
255
|
import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
|
|
486
256
|
var LabelType = /* @__PURE__ */ ((LabelType2) => {
|
|
487
257
|
LabelType2["SYSTEM"] = "SYSTEM";
|
|
@@ -503,10 +273,7 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
503
273
|
return WebhookIdentityType2;
|
|
504
274
|
})(WebhookIdentityType || {});
|
|
505
275
|
async function listLabels2(options) {
|
|
506
|
-
const { httpClient, sideEffects
|
|
507
|
-
if (validateRequestSchema) {
|
|
508
|
-
ListLabelsRequest.parse({ options });
|
|
509
|
-
}
|
|
276
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
510
277
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
511
278
|
labelType: options?.labelType,
|
|
512
279
|
namespace: options?.namespace,
|
|
@@ -543,10 +310,7 @@ async function listLabels2(options) {
|
|
|
543
310
|
}
|
|
544
311
|
}
|
|
545
312
|
async function findOrCreateLabel2(displayName, options) {
|
|
546
|
-
const { httpClient, sideEffects
|
|
547
|
-
if (validateRequestSchema) {
|
|
548
|
-
FindOrCreateLabelRequest.parse({ displayName, options });
|
|
549
|
-
}
|
|
313
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
550
314
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
551
315
|
displayName,
|
|
552
316
|
language: options?.language
|
|
@@ -575,10 +339,7 @@ async function findOrCreateLabel2(displayName, options) {
|
|
|
575
339
|
}
|
|
576
340
|
}
|
|
577
341
|
async function getLabel2(key, options) {
|
|
578
|
-
const { httpClient, sideEffects
|
|
579
|
-
if (validateRequestSchema) {
|
|
580
|
-
GetLabelRequest.parse({ key, options });
|
|
581
|
-
}
|
|
342
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
582
343
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
583
344
|
key,
|
|
584
345
|
language: options?.language
|
|
@@ -604,10 +365,7 @@ async function getLabel2(key, options) {
|
|
|
604
365
|
}
|
|
605
366
|
}
|
|
606
367
|
async function renameLabel(key, label, options) {
|
|
607
|
-
const { httpClient, sideEffects
|
|
608
|
-
if (validateRequestSchema) {
|
|
609
|
-
RenameLabelRequest.parse({ key, label, options });
|
|
610
|
-
}
|
|
368
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
611
369
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
612
370
|
label: { ...label, key },
|
|
613
371
|
language: options?.language
|
|
@@ -636,10 +394,7 @@ async function renameLabel(key, label, options) {
|
|
|
636
394
|
}
|
|
637
395
|
}
|
|
638
396
|
async function deleteLabel2(key) {
|
|
639
|
-
const { httpClient, sideEffects
|
|
640
|
-
if (validateRequestSchema) {
|
|
641
|
-
DeleteLabelRequest.parse({ key });
|
|
642
|
-
}
|
|
397
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
643
398
|
const payload = renameKeysFromSDKRequestToRESTRequest({ key });
|
|
644
399
|
const reqOpts = deleteLabel(payload);
|
|
645
400
|
sideEffects?.onSiteCall?.();
|
|
@@ -707,10 +462,7 @@ function queryLabels2(options) {
|
|
|
707
462
|
});
|
|
708
463
|
}
|
|
709
464
|
async function typedQueryLabels(query, options) {
|
|
710
|
-
const { httpClient, sideEffects
|
|
711
|
-
if (validateRequestSchema) {
|
|
712
|
-
QueryLabelsRequest.parse({ query, options });
|
|
713
|
-
}
|
|
465
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
714
466
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
715
467
|
query,
|
|
716
468
|
...options
|
|
@@ -742,58 +494,58 @@ var utils = {
|
|
|
742
494
|
};
|
|
743
495
|
|
|
744
496
|
// src/contacts-v4-label-labels.public.ts
|
|
745
|
-
function listLabels3(httpClient
|
|
497
|
+
function listLabels3(httpClient) {
|
|
746
498
|
return (options) => listLabels2(
|
|
747
499
|
options,
|
|
748
500
|
// @ts-ignore
|
|
749
|
-
{ httpClient
|
|
501
|
+
{ httpClient }
|
|
750
502
|
);
|
|
751
503
|
}
|
|
752
|
-
function findOrCreateLabel3(httpClient
|
|
504
|
+
function findOrCreateLabel3(httpClient) {
|
|
753
505
|
return (displayName, options) => findOrCreateLabel2(
|
|
754
506
|
displayName,
|
|
755
507
|
options,
|
|
756
508
|
// @ts-ignore
|
|
757
|
-
{ httpClient
|
|
509
|
+
{ httpClient }
|
|
758
510
|
);
|
|
759
511
|
}
|
|
760
|
-
function getLabel3(httpClient
|
|
512
|
+
function getLabel3(httpClient) {
|
|
761
513
|
return (key, options) => getLabel2(
|
|
762
514
|
key,
|
|
763
515
|
options,
|
|
764
516
|
// @ts-ignore
|
|
765
|
-
{ httpClient
|
|
517
|
+
{ httpClient }
|
|
766
518
|
);
|
|
767
519
|
}
|
|
768
|
-
function renameLabel2(httpClient
|
|
520
|
+
function renameLabel2(httpClient) {
|
|
769
521
|
return (key, label, options) => renameLabel(
|
|
770
522
|
key,
|
|
771
523
|
label,
|
|
772
524
|
options,
|
|
773
525
|
// @ts-ignore
|
|
774
|
-
{ httpClient
|
|
526
|
+
{ httpClient }
|
|
775
527
|
);
|
|
776
528
|
}
|
|
777
|
-
function deleteLabel3(httpClient
|
|
529
|
+
function deleteLabel3(httpClient) {
|
|
778
530
|
return (key) => deleteLabel2(
|
|
779
531
|
key,
|
|
780
532
|
// @ts-ignore
|
|
781
|
-
{ httpClient
|
|
533
|
+
{ httpClient }
|
|
782
534
|
);
|
|
783
535
|
}
|
|
784
|
-
function queryLabels3(httpClient
|
|
536
|
+
function queryLabels3(httpClient) {
|
|
785
537
|
return (options) => queryLabels2(
|
|
786
538
|
options,
|
|
787
539
|
// @ts-ignore
|
|
788
|
-
{ httpClient
|
|
540
|
+
{ httpClient }
|
|
789
541
|
);
|
|
790
542
|
}
|
|
791
|
-
function typedQueryLabels2(httpClient
|
|
543
|
+
function typedQueryLabels2(httpClient) {
|
|
792
544
|
return (query, options) => typedQueryLabels(
|
|
793
545
|
query,
|
|
794
546
|
options,
|
|
795
547
|
// @ts-ignore
|
|
796
|
-
{ httpClient
|
|
548
|
+
{ httpClient }
|
|
797
549
|
);
|
|
798
550
|
}
|
|
799
551
|
var onLabelCreated = EventDefinition(
|