@burdenoff/microfe-subscriberbot 2026.1030.1 → 2026.1030.3
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/SubscriberBotRoutes.d.ts.map +1 -1
- package/dist/subscriberbot/SubscriberBotRoutes.js +16 -8
- package/dist/subscriberbot/SubscriberBotRoutes.js.map +1 -1
- package/dist/subscriberbot/components/StatusBadge.d.ts.map +1 -1
- package/dist/subscriberbot/components/StatusBadge.js +6 -1
- package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
- package/dist/subscriberbot/components/decisions/DecisionBanners.d.ts +11 -0
- package/dist/subscriberbot/components/decisions/DecisionBanners.d.ts.map +1 -0
- package/dist/subscriberbot/components/decisions/DecisionBanners.js +62 -0
- package/dist/subscriberbot/components/decisions/DecisionBanners.js.map +1 -0
- package/dist/subscriberbot/components/decisions/DecisionCard.d.ts +22 -0
- package/dist/subscriberbot/components/decisions/DecisionCard.d.ts.map +1 -0
- package/dist/subscriberbot/components/decisions/DecisionCard.js +316 -0
- package/dist/subscriberbot/components/decisions/DecisionCard.js.map +1 -0
- package/dist/subscriberbot/components/decisions/decisionModel.d.ts +51 -0
- package/dist/subscriberbot/components/decisions/decisionModel.d.ts.map +1 -0
- package/dist/subscriberbot/components/decisions/decisionModel.js +139 -0
- package/dist/subscriberbot/components/decisions/decisionModel.js.map +1 -0
- package/dist/subscriberbot/components/decisions/index.d.ts +9 -0
- package/dist/subscriberbot/components/decisions/index.d.ts.map +1 -0
- package/dist/subscriberbot/components/decisions/index.js +3 -0
- package/dist/subscriberbot/hooks/index.d.ts +1 -1
- package/dist/subscriberbot/hooks/index.d.ts.map +1 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.d.ts +19 -2
- package/dist/subscriberbot/hooks/useSubscriberBotApi.d.ts.map +1 -1
- package/dist/subscriberbot/hooks/useSubscriberBotApi.js +103 -38
- package/dist/subscriberbot/hooks/useSubscriberBotApi.js.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentDetailPage.d.ts +7 -0
- package/dist/subscriberbot/pages/agents/AgentDetailPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/agents/AgentDetailPage.js +280 -175
- package/dist/subscriberbot/pages/agents/AgentDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/decisions/DecisionDetailPage.d.ts +12 -0
- package/dist/subscriberbot/pages/decisions/DecisionDetailPage.d.ts.map +1 -0
- package/dist/subscriberbot/pages/decisions/DecisionDetailPage.js +180 -0
- package/dist/subscriberbot/pages/decisions/DecisionDetailPage.js.map +1 -0
- package/dist/subscriberbot/pages/decisions/DecisionsPage.d.ts +13 -0
- package/dist/subscriberbot/pages/decisions/DecisionsPage.d.ts.map +1 -0
- package/dist/subscriberbot/pages/decisions/DecisionsPage.js +154 -0
- package/dist/subscriberbot/pages/decisions/DecisionsPage.js.map +1 -0
- package/dist/subscriberbot/pages/relationships/RelationshipDetailPage.d.ts.map +1 -1
- package/dist/subscriberbot/pages/relationships/RelationshipDetailPage.js +338 -316
- package/dist/subscriberbot/pages/relationships/RelationshipDetailPage.js.map +1 -1
- package/dist/subscriberbot/types/index.d.ts +66 -1
- package/dist/subscriberbot/types/index.d.ts.map +1 -1
- package/dist/subscriberbot/utils/pageContext.d.ts +1 -0
- package/dist/subscriberbot/utils/pageContext.d.ts.map +1 -1
- package/dist/subscriberbot/utils/pageContext.js +2 -0
- package/dist/subscriberbot/utils/pageContext.js.map +1 -1
- package/package.json +1 -1
|
@@ -45,6 +45,12 @@ var c = async (e, t, n) => {
|
|
|
45
45
|
"agent",
|
|
46
46
|
e
|
|
47
47
|
],
|
|
48
|
+
decisions: ["subscriberbot", "decisions"],
|
|
49
|
+
decision: (e) => [
|
|
50
|
+
"subscriberbot",
|
|
51
|
+
"decision",
|
|
52
|
+
e
|
|
53
|
+
],
|
|
48
54
|
workflows: ["subscriberbot", "workflows"],
|
|
49
55
|
renewals: ["subscriberbot", "renewals"],
|
|
50
56
|
assets: ["subscriberbot", "assets"],
|
|
@@ -59,7 +65,7 @@ var c = async (e, t, n) => {
|
|
|
59
65
|
"admin",
|
|
60
66
|
"marketplace-reports"
|
|
61
67
|
]
|
|
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",
|
|
68
|
+
}, 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 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", 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", te = "\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 = {}) => {
|
|
63
69
|
let { apiGatewayUrl: n } = e();
|
|
64
70
|
return i({
|
|
65
71
|
queryKey: [...l.relationships, t],
|
|
@@ -116,15 +122,6 @@ var c = async (e, t, n) => {
|
|
|
116
122
|
id name type relationshipId secretRef expiresAt workspaceId
|
|
117
123
|
createdAt updatedAt file { id }
|
|
118
124
|
}
|
|
119
|
-
# BOFF-8659 - invoices linked via SubInvoice.relationshipId,
|
|
120
|
-
# shown in the Assets section alongside file-based assets so
|
|
121
|
-
# users don't have to leave the relationship page to discover
|
|
122
|
-
# they have an outstanding invoice tied to it.
|
|
123
|
-
invoices {
|
|
124
|
-
id number relationshipId status currency subtotal taxAmount
|
|
125
|
-
total issueDate dueDate paidAt paymentInstrumentId workspaceId
|
|
126
|
-
createdAt updatedAt
|
|
127
|
-
}
|
|
128
125
|
renewalEvents {
|
|
129
126
|
id relationshipId eventType occursAt amount currency detail
|
|
130
127
|
notified workspaceId createdAt updatedAt
|
|
@@ -191,7 +188,7 @@ var c = async (e, t, n) => {
|
|
|
191
188
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
192
189
|
return r({
|
|
193
190
|
mutationFn: async (e) => (await c(`mutation SubCreateEntitlement($input: SubCreateEntitlementInput!) {
|
|
194
|
-
subCreateEntitlement(input: $input) { ${
|
|
191
|
+
subCreateEntitlement(input: $input) { ${ee} }
|
|
195
192
|
}`, { input: e }, n)).subCreateEntitlement,
|
|
196
193
|
onSuccess: (e) => {
|
|
197
194
|
t.invalidateQueries({ queryKey: l.entitlements }), t.invalidateQueries({ queryKey: l.relationship(e.relationshipId) });
|
|
@@ -365,7 +362,7 @@ var c = async (e, t, n) => {
|
|
|
365
362
|
$pagination: PaginationInput
|
|
366
363
|
) {
|
|
367
364
|
subListBenchmarkDataPoints(filter: $filter, pagination: $pagination) {
|
|
368
|
-
items { ${
|
|
365
|
+
items { ${te} }
|
|
369
366
|
pageInfo { cursor hasMore }
|
|
370
367
|
}
|
|
371
368
|
}`, {
|
|
@@ -409,7 +406,7 @@ var c = async (e, t, n) => {
|
|
|
409
406
|
}
|
|
410
407
|
}, n)).subListInboxMessages
|
|
411
408
|
});
|
|
412
|
-
},
|
|
409
|
+
}, K = () => {
|
|
413
410
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
414
411
|
return r({
|
|
415
412
|
mutationFn: async (e) => (await c(`mutation SubMarkMessageRead($id: ID!) {
|
|
@@ -419,7 +416,7 @@ var c = async (e, t, n) => {
|
|
|
419
416
|
t.invalidateQueries({ queryKey: l.inbox });
|
|
420
417
|
}
|
|
421
418
|
});
|
|
422
|
-
},
|
|
419
|
+
}, ne = () => {
|
|
423
420
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
424
421
|
return r({
|
|
425
422
|
mutationFn: async (e) => (await c(`mutation SubIngestMessage($input: SubIngestMessageInput!) {
|
|
@@ -429,10 +426,11 @@ var c = async (e, t, n) => {
|
|
|
429
426
|
t.invalidateQueries({ queryKey: l.inbox });
|
|
430
427
|
}
|
|
431
428
|
});
|
|
432
|
-
}, q = (t = {}) => {
|
|
433
|
-
let { apiGatewayUrl:
|
|
429
|
+
}, q = (t = {}, n = {}) => {
|
|
430
|
+
let { apiGatewayUrl: r } = e();
|
|
434
431
|
return i({
|
|
435
432
|
queryKey: [...l.invoices, t],
|
|
433
|
+
enabled: n.enabled ?? !0,
|
|
436
434
|
queryFn: async () => (await c(`query SubInvoices(
|
|
437
435
|
$status: SubInvoiceStatus
|
|
438
436
|
$relationshipId: ID
|
|
@@ -453,7 +451,7 @@ var c = async (e, t, n) => {
|
|
|
453
451
|
limit: 50,
|
|
454
452
|
offset: 0
|
|
455
453
|
}
|
|
456
|
-
},
|
|
454
|
+
}, r)).subListInvoices
|
|
457
455
|
});
|
|
458
456
|
}, J = () => {
|
|
459
457
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
@@ -491,7 +489,7 @@ var c = async (e, t, n) => {
|
|
|
491
489
|
t.invalidateQueries({ queryKey: l.paymentInstruments });
|
|
492
490
|
}
|
|
493
491
|
});
|
|
494
|
-
},
|
|
492
|
+
}, re = () => {
|
|
495
493
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
496
494
|
return r({
|
|
497
495
|
mutationFn: async (e) => (await c("mutation SubRemovePaymentInstrument($id: ID!) {\n subRemovePaymentInstrument(id: $id)\n }", { id: e }, n)).subRemovePaymentInstrument,
|
|
@@ -499,13 +497,13 @@ var c = async (e, t, n) => {
|
|
|
499
497
|
t.invalidateQueries({ queryKey: l.paymentInstruments });
|
|
500
498
|
}
|
|
501
499
|
});
|
|
502
|
-
},
|
|
500
|
+
}, ie = (t) => {
|
|
503
501
|
let { apiGatewayUrl: n } = e();
|
|
504
502
|
return i({
|
|
505
503
|
queryKey: [...l.channels, t],
|
|
506
504
|
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
|
|
507
505
|
});
|
|
508
|
-
},
|
|
506
|
+
}, ae = () => {
|
|
509
507
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
510
508
|
return r({
|
|
511
509
|
mutationFn: async (e) => (await c(`mutation SubCreateChannel($input: SubCreateChannelInput!) {
|
|
@@ -515,7 +513,7 @@ var c = async (e, t, n) => {
|
|
|
515
513
|
t.invalidateQueries({ queryKey: l.channels });
|
|
516
514
|
}
|
|
517
515
|
});
|
|
518
|
-
},
|
|
516
|
+
}, oe = () => {
|
|
519
517
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
520
518
|
return r({
|
|
521
519
|
mutationFn: async (e) => (await c(`mutation SubVerifyChannel($id: ID!) {
|
|
@@ -525,7 +523,7 @@ var c = async (e, t, n) => {
|
|
|
525
523
|
t.invalidateQueries({ queryKey: l.channels });
|
|
526
524
|
}
|
|
527
525
|
});
|
|
528
|
-
},
|
|
526
|
+
}, se = (t = {}) => {
|
|
529
527
|
let { apiGatewayUrl: n } = e();
|
|
530
528
|
return i({
|
|
531
529
|
queryKey: [...l.agents, t],
|
|
@@ -540,7 +538,7 @@ var c = async (e, t, n) => {
|
|
|
540
538
|
ownerId: t.ownerId
|
|
541
539
|
}, n)).subListAgents.items
|
|
542
540
|
});
|
|
543
|
-
},
|
|
541
|
+
}, ce = (t) => {
|
|
544
542
|
let { apiGatewayUrl: n } = e();
|
|
545
543
|
return i({
|
|
546
544
|
queryKey: l.agent(t ?? ""),
|
|
@@ -552,7 +550,7 @@ var c = async (e, t, n) => {
|
|
|
552
550
|
}
|
|
553
551
|
}`, { id: t }, n)).subAgent
|
|
554
552
|
});
|
|
555
|
-
},
|
|
553
|
+
}, le = () => {
|
|
556
554
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
557
555
|
return r({
|
|
558
556
|
mutationFn: async (e) => (await c(`mutation SubCreateAgent($input: SubCreateAgentInput!) {
|
|
@@ -562,7 +560,7 @@ var c = async (e, t, n) => {
|
|
|
562
560
|
t.invalidateQueries({ queryKey: l.agents });
|
|
563
561
|
}
|
|
564
562
|
});
|
|
565
|
-
},
|
|
563
|
+
}, ue = () => {
|
|
566
564
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
567
565
|
return r({
|
|
568
566
|
mutationFn: async ({ id: e, status: t }) => (await c(`mutation SubSetAgentStatus($id: ID!, $status: SubAgentStatus!) {
|
|
@@ -575,7 +573,7 @@ var c = async (e, t, n) => {
|
|
|
575
573
|
t.invalidateQueries({ queryKey: l.agents }), t.invalidateQueries({ queryKey: l.agent(e.id) });
|
|
576
574
|
}
|
|
577
575
|
});
|
|
578
|
-
},
|
|
576
|
+
}, de = () => {
|
|
579
577
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
580
578
|
return r({
|
|
581
579
|
mutationFn: async (e) => (await c(`mutation SubCreatePolicy($input: SubCreatePolicyInput!) {
|
|
@@ -585,35 +583,102 @@ var c = async (e, t, n) => {
|
|
|
585
583
|
t.invalidateQueries({ queryKey: l.agents }), t.invalidateQueries({ queryKey: l.agent(e.agentId) });
|
|
586
584
|
}
|
|
587
585
|
});
|
|
588
|
-
},
|
|
586
|
+
}, fe = 100, pe = (t = {}, n = {}) => {
|
|
587
|
+
let { apiGatewayUrl: r } = e();
|
|
588
|
+
return i({
|
|
589
|
+
queryKey: [...l.decisions, t],
|
|
590
|
+
enabled: n.enabled ?? !0,
|
|
591
|
+
retry: 1,
|
|
592
|
+
queryFn: async () => (await c(`query SubDecisions($filter: SubDecisionFilter, $pagination: PaginationInput) {
|
|
593
|
+
subListDecisions(filter: $filter, pagination: $pagination) {
|
|
594
|
+
items { ${g} }
|
|
595
|
+
pageInfo { cursor hasMore }
|
|
596
|
+
}
|
|
597
|
+
}`, {
|
|
598
|
+
filter: t,
|
|
599
|
+
pagination: { limit: fe }
|
|
600
|
+
}, r)).subListDecisions
|
|
601
|
+
});
|
|
602
|
+
}, me = (t) => {
|
|
603
|
+
let { apiGatewayUrl: n } = e();
|
|
604
|
+
return i({
|
|
605
|
+
queryKey: l.decision(t ?? ""),
|
|
606
|
+
enabled: !!t,
|
|
607
|
+
retry: 1,
|
|
608
|
+
queryFn: async () => (await c(`query SubDecision($id: ID!) {
|
|
609
|
+
subDecision(id: $id) { ${g} }
|
|
610
|
+
}`, { id: t }, n)).subDecision
|
|
611
|
+
});
|
|
612
|
+
}, Q = (e, t) => {
|
|
613
|
+
e.invalidateQueries({ queryKey: l.decisions }), 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 }));
|
|
614
|
+
}, he = () => {
|
|
615
|
+
let t = a(), { apiGatewayUrl: n } = e();
|
|
616
|
+
return r({
|
|
617
|
+
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 }", {
|
|
618
|
+
id: e,
|
|
619
|
+
dryRun: !0
|
|
620
|
+
}, n)).subRunAgent,
|
|
621
|
+
onSuccess: (e) => Q(t, { agentId: e.agentId })
|
|
622
|
+
});
|
|
623
|
+
}, ge = () => {
|
|
624
|
+
let t = a(), { apiGatewayUrl: n } = e();
|
|
625
|
+
return r({
|
|
626
|
+
mutationFn: async (e) => (await c(`mutation SubApplyDecision($id: ID!) {
|
|
627
|
+
subApplyDecision(id: $id) {
|
|
628
|
+
decision { ${g} }
|
|
629
|
+
relationship { id label status }
|
|
630
|
+
}
|
|
631
|
+
}`, { id: e }, n)).subApplyDecision,
|
|
632
|
+
onSuccess: (e) => Q(t, {
|
|
633
|
+
decisionId: e.decision.id,
|
|
634
|
+
agentId: e.decision.agentId,
|
|
635
|
+
relationshipId: e.decision.relationshipId
|
|
636
|
+
}),
|
|
637
|
+
onError: () => void t.invalidateQueries({ queryKey: l.decisions })
|
|
638
|
+
});
|
|
639
|
+
}, $ = () => {
|
|
640
|
+
let t = a(), { apiGatewayUrl: n } = e();
|
|
641
|
+
return r({
|
|
642
|
+
mutationFn: async ({ id: e, reason: t }) => (await c(`mutation SubDismissDecision($id: ID!, $reason: String) {
|
|
643
|
+
subDismissDecision(id: $id, reason: $reason) { ${g} }
|
|
644
|
+
}`, {
|
|
645
|
+
id: e,
|
|
646
|
+
reason: t?.trim() ? t.trim() : void 0
|
|
647
|
+
}, n)).subDismissDecision,
|
|
648
|
+
onSuccess: (e) => Q(t, {
|
|
649
|
+
decisionId: e.id,
|
|
650
|
+
agentId: e.agentId
|
|
651
|
+
})
|
|
652
|
+
});
|
|
653
|
+
}, _e = (t) => {
|
|
589
654
|
let { apiGatewayUrl: n } = e();
|
|
590
655
|
return i({
|
|
591
656
|
queryKey: [...l.workflows, t],
|
|
592
657
|
queryFn: async () => (await c(`query SubWorkflows($status: SubWorkflowStatus) {
|
|
593
|
-
subListWorkflows(status: $status) { items { ${
|
|
658
|
+
subListWorkflows(status: $status) { items { ${_} } pageInfo { cursor hasMore } }
|
|
594
659
|
}`, { status: t }, n)).subListWorkflows.items
|
|
595
660
|
});
|
|
596
|
-
},
|
|
661
|
+
}, ve = () => {
|
|
597
662
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
598
663
|
return r({
|
|
599
664
|
mutationFn: async (e) => (await c(`mutation SubCreateWorkflow($input: SubCreateWorkflowInput!) {
|
|
600
|
-
subCreateWorkflow(input: $input) { ${
|
|
665
|
+
subCreateWorkflow(input: $input) { ${_} }
|
|
601
666
|
}`, { input: e }, n)).subCreateWorkflow,
|
|
602
667
|
onSuccess: () => {
|
|
603
668
|
t.invalidateQueries({ queryKey: l.workflows });
|
|
604
669
|
}
|
|
605
670
|
});
|
|
606
|
-
},
|
|
671
|
+
}, ye = () => {
|
|
607
672
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
608
673
|
return r({
|
|
609
674
|
mutationFn: async (e) => (await c(`mutation SubActivateWorkflow($id: ID!) {
|
|
610
|
-
subActivateWorkflow(id: $id) { ${
|
|
675
|
+
subActivateWorkflow(id: $id) { ${_} }
|
|
611
676
|
}`, { id: e }, n)).subActivateWorkflow,
|
|
612
677
|
onSuccess: () => {
|
|
613
678
|
t.invalidateQueries({ queryKey: l.workflows });
|
|
614
679
|
}
|
|
615
680
|
});
|
|
616
|
-
},
|
|
681
|
+
}, be = (t = {}) => {
|
|
617
682
|
let { apiGatewayUrl: n } = e();
|
|
618
683
|
return i({
|
|
619
684
|
queryKey: [...l.adapterSubmissions, t],
|
|
@@ -630,7 +695,7 @@ var c = async (e, t, n) => {
|
|
|
630
695
|
}
|
|
631
696
|
}, n)).subListAdapterSubmissions
|
|
632
697
|
});
|
|
633
|
-
},
|
|
698
|
+
}, xe = () => {
|
|
634
699
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
635
700
|
return r({
|
|
636
701
|
mutationFn: async ({ id: e, notes: t }) => (await c(`mutation SubApproveAdapter($id: ID!, $notes: String) {
|
|
@@ -643,7 +708,7 @@ var c = async (e, t, n) => {
|
|
|
643
708
|
t.invalidateQueries({ queryKey: l.adapterSubmissions });
|
|
644
709
|
}
|
|
645
710
|
});
|
|
646
|
-
},
|
|
711
|
+
}, Se = () => {
|
|
647
712
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
648
713
|
return r({
|
|
649
714
|
mutationFn: async ({ id: e, reason: t }) => (await c(`mutation SubRejectAdapter($id: ID!, $reason: String!) {
|
|
@@ -656,7 +721,7 @@ var c = async (e, t, n) => {
|
|
|
656
721
|
t.invalidateQueries({ queryKey: l.adapterSubmissions });
|
|
657
722
|
}
|
|
658
723
|
});
|
|
659
|
-
},
|
|
724
|
+
}, Ce = (t = {}) => {
|
|
660
725
|
let { apiGatewayUrl: n } = e();
|
|
661
726
|
return i({
|
|
662
727
|
queryKey: [...l.marketplaceReports, t],
|
|
@@ -673,7 +738,7 @@ var c = async (e, t, n) => {
|
|
|
673
738
|
}
|
|
674
739
|
}, n)).subListMarketplaceReports
|
|
675
740
|
});
|
|
676
|
-
},
|
|
741
|
+
}, we = () => {
|
|
677
742
|
let t = a(), { apiGatewayUrl: n } = e();
|
|
678
743
|
return r({
|
|
679
744
|
mutationFn: async ({ id: e, action: t, reason: r }) => (await c(`mutation SubModerateListing($id: ID!, $action: SubModerationAction!, $reason: String!) {
|
|
@@ -689,6 +754,6 @@ var c = async (e, t, n) => {
|
|
|
689
754
|
});
|
|
690
755
|
};
|
|
691
756
|
//#endregion
|
|
692
|
-
export {
|
|
757
|
+
export { ye as useActivateWorkflow, be as useAdapterSubmissions, ce as useAgent, se as useAgents, M as useAllAssets, ge as useApplyDecision, xe as useApproveAdapter, V as useArchiveProvider, W as useBenchmarkDataPoints, O as useCancelRelationship, ie as useChannels, le as useCreateAgent, N as useCreateAsset, ae as useCreateChannel, j as useCreateEntitlement, Y as useCreateInvoice, Z as useCreatePaymentInstrument, U as useCreatePlan, de as useCreatePolicy, z as useCreateProvider, E as useCreateRelationship, ve as useCreateWorkflow, me as useDecision, pe as useDecisions, $ as useDismissDecision, I as useFileDownloadUrl, G as useInboxMessages, ne as useIngestMessage, q as useInvoices, J as useMarkInvoicePaid, K as useMarkMessageRead, Ce as useMarketplaceReports, we as useModerateListing, X as usePaymentInstruments, H as usePlans, R as useProvider, L as useProviders, Se as useRejectAdapter, T as useRelationship, w as useRelationships, re as useRemovePaymentInstrument, A as useRenewalEvents, he as useRunAgent, ue as useSetAgentStatus, D as useTransitionRelationship, B as useUpdateProvider, k as useUpdateRelationship, F as useUploadFile, oe as useVerifyChannel, _e as useWorkflows };
|
|
693
758
|
|
|
694
759
|
//# sourceMappingURL=useSubscriberBotApi.js.map
|