@burdenoff/microfe-subscriberbot 2026.1102.5 → 2026.1103.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/stories/pages/InboxPage.stories.d.ts.map +1 -1
- package/dist/stories/pages/InboxReadState.stories.d.ts +11 -0
- package/dist/stories/pages/InboxReadState.stories.d.ts.map +1 -0
- package/dist/stories/pages/WorkflowBuilderPage.stories.d.ts +14 -0
- package/dist/stories/pages/WorkflowBuilderPage.stories.d.ts.map +1 -0
- package/dist/stories/pages/WorkflowsPage.stories.d.ts +1 -0
- package/dist/stories/pages/WorkflowsPage.stories.d.ts.map +1 -1
- package/dist/stories/support/fixtures.d.ts +6 -1
- package/dist/stories/support/fixtures.d.ts.map +1 -1
- package/dist/stories/support/handlers.d.ts.map +1 -1
- package/dist/subscriberbot/SubscriberBotRoutes.d.ts.map +1 -1
- package/dist/subscriberbot/SubscriberBotRoutes.js +27 -23
- package/dist/subscriberbot/SubscriberBotRoutes.js.map +1 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.d.ts +11 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.d.ts.map +1 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.js +122 -82
- package/dist/subscriberbot/hooks/useSubscriberBotApi.js.map +1 -1
- package/dist/subscriberbot/pages/InboxPage.d.ts +2 -2
- package/dist/subscriberbot/pages/InboxPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/InboxPage.js +272 -234
- package/dist/subscriberbot/pages/InboxPage.js.map +1 -1
- package/dist/subscriberbot/pages/WorkflowsPage.d.ts +4 -4
- package/dist/subscriberbot/pages/WorkflowsPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/WorkflowsPage.js +201 -190
- package/dist/subscriberbot/pages/WorkflowsPage.js.map +1 -1
- package/dist/subscriberbot/pages/workflows/WorkflowBuilderPage.d.ts +3 -0
- package/dist/subscriberbot/pages/workflows/WorkflowBuilderPage.d.ts.map +1 -0
- package/dist/subscriberbot/pages/workflows/WorkflowBuilderPage.js +648 -0
- package/dist/subscriberbot/pages/workflows/WorkflowBuilderPage.js.map +1 -0
- package/dist/subscriberbot/pages/workflows/workflowBuilderGraph.d.ts +60 -0
- package/dist/subscriberbot/pages/workflows/workflowBuilderGraph.d.ts.map +1 -0
- package/dist/subscriberbot/pages/workflows/workflowBuilderGraph.js +122 -0
- package/dist/subscriberbot/pages/workflows/workflowBuilderGraph.js.map +1 -0
- package/dist/subscriberbot/types/index.d.ts +65 -0
- package/dist/subscriberbot/types/index.d.ts.map +1 -1
- package/dist/subscriberbot/utils/pageContext.d.ts.map +1 -1
- package/dist/subscriberbot/utils/pageContext.js +21 -13
- package/dist/subscriberbot/utils/pageContext.js.map +1 -1
- package/package.json +3 -1
|
@@ -57,6 +57,12 @@ var c = async (e, t, n) => {
|
|
|
57
57
|
"savings-overview"
|
|
58
58
|
],
|
|
59
59
|
workflows: ["subscriberbot", "workflows"],
|
|
60
|
+
workflow: (e) => [
|
|
61
|
+
"subscriberbot",
|
|
62
|
+
"workflows",
|
|
63
|
+
"detail",
|
|
64
|
+
e
|
|
65
|
+
],
|
|
60
66
|
renewals: ["subscriberbot", "renewals"],
|
|
61
67
|
renewalForecast: [
|
|
62
68
|
"subscriberbot",
|
|
@@ -85,7 +91,7 @@ var c = async (e, t, n) => {
|
|
|
85
91
|
"enterprise",
|
|
86
92
|
"budgets"
|
|
87
93
|
]
|
|
88
|
-
}, 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 department 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 agentId runId relationshipId kind recommendation status rationale confidence\n estimatedSavings currency evidence proposedChange validationErrors invocationRef\n applyInvocationRef appliedAt appliedBy dismissedAt dismissedReason workspaceId\n createdAt updatedAt\n agent { id name kind status }\n relationship { id label status amount currency interval providerId planId }\n", _ = "\n id name description triggerEvent status runCount lastRunAt workspaceId\n createdAt updatedAt\n", ee = "\n id name description type relationshipId quota used unit isActive\n workspaceId createdAt updatedAt\n",
|
|
94
|
+
}, 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 department 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 agentId runId relationshipId kind recommendation status rationale confidence\n estimatedSavings currency evidence proposedChange validationErrors invocationRef\n applyInvocationRef appliedAt appliedBy dismissedAt dismissedReason workspaceId\n createdAt updatedAt\n agent { id name kind status }\n relationship { id label status amount currency interval providerId planId }\n", _ = "\n id name description triggerEvent status runCount lastRunAt workspaceId\n createdAt updatedAt\n", v = "\n workflowId valid\n nodes { id workflowId kind label config positionX positionY }\n edges { id workflowId sourceNodeId targetNodeId sourceHandle label }\n issues { code message nodeId edgeId }\n", ee = "\n id name description type relationshipId quota used unit isActive\n workspaceId createdAt updatedAt\n", y = "\n id name type relationshipId secretRef expiresAt workspaceId createdAt\n updatedAt file { id }\n", te = "\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", ne = "\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", re = (t = {}) => {
|
|
89
95
|
let { apiGatewayUrl: n } = e();
|
|
90
96
|
return i({
|
|
91
97
|
queryKey: [...l.relationships, t],
|
|
@@ -124,7 +130,7 @@ var c = async (e, t, n) => {
|
|
|
124
130
|
}
|
|
125
131
|
}, n)).subListRelationships
|
|
126
132
|
});
|
|
127
|
-
},
|
|
133
|
+
}, w = (t) => {
|
|
128
134
|
let { apiGatewayUrl: n } = e();
|
|
129
135
|
return i({
|
|
130
136
|
queryKey: l.relationship(t ?? ""),
|
|
@@ -149,7 +155,7 @@ var c = async (e, t, n) => {
|
|
|
149
155
|
}
|
|
150
156
|
}`, { id: t }, n)).subRelationship
|
|
151
157
|
});
|
|
152
|
-
},
|
|
158
|
+
}, T = () => {
|
|
153
159
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
154
160
|
return r({
|
|
155
161
|
mutationFn: async (e) => (await c(`mutation SubCreateRelationship($input: SubCreateRelationshipInput!) {
|
|
@@ -159,7 +165,7 @@ var c = async (e, t, n) => {
|
|
|
159
165
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.renewals });
|
|
160
166
|
}
|
|
161
167
|
});
|
|
162
|
-
},
|
|
168
|
+
}, E = () => {
|
|
163
169
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
164
170
|
return r({
|
|
165
171
|
mutationFn: async ({ id: e, status: t }) => (await c(`mutation SubTransitionRelationship($id: ID!, $status: SubRelationshipStatus!) {
|
|
@@ -172,7 +178,7 @@ var c = async (e, t, n) => {
|
|
|
172
178
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.relationship(e.id) }), t.invalidateQueries({ queryKey: l.renewals });
|
|
173
179
|
}
|
|
174
180
|
});
|
|
175
|
-
},
|
|
181
|
+
}, D = () => {
|
|
176
182
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
177
183
|
return r({
|
|
178
184
|
mutationFn: async (e) => (await c(`mutation SubCancelRelationship($id: ID!) {
|
|
@@ -182,7 +188,7 @@ var c = async (e, t, n) => {
|
|
|
182
188
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.relationship(e.id) }), t.invalidateQueries({ queryKey: l.renewals });
|
|
183
189
|
}
|
|
184
190
|
});
|
|
185
|
-
},
|
|
191
|
+
}, O = () => {
|
|
186
192
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
187
193
|
return r({
|
|
188
194
|
mutationFn: async ({ id: e, input: t }) => (await c(`mutation SubUpdateRelationship($id: ID!, $input: SubUpdateRelationshipInput!) {
|
|
@@ -195,7 +201,7 @@ var c = async (e, t, n) => {
|
|
|
195
201
|
t.invalidateQueries({ queryKey: l.relationships }), t.invalidateQueries({ queryKey: l.relationship(e.id) }), t.invalidateQueries({ queryKey: l.renewals });
|
|
196
202
|
}
|
|
197
203
|
});
|
|
198
|
-
},
|
|
204
|
+
}, k = (t = {}) => {
|
|
199
205
|
let { apiGatewayUrl: n } = e();
|
|
200
206
|
return i({
|
|
201
207
|
queryKey: [...l.renewals, t],
|
|
@@ -204,7 +210,7 @@ var c = async (e, t, n) => {
|
|
|
204
210
|
upcomingOnly: t.upcomingOnly
|
|
205
211
|
}, n)).subListRenewalEvents.items
|
|
206
212
|
});
|
|
207
|
-
},
|
|
213
|
+
}, A = () => {
|
|
208
214
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
209
215
|
return r({
|
|
210
216
|
mutationFn: async (e) => (await c(`mutation SubCreateEntitlement($input: SubCreateEntitlementInput!) {
|
|
@@ -214,31 +220,31 @@ var c = async (e, t, n) => {
|
|
|
214
220
|
t.invalidateQueries({ queryKey: l.entitlements }), t.invalidateQueries({ queryKey: l.relationship(e.relationshipId) });
|
|
215
221
|
}
|
|
216
222
|
});
|
|
217
|
-
},
|
|
223
|
+
}, j = () => {
|
|
218
224
|
let { apiGatewayUrl: t } = e();
|
|
219
225
|
return i({
|
|
220
226
|
queryKey: [...l.assets, "all"],
|
|
221
227
|
queryFn: async () => (await c(`query SubAllAssets {
|
|
222
|
-
subListAssets { items { ${
|
|
228
|
+
subListAssets { items { ${y} } pageInfo { cursor hasMore } }
|
|
223
229
|
}`, {}, t)).subListAssets.items
|
|
224
230
|
});
|
|
225
|
-
},
|
|
231
|
+
}, M = () => {
|
|
226
232
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
227
233
|
return r({
|
|
228
234
|
mutationFn: async (e) => (await c(`mutation SubCreateAsset($input: SubCreateAssetInput!) {
|
|
229
|
-
subCreateAsset(input: $input) { ${
|
|
235
|
+
subCreateAsset(input: $input) { ${y} }
|
|
230
236
|
}`, { input: e }, n)).subCreateAsset,
|
|
231
237
|
onSuccess: (e) => {
|
|
232
238
|
t.invalidateQueries({ queryKey: l.assets }), t.invalidateQueries({ queryKey: l.relationship(e.relationshipId) });
|
|
233
239
|
}
|
|
234
240
|
});
|
|
235
|
-
},
|
|
241
|
+
}, N = "/SubscriberBot/Assets", P = () => {
|
|
236
242
|
let { apiGatewayUrl: r } = e(), [i, a] = n(0), [o, s] = n(!1);
|
|
237
243
|
return {
|
|
238
244
|
uploadFile: t(async (e) => {
|
|
239
245
|
s(!0), a(0);
|
|
240
246
|
try {
|
|
241
|
-
let t = (await c("mutation SubEnsureFolder($path: String!) {\n ensureFolderByPath(path: $path) { id }\n }", { path:
|
|
247
|
+
let t = (await c("mutation SubEnsureFolder($path: String!) {\n ensureFolderByPath(path: $path) { id }\n }", { path: N }, r)).ensureFolderByPath?.id;
|
|
242
248
|
if (!t) throw Error("Could not resolve the upload folder.");
|
|
243
249
|
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: {
|
|
244
250
|
fileName: e.name,
|
|
@@ -273,13 +279,13 @@ var c = async (e, t, n) => {
|
|
|
273
279
|
progress: i,
|
|
274
280
|
isUploading: o
|
|
275
281
|
};
|
|
276
|
-
},
|
|
282
|
+
}, F = () => {
|
|
277
283
|
let { apiGatewayUrl: n } = e();
|
|
278
284
|
return t(async (e) => (await c("query SubFileDownloadUrl($id: ID!, $expiresIn: Int) {\n getFileDownloadUrl(id: $id, expiresIn: $expiresIn)\n }", {
|
|
279
285
|
id: e,
|
|
280
286
|
expiresIn: 21600
|
|
281
287
|
}, n)).getFileDownloadUrl, [n]);
|
|
282
|
-
},
|
|
288
|
+
}, I = (t = {}) => {
|
|
283
289
|
let { apiGatewayUrl: n } = e();
|
|
284
290
|
return i({
|
|
285
291
|
queryKey: [...l.providers, t],
|
|
@@ -308,7 +314,7 @@ var c = async (e, t, n) => {
|
|
|
308
314
|
}
|
|
309
315
|
}, n)).subListProviders
|
|
310
316
|
});
|
|
311
|
-
},
|
|
317
|
+
}, L = (t) => {
|
|
312
318
|
let { apiGatewayUrl: n } = e();
|
|
313
319
|
return i({
|
|
314
320
|
queryKey: l.provider(t ?? ""),
|
|
@@ -320,7 +326,7 @@ var c = async (e, t, n) => {
|
|
|
320
326
|
}
|
|
321
327
|
}`, { id: t }, n)).subProvider
|
|
322
328
|
});
|
|
323
|
-
},
|
|
329
|
+
}, R = () => {
|
|
324
330
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
325
331
|
return r({
|
|
326
332
|
mutationFn: async (e) => (await c(`mutation SubCreateProvider($input: SubCreateProviderInput!) {
|
|
@@ -330,7 +336,7 @@ var c = async (e, t, n) => {
|
|
|
330
336
|
t.invalidateQueries({ queryKey: l.providers });
|
|
331
337
|
}
|
|
332
338
|
});
|
|
333
|
-
},
|
|
339
|
+
}, z = () => {
|
|
334
340
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
335
341
|
return r({
|
|
336
342
|
mutationFn: async ({ id: e, input: t }) => (await c(`mutation SubUpdateProvider($id: ID!, $input: SubUpdateProviderInput!) {
|
|
@@ -343,7 +349,7 @@ var c = async (e, t, n) => {
|
|
|
343
349
|
t.invalidateQueries({ queryKey: l.providers }), t.invalidateQueries({ queryKey: l.provider(e.id) });
|
|
344
350
|
}
|
|
345
351
|
});
|
|
346
|
-
},
|
|
352
|
+
}, B = () => {
|
|
347
353
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
348
354
|
return r({
|
|
349
355
|
mutationFn: async (e) => (await c("mutation SubArchiveProvider($id: ID!) {\n subArchiveProvider(id: $id)\n }", { id: e }, n)).subArchiveProvider,
|
|
@@ -351,7 +357,7 @@ var c = async (e, t, n) => {
|
|
|
351
357
|
t.invalidateQueries({ queryKey: l.providers });
|
|
352
358
|
}
|
|
353
359
|
});
|
|
354
|
-
},
|
|
360
|
+
}, V = (t) => {
|
|
355
361
|
let { apiGatewayUrl: n } = e();
|
|
356
362
|
return i({
|
|
357
363
|
queryKey: [...l.plans, t],
|
|
@@ -360,7 +366,7 @@ var c = async (e, t, n) => {
|
|
|
360
366
|
subListPlans(providerId: $providerId) { items { ${d} } pageInfo { cursor hasMore } }
|
|
361
367
|
}`, { providerId: t }, n)).subListPlans.items
|
|
362
368
|
});
|
|
363
|
-
},
|
|
369
|
+
}, H = () => {
|
|
364
370
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
365
371
|
return r({
|
|
366
372
|
mutationFn: async (e) => (await c(`mutation SubCreatePlan($input: SubCreatePlanInput!) {
|
|
@@ -370,7 +376,7 @@ var c = async (e, t, n) => {
|
|
|
370
376
|
t.invalidateQueries({ queryKey: l.plans }), t.invalidateQueries({ queryKey: l.provider(e.providerId) });
|
|
371
377
|
}
|
|
372
378
|
});
|
|
373
|
-
},
|
|
379
|
+
}, U = (t) => {
|
|
374
380
|
let { apiGatewayUrl: n } = e();
|
|
375
381
|
return i({
|
|
376
382
|
queryKey: l.benchmarks(t ?? ""),
|
|
@@ -394,7 +400,7 @@ var c = async (e, t, n) => {
|
|
|
394
400
|
}, n)).subListBenchmarkDataPoints.items;
|
|
395
401
|
}
|
|
396
402
|
});
|
|
397
|
-
},
|
|
403
|
+
}, W = (t = {}) => {
|
|
398
404
|
let { apiGatewayUrl: n } = e();
|
|
399
405
|
return i({
|
|
400
406
|
queryKey: [...l.inbox, t],
|
|
@@ -426,17 +432,23 @@ var c = async (e, t, n) => {
|
|
|
426
432
|
}
|
|
427
433
|
}, n)).subListInboxMessages
|
|
428
434
|
});
|
|
429
|
-
},
|
|
435
|
+
}, G = () => {
|
|
430
436
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
431
437
|
return r({
|
|
432
438
|
mutationFn: async (e) => (await c(`mutation SubMarkMessageRead($id: ID!) {
|
|
433
439
|
subMarkMessageRead(id: $id) { ${p} }
|
|
434
440
|
}`, { id: e }, n)).subMarkMessageRead,
|
|
435
|
-
onSuccess: () => {
|
|
436
|
-
t.invalidateQueries({ queryKey: l.inbox });
|
|
437
|
-
}
|
|
441
|
+
onSuccess: () => t.invalidateQueries({ queryKey: l.inbox })
|
|
438
442
|
});
|
|
439
|
-
},
|
|
443
|
+
}, K = () => {
|
|
444
|
+
let t = a(), { apiGatewayUrl: n } = e();
|
|
445
|
+
return r({
|
|
446
|
+
mutationFn: async (e) => (await c(`mutation SubMarkMessageUnread($id: ID!) {
|
|
447
|
+
subMarkMessageUnread(id: $id) { ${p} }
|
|
448
|
+
}`, { id: e }, n)).subMarkMessageUnread,
|
|
449
|
+
onSuccess: () => t.invalidateQueries({ queryKey: l.inbox })
|
|
450
|
+
});
|
|
451
|
+
}, q = () => {
|
|
440
452
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
441
453
|
return r({
|
|
442
454
|
mutationFn: async (e) => (await c(`mutation SubIngestMessage($input: SubIngestMessageInput!) {
|
|
@@ -446,7 +458,7 @@ var c = async (e, t, n) => {
|
|
|
446
458
|
t.invalidateQueries({ queryKey: l.inbox });
|
|
447
459
|
}
|
|
448
460
|
});
|
|
449
|
-
},
|
|
461
|
+
}, J = (t = {}, n = {}) => {
|
|
450
462
|
let { apiGatewayUrl: r } = e();
|
|
451
463
|
return i({
|
|
452
464
|
queryKey: [...l.invoices, t],
|
|
@@ -473,7 +485,7 @@ var c = async (e, t, n) => {
|
|
|
473
485
|
}
|
|
474
486
|
}, r)).subListInvoices
|
|
475
487
|
});
|
|
476
|
-
},
|
|
488
|
+
}, Y = () => {
|
|
477
489
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
478
490
|
return r({
|
|
479
491
|
mutationFn: async (e) => (await c(`mutation SubMarkInvoicePaid($id: ID!) {
|
|
@@ -483,7 +495,7 @@ var c = async (e, t, n) => {
|
|
|
483
495
|
t.invalidateQueries({ queryKey: l.invoices });
|
|
484
496
|
}
|
|
485
497
|
});
|
|
486
|
-
},
|
|
498
|
+
}, X = () => {
|
|
487
499
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
488
500
|
return r({
|
|
489
501
|
mutationFn: async (e) => (await c(`mutation SubCreateInvoice($input: SubCreateInvoiceInput!) {
|
|
@@ -493,13 +505,13 @@ var c = async (e, t, n) => {
|
|
|
493
505
|
t.invalidateQueries({ queryKey: l.invoices });
|
|
494
506
|
}
|
|
495
507
|
});
|
|
496
|
-
},
|
|
508
|
+
}, ie = (t) => {
|
|
497
509
|
let { apiGatewayUrl: n } = e();
|
|
498
510
|
return i({
|
|
499
511
|
queryKey: [...l.paymentInstruments, t],
|
|
500
512
|
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
|
|
501
513
|
});
|
|
502
|
-
},
|
|
514
|
+
}, ae = () => {
|
|
503
515
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
504
516
|
return r({
|
|
505
517
|
mutationFn: async (e) => (await c(`mutation SubCreatePaymentInstrument($input: SubCreatePaymentInstrumentInput!) {
|
|
@@ -509,7 +521,7 @@ var c = async (e, t, n) => {
|
|
|
509
521
|
t.invalidateQueries({ queryKey: l.paymentInstruments });
|
|
510
522
|
}
|
|
511
523
|
});
|
|
512
|
-
},
|
|
524
|
+
}, oe = () => {
|
|
513
525
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
514
526
|
return r({
|
|
515
527
|
mutationFn: async (e) => (await c("mutation SubRemovePaymentInstrument($id: ID!) {\n subRemovePaymentInstrument(id: $id)\n }", { id: e }, n)).subRemovePaymentInstrument,
|
|
@@ -517,33 +529,33 @@ var c = async (e, t, n) => {
|
|
|
517
529
|
t.invalidateQueries({ queryKey: l.paymentInstruments });
|
|
518
530
|
}
|
|
519
531
|
});
|
|
520
|
-
},
|
|
532
|
+
}, se = (t) => {
|
|
521
533
|
let { apiGatewayUrl: n } = e();
|
|
522
534
|
return i({
|
|
523
535
|
queryKey: [...l.channels, t],
|
|
524
536
|
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
|
|
525
537
|
});
|
|
526
|
-
},
|
|
538
|
+
}, ce = () => {
|
|
527
539
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
528
540
|
return r({
|
|
529
541
|
mutationFn: async (e) => (await c(`mutation SubCreateChannel($input: SubCreateChannelInput!) {
|
|
530
|
-
subCreateChannel(input: $input) { ${
|
|
542
|
+
subCreateChannel(input: $input) { ${b} }
|
|
531
543
|
}`, { input: e }, n)).subCreateChannel,
|
|
532
544
|
onSuccess: () => {
|
|
533
545
|
t.invalidateQueries({ queryKey: l.channels });
|
|
534
546
|
}
|
|
535
547
|
});
|
|
536
|
-
},
|
|
548
|
+
}, le = () => {
|
|
537
549
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
538
550
|
return r({
|
|
539
551
|
mutationFn: async (e) => (await c(`mutation SubVerifyChannel($id: ID!) {
|
|
540
|
-
subVerifyChannel(id: $id) { ${
|
|
552
|
+
subVerifyChannel(id: $id) { ${b} }
|
|
541
553
|
}`, { id: e }, n)).subVerifyChannel,
|
|
542
554
|
onSuccess: () => {
|
|
543
555
|
t.invalidateQueries({ queryKey: l.channels });
|
|
544
556
|
}
|
|
545
557
|
});
|
|
546
|
-
},
|
|
558
|
+
}, ue = (t = {}) => {
|
|
547
559
|
let { apiGatewayUrl: n } = e();
|
|
548
560
|
return i({
|
|
549
561
|
queryKey: [...l.agents, t],
|
|
@@ -558,7 +570,7 @@ var c = async (e, t, n) => {
|
|
|
558
570
|
ownerId: t.ownerId
|
|
559
571
|
}, n)).subListAgents.items
|
|
560
572
|
});
|
|
561
|
-
},
|
|
573
|
+
}, de = (t) => {
|
|
562
574
|
let { apiGatewayUrl: n } = e();
|
|
563
575
|
return i({
|
|
564
576
|
queryKey: l.agent(t ?? ""),
|
|
@@ -566,11 +578,11 @@ var c = async (e, t, n) => {
|
|
|
566
578
|
queryFn: async () => (await c(`query SubAgent($id: ID!) {
|
|
567
579
|
subAgent(id: $id) {
|
|
568
580
|
${h}
|
|
569
|
-
policies { ${
|
|
581
|
+
policies { ${x} }
|
|
570
582
|
}
|
|
571
583
|
}`, { id: t }, n)).subAgent
|
|
572
584
|
});
|
|
573
|
-
},
|
|
585
|
+
}, fe = () => {
|
|
574
586
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
575
587
|
return r({
|
|
576
588
|
mutationFn: async (e) => (await c(`mutation SubCreateAgent($input: SubCreateAgentInput!) {
|
|
@@ -580,7 +592,7 @@ var c = async (e, t, n) => {
|
|
|
580
592
|
t.invalidateQueries({ queryKey: l.agents });
|
|
581
593
|
}
|
|
582
594
|
});
|
|
583
|
-
},
|
|
595
|
+
}, pe = () => {
|
|
584
596
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
585
597
|
return r({
|
|
586
598
|
mutationFn: async ({ id: e, status: t }) => (await c(`mutation SubSetAgentStatus($id: ID!, $status: SubAgentStatus!) {
|
|
@@ -593,17 +605,17 @@ var c = async (e, t, n) => {
|
|
|
593
605
|
t.invalidateQueries({ queryKey: l.agents }), t.invalidateQueries({ queryKey: l.agent(e.id) });
|
|
594
606
|
}
|
|
595
607
|
});
|
|
596
|
-
},
|
|
608
|
+
}, me = () => {
|
|
597
609
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
598
610
|
return r({
|
|
599
611
|
mutationFn: async (e) => (await c(`mutation SubCreatePolicy($input: SubCreatePolicyInput!) {
|
|
600
|
-
subCreatePolicy(input: $input) { ${
|
|
612
|
+
subCreatePolicy(input: $input) { ${x} }
|
|
601
613
|
}`, { input: e }, n)).subCreatePolicy,
|
|
602
614
|
onSuccess: (e) => {
|
|
603
615
|
t.invalidateQueries({ queryKey: l.agents }), t.invalidateQueries({ queryKey: l.agent(e.agentId) });
|
|
604
616
|
}
|
|
605
617
|
});
|
|
606
|
-
},
|
|
618
|
+
}, he = 100, ge = (t = {}, n = {}) => {
|
|
607
619
|
let { apiGatewayUrl: r } = e();
|
|
608
620
|
return i({
|
|
609
621
|
queryKey: [...l.decisions, t],
|
|
@@ -616,10 +628,10 @@ var c = async (e, t, n) => {
|
|
|
616
628
|
}
|
|
617
629
|
}`, {
|
|
618
630
|
filter: t,
|
|
619
|
-
pagination: { limit:
|
|
631
|
+
pagination: { limit: he }
|
|
620
632
|
}, r)).subListDecisions
|
|
621
633
|
});
|
|
622
|
-
},
|
|
634
|
+
}, _e = (t) => {
|
|
623
635
|
let { apiGatewayUrl: n } = e();
|
|
624
636
|
return i({
|
|
625
637
|
queryKey: l.decision(t ?? ""),
|
|
@@ -631,7 +643,7 @@ var c = async (e, t, n) => {
|
|
|
631
643
|
});
|
|
632
644
|
}, Z = (e, t) => {
|
|
633
645
|
e.invalidateQueries({ queryKey: l.decisions }), e.invalidateQueries({ queryKey: l.renewals }), t.decisionId && e.invalidateQueries({ queryKey: l.decision(t.decisionId) }), t.agentId && (e.invalidateQueries({ queryKey: l.agent(t.agentId) }), e.invalidateQueries({ queryKey: l.agents })), t.relationshipId && (e.invalidateQueries({ queryKey: l.relationship(t.relationshipId) }), e.invalidateQueries({ queryKey: l.relationships }));
|
|
634
|
-
},
|
|
646
|
+
}, ve = () => {
|
|
635
647
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
636
648
|
return r({
|
|
637
649
|
mutationFn: async (e) => (await c("mutation SubRunAgent($id: ID!, $dryRun: Boolean) {\n subRunAgent(id: $id, dryRun: $dryRun) {\n runId agentId kind dryRun evaluated proposed flagged applied truncated\n invocationRef ranAt\n }\n }", {
|
|
@@ -640,7 +652,7 @@ var c = async (e, t, n) => {
|
|
|
640
652
|
}, n)).subRunAgent,
|
|
641
653
|
onSuccess: (e) => Z(t, { agentId: e.agentId })
|
|
642
654
|
});
|
|
643
|
-
},
|
|
655
|
+
}, ye = () => {
|
|
644
656
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
645
657
|
return r({
|
|
646
658
|
mutationFn: async (e) => (await c(`mutation SubApplyDecision($id: ID!) {
|
|
@@ -656,7 +668,7 @@ var c = async (e, t, n) => {
|
|
|
656
668
|
}),
|
|
657
669
|
onError: () => void t.invalidateQueries({ queryKey: l.decisions })
|
|
658
670
|
});
|
|
659
|
-
},
|
|
671
|
+
}, be = () => {
|
|
660
672
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
661
673
|
return r({
|
|
662
674
|
mutationFn: async ({ id: e, reason: t }) => (await c(`mutation SubDismissDecision($id: ID!, $reason: String) {
|
|
@@ -670,14 +682,14 @@ var c = async (e, t, n) => {
|
|
|
670
682
|
agentId: e.agentId
|
|
671
683
|
})
|
|
672
684
|
});
|
|
673
|
-
},
|
|
685
|
+
}, xe = "\n generatedAt openDecisions truncated\n totals { currency annualSavings fromDecisions fromBundles }\n groups { recommendation currency count annualSavings }\n bundles {\n id type key title currency keepRelationshipId dropRelationshipIds\n annualSpend annualSavings confidence rationale\n members {\n relationshipId label providerId providerName amount currency interval\n annualCost capabilities\n }\n }\n", Se = () => {
|
|
674
686
|
let { apiGatewayUrl: t } = e();
|
|
675
687
|
return i({
|
|
676
688
|
queryKey: l.savings,
|
|
677
689
|
retry: 1,
|
|
678
|
-
queryFn: async () => (await c(`query SubSavingsOverview { subSavingsOverview { ${
|
|
690
|
+
queryFn: async () => (await c(`query SubSavingsOverview { subSavingsOverview { ${xe} } }`, {}, t)).subSavingsOverview
|
|
679
691
|
});
|
|
680
|
-
},
|
|
692
|
+
}, Ce = () => {
|
|
681
693
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
682
694
|
return r({
|
|
683
695
|
mutationFn: async (e) => (await c("mutation SubConsolidateRelationships($input: SubConsolidateRelationshipsInput!) {\n subConsolidateRelationships(input: $input) {\n kept { id label status amount currency interval }\n cancelled { id label status }\n failed { relationshipId message }\n estimatedSavings currency\n }\n }", { input: e }, n)).subConsolidateRelationships,
|
|
@@ -686,7 +698,7 @@ var c = async (e, t, n) => {
|
|
|
686
698
|
for (let e of [r.keepRelationshipId, ...r.cancelRelationshipIds]) t.invalidateQueries({ queryKey: l.relationship(e) });
|
|
687
699
|
}
|
|
688
700
|
});
|
|
689
|
-
},
|
|
701
|
+
}, we = () => {
|
|
690
702
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
691
703
|
return r({
|
|
692
704
|
mutationFn: async ({ id: e, reason: t }) => (await c("mutation SubDismissBundle($id: ID!, $reason: String) {\n subDismissBundle(id: $id, reason: $reason)\n }", {
|
|
@@ -695,7 +707,7 @@ var c = async (e, t, n) => {
|
|
|
695
707
|
}, n)).subDismissBundle,
|
|
696
708
|
onSuccess: () => void t.invalidateQueries({ queryKey: l.savings })
|
|
697
709
|
});
|
|
698
|
-
},
|
|
710
|
+
}, Te = (t) => {
|
|
699
711
|
let { apiGatewayUrl: n } = e();
|
|
700
712
|
return i({
|
|
701
713
|
queryKey: [...l.workflows, t],
|
|
@@ -703,7 +715,7 @@ var c = async (e, t, n) => {
|
|
|
703
715
|
subListWorkflows(status: $status) { items { ${_} } pageInfo { cursor hasMore } }
|
|
704
716
|
}`, { status: t }, n)).subListWorkflows.items
|
|
705
717
|
});
|
|
706
|
-
},
|
|
718
|
+
}, Ee = () => {
|
|
707
719
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
708
720
|
return r({
|
|
709
721
|
mutationFn: async (e) => (await c(`mutation SubCreateWorkflow($input: SubCreateWorkflowInput!) {
|
|
@@ -713,7 +725,7 @@ var c = async (e, t, n) => {
|
|
|
713
725
|
t.invalidateQueries({ queryKey: l.workflows });
|
|
714
726
|
}
|
|
715
727
|
});
|
|
716
|
-
},
|
|
728
|
+
}, De = () => {
|
|
717
729
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
718
730
|
return r({
|
|
719
731
|
mutationFn: async (e) => (await c(`mutation SubActivateWorkflow($id: ID!) {
|
|
@@ -723,13 +735,41 @@ var c = async (e, t, n) => {
|
|
|
723
735
|
t.invalidateQueries({ queryKey: l.workflows });
|
|
724
736
|
}
|
|
725
737
|
});
|
|
726
|
-
},
|
|
738
|
+
}, Oe = (t) => {
|
|
739
|
+
let { apiGatewayUrl: n } = e();
|
|
740
|
+
return i({
|
|
741
|
+
queryKey: l.workflow(t ?? ""),
|
|
742
|
+
enabled: !!t,
|
|
743
|
+
queryFn: async () => (await c(`query SubWorkflow($id: ID!) {
|
|
744
|
+
subWorkflow(id: $id) { ${_} graph { ${v} } }
|
|
745
|
+
}`, { id: t }, n)).subWorkflow
|
|
746
|
+
});
|
|
747
|
+
}, ke = () => {
|
|
748
|
+
let t = a(), { apiGatewayUrl: n } = e();
|
|
749
|
+
return r({
|
|
750
|
+
mutationFn: async ({ workflowId: e, input: t }) => (await c(`mutation SubSaveWorkflowGraph($workflowId: ID!, $input: SubSaveWorkflowGraphInput!) {
|
|
751
|
+
subSaveWorkflowGraph(workflowId: $workflowId, input: $input) { ${v} }
|
|
752
|
+
}`, {
|
|
753
|
+
workflowId: e,
|
|
754
|
+
input: t
|
|
755
|
+
}, n)).subSaveWorkflowGraph,
|
|
756
|
+
onSuccess: () => void t.invalidateQueries({ queryKey: l.workflows })
|
|
757
|
+
});
|
|
758
|
+
}, Ae = () => {
|
|
759
|
+
let t = a(), { apiGatewayUrl: n } = e();
|
|
760
|
+
return r({
|
|
761
|
+
mutationFn: async (e) => (await c(`mutation SubPauseWorkflow($id: ID!) {
|
|
762
|
+
subPauseWorkflow(id: $id) { ${_} }
|
|
763
|
+
}`, { id: e }, n)).subPauseWorkflow,
|
|
764
|
+
onSuccess: () => void t.invalidateQueries({ queryKey: l.workflows })
|
|
765
|
+
});
|
|
766
|
+
}, je = (t = {}) => {
|
|
727
767
|
let { apiGatewayUrl: n } = e();
|
|
728
768
|
return i({
|
|
729
769
|
queryKey: [...l.adapterSubmissions, t],
|
|
730
770
|
queryFn: async () => (await c(`query SubAdapterSubmissions($status: SubSubmissionStatus, $pagination: PaginationInput) {
|
|
731
771
|
subListAdapterSubmissions(status: $status, pagination: $pagination) {
|
|
732
|
-
items { ${
|
|
772
|
+
items { ${S} }
|
|
733
773
|
pageInfo { cursor hasMore }
|
|
734
774
|
}
|
|
735
775
|
}`, {
|
|
@@ -740,11 +780,11 @@ var c = async (e, t, n) => {
|
|
|
740
780
|
}
|
|
741
781
|
}, n)).subListAdapterSubmissions
|
|
742
782
|
});
|
|
743
|
-
},
|
|
783
|
+
}, Me = () => {
|
|
744
784
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
745
785
|
return r({
|
|
746
786
|
mutationFn: async ({ id: e, notes: t }) => (await c(`mutation SubApproveAdapter($id: ID!, $notes: String) {
|
|
747
|
-
subApproveAdapter(id: $id, notes: $notes) { ${
|
|
787
|
+
subApproveAdapter(id: $id, notes: $notes) { ${S} }
|
|
748
788
|
}`, {
|
|
749
789
|
id: e,
|
|
750
790
|
notes: t
|
|
@@ -753,11 +793,11 @@ var c = async (e, t, n) => {
|
|
|
753
793
|
t.invalidateQueries({ queryKey: l.adapterSubmissions });
|
|
754
794
|
}
|
|
755
795
|
});
|
|
756
|
-
},
|
|
796
|
+
}, Ne = () => {
|
|
757
797
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
758
798
|
return r({
|
|
759
799
|
mutationFn: async ({ id: e, reason: t }) => (await c(`mutation SubRejectAdapter($id: ID!, $reason: String!) {
|
|
760
|
-
subRejectAdapter(id: $id, reason: $reason) { ${
|
|
800
|
+
subRejectAdapter(id: $id, reason: $reason) { ${S} }
|
|
761
801
|
}`, {
|
|
762
802
|
id: e,
|
|
763
803
|
reason: t
|
|
@@ -766,13 +806,13 @@ var c = async (e, t, n) => {
|
|
|
766
806
|
t.invalidateQueries({ queryKey: l.adapterSubmissions });
|
|
767
807
|
}
|
|
768
808
|
});
|
|
769
|
-
},
|
|
809
|
+
}, Pe = (t = {}) => {
|
|
770
810
|
let { apiGatewayUrl: n } = e();
|
|
771
811
|
return i({
|
|
772
812
|
queryKey: [...l.marketplaceReports, t],
|
|
773
813
|
queryFn: async () => (await c(`query SubMarketplaceReports($status: SubReportStatus, $pagination: PaginationInput) {
|
|
774
814
|
subListMarketplaceReports(status: $status, pagination: $pagination) {
|
|
775
|
-
items { ${
|
|
815
|
+
items { ${C} }
|
|
776
816
|
pageInfo { cursor hasMore }
|
|
777
817
|
}
|
|
778
818
|
}`, {
|
|
@@ -783,11 +823,11 @@ var c = async (e, t, n) => {
|
|
|
783
823
|
}
|
|
784
824
|
}, n)).subListMarketplaceReports
|
|
785
825
|
});
|
|
786
|
-
},
|
|
826
|
+
}, Fe = () => {
|
|
787
827
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
788
828
|
return r({
|
|
789
829
|
mutationFn: async ({ id: e, action: t, reason: r }) => (await c(`mutation SubModerateListing($id: ID!, $action: SubModerationAction!, $reason: String!) {
|
|
790
|
-
subModerateListing(id: $id, action: $action, reason: $reason) { ${
|
|
830
|
+
subModerateListing(id: $id, action: $action, reason: $reason) { ${C} }
|
|
791
831
|
}`, {
|
|
792
832
|
id: e,
|
|
793
833
|
action: t,
|
|
@@ -797,14 +837,14 @@ var c = async (e, t, n) => {
|
|
|
797
837
|
t.invalidateQueries({ queryKey: l.marketplaceReports });
|
|
798
838
|
}
|
|
799
839
|
});
|
|
800
|
-
},
|
|
840
|
+
}, Q = "monthlyBudget monthlySpend variance utilizationPct overBudget", Ie = `
|
|
801
841
|
currency generatedAt monthlySpend annualSpend activeRelationshipCount
|
|
802
842
|
previousMonthlySpend monthlySpendChangePct
|
|
803
843
|
trend { at monthlySpend }
|
|
804
|
-
budget { ${
|
|
844
|
+
budget { ${Q} }
|
|
805
845
|
departments {
|
|
806
846
|
department monthlySpend annualSpend relationshipCount sharePct
|
|
807
|
-
budget { ${
|
|
847
|
+
budget { ${Q} }
|
|
808
848
|
}
|
|
809
849
|
shadowIt {
|
|
810
850
|
relationshipId label providerId providerName department discoverySource
|
|
@@ -830,21 +870,21 @@ var c = async (e, t, n) => {
|
|
|
830
870
|
utilizationPct monthlySpend annualCost renewsAt
|
|
831
871
|
}
|
|
832
872
|
truncated
|
|
833
|
-
`,
|
|
873
|
+
`, Le = (t) => {
|
|
834
874
|
let { apiGatewayUrl: n } = e();
|
|
835
875
|
return i({
|
|
836
876
|
queryKey: [...l.enterpriseSpend, t ?? null],
|
|
837
877
|
queryFn: async () => (await c(`query SubEnterpriseSpendDashboard($currency: String) {
|
|
838
|
-
subEnterpriseSpendDashboard(currency: $currency) { ${
|
|
878
|
+
subEnterpriseSpendDashboard(currency: $currency) { ${Ie} }
|
|
839
879
|
}`, { currency: t || null }, n)).subEnterpriseSpendDashboard
|
|
840
880
|
});
|
|
841
|
-
},
|
|
881
|
+
}, $ = () => {
|
|
842
882
|
let { apiGatewayUrl: t } = e();
|
|
843
883
|
return i({
|
|
844
884
|
queryKey: l.spendBudgets,
|
|
845
885
|
queryFn: async () => (await c("query SubListSpendBudgets {\n subListSpendBudgets { id department currency monthlyAmount updatedAt }\n }", {}, t)).subListSpendBudgets
|
|
846
886
|
});
|
|
847
|
-
},
|
|
887
|
+
}, Re = () => {
|
|
848
888
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
849
889
|
return r({
|
|
850
890
|
mutationFn: async (e) => (await c("mutation SubSetSpendBudget($input: SubSetSpendBudgetInput!) {\n subSetSpendBudget(input: $input) { id department currency monthlyAmount updatedAt }\n }", { input: e }, n)).subSetSpendBudget,
|
|
@@ -852,7 +892,7 @@ var c = async (e, t, n) => {
|
|
|
852
892
|
t.invalidateQueries({ queryKey: l.spendBudgets }), t.invalidateQueries({ queryKey: l.enterpriseSpend });
|
|
853
893
|
}
|
|
854
894
|
});
|
|
855
|
-
},
|
|
895
|
+
}, ze = "\n currency generatedAt from to trialWindowDays statuses totalAmount renewalCount\n relationshipCount truncated\n otherCurrencyTotals { currency amount renewalCount }\n months {\n key year month startsAt endsAt amount renewalCount\n otherCurrencyTotals { currency amount renewalCount }\n items {\n relationshipId label providerId providerName kind status interval currency\n renewsAt daysRemaining amount occurrenceCount autoRenew healthScore\n reminderId reminderAt openDecisionId openDecisionKind needsReview\n }\n }\n trialsEndingSoon {\n relationshipId label providerId providerName trialEndsAt daysRemaining amount\n currency interval autoRenew reminderId reminderAt openDecisionId openDecisionKind\n }\n", Be = (t = {}) => {
|
|
856
896
|
let { apiGatewayUrl: n } = e();
|
|
857
897
|
return i({
|
|
858
898
|
queryKey: [...l.renewalForecast, t],
|
|
@@ -869,7 +909,7 @@ var c = async (e, t, n) => {
|
|
|
869
909
|
statuses: $statuses
|
|
870
910
|
trialWindowDays: $trialWindowDays
|
|
871
911
|
currency: $currency
|
|
872
|
-
) { ${
|
|
912
|
+
) { ${ze} }
|
|
873
913
|
}`, {
|
|
874
914
|
from: t.from ?? null,
|
|
875
915
|
to: t.to ?? null,
|
|
@@ -878,7 +918,7 @@ var c = async (e, t, n) => {
|
|
|
878
918
|
currency: t.currency || null
|
|
879
919
|
}, n)).subRenewalForecast
|
|
880
920
|
});
|
|
881
|
-
},
|
|
921
|
+
}, Ve = () => {
|
|
882
922
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
883
923
|
return r({
|
|
884
924
|
mutationFn: async (e) => (await c("mutation SubSetRenewalReminder($relationshipId: ID!, $remindAt: DateTime, $note: String) {\n subSetRenewalReminder(relationshipId: $relationshipId, remindAt: $remindAt, note: $note) {\n id relationshipId eventType occursAt amount currency detail notified\n workspaceId createdAt updatedAt\n }\n }", {
|
|
@@ -890,7 +930,7 @@ var c = async (e, t, n) => {
|
|
|
890
930
|
t.invalidateQueries({ queryKey: l.renewals });
|
|
891
931
|
}
|
|
892
932
|
});
|
|
893
|
-
},
|
|
933
|
+
}, He = () => {
|
|
894
934
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
895
935
|
return r({
|
|
896
936
|
mutationFn: async (e) => (await c("mutation SubCancelRenewalReminder($id: ID!) {\n subCancelRenewalReminder(id: $id)\n }", { id: e }, n)).subCancelRenewalReminder,
|
|
@@ -900,6 +940,6 @@ var c = async (e, t, n) => {
|
|
|
900
940
|
});
|
|
901
941
|
};
|
|
902
942
|
//#endregion
|
|
903
|
-
export { c as subQuery,
|
|
943
|
+
export { c as subQuery, De as useActivateWorkflow, je as useAdapterSubmissions, de as useAgent, ue as useAgents, j as useAllAssets, ye as useApplyDecision, Me as useApproveAdapter, B as useArchiveProvider, U as useBenchmarkDataPoints, D as useCancelRelationship, He as useCancelRenewalReminder, se as useChannels, Ce as useConsolidateRelationships, fe as useCreateAgent, M as useCreateAsset, ce as useCreateChannel, A as useCreateEntitlement, X as useCreateInvoice, ae as useCreatePaymentInstrument, H as useCreatePlan, me as useCreatePolicy, R as useCreateProvider, T as useCreateRelationship, Ee as useCreateWorkflow, _e as useDecision, ge as useDecisions, we as useDismissBundle, be as useDismissDecision, Le as useEnterpriseSpendDashboard, F as useFileDownloadUrl, W as useInboxMessages, q as useIngestMessage, J as useInvoices, Y as useMarkInvoicePaid, G as useMarkMessageRead, K as useMarkMessageUnread, Pe as useMarketplaceReports, Fe as useModerateListing, Ae as usePauseWorkflow, ie as usePaymentInstruments, V as usePlans, L as useProvider, I as useProviders, Ne as useRejectAdapter, w as useRelationship, re as useRelationships, oe as useRemovePaymentInstrument, k as useRenewalEvents, Be as useRenewalForecast, ve as useRunAgent, ke as useSaveWorkflowGraph, Se as useSavingsOverview, pe as useSetAgentStatus, Ve as useSetRenewalReminder, Re as useSetSpendBudget, $ as useSpendBudgets, E as useTransitionRelationship, z as useUpdateProvider, O as useUpdateRelationship, P as useUploadFile, le as useVerifyChannel, Oe as useWorkflow, Te as useWorkflows };
|
|
904
944
|
|
|
905
945
|
//# sourceMappingURL=useSubscriberBotApi.js.map
|