@hermeticacomms/sdk-node 0.1.0 → 0.4.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/dist/contracts/auth.d.ts +10 -6
- package/dist/contracts/auth.js +14 -5
- package/dist/contracts/billing.d.ts +2 -0
- package/dist/contracts/billing.js +2 -1
- package/dist/contracts/campaigns.d.ts +6 -9
- package/dist/contracts/campaigns.js +9 -2
- package/dist/contracts/consent.d.ts +24 -0
- package/dist/contracts/consent.js +15 -1
- package/dist/contracts/content-blocks.d.ts +1 -0
- package/dist/contracts/content-blocks.js +5 -3
- package/dist/contracts/content-library.d.ts +8 -0
- package/dist/contracts/content-library.js +3 -1
- package/dist/contracts/content.d.ts +6 -0
- package/dist/contracts/content.js +5 -3
- package/dist/contracts/delivery.d.ts +3 -0
- package/dist/contracts/delivery.js +6 -0
- package/dist/contracts/events.d.ts +2 -1
- package/dist/contracts/events.js +4 -2
- package/dist/contracts/experiments.d.ts +4 -2
- package/dist/contracts/experiments.js +7 -3
- package/dist/contracts/identity.d.ts +6 -1
- package/dist/contracts/identity.js +5 -4
- package/dist/contracts/integrations.d.ts +66 -2
- package/dist/contracts/integrations.js +32 -5
- package/dist/contracts/metrics.d.ts +6 -1
- package/dist/contracts/metrics.js +8 -2
- package/dist/contracts/outbound.d.ts +25 -0
- package/dist/contracts/outbound.js +14 -5
- package/dist/contracts/pickers.d.ts +1 -1
- package/dist/contracts/pickers.js +1 -1
- package/dist/contracts/platform-admin.d.ts +14 -0
- package/dist/contracts/platform-admin.js +7 -0
- package/dist/contracts/segments.d.ts +5 -0
- package/dist/contracts/segments.js +8 -3
- package/dist/contracts/workflow-nodes.d.ts +12 -0
- package/dist/contracts/workflow-nodes.js +5 -0
- package/dist/contracts/workflows.d.ts +398 -0
- package/dist/contracts/workflows.js +11 -2
- package/dist/index.d.ts +126 -2
- package/dist/resources.d.ts +20 -0
- package/dist/x10.d.ts +1 -0
- package/dist/z10.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,11 +10,12 @@ export declare function createClient(options: ClientOptions): {
|
|
|
10
10
|
list: (query?: {
|
|
11
11
|
limit?: unknown;
|
|
12
12
|
cursor?: string | undefined;
|
|
13
|
-
status?:
|
|
13
|
+
status?: string | undefined;
|
|
14
14
|
q?: string | undefined;
|
|
15
15
|
channel?: "email" | "postcard" | "push" | "sms" | "whatsapp" | undefined;
|
|
16
16
|
purpose?: "marketing" | "operational" | "prospecting" | "transactional" | undefined;
|
|
17
17
|
folderId?: string | undefined;
|
|
18
|
+
app?: string | undefined;
|
|
18
19
|
tag?: string | undefined;
|
|
19
20
|
listId?: string | undefined;
|
|
20
21
|
from?: unknown;
|
|
@@ -131,6 +132,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
131
132
|
} | null | undefined;
|
|
132
133
|
failureReason?: string | null | undefined;
|
|
133
134
|
smartAudience?: boolean | undefined;
|
|
135
|
+
app?: string | null | undefined;
|
|
134
136
|
createdAt: string;
|
|
135
137
|
updatedAt: string;
|
|
136
138
|
}[];
|
|
@@ -236,6 +238,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
236
238
|
} | null | undefined;
|
|
237
239
|
failureReason?: string | null | undefined;
|
|
238
240
|
smartAudience?: boolean | undefined;
|
|
241
|
+
app?: string | null | undefined;
|
|
239
242
|
createdAt: string;
|
|
240
243
|
updatedAt: string;
|
|
241
244
|
}>;
|
|
@@ -320,6 +323,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
320
323
|
action: "send" | "skip";
|
|
321
324
|
} | null | undefined;
|
|
322
325
|
smartAudience?: boolean | undefined;
|
|
326
|
+
app?: string | null | undefined;
|
|
323
327
|
}) => Promise<{
|
|
324
328
|
id: string;
|
|
325
329
|
name: string;
|
|
@@ -420,6 +424,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
420
424
|
} | null | undefined;
|
|
421
425
|
failureReason?: string | null | undefined;
|
|
422
426
|
smartAudience?: boolean | undefined;
|
|
427
|
+
app?: string | null | undefined;
|
|
423
428
|
createdAt: string;
|
|
424
429
|
updatedAt: string;
|
|
425
430
|
}>;
|
|
@@ -503,6 +508,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
503
508
|
action: "send" | "skip";
|
|
504
509
|
} | null | undefined;
|
|
505
510
|
smartAudience?: boolean | undefined;
|
|
511
|
+
app?: string | null | undefined;
|
|
506
512
|
}) => Promise<{
|
|
507
513
|
id: string;
|
|
508
514
|
name: string;
|
|
@@ -603,6 +609,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
603
609
|
} | null | undefined;
|
|
604
610
|
failureReason?: string | null | undefined;
|
|
605
611
|
smartAudience?: boolean | undefined;
|
|
612
|
+
app?: string | null | undefined;
|
|
606
613
|
createdAt: string;
|
|
607
614
|
updatedAt: string;
|
|
608
615
|
}>;
|
|
@@ -708,6 +715,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
708
715
|
} | null | undefined;
|
|
709
716
|
failureReason?: string | null | undefined;
|
|
710
717
|
smartAudience?: boolean | undefined;
|
|
718
|
+
app?: string | null | undefined;
|
|
711
719
|
createdAt: string;
|
|
712
720
|
updatedAt: string;
|
|
713
721
|
}>;
|
|
@@ -811,6 +819,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
811
819
|
} | null | undefined;
|
|
812
820
|
failureReason?: string | null | undefined;
|
|
813
821
|
smartAudience?: boolean | undefined;
|
|
822
|
+
app?: string | null | undefined;
|
|
814
823
|
createdAt: string;
|
|
815
824
|
updatedAt: string;
|
|
816
825
|
}>;
|
|
@@ -914,6 +923,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
914
923
|
} | null | undefined;
|
|
915
924
|
failureReason?: string | null | undefined;
|
|
916
925
|
smartAudience?: boolean | undefined;
|
|
926
|
+
app?: string | null | undefined;
|
|
917
927
|
createdAt: string;
|
|
918
928
|
updatedAt: string;
|
|
919
929
|
}>;
|
|
@@ -1017,6 +1027,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1017
1027
|
} | null | undefined;
|
|
1018
1028
|
failureReason?: string | null | undefined;
|
|
1019
1029
|
smartAudience?: boolean | undefined;
|
|
1030
|
+
app?: string | null | undefined;
|
|
1020
1031
|
createdAt: string;
|
|
1021
1032
|
updatedAt: string;
|
|
1022
1033
|
}>;
|
|
@@ -1062,6 +1073,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1062
1073
|
};
|
|
1063
1074
|
tags?: string[] | undefined;
|
|
1064
1075
|
folderId?: string | null | undefined;
|
|
1076
|
+
app?: string | null | undefined;
|
|
1065
1077
|
createdAt: string;
|
|
1066
1078
|
memberCount: number;
|
|
1067
1079
|
stats?: {
|
|
@@ -1112,6 +1124,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1112
1124
|
};
|
|
1113
1125
|
tags?: string[] | undefined;
|
|
1114
1126
|
folderId?: string | null | undefined;
|
|
1127
|
+
app?: string | null | undefined;
|
|
1115
1128
|
createdAt: string;
|
|
1116
1129
|
}>;
|
|
1117
1130
|
create: (body: {
|
|
@@ -1149,6 +1162,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1149
1162
|
defaultPoolId?: string | undefined;
|
|
1150
1163
|
} | undefined;
|
|
1151
1164
|
folderId?: string | null | undefined;
|
|
1165
|
+
app?: string | null | undefined;
|
|
1152
1166
|
}) => Promise<{
|
|
1153
1167
|
id: string;
|
|
1154
1168
|
name: string;
|
|
@@ -1187,6 +1201,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1187
1201
|
};
|
|
1188
1202
|
tags?: string[] | undefined;
|
|
1189
1203
|
folderId?: string | null | undefined;
|
|
1204
|
+
app?: string | null | undefined;
|
|
1190
1205
|
createdAt: string;
|
|
1191
1206
|
}>;
|
|
1192
1207
|
update: (id: string, body: {
|
|
@@ -1224,6 +1239,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1224
1239
|
defaultPoolId?: string | undefined;
|
|
1225
1240
|
} | undefined;
|
|
1226
1241
|
folderId?: string | null | undefined;
|
|
1242
|
+
app?: string | null | undefined;
|
|
1227
1243
|
}) => Promise<{
|
|
1228
1244
|
id: string;
|
|
1229
1245
|
name: string;
|
|
@@ -1262,6 +1278,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1262
1278
|
};
|
|
1263
1279
|
tags?: string[] | undefined;
|
|
1264
1280
|
folderId?: string | null | undefined;
|
|
1281
|
+
app?: string | null | undefined;
|
|
1265
1282
|
createdAt: string;
|
|
1266
1283
|
}>;
|
|
1267
1284
|
delete: (id: string) => Promise<{
|
|
@@ -1288,6 +1305,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1288
1305
|
archived?: "false" | "true" | undefined;
|
|
1289
1306
|
createdBy?: string | undefined;
|
|
1290
1307
|
kind?: "blocks" | "html" | "sms" | "text" | undefined;
|
|
1308
|
+
app?: string | undefined;
|
|
1291
1309
|
createdAfter?: string | undefined;
|
|
1292
1310
|
createdBefore?: string | undefined;
|
|
1293
1311
|
sort?: "name" | "name_desc" | "newest" | "oldest" | "updated" | undefined;
|
|
@@ -1307,6 +1325,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1307
1325
|
isDefault: boolean;
|
|
1308
1326
|
topicId: string | null;
|
|
1309
1327
|
createdBy: string | null;
|
|
1328
|
+
app: string | null;
|
|
1310
1329
|
createdAt: string;
|
|
1311
1330
|
updatedAt: string;
|
|
1312
1331
|
}[];
|
|
@@ -1327,6 +1346,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1327
1346
|
isDefault: boolean;
|
|
1328
1347
|
topicId: string | null;
|
|
1329
1348
|
createdBy: string | null;
|
|
1349
|
+
app: string | null;
|
|
1330
1350
|
createdAt: string;
|
|
1331
1351
|
updatedAt: string;
|
|
1332
1352
|
currentVersion: {
|
|
@@ -1403,6 +1423,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1403
1423
|
folderId?: string | null | undefined;
|
|
1404
1424
|
tags?: string[] | undefined;
|
|
1405
1425
|
topicId?: string | null | undefined;
|
|
1426
|
+
app?: string | null | undefined;
|
|
1406
1427
|
version?: {
|
|
1407
1428
|
body: {
|
|
1408
1429
|
kind: "blocks";
|
|
@@ -1472,6 +1493,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1472
1493
|
isDefault: boolean;
|
|
1473
1494
|
topicId: string | null;
|
|
1474
1495
|
createdBy: string | null;
|
|
1496
|
+
app: string | null;
|
|
1475
1497
|
createdAt: string;
|
|
1476
1498
|
updatedAt: string;
|
|
1477
1499
|
}>;
|
|
@@ -1484,6 +1506,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1484
1506
|
brandKitId?: string | null | undefined;
|
|
1485
1507
|
topicId?: string | null | undefined;
|
|
1486
1508
|
isDefault?: boolean | undefined;
|
|
1509
|
+
app?: string | null | undefined;
|
|
1487
1510
|
}) => Promise<{
|
|
1488
1511
|
id: string;
|
|
1489
1512
|
workspaceId: string;
|
|
@@ -1499,6 +1522,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1499
1522
|
isDefault: boolean;
|
|
1500
1523
|
topicId: string | null;
|
|
1501
1524
|
createdBy: string | null;
|
|
1525
|
+
app: string | null;
|
|
1502
1526
|
createdAt: string;
|
|
1503
1527
|
updatedAt: string;
|
|
1504
1528
|
}>;
|
|
@@ -1520,6 +1544,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1520
1544
|
updatedTo?: unknown;
|
|
1521
1545
|
startedFrom?: unknown;
|
|
1522
1546
|
startedTo?: unknown;
|
|
1547
|
+
app?: string | undefined;
|
|
1523
1548
|
sort?: "-created" | "-name" | "-updated" | "created" | "name" | "updated" | undefined;
|
|
1524
1549
|
}) => Promise<{
|
|
1525
1550
|
items: {
|
|
@@ -1532,6 +1557,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1532
1557
|
folder: string | null;
|
|
1533
1558
|
tags: string[];
|
|
1534
1559
|
color?: string | null | undefined;
|
|
1560
|
+
app?: string | null | undefined;
|
|
1535
1561
|
draftGraph: unknown;
|
|
1536
1562
|
draftTriggers: unknown;
|
|
1537
1563
|
draftSettings: unknown;
|
|
@@ -1557,6 +1583,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
1557
1583
|
folder: string | null;
|
|
1558
1584
|
tags: string[];
|
|
1559
1585
|
color?: string | null | undefined;
|
|
1586
|
+
app?: string | null | undefined;
|
|
1560
1587
|
draftGraph: unknown;
|
|
1561
1588
|
draftTriggers: unknown;
|
|
1562
1589
|
draftSettings: unknown;
|
|
@@ -3041,6 +3068,18 @@ export declare function createClient(options: ClientOptions): {
|
|
|
3041
3068
|
y: number;
|
|
3042
3069
|
} | undefined;
|
|
3043
3070
|
name?: string | undefined;
|
|
3071
|
+
} | {
|
|
3072
|
+
id: string;
|
|
3073
|
+
type: "send_social_dm";
|
|
3074
|
+
config: {
|
|
3075
|
+
accountId?: string | undefined;
|
|
3076
|
+
text: string;
|
|
3077
|
+
};
|
|
3078
|
+
position?: {
|
|
3079
|
+
x: number;
|
|
3080
|
+
y: number;
|
|
3081
|
+
} | undefined;
|
|
3082
|
+
name?: string | undefined;
|
|
3044
3083
|
} | {
|
|
3045
3084
|
id: string;
|
|
3046
3085
|
type: "ad_audience";
|
|
@@ -3655,6 +3694,25 @@ export declare function createClient(options: ClientOptions): {
|
|
|
3655
3694
|
dedupeKeyTemplate: string;
|
|
3656
3695
|
} | undefined;
|
|
3657
3696
|
type: "meeting_booked";
|
|
3697
|
+
} | {
|
|
3698
|
+
reentry?: {
|
|
3699
|
+
mode: "never";
|
|
3700
|
+
} | {
|
|
3701
|
+
mode: "once";
|
|
3702
|
+
} | {
|
|
3703
|
+
mode: "after_completion";
|
|
3704
|
+
} | {
|
|
3705
|
+
mode: "after_cooldown";
|
|
3706
|
+
cooldown: {
|
|
3707
|
+
amount: number;
|
|
3708
|
+
unit: "days" | "hours" | "minutes" | "weeks";
|
|
3709
|
+
};
|
|
3710
|
+
} | {
|
|
3711
|
+
mode: "concurrent";
|
|
3712
|
+
dedupeKeyTemplate: string;
|
|
3713
|
+
} | undefined;
|
|
3714
|
+
type: "lead_signal";
|
|
3715
|
+
signalType?: "funding" | "hiring" | "job_change" | "new_hire" | "website_visit" | undefined;
|
|
3658
3716
|
} | {
|
|
3659
3717
|
reentry?: {
|
|
3660
3718
|
mode: "never";
|
|
@@ -5087,6 +5145,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
5087
5145
|
} | undefined;
|
|
5088
5146
|
} | undefined;
|
|
5089
5147
|
} | undefined;
|
|
5148
|
+
app?: string | null | undefined;
|
|
5090
5149
|
}) => Promise<{
|
|
5091
5150
|
id: string;
|
|
5092
5151
|
name: string;
|
|
@@ -5097,6 +5156,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
5097
5156
|
folder: string | null;
|
|
5098
5157
|
tags: string[];
|
|
5099
5158
|
color?: string | null | undefined;
|
|
5159
|
+
app?: string | null | undefined;
|
|
5100
5160
|
draftGraph: unknown;
|
|
5101
5161
|
draftTriggers: unknown;
|
|
5102
5162
|
draftSettings: unknown;
|
|
@@ -6580,6 +6640,18 @@ export declare function createClient(options: ClientOptions): {
|
|
|
6580
6640
|
y: number;
|
|
6581
6641
|
} | undefined;
|
|
6582
6642
|
name?: string | undefined;
|
|
6643
|
+
} | {
|
|
6644
|
+
id: string;
|
|
6645
|
+
type: "send_social_dm";
|
|
6646
|
+
config: {
|
|
6647
|
+
accountId?: string | undefined;
|
|
6648
|
+
text: string;
|
|
6649
|
+
};
|
|
6650
|
+
position?: {
|
|
6651
|
+
x: number;
|
|
6652
|
+
y: number;
|
|
6653
|
+
} | undefined;
|
|
6654
|
+
name?: string | undefined;
|
|
6583
6655
|
} | {
|
|
6584
6656
|
id: string;
|
|
6585
6657
|
type: "ad_audience";
|
|
@@ -7194,6 +7266,25 @@ export declare function createClient(options: ClientOptions): {
|
|
|
7194
7266
|
dedupeKeyTemplate: string;
|
|
7195
7267
|
} | undefined;
|
|
7196
7268
|
type: "meeting_booked";
|
|
7269
|
+
} | {
|
|
7270
|
+
reentry?: {
|
|
7271
|
+
mode: "never";
|
|
7272
|
+
} | {
|
|
7273
|
+
mode: "once";
|
|
7274
|
+
} | {
|
|
7275
|
+
mode: "after_completion";
|
|
7276
|
+
} | {
|
|
7277
|
+
mode: "after_cooldown";
|
|
7278
|
+
cooldown: {
|
|
7279
|
+
amount: number;
|
|
7280
|
+
unit: "days" | "hours" | "minutes" | "weeks";
|
|
7281
|
+
};
|
|
7282
|
+
} | {
|
|
7283
|
+
mode: "concurrent";
|
|
7284
|
+
dedupeKeyTemplate: string;
|
|
7285
|
+
} | undefined;
|
|
7286
|
+
type: "lead_signal";
|
|
7287
|
+
signalType?: "funding" | "hiring" | "job_change" | "new_hire" | "website_visit" | undefined;
|
|
7197
7288
|
} | {
|
|
7198
7289
|
reentry?: {
|
|
7199
7290
|
mode: "never";
|
|
@@ -8626,6 +8717,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
8626
8717
|
} | undefined;
|
|
8627
8718
|
};
|
|
8628
8719
|
} | undefined;
|
|
8720
|
+
app?: string | null | undefined;
|
|
8629
8721
|
}) => Promise<{
|
|
8630
8722
|
id: string;
|
|
8631
8723
|
name: string;
|
|
@@ -8636,6 +8728,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
8636
8728
|
folder: string | null;
|
|
8637
8729
|
tags: string[];
|
|
8638
8730
|
color?: string | null | undefined;
|
|
8731
|
+
app?: string | null | undefined;
|
|
8639
8732
|
draftGraph: unknown;
|
|
8640
8733
|
draftTriggers: unknown;
|
|
8641
8734
|
draftSettings: unknown;
|
|
@@ -8660,6 +8753,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
8660
8753
|
folder: string | null;
|
|
8661
8754
|
tags: string[];
|
|
8662
8755
|
color?: string | null | undefined;
|
|
8756
|
+
app?: string | null | undefined;
|
|
8663
8757
|
draftGraph: unknown;
|
|
8664
8758
|
draftTriggers: unknown;
|
|
8665
8759
|
draftSettings: unknown;
|
|
@@ -9086,6 +9180,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
9086
9180
|
allowedConnectionIds?: string[] | undefined;
|
|
9087
9181
|
allowedSequenceIds?: string[] | undefined;
|
|
9088
9182
|
rateLimitPerMin?: number | undefined;
|
|
9183
|
+
app?: string | null | undefined;
|
|
9089
9184
|
expiresAt?: string | undefined;
|
|
9090
9185
|
}) => Promise<{
|
|
9091
9186
|
id: string;
|
|
@@ -9098,6 +9193,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
9098
9193
|
allowedConnectionIds?: string[] | undefined;
|
|
9099
9194
|
allowedSequenceIds?: string[] | undefined;
|
|
9100
9195
|
rateLimitPerMin?: number | null | undefined;
|
|
9196
|
+
app?: string | null | undefined;
|
|
9101
9197
|
lastUsedAt: string | null;
|
|
9102
9198
|
revokedAt: string | null;
|
|
9103
9199
|
expiresAt?: string | null | undefined;
|
|
@@ -10999,6 +11095,11 @@ export declare function createClient(options: ClientOptions): {
|
|
|
10999
11095
|
autoDisableAfter: number;
|
|
11000
11096
|
retryWindowHours: number;
|
|
11001
11097
|
status: "active" | "disabled";
|
|
11098
|
+
app?: string | null | undefined;
|
|
11099
|
+
preset?: {
|
|
11100
|
+
kind: "watchtower";
|
|
11101
|
+
environment: string;
|
|
11102
|
+
} | null | undefined;
|
|
11002
11103
|
consecutiveFailures: number;
|
|
11003
11104
|
createdAt: string;
|
|
11004
11105
|
updatedAt: string;
|
|
@@ -11236,6 +11337,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11236
11337
|
version: number;
|
|
11237
11338
|
subject: string;
|
|
11238
11339
|
starred: boolean;
|
|
11340
|
+
app?: string | null | undefined;
|
|
11239
11341
|
tags?: string[] | undefined;
|
|
11240
11342
|
createdAt: string;
|
|
11241
11343
|
updatedAt: string;
|
|
@@ -11256,6 +11358,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11256
11358
|
version: number;
|
|
11257
11359
|
subject: string;
|
|
11258
11360
|
starred: boolean;
|
|
11361
|
+
app?: string | null | undefined;
|
|
11259
11362
|
tags?: string[] | undefined;
|
|
11260
11363
|
createdAt: string;
|
|
11261
11364
|
updatedAt: string;
|
|
@@ -11274,6 +11377,7 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11274
11377
|
version: number;
|
|
11275
11378
|
subject: string;
|
|
11276
11379
|
starred: boolean;
|
|
11380
|
+
app?: string | null | undefined;
|
|
11277
11381
|
tags?: string[] | undefined;
|
|
11278
11382
|
createdAt: string;
|
|
11279
11383
|
updatedAt: string;
|
|
@@ -11360,6 +11464,11 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11360
11464
|
autoDisableAfter: number;
|
|
11361
11465
|
retryWindowHours: number;
|
|
11362
11466
|
status: "active" | "disabled";
|
|
11467
|
+
app?: string | null | undefined;
|
|
11468
|
+
preset?: {
|
|
11469
|
+
kind: "watchtower";
|
|
11470
|
+
environment: string;
|
|
11471
|
+
} | null | undefined;
|
|
11363
11472
|
consecutiveFailures: number;
|
|
11364
11473
|
createdAt: string;
|
|
11365
11474
|
updatedAt: string;
|
|
@@ -11391,10 +11500,15 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11391
11500
|
autoDisableAfter: number;
|
|
11392
11501
|
retryWindowHours: number;
|
|
11393
11502
|
status: "active" | "disabled";
|
|
11503
|
+
app?: string | null | undefined;
|
|
11504
|
+
preset?: {
|
|
11505
|
+
kind: "watchtower";
|
|
11506
|
+
environment: string;
|
|
11507
|
+
} | null | undefined;
|
|
11394
11508
|
consecutiveFailures: number;
|
|
11395
11509
|
createdAt: string;
|
|
11396
11510
|
updatedAt: string;
|
|
11397
|
-
secret
|
|
11511
|
+
secret?: string | undefined;
|
|
11398
11512
|
}>;
|
|
11399
11513
|
get: (id: string) => Promise<{
|
|
11400
11514
|
id: string;
|
|
@@ -11421,6 +11535,11 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11421
11535
|
autoDisableAfter: number;
|
|
11422
11536
|
retryWindowHours: number;
|
|
11423
11537
|
status: "active" | "disabled";
|
|
11538
|
+
app?: string | null | undefined;
|
|
11539
|
+
preset?: {
|
|
11540
|
+
kind: "watchtower";
|
|
11541
|
+
environment: string;
|
|
11542
|
+
} | null | undefined;
|
|
11424
11543
|
consecutiveFailures: number;
|
|
11425
11544
|
createdAt: string;
|
|
11426
11545
|
updatedAt: string;
|
|
@@ -11450,6 +11569,11 @@ export declare function createClient(options: ClientOptions): {
|
|
|
11450
11569
|
autoDisableAfter: number;
|
|
11451
11570
|
retryWindowHours: number;
|
|
11452
11571
|
status: "active" | "disabled";
|
|
11572
|
+
app?: string | null | undefined;
|
|
11573
|
+
preset?: {
|
|
11574
|
+
kind: "watchtower";
|
|
11575
|
+
environment: string;
|
|
11576
|
+
} | null | undefined;
|
|
11453
11577
|
consecutiveFailures: number;
|
|
11454
11578
|
createdAt: string;
|
|
11455
11579
|
updatedAt: string;
|
package/dist/resources.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare function resources(http: Http): {
|
|
|
108
108
|
} | null | undefined;
|
|
109
109
|
failureReason?: string | null | undefined;
|
|
110
110
|
smartAudience?: boolean | undefined;
|
|
111
|
+
app?: string | null | undefined;
|
|
111
112
|
createdAt: string;
|
|
112
113
|
updatedAt: string;
|
|
113
114
|
}[];
|
|
@@ -213,6 +214,7 @@ export declare function resources(http: Http): {
|
|
|
213
214
|
} | null | undefined;
|
|
214
215
|
failureReason?: string | null | undefined;
|
|
215
216
|
smartAudience?: boolean | undefined;
|
|
217
|
+
app?: string | null | undefined;
|
|
216
218
|
createdAt: string;
|
|
217
219
|
updatedAt: string;
|
|
218
220
|
}>;
|
|
@@ -316,6 +318,7 @@ export declare function resources(http: Http): {
|
|
|
316
318
|
} | null | undefined;
|
|
317
319
|
failureReason?: string | null | undefined;
|
|
318
320
|
smartAudience?: boolean | undefined;
|
|
321
|
+
app?: string | null | undefined;
|
|
319
322
|
createdAt: string;
|
|
320
323
|
updatedAt: string;
|
|
321
324
|
}>;
|
|
@@ -419,6 +422,7 @@ export declare function resources(http: Http): {
|
|
|
419
422
|
} | null | undefined;
|
|
420
423
|
failureReason?: string | null | undefined;
|
|
421
424
|
smartAudience?: boolean | undefined;
|
|
425
|
+
app?: string | null | undefined;
|
|
422
426
|
createdAt: string;
|
|
423
427
|
updatedAt: string;
|
|
424
428
|
}>;
|
|
@@ -525,6 +529,7 @@ export declare function resources(http: Http): {
|
|
|
525
529
|
} | null | undefined;
|
|
526
530
|
failureReason?: string | null | undefined;
|
|
527
531
|
smartAudience?: boolean | undefined;
|
|
532
|
+
app?: string | null | undefined;
|
|
528
533
|
createdAt: string;
|
|
529
534
|
updatedAt: string;
|
|
530
535
|
}>;
|
|
@@ -628,6 +633,7 @@ export declare function resources(http: Http): {
|
|
|
628
633
|
} | null | undefined;
|
|
629
634
|
failureReason?: string | null | undefined;
|
|
630
635
|
smartAudience?: boolean | undefined;
|
|
636
|
+
app?: string | null | undefined;
|
|
631
637
|
createdAt: string;
|
|
632
638
|
updatedAt: string;
|
|
633
639
|
}>;
|
|
@@ -731,6 +737,7 @@ export declare function resources(http: Http): {
|
|
|
731
737
|
} | null | undefined;
|
|
732
738
|
failureReason?: string | null | undefined;
|
|
733
739
|
smartAudience?: boolean | undefined;
|
|
740
|
+
app?: string | null | undefined;
|
|
734
741
|
createdAt: string;
|
|
735
742
|
updatedAt: string;
|
|
736
743
|
}>;
|
|
@@ -834,6 +841,7 @@ export declare function resources(http: Http): {
|
|
|
834
841
|
} | null | undefined;
|
|
835
842
|
failureReason?: string | null | undefined;
|
|
836
843
|
smartAudience?: boolean | undefined;
|
|
844
|
+
app?: string | null | undefined;
|
|
837
845
|
createdAt: string;
|
|
838
846
|
updatedAt: string;
|
|
839
847
|
}>;
|
|
@@ -881,6 +889,7 @@ export declare function resources(http: Http): {
|
|
|
881
889
|
};
|
|
882
890
|
tags?: string[] | undefined;
|
|
883
891
|
folderId?: string | null | undefined;
|
|
892
|
+
app?: string | null | undefined;
|
|
884
893
|
createdAt: string;
|
|
885
894
|
}>;
|
|
886
895
|
create: (body: In<typeof CreateListBody>) => Promise<{
|
|
@@ -921,6 +930,7 @@ export declare function resources(http: Http): {
|
|
|
921
930
|
};
|
|
922
931
|
tags?: string[] | undefined;
|
|
923
932
|
folderId?: string | null | undefined;
|
|
933
|
+
app?: string | null | undefined;
|
|
924
934
|
createdAt: string;
|
|
925
935
|
}>;
|
|
926
936
|
update: (id: string, body: In<typeof UpdateListBody>) => Promise<{
|
|
@@ -961,6 +971,7 @@ export declare function resources(http: Http): {
|
|
|
961
971
|
};
|
|
962
972
|
tags?: string[] | undefined;
|
|
963
973
|
folderId?: string | null | undefined;
|
|
974
|
+
app?: string | null | undefined;
|
|
964
975
|
createdAt: string;
|
|
965
976
|
}>;
|
|
966
977
|
delete: (id: string) => Promise<{
|
|
@@ -990,6 +1001,7 @@ export declare function resources(http: Http): {
|
|
|
990
1001
|
isDefault: boolean;
|
|
991
1002
|
topicId: string | null;
|
|
992
1003
|
createdBy: string | null;
|
|
1004
|
+
app: string | null;
|
|
993
1005
|
createdAt: string;
|
|
994
1006
|
updatedAt: string;
|
|
995
1007
|
}[];
|
|
@@ -1010,6 +1022,7 @@ export declare function resources(http: Http): {
|
|
|
1010
1022
|
isDefault: boolean;
|
|
1011
1023
|
topicId: string | null;
|
|
1012
1024
|
createdBy: string | null;
|
|
1025
|
+
app: string | null;
|
|
1013
1026
|
createdAt: string;
|
|
1014
1027
|
updatedAt: string;
|
|
1015
1028
|
currentVersion: {
|
|
@@ -1093,6 +1106,7 @@ export declare function resources(http: Http): {
|
|
|
1093
1106
|
isDefault: boolean;
|
|
1094
1107
|
topicId: string | null;
|
|
1095
1108
|
createdBy: string | null;
|
|
1109
|
+
app: string | null;
|
|
1096
1110
|
createdAt: string;
|
|
1097
1111
|
updatedAt: string;
|
|
1098
1112
|
}>;
|
|
@@ -1111,6 +1125,7 @@ export declare function resources(http: Http): {
|
|
|
1111
1125
|
isDefault: boolean;
|
|
1112
1126
|
topicId: string | null;
|
|
1113
1127
|
createdBy: string | null;
|
|
1128
|
+
app: string | null;
|
|
1114
1129
|
createdAt: string;
|
|
1115
1130
|
updatedAt: string;
|
|
1116
1131
|
}>;
|
|
@@ -1128,6 +1143,7 @@ export declare function resources(http: Http): {
|
|
|
1128
1143
|
folder: string | null;
|
|
1129
1144
|
tags: string[];
|
|
1130
1145
|
color?: string | null | undefined;
|
|
1146
|
+
app?: string | null | undefined;
|
|
1131
1147
|
draftGraph: unknown;
|
|
1132
1148
|
draftTriggers: unknown;
|
|
1133
1149
|
draftSettings: unknown;
|
|
@@ -1153,6 +1169,7 @@ export declare function resources(http: Http): {
|
|
|
1153
1169
|
folder: string | null;
|
|
1154
1170
|
tags: string[];
|
|
1155
1171
|
color?: string | null | undefined;
|
|
1172
|
+
app?: string | null | undefined;
|
|
1156
1173
|
draftGraph: unknown;
|
|
1157
1174
|
draftTriggers: unknown;
|
|
1158
1175
|
draftSettings: unknown;
|
|
@@ -1176,6 +1193,7 @@ export declare function resources(http: Http): {
|
|
|
1176
1193
|
folder: string | null;
|
|
1177
1194
|
tags: string[];
|
|
1178
1195
|
color?: string | null | undefined;
|
|
1196
|
+
app?: string | null | undefined;
|
|
1179
1197
|
draftGraph: unknown;
|
|
1180
1198
|
draftTriggers: unknown;
|
|
1181
1199
|
draftSettings: unknown;
|
|
@@ -1199,6 +1217,7 @@ export declare function resources(http: Http): {
|
|
|
1199
1217
|
folder: string | null;
|
|
1200
1218
|
tags: string[];
|
|
1201
1219
|
color?: string | null | undefined;
|
|
1220
|
+
app?: string | null | undefined;
|
|
1202
1221
|
draftGraph: unknown;
|
|
1203
1222
|
draftTriggers: unknown;
|
|
1204
1223
|
draftSettings: unknown;
|
|
@@ -1223,6 +1242,7 @@ export declare function resources(http: Http): {
|
|
|
1223
1242
|
folder: string | null;
|
|
1224
1243
|
tags: string[];
|
|
1225
1244
|
color?: string | null | undefined;
|
|
1245
|
+
app?: string | null | undefined;
|
|
1226
1246
|
draftGraph: unknown;
|
|
1227
1247
|
draftTriggers: unknown;
|
|
1228
1248
|
draftSettings: unknown;
|
package/dist/x10.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export declare function x10Resources(http: ReturnType<typeof createTransport>):
|
|
|
50
50
|
allowedConnectionIds?: string[] | undefined;
|
|
51
51
|
allowedSequenceIds?: string[] | undefined;
|
|
52
52
|
rateLimitPerMin?: number | null | undefined;
|
|
53
|
+
app?: string | null | undefined;
|
|
53
54
|
lastUsedAt: string | null;
|
|
54
55
|
revokedAt: string | null;
|
|
55
56
|
expiresAt?: string | null | undefined;
|
package/dist/z10.d.ts
CHANGED
|
@@ -194,6 +194,11 @@ export declare function z10Resources(http: ReturnType<typeof createTransport>):
|
|
|
194
194
|
autoDisableAfter: number;
|
|
195
195
|
retryWindowHours: number;
|
|
196
196
|
status: "active" | "disabled";
|
|
197
|
+
app?: string | null | undefined;
|
|
198
|
+
preset?: {
|
|
199
|
+
kind: "watchtower";
|
|
200
|
+
environment: string;
|
|
201
|
+
} | null | undefined;
|
|
197
202
|
consecutiveFailures: number;
|
|
198
203
|
createdAt: string;
|
|
199
204
|
updatedAt: string;
|