@burdenoff/microfe-subscriberbot 2026.801.1 → 2026.829.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/dist/subscriberbot/admin/AdminDashboardPage.d.ts.map +1 -1
- package/dist/subscriberbot/admin/AdminDashboardPage.js +80 -83
- package/dist/subscriberbot/admin/AdminDashboardPage.js.map +1 -1
- package/dist/subscriberbot/components/viz.js +51 -27
- package/dist/subscriberbot/components/viz.js.map +1 -1
- package/dist/subscriberbot/hooks/index.d.ts +2 -1
- package/dist/subscriberbot/hooks/index.d.ts.map +1 -1
- package/dist/subscriberbot/hooks/index.js +1 -0
- package/dist/subscriberbot/hooks/useSubscriberBotApi.d.ts +12 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.d.ts.map +1 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.js +82 -56
- package/dist/subscriberbot/hooks/useSubscriberBotApi.js.map +1 -1
- package/dist/subscriberbot/hooks/useTr.d.ts +17 -0
- package/dist/subscriberbot/hooks/useTr.d.ts.map +1 -0
- package/dist/subscriberbot/hooks/useTr.js +14 -0
- package/dist/subscriberbot/hooks/useTr.js.map +1 -0
- package/dist/subscriberbot/pages/AssetVaultPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/AssetVaultPage.js +155 -97
- package/dist/subscriberbot/pages/AssetVaultPage.js.map +1 -1
- package/dist/subscriberbot/pages/DashboardPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/DashboardPage.js +113 -105
- package/dist/subscriberbot/pages/DashboardPage.js.map +1 -1
- package/dist/subscriberbot/pages/InboxPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/InboxPage.js +404 -369
- package/dist/subscriberbot/pages/InboxPage.js.map +1 -1
- package/dist/subscriberbot/pages/InsightsPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/InsightsPage.js +94 -93
- package/dist/subscriberbot/pages/InsightsPage.js.map +1 -1
- package/dist/subscriberbot/pages/InvoicesPage.d.ts +3 -2
- package/dist/subscriberbot/pages/InvoicesPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/InvoicesPage.js +368 -362
- package/dist/subscriberbot/pages/InvoicesPage.js.map +1 -1
- package/dist/subscriberbot/pages/WorkflowsPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/WorkflowsPage.js +209 -193
- package/dist/subscriberbot/pages/WorkflowsPage.js.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentDetailPage.d.ts +3 -1
- package/dist/subscriberbot/pages/agents/AgentDetailPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentDetailPage.js +296 -228
- package/dist/subscriberbot/pages/agents/AgentDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentNewPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentNewPage.js +96 -76
- package/dist/subscriberbot/pages/agents/AgentNewPage.js.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentsListPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentsListPage.js +145 -161
- package/dist/subscriberbot/pages/agents/AgentsListPage.js.map +1 -1
- package/dist/subscriberbot/pages/providers/ProviderDetailPage.d.ts +4 -2
- package/dist/subscriberbot/pages/providers/ProviderDetailPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/providers/ProviderDetailPage.js +577 -402
- package/dist/subscriberbot/pages/providers/ProviderDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/providers/ProviderNewPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/providers/ProviderNewPage.js +167 -129
- package/dist/subscriberbot/pages/providers/ProviderNewPage.js.map +1 -1
- package/dist/subscriberbot/pages/providers/ProvidersListPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/providers/ProvidersListPage.js +171 -218
- package/dist/subscriberbot/pages/providers/ProvidersListPage.js.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipDetailPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipDetailPage.js +340 -279
- package/dist/subscriberbot/pages/relationships/RelationshipDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipNewPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipNewPage.js +185 -166
- package/dist/subscriberbot/pages/relationships/RelationshipNewPage.js.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipsListPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipsListPage.js +153 -182
- package/dist/subscriberbot/pages/relationships/RelationshipsListPage.js.map +1 -1
- package/dist/subscriberbot/types/index.d.ts +37 -0
- package/dist/subscriberbot/types/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -30,6 +30,11 @@ var c = async (e, t, n) => {
|
|
|
30
30
|
e
|
|
31
31
|
],
|
|
32
32
|
plans: ["subscriberbot", "plans"],
|
|
33
|
+
benchmarks: (e) => [
|
|
34
|
+
"subscriberbot",
|
|
35
|
+
"benchmarks",
|
|
36
|
+
e
|
|
37
|
+
],
|
|
33
38
|
inbox: ["subscriberbot", "inbox"],
|
|
34
39
|
invoices: ["subscriberbot", "invoices"],
|
|
35
40
|
paymentInstruments: ["subscriberbot", "payment-instruments"],
|
|
@@ -54,7 +59,7 @@ var c = async (e, t, n) => {
|
|
|
54
59
|
"admin",
|
|
55
60
|
"marketplace-reports"
|
|
56
61
|
]
|
|
57
|
-
}, u = "\n id name slug category status description industry region language websiteUrl\n logoFileId tags churnRiskScore vendorHealthScore workspaceId createdAt updatedAt\n", d = "\n id name description providerId amount currency interval features isActive\n workspaceId createdAt updatedAt\n", f = "\n id label kind status amount currency interval autoRenew discoverySource notes\n tags healthScore ownerId providerId planId startedAt renewsAt trialEndsAt\n cancelledAt workspaceId createdAt updatedAt\n", p = "\n id subject preview category categoryConfidence channelId relationshipId\n externalId actionRequired isRead receivedAt workspaceId createdAt updatedAt\n", m = "\n id number relationshipId status currency subtotal taxAmount total issueDate\n dueDate paidAt paymentInstrumentId workspaceId createdAt updatedAt\n", h = "\n id name description kind status ownerId lastRunAt workspaceId createdAt updatedAt\n", g = "\n id name description triggerEvent status runCount lastRunAt workspaceId\n createdAt updatedAt\n", _ = "\n id name description type relationshipId quota used unit isActive\n workspaceId createdAt updatedAt\n", v = "\n id name type relationshipId secretRef expiresAt workspaceId createdAt\n updatedAt file { id }\n", y = "\n id label type status brand last4 expiryMonth expiryYear isDefault ownerId\n workspaceId createdAt updatedAt\n", b = "\n id label type status address ingestEnabled ownerId verifiedAt workspaceId\n createdAt updatedAt\n",
|
|
62
|
+
}, u = "\n id name slug category status description industry region language websiteUrl\n logoFileId tags churnRiskScore vendorHealthScore workspaceId createdAt updatedAt\n", d = "\n id name description providerId amount currency interval features isActive\n workspaceId createdAt updatedAt\n", f = "\n id label kind status amount currency interval autoRenew discoverySource notes\n tags healthScore ownerId providerId planId startedAt renewsAt trialEndsAt\n cancelledAt workspaceId createdAt updatedAt\n", p = "\n id subject preview category categoryConfidence channelId relationshipId\n externalId actionRequired isRead receivedAt workspaceId createdAt updatedAt\n", m = "\n id number relationshipId status currency subtotal taxAmount total issueDate\n dueDate paidAt paymentInstrumentId workspaceId createdAt updatedAt\n", h = "\n id name description kind status ownerId lastRunAt workspaceId createdAt updatedAt\n", g = "\n id name description triggerEvent status runCount lastRunAt workspaceId\n createdAt updatedAt\n", _ = "\n id name description type relationshipId quota used unit isActive\n workspaceId createdAt updatedAt\n", v = "\n id name type relationshipId secretRef expiresAt workspaceId createdAt\n updatedAt file { id }\n", y = "\n id label type status brand last4 expiryMonth expiryYear isDefault ownerId\n workspaceId createdAt updatedAt\n", b = "\n id label type status address ingestEnabled ownerId verifiedAt workspaceId\n createdAt updatedAt\n", x = "\n id name description action agentId condition isEnabled triggerCount\n lastTriggeredAt workspaceId createdAt updatedAt\n", ee = "\n id providerSlug providerName planName region currency interval amount\n contractSizeSeats sourceKind sourceLabel notes observedAt createdAt\n", S = "\n id workspaceId adapterId submitterWorkspaceId status notes createdAt updatedAt\n", C = "\n id workspaceId listingId reporterWorkspaceId reason status resolutionReason\n createdAt updatedAt\n", w = (t = {}) => {
|
|
58
63
|
let { apiGatewayUrl: n } = e();
|
|
59
64
|
return i({
|
|
60
65
|
queryKey: [...l.relationships, t],
|
|
@@ -93,7 +98,7 @@ var c = async (e, t, n) => {
|
|
|
93
98
|
}
|
|
94
99
|
}, n)).subListRelationships
|
|
95
100
|
});
|
|
96
|
-
},
|
|
101
|
+
}, T = (t) => {
|
|
97
102
|
let { apiGatewayUrl: n } = e();
|
|
98
103
|
return i({
|
|
99
104
|
queryKey: l.relationship(t ?? ""),
|
|
@@ -118,7 +123,7 @@ var c = async (e, t, n) => {
|
|
|
118
123
|
}
|
|
119
124
|
}`, { id: t }, n)).subRelationship
|
|
120
125
|
});
|
|
121
|
-
},
|
|
126
|
+
}, E = () => {
|
|
122
127
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
123
128
|
return r({
|
|
124
129
|
mutationFn: async (e) => (await c(`mutation SubCreateRelationship($input: SubCreateRelationshipInput!) {
|
|
@@ -128,7 +133,7 @@ var c = async (e, t, n) => {
|
|
|
128
133
|
t.invalidateQueries({ queryKey: l.relationships });
|
|
129
134
|
}
|
|
130
135
|
});
|
|
131
|
-
},
|
|
136
|
+
}, D = () => {
|
|
132
137
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
133
138
|
return r({
|
|
134
139
|
mutationFn: async ({ id: e, status: t }) => (await c(`mutation SubTransitionRelationship($id: ID!, $status: SubRelationshipStatus!) {
|
|
@@ -141,7 +146,7 @@ var c = async (e, t, n) => {
|
|
|
141
146
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.relationship(e.id) });
|
|
142
147
|
}
|
|
143
148
|
});
|
|
144
|
-
},
|
|
149
|
+
}, O = () => {
|
|
145
150
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
146
151
|
return r({
|
|
147
152
|
mutationFn: async (e) => (await c(`mutation SubCancelRelationship($id: ID!) {
|
|
@@ -151,7 +156,7 @@ var c = async (e, t, n) => {
|
|
|
151
156
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.relationship(e.id) });
|
|
152
157
|
}
|
|
153
158
|
});
|
|
154
|
-
},
|
|
159
|
+
}, k = () => {
|
|
155
160
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
156
161
|
return r({
|
|
157
162
|
mutationFn: async ({ id: e, input: t }) => (await c(`mutation SubUpdateRelationship($id: ID!, $input: SubUpdateRelationshipInput!) {
|
|
@@ -164,7 +169,7 @@ var c = async (e, t, n) => {
|
|
|
164
169
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.relationship(e.id) });
|
|
165
170
|
}
|
|
166
171
|
});
|
|
167
|
-
},
|
|
172
|
+
}, A = (t = {}) => {
|
|
168
173
|
let { apiGatewayUrl: n } = e();
|
|
169
174
|
return i({
|
|
170
175
|
queryKey: [...l.renewals, t],
|
|
@@ -173,7 +178,7 @@ var c = async (e, t, n) => {
|
|
|
173
178
|
upcomingOnly: t.upcomingOnly
|
|
174
179
|
}, n)).subListRenewalEvents.items
|
|
175
180
|
});
|
|
176
|
-
},
|
|
181
|
+
}, j = () => {
|
|
177
182
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
178
183
|
return r({
|
|
179
184
|
mutationFn: async (e) => (await c(`mutation SubCreateEntitlement($input: SubCreateEntitlementInput!) {
|
|
@@ -183,7 +188,7 @@ var c = async (e, t, n) => {
|
|
|
183
188
|
t.invalidateQueries({ queryKey: l.entitlements }), t.invalidateQueries({ queryKey: l.relationship(e.relationshipId) });
|
|
184
189
|
}
|
|
185
190
|
});
|
|
186
|
-
},
|
|
191
|
+
}, M = () => {
|
|
187
192
|
let { apiGatewayUrl: t } = e();
|
|
188
193
|
return i({
|
|
189
194
|
queryKey: [...l.assets, "all"],
|
|
@@ -191,7 +196,7 @@ var c = async (e, t, n) => {
|
|
|
191
196
|
subListAssets { items { ${v} } pageInfo { cursor hasMore } }
|
|
192
197
|
}`, {}, t)).subListAssets.items
|
|
193
198
|
});
|
|
194
|
-
},
|
|
199
|
+
}, N = () => {
|
|
195
200
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
196
201
|
return r({
|
|
197
202
|
mutationFn: async (e) => (await c(`mutation SubCreateAsset($input: SubCreateAssetInput!) {
|
|
@@ -201,13 +206,13 @@ var c = async (e, t, n) => {
|
|
|
201
206
|
t.invalidateQueries({ queryKey: l.assets }), t.invalidateQueries({ queryKey: l.relationship(e.relationshipId) });
|
|
202
207
|
}
|
|
203
208
|
});
|
|
204
|
-
},
|
|
209
|
+
}, P = "/SubscriberBot/Assets", F = () => {
|
|
205
210
|
let { apiGatewayUrl: r } = e(), [i, a] = n(0), [o, s] = n(!1);
|
|
206
211
|
return {
|
|
207
212
|
uploadFile: t(async (e) => {
|
|
208
213
|
s(!0), a(0);
|
|
209
214
|
try {
|
|
210
|
-
let t = (await c("mutation SubEnsureFolder($path: String!) {\n ensureFolderByPath(path: $path) { id }\n }", { path:
|
|
215
|
+
let t = (await c("mutation SubEnsureFolder($path: String!) {\n ensureFolderByPath(path: $path) { id }\n }", { path: P }, r)).ensureFolderByPath?.id;
|
|
211
216
|
if (!t) throw Error("Could not resolve the upload folder.");
|
|
212
217
|
let n = e.type || "application/octet-stream", i = e.name.lastIndexOf("."), o = i > -1 ? e.name.slice(i + 1) : "bin", s = await c("mutation SubInitiateUpload($input: InitiateUploadInput!) {\n initiateUpload(input: $input) {\n uploadUrl\n session { id }\n }\n }", { input: {
|
|
213
218
|
fileName: e.name,
|
|
@@ -242,13 +247,13 @@ var c = async (e, t, n) => {
|
|
|
242
247
|
progress: i,
|
|
243
248
|
isUploading: o
|
|
244
249
|
};
|
|
245
|
-
},
|
|
250
|
+
}, I = () => {
|
|
246
251
|
let { apiGatewayUrl: n } = e();
|
|
247
252
|
return t(async (e) => (await c("query SubFileDownloadUrl($id: ID!, $expiresIn: Int) {\n getFileDownloadUrl(id: $id, expiresIn: $expiresIn)\n }", {
|
|
248
253
|
id: e,
|
|
249
254
|
expiresIn: 21600
|
|
250
255
|
}, n)).getFileDownloadUrl, [n]);
|
|
251
|
-
},
|
|
256
|
+
}, L = (t = {}) => {
|
|
252
257
|
let { apiGatewayUrl: n } = e();
|
|
253
258
|
return i({
|
|
254
259
|
queryKey: [...l.providers, t],
|
|
@@ -277,7 +282,7 @@ var c = async (e, t, n) => {
|
|
|
277
282
|
}
|
|
278
283
|
}, n)).subListProviders
|
|
279
284
|
});
|
|
280
|
-
},
|
|
285
|
+
}, R = (t) => {
|
|
281
286
|
let { apiGatewayUrl: n } = e();
|
|
282
287
|
return i({
|
|
283
288
|
queryKey: l.provider(t ?? ""),
|
|
@@ -289,7 +294,7 @@ var c = async (e, t, n) => {
|
|
|
289
294
|
}
|
|
290
295
|
}`, { id: t }, n)).subProvider
|
|
291
296
|
});
|
|
292
|
-
},
|
|
297
|
+
}, z = () => {
|
|
293
298
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
294
299
|
return r({
|
|
295
300
|
mutationFn: async (e) => (await c(`mutation SubCreateProvider($input: SubCreateProviderInput!) {
|
|
@@ -299,7 +304,7 @@ var c = async (e, t, n) => {
|
|
|
299
304
|
t.invalidateQueries({ queryKey: l.providers });
|
|
300
305
|
}
|
|
301
306
|
});
|
|
302
|
-
},
|
|
307
|
+
}, B = () => {
|
|
303
308
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
304
309
|
return r({
|
|
305
310
|
mutationFn: async ({ id: e, input: t }) => (await c(`mutation SubUpdateProvider($id: ID!, $input: SubUpdateProviderInput!) {
|
|
@@ -312,7 +317,7 @@ var c = async (e, t, n) => {
|
|
|
312
317
|
t.invalidateQueries({ queryKey: l.providers }), t.invalidateQueries({ queryKey: l.provider(e.id) });
|
|
313
318
|
}
|
|
314
319
|
});
|
|
315
|
-
},
|
|
320
|
+
}, V = () => {
|
|
316
321
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
317
322
|
return r({
|
|
318
323
|
mutationFn: async (e) => (await c("mutation SubArchiveProvider($id: ID!) {\n subArchiveProvider(id: $id)\n }", { id: e }, n)).subArchiveProvider,
|
|
@@ -320,7 +325,7 @@ var c = async (e, t, n) => {
|
|
|
320
325
|
t.invalidateQueries({ queryKey: l.providers });
|
|
321
326
|
}
|
|
322
327
|
});
|
|
323
|
-
},
|
|
328
|
+
}, H = (t) => {
|
|
324
329
|
let { apiGatewayUrl: n } = e();
|
|
325
330
|
return i({
|
|
326
331
|
queryKey: [...l.plans, t],
|
|
@@ -329,7 +334,7 @@ var c = async (e, t, n) => {
|
|
|
329
334
|
subListPlans(providerId: $providerId) { items { ${d} } pageInfo { cursor hasMore } }
|
|
330
335
|
}`, { providerId: t }, n)).subListPlans.items
|
|
331
336
|
});
|
|
332
|
-
},
|
|
337
|
+
}, U = () => {
|
|
333
338
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
334
339
|
return r({
|
|
335
340
|
mutationFn: async (e) => (await c(`mutation SubCreatePlan($input: SubCreatePlanInput!) {
|
|
@@ -339,7 +344,31 @@ var c = async (e, t, n) => {
|
|
|
339
344
|
t.invalidateQueries({ queryKey: l.plans }), t.invalidateQueries({ queryKey: l.provider(e.providerId) });
|
|
340
345
|
}
|
|
341
346
|
});
|
|
342
|
-
},
|
|
347
|
+
}, W = (t) => {
|
|
348
|
+
let { apiGatewayUrl: n } = e();
|
|
349
|
+
return i({
|
|
350
|
+
queryKey: l.benchmarks(t ?? ""),
|
|
351
|
+
enabled: !!t,
|
|
352
|
+
queryFn: async () => {
|
|
353
|
+
let e = { providerSlug: t ?? void 0 };
|
|
354
|
+
return (await c(`query SubBenchmarkDataPoints(
|
|
355
|
+
$filter: SubBenchmarkFilterInput
|
|
356
|
+
$pagination: PaginationInput
|
|
357
|
+
) {
|
|
358
|
+
subListBenchmarkDataPoints(filter: $filter, pagination: $pagination) {
|
|
359
|
+
items { ${ee} }
|
|
360
|
+
pageInfo { cursor hasMore }
|
|
361
|
+
}
|
|
362
|
+
}`, {
|
|
363
|
+
filter: e,
|
|
364
|
+
pagination: {
|
|
365
|
+
limit: 100,
|
|
366
|
+
offset: 0
|
|
367
|
+
}
|
|
368
|
+
}, n)).subListBenchmarkDataPoints.items;
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
}, G = (t = {}) => {
|
|
343
372
|
let { apiGatewayUrl: n } = e();
|
|
344
373
|
return i({
|
|
345
374
|
queryKey: [...l.inbox, t],
|
|
@@ -371,7 +400,7 @@ var c = async (e, t, n) => {
|
|
|
371
400
|
}
|
|
372
401
|
}, n)).subListInboxMessages
|
|
373
402
|
});
|
|
374
|
-
},
|
|
403
|
+
}, te = () => {
|
|
375
404
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
376
405
|
return r({
|
|
377
406
|
mutationFn: async (e) => (await c(`mutation SubMarkMessageRead($id: ID!) {
|
|
@@ -381,7 +410,7 @@ var c = async (e, t, n) => {
|
|
|
381
410
|
t.invalidateQueries({ queryKey: l.inbox });
|
|
382
411
|
}
|
|
383
412
|
});
|
|
384
|
-
},
|
|
413
|
+
}, K = () => {
|
|
385
414
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
386
415
|
return r({
|
|
387
416
|
mutationFn: async (e) => (await c(`mutation SubIngestMessage($input: SubIngestMessageInput!) {
|
|
@@ -391,7 +420,7 @@ var c = async (e, t, n) => {
|
|
|
391
420
|
t.invalidateQueries({ queryKey: l.inbox });
|
|
392
421
|
}
|
|
393
422
|
});
|
|
394
|
-
},
|
|
423
|
+
}, q = (t = {}) => {
|
|
395
424
|
let { apiGatewayUrl: n } = e();
|
|
396
425
|
return i({
|
|
397
426
|
queryKey: [...l.invoices, t],
|
|
@@ -417,7 +446,7 @@ var c = async (e, t, n) => {
|
|
|
417
446
|
}
|
|
418
447
|
}, n)).subListInvoices
|
|
419
448
|
});
|
|
420
|
-
},
|
|
449
|
+
}, J = () => {
|
|
421
450
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
422
451
|
return r({
|
|
423
452
|
mutationFn: async (e) => (await c(`mutation SubMarkInvoicePaid($id: ID!) {
|
|
@@ -427,7 +456,7 @@ var c = async (e, t, n) => {
|
|
|
427
456
|
t.invalidateQueries({ queryKey: l.invoices });
|
|
428
457
|
}
|
|
429
458
|
});
|
|
430
|
-
},
|
|
459
|
+
}, Y = () => {
|
|
431
460
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
432
461
|
return r({
|
|
433
462
|
mutationFn: async (e) => (await c(`mutation SubCreateInvoice($input: SubCreateInvoiceInput!) {
|
|
@@ -437,13 +466,13 @@ var c = async (e, t, n) => {
|
|
|
437
466
|
t.invalidateQueries({ queryKey: l.invoices });
|
|
438
467
|
}
|
|
439
468
|
});
|
|
440
|
-
},
|
|
469
|
+
}, X = (t) => {
|
|
441
470
|
let { apiGatewayUrl: n } = e();
|
|
442
471
|
return i({
|
|
443
472
|
queryKey: [...l.paymentInstruments, t],
|
|
444
473
|
queryFn: async () => (await c("query SubPaymentInstruments($ownerId: ID) {\n subListPaymentInstruments(ownerId: $ownerId) {\n items {\n id label type status brand last4 expiryMonth expiryYear isDefault\n ownerId workspaceId createdAt updatedAt\n }\n pageInfo { cursor hasMore }\n }\n }", { ownerId: t }, n)).subListPaymentInstruments.items
|
|
445
474
|
});
|
|
446
|
-
},
|
|
475
|
+
}, Z = () => {
|
|
447
476
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
448
477
|
return r({
|
|
449
478
|
mutationFn: async (e) => (await c(`mutation SubCreatePaymentInstrument($input: SubCreatePaymentInstrumentInput!) {
|
|
@@ -453,7 +482,7 @@ var c = async (e, t, n) => {
|
|
|
453
482
|
t.invalidateQueries({ queryKey: l.paymentInstruments });
|
|
454
483
|
}
|
|
455
484
|
});
|
|
456
|
-
},
|
|
485
|
+
}, Q = () => {
|
|
457
486
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
458
487
|
return r({
|
|
459
488
|
mutationFn: async (e) => (await c("mutation SubRemovePaymentInstrument($id: ID!) {\n subRemovePaymentInstrument(id: $id)\n }", { id: e }, n)).subRemovePaymentInstrument,
|
|
@@ -461,13 +490,13 @@ var c = async (e, t, n) => {
|
|
|
461
490
|
t.invalidateQueries({ queryKey: l.paymentInstruments });
|
|
462
491
|
}
|
|
463
492
|
});
|
|
464
|
-
},
|
|
493
|
+
}, ne = (t) => {
|
|
465
494
|
let { apiGatewayUrl: n } = e();
|
|
466
495
|
return i({
|
|
467
496
|
queryKey: [...l.channels, t],
|
|
468
497
|
queryFn: async () => (await c("query SubChannels($ownerId: ID) {\n subListChannels(ownerId: $ownerId) {\n items {\n id label type status address ingestEnabled ownerId verifiedAt\n workspaceId createdAt updatedAt\n }\n pageInfo { cursor hasMore }\n }\n }", { ownerId: t }, n)).subListChannels.items
|
|
469
498
|
});
|
|
470
|
-
},
|
|
499
|
+
}, re = () => {
|
|
471
500
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
472
501
|
return r({
|
|
473
502
|
mutationFn: async (e) => (await c(`mutation SubCreateChannel($input: SubCreateChannelInput!) {
|
|
@@ -477,7 +506,7 @@ var c = async (e, t, n) => {
|
|
|
477
506
|
t.invalidateQueries({ queryKey: l.channels });
|
|
478
507
|
}
|
|
479
508
|
});
|
|
480
|
-
},
|
|
509
|
+
}, ie = () => {
|
|
481
510
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
482
511
|
return r({
|
|
483
512
|
mutationFn: async (e) => (await c(`mutation SubVerifyChannel($id: ID!) {
|
|
@@ -487,7 +516,7 @@ var c = async (e, t, n) => {
|
|
|
487
516
|
t.invalidateQueries({ queryKey: l.channels });
|
|
488
517
|
}
|
|
489
518
|
});
|
|
490
|
-
},
|
|
519
|
+
}, ae = (t = {}) => {
|
|
491
520
|
let { apiGatewayUrl: n } = e();
|
|
492
521
|
return i({
|
|
493
522
|
queryKey: [...l.agents, t],
|
|
@@ -502,7 +531,7 @@ var c = async (e, t, n) => {
|
|
|
502
531
|
ownerId: t.ownerId
|
|
503
532
|
}, n)).subListAgents.items
|
|
504
533
|
});
|
|
505
|
-
},
|
|
534
|
+
}, oe = (t) => {
|
|
506
535
|
let { apiGatewayUrl: n } = e();
|
|
507
536
|
return i({
|
|
508
537
|
queryKey: l.agent(t ?? ""),
|
|
@@ -510,14 +539,11 @@ var c = async (e, t, n) => {
|
|
|
510
539
|
queryFn: async () => (await c(`query SubAgent($id: ID!) {
|
|
511
540
|
subAgent(id: $id) {
|
|
512
541
|
${h}
|
|
513
|
-
policies {
|
|
514
|
-
id name description action agentId isEnabled triggerCount
|
|
515
|
-
lastTriggeredAt workspaceId createdAt updatedAt
|
|
516
|
-
}
|
|
542
|
+
policies { ${x} }
|
|
517
543
|
}
|
|
518
544
|
}`, { id: t }, n)).subAgent
|
|
519
545
|
});
|
|
520
|
-
},
|
|
546
|
+
}, $ = () => {
|
|
521
547
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
522
548
|
return r({
|
|
523
549
|
mutationFn: async (e) => (await c(`mutation SubCreateAgent($input: SubCreateAgentInput!) {
|
|
@@ -527,7 +553,7 @@ var c = async (e, t, n) => {
|
|
|
527
553
|
t.invalidateQueries({ queryKey: l.agents });
|
|
528
554
|
}
|
|
529
555
|
});
|
|
530
|
-
},
|
|
556
|
+
}, se = () => {
|
|
531
557
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
532
558
|
return r({
|
|
533
559
|
mutationFn: async ({ id: e, status: t }) => (await c(`mutation SubSetAgentStatus($id: ID!, $status: SubAgentStatus!) {
|
|
@@ -540,17 +566,17 @@ var c = async (e, t, n) => {
|
|
|
540
566
|
t.invalidateQueries({ queryKey: l.agents }), t.invalidateQueries({ queryKey: l.agent(e.id) });
|
|
541
567
|
}
|
|
542
568
|
});
|
|
543
|
-
},
|
|
569
|
+
}, ce = () => {
|
|
544
570
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
545
571
|
return r({
|
|
546
572
|
mutationFn: async (e) => (await c(`mutation SubCreatePolicy($input: SubCreatePolicyInput!) {
|
|
547
|
-
subCreatePolicy(input: $input) { ${
|
|
573
|
+
subCreatePolicy(input: $input) { ${x} }
|
|
548
574
|
}`, { input: e }, n)).subCreatePolicy,
|
|
549
575
|
onSuccess: (e) => {
|
|
550
576
|
t.invalidateQueries({ queryKey: l.agents }), t.invalidateQueries({ queryKey: l.agent(e.agentId) });
|
|
551
577
|
}
|
|
552
578
|
});
|
|
553
|
-
},
|
|
579
|
+
}, le = (t) => {
|
|
554
580
|
let { apiGatewayUrl: n } = e();
|
|
555
581
|
return i({
|
|
556
582
|
queryKey: [...l.workflows, t],
|
|
@@ -558,7 +584,7 @@ var c = async (e, t, n) => {
|
|
|
558
584
|
subListWorkflows(status: $status) { items { ${g} } pageInfo { cursor hasMore } }
|
|
559
585
|
}`, { status: t }, n)).subListWorkflows.items
|
|
560
586
|
});
|
|
561
|
-
},
|
|
587
|
+
}, ue = () => {
|
|
562
588
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
563
589
|
return r({
|
|
564
590
|
mutationFn: async (e) => (await c(`mutation SubCreateWorkflow($input: SubCreateWorkflowInput!) {
|
|
@@ -568,7 +594,7 @@ var c = async (e, t, n) => {
|
|
|
568
594
|
t.invalidateQueries({ queryKey: l.workflows });
|
|
569
595
|
}
|
|
570
596
|
});
|
|
571
|
-
},
|
|
597
|
+
}, de = () => {
|
|
572
598
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
573
599
|
return r({
|
|
574
600
|
mutationFn: async (e) => (await c(`mutation SubActivateWorkflow($id: ID!) {
|
|
@@ -578,13 +604,13 @@ var c = async (e, t, n) => {
|
|
|
578
604
|
t.invalidateQueries({ queryKey: l.workflows });
|
|
579
605
|
}
|
|
580
606
|
});
|
|
581
|
-
},
|
|
607
|
+
}, fe = (t = {}) => {
|
|
582
608
|
let { apiGatewayUrl: n } = e();
|
|
583
609
|
return i({
|
|
584
610
|
queryKey: [...l.adapterSubmissions, t],
|
|
585
611
|
queryFn: async () => (await c(`query SubAdapterSubmissions($status: SubSubmissionStatus, $pagination: PaginationInput) {
|
|
586
612
|
subListAdapterSubmissions(status: $status, pagination: $pagination) {
|
|
587
|
-
items { ${
|
|
613
|
+
items { ${S} }
|
|
588
614
|
pageInfo { cursor hasMore }
|
|
589
615
|
}
|
|
590
616
|
}`, {
|
|
@@ -595,11 +621,11 @@ var c = async (e, t, n) => {
|
|
|
595
621
|
}
|
|
596
622
|
}, n)).subListAdapterSubmissions
|
|
597
623
|
});
|
|
598
|
-
},
|
|
624
|
+
}, pe = () => {
|
|
599
625
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
600
626
|
return r({
|
|
601
627
|
mutationFn: async ({ id: e, notes: t }) => (await c(`mutation SubApproveAdapter($id: ID!, $notes: String) {
|
|
602
|
-
subApproveAdapter(id: $id, notes: $notes) { ${
|
|
628
|
+
subApproveAdapter(id: $id, notes: $notes) { ${S} }
|
|
603
629
|
}`, {
|
|
604
630
|
id: e,
|
|
605
631
|
notes: t
|
|
@@ -608,11 +634,11 @@ var c = async (e, t, n) => {
|
|
|
608
634
|
t.invalidateQueries({ queryKey: l.adapterSubmissions });
|
|
609
635
|
}
|
|
610
636
|
});
|
|
611
|
-
},
|
|
637
|
+
}, me = () => {
|
|
612
638
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
613
639
|
return r({
|
|
614
640
|
mutationFn: async ({ id: e, reason: t }) => (await c(`mutation SubRejectAdapter($id: ID!, $reason: String!) {
|
|
615
|
-
subRejectAdapter(id: $id, reason: $reason) { ${
|
|
641
|
+
subRejectAdapter(id: $id, reason: $reason) { ${S} }
|
|
616
642
|
}`, {
|
|
617
643
|
id: e,
|
|
618
644
|
reason: t
|
|
@@ -621,13 +647,13 @@ var c = async (e, t, n) => {
|
|
|
621
647
|
t.invalidateQueries({ queryKey: l.adapterSubmissions });
|
|
622
648
|
}
|
|
623
649
|
});
|
|
624
|
-
},
|
|
650
|
+
}, he = (t = {}) => {
|
|
625
651
|
let { apiGatewayUrl: n } = e();
|
|
626
652
|
return i({
|
|
627
653
|
queryKey: [...l.marketplaceReports, t],
|
|
628
654
|
queryFn: async () => (await c(`query SubMarketplaceReports($status: SubReportStatus, $pagination: PaginationInput) {
|
|
629
655
|
subListMarketplaceReports(status: $status, pagination: $pagination) {
|
|
630
|
-
items { ${
|
|
656
|
+
items { ${C} }
|
|
631
657
|
pageInfo { cursor hasMore }
|
|
632
658
|
}
|
|
633
659
|
}`, {
|
|
@@ -638,11 +664,11 @@ var c = async (e, t, n) => {
|
|
|
638
664
|
}
|
|
639
665
|
}, n)).subListMarketplaceReports
|
|
640
666
|
});
|
|
641
|
-
},
|
|
667
|
+
}, ge = () => {
|
|
642
668
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
643
669
|
return r({
|
|
644
670
|
mutationFn: async ({ id: e, action: t, reason: r }) => (await c(`mutation SubModerateListing($id: ID!, $action: SubModerationAction!, $reason: String!) {
|
|
645
|
-
subModerateListing(id: $id, action: $action, reason: $reason) { ${
|
|
671
|
+
subModerateListing(id: $id, action: $action, reason: $reason) { ${C} }
|
|
646
672
|
}`, {
|
|
647
673
|
id: e,
|
|
648
674
|
action: t,
|
|
@@ -654,6 +680,6 @@ var c = async (e, t, n) => {
|
|
|
654
680
|
});
|
|
655
681
|
};
|
|
656
682
|
//#endregion
|
|
657
|
-
export {
|
|
683
|
+
export { de as useActivateWorkflow, fe as useAdapterSubmissions, oe as useAgent, ae as useAgents, M as useAllAssets, pe as useApproveAdapter, V as useArchiveProvider, W as useBenchmarkDataPoints, O as useCancelRelationship, ne as useChannels, $ as useCreateAgent, N as useCreateAsset, re as useCreateChannel, j as useCreateEntitlement, Y as useCreateInvoice, Z as useCreatePaymentInstrument, U as useCreatePlan, ce as useCreatePolicy, z as useCreateProvider, E as useCreateRelationship, ue as useCreateWorkflow, I as useFileDownloadUrl, G as useInboxMessages, K as useIngestMessage, q as useInvoices, J as useMarkInvoicePaid, te as useMarkMessageRead, he as useMarketplaceReports, ge as useModerateListing, X as usePaymentInstruments, H as usePlans, R as useProvider, L as useProviders, me as useRejectAdapter, T as useRelationship, w as useRelationships, Q as useRemovePaymentInstrument, A as useRenewalEvents, se as useSetAgentStatus, D as useTransitionRelationship, B as useUpdateProvider, k as useUpdateRelationship, F as useUploadFile, ie as useVerifyChannel, le as useWorkflows };
|
|
658
684
|
|
|
659
685
|
//# sourceMappingURL=useSubscriberBotApi.js.map
|